]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ChangeLog
DISPATCH -> dispatch_result
[lyx.git] / src / mathed / ChangeLog
index d3776065d50523c9dc5d92e8ac9982a7e4987937..bc811f88e55fdde653a72ced166c51f41a88de89 100644 (file)
@@ -1,3 +1,537 @@
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * formulabase.C (localDispatch): DISPATCH -> dispatch_result
+
+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.
+
+2003-09-12  André Pönitz  <poenitz@gmx.net>
+
+       * math_boldsymbolinset.[Ch]: preliminary support
+
+       * Makefile.am: adjust
+
+2003-09-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * math_kerninset.h:
+       * math_gridinset.h: include "lyxlength.h", not "vspace.h"
+
+       * math_cursor.C: "lyxrc.h", not <lyxrc.h>
+
+2003-09-08  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C:
+       * formulamacro.C:
+       * math_charinset.C:
+       * math_cursor.C:
+       * math_data.C:
+       * math_diminset.C:
+       * math_hullinset.C:
+       * math_support.C:
+       * math_tabularinset.C: remove redundant using directives.
+
+2003-09-07  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.h: remove #includes "dimension.h", <boost/weak_ptr.hpp>,
+       <iosfwd>.
+
+       * math_decorationinset.h: remove #include "support/std_string.h".
+
+       * math_envinset.h:
+       * math_fboxinset.h: remove #include "metricsinfo.h".
+
+       * math_kerninset.h: remove #include "math_nestinset.h".
+
+       * math_macro.h: remove #include "math_macroarg.h".
+
+       * math_nestinset.h: remove #include "math_data.h".
+
+       Ensuing changes to .C files.
+
+2003-09-05  Angus Leeming  <leeming@lyx.org>
+
+       * math_binaryopinset.[Ch]:
+       * math_gridinfo.h:
+       * math_xyarrowinset.[Ch]:
+       ensure that the header file can be compiled stand-alone.
+
+2003-09-05  Angus Leeming  <leeming@lyx.org>
+
+       * *.C: strip out redundant #includes. (168 in total.)
+
+2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
+
+       * formulamacro.C (prefix): replace %s by %1$s to make bformat happy
+
+2003-09-01  Alfredo Braunstein  <abraunst@libero.it>
+
+       * formulabase.C (InsetFormulaBase): initialize view_
+
+2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * most files: change to use const buffer refs
+
+2003-08-19  Angus Leeming  <leeming@lyx.org>
+
+       * most files: 'standardise' the header blurb.
+
+2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
+
+        * math_gridinset.C: rename valign-center to valign-middle
+
+2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * always use std::endl with lyxerr, and <config.h> in some places.
+
+2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * rename Inset to InsetOld
+
+       * all inset files (clone) return a auto_ptr<InsetBase>
+
+2003-07-21  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (c-tor, addPreview): use namespace lyx::graphics rather
+       than grfx shortcut.
+
+2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_parser.C (catInit): dont use unprintable control chars in
+       source.
+
+2003-07-17  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (localDispatch): return UNDISPATCHED for all
+       LFUN_DIALOG_SHOW.
+
+2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * introduce namespace lyx::graphics
+
+2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * introduce namespace lyx::support
+
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_symbolinset.C (MathSymbolInset): fix type const order
+
+       * math_support.C (mathed_draw_deco): fix type const order
+
+       * math_gridinset.C (GrinInsetMailer::name): fix type const order
+
+       * math_extern.C (testString): fix type const order
+
+       * math_data.C (operator[]): fix arg type
+
+       * math_binaryopinset.C (metrics): comment out
+
+       * formula.h: fix type const order
+
+2003-06-19  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (localDiapatch): replace LFUN_MATH_PANEL with
+       LFUN_DIALOG_SHOW "mathpanel".
+
+2003-06-17  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (lfunMouseRelease): s/showMathPanel/show("mathpanel")/
+
+2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * formulabase.C (mathDispatchCreation): fix call to cutSelection
+
+2003-06-16  André Pönitz  <poenitz@gmx.net>
+
+       * math_*inset.[Ch]: IU of clone()
+
+       * math_cursorpos.[Ch]:
+       * math_cursor.[Ch]: rename MathCursorPos -> CursorPos, par_ -> inset_
+
+2003-05-28  André Pönitz  <poenitz@gmx.net>
+
+       * math_*.[Ch]: prepare unified two-stage drawing
+
+2003-05-27  André Pönitz  <poenitz@gmx.net>
+
+       * *.C: dim.w -> dim.wid etc
+
+2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * remove same_id from function signatures, adjust
+
+2003-05-19  André Pönitz  <poenitz@gmx.net>
+
+       * formulamacro.C: avoid multiple metrics computation
+
+2003-05-23  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (latex):
+       * formulamacro.C (latex): rename fragile as moving_arg.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * formula.[Ch] (latex):
+       * formulamacro.[Ch] (latex):
+       no longer have a free_spacing arg. Data is now passed through the
+       LatexRunParams arg.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * formula.[Ch] (latex):
+       * formulamacro.[Ch] (latex):
+        no longer has a fragile arg. Data is now passed through the
+        LatexRunParams arg.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * formula.[Ch] (latex):
+       * formulamacro.[Ch] (latex):
+       passed a LatexRunParams parameter.
+
+2003-05-19  André Pönitz  <poenitz@gmx.net>
+
+       * Makefile.am:
+       * dimension.[Ch]: promote files to src/dimension.[Ch[
+
+       * formula.[Ch]:
+       * formulamacro.[Ch]:
+       * formulamacro.h:
+       * math_inset.h: replace ascents/descent/witdh with dimension()
+
+2003-05-14 André Pönitz <poenitz@gmx.net>
+
+       * math_substack.[Ch]: add markers
+
+2003-05-12 André Pönitz <poenitz@gmx.net>
+
+       * formula.C:
+       * math_parser.C:
+       * math_cursor.C: boost::format -> bformat  all over the place
+
+2003-05-06  Ling Li  <ling@caltech.edu>
+
+       * Makefile, math_makeboxinset.[Ch]:
+       * math_factory.C (createMathInset):
+       * math_parser.C (parse1): New support for \makebox.
+
+       * math_nestinset.C (drawMarkers, drawMarkers2):
+       * math_boxinset.C, math_frameboxinset.C (draw):
+       Fix spacing and marker length.
+
+2003-05-03  John Levon  <levon@movementarian.org>
+
+       * formula.C:
+       * formulabase.C:
+       * formulabase.h:
+       * formulamacro.C:
+       * math_cursor.C: remove showInsetCursor(),
+       isCursorVisible(), hideInsetCursor(), toggleInsetCursor(),
+       explicit cursor hides. Add getCursor()
+
+2003-05-02  André Pönitz <poenitz@gmx.net>
+
+       * math_arrayinset.[Ch]: add markers
+
+2003-04-30  André Pönitz <poenitz@gmx.net>
+
+       * math_gridinset.C: fix transition to new Col/Row/CellInfo scheme
+
+2003-04-14  Angus Leeming  <leeming@lyx.org>
+
+       * math_fboxinset.C:
+       * math_frameboxinset.C: s/\(LColor::\)black/\1foreground/
+       * math_macrotemplate.C: s/\(LColor::\)blue/\1mathline/
+       * math_support.C: s/\(LColor::\)mathcursor/\1cursor/
+
+2003-04-02  John Levon  <levon@movementarian.org>
+
+       * formulabase.C:
+       * math_gridinset.C: tab lfuns changed name
+
+2003-03-28  John Levon  <levon@movementarian.org>
+
+       * formulabase.C: remove LFUN_GREEK - does nothing
+
+2003-03-19  John Levon  <levon@movementarian.org>
+
+       * formulabase.h:
+       * formulabase.C:
+       * math_gridinset.C:
+       * math_hullinset.C:
+       * ref_inset.C: updateInset() doesn't take a bool
+       anymore
+
+2003-03-17  John Levon  <levon@movementarian.org>
+
+       * formula.h:
+       * formula.C:
+       * formulabase.h:
+       * formulamacro.h:
+       * formulamacro.C: draw() prototype changed
+
+2003-03-10  Angus Leeming  <leeming@lyx.org>
+
+       * math_gridinset.[Ch] (d-tor): added to ensure that the tabular
+       dialog is hidden when the inset is deleted and the two are connected.
+
+2003-03-05  Ling Li <ling@caltech.edu>
+
+       * math_casesinset.[Ch] (validate): request feature "amsmath"
+
+2003-03-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * math_braceinset.C (metrics): fix computation of descent
+
+2003-03-04  Angus Leeming  <leeming@lyx.org>
+
+       * command_inset.[Ch] (createDialogStr): a new function to generate
+       something that the frontend Dialogs will understand.
+       (c-tor): the string passed to the c-tor is now understood to be
+       simply the inset's name, not some strange beast containing "|++|".
+
+       * math_factory.[Ch] (createMathInset_fromDialogStr): new function
+       parses the string passed from the frontends.
+
+       * formulabase.C (localDiapatch):
+       * ref_inset.C (dispatch): use createDialogStr and
+       createMathInset_fromDialogStr rather than the current hard-coded
+       stuff.
+
+       * ref_inset.[Ch] (string2RefInset): goes the way of the dodo.
+
+2003-03-04  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (localDispatch): if an inset is found on
+       LFUN_INSET_APPLY, send LFUN_INSET_MODIFY to the inset's localDispatch.
+
+       * ref_inset.C (localDispatch): handle LFUN_INSET_MODIFY, not
+       LFUN_INSET_APPLY.
+
+2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * formulabase.h: adjust for boost 1.30.0
+
+2003-02-27  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (localDispatch): collapse LFUN_REF_APPLY to
+       LFUN_INSET_APPLY.
+
+       * ref_inset.C (changes due to the change to LFUN_INSET_APPLY.
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * ref_inset.C (localDispatch): act only on receipt of LFUN_REF_APPLY.
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (draw): cache the BufferView* using cache not
+       PreviewImpl::setView
+
+2003-02-26  Alfredo Braunstein <abraunst@libero.it>
+
+       * formula.C (draw): strip also the other argument (the owner inset) in
+       the call to PreviewImage::image
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * ref_inset.[Ch]: add a localDispatch method to RefInset.
+       add a string2RefInset function to 'translate' the string passed to the
+       LyX core from the Reference dialog.
+
+       * formulabase.C (localDispatch): factor the code for LFUN_REF_APPLY
+       to use these new functions and so avoid a dynamic cast.
+
+2003-02-25  Alfredo Braunstein <abraunst@libero.it>
+
+       * formula.C (draw): eliminate BufferView argument in call to
+       PreviewImage::image
+
+2003-02-25  Angus Leeming  <leeming@lyx.org>
+
+       * ref_inset.C (dispatch): add an '\end_inset' to the string passed to
+       the dialog.
+
+       * math_inset.h:
+       * ref_inset.h (asRefInset): new method, replacing asInsetRef.
+
+2003-02-21  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C (localDispatch): retire LFUN_REF_INSERT. Add
+       LFUN_DIALOG_SHOW_NEW_INSET "ref" and LFUN_REF_APPLY. The latter
+       is not yet safe. Posted some ideas to the list for further discussion.
+
+       * ref_inset.C (dispatch): a first stab at activating the code
+       to display the reference dialog from within mathed. Not yet working.
+
+2003-02-14  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * math_parser.C (parse1): Do not remove braces for {<expr>}^
+
+2003-02-13  Bo Peng <bpeng@rice.edu>
+
+       * math_cursor.h:
+       * math_cursor.C (backspace, erase): return false for empty mathboxes.
+
+       * formulabase.C: When LFUN_DELETE, LFUN_BACKSPACE return false, delete
+               the empty mathbox. Fix Bug 686.
+
+2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
+
+       * formula.C (draw, width): Fix spacing around previewed formula.
+
+2003-01-13  Michael Schmitt <Michael.Schmitt@teststep.org>
+
+       * formulabse.C (localDispatch): make CTRL-Pos1/End behave a little
+       bit more intuitive. (Patch suggested by André.)
+
+2003-01-07  João Luis Meloni Assirati <assirati@fma.if.usp.br>
+
+       * math_hullinset.C: fix numbering problem of AMS gather and
+         multline environments. Treat gather the same
+         way as eqnarray and multline as a special case.
+
+2002-12-18  John Levon  <levon@movementarian.org>
+
+       * math_factory.C: do not assume symbol font is present
+
+2002-12-17  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * math_parser.C (tokenize): Fix macro reading.
+
+2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * several files: ws changes
+
+2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_inferinset.C: remove unused "using std::max"
+
+2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * formulamacro.C (prefix): use boost::format
+
+2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * formulabase.C (lfunMouseRelease): Do not make the buffer dirty
+       when releasing the first mouse button.
+
 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * math_inset.C (asString): STRCONV