2 2001-10-17 André Pönitz <poenitz@gmx.net>
5 * array.C: add missing/broken writeNormal()
7 * math_lefteqn.[Ch]: some visual support for \lefteqn
10 2001-10-10 André Pönitz <poenitz@gmx.net>
12 * math_cursor.C: introduce dummy "inner" position "between"
13 nucleus and scripts for smoother cursor movement
15 * math_cursor.C: use red dot to indicate empty nucleus
18 2001-10-02 André Pönitz <poenitz@gmx.net>
20 * math_cursor.C: leave red backslash as visual clue
21 in formula when typing macro names
23 * math_macrotemplate.C: sanity check
25 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
28 * formula.C (localDispatch): fix a few of local variable sizes
30 * math_fracbase.C: change parameter types to match MathInset
32 2001-10-01 André Pönitz <poenitz@gmx.net>
34 * math_cursor.[Ch]: remove local parInset() method
36 * math_macro.C: add a static_cast
38 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
40 * math_cursor.C: fix type mismatches with what was declared in
43 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
45 * math_matrixinset.C (header_write): Add \n after \begin{align}
47 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
49 * math_macrotable.C (builtinMacros): Add some macros if latex
52 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
54 * formula.C (insetAllowed): disallow label insertion in inline
57 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
59 * formulabase.C (mathDispatchCreation): pass second argument
60 'false' (no label) to selectionAsString
62 2001-09-11 André Pönitz <poenitz@gmx.net>
64 * math_atom.[Ch]: new basic item in the MathArray
66 * array.[Ch]: move code over to math_atom
68 * math_scriptinset.[Ch]:
70 math_cursor.C: try to do with super- and subscripts what TeX does
72 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
74 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
76 2001-09-04 André Pönitz <poenitz@gmx.net>
80 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
81 'xxalignt', 'gather' and 'multiline' environments
83 * math_cursor.C: fix handling of | and \|
85 2001-09-04 José Matos <jamatos@fep.up.pt>
92 * formulamacro.h (docbook): rename docBook method to docbook.
94 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
96 * math_hash.C (ReadSymbols): Check for duplicate symbols
98 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
100 * support.C: added a using std::map directive.
102 2001-08-17 André Pönitz <poenitz@gmx.net>
104 * math_hash.C: Use std::map instead of faking it
106 * symbol_def.h: remove unneeded symbol definitions
108 * support.C: use the decorations' name for drawing
110 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
112 * math_hash.C (in_word_set): Initialize symbol table even when
113 symbols file was not found.
115 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
117 * math_hash.C: added a using std::endl directive.
119 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
121 * support.C (whichFont): Add support for cmr font.
122 Add support for \mathbb.
124 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
126 * math_macrotable.C (builtinMacros): Add 3 builtin macros
128 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
130 * math_hash.C: Read symbols information from external file
131 many files: Add support for latex symbol fonts
133 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
135 * math_parser.C (Parser): Eat spaces after \end_inset
137 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
139 * math_parser.C (tokenize): fix typo
141 2001-08-17 André Pönitz <poenitz@gmx.net>
143 * math_parser.C: new "lexxer"
145 * array.C: write sequences of chars with same code as a unit
147 2001-08-13 André Pönitz <poenitz@gmx.net>
149 * math_factory.[Ch]: new files for the creation of math insets
153 math_hash.C: simplifications
155 * math_binom.[Ch]: new files for "native" \binom/\choose inset
158 math_cursor.C: reading support for TeX style \over and \choose
160 * formulabase.C: re-enabling the "selected text gets converted to
161 math when pressing C-m" feature.
163 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
165 * math_parser.C (lexArg): remove default argument from the .C file
166 as it causes DEC cxx to complain about a redefinition.
168 2001-08-10 André Pönitz <poenitz@gmx.net>
170 * math_scopeinset.[Ch]: new inset for {} blocks
172 * math_accentinset.[Ch]: removed unneeded files
175 math_matrix.[Ch]: start support for "interrow spacing"
177 * all over the place: rework of parser stuff
179 2001-08-08 André Pönitz <poenitz@gmx.net>
181 * math_fracbase.[Ch]:
182 * math_fracinset.[Ch]: new hierarchy
184 * math_stackrelbase.[Ch]: native \stackrel support
186 * math_inset.[Ch]: removal of the name_ member
188 * math_deliminset.[Ch]: rework
190 2001-08-06 André Pönitz <poenitz@gmx.net>
192 * formulamacro.C: fix nasty bug due to missing copy constructor
194 * math_bigopinset.[Ch]: revival for things like \int, \sum
196 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
198 * math_diminset.h: make cache variables mutable, remove const_cast
200 * formulabase.[Ch]: remove unneeded convertFont()
202 * math_funcinset.[Ch]: bring red color back
204 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
205 inset to the mcaro table
207 2001-08-01 André Pönitz <poenitz@gmx.net>
210 formulamacro.C: fix memory leaks
212 * math_matrixinset.C: fix mis-alignment of eqnarray columns
214 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
215 MathMatrixInset * and MathMacroTemplate * to save a few casts
217 * all over the place: everything is an inset now
219 * math_nestinset.[Ch]: new abstract base class for insets containing
222 * math_diminset.[Ch]: new abstract base class for insets that need
223 the width_/ascent_/descent_ cache
225 2001-07-25 André Pönitz <poenitz@gmx.net>
227 * formulabase.C: re-enable 'space enlargement' feature
229 * math_scriptinset.C:
230 math_bigopinset.C: rework of script insets
232 2001-07-22 André Pönitz <poenitz@gmx.net>
234 * math_cursor.C: fix "pullArg" behaviour
236 * math_cursor.C: keep empty super/subscript a bit longer
238 * math_cursor.C: do not move into insets that don't have inner cells yet
240 * formulabase.C: fix memory leak
242 * math_cursor.C: ^ now copies selection into new srriptinset
244 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
247 * math_updowninset.C: fix drawing glitches
249 * math_cursor.C: paste to correct position
251 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * formula.C (insetAllowed): allow insertion of label
255 2001-07-20 André Pönitz <poenitz@gmx.net>
257 * math_macrotable.C: support for \land and \vee
259 2001-07-16 André Pönitz <poenitz@gmx.net>
261 * math_grid.[Ch] -> math_gridinset.[Ch]
262 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
264 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
265 fix 'mathed reports wrong width', cosmetics
267 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
269 * math_cursor.C (operator==): moved ouf of struct
271 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
273 2001-07-16 André Pönitz <poenitz@gmx.net>
275 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
277 * several files: supporting changes
279 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
281 Consistent use of Lsstream.h:
282 * formula.C: removed using std::ostringstream directive.
284 * math_cursor.C: std::istringstream -> istringstream.
286 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * math_decorationinset.h: add std:: qualifier
290 2001-07-12 André Pönitz <poenitz@gmx.net>
292 * math_updowninset.[hC]: new base class for script and bigop insets
293 *.[hC]: subsequent changes to all Metric() functions
295 * math_parser.C: small changes (\sqrt0 is read properly now)
297 2001-07-10 André Pönitz <poenitz@gmx.net>
299 * math_accentinset.[hC]: rewrite
302 math_cursor.C: subsequent changes
304 * math_grid.C: <Delete> in the first cell of a completely empty row
305 deletes that row, <C-Return> places the cursor in the first of the
308 * math_grid.C: try to split cell nicely when mutating from single-cell
309 to multi-cell environment
311 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
313 * math_matrixinset.C (mutate): Use only the first label when
314 mutating eqnarray to display formula.
316 2001-07-09 Juergen Vigna <jug@sad.it>
318 * formulabase.C (mathDispatchCreation): don't do anything with the
319 inset if it cannot be inserted!
321 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
323 * formulabase.C (mathDispatchInsertMath): remove bogus return
326 2001-07-09 André Pönitz <poenitz@gmx.net>
328 * math_*inset.C: Change order of arguments in MathInset constructor
330 * math_cursor.C: Remove broken "increase space" feature for a while
332 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
334 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
336 2001-07-04 André Pönitz <poenitz@gmx.net>
338 * math_parser.C: fix reading of "unusual" alpha chars
340 * xarray.[hC]: fix debug output of xarray
342 2001-07-03 André Pönitz <poenitz@gmx.net>
344 * math_parser.C: fix bug where equations did not get their labels
346 * formulabase.C: new feature: changing font on selection
348 * several files: subsequent changes
350 * array.C: fix bug when insets have not been cloned properly
351 This should fix quite a few "random" crashes...
353 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
355 * formulabase.C (localDispatch): use .c_str() on istringstream
356 constructor argument.
358 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
360 * math_grid.C (addCol): add second argument to cellinfo_.insert.
361 Cleanup a bit the code.
362 (appendRow): do not call push_back without argument.
364 * *.C: remove all "using namespace std" directives (not
365 good!!) and replaced it with relevant "using" directives.
367 * math_macrotemplate.C (Clone): change return type to MathInset*
369 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
371 * math_sizeinset.C: include support/LOstream.h
373 * math_scriptinset.C (Metrics): std:: qualify max
375 * math_root.C (Metrics): std:: qualify max
376 (Write): std:: qualify ostream
379 * math_matrixinset.C (getLabelList): std:: qualify vector
381 (Metrics): std:: qualify max
382 (header_write): std:: qualify ostream
383 (footer_write): ditto
385 * math_macrotemplate.C (Write): std:: qualify ostream
387 * math_bigopinset.C (Metrics): std:: qualify max, and include
390 * math_matrixinset.h: include vector and std:: qualify it.
392 * array.C (GetInset): get a pointer to the first element of bf_
395 2001-06-25 The LyX Project <Asger>
397 * math_scriptinset.C: Fix for entering with cursor up/down.
399 * math_fracinset.C: We can enter fractions with cursor up and
402 * math_cursor.C (Right): Fixes for cursor movement.
404 * formula.C (draw): New background color for math.
406 * math_cursor.C: Fixes for toggling labels on/off in math.
407 Fixes for infinity and other symbols that didn't appear in
410 2001-06-24 The LyX Project <Asger>
412 * math_inset.C: Cursor movement is better in square roots, among
415 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
416 cursor up/down movement. What not.
418 2001-06-24 The LyX Project <Asger>
420 * math_matrixinset.C: Hidden labels are hidden, unless a small
421 dragon jumps out of the screen, and pronounce them to the entire
424 2001-06-24 The LyX Project <Easter egg>
426 * math_cursor.C: Cursor improvements after a few dead-ends
427 in the evolution of cursor movement were tested and scrapped.
429 2001-06-24 The LyX Project <Asger>
431 * math_cursor.C: Renamed stack to path.
433 2001-06-24 The LyX Project <André>
436 Makefile.am: The Big Patch
437 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
438 new MathScriptInset for up/down stuff;
439 delete MathIter/MatXIter, MathParInset, MathRowSt
440 Changes to the inset inheritance tree, reunification of abstract math
442 label/numbering handling back to life;
443 major changes to the parser(s);
444 new base class FormulaBase for the two math LyXInsets;
445 general cleanup and cosmetic changes)
447 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
450 * math_root.C: removed // -*- C++ -*- as first line.
452 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
454 * array.C: bring memmove into main namespace if necessary
456 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
458 * math_parser.C (yylex): use contains instead of strchr
459 (parse_align): remove last arg, change to take string const & as
461 (mathed_parse): use string for ar2 and ar, adjust
463 * math_decorationinset.C (Write): use compare instead of strcmp
465 * formula.C (LocalDispatch): change arg2 to string, adjust for this
466 (LocalDispatch): add std::
467 (LocalDispatch): use contains instead of strchr
469 * array.C (move): add std::
471 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
473 * matriz.C: add using directives when needed for C functions
474 declared in std:: namespace.
476 * math_macrotemplate.h: do not use explicitely std::string, but
479 * math_macroarg.C: avoid bringing the whole std:: namespace in
480 global-land. When you do that, there is an ambiguity between
481 lyxstring and std::string (which may be defined at the same time).
483 * formula.C (HandleExtern): add .c_str() to .str() (useful when
486 2001-04-27 André Pönitz <poenitz@gmx.net>
488 * math_parser.C: fix \frac handling bug introduced on 04-24
489 * math_xiter.C: hotfix for merging "shared" insets
490 * formula.C: fixing display after using math-insert
492 2001-04-25 André Pönitz <poenitz@gmx.net>
494 * math_*.[Ch]: WriteNormal
495 * formula.C: Support for new "math extern" command
496 * math_parser.C: fix \frac handling bug introduced on 04-24
497 * math_xiter.C: hotfix for merging "shared" insets
499 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
501 * math_macrotable.C: include <iostream>
503 2001-04-24 André Pönitz <poenitz@gmx.net>
506 * math_macrotable.[Ch]:
507 * math_macroarg.[Ch]: restructuring of macro handling
510 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
512 * array.h (operator<<):
513 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
515 * math_macrotable.C: added using std::make_pair directive.
516 (dump): added using std::cerr directive here as I guess that this is
519 2001-04-20 Allan Rae <rae@lyx.org>
521 * formula.C (LocalDispatch): fixed another #warning. Guess who.
523 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
525 * math_macrotemplate.h: inherit privately from noncopyable
527 * math_macro.C (Metrics): reindent, use unsigned int as loop var
528 (setArgumentIdx): change test to avoid unsigned warning
530 * formula.C (LocalDispatch): use LFUN_MESSAGE
532 2001-04-16 Allan Rae <rae@lyx.org>
534 * formula.C (Latex, getLabelList, LocalDispatch):
535 * math_parser.C (mathed_parse):
536 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
537 an unrecognised preprocessor directive. So ensure they're wrapped.
539 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
541 * formula.C (draw): adjust for cursor_visible
542 (ToggleInsetCursor): adjust for cursor_visible and constify asc
544 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
545 (HideInsetCursor): adjust for cursor_visible
546 (LocalDispatch): constify default_label and res
548 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
550 * math_rowst.C: add missing #include <config.h>.
552 2001-03-16 André Pönitz <poenitz@gmx.net>
554 * math_matrixinset.h:
555 * math_parinset.[Ch]:
556 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
558 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
566 * math_symbols.C: maths panel moved to GUII
568 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
570 * math_cursor.C: use lyxerr instead of cerr.
572 2001-03-15 André Pönitz <poenitz@gmx.net>
574 * math_cursor.C: fix bug (cursor was leaving two insets at a time
577 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
579 * math_macrotable.h: noncopyable is in namespace boost
580 * math_macrotemplate.h: ditto
582 * math_rowst.h: make MathedRowContainer::iterator public.
584 2001-03-15 André Pönitz <poenitz@gmx.net>
586 * math_parser.C: read '\nonumber' again (was broken)
588 * math_rowst.C: new file
590 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
592 * math_cursor.C: added using directive.
594 2001-03-15 André Pönitz <poenitz@gmx.net>
596 * math_rowst.h: Finally remove MathedRowSt
599 math_xiter.C: changed accordingly
601 2001-03-12 André Pönitz <poenitz@gmx.net>
603 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
604 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
606 2001-03-10 André Pönitz <poenitz@gmx.net>
609 math_matrixinset.C: move adjustVerticalSt to the only place where
610 it is used. Fix a small bug where the cached row structure and the
611 actual data get out of sync after the deletion of whole rows
613 2001-03-09 André Pönitz <poenitz@gmx.net>
615 * math_cursor.C: use std::vector<> in MathStackXIter
616 change selstk from a pointer to the "real thing"
618 * math_rowst.h: new MathedRowContainer::erase method
620 * math_xiter.C: use MathedRowContainer::erase
622 * math_parser.C: use MathedRowContainer::insert_after
624 2001-03-08 André Pönitz <poenitz@gmx.net>
626 * math_rowst.h: give MathedRowContainer an 'insert' method.
628 * math_xiter.C: new 'container()' method to encapsulated access to
629 the MathParInset's MathedRowContainer
631 * math_rowst.h: proper copy constructor and destructor for
634 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
635 automatically created by the compiler are ok now.
637 2001-03-06 André Pönitz <poenitz@gmx.net>
639 * array.[Ch]: factor out deep_copy,
640 remove third argument from raw_pointer_insert
642 * math_iter.[Ch]: remove unused function Clear()
644 * math_cursor.C: change signature of MathStackXIter:push()
647 * math_rowst.h: introduction of MathRowContainer
648 several files: corresponding changes
650 2001-03-04 André Pönitz <poenitz@gmx.net>
652 * math_macrotemplate.[Ch]:
653 math_macro.C: move update() functionality to the macro
655 * math_rowst.h: split MathedRowSt into "data" and "list"
657 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
659 * math_macrotemplate.C (update): use MathMacro::getArg, and
660 receive a const reference.
661 (getMacroPar): add an Assert
663 * math_macrotemplate.h: make MathMacro a friend, make update take
666 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
667 and store a MathMacroArgument in the vector
668 * math_macro.C: changes because of the above.
671 * math_parser.C (mathed_parse): plug potential leak
673 * math_iter.h: add comment on virtual destructor
675 * math_iter.C (Delete): make c const
677 * math_parinset.C (Metrics): cleanup indent. make one string const.
679 * math_inset.C (size): move out of line
682 * math_macroarg.h: remove default constructor
684 * math_macroarg.C: include Lsstream.h instead of debug.h
685 (MathMacroArgument): remove default constructor
686 (Write): add std:: on ostream arg
688 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
691 * formula.C: make DEBUG into lyxerr
693 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
695 * math_macrotemplate.h: make noncopyable, remove last arg to
696 constructor, remove flags_ add edit_
697 (flags): remove method
699 * math_macrotemplate.C (setArgument): delete method
700 (update): make idx const
701 (Metrics): use edit_, remove flags_
702 (draw): use edit_, remove flags_
703 (setEditMode): set edit_, remove flags_
704 (MathMacroTemplate): initialize edit_, remove flags_
706 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
707 shared_ptr, let constructor take a shared_ptr
709 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
711 (draw): remove unneded update, remove removed update of x,y
712 (GetXY): call tmplates GetMacroXY directly
713 (SetFocus): call Metrics() instead of update()
714 (Write): remove support for math macro environments, simplifications.
716 * math_macrotable.h: make class noncopyable, change getMacro to
717 createMacro, change vector to map store a
718 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
720 * math_macrotable.C: add pragma
721 (createMacro): change name from getMacro, use shared_ptr
722 (getTemplate): Use map lookup to get macro, return shared_ptr
723 (addTemplate): assert that m containse a valid pointer, use map[]
725 (builtinMacros): by using shared_ptr fix the mem leak, remove
726 commented out unsupported macros
728 * math_cursor.C: changes because of the above
729 * math_parser.C: changes because of the abobe
731 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
732 default arg on constructor.
733 * formulamacro.C: changes because of the above
735 * math_parinset.h: add pragma
736 (SetAlign): move inline out of class def
740 (setArgumentIdx): ditto
741 (setNextArgIdx): ditto
742 (getArgumentIdx): ditto
743 (getMaxArgumentIdx): ditto
748 * math_parinset.C: add pragma
749 (Write): change the else clause, lessen depth
751 * math_macroarg.h: small whitespace change
753 * array.C: include support/LOstream.h add using ostream and endl
755 * array.h (dump): add std:: on ostream
757 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
759 * math_macrotemplate.h: remove default arg on update
761 * math_macrotemplate.C (update): add assert and remove noop case.
763 * formulamacro.C (Read): add comment.
764 (ascent): remove noop call to MathMacroTemplate
769 * math_parser.C (mathed_parse): fix another potential problem by
770 passing a freestanding mathedarray.
772 * math_root.C (GetData): add const version
774 * math_parinset.C (~MathParInset): delete
775 (GetData): add const version
777 * math_matrixinset.C (MathMatrixInset): delete pointer version,
778 make it a proper copy constructor instead
780 (MathMatrixInset): remvoe default val for m and n
782 * math_macro.C (GetData): add const version
784 * math_fracinset.C (GetData): add const version
786 * math_cursor.C (SelCopy): make p1 and p2 const
787 (SelCut): make p1 and p2 const
789 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
790 (LyxCode): move inline out of class
794 * array.[Ch] (dump): method added for debugging purposes
796 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
797 mathed_parse when reading a matrix.
799 * math_spaceinset.[Ch]: add pragma, make variables private add
800 '_', change order of method definitions.
802 * math_root.h (~MathRootInset): delete
803 Change uroot_ to be a real object instead of a pointer
804 * math_root.C: changes because of the above
806 * math_macro.C (MathMacro(MathMacro*)): delete constructor
807 (MathMacro(MathMacro const &)): new copy constructor
809 * math_inset.h: delete constructor taking a pointer to MathedInset
810 (size, incSize): move inline method
812 * math_funcinset.h: add pragma, remove class vars ln and fname,
813 change protected to private, add '_' to priv vars.
814 (~MathFuncInset): remove
816 * math_fracinset.h: make MathParInset den_ a real object and not a
819 * math_fracinset.C (MathFracInset): clean up, move initalization
820 to initialization list
821 (~MathFracInset): remove
824 * math_draw.C: delete file
826 * math_dotsinset.[Ch]: add pragma
828 * math_bigopinset.h: make protected variables private add '_' to vars.
830 * math_bigopinset.C: move methods to follow class definition order
832 * math_accentinset.h (getAccentCode): move inline here
834 * math_accentinset.C (MathAccentInset): cleanup
837 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
839 * math_inset.[Ch] (MathedInset): remove method
841 * Makefile.am (libmathed_la_SOURCES): correct typo
843 * math_parinset.C (draw): move MathedXiter data(this) up. and
844 remove it two other places.
846 * math_macro.C (MathMacro): use array directly, don't use
847 setArgumentIdx and GetData
849 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
851 * math_macroarg.C (MathMacroArgument): delete
852 * math_macro.C (~MathMacro): delete
853 * math_macrotemplate.C (~MathMacroTemplate): delete
855 * math_decorationinset.[Ch]: add pragma
856 * math_deliminset.[Ch]: likewise
857 * math_fracinset.[Ch]: likewise
858 * math_macroarg.[Ch]: likewise
859 * math_macrotemplate.[Ch]: likewise
860 * math_matrixinset.[Ch]: likewise
862 * formulamacro.C (Read): set contents of tmacro_ to ar.
864 * formulamacro.h: add '_' to private variables.
865 * formalamacro.C: changes because of this.
867 2001-02-23 Juergen Vigna <jug@sad.it>
869 * formula.C (LocalDispatch): changed action to be a kb_action (as it
870 should be) and not an int.
872 * formulamacro.C (LocalDispatch): ditto.
874 2001-02-14 André Pönitz <poenitz@gmx.net>
876 * math_parinset.[Ch]: make array a real MathArray, not just a
879 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
881 * several files: subsequent changes
883 * math_cursor.C: make selarray a proper MathArray
885 * several files: Change "MathedArray *" to "MathedArray &"
888 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
890 * array.C (MathedArray): Fix compilation problem.
892 2001-02-14 André Pönitz <poenitz@gmx.net>
894 * array.[Ch]: "deep" copy constructor and assignment operator for
897 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
899 * math_iter.[Ch]: remove SetData
900 several files: subsequent changes
902 2001-02-14 André Pönitz <poenitz@gmx.net>
904 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
907 * math_iter.C: default-construct and resize array
909 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
911 * math_xiter.h: move ipush and ipop to public, add _ on private
912 variables, move protected var to private, remove friend.
914 * math_cursor.C (insertInset): rename method from Insert also
915 remove default arg val. Call the public methods of xiter instead
916 of private variables.
918 * changes to several files because of the above.
920 2001-02-14 André Pönitz <poenitz@gmx.net>
922 * math_iter.[Ch]: hide fcode_
924 * math_parinset.C: subsequent changes
927 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
929 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
932 * math_write.C: delete file
933 * math_delim.C: delete file
934 * marh_sqrtinset.h: delete file
936 * move funcs to more localized files, more general cleanup.
937 Constify several local vars. Doxygen changes. Formatting.
939 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
941 * support.C: add some consts
943 * matriz.C: clean up a bit.
944 (matmat): remove the for loop.
946 * several files: changes so that several friends can be removed
948 2001-02-14 André Pönitz <poenitz@gmx.net>
950 * formula.C: reformatting
954 math_xiter.[Ch]: remove unneeded members
956 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
960 * formula.C: remove cruft
962 * array.C (begin): new method
965 2001-02-14 André Pönitz <poenitz@gmx.net>
967 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
969 * math_cursor.C: reformatting
971 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * math_matrixinset.C:
976 * math_macrotemplate.C:
981 * math_decorationinset.C:
983 * math_accentinset.C:
984 * math_sqrtinset.C: include LOstream.h and add using directive.
986 2001-02-14 André Pönitz <poenitz@gmx.net>
988 * math_iter.C: reformatting
990 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
992 * math_spaceinset.C (GetSpace): move here
994 * math_parinset.C: add debug.h, move several prev. inlined methods
997 * math_macrotable.C math_xiter.C support.C: add debug.h
999 * math_macro.h: remove debug.h, remove typedefs
1001 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1004 * math_hash.C: change some defines to int const. change use of
1005 LM_TC_NORMAL to LM_TC_VAR
1007 * math_draw.C: delete file
1009 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1010 forward decls. remove LM_TC_NORMAL, move inline methods to
1011 support.C (and support.h)
1013 * math_cursor.C: move several previous inlined methods here
1015 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1016 math_parinset.h math_spaceinset.h: add math_defs.h
1018 * math_accentinset.h: add support.h and math_defs.h
1020 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1022 * formula.h: remove unused func decl: OpenMathInset
1024 * formula.C math_inset.h: get rid of math_defs.h
1026 * array.h: switch to support.h instead of math_defs.h
1028 * array.C: remove one include
1030 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1032 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1034 * math_parser.C: include macrotable and macrotemplate
1036 * math_macrotemplate.[Ch]: new files
1038 * math_macrotable.[Ch]: new files
1040 * math_macroarg.[Ch]: new files
1042 * math_macro.C: move stuff to the new files.
1044 * math_cursor.C: include math_macrotable.h
1046 * macro_support.[Ch]: new files
1048 * formulamacro.C: add more includes
1050 * Makefile.am (libmathed_la_SOURCES): add new files.
1052 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1054 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1059 * math_parinset.C: add a bunch of "using" directives.
1062 * math_decorationinset.h:
1063 * math_bigopinset.h:
1064 * math_spaceinset.h: remove more couples of inline.
1066 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1068 * math_xiter.h: remove a couple of "inline"
1070 * array.C (strange_copy): fix bug (hopefully)
1071 * many files: add a lot of new files and move methods to the class
1072 files they belong to. Only first attempt at cleanup more will
1075 2001-02-12 André Pönitz <poenitz@gmx.net>
1077 * math_macro.[hC]: replace MathMacroArgument[] with
1078 std::vector<MathMacroArgument>
1080 math_inset.C: replace int[] with std::vector<int>
1082 * math_symbols.C: replace FL_OBJECTP[] with
1083 std::vector<FL_OBJECT*>
1085 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1087 * math_defs.h (struct MathedRowSt): make all private variables end
1088 with '_', initialize in initializer list instead of in function
1091 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1093 * formula.C (LocalDispatch): Change the default action of
1094 break-line to create an align* environment instead of eqnarray*.
1096 * math_inset.C (Metrics): Correct drawing of the multline
1099 2001-02-12 André Pönitz <poenitz@gmx.net>
1101 * array.[hC]: replace private variable maxsize_ with call to
1103 * math_defs.h: replace int[] by std::vector<int> for
1106 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1108 * array.h: made all variables private, removed friend, added new
1109 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1110 non const operator[] added setter for last and getter for maxsize.
1111 changed name from LyxArrayBase to MathedArray.
1112 changed name of some methods to start with lowerchar.
1113 moved inline methods to array.C
1115 * math_iter.C + several file: changes because of the above.
1117 * array.C: new file with the prev inline methods.
1119 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1121 * Many files: add support for the align environment from amsmath.
1123 2001-02-09 André Pönitz <poenitz@gmx.net>
1125 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1126 * several files: subsequent changes
1127 * math_iter.h: remove unused prototype
1130 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1132 * math_macro.C (draw): add .c_str() to .str() (useful when
1133 compiling with lyxstring, but STL sstream).
1136 2001-02-08 André Pönitz <poenitz@gmx.net>
1138 * several files: get rid of reinterpret_cast.
1140 2001-02-04 Allan Rae <rae@lyx.org>
1142 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1143 just casting the variable.
1145 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1147 * Many files: Add support for multline and alignat environments from
1150 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1152 * math_symbols.C (math_insert_greek): Move cursor right when
1153 unlocking the math inset.
1155 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1157 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1159 * formula.C (LocalDispatch): Before inserting a label in an
1160 eqnarray, move the cursor to the top level.
1162 * math_iter.C (getLabel): Test if crow == 0.
1164 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1166 * math_draw.C (Metrics): Use the correct GetString.