lyx_mirror/src/mathed/ChangeLog
Lars Gullik Bjønnes ac8cbdbddb mathed48.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1709 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-08 11:51:35 +00:00

536 lines
15 KiB
Plaintext

2001-03-08 André Pönitz <poenitz@htwm.de>
* math_rowst.h: give MathedRowContainer an 'insert' method.
* math_xiter.C: new 'container()' method to encapsulated access to
the MathParInset's MathedRowContainer
2001-03-06 André Pönitz <poenitz@htwm.de>
* array.[Ch]: factor out deep_copy,
remove third argument from raw_pointer_insert
* math_iter.[Ch]: remove unused function Clear()
* math_cursor.C: change signature of MathStackXIter:push()
whitespace changes
* math_rowst.h: introduction of MathRowContainer
several files: corresponding changes
2001-03-04 André Pönitz <poenitz@htwm.de>
* math_macrotemplate.[Ch]:
math_macro.C: move update() functionality to the macro
* math_rowst.h: split MathedRowSt into "data" and "list"
2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* math_macrotemplate.C (update): use MathMacro::getArg, and
receive a const reference.
(getMacroPar): add an Assert
* math_macrotemplate.h: make MathMacro a friend, make update take
a const reference.
* math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
and store a MathMacroArgument in the vector
* math_macro.C: changes because of the above.
(getArg): new method
* math_parser.C (mathed_parse): plug potential leak
* math_iter.h: add comment on virtual destructor
* math_iter.C (Delete): make c const
* math_parinset.C (Metrics): cleanup indent. make one string const.
* math_inset.C (size): move out of line
(incSize): ditto
* math_macroarg.h: remove default constructor
* math_macroarg.C: include Lsstream.h instead of debug.h
(MathMacroArgument): remove default constructor
(Write): add std:: on ostream arg
2001-02-23 John Levon <moz@compsoc.man.ac.uk>
* math_parser.C:
* formula.C: make DEBUG into lyxerr
2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* math_macrotemplate.h: make noncopyable, remove last arg to
constructor, remove flags_ add edit_
(flags): remove method
* math_macrotemplate.C (setArgument): delete method
(update): make idx const
(Metrics): use edit_, remove flags_
(draw): use edit_, remove flags_
(setEditMode): set edit_, remove flags_
(MathMacroTemplate): initialize edit_, remove flags_
* math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
shared_ptr, let constructor take a shared_ptr
* math_macro.C (MathMacro): take shared_ptr as arg, remove double
initialization.
(draw): remove unneded update, remove removed update of x,y
(GetXY): call tmplates GetMacroXY directly
(SetFocus): call Metrics() instead of update()
(Write): remove support for math macro environments, simplifications.
* math_macrotable.h: make class noncopyable, change getMacro to
createMacro, change vector to map store a
shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
* math_macrotable.C: add pragma
(createMacro): change name from getMacro, use shared_ptr
(getTemplate): Use map lookup to get macro, return shared_ptr
(addTemplate): assert that m containse a valid pointer, use map[]
insert.
(builtinMacros): by using shared_ptr fix the mem leak, remove
commented out unsupported macros
* math_cursor.C: changes because of the above
* math_parser.C: changes because of the abobe
* formulamacro.h: change tmacro_ to be a shared_ptr, remove
default arg on constructor.
* formulamacro.C: changes because of the above
* math_parinset.h: add pragma
(SetAlign): move inline out of class def
(GetColumns): ditto
(GetRows): ditto
(isMatrix): ditto
(setArgumentIdx): ditto
(setNextArgIdx): ditto
(getArgumentIdx): ditto
(getMaxArgumentIdx): ditto
(setRowSt): ditto
(xo): ditto
(yo): ditto
* math_parinset.C: add pragma
(Write): change the else clause, lessen depth
* math_macroarg.h: small whitespace change
* array.C: include support/LOstream.h add using ostream and endl
* array.h (dump): add std:: on ostream
2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* math_macrotemplate.h: remove default arg on update
* math_macrotemplate.C (update): add assert and remove noop case.
* formulamacro.C (Read): add comment.
(ascent): remove noop call to MathMacroTemplate
(descent): ditto
(width): ditto
(draw): ditto
* math_parser.C (mathed_parse): fix another potential problem by
passing a freestanding mathedarray.
* math_root.C (GetData): add const version
* math_parinset.C (~MathParInset): delete
(GetData): add const version
* math_matrixinset.C (MathMatrixInset): delete pointer version,
make it a proper copy constructor instead
(Clone): change acc.
(MathMatrixInset): remvoe default val for m and n
* math_macro.C (GetData): add const version
* math_fracinset.C (GetData): add const version
* math_cursor.C (SelCopy): make p1 and p2 const
(SelCut): make p1 and p2 const
* formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
(LyxCode): move inline out of class
(ConvertFont): ditto
(display): ditto
* array.[Ch] (dump): method added for debugging purposes
* math_parser.C (mathed_parse): pass a freestanding mathedarray to
mathed_parse when reading a matrix.
* math_spaceinset.[Ch]: add pragma, make variables private add
'_', change order of method definitions.
* math_root.h (~MathRootInset): delete
Change uroot_ to be a real object instead of a pointer
* math_root.C: changes because of the above
* math_macro.C (MathMacro(MathMacro*)): delete constructor
(MathMacro(MathMacro const &)): new copy constructor
* math_inset.h: delete constructor taking a pointer to MathedInset
(size, incSize): move inline method
* math_funcinset.h: add pragma, remove class vars ln and fname,
change protected to private, add '_' to priv vars.
(~MathFuncInset): remove
* math_fracinset.h: make MathParInset den_ a real object and not a
pointer.
* math_fracinset.C (MathFracInset): clean up, move initalization
to initialization list
(~MathFracInset): remove
(Clone): remove leak
* math_draw.C: delete file
* math_dotsinset.[Ch]: add pragma
* math_bigopinset.h: make protected variables private add '_' to vars.
* math_bigopinset.C: move methods to follow class definition order
* math_accentinset.h (getAccentCode): move inline here
* math_accentinset.C (MathAccentInset): cleanup
(draw): constify dw
2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* math_inset.[Ch] (MathedInset): remove method
* Makefile.am (libmathed_la_SOURCES): correct typo
* math_parinset.C (draw): move MathedXiter data(this) up. and
remove it two other places.
* math_macro.C (MathMacro): use array directly, don't use
setArgumentIdx and GetData
2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
* math_macroarg.C (MathMacroArgument): delete
* math_macro.C (~MathMacro): delete
* math_macrotemplate.C (~MathMacroTemplate): delete
* math_decorationinset.[Ch]: add pragma
* math_deliminset.[Ch]: likewise
* math_fracinset.[Ch]: likewise
* math_macroarg.[Ch]: likewise
* math_macrotemplate.[Ch]: likewise
* math_matrixinset.[Ch]: likewise
* formulamacro.C (Read): set contents of tmacro_ to ar.
* formulamacro.h: add '_' to private variables.
* formalamacro.C: changes because of this.
2001-02-23 Juergen Vigna <jug@sad.it>
* formula.C (LocalDispatch): changed action to be a kb_action (as it
should be) and not an int.
* formulamacro.C (LocalDispatch): ditto.
2001-02-14 André Pönitz <poenitz@htwm.de>
* math_parinset.[Ch]: make array a real MathArray, not just a
pointer to one.
* move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
* several files: subsequent changes
* math_cursor.C: make selarray a proper MathArray
* several files: Change "MathedArray *" to "MathedArray &"
2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
* array.C (MathedArray): Fix compilation problem.
2001-02-14 André Pönitz <poenitz@htwm.de>
* array.[Ch]: "deep" copy constructor and assignment operator for
MathArray
* math_iter.[Ch]: seperate Copy() from Copy(int, int)
* math_iter.[Ch]: remove SetData
several files: subsequent changes
2001-02-14 André Pönitz <poenitz@htwm.de>
* array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
ARRAY_STEP
* math_iter.C: default-construct and resize array
2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
* math_xiter.h: move ipush and ipop to public, add _ on private
variables, move protected var to private, remove friend.
* math_cursor.C (insertInset): rename method from Insert also
remove default arg val. Call the public methods of xiter instead
of private variables.
* changes to several files because of the above.
2001-02-14 André Pönitz <poenitz@htwm.de>
* math_iter.[Ch]: hide fcode_
* math_xiter.C:
* math_parinset.C: subsequent changes
2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
* Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
math_utils.h
* math_write.C: delete file
* math_delim.C: delete file
* marh_sqrtinset.h: delete file
* move funcs to more localized files, more general cleanup.
Constify several local vars. Doxygen changes. Formatting.
2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
* support.C: add some consts
* matriz.C: clean up a bit.
(matmat): remove the for loop.
* several files: changes so that several friends can be removed
2001-02-14 André Pönitz <poenitz@htwm.de>
* formula.C: reformatting
* math_cursor.[Ch]:
math_iter.[Ch]:
math_xiter.[Ch]: remove unneeded members
2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
* math_parser.C:
* math_panel.C:
* formula.C: remove cruft
* array.C (begin): new method
(end): ditto
2001-02-14 André Pönitz <poenitz@htwm.de>
* math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
* math_cursor.C: reformatting
2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* math_spaceinset.C:
* math_root.C:
* math_matrixinset.C:
* math_macrotemplate.C:
* math_funcinset.C:
* math_fracinset.C:
* math_dotsinset.C:
* math_deliminset.C:
* math_decorationinset.C:
* math_bigopinset.C:
* math_accentinset.C:
* math_sqrtinset.C: include LOstream.h and add using directive.
2001-02-14 André Pönitz <poenitz@htwm.de>
* math_iter.C: reformatting
2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
* math_spaceinset.C (GetSpace): move here
* math_parinset.C: add debug.h, move several prev. inlined methods
here.
* math_macrotable.C math_xiter.C support.C: add debug.h
* math_macro.h: remove debug.h, remove typedefs
* math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
extern decls.
* math_hash.C: change some defines to int const. change use of
LM_TC_NORMAL to LM_TC_VAR
* math_draw.C: delete file
* math_defs.h (MATH_DEFS): dont define byte here, remove unneded
forward decls. remove LM_TC_NORMAL, move inline methods to
support.C (and support.h)
* math_cursor.C: move several previous inlined methods here
* math_bigopinset.h math_dotsinset.h math_funcinset.h
math_parinset.h math_spaceinset.h: add math_defs.h
* math_accentinset.h: add support.h and math_defs.h
* formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
* formula.h: remove unused func decl: OpenMathInset
* formula.C math_inset.h: get rid of math_defs.h
* array.h: switch to support.h instead of math_defs.h
* array.C: remove one include
* Makefile.am (libmathed_la_SOURCES): remove math_draw.C
* math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
* math_parser.C: include macrotable and macrotemplate
* math_macrotemplate.[Ch]: new files
* math_macrotable.[Ch]: new files
* math_macroarg.[Ch]: new files
* math_macro.C: move stuff to the new files.
* math_cursor.C: include math_macrotable.h
* macro_support.[Ch]: new files
* formulamacro.C: add more includes
* Makefile.am (libmathed_la_SOURCES): add new files.
2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Makefile.am (libmathed_la_SOURCES): remove duplicate
math_sqrtinset.
* support.C:
* math_xiter.C:
* math_parinset.C: add a bunch of "using" directives.
* math_funcinset.h:
* math_decorationinset.h:
* math_bigopinset.h:
* math_spaceinset.h: remove more couples of inline.
2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
* math_xiter.h: remove a couple of "inline"
* array.C (strange_copy): fix bug (hopefully)
* many files: add a lot of new files and move methods to the class
files they belong to. Only first attempt at cleanup more will
follow.
2001-02-12 André Pönitz <poenitz@htwm.de>
* math_macro.[hC]: replace MathMacroArgument[] with
std::vector<MathMacroArgument>
* math_defs.h:
math_inset.C: replace int[] with std::vector<int>
* math_panel.h:
* math_symbols.C: replace FL_OBJECTP[] with
std::vector<FL_OBJECT*>
2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
* math_defs.h (struct MathedRowSt): make all private variables end
with '_', initialize in initializer list instead of in function
body.
2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
* formula.C (LocalDispatch): Change the default action of
break-line to create an align* environment instead of eqnarray*.
* math_inset.C (Metrics): Correct drawing of the multline
environment.
2001-02-12 André Pönitz <poenitz@htwm.de>
* array.[hC]: replace private variable maxsize_ with call to
bf_.size()
* math_defs.h: replace int[] by std::vector<int> for
MathedRowSt::widths
2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
* array.h: made all variables private, removed friend, added new
methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
non const operator[] added setter for last and getter for maxsize.
changed name from LyxArrayBase to MathedArray.
changed name of some methods to start with lowerchar.
moved inline methods to array.C
* math_iter.C + several file: changes because of the above.
* array.C: new file with the prev inline methods.
2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
* Many files: add support for the align environment from amsmath.
2001-02-09 André Pönitz <poenitz@htwm.de>
* array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
* several files: subsequent changes
* math_iter.h: remove unused prototype
* array.h: ditto.
2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* math_macro.C (draw): add .c_str() to .str() (useful when
compiling with lyxstring, but STL sstream).
(Metrics): ditto.
2001-02-08 André Pönitz <poenitz@htwm.de>
* several files: get rid of reinterpret_cast.
2001-02-04 Allan Rae <rae@lyx.org>
* math_parser.C (mathed_parse): I'm sure Lars has a better fix than
just casting the variable.
2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
* Many files: Add support for multline and alignat environments from
amsmath.
2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
* math_symbols.C (math_insert_greek): Move cursor right when
unlocking the math inset.
2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
* math_parser.C (LexGetArg): Fix crash when loading corrupt files.
* formula.C (LocalDispatch): Before inserting a label in an
eqnarray, move the cursor to the top level.
* math_iter.C (getLabel): Test if crow == 0.
2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
* math_draw.C (Metrics): Use the correct GetString.