]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
fix cursor coordinates in math insets [bug 2124]
[lyx.git] / src / ChangeLog
index d8fa7f67628b3632b22557260b13a1d1d9dfbea5..32fb5ab833dcfd5e48b6ace2640f6d531d08760e 100644 (file)
@@ -1,3 +1,402 @@
+2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * 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  <martin.vermeer@hut.fi>
+
+       * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
+       docs containing very large paragraphs.
+
+2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * 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  <j.spitzmueller@gmx.de>
+
+       * bufferview_funcs.C (coordOffset): do not call cursorPos
+       for collapsed collapsables (fix bug 2094).
+
+2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * paragraph.C (fontSpan): make sure that the FontSpan does not
+       span across beginOfBody (bug 1947).
+
+2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
+
+2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
+
+       * messages.C: fix crash and localization on MinGW/Windows platform
+
+2005-11-02  Angus Leeming  <leeming@lyx.org>
+
+       * Bidi.C:
+       * lyxtextclass.C: trivial fixes to some MSVS warnings.
+
+2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text3.C (getStatus): re-enable disabled code. (bug 2081)
+
+       * BranchList.h (empty): constify.
+
+2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * text3.C (dispatch, getStatus): 
+       * LyXAction.C (init): 
+       * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
+
+2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
+
+2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (insertChar): do not reset boundary (bug 2061)
+
+2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * 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  <Georg.Baum@post.rwth-aachen.de>
+
+       * 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  <lasgouttes@lyx.org>
+
+       * messages.C: do not forget to include <cerrno>.
+
+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