]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/ChangeLog
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / ChangeLog
index 3fb389e8a755ce1ceb5a241303002375c65eb328..4df2ea1e1fbc8da41f3c972a775b680515410b6d 100644 (file)
@@ -1,8 +1,481 @@
+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
+
+       * math_factory.C (initSymbols): do not std:: qualify getline, use
+       empty() to check for empty string, STRCONV
+
+       * math_extern.C: STRCONV
+
+       * math_diminset.C (drawT): STRCONV
+
+       * math_cursor.C (info): STRCONV
+
+       * math_autocorrect.C (initAutoCorrect): STRCONV
+
+       * formulamacro.C (InsetFormulaMacro): STRCONV
+
+       * formulabase.C (localDispatch): STRCONV
+
+       * formula.C (latexString): STRCONV
+
+       * math_factory.C: add using std::endl
+       (math_font_available): use it
+       (initSymbols): use it
+       (createMathInset): use it
+
+       * math_cursor.C (MathCursor): reindent
+
+2002-10-28  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * many files: Add support for Maxima.
+
+       * math_scriptinset.C (dispatch): Change handling of LFUN_MATH_LIMITS.
+
+       * math_symbolinset.C (metrics): Compute em with the default font.
+
+       * math_charinset.C (draw): Use math symbol fonts for <,> & =
+
+2002-10-21  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * math_factory.C (initSymbols): Support "else" token.
+
+       * math_symbolinset.C (metrics): Remove special case for \not.
+
+2002-10-18  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (latexString): Revert yesterday's change. It's going to
+       be too complicated to deal with nasty surprises.
+
+2002-10-17  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (latexString): change "\[ ... \]" to "$ \displaystyle ... $"
+       for nicer previews.
+
+2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * math_kerninset.C (metrics): Use LyXLength::inPixels.
+
+2002-10-14  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * math_factory.C (initSymbols): iffont.
+
+2002-10-14  André Pönitz <poenitz@gmx.net>
+
+       * math_cursor.C: remove code to fix crash
+
+2002-10-14  André Pönitz <poenitz@gmx.net>
+
+       * formulabase.C: support pasting stuff into formulas using button3
+
+       * math_parser.C:
+         math_hullinset.C: Herbert's patch to support flalign
+
+2002-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * formulabase.C (localDispatch): make LFUN_WORDLEFTSEL and
+       LFUN_WORDRIGHTSEL coherent with their non-SEL counterparts
+
+2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Makefile.am (INCLUDES): loose SIGC_INCLUDES
+
+2002-09-11  John Levon  <levon@movementarian.org>
+
+       * dimension.C: compile fix
+
+2002-09-11  Angus Leeming  <leeming@lyx.org>
+
+       * preview.[Ch]: cruft. Removed.
+
+2002-08-29  André Pönitz <poenitz@gmx.net>
+
+       * math_framboxinset.[Ch]: new (partial) support for \framebox
+
+       * math_parser.C: generalization for reading optional arguments
+
+2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * math_parinset.C: add support/LOstream.h and config.h
+
+2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_hullinset.C: add using std::pair
+
+2002-08-13  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.C:
+       * ref_inset.C:
+       changes due to the changed LyXView interface that now returns references
+       to member variables not pointers.
+
+       * math_inset.[Ch] (getDialogs, getLyXFunc): return a reference, not a
+       pointer, reflecting this change.
+
+2002-08-02  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C: pass the BufferView to the PreviewedInset so that it can
+       cache it.
+
+2002-08-02  Angus Leeming  <leeming@lyx.org>
+
+       * formulabase.[Ch]: store the BufferView as a weak_ptr.
+       (updatePreview): removed.
+       (insetUnlock): invoke generatePreview().
+
+       * formula.C (InsetFormula): pass the shared_ptr to view_, not the raw
+       BufferView.
+       (read, localDispatch): remove those calls to updatePreview().
+
+       * math_metricsinfo.[Ch]: store the BufferView as a weak_ptr.
+
+       * math_nestinset.C (notifyCursorLeaves): empty, because
+       generatePreview() is now called from InsetFormulaBase::insetUnlock.
+
+2002-08-01  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C: move code into the new PreviewedInset class.
+
+       * formula.[Ch] (generatePreview): renamed as addPreview.
+       (generatePreview): new method invoking PreviewedInset::generatePreview.
+
+       * math_nestinset.C (notifyCursorLeaves): simplify. Now just calls
+       Inset::generatePreview.
+
+2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * formula.C (localDispatch): strip,frontStrip -> trim,ltrim,rtrim
+
+2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * math_nestinset.C: add using std::vector
+
+2002-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (descent): add an arbitrary 12 pixels to the descent when
+       previewing a display mode equation, analogous to André's code elsewhere.
+
+       * math_nestinset.C (notifyCursorLeaves): generate the preview only
+       when leaving an inset with depth() == 1.
+
+2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * math_support.C (mathed_draw_deco): fix rounding bug for rotated
+       decorations
+
+2002-07-17  Angus Leeming  <leeming@lyx.org>
+
+       * math_parboxinset.C: add using std::vector directive.
+
+       * formula.C (PreviewImpl's generate): bind to the PreviewLoader
+       through a method rather than to the signal directly.
+
+2002-07-16  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C (ascent, descent, draw): remove the extra pixels
+       required to accommodate the mathed active frame when in Preview mode.
+
+2002-07-12  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C: use the new smart loading capabilities of the image
+       loader.
+
+2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
+
+       * mathformula.C: use Lsstream.h not sstream
+
+2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
+
+       * math_support.C:
+       * math_factory.C: use lyx_gui::font_available()
+
+2002-07-09  Angus Leeming  <leeming@lyx.org>
+
+       * math_braceinset.h:
+       * math_scriptinset.h: remove class:: from method declaration.
+
+       * math_braceinset.C:
+       * math_envinset.C: #include "LOstream.h"
+
+2002-07-05  Angus Leeming  <leeming@lyx.org>
+
+       * formula.[Ch] (generatePreview): instantiate new virtual method.
+       Strip out the preliminary preview code and replace with code that
+       makes full use of the graphics/Preview* files. Hide all the
+       shenanigans behind a PreviewImpl firewall.
+
+       * math_nestinset.C (notifyCursorLeaves): update the preview using the
+       new graphics/Preview* code.
+
+2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * formulabase.C: ws changes
+       * formula.C: ws changes
+
+2002-07-01  Geof Piroux
+
+       * math_ex*.[Ch] et al: support for Mathematica as CAS backend
+
+2002-06-28  Angus Leeming  <leeming@lyx.org>
+
+       * preview.h (preview): don't pass grfx::GraphicPtr & anymore.
+
+2002-06-24  André Pönitz <poenitz@gmx.net>
+
+       * math_parser.C: remove "remove seemingly unneeded {} hack"
+
+2002-06-26  Angus Leeming  <leeming@lyx.org>
+
+       * formula.C: use lyxerr, not cerr.
+
+2002-06-24  André Pönitz <poenitz@gmx.net>
+
+       * *.[Ch]: left over changes from Porto
+
+       * math_gridinset.C (eolString): fix #456
+
+2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * formula.C: use repaint()
+
+2002-06-16  André Pönitz <poenitz@gmx.net>
+
+       * math_factory.C:
+       * math_support.C: fix font fall-back
+
+       * math_specialcharinset.[Ch]:
+       * math_funcliminset.[Ch]: remove, it's now done by MathSymbolInset
+
+       * math_funcinset.[Ch]: remove, it's not used
+
+2002-06-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * math_extern.C: add using std::endl
+
+2002-06-15  LyX Development team <lyx@rilke>
+
+       * formula.[Ch]:
+       * macroformula.[Ch] (docbook): Added argument to care about the
+       pernicious mixed content.
+
+2002-05-30  André Pönitz <poenitz@gmx.net>
+
+       * math_parser.C:
+       * formulabase.C: parser changes to 'everything might be a table'
+
+2002-05-31  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * math_hullinset.C (ams): Do a real check.
+
+2002-05-30  André Pönitz <poenitz@gmx.net>
+
+       * *.[Ch]: "fonts as inset"
+
+2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * switch from SigC signals to boost::signals.
+
+2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
+
+       * formulabase.C:
+       * formulabase.h:
+       * math_inset.h: use mouse_state. Kill insetKeyPress
+
+2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
+
+       * math_support.C: font loader moved
+
+2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
+
+       * formulabase.C:
+       * formulamacro.C:
+       * math_charinset.C:
+       * math_funcinset.C:
+       * math_support.C:
+       * math_unknowninset.C: new name for font metrics
+
+2002-05-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * math_autocorrect.C: include vector and add a using statement.
+
+2002-05-23  André Pönitz <poenitz@gmx.net>
+
+       * math_autocorrect.[Ch]: new "auto correction" feature
+       * math_cursor.[Ch]: subsequent changes
+       * math_parser.C: somewhat better error reporting
+
+2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * formula.C:
+       * formulabase.C: LyXView moved into frontends/
+
+2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
+
+       * formula.C:
+       * formulabase.C:
+       * formulamacro.C:
+       * math_binaryopinset.C:
+       * math_casesinset.C:
+       * math_charinset.C:
+       * math_cursor.C:
+       * math_fracinset.C:
+       * math_funcinset.C:
+       * math_gridinset.C:
+       * math_hullinset.C:
+       * math_macro.C:
+       * math_macrotemplate.C:
+       * math_rootinset.C:
+       * math_spaceinset.C:
+       * math_sqrtinset.C:
+       * math_stringinset.C:
+       * math_support.C:
+       * math_unknowninset.C:
+       * math_xdata.C:
+       * math_xyarrowinset.C: move Painter to frontends/
+
+2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * math_exintinset.C: use more specific smart_ptr header.
+
+2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
+
+       * math_cursor.C: clear selection on paste (bug 393)
+
+2002-05-15  André Pönitz <poenitz@gmx.net>
+
+       * formulabase.[Ch]: mark buffer as (Changed) after font changes
+
+2002-05-13  André Pönitz <poenitz@gmx.net>
+
+       * math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
+
+2002-05-13  André Pönitz <poenitz@gmx.net>
+
+       * math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
+
 2002-04-24  Juergen Vigna  <jug@sad.it>
 
        * formulabase.C (insetButtonPress): set the mathcursor in case we
        don't have one. This happens when clicking on a non locked mathed
        inset with any button != 1.
+       (insetButtonPress): Forgot about this the Panel should NEVER be
+       opened in a Press event ONLY in the Release event!
 
 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
 
 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
 
-       * formula.C Changes due to the renaming of support/syscall.[Ch]
-       as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
+       * formula.C Changes due to the renaming of support/syscall.[Ch] as
+       support/systemcall.[Ch] and of class Systemcalls as class
+       SystemCall.
 
 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * formula.C: change Systemcalls::System to Systemcalls::Wait and
-       No change of functionality, just reflects the stripped down Systemcalls
-       class.
+       No change of functionality, just reflects the stripped down
+       Systemcalls class.
 
 2002-02-08  André Pönitz <poenitz@gmx.net>