X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=3ee0e7681ac415a3fba86a482b7b0433efcf6101;hb=08b29513b3e9a83ebe6baf5796ee7a3d584a855e;hp=c54fd8db95655104b95659218a679b635b6e4683;hpb=b76510c433834f0bc5a9566a6bb1e55fe675f247;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index c54fd8db95..3ee0e7681a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,852 @@ +2003-04-11 John Levon + + * text.C (rowBreakPoint): reintroduce the labelEnd + checks, code copied from the row fill stuff. Deep voodoo. + + * text.C (fill): add a comment and debugging for the + next poor soul. + +2003-04-11 John Levon + + * text.C: make sure fullrow insets get wrapped to the next line, + even when they're in a manual label + +2003-04-10 Lars Gullik Bjønnes + + * text2.C (insertParagraph): make it take ParagraphList::iterator + as arg. + (setLayout): make it return ParagraphList::iterator + (redoParagraphs): ditto + (setCounter): ditto + (checkParagraph): ditto + + * text.C (getRow): make getrow take ParagraphList::iterator as arg + + * text2.C: adjust several funcs. + (realizeFont): take a ParagraphList::iterator as arg. + (getLayoutFont): ditto + (getLabelFont): ditto + (setCharFont): ditto + + * text.C: adjust several funcs. + +2003-04-09 Alfredo Braunstein + + * text.C (selectNextWordToSpellcheck): don't accidentally + skip insets + +2003-04-10 John Levon + + * ToolbarBackend.C (getIcon): special handling for + LFUN_MATH_DELIM + +2003-04-09 Alfredo Braunstein + + * text2.C (cursorRight): a getChar assert fixed + +2003-04-09 Lars Gullik Bjønnes + + * text2.C (getFont): change to take a ParagraphList::iterator + instead of Paragraph* + Adjust several functions. + + * text.C (transformChar): change to take a ParagraphList::iterator + instead of Paragraph* + (singleWidth): ditto + Adjust several functions. + + * rowpainter.C: adjust several functions + * rowpainter.h:store a ParagraphList::iterator and not a + Paragraph&. + + +2003-04-09 John Levon + + * lyxfunc.C: + * lfuns.h: + * LyXAction.h: + * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP, + and the "help" bits as well + +2003-04-09 John Levon + + * ToolbarBackend.h: + * ToolbarBackend.C: allow multiple toolbars + +2003-04-09 Lars Gullik Bjønnes + + * undo_funcs.C (setCursorParUndo): adjust + + * text_funcs.C (transposeChars): adjust + + * text3.C (gotoNextInset): adjust + (dispatch): adjust + + * text2.C (setLayout): adjust + (changeDepth): adjust + (setFont): adjust + (redoParagraphs): adjust + (selectionAsString): adjust + (setParagraph): adjust + (insertInset): adjust + (cutSelection): adjust + (copySelection): adjust + (pasteSelection): adjust + (insertStringAsLines): adjust + (updateInset): adjust + (setCursor): change to take a ParagraphList::iterator parameter + (setCursorIntern): change to take a ParagraphList::iterator parameter + (setCurrentFont): adjust + (cursorLeft): adjust + (cursorRight): adjust + (deleteEmptyParagraphMechanism): adjust + + * text.C (breakParagraph): adjust + (insertChar): adjust + (acceptChange): adjust + (rejectChange): adjust + (selectNextWordToSpellcheck): adjust + (changeCase): adjust + (Delete): adjust + (backspace): adjust + + * lyxfind.C (SearchForward): adjust + (SearchBackward): adjust + (nextChange): adjust + + * lyxcursor.C (par): adjust + + * lyxcursor.h: store a ParagraphList::iterator instead of a + Paragraph* + + * lyx_cb.C (getPossibleLabel): adjust + + * bufferview_funcs.C (toggleAndShow): adjust + + * BufferView_pimpl.C (resizeCurrentBuffer): adjust + (dispatch): adjust + + * BufferView.C (removeAutoInsets): adjust + (lockedInsetStoreUndo): adjust + +2003-04-09 John Levon + + * ToolbarBackend.C: try icon without argument + if with argument fails + +2003-04-08 John Levon + + * ToolbarBackend.h: + * ToolbarBackend.C: add getIcon(), handle tooltip, + and change from "Icon" to "Item". + +2003-04-08 Alfredo Braunstein + + * BufferView.C (lockInset): another bad getchar crunched + +2003-04-08 Alfredo Braunstein + + * text2.C (changeDepth): do not setUndo on test_only (make undo work + again) + +2003-04-05 Alfredo Braunstein + + * lyxfind.C (searchForward, searchBackwards): bug 782 + +2003-04-07 John Levon + + * paragraph.C: remove dead comment + + * text.C: remove troublesome depth-fiddling code + in leftMargin() and rightMargin() (bug 1017) + + * text.C: fix breaking of rows in nested lists + (bug 1004) + + * text2.C (updateCounters): fix up depth values + (bug 1013) + +2003-04-07 John Levon + + * BufferView_pimpl.C: clear message when doc finishes resizing, + and after a mouse event + + * lyxfunc.C: clear message after exiting inset + +2003-04-07 John Levon + + * bufferview_funcs.C: show math status not outside + status in the statusbar + +2003-04-07 John Levon + + * lyxfunc.C: note status changed after a depth change + +2003-04-04 Angus Leeming + + * LaTeX.h: move AuxInfo operator==, != out of line. + Remove LaTeX virtual destructor; nothing derives from it. + Move operator()() out of public area and rename it startscript(). + Change protected for private. + +2003-04-04 Angus Leeming + + * lyxfunc.C: + * text2.C: remove unneeded #includes. + +2003-04-03 Alfredo Braunstein + + * text2.C (dEPM): fix the heigth of the next row + +2003-04-03 Alfredo Braunstein + + * text.C: squashed an invalid getChar requester + some ws changes + +2003-04-03 John Levon + + * bufferview_funcs.h: + * bufferview_funcs.C: + * lyxfunc.C: + * lyxtext.h: + * text2.C: make getStatus work for the env depth lfuns + +2003-04-03 John Levon + + * bufferview_funcs.h: + * bufferview_funcs.C: + * lyxfunc.C: + * lyxtext.h: + * text2.C: parlistize decDepth(), by merging it with incDepth() + +2003-04-03 Lars Gullik Bjønnes + + * lyxrow.h: store a ParagraphList::iterator instead of a + Paragraph* and adjust other class functions to suit. + + * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the + above. + +2003-04-01 Alfredo Braunstein + + * text2.C (setCursor): do not anchor to cursor row for the time being + +2003-04-02 John Levon + + * LyXAction.C: + * lfuns.h: + * lyx_main.C: + * lyxtext.h: + * text.C: + * text3.C: rename the "tab" lfuns. Remove tab support from normal text + +2003-04-02 Lars Gullik Bjønnes + + * paragraph.h: make ParagraphList and ParagraphList::iterator + friends of Paragraph. + + * buffer.C (makeLinuxDocFile): move towards ParagraphList + + * ParagraphList.C: Use the private next_ and previous_ from + Paragraph. + +2003-04-01 John Levon + + * ToolbarBackend.h: + * ToolbarBackend.C: + * Makefile.am: rename, remove defaults gunk + + * MenuBackend.h: + * MenuBackend.C: remove defaults gunk + + * Languages.h: + * Languages.C: remove defaults gunk + + * lyx_main.h: + * lyx_main.C: error out if files couldn't be found. + +2003-04-02 John Levon + + * text2.C: make incDepth() use parlist + +2003-04-02 Lars Gullik Bjønnes + + * undo_funcs.C (firstUndoParagraph): adjust + + * text3.C (gotoInset): adjust + (dispatch): adjust, and rewrite loop. + + * text2.C (init): adjust, and rewrite loop. + (redoParagraphs): adjust + (updateInset): adjust, and rewrite loop. + (deleteEmptyParagraphMechanism): adjust + + * tabular.C (LyXTabular): adjust + (SetMultiColumn): adjust + (TeXRow): adjust + + * lyxtext.[Ch] (ownerParagraph): delete function + (ownerParagraphs): new function returns a ParagraphList. + + * BufferView.C (removeAutoInsets): adjust + (insertErrors): adjust + (setCursorFromRow): adjust + +2003-04-01 Angus Leeming + + * BufferView_pimpl.C (buffer): ensure that the Layout is correct + in the frontends. + +2003-04-02 John Levon + + * lyxtext.h: + * text.C: + * Makefile.am: + * text_funcs.h: + * text_funcs.C: make transposeChars a free function + + * lyxrow_funcs.C: remove wrong comment + +2003-04-01 Lars Gullik Bjønnes + + * lyxtext.h: adjust + * rowpainter.C: adjust + * text.C: adjust + * text2.C: adjust + * text3.C: adjust + + * lyxrow_funcs. [Ch]: new files + + * lyxrow.[Ch]: remove next and previous pointers + (next,previous): remove accessor functions + (isParEnd): move to lyxrow_funcs + (lastPos): move to lyxrow_funcs + (nextRowIsAllInset): move to lyxrow_funcs + (lastPrintablePos): move to lyxrow_funcs + (numberOfSeparators): move to lyxrow_funcs + (numberOfHfills): move to lyxrow_funcs + (numberOfLabelHfills): move to lyxrow_funcs + (hfillExpansion): move to lyxrow_funcs + + * lyxfunc.C: adjust + + * bufferview_funcs.C (toggleAndShow): adjust + + * RowList.h: Remove class RowList from file leave just a + std::list. + + * RowList.C: delete file + + * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C + and lyxrow_funcs.h + +2003-04-01 Lars Gullik Bjønnes + + * text3.C (cursorPrevious): adjust + (cursorNext): adjust + (dispatch): adjust + + * text2.C (redoHeightOfParagraph): adjust + (redoDrawingOfParagraph): adjust + (setCursor): adjust + + * text.C (breakParagraph): adjust + (insertChar): adjust + (backspace): adjust + + * rowpainter.C (RowPainter): adjust + (leftMargin): simplify and adjust + (most rowpainter functions): adjust. + + * rowpainter.h: store the row as RowList::iterator not as Row* + + * lyxcursor.C (row): taka RowList::iterator as arg + (irow): ditto + + * lyxcursor.h: make the LyXCursor store RowList::iterators instead + of Row*. + +2003-04-01 Angus Leeming + + * bufferview_funcs.C (string2font): rewrite so that it no longer uses + stuff like bool Bool. + +2003-04-01 Alfredo Braunstein + + * text2.C (redoParagraphs): fix a bug (introduced by myself) and + rewrite a loop + +2003-04-01 Lars Gullik Bjønnes + + * text2.C (redoParagraphs): rewrite (with help from Alfredo) for + RowList::iterator. + + * lyxtext.h (rows): drop one version and leve a const variant that + returns a RowList::iterator. + +2003-03-31 Angus Leeming + + * text.C (fill): ensure that the signature is the same as that in the + header file. + +2003-03-31 Lars Gullik Bjønnes + + * text2.C (redoParagraphs): adjust + (updateCounters): adjust + (checkParagraph): adjust + (getColumnNearX): adjust and reformat a bit. + + * text.C (top_y): adjust + (workWidth): adjust + (leftMargin): adjust + (prepareToPrint): adjust + (getRow): adjust + (getRowNearY): adjust + + * lyxtext.h: make rowlist_ mutable. + + * RowList.h: add const_iterator + * RowList.C: adjust for RowList::const_iterator. + + * text2.C (getCursorX): make it take a RowList::iterator as arg, + adjust. + +2003-03-31 John Levon + + * lyxrc.h: + * lyxrc.C: moved pdf_mode and use_gui to elsewhere + + * lyx_main.C: set default fonts from using lyx_gui funcs + + * exporter.C: pdf_mode moved from lyxrc + + * lyx_cb.C: + * lyxfunc.C: changes from above + +2003-03-31 John Levon + + * lyx_main.C: fix to the last fix + +2003-03-31 John Levon + + * bufferlist.C: "Load original" -> "Load Original" + + * converter.C: + * exporter.C: + * importer.C: + * lyx_main.C: + * format.C: more Alert cleanups + +2003-03-30 Lars Gullik Bjønnes + + * text2.C (removeParagraph): make it take a RowList::iterator as + arg, adjust. + (getColumnNearX): make it take a RowList::iterator as arg, adjust. + (postRowPaint): make it take a RowList::iterator as arg, adjust. + + * text.C (anchor_row): make it take a RowList::iterator as arg, + adjust. + (computeBidiTables): make it take a const reference to Row instead + of Row pointer, adjust. + (leftMargin): make it take a RowList::iterator as arg, adjust. + (rowBreakPoint): adjust + (breakAgainOneRow): make it take a RowList::iterator as arg, + adjust. + (prepareToPrint): make it take a RowList::iterator as arg, adjust. + + * bufferview_funcs.C (toggleAndShow): adjust + +2003-03-30 John Levon + + * Makefile.am: + * BoostFormat.h: + * boost-inst.C: moved to support + + * several files: changes as a result + +2003-03-30 Lars Gullik Bjønnes + + * text2.C (LyXText): adjust. + (init): adjust + (removeRow): make it take a RowList::iterator as arg, adjust. + (fullRebreak): adjust + (deleteEmptyParagraphMechanism): adjust + (clearPaint): adjust + (postPaint): adjust + + * text.C (top_y): adjust + (setHeightOfRow): make it take a RowList::iterator as arg, adjust. + (breakAgain): make it take a RowList::iterator as arg, adjust. + (breakParagraph): adjust + (insertChar): adjust + (backspace): adjust + + * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto + need_break_row, and refresh_row. + + * text3.C (dispatch): adjust + + * text2.C (checkParagraph): adjust + (setCursor): adjust + (setCursorFromCoordinates): adjust + + * text.C (top_y): adjust + (workWidth): adjust + (getRow): make it return a RowList::iterator, adjust + (getRowNearY): make it return a RowList::iterator, adjust + + * text2.C (init): adjust + (insertRow): remove function + (insertParagraph): adjust + (redoParagraphs): adjust + (fullRebreak): adjust + (updateCounters): adjust + + * text.C (top_y): rewrite to use RowList iterators. + (top_y): adjust + (setHeightOfRow): rewrite to sue RowList iterators. + (appendParagraph): adjust + (breakAgain): adjust + (breakAgainOneRow): adjust + (breakParagraph): adjust + (getRow): adjust + (getRowNearY): adjust, and remove commented code. + + * lyxtext.h (firstRow): delete function + (lastRow): delete function + (rows): new function (const and non-const versions.) + (insertRow): delete function + + * lyxrow.[Ch] (Row): new constructor taking a par and a pos + +2003-03-29 John Levon + + * BufferView_pimpl.C: always update scrollbar top + because pasting text when we're anchored could mean we + miss an update altogether + +2003-03-29 Lars Gullik Bjønnes + + * text2.C (init): use rowlist_.end() and not 0. + (insertRow): change to take a RowList::iterator as arg, adjust + for this. + (insertParagraph): change to take a RowList::iterator as arg, + adjust for this. + (redoParagraphs): remove some debug msgs. + + * text.C (appendParagraph): change to take a RowList::iterator + arg, adjust for this. + (breakAgain): add an assert + (breakAgainOneRow): ditto + +2003-03-29 John Levon + + * text2.C: do not clear selection after inc/decDepth + (bug 550) + +2003-03-29 John Levon + + * BufferView.C: + * buffer.C: fix broken strerrors according to Lars + +2003-03-29 John Levon + + * converters.C: more Alert cleanups + +2003-03-29 John Levon + + * bufferview_funcs.C: remove pointless Alert + + * buffer.C: fix confusing error message when + a template is chmoded 000 + +2003-03-29 John Levon + + * BufferView.C: + * BufferView.h: + * BufferView_pimpl.C: Alert fixes + + * Makefile.am: + * tabular.C: + * tabular-old.C: remove unused table compat reading + +2003-03-29 John Levon + + * BufferView.C: + * buffer.C: + * lyx_cb.h: + * lyx_cb.C: more Alert cleanups + + * lyxfunc.C: don't allow chktex if not latex document + +2003-03-29 John Levon + + * lyx_cb.C: + * BufferView.C: + * buffer.C: warnings pushed down from support/, + kill err_alert + +2003-03-29 John Levon + + * lyxfunc.C: safety check for C-r (revert) + +2003-03-29 John Levon + + * bufferlist.h: + * bufferlist.C: several UI fixes using Alert::prompt. + Fix the pointless looping quit code. Fix stupid revert + behaviour (bug 938) + + * lyxvc.h: + * lyxvc.C: + * lyx_cb.C: use Alert::prompt + + * lyx_main.C: remove a silly question + + * lyxfunc.C: remove a couple of silly questions, + use Alert::prompt + +2003-03-28 John Levon + + * text2.C: fix bug 974 (End on empty par) + +2003-03-28 John Levon + + * BufferView_pimpl.C: + * LyXAction.C: + * lfuns.h: remove do-nothing math greek lfuns + +2003-03-27 Lars Gullik Bjønnes + + * lyxgluelength.h (isValidGlueLength): add default arg on + parameter 2. Remove default arg from friend in class. + + * lyxlength.h (isValidLength): add default arg on parameter 2. + Remove default arg from friend in class. + + * text2.C (LyXText): adjust, initialize refresh_row. + (init): adjust + (removeRow): adjust + (insertRow): adjust + (insertParagraph): adjst + (redoParagraphs): adjust + (fullRebreak): adjust + (updateCounters): adjust + (deleteEmptyParagraphMechanism): first attempt at fixing a + crashing bug. + + * text.C (top_y): adjust + (setHeightOfRow): adjust + (getRow): adjust + (getRowNearY): adjust + + * lyxtext.h: include RowList.h + (~LyXText): not needed anymore, deleted. + (firstRow): modify for RowList + (lastRow): new function + Delete firstrow and lastrow class variables, add a Rowlist + rowlist_ class variable. + + * lyxrow.C (lastPos): use empty() and not !size() to check if a + paragraph is empty. + + * RowList.C (insert): fix case where it == begin(). + +2003-03-26 Angus Leeming + + * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for + the thesaurus dialog. + +2003-03-26 Lars Gullik Bjønnes + + * Makefile.am (lyx_SOURCES): add RowList.[Ch] + + * RowList.[Ch]: new files + + * ParagraphList.C (erase): handle the case where it == begin + correctly. + +2003-03-25 John Levon + + * Makefile.am: + * aspell_local.h: + * aspell.C: add new aspell support + + * lyxrc.h: + * lyxrc.C: Make use_pspell be use_spell_lib. Always + have it accessible. + +2003-03-25 Angus Leeming + + * lfuns.h: + * LyXAction.C (init): new LFUN_INSET_INSERT. + + * BufferView_pimpl.C (dispatch): split out part of the + LFUN_INSET_APPLY block LFUN_INSET_INSERT. + + * factory.C (createInset): act on LFUN_INSET_INSERT rather than + LFUN_INSET_APPLY. + +2003-03-25 Angus Leeming + + * lyxfunc.C (dispatch): changes to the Dialogs interface. + +2003-03-25 Alfredo Braunstein + + * text2.C: + * text3.C: remove useless row->height(0) + +2003-03-25 John Levon + + * lyxtext.h: + * text2.C: + * text3.C: rename the refreshing stuff to better names + +2003-03-24 John Levon + + * BufferView_pimpl.h: + * BufferView_pimpl.C: update layout choice on a mouse + press/release + +2003-03-23 John Levon + + * Makefile.am: fix commandtags.h reference + +2003-03-22 John Levon + + * BufferView_pimpl.C: + * lyxtext.h: + * rowpainter.C: + * rowpainter.h: + * text.C: + * text2.C: remove CHANGED_IN_DRAW, it cannot happen now + +2003-03-21 Alfredo Braunstein + + * lyxtext.h: + * text.C: take the rtl methods out of line + +2003-03-21 André Pönitz + + * metricsinfo.[Ch]: new files containing structures to be passed around + during the two-phase-drawing... + +2003-03-21 André Pönitz + + * lyxtextclass.C: read 'environment' tag. + +2003-03-20 Alfredo Braunstein + + * text2.C (removeRow): fix bug 964 + +2003-03-20 John Levon + + * rowpainter.C: + * text.C: + * text2.C: paint cleanups. Inset::update() dropped font + parameter + +2003-03-19 John Levon + + * lyxfunc.C: only fitcursor/markDirty if available() + +2003-03-19 John Levon + + * commandtags.h: rename to ... + + * lfuns.h: ... this, and renumber / cleanup + +2003-03-19 John Levon + + * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun. + fit the cursor after an lfun + + * BufferView.h: + * BufferView.C: + * BufferView_pimpl.h: + * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE + + * LyXAction.C: layout-character should have ReadOnly + + * ParagraphParameters.C: + * buffer.C: + * bufferview_funcs.C: + * lyx_cb.C: + * lyxfind.C: + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: + * undo_funcs.C: changes from above + +2003-03-18 John Levon + + * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(), + remove it from update() + + * lyxfunc.C: update layout choice after an lfun + + * text3.C: remove extra updateLayoutChoice()s + +2003-03-18 John Levon + + * text.C: top_y change means full repaint, fix + a drawing bug with cursor movement + +2003-03-18 Alfredo Braunstein + + * lyxtext.h: + * text.C: + * text2.C: anchor row on setCursor + +2003-03-18 Alfredo Braunstein + + * lyxtext.h: remove almost all mutable keywords + * text.C: + * text2.C: + * text3.C: remove const keywords accordingly + +2003-03-17 Lars Gullik Bjønnes + + * paragraph_funcs.C (TeXDeeper): reduce number of args, move into + anon namespace + (TeXEnvironment): ditto + (TeXOnePar): ditto + +2003-03-17 John Levon + + * text.C (rowBreakPoint): remove attempt to fix displayed + math insets inside a manual label + +2003-03-17 Lars Gullik Bjønnes + + * lyxtext.h: remove BufferView* as first arg from almost all class + functions. + * other files: adjust. + +2003-03-17 John Levon + + * lyxtext.h: + * undo_funcs.C: + * text2.C: more paint cleanups + + * BufferView_pimpl.C: screen prototype changed, use postPaint etc. + + * rowpainter.h: + * rowpainter.C: remove "smart" background painting code + +2003-03-16 John Levon + + * lyxtext.h: + * text.C: + * text2.C: + * text3.C: add helper functions for setting refresh_row/y + +2003-03-14 Kayvan Sylvan + + * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the + newline inset which *can* get inserted in the pass_thru layouts. + This is primarily for literate documents. + 2003-03-14 Dekel Tsur * buffer.C: increment LYX_FORMAT to 223 @@ -5,7 +854,7 @@ 2003-03-14 André Pönitz * textclass.h: prepare for environment handling, ws changes - * lyxlauout.C: read latexheader and latexfooter tags + * lyxlayout.C: read latexheader and latexfooter tags 2003-03-14 John Levon @@ -49,7 +898,7 @@ Probably only temporary. Let's see how things pan out. * BufferView.C (unlockInset): - * BufferView_pimpl.C (fitCursor): + * BufferView_pimpl.C (fitCursor): replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE). * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH, @@ -66,8 +915,8 @@ * lyxfunc.C: * text3.C: - * factory.C: make it aware of InsetEnv - + * factory.C: make it aware of InsetEnv + 2003-03-13 Lars Gullik Bjønnes * text2.C (setCursor): never ask for one past last