]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
avoid deref of past the end iter
[lyx.git] / src / ChangeLog
index bb11f797738e97a8e7e21ae89b53ac92d905364a..81d2d86d4e265822d7fd64ed18a5817a576d8795 100644 (file)
@@ -1,3 +1,402 @@
+2005-07-15    <lgb@tandberg.net>
+
+       * output_latex.C (TeXDeeper): get rid of potential dereferencing
+       of past the end iterator
+
+2005-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * undo.C (recordUndoFullBuffer): implement undo for
+  textclass switches
+
+2005-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * cursor.C (setSelection): open insets when selection is set there
+  to avoid crashs with cold coord cache
+
+2005-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * trans_mgr.C (insert): move cursor to the right after inserting
+  a char.
+
+2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * BufferView_pimpl.C (update): dampen some of the debug blabbering
+       * factory.C (readInset): ditto
+       * text.C, text2.C: ditto
+
+2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * buffer.C: format incremented to 242. There is no file format per
+       se, but the "frenchb" language has been removed from lib/language
+       and has to be translated to "french" by lyx2lyx.
+
+2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * cursor_slice.h, dociterator.h: add some documentation
+       * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
+
+2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text.C (leftMargin): do not add identation to display() style
+       insets, because they are always centered (bug 1293).
+
+2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
+       formatted_time methods in support/lyxtime.
+
+2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * toc.[Ch]: new method getGuiName, which is used by the frontends 
+       to set the toc combo (fixes bug 1870). Make TOC string translatable.
+
+2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * 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é).
+
+2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * cursor_slice.h: 
+       * dociterator.h: Fix the assert when copying rows/cols in math
+
+2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * BufferView_pimpl.C:
+       * LyXAction.C:
+       * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
+
+       * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
+       (findInset): new functions, refactored from goto Inset that return 
+       the position of a certain inset without setting the buffer's cursor
+       (by Jean-Marc); 
+       (gotoInset): rewrite to call findInset and then set the cursor
+       (by Jean-Marc).
+
+2005-06-16  Angus Leeming  <leeming@lyx.org>
+
+       * lyxrc.C (output, read): wrap all input and output of paths with
+       calls to os::internal_path and os::external_path, respectively.
+       (output): wrap bind_file inside quotes.
+
+       * format.C (view): enable the viewer to use the '$$s' placeholder.
+
+2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * LColor.[Ch] (getFromLaTeXName): new
+
+2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
+
+2005-06-14  Angus Leeming  <leeming@lyx.org>
+
+       * lyx_main.C (init): ensure that the LyX binary dir is the first
+       element in the PATH on non-POSIX builds.
+
+2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
+
+2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * rowpainter.C (paintInset, paintHebrewComposeChar)
+       (paintArabicComposeChar, paintChars): add a LyXFont argument.
+       (paintChars): use getFontSpan to reduce calls to getFont to a
+       minimum; use Paragraph::lookupChange instead of isXXXText.
+       (paintForeignMark): rename LyXFont argument.
+       (paintFromPos): pass a LyXFont object to the various paintXXX
+       methods.
+
+       * FontIterator.C (FontIterator, operator++): use
+       Paragraph::getFontSpan
+
+       * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
+       version that returns the font span as a pair.
+
+2005-06-09  Angus Leeming  <leeming@lyx.org>
+
+       * converter.C (convert): Don't forget "outfile = real_outfile" as
+       the final step in a conversion where the input and output file names
+       are the same. Otherwise, future conversion steps won't work...
+
+2005-06-09  Angus Leeming  <leeming@lyx.org>
+
+       * lyxsocket.C: remove stub code as it isn't needed by
+       MinGW/MinSYS anyway. Let's see if the MSVC people scream...
+
+2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * lyx_main.C (parse_execute): Fix last fix: is_gui = false
+       effectively disabled -x
+
+2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
+       when it actually makes sense.
+
+2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BufferView_pimpl.C: revert to showCursor in connection with
+       Lars's front-end stack
+
+2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text.C (redoParagraph): move cursor right after a bibitem
+       has been inserted.
+
+       * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
+
+2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * buffer_funcs.C (bufferErrors): fix computation of the end of an
+       error range.
+
+2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BufferView.[Ch] (update):
+       * BufferView_pimpl.[Ch] (update, metrics):
+       * dimension.h (operator==):
+       * lyxfunc.C (dispatch):
+       * metricsinfo.h (ViewMetricsInfo):
+       * rowpainter.C (paintText):
+       * lyxtext.h:
+       * text.C (redoParagraph):
+       * text3.C (dispatch): Make LyX only repaint current paragraph in
+       case of character insert --> speedup. Also fix cursor draw
+       artifacts
+
+2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * bufferview_funcs.C (gotoInset): fix the wrap-around code to
+       avoid a crash (bug 1891)
+
+2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       Fix bug 1892:
+
+       * text2.C (getStringToIndex): constify cur argument.
+
+       * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
+       argument has been given
+       (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
+       try to invoke LFUN_INSET_APPLY).
+
+       * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
+       if no inset was created by doInsertInset
+       (doInsertInset): return true if an inset has been inserted.
+
+2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * vspace.C (asGUIName): new method. A version of the space
+       suitable for showing on screen.
+
+2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * MenuBackend.C:
+       * lyxrc.C: rename "ASCII" to "Plain Text"
+
+2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * buffer_funcs.C (expandLabel): take a Buffer as argument;
+       translate the labelstring.
+       (setCounter): translate labelstring as needed.
+
+       * output_docbook.C (makeCommand): fix expandLabel invokation
+
+2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * BufferView.C: fix dialog title
+
+2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * lyx_main.C (priv_exec): fix logic error with help from Angus
+       * lyx_main.C (parse_execute): set is_gui = false and remove now
+       obsolete comment about a segfault
+
+2005-05-18  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C (readFile): Quote all file names passed to lyx2lyx.
+
+2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * tabular.[hC]: added setCellInset to fix tabular paste.
+
+2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * buffer.C (save): check if destination is writable before trying
+       to copy a file
+
+2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * BufferView_pimpl.C (update): fix processEvents -caused update
+       recursion bug
+
+2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * buffer_funcs.C (setCounter): fix test for numbering of
+       environments.
+
+       * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
+       depth correctly; use optional argument when it exists
+
+       * lyxtextclass.C: remove unused MaxCounterTags enum
+       (Read): compute min_toclevel_ and max_toclevel_ after reading class.
+       (max_toclevel, min_toclevel): new methods.
+
+       * MenuBackend.C (expandToc2): fix case where depth is smaller than
+       the smallest depth in toc.
+
+       * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
+       layouts that should not appear in a table of contents.
+
+2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * cursor.h (undispatched, noUpdate): add comments from André
+
+2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * lfuns.h:
+       * LyXAction.C:
+       * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
+
+2005-05-07  André Pönitz  <poenitz@gmx.net>
+
+       * cursor.[Ch] (leaveInset): new function
+
+2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
+
+2005-05-04  Angus Leeming  <leeming@lyx.org>
+
+       * lyxfunc.C (getStatus): disable the spell checker dialog if
+       none of USE_[AIP]SPELL are defined.
+
+2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * tabular.C (setWidthOfCell): remove obsolete comment
+
+2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * paragraph.C (bibitem):
+       * buffer_funcs.C (setCounter):
+       * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
+
+2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text3.C (getStatus): immediately return after setOnOff
+
+       * rowpainter.C: fix drawing of appendix start
+
+2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
+       SwitchBetweenClasses and remove the unused return value.
+       Handle character styles, too
+
+2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * factory.C (createInset): handle undefined character styles
+
+2005-05-02  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C: protect the #include of utime.h with a preprocessor
+       guard.
+
+2005-05-02  Angus Leeming  <leeming@lyx.org>
+
+       * lyx_cb.C: artificially define fork() on Windows as a no-op failing
+       function so that auto-saving works, albeit in a blocking manner.
+
+       * Makefile.am: make compilation of the client sub directory, of
+       aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
+       on conditionals set at configure time.
+
+       * SpellBase.[Ch]: no longer an abstract base class. Instead,
+       it can be compiled in its own right but has no-op functionality.
+
+       * aspell.C, pspell.C: remove preprocessor guards. The files should
+       be compiled only if the necessary functionality exists.
+
+       * lyxserver.C, lyxsocket.C: disable on Windows.
+
+2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text.C (leftMargin): Fix the parindent use bug (1764)
+       by dirty trick
+
+2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
+       argument.
+
+2005-04-25  Angus Leeming  <leeming@lyx.org>
+
+       * Bidi.[Ch]:
+       * coordcache.[Ch]:
+       * ispell.C:
+       * lyxserver.C:
+       * mover.C:
+       * pch.h:
+       include <config.h> in .C files, not .h ones.
+       add licence blurb.
+       protect headers inside preprocessor guards.
+
+2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * FuncStatus.h (StatusCodes): document
+
+2005-04-21  André Pönitz  <poenitz@gmx.net>
+
+       * FuncStatus.h (enabled, onoff): document
+
+2005-04-19  Angus Leeming  <leeming@lyx.org>
+
+       * BufferView_pimpl.C (cursorToggle): no longer test whether
+       any child processes have been reaped before calling
+       handleCompletedProcesses().
+
+2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * text3.C (dispatch): fix, finally fix, the language problem in
+       new lyxtexts, without disabling on-the-fly font changes (Helge's
+       bug report)
+
+2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text3.C (dispatch): set cursor on double/triple click events
+       (bug 1811)
+
+2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (actOnUpdatedPrefs): avoid warning
+       (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
+
+       * rowpainter.C (paintFirst): simplify the code a little bit. In
+       particular, remove the test for secnumdepth.
+       * text.C (setHeightOfRow): only allocate space for chapter number
+       when updateCounters provided an actual label, instead of looking
+       at secnumdepth directly.
+
+       * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
+
+       * buffer_funcs.C (setCounter): only number LABEL_COUNTER
+       paragraphs when secnumdepth is large enough or, for environments,
+       when they are not the first in a sequence.
+
+2005-04-17  Angus Leeming  <leeming@lyx.org>
+
+       * buffer.C (makeLaTeXFile): replace code to manipulate a path
+       containing space and '~' characters with a call to latex_path().
+
+2005-04-17  Angus Leeming  <leeming@lyx.org>
+
+       * converter.C (convert): protect all args of convertDefault.sh
+       script with quotes.
+
 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * text3.C (dispatch): change the layout to "Caption" after inserting
 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * text3.C (dispatch): change the layout to "Caption" after inserting
 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * lyxtext.h:
 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * lyxtext.h:
-       * text.C (metrics): 
+       * text.C (metrics):
        * text2.C (getFont):
        * rowpainter.C (getFont): Fix metrics bug introduced by inset
        fonts fix
        * text2.C (getFont):
        * rowpainter.C (getFont): Fix metrics bug introduced by inset
        fonts fix
 
 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
 
 
 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
 
-       * rowpainter.C (RowPainter, getFont): fix font inside inset 
+       * rowpainter.C (RowPainter, getFont): fix font inside inset
        (bugs 1766, 1809)
 
 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
        (bugs 1766, 1809)
 
 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * lyxfunc.C (dispatch): translate message before sending it to the
 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * lyxfunc.C (dispatch): translate message before sending it to the
-       minibuffer. 
+       minibuffer.
 
 2005-03-29  Angus Leeming  <leeming@lyx.org>
 
 
 2005-03-29  Angus Leeming  <leeming@lyx.org>
 
 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
 
        * vc-backend.C: use QuoteName to protect file names wherever
 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
 
        * vc-backend.C: use QuoteName to protect file names wherever
-       necessary. 
+       necessary.
 
 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
 
 
 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
 
 
        * lyxfunc.C (getStatus): fix warning when assertions are disabled
 
 
        * lyxfunc.C (getStatus): fix warning when assertions are disabled
 
-       * text3.C: 
-       * lyxfunc.C: 
+       * text3.C:
+       * lyxfunc.C:
        * dociterator.C: include <boost/current_function.hpp>, which is
        needed when assertions are disabled.
 
        * dociterator.C: include <boost/current_function.hpp>, which is
        needed when assertions are disabled.
 
-2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
+2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
 
 
-       * text2.C: fix for stuck cursor when traversing two 
-       consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
+       * text2.C: fix for stuck cursor when traversing two
+       consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
 
 2005-02-25  Andreas Vox  <avox@arcor.de>
 
 
 2005-02-25  Andreas Vox  <avox@arcor.de>
 
        simple way. When no float is found above the caption, use the
        labelstring of the caption layout as default.
 
        simple way. When no float is found above the caption, use the
        labelstring of the caption layout as default.
 
-       * text.C (breakParagraph, backspace): 
+       * text.C (breakParagraph, backspace):
        * text2.C (init, setLayout, changeDepth):
        * text2.C (init, setLayout, changeDepth):
-       * text3.C (dispatch): 
+       * text3.C (dispatch):
        * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
        updateCounters.
 
        * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
        updateCounters.
 
 
 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
 
 
 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
 
-       * paragraph_funcs.C: fix crash when pasting insets in change 
+       * paragraph_funcs.C: fix crash when pasting insets in change
        tracking mode [bug 1277] (honour change type in moveItem).
 
 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
        tracking mode [bug 1277] (honour change type in moveItem).
 
 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
        * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
        but use update() to get correct screen display; use convert
 
        * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
        but use update() to get correct screen display; use convert
-       instead of istringstream. 
-       (getStatus): handle LFUN_GOTO_PARAGRAPH 
+       instead of istringstream.
+       (getStatus): handle LFUN_GOTO_PARAGRAPH
 
        * lyxfunc.C (dispatch, getStatus): do not handle
        LFUN_GOTO_PARAGRAPH here.
 
        * lyxfunc.C (dispatch, getStatus): do not handle
        LFUN_GOTO_PARAGRAPH here.