1 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * formulabase.C (mathDispatchCreation): pass second argument
4 'false' (no label) to selectionAsString
6 2001-09-11 André Pönitz <poenitz@gmx.net>
8 * math_atom.[Ch]: new basic item in the MathArray
10 * array.[Ch]: move code over to math_atom
12 * math_scriptinset.[Ch]:
14 math_cursor.C: try to do with super- and subscripts what TeX does
16 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
20 2001-09-04 André Pönitz <poenitz@gmx.net>
24 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
25 'xxalignt', 'gather' and 'multiline' environments
27 * math_cursor.C: fix handling of | and \|
29 2001-09-04 José Matos <jamatos@fep.up.pt>
36 * formulamacro.h (docbook): rename docBook method to docbook.
38 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
40 * math_hash.C (ReadSymbols): Check for duplicate symbols
42 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
44 * support.C: added a using std::map directive.
46 2001-08-17 André Pönitz <poenitz@gmx.net>
48 * math_hash.C: Use std::map instead of faking it
50 * symbol_def.h: remove unneeded symbol definitions
52 * support.C: use the decorations' name for drawing
54 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
56 * math_hash.C (in_word_set): Initialize symbol table even when
57 symbols file was not found.
59 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
61 * math_hash.C: added a using std::endl directive.
63 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
65 * support.C (whichFont): Add support for cmr font.
66 Add support for \mathbb.
68 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
70 * math_macrotable.C (builtinMacros): Add 3 builtin macros
72 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
74 * math_hash.C: Read symbols information from external file
75 many files: Add support for latex symbol fonts
77 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
79 * math_parser.C (Parser): Eat spaces after \end_inset
81 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
83 * math_parser.C (tokenize): fix typo
85 2001-08-17 André Pönitz <poenitz@gmx.net>
87 * math_parser.C: new "lexxer"
89 * array.C: write sequences of chars with same code as a unit
91 2001-08-13 André Pönitz <poenitz@gmx.net>
93 * math_factory.[Ch]: new files for the creation of math insets
97 math_hash.C: simplifications
99 * math_binom.[Ch]: new files for "native" \binom/\choose inset
102 math_cursor.C: reading support for TeX style \over and \choose
104 * formulabase.C: re-enabling the "selected text gets converted to
105 math when pressing C-m" feature.
107 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
109 * math_parser.C (lexArg): remove default argument from the .C file
110 as it causes DEC cxx to complain about a redefinition.
112 2001-08-10 André Pönitz <poenitz@gmx.net>
114 * math_scopeinset.[Ch]: new inset for {} blocks
116 * math_accentinset.[Ch]: removed unneeded files
119 math_matrix.[Ch]: start support for "interrow spacing"
121 * all over the place: rework of parser stuff
123 2001-08-08 André Pönitz <poenitz@gmx.net>
125 * math_fracbase.[Ch]:
126 * math_fracinset.[Ch]: new hierarchy
128 * math_stackrelbase.[Ch]: native \stackrel support
130 * math_inset.[Ch]: removal of the name_ member
132 * math_deliminset.[Ch]: rework
134 2001-08-06 André Pönitz <poenitz@gmx.net>
136 * formulamacro.C: fix nasty bug due to missing copy constructor
138 * math_bigopinset.[Ch]: revival for things like \int, \sum
140 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
142 * math_diminset.h: make cache variables mutable, remove const_cast
144 * formulabase.[Ch]: remove unneeded convertFont()
146 * math_funcinset.[Ch]: bring red color back
148 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
149 inset to the mcaro table
151 2001-08-01 André Pönitz <poenitz@gmx.net>
154 formulamacro.C: fix memory leaks
156 * math_matrixinset.C: fix mis-alignment of eqnarray columns
158 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
159 MathMatrixInset * and MathMacroTemplate * to save a few casts
161 * all over the place: everything is an inset now
163 * math_nestinset.[Ch]: new abstract base class for insets containing
166 * math_diminset.[Ch]: new abstract base class for insets that need
167 the width_/ascent_/descent_ cache
169 2001-07-25 André Pönitz <poenitz@gmx.net>
171 * formulabase.C: re-enable 'space enlargement' feature
173 * math_scriptinset.C:
174 math_bigopinset.C: rework of script insets
176 2001-07-22 André Pönitz <poenitz@gmx.net>
178 * math_cursor.C: fix "pullArg" behaviour
180 * math_cursor.C: keep empty super/subscript a bit longer
182 * math_cursor.C: do not move into insets that don't have inner cells yet
184 * formulabase.C: fix memory leak
186 * math_cursor.C: ^ now copies selection into new srriptinset
188 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
191 * math_updowninset.C: fix drawing glitches
193 * math_cursor.C: paste to correct position
195 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * formula.C (insetAllowed): allow insertion of label
199 2001-07-20 André Pönitz <poenitz@gmx.net>
201 * math_macrotable.C: support for \land and \vee
203 2001-07-16 André Pönitz <poenitz@gmx.net>
205 * math_grid.[Ch] -> math_gridinset.[Ch]
206 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
208 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
209 fix 'mathed reports wrong width', cosmetics
211 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
213 * math_cursor.C (operator==): moved ouf of struct
215 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
217 2001-07-16 André Pönitz <poenitz@gmx.net>
219 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
221 * several files: supporting changes
223 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
225 Consistent use of Lsstream.h:
226 * formula.C: removed using std::ostringstream directive.
228 * math_cursor.C: std::istringstream -> istringstream.
230 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
232 * math_decorationinset.h: add std:: qualifier
234 2001-07-12 André Pönitz <poenitz@gmx.net>
236 * math_updowninset.[hC]: new base class for script and bigop insets
237 *.[hC]: subsequent changes to all Metric() functions
239 * math_parser.C: small changes (\sqrt0 is read properly now)
241 2001-07-10 André Pönitz <poenitz@gmx.net>
243 * math_accentinset.[hC]: rewrite
246 math_cursor.C: subsequent changes
248 * math_grid.C: <Delete> in the first cell of a completely empty row
249 deletes that row, <C-Return> places the cursor in the first of the
252 * math_grid.C: try to split cell nicely when mutating from single-cell
253 to multi-cell environment
255 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
257 * math_matrixinset.C (mutate): Use only the first label when
258 mutating eqnarray to display formula.
260 2001-07-09 Juergen Vigna <jug@sad.it>
262 * formulabase.C (mathDispatchCreation): don't do anything with the
263 inset if it cannot be inserted!
265 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
267 * formulabase.C (mathDispatchInsertMath): remove bogus return
270 2001-07-09 André Pönitz <poenitz@gmx.net>
272 * math_*inset.C: Change order of arguments in MathInset constructor
274 * math_cursor.C: Remove broken "increase space" feature for a while
276 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
278 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
280 2001-07-04 André Pönitz <poenitz@gmx.net>
282 * math_parser.C: fix reading of "unusual" alpha chars
284 * xarray.[hC]: fix debug output of xarray
286 2001-07-03 André Pönitz <poenitz@gmx.net>
288 * math_parser.C: fix bug where equations did not get their labels
290 * formulabase.C: new feature: changing font on selection
292 * several files: subsequent changes
294 * array.C: fix bug when insets have not been cloned properly
295 This should fix quite a few "random" crashes...
297 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
299 * formulabase.C (localDispatch): use .c_str() on istringstream
300 constructor argument.
302 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
304 * math_grid.C (addCol): add second argument to cellinfo_.insert.
305 Cleanup a bit the code.
306 (appendRow): do not call push_back without argument.
308 * *.C: remove all "using namespace std" directives (not
309 good!!) and replaced it with relevant "using" directives.
311 * math_macrotemplate.C (Clone): change return type to MathInset*
313 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
315 * math_sizeinset.C: include support/LOstream.h
317 * math_scriptinset.C (Metrics): std:: qualify max
319 * math_root.C (Metrics): std:: qualify max
320 (Write): std:: qualify ostream
323 * math_matrixinset.C (getLabelList): std:: qualify vector
325 (Metrics): std:: qualify max
326 (header_write): std:: qualify ostream
327 (footer_write): ditto
329 * math_macrotemplate.C (Write): std:: qualify ostream
331 * math_bigopinset.C (Metrics): std:: qualify max, and include
334 * math_matrixinset.h: include vector and std:: qualify it.
336 * array.C (GetInset): get a pointer to the first element of bf_
339 2001-06-25 The LyX Project <Asger>
341 * math_scriptinset.C: Fix for entering with cursor up/down.
343 * math_fracinset.C: We can enter fractions with cursor up and
346 * math_cursor.C (Right): Fixes for cursor movement.
348 * formula.C (draw): New background color for math.
350 * math_cursor.C: Fixes for toggling labels on/off in math.
351 Fixes for infinity and other symbols that didn't appear in
354 2001-06-24 The LyX Project <Asger>
356 * math_inset.C: Cursor movement is better in square roots, among
359 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
360 cursor up/down movement. What not.
362 2001-06-24 The LyX Project <Asger>
364 * math_matrixinset.C: Hidden labels are hidden, unless a small
365 dragon jumps out of the screen, and pronounce them to the entire
368 2001-06-24 The LyX Project <Easter egg>
370 * math_cursor.C: Cursor improvements after a few dead-ends
371 in the evolution of cursor movement were tested and scrapped.
373 2001-06-24 The LyX Project <Asger>
375 * math_cursor.C: Renamed stack to path.
377 2001-06-24 The LyX Project <André>
380 Makefile.am: The Big Patch
381 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
382 new MathScriptInset for up/down stuff;
383 delete MathIter/MatXIter, MathParInset, MathRowSt
384 Changes to the inset inheritance tree, reunification of abstract math
386 label/numbering handling back to life;
387 major changes to the parser(s);
388 new base class FormulaBase for the two math LyXInsets;
389 general cleanup and cosmetic changes)
391 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
394 * math_root.C: removed // -*- C++ -*- as first line.
396 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
398 * array.C: bring memmove into main namespace if necessary
400 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
402 * math_parser.C (yylex): use contains instead of strchr
403 (parse_align): remove last arg, change to take string const & as
405 (mathed_parse): use string for ar2 and ar, adjust
407 * math_decorationinset.C (Write): use compare instead of strcmp
409 * formula.C (LocalDispatch): change arg2 to string, adjust for this
410 (LocalDispatch): add std::
411 (LocalDispatch): use contains instead of strchr
413 * array.C (move): add std::
415 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
417 * matriz.C: add using directives when needed for C functions
418 declared in std:: namespace.
420 * math_macrotemplate.h: do not use explicitely std::string, but
423 * math_macroarg.C: avoid bringing the whole std:: namespace in
424 global-land. When you do that, there is an ambiguity between
425 lyxstring and std::string (which may be defined at the same time).
427 * formula.C (HandleExtern): add .c_str() to .str() (useful when
430 2001-04-27 André Pönitz <poenitz@gmx.net>
432 * math_parser.C: fix \frac handling bug introduced on 04-24
433 * math_xiter.C: hotfix for merging "shared" insets
434 * formula.C: fixing display after using math-insert
436 2001-04-25 André Pönitz <poenitz@gmx.net>
438 * math_*.[Ch]: WriteNormal
439 * formula.C: Support for new "math extern" command
440 * math_parser.C: fix \frac handling bug introduced on 04-24
441 * math_xiter.C: hotfix for merging "shared" insets
443 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * math_macrotable.C: include <iostream>
447 2001-04-24 André Pönitz <poenitz@gmx.net>
450 * math_macrotable.[Ch]:
451 * math_macroarg.[Ch]: restructuring of macro handling
454 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
456 * array.h (operator<<):
457 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
459 * math_macrotable.C: added using std::make_pair directive.
460 (dump): added using std::cerr directive here as I guess that this is
463 2001-04-20 Allan Rae <rae@lyx.org>
465 * formula.C (LocalDispatch): fixed another #warning. Guess who.
467 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
469 * math_macrotemplate.h: inherit privately from noncopyable
471 * math_macro.C (Metrics): reindent, use unsigned int as loop var
472 (setArgumentIdx): change test to avoid unsigned warning
474 * formula.C (LocalDispatch): use LFUN_MESSAGE
476 2001-04-16 Allan Rae <rae@lyx.org>
478 * formula.C (Latex, getLabelList, LocalDispatch):
479 * math_parser.C (mathed_parse):
480 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
481 an unrecognised preprocessor directive. So ensure they're wrapped.
483 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
485 * formula.C (draw): adjust for cursor_visible
486 (ToggleInsetCursor): adjust for cursor_visible and constify asc
488 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
489 (HideInsetCursor): adjust for cursor_visible
490 (LocalDispatch): constify default_label and res
492 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
494 * math_rowst.C: add missing #include <config.h>.
496 2001-03-16 André Pönitz <poenitz@gmx.net>
498 * math_matrixinset.h:
499 * math_parinset.[Ch]:
500 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
502 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
510 * math_symbols.C: maths panel moved to GUII
512 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
514 * math_cursor.C: use lyxerr instead of cerr.
516 2001-03-15 André Pönitz <poenitz@gmx.net>
518 * math_cursor.C: fix bug (cursor was leaving two insets at a time
521 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
523 * math_macrotable.h: noncopyable is in namespace boost
524 * math_macrotemplate.h: ditto
526 * math_rowst.h: make MathedRowContainer::iterator public.
528 2001-03-15 André Pönitz <poenitz@gmx.net>
530 * math_parser.C: read '\nonumber' again (was broken)
532 * math_rowst.C: new file
534 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
536 * math_cursor.C: added using directive.
538 2001-03-15 André Pönitz <poenitz@gmx.net>
540 * math_rowst.h: Finally remove MathedRowSt
543 math_xiter.C: changed accordingly
545 2001-03-12 André Pönitz <poenitz@gmx.net>
547 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
548 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
550 2001-03-10 André Pönitz <poenitz@gmx.net>
553 math_matrixinset.C: move adjustVerticalSt to the only place where
554 it is used. Fix a small bug where the cached row structure and the
555 actual data get out of sync after the deletion of whole rows
557 2001-03-09 André Pönitz <poenitz@gmx.net>
559 * math_cursor.C: use std::vector<> in MathStackXIter
560 change selstk from a pointer to the "real thing"
562 * math_rowst.h: new MathedRowContainer::erase method
564 * math_xiter.C: use MathedRowContainer::erase
566 * math_parser.C: use MathedRowContainer::insert_after
568 2001-03-08 André Pönitz <poenitz@gmx.net>
570 * math_rowst.h: give MathedRowContainer an 'insert' method.
572 * math_xiter.C: new 'container()' method to encapsulated access to
573 the MathParInset's MathedRowContainer
575 * math_rowst.h: proper copy constructor and destructor for
578 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
579 automatically created by the compiler are ok now.
581 2001-03-06 André Pönitz <poenitz@gmx.net>
583 * array.[Ch]: factor out deep_copy,
584 remove third argument from raw_pointer_insert
586 * math_iter.[Ch]: remove unused function Clear()
588 * math_cursor.C: change signature of MathStackXIter:push()
591 * math_rowst.h: introduction of MathRowContainer
592 several files: corresponding changes
594 2001-03-04 André Pönitz <poenitz@gmx.net>
596 * math_macrotemplate.[Ch]:
597 math_macro.C: move update() functionality to the macro
599 * math_rowst.h: split MathedRowSt into "data" and "list"
601 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
603 * math_macrotemplate.C (update): use MathMacro::getArg, and
604 receive a const reference.
605 (getMacroPar): add an Assert
607 * math_macrotemplate.h: make MathMacro a friend, make update take
610 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
611 and store a MathMacroArgument in the vector
612 * math_macro.C: changes because of the above.
615 * math_parser.C (mathed_parse): plug potential leak
617 * math_iter.h: add comment on virtual destructor
619 * math_iter.C (Delete): make c const
621 * math_parinset.C (Metrics): cleanup indent. make one string const.
623 * math_inset.C (size): move out of line
626 * math_macroarg.h: remove default constructor
628 * math_macroarg.C: include Lsstream.h instead of debug.h
629 (MathMacroArgument): remove default constructor
630 (Write): add std:: on ostream arg
632 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
635 * formula.C: make DEBUG into lyxerr
637 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
639 * math_macrotemplate.h: make noncopyable, remove last arg to
640 constructor, remove flags_ add edit_
641 (flags): remove method
643 * math_macrotemplate.C (setArgument): delete method
644 (update): make idx const
645 (Metrics): use edit_, remove flags_
646 (draw): use edit_, remove flags_
647 (setEditMode): set edit_, remove flags_
648 (MathMacroTemplate): initialize edit_, remove flags_
650 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
651 shared_ptr, let constructor take a shared_ptr
653 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
655 (draw): remove unneded update, remove removed update of x,y
656 (GetXY): call tmplates GetMacroXY directly
657 (SetFocus): call Metrics() instead of update()
658 (Write): remove support for math macro environments, simplifications.
660 * math_macrotable.h: make class noncopyable, change getMacro to
661 createMacro, change vector to map store a
662 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
664 * math_macrotable.C: add pragma
665 (createMacro): change name from getMacro, use shared_ptr
666 (getTemplate): Use map lookup to get macro, return shared_ptr
667 (addTemplate): assert that m containse a valid pointer, use map[]
669 (builtinMacros): by using shared_ptr fix the mem leak, remove
670 commented out unsupported macros
672 * math_cursor.C: changes because of the above
673 * math_parser.C: changes because of the abobe
675 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
676 default arg on constructor.
677 * formulamacro.C: changes because of the above
679 * math_parinset.h: add pragma
680 (SetAlign): move inline out of class def
684 (setArgumentIdx): ditto
685 (setNextArgIdx): ditto
686 (getArgumentIdx): ditto
687 (getMaxArgumentIdx): ditto
692 * math_parinset.C: add pragma
693 (Write): change the else clause, lessen depth
695 * math_macroarg.h: small whitespace change
697 * array.C: include support/LOstream.h add using ostream and endl
699 * array.h (dump): add std:: on ostream
701 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
703 * math_macrotemplate.h: remove default arg on update
705 * math_macrotemplate.C (update): add assert and remove noop case.
707 * formulamacro.C (Read): add comment.
708 (ascent): remove noop call to MathMacroTemplate
713 * math_parser.C (mathed_parse): fix another potential problem by
714 passing a freestanding mathedarray.
716 * math_root.C (GetData): add const version
718 * math_parinset.C (~MathParInset): delete
719 (GetData): add const version
721 * math_matrixinset.C (MathMatrixInset): delete pointer version,
722 make it a proper copy constructor instead
724 (MathMatrixInset): remvoe default val for m and n
726 * math_macro.C (GetData): add const version
728 * math_fracinset.C (GetData): add const version
730 * math_cursor.C (SelCopy): make p1 and p2 const
731 (SelCut): make p1 and p2 const
733 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
734 (LyxCode): move inline out of class
738 * array.[Ch] (dump): method added for debugging purposes
740 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
741 mathed_parse when reading a matrix.
743 * math_spaceinset.[Ch]: add pragma, make variables private add
744 '_', change order of method definitions.
746 * math_root.h (~MathRootInset): delete
747 Change uroot_ to be a real object instead of a pointer
748 * math_root.C: changes because of the above
750 * math_macro.C (MathMacro(MathMacro*)): delete constructor
751 (MathMacro(MathMacro const &)): new copy constructor
753 * math_inset.h: delete constructor taking a pointer to MathedInset
754 (size, incSize): move inline method
756 * math_funcinset.h: add pragma, remove class vars ln and fname,
757 change protected to private, add '_' to priv vars.
758 (~MathFuncInset): remove
760 * math_fracinset.h: make MathParInset den_ a real object and not a
763 * math_fracinset.C (MathFracInset): clean up, move initalization
764 to initialization list
765 (~MathFracInset): remove
768 * math_draw.C: delete file
770 * math_dotsinset.[Ch]: add pragma
772 * math_bigopinset.h: make protected variables private add '_' to vars.
774 * math_bigopinset.C: move methods to follow class definition order
776 * math_accentinset.h (getAccentCode): move inline here
778 * math_accentinset.C (MathAccentInset): cleanup
781 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
783 * math_inset.[Ch] (MathedInset): remove method
785 * Makefile.am (libmathed_la_SOURCES): correct typo
787 * math_parinset.C (draw): move MathedXiter data(this) up. and
788 remove it two other places.
790 * math_macro.C (MathMacro): use array directly, don't use
791 setArgumentIdx and GetData
793 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
795 * math_macroarg.C (MathMacroArgument): delete
796 * math_macro.C (~MathMacro): delete
797 * math_macrotemplate.C (~MathMacroTemplate): delete
799 * math_decorationinset.[Ch]: add pragma
800 * math_deliminset.[Ch]: likewise
801 * math_fracinset.[Ch]: likewise
802 * math_macroarg.[Ch]: likewise
803 * math_macrotemplate.[Ch]: likewise
804 * math_matrixinset.[Ch]: likewise
806 * formulamacro.C (Read): set contents of tmacro_ to ar.
808 * formulamacro.h: add '_' to private variables.
809 * formalamacro.C: changes because of this.
811 2001-02-23 Juergen Vigna <jug@sad.it>
813 * formula.C (LocalDispatch): changed action to be a kb_action (as it
814 should be) and not an int.
816 * formulamacro.C (LocalDispatch): ditto.
818 2001-02-14 André Pönitz <poenitz@gmx.net>
820 * math_parinset.[Ch]: make array a real MathArray, not just a
823 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
825 * several files: subsequent changes
827 * math_cursor.C: make selarray a proper MathArray
829 * several files: Change "MathedArray *" to "MathedArray &"
832 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
834 * array.C (MathedArray): Fix compilation problem.
836 2001-02-14 André Pönitz <poenitz@gmx.net>
838 * array.[Ch]: "deep" copy constructor and assignment operator for
841 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
843 * math_iter.[Ch]: remove SetData
844 several files: subsequent changes
846 2001-02-14 André Pönitz <poenitz@gmx.net>
848 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
851 * math_iter.C: default-construct and resize array
853 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
855 * math_xiter.h: move ipush and ipop to public, add _ on private
856 variables, move protected var to private, remove friend.
858 * math_cursor.C (insertInset): rename method from Insert also
859 remove default arg val. Call the public methods of xiter instead
860 of private variables.
862 * changes to several files because of the above.
864 2001-02-14 André Pönitz <poenitz@gmx.net>
866 * math_iter.[Ch]: hide fcode_
868 * math_parinset.C: subsequent changes
871 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
873 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
876 * math_write.C: delete file
877 * math_delim.C: delete file
878 * marh_sqrtinset.h: delete file
880 * move funcs to more localized files, more general cleanup.
881 Constify several local vars. Doxygen changes. Formatting.
883 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
885 * support.C: add some consts
887 * matriz.C: clean up a bit.
888 (matmat): remove the for loop.
890 * several files: changes so that several friends can be removed
892 2001-02-14 André Pönitz <poenitz@gmx.net>
894 * formula.C: reformatting
898 math_xiter.[Ch]: remove unneeded members
900 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
904 * formula.C: remove cruft
906 * array.C (begin): new method
909 2001-02-14 André Pönitz <poenitz@gmx.net>
911 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
913 * math_cursor.C: reformatting
915 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
919 * math_matrixinset.C:
920 * math_macrotemplate.C:
925 * math_decorationinset.C:
927 * math_accentinset.C:
928 * math_sqrtinset.C: include LOstream.h and add using directive.
930 2001-02-14 André Pönitz <poenitz@gmx.net>
932 * math_iter.C: reformatting
934 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
936 * math_spaceinset.C (GetSpace): move here
938 * math_parinset.C: add debug.h, move several prev. inlined methods
941 * math_macrotable.C math_xiter.C support.C: add debug.h
943 * math_macro.h: remove debug.h, remove typedefs
945 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
948 * math_hash.C: change some defines to int const. change use of
949 LM_TC_NORMAL to LM_TC_VAR
951 * math_draw.C: delete file
953 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
954 forward decls. remove LM_TC_NORMAL, move inline methods to
955 support.C (and support.h)
957 * math_cursor.C: move several previous inlined methods here
959 * math_bigopinset.h math_dotsinset.h math_funcinset.h
960 math_parinset.h math_spaceinset.h: add math_defs.h
962 * math_accentinset.h: add support.h and math_defs.h
964 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
966 * formula.h: remove unused func decl: OpenMathInset
968 * formula.C math_inset.h: get rid of math_defs.h
970 * array.h: switch to support.h instead of math_defs.h
972 * array.C: remove one include
974 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
976 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
978 * math_parser.C: include macrotable and macrotemplate
980 * math_macrotemplate.[Ch]: new files
982 * math_macrotable.[Ch]: new files
984 * math_macroarg.[Ch]: new files
986 * math_macro.C: move stuff to the new files.
988 * math_cursor.C: include math_macrotable.h
990 * macro_support.[Ch]: new files
992 * formulamacro.C: add more includes
994 * Makefile.am (libmathed_la_SOURCES): add new files.
996 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
998 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1003 * math_parinset.C: add a bunch of "using" directives.
1006 * math_decorationinset.h:
1007 * math_bigopinset.h:
1008 * math_spaceinset.h: remove more couples of inline.
1010 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1012 * math_xiter.h: remove a couple of "inline"
1014 * array.C (strange_copy): fix bug (hopefully)
1015 * many files: add a lot of new files and move methods to the class
1016 files they belong to. Only first attempt at cleanup more will
1019 2001-02-12 André Pönitz <poenitz@gmx.net>
1021 * math_macro.[hC]: replace MathMacroArgument[] with
1022 std::vector<MathMacroArgument>
1024 math_inset.C: replace int[] with std::vector<int>
1026 * math_symbols.C: replace FL_OBJECTP[] with
1027 std::vector<FL_OBJECT*>
1029 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1031 * math_defs.h (struct MathedRowSt): make all private variables end
1032 with '_', initialize in initializer list instead of in function
1035 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1037 * formula.C (LocalDispatch): Change the default action of
1038 break-line to create an align* environment instead of eqnarray*.
1040 * math_inset.C (Metrics): Correct drawing of the multline
1043 2001-02-12 André Pönitz <poenitz@gmx.net>
1045 * array.[hC]: replace private variable maxsize_ with call to
1047 * math_defs.h: replace int[] by std::vector<int> for
1050 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1052 * array.h: made all variables private, removed friend, added new
1053 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1054 non const operator[] added setter for last and getter for maxsize.
1055 changed name from LyxArrayBase to MathedArray.
1056 changed name of some methods to start with lowerchar.
1057 moved inline methods to array.C
1059 * math_iter.C + several file: changes because of the above.
1061 * array.C: new file with the prev inline methods.
1063 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1065 * Many files: add support for the align environment from amsmath.
1067 2001-02-09 André Pönitz <poenitz@gmx.net>
1069 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1070 * several files: subsequent changes
1071 * math_iter.h: remove unused prototype
1074 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1076 * math_macro.C (draw): add .c_str() to .str() (useful when
1077 compiling with lyxstring, but STL sstream).
1080 2001-02-08 André Pönitz <poenitz@gmx.net>
1082 * several files: get rid of reinterpret_cast.
1084 2001-02-04 Allan Rae <rae@lyx.org>
1086 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1087 just casting the variable.
1089 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1091 * Many files: Add support for multline and alignat environments from
1094 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1096 * math_symbols.C (math_insert_greek): Move cursor right when
1097 unlocking the math inset.
1099 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1101 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1103 * formula.C (LocalDispatch): Before inserting a label in an
1104 eqnarray, move the cursor to the top level.
1106 * math_iter.C (getLabel): Test if crow == 0.
1108 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1110 * math_draw.C (Metrics): Use the correct GetString.