]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
fix undo grouping of ordinary typing (bug 2097)
[lyx.git] / src / ChangeLog
index 2ee30da2a4f5e0aa50a594ac8cdb91670a0bb244..56768b364e63f6c98dae5ded0722f6974c623f43 100644 (file)
@@ -1,3 +1,343 @@
+2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * 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  <j.spitzmueller@gmx.de>
+
+       * 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  <Georg.Baum@post.rwth-aachen.de>
+
+       * 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  <Georg.Baum@post.rwth-aachen.de>
+
+       * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
+       change anything.
+
+2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BufferView_pimpl.C: comment layout change
+
+2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * LyXAction.C:
+       * lfuns.h:
+       * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
+       by bibliography managers (bug 2071).
+
+2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * 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  <leeming@lyx.org>
+
+       * 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  <martin.vermeer@hut.fi>
+
+       * text.C (cursorX): two fixes involving RtL text drawing
+
+2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
+       argument, use "newcommand".
+
+2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * cursor.C (setSelection): do not open collapsable insets;
+       the insets do by themselves now (autoopen).
+
+2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * buffer.C: format is up to 244.
+
+2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * text2.C: 
+       * text.C: 
+       * factory.C:
+       * messages.C: include <boost/current_function.hpp> 
+
+2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
+       when command is internal. (bug 1941)
+
+2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text2.C (cursorRight): do not honor boundary when at the end of
+       a paragraph. (bug 2010 again)
+
+2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
+
+2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * rowpainter.C (paintText): fix RtL space width display bug (2029)
+
+2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
+       as is already done for "chapter".
+
+2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <j.spitzmueller@gmx.de>
+
+       * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
+
+2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
+
+       * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
+
+2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * BufferView_pimpl.C (setBuffer): when one wants to set the layout
+       combox, it is necessary to search for the topmost paragraph in the
+       cursor stack (bug 1926)
+
+2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text2.C (cursorEnd, cursorRight): do not set boundary to true at
+       end of paragraph. (bug 2010)
+
+2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (leftMargin): check for inInset == 0
+
+2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text.C (leftMargin): test for insetbase's new neverIndent()
+       bool instead of listing each and every inset that does not
+       wish par indendation.
+
+2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * buffer_funcs.C (setCounter): put the code to compute enum label
+       here (where it belongs).
+
+       * counters.C (enumLabel): move code to buffer_funcs.C.
+
+2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * outputparams.[Ch]: store local_font instead of local_language
+       * paragraph.C (simpleTeXOnePar): adapt to the change above
+
+2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * buffer_funcs.C:
+       * counters.[Ch]: clean up special code for Hebrew.
+
+2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (lookupChange): fix code when cursor depth is greater
+       than 2.
+
+2005-09-08  Angus Leeming  <leeming@lyx.org>
+
+       * ispell.C:
+       * lyxrc.C: correct grammar describing invocation of the
+       spellchecker.
+
+2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (read): remove unused variable.
+       (readParToken): remove static Change variable (never good in
+       recursive settings...); add it as a parameter instead.
+
+       * paragraph_pimpl.C (acceptChange): make debug info conditional.
+
+       * metricsinfo.C (PainterInfo): add new member erased_.
+
+       * rowpainter.C (RowPainter): add erased_ member, initialized from
+       PainterInfo. 
+       (paintInset): pass erased_ to Inset::draw.
+
+       * lyxfunc.C (lookupChange): new function. Tells whether change 
+       tracking is disabled at a given postion.
+       (getStatus): disable some actions when in deleted text with change
+       tracking. 
+
+2005-08-03  John Levon  <levon@movementarian.org>
+       
+       * tabular.C (appendColumn, setMultiColumn): adapt to change to
+       InsetText::clear().
+
+       * paragraph_pimpl.C (markErased): add bool argument and handle it.
+       Also make sure to mark insets recursively.
+       (rejectChange, erase): be recursive
+
+       * paragraph.C (markErased): add bool argument.
+2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfind.C (findNextChange): tiny cleanup.
+
+       * BufferView_pimpl.C (trackChanges): avoid crash when stopping
+       change tracking with the cursor in an inset; make sure the first
+       change is not skipped.
+
+2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
+       tabularStackDirty to work around bug 1919 (tabular needs
+       to know whether its own cell paste buffer or the one of 
+       texted is newer.
+       * CutAndPaste.C: mark tabular_stack_ clean after copy.
+
+2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text2.C (cursorEnd): check for empty text (fixes bug 1998)
+
+2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
+       use old deleteion algorithm when changetracking is on.
+
+2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * messages.C (get): add debug output.
+
+2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text.C (cursorX): fix bug 1965: cursor movement at
+       line end broken in RtL.
+       (drawSelection): fix bug 1970: drawing of single-line 
+       selection broken for RtL.
+
+2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       bug 465.
+
+       * dociterator.h (clear, push_back, pop_back): change from
+       protected to public.
+
+       * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
+       and changed to just return the value of the item depth; take a
+       ParIterator as argument; take the itemdepth at outer nesting level
+       in account if necessary; cleanup and comment the code.
+       (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
+       and changed to just return true if reset is needed; take a
+       ParIterator as argument; cleanup and comment the code.
+       (setCounter): adapt to above changes.
+
+2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text3.C (dispatch): make debug message optional
+
+2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
+       inset. (bug 1963)
+
+2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
+
+2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text.C (insertChar):
+       * text2.C (deleteEmptyParagraphMechanism): take care whether 
+       a blank has been deleted (in change tracking mode) (bug 1254).
+
+2005-07-20  John Levon  <levon@movementarian.org>
+
+       * text2.C (insertStringAsLines): remove old dubious code,
+       fixing bug 1939.
+
+2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * MenuBackend.C (expandToc): use Floating::listName() as title of
+       the floats submenus.
+
+2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * toc.[Ch]: Do not use translatable strings (bug 1870).
+
+2005-07-20  John Levon  <levon@movementarian.org>
+
+       * tabular.C: fix 1748 - setting multicolumn adds
+         left line to the first cell
+
+2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       bug 1920
+       * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
+       pars in one go.
+
+2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * messages.C: supress some lyxerr messages
+
 2005-07-18  Juergen Vigna  <jug@lyx.org>
 
        * text.C (drawSelection): honor boundary when asking for cursorX.
        * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
        StableDocIterator const &)
        * undo.C (recordUndo): use the above instead of cell.size() comparison
-       (fixes bug 1808; instructed by André).
+       (fixes bug 1808; instructed by Andr.
 
 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
 
 
 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
-       * cursor.h (undispatched, noUpdate): add comments from André
-
+       * cursor.h (undispatched, noUpdate): add comments from Andr�
 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
 
        * lfuns.h:
 
 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * tabular.C (TeXRow): crash fix (from Kayvan and André)
+       * tabular.C (TeXRow): crash fix (from Kayvan and Andr
 
 2004-03-19  André Pönitz  <poenitz@gmx.net>
 
        * lyxfunc.C (dispatch):
        * bufferview_funcs.C (put_selection_at): adjust
 
-2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
+2003-11-05  Jo Luis M. Assirati  <assirati@fma.if.usp.br>
 
        * lyxsocket.C: export variables XEDITOR and LYXSOCKET
 
 
        * tabular.C (OldFormatRead): set layout information on the paragraph.
 
-2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
+2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
 
        * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
 
 
        * text.C (breakParagraph): fix a setting layout to '0' problem.
 
-2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
+2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
 
        * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
        final location of file, for the included files, and graphics.
        panel.
 
        * lyx_main.C: Revised hardwired bindings to allow original _ and ^
-       (or ^ space) to be used as in TeX (req'd by André).
+       (or ^ space) to be used as in TeX (req'd by Andr.
 
        * lyxfunc.C: Allow ^ and _ again to be used both as
        super/subscript (mathed) and as themselves (in text).
 
        * LString.h: add "using std::getline" when using the real <string>.
 
-2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
+2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
 
        * buffer.C: removed bitset usage.
        PAR_TAG moved to an anonymous name space.
        compatibility read a bit and fixed bug with minipage in different
        depth.
 
-2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
+2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
 
        * buffer.C (pop_tag): removed.
        (push_tag): removed.
 
        * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
        response on compability reading of minipages. One probliem is that
-       the old usage of minipages was «flertydig»
+       the old usage of minipages was flertydig
 
        * several files here and in subdirs: don't use static at file
        scope use anon namespaces instead.