1 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4 * formula.C (localDispatch): fix a few of local variable sizes
6 * math_fracbase.C: change parameter types to match MathInset
8 2001-10-01 André Pönitz <poenitz@gmx.net>
10 * math_cursor.[Ch]: remove local parInset() method
12 * math_macro.C: add a static_cast
14 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16 * math_cursor.C: fix type mismatches with what was declared in
19 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
21 * math_matrixinset.C (header_write): Add \n after \begin{align}
23 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
25 * math_macrotable.C (builtinMacros): Add some macros if latex
28 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
30 * formula.C (insetAllowed): disallow label insertion in inline
33 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
35 * formulabase.C (mathDispatchCreation): pass second argument
36 'false' (no label) to selectionAsString
38 2001-09-11 André Pönitz <poenitz@gmx.net>
40 * math_atom.[Ch]: new basic item in the MathArray
42 * array.[Ch]: move code over to math_atom
44 * math_scriptinset.[Ch]:
46 math_cursor.C: try to do with super- and subscripts what TeX does
48 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
50 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
52 2001-09-04 André Pönitz <poenitz@gmx.net>
56 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
57 'xxalignt', 'gather' and 'multiline' environments
59 * math_cursor.C: fix handling of | and \|
61 2001-09-04 José Matos <jamatos@fep.up.pt>
68 * formulamacro.h (docbook): rename docBook method to docbook.
70 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
72 * math_hash.C (ReadSymbols): Check for duplicate symbols
74 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
76 * support.C: added a using std::map directive.
78 2001-08-17 André Pönitz <poenitz@gmx.net>
80 * math_hash.C: Use std::map instead of faking it
82 * symbol_def.h: remove unneeded symbol definitions
84 * support.C: use the decorations' name for drawing
86 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
88 * math_hash.C (in_word_set): Initialize symbol table even when
89 symbols file was not found.
91 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
93 * math_hash.C: added a using std::endl directive.
95 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
97 * support.C (whichFont): Add support for cmr font.
98 Add support for \mathbb.
100 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
102 * math_macrotable.C (builtinMacros): Add 3 builtin macros
104 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
106 * math_hash.C: Read symbols information from external file
107 many files: Add support for latex symbol fonts
109 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
111 * math_parser.C (Parser): Eat spaces after \end_inset
113 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
115 * math_parser.C (tokenize): fix typo
117 2001-08-17 André Pönitz <poenitz@gmx.net>
119 * math_parser.C: new "lexxer"
121 * array.C: write sequences of chars with same code as a unit
123 2001-08-13 André Pönitz <poenitz@gmx.net>
125 * math_factory.[Ch]: new files for the creation of math insets
129 math_hash.C: simplifications
131 * math_binom.[Ch]: new files for "native" \binom/\choose inset
134 math_cursor.C: reading support for TeX style \over and \choose
136 * formulabase.C: re-enabling the "selected text gets converted to
137 math when pressing C-m" feature.
139 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
141 * math_parser.C (lexArg): remove default argument from the .C file
142 as it causes DEC cxx to complain about a redefinition.
144 2001-08-10 André Pönitz <poenitz@gmx.net>
146 * math_scopeinset.[Ch]: new inset for {} blocks
148 * math_accentinset.[Ch]: removed unneeded files
151 math_matrix.[Ch]: start support for "interrow spacing"
153 * all over the place: rework of parser stuff
155 2001-08-08 André Pönitz <poenitz@gmx.net>
157 * math_fracbase.[Ch]:
158 * math_fracinset.[Ch]: new hierarchy
160 * math_stackrelbase.[Ch]: native \stackrel support
162 * math_inset.[Ch]: removal of the name_ member
164 * math_deliminset.[Ch]: rework
166 2001-08-06 André Pönitz <poenitz@gmx.net>
168 * formulamacro.C: fix nasty bug due to missing copy constructor
170 * math_bigopinset.[Ch]: revival for things like \int, \sum
172 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
174 * math_diminset.h: make cache variables mutable, remove const_cast
176 * formulabase.[Ch]: remove unneeded convertFont()
178 * math_funcinset.[Ch]: bring red color back
180 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
181 inset to the mcaro table
183 2001-08-01 André Pönitz <poenitz@gmx.net>
186 formulamacro.C: fix memory leaks
188 * math_matrixinset.C: fix mis-alignment of eqnarray columns
190 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
191 MathMatrixInset * and MathMacroTemplate * to save a few casts
193 * all over the place: everything is an inset now
195 * math_nestinset.[Ch]: new abstract base class for insets containing
198 * math_diminset.[Ch]: new abstract base class for insets that need
199 the width_/ascent_/descent_ cache
201 2001-07-25 André Pönitz <poenitz@gmx.net>
203 * formulabase.C: re-enable 'space enlargement' feature
205 * math_scriptinset.C:
206 math_bigopinset.C: rework of script insets
208 2001-07-22 André Pönitz <poenitz@gmx.net>
210 * math_cursor.C: fix "pullArg" behaviour
212 * math_cursor.C: keep empty super/subscript a bit longer
214 * math_cursor.C: do not move into insets that don't have inner cells yet
216 * formulabase.C: fix memory leak
218 * math_cursor.C: ^ now copies selection into new srriptinset
220 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
223 * math_updowninset.C: fix drawing glitches
225 * math_cursor.C: paste to correct position
227 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * formula.C (insetAllowed): allow insertion of label
231 2001-07-20 André Pönitz <poenitz@gmx.net>
233 * math_macrotable.C: support for \land and \vee
235 2001-07-16 André Pönitz <poenitz@gmx.net>
237 * math_grid.[Ch] -> math_gridinset.[Ch]
238 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
240 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
241 fix 'mathed reports wrong width', cosmetics
243 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
245 * math_cursor.C (operator==): moved ouf of struct
247 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
249 2001-07-16 André Pönitz <poenitz@gmx.net>
251 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
253 * several files: supporting changes
255 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
257 Consistent use of Lsstream.h:
258 * formula.C: removed using std::ostringstream directive.
260 * math_cursor.C: std::istringstream -> istringstream.
262 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
264 * math_decorationinset.h: add std:: qualifier
266 2001-07-12 André Pönitz <poenitz@gmx.net>
268 * math_updowninset.[hC]: new base class for script and bigop insets
269 *.[hC]: subsequent changes to all Metric() functions
271 * math_parser.C: small changes (\sqrt0 is read properly now)
273 2001-07-10 André Pönitz <poenitz@gmx.net>
275 * math_accentinset.[hC]: rewrite
278 math_cursor.C: subsequent changes
280 * math_grid.C: <Delete> in the first cell of a completely empty row
281 deletes that row, <C-Return> places the cursor in the first of the
284 * math_grid.C: try to split cell nicely when mutating from single-cell
285 to multi-cell environment
287 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
289 * math_matrixinset.C (mutate): Use only the first label when
290 mutating eqnarray to display formula.
292 2001-07-09 Juergen Vigna <jug@sad.it>
294 * formulabase.C (mathDispatchCreation): don't do anything with the
295 inset if it cannot be inserted!
297 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
299 * formulabase.C (mathDispatchInsertMath): remove bogus return
302 2001-07-09 André Pönitz <poenitz@gmx.net>
304 * math_*inset.C: Change order of arguments in MathInset constructor
306 * math_cursor.C: Remove broken "increase space" feature for a while
308 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
310 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
312 2001-07-04 André Pönitz <poenitz@gmx.net>
314 * math_parser.C: fix reading of "unusual" alpha chars
316 * xarray.[hC]: fix debug output of xarray
318 2001-07-03 André Pönitz <poenitz@gmx.net>
320 * math_parser.C: fix bug where equations did not get their labels
322 * formulabase.C: new feature: changing font on selection
324 * several files: subsequent changes
326 * array.C: fix bug when insets have not been cloned properly
327 This should fix quite a few "random" crashes...
329 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
331 * formulabase.C (localDispatch): use .c_str() on istringstream
332 constructor argument.
334 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
336 * math_grid.C (addCol): add second argument to cellinfo_.insert.
337 Cleanup a bit the code.
338 (appendRow): do not call push_back without argument.
340 * *.C: remove all "using namespace std" directives (not
341 good!!) and replaced it with relevant "using" directives.
343 * math_macrotemplate.C (Clone): change return type to MathInset*
345 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
347 * math_sizeinset.C: include support/LOstream.h
349 * math_scriptinset.C (Metrics): std:: qualify max
351 * math_root.C (Metrics): std:: qualify max
352 (Write): std:: qualify ostream
355 * math_matrixinset.C (getLabelList): std:: qualify vector
357 (Metrics): std:: qualify max
358 (header_write): std:: qualify ostream
359 (footer_write): ditto
361 * math_macrotemplate.C (Write): std:: qualify ostream
363 * math_bigopinset.C (Metrics): std:: qualify max, and include
366 * math_matrixinset.h: include vector and std:: qualify it.
368 * array.C (GetInset): get a pointer to the first element of bf_
371 2001-06-25 The LyX Project <Asger>
373 * math_scriptinset.C: Fix for entering with cursor up/down.
375 * math_fracinset.C: We can enter fractions with cursor up and
378 * math_cursor.C (Right): Fixes for cursor movement.
380 * formula.C (draw): New background color for math.
382 * math_cursor.C: Fixes for toggling labels on/off in math.
383 Fixes for infinity and other symbols that didn't appear in
386 2001-06-24 The LyX Project <Asger>
388 * math_inset.C: Cursor movement is better in square roots, among
391 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
392 cursor up/down movement. What not.
394 2001-06-24 The LyX Project <Asger>
396 * math_matrixinset.C: Hidden labels are hidden, unless a small
397 dragon jumps out of the screen, and pronounce them to the entire
400 2001-06-24 The LyX Project <Easter egg>
402 * math_cursor.C: Cursor improvements after a few dead-ends
403 in the evolution of cursor movement were tested and scrapped.
405 2001-06-24 The LyX Project <Asger>
407 * math_cursor.C: Renamed stack to path.
409 2001-06-24 The LyX Project <André>
412 Makefile.am: The Big Patch
413 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
414 new MathScriptInset for up/down stuff;
415 delete MathIter/MatXIter, MathParInset, MathRowSt
416 Changes to the inset inheritance tree, reunification of abstract math
418 label/numbering handling back to life;
419 major changes to the parser(s);
420 new base class FormulaBase for the two math LyXInsets;
421 general cleanup and cosmetic changes)
423 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
426 * math_root.C: removed // -*- C++ -*- as first line.
428 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * array.C: bring memmove into main namespace if necessary
432 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
434 * math_parser.C (yylex): use contains instead of strchr
435 (parse_align): remove last arg, change to take string const & as
437 (mathed_parse): use string for ar2 and ar, adjust
439 * math_decorationinset.C (Write): use compare instead of strcmp
441 * formula.C (LocalDispatch): change arg2 to string, adjust for this
442 (LocalDispatch): add std::
443 (LocalDispatch): use contains instead of strchr
445 * array.C (move): add std::
447 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
449 * matriz.C: add using directives when needed for C functions
450 declared in std:: namespace.
452 * math_macrotemplate.h: do not use explicitely std::string, but
455 * math_macroarg.C: avoid bringing the whole std:: namespace in
456 global-land. When you do that, there is an ambiguity between
457 lyxstring and std::string (which may be defined at the same time).
459 * formula.C (HandleExtern): add .c_str() to .str() (useful when
462 2001-04-27 André Pönitz <poenitz@gmx.net>
464 * math_parser.C: fix \frac handling bug introduced on 04-24
465 * math_xiter.C: hotfix for merging "shared" insets
466 * formula.C: fixing display after using math-insert
468 2001-04-25 André Pönitz <poenitz@gmx.net>
470 * math_*.[Ch]: WriteNormal
471 * formula.C: Support for new "math extern" command
472 * math_parser.C: fix \frac handling bug introduced on 04-24
473 * math_xiter.C: hotfix for merging "shared" insets
475 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
477 * math_macrotable.C: include <iostream>
479 2001-04-24 André Pönitz <poenitz@gmx.net>
482 * math_macrotable.[Ch]:
483 * math_macroarg.[Ch]: restructuring of macro handling
486 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
488 * array.h (operator<<):
489 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
491 * math_macrotable.C: added using std::make_pair directive.
492 (dump): added using std::cerr directive here as I guess that this is
495 2001-04-20 Allan Rae <rae@lyx.org>
497 * formula.C (LocalDispatch): fixed another #warning. Guess who.
499 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
501 * math_macrotemplate.h: inherit privately from noncopyable
503 * math_macro.C (Metrics): reindent, use unsigned int as loop var
504 (setArgumentIdx): change test to avoid unsigned warning
506 * formula.C (LocalDispatch): use LFUN_MESSAGE
508 2001-04-16 Allan Rae <rae@lyx.org>
510 * formula.C (Latex, getLabelList, LocalDispatch):
511 * math_parser.C (mathed_parse):
512 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
513 an unrecognised preprocessor directive. So ensure they're wrapped.
515 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * formula.C (draw): adjust for cursor_visible
518 (ToggleInsetCursor): adjust for cursor_visible and constify asc
520 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
521 (HideInsetCursor): adjust for cursor_visible
522 (LocalDispatch): constify default_label and res
524 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
526 * math_rowst.C: add missing #include <config.h>.
528 2001-03-16 André Pönitz <poenitz@gmx.net>
530 * math_matrixinset.h:
531 * math_parinset.[Ch]:
532 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
534 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
542 * math_symbols.C: maths panel moved to GUII
544 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
546 * math_cursor.C: use lyxerr instead of cerr.
548 2001-03-15 André Pönitz <poenitz@gmx.net>
550 * math_cursor.C: fix bug (cursor was leaving two insets at a time
553 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
555 * math_macrotable.h: noncopyable is in namespace boost
556 * math_macrotemplate.h: ditto
558 * math_rowst.h: make MathedRowContainer::iterator public.
560 2001-03-15 André Pönitz <poenitz@gmx.net>
562 * math_parser.C: read '\nonumber' again (was broken)
564 * math_rowst.C: new file
566 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
568 * math_cursor.C: added using directive.
570 2001-03-15 André Pönitz <poenitz@gmx.net>
572 * math_rowst.h: Finally remove MathedRowSt
575 math_xiter.C: changed accordingly
577 2001-03-12 André Pönitz <poenitz@gmx.net>
579 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
580 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
582 2001-03-10 André Pönitz <poenitz@gmx.net>
585 math_matrixinset.C: move adjustVerticalSt to the only place where
586 it is used. Fix a small bug where the cached row structure and the
587 actual data get out of sync after the deletion of whole rows
589 2001-03-09 André Pönitz <poenitz@gmx.net>
591 * math_cursor.C: use std::vector<> in MathStackXIter
592 change selstk from a pointer to the "real thing"
594 * math_rowst.h: new MathedRowContainer::erase method
596 * math_xiter.C: use MathedRowContainer::erase
598 * math_parser.C: use MathedRowContainer::insert_after
600 2001-03-08 André Pönitz <poenitz@gmx.net>
602 * math_rowst.h: give MathedRowContainer an 'insert' method.
604 * math_xiter.C: new 'container()' method to encapsulated access to
605 the MathParInset's MathedRowContainer
607 * math_rowst.h: proper copy constructor and destructor for
610 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
611 automatically created by the compiler are ok now.
613 2001-03-06 André Pönitz <poenitz@gmx.net>
615 * array.[Ch]: factor out deep_copy,
616 remove third argument from raw_pointer_insert
618 * math_iter.[Ch]: remove unused function Clear()
620 * math_cursor.C: change signature of MathStackXIter:push()
623 * math_rowst.h: introduction of MathRowContainer
624 several files: corresponding changes
626 2001-03-04 André Pönitz <poenitz@gmx.net>
628 * math_macrotemplate.[Ch]:
629 math_macro.C: move update() functionality to the macro
631 * math_rowst.h: split MathedRowSt into "data" and "list"
633 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
635 * math_macrotemplate.C (update): use MathMacro::getArg, and
636 receive a const reference.
637 (getMacroPar): add an Assert
639 * math_macrotemplate.h: make MathMacro a friend, make update take
642 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
643 and store a MathMacroArgument in the vector
644 * math_macro.C: changes because of the above.
647 * math_parser.C (mathed_parse): plug potential leak
649 * math_iter.h: add comment on virtual destructor
651 * math_iter.C (Delete): make c const
653 * math_parinset.C (Metrics): cleanup indent. make one string const.
655 * math_inset.C (size): move out of line
658 * math_macroarg.h: remove default constructor
660 * math_macroarg.C: include Lsstream.h instead of debug.h
661 (MathMacroArgument): remove default constructor
662 (Write): add std:: on ostream arg
664 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
667 * formula.C: make DEBUG into lyxerr
669 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
671 * math_macrotemplate.h: make noncopyable, remove last arg to
672 constructor, remove flags_ add edit_
673 (flags): remove method
675 * math_macrotemplate.C (setArgument): delete method
676 (update): make idx const
677 (Metrics): use edit_, remove flags_
678 (draw): use edit_, remove flags_
679 (setEditMode): set edit_, remove flags_
680 (MathMacroTemplate): initialize edit_, remove flags_
682 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
683 shared_ptr, let constructor take a shared_ptr
685 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
687 (draw): remove unneded update, remove removed update of x,y
688 (GetXY): call tmplates GetMacroXY directly
689 (SetFocus): call Metrics() instead of update()
690 (Write): remove support for math macro environments, simplifications.
692 * math_macrotable.h: make class noncopyable, change getMacro to
693 createMacro, change vector to map store a
694 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
696 * math_macrotable.C: add pragma
697 (createMacro): change name from getMacro, use shared_ptr
698 (getTemplate): Use map lookup to get macro, return shared_ptr
699 (addTemplate): assert that m containse a valid pointer, use map[]
701 (builtinMacros): by using shared_ptr fix the mem leak, remove
702 commented out unsupported macros
704 * math_cursor.C: changes because of the above
705 * math_parser.C: changes because of the abobe
707 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
708 default arg on constructor.
709 * formulamacro.C: changes because of the above
711 * math_parinset.h: add pragma
712 (SetAlign): move inline out of class def
716 (setArgumentIdx): ditto
717 (setNextArgIdx): ditto
718 (getArgumentIdx): ditto
719 (getMaxArgumentIdx): ditto
724 * math_parinset.C: add pragma
725 (Write): change the else clause, lessen depth
727 * math_macroarg.h: small whitespace change
729 * array.C: include support/LOstream.h add using ostream and endl
731 * array.h (dump): add std:: on ostream
733 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
735 * math_macrotemplate.h: remove default arg on update
737 * math_macrotemplate.C (update): add assert and remove noop case.
739 * formulamacro.C (Read): add comment.
740 (ascent): remove noop call to MathMacroTemplate
745 * math_parser.C (mathed_parse): fix another potential problem by
746 passing a freestanding mathedarray.
748 * math_root.C (GetData): add const version
750 * math_parinset.C (~MathParInset): delete
751 (GetData): add const version
753 * math_matrixinset.C (MathMatrixInset): delete pointer version,
754 make it a proper copy constructor instead
756 (MathMatrixInset): remvoe default val for m and n
758 * math_macro.C (GetData): add const version
760 * math_fracinset.C (GetData): add const version
762 * math_cursor.C (SelCopy): make p1 and p2 const
763 (SelCut): make p1 and p2 const
765 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
766 (LyxCode): move inline out of class
770 * array.[Ch] (dump): method added for debugging purposes
772 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
773 mathed_parse when reading a matrix.
775 * math_spaceinset.[Ch]: add pragma, make variables private add
776 '_', change order of method definitions.
778 * math_root.h (~MathRootInset): delete
779 Change uroot_ to be a real object instead of a pointer
780 * math_root.C: changes because of the above
782 * math_macro.C (MathMacro(MathMacro*)): delete constructor
783 (MathMacro(MathMacro const &)): new copy constructor
785 * math_inset.h: delete constructor taking a pointer to MathedInset
786 (size, incSize): move inline method
788 * math_funcinset.h: add pragma, remove class vars ln and fname,
789 change protected to private, add '_' to priv vars.
790 (~MathFuncInset): remove
792 * math_fracinset.h: make MathParInset den_ a real object and not a
795 * math_fracinset.C (MathFracInset): clean up, move initalization
796 to initialization list
797 (~MathFracInset): remove
800 * math_draw.C: delete file
802 * math_dotsinset.[Ch]: add pragma
804 * math_bigopinset.h: make protected variables private add '_' to vars.
806 * math_bigopinset.C: move methods to follow class definition order
808 * math_accentinset.h (getAccentCode): move inline here
810 * math_accentinset.C (MathAccentInset): cleanup
813 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
815 * math_inset.[Ch] (MathedInset): remove method
817 * Makefile.am (libmathed_la_SOURCES): correct typo
819 * math_parinset.C (draw): move MathedXiter data(this) up. and
820 remove it two other places.
822 * math_macro.C (MathMacro): use array directly, don't use
823 setArgumentIdx and GetData
825 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
827 * math_macroarg.C (MathMacroArgument): delete
828 * math_macro.C (~MathMacro): delete
829 * math_macrotemplate.C (~MathMacroTemplate): delete
831 * math_decorationinset.[Ch]: add pragma
832 * math_deliminset.[Ch]: likewise
833 * math_fracinset.[Ch]: likewise
834 * math_macroarg.[Ch]: likewise
835 * math_macrotemplate.[Ch]: likewise
836 * math_matrixinset.[Ch]: likewise
838 * formulamacro.C (Read): set contents of tmacro_ to ar.
840 * formulamacro.h: add '_' to private variables.
841 * formalamacro.C: changes because of this.
843 2001-02-23 Juergen Vigna <jug@sad.it>
845 * formula.C (LocalDispatch): changed action to be a kb_action (as it
846 should be) and not an int.
848 * formulamacro.C (LocalDispatch): ditto.
850 2001-02-14 André Pönitz <poenitz@gmx.net>
852 * math_parinset.[Ch]: make array a real MathArray, not just a
855 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
857 * several files: subsequent changes
859 * math_cursor.C: make selarray a proper MathArray
861 * several files: Change "MathedArray *" to "MathedArray &"
864 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
866 * array.C (MathedArray): Fix compilation problem.
868 2001-02-14 André Pönitz <poenitz@gmx.net>
870 * array.[Ch]: "deep" copy constructor and assignment operator for
873 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
875 * math_iter.[Ch]: remove SetData
876 several files: subsequent changes
878 2001-02-14 André Pönitz <poenitz@gmx.net>
880 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
883 * math_iter.C: default-construct and resize array
885 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
887 * math_xiter.h: move ipush and ipop to public, add _ on private
888 variables, move protected var to private, remove friend.
890 * math_cursor.C (insertInset): rename method from Insert also
891 remove default arg val. Call the public methods of xiter instead
892 of private variables.
894 * changes to several files because of the above.
896 2001-02-14 André Pönitz <poenitz@gmx.net>
898 * math_iter.[Ch]: hide fcode_
900 * math_parinset.C: subsequent changes
903 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
905 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
908 * math_write.C: delete file
909 * math_delim.C: delete file
910 * marh_sqrtinset.h: delete file
912 * move funcs to more localized files, more general cleanup.
913 Constify several local vars. Doxygen changes. Formatting.
915 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
917 * support.C: add some consts
919 * matriz.C: clean up a bit.
920 (matmat): remove the for loop.
922 * several files: changes so that several friends can be removed
924 2001-02-14 André Pönitz <poenitz@gmx.net>
926 * formula.C: reformatting
930 math_xiter.[Ch]: remove unneeded members
932 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
936 * formula.C: remove cruft
938 * array.C (begin): new method
941 2001-02-14 André Pönitz <poenitz@gmx.net>
943 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
945 * math_cursor.C: reformatting
947 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
951 * math_matrixinset.C:
952 * math_macrotemplate.C:
957 * math_decorationinset.C:
959 * math_accentinset.C:
960 * math_sqrtinset.C: include LOstream.h and add using directive.
962 2001-02-14 André Pönitz <poenitz@gmx.net>
964 * math_iter.C: reformatting
966 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
968 * math_spaceinset.C (GetSpace): move here
970 * math_parinset.C: add debug.h, move several prev. inlined methods
973 * math_macrotable.C math_xiter.C support.C: add debug.h
975 * math_macro.h: remove debug.h, remove typedefs
977 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
980 * math_hash.C: change some defines to int const. change use of
981 LM_TC_NORMAL to LM_TC_VAR
983 * math_draw.C: delete file
985 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
986 forward decls. remove LM_TC_NORMAL, move inline methods to
987 support.C (and support.h)
989 * math_cursor.C: move several previous inlined methods here
991 * math_bigopinset.h math_dotsinset.h math_funcinset.h
992 math_parinset.h math_spaceinset.h: add math_defs.h
994 * math_accentinset.h: add support.h and math_defs.h
996 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
998 * formula.h: remove unused func decl: OpenMathInset
1000 * formula.C math_inset.h: get rid of math_defs.h
1002 * array.h: switch to support.h instead of math_defs.h
1004 * array.C: remove one include
1006 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1008 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1010 * math_parser.C: include macrotable and macrotemplate
1012 * math_macrotemplate.[Ch]: new files
1014 * math_macrotable.[Ch]: new files
1016 * math_macroarg.[Ch]: new files
1018 * math_macro.C: move stuff to the new files.
1020 * math_cursor.C: include math_macrotable.h
1022 * macro_support.[Ch]: new files
1024 * formulamacro.C: add more includes
1026 * Makefile.am (libmathed_la_SOURCES): add new files.
1028 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1030 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1035 * math_parinset.C: add a bunch of "using" directives.
1038 * math_decorationinset.h:
1039 * math_bigopinset.h:
1040 * math_spaceinset.h: remove more couples of inline.
1042 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1044 * math_xiter.h: remove a couple of "inline"
1046 * array.C (strange_copy): fix bug (hopefully)
1047 * many files: add a lot of new files and move methods to the class
1048 files they belong to. Only first attempt at cleanup more will
1051 2001-02-12 André Pönitz <poenitz@gmx.net>
1053 * math_macro.[hC]: replace MathMacroArgument[] with
1054 std::vector<MathMacroArgument>
1056 math_inset.C: replace int[] with std::vector<int>
1058 * math_symbols.C: replace FL_OBJECTP[] with
1059 std::vector<FL_OBJECT*>
1061 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1063 * math_defs.h (struct MathedRowSt): make all private variables end
1064 with '_', initialize in initializer list instead of in function
1067 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1069 * formula.C (LocalDispatch): Change the default action of
1070 break-line to create an align* environment instead of eqnarray*.
1072 * math_inset.C (Metrics): Correct drawing of the multline
1075 2001-02-12 André Pönitz <poenitz@gmx.net>
1077 * array.[hC]: replace private variable maxsize_ with call to
1079 * math_defs.h: replace int[] by std::vector<int> for
1082 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1084 * array.h: made all variables private, removed friend, added new
1085 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1086 non const operator[] added setter for last and getter for maxsize.
1087 changed name from LyxArrayBase to MathedArray.
1088 changed name of some methods to start with lowerchar.
1089 moved inline methods to array.C
1091 * math_iter.C + several file: changes because of the above.
1093 * array.C: new file with the prev inline methods.
1095 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1097 * Many files: add support for the align environment from amsmath.
1099 2001-02-09 André Pönitz <poenitz@gmx.net>
1101 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1102 * several files: subsequent changes
1103 * math_iter.h: remove unused prototype
1106 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1108 * math_macro.C (draw): add .c_str() to .str() (useful when
1109 compiling with lyxstring, but STL sstream).
1112 2001-02-08 André Pönitz <poenitz@gmx.net>
1114 * several files: get rid of reinterpret_cast.
1116 2001-02-04 Allan Rae <rae@lyx.org>
1118 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1119 just casting the variable.
1121 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1123 * Many files: Add support for multline and alignat environments from
1126 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1128 * math_symbols.C (math_insert_greek): Move cursor right when
1129 unlocking the math inset.
1131 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1133 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1135 * formula.C (LocalDispatch): Before inserting a label in an
1136 eqnarray, move the cursor to the top level.
1138 * math_iter.C (getLabel): Test if crow == 0.
1140 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1142 * math_draw.C (Metrics): Use the correct GetString.