X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=37647aac68fbd88db3eda606e8145f04ee6d7723;hb=08876626836bee77f8fd62e6d5de059a76eeae72;hp=4846d82b1ebc4e1c929e01b09aa54f5cd32290f4;hpb=e164c26ad2ed95e9538a0ccd31bdf1d60d2e8060;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index 4846d82b1e..bed26ff8ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,649 @@ +2006-03-12 Martin Vermeer + + * lyxtext.h: doxygen documentation fix + +2006-03-11 Martin Vermeer + + * paragraph.[Ch] (write, lookupChange, lookupChangeFull; + added setChangeFull): + * paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange, + rejectChange, erase; added setChangeFull): + * CutAndPaste.C (eraseSelectionHelper): + * lyxtext.h: + * text.C (readParToken, readParagraph, breakParagraph, + acceptChange, rejectChange, backspace, currentState; + added backspacePos0): + * paragraph_funcs.C (breakParagraphConservative, mergeParagraph): + * lyxfind.C (findChange, findNextChange): fix bug 880: Change + tracked paragraphs should still allow a paragraph split (and related + things, i.e., multi-paragraph change tracking) + +2006-03-10 Martin Vermeer + + * BufferView_pimpl.C: fix bug 2212: First change is skipped is + "Merge changes..." dialog + +2006-03-10 Jürgen Spitzmüller + + * bufferparams.C (writeLaTeX): define \labelitemi with \def. Fixes LaTeX + error if the class has not defined them yet (bug 2053). + +2006-03-10 Martin Vermeer + + * BufferView.[Ch]: + * BufferView_pimpl.[Ch]: + * LyXAction.C: + * debug.[Ch]: + * rowpainter.C: + * text3.C: Inside-inset speedup, esp. for the Mac (bug 2195) + +2006-03-07 Georg Baum + + * pch.h: fix nullstream.hpp location for boost 1.33.0 + +2006-03-05 Lars Gullik Bjønnes + + * pch.h: + * support/pch.h: + * support/debugstream.h: Use the correct nullstream. + +2006-02-26 Georg Baum + + * text3.C (mathDispatch): fix math inset creation from string (bug 2315) + +2006-02-28 Martin Vermeer + + * cursor.C (niceInsert): fix (properly) insertion of + fonts/decorations around selection + +2006-02-25 Georg Baum + + * lyxfont.C (lyxWriteChanges): Don't write \lang latex + +2006-02-24 Jean-Marc Lasgouttes + + * text3.C (mathDispatch): fix crash when selection is not empty + but selectionAsString is empty (bug 2321). + +2006-02-23 Jean-Marc Lasgouttes + + * text.C (changeCase): avoid crash in empty paragraph or on last + word of the paragraph. (buf 2323) + (cursorRightOneWord): fix the logic to stop at a beginning of a word. + +2006-02-22 Jürgen Spitzmüller + + * buffer.C (readHeader): also erase params.preamble in advance + so that an empty preamble is actually recognized (bug 2317). + + * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308). + +2006-02-06 Georg Baum + + * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix + +2006-02-05 Martin Vermeer + + * buffer.C: + * bufferparams.[Ch]: + * lyxtext.h: + * paragraph.[Ch]: + * paragraph_funcs.C + * rowpainter.C: + * text.C: + * text2.C: + * text3.C: Fix bug 2115: blue language lines (for default font) + popping up when the documnent font is different. This includes work + by Georg Baum. + +2006-02-02 Georg Baum + + * exporter.C (Backends): Add "lyx" backend + * exporter.C (Export): Handle "lyx" backend + * graph.C (getReachable): Don't exclude "lyx" + * MenuBackend.C (expandFormats): exclude "lyx" from export menu + +2006-02-03 Martin Vermeer + + * cursor.C (bruteFind2): convert relative to absolute co-ordinates + for correct in-mathed positioning + +2006-02-03 Martin Vermeer + + * rowpainter.C (paintForeignMark): fix foreign blue line under + insets + +2006-01-30 Jürgen Spitzmüller + + * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start + pit of the uno range (bug 2022). + +2006-01-28 Georg Baum + + * messages.C (get): Only warn once if setlocale fails (bug 2177) + +2006-01-28 Martin Vermeer + + * text2.C (setCharFont): take inset's own font settings into account + when defining the font to reduce to, fixes 2019 + +2006-01-28 Jürgen Spitzmüller + + * bufferview_funcs.C (coordOffset): remove the check for + collapsed collapsables (fix for bug 2094). This is now done + on a more general level (cursor.C). + + * dociterator.[Ch] (forwardPos): add an optional argument + bool "ignorecollapsed" (default false), which lets forwardPos + skip collapsed insets. + + * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true) + (fixes bug 2241 and 2094). + +2006-01-26 Jürgen Spitzmüller + + * buffer.C: change tracking (dvipost) doesn't require + color.sty anymore. + + * LaTeXFeatures.C (getPackages): no need for the color + option "usenames" (bug 2169). + +2006-01-23 Helge Hafting + * buffer_funcs.C: Trivial fix - added {} around + the statements to be affected by a if-test. Now + label in a minipage in a float looks ok on screen again. + +2006-01-23 Martin Vermeer + + * text2.C: fix bug 2015: on screen fonts in nested environments + can be wrong + +2006-01-11 Georg Baum + + * converter.C (convert): handle unknown formats + +2006-01-19 Jean-Marc Lasgouttes + + * cursor.C (goUpDown): comment out some debug messages. + + * counters.C (newCounter): make error messages more explicit + (these appear with some textclasses like beamer) + +2006-01-18 Jean-Marc Lasgouttes + + * kbmap.C (defkey): + * lyxfunc.C (processKeySym): make sure new FuncRequest objects + have origin set to KEYBOARD. (bug 2221) + +2006-01-16 Jürgen Spitzmüller + + * rowpainter.C (isCursorOnRow): do not exclude endpos(). + +2006-01-11 Jean-Marc Lasgouttes + + * cursor.C (macroModeClose): returns true if an inset actually got + inserted; revert faulty fix to bug 2034. + +2006-01-10 Jean-Marc Lasgouttes + + * tabular.C (getLabelList): remove (not used anymore). + +2006-01-07 Georg Baum + + * outputparams.[Ch]: add new flag inComment + +2006-01-04 Jean-Marc Lasgouttes + + * text2.C (deleteEmptyParagraphMechanism): since we delete a + paragraph, recordUndo should span two paragraphs (bug 2155). + +2006-01-01 Martin Vermeer + + * rowpainter.C (paintPar): always repaint the row with the + cursor in it + +2006-01-01 Lars Gullik Bjønnes + + * MenuBackend.h: + * bufferlist.h: + * lyxtext.h: + * paragraph.h: + * vspace.h: fix syntax error + +2005-12-31 Martin Vermeer + + * text3.C (dispatch): Force refresh if typing into inset changes its + metrics + +2005-12-30 Martin Vermeer + + * RowList_fwd.h: + * paragraph.C: + * paragraph.h: + * rowpainter.C: Speed up rendering by only re-painting rows that + have changed. When selection or whole-screen update active, all rows + are repainted, as are all rows within insets. + +2005-12-30 Georg Baum + + * version.C.in: Use PACKAGE_VERSION instead of VERSION + +2005-12-29 Georg Baum + + * tabular.C (toggleFixedWidth): Use default layout of text class + instead of hardcoded "Standard" + +2005-12-22 Jean-Marc Lasgouttes + + * lyxfunc.C (dispatch): do not call getStatus again to determine + whether a lfun is disabled (bug 2172). + +2005-12-19 Jean-Marc Lasgouttes + + * cursor.C (macroModeClose): set the cursor inside the new math + atom if relevant (think \frac{}{}) (bug 2034) + +2005-12-19 Martin Vermeer + + * lyxtext.h: + * text.C: + * text3.C (Delete, backspace): force update when merging paragraphs + +2005-12-16 Jean-Marc Lasgouttes + + * BufferView.C (mouseSetCursor): clear the selection properly (bug + 2163). + +2005-12-08 Georg Baum + + * text.C (redoParagraph): honor inset->noFontChange() + * rowpainter.C (paintInset): ditto + +2005-12-15 Jürgen Spitzmüller + + * lyx_main.C (priv_exec): don't initialize Math on startup + (initMath() has been moved to math_hullinset). + +2005-12-12 Jürgen Spitzmüller + + * lyxrc.C: set default_papersize to PAPER_DEFAULT; + handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148). + * paper.h: dispose dead PAPER_PACKAGES enum. + +2005-12-07 Jean-Marc Lasgouttes + + * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile + without X support. + +2005-12-06 Georg Baum + + * exporter.C (Export): Don't try to copy a file if it does not exist + (bug 1888) + +2005-12-02 Jean-Marc Lasgouttes + + * text2.C (makeFontEntriesLayoutSpecific): remove. + (setLayout): adapt. + + * text.C (insertChar): remove bogus caching of fonts (did not do + anything). + + * text2.C (LyXText): initialize current_font to ALL_INHERIT (was + ALL_SANE). (bug 2146) + +2005-12-01 Jean-Marc Lasgouttes + + * rowpainter.C (paintFirst): fix centering of + LABEL_CENTERED_TOP_ENVIRONMENT. + +2005-11-30 Jean-Marc Lasgouttes + + * BufferView.C (mouseSetCursor): new method. Calls + deleteEmptyParagraphMechanism if necessary. + + * lyxtext.h: make deleteEmptyParagraphMechanism public. + + * text3.C (dispatch/LFUN_MOUSE_PRESS): use + BufferView::mouseSetCursor (bug 2109). + (dispatch/LFUN_PASTE): remove #warning that is now irrelevant. + +2005-11-29 Jean-Marc Lasgouttes + + * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set, + do not remove it (this inset behaves differently from the others). + +2005-11-29 Jean-Marc Lasgouttes + + Fix bug 2096. + + * BufferView_pimpl.C (getStatus): it is only possible to insert a + file in a text inset. + + * buffer.C (readDocument): remove pit argument and code releated + to it; set the inset owner correctly (unrelated, but useful). + (readFile): get rid of pit argument. + + * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a + textclass instead of a selection index. + (pasteParagraphList): new function. + (pasteSelection): make it a wrapper around pasteParagraphList. + + * BufferView_pimpl.C (MenuInsertLyXFile): use + cap::pasteParagraphList to insert a file. + +2005-11-29 Georg Baum + + * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121) + +2005-11-17 Michael Gerz + + * exporter.C: fix typo in text message + +2005-11-28 Georg Baum + + * text2.C (setLayout): move recUndo call to other setLayout method + * tabular.C (toggleFixedWidth): new, handle cell width changes + * tabular.C (setColumnPWidth): move some code from insettabular.C here + and use toggleFixedWidth + * tabular.C (setMColumnPWidth): ditto + +2005-11-25 Jürgen Spitzmüller + + * paragraph.C (asString): use new inset->textString method (fix + bug 2089) + +2005-11-24 Jean-Marc Lasgouttes + + * CutAndPaste.C (numberOfSelections): new helper function. + + * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT. + + * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from + LyXFunc::getStatus; implement LFUN_PASTE. + +2005-11-17 Jürgen Spitzmüller + + * dociterator.[Ch]: new member realInset() that returns the cell + for tabulars and the inset for the rest (bug 1952). + * undo.C (textUndoOrRedo): use realInset when resetting insetOwner + (bug 1952). + +2005-11-15 Jean-Marc Lasgouttes + + * text.C (leftMargin): honor the NextNoIndent tag in layouts. + +2005-11-17 Jürgen Spitzmüller + + * lyxfunc.C: + * paragraph.C: + * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as + argument. + +2005-11-07 Martin Vermeer + + * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next + line after typing ctrl-enter + +2005-11-10 Jürgen Spitzmüller + + * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as + math insets do not return a proper editable() state yet (bug 2124). + +2005-11-07 Martin Vermeer + + * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for + docs containing very large paragraphs. + +2005-11-07 Martin Vermeer + + * cursor.C (selectionBegin, selectionEnd): + * text.C (drawSelection): Fix bug 2115: assertion when anchor and + cursor at different depths. + +2005-11-03 Jürgen Spitzmüller + + * bufferview_funcs.C (coordOffset): do not call cursorPos + for collapsed collapsables (fix bug 2094). + +2005-11-03 Jean-Marc Lasgouttes + + * paragraph.C (fontSpan): make sure that the FontSpan does not + span across beginOfBody (bug 1947). + +2005-11-02 Jean-Marc Lasgouttes + + * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992) + +2005-11-03 Michael Gerz + + * messages.C: fix crash and localization on MinGW/Windows platform + +2005-11-02 Angus Leeming + + * Bidi.C: + * lyxtextclass.C: trivial fixes to some MSVS warnings. + +2005-10-28 Jean-Marc Lasgouttes + + * text3.C (getStatus): re-enable disabled code. (bug 2081) + + * BranchList.h (empty): constify. + +2005-10-25 Jean-Marc Lasgouttes + + * text3.C (getStatus): + * MenuBackend.C (expandBranches): take the branch list from the + master document (bug 2092). + + * MenuBackend.C (expandBranches): + * bufferparams.C (writeFile): use BranchList type. + +2005-10-25 Jean-Marc Lasgouttes + + * text3.C (dispatch, getStatus): + * LyXAction.C (init): + * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE + +2005-10-25 Jean-Marc Lasgouttes + + * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC. + +2005-10-25 Jean-Marc Lasgouttes + + * text.C (insertChar): do not reset boundary (bug 2061) + +2005-10-24 Jean-Marc Lasgouttes + + * dociterator.C (updateInsets): new method. Updates the inset_ + cache of all the slices of the iterator. + + * text2.C (deleteEmptyParagraphMechanism): compare also containing + insets when comparing pit/pos; pass the right cursor to + recordUndo; when a paragraph has been deleted, compare `old.top()' to + the right cursor slice of `cur'; use updateInsets on cur to make + sure that the inset caches are correct; general cleanup. + +2005-10-21 Jean-Marc Lasgouttes + + * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to + dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to + containg inset. If this does not work, the same command will be + sent to other insets down the queue by LCursor::dispatch. (bug 2066) + + * lyxfunc.C (dispatch): make sure the cursor is correct when doing + a dispatch. + +2005-10-20 Georg Baum + + * lyxtextclass.C (Read): convert layout file if the format is wrong + * lyxtextclass.C (layout2layout): new, needed for the above + +2005-10-18 Jean-Marc Lasgouttes + + * messages.C: do not forget to include . + +2005-10-12 Jürgen Spitzmüller + + * dociterator.h (StableDocIterator): add access to pos(). + * undo.C (samePar): new method to check if two + iterators are in the same paragraph + * undo.C (recordUndo): check for samePar instead of cell identity + (which includes pos() and is too strict) (fixes bug 2097) + +2005-10-07 Jean-Marc Lasgouttes + + * text.C (setCursorFromCoordinates): return a bool telling whether + dEPM triggered. + + * text3.C (cursorPrevious): update if needed after + setCursorFromCoordinates (when dEPM triggered). + + * text2.C (cursorDown, cursorUp): make sure to reset the anchor + (otherwise the anchor may be completely wrong and make dEPM assert). + +2005-10-12 Jürgen Spitzmüller + + * buffer.C: version upgrade to 245. + * bufferparams.C: remove \quotes_times (bug 2090). + * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double + quotation marks as default. + +2005-10-09 Georg Baum + + * CutAndPaste.C (nrOfParagraphs): remove (unused) + * CutAndPaste.C (cutSelection): Remove debug message + * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record + undo information and only copy if this is a real cut + * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor() + call + * CutAndPaste.C (pasteSelection): remove now superflous mathed warning + (bug 2059) + * CutAndPaste.C (eraseSelection): prevent cursor corruption + * CutAndPaste.C (grabAndEraseSelection, selDel): remove now + superflous cur.selection() setting + * CutAndPaste.[Ch] (grabSelection): take a const cursor + * cursor.C (selectionAsString): implement mathed case ((bug 2059) + +2005-10-09 Georg Baum + + * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't + change anything. + +2005-10-11 Martin Vermeer + + * BufferView_pimpl.C: comment layout change + +2005-10-07 Jürgen Spitzmüller + + * LyXAction.C: + * lfuns.h: + * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed + by bibliography managers (bug 2071). + +2005-10-07 Martin Vermeer + + * BufferView_pimpl.C (update): choose arguments to update call so + that single-par update works most times + * text3.C (dispatch): carefully tune updating separately for + whole-screen and current-paragraph + * rowpainter.C (paintText): 1) replace painting by caching for + the two extra paragraphs, because we can; + 2) suppress greying out of areas below/above drawn area in case of + single-par refresh + * lyxfunc.C (dispatch): remove superfluous update + * LyXAction.[Ch]: introduce SingleParUpdate + +2005-10-05 Angus Leeming + + * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is + always initialised before use. + + * text.C (setHeightOfRow): squash warning about comparison + of signed and unsigned types. + +2005-10-03 Martin Vermeer + + * text.C (cursorX): two fixes involving RtL text drawing + +2005-10-03 Jean-Marc Lasgouttes + + * cursor.C (erase): fix 'clever' UI hack. It was activated for all + items, not only large ones (part of bug 2057) + +2005-10-03 Jean-Marc Lasgouttes + + * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type + argument, use "newcommand". + +2005-09-28 Jürgen Spitzmüller + + * cursor.C (setSelection): do not open collapsable insets; + the insets do by themselves now (autoopen). + +2005-09-28 Jürgen Spitzmüller + + * buffer.C: format is up to 244. + +2005-09-27 Jürgen Spitzmüller + + * text.C (redoParagraph): fix calcultation of inset width wrt + leftMargin (bug 1957). + + * text3.C (dispatch): leave inset to the right when hitting ESC + (bug 2034). + +2005-09-23 Jean-Marc Lasgouttes + + * text2.C: + * text.C: + * factory.C: + * messages.C: include + +2005-09-12 Jean-Marc Lasgouttes + + * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar + when command is internal. (bug 1941) + +2005-09-20 Jean-Marc Lasgouttes + + * text2.C (cursorRight): do not honor boundary when at the end of + a paragraph. (bug 2010 again) + +2005-09-20 Jean-Marc Lasgouttes + + * cursor.C (paste): do nothing if `data' is empty. (bug 2033) + +2005-09-19 Martin Vermeer + + * rowpainter.C (paintText): fix RtL space width display bug (2029) + +2005-09-19 Jean-Marc Lasgouttes + + * text2.C (setCursor): remove the unused 'boundary' parameter for + the CursorSlice version; adapt the LCursor version. + + * lyxrc.C (write): + * paragraph_pimpl.C (markErased): + * cursor.C (bruteFind2, bruteFond3): fix warnings. + +2005-09-19 Jean-Marc Lasgouttes + + * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels, + as is already done for "chapter". + +2005-09-16 Jean-Marc Lasgouttes + + * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the + textclass; do not record undo if nothing is changed. + +2005-09-16 Jürgen Spitzmüller + + * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011). + +2005-09-14 Michael Gerz + + * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE + 2005-09-13 Jean-Marc Lasgouttes * BufferView_pimpl.C (setBuffer): when one wants to set the layout @@ -13,7 +659,7 @@ * text.C (leftMargin): check for inInset == 0 -2005-08-10 Jürgen Spitzmüller +2005-09-10 Jürgen Spitzmüller * text.C (leftMargin): test for insetbase's new neverIndent() bool instead of listing each and every inset that does not