1 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4 (makeFontEntriesLayoutSpecific): temp var for par.size()
5 (setLayout): temp var for ownerParagraphs().end()
6 (fullRebreak): temp var for rows().end()
7 (selectionAsString): temp var for boost::next(startpit), realize
8 that the while really is a regular for loop.
9 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
10 setCursor in one place.
11 (setParagraph): temp vr for ownerParagraphs().end()
12 (updateCounters): make the while loop a for loop
13 (cutSelection): temp var for ownerParagraphs().end()
14 (updateInset): make the do {} while() a regular for loop
15 (getCursorX): use temp vars
16 (setCurrentFont): use temp vars
17 (getColumnNearX): use temp vars
19 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
21 * text.C (transformChar): use temp var for getChar
22 (computeBidiTables): use temp var for row->par()
23 (fill): move temp vars for row->par() and pit->layout() earlier in
25 (labelFill): use temp var for row->par()
26 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
27 asc and desc, realize that pit never changes and that firstpit is
28 just a duplicate and not needed. Exchange rit->par() with pit in a
30 (breakAgain): use a temp var for boost::next(rit)
31 (breakAgainOneRow): ditto
32 (breakParagraph): use a temp var for rows().begin()
33 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
34 (cursorRightOneWord): use temp var for cursor.par() and
35 cursor.pos(), remove usage of tmpcursor.
36 (cursorLeftOneWord): use temp var for cursor.par() and
37 cursor.pos() only set cur at end of function.
39 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
41 * text.C, text2.C: exchange all usage of Paragraph::next with
42 boost::next(ParagraphList::iterator)
44 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
46 * text2.C (cursorTop): simplify implementation
48 (setParagraph): use ParagraphList::iterator
49 (setCurrentFont): adjust
50 (getColumnNearX): adjust
52 (cursorLeft): remove usage of Paragraph::previous
53 (cursorUpParagraph): ditto
54 (deleteEmptyParagraphMechanism): slight cleanup
56 * text.C (isBoundary): take a Paragraph const & instead of a
58 (addressBreakPoint): ditto
59 (leftMargin): remove usage of Paragraph::previous.
60 (setHeightOfRow): ditto
61 (cursorLeftOneWord): ditto
62 (selectNextWordToSpellcheck): ditto
65 (breakParagraph): remove one usage of Paragraph::next
66 (redoParagraph): ditto
69 (rowBreakPoint): adjust
71 * bufferview_funcs.C (toggleAndShow): adjust
73 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
75 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
78 * text.C: Added updateRowPositions to compute all row positions.
79 Make top_y and getRowNearY() to use the cached y position
81 2003-04-11 John Levon <levon@movementarian.org>
83 * text.C (rowBreakPoint): reintroduce the labelEnd
84 checks, code copied from the row fill stuff. Deep voodoo.
86 * text.C (fill): add a comment and debugging for the
89 2003-04-11 John Levon <levon@movementarian.org>
91 * text.C: make sure fullrow insets get wrapped to the next line,
92 even when they're in a manual label
94 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
96 * text2.C (insertParagraph): make it take ParagraphList::iterator
98 (setLayout): make it return ParagraphList::iterator
99 (redoParagraphs): ditto
101 (checkParagraph): ditto
103 * text.C (getRow): make getrow take ParagraphList::iterator as arg
105 * text2.C: adjust several funcs.
106 (realizeFont): take a ParagraphList::iterator as arg.
107 (getLayoutFont): ditto
108 (getLabelFont): ditto
111 * text.C: adjust several funcs.
113 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
115 * text.C (selectNextWordToSpellcheck): don't accidentally
118 2003-04-10 John Levon <levon@movementarian.org>
120 * ToolbarBackend.C (getIcon): special handling for
123 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
125 * text2.C (cursorRight): a getChar assert fixed
127 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
129 * text2.C (getFont): change to take a ParagraphList::iterator
130 instead of Paragraph*
131 Adjust several functions.
133 * text.C (transformChar): change to take a ParagraphList::iterator
134 instead of Paragraph*
136 Adjust several functions.
138 * rowpainter.C: adjust several functions
139 * rowpainter.h:store a ParagraphList::iterator and not a
143 2003-04-09 John Levon <levon@movementarian.org>
148 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
149 and the "help" bits as well
151 2003-04-09 John Levon <levon@movementarian.org>
154 * ToolbarBackend.C: allow multiple toolbars
156 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
158 * undo_funcs.C (setCursorParUndo): adjust
160 * text_funcs.C (transposeChars): adjust
162 * text3.C (gotoNextInset): adjust
165 * text2.C (setLayout): adjust
166 (changeDepth): adjust
168 (redoParagraphs): adjust
169 (selectionAsString): adjust
170 (setParagraph): adjust
171 (insertInset): adjust
172 (cutSelection): adjust
173 (copySelection): adjust
174 (pasteSelection): adjust
175 (insertStringAsLines): adjust
176 (updateInset): adjust
177 (setCursor): change to take a ParagraphList::iterator parameter
178 (setCursorIntern): change to take a ParagraphList::iterator parameter
179 (setCurrentFont): adjust
181 (cursorRight): adjust
182 (deleteEmptyParagraphMechanism): adjust
184 * text.C (breakParagraph): adjust
186 (acceptChange): adjust
187 (rejectChange): adjust
188 (selectNextWordToSpellcheck): adjust
193 * lyxfind.C (SearchForward): adjust
194 (SearchBackward): adjust
197 * lyxcursor.C (par): adjust
199 * lyxcursor.h: store a ParagraphList::iterator instead of a
202 * lyx_cb.C (getPossibleLabel): adjust
204 * bufferview_funcs.C (toggleAndShow): adjust
206 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
209 * BufferView.C (removeAutoInsets): adjust
210 (lockedInsetStoreUndo): adjust
212 2003-04-09 John Levon <levon@movementarian.org>
214 * ToolbarBackend.C: try icon without argument
215 if with argument fails
217 2003-04-08 John Levon <levon@movementarian.org>
220 * ToolbarBackend.C: add getIcon(), handle tooltip,
221 and change from "Icon" to "Item".
223 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
225 * BufferView.C (lockInset): another bad getchar crunched
227 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
229 * text2.C (changeDepth): do not setUndo on test_only (make undo work
232 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
234 * lyxfind.C (searchForward, searchBackwards): bug 782
236 2003-04-07 John Levon <levon@movementarian.org>
238 * paragraph.C: remove dead comment
240 * text.C: remove troublesome depth-fiddling code
241 in leftMargin() and rightMargin() (bug 1017)
243 * text.C: fix breaking of rows in nested lists
246 * text2.C (updateCounters): fix up depth values
249 2003-04-07 John Levon <levon@movementarian.org>
251 * BufferView_pimpl.C: clear message when doc finishes resizing,
252 and after a mouse event
254 * lyxfunc.C: clear message after exiting inset
256 2003-04-07 John Levon <levon@movementarian.org>
258 * bufferview_funcs.C: show math status not outside
259 status in the statusbar
261 2003-04-07 John Levon <levon@movementarian.org>
263 * lyxfunc.C: note status changed after a depth change
265 2003-04-04 Angus Leeming <angus@localhost.localdomain>
267 * LaTeX.h: move AuxInfo operator==, != out of line.
268 Remove LaTeX virtual destructor; nothing derives from it.
269 Move operator()() out of public area and rename it startscript().
270 Change protected for private.
272 2003-04-04 Angus Leeming <leeming@lyx.org>
275 * text2.C: remove unneeded #includes.
277 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
279 * text2.C (dEPM): fix the heigth of the next row
281 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
283 * text.C: squashed an invalid getChar requester + some ws changes
285 2003-04-03 John Levon <levon@movementarian.org>
287 * bufferview_funcs.h:
288 * bufferview_funcs.C:
291 * text2.C: make getStatus work for the env depth lfuns
293 2003-04-03 John Levon <levon@movementarian.org>
295 * bufferview_funcs.h:
296 * bufferview_funcs.C:
299 * text2.C: parlistize decDepth(), by merging it with incDepth()
301 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * lyxrow.h: store a ParagraphList::iterator instead of a
304 Paragraph* and adjust other class functions to suit.
306 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
309 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
311 * text2.C (setCursor): do not anchor to cursor row for the time being
313 2003-04-02 John Levon <levon@movementarian.org>
320 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
322 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
324 * paragraph.h: make ParagraphList and ParagraphList::iterator
325 friends of Paragraph.
327 * buffer.C (makeLinuxDocFile): move towards ParagraphList
329 * ParagraphList.C: Use the private next_ and previous_ from
332 2003-04-01 John Levon <levon@movementarian.org>
336 * Makefile.am: rename, remove defaults gunk
339 * MenuBackend.C: remove defaults gunk
342 * Languages.C: remove defaults gunk
345 * lyx_main.C: error out if files couldn't be found.
347 2003-04-02 John Levon <levon@movementarian.org>
349 * text2.C: make incDepth() use parlist
351 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
353 * undo_funcs.C (firstUndoParagraph): adjust
355 * text3.C (gotoInset): adjust
356 (dispatch): adjust, and rewrite loop.
358 * text2.C (init): adjust, and rewrite loop.
359 (redoParagraphs): adjust
360 (updateInset): adjust, and rewrite loop.
361 (deleteEmptyParagraphMechanism): adjust
363 * tabular.C (LyXTabular): adjust
364 (SetMultiColumn): adjust
367 * lyxtext.[Ch] (ownerParagraph): delete function
368 (ownerParagraphs): new function returns a ParagraphList.
370 * BufferView.C (removeAutoInsets): adjust
371 (insertErrors): adjust
372 (setCursorFromRow): adjust
374 2003-04-01 Angus Leeming <leeming@lyx.org>
376 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
379 2003-04-02 John Levon <levon@movementarian.org>
385 * text_funcs.C: make transposeChars a free function
387 * lyxrow_funcs.C: remove wrong comment
389 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
392 * rowpainter.C: adjust
397 * lyxrow_funcs. [Ch]: new files
399 * lyxrow.[Ch]: remove next and previous pointers
400 (next,previous): remove accessor functions
401 (isParEnd): move to lyxrow_funcs
402 (lastPos): move to lyxrow_funcs
403 (nextRowIsAllInset): move to lyxrow_funcs
404 (lastPrintablePos): move to lyxrow_funcs
405 (numberOfSeparators): move to lyxrow_funcs
406 (numberOfHfills): move to lyxrow_funcs
407 (numberOfLabelHfills): move to lyxrow_funcs
408 (hfillExpansion): move to lyxrow_funcs
412 * bufferview_funcs.C (toggleAndShow): adjust
414 * RowList.h: Remove class RowList from file leave just a
417 * RowList.C: delete file
419 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
422 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
424 * text3.C (cursorPrevious): adjust
428 * text2.C (redoHeightOfParagraph): adjust
429 (redoDrawingOfParagraph): adjust
432 * text.C (breakParagraph): adjust
436 * rowpainter.C (RowPainter): adjust
437 (leftMargin): simplify and adjust
438 (most rowpainter functions): adjust.
440 * rowpainter.h: store the row as RowList::iterator not as Row*
442 * lyxcursor.C (row): taka RowList::iterator as arg
445 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
448 2003-04-01 Angus Leeming <leeming@lyx.org>
450 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
451 stuff like bool Bool.
453 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
455 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
458 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
463 * lyxtext.h (rows): drop one version and leve a const variant that
464 returns a RowList::iterator.
466 2003-03-31 Angus Leeming <leeming@lyx.org>
468 * text.C (fill): ensure that the signature is the same as that in the
471 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
473 * text2.C (redoParagraphs): adjust
474 (updateCounters): adjust
475 (checkParagraph): adjust
476 (getColumnNearX): adjust and reformat a bit.
478 * text.C (top_y): adjust
481 (prepareToPrint): adjust
483 (getRowNearY): adjust
485 * lyxtext.h: make rowlist_ mutable.
487 * RowList.h: add const_iterator
488 * RowList.C: adjust for RowList::const_iterator.
490 * text2.C (getCursorX): make it take a RowList::iterator as arg,
493 2003-03-31 John Levon <levon@movementarian.org>
496 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
498 * lyx_main.C: set default fonts from using lyx_gui funcs
500 * exporter.C: pdf_mode moved from lyxrc
503 * lyxfunc.C: changes from above
505 2003-03-31 John Levon <levon@movementarian.org>
507 * lyx_main.C: fix to the last fix
509 2003-03-31 John Levon <levon@movementarian.org>
511 * bufferlist.C: "Load original" -> "Load Original"
517 * format.C: more Alert cleanups
519 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
521 * text2.C (removeParagraph): make it take a RowList::iterator as
523 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
524 (postRowPaint): make it take a RowList::iterator as arg, adjust.
526 * text.C (anchor_row): make it take a RowList::iterator as arg,
528 (computeBidiTables): make it take a const reference to Row instead
529 of Row pointer, adjust.
530 (leftMargin): make it take a RowList::iterator as arg, adjust.
531 (rowBreakPoint): adjust
532 (breakAgainOneRow): make it take a RowList::iterator as arg,
534 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
536 * bufferview_funcs.C (toggleAndShow): adjust
538 2003-03-30 John Levon <levon@movementarian.org>
542 * boost-inst.C: moved to support
544 * several files: changes as a result
546 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * text2.C (LyXText): adjust.
550 (removeRow): make it take a RowList::iterator as arg, adjust.
551 (fullRebreak): adjust
552 (deleteEmptyParagraphMechanism): adjust
556 * text.C (top_y): adjust
557 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
558 (breakAgain): make it take a RowList::iterator as arg, adjust.
559 (breakParagraph): adjust
563 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
564 need_break_row, and refresh_row.
566 * text3.C (dispatch): adjust
568 * text2.C (checkParagraph): adjust
570 (setCursorFromCoordinates): adjust
572 * text.C (top_y): adjust
574 (getRow): make it return a RowList::iterator, adjust
575 (getRowNearY): make it return a RowList::iterator, adjust
577 * text2.C (init): adjust
578 (insertRow): remove function
579 (insertParagraph): adjust
580 (redoParagraphs): adjust
581 (fullRebreak): adjust
582 (updateCounters): adjust
584 * text.C (top_y): rewrite to use RowList iterators.
586 (setHeightOfRow): rewrite to sue RowList iterators.
587 (appendParagraph): adjust
589 (breakAgainOneRow): adjust
590 (breakParagraph): adjust
592 (getRowNearY): adjust, and remove commented code.
594 * lyxtext.h (firstRow): delete function
595 (lastRow): delete function
596 (rows): new function (const and non-const versions.)
597 (insertRow): delete function
599 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
601 2003-03-29 John Levon <levon@movementarian.org>
603 * BufferView_pimpl.C: always update scrollbar top
604 because pasting text when we're anchored could mean we
605 miss an update altogether
607 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * text2.C (init): use rowlist_.end() and not 0.
610 (insertRow): change to take a RowList::iterator as arg, adjust
612 (insertParagraph): change to take a RowList::iterator as arg,
614 (redoParagraphs): remove some debug msgs.
616 * text.C (appendParagraph): change to take a RowList::iterator
617 arg, adjust for this.
618 (breakAgain): add an assert
619 (breakAgainOneRow): ditto
621 2003-03-29 John Levon <levon@movementarian.org>
623 * text2.C: do not clear selection after inc/decDepth
626 2003-03-29 John Levon <levon@movementarian.org>
629 * buffer.C: fix broken strerrors according to Lars
631 2003-03-29 John Levon <levon@movementarian.org>
633 * converters.C: more Alert cleanups
635 2003-03-29 John Levon <levon@movementarian.org>
637 * bufferview_funcs.C: remove pointless Alert
639 * buffer.C: fix confusing error message when
640 a template is chmoded 000
642 2003-03-29 John Levon <levon@movementarian.org>
646 * BufferView_pimpl.C: Alert fixes
650 * tabular-old.C: remove unused table compat reading
652 2003-03-29 John Levon <levon@movementarian.org>
657 * lyx_cb.C: more Alert cleanups
659 * lyxfunc.C: don't allow chktex if not latex document
661 2003-03-29 John Levon <levon@movementarian.org>
665 * buffer.C: warnings pushed down from support/,
668 2003-03-29 John Levon <levon@movementarian.org>
670 * lyxfunc.C: safety check for C-r (revert)
672 2003-03-29 John Levon <levon@movementarian.org>
675 * bufferlist.C: several UI fixes using Alert::prompt.
676 Fix the pointless looping quit code. Fix stupid revert
681 * lyx_cb.C: use Alert::prompt
683 * lyx_main.C: remove a silly question
685 * lyxfunc.C: remove a couple of silly questions,
688 2003-03-28 John Levon <levon@movementarian.org>
690 * text2.C: fix bug 974 (End on empty par)
692 2003-03-28 John Levon <levon@movementarian.org>
694 * BufferView_pimpl.C:
696 * lfuns.h: remove do-nothing math greek lfuns
698 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * lyxgluelength.h (isValidGlueLength): add default arg on
701 parameter 2. Remove default arg from friend in class.
703 * lyxlength.h (isValidLength): add default arg on parameter 2.
704 Remove default arg from friend in class.
706 * text2.C (LyXText): adjust, initialize refresh_row.
710 (insertParagraph): adjst
711 (redoParagraphs): adjust
712 (fullRebreak): adjust
713 (updateCounters): adjust
714 (deleteEmptyParagraphMechanism): first attempt at fixing a
717 * text.C (top_y): adjust
718 (setHeightOfRow): adjust
720 (getRowNearY): adjust
722 * lyxtext.h: include RowList.h
723 (~LyXText): not needed anymore, deleted.
724 (firstRow): modify for RowList
725 (lastRow): new function
726 Delete firstrow and lastrow class variables, add a Rowlist
727 rowlist_ class variable.
729 * lyxrow.C (lastPos): use empty() and not !size() to check if a
732 * RowList.C (insert): fix case where it == begin().
734 2003-03-26 Angus Leeming <leeming@lyx.org>
736 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
737 the thesaurus dialog.
739 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
741 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
743 * RowList.[Ch]: new files
745 * ParagraphList.C (erase): handle the case where it == begin
748 2003-03-25 John Levon <levon@movementarian.org>
752 * aspell.C: add new aspell support
755 * lyxrc.C: Make use_pspell be use_spell_lib. Always
758 2003-03-25 Angus Leeming <leeming@lyx.org>
761 * LyXAction.C (init): new LFUN_INSET_INSERT.
763 * BufferView_pimpl.C (dispatch): split out part of the
764 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
766 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
769 2003-03-25 Angus Leeming <leeming@lyx.org>
771 * lyxfunc.C (dispatch): changes to the Dialogs interface.
773 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
776 * text3.C: remove useless row->height(0)
778 2003-03-25 John Levon <levon@movementarian.org>
782 * text3.C: rename the refreshing stuff to better names
784 2003-03-24 John Levon <levon@movementarian.org>
786 * BufferView_pimpl.h:
787 * BufferView_pimpl.C: update layout choice on a mouse
790 2003-03-23 John Levon <levon@movementarian.org>
792 * Makefile.am: fix commandtags.h reference
794 2003-03-22 John Levon <levon@movementarian.org>
796 * BufferView_pimpl.C:
801 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
803 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
806 * text.C: take the rtl methods out of line
808 2003-03-21 André Pönitz <poenitz@gmx.net>
810 * metricsinfo.[Ch]: new files containing structures to be passed around
811 during the two-phase-drawing...
813 2003-03-21 André Pönitz <poenitz@gmx.net>
815 * lyxtextclass.C: read 'environment' tag.
817 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
819 * text2.C (removeRow): fix bug 964
821 2003-03-20 John Levon <levon@movementarian.org>
825 * text2.C: paint cleanups. Inset::update() dropped font
828 2003-03-19 John Levon <levon@movementarian.org>
830 * lyxfunc.C: only fitcursor/markDirty if available()
832 2003-03-19 John Levon <levon@movementarian.org>
834 * commandtags.h: rename to ...
836 * lfuns.h: ... this, and renumber / cleanup
838 2003-03-19 John Levon <levon@movementarian.org>
840 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
841 fit the cursor after an lfun
845 * BufferView_pimpl.h:
846 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
848 * LyXAction.C: layout-character should have ReadOnly
850 * ParagraphParameters.C:
852 * bufferview_funcs.C:
859 * undo_funcs.C: changes from above
861 2003-03-18 John Levon <levon@movementarian.org>
863 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
864 remove it from update()
866 * lyxfunc.C: update layout choice after an lfun
868 * text3.C: remove extra updateLayoutChoice()s
870 2003-03-18 John Levon <levon@movementarian.org>
872 * text.C: top_y change means full repaint, fix
873 a drawing bug with cursor movement
875 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
879 * text2.C: anchor row on setCursor
881 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
883 * lyxtext.h: remove almost all mutable keywords
886 * text3.C: remove const keywords accordingly
888 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
892 (TeXEnvironment): ditto
895 2003-03-17 John Levon <levon@movementarian.org>
897 * text.C (rowBreakPoint): remove attempt to fix displayed
898 math insets inside a manual label
900 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * lyxtext.h: remove BufferView* as first arg from almost all class
904 * other files: adjust.
906 2003-03-17 John Levon <levon@movementarian.org>
910 * text2.C: more paint cleanups
912 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
915 * rowpainter.C: remove "smart" background painting code
917 2003-03-16 John Levon <levon@movementarian.org>
922 * text3.C: add helper functions for setting refresh_row/y
924 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
926 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
927 newline inset which *can* get inserted in the pass_thru layouts.
928 This is primarily for literate documents.
930 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
932 * buffer.C: increment LYX_FORMAT to 223
934 2003-03-14 André Pönitz <poenitz@gmx.net>
936 * textclass.h: prepare for environment handling, ws changes
937 * lyxlayout.C: read latexheader and latexfooter tags
939 2003-03-14 John Levon <levon@movementarian.org>
941 * text2.C: rewrite ::status() a bit
943 2003-03-13 John Levon <levon@movementarian.org>
945 * lyxtext.h: add some docs
947 2003-03-13 John Levon <levon@movementarian.org>
952 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
954 2003-03-13 John Levon <levon@movementarian.org>
956 * text3.C: fix appendix redrawing
958 2003-03-13 John Levon <levon@movementarian.org>
960 * text.C (setHeightOfRow):
962 * rowpainter.C: make appendix mark have the text
963 "Appendix" so the user knows what it is
966 * LColor.C: s/appendixline/appendix/ from above
968 2003-03-13 John Levon <levon@movementarian.org>
970 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
972 * text.C: fix a getChar(pos) bug properly
974 2003-03-13 Angus Leeming <leeming@lyx.org>
977 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
978 Probably only temporary. Let's see how things pan out.
980 * BufferView.C (unlockInset):
981 * BufferView_pimpl.C (fitCursor):
982 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
984 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
985 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
987 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
988 new functions that convert ParagraphParameters to and from a string.
990 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
991 BufferView::Pimpl's dispatch.
992 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
994 2003-03-13 André Pönitz <poenitz@gmx.net>
998 * factory.C: make it aware of InsetEnv
1000 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * text2.C (setCursor): never ask for one past last
1003 (setCursor): add some debugging messages.
1005 * text.C (singleWidth): never ask for one past last
1006 (singleWidth): ditto
1008 (rightMargin): ditto
1009 (rowBreakPoint): ditto
1010 (setHeightOfRow): ditto
1011 (prepareToPrint): ditto
1013 * rowpainter.C (paintBackground): never ask for one past last
1014 (paintText): never ask for one past last
1016 * paragraph_pimpl.C (getChar): make the assert stricter, never
1017 allow the one past last pos to be taken
1019 * paragraph.C (getChar): ws changes only
1021 * lyxrow.C (nextRowIsAllInset): never ask for one past last
1022 (numberOfSeparators): ditto
1023 (numberOfHfills): ditto
1025 2003-03-12 John Levon <levon@movementarian.org>
1031 * paragraph_funcs.C: fix per-buffer authorlists
1033 2003-03-12 John Levon <levon@movementarian.org>
1035 * text.C: fix newline in right address
1037 2003-03-12 Angus Leeming <leeming@lyx.org>
1039 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
1040 duplicate those in LyXFunc::dispatch.
1044 * ToolbarDefaults.C:
1045 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
1046 Add LFUN_FONTFREE_UPDATE.
1048 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
1049 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
1051 * bufferview_func.[Ch]: several new functions to facilliate
1052 transfer of data to and from the character dialog.
1054 2003-03-12 John Levon <levon@movementarian.org>
1059 * paragraph_funcs.C:
1060 * paragraph_pimpl.C:
1064 * text3.C: remove META_NEWLINE in favour of an inset
1067 * rowpainter.C: remove paintNewline (done by inset)
1069 2003-03-12 John Levon <levon@movementarian.org>
1071 * paragraph_pimpl.C: complain about bad getChar()s
1072 for a while at least
1074 2003-03-12 John Levon <levon@movementarian.org>
1077 * buffer.C: move paragraph read into a separate function,
1078 a little renaming to reflect that.
1081 * bufferparams.C: remove the author_ids map, not necessary now
1084 * factory.C: moved Buffer::readInset to here
1086 * paragraph_funcs.h:
1087 * paragraph_funcs.C: readParagraph free function moved from
1090 * tabular.C: name change
1092 2003-03-12 John Levon <levon@movementarian.org>
1095 * ParagraphParameters.C: move par params input to
1098 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1099 behave like a normal read from the stream wrt reading
1100 a line vs. a \\token
1102 2003-03-12 John Levon <levon@movementarian.org>
1105 * ParagraphParameters.h:
1106 * ParagraphParameters.C: move output code to a
1109 2003-03-12 John Levon <levon@movementarian.org>
1111 * BufferView.C (insertLyXFile):
1114 * tabular.C: use a parlist iterator for creating the
1117 2003-03-12 John Levon <levon@movementarian.org>
1119 * buffer.C: make current_change static local not
1122 2003-03-12 John Levon <levon@movementarian.org>
1124 * buffer.C: fix insertStringAsLines for change tracking
1126 2003-03-12 John Levon <levon@movementarian.org>
1133 * bufferparams.C: move author list into params. Rename some
1134 functions. Move the header reading into a separate token
1135 loop. Move the header token reading into BufferParams.
1137 2003-03-12 John Levon <levon@movementarian.org>
1139 * changes.C: put debug inside lyxerr.debugging() checks
1141 2003-03-11 André Pönitz <poenitz@gmx.net>
1143 * factory.C: make it aware of InsetHFill
1145 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1147 * buffer.C (latexParagraphs): move function from here...
1148 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1151 2003-03-10 Angus Leeming <leeming@lyx.org>
1153 * LyXAction.C (init): fix bug in poplating array with multiple entries
1154 with the same LFUN (spotted by JMarc).
1156 2003-03-10 John Levon <levon@movementarian.org>
1159 * text2.C: move getColumnNearX() near its
1162 2003-03-10 John Levon <levon@movementarian.org>
1164 * text.C: fix break before a minipage
1166 2003-03-10 John Levon <levon@movementarian.org>
1168 * text.C: fix the last commit
1170 2003-03-09 John Levon <levon@movementarian.org>
1174 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1175 bug 365 (don't break before insets unless needed). Don't
1176 return a value > last under any circumstances.
1178 2003-03-09 Angus Leeming <leeming@lyx.org>
1180 * BufferView_pimpl.C (trackChanges, dispatch): call
1181 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1183 2003-03-09 Angus Leeming <leeming@lyx.org>
1185 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1186 than Dialogs::showAboutlyx().
1188 2003-03-09 Angus Leeming <leeming@lyx.org>
1190 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1191 than Dialogs::showTabularCreate().
1193 2003-03-09 John Levon <levon@movementarian.org>
1197 * text2.C: 3rd arg to nextBreakPoint was always the same.
1200 2003-03-08 John Levon <levon@movementarian.org>
1207 * text2.C: Remove the "main" bit from the "main body"
1210 2003-03-08 John Levon <levon@movementarian.org>
1212 * text.C (leftMargin): The left margin of an empty
1213 manual label paragraph should not include the label width
1216 * text.C (prepareToPrint): don't attempt to measure hfills
1217 for empty manual label paragraphs - the answer should be 0
1219 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * CutAndPaste.C: remove commented code and reindent.
1223 2003-03-08 John Levon <levon@movementarian.org>
1226 * lyxfunc.C: move reloadBuffer()
1229 * BufferView.C: to here
1231 * lyxvc.C: add comment
1234 * vc-backend.C: call bv->reload() to avoid
1235 getStatus() check on MENURELOAD
1237 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1239 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1240 to an old format .dep file.
1242 2003-03-07 Angus Leeming <leeming@lyx.org>
1244 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1245 when the LFUN_MOUSE_RELEASE should have been handled by
1246 inset->localDispatch.
1248 2003-03-07 Angus Leeming <leeming@lyx.org>
1250 * BufferView_pimpl.C (dispatch):
1251 * LyXAction.C (init):
1252 * ToolbarDefaults.C (init):
1254 * lyxfunc.C (getStatus):
1255 remove LFUN_INSET_GRAPHICS.
1257 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1259 2003-03-07 Angus Leeming <leeming@lyx.org>
1262 * LyXAction.C (init):
1263 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1265 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1268 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1270 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1271 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1273 2003-03-07 Angus Leeming <leeming@lyx.org>
1275 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1278 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * ParagraphList.C (front): new function
1283 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1285 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1286 and top_row_offset_. removed var first_y.
1288 * text2.C (LyXText, removeRow):
1290 * BufferView_pimpl.C:
1291 use these methods instead of using first_y
1293 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * text2.C (pasteSelection): adjust for checkPastePossible
1297 * CutAndPaste.C: remove Paragraph * buf and replace with
1298 ParagraphList paragraphs.
1299 (DeleteBuffer): delete
1300 (cutSelection): change the tc type to textclass_type
1301 (copySelection): change the tc type to textclass_type
1302 (copySelection): adjust for ParagraphList
1303 (pasteSelection): change the tc type to textclass_type
1304 (pasteSelection): adjust for Paragraphlist
1305 (nrOfParagraphs): simplify for ParagraphList
1306 (checkPastePossible): simplify for ParagraphList
1307 (checkPastePossible): remove unused arg
1309 * ParagraphList.C (insert): handle the case where there are no
1312 * CutAndPaste.h: make CutAndPaste a namespace.
1314 * text3.C (dispatch): adjust
1316 * text.C (breakParagraph): add a ParagraphList as arg
1318 * paragraph_funcs.C (breakParagraph): change to take a
1319 BufferParams and a ParagraphList as args.
1320 (breakParagraphConservative): ditto
1321 (mergeParagraph): ditto
1322 (TeXDeeper): add a ParagraphList arg
1323 (TeXEnvironment): ditto
1326 * buffer.C (readLyXformat2): adjust
1327 (insertStringAsLines): adjust
1328 (latexParagraphs): adjust
1330 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1331 (cutSelection): adjust
1332 (pasteSelection): adjust
1334 * BufferView_pimpl.C (insertInset): adjust
1336 2003-03-05 Angus Leeming <leeming@lyx.org>
1339 * LyXAction.C (init):
1340 * BufferView_pimpl.C (dispatch):
1341 * lyxfunc.C (getStatus):
1342 remove LFUN_CHILD_INSERT.
1344 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1346 2003-03-05 Angus Leeming <leeming@lyx.org>
1349 * LyXAction.C (init):
1350 * src/factory.C (createInset):
1351 * lyxfunc.C (getStatus):
1352 * text3.C (dispatch):
1353 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1355 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1357 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1359 * ParagraphList.C (insert): handle insert right before end()
1360 (erase): fix cases where it can be first or last paragraph.
1362 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1364 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1365 Paragraph::next and Paragraph::previous
1368 * text.C (breakParagraph): adjust
1370 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1371 BufferParams& as arg.
1372 (breakParagraph): use ParagraphList::insert
1373 (breakParagraphConservative): take a Buffer* instead of a
1374 BufferParams& as arg.
1375 (breakParagraphConservative): use ParagraphList::insert.
1377 * buffer.C (insertStringAsLines): un-const it
1378 (insertStringAsLines): adjust
1380 * ParagraphList.C (insert): new function
1382 * CutAndPaste.C (pasteSelection): adjust
1384 * text.C (backspace): adjust
1386 * tabular.C (SetMultiColumn): adjust
1388 * CutAndPaste.C (cutSelection): adjust
1389 (pasteSelection): adjust
1391 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1392 Buffer const * as arg
1394 * ParagraphList.C (erase): new function
1395 * paragraph_funcs.C (mergeParagraph): use it
1396 (mergeParagraph): make it take a Buffer* instead of a
1397 BufferParams* as arg
1399 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1401 (breakParagraphConservative): ditto
1403 * paragraph.h: remove the breakParagraph friend
1405 * paragraph.C (eraseIntern): new function
1406 (setChange): new function
1408 * paragraph_funcs.C (mergeParagraph): make it take a
1409 ParagraphList::iterator instead of a Paragraph *, adjust
1412 * paragraph.h: move an #endif so that the change tracking stuff
1413 also works in the NO_NEXT case.
1415 2003-03-04 Angus Leeming <leeming@lyx.org>
1418 * LyXAction.C: new LFUN_INSET_MODIFY.
1420 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1421 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1423 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1425 * several files: ws changes only
1427 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1428 (TeXEnvironment): ditto
1431 * buffer.C (makeLaTeXFile): adjust
1432 (latexParagraphs): make it take ParagraphList::iterator as args
1434 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * buffer.C (latexParagraphs): adjust
1438 * paragraph.C (TeXOnePar): move function...
1439 (optArgInset): move function...
1440 (TeXEnvironment): move function...
1441 * paragraph_pimpl.C (TeXDeeper): move function...
1442 * paragraph_funcs.C: ...here
1444 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1446 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * buffer.C (readInset): remove compability code for old Figure and
1451 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1453 * buffer.C: ws changes
1456 * BufferView_pimpl.C: ditto
1459 * bufferlist.h: ditto
1463 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1465 * converter.[Ch]: split into itself +
1468 * Makefile.am: += graph.[Ch] + format.[Ch]
1475 * lyxrc.C: added #include "format.h"
1477 2003-02-27 Angus Leeming <leeming@lyx.org>
1479 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1482 * factory.C (createInset): add "label" to the factory.
1484 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1485 string and do no more.
1487 2003-02-27 Angus Leeming <leeming@lyx.org>
1490 * LyXAction.C (init):
1491 * factory.C (createInset):
1492 * BufferView_pimpl.C (dispatch):
1493 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1495 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1497 * lyxfunc.C (dispatch):
1498 * text3.C (dispatch): pass name to params2string.
1500 2003-02-26 Angus Leeming <leeming@lyx.org>
1502 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1504 Rearrange the ~includes. Strip out the unnecessary ones.
1506 * factory.C (createInset): reformat.
1507 create new insets for the various LFUN_XYZ_APPLY lfuns.
1509 2003-02-26 John Levon <levon@movementarian.org>
1512 * lyxrow.C: add isParStart,isParEnd helpers
1514 * paragraph.h: make isInserted/DeletedText take refs
1516 * paragraph_funcs.h:
1517 * paragraph_funcs.C: remove #if 0'd code
1522 * text.C: use lyxrow helpers above.
1523 Move draw and paint routines to RowPainter.
1524 Make several methods use refs not pointers.
1525 Make backgroundColor() const.
1526 Add markChangeInDraw(), isInInset().
1527 Merge changeRegionCase into changeCase.
1528 Make workWidth() shouldn't-happen code into an Assert.
1531 * rowpainter.C: new class for painting a row.
1534 * vspace.C: make inPixels take a ref
1536 2003-02-26 Angus Leeming <leeming@lyx.org>
1538 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1541 2003-02-25 John Levon <levon@movementarian.org>
1543 * ispell.C: give the forked command a more accurate name
1545 2003-02-22 John Levon <levon@movementarian.org>
1548 * toc.C: make TocItem store an id not a Paragraph *
1551 2003-02-21 Angus Leeming <leeming@lyx.org>
1553 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1554 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1555 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1556 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1557 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1558 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1560 * BufferView_pimpl.C (dispatch):
1561 * LyXAction.C (init):
1562 * factory.C (createInset):
1563 * lyxfunc.C (getStatus, dispatch):
1564 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1566 2003-02-21 Angus Leeming <leeming@lyx.org>
1568 * BufferView_pimpl.C (MenuInsertLyXFile):
1569 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1570 * lyxfunc.C (menuNew, open, doImport):
1571 no longer pass a LyXView & to fileDlg.
1573 2003-02-21 Angus Leeming <leeming@lyx.org>
1575 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1576 * LyXAction.C: change, BIBKEY to BIBITEM.
1577 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1578 Change InsetBibKey to InsetBibitem.
1579 Change BIBKEY_CODE to BIBITEM_CODE.
1580 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1581 * factory.C: replace insetbib.h with insetbibitem.h.
1582 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1583 * paragraph.C: replace insetbib.h with insetbibitem.h.
1584 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1585 Change bibkey() to bibitem().
1586 * text.C: remove insetbib.h.
1587 * text2.C: replace insetbib.h with insetbibitem.h.
1588 change bibkey() to bibitem().
1589 * text3.C: remove insetbib.h.
1590 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1592 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1594 * lyxrc.C (output): enclose user email in quotes (in case there are
1597 2003-02-18 John Levon <levon@movementarian.org>
1599 * buffer.h: add std::
1601 2003-02-17 John Levon <levon@movementarian.org>
1607 * pspell.C: reworking. Especially in ispell, a large
1608 number of clean ups and bug fixes.
1610 * lyxfunc.C: fix revert to behave sensibly
1612 2003-02-17 André Pönitz <poenitz@gmx.net>
1615 * commandtags.h: new LFUN_INSERT_BIBKEY
1625 * paragraph_func.C: remove special bibkey handling
1627 2003-02-17 John Levon <levon@movementarian.org>
1629 * text.C (Delete): fix case where delete at the end of
1630 the very first paragraph would not merge the pars
1632 2003-02-17 John Levon <levon@movementarian.org>
1634 * lyxrow.C: fix lastPrintablePos()
1636 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1638 * bufferparams.C (writeLaTeX): add a std:here
1640 * buffer.C: and remove a using directive there
1642 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1644 * buffer.C (makeLaTeXFile): move the code that generates the
1647 * bufferparams.C (writeLaTeX): ... in this new method
1649 * LaTeXFeatures.C (getEncodingSet): make const
1650 (getLanguages): make const
1652 * MenuBackend.C (binding): returns the binding associated to this
1654 (add): sets the status of each item by calling getStatus. Adds
1656 (read): add support for OptSubMenu
1657 (expand): remove extra separator at the end of expanded menu
1659 2003-02-15 John Levon <levon@movementarian.org>
1662 * BufferView_pimpl.C:
1664 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1665 inset code that had no actual effect. Remove unneeded status
1668 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1670 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1673 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1675 * text.C (drawLengthMarker): also draw an arrow marker for
1676 symbolic lengths (medskip...)
1678 2003-02-14 John Levon <levon@movementarian.org>
1681 * tabular.C: better method names
1683 2003-02-14 John Levon <levon@movementarian.org>
1685 * BufferView_pimpl.C:
1690 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1691 it's a more accurate name. Remove some pointless uses.
1693 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1695 * text2.C (LyXText): change order of initilizers to shut off
1698 2003-02-14 John Levon <levon@movementarian.org>
1700 * buffer.C: use ParIterator for getParFromID()
1704 * paragraph_pimpl.h:
1705 * paragraph_pimpl.C: remove unused getParFromID()
1707 2003-02-14 John Levon <levon@movementarian.org>
1709 * buffer.C: remove some very old #if 0'd parse code
1711 2003-02-13 John Levon <levon@movementarian.org>
1715 * text2.C: move hfillExpansion(), numberOfSeparators(),
1716 rowLast(), rowLastPrintable(), numberofHfills(),
1717 numberOfLabelHfills() ...
1720 * lyxrow.C: ... to member functions here.
1725 * text.C: remove LyXText::beginningOfMainBody(), and call
1726 p->beginningOfMainBody() directly. Move the check for
1727 LABEL_MANUAL into the latter.
1734 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1740 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1741 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1743 2003-02-13 John Levon <levon@movementarian.org>
1745 * CutAndPaste.C: remove debug
1747 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1749 * paragraph.C (asString): remove two unused variables
1751 * lyxtextclass.C (readTitleType):
1753 (LyXTextClass): handle new members titletype_ and titlename_
1755 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1757 2003-02-09 John Levon <levon@movementarian.org>
1760 * buffer.C: replace hand-coded list with a map for the dep clean
1762 2003-02-08 John Levon <levon@movementarian.org>
1764 * LaTeX.C: consolidate code into showRunMessage() helper
1766 2003-02-08 John Levon <levon@movementarian.org>
1771 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1772 and pass the size in explicitly
1774 * BufferView_pimpl.h:
1775 * BufferView_pimpl.C:
1777 * BufferView.C: add getCurrentChange()
1779 * BufferView_pimpl.h:
1780 * BufferView_pimpl.C: handle change lfuns
1782 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1783 for changes. Mark pasted paragraphs as new.
1785 * support/lyxtime.h:
1786 * support/lyxtime.C:
1787 * DepTable.C: abstract time_t as lyx::time_type
1790 * LColor.C: add colours for new text, deleted text, changebars
1792 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1793 package use "usenames" option.
1797 * LyXAction.C: add change lfuns
1801 * author.C: author handling
1804 * buffer.C: add a per-buffer author list, with first entry as
1805 current author. Handle new .lyx tokens for change tracking. Output
1806 author list to .lyx file. Output dvipost stuff to .tex preamble.
1807 Bump lyx format to 222.
1810 * bufferlist.C: add setCurrentAuthor() to reset current author details
1814 * bufferparams.C: add param for tracking
1816 * bufferview_funcs.C: output change info in minibuffer
1820 * changes.C: add change-tracking structure
1823 * debug.C: add CHANGES debug flag
1826 * lyxfind.C: add code for finding the next change piece
1829 * lyxrc.C: add user_name and user_email
1832 * lyxrow.C: add a metric for the top of the text line
1835 * text.C: implement accept/rejectChange()
1838 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1839 Strike through deleted text.
1843 * paragraph_pimpl.h:
1844 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1845 to the insert functions. Rework erase to mark text as deleted, adding
1846 an eraseIntern() and a range-based erase(). Implement
1847 per-paragraph change lookup and accept/reject.
1849 * paragraph_funcs.C: Fixup paste for change tracking.
1851 * tabular.C: mark added row/columns as new.
1853 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1854 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1856 * text2.C: leave cursor at end of selection after a cut.
1858 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1860 * text.C (getLengthMarkerHeight):
1861 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1862 visible on screen too.
1864 2003-02-07 John Levon <levon@movementarian.org>
1866 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1868 2003-02-05 Angus Leeming <leeming@lyx.org>
1870 * lyxserver.C (read_ready): revert my patch of 11 September last year
1871 as it sends PC cpu through the roof. Presumably this means that
1872 the lyxserver will no longer run on an Alpha...
1874 2003-01-30 Angus Leeming <leeming@lyx.org>
1876 * factory.C (createInset): create an InsetCommandParam of type "index"
1877 and use it to 'do the right thing'.
1879 * text2.C (getStringToIndex): ensure that cursor position is always
1880 reset to the reset_cursor position.
1882 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1884 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1887 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1891 * lyxfunc.C: Output messages with identical spelling, punctuation,
1894 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1896 * MenuBackend.C (expandFormats): List only viewable export formats
1899 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1902 * lyxfunc.C (getStatus): Make sure that formats other than
1903 "fax" can also be disabled
1905 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1907 * text3.C (dispatch): put the lfuns that insert insets in 3
1908 groups, and call doInsertInset with appropriate arguments.
1909 (doInsertInset): new function, that creates an inset and inserts
1910 it according to some boolean parameters.
1912 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * buffer.C (readFile): remember to pass on 'par' when calling
1915 readFile recursively.
1917 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1919 * MenuBackend.C (expandFormats): add "..." to import formats.
1921 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1923 * paragraph.C (asString): Remove XForms RTL hacks.
1925 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1926 * buffer.C: fix typo
1928 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * Makefile.am (LIBS): delete var
1931 (lyx_LDADD): add @LIBS@ here instead.
1933 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1935 * Clarify the meaning of "wheel mouse jump"
1937 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1939 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1942 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1944 * importer.C (Loaders): do not preallocate 3 elements in the
1945 vector, since one ends up with 6 elements otherwise
1947 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1949 * DepTable.C (write): write the file name as last element of the
1950 .dep file (because it may contain spaces)
1951 (read): read info in the right order
1953 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1955 * paragraph_pimpl.C (simpleTeXBlanks):
1956 (simpleTeXSpecialChars):
1957 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1959 * tabular.C (latex): add some missing case statements. Reindent.
1961 * MenuBackend.C (expandToc): remove unused variable.
1963 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1972 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1975 2003-01-05 John Levon <levon@movementarian.org>
1978 * BufferView.C: add getEncoding()
1981 * kbsequence.C: do not store last keypress
1984 * lyxfunc.C: store last keypress here instead. Pass encoding
1987 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1989 * lyx_main.C (init): remove annoying error message when following
1990 symbolic links (bug #780)
1992 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1994 * text.C (insertChar):
1995 * lyxrc.C (getDescription): remove extra spaces
1997 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1999 * lyxrc.C (getDescription): remove extra spaces
2001 2002-12-20 John Levon <levon@movementarian.org>
2003 * text3.C: hack fix for page up/down across tall rows
2005 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2007 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
2010 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2012 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
2013 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
2014 thesaurus is not compiled in
2016 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2018 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
2020 2002-12-16 Angus Leeming <leeming@lyx.org>
2023 * lyx_main.C (init): remove override_x_deadkeys stuff.
2025 2002-12-12 John Levon <levon@movementarian.org>
2027 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
2028 insert. Only remove shift modifier under strict
2031 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * MenuBackend.C (expandToc): fix crash.
2035 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * MenuBackend.C (expandToc): gettext on float names.
2039 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2041 * lyxlength.[Ch]: set default unit to UNIT_NONE,
2042 implement bool empty() [bug 490]
2044 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2046 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
2048 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * several files: ws changes
2052 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * text2.C (setCounter): clean up a bit, use boost.format.
2055 (updateCounters): initialize par upon declaration.
2057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
2058 if the layout exists. We do not just store the layout any more.
2059 (SwitchLayoutsBetweenClasses): use boost.format
2061 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2063 * converter.C (convert): if from and to files are the same, use a
2064 temporary files as intermediary
2066 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2069 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
2071 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
2073 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
2075 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * tabular.C (asciiPrintCell): use string(size, char) instead of
2080 * sgml.C (openTag): fix order of arguments to string constructor
2083 * lyxfunc.C (dispatch): use boost.format
2085 * lots of files: change "c" -> 'c'
2087 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
2089 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
2091 2002-11-25 Angus Leeming <leeming@lyx.org>
2093 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2095 * lyx_main.C (init): compile fix.
2097 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * lyx_cb.C (start): boost.formatify
2100 do not include <iostream>
2102 * lengthcommon.C: ws only
2104 * boost-inst.C,BoostFormat.h: add more explict instantations
2106 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2108 * lots of files: handle USE_BOOST_FORMAT
2110 2002-11-21 John Levon <levon@movementarian.org>
2112 * pspell.C: fix compile
2114 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2116 * lyxfunc.C (dispatch): use boost::format
2120 * lyxfont.C (stateText): use boost::format
2122 * lyx_main.C (LyX): use boost::format
2124 (queryUserLyXDir): ditto
2127 (typedef boost::function): use the recommened syntax.
2129 * importer.C (Import): use boost::format
2131 * debug.C (showLevel): use boost::format
2133 * converter.C (view): use boost::format
2138 * bufferview_funcs.C (currentState): use boost::format
2140 * bufferlist.C (emergencyWrite): use boost::format
2142 * buffer.C (readLyXformat2): use boost::format
2143 (parseSingleLyXformat2Token): ditto
2145 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2147 * LaTeX.C (run): use boost::format
2149 * Chktex.C (scanLogFile): use boost::format
2151 * BufferView_pimpl.C (savePosition): use boost::format
2152 (restorePosition): ditto
2153 (MenuInsertLyXFile): ditto
2155 * BoostFormat.h: help file for explicit instation.
2157 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2159 * tabular.C (latex): Support for block alignment in fixed width
2162 2002-11-17 John Levon <levon@movementarian.org>
2164 * BufferView_pimpl.C:
2166 * lyxfunc.C: split filedialog into open/save
2168 2002-11-08 Juergen Vigna <jug@sad.it>
2170 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2171 by my last patch (hopefully).
2173 2002-11-08 John Levon <levon@movementarian.org>
2182 * toc.C: ParConstIterator, and use it (from Lars)
2184 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2186 * lyxtextclass.[Ch]: revise and add doxygen comments
2188 2002-11-07 John Levon <levon@movementarian.org>
2190 * text.C: fix progress value for spellchecker
2192 * toc.C: fix navigate menu for insetwrap inside minipage
2194 * paragraph_funcs.C: added FIXME for suspect code
2196 2002-11-07 John Levon <levon@movementarian.org>
2198 * BufferView_pimpl.C: fix redrawing of insets
2201 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2203 * text2.C (updateCounters): fix bug 668
2205 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2207 * text3.C (dispatch): Do not make the buffer dirty when moving the
2210 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * vc-backend.C: STRCONV
2215 * text2.C (setCounter): STRCONV
2217 * paragraph.C (asString): STRCONV
2219 * lyxlength.C (asString): STRCONV
2220 (asLatexString): ditto
2222 * lyxgluelength.C (asString): STRCONV
2223 (asLatexString): ditto
2225 * lyxfunc.C (dispatch): STRCONV
2228 * lyxfont.C (stateText): STRCONV
2230 * importer.C (Import): STRCONV
2232 * counters.C (labelItem): STRCONV
2233 (numberLabel): ditto
2234 (numberLabel): remove unused ostringstream o
2239 * bufferview_funcs.C (currentState): STRCONV
2241 * buffer.C (readFile): STRCONV
2242 (asciiParagraph): ditto
2243 (makeLaTeXFile): ditto
2245 * Spacing.C (writeEnvirBegin): STRCONV
2247 * LaTeXFeatures.C (getLanguages): STRCONV
2248 (getPackages): ditto
2250 (getBabelOptions): ditto
2251 (getTClassPreamble): ditto
2252 (getLyXSGMLEntities): ditto
2253 (getIncludedFiles): ditto
2257 (scanAuxFile): ditto
2260 * LString.h: add the STRCONV macros
2262 * BufferView_pimpl.C (savePosition): STRCONV
2263 (restorePosition): ditto
2264 (MenuInsertLyXFile): ditto
2266 * vc-backend.C (scanMaster): change from submatch[...] to
2269 * funcrequest.C: include config.h
2271 * factory.C: include config.h
2273 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2275 * box.C: include config.h
2277 * LaTeX.C (scanAuxFile): change from submatch[...] to
2281 2002-10-25 Angus Leeming <leeming@lyx.org>
2283 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2285 * ispell.[Ch] (setError): new method.
2286 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2287 Use setError() insetead of goto END.
2289 * lyx_cb.C (AutoSave): move out child process into new class
2292 2002-10-30 John Levon <levon@movementarian.org>
2294 * text3.C: make start appendix undoable
2296 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2298 * lyxlength.C (inPixels): Fix returned value.
2300 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2303 2002-10-24 Angus Leeming <leeming@lyx.org>
2305 * lyxgluelength.h: no need to forward declare BufferParams
2306 or BufferView, so don't.
2308 2002-10-21 John Levon <levon@movementarian.org>
2310 * BufferView.C: menuUndo ->undo, redo
2312 * BufferView.h: document, remove dead, make some methods private
2314 * paragraph_funcs.h:
2315 * paragraph_funcs.C:
2316 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2321 * sgml.C: move sgml open/close tag into sgml.C
2323 * bufferview_funcs.h: unused prototype
2326 * lyxfunc.C: remove unused
2329 * text.C: remove unused
2331 2002-10-21 John Levon <levon@movementarian.org>
2335 * BufferView_pimpl.h:
2336 * BufferView_pimpl.C: fix mouse wheel handling based on
2337 patch from Darren Freeman
2339 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2341 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2343 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2345 * lyxlength.C (inPixels): Fix hanfling of negative length.
2346 Fix LyXLength::MU case.
2348 2002-10-16 John Levon <levon@movementarian.org>
2350 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2352 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2354 * converter.C (view): add support for $$i (file name) and $$p
2355 (file path) for the viewer command. If $$i is not specified, then
2356 it is appended to the command (for compatibility with old syntax)
2358 2002-10-14 Juergen Vigna <jug@sad.it>
2360 * undo_funcs.C (textHandleUndo): alter the order in which the
2361 new undopar is added to the LyXText, as we have to set first
2362 the right prev/next and then add it as otherwise the rebuild of
2363 LyXText is not correct. Also reset the cursor to the right paragraph,
2364 with this IMO we could remove the hack in "redoParagraphs()".
2366 2002-10-09 Angus Leeming <leeming@lyx.org>
2368 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2369 to turn off an optimisation if a new inset is to be inserted.
2371 2002-10-11 André Pönitz <poenitz@gmx.net>
2373 * lyxtext.h: make some functions public to allow access
2374 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2376 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2378 * text3.C (dispatch): when changing layout, avoid an infinite loop
2381 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2383 * lyxrc.C (read): treat a viewer or converter command of "none" as
2386 * MenuBackend.C (expandFormats): for an update, also allow the
2387 formats that are not viewable
2389 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2390 script if it is newer than the lyxrc.defaults in user directory
2392 2002-10-07 André Pönitz <poenitz@gmx.net>
2394 * text.C: Vitaly Lipatov's small i18n fix
2396 2002-09-25 Angus Leeming <leeming@lyx.org>
2398 * ispell.h: doxygen fix.
2400 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2402 * buffer.h (readFile): Add a new argument to the method, to allow
2403 reading of old-format templates.
2405 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2407 * toc.C (getTocList): Get TOC from InsetWrap.
2409 2002-09-16 John Levon <levon@movementarian.org>
2411 * lyxfunc.C: check tabular for cut/copy too
2413 2002-09-12 John Levon <levon@movementarian.org>
2418 * factory.C: add header
2420 * paragraph_funcs.h:
2421 * paragraph_funcs.C: cleanup
2423 2002-09-11 John Levon <levon@movementarian.org>
2425 * PrinterParams.h: odd/even default to true
2427 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2429 * PrinterParams.h: update printer parameters for new xforms dialog
2431 2002-09-11 Angus Leeming <leeming@lyx.org>
2433 * lyxserver.C (read_ready): re-write to make it more transparent
2434 and to make it work in coherent fashion under Tru64 Unix.
2436 2002-09-11 André Pönitz <poenitz@gmx.net>
2440 * text3.C: implement LFUN_WORDSEL
2442 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2445 make floatlist_ a boost::shared_ptr<FloatList>
2447 * lyxtextclass.C: include FloatList.h
2448 (LyXTextClass): initialize floatlist_
2449 (TextClassTags): add TC_NOFLOAT
2450 (Read): match "nofloat" to TC_NOFLOAT and use it.
2451 (readFloat): modify call to floatlist_
2455 * FloatList.[Ch] (FloatList): remove commented out float
2457 (erase): new function
2459 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2461 * MenuBackend.C (expandToc): fix crash when there is no document
2464 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2466 * many files: Add insetwrap.
2468 2002-09-09 John Levon <levon@movementarian.org>
2470 * text2.C: remove confusing and awkward depth wraparound
2472 2002-09-09 John Levon <levon@movementarian.org>
2474 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2477 * buffer.C: remove getIncludeonlyList()
2480 * lyxfunc.C: remove headers
2482 2002-09-09 Juergen Vigna <jug@sad.it>
2484 * text.C (getColumnNearX): fix form Michael this is most
2485 probably a cut&paste bug.
2487 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2491 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2492 references, ws changes.
2494 * text2.C (init): update counters after init
2495 (insertParagraph): no need to set counter on idividual paragraphs.
2496 (setCounter): access the counters object in the textclass object
2497 on in the buffer object.
2498 (updateCounters): ditto
2500 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2501 shared_ptr<Counters> to avoid loading counters.h in all
2503 (LyXTextClass): initialize ctrs_
2504 (TextClassTags): add TC_COUNTER, and ...
2505 (Read): use it here.
2506 (CounterTags): new tags
2507 (readCounter): new function
2508 (counters): new funtion
2509 (defaultLayoutName): return a const reference
2511 * counters.C (Counters): remove contructor
2512 (newCounter): remove a couple of unneeded statements.
2513 (newCounter): simplify a bit.
2514 (numberLabel): some small formatting changes.
2516 * buffer.[Ch]: remove all traces of counters, move the Counters
2517 object to the LyXTextClass.
2519 2002-09-06 Alain Castera <castera@in2p3.fr>
2521 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2522 package to set the horizontal alignment on fixed width columns.
2525 * lyx_sty.h: added tabularnewline macro def.
2527 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2529 2002-09-06 John Levon <levon@movementarian.org>
2531 * LyXAction.C: tooltips for sub/superscript
2533 * MenuBackend.C: a bit more verbose
2535 * lyxfunc.C: tiny clean
2537 * undo_funcs.C: document undo_frozen
2539 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2541 * counters.C (Counters): add missing algorithm counter.
2543 * text2.C (setCounter): lookup the counter with layouts latexname
2544 instead of by section number.
2545 (setCounter): use a hackish way to lookup the correct enum
2547 a float name->type change
2548 reset enum couners with counter name directly instead of depth value.
2550 * counters.C (Counters): remove the push_backs, change to use the
2551 float type not the float name.
2552 (labelItem): remove unused string, float name->type change
2554 * counters.h: don't include vector, loose the enums and sects vectors
2556 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2558 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2559 (Read): add float->TC_FLOAT to textclassTags
2560 (Read): and handle it in the switch
2561 (readFloat): new function
2563 * FloatList.C (FloatList): comment out the hardcoded float
2566 * lyxlayout.h: ws change.
2568 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2570 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2572 2002-09-03 Angus Leeming <leeming@lyx.org>
2574 * BufferView_pimpl.h: qualified name is not allowed in member
2575 declaration: WorkArea & Pimpl::workarea() const;
2577 * factory.C: added using std::endl directive.
2579 * text3.C: added using std::find and std::vector directives.
2581 2002-08-29 André Pönitz <poenitz@gmx.net>
2584 * text2.C: remove unused member number_of_rows
2587 * BufferView2.C: remove file, move contents to...
2588 * BufferView.C: ... here
2590 * BufferView_pimpl.C:
2591 * factory.C: move more inset creation to factory
2593 * vspace.C: avoid direct usage of LyXText, ws changes
2596 don't provide direct access to WorkArea, use two simple
2597 acessors haveSelction() and workHeight() instead
2600 2002-08-29 John Levon <levon@movementarian.org>
2602 * BufferView_pimpl.C (dispatch): do not continue when
2605 2002-08-28 André Pönitz <poenitz@gmx.net>
2607 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2610 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2612 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2614 * buffer.C: increment LYX_FORMAT to 221
2616 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2617 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2619 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2621 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2623 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2625 * factory.C (createInset): use LyXTextClass::floats
2627 * MenuBackend.C (expandFloatListInsert):
2628 (expandFloatInsert):
2631 * text2.C (setCounter):
2633 * LaTeXFeatures.C (useFloat):
2634 (getFloatDefinitions):
2636 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2638 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2639 floatlist_, with accessor floats().
2641 * FloatList.h: remove global FloatList
2643 2002-08-26 André Pönitz <poenitz@gmx.net>
2645 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2649 * BufferView_pimpl.C:
2650 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2652 2002-08-25 John Levon <levon@movementarian.org>
2654 * LyXAction.C: fix margin note description
2656 2002-08-24 John Levon <levon@movementarian.org>
2660 * bufferview_funcs.C:
2662 * undo_funcs.C: cleanups
2664 * lyxfunc.C: disable CUT/COPY when no selection
2666 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2668 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2669 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2671 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2672 Add backward compatibility to "mono", "gray" and "no".
2674 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2676 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2677 (and file_format >= 200).
2679 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2681 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2683 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2685 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2687 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2689 * BufferView_pimpl.C:
2696 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2697 inset and code to make it work with the paragraph code. The inset
2698 can be anywhere in the paragraph, but will only do the expected
2699 thing in LaTeX if the layout file contains the parameter line
2701 (or more generally, a nonzero value) for that layout.
2703 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * paragraph.h: remove the declaration of undefined counters class
2708 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2710 * text2.C (setCounter): fixed enumeration mis-count as reported by
2711 Dr. Richard Hawkins.
2713 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2715 * paragraph_funcs.h: remove some unneeded includes
2717 * text.C (backspace): pasteParagraph now in global scipe
2719 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2720 (pasteSelection): ditto
2722 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2723 * paragraph_funcs.C (pasteParagraph): ... here
2725 2002-08-20 André Pönitz <poenitz@gmx.net>
2727 * commandtags.h: new LFUNs for swapping/copying table row/colums
2730 * lyxfunc.C: support for new lfuns
2732 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2735 * buffer.[Ch]: remove NO_COMPABILITY stuff
2737 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * boost.C (throw_exception): new file, with helper function for
2740 boost compiled without exceptions.
2745 * ParameterStruct.h:
2746 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2748 * bufferlist.C (emergencyWriteAll): use boost bind
2750 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2752 * text.C: include paragraph_funcs.h
2753 (breakParagraph): breakParagraph is now in global scope
2755 * paragraph_funcs.[Ch]: new files
2757 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2760 * buffer.C: include paragraph_funcs.h
2761 (insertStringAsLines): breakParagraph is now in global scope
2763 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2766 * CutAndPaste.C: include paragraph_funcs.h
2767 (cutSelection): breakParagraphConservative is now in global scope
2768 (pasteSelection): ditto
2770 * buffer.h: declare oprator== and operator!= for
2771 Buffer::inset_iterator
2773 * bufferlist.C (emergencyWrite): don't use fmt(...)
2775 * text3.C: add using std::endl
2777 * BufferView.C (moveCursorUpdate): remove default arg
2779 2002-08-20 André Pönitz <poenitz@gmx.net>
2781 * buffer.[Ch]: move inline functions to .C
2784 * BufferView_pimpl.C:
2786 * buffer.[Ch]: use improved inset_iterator
2789 * paragraph.[Ch]: write one paragraph at a time
2791 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2793 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2794 style if style is not specified.
2796 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2798 * text2.C (setCounter): when searching for right label for a
2799 caption, make sure to recurse to parent insets (so that a caption
2800 in a minipage in a figure float works) (bug #568)
2802 2002-08-20 André Pönitz <poenitz@gmx.net>
2804 * text3.C: new file for LyXText::dispatch() and helpers
2806 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2808 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2810 2002-08-19 André Pönitz <poenitz@gmx.net>
2813 * text.C: new LyXText::dispatch()
2815 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2817 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2819 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2821 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2824 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2826 * Makefile.am: use $(variables) instead of @substitutions@
2828 2002-08-15 André Pönitz <poenitz@gmx.net>
2831 * BufferView_pimpl.C: streamlining mathed <-> outer world
2835 * LyXAction.C: remove unused LFUN_MATH
2837 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2841 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * paragraph.C (Paragraph): reformat a bit
2844 (cutIntoMinibuffer): use builtin InsetList function instad of
2848 * buffer.C: include boost/bind.hpp, add using std::for_each
2849 (writeFileAscii): use ParagraphList iterators
2850 (validate): use for_each for validate traversal of paragraphs
2851 (getBibkeyList): use ParagraphList iterators
2852 (resizeInsets): use for_each to resizeInsetsLyXText for all
2854 (getParFromID): use ParagraphList iterators
2856 * BufferView2.C (lockInset): use paragraph list and iterators
2858 2002-08-14 John Levon <levon@movementarian.org>
2860 * lyxserver.C: remove spurious xforms include
2862 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2864 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2866 2002-08-13 André Pönitz <poenitz@gmx.net>
2869 * lyxfunc.C: further cleaning
2871 2002-08-13 André Pönitz <poenitz@gmx.net>
2873 * funcrequest.h: new constructor
2875 * funcrequest.C: move stuff here from .h
2878 * BufferView_pimpl.C:
2881 * lyxfunc.C: subsequent changes
2883 * lyxfunc.h: new view() member function
2885 * lyxfunc.C: subsequent changes
2887 2002-08-13 Angus Leeming <leeming@lyx.org>
2890 * BufferView_pimpl.C:
2898 changes due to the changed LyXView interface that now returns references
2899 to member variables not pointers.
2901 2002-08-13 Angus Leeming <leeming@lyx.org>
2903 * WordLangTuple (word, lang_code): return references to strings,
2908 * lyxtext.h: forward-declare WordLangTuple.
2913 * text.C: #include "WordLangTuple.h".
2916 * text.C: (selectNextWordToSpellcheck): constify return type.
2918 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2924 * paragraph_pimpl.h:
2927 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2929 Made updateCounter always count from start of buffer, and removed
2930 second argument (par).
2931 Reverted floats number display to '#'. Perhaps I'll try again when the
2932 code base is sanitized a bit.
2934 2002-08-12 Angus Leeming <leeming@lyx.org>
2936 * buffer.[Ch] (getLabelList): constify.
2938 2002-08-07 André Pönitz <poenitz@gmx.net>
2940 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2942 * funcrequest.h: extension to keep mouse (x,y) position
2944 2002-08-12 Juergen Vigna <jug@sad.it>
2946 * BufferView2.C (insertErrors): forbid undo when inserting error
2949 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2951 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * ParagraphList.[Ch]: new files
2955 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2957 * BufferView2.C (lockInset): ParagraphList changes
2960 * bufferlist.C: ditto
2964 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2966 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2967 unused class variable counter_,
2969 * paragraph.[Ch] (getFirstCounter): delete unused function
2971 * counters.C: include LAssert.h
2972 (reset): add a new function with no arg, change other version to
2973 not have def. arg and to not allow empty arg.
2975 * text2.C (setCounter): remove empty arg from call to Counters::reset
2977 2002-08-11 John Levon <levon@movementarian.org>
2979 * Makefile.am: add WordLangTuple.h
2981 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2984 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2986 * insets/insettext.C: InsetList changes
2988 * graphics/GraphicsSupport.C (operator()): InsetList changes
2990 * toc.C (getTocList): InsetList changes
2992 * paragraph_pimpl.[Ch]: InsetList changes
2994 * paragraph.[Ch]: InsetList changes
2996 * buffer.C (inset_iterator): InsetList changes
2997 (setParagraph): ditto
2998 * buffer.h (inset_iterator): ditto
2999 * iterators.C (operator++): ditto
3000 * iterators.h: ditto
3002 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
3004 * InsetList.[Ch]: new files, most InsetList handling moved out of
3007 * BufferView2.C (removeAutoInsets): InsetList changes
3009 (ChangeInsets): ditto
3011 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * paragraph_pimpl.h (empty): new function
3015 * paragraph.[Ch] (empty): new function
3017 * other files: use the new Paragraph::empty function
3019 2002-08-09 John Levon <levon@movementarian.org>
3021 * lyxtext.h: remove unused refresh_height
3023 2002-08-09 John Levon <levon@movementarian.org>
3030 * paragraph.C: move sgml char escaping out of paragraph
3033 * paragraph.C: remove id setter
3037 * paragraph_pimpl.C: remove dead tex_code_break_column
3039 * bufferview_funcs.C: small cleanup
3041 * lyxfunc.C: remove dead proto
3043 * lyxtext.h: make some stuff private. Remove some dead stuff.
3045 * lyxgluelength.C: make as[LyX]String() readable
3047 2002-08-08 John Levon <levon@movementarian.org>
3052 * ToolbarDefaults.C:
3055 * toc.C: lyxaction cleanup
3057 2002-08-08 John Levon <levon@movementarian.org>
3059 * BufferView2.C: small cleanup
3062 * lyxfind.C: move unnecessary header into the .C
3064 2002-08-08 John Levon <levon@movementarian.org>
3066 * funcrequest.h: just tedious nonsense
3069 * lyx_main.C: cleanups
3072 * vspace.C: remove dead header lyx_main.h
3074 2002-08-07 Angus Leeming <leeming@lyx.org>
3077 * paragraph_pimpl.h:
3078 Forward declare class Counters in paragraph.h by moving the ctrs member
3079 variable into Paragraph::Pimpl.
3080 (counters): new method, returning a reference to pimpl_->ctrs.
3082 * text2.C: ensuing changes.
3084 2002-08-07 John Levon <levon@movementarian.org>
3086 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
3088 * BufferView_pimpl.C: announce X selection on double/triple
3091 * lyx_main.C: use correct bool in batch dispatch
3093 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3095 2002-08-07 André Pönitz <poenitz@gmx.net>
3097 * funcrequest.h: new class to wrap a kb_action and its argument
3100 * BufferView_pimpl[Ch]:
3104 * lyxrc.C: subsequent changes
3107 2002-08-07 John Levon <levon@movementarian.org>
3109 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3110 document options change.
3112 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3117 * makefile.am: move counters functionality over from
3118 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3120 2002-08-06 John Levon <levon@movementarian.org>
3122 * WordLangTuple.h: new file for word + language code tuple
3133 * BufferView2.C: use WordLangTuple
3136 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3138 2002-08-06 John Levon <levon@movementarian.org>
3140 * lyx_main.C: fix cmdline batch handling
3142 2002-08-06 André Pönitz <poenitz@gmx.net>
3144 * lyxrc.C: set default for show_banner to true
3146 2002-08-06 John Levon <levon@movementarian.org>
3148 * pspell.C: fix a crash, and allow new aspell to work
3150 2002-08-06 John Levon <levon@movementarian.org>
3153 * kbmap.C: small cleanup
3156 * vspace.C: add const
3158 2002-08-05 John Levon <levon@movementarian.org>
3160 * LyXAction.C: back to tabular-insert
3162 2002-08-04 John Levon <levon@movementarian.org>
3165 * BufferView.C: cosmetic change
3167 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3177 * BufferView2.C: purge all "Lyx" not "LyX" strings
3180 * lyxcursor.C: attempt to add some documentation
3185 * ToolbarDefaults.C:
3186 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3187 merge with LFUN_TABULAR_INSERT
3194 * pspell.C: split up i/pspell implementations into separate
3195 files, many cleanups
3197 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3199 * text2.C: some cleanup
3201 * lyxfunc.C: don't check for isp_command == "none" any more, it
3202 didn't make any sense
3204 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3209 * makefile.am: move counters functionality over
3210 from text2.C/paragraph.[Ch] to counters.[Ch], and
3212 2002-08-02 John Levon <levon@movementarian.org>
3214 * buffer.C: s/lyxconvert/lyx2lyx/
3216 2002-08-02 Angus Leeming <leeming@lyx.org>
3218 * lyxlex.C: revert John's change as it breaks reading of the user
3221 2002-08-02 Angus Leeming <leeming@lyx.org>
3223 * importer.C (Import):
3224 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3225 changes due to LyXView::view() now returning a boost::shared_ptr.
3227 2002-08-02 John Levon <levon@movementarian.org>
3229 * lyxlex.C: small cleanup
3231 2002-08-02 John Levon <levon@movementarian.org>
3233 * text2.C (status): small cleanup, no logic change
3235 2002-08-01 John Levon <levon@movementarian.org>
3238 * buffer.C (writeFile): don't output alerts, caller
3242 * lyx_cb.C: from above
3244 * lyxfunc.C: allow to open non-existent files
3246 2002-07-31 John Levon <levon@movementarian.org>
3248 * lyxserver.C: don't let incidental errors get
3251 2002-07-30 John Levon <levon@movementarian.org>
3253 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3255 2002-07-30 John Levon <levon@movementarian.org>
3258 * lyxserver.C: remove I/O callback too
3260 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3262 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3265 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3267 * many files: strip,frontStrip -> trim,ltrim,rtrim
3269 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3271 * PrinterParams.h: remove extern containsOnly, and include
3272 support/lstrings.h instead.
3274 * LaTeX.C (scanAuxFile): modify because of strip changes
3276 * buffer.C (makeLaTeXFile): ditto
3277 * bufferparams.C (writeFile): ditt
3278 * lyxfont.C (stateText): ditto
3279 * lyxserver.C (read_ready): ditto
3280 * vc-backend.C (scanMaster): ditto
3282 * BufferView_pimpl.h: ws changes
3284 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3286 2002-07-26 André Pönitz <poenitz@gmx.net>
3288 * kb_sequence.C: remove unnedred usings
3290 2002-07-26 Juergen Vigna <jug@sad.it>
3292 * lyxfind.C (LyXReplace): we have to check better if the returned
3293 text is not of theLockingInset()->getLockingInset().
3295 2002-07-25 Juergen Vigna <jug@sad.it>
3297 * lyxfind.C (LyXReplace): don't replace if we don't get the
3300 * undo_funcs.C (createUndo): remove debugging code.
3302 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3304 * buffer.C (parseSingleLyXformat2Token): Use default placement
3305 when reading old floats.
3307 * FloatList.C (FloatList): Change the default placement of figure
3308 and tables to "tbp".
3310 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3312 * MenuBackend.C: using std::max
3314 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3316 * MenuBackend.C (expandToc):
3317 (expandToc2): code moved from xforms menu frontend. It is now
3318 generic and TOCs are transparent to menu frontends.
3320 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3322 * toc.C (getTocList): protect against buf=0
3324 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3325 Menu as first parameter. Now, this calls itself recursively to
3326 expand a whole tree (this will be useful for TOC handling)
3327 (expandFloatInsert): remove 'wide' version of floats
3329 * MenuBackend.h (submenuname): returns the name of the submenu.
3330 (submenu): returns the submenu itself, provided it has been
3331 created by MenuBackend::expand
3333 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3335 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3336 insets which have noFontChange == true. (bug #172)
3338 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3340 * BufferView_pimpl.C: add connection objects and use them...
3343 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3345 * MenuBackend.C (expandLastfiles):
3348 (expandFloatListInsert):
3349 (expandFloatInsert):
3350 (expand): split expand in parts
3352 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3354 * lyx_gui.C: use lyx_gui::exit()
3356 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3358 * LyXAction.C: show the failing pseudo action
3360 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3362 * buffer.C (readFile): Run the lyxconvert script in order to read
3365 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3369 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3371 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3375 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3377 2002-07-22 Herbert Voss <voss@lyx.org>
3380 * lyxlength.[Ch]: add support for the vertical lengths
3382 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3384 * toc.[Ch]: std:: fixes
3386 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3388 * lyxrc.C: do not include lyx_main.h
3390 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3396 * BufferView2.C: include "lyxlex.h"
3399 * bufferparams.h: do not #include "lyxlex.h"
3401 * lyxtextclasslist.C (Add): remove method
3402 (classlist): renamed to classlist_
3404 * paragraph_pimpl.C:
3408 * bufferview_funcs.C:
3413 * toc.C (getTocList): use BufferParams::getLyXTextClass
3415 * toc.C (getTocList): use InsetFloat::addToToc
3417 * toc.[Ch]: new files, containing helper functions to handle table
3420 * lyxfunc.C (dispatch): no need to remove spaces around command
3422 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3423 first command of the sequence; it is not very clever, but I do not
3424 have a better idea, actually
3426 * LyXAction.C (LookupFunc): make sure to remove space at the
3427 beginning and end of the command
3429 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3431 * MenuBackend.C (getMenubar): new method: return the menubar of
3433 (read): treat differently reading of menu and menubar (in
3434 particular, the menubar has no name now)
3435 (Menu::menubar): remove
3437 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3440 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3442 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3443 a bibitem inset in a RTL paragraph.
3445 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3447 * paragraph_pimpl.C: constify
3449 * BufferView_pimpl.C:
3451 * lyxfunc.C: fix dispatch in a nicer way
3453 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3455 * lyxfunc.C (dispatch):
3456 * BufferView_pimpl.C:
3457 * BufferView_pimpl.h:
3459 * BufferView.h: rename Dispatch() to dispatch()
3461 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3463 * lyxlayout.C (Read): honor DependsOn tag
3465 * lyxlayout.[Ch] (depends_on): new method
3467 * version.C.in: update lyx_docversion
3469 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3471 * paragraph.C (validate): remove from here...
3472 * paragraph_pimpl.C (validate): ... and move here
3473 (isTextAt): make it const
3475 * buffer.C (getLists): ws cleanup
3477 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3479 * language.C (read): Use iso8859-1 encoding in latex_lang
3480 (this prevents LyX from crashing when using iso10646-1 encoding).
3482 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3484 * text2.C (toggleInset): if cursor is inside an inset, close the
3485 inset and leave cursor _after_ it
3487 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3489 * lyxfunc.C: move minibuffer completion handling out of here
3491 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3493 * BufferView_pimpl.C:
3494 * LaTeX.C: fix dispatch calls
3496 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3498 * text.C (drawChars): Fix Arabic text rendering.
3500 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3504 * lyxfunc.C: remove message-push/pop
3508 * lyxfunc.C: rationalise some code by removing verboseDispatch
3509 in favour of a bool argument to dispatch()
3511 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3513 * lyx_main.C (init): make sure to read symlinks as absolute paths
3515 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3518 * lyxfunc.C: no need for commandshortcut to be a member
3520 2002-07-15 André Pönitz <poenitz@gmx.net>
3522 * converter.C: add support for $$s (scripts from lib/scripts dir)
3523 * lyx_main.C: white space
3525 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3529 * lyxrc.C: remove second exit confirmation
3531 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3536 * BufferView_pimpl.h:
3537 * BufferView_pimpl.C:
3538 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3540 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3542 * MenuBackend.C (expand): add numeric shortcuts to document menu
3544 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3546 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3548 * lyxfont.C (setLyXFamily):
3555 * buffer.C (asciiParagraph): use ascii_lowercase
3557 2002-07-15 Mike Fabian <mfabian@suse.de>
3559 * lyxlex_pimpl.C (search_kw):
3560 * lyxlex.C (getLongString):
3561 * converter.h (operator<):
3562 * converter.C (operator<):
3563 * buffer.C (parseSingleLyXformat2Token):
3565 * ToolbarDefaults.C (read):
3566 * MenuBackend.C (checkShortcuts):
3568 * LColor.C (getFromGUIName):
3569 (getFromLyXName): use the compare_ascii_no_case instead of
3570 compare_no_case, because in turkish, 'i' is not the lowercase
3571 version of 'I', and thus turkish locale breaks parsing of tags.
3573 2002-07-16 Angus Leeming <leeming@lyx.org>
3575 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3576 now takes a Buffer const & argument.
3578 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3580 * BufferView.C (resize): check there's a buffer to resize
3582 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3584 * lyxfunc.C: remove dead code
3587 * lyxserver.C: use lyx_guii::set_read_callback
3589 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3591 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3592 an inset in a RTL paragraph.
3594 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3596 * lyxfunc.C: repaint after a font size update
3598 2002-07-15 André Pönitz <poenitz@gmx.net>
3600 * lyxlength.C: inBP should be able to return negative values
3602 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3604 * lyxfunc.C: use lyx_gui::update_fonts()
3606 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3608 * lyxfunc.C: use lyx_gui::update_color()
3610 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3616 * lyxrc.C: remove file->new asks for name option, and let
3617 buffer-new take an argument
3619 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3621 * BufferView_pimpl.C: remove unneeded extra repaint()
3623 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3625 * LyXAction.C: allow command-sequence with NoBuffer
3627 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3629 2002-07-10 Angus Leeming <leeming@lyx.org>
3631 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3633 2002-07-09 Angus Leeming <leeming@lyx.org>
3635 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3637 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3639 * lengthcommon.h: whitespace
3641 * lyxfunc.C: update scrollbar after goto paragraph
3643 * lyxtext.h: factor out page break drawing, and fix it so
3644 page break/added space paints as selected nicely
3646 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3648 * BufferView_pimpl.C: add FIXMEs, clean up a little
3650 2002-07-09 André Pönitz <poenitz@gmx.net>
3652 * lyxfont.[Ch]: support for wasy symbols
3654 2002-07-08 André Pönitz <poenitz@gmx.net>
3656 * BufferView_pimpl.C: apply John's patch for #93.
3658 2002-07-05 Angus Leeming <leeming@lyx.org>
3660 * BufferView_pimpl.C (buffer): generate previews if desired.
3662 * LColor.h: add "preview" to the color enum.
3664 * LColor.C (LColor): add a corresponding entry to the items array.
3666 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3669 2002-07-05 Angus Leeming <leeming@lyx.org>
3671 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3672 The body of the code is now in the method that is passed an ostream &
3673 rather than a file name.
3674 Pass an additional only_preamble parameter, useful for the forthcoming
3677 2002-07-03 André Pönitz <poenitz@gmx.net>
3679 * lyxfunc.C: simplify getStatus() a bit for math stuff
3681 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3683 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3685 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3687 * text.C (changeRegionCase): do not change case of all the
3688 document when region ends at paragraph end (bug #461)
3690 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3692 * paragraph.C (startTeXParParams):
3693 (endTeXParParams): add \protect when necessary
3695 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3697 * BufferView_pimpl.C (workAreaExpose): remove warning
3699 2002-06-27 Angus Leeming <leeming@lyx.org>
3701 * Makefile.am: add lyxlayout_ptr_fwd.h.
3703 2002-06-26 André Pönitz <poenitz@gmx.net>
3705 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3707 2002-06-25 Angus Leeming <leeming@lyx.org>
3709 * lyxfunc.C (dispatch): Comment out the call to
3710 grfx::GCache::changeDisplay. The method no longer exists now that the
3711 pixmap generation part of the graphics loader has been moved into
3714 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3716 * text2.C: layout as layout
3718 * text.C: layout as layout
3720 * tabular.C (OldFormatRead): layout as layout
3722 * paragraph_pimpl.C (TeXDeeper): layout as layout
3723 (realizeFont): layout as layout
3725 * paragraph.C (writeFile): layout as layout
3726 (validate): layout as layout
3727 (getFont): layout as layout
3728 (getLabelFont): layout as layout
3729 (getLayoutFont): layout as layout
3730 (breakParagraph): layout as layout
3731 (stripLeadingSpaces): layout as layout
3732 (getEndLabel): layout as layout
3733 (getMaxDepthAfter): layout as layout
3734 (applyLayout): layout as layout
3735 (TeXOnePar): layout as layout
3736 (simpleTeXOnePar): layout as layout
3737 (TeXEnvironment): layout as layout
3738 (layout): layout as layout
3739 (layout): layout as layout
3741 * lyxtextclass.C (compare_name): new functor to work with
3742 shared_ptr, layout as layout
3743 (Read): layout as layout
3744 (hasLayout): layout as layout
3745 (operator): layout as layout
3746 (delete_layout): layout as layout
3747 (defaultLayout): layout as layout
3749 * lyxlayout_ptr_fwd.h: new file
3751 * lyxlayout.C (Read): layout as layout
3753 * lyx_cb.C (MenuInsertLabel): layout as layout
3755 * bufferlist.C (newFile): layout as layout
3757 * buffer.C (readLyXformat2): layout as layout
3758 (parseSingleLyXformat2Token): layout as layout
3759 (insertStringAsLines): layout as layout
3760 (asciiParagraph): layout as layout
3761 (latexParagraphs): layout as layout
3762 (makeLinuxDocFile): layout as layout
3763 (simpleLinuxDocOnePar): layout as layout
3764 (makeDocBookFile): layout as layout
3765 (simpleDocBookOnePar): layout as layout
3766 (getLists): layout as layout
3768 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3770 * CutAndPaste.C (cutSelection): layout as layout
3771 (pasteSelection): layout as layout
3772 (SwitchLayoutsBetweenClasses): layout as layout
3774 * BufferView_pimpl.C (Dispatch): layout as layout
3775 (smartQuote): layout as layout
3777 * BufferView2.C (unlockInset): layout as layout
3779 2002-06-24 André Pönitz <poenitz@gmx.net>
3781 * lyxfunc.C: fix #487
3783 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3787 * lyxfunc.C: remove display_shortcuts, show_banner
3789 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3791 * Buffer_pimpl.C: oops, update on resize
3793 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3800 * BufferView.C: use repaint()
3802 * BufferView_pimpl.h:
3803 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3804 as it's a clearer description. Remove superfluous
3807 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3809 * text.C: fix bug 488. Not ideal, but getting
3810 getWord() to work properly for the insets that
3811 matter is more difficult ...
3813 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3815 * BufferView_pimpl.C:
3818 * lyxfunc.C: remove the six million index lyxfuncs to just
3819 one, and DTRT (bug 458)
3821 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3825 * BufferView_pimpl.h:
3826 * BufferView_pimpl.C: clean up resize() stuff,
3827 and unnecessary updateScreen()s
3829 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3833 * BufferView_pimpl.h:
3834 * BufferView_pimpl.C:
3837 * minibuffer.C: remove focus management of workarea,
3838 not needed. Use screen's greyOut()
3840 2002-06-17 Herbert Voss <voss@lyx.org>
3842 * converter.C: (convert) do not post a message, when converting
3843 fails, let the calling function decide what to do in this case
3845 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3847 * lyxfunc.C: tidy up a little
3849 2002-06-16 <alstrup@diku.dk>
3851 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3852 Got rid of FORMS_H_LOCATION include. Now we are
3855 2002-06-15 LyX Development team <lyx@rilke>
3857 * buffer.[Ch] (sgmlOpenTag):
3858 (sgmlCloseTag): Added support for avoiding pernicious mixed
3859 content. Return number of lines written.
3862 (makeDocBookFile): Fixed calls to sgml*Tag.
3863 Simple white space clean.
3865 (simpleDocBookOnePar): Simple white space clean.
3867 * tabular.[Ch] (docBook): Renamed to docbook and got another
3868 argument to related with the pernicious mixed content.
3870 (docbookRow): Fixed calls for docbook inset method.
3872 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3874 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3875 so it's X11 independent.
3879 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3881 2002-06-15 Lyx Development team <lyx@electronia>
3883 * intl.h: Renamed getTrans to getTransManager.
3885 2002-06-14 Angus Leeming <leeming@lyx.org>
3887 * Makefile.am: nuke forgotten stl_string_fwd.h.
3889 2002-06-12 Angus Leeming <leeming@lyx.org>
3891 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3893 2002-06-13 Angus Leeming <leeming@lyx.org>
3896 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3898 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3900 * kbmap.C (getiso): add support for cyrillic and greek
3902 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3906 * BufferView_pimpl.h:
3907 * BufferView_pimpl.C: move bogus scrolling logic
3910 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3913 * BufferView_pimpl.C: view->resize() change
3915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3917 * BufferView_pimpl.C: topCursorVisible
3920 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3924 * lyx_gui.C: move to frontends/
3928 * lyx_main.C: changes from above
3930 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3937 * lyx_main.C: minor tidy
3939 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3941 * BufferView_pimpl.h:
3942 * BufferView_pimpl.C:
3944 * BufferView.C: make painter() const,
3947 * BufferView2.C: use screen() accessor
3950 * lyx_main.C: some minor cleanup
3952 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3954 * BufferView_pimpl.h:
3955 * BufferView_pimpl.C: remove enter/leaveView,
3958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3963 * BufferView_pimpl.h:
3964 * BufferView_pimpl.C: only construct screen once,
3967 * lyxrc.C: remove pointless comment
3969 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3972 * BufferView.C: remove active() and belowMouse()
3974 * BufferView_pimpl.h:
3975 * BufferView_pimpl.C: use workarea() not workarea_,
3976 and make it use a scoped_ptr instead
3978 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3980 * lyx_gui.C: add debug message on BadWindow
3982 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3984 * sp_spell.C: fdopen is not part of the C++ standard.
3986 * paragraph.C (InsetIterator): use >= instead of ==
3988 2002-06-07 Angus Leeming <leeming@lyx.org>
3990 Fixes needed to compile with Compaq cxx 6.5.
3991 * BufferView_pimpl.C:
3998 * lyxtextclasslist.C:
4003 all c-library variables have been moved into namespace std. Wrap
4004 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4009 Add a using std::abs declaration.
4011 * kbmap.h (modifier_pair):
4012 * paragraph.h (InsetTable, InsetList):
4013 * lyxfont.h (FontBits):
4014 type definition made public.
4016 * bufferlist.C (emergencyWriteAll): the compiler complains that
4017 there is more than one possible lyx::class_fun template to choose from.
4018 I re-named the void specialisation as lyx::void_class_fun.
4020 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
4022 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
4023 the compiler is is unable to find tostr in write_attribute.
4025 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4027 * buffer.C (sgmlError): hide #warning
4029 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4031 * xtl/*: get rid of xtl, which is not in use anyway
4033 * LyXAction.C (init):
4034 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
4035 were unimplemented xtl experimentation
4037 2002-06-04 André Pönitz <poenitz@gmx.net>
4039 * lyxfunc.C: disable array operation on simple formulae
4041 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
4043 * converter.C: constify a bit
4045 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
4047 * lyx_gui.C: check xforms version correctly
4049 2002-04-30 Herbert Voss <voss@lyx.org>
4051 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
4054 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
4056 * lyxvc.C: fix bug 416 (make sure buffer is saved before
4057 attempt to register it with a VCS)
4059 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4061 * lyx_main.C (init): honor variables LYX_DIR_13x and
4064 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4068 * lyx_main.C: fix a crash on bad command line,
4069 and give a useful exit status on error
4071 * lyxfunc.C (doImport): allow -i lyx to work
4073 2002-03-30 André Pönitz <poenitz@gmx.net>
4075 * lyxfunc.C: mathed font changes
4077 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4092 * trans_mgr.h: srcdocs, and some minor cleanups
4094 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4096 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4097 call getFont all the time)
4099 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4101 * switch from SigC signals to boost::signals
4103 2002-05-29 André Pönitz <poenitz@gmx.net>
4105 * paragraph_pimpl.C (getChar): don't call size() too often...
4107 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4109 * paragraph_pimpl.C (insertChar): do not try to update tables when
4110 appending (pos == size())
4112 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4113 in order to reduce drastically the number of comparisons needed to
4114 parse a large document
4116 2002-05-29 André Pönitz <poenitz@gmx.net>
4122 * textclasslist.[Ch]:
4123 * sp_ispell.h: whitespace change
4125 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4127 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4128 lyxaction directly now.
4130 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4134 * lyxvc.C: remove unused headers
4136 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4143 * undo_funcs.C: some cleanups. Use shared_ptr
4144 and a template for the undo stacks.
4146 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4148 * BufferView_pimpl.h:
4149 * BufferView_pimpl.C:
4156 * text2.C: use key_state/mouse_state
4158 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4160 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4163 * chset.C: change include order
4164 (loadFile): use boost regex and get rid of LRegex and LSubstring
4166 * Makefile.am (BOOST_LIBS): new variable
4169 * LaTeX.C: change include order.
4170 (scanAuxFile): use boost regex and get rid of LRegex and
4174 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4179 * FontInfo.C: moved to frontends/xforms/
4182 * FontLoader.C: moved into frontends for GUIIzation
4187 * lyxfunc.C: changes from above
4189 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4191 * LColor.C: remove spurious X include
4193 * BufferView_pimpl.C:
4198 * text2.C: move font metrics to frontends/
4200 2002-05-24 Juergen Vigna <jug@sad.it>
4202 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4203 setting the undo_cursor.
4205 * ParagraphParameters.h: include local includes first.
4207 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4209 * BufferView_pimpl.C:
4210 * BufferView_pimpl.h:
4214 * screen.C: move WorkArea into frontends/
4220 * BufferView2.C: move LyXScreen into frontends/
4224 * lyx_gui.C: move lyxlookup into frontends/xforms/
4226 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4229 * BufferView_pimpl.C:
4239 * bufferview_funcs.C:
4252 * vc-backend.C: move LyX/XFormsView into frontends/
4254 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4266 * text2.C: move Painter to frontends/
4268 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4270 * buffer.C: comment out some some code that depend upon lyx_format
4273 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4274 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4276 * buffer.h (NO_COMPABILITY): turn off compability
4278 * ColorHandler.C: include scoped_array.hpp
4280 * font.C: Use more specific smart_ptr header.
4283 * ShareContainer.h: ditto
4287 * BufferView_pimpl.h: ditto
4288 * ColorHandler.h: ditto
4290 * kbmap.C (defkey): change call to shared_ptr::reset
4292 2002-05-21 Juergen Vigna <jug@sad.it>
4294 * buffer.C (insertErtContents): fix to insert ert asis if it is
4295 non empty. Skip it completely if it contains only whitespaces.
4297 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4299 * BufferView_pimpl.C:
4300 * BufferView2.C: clear selection on paste (bug 393)
4302 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4304 * DepTable.C: include ctime
4306 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4308 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4310 2002-05-14 Juergen Vigna <jug@sad.it>
4312 * text.C (breakParagraph): fixed function to honor the keepempty
4313 layout in the right maner and also to permit the right breaking
4314 algorithm on empty or non empyt keepempty paragraphs.
4316 * paragraph.C (breakParagraph): we have to check also if the par
4317 is really empty (!size()) for isempty otherwise we do the wrong
4320 2002-05-10 Juergen Vigna <jug@sad.it>
4322 * buffer.[Ch] : The following are only changes to the ert
4323 compatibility read reading old LaTeX layout and font stuff and
4324 convert it to ERTInsets.
4326 * buffer.h: added isErtInset().
4328 * buffer.C (struct ErtComp): add a fromlayout bool to check
4329 if we're inside a LaTeX layout.
4330 (isErtInset): new helper function.
4331 (insertErtContents): look for other ert insets before this one
4332 and insert the contents there, so that we don't have subsequent
4333 ERT insets with nothing between them. This way we create only one
4334 inset with multiple paragraphs. Also check if we don't insert only
4335 spaces ' ' as they are ignored anyway afterwards in the .tex file
4336 so if we have only spaces we will ignore this latex part in the
4338 (parseSingleLyXformat2Token \\layout): better compatibility when
4339 reading layout-latex stuff.
4340 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4342 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4343 stuff after reading the inset only get the information back from
4346 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4348 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4350 * LaTeXFeatures.C (getBabelOptions): New method.
4352 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4354 * BufferView_pimpl.C (Dispatch): work around missing argument for
4357 2002-05-08 Juergen Vigna <jug@sad.it>
4359 * text.C (leftMargin): handle paragraph leftindent.
4361 * paragraph.C (writeFile): write the new \\leftindent tag.
4362 (validate): handle leftindent code.
4363 (TeXEnvironment): handle paragraphleftindent code again.
4365 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4367 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4368 for paragrap_extra indent code and new token \\leftindent.
4369 (latexParagraphs): handle the leftindent as environment.
4371 * ParameterStruct.h: added leftindent support.
4373 * ParagraphParameters.C (leftIndent): added support functions for
4374 the paragraph left indent.
4376 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4379 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4381 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4384 * text.C (computeBidiTables): No bidi in insetERT.
4386 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4389 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4391 * version.C.in: pre 5
4393 2002-05-02 José Matos <jamatos@fep.up.pt>
4394 * buffer.C (makeDocBookFile): white space changes, add newline to
4396 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4398 * tabular.C (docBook): fix typo.
4400 2002-05-03 Juergen Vigna <jug@sad.it>
4402 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4403 change in LyXText as we can not be sure it was not freed.
4404 (drawOneRow): remove unused code.
4406 * text.C (drawInset): redo the calculation of the need_break_row as
4407 it could have a row which was already freed.
4408 (draw): look at the return value of drawInset and return false if
4409 it also returned false.
4410 (paintRowText): look at the return value of draw and return false if
4411 it also returned false.
4413 * lyxtext.h: added bool return type to drawInset() and draw() so that
4414 if we have a change in the row so that the rowbreak has to be redone
4415 we abort drawing as it will be called again.
4417 2002-05-02 Juergen Vigna <jug@sad.it>
4419 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4420 a change in the maintext also if we're inside an inset.
4421 (Dispatch): set the cursor again after a break line and after the
4422 screen has been updated as it could be we're in a different row.
4424 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4425 to set the cursor behind the pargraph with > size().
4426 (setCursor): check also for the same paragraph when checking where
4427 to put the cursor if we have a NFR inset.
4429 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4430 parts of layout read further up as it still was in the wrong
4433 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4435 * screen.C (drawFromTo): change sine fullRebreak always return
4438 * buffer.C (parseSingleLyXformat2Token): reindent some
4440 * BufferView_pimpl.C (update): change since fullRebreak always
4442 (Dispatch): git rid of the last hardcoded "Standard"s.
4444 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4446 * text2.[Ch] (fullRebreak): make it return void now that we always
4449 2002-04-30 Juergen Vigna <jug@sad.it>
4451 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4452 ert compatibility check for "latex" layout.
4454 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4456 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4457 minipages: use col% instead of p%, and also use the current font.
4458 (makeLaTeXFile): Fix use babel condition.
4459 (parseSingleLyXformat2Token): Correct font when reading old floats.
4461 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4463 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4464 inserting list of floats.
4466 2002-04-25 Herbert Voss <voss@lyx.org>
4468 * MenuBackend.C (expand): don't add the graphics extensions to the
4471 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4473 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4474 non-existing layout, do not complain if it was the default layout
4475 of the original class (bug #342)
4477 2002-04-24 Juergen Vigna <jug@sad.it>
4479 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4480 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4482 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4484 * buffer.C (getBibkeyList): If using \bibliography, return the
4485 option field with the reference itself. Enables us to provide natbib
4486 support when using \bibliography.
4488 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4490 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4492 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4493 natbib is provided by the LaTeX class.
4495 2002-04-23 Juergen Vigna <jug@sad.it>
4497 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4500 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4502 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4504 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4506 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4507 ensuremath around textordmasculine, textordfeminine and
4510 2002-04-19 Juergen Vigna <jug@sad.it>
4512 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4513 reinitializing the buffer otherwise row-dimensions may be wrong.
4514 (update): reset also the selection cursors if they do exits otherwise
4515 their x/y positions may be wrong.
4517 * text2.C (cursorDown): don't enter the inset if we came from a row
4518 above and are one row over the inset.
4520 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4521 really leaving an inset.
4523 2002-04-18 Juergen Vigna <jug@sad.it>
4525 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4526 of the selected paragraph does not have the selected layout also if
4529 * text2.C (setLayout): fixed bug which did not change last selected
4532 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4533 changed the read and substituted \\end_float with \\end_inset!
4535 * BufferView_pimpl.C (cursorPrevious):
4536 (cursorNext): fixed to make it work with rows heigher than the work
4537 area without moving the cursor only the draw of the row.
4538 (workAreaMotionNotify): fix jumping over high rows.
4540 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4542 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4545 2002-04-16 Juergen Vigna <jug@sad.it>
4547 * text2.C (setCursor): set also the irow().
4548 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4550 (cursorDown): support for locking an inset if the x_fix value goes
4551 inside it. That way I can transverse insets too with cursor up/down.
4553 * lyxrow.h: added irow helper function same as other (i) functions.
4555 * BufferView_pimpl.C (cursorPrevious):
4556 (cursorNext): fixed for insets!
4558 2002-04-15 Juergen Vigna <jug@sad.it>
4560 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4561 position otherwise it is wrong in some cases.
4563 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4564 inside the inset before the call.
4566 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4568 * buffer.[Ch] (getBibkeyList): make it const.
4570 2002-04-12 Juergen Vigna <jug@sad.it>
4572 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4574 * text2.C (getCursorX): new helper function
4575 (setCursor): compute also ix_
4576 (setCursorFromCoordinates): set also ix.
4578 * lyxcursor.h: added ix_ and helper functions.
4580 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4582 * buffer.C (insertStringAsLines): dont break paragraph if the this
4583 paragraph is inside an inset which does not permit it!
4585 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4586 also with no chars on this paragraph.
4587 (paintRowText): only paint stuff if it's inside the workarea!
4589 * paragraph.C (breakParagraph): honor keepempty flag and break the
4590 paragraph always below not above.
4592 * BufferView2.C (unlockInset): update the paragraph layout on inset
4593 unlock as we changed paragraph in such a case.
4595 * lyxfind.C (LyXFind): clear the former selection if not found!
4597 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4598 again called in insertChar().
4600 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4601 an inset which uses the whole row!
4602 (rightMargin): ditto.
4603 (insertChar): force a rebreak if we inserted an inset!
4605 2002-03-28 Herbert Voss <voss@lyx.org>
4607 * lyxlength.[Ch]: add inBP() to get the right PS-point
4608 units (BigPoint). With inPixels we have rounding errors
4610 2002-04-11 Juergen Vigna <jug@sad.it>
4612 * text2.C (setCursorFromCoordinates): set iy to the right value.
4613 (setCursor): add check if row->previous exists!
4615 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4616 an old float_type as this was the case in the old code!
4618 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4620 * BufferView2.C (showLockedInsetCursor): use iy
4621 (fitLockedInsetCursor): ditto
4623 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4624 locked insets as there we have the right value now.
4626 * lyxcursor.C: added iy_ variable and iy functions to set to the
4627 baseline of cursor-y of the locked inset.
4629 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4630 (setCursor): fixed for insets which need a full row.
4632 * text.C (rowLastPrintable): don't ignore the last space when before
4633 an inset which needs a full row.
4634 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4635 as last character of a row when before a inset which needs a full row.
4637 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4639 * version.C.in: update date
4641 * text2.C (fullRebreak): try to always return true and see what
4644 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4646 * MenuBackend.C (expand): use Floating::listName
4648 * FloatList.C (FloatList): add listName argument to the built-in
4651 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4652 text associated with the float.
4654 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4656 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4658 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4660 * ShareContainer.h: add a couple of missing typenames.
4662 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4664 * lyxrc.C (getDescription): use _() correctly rather than N_().
4666 2002-03-28 Herbert Voss <voss@lyx.org>
4668 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4669 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4671 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4673 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4674 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4676 2002-03-29 Juergen Vigna <jug@sad.it>
4678 * lyxfunc.C (dispatch): add a missing fitCursor call.
4680 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4681 it was scrolled by a cursor move, so return the bool status.
4683 * BufferView.C (fitCursor): return the bool flag also to the outside
4684 world as this is needed.
4686 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4688 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4689 call the edit() as it is not needed (and wrong) IMO.
4690 (workAreaButtonPress): set the screen_first variable before evt.
4691 unlock the inset as this may change screen_first and then we have
4692 a wrong y position for the click!
4694 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4696 * MenuBackend.C (expand): another translation that I missed
4698 2002-03-28 Juergen Vigna <jug@sad.it>
4700 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4702 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4704 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4706 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4708 * MenuBackend.C (expand): fix export/view/update when there is no
4711 2002-03-27 Herbert Voss <voss@lyx.org>
4713 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4716 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * bufferview_funcs.C (currentState): only show paragraph number
4719 for is DEVEL_VERSION is set.
4721 * lyxfunc.C (dispatch): put warning in INFO channel
4723 * MenuBackend.C (expand): translate the name of floats
4725 * FloatList.C (FloatList): mark the float names for translation
4727 * converter.C (convert): use LibScriptSearch
4729 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4731 * MenuBackend.C (defaults): fix default menu (we might as well get
4734 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4736 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4739 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4741 * lyxvc.C: reorder includes.
4743 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4745 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4748 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4750 * CutAndPaste.C: change layouts earlier on paste
4751 to avoid crashing when calling getFont()
4753 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4755 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4758 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4760 * WorkArea.C: remove 'Pending' debug message.
4762 * most files: ws cleanup
4764 * buffer.[Ch]: ws changes
4766 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4768 2002-03-21 Juergen Vigna <jug@sad.it>
4770 * tabular.C (SetMultiColumn): collapse also the contents of the
4771 cells and set the last border right. Added a Buffer const * param.
4773 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4775 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4778 2002-03-19 Juergen Vigna <jug@sad.it>
4780 * text2.C (clearSelection): reset also xsel_cache.
4782 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4783 where it needs to be called (John tells us to do so too :)
4784 (selectionLost): reset sel_cache.
4786 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4788 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4790 * text2.C (setCursorIntern): put debuging code in INSETS channel
4792 2002-03-19 André Pönitz <poenitz@gmx.net>
4794 * lyxfunc.C: tiny whitespace change
4796 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4798 * ToolbarDefaults.C (init):
4799 * LyXAction.C (init):
4801 * BufferView_pimpl.C (Dispatch):
4802 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4804 2002-03-19 Allan Rae <rae@lyx.org>
4806 * exporter.C (Export): removeAutoInsets before doing anything else.
4807 While I've just introduced a dependency on BufferView this really is
4808 the best place to clean the buffer otherwise you need to cleanup in
4809 a dozen places before calling export or cleanup in a dozen functions
4812 * converter.C (runLaTeX):
4813 (scanLog): Better handling of removeAutoInsets and screen updates.
4815 * lyxfunc.C (dispatch): small whitespace changes
4817 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4819 * WorkArea.C (C_WorkAreaEvent): return a value.
4820 (event_cb): return 1 if we handled the event, 0 otherwise.
4822 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4824 2002-03-18 Juergen Vigna <jug@sad.it>
4826 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4827 (GetAdditionalWidth): ditto.
4831 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4832 inset if we're there actually (probably not used right now but this
4833 is the direction to go for unifying code).
4834 (paste): disable code to clear the selection.
4836 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4837 inside an InsetText and move the check further up as it is in the
4840 * text2.C (pasteSelection): set a selection over the pasted text.
4842 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4844 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4845 and libgraphics to build on Cygwin.
4847 2002-03-15 Juergen Vigna <jug@sad.it>
4849 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4850 inserting an Inset into the paragraph. I know this is not the best
4851 fix but we already use current_view in CutAndPaste so we will remove
4852 all of it's using at the same time.
4854 * buffer.C (sgmlError): deactivated function till it is rewritten in
4855 the right mode, now it can create problems.
4857 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4858 before accessing it.
4860 2002-03-14 Juergen Vigna <jug@sad.it>
4862 * undo_funcs.C (textHandleUndo): do the right thing when updating
4863 the inset after the undo/redo.
4865 * text2.C (setCursor): just some testcode for #44 not ready yet.
4867 * undo_funcs.C (textHandleUndo): set the next() and previous()
4868 pointers of the paragraph to 0 before deleting otherwise we have
4869 problems with the Paragraph::[destructor].
4871 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4872 on a paragraph insertion.
4874 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4876 * buffer.C (asciiParagraph): use += operator for char append to
4879 * paragraph.C (getFontSettings): compare >= not just >
4880 (highestFontInRange): ditto
4883 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4885 * paragraph.C: change several algorithm to be more appripriate for
4886 the problem domain. This is lookip in FontList and in the InsetList.
4888 2002-03-13 André Pönitz <poenitz@gmx.net>
4891 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4893 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4898 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4900 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4902 * Painter.C (display): anon helper function, adjust code for this
4904 (pixmap): remove function.
4906 * Painter.h: remove private display variable.
4908 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4910 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4912 * WorkArea.[Ch]: remove figinset_canvas cruft.
4914 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4916 * lyxtextclass.C (operator): add one item cache optimization.
4918 * bufferlist.h: doxy changes
4920 * bufferlist.C: ws changes
4922 * DepTable.[Ch] (ext_exist): place const in the right spot.
4924 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4926 (workAreaExpose): call resizeInsets when the with BufferView changes.
4927 (Dispatch): adjust for protectedBlank removal
4928 (specialChar): call updateInset if the insert went ok.
4930 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4931 specialChar instead.
4933 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4935 * BufferView.h: doxy change
4937 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4939 * lyxtextclass.C (operator[]): remove non-const version
4940 (defaultLayout): remove non-const version
4942 2002-03-12 Juergen Vigna <jug@sad.it>
4944 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4945 did resize the LyXText too.
4947 * buffer.C (readLyXformat2): set layout information on newly allocated
4950 * tabular.C (OldFormatRead): set layout information on the paragraph.
4952 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4954 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4956 2002-03-11 Juergen Vigna <jug@sad.it>
4958 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4960 (resizeCurrentBuffer): force also the insets to resize themselfes.
4961 (moveCursorUpdate): fixed up for InsetText.
4963 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4966 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4967 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4968 value of Dialogs::tooltipsEnabled().
4969 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4971 2002-03-08 Juergen Vigna <jug@sad.it>
4973 * BufferView_pimpl.C (updateInset): update inset inside inset also
4974 if it isn't inside theLockingInset().
4976 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4978 * buffer.C (asciiParagraph): redo some of the word and line length
4980 (getLists): look for Caption instead of caption.
4982 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4984 * buffer.C (Buffer): initialize niceFile to true
4987 (makeDocBookFile): make sure niceFile is true on exit
4989 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4991 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4993 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4995 * LyXSendto.C: remove.
4996 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4997 * lyx_gui.C: remove now-redundant comment.
4998 * ColorHandler.h: remove forward declaration of class WorkArea.
4999 * lyxfunc.C: remove #include "WorkArea.h".
5001 2002-03-07 Juergen Vigna <jug@sad.it>
5003 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
5004 got moved away with the DEPM and also set the inset_owner always
5005 right which before could have been omitted.
5007 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5009 * buffer.C (parseSingleLyXformat2Token): use default layout is the
5010 wanted layout is not found.
5012 2002-03-07 Juergen Vigna <jug@sad.it>
5014 * CutAndPaste.C (cutSelection): another layout settings forgotten.
5016 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5018 * paragraph.C (breakParagraph): use default layout not layout of
5020 (Paragraph): clear ParagraphParameters.
5022 2002-03-06 Juergen Vigna <jug@sad.it>
5024 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
5025 otherwise it would not be a valid lenght. Fixed a special case in
5026 the minipage compatibility read where we end the document with a
5029 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
5030 was set as it could be 0 for InsetTexts first entry.
5032 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5034 * paragraph.C (writeFile): if layout is empty write out
5035 defaultLayoutName().
5037 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
5038 file without named layout we set layout to defaultLayoutName().
5040 2002-03-06 Juergen Vigna <jug@sad.it>
5042 * CutAndPaste.C (copySelection): set layout for new paragraph.
5044 * text.C (prepareToPrint): leave ERT inset left aligned
5045 (leftMargin): don't indent paragraphs inside ERT insets
5047 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5049 * paragraph.C (breakParagraph): dont call clear do the work manually
5051 * paragraph.[Ch] (clear): remove function
5053 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5055 * paragraph.C (Paragraph): dont call clear, the work has already
5058 * lyxtextclass.C (operator): assert if n is empty
5060 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
5061 work manually instead.
5063 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5065 * BufferView_pimpl.C: protect selectionLost against text == 0
5067 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5069 * text.C (breakParagraph): fix a setting layout to '0' problem.
5071 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5073 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
5074 final location of file, for the included files, and graphics.
5076 2002-03-05 Juergen Vigna <jug@sad.it>
5078 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
5080 2002-03-04 Juergen Vigna <jug@sad.it>
5082 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
5084 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
5085 last column of multicolumn cells.
5086 (SetWidthOfMulticolCell): recalculate NMC and real columns.
5088 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5090 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
5091 file if it doesn't go to a temporary file.
5093 * buffer.C (sgmlOpenTag):
5094 (sgmlCloseTag): remove extra newline insertion.
5096 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5098 * text.C (getRowNearY): comment out debug msg
5100 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5102 * text2.C: first -> first_y
5104 * text.C (getRowNearY): add some attemts at a possible
5105 optimization, not working.
5107 * tabular.[Ch]: add BufferParams to several function so that newly
5108 created paragraph can be initialized to he default layotu for the
5111 * tabular-old.C (ReadOld): add buf->params to call of Init
5113 * screen.C: rename text->first to text->first_y
5115 * paragraph.C (breakParagraph): always set layout in the broken
5118 * lyxtextclass.C (Read): remove lowercase
5121 (delete_layout): ditto
5123 * lyxtext.h: rename first -> first_y
5125 * lyxlayout.C (Read): remove lowercase
5128 (obsoleted_by): ditto
5130 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5132 * buffer.C (insertErtContents): add params are to InsetERT
5133 (parseSingleLyXformat2Token): add code to check if a paragraphs
5134 layout really exist.
5135 (parseSingleLyXformat2Token): add params to several inset
5137 (asciiParagraph): remove lowercase, do the layout comparisons with
5140 * BufferView_pimpl.C (cursorNext): first -> first_y
5141 (resizeCurrentBuffer): first -> first_y
5142 (updateScrollbar): first -> first_y
5143 (scrollCB): first -> first_y
5144 (workAreaMotionNotify): first -> first_y
5145 (workAreaButtonPress): first -> first_y
5146 (checkInsetHit): first -> first_y
5147 (cursorPrevious): first -> first_y
5148 (cursorNext): first -> first_y
5149 (Dispatch): add buffer_->params to severl inset contructors
5151 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5153 * lyxlayout.C (Read): remove some debug info that I forgot.
5155 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5156 clean up the code slightly.
5157 (makeLinuxDocFile): ditto
5158 (makeDocBookFile): ditto
5160 * text2.C: layout as string
5162 * text.C: layout as string
5164 * paragraph_pimpl.C: layout as string
5166 * paragraph.[Ch]: layout as string
5168 * lyxtextclasslist.[Ch]: layout as string
5170 * lyxtextclass.[Ch]: layout as string
5172 * lyxtext.h: layout as string
5174 * lyxlayout.[Ch]: layout as string
5176 * lyx_cb.C: layout as string
5178 * bufferview_funcs.C: layout as string
5180 * bufferparams.C: layout as string
5182 * buffer.C: layout as string
5184 * LyXView.[Ch]: layout as string
5186 * LaTeXFeatures.[Ch]: layout as string
5188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5190 * BufferView_pimpl.C: change current_layout to string, remove
5195 (workAreaButtonRelease): layout as string
5197 * BufferView2.C (unlockInset): adjust
5199 * vspace.C (asLatexCommand): use an explict temp variable.
5201 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5203 * Makefile.am: use FRONTEND_*
5205 2002-03-01 Juergen Vigna <jug@sad.it>
5207 * tabular.C (SetWidthOfMulticolCell): changed to something better
5208 I hope but still work in progress.
5209 (recalculateMulticolumnsOfColumn): renamed function from
5210 recalculateMulticolCells as it is more appropriate now.
5211 (SetWidthOfCell): calculate multicols better.
5213 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5217 * lyxfunc.C (processKeySym): print sequence also if it is
5218 `deleted' (complete)
5220 * kbsequence.C (print): print sequence even if it is deleted
5221 (complete would be a better word, actually).
5223 * lyxfunc.C (dispatch): print complete options after a prefix key
5225 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5227 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5229 * text2.C (setCharFont): eliminate setCharFont code duplication.
5231 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5233 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5234 LFUN_TABULAR_FEATURE (bug #177)
5236 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5238 * Makefile.am: remove figure.h
5240 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5242 * Bufferview_pimpl.C:
5254 * text2.C: remove #include "lyx_gui_misc.h".
5256 * LaTeX.C: added #include <cstdio>
5258 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5261 that the paragraph following this one can have.
5263 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5265 * vspace.C (asLatexCommand): fix bogus gcc warning
5267 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5269 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5271 * text2.C (setLayout): get rid of redundant code
5273 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5275 * text2.C (incDepth): make sure depth cannot be increased beyond
5278 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5280 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5281 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5283 * PainterBase.h (image):
5284 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5287 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5291 * BufferView_pimpl.C:
5292 * BufferView_pimpl.h:
5312 * sp_spell.C: remove fig inset, and the crap house of
5313 cards that follows it
5315 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5321 * nt_defines.h: move .h into support/
5323 * vms_defines.h: remove
5325 * WorkArea.C: add space in debug output
5329 * buffer.C: add WITH_WARNINGS
5333 * bufferlist.C: s/retrive/retrieve/, add docs
5344 * lyxgui.C: add ID to X error handler
5346 * lyxtestclass.c: fix typo
5348 2002-02-26 Juergen Vigna <jug@sad.it>
5350 * tabular_funcs.C (write_attribute): changed so that some default
5351 attributes are not written at all.
5352 (getTokenValue): set default values before trying to read the
5353 value so we have the return value always set as default if we don't
5354 find the token we search for.
5356 * tabular.C (Write): write bools as bools not as strings!
5358 2002-02-22 Juergen Vigna <jug@sad.it>
5360 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5361 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5363 * text.C (leftMargin): don't add an indent for paragraphs inside
5364 tabular cells (fix #208).
5366 2002-02-21 José Matos <jamatos@fep.up.pt>
5368 * tabular.C (docBook): fixed support for long tables.
5370 2002-02-20 Juergen Vigna <jug@sad.it>
5372 * text2.C (getFont): get the drawing font of the Inset if this
5373 paragraph is inside an inset (only important for InsetERT for now).
5375 * buffer.C (insertErtContents): use new lanugage params in ERT
5378 * CutAndPaste.C: commenting out seemingly uneeded code.
5380 2002-02-19 Allan Rae <rae@lyx.org>
5382 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5383 Iterators might be simple to use but they also get invalidated.
5384 (removeAutoInsets): renamed saved cursor tracking variables and added
5385 some comments to clarify what everything does.
5387 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5394 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5395 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5398 * vc-backend.h: remove #include "support/syscall.h"
5402 * converter.C: rearrange #includes in Lars' approved fashion.
5404 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5405 forward declare class Timeout in the header file.
5407 * XFormsView.C: changes due to the above.
5409 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5412 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5413 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5415 2002-02-18 José Matos <jamatos@fep.up.pt>
5417 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5420 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5422 * a lot of small ws changes
5423 * add a lot of using std::XXX
5424 * use std construcs some places where approp.
5425 * use some exisint stuff from lyxfunctional where approp.
5426 * Make file changes to use partial linking (lets test this now...)
5428 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5432 remove #include "support/syscontr.h" as it's redundant. Always has been.
5440 change Systemcalls::System to Systemcalls::Wait and
5441 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5442 No change of functionality, just reflects the stripped down Systemcalls
5445 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5447 * debug.[Ch]: add a GRAPHICS type to the enum.
5449 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5451 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5453 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5456 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5458 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5459 match the changes below.
5461 * text2.C (toggleInset): if there is not editable inset at cursor
5462 position, try to see if cursor is _inside_ a collapsable inset
5465 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5467 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5468 document menu has a nice checkbox
5470 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5472 * lyxlength.C (asLatexString): change PW to output as percent of
5475 * lengthcommon.C: change '%' to 't%'
5477 * lyxfunc.C (dispatch): a few comments from Martin
5479 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5483 * BufferView_pimpl.h:
5484 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5487 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5489 * vspace.C (inPixels): fix compiler warning
5491 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5493 * lyxfunc.C (getStatus): fix status message for disabled commands.
5495 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5497 * BufferView_pimpl.C: fix crash on close buffer
5498 during selection (#227)
5500 2002-01-27 Herbert Voss <voss@lyx.org>
5502 * buffer.C: link old Figure to new graphic inset
5504 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5506 * FontLoader.C (getFontinfo): Change the latex font names in order
5507 to match the names of type1inst.
5509 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5511 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5513 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5516 (remove_files_with_extension): ditto
5517 (remove_file): ditto
5520 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5521 document is smaller than the work area height. Do not initialize
5522 static variables to 0.
5524 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5526 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5528 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5529 LFUN_LAYOUT_PARAGRAPHS.
5531 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5532 tabular. It is possible to provide a possible cell, which will
5533 typically be the actcell from the corresponding insettabular
5535 * lyxfunc.C (getStatus): small cleanup; disable
5536 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5539 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5541 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5543 * paragraph.C (startTeXParParams):
5544 (endTeXParParams): new methods. The LaTeX code to
5545 start/end paragraph formatting
5546 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5547 empty (fixes bug #200)
5549 * vspace.C (inPixels): adapt to the change below
5550 (inPixels): [later] more cleanups (remove unused variables)
5552 * lyxlength.C (inPixels): change to use a width and a height as
5555 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5557 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5558 Replaced with \paperwidth
5560 * DepTable.C (insert): add std:: qualifier
5562 2002-01-18 Allan Rae <rae@lyx.org>
5564 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5567 * text.C (drawInset): Turned out I didn't know enough about how
5568 rebreaking worked. This fixes most of the redraw problems. I see
5569 an occasional cursor trail when a line is broken now and the cursor
5570 placement can seem out by a few pixels also after a rebreak.
5572 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5574 * buffer.C (parseSingleLyXformat2Token): update because minipage
5575 width is now a LyXLength
5577 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5579 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5582 2002-01-17 Juergen Vigna <jug@sad.it>
5584 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5586 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5587 is set correctly and the inset is updated correctly.
5589 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5591 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5592 the beginning of the loop.
5594 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5596 * lyxrc.C: improve help for use_scalable_fonts
5598 2002-01-17 Allan Rae <rae@lyx.org>
5600 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5602 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5604 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5605 make sure to set their inset_owner to the right value (bug #171)
5607 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5610 * DepTable.C: Implement mtime checking to reduce time spent doing
5613 2002-01-16 Juergen Vigna <jug@sad.it>
5615 * tabular.C (GetAdditionalHeight): one of error fixed.
5617 * lyxrc.C (output): small fix in writing use_pspell.
5619 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5621 * sp_base.h: #include LString.h
5623 2002-01-16 Allan Rae <rae@lyx.org>
5625 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5626 Can someone check this please?
5628 * text.C (drawInset): It was possible that p.row would be removed by
5629 breakAgainOneRow upsetting a few other settings. There may be another
5630 small tweak possible by setting need_break_row = 0 when p.row has been
5631 removed but I don't know enough about the logic here.
5633 2002-01-15 Allan Rae <rae@lyx.org>
5635 * text.C (insertChar): removed conditional truism.
5637 * BufferView2.C (removeAutoInsets): More tweaks.
5638 cur_par_prev could be a stray pointer. Check for trailing empty line
5639 in case last line was cur_par and only had an error inset on it.
5641 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5643 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5646 * vc-backend.C (most methods):
5647 * exporter.C (Export):
5648 * converter.C (convert):
5650 * LyXSendto.C (SendtoApplyCB):
5651 * lyxfunc.C (dispatch):
5655 * lyx_cb.C (AutoSave):
5657 * BufferView_pimpl.C (MenuInsertLyXFile):
5658 * buffer.C (runChktex): use Buffer::filePath().
5660 * buffer.h: rename filename to filename_; rename filepath to
5661 filepath_ and make it private
5662 (filePath): new method
5664 * buffer.C (writeFile): use fileName()
5667 * lyx_main.C (init): fix starting of LyX when the binary is a
5668 link from so,ewhere else.
5670 * minibuffer.C: include <cctype> for isprint
5672 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5674 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5675 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5676 name clash with InsetCollapsable's width function.
5678 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5680 * lastfiles.C: include <iterator>
5682 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5684 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5687 * buffer.C (makeLaTeXFile): ditto.
5688 Also make loop operation more transparent.
5690 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5692 * ToolbarDefaults.C: remove trailing comma closing namespace.
5694 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5696 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5699 * trans.C (Load): comment out unused variable, allowed.
5701 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5703 * minibuffer.[Ch] (append_char): new method to recieve input from the
5704 drop-down completion browser. If a key was pressed, then recieve this
5705 char and append it to the existing string.
5706 (peek_event): modify the positioning data passed to the completion
5707 browser so that it can be placed above the minibuffer rather than below.
5708 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5710 * LyXAction.C (init): alloe error-next for readonly documents.
5712 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5715 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5717 * bufferlist.C (readFile): create the buffer _after_ checking that
5720 * lyxfunc.C (verboseDispatch): fix handling of arguments
5722 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5724 * lyxrc.C: use string::erase() instead of initializing to "".
5727 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5729 * BufferView_pimpl.h:
5730 * BufferView_pimpl.C:
5733 * text2.C: tell X when we have made a selection for copying
5735 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5737 * BufferView_pimpl.C (MenuInsertLyXFile):
5738 * lyxfunc.C (menuNew):
5740 (doImport): add shortcuts to directory buttons
5742 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5745 * lyxfunc.C (setStatusMessage):
5746 (getStatusMessage): new methods
5747 (getStatus):use setStatusMessage instead of setErrorMessage
5748 (dispatch): when function is disabled, set error message here
5749 [instead of in getStatus previously]
5751 * BufferView_pimpl.C (workAreaButtonRelease): update
5752 toolbar/menubar here too.
5754 2002-01-13 Allan Rae <rae@lyx.org>
5756 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5757 Now seems indestructible. Remaining task is to audit all other
5758 code affected by deleteEmptyParagraphMechanism. One small quirk
5759 left is that an empty document with an error in the preamble can
5760 be made to report an error but no error box appears. I don't know
5762 (removeAutoInsets): Improved comments.
5764 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5767 * Thesaurus.C: update for Aiksaurus 0.14
5769 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5771 * text2.C (firstParagraph): removed member function, all uses
5772 replaces with ownerParagraph
5773 (redoParagraphs): here
5775 (toggleAppendix): here
5776 * BufferView2.C (insertErrors): here
5777 (setCursorFromRow): here
5779 2002-01-13 Allan Rae <rae@lyx.org>
5781 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5782 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5783 There is still a way to segfault this although you may have to do this
5784 multiple times: Have an InsetERT with an unknown command in it.
5785 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5786 <down-arrow>, <Enter> again, View->DVI, BANG!
5788 * text2.C (setCursor):
5789 (deleteEmptyParagraphMechanism):
5790 * lyxtext.h (setCursor):
5791 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5792 Making use of the return value may help fix other bugs.
5794 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5796 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5798 * LyXView.C (updateMenubar): call MenuBar::update here
5799 (updateToolbar): but not here
5800 (showState): do not update toolbar/menubar
5802 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5803 should need to care about that.
5805 * lyxfunc.C (verboseDispatch): simplify a bit
5806 (getStatus): have a version which takes a pseudoaction, and
5807 another which requires a (kb_action,string).
5809 * LyXAction.C (retrieveActionArg): make it work also when action
5810 is not a pseudo-action.
5811 (getActionName): simplify a bit
5814 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5816 * lyxfunc.C (verboseDispatch): new families of methods with
5817 several ways to specify a command and a bool to indicate whether
5818 the command name and shortcut should be displayed in minibuffer
5819 (eventually, we could extend that to a finer bitmask like
5820 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5821 (dispatch): the pristine dispatch command which just, well,
5822 dispatchs! Note it still sets its result to minibuffer; I'm not
5825 * lyxfunc.h: remove setHintMessage
5827 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5829 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5831 * BufferView_pimpl.C (specialChar): delete new inset if we have
5832 not been able to insert it.
5834 * kbmap.C: revert to using int instead of kb_action, since all we
5835 are dealing with is pseudo-actions.
5837 * LyXAction.C (searchActionArg): change to return int instead of
5838 kb_action, since the result is a pseudoaction.
5840 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5842 * buffer.C (insertErtContents): Fix (partially) the font bug.
5844 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5846 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5847 as the other one is broken on my machine!
5849 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5852 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5854 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5856 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5857 reflect their actual use. Provide compatibility code for older lyxrc
5860 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5862 change names of popup font variables in line with the changes to lyxrc.C
5864 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5866 * buffer.C (asciiParagraph): avoid outputing a word twice after
5869 * lyxrc.C (getDescription): document that document_path and
5870 template_path can be empty.
5872 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5874 * LaTeXFeatures.C (getMacros):
5875 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5877 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5879 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5881 (getPackages): rename feature "floats" to "float". Use an array to
5882 iterate over 'simple' features (i.e. just a \usepackage). Add
5883 handling of "amsmath" (renamed from "amsstyle").
5885 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5887 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5890 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5892 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5893 FuncStaus::FuncStatus & FuncStaus::some_method().
5895 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5897 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5898 of the func_satus stuff. Edited and massaged in various ways by
5901 * lyxfunc.C (getStatus): use FuncStatus
5903 2002-01-08 Juergen Vigna <jug@sad.it>
5905 * text.C (nextBreakPoint): use function Inset::isChar().
5907 * paragraph.C (TeXOnePar): use function
5908 Inset::forceDefaultParagraphs.
5910 * buffer.C (latexParagraphs): use function
5911 Inset::forceDefaultParagraphs.
5913 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5915 * lyx_gui.C (init): set the style of the menu popups to
5916 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5918 2002-01-07 Juergen Vigna <jug@sad.it>
5920 * text.C (setHeightOfRow): small fix
5921 (prepareToPrint): don't look at alignment if we don't have the place
5924 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5926 * box.C: New file. Move the Box methods and functions out of box.h,
5927 following Lars' suggestion.
5929 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5931 * box.h: #include "support/LOstream.h", needed for inlined function.
5934 * lyxtextclasslist.C: added some using std declarations.
5936 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5938 * box.h: make signed dimensions to allow insets wider than
5939 the screen (bug #162)
5941 * BufferView_pimpl.C: add some insetHit debug
5943 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5945 * vc-backend.C: add FIXME
5947 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5949 * lyxfunc.C (getStatus): enable code for showing math font status
5952 2002-01-07 Juergen Vigna <jug@sad.it>
5954 * text.C (nextBreakPoint): removed debug output not needed anymore.
5956 2002-01-06 Juergen Vigna <jug@sad.it>
5958 * text.C (nextBreakPoint): fixed up this function we had this bug
5959 since ever but now hopefully we break row better.
5960 (insertChar): we have to check if an inset is the next char as it
5961 could now happen that a large inset is causing a break.
5963 2002-01-05 Juergen Vigna <jug@sad.it>
5965 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5966 if it doesn't like to be drawed.
5968 2002-01-04 Juergen Vigna <jug@sad.it>
5970 * BufferView2.C (lockInset): forgot to set a cursor.
5972 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5974 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5979 * form_maths_panel.C:
5980 * form_maths_panel.h:
5981 * form_maths_panel.fd: implemented sub- and super- buttons in math
5984 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5985 (or ^ space) to be used as in TeX (req'd by André).
5987 * lyxfunc.C: Allow ^ and _ again to be used both as
5988 super/subscript (mathed) and as themselves (in text).
5990 2002-01-03 Allan Rae <rae@lyx.org>
5992 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5993 "LyX" or the filename of the current buffer if it has one. This is a
5994 modified form of John Levon's patch.
5996 * XFormsView.C (setWindowTitle): also set icon title.
5998 * LyXView.h (setWindowTitle): signature changed.
5999 * XFormsView.h (setWindowTitle): ditto.
6001 2002-01-02 Juergen Vigna <jug@sad.it>
6003 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
6005 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6007 * screen.C (topCursorVisible): introduce a temp var for
6008 text->cursor.row(), handle the case where this row is null. (kindo
6011 * text2.C (setCursor): add a couple of asserts.
6013 * paragraph.h (inset_iterator): add -> operator
6015 * paragraph.[Ch] (autoDeleteInsets): remove member function
6017 * BufferView2.C (removeAutoInsets): rewrite to handle the old
6018 cursor pos correctly and handle inset deletion by itself.
6019 (insertErrors): move iterator declaration out of for expression
6021 * lyxtextclass.C: add <algorithm>
6023 * Makefile.am: added the new files to sources, removed layout.C
6025 * layout.C: removed file
6027 * layout.h: remove LYX_DUMMY_LAYOUT
6029 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
6033 * lyxtextclass.[Ch]:
6034 * lyxtextclasslist.[Ch]: new files
6036 * include order changes to a lot of files, also changes because of
6039 2001-12-27 Juergen Vigna <jug@sad.it>
6041 * buffer.C (asciiParagraph): more fixes.
6043 * tabular.C (ascii): make ascii export support export of only the
6044 data separated by a column-delimiter.
6045 (ascii): better support for ascii export.
6047 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
6049 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6051 * tabular_funcs.C: use a "using std::getline" instead of the
6052 previous fix from Angus (necessary for cxx + lyxstring)
6054 2001-12-24 Juergen Vigna <jug@sad.it>
6056 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
6058 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
6059 problems. First check a minipage also if we have some ert-contents
6060 (not only on par->size(), second set the right depth of the paragraph
6061 on the relink to the root-paragraph-list!
6063 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
6064 which then did not anymore update the main paragraphs on undo/redo!
6066 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
6069 code. Support all font-changing funcs (even those which are not in
6070 menu currently). Support for reporting font settings in
6071 mathed (disabled until Andre provides a function on mathed's side).
6073 * func_status.h (toggle): small helper function to set toggle
6076 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
6078 * tabular_funcs.C: getline -> std::getline
6080 2001-12-21 Juergen Vigna <jug@sad.it>
6082 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
6083 accessed and could be 0 (I couldn't generate this but it seems
6086 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6088 * tabular_funcs.C: add LIstream.h, move write_attribute to..
6089 * tabular_funcs.h: here and include iosfwd
6091 2001-12-20 Juergen Vigna <jug@sad.it>
6093 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6094 inside inset but undo_par was.
6096 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6098 * Thesaurus.C: always include <config.h> in sources.
6102 * box.h: do not include <config.h> in header files
6104 * text.C (paintLastRow): remove unused variable
6106 * text.C (transformChar):
6108 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6111 * font.C (width): rewrite to use uppercase() instead of
6114 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6116 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6118 * lyxfind.C: clean up of find failure position change
6120 2001-12-20 Juergen Vigna <jug@sad.it>
6122 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6124 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6125 (TeXRow): added to LaTeX a single tabular row.
6126 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6127 (Latex): simplified and finally good LT-h/f support.
6128 (various_functions): just small adaptions for LT-h/f support.
6130 * tabular_funcs.[hC]: added and moved here all not classfunctions
6133 2001-12-19 Juergen Vigna <jug@sad.it>
6135 * tabular.[Ch]: better support for longtabular options (not finished
6138 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6140 * text.C (paintLastRow): use the label font instead of the font of
6141 the last character to compute the size of *_BOX. This makes more
6142 sense and avoids a crash with empty paragraphs.
6143 Use Painter::rectangle to draw EMPTY_BOX.
6145 2001-12-19 Juergen Vigna <jug@sad.it>
6147 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6148 the paragraphs if the replaced paragraph is not the first one!
6149 Tried to delete not used paragraphs but does not work yet so for
6150 now it's inside #ifdef's and by default off!
6152 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6154 * MenuBackend.C: include "lyx_main.h" instead of declaring
6155 lastfiles (actually was declared as LastFiles* instead of a
6158 2001-12-17 Juergen Vigna <jug@sad.it>
6160 * tabular.C (AppendColumn): applied John's fix
6162 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6166 * BufferView_pimpl.h:
6167 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6170 * box.h: new start of class for above
6172 * lyxfunc.C: ignore space-only minibuffer dispatches.
6173 Show the command name when it doesn't exist
6175 * minibuffer.C: don't add empty lines to the history
6177 * minibuffer.C: add a space on dropdown completion
6179 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6181 * text.C: fix line above/below drawing in insets
6183 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6185 * lyxlength.C (LyXLength): Initialize private variables.
6187 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6190 when inserting error insets.
6192 2001-12-13 Juergen Vigna <jug@sad.it>
6194 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6195 actually sometimes the before-paragraph.
6196 (setUndo): don't clear the redostack if we're not actually undoing!
6198 2001-12-06 Juergen Vigna <jug@sad.it>
6200 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6201 and fixed redoing of main paragraph, so we can use it now ;)
6203 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6205 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6207 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6210 2001-12-13 André Pönitz <poenitz@gmx.net>
6213 * undo_func.C: minor cleanup
6215 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6217 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6218 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6219 font in urw-fonts package which is marked as -urw-fontspecific and
6220 does not work (incidentally, changing the encoding in the
6221 fonts.dir of this package to -adobe-fontspecific fixes the
6224 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6225 is a crash when undoing first paragraph (Juergen, please take a
6226 look). THis does not mean the undo fix is wrong, just that it
6229 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6230 the (Paragraph*) version when needed instead of duplicating the
6233 * text.C (workWidth): use Inset::parOwner to find out where the
6234 inset has been inserted. This is a huge performance gain for large
6235 documents with lots of insets. If Inset::parOwner is not set, fall
6236 back on the brute force method
6238 * paragraph_pimpl.C (insertInset):
6239 * paragraph.C (Paragraph):
6240 (cutIntoMinibuffer): set parOwner of insets when
6241 inserting/removing them
6243 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6245 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6251 * mathed/formulabase.C:
6252 * mathed/math_cursor.[Ch]:
6253 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6256 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6258 * lyxlength.[Ch] (operator!=): new function
6260 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6262 * text.C (workWidth): use Inset::parOwner to find out where the
6263 inset has been inserted. This is a huge performance gain for large
6264 documents with lots of insets. If Inset::parOwner is not set, fall
6265 back on the brute force method
6267 * paragraph_pimpl.C (insertInset):
6268 * paragraph.C (Paragraph):
6269 (cutIntoMinibuffer): set parOwner of insets when
6270 inserting/removing them
6272 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6274 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6276 * tabular-old.C (getTokenValue):
6277 * tabular.C (getTokenValue):
6278 (write_attribute): new versions for LyXLength
6279 (everywhere): adjust the use of widths
6281 * tabular.h: change the type of widths from string to LyXLength
6283 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6285 * paragraph.C: fixed missing line number count when exporting
6286 Environments to LaTeX file
6288 * buffer.C: added informational message for checking line numbers.
6290 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6293 paragraph, do the 'double space' part, but not the 'empty
6296 * text.C (workWidth): small optimization
6297 (getLengthMarkerHeight): use minimal size for negative lengths.
6299 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6301 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6303 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6305 2001-12-11 André Pönitz <poenitz@gmx.net>
6308 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6310 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6312 * text2.C: keep selection on a setFont()
6314 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6316 * lyx_cb.C: another bv->text misuse, from insert label
6318 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6321 * kbsequence.C: re-instate nmodifier mask
6323 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6325 * lyx_main.h: make lyxGUI private.
6327 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6329 * lyxfind.C: place the cursor correctly on failed search
6331 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6333 * text.C (getLengthMarkerHeight): for small heights, the arrows
6334 are not always on top/bottom of the text
6335 (drawLengthMarker): smaller arrows; take the left margin in
6336 account; draw also vfills.
6338 (paintLastRow): remove special code for vfill and standard spaces,
6339 since everything is handled in drawLengthMarker now.
6341 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6343 * buffer.C (insertErtContents): try to handle font and language
6344 interaction a bit better.g
6346 * ColorHandler.C (updateColor): change the hash to cover the whole
6347 LColor enum, ws cleanup
6348 (getGCLinepars): ditto
6349 (getGCLinepars): only lookup in the linecache once.
6351 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6353 * iterators.C (operator++): Make the iterator more robust
6355 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6357 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6359 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6362 * text.C: better added space drawing
6364 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6367 * BufferView2.C: fix layout combo update on inset unlock
6369 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6371 * Makefile.am: don't compile unused files
6373 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6377 * LyXAction.C: remove old LFUN_LAYOUTNO
6379 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6381 * paragraph_pimpl.h:
6382 * paragraph_pimpl.C: isTextAt() doesn't need font param
6384 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6387 * lyxlex.C: little cleanup
6389 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6391 * BufferView_pimpl.C: fix insertAscii for insets
6393 2001-12-05 Juergen Vigna <jug@sad.it>
6395 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6396 set the right font on the "multi" paragraph paste!
6398 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6404 * lyxlength.C: remove out-commented code.
6420 * vc-backend.C: change "while(" to "while ("
6422 * lyxlength.[Ch]: add zero function to check if length is zero or
6424 * lyxgluelength.C: use it
6426 2001-12-05 Allan Rae <rae@lyx.org>
6428 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6429 Works for 2.95.3, from what I understand of Garst's reports this should
6430 work for other g++ versions. We're screwed if the abs(int) definition
6431 changed between bugfix releases of gcc.
6433 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6435 * text.C: fix chapter label offset !
6437 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6440 * text.C: fix hfill at end of line, clean up
6442 2001-12-04 Juergen Vigna <jug@sad.it>
6444 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6445 that we force an update of the inset and it's owners if neccessary.
6447 2001-12-03 Juergen Vigna <jug@sad.it>
6449 * text.C (rowLast): simplified code
6451 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6453 * lyxfunc.C: fix show options on timeout
6455 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6457 * screen.C (topCursorVisible): scroll half a page when the cursor
6458 reached top of bottom of screen
6460 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6462 * minibuffer.C: deactivate on loss of focus
6464 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6466 * vspace.[Ch] (operator!=): add operator.
6468 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6470 * BufferView_pimpl.C: refuse to open an inset when
6471 there's a selection.
6473 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6475 * BufferView_pimpl.C: allow to click on RHS of full row insets
6477 2001-11-30 Juergen Vigna <jug@sad.it>
6479 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6480 insets for undo reasons.
6482 2001-11-28 André Pönitz <poenitz@gmx.net>
6484 * vspace.[Ch]: cosmetical changes
6486 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6496 * kbsequence.C: part re-write of old kb code
6499 * WorkArea.C: remove Lgb_bug_find_hack
6501 2001-11-30 José Matos <jamatos@fep.up.pt>
6503 * buffer.C (makeDocBookFile): add a comment to point a hack.
6504 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6505 Fixed a double write of labels.
6507 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6510 * LaTeX.h Fixed bug in LaTeX class where it would not
6511 re-run latex if no depfiles were changed, but the .dvi was removed.
6513 2001-11-28 André Pönitz <poenitz@gmx.net>
6515 * all the files from the change on 2001/11/26:
6516 use lyx::layout_type instead of LyXTextClass::size_type
6517 use lyx::textclass_type instead of LyXTextClassList::size_type
6519 2001-11-29 Juergen Vigna <jug@sad.it>
6521 * text.C: added support for paragraph::isFreeSpacing()
6523 * buffer.C: same as above
6525 * paragraph.h: inserted isFreeSpacing() function to enable
6526 FreeSpacing inside InsetERT.
6528 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6529 of the paragraph's in the cut/copy buffer to 0!
6531 * text2.C (removeRow): remove the assert as it can!
6533 * lyxtext.h: added helper function firstRow returning firstrow and
6534 made firstrow private again.
6536 * BufferView2.C (lockInset): don't relock if we're already locked!
6538 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6540 (removeRow): added Assert::(firstrow)
6542 * debug.C: forgot to add INSETTEXT here.
6544 2001-11-28 Juergen Vigna <jug@sad.it>
6546 * sp_spell.C (initialize): changed error text to more general
6547 spellchecker command use (not only ispell!)
6549 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6551 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6553 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6555 * vspace.C: initialise lyxgluelength on failure
6557 2001-11-28 Allan Rae <rae@lyx.org>
6559 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6560 declaration & definition that looks like a function declaration.
6562 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6564 * BufferView2.C (copy):
6565 (copyEnvironment): do not clear the selection when doing a copy.
6567 * text.C (paintFirstRow): compilation fix
6569 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6571 * tabular.C (Latex): correct line count when writing latex.
6573 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6575 * paragraph_pimpl.h:
6576 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6579 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6583 * LColor.C: change vfillline->added_space
6585 * text.C: add markers and text for added space
6587 * vspace.C: fix comment
6589 2001-11-28 André Pönitz <poenitz@gmx.net>
6591 * paragraph.C: whitespace changes
6592 * all the other files from the change on 2001/11/26:
6593 change *::pos_type into lyx::pos_type
6595 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6597 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6598 language of the document when inserting error insets.
6600 2001-11-26 André Pönitz <poenitz@gmx.net>
6602 * BufferView_pimpl.[Ch]:
6610 * paragraph_pimpl.[Ch]:
6613 * text2.C: reduce header dependencies, introduce type for positions
6615 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6617 * <various>: change to use Alert.h
6619 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6621 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6622 when encountering an unknown token.
6623 (readLyXformat2): Show an error message if there were unknown tokens.
6625 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6628 * BufferView_pimpl.C:
6632 * text2.C: use par->isInset()
6634 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6636 * paragraph_pimpl.h:
6637 * paragraph_pimpl.C: cleanup
6639 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6641 * text2.C (removeRow):
6642 * text.C (setHeightOfRow): remove useless (and costly) call to
6645 2001-11-20 Allan Rae <rae@lyx.org>
6647 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6648 Now need Inset*::checkInsertChar() to return true for appropriate
6649 cases so that the characters in the minibuffer will actually be
6652 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6654 * text.C: change the order of the includes.
6655 (workWidth): initialize it at once.
6656 (workWidth): make maxw unsigned
6657 (setHeightOfRow): remove unused variable (inset)
6658 (selectSelectedWord): remove unused variable (inset)
6659 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6661 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6663 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6664 server is not running.
6666 (closeConnection): add debug info when server is disabled.
6668 * ColorHandler.C (getGCForeground): send debug message to GUI
6671 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6673 * kbmap.C (bind): modify because return conventions of
6674 kb_sequence::parse have changed.
6676 * kbsequence.C (parse): only ignore spaces and not any stupid
6677 control character. This avoids tests like s[i] <= ' ', which are
6678 guaranteed to fail with 8bit characters and signed chars.
6679 Change return code to string::npos when there have been no error
6680 (0 was a bad idea when error is at first character)
6682 2001-11-14 José Matos <jamatos@fep.up.pt>
6685 * buffer.C (simpleDocBookOnePar): removed unused argument.
6687 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6689 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6690 insets which are part of a word. Paragraph::isLetter takes care of
6691 that now. Use Paragraph::isInset to identify insets.
6692 (selectSelectedWord): do not test for hyphenation break.
6694 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6695 that protected spaces are considered as spaces.
6697 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6700 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6703 * lyxserver.C: fix it. and small cleanup.
6705 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6707 * BufferView_pimpl.C: use inline helpers
6710 * LaTeXFeatures.C: fix typos
6713 * Spacing.C: move spacing_string into class
6715 * ToolbarDefaults.C: move stuff into namespace anon
6717 * layout.h: update enum
6719 * lyxfunc.C: use better debug
6721 * minibuffer.h: fix typo
6725 * WorkArea.C: add and use Debug::WORKAREA
6729 * text2.C: code re-organisation, inline helpers
6731 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6733 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6734 std::vector.empty().
6736 2001-11-09 Allan Rae <rae@lyx.org>
6738 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6739 '\n's after tables. Tabular and ERT inset work now makes this no
6742 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6745 * minibuffer.C: fix crash, improve drop-down completion
6747 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6750 * lyxserver.C: invalidate fd's when doing endPipe()
6752 2001-11-08 José Matos <jamatos@fep.up.pt>
6754 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6755 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6758 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6760 2001-11-07 José Matos <jamatos@fep.up.pt>
6763 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6766 * buffer.C (sgmlOpenTag):
6767 * buffer.C (sgmlCloseTag): removed debug info.
6769 * buffer.h (sgmlOpenTag):
6770 * buffer.h (sgmlCloseTag): made public.
6772 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6774 * buffer.C (saveParamsAsDefaults):
6775 * lyx_cb.C (MenuLayoutSave): remove
6777 * LyXAction.C (init):
6779 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6781 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6783 * buffer.C (setPaperStuff): removed from here...
6785 * bufferparams.C (setPaperStuff): ... and moved there.
6787 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6791 * XFormsView.C: add support for drop-down completion
6793 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6795 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6798 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6800 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6803 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6805 * lyx_main.C: change ref to known bugs
6807 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6809 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6810 to work around older babel problems.
6812 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6814 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6816 2001-10-24 Juergen Vigna <jug@sad.it>
6818 * tabular-old.C (ReadOld): below variable changes reflected.
6820 * tabular.[Ch]: added ltType struct for longtable header/footer
6821 defines and changed all instances where they are used. Added
6822 future support for double top/bottom rows.
6824 2001-10-24 José Matos <jamatos@fep.up.pt>
6826 * buffer.h (docbookHandleCaption):
6827 * buffer.C (docbookHandleCaption): removed unused function.
6828 (makeDocBookFile): moved docbook supported version to v4.1.
6830 2001-10-24 José Matos <jamatos@fep.up.pt>
6833 * tabular.C (docbookRow): new function to export docbook code of a row.
6834 (DocBook): now honors the longtable flags.
6836 2001-10-23 José Matos <jamatos@fep.up.pt>
6839 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6840 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6842 * buffer.C (makeLinuxDocFile):
6843 (makeDocBookFile): reworked the preamble, more clean, and with
6844 support for lyx defined entities. Changed the document declaration
6845 to be more XML friendly.
6847 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6848 if we need to output XML that should be done with a filter.
6850 2001-10-22 Juergen Vigna <jug@sad.it>
6852 * sp_pspell.h (class PSpell): add alive function needed in the
6853 controller to see if the spellchecker could be started.
6855 2001-10-22 Juergen Vigna <jug@sad.it>
6857 * buffer.C (insertStringAsLines): modify the font for inserting
6858 chars in certain conditions by calling checkInsertChar(font).
6860 2001-10-19 Juergen Vigna <jug@sad.it>
6862 * text.C (workWidth): use getRow instead of wrong algorithm.
6863 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6865 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6870 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6872 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6874 * text.C (workWidth): do not search for the exact row when
6875 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6876 optimization for big documents.
6878 2001-10-18 Juergen Vigna <jug@sad.it>
6880 * text.C (workWidth): new function with added Inset * parameter.
6882 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6884 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6886 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6887 change return type of getColumnNearX.
6890 * text.C (changeRegionCase): use uppercase/lowercase instead of
6893 (rightMargin): simplify code by factoring out the uses of
6898 (appendParagraph): use Paragraph::size_type
6900 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * vspace.C (asLatexString): add a missing break
6904 2001-10-15 Herbert Voss <voss@perce.de>
6906 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6908 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6910 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6913 2001-10-10 André Pönitz <poenitz@gmx.net>
6915 * lyxfunc.C: removed greek_kb_flag.
6917 2001-10-10 Herbert Voss <voss@perce.de>
6919 * lyx_main.C: delete global string help_lyxdir.
6921 2001-10-09 Herbert Voss <voss@perce.de>
6923 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6925 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6927 * lyx_main.C: added global string help_lyxdir.
6929 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6931 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6933 * lyxrc.C (set_font_norm_type): support iso8859-4
6935 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6937 * LaTeX.C (deplog): add another regex for MikTeX
6939 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6941 * lyxrc.C (set_font_norm_type): support iso8859-3
6943 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6945 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6947 * LaTeXFeatures.C: remove special case of french and index
6949 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6950 before \begin{document}). This solves several incompatibilities.
6952 2001-10-03 Garst Reese <reese@isn.net>
6954 * lyx_cb.C: change CheckTex error msg.
6956 2001-10-03 José Matos <jamatos@fep.up.pt>
6958 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6960 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * .cvsignore: update
6964 * lyx_main.C (commandLineVersionInfo): use new style version info.
6966 * buffer.C (writeFile):
6969 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6971 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6973 * version.h: update to use stuff in version.C
6975 * version.C.in: new file. Contains version information determined
6976 at compile time. This is a merging of version.h and
6979 2001-10-03 Juergen Vigna <jug@sad.it>
6981 * BufferView_pimpl.C (update): don't change "dirty" status in
6984 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6986 * WorkArea.C (c-tor): re-position version string slightly.
6988 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6990 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6991 revert to previous code.
6993 WorkArea.[Ch]: (show, destroySplash): methods removed.
6995 WorkArea.C: rework code so that it's an amalgam of the codes before and
6996 after the splash screen was moved to WorkArea.
6998 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7001 * vspace.C (inPixels):
7004 * buffer.C (insertStringAsLines):
7005 (asciiParagraph): fix types to be large enough
7007 * lyxlex_pimpl.h: change member status from short to int
7009 * layout.h: fix type of endlabeltype
7012 * kbsequence.C (parse): change return type to string::size_type
7014 * LaTeX.C (updateBibtexDependencies): comment out unneeded
7017 * Bullet.C (bulletSize):
7018 (bulletEntry): do not use short ints as parameters
7020 * BufferView2.C (insertLyXFile): change a char to an int.
7022 * WorkArea.C (WorkArea): remove unneeded floats in computation
7024 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
7026 * buffer.C (asciiParagraph): Treat '\\' as other chars.
7028 * paragraph.C (asString): Do not ignore newline/hfill chars when
7029 copying to the clipboard.
7031 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
7033 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
7034 after a multi-line inset.
7036 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
7038 * paragraph.C (validate): Set NeedLyXFootnoteCode
7040 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7042 * lyxfont.C (LyXSizeNames): changed increase-error to increase
7043 and decrease-error to decrease.
7045 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7047 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
7048 it more readable (should be equivalent)
7050 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
7052 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
7054 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7056 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
7057 of a cursor (row, etc.) after a character has been deleted
7058 (deleteEmptyParagraphMechanism): call the method above on _all_
7059 cursors held by the LyXText when a double space has been
7062 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
7064 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
7066 (resizeCurrentBuff): remove code to destroy the old splash dialog.
7068 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
7069 background. Use greyOut() and the new show() methods to toggle between
7070 the foreground and background. Add code to remove the splash after
7071 its initial showing.
7073 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
7074 (create_forms): no longer call Dialogs::showSplash.
7076 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7078 * .cvsignore: add version_info.h
7080 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7082 * version_info.h.in: new file
7084 * Makefile.am: add version_info.h.in
7086 * lyx_main.C (commandLineVersionInfo): use version_info defined in
7087 version_info.h instead of VERSION_INFO
7089 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
7091 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
7092 The ERT inset now returns string().
7094 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7096 * lyxtext.h, text.C (selectNextWord): renamed as
7097 selectNextWordToSpellcheck.
7099 * text.C (selectNextWordToSpellcheck): Modified to not select
7100 words inside an ERT inset.
7102 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7104 * lyx_cb.C (MenuLayoutSave): change a bit the question
7106 * sp_base.h: include <sys/types.h>
7108 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7110 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7112 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7114 * several files: fix typos in user-visible strings
7116 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * text2.C (pasteSelection): do not set the selection, since it
7119 will be cleared later. Actually, the intent was to fix the way the
7120 selection was set, but I figured rmoving the code was just as good.
7122 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7124 * FontLoader.C (available): Check if font is available without
7127 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7129 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7131 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7133 * lyxrc.[Ch]: added display_graphics variable and associated code.
7135 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7137 * bufferparams.C (hasClassDefaults): new method. Returns true if
7138 the buffer parameters correspond to known class defaults
7140 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7142 * XFormsView.C (show): set minimum size to the main window.
7144 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7146 * text2.C (copySelection):
7148 * lyxfind.C (LyXReplace):
7149 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7150 LyXText::selectionAsString.
7152 * paragraph.C (asString): add "label" argument to the second form
7154 * text2.C (selectionAsString): add "label" argument and pass it to
7155 Paragraph::asString.
7157 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7159 * lyx_main.C (commandLineHelp): remove version information
7161 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7163 * lyx_main.C: add -version commandline option
7165 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7167 * paragraph.h: make the optional constructor arg required instead.
7168 some modifications to other files because of this.
7170 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7172 * lyxserver.C (C_LyXComm_callback): make it static
7174 * lyx_main.C (error_handler): make it static
7176 * lyx_gui.C (LyX_XErrHandler): make it static
7178 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7180 * WorkArea.C: make the extern "C" methods static.
7182 * Makefile.am (lyx_LDADD): simplify
7184 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7186 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7187 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7189 * LyXAction.C (init):
7190 * lyxfunc.C (dispatch): associated code removal.
7192 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7194 * lyxfont.h (isSymbolFont): shut off warning
7196 * text.C (setHeightOfRow):
7197 (getVisibleRow): fix crash with empty paragraphs which have a
7200 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7202 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7205 2001-09-04 José Matos <jamatos@fep.up.pt>
7208 * tabular.C (docbook): rename docBook method to docbook.
7210 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7212 * Makefile.am: add dependencies to main.o.
7214 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7216 * FontLoader.C (available): Return false if !lyxrc.use_gui
7218 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7220 * FontInfo.C (query):
7221 * converter.C (view):
7222 * importer.C (Import):
7223 * exporter.C (Export): Can not -> cannot.
7225 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7227 * BufferView_pimpl.C: allow to create index inset even if
7230 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7232 * buffer.C (getLists): replace boost::tie code with an explicit pair
7233 as boost::tie can break some compilers.
7235 * iterators.h: Added a std:: declaration to the return type of
7238 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7240 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7243 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7245 * iterators.[Ch]: New files. Provide paragraph iterators.
7247 * buffer.C (changeLanguage): Use paragraph iterators.
7248 (isMultiLingual): ditto
7250 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7252 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7254 * FontLoader.C: Support for cmr font.
7256 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7258 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7259 (available): New method.
7261 * FontInfo.C (getFontname): Use scalable fonts even when
7262 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7265 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7267 * converter.C (Formats::view): reverted! Incorrect fix.
7269 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7271 * converter.C (Formats::view): only output the -paper option
7272 if the dvi viewer is xdvi, thereby fixing bug #233429.
7274 2001-08-23 Herbert Voss <voss@perce>
7276 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7278 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7280 * Spacing.h (Spacing): Set space to Default on in the default
7283 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7285 * vc-backend.h (RCS::versionString): add RCS to version
7286 (CVS::versionString): add CVS to version
7288 * vc-backend.C (scanMaster): do not add CVS to version.
7289 (scanMaster): do not add RCS to version
7291 * lyxvc.C (versionString): new method
7293 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7295 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7297 * Spacing.C (set): initialize fval
7299 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7301 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7304 2001-08-16 Juergen Vigna <jug@sad.it>
7306 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7308 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7310 * BufferView_pimpl.C:
7313 * text2.C: setParagraph takes linespacing now
7315 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7317 * LyxAction.C: add internal LFUN_CITATION_INSERT
7319 * LyXView.C: actually apply fix
7321 * bufferlist.C: fix open non-existent file
7323 * lyxfind.C: fix indentation
7325 * lyxfunc.C: remove unneeded assert, fix typo
7327 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7329 * MenuBackend.C: use "Floatname List"
7331 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7333 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7334 when converting LaTeX layout to insetERT.
7335 Generate a non-collapsed float when reading old float
7337 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7339 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7342 2001-08-13 Juergen Vigna <jug@sad.it>
7344 * text.C (fill): return 0 instead of 20 as this seems to be the more
7347 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7349 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7352 2001-08-13 Juergen Vigna <jug@sad.it>
7354 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7356 (SearchBackward): comment out the unlocking of the inset_owner this
7357 should not be needed!
7359 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7361 * Many files: Remove inherit_language, and add latex_language
7363 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7366 2001-08-10 Juergen Vigna <jug@sad.it>
7368 * text.C (prepareToPrint): fixed hfill-width in draw!
7370 * BufferView2.C (selectLastWord): save the selection cursor as this
7371 now is cleared in the function LyXText::clearSelection!
7373 2001-08-08 Juergen Vigna <jug@sad.it>
7375 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7376 BACKSPACE type functions.
7378 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7379 is only cutted from the document but not put in the cut-buffer, where
7380 still the old stuff should be.
7382 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7384 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7386 * tabular.C (SetWidthOfCell): fixed special case where the width
7388 (LeftLine): handle '|' in align_special.
7390 (LeftAlreadyDrawed): ditto
7391 (SetWidthOfCell): ditto
7393 2001-08-07 Juergen Vigna <jug@sad.it>
7395 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7397 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7399 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7400 * lyxlex.[hC]: ditto
7402 2001-08-06 Juergen Vigna <jug@sad.it>
7404 * text.C (getVisibleRow): fix up row clearing a bit.
7406 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7408 * minibuffer.C: make sure the X server sees the changes in the input.
7410 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * paragraph.C (getFont): split into...
7413 (getLabelFont): this
7414 (getLayoutFont): and this
7415 * paragraph_pimpl.C (realizeFont): calling this
7417 * text2.C (getFont): split into...
7418 (getLayoutFont): this
7419 (getLabelFont): and this
7420 (realizeFont): all three calling this
7422 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7425 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7427 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7429 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7431 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7432 layouts from the Quote inset insertion.
7434 2001-08-03 Juergen Vigna <jug@sad.it>
7436 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7438 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7439 only if status not is already CHANGED_IN_DRAW (second level).
7441 * text.C (draw): don't set the need_break_row when inside an
7444 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * buffer.C (parseSingleLyXformat2Token): handle more latex
7449 * bufferview_funcs.[hC]: change function names to
7450 begin with small char, adjust other files.
7452 2001-08-02 André Pönitz <poenitz@gmx.net>
7455 BufferView_pimpl.C: remove broken special code for math-greek
7457 2001-08-02 Juergen Vigna <jug@sad.it>
7459 * BufferView_pimpl.C (update): redone this function so that we
7460 update the text again if there was a CHANGE_IN_DRAW.
7462 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7463 (drawFromTo): added a new internal bool which is used by draw() and
7465 (general): some cursor drawing problems fixed.
7467 2001-08-01 Juergen Vigna <jug@sad.it>
7469 * lyxfind.C (LyXFind): fixed
7470 (SearchForward): ditto
7471 (SearchBackward): ditto
7473 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7474 spurius drawing of the cursor in the main area.
7476 * text2.C (status): small fix which could lead to a segfault!
7477 (clearSelection): remove unneeded BufferView param.
7479 2001-08-01 André Pönitz <poenitz@gmx.net>
7481 * lyxfunc.C: small change due to changed mathed interface
7483 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7485 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7487 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7489 * lyxfunc.c: fail gracefully if file doesn't exist
7494 * BufferView_pimpl.C: IsDirWriteable() proto changed
7496 * LyXView.C: fix updateWindowTitle() to store the last title
7498 2001-07-31 Juergen Vigna <jug@sad.it>
7500 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7501 the font (wrong since using of Paragraph::highestFontInRange).
7503 * paragraph.C (highestFontInRange): added a default_size parameter.
7505 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7506 (setHeightOfRow): reformat
7508 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7510 * converter.[hC] + affected files: move to (inital-char)lowercase
7513 * ParagraphParameters.C (ParagraphParameters): remove commented code
7515 * PainterBase.[Ch]: remove commented code
7517 * LaTeXFeatures.h: add "bool floats" for float.sty
7519 * LaTeXFeatures.C (LaTeXFeatures): init floats
7520 (require): handle float
7521 (getPackages): do it with floats
7523 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7525 * BufferView_pimpl.C (Dispatch): improve handling of
7526 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7528 * commandtags.h: #include lyxfont.h here temporarily to avoid
7531 * bufferlist.h: include LString.h here.
7533 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7535 * text2.C (getStringToIndex): new method.
7537 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7539 * *: Reduced header file dependencies all over.
7541 2001-07-30 Baruch Even <baruch@lyx.org>
7543 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7545 2001-07-29 Baruch Even <baruch@lyx.org>
7547 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7549 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7551 * ParameterStruct.h (endif): add a default constructor to make
7552 sure that all variables is initialized.
7554 * ParagraphParameters.C (ParagraphParameters): adjust
7556 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7558 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7559 index; also, check that there is something to index, and that it
7560 does not span over several paragraphs.
7561 (doubleClick): use WHOLE_WORD_STRICT for double click.
7563 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7565 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7568 2001-07-26 Baruch Even <baruch@lyx.org>
7570 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7571 an InsetFig figure, backwards compatible reading of old figure code.
7573 2001-07-27 Juergen Vigna <jug@sad.it>
7575 * text2.C: font.realize function adaption.
7577 * text.C (draw): add a warnings lyxerr text if needed.
7579 * layout.C: font.realize function adaption.
7581 * language.C: add inherit_language and implement it's handlings
7583 * bufferview_funcs.C (StyleReset): remove language parameter from
7584 font creation (should be language_inherit now).
7586 * bufferparams.C (writeFile): handle ignore_language.
7588 * paragraph.C (getFontSettings): the language has to be resolved
7589 otherwise we have problems in LyXFont!
7591 * lyxfont.C (lyxWriteChanges): added document_language parameter
7592 (update): removed unneeded language parameter
7594 * paragraph.C (validate): fixed wrong output of color-package when
7595 using interface colors for certain fonts in certain environments,
7596 which should not seen as that on the final output.
7598 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7600 * BufferView_pimpl.C:
7605 * LyXAction.C: add thesaurus support
7608 * lyxfind.C: add "once" parameter, for thesaurus, to not
7609 move to the next match
7611 2001-07-26 Juergen Vigna <jug@sad.it>
7613 * lyxfont.C (realize): honor ignore_language too!
7616 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7618 * text.C (draw): one place more for ignore_language to not draw
7621 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7623 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7625 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7627 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7628 the minipage conversion problem.
7630 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7632 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7635 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7637 * BufferView.h: don't forward declare WorkArea
7639 * BufferView.C: don't include WorkArea.h
7641 2001-07-25 André Pönitz <poenitz@gmx.net>
7645 * lyxfunc.C: new LFUN 'math-space'
7647 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7649 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * text2.C (toggleInset): call open/close
7653 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7655 * lyxfunc.C (dispatch): add debug for the disabled case
7657 * font.C (buttonText): make similar to rectText
7659 * buffer.C (readInset): comment out parsing of insetlist and
7662 * PainterBase.C (rectText): small correction
7664 * BufferView_pimpl.C: comment out insettheorem and insetlist
7665 * LyXAction.C: ditto
7666 * commandtags.h: ditto
7668 2001-07-24 Juergen Vigna <jug@sad.it>
7670 * text.C (draw): honor the ignore_language.
7672 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7674 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7676 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7679 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7681 * lyxtext.h: remove unused (and unimplemented) methods
7683 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7685 * text.C (getVisibleRow): honor background color
7688 * Painter.h: remove default color argument for fillRectangle
7690 * text.C (backgroundColor): new method
7692 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * text.C (getVisibleRow): adjust
7696 * font.[Ch] (rectText): new method, metrics
7697 (buttonText): new method, metrics
7699 * PainterBase.[hC]: make rectText and buttonText always draw and take
7702 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7704 * ToolbarDefaults.C (read):
7705 * MenuBackend.C (read): allow escaping in all strings
7707 * BufferView_pimpl.C (insertAndEditInset): new method.
7708 (Dispatch): use insertAndEditInset whenever appropriate.
7710 * BufferView_pimpl.C (insertNote): removed
7712 * BufferView_pimpl.C (smartQuote): new method, moved from
7713 BufferView; if an insetquote cannot be inserted, insert a '"'
7716 * BufferView2.C: remove insertCorrectQuote();
7718 * lyxfunc.C (getStatus): Add support for all remaingin
7721 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7723 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7724 command (necessary to pass " as parameter of self-insert.
7726 * text.C (selectWordWhenUnderCursor):
7727 (selectWord): add word_location parameter
7728 (selectWordWhenUnderCursor): same + remove special code for word
7730 (selectNextWord): use kind() to guess type of insetspecialchar,
7733 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7734 (insertErtContents): create ert insets as collapsed.
7735 (readInset): better compatibility code for Info inset.
7737 2001-07-20 Juergen Vigna <jug@sad.it>
7739 * lyxfunc.C (dispatch): use always LyXFind now!
7741 * text2.C (init): add a reinit flag so that the LyXText can be
7742 reinited instead of deleted and reallocated (used in InsetText).
7744 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7750 2001-07-18 Juergen Vigna <jug@sad.it>
7752 * text.C (selectNextWord): handle insets inside inset by calling
7753 always the bv->text functions so that we can go up the_locking_inset!
7755 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7756 in strange locations when inside an inset!
7758 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7759 handling to include insets.
7761 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7763 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7765 * LyXAction.C (init):
7767 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7768 LIGATURE_BREAK, since the name is so stupid.
7770 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7772 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7775 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7777 * sp_form.[Ch]: remove.
7779 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7781 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7784 * src/buffer.C (readInset): ditto.
7786 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7788 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7789 menuSeparator(), endOfSentenceDot(), ldots() and
7790 hyphenationPoint(), which are therefore removed.
7791 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7793 * LyXAction.C (init):
7794 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7796 * paragraph.C (getWord): removed.
7798 * BufferView_pimpl.C (Dispatch): use last word or selection for
7799 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7801 * lyx_main.C (queryUserLyXDir): do not ask before creating
7802 user_dir, except if it has been named explicitely.
7804 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7806 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7807 a document of zero size.
7809 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7811 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7812 approriately in the c-tor and in require().
7813 (getPackages): output the appropriate LaTeX for natbib support.
7815 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7816 variables "use_natbib" and "use_numerical_citations" when reading the
7818 (readInset): read the various natbib cite commands.
7819 (validate): white-space change.
7821 * bufferparams.[Ch]: new variables "bool use_natbib" and
7822 "bool use_numerical_citations".
7823 (writeFile): output them in the LyX file.
7825 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7827 * lyxfunc.C (getStatus): add support for all the inset insertion
7830 * text2.C (insertInset):
7831 * paragraph.C (insetAllowed):
7832 * BufferView_pimpl.C (insertInset): update to take in account the
7833 renaming of insertInsetAllowed
7835 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7837 * text2.C (getInset): new method. returns inset at cursor position.
7839 * BufferView_pimpl.C (Dispatch): changes because of this.
7841 * LyXAction.C (init): rename open-stuff to inset-toggle.
7843 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7845 * text2.C (toggleInset): renamed from openStuff; use
7848 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7850 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7852 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7854 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7856 * buffer.C (readLyXformat2): Add filename to the error dialog
7858 2001-07-18 Juergen Vigna <jug@sad.it>
7860 * tabular.C (GetCellNumber): put an assert here instead of the check!
7862 2001-07-17 Juergen Vigna <jug@sad.it>
7864 * BufferView_pimpl.C (toggleSelection): adapted too.
7866 * text.C (selectNextWord): adapted for use with insets.
7867 (selectSelectedWord): ditto
7869 2001-07-17 Juergen Vigna <jug@sad.it>
7871 * sp_spell.C (PSpell): fix initialitation order.
7873 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * paragraph.C: spacing
7877 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7879 * sp_spell.C: repair language selection for pspell
7881 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7883 * lyxfunc.h: change more methods to begin with lower char.
7885 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7887 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7888 for unknown layouts.
7890 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7892 * buffer.C (readLyXformat2): Generate an error dialog if there are
7895 2001-07-16 Juergen Vigna <jug@sad.it>
7897 * sp_spell.C: always compile ISpell part.
7899 * lyxrc.C: added use_pspell entry and it's handling.
7901 2001-07-13 Juergen Vigna <jug@sad.it>
7903 * sp_spell.C: removed double includes.
7905 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7907 Consistent use of Lsstream.h:
7908 * Lsstream.h: added using std::stringstream for consistencies sake.
7910 * buffer.C: removed using std::stringstream
7912 * lyxfont.C (stateText):
7913 * paragraph.C (asString):
7914 * text.C (selectNextWord, selectSelectedWord):
7915 * text2.C (setCounter):
7916 * vspace.C (asString, asLatexString):
7917 std::ostringstream -> ostringstream.
7919 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7921 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7922 * commandtags.h: add LFUN_HELP_ABOUTLYX
7923 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7925 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7927 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7929 * lyx_gui_misc.C: remove spellchecker
7930 * lyxfunc.C: showSpellchecker
7932 * sp_ispell.h: added
7933 * sp_pspell.h: added
7935 * sp_form.[Ch]: removed
7936 * spellchecker.[Ch]: removed
7938 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7940 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7942 (simpleTeXSpecialChars): Simply print the input character without
7943 any special translation if pass_thru is set.
7945 * layout.h: Added bool pass_thru to layout class for being able to
7946 implement pass through of a paragraph for Literate Programming.
7948 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7949 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7950 * layout.C (Read): add "passthru" to list of layout tags and add
7951 code to set the pass_thru boolean when it is read.
7953 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7955 * trans_decl.h: remove allowed from KmodInfo
7957 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7961 * paragraph_pimpl.C (erase): use boost::prior
7963 * Painter.C (text): use data() instead of c_str() when length is
7965 * WorkArea.C (putClipboard): ditto
7966 * font.h (width): ditto
7968 * BufferView2.C: use it-> instead of (*it). for iterators
7970 * paragraph_pimpl.C: ditto
7971 * paragraph.C: ditto
7972 * minibuffer.C: ditto
7977 * converter.C: ditto
7979 * Variables.C: ditto
7980 * TextCache.C: ditto
7981 * MenuBackend.C: ditto
7982 * LyXAction.C: ditto
7984 * FloatList.C: ditto
7986 * ColorHandler.C (LyXColorHandler): ditto
7988 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7990 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7992 * text2.C (openStuff): reintroduce this method (which had been
7993 nuked in NEW_INSETS frenzy).
7995 * lyxfunc.C (Dispatch): when an action has not been handled, use
7996 its name in the error message, not its number.
7998 * paragraph.C (inInset): change method name to begin with lowercase.
8001 * text2.C: updates because of this.
8003 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8005 * ToolbarDefaults.C (add): add spaces in error message
8007 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8009 * buffer.C (readLyXformat2): initialize the ert comp. variables.
8010 (readLyXformat2): rename return_par to first_par, use lyxlex's
8011 pushToken and remove the manual push handling.
8012 (parseSingleLyXformat2Token): add another ert comp. variable:
8013 in_tabular, rename return_par to first_par. handle newlines better
8015 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8017 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
8019 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8021 * text2.C (getParFromID): removed
8023 * buffer.C (getParFromID): new method moved form lyxtext.
8024 * BufferView2.C (insertErrors): adjust
8025 (setCursorFromRow): adjust
8026 * BufferView_pimpl.C (restorePosition): adjust
8027 * lyxfunc.C (Dispatch): adjust
8028 * undo_funcs.C (textUndo): adjust
8030 (textHandleUndo): adjust
8031 (textHandleUndo): adjust
8033 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * buffer.C: up' the LYX_FORMAT
8037 * lyxfont.h: turn NO_LATEX on as default
8039 * buffer.C (insertErtContents): new methods of tex style compability.
8040 (parseSingleLyXformat2Token): use it several places.
8041 * tabular.C (OldFormatRead): and here
8043 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
8045 * text2.C: remove some commented code.
8048 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
8049 * trans.C: changes because of the above.
8051 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
8053 * text2.C (setCounter): Fix counters bug with bibliography layout.
8055 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8057 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
8058 own member functions
8059 (simpleTeXSpecialChars): ditto
8061 2001-07-06 Juergen Vigna <jug@sad.it>
8063 * a lot of files: changed the access to LyXText::status and the
8064 call of undo-functions.
8066 * undo.[Ch]: added a inset_id to the undo informations.
8068 * undo_funcs.[Ch]: added and moved here all undo functions.
8070 * lyxtext.h: give the status enum a weight, made status_ a private
8071 variable and made accessor functions for it, removed the whole bunch
8072 of undo-functions as they are now in their own file, make some
8073 functions publically available. Added function ownerParagraph with
8076 * paragraph.[Ch]: added "bool same_ids" to the constructor,
8077 made InInset() a const function, added getParFromID() function.
8079 * buffer.[Ch]: added const version for inset_iterator functions,
8080 added getInsetFromID() function.
8082 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
8083 changed undo functions for new version.
8085 2001-07-05 Juergen Vigna <jug@sad.it>
8087 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
8088 unknow mechanism does not call the proper constructor but only this
8089 one also if I request the other!?
8091 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8093 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8095 * text2.C (LyXText): use initialization lists.
8097 * lyxtext.h (Selection): initialize set_ and mark_
8098 (init): remove method
8100 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8102 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8104 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8106 * screen.[Ch]: change method names to begin with lowercase
8108 * BufferView_pimpl.C (updateScrollbar): simplify further and
8109 hopefully make it a bit faster.
8111 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8114 calling directly xforms functions.
8116 * Painter.C (Painter):
8117 * lyx_cb.C (MenuWrite):
8118 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8121 * lyx_gui.C: remove bogus guiruntime extern declaration.
8123 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8125 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8127 (redoDrawingOfParagraph): ditto
8128 (redoParagraphs): ditto
8129 (cutSelection): don't create a object for CutAndPaste use the
8130 static method directly
8131 (pasteSelection): ditto
8133 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8136 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8138 * modifications to some other files because of this.
8140 * Makefile.am (lyx_SOURCES): add XFormsView
8142 * XFormsView.[Ch]: new files
8144 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8145 the main window. Move the gui dependent stuff to XFormsView
8147 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8149 * tabular.C (GetCellInset): update cur_cell also in the row/col
8150 version of this function.
8152 * lyxfunc.C: no need to include figure_form.h here.
8158 * lyxvc.C: no need to include forms.h here.
8160 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8162 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8164 * lyxfunc.C (Dispatch):
8166 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8167 constructor argument.
8169 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8171 * paragraph.C (Paragraph): dont't clear, and just set layout.
8172 (makeSameLayout): use params's copy contructor.
8174 * ParagraphParameters.[Ch] (makeSame): delete method
8176 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8178 * Variables.[Ch]: fix indentation, rename set to isSet
8180 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * lyxfunc.C (Dispatch): fix typo
8184 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8186 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8189 * bufferlist.C: include assert.h for emergencyWrite().
8191 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8193 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8194 give up at last (bug #425202) !
8196 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8202 * spellchecker.C: strip spellchecker options and bring up
8203 preferences tab instead
8205 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8208 the istringstream constructor
8210 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * paragraph.C (getLayout): fix return value
8214 * paragraph.h: do not declare getLayout as inline.
8216 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8218 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8220 * lyxcursor.h (operator<): new func
8221 (operator>): new func
8222 (operator>=): new func
8223 (operator<=): new func
8225 * text.C (changeCase): use selection.start and selection.end
8226 (changeRegionCase): require from to be <= to. Require par to be a
8229 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8231 2001-06-27 Juergen Vigna <jug@sad.it>
8233 * text.C (cursorLeftOneWord): changed to return the cursor and added
8234 overlay with BufferView * parameter which calls this one.
8236 (selectWord): use new getWord function.
8237 (changeCase): renamed from changeWordCase as and extended to work
8240 * lyxtext.h: added enum word_location
8242 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8243 changeCase as this operates now also on selections.
8245 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8247 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8249 * many files: send debug output to Debug::INFO instead of
8252 * converter.C (View):
8254 (Move): send debug output to Debug::FILES instead of console.
8256 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8258 * lyxfunc.C (getStatus): use func_status
8260 * func_status.h: new header, describing the results of
8263 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8266 2001-06-25 The LyX Project <jug@sad.it>
8268 * buffer.C (sgmlOpenTag):
8270 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8272 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8274 * text2.C: remove some dead code
8276 * tabular.C (GetCellInset): store the last cell checked (gotten)
8278 * tabular.h: add the helper for the speedup
8280 * lyxtext.h: remove some dead code
8282 2001-06-26 The LyX Project <Asger>
8284 * paragraph.C: Change export to LaTeX of alignment to
8285 \begin{center} and family for better roundtrip work with reLyX.
8287 * Tune the math drawing a bit.
8289 2001-06-25 The LyX Project <Asger>
8291 * LColor.C (LColor): New color for math background. New color
8294 2001-06-25 The LyX Project <jug@sad.it>
8296 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8299 * bufferlist.C (newFile): do not restrict to files ending with
8302 * BufferView_pimpl.C (MenuInsertLyXFile):
8304 2001-06-24 The LyX Project <jug@sad.it>
8306 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8309 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8311 * lyxtext.h: rename most methods to begin with a small char.
8312 Lots of changes because of this.
8314 * paragraph.C (Paragraph): do not call fitToSize
8315 (erase): call Pimpl::erase
8316 (insertChar): call Pimpl::insertChar
8317 (insertInset): call Pipl::insertInset
8318 (breakParagraph): do not call fitToSize
8319 (breakParagraphConservative): do not call fitToSize
8320 (fitToSize): remove method
8322 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8324 2001-06-24 The LyX Project <Asger>
8326 * Fix Qt compilation^2
8328 2001-06-24 The LyX Project <jug@sad.it>
8330 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8331 depthHook(getDepth()-1).
8334 * ParagraphParameters.h:
8335 * ParameterStruct.h: change type of depth to unsigned int ==
8336 depth_type. Many adaptations to other files before of that.
8338 2001-06-24 The LyX Project <Asger>
8340 * Fix Qt compilation.
8342 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * paragraph.h: renamed several methods to begin with small letter.
8345 several changes to many parts of the code because of this.
8347 2001-06-23 The LyX Project <jug@sad.it>
8349 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8350 rewritten to discard all double spaces when KeepEmpty is off
8351 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8352 to only handle newlines but not fiddle with spaces and friends.
8354 * lyxfunc.C (MenuNew): when doing 'new from template', use
8355 template_path as default directory
8357 2001-06-23 The LyX Project <Asger>
8359 * Clean-up of header file includes all over
8360 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8362 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8364 * paragraph.h: renamed from lyxparagraph.h
8366 2001-06-23 Asger <lyx@violet.home.sad.it>
8368 * Buffer.h: Removed Buffer::resize
8369 * BufferList.h: Removed BufferList::resize
8370 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8371 the document lazily when we change the width, or the font settings.
8373 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8375 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8377 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8379 * buffer.h: remove out of date comment
8381 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8384 * screen.C: fix "theoretical" GC leak
8386 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8388 * LaTeX.C (scanAuxFile):
8389 (deplog): remove trailing \r when reading stream (useful under
8392 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8394 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8395 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8396 and BufferView::theLockingInset(Inset*), so should use them and not
8397 access bv_->text->the_locking_inset directly.
8399 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8401 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8404 * tex-defs.h: remove old unused file
8406 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8408 * BufferView_pimpl.C: fix typo, remove minibuffer message
8409 when buffer has loaded
8411 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8413 * lyxfunc.C (Dispatch): use stringstream
8414 (MenuNew): use stringstream
8415 (Open): use stringstream
8417 * importer.C (Import): use stringstream
8419 * bufferview_funcs.C (CurrentState): use stringstream
8421 * LaTeX.C (run): use stringstream
8423 * BufferView_pimpl.C (savePosition): use stringstream
8424 (restorePosition): use stringstream
8425 (MenuInsertLyXFile): use stringstream
8427 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8440 * vspace.C: removed // -*- C++ -*- as first line.
8443 * version.h: added // -*- C++ -*- as first line.
8445 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8447 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8449 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8452 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8454 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8457 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8459 * gettext.C: include LString.h even when --disable-nls is on.
8461 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8463 * converter.h (Get): changed argument type from int to
8464 FormatList::size_type to avoid unnecessary conversion.
8466 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8469 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8471 * gettext.h: include LString.h even when --disable-nls is on.
8473 2001-06-07 Juergen Vigna <jug@sad.it>
8475 * text.C (BreakAgain): subst spaces with tabs.
8477 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8478 (resizeInsetsLyXText): set force on resizeLyXText.
8480 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8482 * gettext.h (gettext_init):
8483 (locale_init): use a real definition instead of a macro
8485 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8487 * Bufferview_pimpl.C:
8489 * LColor.C: further lcolor tidies
8491 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8493 * BufferView_pimpl.C (updateScrollbar): simplify.
8495 * BufferView2.C: don't include insets/insetinfo.h, change
8496 prototype for insertInset and call the Pimpl version. let
8497 updateInset call Pimpl version.
8499 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8500 gotoInset to BufferView::Pimpl
8502 2001-06-01 Juergen Vigna <jug@sad.it>
8504 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8505 inside a LockingInset (is the update needed at all?).
8507 2001-05-31 Juergen Vigna <jug@sad.it>
8509 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8510 here not the old one otherwise how should we compare it afterwards
8513 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8518 * FontInfo.C: bring C functions into global namespace when
8521 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8523 * LString.h: make sure config.h has been loaded before LString.h.
8525 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8526 (one for each char read by EatLine!).
8528 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8531 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8533 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8534 to the same as the par we break from
8536 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8538 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8540 * MenuBackend.C (expand): also create menu entries for wide
8541 versions of the floats.
8543 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8545 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8547 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8548 frontends/Makefile.am
8554 * tabular.C (getTokenValue): add std::
8556 * tabular-old.C (getTokenValue): add std::
8557 (getTokenValue): ditto
8558 (getTokenValue): ditto
8560 * screen.C (ToggleSelection): adjust
8562 * lyxtext.h: put selection cursors inside a Selection struct.
8564 * lyxfunc.C (moveCursorUpdate): adjust
8566 * lyxfont.C (latexWriteStartChanges): add std::
8570 * font.h: delete with(char const *, LyXFont const &)
8572 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8574 * FontInfo.C (getFontname): add std::
8576 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8577 (workAreaButtonPress): adjust
8578 (tripleClick): adjust
8580 (moveCursorUpdate): adjust
8583 * BufferView2.C (gotoInset): adjust
8585 2001-05-30 Juergen Vigna <jug@sad.it>
8587 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8588 to check pspell I add this as default as I now have new pspell
8589 libraries and they seem to use this.
8591 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8593 * text2.C (CutSelection): make the cursor valid before the call to
8596 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8598 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8599 relied on 0 terminated strings and other horrors. Bug found due to
8600 the new assert in lyxstring!
8602 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8605 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8607 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8610 * lyxfunc.C (processKeySym): change method of getting to the
8613 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8614 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8615 * BufferView_pimpl.[Ch]: here as private methods.
8617 2001-05-28 Juergen Vigna <jug@sad.it>
8619 * text.C (SetHeightOfRow): added the update() call again as it is
8620 needed to initialize inset dimensions!
8622 2001-05-16 Juergen Vigna <jug@sad.it>
8624 * text2.C (SetCharFont): Add new function with BufferView * and
8625 bool toggleall parameters for setting insets internal fonts.
8626 (SetFont): Freeze the undo as we may change fonts in Insets and
8627 all this change should be inside only one Undo!
8629 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8630 setting font's in insets as for them we have the SetFont function!
8632 2001-05-15 Juergen Vigna <jug@sad.it>
8634 * text2.C (ClearSelection): to be sure we REALLY don't have any
8637 * tabular.C (TeXCellPreamble): fixed the left border problem for
8640 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8642 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8645 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8647 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8648 LFUN_BREAKPARAGRAPH.
8650 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8651 help test to "internal only", similar for LFUN_INSERT_URL
8653 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8654 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8655 auto_region_delete and deadkeys.
8657 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8660 * LColor.C: remove some dead entries, tidy a little
8662 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8664 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8666 (Dispatch): implement LFUN_ESCAPE
8668 * commandtags.h: add LFUN_ESCAPE
8670 * LyXAction.C (init): add entry for LFUN_ESCAPE
8672 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8673 Remove commented code.
8674 (insertNote): moved here
8675 (open_new_inset): moved here
8677 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8680 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * kbmap.C (findbinding): clean it up and make it work correctly.
8684 * lyx_main.C (init): do not pass argc and argv as parameters
8686 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8688 * buffer.C: fix path for OS/2 & Win32
8692 * lyx_main.C: Added os:: class.
8694 * os2_defines.h: update
8696 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8698 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8699 better by trying again with reduced state.
8701 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8703 * lyxrc.C (read): print error about invalid key sequence only when
8704 debugging (because not all latinX keysyms are known to some X
8707 * kbsequence.C (getiso): add a few std:: qualifiers
8708 (getiso): comment out extra return statement.
8710 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8714 (Dispatch): enhance the accent inset a bit. (not perfect)
8716 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8718 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8720 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8722 * bufferlist.C (emergencyWrite): fix assert() call
8724 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8726 * text.C (InsertChar): Added trivial patch to only send the "you
8727 can not do multiple spaces this way" message once during a
8730 2001-05-08 Baruch Even <baruch@lyx.org>
8732 * Makefile.am: Changed order of libraries to get LyX to link properly
8733 with the gnome frontend.
8735 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8737 * LaTeXFeatures.h: add a std:: qualifier
8739 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8741 * paragraph.C (String): use stringstream
8743 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8745 * paragraph.C (writeFile): remove footflag arg
8747 * buffer.C (makeLaTeXFile): use stringstream
8748 (latexParagraphs): remove footnot gurba
8750 * LaTeXFeatures.C (getPackages): use stringstream
8751 (getMacros): likewise
8752 (getTClassPreamble): likewise
8753 (getFloatDefinitions): new method
8755 * paragraph.C (writeFile): reindent
8758 * WorkArea.h: revert the xpos + etc changes.
8760 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8762 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8764 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8765 (pasteSelection): likewise
8766 * text2.C (CreateUndo): likewise
8768 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8770 * minibuffer.C (peek_event): temporarily reduce the functionality
8771 of the minibuffer (to allow args on lfuns)
8773 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8774 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8776 * buffer.C (readInset): add compability reading of old float
8777 lists, add reading of new style float list.
8778 (readInset): avoid reevaluation of inscmd.getCmdName()
8779 (getLists): reindent
8781 * MenuBackend.C (MenuItem): implement parsing of
8782 md_floatlistinsert and md_floatinsert.
8783 (expand::LastFiles): move initalizaton of iterators out of loop,
8785 (expand::Documents): introduce typdedef vector<string> Strings,
8787 (expand::ExportFormats): introduce typedef vector<Format const *>
8788 Formats, and use it.
8789 (expand): implement FloatListInsert and FloatInsert.
8791 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8792 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8793 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8795 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8797 (Dispatch::LFUN_FLOAT_LIST): implement
8799 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8801 * LaTeX.C (run): Fix problem with --export code.
8803 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8805 * BufferView.[Ch] (workarea): removed.
8806 (getClipboard) new method; wrapper for workarea()->getClipboard()
8808 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8811 * WorkArea.h (width, height, xpos, ypos): These methods all
8812 returned the dimensions of the work_area sub-area of WorkArea,
8813 resulting in a position error if the WorkArea were resized. Now
8814 return the dimensions of the entire WorkArea.
8816 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8818 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8820 * LaTeX.C (deplog): correct the syntax of regex reg1
8822 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * undo.C: remove !NEW_INSETS cruft
8826 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * text2.C: remove !NEW_INSETS cruft
8830 * text.C: remove !NEW_INSETS cruft
8832 * tabular.C: remove !NEW_INSETS cruft
8834 * spellchecker.C: remove !NEW_INSETS cruft
8836 * lyxtext.h: remove !NEW_INSETS cruft
8838 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8840 * lyxfunc.C: remove !NEW_INSETS cruft
8842 * lyxfind.C: remove !NEW_INSETS cruft
8844 * lyx_cb.C: remove !NEW_INSETS cruft
8846 * figureForm.C: remove !NEW_INSETS cruft
8848 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8850 * buffer.[Ch]: remove !NEW_INSETS cruft
8852 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8854 * CutAndPaste.C: remove !NEW_INSETS cruft
8856 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8858 * BufferView2.C: remove !NEW_INSETS cruft
8860 * BufferView.h: remove !NEW_INSETS cruft
8862 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8864 * Lsstream.h: include LString.h before the sstream headers to
8865 fix problem with gcc 2.95.3 and lyxstring
8867 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8869 * lyx_main.C: add using directives when needed for C functions
8870 declared in std:: namespace.
8872 2001-04-27 Juergen Vigna <jug@sad.it>
8874 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8875 (SetHeightOfRow): comment out the update call should not be needed!
8877 2001-04-13 Juergen Vigna <jug@sad.it>
8879 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8880 (LyXTabular): tried to minimize operator= operations (and realized
8881 hopfully Lars wish).
8883 2001-04-27 Juergen Vigna <jug@sad.it>
8885 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8887 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8889 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8891 * buffer.C (readInset): hack to make listof algorithm work
8893 * BufferView_pimpl.C: hack to make listof algorithm work
8895 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * LyXAction.C: removed all !NEW_INSETS cruft
8898 (init): moved lfun_item in method
8900 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8902 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8904 * BufferView2.C (theLockingInset): white space.
8906 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * minibuffer.C: include <iostream>
8910 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8912 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8914 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8916 * text.[Ch] (TransposeChars): new method
8918 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8920 * call message directly through LyXView instead of through LyXFunc
8921 * BufferView2.C: adjust
8922 * BufferView_pimpl.C: adjust
8923 * FontLoader.C: adjust
8925 * bufferview_funcs.C: adjust
8926 * converter.C: adjust
8927 * figureForm.C: adjust
8928 * importer.C: adjust
8930 * lyx_gui_misc.C: adjust
8934 + more files in subdirs
8936 * lyxparagraph.h (size): move up int file
8939 * adjust all uses of Assert to lyx::Assert.
8941 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8942 lyxfunctional in namespace lyx
8943 * layout.C (hasLayout): ditto
8946 (delete_layout): ditto
8947 (NumberOfClass): ditto
8948 * converter.C (GetFormat): ditto
8953 * bufferlist.C (getFileNames): ditto
8954 (emergencyWriteAll): ditto
8957 * MenuBackend.C (hasSubmenu): ditto
8960 * BufferView_pimpl.C (getInsetByCode): ditto
8962 2001-04-18 Juergen Vigna <jug@sad.it>
8964 * vspace.C (asLatexString): fixed the 100% problem.
8966 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8968 * lyxfunc.C (Dispatch):
8970 * minibuffer.h: add a few std:: qualifiers
8972 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * minibuffer.[Ch]: reimplement so that commands is initiated and
8975 run from lyxfunc, simplified som handling, and made the completion
8976 and history code for complete. wip.
8978 * lyxfunc.C (processKeySym): call message
8979 (miniDispatch): new temporary method
8980 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8981 (LFUN_MESSAGE): implement
8982 (LFUN_MESSAGE_PUSH): implement
8983 (LFUN_MESSAGE_POP): implement
8984 (initMiniBuffer): the initial/defualt minibuffer message.
8986 * lyxfont.[Ch]: inline some more getters
8988 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8990 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8992 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8993 (AutoSave): use LFUN_MESSAGE
8994 (Reconfigure): ditto
8996 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8998 * figureForm.C: use LFUN_MESSAGE
9000 * converter.C (runLaTeX): use LFUN_MESSAGE
9002 * bufferview_funcs.C: use LFUN_MESSAGE
9004 (changeDepth): ditto
9006 * bufferparams.h: use boost::
9008 * bufferlist.h: inherit privately from noncopyable
9010 * bufferlist.C (loadLyXFile): remove some commented code.
9012 * buffer.C (runChktex): use LFUN_MESSAGE
9014 * ShareContainer.h: inherit privately from noncopyable
9016 * ParagraphParameters.[hC] (depth): inline it.
9018 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
9020 (message): new method
9021 (messagePush): ditto
9023 (show): init minibuffer
9024 (showState): direct call
9026 * LaTeX.[Ch]: inherit privately from noncopyable
9027 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
9028 instead of WriteStatus.
9030 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
9032 * BufferView_pimpl.C (buffer): don't init minibuffer
9033 (workAreaButtonPress): use LFUN_MESSAGE
9034 (workAreaButtonRelease): ditto
9035 (savePosition): ditto
9036 (restorePosition): ditto
9037 (MenuInsertLyXFile): ditto
9038 (workAreaExpose): don't init minibuffer
9039 (update): remove commented code, simplify
9041 * BufferView2.C (openStuff): use LFUN_MESSAGE
9042 (toggleFloat): ditto
9045 (copyEnvironment): ditto
9046 (pasteEnvironment): ditto
9051 (updateInset): remove some commented code
9053 * lastfiles.h: inherit privately from noncopyable
9058 * lyxlex_pimpl.h: ditto
9060 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
9061 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
9062 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9064 * LyXAction.h: inherit privately from noncopyable, add methods
9065 func_begin, func_end, returning iterators to the func map.
9067 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
9068 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
9069 (func_begin): new method
9070 (func_end): new method
9072 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
9074 (copySelection): ditto
9075 (pasteSelection): ditto
9077 * BufferView.C: whitespace change
9078 * BufferView.h: inherit privately from noncopyable
9080 2001-04-16 Allan Rae <rae@lyx.org>
9082 * tabular-old.C (l_getline):
9083 * spellchecker.C (sc_check_word):
9084 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
9085 an unrecognised preprocessor directive. So ensure they're wrapped.
9087 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
9089 * src/exporter.C (Export): Give an error message when path to file
9092 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9094 * LaTeX.C (deplog): Always check that foundfile exists.
9096 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9099 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9101 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * tabular.[Ch] (getLabelList): implement new method
9105 * minibuffer.h: comment ouf setTiimer
9107 * minibuffer.C (ExecutingCB): constify res
9108 (peek_event): constify s
9109 (Set): constify ntext
9110 (Init): constify nicename
9112 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9114 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9115 (savePosition): use two params to Minibuffer::Set
9116 (restorePosition): ditto
9118 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9120 * lyx_main.C: include language.h
9122 * Makefile.am (lyx_main.o): add language.h
9124 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9130 * CutAndPaste.C: include gettext.h
9132 * lyxfont.h: remove old hack with ON and OFF.
9135 * lyxfont.h: do not include language.h...
9140 * bufferview_funcs.C:
9146 * paragraph.C: ... but do it here instead
9148 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9152 * tabular.C: small reformat
9154 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9157 (BreakParagraph): ditto
9158 (SetOnlyLayout): ditto
9161 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9164 * lastfiles.C: removed most using decl, add std:: where needed
9166 * buffer.C: ws changes
9168 * MenuBackend.C (class compare_format): put into anon namespace
9169 (expand): constify label, names, action, action2
9172 * text.C (SingleWidth): constify font
9173 (IsBoundary): constify rtl2
9174 (GetVisibleRow): constify ww
9176 * LaTeX.C (deplog): constify logfile
9178 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9180 (workAreaExpose): constify widthChange, heightChange
9182 * lyxrow.C (par): moved
9185 * lyxrow.h: as inlines here
9187 * lyxfont.h (shape): moved from lyxfont.C
9188 (emph): moved from lyxfont.C
9190 * lyxfont.C (LyXFont): use initialization list for all
9192 (shape): move to lyxfont.h as inline
9193 (emph): move to lyxfont.h as inline
9196 2001-04-04 Juergen Vigna <jug@sad.it>
9198 * vspace.C: had to include stdio.h for use of sscanf
9200 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9203 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9204 independent of xforms.
9206 2001-04-02 Juergen Vigna <jug@sad.it>
9208 * spellchecker.C: fixed namespace placing!
9210 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9212 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9213 the LyXParagraph * is 0.
9215 2001-03-29 Juergen Vigna <jug@sad.it>
9217 * vspace.C: added support for %, c%, p%, l%.
9218 (stringFromUnit): added helper function.
9219 (asLatexString): changed to give right results for the %-values.
9221 * buffer.C: convert the widthp in a width%.
9223 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9225 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9228 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9229 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9231 * lyx_cb.[Ch]: see above.
9233 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9237 * lyx.[Ch]: replaced by figure_form.[Ch].
9241 * lyxfunc.C: changed headers associated with above changes.
9243 2001-03-27 Juergen Vigna <jug@sad.it>
9245 * BufferView_pimpl.C: set the temporary cursor right!
9247 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9249 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9251 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9253 * LString.h: removed "using std::getline"!
9255 * BufferView_pimpl.C (Dispatch): changes due to changes in
9256 InsetInclude::Params.
9258 * buffer.C (tag_name): removed redundant break statements as they were
9259 producing lots of warnings with my compiler.
9261 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9263 * LString.h: add "using std::getline" when using the real <string>.
9265 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9267 * buffer.C: removed bitset usage.
9268 PAR_TAG moved to an anonymous name space.
9269 (tag_name): new funtion, also in the anonymous namespace.
9270 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9271 (makeDocBookFile): clean code. Completed transition from string arrays
9273 (SimpleDocBookOnePar): code clean.
9275 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9277 * tabular.C: add some comments.
9279 2001-03-22 Juergen Vigna <jug@sad.it>
9281 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9282 compatibility read a bit and fixed bug with minipage in different
9285 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9287 * buffer.C (pop_tag): removed.
9288 (push_tag): removed.
9289 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9290 array replaced with vector. Added support for CDATA sections.
9291 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9293 (makeDocBookFile): XML conformant declaration of CDATA section,
9294 fixed bug related to <emphasis> in the first paragraph char.
9295 (sgmlOpenTag): exclude empty tags.
9296 (sgmlCloseTag): ditto.
9298 * buffer.h (pop_tag): removed.
9299 (push_tag): removed.
9301 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9303 * language.h (Languages): added size_type and size().
9305 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9307 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9308 response on compability reading of minipages. One probliem is that
9309 the old usage of minipages was «flertydig»
9311 * several files here and in subdirs: don't use static at file
9312 scope use anon namespaces instead.
9314 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9316 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9317 LaTeX output. This is necessary for Literate document
9320 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9322 * buffer.C: insert hfill when needed.
9324 * tabular.C (l_getline): use string::erase, small whitespace change.
9326 * BufferView_pimpl.C: try the anon namespace.
9329 2001-03-16 Juergen Vigna <jug@sad.it>
9331 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9332 otherwise it won't open options-dialogs.
9334 * buffer.C: honor pextraWidth(p) on converting minipages.
9336 * tabular.C (l_getline): changed the functions to strip trailing \r.
9338 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9340 * BufferView_pimpl.C:
9341 * minibuffer..C: added "using SigC::slot" declaration.
9343 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9345 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9351 * paragraph.C: ditto
9353 * lyxtext.h: NO_PEXTRA
9355 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9357 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9358 * ParameterStruct.h: ditto
9359 * ParagraphParameters.h: ditto
9360 * lyxparagraph.h: ditto
9362 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9364 * buffer.C: add compability for minipage alignment.
9365 (latexParagraphs): remove unwanted pextra check.
9367 * several files: remove CXX_WORKING_NAMESPACES
9369 * buffer.C (pop_tag): tie is in namespace boost
9371 * BufferView.h: noncopyable is in namespace boost
9376 * lastfiles.h: ditto
9377 * bufferlist.h: ditto
9378 * ShareContainer.h: ditto
9380 * LyXAction.h: ditto
9383 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9385 * Merging changes from BRANCH_MVC back into HEAD.
9387 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9389 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9391 * BufferView_pimpl.C: change from intl.C
9395 * Makefile.am: move combox.*
9401 * intl.C: remove dialog (covered by prefs)
9403 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9405 * lyxfunc.C (Dispatch): removed redundant break statement.
9407 2001-03-14 Juergen Vigna <jug@sad.it>
9409 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9411 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9413 * buffer.C: add hack to fix compability reading of minipages.
9415 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9417 * buffer.C (getLists): Cleanup.
9419 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9421 * lyxfont.C (update): don't honor toggleall on font size.
9423 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9427 * Makefile.am: moved to frontends/xforms/
9431 * BufferView_pimpl.C: changes for moved mathpanel
9433 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9435 * gettext.h: fix gettext_init() in --disable-nls
9437 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9439 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9441 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9444 * lyx.h: strip external form
9446 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9448 * BufferView_pimpl.C: add comment, destroySplash()
9450 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9452 * BufferView_pimpl.C:
9456 * lyxfunc.C: use re-worked insetinclude
9458 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9460 * buffer.C: add using std::stringstream.
9462 * lyx_cb.C: readd using std::ios.
9464 * buffer.C: add using std::map.
9466 * BufferView_pimpl.C: add using std::vector.
9468 * ShareContainer.h: add std:: to swap.
9470 * buffer.h: add some typedefs
9471 * buffer.C (getLists): use them
9472 (getLists): renamed from getTocList.
9473 add a counter for the different float types and use it in the
9475 (getLists): use the same counter for the NEW_INSETS and the "non"
9478 * lyx_cb.h: remove unused items, includes, using etc.
9480 * ShareContainer.h: remove some commented code, add more comments
9481 and "documentation".
9483 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9485 * buffer.C (getTocList): make the list also when NEW_INSETS is
9488 * buffer.h: remove TocType
9490 * buffer.C (getTocList): change to return a map<string,
9491 vector<TocItem> >, implement for dynamic number of list.
9493 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9494 * text2.C (PasteSelection): adjust
9495 * CutAndPaste.C (pasteSelection): adjust
9497 * FloatList.C (FloatList): update from the new_insets branch.
9498 * Floating.[Ch]: ditto
9499 * LaTeXFeatures.C: ditto
9501 * lyxlex_pimpl.C: ditto
9503 * paragraph.C (Last): remove when NEW_INSETS is defined.
9505 * other file: changes because of the above.
9507 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9509 * lyxparagraph.h: rename next to next_, previous to previous_,
9510 make them private for NEW_INSETS. Rename Next() to next(),
9511 Previous() to previous().
9513 * other files: changes because of the above.
9515 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9518 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9521 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9523 * main.C (main): pass lyx_localedir to gettext_init().
9525 * gettext.h: remove locale_init and gettext_init macros
9527 * gettext.C (locale_init): new function
9528 (gettext_init): new function
9530 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9533 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9535 * Moved credits to frontends:
9536 * credits.[Ch]: removed
9537 * credits_form.[Ch]: removed
9538 * lyx_gui_misc.C: remove credits stuff
9541 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9543 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9545 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9546 unneeded destructor.
9548 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9549 a standalone pointer again.
9551 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9553 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9559 * ToolbarDefaults.C:
9568 * BufferView_pimpl.C: use new file dialog in GUII
9571 * lyx_cb.C: remove LayoutsCB to Toolbar
9573 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9575 * ShareContainer.h (get): add std:: qualifier
9577 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9579 * ShareContainer.h: define a proper ShareContainer::value_type
9580 type (and use typename to please compaq cxx)
9582 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9584 * lyxparagraph.h: move serveral local vars to
9585 ParameterStruct/ParagraphParameters., use ShareContainer in
9586 FontTable., make vars in FontTable private and add getter and
9589 * paragraph.C: changes because of the above.
9591 * lyxfont.h: remove copy constructor and copy assignment. (the
9592 default ones is ok), move number inside FontBits. move inlines to
9595 * lyxfont.C: add number to initializaton of statics, move several
9596 inlines here. constify several local vars. some whitespace
9597 cleanup. Dont hide outerscope variables.
9599 * Spacing.h: add two new constructors to match the set methods.
9601 * ShareContainer.h: new file, will perhaps be moved to support
9603 * ParameterStruct.h: new file
9605 * ParagraphParameters.h: new file
9607 * ParagraphParameters.C: new file
9609 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9610 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9612 * BufferView_pimpl.C: ParagraphParameter changes.
9613 * buffer.C: Likewise.
9614 * bufferview_funcs.C: Likewise.
9616 * text2.C: Likewise.
9618 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9620 * lyxfind.C (LyXReplace): do not redefine default argument in
9622 (IsStringInText): ditto
9623 (SearchForward): ditto
9624 (SearchBackward): ditto
9626 2001-03-06 Juergen Vigna <jug@sad.it>
9628 * lyxfind.C (IsStringInText): put parentes around expressions.
9630 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9632 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9634 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9636 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9638 * stl_string_fwd.h: add comment
9640 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9643 * tabular.C: remove unused DocBook methods
9649 killed DO_USE_DEFAULT_LANGUAGE
9651 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9653 * lyx_gui.C: do not include language.h.
9655 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9656 arguments in function implementation.
9658 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9660 * BufferView_pimpl.C: add <ctime>
9662 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9664 * BufferView_pimpl.C: add using std::find_if
9666 2001-02-27 José Matos <jamatos@fep.up.pt>
9668 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9671 2001-02-11 José Matos <jamatos@fep.up.pt>
9673 * buffer.C (makeDocBookFile): command styles now have a parameter as
9676 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9678 * layout_forms.[Ch]: removed
9679 * lyx_cb.[Ch]: out character
9680 * lyx_gui.C: out character
9681 * lyx_gui_misc.C: out character
9682 * bufferview_funcs.C: : out character,
9683 added toggleall as parameter in ToggleAndShow
9685 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9687 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9689 * text2.C (SetCurrentFont): Disable number property at boundary.
9691 2001-02-26 Juergen Vigna <jug@sad.it>
9693 * lyxfunc.C (getStatus): added a string argument override function so
9694 that this is correctly called from LyXFunc::Dispatch if it contains a
9695 do_not_use_argument which is used!
9696 (Dispatch): added check for "custom" export and call appropriate func.
9698 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9700 * lyxrc.C: Add language_command_local, language_use_babel and
9701 language_global_options.
9703 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9705 * buffer.C (makeLaTeXFile): Use language_use_babel and
9706 language_global_options.
9708 2001-02-23 Juergen Vigna <jug@sad.it>
9710 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9711 which works with LyXText and putted it inside BufferView. Here now we
9712 only call for that part the BufferView::Dispatch() function.
9714 * BufferView.C (Dispatch): added.
9716 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9717 functions which needs to use a LyXText over from LyXFunc.
9718 (MenuInsertLyXFile): added
9719 (getInsetByCode): added
9720 (moveCursorUpdate): added
9721 (static TEXT): added
9723 2001-02-22 Juergen Vigna <jug@sad.it>
9725 * BufferView_pimpl.C (update): call a status update to see if LyXText
9728 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9730 * vc-backend.C (revert): implement for CVS
9731 (getLog): implement for CVS
9733 2001-02-20 Juergen Vigna <jug@sad.it>
9735 * text2.C (ClearSelection): added BufferView param for inset_owner call
9737 * lyxfunc.C (TEXT): added this function and use it instead of
9738 directly owner->view()-text of getLyXText().
9740 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9742 * src/layout_forms.C: out preamble
9743 * src/layout_forms.h: out preamble
9744 * src/lyx_cb.C: out preamble
9745 * src/lyx_cb.h: out preamble
9746 * src/lyx_gui.C: out preamble
9747 * src/lyx_gui_misc.C: out preamble
9748 * src/lyxfunc.C: connect with guii preamble
9750 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9752 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9754 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9756 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9757 whether to run bibtex.
9759 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9761 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9763 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9765 * Makefile.am (lyx_SOURCES): removed bibforms.h
9769 * text.C (GetVisibleRow): make several local vars const
9771 * tabular.C: small cleanup.
9773 * lyxserver.C (callback): use compare instead of strncmp
9775 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9776 inlines to after class or to paragraph.C
9778 * lyxfont.h: remove friend operator!=
9780 * converter.h: move friend bool operator< to non friend and after
9783 * combox.h: small cleanup
9785 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9786 to inlines after class def.
9788 * buffer.C (pop_tag): use string operations instead of strcmp
9790 * bmtable.c: doxygen, small cleanup
9792 * LaTeX.h: remove friend operator==
9794 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9806 * BufferView_pimpl.C:
9807 * BufferView.[Ch]: remove cruft
9809 2001-02-14 Juergen Vigna <jug@sad.it>
9811 * lyxfunc.C: removed #if 0 unused code
9813 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9815 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9817 * text2.C (SetSelection): added a BufferView * parameter
9819 2001-02-13 Juergen Vigna <jug@sad.it>
9821 * lyxfunc.C (Dispatch): fixed protected blank problem.
9822 * BufferView2.C (protectedBlank): added LyxText * parameter.
9824 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9825 (AppendColumn): same as above for column_info.
9827 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9828 (moveCursorUpdate): use a LyXText param for support of InsetText.
9830 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9831 (tripleClick): ditto
9833 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9835 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9837 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9839 * text2.C (SetSelection): set correct update status if inset_owner
9842 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9844 * tabular.C: remove some commented code.
9846 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9848 * BufferView_pimpl.C: call hideSplash()
9850 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9853 * bibforms.h: remove
9856 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9857 add LFUN_CHILD_CREATE
9859 * counters.h: fix tiny typo
9864 * lyx.C: move splash to frontends/xforms/
9866 * lyx_gui_misc.C: move Include and Bibform to frontends
9868 * lyxvc.h: clarify comment
9870 * vspace.C: tiny housekeeping
9872 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9874 * text.C (PrepareToPrint): RTL Fix.
9876 * paragraph.C (GetUChar): New method.
9877 (String): Use GetUChar.
9879 * buffer.C (asciiParagraph): Use GetUChar.
9881 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9883 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9885 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9888 * buffer.C: rename to getLogName(), handle
9889 build log / latex log nicely
9891 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9894 * MenuBackend.h: remove support for reference menuitem type.
9896 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9898 * BufferView_pimpl.C: housekeeping
9899 * BufferView_pimpl.h:
9904 * minibuffer.h: move Timeout GUI-I
9906 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9908 * lyxrc.C (read): Update converters data-structures.
9910 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9912 * LaTeX.h (operator!=): add operator != for Aux_Info
9914 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9916 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9918 * LaTeXLog.C: deleted, useful code moved to Buffer
9921 * buffer.C: new function getLatexLogName()
9927 * lyxfunc.C: use frontends for LaTeX and VC logs
9929 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9931 * LaTeX.h: yet another std:: that Allan forgot.
9933 * Variables.C (set): renamed from isset(), because this clashes
9934 with some HP-UX macros (grr).
9936 2001-02-06 Allan Rae <rae@lyx.org>
9938 * LaTeX.h: Another bug fix. Missing std:: this time.
9940 2001-02-04 Allan Rae <rae@lyx.org>
9942 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9943 floats problem. I've left it commented out because it's not quite
9944 correct. It should also test that the current object is a table or
9945 figure inset. But I haven't gotten around to figuring out how to do
9946 that. I *think* it'll be something like: "table" == inset.type()
9948 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9951 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9953 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9954 all the citation/databases/styles in the auxilary file.
9955 (run): Rerun latex if there was a babel language error.
9957 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9959 * text.C (Backspace): Preserve the font when changing newline char
9961 (BreakParagraph): If the cursor is before a space, delete the space.
9963 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9965 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9967 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9968 new argument (code).
9969 (ChangeCitationsIfUnique): New method.
9971 * paragraph.C (GetPositionOfInset): Handle bibkey.
9973 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * BufferView_pimpl.h: change type of Position::par_pos to
9976 LyXParagraph::size_type.
9978 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9980 * BufferView_pimpl.C (savePosition, restorePosition): Write
9981 messages to minibuffer.
9983 2001-01-28 José Matos <jamatos@fep.up.pt>
9985 * buffer.C (makeDocBookFile): adds support for document language.
9986 A silly restriction on the name of LatexCommand types where removed.
9987 Added support for CDATA sections, allows to chars unescaped, used
9988 among others in code, to avoid escape < and >.
9990 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9992 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9993 saved positions instrad of a stack. Furthermore, a position is
9994 stored using paragraph id/paragraph position.
9996 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9997 Remove LFUN_REF_BACK.
9999 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10001 * converter.C (dvipdfm_options): New method.
10003 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
10005 * vspace.C (isValidLength): Fix for empty input string.
10007 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10009 * LyXAction.C (init): change description of LFUN_FIGURE to
10012 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10014 * LaTeX.C: add using directive
10016 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10018 * MenuBackend.C (expand): Fix the sorting of the formats.
10020 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
10022 * lyx_main.C: tiny error message fix
10024 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10026 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
10027 calling fl_initialize(). This fixes the problem with ',' as
10028 decimal separator in text files.
10030 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
10032 * trans.C (process): Fix the keymap bug.
10034 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
10036 * LaTeX.C (scanAuxFiles): New method. Provides support for
10037 multiple bibliographies (when using the bibtopic/bibunits pacakges).
10038 (scanLogFile) Scan for "run BibTeX" messages.
10040 * buffer.C (makeLaTeXFile): Do not load the ae package when using
10041 OT1 font encoding. Also, load the aecompl package if the ae
10044 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
10046 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10048 * texrow.C (increasePos): turn two error messages into debug
10051 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
10053 * LaTeX.C (scanAux): Handle the \@input macro.
10054 (runBibTeX): Use scanAux().
10056 * language.C (latex_options_): New field.
10058 * LaTeXFeatures.C (getMacros): Add language macros.
10060 * buffer.C (makeLaTeXFile): Small fix.
10062 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10064 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
10066 * text2.C: add a using directive.
10068 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
10073 * lyxfunc.C: kill LyXBell.
10075 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
10077 * text.C (IsBoundary): Remove the error message
10079 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
10081 * lyxrc.C (setDefaults): Correct initialization value for
10084 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
10086 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
10089 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
10090 and GotoNextNote().
10092 * src/LyXAction.C: Added reference-next.
10094 * text.C (InsertChar): Use contains instead of strchr.
10096 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10098 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10100 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10101 alignment commands (when needed).
10103 * text.C (InsertChar): Add ':' to number separator chars.