1 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * CutAndPaste.C (pasteSelection): remove the last next and
4 previous from this file.
6 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * CutAndPaste.C (pasteSelection): more clean up, user proper
9 ParagraphList functions for pasteing.
11 * ParagraphList.C (insert): new function, three arg insert
13 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * ParagraphList.C (insert): new function, three arg insert
17 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
20 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
24 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
26 * CutAndPaste.C (pasteSelection): remove some unneeded code.
28 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
30 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
31 (copySelection): clean up a bit.
32 (pasteSelection): use make_pair
34 * ParagraphList.C (ParagraphList): implement copy constructor
35 (operator=): implement, base on copy constructor.
38 * paragraph.C (erase): return a bool
40 * paragraph_pimpl.C (erasePos): remove function, move contents...
41 (erase): ... here. Return a bool.
42 (erase): call erase instead of erasePos.
44 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
46 * ParagraphList.h: define PitPosPair
47 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
48 ParagraphList, fix a bug on pasting multiple pars
49 * text2.C: change interface to C&P
51 2003-04-30 André Pönitz <poenitz@gmx.net>
53 * undo_func.C: revert part of yesterday's patch 2
55 2003-04-30 John Levon <levon@movementarian.org>
57 * LColor.C: s/tabular/table/
59 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
61 * text3.C (dispatch): do not convert iterator -> pointer
62 * undo_funcs.C (setCursorParUndo): ditto
63 * text_funcs.C (transposeChars): ditto
65 * text2.C (setLayout): ws changes only
67 * text.C (breakParagraph): do not convert iterator -> pointer
75 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
78 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
80 * text3.C (gotoInset): YABG (yet another bad getChar)
82 2003-04-29 André Pönitz <poenitz@gmx.net>
84 * paragraph.h: make operator= private unimplemented as long as
87 * ParagraphList.C: whitespace
90 * paragraph_pimpl.[Ch]:
93 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
96 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
98 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
100 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
101 * paragraph.[Ch] (erase):
102 * paragraph_pimpl.[Ch] (erase): change return type and value
103 * text2.C (cutSelection): some rework
105 2003-04-28 John Levon <levon@movementarian.org>
107 * bufferlist.C: changes for unsaved changes dialog
109 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
111 * bufferlist.C (newFile): set language (messages_) for new
114 * buffer.C (readFile): ws changes only.
116 2003-04-28 André Pönitz <poenitz@gmx.net>
121 * BufferView_pimpl.C:
122 * BufferView.C: getParFromID related ParagraphList::iterator changes
124 2003-04-28 André Pönitz <poenitz@gmx.net>
126 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
129 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
131 * messages.C: remove one more localedir class variable.
133 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
135 * messages.C (getLocaleDir): singleton generation function
137 (Messages): add a default constructor.
139 * main.C (main): do not setup localedir here, do not call
142 * gettext.C (_): use it.
143 (gettext_init): delete funciton
145 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
147 * gettext.C (getLyXMessages): new singleton generating function.
149 * buffer.C (updateDocLang): adjust
151 * Makefile.am (messages.o): add target
152 (main.o): remove target
154 2003-04-27 John Levon <levon@movementarian.org>
159 * lyxvc.C: specify cancel button in Alert::prompt
161 2003-04-26 John Levon <levon@movementarian.org>
166 * LyXAction.C: add LFUN_INSET_SETTINGS
168 * lyxfunc.C: don't enable tabular-feature when there's
169 just any locking inset
171 2003-04-26 John Levon <levon@movementarian.org>
173 * bufferlist.C: re-add Cancel to buffer close question
175 * lyxfunc.C: fix import UI a bit
177 2003-04-25 John Levon <levon@movementarian.org>
179 * gettext.C: remove the broken asserts for now
181 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * messages.C: make case where setlocale cannot comply work better.
185 * buffer.C (updateDocLang): new function
186 (changeLanguage): use it
189 * text2.C (setCounter): use B_ a bit.
191 * lyxlayout.C (Read): be sure to trim the label strings.
193 * messages.C (Messages): fix typo in comment
195 * buffer.C (readFile): set message_ after file is loaded.
196 (makeDocBookFile): remove double return
197 (changeLanguage): reset message_ upon language change.
198 (B_): new func, use this to get translated buffer strings.
200 * main.C: add myself and Jean Marc as authors.
202 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * messages.[hC]: pimplify Messages, and three different pimpls to be
205 used in different circumstances.
207 * gettext.[Ch]: change for use with new message code.
209 2003-04-24 André Pönitz <poenitz@gmx.net>
211 * factory.C: support for eqref
213 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
215 * messages.[Ch]: add missing char
217 * Makefile.am (lyx_SOURCES): add messages.[Ch]
219 * messages.[Ch]: New files
221 2003-04-18 John Levon <levon@movementarian.org>
225 * BufferView_pimpl.C:
229 * text2.C: remove layout-copy/paste (bug 778)
231 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
233 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
235 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
237 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
238 if they succeed. Act accordingly.
240 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * text2.C (setCharFont): adjust
244 (insertStringAsLines): adjust
246 * text.C (leftMargin): adjust
247 (setHeightOfRow): adjust
249 * rowpainter.C (paintFirst): adjust
252 * paragraph_funcs.C (depthHook): ParagraphList::iterators
254 (isFirstInSequence): ditto
258 * paragraph.C (getParLanguage): comment out some hard stuff.
260 * buffer.C (insertStringAsLines): take a ParagraphList as arg
262 (simpleDocBookOnePar): ditto
263 (makeDocBookFile): use ParagraphList::iterator
265 * CutAndPaste.C (pasteSelection): adjust
267 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
269 * text2.C (getFont): adjust
270 (getLayoutFont): adjust
271 (getLabelFont): adjust
273 * paragraph_funcs.C (TeXOnePar): adjust
275 * buffer.C (simpleLinuxDocOnePar): adjust
276 (simpleDocBookOnePar): adjust
278 * CutAndPaste.C (pasteSelection): adjust
280 * BufferView.C (getEncoding): adjust
282 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
284 2003-04-16 John Levon <levon@movementarian.org>
286 * lyxfind.C: use parlist stuff for search/changes
288 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
290 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
292 * text2.C (deleteEmptyParagraphMechanism): adjust
294 * text2.[Ch] (ownerParagraph): delete func (both of them
296 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
298 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
300 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
302 * ParagraphList.C: prepare for NO_NEXT
304 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
306 * text2.C (getFont): adjust
307 (getLayoutFont): adjust
308 (getLabelFont): adjust
310 * paragraph.C (getFont): adjust
311 (getLabelFont): adjust
312 (getLayoutFont): adjust
314 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
316 2003-04-15 John Levon <levon@movementarian.org>
320 * lyx_main.C: handle Include in .ui files
322 2003-04-15 John Levon <levon@movementarian.org>
324 * MenuBackend.C: make the doc files length shorter
327 * ToolbarBackend.C: handle toolbar placement flags,
330 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
332 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
335 * paragraph_funcs.C (TeXOnePar): adjust
337 * paragraph.C (getLabelFont): add outerfont arg, adjust
338 (getLayoutFont): ditto
339 (simpleTeXOnePar): adjust
341 * paragraph_pimpl.C (realizeFont): delete func
343 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
345 * text2.C (beforeFullRowInset): added a bad getchar check, removed
346 row argument, constify cur argument.
348 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
350 * text2.C (getFont): adjust
351 (getLayoutFont): adjust
352 (getLabelFont): adjust
354 * paragraph_funcs.C (TeXOnePar): adjust
355 (outerFont): new func...
356 (realizeFont): ...moved out from here, changed this to facilitate
359 * paragraph.C (getFont): take outerfont as arg, adjust
360 (simpleTeXOnePar): add outerfont arg, adjust
362 * buffer.C (simpleLinuxDocOnePar): adjust
363 (simpleDocBookOnePar): adjust
365 * CutAndPaste.C (pasteSelection): adjust
367 * BufferView.C (getEncoding): adjust
369 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
371 * text2.C (setCharFont): adjust
374 * text.C (leftMargin): adjust
375 (setHeightOfRow): adjust
377 * rowpainter.C (paintFirst): adjust
380 * paragraph_pimpl.C (realizeFont): adjust
382 * paragraph.C (isFirstInSequence): move from here...
383 * paragraph_funcs.C (isFirstInSequence): ...to here
385 * paragraph.C (outerHook): move from here...
386 * paragraph_funcs.C (outerHook): ...to here
388 * paragraph.C (depthHook): move from here...
389 * paragraph_funcs.C (depthHook): ...to here
391 * paragraph.C (getEndLabel): move from here...
392 * paragraph_funcs.C (getEndLabel): ...to here
394 * text2.C (realizeFont): move from here...
395 * paragraph_funcs.C (realizeFont): ...to here
397 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
401 2003-04-14 Angus Leeming <leeming@lyx.org>
403 * LColor.[Ch]: scrap LColor mathcursor.
405 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * lyxlex.[Ch] (text): delete function
408 * trans.C (Load): adjust
409 * paragraph_funcs.C (readParToken): adjust
411 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
414 vector<char> instead of a char[].
416 * lyxlex_pimpl.C (getString): adjust
422 * lyxlex.C (text): use pimpl_->getString()
426 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
429 (makeFontEntriesLayoutSpecific): temp var for par.size()
430 (setLayout): temp var for ownerParagraphs().end()
431 (fullRebreak): temp var for rows().end()
432 (selectionAsString): temp var for boost::next(startpit), realize
433 that the while really is a regular for loop.
434 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
435 setCursor in one place.
436 (setParagraph): temp vr for ownerParagraphs().end()
437 (updateCounters): make the while loop a for loop
438 (cutSelection): temp var for ownerParagraphs().end()
439 (updateInset): make the do {} while() a regular for loop
440 (getCursorX): use temp vars
441 (setCurrentFont): use temp vars
442 (getColumnNearX): use temp vars
444 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
446 * text.C (transformChar): use temp var for getChar
447 (computeBidiTables): use temp var for row->par()
448 (fill): move temp vars for row->par() and pit->layout() earlier in
450 (labelFill): use temp var for row->par()
451 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
452 asc and desc, realize that pit never changes and that firstpit is
453 just a duplicate and not needed. Exchange rit->par() with pit in a
455 (breakAgain): use a temp var for boost::next(rit)
456 (breakAgainOneRow): ditto
457 (breakParagraph): use a temp var for rows().begin()
458 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
459 (cursorRightOneWord): use temp var for cursor.par() and
460 cursor.pos(), remove usage of tmpcursor.
461 (cursorLeftOneWord): use temp var for cursor.par() and
462 cursor.pos() only set cur at end of function.
464 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * text.C, text2.C: exchange all usage of Paragraph::next with
467 boost::next(ParagraphList::iterator)
469 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
471 * text2.C (cursorTop): simplify implementation
472 (cursorBottom): ditto
473 (setParagraph): use ParagraphList::iterator
474 (setCurrentFont): adjust
475 (getColumnNearX): adjust
476 (cursorRight): adjust
477 (cursorLeft): remove usage of Paragraph::previous
478 (cursorUpParagraph): ditto
479 (deleteEmptyParagraphMechanism): slight cleanup
481 * text.C (isBoundary): take a Paragraph const & instead of a
483 (addressBreakPoint): ditto
484 (leftMargin): remove usage of Paragraph::previous.
485 (setHeightOfRow): ditto
486 (cursorLeftOneWord): ditto
487 (selectNextWordToSpellcheck): ditto
490 (breakParagraph): remove one usage of Paragraph::next
491 (redoParagraph): ditto
492 (acceptChange): ditto
494 (rowBreakPoint): adjust
496 * bufferview_funcs.C (toggleAndShow): adjust
498 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
500 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
501 methods to access it.
503 * text.C: Added updateRowPositions to compute all row positions.
504 Make top_y and getRowNearY() to use the cached y position
506 2003-04-11 John Levon <levon@movementarian.org>
508 * text.C (rowBreakPoint): reintroduce the labelEnd
509 checks, code copied from the row fill stuff. Deep voodoo.
511 * text.C (fill): add a comment and debugging for the
514 2003-04-11 John Levon <levon@movementarian.org>
516 * text.C: make sure fullrow insets get wrapped to the next line,
517 even when they're in a manual label
519 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * text2.C (insertParagraph): make it take ParagraphList::iterator
523 (setLayout): make it return ParagraphList::iterator
524 (redoParagraphs): ditto
526 (checkParagraph): ditto
528 * text.C (getRow): make getrow take ParagraphList::iterator as arg
530 * text2.C: adjust several funcs.
531 (realizeFont): take a ParagraphList::iterator as arg.
532 (getLayoutFont): ditto
533 (getLabelFont): ditto
536 * text.C: adjust several funcs.
538 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
540 * text.C (selectNextWordToSpellcheck): don't accidentally
543 2003-04-10 John Levon <levon@movementarian.org>
545 * ToolbarBackend.C (getIcon): special handling for
548 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
550 * text2.C (cursorRight): a getChar assert fixed
552 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
554 * text2.C (getFont): change to take a ParagraphList::iterator
555 instead of Paragraph*
556 Adjust several functions.
558 * text.C (transformChar): change to take a ParagraphList::iterator
559 instead of Paragraph*
561 Adjust several functions.
563 * rowpainter.C: adjust several functions
564 * rowpainter.h:store a ParagraphList::iterator and not a
568 2003-04-09 John Levon <levon@movementarian.org>
573 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
574 and the "help" bits as well
576 2003-04-09 John Levon <levon@movementarian.org>
579 * ToolbarBackend.C: allow multiple toolbars
581 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * undo_funcs.C (setCursorParUndo): adjust
585 * text_funcs.C (transposeChars): adjust
587 * text3.C (gotoNextInset): adjust
590 * text2.C (setLayout): adjust
591 (changeDepth): adjust
593 (redoParagraphs): adjust
594 (selectionAsString): adjust
595 (setParagraph): adjust
596 (insertInset): adjust
597 (cutSelection): adjust
598 (copySelection): adjust
599 (pasteSelection): adjust
600 (insertStringAsLines): adjust
601 (updateInset): adjust
602 (setCursor): change to take a ParagraphList::iterator parameter
603 (setCursorIntern): change to take a ParagraphList::iterator parameter
604 (setCurrentFont): adjust
606 (cursorRight): adjust
607 (deleteEmptyParagraphMechanism): adjust
609 * text.C (breakParagraph): adjust
611 (acceptChange): adjust
612 (rejectChange): adjust
613 (selectNextWordToSpellcheck): adjust
618 * lyxfind.C (SearchForward): adjust
619 (SearchBackward): adjust
622 * lyxcursor.C (par): adjust
624 * lyxcursor.h: store a ParagraphList::iterator instead of a
627 * lyx_cb.C (getPossibleLabel): adjust
629 * bufferview_funcs.C (toggleAndShow): adjust
631 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
634 * BufferView.C (removeAutoInsets): adjust
635 (lockedInsetStoreUndo): adjust
637 2003-04-09 John Levon <levon@movementarian.org>
639 * ToolbarBackend.C: try icon without argument
640 if with argument fails
642 2003-04-08 John Levon <levon@movementarian.org>
645 * ToolbarBackend.C: add getIcon(), handle tooltip,
646 and change from "Icon" to "Item".
648 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
650 * BufferView.C (lockInset): another bad getchar crunched
652 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
654 * text2.C (changeDepth): do not setUndo on test_only (make undo work
657 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
659 * lyxfind.C (searchForward, searchBackwards): bug 782
661 2003-04-07 John Levon <levon@movementarian.org>
663 * paragraph.C: remove dead comment
665 * text.C: remove troublesome depth-fiddling code
666 in leftMargin() and rightMargin() (bug 1017)
668 * text.C: fix breaking of rows in nested lists
671 * text2.C (updateCounters): fix up depth values
674 2003-04-07 John Levon <levon@movementarian.org>
676 * BufferView_pimpl.C: clear message when doc finishes resizing,
677 and after a mouse event
679 * lyxfunc.C: clear message after exiting inset
681 2003-04-07 John Levon <levon@movementarian.org>
683 * bufferview_funcs.C: show math status not outside
684 status in the statusbar
686 2003-04-07 John Levon <levon@movementarian.org>
688 * lyxfunc.C: note status changed after a depth change
690 2003-04-04 Angus Leeming <angus@localhost.localdomain>
692 * LaTeX.h: move AuxInfo operator==, != out of line.
693 Remove LaTeX virtual destructor; nothing derives from it.
694 Move operator()() out of public area and rename it startscript().
695 Change protected for private.
697 2003-04-04 Angus Leeming <leeming@lyx.org>
700 * text2.C: remove unneeded #includes.
702 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
704 * text2.C (dEPM): fix the heigth of the next row
706 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
708 * text.C: squashed an invalid getChar requester + some ws changes
710 2003-04-03 John Levon <levon@movementarian.org>
712 * bufferview_funcs.h:
713 * bufferview_funcs.C:
716 * text2.C: make getStatus work for the env depth lfuns
718 2003-04-03 John Levon <levon@movementarian.org>
720 * bufferview_funcs.h:
721 * bufferview_funcs.C:
724 * text2.C: parlistize decDepth(), by merging it with incDepth()
726 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * lyxrow.h: store a ParagraphList::iterator instead of a
729 Paragraph* and adjust other class functions to suit.
731 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
734 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
736 * text2.C (setCursor): do not anchor to cursor row for the time being
738 2003-04-02 John Levon <levon@movementarian.org>
745 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
747 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * paragraph.h: make ParagraphList and ParagraphList::iterator
750 friends of Paragraph.
752 * buffer.C (makeLinuxDocFile): move towards ParagraphList
754 * ParagraphList.C: Use the private next_ and previous_ from
757 2003-04-01 John Levon <levon@movementarian.org>
761 * Makefile.am: rename, remove defaults gunk
764 * MenuBackend.C: remove defaults gunk
767 * Languages.C: remove defaults gunk
770 * lyx_main.C: error out if files couldn't be found.
772 2003-04-02 John Levon <levon@movementarian.org>
774 * text2.C: make incDepth() use parlist
776 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * undo_funcs.C (firstUndoParagraph): adjust
780 * text3.C (gotoInset): adjust
781 (dispatch): adjust, and rewrite loop.
783 * text2.C (init): adjust, and rewrite loop.
784 (redoParagraphs): adjust
785 (updateInset): adjust, and rewrite loop.
786 (deleteEmptyParagraphMechanism): adjust
788 * tabular.C (LyXTabular): adjust
789 (SetMultiColumn): adjust
792 * lyxtext.[Ch] (ownerParagraph): delete function
793 (ownerParagraphs): new function returns a ParagraphList.
795 * BufferView.C (removeAutoInsets): adjust
796 (insertErrors): adjust
797 (setCursorFromRow): adjust
799 2003-04-01 Angus Leeming <leeming@lyx.org>
801 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
804 2003-04-02 John Levon <levon@movementarian.org>
810 * text_funcs.C: make transposeChars a free function
812 * lyxrow_funcs.C: remove wrong comment
814 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * rowpainter.C: adjust
822 * lyxrow_funcs. [Ch]: new files
824 * lyxrow.[Ch]: remove next and previous pointers
825 (next,previous): remove accessor functions
826 (isParEnd): move to lyxrow_funcs
827 (lastPos): move to lyxrow_funcs
828 (nextRowIsAllInset): move to lyxrow_funcs
829 (lastPrintablePos): move to lyxrow_funcs
830 (numberOfSeparators): move to lyxrow_funcs
831 (numberOfHfills): move to lyxrow_funcs
832 (numberOfLabelHfills): move to lyxrow_funcs
833 (hfillExpansion): move to lyxrow_funcs
837 * bufferview_funcs.C (toggleAndShow): adjust
839 * RowList.h: Remove class RowList from file leave just a
842 * RowList.C: delete file
844 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
847 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * text3.C (cursorPrevious): adjust
853 * text2.C (redoHeightOfParagraph): adjust
854 (redoDrawingOfParagraph): adjust
857 * text.C (breakParagraph): adjust
861 * rowpainter.C (RowPainter): adjust
862 (leftMargin): simplify and adjust
863 (most rowpainter functions): adjust.
865 * rowpainter.h: store the row as RowList::iterator not as Row*
867 * lyxcursor.C (row): taka RowList::iterator as arg
870 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
873 2003-04-01 Angus Leeming <leeming@lyx.org>
875 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
876 stuff like bool Bool.
878 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
880 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
883 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
885 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
888 * lyxtext.h (rows): drop one version and leve a const variant that
889 returns a RowList::iterator.
891 2003-03-31 Angus Leeming <leeming@lyx.org>
893 * text.C (fill): ensure that the signature is the same as that in the
896 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * text2.C (redoParagraphs): adjust
899 (updateCounters): adjust
900 (checkParagraph): adjust
901 (getColumnNearX): adjust and reformat a bit.
903 * text.C (top_y): adjust
906 (prepareToPrint): adjust
908 (getRowNearY): adjust
910 * lyxtext.h: make rowlist_ mutable.
912 * RowList.h: add const_iterator
913 * RowList.C: adjust for RowList::const_iterator.
915 * text2.C (getCursorX): make it take a RowList::iterator as arg,
918 2003-03-31 John Levon <levon@movementarian.org>
921 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
923 * lyx_main.C: set default fonts from using lyx_gui funcs
925 * exporter.C: pdf_mode moved from lyxrc
928 * lyxfunc.C: changes from above
930 2003-03-31 John Levon <levon@movementarian.org>
932 * lyx_main.C: fix to the last fix
934 2003-03-31 John Levon <levon@movementarian.org>
936 * bufferlist.C: "Load original" -> "Load Original"
942 * format.C: more Alert cleanups
944 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
946 * text2.C (removeParagraph): make it take a RowList::iterator as
948 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
949 (postRowPaint): make it take a RowList::iterator as arg, adjust.
951 * text.C (anchor_row): make it take a RowList::iterator as arg,
953 (computeBidiTables): make it take a const reference to Row instead
954 of Row pointer, adjust.
955 (leftMargin): make it take a RowList::iterator as arg, adjust.
956 (rowBreakPoint): adjust
957 (breakAgainOneRow): make it take a RowList::iterator as arg,
959 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
961 * bufferview_funcs.C (toggleAndShow): adjust
963 2003-03-30 John Levon <levon@movementarian.org>
967 * boost-inst.C: moved to support
969 * several files: changes as a result
971 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * text2.C (LyXText): adjust.
975 (removeRow): make it take a RowList::iterator as arg, adjust.
976 (fullRebreak): adjust
977 (deleteEmptyParagraphMechanism): adjust
981 * text.C (top_y): adjust
982 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
983 (breakAgain): make it take a RowList::iterator as arg, adjust.
984 (breakParagraph): adjust
988 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
989 need_break_row, and refresh_row.
991 * text3.C (dispatch): adjust
993 * text2.C (checkParagraph): adjust
995 (setCursorFromCoordinates): adjust
997 * text.C (top_y): adjust
999 (getRow): make it return a RowList::iterator, adjust
1000 (getRowNearY): make it return a RowList::iterator, adjust
1002 * text2.C (init): adjust
1003 (insertRow): remove function
1004 (insertParagraph): adjust
1005 (redoParagraphs): adjust
1006 (fullRebreak): adjust
1007 (updateCounters): adjust
1009 * text.C (top_y): rewrite to use RowList iterators.
1011 (setHeightOfRow): rewrite to sue RowList iterators.
1012 (appendParagraph): adjust
1013 (breakAgain): adjust
1014 (breakAgainOneRow): adjust
1015 (breakParagraph): adjust
1017 (getRowNearY): adjust, and remove commented code.
1019 * lyxtext.h (firstRow): delete function
1020 (lastRow): delete function
1021 (rows): new function (const and non-const versions.)
1022 (insertRow): delete function
1024 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1026 2003-03-29 John Levon <levon@movementarian.org>
1028 * BufferView_pimpl.C: always update scrollbar top
1029 because pasting text when we're anchored could mean we
1030 miss an update altogether
1032 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * text2.C (init): use rowlist_.end() and not 0.
1035 (insertRow): change to take a RowList::iterator as arg, adjust
1037 (insertParagraph): change to take a RowList::iterator as arg,
1039 (redoParagraphs): remove some debug msgs.
1041 * text.C (appendParagraph): change to take a RowList::iterator
1042 arg, adjust for this.
1043 (breakAgain): add an assert
1044 (breakAgainOneRow): ditto
1046 2003-03-29 John Levon <levon@movementarian.org>
1048 * text2.C: do not clear selection after inc/decDepth
1051 2003-03-29 John Levon <levon@movementarian.org>
1054 * buffer.C: fix broken strerrors according to Lars
1056 2003-03-29 John Levon <levon@movementarian.org>
1058 * converters.C: more Alert cleanups
1060 2003-03-29 John Levon <levon@movementarian.org>
1062 * bufferview_funcs.C: remove pointless Alert
1064 * buffer.C: fix confusing error message when
1065 a template is chmoded 000
1067 2003-03-29 John Levon <levon@movementarian.org>
1071 * BufferView_pimpl.C: Alert fixes
1075 * tabular-old.C: remove unused table compat reading
1077 2003-03-29 John Levon <levon@movementarian.org>
1082 * lyx_cb.C: more Alert cleanups
1084 * lyxfunc.C: don't allow chktex if not latex document
1086 2003-03-29 John Levon <levon@movementarian.org>
1090 * buffer.C: warnings pushed down from support/,
1093 2003-03-29 John Levon <levon@movementarian.org>
1095 * lyxfunc.C: safety check for C-r (revert)
1097 2003-03-29 John Levon <levon@movementarian.org>
1100 * bufferlist.C: several UI fixes using Alert::prompt.
1101 Fix the pointless looping quit code. Fix stupid revert
1106 * lyx_cb.C: use Alert::prompt
1108 * lyx_main.C: remove a silly question
1110 * lyxfunc.C: remove a couple of silly questions,
1113 2003-03-28 John Levon <levon@movementarian.org>
1115 * text2.C: fix bug 974 (End on empty par)
1117 2003-03-28 John Levon <levon@movementarian.org>
1119 * BufferView_pimpl.C:
1121 * lfuns.h: remove do-nothing math greek lfuns
1123 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * lyxgluelength.h (isValidGlueLength): add default arg on
1126 parameter 2. Remove default arg from friend in class.
1128 * lyxlength.h (isValidLength): add default arg on parameter 2.
1129 Remove default arg from friend in class.
1131 * text2.C (LyXText): adjust, initialize refresh_row.
1135 (insertParagraph): adjst
1136 (redoParagraphs): adjust
1137 (fullRebreak): adjust
1138 (updateCounters): adjust
1139 (deleteEmptyParagraphMechanism): first attempt at fixing a
1142 * text.C (top_y): adjust
1143 (setHeightOfRow): adjust
1145 (getRowNearY): adjust
1147 * lyxtext.h: include RowList.h
1148 (~LyXText): not needed anymore, deleted.
1149 (firstRow): modify for RowList
1150 (lastRow): new function
1151 Delete firstrow and lastrow class variables, add a Rowlist
1152 rowlist_ class variable.
1154 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1157 * RowList.C (insert): fix case where it == begin().
1159 2003-03-26 Angus Leeming <leeming@lyx.org>
1161 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1162 the thesaurus dialog.
1164 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1166 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1168 * RowList.[Ch]: new files
1170 * ParagraphList.C (erase): handle the case where it == begin
1173 2003-03-25 John Levon <levon@movementarian.org>
1177 * aspell.C: add new aspell support
1180 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1183 2003-03-25 Angus Leeming <leeming@lyx.org>
1186 * LyXAction.C (init): new LFUN_INSET_INSERT.
1188 * BufferView_pimpl.C (dispatch): split out part of the
1189 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1191 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1194 2003-03-25 Angus Leeming <leeming@lyx.org>
1196 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1198 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1201 * text3.C: remove useless row->height(0)
1203 2003-03-25 John Levon <levon@movementarian.org>
1207 * text3.C: rename the refreshing stuff to better names
1209 2003-03-24 John Levon <levon@movementarian.org>
1211 * BufferView_pimpl.h:
1212 * BufferView_pimpl.C: update layout choice on a mouse
1215 2003-03-23 John Levon <levon@movementarian.org>
1217 * Makefile.am: fix commandtags.h reference
1219 2003-03-22 John Levon <levon@movementarian.org>
1221 * BufferView_pimpl.C:
1226 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1228 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1231 * text.C: take the rtl methods out of line
1233 2003-03-21 André Pönitz <poenitz@gmx.net>
1235 * metricsinfo.[Ch]: new files containing structures to be passed around
1236 during the two-phase-drawing...
1238 2003-03-21 André Pönitz <poenitz@gmx.net>
1240 * lyxtextclass.C: read 'environment' tag.
1242 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1244 * text2.C (removeRow): fix bug 964
1246 2003-03-20 John Levon <levon@movementarian.org>
1250 * text2.C: paint cleanups. Inset::update() dropped font
1253 2003-03-19 John Levon <levon@movementarian.org>
1255 * lyxfunc.C: only fitcursor/markDirty if available()
1257 2003-03-19 John Levon <levon@movementarian.org>
1259 * commandtags.h: rename to ...
1261 * lfuns.h: ... this, and renumber / cleanup
1263 2003-03-19 John Levon <levon@movementarian.org>
1265 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1266 fit the cursor after an lfun
1270 * BufferView_pimpl.h:
1271 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1273 * LyXAction.C: layout-character should have ReadOnly
1275 * ParagraphParameters.C:
1277 * bufferview_funcs.C:
1284 * undo_funcs.C: changes from above
1286 2003-03-18 John Levon <levon@movementarian.org>
1288 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1289 remove it from update()
1291 * lyxfunc.C: update layout choice after an lfun
1293 * text3.C: remove extra updateLayoutChoice()s
1295 2003-03-18 John Levon <levon@movementarian.org>
1297 * text.C: top_y change means full repaint, fix
1298 a drawing bug with cursor movement
1300 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1304 * text2.C: anchor row on setCursor
1306 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1308 * lyxtext.h: remove almost all mutable keywords
1311 * text3.C: remove const keywords accordingly
1313 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1317 (TeXEnvironment): ditto
1320 2003-03-17 John Levon <levon@movementarian.org>
1322 * text.C (rowBreakPoint): remove attempt to fix displayed
1323 math insets inside a manual label
1325 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * lyxtext.h: remove BufferView* as first arg from almost all class
1329 * other files: adjust.
1331 2003-03-17 John Levon <levon@movementarian.org>
1335 * text2.C: more paint cleanups
1337 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1340 * rowpainter.C: remove "smart" background painting code
1342 2003-03-16 John Levon <levon@movementarian.org>
1347 * text3.C: add helper functions for setting refresh_row/y
1349 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1351 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1352 newline inset which *can* get inserted in the pass_thru layouts.
1353 This is primarily for literate documents.
1355 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1357 * buffer.C: increment LYX_FORMAT to 223
1359 2003-03-14 André Pönitz <poenitz@gmx.net>
1361 * textclass.h: prepare for environment handling, ws changes
1362 * lyxlayout.C: read latexheader and latexfooter tags
1364 2003-03-14 John Levon <levon@movementarian.org>
1366 * text2.C: rewrite ::status() a bit
1368 2003-03-13 John Levon <levon@movementarian.org>
1370 * lyxtext.h: add some docs
1372 2003-03-13 John Levon <levon@movementarian.org>
1377 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1379 2003-03-13 John Levon <levon@movementarian.org>
1381 * text3.C: fix appendix redrawing
1383 2003-03-13 John Levon <levon@movementarian.org>
1385 * text.C (setHeightOfRow):
1387 * rowpainter.C: make appendix mark have the text
1388 "Appendix" so the user knows what it is
1391 * LColor.C: s/appendixline/appendix/ from above
1393 2003-03-13 John Levon <levon@movementarian.org>
1395 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1397 * text.C: fix a getChar(pos) bug properly
1399 2003-03-13 Angus Leeming <leeming@lyx.org>
1402 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1403 Probably only temporary. Let's see how things pan out.
1405 * BufferView.C (unlockInset):
1406 * BufferView_pimpl.C (fitCursor):
1407 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1409 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1410 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1412 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1413 new functions that convert ParagraphParameters to and from a string.
1415 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1416 BufferView::Pimpl's dispatch.
1417 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
1419 2003-03-13 André Pönitz <poenitz@gmx.net>
1423 * factory.C: make it aware of InsetEnv
1425 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1427 * text2.C (setCursor): never ask for one past last
1428 (setCursor): add some debugging messages.
1430 * text.C (singleWidth): never ask for one past last
1431 (singleWidth): ditto
1433 (rightMargin): ditto
1434 (rowBreakPoint): ditto
1435 (setHeightOfRow): ditto
1436 (prepareToPrint): ditto
1438 * rowpainter.C (paintBackground): never ask for one past last
1439 (paintText): never ask for one past last
1441 * paragraph_pimpl.C (getChar): make the assert stricter, never
1442 allow the one past last pos to be taken
1444 * paragraph.C (getChar): ws changes only
1446 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1447 (numberOfSeparators): ditto
1448 (numberOfHfills): ditto
1450 2003-03-12 John Levon <levon@movementarian.org>
1456 * paragraph_funcs.C: fix per-buffer authorlists
1458 2003-03-12 John Levon <levon@movementarian.org>
1460 * text.C: fix newline in right address
1462 2003-03-12 Angus Leeming <leeming@lyx.org>
1464 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1465 duplicate those in LyXFunc::dispatch.
1469 * ToolbarDefaults.C:
1470 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1471 Add LFUN_FONTFREE_UPDATE.
1473 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1474 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1476 * bufferview_func.[Ch]: several new functions to facilliate
1477 transfer of data to and from the character dialog.
1479 2003-03-12 John Levon <levon@movementarian.org>
1484 * paragraph_funcs.C:
1485 * paragraph_pimpl.C:
1489 * text3.C: remove META_NEWLINE in favour of an inset
1492 * rowpainter.C: remove paintNewline (done by inset)
1494 2003-03-12 John Levon <levon@movementarian.org>
1496 * paragraph_pimpl.C: complain about bad getChar()s
1497 for a while at least
1499 2003-03-12 John Levon <levon@movementarian.org>
1502 * buffer.C: move paragraph read into a separate function,
1503 a little renaming to reflect that.
1506 * bufferparams.C: remove the author_ids map, not necessary now
1509 * factory.C: moved Buffer::readInset to here
1511 * paragraph_funcs.h:
1512 * paragraph_funcs.C: readParagraph free function moved from
1515 * tabular.C: name change
1517 2003-03-12 John Levon <levon@movementarian.org>
1520 * ParagraphParameters.C: move par params input to
1523 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1524 behave like a normal read from the stream wrt reading
1525 a line vs. a \\token
1527 2003-03-12 John Levon <levon@movementarian.org>
1530 * ParagraphParameters.h:
1531 * ParagraphParameters.C: move output code to a
1534 2003-03-12 John Levon <levon@movementarian.org>
1536 * BufferView.C (insertLyXFile):
1539 * tabular.C: use a parlist iterator for creating the
1542 2003-03-12 John Levon <levon@movementarian.org>
1544 * buffer.C: make current_change static local not
1547 2003-03-12 John Levon <levon@movementarian.org>
1549 * buffer.C: fix insertStringAsLines for change tracking
1551 2003-03-12 John Levon <levon@movementarian.org>
1558 * bufferparams.C: move author list into params. Rename some
1559 functions. Move the header reading into a separate token
1560 loop. Move the header token reading into BufferParams.
1562 2003-03-12 John Levon <levon@movementarian.org>
1564 * changes.C: put debug inside lyxerr.debugging() checks
1566 2003-03-11 André Pönitz <poenitz@gmx.net>
1568 * factory.C: make it aware of InsetHFill
1570 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1572 * buffer.C (latexParagraphs): move function from here...
1573 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1576 2003-03-10 Angus Leeming <leeming@lyx.org>
1578 * LyXAction.C (init): fix bug in poplating array with multiple entries
1579 with the same LFUN (spotted by JMarc).
1581 2003-03-10 John Levon <levon@movementarian.org>
1584 * text2.C: move getColumnNearX() near its
1587 2003-03-10 John Levon <levon@movementarian.org>
1589 * text.C: fix break before a minipage
1591 2003-03-10 John Levon <levon@movementarian.org>
1593 * text.C: fix the last commit
1595 2003-03-09 John Levon <levon@movementarian.org>
1599 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1600 bug 365 (don't break before insets unless needed). Don't
1601 return a value > last under any circumstances.
1603 2003-03-09 Angus Leeming <leeming@lyx.org>
1605 * BufferView_pimpl.C (trackChanges, dispatch): call
1606 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1608 2003-03-09 Angus Leeming <leeming@lyx.org>
1610 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1611 than Dialogs::showAboutlyx().
1613 2003-03-09 Angus Leeming <leeming@lyx.org>
1615 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1616 than Dialogs::showTabularCreate().
1618 2003-03-09 John Levon <levon@movementarian.org>
1622 * text2.C: 3rd arg to nextBreakPoint was always the same.
1625 2003-03-08 John Levon <levon@movementarian.org>
1632 * text2.C: Remove the "main" bit from the "main body"
1635 2003-03-08 John Levon <levon@movementarian.org>
1637 * text.C (leftMargin): The left margin of an empty
1638 manual label paragraph should not include the label width
1641 * text.C (prepareToPrint): don't attempt to measure hfills
1642 for empty manual label paragraphs - the answer should be 0
1644 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * CutAndPaste.C: remove commented code and reindent.
1648 2003-03-08 John Levon <levon@movementarian.org>
1651 * lyxfunc.C: move reloadBuffer()
1654 * BufferView.C: to here
1656 * lyxvc.C: add comment
1659 * vc-backend.C: call bv->reload() to avoid
1660 getStatus() check on MENURELOAD
1662 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1664 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1665 to an old format .dep file.
1667 2003-03-07 Angus Leeming <leeming@lyx.org>
1669 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1670 when the LFUN_MOUSE_RELEASE should have been handled by
1671 inset->localDispatch.
1673 2003-03-07 Angus Leeming <leeming@lyx.org>
1675 * BufferView_pimpl.C (dispatch):
1676 * LyXAction.C (init):
1677 * ToolbarDefaults.C (init):
1679 * lyxfunc.C (getStatus):
1680 remove LFUN_INSET_GRAPHICS.
1682 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1684 2003-03-07 Angus Leeming <leeming@lyx.org>
1687 * LyXAction.C (init):
1688 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1690 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1693 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1695 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1696 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1698 2003-03-07 Angus Leeming <leeming@lyx.org>
1700 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1703 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * ParagraphList.C (front): new function
1708 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1710 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1711 and top_row_offset_. removed var first_y.
1713 * text2.C (LyXText, removeRow):
1715 * BufferView_pimpl.C:
1716 use these methods instead of using first_y
1718 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1720 * text2.C (pasteSelection): adjust for checkPastePossible
1722 * CutAndPaste.C: remove Paragraph * buf and replace with
1723 ParagraphList paragraphs.
1724 (DeleteBuffer): delete
1725 (cutSelection): change the tc type to textclass_type
1726 (copySelection): change the tc type to textclass_type
1727 (copySelection): adjust for ParagraphList
1728 (pasteSelection): change the tc type to textclass_type
1729 (pasteSelection): adjust for Paragraphlist
1730 (nrOfParagraphs): simplify for ParagraphList
1731 (checkPastePossible): simplify for ParagraphList
1732 (checkPastePossible): remove unused arg
1734 * ParagraphList.C (insert): handle the case where there are no
1737 * CutAndPaste.h: make CutAndPaste a namespace.
1739 * text3.C (dispatch): adjust
1741 * text.C (breakParagraph): add a ParagraphList as arg
1743 * paragraph_funcs.C (breakParagraph): change to take a
1744 BufferParams and a ParagraphList as args.
1745 (breakParagraphConservative): ditto
1746 (mergeParagraph): ditto
1747 (TeXDeeper): add a ParagraphList arg
1748 (TeXEnvironment): ditto
1751 * buffer.C (readLyXformat2): adjust
1752 (insertStringAsLines): adjust
1753 (latexParagraphs): adjust
1755 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1756 (cutSelection): adjust
1757 (pasteSelection): adjust
1759 * BufferView_pimpl.C (insertInset): adjust
1761 2003-03-05 Angus Leeming <leeming@lyx.org>
1764 * LyXAction.C (init):
1765 * BufferView_pimpl.C (dispatch):
1766 * lyxfunc.C (getStatus):
1767 remove LFUN_CHILD_INSERT.
1769 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1771 2003-03-05 Angus Leeming <leeming@lyx.org>
1774 * LyXAction.C (init):
1775 * src/factory.C (createInset):
1776 * lyxfunc.C (getStatus):
1777 * text3.C (dispatch):
1778 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1780 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1782 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * ParagraphList.C (insert): handle insert right before end()
1785 (erase): fix cases where it can be first or last paragraph.
1787 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1789 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1790 Paragraph::next and Paragraph::previous
1793 * text.C (breakParagraph): adjust
1795 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1796 BufferParams& as arg.
1797 (breakParagraph): use ParagraphList::insert
1798 (breakParagraphConservative): take a Buffer* instead of a
1799 BufferParams& as arg.
1800 (breakParagraphConservative): use ParagraphList::insert.
1802 * buffer.C (insertStringAsLines): un-const it
1803 (insertStringAsLines): adjust
1805 * ParagraphList.C (insert): new function
1807 * CutAndPaste.C (pasteSelection): adjust
1809 * text.C (backspace): adjust
1811 * tabular.C (SetMultiColumn): adjust
1813 * CutAndPaste.C (cutSelection): adjust
1814 (pasteSelection): adjust
1816 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1817 Buffer const * as arg
1819 * ParagraphList.C (erase): new function
1820 * paragraph_funcs.C (mergeParagraph): use it
1821 (mergeParagraph): make it take a Buffer* instead of a
1822 BufferParams* as arg
1824 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1826 (breakParagraphConservative): ditto
1828 * paragraph.h: remove the breakParagraph friend
1830 * paragraph.C (eraseIntern): new function
1831 (setChange): new function
1833 * paragraph_funcs.C (mergeParagraph): make it take a
1834 ParagraphList::iterator instead of a Paragraph *, adjust
1837 * paragraph.h: move an #endif so that the change tracking stuff
1838 also works in the NO_NEXT case.
1840 2003-03-04 Angus Leeming <leeming@lyx.org>
1843 * LyXAction.C: new LFUN_INSET_MODIFY.
1845 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1846 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1848 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * several files: ws changes only
1852 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1853 (TeXEnvironment): ditto
1856 * buffer.C (makeLaTeXFile): adjust
1857 (latexParagraphs): make it take ParagraphList::iterator as args
1859 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * buffer.C (latexParagraphs): adjust
1863 * paragraph.C (TeXOnePar): move function...
1864 (optArgInset): move function...
1865 (TeXEnvironment): move function...
1866 * paragraph_pimpl.C (TeXDeeper): move function...
1867 * paragraph_funcs.C: ...here
1869 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1871 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * buffer.C (readInset): remove compability code for old Figure and
1876 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * buffer.C: ws changes
1881 * BufferView_pimpl.C: ditto
1884 * bufferlist.h: ditto
1888 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1890 * converter.[Ch]: split into itself +
1893 * Makefile.am: += graph.[Ch] + format.[Ch]
1900 * lyxrc.C: added #include "format.h"
1902 2003-02-27 Angus Leeming <leeming@lyx.org>
1904 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1907 * factory.C (createInset): add "label" to the factory.
1909 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1910 string and do no more.
1912 2003-02-27 Angus Leeming <leeming@lyx.org>
1915 * LyXAction.C (init):
1916 * factory.C (createInset):
1917 * BufferView_pimpl.C (dispatch):
1918 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1920 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1922 * lyxfunc.C (dispatch):
1923 * text3.C (dispatch): pass name to params2string.
1925 2003-02-26 Angus Leeming <leeming@lyx.org>
1927 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1929 Rearrange the ~includes. Strip out the unnecessary ones.
1931 * factory.C (createInset): reformat.
1932 create new insets for the various LFUN_XYZ_APPLY lfuns.
1934 2003-02-26 John Levon <levon@movementarian.org>
1937 * lyxrow.C: add isParStart,isParEnd helpers
1939 * paragraph.h: make isInserted/DeletedText take refs
1941 * paragraph_funcs.h:
1942 * paragraph_funcs.C: remove #if 0'd code
1947 * text.C: use lyxrow helpers above.
1948 Move draw and paint routines to RowPainter.
1949 Make several methods use refs not pointers.
1950 Make backgroundColor() const.
1951 Add markChangeInDraw(), isInInset().
1952 Merge changeRegionCase into changeCase.
1953 Make workWidth() shouldn't-happen code into an Assert.
1956 * rowpainter.C: new class for painting a row.
1959 * vspace.C: make inPixels take a ref
1961 2003-02-26 Angus Leeming <leeming@lyx.org>
1963 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1966 2003-02-25 John Levon <levon@movementarian.org>
1968 * ispell.C: give the forked command a more accurate name
1970 2003-02-22 John Levon <levon@movementarian.org>
1973 * toc.C: make TocItem store an id not a Paragraph *
1976 2003-02-21 Angus Leeming <leeming@lyx.org>
1978 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1979 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1980 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1981 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1982 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1983 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1985 * BufferView_pimpl.C (dispatch):
1986 * LyXAction.C (init):
1987 * factory.C (createInset):
1988 * lyxfunc.C (getStatus, dispatch):
1989 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1991 2003-02-21 Angus Leeming <leeming@lyx.org>
1993 * BufferView_pimpl.C (MenuInsertLyXFile):
1994 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1995 * lyxfunc.C (menuNew, open, doImport):
1996 no longer pass a LyXView & to fileDlg.
1998 2003-02-21 Angus Leeming <leeming@lyx.org>
2000 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2001 * LyXAction.C: change, BIBKEY to BIBITEM.
2002 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2003 Change InsetBibKey to InsetBibitem.
2004 Change BIBKEY_CODE to BIBITEM_CODE.
2005 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2006 * factory.C: replace insetbib.h with insetbibitem.h.
2007 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2008 * paragraph.C: replace insetbib.h with insetbibitem.h.
2009 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2010 Change bibkey() to bibitem().
2011 * text.C: remove insetbib.h.
2012 * text2.C: replace insetbib.h with insetbibitem.h.
2013 change bibkey() to bibitem().
2014 * text3.C: remove insetbib.h.
2015 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2017 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2019 * lyxrc.C (output): enclose user email in quotes (in case there are
2022 2003-02-18 John Levon <levon@movementarian.org>
2024 * buffer.h: add std::
2026 2003-02-17 John Levon <levon@movementarian.org>
2032 * pspell.C: reworking. Especially in ispell, a large
2033 number of clean ups and bug fixes.
2035 * lyxfunc.C: fix revert to behave sensibly
2037 2003-02-17 André Pönitz <poenitz@gmx.net>
2040 * commandtags.h: new LFUN_INSERT_BIBKEY
2050 * paragraph_func.C: remove special bibkey handling
2052 2003-02-17 John Levon <levon@movementarian.org>
2054 * text.C (Delete): fix case where delete at the end of
2055 the very first paragraph would not merge the pars
2057 2003-02-17 John Levon <levon@movementarian.org>
2059 * lyxrow.C: fix lastPrintablePos()
2061 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2063 * bufferparams.C (writeLaTeX): add a std:here
2065 * buffer.C: and remove a using directive there
2067 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2069 * buffer.C (makeLaTeXFile): move the code that generates the
2072 * bufferparams.C (writeLaTeX): ... in this new method
2074 * LaTeXFeatures.C (getEncodingSet): make const
2075 (getLanguages): make const
2077 * MenuBackend.C (binding): returns the binding associated to this
2079 (add): sets the status of each item by calling getStatus. Adds
2081 (read): add support for OptSubMenu
2082 (expand): remove extra separator at the end of expanded menu
2084 2003-02-15 John Levon <levon@movementarian.org>
2087 * BufferView_pimpl.C:
2089 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2090 inset code that had no actual effect. Remove unneeded status
2093 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2095 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2098 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2100 * text.C (drawLengthMarker): also draw an arrow marker for
2101 symbolic lengths (medskip...)
2103 2003-02-14 John Levon <levon@movementarian.org>
2106 * tabular.C: better method names
2108 2003-02-14 John Levon <levon@movementarian.org>
2110 * BufferView_pimpl.C:
2115 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2116 it's a more accurate name. Remove some pointless uses.
2118 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2120 * text2.C (LyXText): change order of initilizers to shut off
2123 2003-02-14 John Levon <levon@movementarian.org>
2125 * buffer.C: use ParIterator for getParFromID()
2129 * paragraph_pimpl.h:
2130 * paragraph_pimpl.C: remove unused getParFromID()
2132 2003-02-14 John Levon <levon@movementarian.org>
2134 * buffer.C: remove some very old #if 0'd parse code
2136 2003-02-13 John Levon <levon@movementarian.org>
2140 * text2.C: move hfillExpansion(), numberOfSeparators(),
2141 rowLast(), rowLastPrintable(), numberofHfills(),
2142 numberOfLabelHfills() ...
2145 * lyxrow.C: ... to member functions here.
2150 * text.C: remove LyXText::beginningOfMainBody(), and call
2151 p->beginningOfMainBody() directly. Move the check for
2152 LABEL_MANUAL into the latter.
2159 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2165 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2166 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2168 2003-02-13 John Levon <levon@movementarian.org>
2170 * CutAndPaste.C: remove debug
2172 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2174 * paragraph.C (asString): remove two unused variables
2176 * lyxtextclass.C (readTitleType):
2178 (LyXTextClass): handle new members titletype_ and titlename_
2180 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2182 2003-02-09 John Levon <levon@movementarian.org>
2185 * buffer.C: replace hand-coded list with a map for the dep clean
2187 2003-02-08 John Levon <levon@movementarian.org>
2189 * LaTeX.C: consolidate code into showRunMessage() helper
2191 2003-02-08 John Levon <levon@movementarian.org>
2196 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2197 and pass the size in explicitly
2199 * BufferView_pimpl.h:
2200 * BufferView_pimpl.C:
2202 * BufferView.C: add getCurrentChange()
2204 * BufferView_pimpl.h:
2205 * BufferView_pimpl.C: handle change lfuns
2207 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2208 for changes. Mark pasted paragraphs as new.
2210 * support/lyxtime.h:
2211 * support/lyxtime.C:
2212 * DepTable.C: abstract time_t as lyx::time_type
2215 * LColor.C: add colours for new text, deleted text, changebars
2217 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2218 package use "usenames" option.
2222 * LyXAction.C: add change lfuns
2226 * author.C: author handling
2229 * buffer.C: add a per-buffer author list, with first entry as
2230 current author. Handle new .lyx tokens for change tracking. Output
2231 author list to .lyx file. Output dvipost stuff to .tex preamble.
2232 Bump lyx format to 222.
2235 * bufferlist.C: add setCurrentAuthor() to reset current author details
2239 * bufferparams.C: add param for tracking
2241 * bufferview_funcs.C: output change info in minibuffer
2245 * changes.C: add change-tracking structure
2248 * debug.C: add CHANGES debug flag
2251 * lyxfind.C: add code for finding the next change piece
2254 * lyxrc.C: add user_name and user_email
2257 * lyxrow.C: add a metric for the top of the text line
2260 * text.C: implement accept/rejectChange()
2263 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2264 Strike through deleted text.
2268 * paragraph_pimpl.h:
2269 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2270 to the insert functions. Rework erase to mark text as deleted, adding
2271 an eraseIntern() and a range-based erase(). Implement
2272 per-paragraph change lookup and accept/reject.
2274 * paragraph_funcs.C: Fixup paste for change tracking.
2276 * tabular.C: mark added row/columns as new.
2278 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2279 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2281 * text2.C: leave cursor at end of selection after a cut.
2283 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2285 * text.C (getLengthMarkerHeight):
2286 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2287 visible on screen too.
2289 2003-02-07 John Levon <levon@movementarian.org>
2291 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2293 2003-02-05 Angus Leeming <leeming@lyx.org>
2295 * lyxserver.C (read_ready): revert my patch of 11 September last year
2296 as it sends PC cpu through the roof. Presumably this means that
2297 the lyxserver will no longer run on an Alpha...
2299 2003-01-30 Angus Leeming <leeming@lyx.org>
2301 * factory.C (createInset): create an InsetCommandParam of type "index"
2302 and use it to 'do the right thing'.
2304 * text2.C (getStringToIndex): ensure that cursor position is always
2305 reset to the reset_cursor position.
2307 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2309 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2312 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2316 * lyxfunc.C: Output messages with identical spelling, punctuation,
2319 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2321 * MenuBackend.C (expandFormats): List only viewable export formats
2324 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2327 * lyxfunc.C (getStatus): Make sure that formats other than
2328 "fax" can also be disabled
2330 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2332 * text3.C (dispatch): put the lfuns that insert insets in 3
2333 groups, and call doInsertInset with appropriate arguments.
2334 (doInsertInset): new function, that creates an inset and inserts
2335 it according to some boolean parameters.
2337 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * buffer.C (readFile): remember to pass on 'par' when calling
2340 readFile recursively.
2342 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2344 * MenuBackend.C (expandFormats): add "..." to import formats.
2346 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2348 * paragraph.C (asString): Remove XForms RTL hacks.
2350 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2351 * buffer.C: fix typo
2353 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * Makefile.am (LIBS): delete var
2356 (lyx_LDADD): add @LIBS@ here instead.
2358 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2360 * Clarify the meaning of "wheel mouse jump"
2362 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2364 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2367 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2369 * importer.C (Loaders): do not preallocate 3 elements in the
2370 vector, since one ends up with 6 elements otherwise
2372 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2374 * DepTable.C (write): write the file name as last element of the
2375 .dep file (because it may contain spaces)
2376 (read): read info in the right order
2378 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2380 * paragraph_pimpl.C (simpleTeXBlanks):
2381 (simpleTeXSpecialChars):
2382 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2384 * tabular.C (latex): add some missing case statements. Reindent.
2386 * MenuBackend.C (expandToc): remove unused variable.
2388 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2397 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2400 2003-01-05 John Levon <levon@movementarian.org>
2403 * BufferView.C: add getEncoding()
2406 * kbsequence.C: do not store last keypress
2409 * lyxfunc.C: store last keypress here instead. Pass encoding
2412 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2414 * lyx_main.C (init): remove annoying error message when following
2415 symbolic links (bug #780)
2417 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2419 * text.C (insertChar):
2420 * lyxrc.C (getDescription): remove extra spaces
2422 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2424 * lyxrc.C (getDescription): remove extra spaces
2426 2002-12-20 John Levon <levon@movementarian.org>
2428 * text3.C: hack fix for page up/down across tall rows
2430 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2432 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2435 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2437 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2438 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2439 thesaurus is not compiled in
2441 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2443 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2445 2002-12-16 Angus Leeming <leeming@lyx.org>
2448 * lyx_main.C (init): remove override_x_deadkeys stuff.
2450 2002-12-12 John Levon <levon@movementarian.org>
2452 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2453 insert. Only remove shift modifier under strict
2456 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2458 * MenuBackend.C (expandToc): fix crash.
2460 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * MenuBackend.C (expandToc): gettext on float names.
2464 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2466 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2467 implement bool empty() [bug 490]
2469 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2473 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * several files: ws changes
2477 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * text2.C (setCounter): clean up a bit, use boost.format.
2480 (updateCounters): initialize par upon declaration.
2482 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2483 if the layout exists. We do not just store the layout any more.
2484 (SwitchLayoutsBetweenClasses): use boost.format
2486 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2488 * converter.C (convert): if from and to files are the same, use a
2489 temporary files as intermediary
2491 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2494 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2496 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2498 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2500 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * tabular.C (asciiPrintCell): use string(size, char) instead of
2505 * sgml.C (openTag): fix order of arguments to string constructor
2508 * lyxfunc.C (dispatch): use boost.format
2510 * lots of files: change "c" -> 'c'
2512 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2514 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2516 2002-11-25 Angus Leeming <leeming@lyx.org>
2518 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2520 * lyx_main.C (init): compile fix.
2522 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * lyx_cb.C (start): boost.formatify
2525 do not include <iostream>
2527 * lengthcommon.C: ws only
2529 * boost-inst.C,BoostFormat.h: add more explict instantations
2531 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * lots of files: handle USE_BOOST_FORMAT
2535 2002-11-21 John Levon <levon@movementarian.org>
2537 * pspell.C: fix compile
2539 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2541 * lyxfunc.C (dispatch): use boost::format
2545 * lyxfont.C (stateText): use boost::format
2547 * lyx_main.C (LyX): use boost::format
2549 (queryUserLyXDir): ditto
2552 (typedef boost::function): use the recommened syntax.
2554 * importer.C (Import): use boost::format
2556 * debug.C (showLevel): use boost::format
2558 * converter.C (view): use boost::format
2563 * bufferview_funcs.C (currentState): use boost::format
2565 * bufferlist.C (emergencyWrite): use boost::format
2567 * buffer.C (readLyXformat2): use boost::format
2568 (parseSingleLyXformat2Token): ditto
2570 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2572 * LaTeX.C (run): use boost::format
2574 * Chktex.C (scanLogFile): use boost::format
2576 * BufferView_pimpl.C (savePosition): use boost::format
2577 (restorePosition): ditto
2578 (MenuInsertLyXFile): ditto
2580 * BoostFormat.h: help file for explicit instation.
2582 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2584 * tabular.C (latex): Support for block alignment in fixed width
2587 2002-11-17 John Levon <levon@movementarian.org>
2589 * BufferView_pimpl.C:
2591 * lyxfunc.C: split filedialog into open/save
2593 2002-11-08 Juergen Vigna <jug@sad.it>
2595 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2596 by my last patch (hopefully).
2598 2002-11-08 John Levon <levon@movementarian.org>
2607 * toc.C: ParConstIterator, and use it (from Lars)
2609 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2611 * lyxtextclass.[Ch]: revise and add doxygen comments
2613 2002-11-07 John Levon <levon@movementarian.org>
2615 * text.C: fix progress value for spellchecker
2617 * toc.C: fix navigate menu for insetwrap inside minipage
2619 * paragraph_funcs.C: added FIXME for suspect code
2621 2002-11-07 John Levon <levon@movementarian.org>
2623 * BufferView_pimpl.C: fix redrawing of insets
2626 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2628 * text2.C (updateCounters): fix bug 668
2630 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2632 * text3.C (dispatch): Do not make the buffer dirty when moving the
2635 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * vc-backend.C: STRCONV
2640 * text2.C (setCounter): STRCONV
2642 * paragraph.C (asString): STRCONV
2644 * lyxlength.C (asString): STRCONV
2645 (asLatexString): ditto
2647 * lyxgluelength.C (asString): STRCONV
2648 (asLatexString): ditto
2650 * lyxfunc.C (dispatch): STRCONV
2653 * lyxfont.C (stateText): STRCONV
2655 * importer.C (Import): STRCONV
2657 * counters.C (labelItem): STRCONV
2658 (numberLabel): ditto
2659 (numberLabel): remove unused ostringstream o
2664 * bufferview_funcs.C (currentState): STRCONV
2666 * buffer.C (readFile): STRCONV
2667 (asciiParagraph): ditto
2668 (makeLaTeXFile): ditto
2670 * Spacing.C (writeEnvirBegin): STRCONV
2672 * LaTeXFeatures.C (getLanguages): STRCONV
2673 (getPackages): ditto
2675 (getBabelOptions): ditto
2676 (getTClassPreamble): ditto
2677 (getLyXSGMLEntities): ditto
2678 (getIncludedFiles): ditto
2682 (scanAuxFile): ditto
2685 * LString.h: add the STRCONV macros
2687 * BufferView_pimpl.C (savePosition): STRCONV
2688 (restorePosition): ditto
2689 (MenuInsertLyXFile): ditto
2691 * vc-backend.C (scanMaster): change from submatch[...] to
2694 * funcrequest.C: include config.h
2696 * factory.C: include config.h
2698 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2700 * box.C: include config.h
2702 * LaTeX.C (scanAuxFile): change from submatch[...] to
2706 2002-10-25 Angus Leeming <leeming@lyx.org>
2708 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2710 * ispell.[Ch] (setError): new method.
2711 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2712 Use setError() insetead of goto END.
2714 * lyx_cb.C (AutoSave): move out child process into new class
2717 2002-10-30 John Levon <levon@movementarian.org>
2719 * text3.C: make start appendix undoable
2721 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2723 * lyxlength.C (inPixels): Fix returned value.
2725 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2728 2002-10-24 Angus Leeming <leeming@lyx.org>
2730 * lyxgluelength.h: no need to forward declare BufferParams
2731 or BufferView, so don't.
2733 2002-10-21 John Levon <levon@movementarian.org>
2735 * BufferView.C: menuUndo ->undo, redo
2737 * BufferView.h: document, remove dead, make some methods private
2739 * paragraph_funcs.h:
2740 * paragraph_funcs.C:
2741 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2746 * sgml.C: move sgml open/close tag into sgml.C
2748 * bufferview_funcs.h: unused prototype
2751 * lyxfunc.C: remove unused
2754 * text.C: remove unused
2756 2002-10-21 John Levon <levon@movementarian.org>
2760 * BufferView_pimpl.h:
2761 * BufferView_pimpl.C: fix mouse wheel handling based on
2762 patch from Darren Freeman
2764 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2766 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2768 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2770 * lyxlength.C (inPixels): Fix hanfling of negative length.
2771 Fix LyXLength::MU case.
2773 2002-10-16 John Levon <levon@movementarian.org>
2775 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2777 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2779 * converter.C (view): add support for $$i (file name) and $$p
2780 (file path) for the viewer command. If $$i is not specified, then
2781 it is appended to the command (for compatibility with old syntax)
2783 2002-10-14 Juergen Vigna <jug@sad.it>
2785 * undo_funcs.C (textHandleUndo): alter the order in which the
2786 new undopar is added to the LyXText, as we have to set first
2787 the right prev/next and then add it as otherwise the rebuild of
2788 LyXText is not correct. Also reset the cursor to the right paragraph,
2789 with this IMO we could remove the hack in "redoParagraphs()".
2791 2002-10-09 Angus Leeming <leeming@lyx.org>
2793 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2794 to turn off an optimisation if a new inset is to be inserted.
2796 2002-10-11 André Pönitz <poenitz@gmx.net>
2798 * lyxtext.h: make some functions public to allow access
2799 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2801 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2803 * text3.C (dispatch): when changing layout, avoid an infinite loop
2806 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2808 * lyxrc.C (read): treat a viewer or converter command of "none" as
2811 * MenuBackend.C (expandFormats): for an update, also allow the
2812 formats that are not viewable
2814 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2815 script if it is newer than the lyxrc.defaults in user directory
2817 2002-10-07 André Pönitz <poenitz@gmx.net>
2819 * text.C: Vitaly Lipatov's small i18n fix
2821 2002-09-25 Angus Leeming <leeming@lyx.org>
2823 * ispell.h: doxygen fix.
2825 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2827 * buffer.h (readFile): Add a new argument to the method, to allow
2828 reading of old-format templates.
2830 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2832 * toc.C (getTocList): Get TOC from InsetWrap.
2834 2002-09-16 John Levon <levon@movementarian.org>
2836 * lyxfunc.C: check tabular for cut/copy too
2838 2002-09-12 John Levon <levon@movementarian.org>
2843 * factory.C: add header
2845 * paragraph_funcs.h:
2846 * paragraph_funcs.C: cleanup
2848 2002-09-11 John Levon <levon@movementarian.org>
2850 * PrinterParams.h: odd/even default to true
2852 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2854 * PrinterParams.h: update printer parameters for new xforms dialog
2856 2002-09-11 Angus Leeming <leeming@lyx.org>
2858 * lyxserver.C (read_ready): re-write to make it more transparent
2859 and to make it work in coherent fashion under Tru64 Unix.
2861 2002-09-11 André Pönitz <poenitz@gmx.net>
2865 * text3.C: implement LFUN_WORDSEL
2867 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2870 make floatlist_ a boost::shared_ptr<FloatList>
2872 * lyxtextclass.C: include FloatList.h
2873 (LyXTextClass): initialize floatlist_
2874 (TextClassTags): add TC_NOFLOAT
2875 (Read): match "nofloat" to TC_NOFLOAT and use it.
2876 (readFloat): modify call to floatlist_
2880 * FloatList.[Ch] (FloatList): remove commented out float
2882 (erase): new function
2884 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2886 * MenuBackend.C (expandToc): fix crash when there is no document
2889 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2891 * many files: Add insetwrap.
2893 2002-09-09 John Levon <levon@movementarian.org>
2895 * text2.C: remove confusing and awkward depth wraparound
2897 2002-09-09 John Levon <levon@movementarian.org>
2899 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2902 * buffer.C: remove getIncludeonlyList()
2905 * lyxfunc.C: remove headers
2907 2002-09-09 Juergen Vigna <jug@sad.it>
2909 * text.C (getColumnNearX): fix form Michael this is most
2910 probably a cut&paste bug.
2912 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2916 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2917 references, ws changes.
2919 * text2.C (init): update counters after init
2920 (insertParagraph): no need to set counter on idividual paragraphs.
2921 (setCounter): access the counters object in the textclass object
2922 on in the buffer object.
2923 (updateCounters): ditto
2925 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2926 shared_ptr<Counters> to avoid loading counters.h in all
2928 (LyXTextClass): initialize ctrs_
2929 (TextClassTags): add TC_COUNTER, and ...
2930 (Read): use it here.
2931 (CounterTags): new tags
2932 (readCounter): new function
2933 (counters): new funtion
2934 (defaultLayoutName): return a const reference
2936 * counters.C (Counters): remove contructor
2937 (newCounter): remove a couple of unneeded statements.
2938 (newCounter): simplify a bit.
2939 (numberLabel): some small formatting changes.
2941 * buffer.[Ch]: remove all traces of counters, move the Counters
2942 object to the LyXTextClass.
2944 2002-09-06 Alain Castera <castera@in2p3.fr>
2946 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2947 package to set the horizontal alignment on fixed width columns.
2950 * lyx_sty.h: added tabularnewline macro def.
2952 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2954 2002-09-06 John Levon <levon@movementarian.org>
2956 * LyXAction.C: tooltips for sub/superscript
2958 * MenuBackend.C: a bit more verbose
2960 * lyxfunc.C: tiny clean
2962 * undo_funcs.C: document undo_frozen
2964 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2966 * counters.C (Counters): add missing algorithm counter.
2968 * text2.C (setCounter): lookup the counter with layouts latexname
2969 instead of by section number.
2970 (setCounter): use a hackish way to lookup the correct enum
2972 a float name->type change
2973 reset enum couners with counter name directly instead of depth value.
2975 * counters.C (Counters): remove the push_backs, change to use the
2976 float type not the float name.
2977 (labelItem): remove unused string, float name->type change
2979 * counters.h: don't include vector, loose the enums and sects vectors
2981 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2984 (Read): add float->TC_FLOAT to textclassTags
2985 (Read): and handle it in the switch
2986 (readFloat): new function
2988 * FloatList.C (FloatList): comment out the hardcoded float
2991 * lyxlayout.h: ws change.
2993 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2995 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2997 2002-09-03 Angus Leeming <leeming@lyx.org>
2999 * BufferView_pimpl.h: qualified name is not allowed in member
3000 declaration: WorkArea & Pimpl::workarea() const;
3002 * factory.C: added using std::endl directive.
3004 * text3.C: added using std::find and std::vector directives.
3006 2002-08-29 André Pönitz <poenitz@gmx.net>
3009 * text2.C: remove unused member number_of_rows
3012 * BufferView2.C: remove file, move contents to...
3013 * BufferView.C: ... here
3015 * BufferView_pimpl.C:
3016 * factory.C: move more inset creation to factory
3018 * vspace.C: avoid direct usage of LyXText, ws changes
3021 don't provide direct access to WorkArea, use two simple
3022 acessors haveSelction() and workHeight() instead
3025 2002-08-29 John Levon <levon@movementarian.org>
3027 * BufferView_pimpl.C (dispatch): do not continue when
3030 2002-08-28 André Pönitz <poenitz@gmx.net>
3032 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3035 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3037 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3039 * buffer.C: increment LYX_FORMAT to 221
3041 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3042 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3044 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3046 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3048 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3050 * factory.C (createInset): use LyXTextClass::floats
3052 * MenuBackend.C (expandFloatListInsert):
3053 (expandFloatInsert):
3056 * text2.C (setCounter):
3058 * LaTeXFeatures.C (useFloat):
3059 (getFloatDefinitions):
3061 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3063 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3064 floatlist_, with accessor floats().
3066 * FloatList.h: remove global FloatList
3068 2002-08-26 André Pönitz <poenitz@gmx.net>
3070 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3074 * BufferView_pimpl.C:
3075 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3077 2002-08-25 John Levon <levon@movementarian.org>
3079 * LyXAction.C: fix margin note description
3081 2002-08-24 John Levon <levon@movementarian.org>
3085 * bufferview_funcs.C:
3087 * undo_funcs.C: cleanups
3089 * lyxfunc.C: disable CUT/COPY when no selection
3091 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3093 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3094 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3096 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3097 Add backward compatibility to "mono", "gray" and "no".
3099 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3101 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3102 (and file_format >= 200).
3104 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3106 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3108 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3110 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3112 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3114 * BufferView_pimpl.C:
3121 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3122 inset and code to make it work with the paragraph code. The inset
3123 can be anywhere in the paragraph, but will only do the expected
3124 thing in LaTeX if the layout file contains the parameter line
3126 (or more generally, a nonzero value) for that layout.
3128 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * paragraph.h: remove the declaration of undefined counters class
3133 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3135 * text2.C (setCounter): fixed enumeration mis-count as reported by
3136 Dr. Richard Hawkins.
3138 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3140 * paragraph_funcs.h: remove some unneeded includes
3142 * text.C (backspace): pasteParagraph now in global scipe
3144 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3145 (pasteSelection): ditto
3147 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3148 * paragraph_funcs.C (pasteParagraph): ... here
3150 2002-08-20 André Pönitz <poenitz@gmx.net>
3152 * commandtags.h: new LFUNs for swapping/copying table row/colums
3155 * lyxfunc.C: support for new lfuns
3157 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * buffer.[Ch]: remove NO_COMPABILITY stuff
3162 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * boost.C (throw_exception): new file, with helper function for
3165 boost compiled without exceptions.
3170 * ParameterStruct.h:
3171 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3173 * bufferlist.C (emergencyWriteAll): use boost bind
3175 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3177 * text.C: include paragraph_funcs.h
3178 (breakParagraph): breakParagraph is now in global scope
3180 * paragraph_funcs.[Ch]: new files
3182 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3185 * buffer.C: include paragraph_funcs.h
3186 (insertStringAsLines): breakParagraph is now in global scope
3188 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3191 * CutAndPaste.C: include paragraph_funcs.h
3192 (cutSelection): breakParagraphConservative is now in global scope
3193 (pasteSelection): ditto
3195 * buffer.h: declare oprator== and operator!= for
3196 Buffer::inset_iterator
3198 * bufferlist.C (emergencyWrite): don't use fmt(...)
3200 * text3.C: add using std::endl
3202 * BufferView.C (moveCursorUpdate): remove default arg
3204 2002-08-20 André Pönitz <poenitz@gmx.net>
3206 * buffer.[Ch]: move inline functions to .C
3209 * BufferView_pimpl.C:
3211 * buffer.[Ch]: use improved inset_iterator
3214 * paragraph.[Ch]: write one paragraph at a time
3216 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3218 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3219 style if style is not specified.
3221 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3223 * text2.C (setCounter): when searching for right label for a
3224 caption, make sure to recurse to parent insets (so that a caption
3225 in a minipage in a figure float works) (bug #568)
3227 2002-08-20 André Pönitz <poenitz@gmx.net>
3229 * text3.C: new file for LyXText::dispatch() and helpers
3231 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3233 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3235 2002-08-19 André Pönitz <poenitz@gmx.net>
3238 * text.C: new LyXText::dispatch()
3240 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3242 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3244 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3246 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3249 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3251 * Makefile.am: use $(variables) instead of @substitutions@
3253 2002-08-15 André Pönitz <poenitz@gmx.net>
3256 * BufferView_pimpl.C: streamlining mathed <-> outer world
3260 * LyXAction.C: remove unused LFUN_MATH
3262 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3266 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3268 * paragraph.C (Paragraph): reformat a bit
3269 (cutIntoMinibuffer): use builtin InsetList function instad of
3273 * buffer.C: include boost/bind.hpp, add using std::for_each
3274 (writeFileAscii): use ParagraphList iterators
3275 (validate): use for_each for validate traversal of paragraphs
3276 (getBibkeyList): use ParagraphList iterators
3277 (resizeInsets): use for_each to resizeInsetsLyXText for all
3279 (getParFromID): use ParagraphList iterators
3281 * BufferView2.C (lockInset): use paragraph list and iterators
3283 2002-08-14 John Levon <levon@movementarian.org>
3285 * lyxserver.C: remove spurious xforms include
3287 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3289 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3291 2002-08-13 André Pönitz <poenitz@gmx.net>
3294 * lyxfunc.C: further cleaning
3296 2002-08-13 André Pönitz <poenitz@gmx.net>
3298 * funcrequest.h: new constructor
3300 * funcrequest.C: move stuff here from .h
3303 * BufferView_pimpl.C:
3306 * lyxfunc.C: subsequent changes
3308 * lyxfunc.h: new view() member function
3310 * lyxfunc.C: subsequent changes
3312 2002-08-13 Angus Leeming <leeming@lyx.org>
3315 * BufferView_pimpl.C:
3323 changes due to the changed LyXView interface that now returns references
3324 to member variables not pointers.
3326 2002-08-13 Angus Leeming <leeming@lyx.org>
3328 * WordLangTuple (word, lang_code): return references to strings,
3333 * lyxtext.h: forward-declare WordLangTuple.
3338 * text.C: #include "WordLangTuple.h".
3341 * text.C: (selectNextWordToSpellcheck): constify return type.
3343 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3349 * paragraph_pimpl.h:
3352 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3354 Made updateCounter always count from start of buffer, and removed
3355 second argument (par).
3356 Reverted floats number display to '#'. Perhaps I'll try again when the
3357 code base is sanitized a bit.
3359 2002-08-12 Angus Leeming <leeming@lyx.org>
3361 * buffer.[Ch] (getLabelList): constify.
3363 2002-08-07 André Pönitz <poenitz@gmx.net>
3365 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3367 * funcrequest.h: extension to keep mouse (x,y) position
3369 2002-08-12 Juergen Vigna <jug@sad.it>
3371 * BufferView2.C (insertErrors): forbid undo when inserting error
3374 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3376 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * ParagraphList.[Ch]: new files
3380 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3382 * BufferView2.C (lockInset): ParagraphList changes
3385 * bufferlist.C: ditto
3389 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3391 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3392 unused class variable counter_,
3394 * paragraph.[Ch] (getFirstCounter): delete unused function
3396 * counters.C: include LAssert.h
3397 (reset): add a new function with no arg, change other version to
3398 not have def. arg and to not allow empty arg.
3400 * text2.C (setCounter): remove empty arg from call to Counters::reset
3402 2002-08-11 John Levon <levon@movementarian.org>
3404 * Makefile.am: add WordLangTuple.h
3406 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3409 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3411 * insets/insettext.C: InsetList changes
3413 * graphics/GraphicsSupport.C (operator()): InsetList changes
3415 * toc.C (getTocList): InsetList changes
3417 * paragraph_pimpl.[Ch]: InsetList changes
3419 * paragraph.[Ch]: InsetList changes
3421 * buffer.C (inset_iterator): InsetList changes
3422 (setParagraph): ditto
3423 * buffer.h (inset_iterator): ditto
3424 * iterators.C (operator++): ditto
3425 * iterators.h: ditto
3427 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3429 * InsetList.[Ch]: new files, most InsetList handling moved out of
3432 * BufferView2.C (removeAutoInsets): InsetList changes
3434 (ChangeInsets): ditto
3436 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * paragraph_pimpl.h (empty): new function
3440 * paragraph.[Ch] (empty): new function
3442 * other files: use the new Paragraph::empty function
3444 2002-08-09 John Levon <levon@movementarian.org>
3446 * lyxtext.h: remove unused refresh_height
3448 2002-08-09 John Levon <levon@movementarian.org>
3455 * paragraph.C: move sgml char escaping out of paragraph
3458 * paragraph.C: remove id setter
3462 * paragraph_pimpl.C: remove dead tex_code_break_column
3464 * bufferview_funcs.C: small cleanup
3466 * lyxfunc.C: remove dead proto
3468 * lyxtext.h: make some stuff private. Remove some dead stuff.
3470 * lyxgluelength.C: make as[LyX]String() readable
3472 2002-08-08 John Levon <levon@movementarian.org>
3477 * ToolbarDefaults.C:
3480 * toc.C: lyxaction cleanup
3482 2002-08-08 John Levon <levon@movementarian.org>
3484 * BufferView2.C: small cleanup
3487 * lyxfind.C: move unnecessary header into the .C
3489 2002-08-08 John Levon <levon@movementarian.org>
3491 * funcrequest.h: just tedious nonsense
3494 * lyx_main.C: cleanups
3497 * vspace.C: remove dead header lyx_main.h
3499 2002-08-07 Angus Leeming <leeming@lyx.org>
3502 * paragraph_pimpl.h:
3503 Forward declare class Counters in paragraph.h by moving the ctrs member
3504 variable into Paragraph::Pimpl.
3505 (counters): new method, returning a reference to pimpl_->ctrs.
3507 * text2.C: ensuing changes.
3509 2002-08-07 John Levon <levon@movementarian.org>
3511 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3513 * BufferView_pimpl.C: announce X selection on double/triple
3516 * lyx_main.C: use correct bool in batch dispatch
3518 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3520 2002-08-07 André Pönitz <poenitz@gmx.net>
3522 * funcrequest.h: new class to wrap a kb_action and its argument
3525 * BufferView_pimpl[Ch]:
3529 * lyxrc.C: subsequent changes
3532 2002-08-07 John Levon <levon@movementarian.org>
3534 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3535 document options change.
3537 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3542 * makefile.am: move counters functionality over from
3543 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3545 2002-08-06 John Levon <levon@movementarian.org>
3547 * WordLangTuple.h: new file for word + language code tuple
3558 * BufferView2.C: use WordLangTuple
3561 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3563 2002-08-06 John Levon <levon@movementarian.org>
3565 * lyx_main.C: fix cmdline batch handling
3567 2002-08-06 André Pönitz <poenitz@gmx.net>
3569 * lyxrc.C: set default for show_banner to true
3571 2002-08-06 John Levon <levon@movementarian.org>
3573 * pspell.C: fix a crash, and allow new aspell to work
3575 2002-08-06 John Levon <levon@movementarian.org>
3578 * kbmap.C: small cleanup
3581 * vspace.C: add const
3583 2002-08-05 John Levon <levon@movementarian.org>
3585 * LyXAction.C: back to tabular-insert
3587 2002-08-04 John Levon <levon@movementarian.org>
3590 * BufferView.C: cosmetic change
3592 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3602 * BufferView2.C: purge all "Lyx" not "LyX" strings
3605 * lyxcursor.C: attempt to add some documentation
3610 * ToolbarDefaults.C:
3611 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3612 merge with LFUN_TABULAR_INSERT
3619 * pspell.C: split up i/pspell implementations into separate
3620 files, many cleanups
3622 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3624 * text2.C: some cleanup
3626 * lyxfunc.C: don't check for isp_command == "none" any more, it
3627 didn't make any sense
3629 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3634 * makefile.am: move counters functionality over
3635 from text2.C/paragraph.[Ch] to counters.[Ch], and
3637 2002-08-02 John Levon <levon@movementarian.org>
3639 * buffer.C: s/lyxconvert/lyx2lyx/
3641 2002-08-02 Angus Leeming <leeming@lyx.org>
3643 * lyxlex.C: revert John's change as it breaks reading of the user
3646 2002-08-02 Angus Leeming <leeming@lyx.org>
3648 * importer.C (Import):
3649 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3650 changes due to LyXView::view() now returning a boost::shared_ptr.
3652 2002-08-02 John Levon <levon@movementarian.org>
3654 * lyxlex.C: small cleanup
3656 2002-08-02 John Levon <levon@movementarian.org>
3658 * text2.C (status): small cleanup, no logic change
3660 2002-08-01 John Levon <levon@movementarian.org>
3663 * buffer.C (writeFile): don't output alerts, caller
3667 * lyx_cb.C: from above
3669 * lyxfunc.C: allow to open non-existent files
3671 2002-07-31 John Levon <levon@movementarian.org>
3673 * lyxserver.C: don't let incidental errors get
3676 2002-07-30 John Levon <levon@movementarian.org>
3678 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3680 2002-07-30 John Levon <levon@movementarian.org>
3683 * lyxserver.C: remove I/O callback too
3685 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3687 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3690 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * many files: strip,frontStrip -> trim,ltrim,rtrim
3694 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * PrinterParams.h: remove extern containsOnly, and include
3697 support/lstrings.h instead.
3699 * LaTeX.C (scanAuxFile): modify because of strip changes
3701 * buffer.C (makeLaTeXFile): ditto
3702 * bufferparams.C (writeFile): ditt
3703 * lyxfont.C (stateText): ditto
3704 * lyxserver.C (read_ready): ditto
3705 * vc-backend.C (scanMaster): ditto
3707 * BufferView_pimpl.h: ws changes
3709 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3711 2002-07-26 André Pönitz <poenitz@gmx.net>
3713 * kb_sequence.C: remove unnedred usings
3715 2002-07-26 Juergen Vigna <jug@sad.it>
3717 * lyxfind.C (LyXReplace): we have to check better if the returned
3718 text is not of theLockingInset()->getLockingInset().
3720 2002-07-25 Juergen Vigna <jug@sad.it>
3722 * lyxfind.C (LyXReplace): don't replace if we don't get the
3725 * undo_funcs.C (createUndo): remove debugging code.
3727 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3729 * buffer.C (parseSingleLyXformat2Token): Use default placement
3730 when reading old floats.
3732 * FloatList.C (FloatList): Change the default placement of figure
3733 and tables to "tbp".
3735 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3737 * MenuBackend.C: using std::max
3739 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3741 * MenuBackend.C (expandToc):
3742 (expandToc2): code moved from xforms menu frontend. It is now
3743 generic and TOCs are transparent to menu frontends.
3745 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3747 * toc.C (getTocList): protect against buf=0
3749 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3750 Menu as first parameter. Now, this calls itself recursively to
3751 expand a whole tree (this will be useful for TOC handling)
3752 (expandFloatInsert): remove 'wide' version of floats
3754 * MenuBackend.h (submenuname): returns the name of the submenu.
3755 (submenu): returns the submenu itself, provided it has been
3756 created by MenuBackend::expand
3758 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3760 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3761 insets which have noFontChange == true. (bug #172)
3763 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3765 * BufferView_pimpl.C: add connection objects and use them...
3768 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3770 * MenuBackend.C (expandLastfiles):
3773 (expandFloatListInsert):
3774 (expandFloatInsert):
3775 (expand): split expand in parts
3777 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3779 * lyx_gui.C: use lyx_gui::exit()
3781 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3783 * LyXAction.C: show the failing pseudo action
3785 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3787 * buffer.C (readFile): Run the lyxconvert script in order to read
3790 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3794 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3796 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3800 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3802 2002-07-22 Herbert Voss <voss@lyx.org>
3805 * lyxlength.[Ch]: add support for the vertical lengths
3807 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3809 * toc.[Ch]: std:: fixes
3811 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3813 * lyxrc.C: do not include lyx_main.h
3815 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3821 * BufferView2.C: include "lyxlex.h"
3824 * bufferparams.h: do not #include "lyxlex.h"
3826 * lyxtextclasslist.C (Add): remove method
3827 (classlist): renamed to classlist_
3829 * paragraph_pimpl.C:
3833 * bufferview_funcs.C:
3838 * toc.C (getTocList): use BufferParams::getLyXTextClass
3840 * toc.C (getTocList): use InsetFloat::addToToc
3842 * toc.[Ch]: new files, containing helper functions to handle table
3845 * lyxfunc.C (dispatch): no need to remove spaces around command
3847 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3848 first command of the sequence; it is not very clever, but I do not
3849 have a better idea, actually
3851 * LyXAction.C (LookupFunc): make sure to remove space at the
3852 beginning and end of the command
3854 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3856 * MenuBackend.C (getMenubar): new method: return the menubar of
3858 (read): treat differently reading of menu and menubar (in
3859 particular, the menubar has no name now)
3860 (Menu::menubar): remove
3862 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3865 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3867 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3868 a bibitem inset in a RTL paragraph.
3870 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3872 * paragraph_pimpl.C: constify
3874 * BufferView_pimpl.C:
3876 * lyxfunc.C: fix dispatch in a nicer way
3878 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3880 * lyxfunc.C (dispatch):
3881 * BufferView_pimpl.C:
3882 * BufferView_pimpl.h:
3884 * BufferView.h: rename Dispatch() to dispatch()
3886 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3888 * lyxlayout.C (Read): honor DependsOn tag
3890 * lyxlayout.[Ch] (depends_on): new method
3892 * version.C.in: update lyx_docversion
3894 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3896 * paragraph.C (validate): remove from here...
3897 * paragraph_pimpl.C (validate): ... and move here
3898 (isTextAt): make it const
3900 * buffer.C (getLists): ws cleanup
3902 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3904 * language.C (read): Use iso8859-1 encoding in latex_lang
3905 (this prevents LyX from crashing when using iso10646-1 encoding).
3907 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3909 * text2.C (toggleInset): if cursor is inside an inset, close the
3910 inset and leave cursor _after_ it
3912 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3914 * lyxfunc.C: move minibuffer completion handling out of here
3916 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3918 * BufferView_pimpl.C:
3919 * LaTeX.C: fix dispatch calls
3921 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3923 * text.C (drawChars): Fix Arabic text rendering.
3925 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3929 * lyxfunc.C: remove message-push/pop
3933 * lyxfunc.C: rationalise some code by removing verboseDispatch
3934 in favour of a bool argument to dispatch()
3936 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3938 * lyx_main.C (init): make sure to read symlinks as absolute paths
3940 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3943 * lyxfunc.C: no need for commandshortcut to be a member
3945 2002-07-15 André Pönitz <poenitz@gmx.net>
3947 * converter.C: add support for $$s (scripts from lib/scripts dir)
3948 * lyx_main.C: white space
3950 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3954 * lyxrc.C: remove second exit confirmation
3956 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3961 * BufferView_pimpl.h:
3962 * BufferView_pimpl.C:
3963 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3965 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3967 * MenuBackend.C (expand): add numeric shortcuts to document menu
3969 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3971 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3973 * lyxfont.C (setLyXFamily):
3980 * buffer.C (asciiParagraph): use ascii_lowercase
3982 2002-07-15 Mike Fabian <mfabian@suse.de>
3984 * lyxlex_pimpl.C (search_kw):
3985 * lyxlex.C (getLongString):
3986 * converter.h (operator<):
3987 * converter.C (operator<):
3988 * buffer.C (parseSingleLyXformat2Token):
3990 * ToolbarDefaults.C (read):
3991 * MenuBackend.C (checkShortcuts):
3993 * LColor.C (getFromGUIName):
3994 (getFromLyXName): use the compare_ascii_no_case instead of
3995 compare_no_case, because in turkish, 'i' is not the lowercase
3996 version of 'I', and thus turkish locale breaks parsing of tags.
3998 2002-07-16 Angus Leeming <leeming@lyx.org>
4000 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4001 now takes a Buffer const & argument.
4003 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4005 * BufferView.C (resize): check there's a buffer to resize
4007 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4009 * lyxfunc.C: remove dead code
4012 * lyxserver.C: use lyx_guii::set_read_callback
4014 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4016 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4017 an inset in a RTL paragraph.
4019 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4021 * lyxfunc.C: repaint after a font size update
4023 2002-07-15 André Pönitz <poenitz@gmx.net>
4025 * lyxlength.C: inBP should be able to return negative values
4027 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4029 * lyxfunc.C: use lyx_gui::update_fonts()
4031 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4033 * lyxfunc.C: use lyx_gui::update_color()
4035 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4041 * lyxrc.C: remove file->new asks for name option, and let
4042 buffer-new take an argument
4044 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4046 * BufferView_pimpl.C: remove unneeded extra repaint()
4048 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4050 * LyXAction.C: allow command-sequence with NoBuffer
4052 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4054 2002-07-10 Angus Leeming <leeming@lyx.org>
4056 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4058 2002-07-09 Angus Leeming <leeming@lyx.org>
4060 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4062 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4064 * lengthcommon.h: whitespace
4066 * lyxfunc.C: update scrollbar after goto paragraph
4068 * lyxtext.h: factor out page break drawing, and fix it so
4069 page break/added space paints as selected nicely
4071 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4073 * BufferView_pimpl.C: add FIXMEs, clean up a little
4075 2002-07-09 André Pönitz <poenitz@gmx.net>
4077 * lyxfont.[Ch]: support for wasy symbols
4079 2002-07-08 André Pönitz <poenitz@gmx.net>
4081 * BufferView_pimpl.C: apply John's patch for #93.
4083 2002-07-05 Angus Leeming <leeming@lyx.org>
4085 * BufferView_pimpl.C (buffer): generate previews if desired.
4087 * LColor.h: add "preview" to the color enum.
4089 * LColor.C (LColor): add a corresponding entry to the items array.
4091 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4094 2002-07-05 Angus Leeming <leeming@lyx.org>
4096 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4097 The body of the code is now in the method that is passed an ostream &
4098 rather than a file name.
4099 Pass an additional only_preamble parameter, useful for the forthcoming
4102 2002-07-03 André Pönitz <poenitz@gmx.net>
4104 * lyxfunc.C: simplify getStatus() a bit for math stuff
4106 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4108 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4110 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4112 * text.C (changeRegionCase): do not change case of all the
4113 document when region ends at paragraph end (bug #461)
4115 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4117 * paragraph.C (startTeXParParams):
4118 (endTeXParParams): add \protect when necessary
4120 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4122 * BufferView_pimpl.C (workAreaExpose): remove warning
4124 2002-06-27 Angus Leeming <leeming@lyx.org>
4126 * Makefile.am: add lyxlayout_ptr_fwd.h.
4128 2002-06-26 André Pönitz <poenitz@gmx.net>
4130 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4132 2002-06-25 Angus Leeming <leeming@lyx.org>
4134 * lyxfunc.C (dispatch): Comment out the call to
4135 grfx::GCache::changeDisplay. The method no longer exists now that the
4136 pixmap generation part of the graphics loader has been moved into
4139 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4141 * text2.C: layout as layout
4143 * text.C: layout as layout
4145 * tabular.C (OldFormatRead): layout as layout
4147 * paragraph_pimpl.C (TeXDeeper): layout as layout
4148 (realizeFont): layout as layout
4150 * paragraph.C (writeFile): layout as layout
4151 (validate): layout as layout
4152 (getFont): layout as layout
4153 (getLabelFont): layout as layout
4154 (getLayoutFont): layout as layout
4155 (breakParagraph): layout as layout
4156 (stripLeadingSpaces): layout as layout
4157 (getEndLabel): layout as layout
4158 (getMaxDepthAfter): layout as layout
4159 (applyLayout): layout as layout
4160 (TeXOnePar): layout as layout
4161 (simpleTeXOnePar): layout as layout
4162 (TeXEnvironment): layout as layout
4163 (layout): layout as layout
4164 (layout): layout as layout
4166 * lyxtextclass.C (compare_name): new functor to work with
4167 shared_ptr, layout as layout
4168 (Read): layout as layout
4169 (hasLayout): layout as layout
4170 (operator): layout as layout
4171 (delete_layout): layout as layout
4172 (defaultLayout): layout as layout
4174 * lyxlayout_ptr_fwd.h: new file
4176 * lyxlayout.C (Read): layout as layout
4178 * lyx_cb.C (MenuInsertLabel): layout as layout
4180 * bufferlist.C (newFile): layout as layout
4182 * buffer.C (readLyXformat2): layout as layout
4183 (parseSingleLyXformat2Token): layout as layout
4184 (insertStringAsLines): layout as layout
4185 (asciiParagraph): layout as layout
4186 (latexParagraphs): layout as layout
4187 (makeLinuxDocFile): layout as layout
4188 (simpleLinuxDocOnePar): layout as layout
4189 (makeDocBookFile): layout as layout
4190 (simpleDocBookOnePar): layout as layout
4191 (getLists): layout as layout
4193 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4195 * CutAndPaste.C (cutSelection): layout as layout
4196 (pasteSelection): layout as layout
4197 (SwitchLayoutsBetweenClasses): layout as layout
4199 * BufferView_pimpl.C (Dispatch): layout as layout
4200 (smartQuote): layout as layout
4202 * BufferView2.C (unlockInset): layout as layout
4204 2002-06-24 André Pönitz <poenitz@gmx.net>
4206 * lyxfunc.C: fix #487
4208 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4212 * lyxfunc.C: remove display_shortcuts, show_banner
4214 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4216 * Buffer_pimpl.C: oops, update on resize
4218 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4225 * BufferView.C: use repaint()
4227 * BufferView_pimpl.h:
4228 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4229 as it's a clearer description. Remove superfluous
4232 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4234 * text.C: fix bug 488. Not ideal, but getting
4235 getWord() to work properly for the insets that
4236 matter is more difficult ...
4238 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4240 * BufferView_pimpl.C:
4243 * lyxfunc.C: remove the six million index lyxfuncs to just
4244 one, and DTRT (bug 458)
4246 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4250 * BufferView_pimpl.h:
4251 * BufferView_pimpl.C: clean up resize() stuff,
4252 and unnecessary updateScreen()s
4254 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4258 * BufferView_pimpl.h:
4259 * BufferView_pimpl.C:
4262 * minibuffer.C: remove focus management of workarea,
4263 not needed. Use screen's greyOut()
4265 2002-06-17 Herbert Voss <voss@lyx.org>
4267 * converter.C: (convert) do not post a message, when converting
4268 fails, let the calling function decide what to do in this case
4270 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4272 * lyxfunc.C: tidy up a little
4274 2002-06-16 <alstrup@diku.dk>
4276 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4277 Got rid of FORMS_H_LOCATION include. Now we are
4280 2002-06-15 LyX Development team <lyx@rilke>
4282 * buffer.[Ch] (sgmlOpenTag):
4283 (sgmlCloseTag): Added support for avoiding pernicious mixed
4284 content. Return number of lines written.
4287 (makeDocBookFile): Fixed calls to sgml*Tag.
4288 Simple white space clean.
4290 (simpleDocBookOnePar): Simple white space clean.
4292 * tabular.[Ch] (docBook): Renamed to docbook and got another
4293 argument to related with the pernicious mixed content.
4295 (docbookRow): Fixed calls for docbook inset method.
4297 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4299 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4300 so it's X11 independent.
4304 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4306 2002-06-15 Lyx Development team <lyx@electronia>
4308 * intl.h: Renamed getTrans to getTransManager.
4310 2002-06-14 Angus Leeming <leeming@lyx.org>
4312 * Makefile.am: nuke forgotten stl_string_fwd.h.
4314 2002-06-12 Angus Leeming <leeming@lyx.org>
4316 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4318 2002-06-13 Angus Leeming <leeming@lyx.org>
4321 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4323 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4325 * kbmap.C (getiso): add support for cyrillic and greek
4327 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4331 * BufferView_pimpl.h:
4332 * BufferView_pimpl.C: move bogus scrolling logic
4335 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4338 * BufferView_pimpl.C: view->resize() change
4340 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4342 * BufferView_pimpl.C: topCursorVisible
4345 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4349 * lyx_gui.C: move to frontends/
4353 * lyx_main.C: changes from above
4355 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4362 * lyx_main.C: minor tidy
4364 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4366 * BufferView_pimpl.h:
4367 * BufferView_pimpl.C:
4369 * BufferView.C: make painter() const,
4372 * BufferView2.C: use screen() accessor
4375 * lyx_main.C: some minor cleanup
4377 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4379 * BufferView_pimpl.h:
4380 * BufferView_pimpl.C: remove enter/leaveView,
4383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4388 * BufferView_pimpl.h:
4389 * BufferView_pimpl.C: only construct screen once,
4392 * lyxrc.C: remove pointless comment
4394 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4397 * BufferView.C: remove active() and belowMouse()
4399 * BufferView_pimpl.h:
4400 * BufferView_pimpl.C: use workarea() not workarea_,
4401 and make it use a scoped_ptr instead
4403 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4405 * lyx_gui.C: add debug message on BadWindow
4407 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4409 * sp_spell.C: fdopen is not part of the C++ standard.
4411 * paragraph.C (InsetIterator): use >= instead of ==
4413 2002-06-07 Angus Leeming <leeming@lyx.org>
4415 Fixes needed to compile with Compaq cxx 6.5.
4416 * BufferView_pimpl.C:
4423 * lyxtextclasslist.C:
4428 all c-library variables have been moved into namespace std. Wrap
4429 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4434 Add a using std::abs declaration.
4436 * kbmap.h (modifier_pair):
4437 * paragraph.h (InsetTable, InsetList):
4438 * lyxfont.h (FontBits):
4439 type definition made public.
4441 * bufferlist.C (emergencyWriteAll): the compiler complains that
4442 there is more than one possible lyx::class_fun template to choose from.
4443 I re-named the void specialisation as lyx::void_class_fun.
4445 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4447 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4448 the compiler is is unable to find tostr in write_attribute.
4450 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4452 * buffer.C (sgmlError): hide #warning
4454 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4456 * xtl/*: get rid of xtl, which is not in use anyway
4458 * LyXAction.C (init):
4459 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4460 were unimplemented xtl experimentation
4462 2002-06-04 André Pönitz <poenitz@gmx.net>
4464 * lyxfunc.C: disable array operation on simple formulae
4466 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4468 * converter.C: constify a bit
4470 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4472 * lyx_gui.C: check xforms version correctly
4474 2002-04-30 Herbert Voss <voss@lyx.org>
4476 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4479 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4481 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4482 attempt to register it with a VCS)
4484 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4486 * lyx_main.C (init): honor variables LYX_DIR_13x and
4489 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4493 * lyx_main.C: fix a crash on bad command line,
4494 and give a useful exit status on error
4496 * lyxfunc.C (doImport): allow -i lyx to work
4498 2002-03-30 André Pönitz <poenitz@gmx.net>
4500 * lyxfunc.C: mathed font changes
4502 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4517 * trans_mgr.h: srcdocs, and some minor cleanups
4519 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4521 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4522 call getFont all the time)
4524 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4526 * switch from SigC signals to boost::signals
4528 2002-05-29 André Pönitz <poenitz@gmx.net>
4530 * paragraph_pimpl.C (getChar): don't call size() too often...
4532 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4534 * paragraph_pimpl.C (insertChar): do not try to update tables when
4535 appending (pos == size())
4537 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4538 in order to reduce drastically the number of comparisons needed to
4539 parse a large document
4541 2002-05-29 André Pönitz <poenitz@gmx.net>
4547 * textclasslist.[Ch]:
4548 * sp_ispell.h: whitespace change
4550 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4552 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4553 lyxaction directly now.
4555 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4559 * lyxvc.C: remove unused headers
4561 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4568 * undo_funcs.C: some cleanups. Use shared_ptr
4569 and a template for the undo stacks.
4571 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4573 * BufferView_pimpl.h:
4574 * BufferView_pimpl.C:
4581 * text2.C: use key_state/mouse_state
4583 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4585 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4588 * chset.C: change include order
4589 (loadFile): use boost regex and get rid of LRegex and LSubstring
4591 * Makefile.am (BOOST_LIBS): new variable
4594 * LaTeX.C: change include order.
4595 (scanAuxFile): use boost regex and get rid of LRegex and
4599 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4604 * FontInfo.C: moved to frontends/xforms/
4607 * FontLoader.C: moved into frontends for GUIIzation
4612 * lyxfunc.C: changes from above
4614 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4616 * LColor.C: remove spurious X include
4618 * BufferView_pimpl.C:
4623 * text2.C: move font metrics to frontends/
4625 2002-05-24 Juergen Vigna <jug@sad.it>
4627 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4628 setting the undo_cursor.
4630 * ParagraphParameters.h: include local includes first.
4632 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4634 * BufferView_pimpl.C:
4635 * BufferView_pimpl.h:
4639 * screen.C: move WorkArea into frontends/
4645 * BufferView2.C: move LyXScreen into frontends/
4649 * lyx_gui.C: move lyxlookup into frontends/xforms/
4651 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4654 * BufferView_pimpl.C:
4664 * bufferview_funcs.C:
4677 * vc-backend.C: move LyX/XFormsView into frontends/
4679 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4691 * text2.C: move Painter to frontends/
4693 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4695 * buffer.C: comment out some some code that depend upon lyx_format
4698 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4699 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4701 * buffer.h (NO_COMPABILITY): turn off compability
4703 * ColorHandler.C: include scoped_array.hpp
4705 * font.C: Use more specific smart_ptr header.
4708 * ShareContainer.h: ditto
4712 * BufferView_pimpl.h: ditto
4713 * ColorHandler.h: ditto
4715 * kbmap.C (defkey): change call to shared_ptr::reset
4717 2002-05-21 Juergen Vigna <jug@sad.it>
4719 * buffer.C (insertErtContents): fix to insert ert asis if it is
4720 non empty. Skip it completely if it contains only whitespaces.
4722 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4724 * BufferView_pimpl.C:
4725 * BufferView2.C: clear selection on paste (bug 393)
4727 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4729 * DepTable.C: include ctime
4731 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4733 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4735 2002-05-14 Juergen Vigna <jug@sad.it>
4737 * text.C (breakParagraph): fixed function to honor the keepempty
4738 layout in the right maner and also to permit the right breaking
4739 algorithm on empty or non empyt keepempty paragraphs.
4741 * paragraph.C (breakParagraph): we have to check also if the par
4742 is really empty (!size()) for isempty otherwise we do the wrong
4745 2002-05-10 Juergen Vigna <jug@sad.it>
4747 * buffer.[Ch] : The following are only changes to the ert
4748 compatibility read reading old LaTeX layout and font stuff and
4749 convert it to ERTInsets.
4751 * buffer.h: added isErtInset().
4753 * buffer.C (struct ErtComp): add a fromlayout bool to check
4754 if we're inside a LaTeX layout.
4755 (isErtInset): new helper function.
4756 (insertErtContents): look for other ert insets before this one
4757 and insert the contents there, so that we don't have subsequent
4758 ERT insets with nothing between them. This way we create only one
4759 inset with multiple paragraphs. Also check if we don't insert only
4760 spaces ' ' as they are ignored anyway afterwards in the .tex file
4761 so if we have only spaces we will ignore this latex part in the
4763 (parseSingleLyXformat2Token \\layout): better compatibility when
4764 reading layout-latex stuff.
4765 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4767 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4768 stuff after reading the inset only get the information back from
4771 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4773 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4775 * LaTeXFeatures.C (getBabelOptions): New method.
4777 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4779 * BufferView_pimpl.C (Dispatch): work around missing argument for
4782 2002-05-08 Juergen Vigna <jug@sad.it>
4784 * text.C (leftMargin): handle paragraph leftindent.
4786 * paragraph.C (writeFile): write the new \\leftindent tag.
4787 (validate): handle leftindent code.
4788 (TeXEnvironment): handle paragraphleftindent code again.
4790 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4792 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4793 for paragrap_extra indent code and new token \\leftindent.
4794 (latexParagraphs): handle the leftindent as environment.
4796 * ParameterStruct.h: added leftindent support.
4798 * ParagraphParameters.C (leftIndent): added support functions for
4799 the paragraph left indent.
4801 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4804 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4806 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4809 * text.C (computeBidiTables): No bidi in insetERT.
4811 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4814 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4816 * version.C.in: pre 5
4818 2002-05-02 José Matos <jamatos@fep.up.pt>
4819 * buffer.C (makeDocBookFile): white space changes, add newline to
4821 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4823 * tabular.C (docBook): fix typo.
4825 2002-05-03 Juergen Vigna <jug@sad.it>
4827 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4828 change in LyXText as we can not be sure it was not freed.
4829 (drawOneRow): remove unused code.
4831 * text.C (drawInset): redo the calculation of the need_break_row as
4832 it could have a row which was already freed.
4833 (draw): look at the return value of drawInset and return false if
4834 it also returned false.
4835 (paintRowText): look at the return value of draw and return false if
4836 it also returned false.
4838 * lyxtext.h: added bool return type to drawInset() and draw() so that
4839 if we have a change in the row so that the rowbreak has to be redone
4840 we abort drawing as it will be called again.
4842 2002-05-02 Juergen Vigna <jug@sad.it>
4844 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4845 a change in the maintext also if we're inside an inset.
4846 (Dispatch): set the cursor again after a break line and after the
4847 screen has been updated as it could be we're in a different row.
4849 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4850 to set the cursor behind the pargraph with > size().
4851 (setCursor): check also for the same paragraph when checking where
4852 to put the cursor if we have a NFR inset.
4854 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4855 parts of layout read further up as it still was in the wrong
4858 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4860 * screen.C (drawFromTo): change sine fullRebreak always return
4863 * buffer.C (parseSingleLyXformat2Token): reindent some
4865 * BufferView_pimpl.C (update): change since fullRebreak always
4867 (Dispatch): git rid of the last hardcoded "Standard"s.
4869 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4871 * text2.[Ch] (fullRebreak): make it return void now that we always
4874 2002-04-30 Juergen Vigna <jug@sad.it>
4876 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4877 ert compatibility check for "latex" layout.
4879 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4881 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4882 minipages: use col% instead of p%, and also use the current font.
4883 (makeLaTeXFile): Fix use babel condition.
4884 (parseSingleLyXformat2Token): Correct font when reading old floats.
4886 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4888 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4889 inserting list of floats.
4891 2002-04-25 Herbert Voss <voss@lyx.org>
4893 * MenuBackend.C (expand): don't add the graphics extensions to the
4896 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4898 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4899 non-existing layout, do not complain if it was the default layout
4900 of the original class (bug #342)
4902 2002-04-24 Juergen Vigna <jug@sad.it>
4904 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4905 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4907 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4909 * buffer.C (getBibkeyList): If using \bibliography, return the
4910 option field with the reference itself. Enables us to provide natbib
4911 support when using \bibliography.
4913 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4915 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4917 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4918 natbib is provided by the LaTeX class.
4920 2002-04-23 Juergen Vigna <jug@sad.it>
4922 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4925 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4927 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4929 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4931 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4932 ensuremath around textordmasculine, textordfeminine and
4935 2002-04-19 Juergen Vigna <jug@sad.it>
4937 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4938 reinitializing the buffer otherwise row-dimensions may be wrong.
4939 (update): reset also the selection cursors if they do exits otherwise
4940 their x/y positions may be wrong.
4942 * text2.C (cursorDown): don't enter the inset if we came from a row
4943 above and are one row over the inset.
4945 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4946 really leaving an inset.
4948 2002-04-18 Juergen Vigna <jug@sad.it>
4950 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4951 of the selected paragraph does not have the selected layout also if
4954 * text2.C (setLayout): fixed bug which did not change last selected
4957 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4958 changed the read and substituted \\end_float with \\end_inset!
4960 * BufferView_pimpl.C (cursorPrevious):
4961 (cursorNext): fixed to make it work with rows heigher than the work
4962 area without moving the cursor only the draw of the row.
4963 (workAreaMotionNotify): fix jumping over high rows.
4965 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4967 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4970 2002-04-16 Juergen Vigna <jug@sad.it>
4972 * text2.C (setCursor): set also the irow().
4973 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4975 (cursorDown): support for locking an inset if the x_fix value goes
4976 inside it. That way I can transverse insets too with cursor up/down.
4978 * lyxrow.h: added irow helper function same as other (i) functions.
4980 * BufferView_pimpl.C (cursorPrevious):
4981 (cursorNext): fixed for insets!
4983 2002-04-15 Juergen Vigna <jug@sad.it>
4985 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4986 position otherwise it is wrong in some cases.
4988 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4989 inside the inset before the call.
4991 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4993 * buffer.[Ch] (getBibkeyList): make it const.
4995 2002-04-12 Juergen Vigna <jug@sad.it>
4997 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4999 * text2.C (getCursorX): new helper function
5000 (setCursor): compute also ix_
5001 (setCursorFromCoordinates): set also ix.
5003 * lyxcursor.h: added ix_ and helper functions.
5005 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5007 * buffer.C (insertStringAsLines): dont break paragraph if the this
5008 paragraph is inside an inset which does not permit it!
5010 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5011 also with no chars on this paragraph.
5012 (paintRowText): only paint stuff if it's inside the workarea!
5014 * paragraph.C (breakParagraph): honor keepempty flag and break the
5015 paragraph always below not above.
5017 * BufferView2.C (unlockInset): update the paragraph layout on inset
5018 unlock as we changed paragraph in such a case.
5020 * lyxfind.C (LyXFind): clear the former selection if not found!
5022 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5023 again called in insertChar().
5025 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5026 an inset which uses the whole row!
5027 (rightMargin): ditto.
5028 (insertChar): force a rebreak if we inserted an inset!
5030 2002-03-28 Herbert Voss <voss@lyx.org>
5032 * lyxlength.[Ch]: add inBP() to get the right PS-point
5033 units (BigPoint). With inPixels we have rounding errors
5035 2002-04-11 Juergen Vigna <jug@sad.it>
5037 * text2.C (setCursorFromCoordinates): set iy to the right value.
5038 (setCursor): add check if row->previous exists!
5040 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5041 an old float_type as this was the case in the old code!
5043 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5045 * BufferView2.C (showLockedInsetCursor): use iy
5046 (fitLockedInsetCursor): ditto
5048 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5049 locked insets as there we have the right value now.
5051 * lyxcursor.C: added iy_ variable and iy functions to set to the
5052 baseline of cursor-y of the locked inset.
5054 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5055 (setCursor): fixed for insets which need a full row.
5057 * text.C (rowLastPrintable): don't ignore the last space when before
5058 an inset which needs a full row.
5059 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5060 as last character of a row when before a inset which needs a full row.
5062 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5064 * version.C.in: update date
5066 * text2.C (fullRebreak): try to always return true and see what
5069 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5071 * MenuBackend.C (expand): use Floating::listName
5073 * FloatList.C (FloatList): add listName argument to the built-in
5076 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5077 text associated with the float.
5079 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5081 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5083 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5085 * ShareContainer.h: add a couple of missing typenames.
5087 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5089 * lyxrc.C (getDescription): use _() correctly rather than N_().
5091 2002-03-28 Herbert Voss <voss@lyx.org>
5093 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5094 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5096 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5099 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5101 2002-03-29 Juergen Vigna <jug@sad.it>
5103 * lyxfunc.C (dispatch): add a missing fitCursor call.
5105 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5106 it was scrolled by a cursor move, so return the bool status.
5108 * BufferView.C (fitCursor): return the bool flag also to the outside
5109 world as this is needed.
5111 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5113 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5114 call the edit() as it is not needed (and wrong) IMO.
5115 (workAreaButtonPress): set the screen_first variable before evt.
5116 unlock the inset as this may change screen_first and then we have
5117 a wrong y position for the click!
5119 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5121 * MenuBackend.C (expand): another translation that I missed
5123 2002-03-28 Juergen Vigna <jug@sad.it>
5125 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5127 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5129 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5131 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5133 * MenuBackend.C (expand): fix export/view/update when there is no
5136 2002-03-27 Herbert Voss <voss@lyx.org>
5138 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5141 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5143 * bufferview_funcs.C (currentState): only show paragraph number
5144 for is DEVEL_VERSION is set.
5146 * lyxfunc.C (dispatch): put warning in INFO channel
5148 * MenuBackend.C (expand): translate the name of floats
5150 * FloatList.C (FloatList): mark the float names for translation
5152 * converter.C (convert): use LibScriptSearch
5154 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5156 * MenuBackend.C (defaults): fix default menu (we might as well get
5159 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5161 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5164 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5166 * lyxvc.C: reorder includes.
5168 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5170 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5173 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5175 * CutAndPaste.C: change layouts earlier on paste
5176 to avoid crashing when calling getFont()
5178 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5180 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5183 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5185 * WorkArea.C: remove 'Pending' debug message.
5187 * most files: ws cleanup
5189 * buffer.[Ch]: ws changes
5191 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5193 2002-03-21 Juergen Vigna <jug@sad.it>
5195 * tabular.C (SetMultiColumn): collapse also the contents of the
5196 cells and set the last border right. Added a Buffer const * param.
5198 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5200 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5203 2002-03-19 Juergen Vigna <jug@sad.it>
5205 * text2.C (clearSelection): reset also xsel_cache.
5207 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5208 where it needs to be called (John tells us to do so too :)
5209 (selectionLost): reset sel_cache.
5211 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5213 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * text2.C (setCursorIntern): put debuging code in INSETS channel
5217 2002-03-19 André Pönitz <poenitz@gmx.net>
5219 * lyxfunc.C: tiny whitespace change
5221 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5223 * ToolbarDefaults.C (init):
5224 * LyXAction.C (init):
5226 * BufferView_pimpl.C (Dispatch):
5227 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5229 2002-03-19 Allan Rae <rae@lyx.org>
5231 * exporter.C (Export): removeAutoInsets before doing anything else.
5232 While I've just introduced a dependency on BufferView this really is
5233 the best place to clean the buffer otherwise you need to cleanup in
5234 a dozen places before calling export or cleanup in a dozen functions
5237 * converter.C (runLaTeX):
5238 (scanLog): Better handling of removeAutoInsets and screen updates.
5240 * lyxfunc.C (dispatch): small whitespace changes
5242 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5244 * WorkArea.C (C_WorkAreaEvent): return a value.
5245 (event_cb): return 1 if we handled the event, 0 otherwise.
5247 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5249 2002-03-18 Juergen Vigna <jug@sad.it>
5251 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5252 (GetAdditionalWidth): ditto.
5256 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5257 inset if we're there actually (probably not used right now but this
5258 is the direction to go for unifying code).
5259 (paste): disable code to clear the selection.
5261 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5262 inside an InsetText and move the check further up as it is in the
5265 * text2.C (pasteSelection): set a selection over the pasted text.
5267 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5269 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5270 and libgraphics to build on Cygwin.
5272 2002-03-15 Juergen Vigna <jug@sad.it>
5274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5275 inserting an Inset into the paragraph. I know this is not the best
5276 fix but we already use current_view in CutAndPaste so we will remove
5277 all of it's using at the same time.
5279 * buffer.C (sgmlError): deactivated function till it is rewritten in
5280 the right mode, now it can create problems.
5282 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5283 before accessing it.
5285 2002-03-14 Juergen Vigna <jug@sad.it>
5287 * undo_funcs.C (textHandleUndo): do the right thing when updating
5288 the inset after the undo/redo.
5290 * text2.C (setCursor): just some testcode for #44 not ready yet.
5292 * undo_funcs.C (textHandleUndo): set the next() and previous()
5293 pointers of the paragraph to 0 before deleting otherwise we have
5294 problems with the Paragraph::[destructor].
5296 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5297 on a paragraph insertion.
5299 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5301 * buffer.C (asciiParagraph): use += operator for char append to
5304 * paragraph.C (getFontSettings): compare >= not just >
5305 (highestFontInRange): ditto
5308 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5310 * paragraph.C: change several algorithm to be more appripriate for
5311 the problem domain. This is lookip in FontList and in the InsetList.
5313 2002-03-13 André Pönitz <poenitz@gmx.net>
5316 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5318 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5323 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5325 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5327 * Painter.C (display): anon helper function, adjust code for this
5329 (pixmap): remove function.
5331 * Painter.h: remove private display variable.
5333 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5335 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5337 * WorkArea.[Ch]: remove figinset_canvas cruft.
5339 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5341 * lyxtextclass.C (operator): add one item cache optimization.
5343 * bufferlist.h: doxy changes
5345 * bufferlist.C: ws changes
5347 * DepTable.[Ch] (ext_exist): place const in the right spot.
5349 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5351 (workAreaExpose): call resizeInsets when the with BufferView changes.
5352 (Dispatch): adjust for protectedBlank removal
5353 (specialChar): call updateInset if the insert went ok.
5355 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5356 specialChar instead.
5358 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5360 * BufferView.h: doxy change
5362 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5364 * lyxtextclass.C (operator[]): remove non-const version
5365 (defaultLayout): remove non-const version
5367 2002-03-12 Juergen Vigna <jug@sad.it>
5369 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5370 did resize the LyXText too.
5372 * buffer.C (readLyXformat2): set layout information on newly allocated
5375 * tabular.C (OldFormatRead): set layout information on the paragraph.
5377 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5379 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5381 2002-03-11 Juergen Vigna <jug@sad.it>
5383 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5385 (resizeCurrentBuffer): force also the insets to resize themselfes.
5386 (moveCursorUpdate): fixed up for InsetText.
5388 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5391 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5392 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5393 value of Dialogs::tooltipsEnabled().
5394 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5396 2002-03-08 Juergen Vigna <jug@sad.it>
5398 * BufferView_pimpl.C (updateInset): update inset inside inset also
5399 if it isn't inside theLockingInset().
5401 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5403 * buffer.C (asciiParagraph): redo some of the word and line length
5405 (getLists): look for Caption instead of caption.
5407 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5409 * buffer.C (Buffer): initialize niceFile to true
5412 (makeDocBookFile): make sure niceFile is true on exit
5414 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5416 * buffer.C (makeLaTeXFile): escape ~ in \input@path
5418 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5420 * LyXSendto.C: remove.
5421 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
5422 * lyx_gui.C: remove now-redundant comment.
5423 * ColorHandler.h: remove forward declaration of class WorkArea.
5424 * lyxfunc.C: remove #include "WorkArea.h".
5426 2002-03-07 Juergen Vigna <jug@sad.it>
5428 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5429 got moved away with the DEPM and also set the inset_owner always
5430 right which before could have been omitted.
5432 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5434 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5435 wanted layout is not found.
5437 2002-03-07 Juergen Vigna <jug@sad.it>
5439 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5441 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5443 * paragraph.C (breakParagraph): use default layout not layout of
5445 (Paragraph): clear ParagraphParameters.
5447 2002-03-06 Juergen Vigna <jug@sad.it>
5449 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5450 otherwise it would not be a valid lenght. Fixed a special case in
5451 the minipage compatibility read where we end the document with a
5454 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5455 was set as it could be 0 for InsetTexts first entry.
5457 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5459 * paragraph.C (writeFile): if layout is empty write out
5460 defaultLayoutName().
5462 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5463 file without named layout we set layout to defaultLayoutName().
5465 2002-03-06 Juergen Vigna <jug@sad.it>
5467 * CutAndPaste.C (copySelection): set layout for new paragraph.
5469 * text.C (prepareToPrint): leave ERT inset left aligned
5470 (leftMargin): don't indent paragraphs inside ERT insets
5472 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5474 * paragraph.C (breakParagraph): dont call clear do the work manually
5476 * paragraph.[Ch] (clear): remove function
5478 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5480 * paragraph.C (Paragraph): dont call clear, the work has already
5483 * lyxtextclass.C (operator): assert if n is empty
5485 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5486 work manually instead.
5488 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5490 * BufferView_pimpl.C: protect selectionLost against text == 0
5492 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5494 * text.C (breakParagraph): fix a setting layout to '0' problem.
5496 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5498 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5499 final location of file, for the included files, and graphics.
5501 2002-03-05 Juergen Vigna <jug@sad.it>
5503 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5505 2002-03-04 Juergen Vigna <jug@sad.it>
5507 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5509 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5510 last column of multicolumn cells.
5511 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5513 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5515 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5516 file if it doesn't go to a temporary file.
5518 * buffer.C (sgmlOpenTag):
5519 (sgmlCloseTag): remove extra newline insertion.
5521 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5523 * text.C (getRowNearY): comment out debug msg
5525 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5527 * text2.C: first -> first_y
5529 * text.C (getRowNearY): add some attemts at a possible
5530 optimization, not working.
5532 * tabular.[Ch]: add BufferParams to several function so that newly
5533 created paragraph can be initialized to he default layotu for the
5536 * tabular-old.C (ReadOld): add buf->params to call of Init
5538 * screen.C: rename text->first to text->first_y
5540 * paragraph.C (breakParagraph): always set layout in the broken
5543 * lyxtextclass.C (Read): remove lowercase
5546 (delete_layout): ditto
5548 * lyxtext.h: rename first -> first_y
5550 * lyxlayout.C (Read): remove lowercase
5553 (obsoleted_by): ditto
5555 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5557 * buffer.C (insertErtContents): add params are to InsetERT
5558 (parseSingleLyXformat2Token): add code to check if a paragraphs
5559 layout really exist.
5560 (parseSingleLyXformat2Token): add params to several inset
5562 (asciiParagraph): remove lowercase, do the layout comparisons with
5565 * BufferView_pimpl.C (cursorNext): first -> first_y
5566 (resizeCurrentBuffer): first -> first_y
5567 (updateScrollbar): first -> first_y
5568 (scrollCB): first -> first_y
5569 (workAreaMotionNotify): first -> first_y
5570 (workAreaButtonPress): first -> first_y
5571 (checkInsetHit): first -> first_y
5572 (cursorPrevious): first -> first_y
5573 (cursorNext): first -> first_y
5574 (Dispatch): add buffer_->params to severl inset contructors
5576 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5578 * lyxlayout.C (Read): remove some debug info that I forgot.
5580 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5581 clean up the code slightly.
5582 (makeLinuxDocFile): ditto
5583 (makeDocBookFile): ditto
5585 * text2.C: layout as string
5587 * text.C: layout as string
5589 * paragraph_pimpl.C: layout as string
5591 * paragraph.[Ch]: layout as string
5593 * lyxtextclasslist.[Ch]: layout as string
5595 * lyxtextclass.[Ch]: layout as string
5597 * lyxtext.h: layout as string
5599 * lyxlayout.[Ch]: layout as string
5601 * lyx_cb.C: layout as string
5603 * bufferview_funcs.C: layout as string
5605 * bufferparams.C: layout as string
5607 * buffer.C: layout as string
5609 * LyXView.[Ch]: layout as string
5611 * LaTeXFeatures.[Ch]: layout as string
5613 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5615 * BufferView_pimpl.C: change current_layout to string, remove
5620 (workAreaButtonRelease): layout as string
5622 * BufferView2.C (unlockInset): adjust
5624 * vspace.C (asLatexCommand): use an explict temp variable.
5626 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5628 * Makefile.am: use FRONTEND_*
5630 2002-03-01 Juergen Vigna <jug@sad.it>
5632 * tabular.C (SetWidthOfMulticolCell): changed to something better
5633 I hope but still work in progress.
5634 (recalculateMulticolumnsOfColumn): renamed function from
5635 recalculateMulticolCells as it is more appropriate now.
5636 (SetWidthOfCell): calculate multicols better.
5638 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5640 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5642 * lyxfunc.C (processKeySym): print sequence also if it is
5643 `deleted' (complete)
5645 * kbsequence.C (print): print sequence even if it is deleted
5646 (complete would be a better word, actually).
5648 * lyxfunc.C (dispatch): print complete options after a prefix key
5650 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5652 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5654 * text2.C (setCharFont): eliminate setCharFont code duplication.
5656 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5658 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5659 LFUN_TABULAR_FEATURE (bug #177)
5661 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5663 * Makefile.am: remove figure.h
5665 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5667 * Bufferview_pimpl.C:
5679 * text2.C: remove #include "lyx_gui_misc.h".
5681 * LaTeX.C: added #include <cstdio>
5683 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5685 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5686 that the paragraph following this one can have.
5688 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5690 * vspace.C (asLatexCommand): fix bogus gcc warning
5692 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5694 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5696 * text2.C (setLayout): get rid of redundant code
5698 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5700 * text2.C (incDepth): make sure depth cannot be increased beyond
5703 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5705 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5706 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5708 * PainterBase.h (image):
5709 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5712 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5716 * BufferView_pimpl.C:
5717 * BufferView_pimpl.h:
5737 * sp_spell.C: remove fig inset, and the crap house of
5738 cards that follows it
5740 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5746 * nt_defines.h: move .h into support/
5748 * vms_defines.h: remove
5750 * WorkArea.C: add space in debug output
5754 * buffer.C: add WITH_WARNINGS
5758 * bufferlist.C: s/retrive/retrieve/, add docs
5769 * lyxgui.C: add ID to X error handler
5771 * lyxtestclass.c: fix typo
5773 2002-02-26 Juergen Vigna <jug@sad.it>
5775 * tabular_funcs.C (write_attribute): changed so that some default
5776 attributes are not written at all.
5777 (getTokenValue): set default values before trying to read the
5778 value so we have the return value always set as default if we don't
5779 find the token we search for.
5781 * tabular.C (Write): write bools as bools not as strings!
5783 2002-02-22 Juergen Vigna <jug@sad.it>
5785 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5786 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5788 * text.C (leftMargin): don't add an indent for paragraphs inside
5789 tabular cells (fix #208).
5791 2002-02-21 José Matos <jamatos@fep.up.pt>
5793 * tabular.C (docBook): fixed support for long tables.
5795 2002-02-20 Juergen Vigna <jug@sad.it>
5797 * text2.C (getFont): get the drawing font of the Inset if this
5798 paragraph is inside an inset (only important for InsetERT for now).
5800 * buffer.C (insertErtContents): use new lanugage params in ERT
5803 * CutAndPaste.C: commenting out seemingly uneeded code.
5805 2002-02-19 Allan Rae <rae@lyx.org>
5807 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5808 Iterators might be simple to use but they also get invalidated.
5809 (removeAutoInsets): renamed saved cursor tracking variables and added
5810 some comments to clarify what everything does.
5812 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5819 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5820 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5823 * vc-backend.h: remove #include "support/syscall.h"
5827 * converter.C: rearrange #includes in Lars' approved fashion.
5829 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5830 forward declare class Timeout in the header file.
5832 * XFormsView.C: changes due to the above.
5834 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5837 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5838 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5840 2002-02-18 José Matos <jamatos@fep.up.pt>
5842 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5845 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5847 * a lot of small ws changes
5848 * add a lot of using std::XXX
5849 * use std construcs some places where approp.
5850 * use some exisint stuff from lyxfunctional where approp.
5851 * Make file changes to use partial linking (lets test this now...)
5853 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5857 remove #include "support/syscontr.h" as it's redundant. Always has been.
5865 change Systemcalls::System to Systemcalls::Wait and
5866 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5867 No change of functionality, just reflects the stripped down Systemcalls
5870 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5872 * debug.[Ch]: add a GRAPHICS type to the enum.
5874 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5876 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5878 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5881 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5884 match the changes below.
5886 * text2.C (toggleInset): if there is not editable inset at cursor
5887 position, try to see if cursor is _inside_ a collapsable inset
5890 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5892 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5893 document menu has a nice checkbox
5895 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5897 * lyxlength.C (asLatexString): change PW to output as percent of
5900 * lengthcommon.C: change '%' to 't%'
5902 * lyxfunc.C (dispatch): a few comments from Martin
5904 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5908 * BufferView_pimpl.h:
5909 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5912 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5914 * vspace.C (inPixels): fix compiler warning
5916 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5918 * lyxfunc.C (getStatus): fix status message for disabled commands.
5920 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5922 * BufferView_pimpl.C: fix crash on close buffer
5923 during selection (#227)
5925 2002-01-27 Herbert Voss <voss@lyx.org>
5927 * buffer.C: link old Figure to new graphic inset
5929 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5931 * FontLoader.C (getFontinfo): Change the latex font names in order
5932 to match the names of type1inst.
5934 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5936 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5938 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5941 (remove_files_with_extension): ditto
5942 (remove_file): ditto
5945 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5946 document is smaller than the work area height. Do not initialize
5947 static variables to 0.
5949 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5951 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5953 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5954 LFUN_LAYOUT_PARAGRAPHS.
5956 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5957 tabular. It is possible to provide a possible cell, which will
5958 typically be the actcell from the corresponding insettabular
5960 * lyxfunc.C (getStatus): small cleanup; disable
5961 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5964 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5966 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5968 * paragraph.C (startTeXParParams):
5969 (endTeXParParams): new methods. The LaTeX code to
5970 start/end paragraph formatting
5971 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5972 empty (fixes bug #200)
5974 * vspace.C (inPixels): adapt to the change below
5975 (inPixels): [later] more cleanups (remove unused variables)
5977 * lyxlength.C (inPixels): change to use a width and a height as
5980 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5982 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5983 Replaced with \paperwidth
5985 * DepTable.C (insert): add std:: qualifier
5987 2002-01-18 Allan Rae <rae@lyx.org>
5989 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5992 * text.C (drawInset): Turned out I didn't know enough about how
5993 rebreaking worked. This fixes most of the redraw problems. I see
5994 an occasional cursor trail when a line is broken now and the cursor
5995 placement can seem out by a few pixels also after a rebreak.
5997 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5999 * buffer.C (parseSingleLyXformat2Token): update because minipage
6000 width is now a LyXLength
6002 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6004 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6007 2002-01-17 Juergen Vigna <jug@sad.it>
6009 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6011 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6012 is set correctly and the inset is updated correctly.
6014 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6016 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6017 the beginning of the loop.
6019 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6021 * lyxrc.C: improve help for use_scalable_fonts
6023 2002-01-17 Allan Rae <rae@lyx.org>
6025 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6027 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6029 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6030 make sure to set their inset_owner to the right value (bug #171)
6032 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6035 * DepTable.C: Implement mtime checking to reduce time spent doing
6038 2002-01-16 Juergen Vigna <jug@sad.it>
6040 * tabular.C (GetAdditionalHeight): one of error fixed.
6042 * lyxrc.C (output): small fix in writing use_pspell.
6044 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6046 * sp_base.h: #include LString.h
6048 2002-01-16 Allan Rae <rae@lyx.org>
6050 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6051 Can someone check this please?
6053 * text.C (drawInset): It was possible that p.row would be removed by
6054 breakAgainOneRow upsetting a few other settings. There may be another
6055 small tweak possible by setting need_break_row = 0 when p.row has been
6056 removed but I don't know enough about the logic here.
6058 2002-01-15 Allan Rae <rae@lyx.org>
6060 * text.C (insertChar): removed conditional truism.
6062 * BufferView2.C (removeAutoInsets): More tweaks.
6063 cur_par_prev could be a stray pointer. Check for trailing empty line
6064 in case last line was cur_par and only had an error inset on it.
6066 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6071 * vc-backend.C (most methods):
6072 * exporter.C (Export):
6073 * converter.C (convert):
6075 * LyXSendto.C (SendtoApplyCB):
6076 * lyxfunc.C (dispatch):
6080 * lyx_cb.C (AutoSave):
6082 * BufferView_pimpl.C (MenuInsertLyXFile):
6083 * buffer.C (runChktex): use Buffer::filePath().
6085 * buffer.h: rename filename to filename_; rename filepath to
6086 filepath_ and make it private
6087 (filePath): new method
6089 * buffer.C (writeFile): use fileName()
6092 * lyx_main.C (init): fix starting of LyX when the binary is a
6093 link from so,ewhere else.
6095 * minibuffer.C: include <cctype> for isprint
6097 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6099 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6100 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6101 name clash with InsetCollapsable's width function.
6103 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6105 * lastfiles.C: include <iterator>
6107 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6109 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6112 * buffer.C (makeLaTeXFile): ditto.
6113 Also make loop operation more transparent.
6115 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6117 * ToolbarDefaults.C: remove trailing comma closing namespace.
6119 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6121 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6124 * trans.C (Load): comment out unused variable, allowed.
6126 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6128 * minibuffer.[Ch] (append_char): new method to recieve input from the
6129 drop-down completion browser. If a key was pressed, then recieve this
6130 char and append it to the existing string.
6131 (peek_event): modify the positioning data passed to the completion
6132 browser so that it can be placed above the minibuffer rather than below.
6133 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6135 * LyXAction.C (init): alloe error-next for readonly documents.
6137 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6140 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6142 * bufferlist.C (readFile): create the buffer _after_ checking that
6145 * lyxfunc.C (verboseDispatch): fix handling of arguments
6147 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6149 * lyxrc.C: use string::erase() instead of initializing to "".
6152 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6154 * BufferView_pimpl.h:
6155 * BufferView_pimpl.C:
6158 * text2.C: tell X when we have made a selection for copying
6160 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6162 * BufferView_pimpl.C (MenuInsertLyXFile):
6163 * lyxfunc.C (menuNew):
6165 (doImport): add shortcuts to directory buttons
6167 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6170 * lyxfunc.C (setStatusMessage):
6171 (getStatusMessage): new methods
6172 (getStatus):use setStatusMessage instead of setErrorMessage
6173 (dispatch): when function is disabled, set error message here
6174 [instead of in getStatus previously]
6176 * BufferView_pimpl.C (workAreaButtonRelease): update
6177 toolbar/menubar here too.
6179 2002-01-13 Allan Rae <rae@lyx.org>
6181 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6182 Now seems indestructible. Remaining task is to audit all other
6183 code affected by deleteEmptyParagraphMechanism. One small quirk
6184 left is that an empty document with an error in the preamble can
6185 be made to report an error but no error box appears. I don't know
6187 (removeAutoInsets): Improved comments.
6189 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6192 * Thesaurus.C: update for Aiksaurus 0.14
6194 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6196 * text2.C (firstParagraph): removed member function, all uses
6197 replaces with ownerParagraph
6198 (redoParagraphs): here
6200 (toggleAppendix): here
6201 * BufferView2.C (insertErrors): here
6202 (setCursorFromRow): here
6204 2002-01-13 Allan Rae <rae@lyx.org>
6206 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6207 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6208 There is still a way to segfault this although you may have to do this
6209 multiple times: Have an InsetERT with an unknown command in it.
6210 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6211 <down-arrow>, <Enter> again, View->DVI, BANG!
6213 * text2.C (setCursor):
6214 (deleteEmptyParagraphMechanism):
6215 * lyxtext.h (setCursor):
6216 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6217 Making use of the return value may help fix other bugs.
6219 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6221 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6223 * LyXView.C (updateMenubar): call MenuBar::update here
6224 (updateToolbar): but not here
6225 (showState): do not update toolbar/menubar
6227 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6228 should need to care about that.
6230 * lyxfunc.C (verboseDispatch): simplify a bit
6231 (getStatus): have a version which takes a pseudoaction, and
6232 another which requires a (kb_action,string).
6234 * LyXAction.C (retrieveActionArg): make it work also when action
6235 is not a pseudo-action.
6236 (getActionName): simplify a bit
6239 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6241 * lyxfunc.C (verboseDispatch): new families of methods with
6242 several ways to specify a command and a bool to indicate whether
6243 the command name and shortcut should be displayed in minibuffer
6244 (eventually, we could extend that to a finer bitmask like
6245 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6246 (dispatch): the pristine dispatch command which just, well,
6247 dispatchs! Note it still sets its result to minibuffer; I'm not
6250 * lyxfunc.h: remove setHintMessage
6252 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6254 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6256 * BufferView_pimpl.C (specialChar): delete new inset if we have
6257 not been able to insert it.
6259 * kbmap.C: revert to using int instead of kb_action, since all we
6260 are dealing with is pseudo-actions.
6262 * LyXAction.C (searchActionArg): change to return int instead of
6263 kb_action, since the result is a pseudoaction.
6265 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6267 * buffer.C (insertErtContents): Fix (partially) the font bug.
6269 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6271 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6272 as the other one is broken on my machine!
6274 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6277 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6279 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6281 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6282 reflect their actual use. Provide compatibility code for older lyxrc
6285 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6287 change names of popup font variables in line with the changes to lyxrc.C
6289 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * buffer.C (asciiParagraph): avoid outputing a word twice after
6294 * lyxrc.C (getDescription): document that document_path and
6295 template_path can be empty.
6297 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6299 * LaTeXFeatures.C (getMacros):
6300 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6302 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6304 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6306 (getPackages): rename feature "floats" to "float". Use an array to
6307 iterate over 'simple' features (i.e. just a \usepackage). Add
6308 handling of "amsmath" (renamed from "amsstyle").
6310 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6312 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6315 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6317 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6318 FuncStaus::FuncStatus & FuncStaus::some_method().
6320 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6322 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6323 of the func_satus stuff. Edited and massaged in various ways by
6326 * lyxfunc.C (getStatus): use FuncStatus
6328 2002-01-08 Juergen Vigna <jug@sad.it>
6330 * text.C (nextBreakPoint): use function Inset::isChar().
6332 * paragraph.C (TeXOnePar): use function
6333 Inset::forceDefaultParagraphs.
6335 * buffer.C (latexParagraphs): use function
6336 Inset::forceDefaultParagraphs.
6338 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6340 * lyx_gui.C (init): set the style of the menu popups to
6341 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6343 2002-01-07 Juergen Vigna <jug@sad.it>
6345 * text.C (setHeightOfRow): small fix
6346 (prepareToPrint): don't look at alignment if we don't have the place
6349 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6351 * box.C: New file. Move the Box methods and functions out of box.h,
6352 following Lars' suggestion.
6354 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6356 * box.h: #include "support/LOstream.h", needed for inlined function.
6359 * lyxtextclasslist.C: added some using std declarations.
6361 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6363 * box.h: make signed dimensions to allow insets wider than
6364 the screen (bug #162)
6366 * BufferView_pimpl.C: add some insetHit debug
6368 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6370 * vc-backend.C: add FIXME
6372 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * lyxfunc.C (getStatus): enable code for showing math font status
6377 2002-01-07 Juergen Vigna <jug@sad.it>
6379 * text.C (nextBreakPoint): removed debug output not needed anymore.
6381 2002-01-06 Juergen Vigna <jug@sad.it>
6383 * text.C (nextBreakPoint): fixed up this function we had this bug
6384 since ever but now hopefully we break row better.
6385 (insertChar): we have to check if an inset is the next char as it
6386 could now happen that a large inset is causing a break.
6388 2002-01-05 Juergen Vigna <jug@sad.it>
6390 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6391 if it doesn't like to be drawed.
6393 2002-01-04 Juergen Vigna <jug@sad.it>
6395 * BufferView2.C (lockInset): forgot to set a cursor.
6397 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6399 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6404 * form_maths_panel.C:
6405 * form_maths_panel.h:
6406 * form_maths_panel.fd: implemented sub- and super- buttons in math
6409 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6410 (or ^ space) to be used as in TeX (req'd by André).
6412 * lyxfunc.C: Allow ^ and _ again to be used both as
6413 super/subscript (mathed) and as themselves (in text).
6415 2002-01-03 Allan Rae <rae@lyx.org>
6417 * LyXView.C (updateWindowTitle): Setup a short icon title of either
6418 "LyX" or the filename of the current buffer if it has one. This is a
6419 modified form of John Levon's patch.
6421 * XFormsView.C (setWindowTitle): also set icon title.
6423 * LyXView.h (setWindowTitle): signature changed.
6424 * XFormsView.h (setWindowTitle): ditto.
6426 2002-01-02 Juergen Vigna <jug@sad.it>
6428 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6430 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6432 * screen.C (topCursorVisible): introduce a temp var for
6433 text->cursor.row(), handle the case where this row is null. (kindo
6436 * text2.C (setCursor): add a couple of asserts.
6438 * paragraph.h (inset_iterator): add -> operator
6440 * paragraph.[Ch] (autoDeleteInsets): remove member function
6442 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6443 cursor pos correctly and handle inset deletion by itself.
6444 (insertErrors): move iterator declaration out of for expression
6446 * lyxtextclass.C: add <algorithm>
6448 * Makefile.am: added the new files to sources, removed layout.C
6450 * layout.C: removed file
6452 * layout.h: remove LYX_DUMMY_LAYOUT
6454 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6458 * lyxtextclass.[Ch]:
6459 * lyxtextclasslist.[Ch]: new files
6461 * include order changes to a lot of files, also changes because of
6464 2001-12-27 Juergen Vigna <jug@sad.it>
6466 * buffer.C (asciiParagraph): more fixes.
6468 * tabular.C (ascii): make ascii export support export of only the
6469 data separated by a column-delimiter.
6470 (ascii): better support for ascii export.
6472 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6474 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6476 * tabular_funcs.C: use a "using std::getline" instead of the
6477 previous fix from Angus (necessary for cxx + lyxstring)
6479 2001-12-24 Juergen Vigna <jug@sad.it>
6481 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6483 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6484 problems. First check a minipage also if we have some ert-contents
6485 (not only on par->size(), second set the right depth of the paragraph
6486 on the relink to the root-paragraph-list!
6488 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6489 which then did not anymore update the main paragraphs on undo/redo!
6491 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6493 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6494 code. Support all font-changing funcs (even those which are not in
6495 menu currently). Support for reporting font settings in
6496 mathed (disabled until Andre provides a function on mathed's side).
6498 * func_status.h (toggle): small helper function to set toggle
6501 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6503 * tabular_funcs.C: getline -> std::getline
6505 2001-12-21 Juergen Vigna <jug@sad.it>
6507 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6508 accessed and could be 0 (I couldn't generate this but it seems
6511 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6513 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6514 * tabular_funcs.h: here and include iosfwd
6516 2001-12-20 Juergen Vigna <jug@sad.it>
6518 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6519 inside inset but undo_par was.
6521 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6523 * Thesaurus.C: always include <config.h> in sources.
6527 * box.h: do not include <config.h> in header files
6529 * text.C (paintLastRow): remove unused variable
6531 * text.C (transformChar):
6533 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6536 * font.C (width): rewrite to use uppercase() instead of
6539 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6541 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6543 * lyxfind.C: clean up of find failure position change
6545 2001-12-20 Juergen Vigna <jug@sad.it>
6547 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6549 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6550 (TeXRow): added to LaTeX a single tabular row.
6551 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6552 (Latex): simplified and finally good LT-h/f support.
6553 (various_functions): just small adaptions for LT-h/f support.
6555 * tabular_funcs.[hC]: added and moved here all not classfunctions
6558 2001-12-19 Juergen Vigna <jug@sad.it>
6560 * tabular.[Ch]: better support for longtabular options (not finished
6563 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6565 * text.C (paintLastRow): use the label font instead of the font of
6566 the last character to compute the size of *_BOX. This makes more
6567 sense and avoids a crash with empty paragraphs.
6568 Use Painter::rectangle to draw EMPTY_BOX.
6570 2001-12-19 Juergen Vigna <jug@sad.it>
6572 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6573 the paragraphs if the replaced paragraph is not the first one!
6574 Tried to delete not used paragraphs but does not work yet so for
6575 now it's inside #ifdef's and by default off!
6577 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6579 * MenuBackend.C: include "lyx_main.h" instead of declaring
6580 lastfiles (actually was declared as LastFiles* instead of a
6583 2001-12-17 Juergen Vigna <jug@sad.it>
6585 * tabular.C (AppendColumn): applied John's fix
6587 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6591 * BufferView_pimpl.h:
6592 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6595 * box.h: new start of class for above
6597 * lyxfunc.C: ignore space-only minibuffer dispatches.
6598 Show the command name when it doesn't exist
6600 * minibuffer.C: don't add empty lines to the history
6602 * minibuffer.C: add a space on dropdown completion
6604 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6606 * text.C: fix line above/below drawing in insets
6608 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6610 * lyxlength.C (LyXLength): Initialize private variables.
6612 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6614 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6615 when inserting error insets.
6617 2001-12-13 Juergen Vigna <jug@sad.it>
6619 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6620 actually sometimes the before-paragraph.
6621 (setUndo): don't clear the redostack if we're not actually undoing!
6623 2001-12-06 Juergen Vigna <jug@sad.it>
6625 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6626 and fixed redoing of main paragraph, so we can use it now ;)
6628 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6630 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6632 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6635 2001-12-13 André Pönitz <poenitz@gmx.net>
6638 * undo_func.C: minor cleanup
6640 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6642 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6643 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6644 font in urw-fonts package which is marked as -urw-fontspecific and
6645 does not work (incidentally, changing the encoding in the
6646 fonts.dir of this package to -adobe-fontspecific fixes the
6649 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6650 is a crash when undoing first paragraph (Juergen, please take a
6651 look). THis does not mean the undo fix is wrong, just that it
6654 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6655 the (Paragraph*) version when needed instead of duplicating the
6658 * text.C (workWidth): use Inset::parOwner to find out where the
6659 inset has been inserted. This is a huge performance gain for large
6660 documents with lots of insets. If Inset::parOwner is not set, fall
6661 back on the brute force method
6663 * paragraph_pimpl.C (insertInset):
6664 * paragraph.C (Paragraph):
6665 (cutIntoMinibuffer): set parOwner of insets when
6666 inserting/removing them
6668 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6670 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6676 * mathed/formulabase.C:
6677 * mathed/math_cursor.[Ch]:
6678 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6681 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6683 * lyxlength.[Ch] (operator!=): new function
6685 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6687 * text.C (workWidth): use Inset::parOwner to find out where the
6688 inset has been inserted. This is a huge performance gain for large
6689 documents with lots of insets. If Inset::parOwner is not set, fall
6690 back on the brute force method
6692 * paragraph_pimpl.C (insertInset):
6693 * paragraph.C (Paragraph):
6694 (cutIntoMinibuffer): set parOwner of insets when
6695 inserting/removing them
6697 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6699 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6701 * tabular-old.C (getTokenValue):
6702 * tabular.C (getTokenValue):
6703 (write_attribute): new versions for LyXLength
6704 (everywhere): adjust the use of widths
6706 * tabular.h: change the type of widths from string to LyXLength
6708 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6710 * paragraph.C: fixed missing line number count when exporting
6711 Environments to LaTeX file
6713 * buffer.C: added informational message for checking line numbers.
6715 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6717 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6718 paragraph, do the 'double space' part, but not the 'empty
6721 * text.C (workWidth): small optimization
6722 (getLengthMarkerHeight): use minimal size for negative lengths.
6724 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6726 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6728 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6730 2001-12-11 André Pönitz <poenitz@gmx.net>
6733 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6735 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6737 * text2.C: keep selection on a setFont()
6739 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6741 * lyx_cb.C: another bv->text misuse, from insert label
6743 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6746 * kbsequence.C: re-instate nmodifier mask
6748 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6750 * lyx_main.h: make lyxGUI private.
6752 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6754 * lyxfind.C: place the cursor correctly on failed search
6756 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6758 * text.C (getLengthMarkerHeight): for small heights, the arrows
6759 are not always on top/bottom of the text
6760 (drawLengthMarker): smaller arrows; take the left margin in
6761 account; draw also vfills.
6763 (paintLastRow): remove special code for vfill and standard spaces,
6764 since everything is handled in drawLengthMarker now.
6766 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6768 * buffer.C (insertErtContents): try to handle font and language
6769 interaction a bit better.g
6771 * ColorHandler.C (updateColor): change the hash to cover the whole
6772 LColor enum, ws cleanup
6773 (getGCLinepars): ditto
6774 (getGCLinepars): only lookup in the linecache once.
6776 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6778 * iterators.C (operator++): Make the iterator more robust
6780 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6782 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6784 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6787 * text.C: better added space drawing
6789 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6792 * BufferView2.C: fix layout combo update on inset unlock
6794 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6796 * Makefile.am: don't compile unused files
6798 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6802 * LyXAction.C: remove old LFUN_LAYOUTNO
6804 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6806 * paragraph_pimpl.h:
6807 * paragraph_pimpl.C: isTextAt() doesn't need font param
6809 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6812 * lyxlex.C: little cleanup
6814 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6816 * BufferView_pimpl.C: fix insertAscii for insets
6818 2001-12-05 Juergen Vigna <jug@sad.it>
6820 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6821 set the right font on the "multi" paragraph paste!
6823 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6829 * lyxlength.C: remove out-commented code.
6845 * vc-backend.C: change "while(" to "while ("
6847 * lyxlength.[Ch]: add zero function to check if length is zero or
6849 * lyxgluelength.C: use it
6851 2001-12-05 Allan Rae <rae@lyx.org>
6853 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6854 Works for 2.95.3, from what I understand of Garst's reports this should
6855 work for other g++ versions. We're screwed if the abs(int) definition
6856 changed between bugfix releases of gcc.
6858 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6860 * text.C: fix chapter label offset !
6862 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6865 * text.C: fix hfill at end of line, clean up
6867 2001-12-04 Juergen Vigna <jug@sad.it>
6869 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6870 that we force an update of the inset and it's owners if neccessary.
6872 2001-12-03 Juergen Vigna <jug@sad.it>
6874 * text.C (rowLast): simplified code
6876 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6878 * lyxfunc.C: fix show options on timeout
6880 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6882 * screen.C (topCursorVisible): scroll half a page when the cursor
6883 reached top of bottom of screen
6885 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6887 * minibuffer.C: deactivate on loss of focus
6889 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6891 * vspace.[Ch] (operator!=): add operator.
6893 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6895 * BufferView_pimpl.C: refuse to open an inset when
6896 there's a selection.
6898 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6900 * BufferView_pimpl.C: allow to click on RHS of full row insets
6902 2001-11-30 Juergen Vigna <jug@sad.it>
6904 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6905 insets for undo reasons.
6907 2001-11-28 André Pönitz <poenitz@gmx.net>
6909 * vspace.[Ch]: cosmetical changes
6911 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6921 * kbsequence.C: part re-write of old kb code
6924 * WorkArea.C: remove Lgb_bug_find_hack
6926 2001-11-30 José Matos <jamatos@fep.up.pt>
6928 * buffer.C (makeDocBookFile): add a comment to point a hack.
6929 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6930 Fixed a double write of labels.
6932 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6935 * LaTeX.h Fixed bug in LaTeX class where it would not
6936 re-run latex if no depfiles were changed, but the .dvi was removed.
6938 2001-11-28 André Pönitz <poenitz@gmx.net>
6940 * all the files from the change on 2001/11/26:
6941 use lyx::layout_type instead of LyXTextClass::size_type
6942 use lyx::textclass_type instead of LyXTextClassList::size_type
6944 2001-11-29 Juergen Vigna <jug@sad.it>
6946 * text.C: added support for paragraph::isFreeSpacing()
6948 * buffer.C: same as above
6950 * paragraph.h: inserted isFreeSpacing() function to enable
6951 FreeSpacing inside InsetERT.
6953 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6954 of the paragraph's in the cut/copy buffer to 0!
6956 * text2.C (removeRow): remove the assert as it can!
6958 * lyxtext.h: added helper function firstRow returning firstrow and
6959 made firstrow private again.
6961 * BufferView2.C (lockInset): don't relock if we're already locked!
6963 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6965 (removeRow): added Assert::(firstrow)
6967 * debug.C: forgot to add INSETTEXT here.
6969 2001-11-28 Juergen Vigna <jug@sad.it>
6971 * sp_spell.C (initialize): changed error text to more general
6972 spellchecker command use (not only ispell!)
6974 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6976 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6978 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6980 * vspace.C: initialise lyxgluelength on failure
6982 2001-11-28 Allan Rae <rae@lyx.org>
6984 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6985 declaration & definition that looks like a function declaration.
6987 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6989 * BufferView2.C (copy):
6990 (copyEnvironment): do not clear the selection when doing a copy.
6992 * text.C (paintFirstRow): compilation fix
6994 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6996 * tabular.C (Latex): correct line count when writing latex.
6998 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7000 * paragraph_pimpl.h:
7001 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7004 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7008 * LColor.C: change vfillline->added_space
7010 * text.C: add markers and text for added space
7012 * vspace.C: fix comment
7014 2001-11-28 André Pönitz <poenitz@gmx.net>
7016 * paragraph.C: whitespace changes
7017 * all the other files from the change on 2001/11/26:
7018 change *::pos_type into lyx::pos_type
7020 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7022 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7023 language of the document when inserting error insets.
7025 2001-11-26 André Pönitz <poenitz@gmx.net>
7027 * BufferView_pimpl.[Ch]:
7035 * paragraph_pimpl.[Ch]:
7038 * text2.C: reduce header dependencies, introduce type for positions
7040 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7042 * <various>: change to use Alert.h
7044 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7046 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7047 when encountering an unknown token.
7048 (readLyXformat2): Show an error message if there were unknown tokens.
7050 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7053 * BufferView_pimpl.C:
7057 * text2.C: use par->isInset()
7059 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7061 * paragraph_pimpl.h:
7062 * paragraph_pimpl.C: cleanup
7064 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7066 * text2.C (removeRow):
7067 * text.C (setHeightOfRow): remove useless (and costly) call to
7070 2001-11-20 Allan Rae <rae@lyx.org>
7072 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7073 Now need Inset*::checkInsertChar() to return true for appropriate
7074 cases so that the characters in the minibuffer will actually be
7077 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7079 * text.C: change the order of the includes.
7080 (workWidth): initialize it at once.
7081 (workWidth): make maxw unsigned
7082 (setHeightOfRow): remove unused variable (inset)
7083 (selectSelectedWord): remove unused variable (inset)
7084 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7086 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7088 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7089 server is not running.
7091 (closeConnection): add debug info when server is disabled.
7093 * ColorHandler.C (getGCForeground): send debug message to GUI
7096 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7098 * kbmap.C (bind): modify because return conventions of
7099 kb_sequence::parse have changed.
7101 * kbsequence.C (parse): only ignore spaces and not any stupid
7102 control character. This avoids tests like s[i] <= ' ', which are
7103 guaranteed to fail with 8bit characters and signed chars.
7104 Change return code to string::npos when there have been no error
7105 (0 was a bad idea when error is at first character)
7107 2001-11-14 José Matos <jamatos@fep.up.pt>
7110 * buffer.C (simpleDocBookOnePar): removed unused argument.
7112 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7114 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7115 insets which are part of a word. Paragraph::isLetter takes care of
7116 that now. Use Paragraph::isInset to identify insets.
7117 (selectSelectedWord): do not test for hyphenation break.
7119 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7120 that protected spaces are considered as spaces.
7122 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7125 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7128 * lyxserver.C: fix it. and small cleanup.
7130 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7132 * BufferView_pimpl.C: use inline helpers
7135 * LaTeXFeatures.C: fix typos
7138 * Spacing.C: move spacing_string into class
7140 * ToolbarDefaults.C: move stuff into namespace anon
7142 * layout.h: update enum
7144 * lyxfunc.C: use better debug
7146 * minibuffer.h: fix typo
7150 * WorkArea.C: add and use Debug::WORKAREA
7154 * text2.C: code re-organisation, inline helpers
7156 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7158 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7159 std::vector.empty().
7161 2001-11-09 Allan Rae <rae@lyx.org>
7163 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7164 '\n's after tables. Tabular and ERT inset work now makes this no
7167 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7170 * minibuffer.C: fix crash, improve drop-down completion
7172 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7175 * lyxserver.C: invalidate fd's when doing endPipe()
7177 2001-11-08 José Matos <jamatos@fep.up.pt>
7179 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7180 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7183 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7185 2001-11-07 José Matos <jamatos@fep.up.pt>
7188 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7191 * buffer.C (sgmlOpenTag):
7192 * buffer.C (sgmlCloseTag): removed debug info.
7194 * buffer.h (sgmlOpenTag):
7195 * buffer.h (sgmlCloseTag): made public.
7197 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7199 * buffer.C (saveParamsAsDefaults):
7200 * lyx_cb.C (MenuLayoutSave): remove
7202 * LyXAction.C (init):
7204 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7206 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7208 * buffer.C (setPaperStuff): removed from here...
7210 * bufferparams.C (setPaperStuff): ... and moved there.
7212 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7216 * XFormsView.C: add support for drop-down completion
7218 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7220 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7223 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7225 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7228 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7230 * lyx_main.C: change ref to known bugs
7232 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7234 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7235 to work around older babel problems.
7237 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7239 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7241 2001-10-24 Juergen Vigna <jug@sad.it>
7243 * tabular-old.C (ReadOld): below variable changes reflected.
7245 * tabular.[Ch]: added ltType struct for longtable header/footer
7246 defines and changed all instances where they are used. Added
7247 future support for double top/bottom rows.
7249 2001-10-24 José Matos <jamatos@fep.up.pt>
7251 * buffer.h (docbookHandleCaption):
7252 * buffer.C (docbookHandleCaption): removed unused function.
7253 (makeDocBookFile): moved docbook supported version to v4.1.
7255 2001-10-24 José Matos <jamatos@fep.up.pt>
7258 * tabular.C (docbookRow): new function to export docbook code of a row.
7259 (DocBook): now honors the longtable flags.
7261 2001-10-23 José Matos <jamatos@fep.up.pt>
7264 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7265 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7267 * buffer.C (makeLinuxDocFile):
7268 (makeDocBookFile): reworked the preamble, more clean, and with
7269 support for lyx defined entities. Changed the document declaration
7270 to be more XML friendly.
7272 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7273 if we need to output XML that should be done with a filter.
7275 2001-10-22 Juergen Vigna <jug@sad.it>
7277 * sp_pspell.h (class PSpell): add alive function needed in the
7278 controller to see if the spellchecker could be started.
7280 2001-10-22 Juergen Vigna <jug@sad.it>
7282 * buffer.C (insertStringAsLines): modify the font for inserting
7283 chars in certain conditions by calling checkInsertChar(font).
7285 2001-10-19 Juergen Vigna <jug@sad.it>
7287 * text.C (workWidth): use getRow instead of wrong algorithm.
7288 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7290 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7295 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7297 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7299 * text.C (workWidth): do not search for the exact row when
7300 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7301 optimization for big documents.
7303 2001-10-18 Juergen Vigna <jug@sad.it>
7305 * text.C (workWidth): new function with added Inset * parameter.
7307 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7309 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7311 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7312 change return type of getColumnNearX.
7315 * text.C (changeRegionCase): use uppercase/lowercase instead of
7318 (rightMargin): simplify code by factoring out the uses of
7323 (appendParagraph): use Paragraph::size_type
7325 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * vspace.C (asLatexString): add a missing break
7329 2001-10-15 Herbert Voss <voss@perce.de>
7331 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7333 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7335 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7338 2001-10-10 André Pönitz <poenitz@gmx.net>
7340 * lyxfunc.C: removed greek_kb_flag.
7342 2001-10-10 Herbert Voss <voss@perce.de>
7344 * lyx_main.C: delete global string help_lyxdir.
7346 2001-10-09 Herbert Voss <voss@perce.de>
7348 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7350 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7352 * lyx_main.C: added global string help_lyxdir.
7354 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7356 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7358 * lyxrc.C (set_font_norm_type): support iso8859-4
7360 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7362 * LaTeX.C (deplog): add another regex for MikTeX
7364 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7366 * lyxrc.C (set_font_norm_type): support iso8859-3
7368 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7370 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7372 * LaTeXFeatures.C: remove special case of french and index
7374 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7375 before \begin{document}). This solves several incompatibilities.
7377 2001-10-03 Garst Reese <reese@isn.net>
7379 * lyx_cb.C: change CheckTex error msg.
7381 2001-10-03 José Matos <jamatos@fep.up.pt>
7383 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7385 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7387 * .cvsignore: update
7389 * lyx_main.C (commandLineVersionInfo): use new style version info.
7391 * buffer.C (writeFile):
7394 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7396 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7398 * version.h: update to use stuff in version.C
7400 * version.C.in: new file. Contains version information determined
7401 at compile time. This is a merging of version.h and
7404 2001-10-03 Juergen Vigna <jug@sad.it>
7406 * BufferView_pimpl.C (update): don't change "dirty" status in
7409 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7411 * WorkArea.C (c-tor): re-position version string slightly.
7413 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7415 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7416 revert to previous code.
7418 WorkArea.[Ch]: (show, destroySplash): methods removed.
7420 WorkArea.C: rework code so that it's an amalgam of the codes before and
7421 after the splash screen was moved to WorkArea.
7423 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7426 * vspace.C (inPixels):
7429 * buffer.C (insertStringAsLines):
7430 (asciiParagraph): fix types to be large enough
7432 * lyxlex_pimpl.h: change member status from short to int
7434 * layout.h: fix type of endlabeltype
7437 * kbsequence.C (parse): change return type to string::size_type
7439 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7442 * Bullet.C (bulletSize):
7443 (bulletEntry): do not use short ints as parameters
7445 * BufferView2.C (insertLyXFile): change a char to an int.
7447 * WorkArea.C (WorkArea): remove unneeded floats in computation
7449 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7451 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7453 * paragraph.C (asString): Do not ignore newline/hfill chars when
7454 copying to the clipboard.
7456 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7458 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7459 after a multi-line inset.
7461 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7463 * paragraph.C (validate): Set NeedLyXFootnoteCode
7465 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7467 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7468 and decrease-error to decrease.
7470 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7472 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7473 it more readable (should be equivalent)
7475 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7477 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7479 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7481 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7482 of a cursor (row, etc.) after a character has been deleted
7483 (deleteEmptyParagraphMechanism): call the method above on _all_
7484 cursors held by the LyXText when a double space has been
7487 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7489 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7491 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7493 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7494 background. Use greyOut() and the new show() methods to toggle between
7495 the foreground and background. Add code to remove the splash after
7496 its initial showing.
7498 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7499 (create_forms): no longer call Dialogs::showSplash.
7501 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7503 * .cvsignore: add version_info.h
7505 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7507 * version_info.h.in: new file
7509 * Makefile.am: add version_info.h.in
7511 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7512 version_info.h instead of VERSION_INFO
7514 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7516 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7517 The ERT inset now returns string().
7519 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7521 * lyxtext.h, text.C (selectNextWord): renamed as
7522 selectNextWordToSpellcheck.
7524 * text.C (selectNextWordToSpellcheck): Modified to not select
7525 words inside an ERT inset.
7527 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7529 * lyx_cb.C (MenuLayoutSave): change a bit the question
7531 * sp_base.h: include <sys/types.h>
7533 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7535 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7537 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7539 * several files: fix typos in user-visible strings
7541 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7543 * text2.C (pasteSelection): do not set the selection, since it
7544 will be cleared later. Actually, the intent was to fix the way the
7545 selection was set, but I figured rmoving the code was just as good.
7547 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7549 * FontLoader.C (available): Check if font is available without
7552 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7554 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7556 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7558 * lyxrc.[Ch]: added display_graphics variable and associated code.
7560 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7562 * bufferparams.C (hasClassDefaults): new method. Returns true if
7563 the buffer parameters correspond to known class defaults
7565 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7567 * XFormsView.C (show): set minimum size to the main window.
7569 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7571 * text2.C (copySelection):
7573 * lyxfind.C (LyXReplace):
7574 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7575 LyXText::selectionAsString.
7577 * paragraph.C (asString): add "label" argument to the second form
7579 * text2.C (selectionAsString): add "label" argument and pass it to
7580 Paragraph::asString.
7582 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7584 * lyx_main.C (commandLineHelp): remove version information
7586 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7588 * lyx_main.C: add -version commandline option
7590 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7592 * paragraph.h: make the optional constructor arg required instead.
7593 some modifications to other files because of this.
7595 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7597 * lyxserver.C (C_LyXComm_callback): make it static
7599 * lyx_main.C (error_handler): make it static
7601 * lyx_gui.C (LyX_XErrHandler): make it static
7603 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7605 * WorkArea.C: make the extern "C" methods static.
7607 * Makefile.am (lyx_LDADD): simplify
7609 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7611 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7612 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7614 * LyXAction.C (init):
7615 * lyxfunc.C (dispatch): associated code removal.
7617 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7619 * lyxfont.h (isSymbolFont): shut off warning
7621 * text.C (setHeightOfRow):
7622 (getVisibleRow): fix crash with empty paragraphs which have a
7625 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7627 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7630 2001-09-04 José Matos <jamatos@fep.up.pt>
7633 * tabular.C (docbook): rename docBook method to docbook.
7635 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7637 * Makefile.am: add dependencies to main.o.
7639 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7641 * FontLoader.C (available): Return false if !lyxrc.use_gui
7643 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7645 * FontInfo.C (query):
7646 * converter.C (view):
7647 * importer.C (Import):
7648 * exporter.C (Export): Can not -> cannot.
7650 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7652 * BufferView_pimpl.C: allow to create index inset even if
7655 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7657 * buffer.C (getLists): replace boost::tie code with an explicit pair
7658 as boost::tie can break some compilers.
7660 * iterators.h: Added a std:: declaration to the return type of
7663 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7665 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7668 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7670 * iterators.[Ch]: New files. Provide paragraph iterators.
7672 * buffer.C (changeLanguage): Use paragraph iterators.
7673 (isMultiLingual): ditto
7675 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7677 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7679 * FontLoader.C: Support for cmr font.
7681 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7683 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7684 (available): New method.
7686 * FontInfo.C (getFontname): Use scalable fonts even when
7687 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7690 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7692 * converter.C (Formats::view): reverted! Incorrect fix.
7694 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7696 * converter.C (Formats::view): only output the -paper option
7697 if the dvi viewer is xdvi, thereby fixing bug #233429.
7699 2001-08-23 Herbert Voss <voss@perce>
7701 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7703 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7705 * Spacing.h (Spacing): Set space to Default on in the default
7708 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7710 * vc-backend.h (RCS::versionString): add RCS to version
7711 (CVS::versionString): add CVS to version
7713 * vc-backend.C (scanMaster): do not add CVS to version.
7714 (scanMaster): do not add RCS to version
7716 * lyxvc.C (versionString): new method
7718 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7720 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7722 * Spacing.C (set): initialize fval
7724 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7726 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7729 2001-08-16 Juergen Vigna <jug@sad.it>
7731 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7733 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7735 * BufferView_pimpl.C:
7738 * text2.C: setParagraph takes linespacing now
7740 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7742 * LyxAction.C: add internal LFUN_CITATION_INSERT
7744 * LyXView.C: actually apply fix
7746 * bufferlist.C: fix open non-existent file
7748 * lyxfind.C: fix indentation
7750 * lyxfunc.C: remove unneeded assert, fix typo
7752 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7754 * MenuBackend.C: use "Floatname List"
7756 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7758 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7759 when converting LaTeX layout to insetERT.
7760 Generate a non-collapsed float when reading old float
7762 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7764 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7767 2001-08-13 Juergen Vigna <jug@sad.it>
7769 * text.C (fill): return 0 instead of 20 as this seems to be the more
7772 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7774 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7777 2001-08-13 Juergen Vigna <jug@sad.it>
7779 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7781 (SearchBackward): comment out the unlocking of the inset_owner this
7782 should not be needed!
7784 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7786 * Many files: Remove inherit_language, and add latex_language
7788 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7791 2001-08-10 Juergen Vigna <jug@sad.it>
7793 * text.C (prepareToPrint): fixed hfill-width in draw!
7795 * BufferView2.C (selectLastWord): save the selection cursor as this
7796 now is cleared in the function LyXText::clearSelection!
7798 2001-08-08 Juergen Vigna <jug@sad.it>
7800 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7801 BACKSPACE type functions.
7803 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7804 is only cutted from the document but not put in the cut-buffer, where
7805 still the old stuff should be.
7807 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7809 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7811 * tabular.C (SetWidthOfCell): fixed special case where the width
7813 (LeftLine): handle '|' in align_special.
7815 (LeftAlreadyDrawed): ditto
7816 (SetWidthOfCell): ditto
7818 2001-08-07 Juergen Vigna <jug@sad.it>
7820 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7822 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7824 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7825 * lyxlex.[hC]: ditto
7827 2001-08-06 Juergen Vigna <jug@sad.it>
7829 * text.C (getVisibleRow): fix up row clearing a bit.
7831 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7833 * minibuffer.C: make sure the X server sees the changes in the input.
7835 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7837 * paragraph.C (getFont): split into...
7838 (getLabelFont): this
7839 (getLayoutFont): and this
7840 * paragraph_pimpl.C (realizeFont): calling this
7842 * text2.C (getFont): split into...
7843 (getLayoutFont): this
7844 (getLabelFont): and this
7845 (realizeFont): all three calling this
7847 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7850 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7852 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7854 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7856 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7857 layouts from the Quote inset insertion.
7859 2001-08-03 Juergen Vigna <jug@sad.it>
7861 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7863 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7864 only if status not is already CHANGED_IN_DRAW (second level).
7866 * text.C (draw): don't set the need_break_row when inside an
7869 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7871 * buffer.C (parseSingleLyXformat2Token): handle more latex
7874 * bufferview_funcs.[hC]: change function names to
7875 begin with small char, adjust other files.
7877 2001-08-02 André Pönitz <poenitz@gmx.net>
7880 BufferView_pimpl.C: remove broken special code for math-greek
7882 2001-08-02 Juergen Vigna <jug@sad.it>
7884 * BufferView_pimpl.C (update): redone this function so that we
7885 update the text again if there was a CHANGE_IN_DRAW.
7887 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7888 (drawFromTo): added a new internal bool which is used by draw() and
7890 (general): some cursor drawing problems fixed.
7892 2001-08-01 Juergen Vigna <jug@sad.it>
7894 * lyxfind.C (LyXFind): fixed
7895 (SearchForward): ditto
7896 (SearchBackward): ditto
7898 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7899 spurius drawing of the cursor in the main area.
7901 * text2.C (status): small fix which could lead to a segfault!
7902 (clearSelection): remove unneeded BufferView param.
7904 2001-08-01 André Pönitz <poenitz@gmx.net>
7906 * lyxfunc.C: small change due to changed mathed interface
7908 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7910 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7912 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7914 * lyxfunc.c: fail gracefully if file doesn't exist
7919 * BufferView_pimpl.C: IsDirWriteable() proto changed
7921 * LyXView.C: fix updateWindowTitle() to store the last title
7923 2001-07-31 Juergen Vigna <jug@sad.it>
7925 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7926 the font (wrong since using of Paragraph::highestFontInRange).
7928 * paragraph.C (highestFontInRange): added a default_size parameter.
7930 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7931 (setHeightOfRow): reformat
7933 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7935 * converter.[hC] + affected files: move to (inital-char)lowercase
7938 * ParagraphParameters.C (ParagraphParameters): remove commented code
7940 * PainterBase.[Ch]: remove commented code
7942 * LaTeXFeatures.h: add "bool floats" for float.sty
7944 * LaTeXFeatures.C (LaTeXFeatures): init floats
7945 (require): handle float
7946 (getPackages): do it with floats
7948 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * BufferView_pimpl.C (Dispatch): improve handling of
7951 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7953 * commandtags.h: #include lyxfont.h here temporarily to avoid
7956 * bufferlist.h: include LString.h here.
7958 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7960 * text2.C (getStringToIndex): new method.
7962 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7964 * *: Reduced header file dependencies all over.
7966 2001-07-30 Baruch Even <baruch@lyx.org>
7968 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7970 2001-07-29 Baruch Even <baruch@lyx.org>
7972 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7974 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7976 * ParameterStruct.h (endif): add a default constructor to make
7977 sure that all variables is initialized.
7979 * ParagraphParameters.C (ParagraphParameters): adjust
7981 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7983 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7984 index; also, check that there is something to index, and that it
7985 does not span over several paragraphs.
7986 (doubleClick): use WHOLE_WORD_STRICT for double click.
7988 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7990 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7993 2001-07-26 Baruch Even <baruch@lyx.org>
7995 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7996 an InsetFig figure, backwards compatible reading of old figure code.
7998 2001-07-27 Juergen Vigna <jug@sad.it>
8000 * text2.C: font.realize function adaption.
8002 * text.C (draw): add a warnings lyxerr text if needed.
8004 * layout.C: font.realize function adaption.
8006 * language.C: add inherit_language and implement it's handlings
8008 * bufferview_funcs.C (StyleReset): remove language parameter from
8009 font creation (should be language_inherit now).
8011 * bufferparams.C (writeFile): handle ignore_language.
8013 * paragraph.C (getFontSettings): the language has to be resolved
8014 otherwise we have problems in LyXFont!
8016 * lyxfont.C (lyxWriteChanges): added document_language parameter
8017 (update): removed unneeded language parameter
8019 * paragraph.C (validate): fixed wrong output of color-package when
8020 using interface colors for certain fonts in certain environments,
8021 which should not seen as that on the final output.
8023 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8025 * BufferView_pimpl.C:
8030 * LyXAction.C: add thesaurus support
8033 * lyxfind.C: add "once" parameter, for thesaurus, to not
8034 move to the next match
8036 2001-07-26 Juergen Vigna <jug@sad.it>
8038 * lyxfont.C (realize): honor ignore_language too!
8041 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8043 * text.C (draw): one place more for ignore_language to not draw
8046 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8048 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8050 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8052 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8053 the minipage conversion problem.
8055 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8057 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8060 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8062 * BufferView.h: don't forward declare WorkArea
8064 * BufferView.C: don't include WorkArea.h
8066 2001-07-25 André Pönitz <poenitz@gmx.net>
8070 * lyxfunc.C: new LFUN 'math-space'
8072 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8074 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8076 * text2.C (toggleInset): call open/close
8078 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8080 * lyxfunc.C (dispatch): add debug for the disabled case
8082 * font.C (buttonText): make similar to rectText
8084 * buffer.C (readInset): comment out parsing of insetlist and
8087 * PainterBase.C (rectText): small correction
8089 * BufferView_pimpl.C: comment out insettheorem and insetlist
8090 * LyXAction.C: ditto
8091 * commandtags.h: ditto
8093 2001-07-24 Juergen Vigna <jug@sad.it>
8095 * text.C (draw): honor the ignore_language.
8097 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8099 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8101 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8104 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8106 * lyxtext.h: remove unused (and unimplemented) methods
8108 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8110 * text.C (getVisibleRow): honor background color
8113 * Painter.h: remove default color argument for fillRectangle
8115 * text.C (backgroundColor): new method
8117 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8119 * text.C (getVisibleRow): adjust
8121 * font.[Ch] (rectText): new method, metrics
8122 (buttonText): new method, metrics
8124 * PainterBase.[hC]: make rectText and buttonText always draw and take
8127 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8129 * ToolbarDefaults.C (read):
8130 * MenuBackend.C (read): allow escaping in all strings
8132 * BufferView_pimpl.C (insertAndEditInset): new method.
8133 (Dispatch): use insertAndEditInset whenever appropriate.
8135 * BufferView_pimpl.C (insertNote): removed
8137 * BufferView_pimpl.C (smartQuote): new method, moved from
8138 BufferView; if an insetquote cannot be inserted, insert a '"'
8141 * BufferView2.C: remove insertCorrectQuote();
8143 * lyxfunc.C (getStatus): Add support for all remaingin
8146 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8148 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8149 command (necessary to pass " as parameter of self-insert.
8151 * text.C (selectWordWhenUnderCursor):
8152 (selectWord): add word_location parameter
8153 (selectWordWhenUnderCursor): same + remove special code for word
8155 (selectNextWord): use kind() to guess type of insetspecialchar,
8158 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8159 (insertErtContents): create ert insets as collapsed.
8160 (readInset): better compatibility code for Info inset.
8162 2001-07-20 Juergen Vigna <jug@sad.it>
8164 * lyxfunc.C (dispatch): use always LyXFind now!
8166 * text2.C (init): add a reinit flag so that the LyXText can be
8167 reinited instead of deleted and reallocated (used in InsetText).
8169 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8175 2001-07-18 Juergen Vigna <jug@sad.it>
8177 * text.C (selectNextWord): handle insets inside inset by calling
8178 always the bv->text functions so that we can go up the_locking_inset!
8180 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8181 in strange locations when inside an inset!
8183 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8184 handling to include insets.
8186 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8188 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8190 * LyXAction.C (init):
8192 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8193 LIGATURE_BREAK, since the name is so stupid.
8195 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8197 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8200 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8202 * sp_form.[Ch]: remove.
8204 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8206 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8209 * src/buffer.C (readInset): ditto.
8211 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8213 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8214 menuSeparator(), endOfSentenceDot(), ldots() and
8215 hyphenationPoint(), which are therefore removed.
8216 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8218 * LyXAction.C (init):
8219 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8221 * paragraph.C (getWord): removed.
8223 * BufferView_pimpl.C (Dispatch): use last word or selection for
8224 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8226 * lyx_main.C (queryUserLyXDir): do not ask before creating
8227 user_dir, except if it has been named explicitely.
8229 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8231 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8232 a document of zero size.
8234 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8236 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8237 approriately in the c-tor and in require().
8238 (getPackages): output the appropriate LaTeX for natbib support.
8240 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8241 variables "use_natbib" and "use_numerical_citations" when reading the
8243 (readInset): read the various natbib cite commands.
8244 (validate): white-space change.
8246 * bufferparams.[Ch]: new variables "bool use_natbib" and
8247 "bool use_numerical_citations".
8248 (writeFile): output them in the LyX file.
8250 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8252 * lyxfunc.C (getStatus): add support for all the inset insertion
8255 * text2.C (insertInset):
8256 * paragraph.C (insetAllowed):
8257 * BufferView_pimpl.C (insertInset): update to take in account the
8258 renaming of insertInsetAllowed
8260 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8262 * text2.C (getInset): new method. returns inset at cursor position.
8264 * BufferView_pimpl.C (Dispatch): changes because of this.
8266 * LyXAction.C (init): rename open-stuff to inset-toggle.
8268 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8270 * text2.C (toggleInset): renamed from openStuff; use
8273 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8275 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8277 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8279 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8281 * buffer.C (readLyXformat2): Add filename to the error dialog
8283 2001-07-18 Juergen Vigna <jug@sad.it>
8285 * tabular.C (GetCellNumber): put an assert here instead of the check!
8287 2001-07-17 Juergen Vigna <jug@sad.it>
8289 * BufferView_pimpl.C (toggleSelection): adapted too.
8291 * text.C (selectNextWord): adapted for use with insets.
8292 (selectSelectedWord): ditto
8294 2001-07-17 Juergen Vigna <jug@sad.it>
8296 * sp_spell.C (PSpell): fix initialitation order.
8298 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8300 * paragraph.C: spacing
8302 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8304 * sp_spell.C: repair language selection for pspell
8306 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8308 * lyxfunc.h: change more methods to begin with lower char.
8310 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8312 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8313 for unknown layouts.
8315 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8317 * buffer.C (readLyXformat2): Generate an error dialog if there are
8320 2001-07-16 Juergen Vigna <jug@sad.it>
8322 * sp_spell.C: always compile ISpell part.
8324 * lyxrc.C: added use_pspell entry and it's handling.
8326 2001-07-13 Juergen Vigna <jug@sad.it>
8328 * sp_spell.C: removed double includes.
8330 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8332 Consistent use of Lsstream.h:
8333 * Lsstream.h: added using std::stringstream for consistencies sake.
8335 * buffer.C: removed using std::stringstream
8337 * lyxfont.C (stateText):
8338 * paragraph.C (asString):
8339 * text.C (selectNextWord, selectSelectedWord):
8340 * text2.C (setCounter):
8341 * vspace.C (asString, asLatexString):
8342 std::ostringstream -> ostringstream.
8344 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8346 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8347 * commandtags.h: add LFUN_HELP_ABOUTLYX
8348 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8350 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8352 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8354 * lyx_gui_misc.C: remove spellchecker
8355 * lyxfunc.C: showSpellchecker
8357 * sp_ispell.h: added
8358 * sp_pspell.h: added
8360 * sp_form.[Ch]: removed
8361 * spellchecker.[Ch]: removed
8363 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8365 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8367 (simpleTeXSpecialChars): Simply print the input character without
8368 any special translation if pass_thru is set.
8370 * layout.h: Added bool pass_thru to layout class for being able to
8371 implement pass through of a paragraph for Literate Programming.
8373 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8374 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8375 * layout.C (Read): add "passthru" to list of layout tags and add
8376 code to set the pass_thru boolean when it is read.
8378 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8380 * trans_decl.h: remove allowed from KmodInfo
8382 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8386 * paragraph_pimpl.C (erase): use boost::prior
8388 * Painter.C (text): use data() instead of c_str() when length is
8390 * WorkArea.C (putClipboard): ditto
8391 * font.h (width): ditto
8393 * BufferView2.C: use it-> instead of (*it). for iterators
8395 * paragraph_pimpl.C: ditto
8396 * paragraph.C: ditto
8397 * minibuffer.C: ditto
8402 * converter.C: ditto
8404 * Variables.C: ditto
8405 * TextCache.C: ditto
8406 * MenuBackend.C: ditto
8407 * LyXAction.C: ditto
8409 * FloatList.C: ditto
8411 * ColorHandler.C (LyXColorHandler): ditto
8413 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8415 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8417 * text2.C (openStuff): reintroduce this method (which had been
8418 nuked in NEW_INSETS frenzy).
8420 * lyxfunc.C (Dispatch): when an action has not been handled, use
8421 its name in the error message, not its number.
8423 * paragraph.C (inInset): change method name to begin with lowercase.
8426 * text2.C: updates because of this.
8428 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8430 * ToolbarDefaults.C (add): add spaces in error message
8432 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8434 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8435 (readLyXformat2): rename return_par to first_par, use lyxlex's
8436 pushToken and remove the manual push handling.
8437 (parseSingleLyXformat2Token): add another ert comp. variable:
8438 in_tabular, rename return_par to first_par. handle newlines better
8440 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8444 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8446 * text2.C (getParFromID): removed
8448 * buffer.C (getParFromID): new method moved form lyxtext.
8449 * BufferView2.C (insertErrors): adjust
8450 (setCursorFromRow): adjust
8451 * BufferView_pimpl.C (restorePosition): adjust
8452 * lyxfunc.C (Dispatch): adjust
8453 * undo_funcs.C (textUndo): adjust
8455 (textHandleUndo): adjust
8456 (textHandleUndo): adjust
8458 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8460 * buffer.C: up' the LYX_FORMAT
8462 * lyxfont.h: turn NO_LATEX on as default
8464 * buffer.C (insertErtContents): new methods of tex style compability.
8465 (parseSingleLyXformat2Token): use it several places.
8466 * tabular.C (OldFormatRead): and here
8468 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8470 * text2.C: remove some commented code.
8473 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8474 * trans.C: changes because of the above.
8476 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8478 * text2.C (setCounter): Fix counters bug with bibliography layout.
8480 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8483 own member functions
8484 (simpleTeXSpecialChars): ditto
8486 2001-07-06 Juergen Vigna <jug@sad.it>
8488 * a lot of files: changed the access to LyXText::status and the
8489 call of undo-functions.
8491 * undo.[Ch]: added a inset_id to the undo informations.
8493 * undo_funcs.[Ch]: added and moved here all undo functions.
8495 * lyxtext.h: give the status enum a weight, made status_ a private
8496 variable and made accessor functions for it, removed the whole bunch
8497 of undo-functions as they are now in their own file, make some
8498 functions publically available. Added function ownerParagraph with
8501 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8502 made InInset() a const function, added getParFromID() function.
8504 * buffer.[Ch]: added const version for inset_iterator functions,
8505 added getInsetFromID() function.
8507 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8508 changed undo functions for new version.
8510 2001-07-05 Juergen Vigna <jug@sad.it>
8512 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8513 unknow mechanism does not call the proper constructor but only this
8514 one also if I request the other!?
8516 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8518 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8520 * text2.C (LyXText): use initialization lists.
8522 * lyxtext.h (Selection): initialize set_ and mark_
8523 (init): remove method
8525 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8527 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8529 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * screen.[Ch]: change method names to begin with lowercase
8533 * BufferView_pimpl.C (updateScrollbar): simplify further and
8534 hopefully make it a bit faster.
8536 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8538 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8539 calling directly xforms functions.
8541 * Painter.C (Painter):
8542 * lyx_cb.C (MenuWrite):
8543 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8546 * lyx_gui.C: remove bogus guiruntime extern declaration.
8548 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8550 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8552 (redoDrawingOfParagraph): ditto
8553 (redoParagraphs): ditto
8554 (cutSelection): don't create a object for CutAndPaste use the
8555 static method directly
8556 (pasteSelection): ditto
8558 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8561 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8563 * modifications to some other files because of this.
8565 * Makefile.am (lyx_SOURCES): add XFormsView
8567 * XFormsView.[Ch]: new files
8569 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8570 the main window. Move the gui dependent stuff to XFormsView
8572 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8574 * tabular.C (GetCellInset): update cur_cell also in the row/col
8575 version of this function.
8577 * lyxfunc.C: no need to include figure_form.h here.
8583 * lyxvc.C: no need to include forms.h here.
8585 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8589 * lyxfunc.C (Dispatch):
8591 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8592 constructor argument.
8594 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8596 * paragraph.C (Paragraph): dont't clear, and just set layout.
8597 (makeSameLayout): use params's copy contructor.
8599 * ParagraphParameters.[Ch] (makeSame): delete method
8601 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8603 * Variables.[Ch]: fix indentation, rename set to isSet
8605 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8607 * lyxfunc.C (Dispatch): fix typo
8609 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8611 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8614 * bufferlist.C: include assert.h for emergencyWrite().
8616 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8618 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8619 give up at last (bug #425202) !
8621 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8627 * spellchecker.C: strip spellchecker options and bring up
8628 preferences tab instead
8630 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8632 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8633 the istringstream constructor
8635 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8637 * paragraph.C (getLayout): fix return value
8639 * paragraph.h: do not declare getLayout as inline.
8641 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8643 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8645 * lyxcursor.h (operator<): new func
8646 (operator>): new func
8647 (operator>=): new func
8648 (operator<=): new func
8650 * text.C (changeCase): use selection.start and selection.end
8651 (changeRegionCase): require from to be <= to. Require par to be a
8654 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8656 2001-06-27 Juergen Vigna <jug@sad.it>
8658 * text.C (cursorLeftOneWord): changed to return the cursor and added
8659 overlay with BufferView * parameter which calls this one.
8661 (selectWord): use new getWord function.
8662 (changeCase): renamed from changeWordCase as and extended to work
8665 * lyxtext.h: added enum word_location
8667 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8668 changeCase as this operates now also on selections.
8670 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8672 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8674 * many files: send debug output to Debug::INFO instead of
8677 * converter.C (View):
8679 (Move): send debug output to Debug::FILES instead of console.
8681 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8683 * lyxfunc.C (getStatus): use func_status
8685 * func_status.h: new header, describing the results of
8688 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8691 2001-06-25 The LyX Project <jug@sad.it>
8693 * buffer.C (sgmlOpenTag):
8695 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8697 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8699 * text2.C: remove some dead code
8701 * tabular.C (GetCellInset): store the last cell checked (gotten)
8703 * tabular.h: add the helper for the speedup
8705 * lyxtext.h: remove some dead code
8707 2001-06-26 The LyX Project <Asger>
8709 * paragraph.C: Change export to LaTeX of alignment to
8710 \begin{center} and family for better roundtrip work with reLyX.
8712 * Tune the math drawing a bit.
8714 2001-06-25 The LyX Project <Asger>
8716 * LColor.C (LColor): New color for math background. New color
8719 2001-06-25 The LyX Project <jug@sad.it>
8721 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8724 * bufferlist.C (newFile): do not restrict to files ending with
8727 * BufferView_pimpl.C (MenuInsertLyXFile):
8729 2001-06-24 The LyX Project <jug@sad.it>
8731 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8734 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8736 * lyxtext.h: rename most methods to begin with a small char.
8737 Lots of changes because of this.
8739 * paragraph.C (Paragraph): do not call fitToSize
8740 (erase): call Pimpl::erase
8741 (insertChar): call Pimpl::insertChar
8742 (insertInset): call Pipl::insertInset
8743 (breakParagraph): do not call fitToSize
8744 (breakParagraphConservative): do not call fitToSize
8745 (fitToSize): remove method
8747 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8749 2001-06-24 The LyX Project <Asger>
8751 * Fix Qt compilation^2
8753 2001-06-24 The LyX Project <jug@sad.it>
8755 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8756 depthHook(getDepth()-1).
8759 * ParagraphParameters.h:
8760 * ParameterStruct.h: change type of depth to unsigned int ==
8761 depth_type. Many adaptations to other files before of that.
8763 2001-06-24 The LyX Project <Asger>
8765 * Fix Qt compilation.
8767 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8769 * paragraph.h: renamed several methods to begin with small letter.
8770 several changes to many parts of the code because of this.
8772 2001-06-23 The LyX Project <jug@sad.it>
8774 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8775 rewritten to discard all double spaces when KeepEmpty is off
8776 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8777 to only handle newlines but not fiddle with spaces and friends.
8779 * lyxfunc.C (MenuNew): when doing 'new from template', use
8780 template_path as default directory
8782 2001-06-23 The LyX Project <Asger>
8784 * Clean-up of header file includes all over
8785 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8787 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8789 * paragraph.h: renamed from lyxparagraph.h
8791 2001-06-23 Asger <lyx@violet.home.sad.it>
8793 * Buffer.h: Removed Buffer::resize
8794 * BufferList.h: Removed BufferList::resize
8795 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8796 the document lazily when we change the width, or the font settings.
8798 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8800 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8802 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8804 * buffer.h: remove out of date comment
8806 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8809 * screen.C: fix "theoretical" GC leak
8811 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8813 * LaTeX.C (scanAuxFile):
8814 (deplog): remove trailing \r when reading stream (useful under
8817 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8819 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8820 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8821 and BufferView::theLockingInset(Inset*), so should use them and not
8822 access bv_->text->the_locking_inset directly.
8824 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8826 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8829 * tex-defs.h: remove old unused file
8831 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8833 * BufferView_pimpl.C: fix typo, remove minibuffer message
8834 when buffer has loaded
8836 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8838 * lyxfunc.C (Dispatch): use stringstream
8839 (MenuNew): use stringstream
8840 (Open): use stringstream
8842 * importer.C (Import): use stringstream
8844 * bufferview_funcs.C (CurrentState): use stringstream
8846 * LaTeX.C (run): use stringstream
8848 * BufferView_pimpl.C (savePosition): use stringstream
8849 (restorePosition): use stringstream
8850 (MenuInsertLyXFile): use stringstream
8852 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8865 * vspace.C: removed // -*- C++ -*- as first line.
8868 * version.h: added // -*- C++ -*- as first line.
8870 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8872 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8874 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8877 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8882 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8884 * gettext.C: include LString.h even when --disable-nls is on.
8886 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8888 * converter.h (Get): changed argument type from int to
8889 FormatList::size_type to avoid unnecessary conversion.
8891 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8894 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8896 * gettext.h: include LString.h even when --disable-nls is on.
8898 2001-06-07 Juergen Vigna <jug@sad.it>
8900 * text.C (BreakAgain): subst spaces with tabs.
8902 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8903 (resizeInsetsLyXText): set force on resizeLyXText.
8905 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8907 * gettext.h (gettext_init):
8908 (locale_init): use a real definition instead of a macro
8910 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8912 * Bufferview_pimpl.C:
8914 * LColor.C: further lcolor tidies
8916 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8918 * BufferView_pimpl.C (updateScrollbar): simplify.
8920 * BufferView2.C: don't include insets/insetinfo.h, change
8921 prototype for insertInset and call the Pimpl version. let
8922 updateInset call Pimpl version.
8924 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8925 gotoInset to BufferView::Pimpl
8927 2001-06-01 Juergen Vigna <jug@sad.it>
8929 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8930 inside a LockingInset (is the update needed at all?).
8932 2001-05-31 Juergen Vigna <jug@sad.it>
8934 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8935 here not the old one otherwise how should we compare it afterwards
8938 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * FontInfo.C: bring C functions into global namespace when
8946 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8948 * LString.h: make sure config.h has been loaded before LString.h.
8950 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8951 (one for each char read by EatLine!).
8953 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8956 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8958 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8959 to the same as the par we break from
8961 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8963 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8965 * MenuBackend.C (expand): also create menu entries for wide
8966 versions of the floats.
8968 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8970 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8972 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8973 frontends/Makefile.am
8979 * tabular.C (getTokenValue): add std::
8981 * tabular-old.C (getTokenValue): add std::
8982 (getTokenValue): ditto
8983 (getTokenValue): ditto
8985 * screen.C (ToggleSelection): adjust
8987 * lyxtext.h: put selection cursors inside a Selection struct.
8989 * lyxfunc.C (moveCursorUpdate): adjust
8991 * lyxfont.C (latexWriteStartChanges): add std::
8995 * font.h: delete with(char const *, LyXFont const &)
8997 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8999 * FontInfo.C (getFontname): add std::
9001 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9002 (workAreaButtonPress): adjust
9003 (tripleClick): adjust
9005 (moveCursorUpdate): adjust
9008 * BufferView2.C (gotoInset): adjust
9010 2001-05-30 Juergen Vigna <jug@sad.it>
9012 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9013 to check pspell I add this as default as I now have new pspell
9014 libraries and they seem to use this.
9016 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * text2.C (CutSelection): make the cursor valid before the call to
9021 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9023 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9024 relied on 0 terminated strings and other horrors. Bug found due to
9025 the new assert in lyxstring!
9027 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9030 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9035 * lyxfunc.C (processKeySym): change method of getting to the
9038 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9039 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9040 * BufferView_pimpl.[Ch]: here as private methods.
9042 2001-05-28 Juergen Vigna <jug@sad.it>
9044 * text.C (SetHeightOfRow): added the update() call again as it is
9045 needed to initialize inset dimensions!
9047 2001-05-16 Juergen Vigna <jug@sad.it>
9049 * text2.C (SetCharFont): Add new function with BufferView * and
9050 bool toggleall parameters for setting insets internal fonts.
9051 (SetFont): Freeze the undo as we may change fonts in Insets and
9052 all this change should be inside only one Undo!
9054 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9055 setting font's in insets as for them we have the SetFont function!
9057 2001-05-15 Juergen Vigna <jug@sad.it>
9059 * text2.C (ClearSelection): to be sure we REALLY don't have any
9062 * tabular.C (TeXCellPreamble): fixed the left border problem for
9065 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9067 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9070 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9072 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9073 LFUN_BREAKPARAGRAPH.
9075 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9076 help test to "internal only", similar for LFUN_INSERT_URL
9078 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9079 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9080 auto_region_delete and deadkeys.
9082 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9085 * LColor.C: remove some dead entries, tidy a little
9087 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9089 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9091 (Dispatch): implement LFUN_ESCAPE
9093 * commandtags.h: add LFUN_ESCAPE
9095 * LyXAction.C (init): add entry for LFUN_ESCAPE
9097 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9098 Remove commented code.
9099 (insertNote): moved here
9100 (open_new_inset): moved here
9102 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9105 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9107 * kbmap.C (findbinding): clean it up and make it work correctly.
9109 * lyx_main.C (init): do not pass argc and argv as parameters
9111 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9113 * buffer.C: fix path for OS/2 & Win32
9117 * lyx_main.C: Added os:: class.
9119 * os2_defines.h: update
9121 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9123 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9124 better by trying again with reduced state.
9126 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9128 * lyxrc.C (read): print error about invalid key sequence only when
9129 debugging (because not all latinX keysyms are known to some X
9132 * kbsequence.C (getiso): add a few std:: qualifiers
9133 (getiso): comment out extra return statement.
9135 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9139 (Dispatch): enhance the accent inset a bit. (not perfect)
9141 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9145 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9147 * bufferlist.C (emergencyWrite): fix assert() call
9149 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9151 * text.C (InsertChar): Added trivial patch to only send the "you
9152 can not do multiple spaces this way" message once during a
9155 2001-05-08 Baruch Even <baruch@lyx.org>
9157 * Makefile.am: Changed order of libraries to get LyX to link properly
9158 with the gnome frontend.
9160 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9162 * LaTeXFeatures.h: add a std:: qualifier
9164 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9166 * paragraph.C (String): use stringstream
9168 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9170 * paragraph.C (writeFile): remove footflag arg
9172 * buffer.C (makeLaTeXFile): use stringstream
9173 (latexParagraphs): remove footnot gurba
9175 * LaTeXFeatures.C (getPackages): use stringstream
9176 (getMacros): likewise
9177 (getTClassPreamble): likewise
9178 (getFloatDefinitions): new method
9180 * paragraph.C (writeFile): reindent
9183 * WorkArea.h: revert the xpos + etc changes.
9185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9187 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9189 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9190 (pasteSelection): likewise
9191 * text2.C (CreateUndo): likewise
9193 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * minibuffer.C (peek_event): temporarily reduce the functionality
9196 of the minibuffer (to allow args on lfuns)
9198 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9199 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9201 * buffer.C (readInset): add compability reading of old float
9202 lists, add reading of new style float list.
9203 (readInset): avoid reevaluation of inscmd.getCmdName()
9204 (getLists): reindent
9206 * MenuBackend.C (MenuItem): implement parsing of
9207 md_floatlistinsert and md_floatinsert.
9208 (expand::LastFiles): move initalizaton of iterators out of loop,
9210 (expand::Documents): introduce typdedef vector<string> Strings,
9212 (expand::ExportFormats): introduce typedef vector<Format const *>
9213 Formats, and use it.
9214 (expand): implement FloatListInsert and FloatInsert.
9216 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9217 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9218 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9220 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9222 (Dispatch::LFUN_FLOAT_LIST): implement
9224 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9226 * LaTeX.C (run): Fix problem with --export code.
9228 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9230 * BufferView.[Ch] (workarea): removed.
9231 (getClipboard) new method; wrapper for workarea()->getClipboard()
9233 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9236 * WorkArea.h (width, height, xpos, ypos): These methods all
9237 returned the dimensions of the work_area sub-area of WorkArea,
9238 resulting in a position error if the WorkArea were resized. Now
9239 return the dimensions of the entire WorkArea.
9241 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9243 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9245 * LaTeX.C (deplog): correct the syntax of regex reg1
9247 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * undo.C: remove !NEW_INSETS cruft
9251 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * text2.C: remove !NEW_INSETS cruft
9255 * text.C: remove !NEW_INSETS cruft
9257 * tabular.C: remove !NEW_INSETS cruft
9259 * spellchecker.C: remove !NEW_INSETS cruft
9261 * lyxtext.h: remove !NEW_INSETS cruft
9263 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9265 * lyxfunc.C: remove !NEW_INSETS cruft
9267 * lyxfind.C: remove !NEW_INSETS cruft
9269 * lyx_cb.C: remove !NEW_INSETS cruft
9271 * figureForm.C: remove !NEW_INSETS cruft
9273 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9275 * buffer.[Ch]: remove !NEW_INSETS cruft
9277 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9279 * CutAndPaste.C: remove !NEW_INSETS cruft
9281 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9283 * BufferView2.C: remove !NEW_INSETS cruft
9285 * BufferView.h: remove !NEW_INSETS cruft
9287 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * Lsstream.h: include LString.h before the sstream headers to
9290 fix problem with gcc 2.95.3 and lyxstring
9292 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9294 * lyx_main.C: add using directives when needed for C functions
9295 declared in std:: namespace.
9297 2001-04-27 Juergen Vigna <jug@sad.it>
9299 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9300 (SetHeightOfRow): comment out the update call should not be needed!
9302 2001-04-13 Juergen Vigna <jug@sad.it>
9304 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9305 (LyXTabular): tried to minimize operator= operations (and realized
9306 hopfully Lars wish).
9308 2001-04-27 Juergen Vigna <jug@sad.it>
9310 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9312 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9316 * buffer.C (readInset): hack to make listof algorithm work
9318 * BufferView_pimpl.C: hack to make listof algorithm work
9320 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * LyXAction.C: removed all !NEW_INSETS cruft
9323 (init): moved lfun_item in method
9325 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9327 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9329 * BufferView2.C (theLockingInset): white space.
9331 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * minibuffer.C: include <iostream>
9335 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9337 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9339 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9341 * text.[Ch] (TransposeChars): new method
9343 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * call message directly through LyXView instead of through LyXFunc
9346 * BufferView2.C: adjust
9347 * BufferView_pimpl.C: adjust
9348 * FontLoader.C: adjust
9350 * bufferview_funcs.C: adjust
9351 * converter.C: adjust
9352 * figureForm.C: adjust
9353 * importer.C: adjust
9355 * lyx_gui_misc.C: adjust
9359 + more files in subdirs
9361 * lyxparagraph.h (size): move up int file
9364 * adjust all uses of Assert to lyx::Assert.
9366 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9367 lyxfunctional in namespace lyx
9368 * layout.C (hasLayout): ditto
9371 (delete_layout): ditto
9372 (NumberOfClass): ditto
9373 * converter.C (GetFormat): ditto
9378 * bufferlist.C (getFileNames): ditto
9379 (emergencyWriteAll): ditto
9382 * MenuBackend.C (hasSubmenu): ditto
9385 * BufferView_pimpl.C (getInsetByCode): ditto
9387 2001-04-18 Juergen Vigna <jug@sad.it>
9389 * vspace.C (asLatexString): fixed the 100% problem.
9391 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9393 * lyxfunc.C (Dispatch):
9395 * minibuffer.h: add a few std:: qualifiers
9397 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9399 * minibuffer.[Ch]: reimplement so that commands is initiated and
9400 run from lyxfunc, simplified som handling, and made the completion
9401 and history code for complete. wip.
9403 * lyxfunc.C (processKeySym): call message
9404 (miniDispatch): new temporary method
9405 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9406 (LFUN_MESSAGE): implement
9407 (LFUN_MESSAGE_PUSH): implement
9408 (LFUN_MESSAGE_POP): implement
9409 (initMiniBuffer): the initial/defualt minibuffer message.
9411 * lyxfont.[Ch]: inline some more getters
9413 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9415 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9417 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
9418 (AutoSave): use LFUN_MESSAGE
9419 (Reconfigure): ditto
9421 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
9423 * figureForm.C: use LFUN_MESSAGE
9425 * converter.C (runLaTeX): use LFUN_MESSAGE
9427 * bufferview_funcs.C: use LFUN_MESSAGE
9429 (changeDepth): ditto
9431 * bufferparams.h: use boost::
9433 * bufferlist.h: inherit privately from noncopyable
9435 * bufferlist.C (loadLyXFile): remove some commented code.
9437 * buffer.C (runChktex): use LFUN_MESSAGE
9439 * ShareContainer.h: inherit privately from noncopyable
9441 * ParagraphParameters.[hC] (depth): inline it.
9443 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9445 (message): new method
9446 (messagePush): ditto
9448 (show): init minibuffer
9449 (showState): direct call
9451 * LaTeX.[Ch]: inherit privately from noncopyable
9452 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9453 instead of WriteStatus.
9455 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9457 * BufferView_pimpl.C (buffer): don't init minibuffer
9458 (workAreaButtonPress): use LFUN_MESSAGE
9459 (workAreaButtonRelease): ditto
9460 (savePosition): ditto
9461 (restorePosition): ditto
9462 (MenuInsertLyXFile): ditto
9463 (workAreaExpose): don't init minibuffer
9464 (update): remove commented code, simplify
9466 * BufferView2.C (openStuff): use LFUN_MESSAGE
9467 (toggleFloat): ditto
9470 (copyEnvironment): ditto
9471 (pasteEnvironment): ditto
9476 (updateInset): remove some commented code
9478 * lastfiles.h: inherit privately from noncopyable
9483 * lyxlex_pimpl.h: ditto
9485 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9486 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9487 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9489 * LyXAction.h: inherit privately from noncopyable, add methods
9490 func_begin, func_end, returning iterators to the func map.
9492 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9493 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9494 (func_begin): new method
9495 (func_end): new method
9497 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9499 (copySelection): ditto
9500 (pasteSelection): ditto
9502 * BufferView.C: whitespace change
9503 * BufferView.h: inherit privately from noncopyable
9505 2001-04-16 Allan Rae <rae@lyx.org>
9507 * tabular-old.C (l_getline):
9508 * spellchecker.C (sc_check_word):
9509 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9510 an unrecognised preprocessor directive. So ensure they're wrapped.
9512 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9514 * src/exporter.C (Export): Give an error message when path to file
9517 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9519 * LaTeX.C (deplog): Always check that foundfile exists.
9521 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9524 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9526 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * tabular.[Ch] (getLabelList): implement new method
9530 * minibuffer.h: comment ouf setTiimer
9532 * minibuffer.C (ExecutingCB): constify res
9533 (peek_event): constify s
9534 (Set): constify ntext
9535 (Init): constify nicename
9537 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9539 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9540 (savePosition): use two params to Minibuffer::Set
9541 (restorePosition): ditto
9543 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9545 * lyx_main.C: include language.h
9547 * Makefile.am (lyx_main.o): add language.h
9549 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9555 * CutAndPaste.C: include gettext.h
9557 * lyxfont.h: remove old hack with ON and OFF.
9560 * lyxfont.h: do not include language.h...
9565 * bufferview_funcs.C:
9571 * paragraph.C: ... but do it here instead
9573 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9577 * tabular.C: small reformat
9579 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9582 (BreakParagraph): ditto
9583 (SetOnlyLayout): ditto
9586 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9589 * lastfiles.C: removed most using decl, add std:: where needed
9591 * buffer.C: ws changes
9593 * MenuBackend.C (class compare_format): put into anon namespace
9594 (expand): constify label, names, action, action2
9597 * text.C (SingleWidth): constify font
9598 (IsBoundary): constify rtl2
9599 (GetVisibleRow): constify ww
9601 * LaTeX.C (deplog): constify logfile
9603 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9605 (workAreaExpose): constify widthChange, heightChange
9607 * lyxrow.C (par): moved
9610 * lyxrow.h: as inlines here
9612 * lyxfont.h (shape): moved from lyxfont.C
9613 (emph): moved from lyxfont.C
9615 * lyxfont.C (LyXFont): use initialization list for all
9617 (shape): move to lyxfont.h as inline
9618 (emph): move to lyxfont.h as inline
9621 2001-04-04 Juergen Vigna <jug@sad.it>
9623 * vspace.C: had to include stdio.h for use of sscanf
9625 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9628 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9629 independent of xforms.
9631 2001-04-02 Juergen Vigna <jug@sad.it>
9633 * spellchecker.C: fixed namespace placing!
9635 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9637 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9638 the LyXParagraph * is 0.
9640 2001-03-29 Juergen Vigna <jug@sad.it>
9642 * vspace.C: added support for %, c%, p%, l%.
9643 (stringFromUnit): added helper function.
9644 (asLatexString): changed to give right results for the %-values.
9646 * buffer.C: convert the widthp in a width%.
9648 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9650 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9653 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9654 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9656 * lyx_cb.[Ch]: see above.
9658 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9662 * lyx.[Ch]: replaced by figure_form.[Ch].
9666 * lyxfunc.C: changed headers associated with above changes.
9668 2001-03-27 Juergen Vigna <jug@sad.it>
9670 * BufferView_pimpl.C: set the temporary cursor right!
9672 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9674 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9676 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9678 * LString.h: removed "using std::getline"!
9680 * BufferView_pimpl.C (Dispatch): changes due to changes in
9681 InsetInclude::Params.
9683 * buffer.C (tag_name): removed redundant break statements as they were
9684 producing lots of warnings with my compiler.
9686 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9688 * LString.h: add "using std::getline" when using the real <string>.
9690 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9692 * buffer.C: removed bitset usage.
9693 PAR_TAG moved to an anonymous name space.
9694 (tag_name): new funtion, also in the anonymous namespace.
9695 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9696 (makeDocBookFile): clean code. Completed transition from string arrays
9698 (SimpleDocBookOnePar): code clean.
9700 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9702 * tabular.C: add some comments.
9704 2001-03-22 Juergen Vigna <jug@sad.it>
9706 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9707 compatibility read a bit and fixed bug with minipage in different
9710 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9712 * buffer.C (pop_tag): removed.
9713 (push_tag): removed.
9714 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9715 array replaced with vector. Added support for CDATA sections.
9716 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9718 (makeDocBookFile): XML conformant declaration of CDATA section,
9719 fixed bug related to <emphasis> in the first paragraph char.
9720 (sgmlOpenTag): exclude empty tags.
9721 (sgmlCloseTag): ditto.
9723 * buffer.h (pop_tag): removed.
9724 (push_tag): removed.
9726 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9728 * language.h (Languages): added size_type and size().
9730 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9732 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9733 response on compability reading of minipages. One probliem is that
9734 the old usage of minipages was «flertydig»
9736 * several files here and in subdirs: don't use static at file
9737 scope use anon namespaces instead.
9739 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9741 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9742 LaTeX output. This is necessary for Literate document
9745 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9747 * buffer.C: insert hfill when needed.
9749 * tabular.C (l_getline): use string::erase, small whitespace change.
9751 * BufferView_pimpl.C: try the anon namespace.
9754 2001-03-16 Juergen Vigna <jug@sad.it>
9756 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9757 otherwise it won't open options-dialogs.
9759 * buffer.C: honor pextraWidth(p) on converting minipages.
9761 * tabular.C (l_getline): changed the functions to strip trailing \r.
9763 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9765 * BufferView_pimpl.C:
9766 * minibuffer..C: added "using SigC::slot" declaration.
9768 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9770 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9776 * paragraph.C: ditto
9778 * lyxtext.h: NO_PEXTRA
9780 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9782 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9783 * ParameterStruct.h: ditto
9784 * ParagraphParameters.h: ditto
9785 * lyxparagraph.h: ditto
9787 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9789 * buffer.C: add compability for minipage alignment.
9790 (latexParagraphs): remove unwanted pextra check.
9792 * several files: remove CXX_WORKING_NAMESPACES
9794 * buffer.C (pop_tag): tie is in namespace boost
9796 * BufferView.h: noncopyable is in namespace boost
9801 * lastfiles.h: ditto
9802 * bufferlist.h: ditto
9803 * ShareContainer.h: ditto
9805 * LyXAction.h: ditto
9808 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9810 * Merging changes from BRANCH_MVC back into HEAD.
9812 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9814 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9816 * BufferView_pimpl.C: change from intl.C
9820 * Makefile.am: move combox.*
9826 * intl.C: remove dialog (covered by prefs)
9828 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9830 * lyxfunc.C (Dispatch): removed redundant break statement.
9832 2001-03-14 Juergen Vigna <jug@sad.it>
9834 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9836 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9838 * buffer.C: add hack to fix compability reading of minipages.
9840 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9842 * buffer.C (getLists): Cleanup.
9844 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * lyxfont.C (update): don't honor toggleall on font size.
9848 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9852 * Makefile.am: moved to frontends/xforms/
9856 * BufferView_pimpl.C: changes for moved mathpanel
9858 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9860 * gettext.h: fix gettext_init() in --disable-nls
9862 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9864 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9866 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9869 * lyx.h: strip external form
9871 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9873 * BufferView_pimpl.C: add comment, destroySplash()
9875 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9877 * BufferView_pimpl.C:
9881 * lyxfunc.C: use re-worked insetinclude
9883 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9885 * buffer.C: add using std::stringstream.
9887 * lyx_cb.C: readd using std::ios.
9889 * buffer.C: add using std::map.
9891 * BufferView_pimpl.C: add using std::vector.
9893 * ShareContainer.h: add std:: to swap.
9895 * buffer.h: add some typedefs
9896 * buffer.C (getLists): use them
9897 (getLists): renamed from getTocList.
9898 add a counter for the different float types and use it in the
9900 (getLists): use the same counter for the NEW_INSETS and the "non"
9903 * lyx_cb.h: remove unused items, includes, using etc.
9905 * ShareContainer.h: remove some commented code, add more comments
9906 and "documentation".
9908 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9910 * buffer.C (getTocList): make the list also when NEW_INSETS is
9913 * buffer.h: remove TocType
9915 * buffer.C (getTocList): change to return a map<string,
9916 vector<TocItem> >, implement for dynamic number of list.
9918 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9919 * text2.C (PasteSelection): adjust
9920 * CutAndPaste.C (pasteSelection): adjust
9922 * FloatList.C (FloatList): update from the new_insets branch.
9923 * Floating.[Ch]: ditto
9924 * LaTeXFeatures.C: ditto
9926 * lyxlex_pimpl.C: ditto
9928 * paragraph.C (Last): remove when NEW_INSETS is defined.
9930 * other file: changes because of the above.
9932 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9934 * lyxparagraph.h: rename next to next_, previous to previous_,
9935 make them private for NEW_INSETS. Rename Next() to next(),
9936 Previous() to previous().
9938 * other files: changes because of the above.
9940 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9943 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9946 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9948 * main.C (main): pass lyx_localedir to gettext_init().
9950 * gettext.h: remove locale_init and gettext_init macros
9952 * gettext.C (locale_init): new function
9953 (gettext_init): new function
9955 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9958 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9960 * Moved credits to frontends:
9961 * credits.[Ch]: removed
9962 * credits_form.[Ch]: removed
9963 * lyx_gui_misc.C: remove credits stuff
9966 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9968 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9970 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9971 unneeded destructor.
9973 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9974 a standalone pointer again.
9976 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9978 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9984 * ToolbarDefaults.C:
9993 * BufferView_pimpl.C: use new file dialog in GUII
9996 * lyx_cb.C: remove LayoutsCB to Toolbar
9998 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10000 * ShareContainer.h (get): add std:: qualifier
10002 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10004 * ShareContainer.h: define a proper ShareContainer::value_type
10005 type (and use typename to please compaq cxx)
10007 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10009 * lyxparagraph.h: move serveral local vars to
10010 ParameterStruct/ParagraphParameters., use ShareContainer in
10011 FontTable., make vars in FontTable private and add getter and
10014 * paragraph.C: changes because of the above.
10016 * lyxfont.h: remove copy constructor and copy assignment. (the
10017 default ones is ok), move number inside FontBits. move inlines to
10020 * lyxfont.C: add number to initializaton of statics, move several
10021 inlines here. constify several local vars. some whitespace
10022 cleanup. Dont hide outerscope variables.
10024 * Spacing.h: add two new constructors to match the set methods.
10026 * ShareContainer.h: new file, will perhaps be moved to support
10028 * ParameterStruct.h: new file
10030 * ParagraphParameters.h: new file
10032 * ParagraphParameters.C: new file
10034 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10035 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10037 * BufferView_pimpl.C: ParagraphParameter changes.
10038 * buffer.C: Likewise.
10039 * bufferview_funcs.C: Likewise.
10040 * text.C: Likewise.
10041 * text2.C: Likewise.
10043 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10045 * lyxfind.C (LyXReplace): do not redefine default argument in
10047 (IsStringInText): ditto
10048 (SearchForward): ditto
10049 (SearchBackward): ditto
10051 2001-03-06 Juergen Vigna <jug@sad.it>
10053 * lyxfind.C (IsStringInText): put parentes around expressions.
10055 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10057 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10059 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10061 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10063 * stl_string_fwd.h: add comment
10065 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10068 * tabular.C: remove unused DocBook methods
10074 killed DO_USE_DEFAULT_LANGUAGE
10076 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * lyx_gui.C: do not include language.h.
10080 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10081 arguments in function implementation.
10083 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10085 * BufferView_pimpl.C: add <ctime>
10087 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10089 * BufferView_pimpl.C: add using std::find_if
10091 2001-02-27 José Matos <jamatos@fep.up.pt>
10093 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10096 2001-02-11 José Matos <jamatos@fep.up.pt>
10098 * buffer.C (makeDocBookFile): command styles now have a parameter as
10099 "title" by default.
10101 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10103 * layout_forms.[Ch]: removed
10104 * lyx_cb.[Ch]: out character
10105 * lyx_gui.C: out character
10106 * lyx_gui_misc.C: out character
10107 * bufferview_funcs.C: : out character,
10108 added toggleall as parameter in ToggleAndShow
10110 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10112 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10114 * text2.C (SetCurrentFont): Disable number property at boundary.
10116 2001-02-26 Juergen Vigna <jug@sad.it>
10118 * lyxfunc.C (getStatus): added a string argument override function so
10119 that this is correctly called from LyXFunc::Dispatch if it contains a
10120 do_not_use_argument which is used!
10121 (Dispatch): added check for "custom" export and call appropriate func.
10123 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10125 * lyxrc.C: Add language_command_local, language_use_babel and
10126 language_global_options.
10128 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10130 * buffer.C (makeLaTeXFile): Use language_use_babel and
10131 language_global_options.
10133 2001-02-23 Juergen Vigna <jug@sad.it>
10135 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10136 which works with LyXText and putted it inside BufferView. Here now we
10137 only call for that part the BufferView::Dispatch() function.
10139 * BufferView.C (Dispatch): added.
10141 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10142 functions which needs to use a LyXText over from LyXFunc.
10143 (MenuInsertLyXFile): added
10144 (getInsetByCode): added
10145 (moveCursorUpdate): added
10146 (static TEXT): added
10148 2001-02-22 Juergen Vigna <jug@sad.it>
10150 * BufferView_pimpl.C (update): call a status update to see if LyXText
10153 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10155 * vc-backend.C (revert): implement for CVS
10156 (getLog): implement for CVS
10158 2001-02-20 Juergen Vigna <jug@sad.it>
10160 * text2.C (ClearSelection): added BufferView param for inset_owner call
10162 * lyxfunc.C (TEXT): added this function and use it instead of
10163 directly owner->view()-text of getLyXText().
10165 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10167 * src/layout_forms.C: out preamble
10168 * src/layout_forms.h: out preamble
10169 * src/lyx_cb.C: out preamble
10170 * src/lyx_cb.h: out preamble
10171 * src/lyx_gui.C: out preamble
10172 * src/lyx_gui_misc.C: out preamble
10173 * src/lyxfunc.C: connect with guii preamble
10175 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10177 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10179 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10181 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10182 whether to run bibtex.
10184 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10186 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10188 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10190 * Makefile.am (lyx_SOURCES): removed bibforms.h
10192 * vspace.h: doxygen
10194 * text.C (GetVisibleRow): make several local vars const
10196 * tabular.C: small cleanup.
10198 * lyxserver.C (callback): use compare instead of strncmp
10200 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10201 inlines to after class or to paragraph.C
10203 * lyxfont.h: remove friend operator!=
10205 * converter.h: move friend bool operator< to non friend and after
10208 * combox.h: small cleanup
10210 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10211 to inlines after class def.
10213 * buffer.C (pop_tag): use string operations instead of strcmp
10215 * bmtable.c: doxygen, small cleanup
10217 * LaTeX.h: remove friend operator==
10219 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10231 * BufferView_pimpl.C:
10232 * BufferView.[Ch]: remove cruft
10234 2001-02-14 Juergen Vigna <jug@sad.it>
10236 * lyxfunc.C: removed #if 0 unused code
10238 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10240 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10242 * text2.C (SetSelection): added a BufferView * parameter
10244 2001-02-13 Juergen Vigna <jug@sad.it>
10246 * lyxfunc.C (Dispatch): fixed protected blank problem.
10247 * BufferView2.C (protectedBlank): added LyxText * parameter.
10249 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10250 (AppendColumn): same as above for column_info.
10252 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10253 (moveCursorUpdate): use a LyXText param for support of InsetText.
10255 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10256 (tripleClick): ditto
10258 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10260 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10262 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10264 * text2.C (SetSelection): set correct update status if inset_owner
10265 (ToggleFree): ditto
10267 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10269 * tabular.C: remove some commented code.
10271 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10273 * BufferView_pimpl.C: call hideSplash()
10275 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10278 * bibforms.h: remove
10281 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10282 add LFUN_CHILD_CREATE
10284 * counters.h: fix tiny typo
10289 * lyx.C: move splash to frontends/xforms/
10291 * lyx_gui_misc.C: move Include and Bibform to frontends
10293 * lyxvc.h: clarify comment
10295 * vspace.C: tiny housekeeping
10297 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10299 * text.C (PrepareToPrint): RTL Fix.
10301 * paragraph.C (GetUChar): New method.
10302 (String): Use GetUChar.
10304 * buffer.C (asciiParagraph): Use GetUChar.
10306 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10308 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10310 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10313 * buffer.C: rename to getLogName(), handle
10314 build log / latex log nicely
10316 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10319 * MenuBackend.h: remove support for reference menuitem type.
10321 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10323 * BufferView_pimpl.C: housekeeping
10324 * BufferView_pimpl.h:
10329 * minibuffer.h: move Timeout GUI-I
10331 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10333 * lyxrc.C (read): Update converters data-structures.
10335 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10337 * LaTeX.h (operator!=): add operator != for Aux_Info
10339 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10341 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10343 * LaTeXLog.C: deleted, useful code moved to Buffer
10346 * buffer.C: new function getLatexLogName()
10352 * lyxfunc.C: use frontends for LaTeX and VC logs
10354 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10356 * LaTeX.h: yet another std:: that Allan forgot.
10358 * Variables.C (set): renamed from isset(), because this clashes
10359 with some HP-UX macros (grr).
10361 2001-02-06 Allan Rae <rae@lyx.org>
10363 * LaTeX.h: Another bug fix. Missing std:: this time.
10365 2001-02-04 Allan Rae <rae@lyx.org>
10367 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10368 floats problem. I've left it commented out because it's not quite
10369 correct. It should also test that the current object is a table or
10370 figure inset. But I haven't gotten around to figuring out how to do
10371 that. I *think* it'll be something like: "table" == inset.type()
10373 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10376 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10378 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10379 all the citation/databases/styles in the auxilary file.
10380 (run): Rerun latex if there was a babel language error.
10382 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10384 * text.C (Backspace): Preserve the font when changing newline char
10386 (BreakParagraph): If the cursor is before a space, delete the space.
10388 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10390 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10392 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10393 new argument (code).
10394 (ChangeCitationsIfUnique): New method.
10396 * paragraph.C (GetPositionOfInset): Handle bibkey.
10398 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * BufferView_pimpl.h: change type of Position::par_pos to
10401 LyXParagraph::size_type.
10403 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10405 * BufferView_pimpl.C (savePosition, restorePosition): Write
10406 messages to minibuffer.
10408 2001-01-28 José Matos <jamatos@fep.up.pt>
10410 * buffer.C (makeDocBookFile): adds support for document language.
10411 A silly restriction on the name of LatexCommand types where removed.
10412 Added support for CDATA sections, allows to chars unescaped, used
10413 among others in code, to avoid escape < and >.
10415 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10417 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
10418 saved positions instrad of a stack. Furthermore, a position is
10419 stored using paragraph id/paragraph position.
10421 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
10422 Remove LFUN_REF_BACK.
10424 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10426 * converter.C (dvipdfm_options): New method.
10428 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10430 * vspace.C (isValidLength): Fix for empty input string.
10432 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10434 * LyXAction.C (init): change description of LFUN_FIGURE to
10437 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * LaTeX.C: add using directive
10441 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10443 * MenuBackend.C (expand): Fix the sorting of the formats.
10445 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10447 * lyx_main.C: tiny error message fix
10449 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10451 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10452 calling fl_initialize(). This fixes the problem with ',' as
10453 decimal separator in text files.
10455 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10457 * trans.C (process): Fix the keymap bug.
10459 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10461 * LaTeX.C (scanAuxFiles): New method. Provides support for
10462 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10463 (scanLogFile) Scan for "run BibTeX" messages.
10465 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10466 OT1 font encoding. Also, load the aecompl package if the ae
10469 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10471 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10473 * texrow.C (increasePos): turn two error messages into debug
10476 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10478 * LaTeX.C (scanAux): Handle the \@input macro.
10479 (runBibTeX): Use scanAux().
10481 * language.C (latex_options_): New field.
10483 * LaTeXFeatures.C (getMacros): Add language macros.
10485 * buffer.C (makeLaTeXFile): Small fix.
10487 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10489 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10491 * text2.C: add a using directive.
10493 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10498 * lyxfunc.C: kill LyXBell.
10500 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10502 * text.C (IsBoundary): Remove the error message
10504 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10506 * lyxrc.C (setDefaults): Correct initialization value for
10509 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10511 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10514 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10515 and GotoNextNote().
10517 * src/LyXAction.C: Added reference-next.
10519 * text.C (InsertChar): Use contains instead of strchr.
10521 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10523 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10525 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10526 alignment commands (when needed).
10528 * text.C (InsertChar): Add ':' to number separator chars.