X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=fb35839b2dcd85706f8a17a524238fb3de599d78;hb=e54ae72e5fac6f750c3f7972c74bb42b57f3a049;hp=ff33553b42030fd81a241bb8d08756d296d3fc9e;hpb=ebcb289b7ce736f63f743a5cd56e8d2e7cbd3254;p=lyx.git diff --git a/src/ChangeLog b/src/ChangeLog index ff33553b42..fb35839b2d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,599 @@ +2006-03-16 Jürgen Spitzmüller + + * text.C (delete): adjust cursor after backspace in change tracking + mode (bug 2185). + +2006-03-16 Félix-Antoine Bourbonnais + + * text3.C (dispatch): set needsUpdate according to the return + value of the methods below (bug 2298) + + * text2.C (cursorTop, cursorBottom, cursorHome, cursorEnd): return + true if dEPM triggered. + +2006-03-16 Jürgen Spitzmüller + + * text.C (getPossibleLabel): get a sensible prefix inside figure and + tabular floats (bug 1999). + +2006-03-16 John Spray + + * lyxfunc.C (getStatus): disable LFUN_MENUWRITE when document is + clean (bug 2313) + +2006-03-15 Martin Vermeer + + * CutAndPaste.C (pasteSelectionHelper): comments + * paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug + * changes.h: comments + * paragraph.C (stripLeadingSpaces): remove unnecessary setChange + * text.C (backspace): allow deletion of inserted para break + Change tracking -related bug fixes (reported by Juergen) and + some documentation work + +2006-03-15 Jean-Marc Lasgouttes + + * MenuBackend.C (expand): make sure the menu is empty before + starting. + + * MenuBackend.h (clear): new method. + +2006-03-14 Georg Baum + + * buffer.C: format up to 246. + +2006-03-13 Martin Vermeer + + * rowpainter.C (paintChangeBar): fix painting of change bar with + only paragraph break changed + +2006-03-12 Georg Baum + + * lyx_cb.C (Reconfigure): run lib/configure.py, not lib/configure + * lyx_main.C (reconfigureUserLyXDir): run ditto + +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 Cursor::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 @@ -78,7 +674,7 @@ 2005-09-19 Jean-Marc Lasgouttes * text2.C (setCursor): remove the unused 'boundary' parameter for - the CursorSlice version; adapt the LCursor version. + the CursorSlice version; adapt the Cursor version. * lyxrc.C (write): * paragraph_pimpl.C (markErased): @@ -1655,6 +2251,10 @@ * main.C: (main): no longer pass pointers to os::init. +2004-12-06 Georg Baum + + * buffer.C: format up to 239. + 2004-12-06 Alfredo Braunstein * undo.C (textUndoOrRedo): simplify logic, fix a crash @@ -1778,7 +2378,7 @@ 2004-11-24 Jean-Marc Lasgouttes * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only - call BufferView::getStatus if LCursor::getStatus did nothing + call BufferView::getStatus if Cursor::getStatus did nothing (setStatusMessage, getStatusMessage): removed. * FuncStatus.C (message): new methods. Used to provide an error @@ -1901,6 +2501,16 @@ * vspace.C: fix off-by-one-error, related to fix #1682 +2004-11-11 Georg Baum + + * buffer.C: format up to 238. + +2004-11-11 Edwin Leuven + + * LaTeXFeatures.C: add booktabs package + * tabular.[Ch] (use_booktabs, setBookTabs, useBookTabs): new members, + use them in several places + 2004-11-11 Jürgen Spitzmüller * lengthcommon.C: a more general fix for bug 1682 @@ -2502,9 +3112,9 @@ Fix toggling of collapsable insets with the mouse (bug 1558) - * lyxfunc.C (dispatch): adapt to LCursor changes + * lyxfunc.C (dispatch): adapt to Cursor changes - * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes; + * BufferView_pimpl.C (workAreaDispatch): adapt to Cursor changes; make sure that dispatch is not invoked twice * cursor.C (needsUpdate): new method @@ -3475,7 +4085,7 @@ 2004-03-01 André Pönitz - * dociterator.[Ch]: new class for the 'iterator part' of LCursor. + * dociterator.[Ch]: new class for the 'iterator part' of Cursor. * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery @@ -3612,7 +4222,7 @@ * lyxtext.h: * text.C: * text2.C: - * text3.C: add LCursor & parameter to most cursor movement functions + * text3.C: add Cursor & parameter to most cursor movement functions remove usage of LyXText::cursorRow() and cursorPar() * cursor.[Ch]: add textRow() needed members @@ -3632,7 +4242,7 @@ * cursor.[Ch]: fix mathed crash * lyxfind.C: - * lyxtext.h: move selectionAsText to LCursor + * lyxtext.h: move selectionAsText to Cursor * output_latex.C: * paragraph.C: @@ -3674,10 +4284,10 @@ 2004-02-03 Alfredo Braunstein - * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch + * BufferView_pimpl.C (dispatch): remove call to Cursor::dispatch on the default clause of the switch * lyxfunc.C (dispatch): call BufferView::dispatch if the event - wasn't catched by LCursor::dispatch + wasn't catched by Cursor::dispatch 2004-02-03 André Pönitz @@ -3864,7 +4474,7 @@ * text2.C: * text3.C: * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to - LCursor and mathcursor parts to LCursor and InsetBase. + Cursor and mathcursor parts to Cursor and InsetBase. 2004-01-15 André Pönitz @@ -4414,7 +5024,7 @@ 2003-11-17 Alfredo Braunstein - * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix + * lyxfunc.C (dispatch): add a missing Cursor::updatePos (fix cursor position after e.g. inset insert) 2003-11-16 Alfredo Braunstein @@ -4616,7 +5226,7 @@ * cursor.[Ch]: restructure * BufferView.[Ch]: - * BufferView_pimpl.[Ch]: new LCursor cursor_ member + * BufferView_pimpl.[Ch]: new Cursor cursor_ member * iterators.[Ch] (asCursor): remove @@ -6433,12 +7043,12 @@ * bufferparams.h: add compressed var - * buffer_funcs.C (readFile): adjust for LyXLex change + * buffer_funcs.C (readFile): adjust for Lexer change (newFile): ditto + simplify * buffer.C (writeFile): handle writing of compressed files - * buffer.[Ch] (readFile): begin LyXLex here, remove one argument. + * buffer.[Ch] (readFile): begin Lexer here, remove one argument. Check if the file is compressed and set a bufferparm if so. * Makefile.am (lyx_LDADD): remove explicit -lz