]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ChangeLog
the convert patch
[lyx.git] / src / mathed / ChangeLog
index 14ee801ee06464e460172cbb4b8c4f0013184648..3de9c489f6775a5f4f5d6d31a7afd62713e1a94d 100644 (file)
@@ -1,6 +1,565 @@
+2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_parser.C,math_sizeinset.C: use convert<> instead of
+       atoi,strToXXX and friends
+
+2005-01-20  Angus Leeming  <leeming@lyx.org>
+
+       * math_spaceinset.C (validate):
+       latex_mathspace[space_] == "negmedspace" is unsafe because both
+       operands are of type "char const *". Performing comparison on
+       the address of the string literal therefore. Fix is to explicitly
+       convert one operand to a string.
+       With thanks to MSVC ;-)
+
+2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_symbolinset.C (validate): require wasysym as needed
+
+       * math_decorationinset.C (ams): remove again \overleftarrow and
+       \overrightarrow, which do not require amslatex (although amslatex
+       redefines them).
+
+2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_parser.C (parse1): handle style commands that are not inside
+       a {} pair, fixes bug 1459 (from André)
+
+2005-01-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_decorationinset.C (ams, validate): new methods. Require
+       amsmath when using AMS-LaTeX over and under arrows.
+
+2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * math_nestinset.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
+       * math_colorinset.C: fix handling of color "none".
+
+2004-12-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_parser.C (addRow, addCol): new, try to add a row or column to
+       a MathGridInset
+       * math_parser.C (parse1): use addRow and addCol, fixes bug 1542
+
+2004-12-14  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
+       to overcome bug in the MinGW port of g++ 3.4.2.
+
+2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_charinset.C: use support::contains instead of strchr
+
+2004-11-26    André Pönitz  <poenitz@gmx.net>
+
+       * math_nestinset.C (getCursorPos): implement.
+
+2004-11-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_hullinset.C (getStatus): add status messages
+
+2004-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Most insets: rename priv_dispatch to doDispatch
+
+2004-11-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_hullinset.C (operator): use common semantics
+
+2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_atom.C (operator): use common semantics
+
+       * Adjust for clone changes
+
+2004-11-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_hullinset.[Ch] (rowChangeOK): new
+       * math_hullinset.C (addRow, delRow): check wether rows can be changed
+       * math_hullinset.C (addCol, delCol): remove lyxerr warning since we
+       should never come here if colChangeOK() is false
+       * math_hullinset.C (delCol): don't delete if this is the only column
+       * math_hullinset.C (getStatus): fix LFUN_TABULAR_FEATURE
+
+2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_inset.h: include math_data.h to satisfy concept checks.
+
+2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_hullinset.C (getStatus): typo in lfun argument
+
+2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * Makefile.am: add math_tfracinset.[Ch]
+
+2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_parser.C (parse1): change to use lyx::support::atoi
+       * math_sizeinset.C (MathSizeInset): ditto
+
+2004-08-12  André Pönitz  <poenitz@gmx.net>
+
+       * math_overset.[Ch] (validate):
+       * math_underset.[Ch] (validate): require ams
+
+       * math_tfracinset.[Ch]: new \tfrac support
+
+2004-11-02  José Matos  <jamatos@lyx.org>
+
+       * ref_inset.[Ch] (docbook):
+       * math_hullinset.C (docbook): remove useless comment. Escape the
+       id to always be valid.
+
+2004-10-29  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * math_hullinset.C (docbook):
+       * ref_inset.C (docbook): sanitize ids, clean exported docbook.
+
+2004-10-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_hullinset.C (mutate): fix endless loop for unknown types
+
+2004-10-05  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * math_hullinset.C (docbook): write additional <alt role="tex" >
+       tag for Docbook XML
+
+2004-09-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_hullinset.C (plaintext): remove extraneous spaces
+
+2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_parser.C (tokenize): c_str fix
+       (mathed_parse_cell): c_str fix
+       (mathed_parse_normal): c_str fix
+
+       * math_nestinset.C (priv_dispatch): c_str fix
+       (priv_dispatch): c_str fix
+
+       * math_hullinset.C (doExtern): c_str fix
+
+       * math_extern.C (extractNumber): c_str fix
+       (pipeThroughMaxima): c_str fix
+       (pipeThroughMaple): c_str fix
+       (pipeThroughOctave): c_str fix
+
+2004-09-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_binominset.h (MATH_BINOMINSET_H): fix include guard.
+
+2004-09-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_hullinset.[C,h] (splitTo2Cols): new
+       * math_hullinset.[C,h] (splitTo3Cols): new
+       * math_hullinset.[C,h] (changeCols): new
+       * math_hullinset.C (mutate): implement missing mutations
+
+2004-08-16  José Matos  <jamatos@lyx.org>
+
+       * formulamacro.C (write):
+       * math_macrotemplate.C (write): remove space at end of line.
+
+2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: new file
+
+       * Makefile.am: support pch
+
+2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_nestinset.C (editXY): constify
+
+2004-08-13  José Matos  <jamatos@lyx.org>
+
+       * math_hullinset.C (docbook): add awareness of the distinction
+       between the sgml and xml versions of docbook.
+
+2004-08-12  André Pönitz  <poenitz@gmx.net>
+
+       * math_nestinset.C: Fix #1249
+
+       * math_parser.C: Fix: #928
+
+2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_support.C, math_parser.C, math_nestinset.C, math_macrotable.C:
+       * math_hullinset.C, math_gridinset.C, math_factory.C: math_extern.C,
+       * math_autocorrect.C, math_arrayinset.C: formulamacro.C,
+       * command_inset.C: change "support/std_sstream.h"
+       to <sstream>
+
+2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_macrotable.C (expand): n is now size_t
+
+       * math_macroarg.h (number): return size_t
+       (number_): make it a size_t
+
+       * math_macroarg.[Ch] (MathMacroArgument): take size_t as arg
+
+2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * Makefile.am (EXTRA_DIST): add formulamacro.C
+
+2004-05-17  José Matos  <jamatos@lyx.org>
+
+       * math_hullinset.C (docbook): add support for label.
+
+2004-04-29  Angus Leeming  <leeming@lyx.org>
+
+       * math_hullinset.C:
+       * math_kerninset.C:
+       * math_nestinset.C: wrap a bunch of #warning statements
+       inside #ifdef WITH_WARNINGS blocks.
+
+2004-04-20  Angus Leeming  <leeming@lyx.org>
+
+       * math_nestinset.C (notifyCursorLeaves): squash warning about
+       unused var.
+
+2004-04-20  Angus Leeming  <leeming@lyx.org>
+
+       * math_hullinset.C (addPreview): Add the preview only if
+       previewing of math insets is active.
+
+2004-04-19  Angus Leeming  <leeming@lyx.org>
+
+       * math_hullinset.C: changes due to changes to LyXRC::preview.
+
+2004-04-19  Angus Leeming  <leeming@lyx.org>
+
+       * math_hullinset.C (metrics, draw): changes due to the changed
+       RenderPreview interface.
+
+2004-04-13  Angus Leeming  <leeming@lyx.org>
+
+       * math_hullinset.[Ch]: add a RenderPreview variable.
+       (copy c-tor, copy assignment operator, d-tor, notifyCursorLeaves,
+       addPreview): new member functions. The copy c-tor and assignment op
+       could be replaced by the compiler-generated defaults if preview_
+       was stored as a RenderPreview var rather than a scoped pointer.
+       (metrics, draw): use the preview renderer if previewing is turned on.
+
+2004-04-05  Angus Leeming  <leeming@lyx.org>
+
+       * math_scriptinset.C (up, down, notifyCursorLeaves): ensure that
+       accessor index is valid.
+
+2004-04-05  Angus Leeming  <leeming@lyx.org>
+
+       * formulamacro.C:
+       * math_binaryopinset.C:
+       * math_nestinset.C:
+       wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
+
+2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * math_hullinset.C: s/DocumentIterator/DocIterator/g
+
+2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * math_nestinset.C: workaround gcc 2.95 pointer comparison bug,
+       reverse below
+
+2004-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * math_nestinset.C: use const_cast to get to compile for stlport
+
+2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * math_hullinset.C: add using statements for std::ostream,
+       std::swap and std::vector
+
+       * math_gridinset.C (idxDelete): remove std:: from swap.
+       (priv_dispatch): ditto
+
+       * math_extern.C: add using statement for std::swap and std::vector
+
+       * math_cursor.C: remove std:: from string
+       (openable): use nucleus instead of operator->
+
+       * math_atom.h: add a const variant of nucleus
+
+       * math_atom.C: add using statement for std::swap
+
+2004-01-15  André Pönitz  <poenitz@gmx.net>
+
+       * *.[Ch]: Part of IU. Shift stuff from MathCursor and InsetFormula
+       to LCursor and InsetBase.
+
+2004-01-15  André Pönitz  <poenitz@gmx.net>
+
+       * *.[Ch]: change signature of priv_dispatch to prepare
+       inset unification
+
+2003-12-15  Ronald Florence <ron@18james.com>
+
+       * math_symbolinset.C: fixed "ugly" patch for Qt/Mac fonts.
+
+2003-12-15  André Pönitz  <poenitz@gmx.net>
+
+       * math_pos.[Ch]: remove (it's now cursor_slice.[Ch])
+
+       * Makefile.am:
+       * math_cursor.[Ch]:
+       * math_iterator.[Ch]: adjust
+
+2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * formulabase.C (getCursorDim): squash unused variable
+
+2003-11-20  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (getCursorDim): squash warning about unused variable.
+
+2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * formulabase.[Ch] (getCursorDim): add
+
+2003-11-10  André Pönitz  <poenitz@gmx.net>
+
+       * formula.C:
+       * formulabase.C:  adjust to removed inset locking
+
+2003-11-05  José Matos  <jamatos@lyx.org>
+
+       * formula.[Ch] (ascii, linuxdoc, docbook):
+       * formulamacro.[Ch] (ascii, linuxdoc, docbook):
+       * math_inset.[Ch] (ascii, linuxdoc, docbook):
+       * ref_inset.[Ch] (ascii, linuxdoc, docbook):
+       rename ascii to plaintext and LatexRunParams to OutputParams.
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Adjust for new DispatchResult semantics.
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_parser.C (parse1): exception safety
+
+       * math_extern.C (splitScripts): exception safety
+       (extractFunctions): exception safety
+       (extractIntegrals): exception safety
+       (extractSums): exception safety
+       (extractDiff): exception safety
+
+       * formulamacro.C (read): exception safety
+
+2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * adjust for DispatchResult changes
+
+2003-10-31  José Matos  <jamatos@lyx.org>
+
+       * formula.[Ch] (ascii, linuxdoc, docbook):
+       * formulamacro.[Ch] (ascii, linuxdoc, docbook):
+       * math_inset.[Ch] (ascii, linuxdoc, docbook):
+       * ref_inset.[Ch] (ascii, linuxdoc, docbook):
+       add LatexRunParams argument.
+
+2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_scriptinset.C (priv_dispatch):
+       * math_nestinset.C (priv_dispatch):
+       * math_hullinset.C (priv_dispatch):
+       * math_gridinset.C (priv_dispatch):
+       * math_cursor.C (dispatch):
+       * formulabase.C (lfunMouseRelease, lfunMousePress)
+       (lfunMouseMotion, priv_dispatch):
+       * command_inset.C (priv_dispatch): explict DispatchResult ctor fallout.
+
+2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_hullinset.C (priv_dispatch):
+       * math_gridinset.C (priv_dispatch):
+       * math_cursor.C (dispatch): FINISHED_POP -> FINISHED
+
+2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_hullinset.C (priv_dispatch):
+       * math_gridinset.C (priv_dispatch):
+       * math_cursor.C (dispatch): DISPATCHED_POP -> FINISHED_POP
+       (dispatch):
+
+       * math_scriptinset.h: change dispatch to priv_dispatch and make it
+       protected
+
+       * math_nestinset.h: make priv_dispatch protected
+
+       * math_hullinset.h: make priv_dispatch protected
+
+       * math_gridinset.h: make priv_dispatch protected
+
+       * command_inset.[Ch]: change dispatch to priv_dispatch and make it
+       protected.
+
+       * several files: dispatch_result -> DispatchResult
+
+2003-10-22  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (generatePreview): changes due to the changed
+       RenderPreview interface.
+
+2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * formula.[Ch]: re-introduce display() for insets, fixing the
+       various bugs (stretch of line above, math inset
+       positioning, ...)
+
+2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ref_inset.C (priv_dispatch): take the code from localDispatch
+       into this
+       (localDispatch): delete
+
+       * math_nestinset.C (dispatch):
+       * math_hullinset.C (dispatch):
+       * math_gridinset.C (dispatch):
+       * formulabase.C (openNewInset, priv_dispatch, mathDispatch):
+       * command_inset.C (dispatch): adjust for localDispatch -> dispatch and
+       priv_dispatch
+
+2003-10-14  Angus Leeming  <leeming@lyx.org>
+
+       * insetformulabase.[Ch] (view, cache, view_): remove the BufferView cache.
+
+       * insetformula.C (statusChanged): call LyX::cref().updateInset.
+
+2003-10-14  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (metrics, draw): only draw the preview when previews
+       are activated.
+
+2003-10-13  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (editing_inset): pass a pointer rather than a reference.
+
+2003-10-13  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C: remove #include "PreviewImage.h".
+       (draw, metrics): some simplification of the editing_inset check.
+       Also make it compile with g++2.95.
+
+2003-10-12  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.[Ch] (cache): added.
+       (view): make protected.
+       (view_): store as a boost::weak_ptr.
+       (generatePreview): added this virtual function. Moved from inset.h.
+
+       * math_inset.[Ch] (view): removed.
+
+2003-10-10  Angus Leeming  <leeming@lyx.org>
+
+       * command_inset.h:trivial changes ButtonRenderer -> RenderButton.
+
+       * formula.[Ch]: get rid of InsetFormula::PreviewImpl entirely. Use
+       RenderPreview and some free-standing functions in its place.
+
+2003-10-10  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (draw): don't try and generate the previews from draw.
+       insetUnlock is already doing a fine job...
+
+2003-10-09  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (metrics, draw): no longer need to pass a Buffer arg
+       to PreviewedInset::previewReady because it no longer has the side
+       effect of secretly starting preview generation.
+       (draw): call PreviewedInset::generatePreview explicitly if the
+       inset is no longer being edited.
+
+2003-10-09  Angus Leeming  <leeming@lyx.org>
+
+       * formula.[Ch]: mods to PreviewImpl due to the changes to
+       PreviewedInset.
+
+2003-10-09  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (metrics, draw): pass a buffer arg to PreviewedInset's
+       previewReady and removePreview member functions.
+
+2003-10-07  André Pönitz  <poenitz@gmx.net>
+
+       * math_dfracinset.[Ch]: support for \dfrac
+       * math_colorinset.[Ch]: support for colors in formulas
+
+2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * math_macrotable.h: add <string> and other small fixes to make
+       Lars' std::string patch compile with STLport.
+
+2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * math_cursor.C:
+       * math_parser.C:
+       * math_sizeinset.C:
+       * math_streamstr.C: Small fixes to build using STLport
+
+2003-09-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_symbolinset.C (metrics): apply a different hack to metrics
+       when running under OSX. Hopefully this will not break the X11
+       version under darwin (or hopefully nobody cares :)
+
+2003-09-19  Angus Leeming  <leeming@lyx.org>
+
+       * formula.[Ch] (previewWanted, generatePreview): now passed a
+       'Bufer const &' arg.
+
+       * formalabase.C (insetUnlock): pass a buffer arg to generatePreview.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * matheformula.[Ch] (getLabelList):
+       * mathemath_hullinset.[Ch] (getLabelList):
+       receive a Buffer const & arg.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (latexString): add a Buffer const & arg.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (PreviewImpl::parent): return a const reference.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C:
+       * formulamacro.C:
+       add #include "LColor.h".
+
+       * math_cursor.C: add #include <boost/assert.hpp>.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * math_braceinset.C, math_data.C, math_fboxinset.C, math_frameboxinset.C,
+       math_gridinset.C, math_hullinset.C, math_macrotemplate.C, math_nestinset.C,
+       math_rootinset.C, math_spaceinset.C, math_sqrtinset.C, math_support.C:
+       add #include "LColor.h".
+       * math_data.C, math_scriptinset.C: add #include <boost/assert.hpp>
+       * math_exintinset.C: add #include <boost/scoped_ptr.hpp>
+
+2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * command_inset.C
+       * formula.C
+       * formulabase.C
+       * formulamacro.C
+       * math_arrayinset.C
+       * math_autocorrect.C
+       * math_cursor.C
+       * math_extern.C
+       * math_factory.C
+       * math_gridinset.C
+       * math_support.C: remove usage of STRCONV
+
 2003-09-15  Angus Leeming  <leeming@lyx.org>
 
-       * math_gridinset.C (draw): explicitly define the color to draw the line.
+       * math_gridinset.C (draw): explicitly define the color to draw the
+       line.
 
 2003-09-12  André Pönitz  <poenitz@gmx.net>