2 2001-10-17 André Pönitz <poenitz@gmx.net>
4 * math_*inset.[Ch]: remove MathStyles cache from insets that
8 formulabase.C: fix math font sizes in headings etc
11 formula.C: remove unused static member int MathInset::workwidth
13 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
15 2001-10-17 André Pönitz <poenitz@gmx.net>
18 * *.[Ch]: make output more stream-like
20 2001-10-17 André Pönitz <poenitz@gmx.net>
23 * array.C: add missing/broken writeNormal()
25 * math_lefteqn.[Ch]: some visual support for \lefteqn
28 2001-10-10 André Pönitz <poenitz@gmx.net>
30 * math_cursor.C: introduce dummy "inner" position "between"
31 nucleus and scripts for smoother cursor movement
33 * math_cursor.C: use red dot to indicate empty nucleus
36 2001-10-02 André Pönitz <poenitz@gmx.net>
38 * math_cursor.C: leave red backslash as visual clue
39 in formula when typing macro names
41 * math_macrotemplate.C: sanity check
43 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
46 * formula.C (localDispatch): fix a few of local variable sizes
48 * math_fracbase.C: change parameter types to match MathInset
50 2001-10-01 André Pönitz <poenitz@gmx.net>
52 * math_cursor.[Ch]: remove local parInset() method
54 * math_macro.C: add a static_cast
56 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
58 * math_cursor.C: fix type mismatches with what was declared in
61 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
63 * math_matrixinset.C (header_write): Add \n after \begin{align}
65 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
67 * math_macrotable.C (builtinMacros): Add some macros if latex
70 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
72 * formula.C (insetAllowed): disallow label insertion in inline
75 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
77 * formulabase.C (mathDispatchCreation): pass second argument
78 'false' (no label) to selectionAsString
80 2001-09-11 André Pönitz <poenitz@gmx.net>
82 * math_atom.[Ch]: new basic item in the MathArray
84 * array.[Ch]: move code over to math_atom
86 * math_scriptinset.[Ch]:
88 math_cursor.C: try to do with super- and subscripts what TeX does
90 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
92 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
94 2001-09-04 André Pönitz <poenitz@gmx.net>
98 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
99 'xxalignt', 'gather' and 'multiline' environments
101 * math_cursor.C: fix handling of | and \|
103 2001-09-04 José Matos <jamatos@fep.up.pt>
110 * formulamacro.h (docbook): rename docBook method to docbook.
112 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
114 * math_hash.C (ReadSymbols): Check for duplicate symbols
116 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
118 * support.C: added a using std::map directive.
120 2001-08-17 André Pönitz <poenitz@gmx.net>
122 * math_hash.C: Use std::map instead of faking it
124 * symbol_def.h: remove unneeded symbol definitions
126 * support.C: use the decorations' name for drawing
128 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
130 * math_hash.C (in_word_set): Initialize symbol table even when
131 symbols file was not found.
133 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
135 * math_hash.C: added a using std::endl directive.
137 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
139 * support.C (whichFont): Add support for cmr font.
140 Add support for \mathbb.
142 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
144 * math_macrotable.C (builtinMacros): Add 3 builtin macros
146 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
148 * math_hash.C: Read symbols information from external file
149 many files: Add support for latex symbol fonts
151 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
153 * math_parser.C (Parser): Eat spaces after \end_inset
155 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
157 * math_parser.C (tokenize): fix typo
159 2001-08-17 André Pönitz <poenitz@gmx.net>
161 * math_parser.C: new "lexxer"
163 * array.C: write sequences of chars with same code as a unit
165 2001-08-13 André Pönitz <poenitz@gmx.net>
167 * math_factory.[Ch]: new files for the creation of math insets
171 math_hash.C: simplifications
173 * math_binom.[Ch]: new files for "native" \binom/\choose inset
176 math_cursor.C: reading support for TeX style \over and \choose
178 * formulabase.C: re-enabling the "selected text gets converted to
179 math when pressing C-m" feature.
181 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
183 * math_parser.C (lexArg): remove default argument from the .C file
184 as it causes DEC cxx to complain about a redefinition.
186 2001-08-10 André Pönitz <poenitz@gmx.net>
188 * math_scopeinset.[Ch]: new inset for {} blocks
190 * math_accentinset.[Ch]: removed unneeded files
193 math_matrix.[Ch]: start support for "interrow spacing"
195 * all over the place: rework of parser stuff
197 2001-08-08 André Pönitz <poenitz@gmx.net>
199 * math_fracbase.[Ch]:
200 * math_fracinset.[Ch]: new hierarchy
202 * math_stackrelbase.[Ch]: native \stackrel support
204 * math_inset.[Ch]: removal of the name_ member
206 * math_deliminset.[Ch]: rework
208 2001-08-06 André Pönitz <poenitz@gmx.net>
210 * formulamacro.C: fix nasty bug due to missing copy constructor
212 * math_bigopinset.[Ch]: revival for things like \int, \sum
214 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
216 * math_diminset.h: make cache variables mutable, remove const_cast
218 * formulabase.[Ch]: remove unneeded convertFont()
220 * math_funcinset.[Ch]: bring red color back
222 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
223 inset to the mcaro table
225 2001-08-01 André Pönitz <poenitz@gmx.net>
228 formulamacro.C: fix memory leaks
230 * math_matrixinset.C: fix mis-alignment of eqnarray columns
232 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
233 MathMatrixInset * and MathMacroTemplate * to save a few casts
235 * all over the place: everything is an inset now
237 * math_nestinset.[Ch]: new abstract base class for insets containing
240 * math_diminset.[Ch]: new abstract base class for insets that need
241 the width_/ascent_/descent_ cache
243 2001-07-25 André Pönitz <poenitz@gmx.net>
245 * formulabase.C: re-enable 'space enlargement' feature
247 * math_scriptinset.C:
248 math_bigopinset.C: rework of script insets
250 2001-07-22 André Pönitz <poenitz@gmx.net>
252 * math_cursor.C: fix "pullArg" behaviour
254 * math_cursor.C: keep empty super/subscript a bit longer
256 * math_cursor.C: do not move into insets that don't have inner cells yet
258 * formulabase.C: fix memory leak
260 * math_cursor.C: ^ now copies selection into new srriptinset
262 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
265 * math_updowninset.C: fix drawing glitches
267 * math_cursor.C: paste to correct position
269 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * formula.C (insetAllowed): allow insertion of label
273 2001-07-20 André Pönitz <poenitz@gmx.net>
275 * math_macrotable.C: support for \land and \vee
277 2001-07-16 André Pönitz <poenitz@gmx.net>
279 * math_grid.[Ch] -> math_gridinset.[Ch]
280 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
282 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
283 fix 'mathed reports wrong width', cosmetics
285 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
287 * math_cursor.C (operator==): moved ouf of struct
289 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
291 2001-07-16 André Pönitz <poenitz@gmx.net>
293 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
295 * several files: supporting changes
297 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
299 Consistent use of Lsstream.h:
300 * formula.C: removed using std::ostringstream directive.
302 * math_cursor.C: std::istringstream -> istringstream.
304 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
306 * math_decorationinset.h: add std:: qualifier
308 2001-07-12 André Pönitz <poenitz@gmx.net>
310 * math_updowninset.[hC]: new base class for script and bigop insets
311 *.[hC]: subsequent changes to all Metric() functions
313 * math_parser.C: small changes (\sqrt0 is read properly now)
315 2001-07-10 André Pönitz <poenitz@gmx.net>
317 * math_accentinset.[hC]: rewrite
320 math_cursor.C: subsequent changes
322 * math_grid.C: <Delete> in the first cell of a completely empty row
323 deletes that row, <C-Return> places the cursor in the first of the
326 * math_grid.C: try to split cell nicely when mutating from single-cell
327 to multi-cell environment
329 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
331 * math_matrixinset.C (mutate): Use only the first label when
332 mutating eqnarray to display formula.
334 2001-07-09 Juergen Vigna <jug@sad.it>
336 * formulabase.C (mathDispatchCreation): don't do anything with the
337 inset if it cannot be inserted!
339 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
341 * formulabase.C (mathDispatchInsertMath): remove bogus return
344 2001-07-09 André Pönitz <poenitz@gmx.net>
346 * math_*inset.C: Change order of arguments in MathInset constructor
348 * math_cursor.C: Remove broken "increase space" feature for a while
350 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
352 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
354 2001-07-04 André Pönitz <poenitz@gmx.net>
356 * math_parser.C: fix reading of "unusual" alpha chars
358 * xarray.[hC]: fix debug output of xarray
360 2001-07-03 André Pönitz <poenitz@gmx.net>
362 * math_parser.C: fix bug where equations did not get their labels
364 * formulabase.C: new feature: changing font on selection
366 * several files: subsequent changes
368 * array.C: fix bug when insets have not been cloned properly
369 This should fix quite a few "random" crashes...
371 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
373 * formulabase.C (localDispatch): use .c_str() on istringstream
374 constructor argument.
376 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
378 * math_grid.C (addCol): add second argument to cellinfo_.insert.
379 Cleanup a bit the code.
380 (appendRow): do not call push_back without argument.
382 * *.C: remove all "using namespace std" directives (not
383 good!!) and replaced it with relevant "using" directives.
385 * math_macrotemplate.C (Clone): change return type to MathInset*
387 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
389 * math_sizeinset.C: include support/LOstream.h
391 * math_scriptinset.C (Metrics): std:: qualify max
393 * math_root.C (Metrics): std:: qualify max
394 (Write): std:: qualify ostream
397 * math_matrixinset.C (getLabelList): std:: qualify vector
399 (Metrics): std:: qualify max
400 (header_write): std:: qualify ostream
401 (footer_write): ditto
403 * math_macrotemplate.C (Write): std:: qualify ostream
405 * math_bigopinset.C (Metrics): std:: qualify max, and include
408 * math_matrixinset.h: include vector and std:: qualify it.
410 * array.C (GetInset): get a pointer to the first element of bf_
413 2001-06-25 The LyX Project <Asger>
415 * math_scriptinset.C: Fix for entering with cursor up/down.
417 * math_fracinset.C: We can enter fractions with cursor up and
420 * math_cursor.C (Right): Fixes for cursor movement.
422 * formula.C (draw): New background color for math.
424 * math_cursor.C: Fixes for toggling labels on/off in math.
425 Fixes for infinity and other symbols that didn't appear in
428 2001-06-24 The LyX Project <Asger>
430 * math_inset.C: Cursor movement is better in square roots, among
433 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
434 cursor up/down movement. What not.
436 2001-06-24 The LyX Project <Asger>
438 * math_matrixinset.C: Hidden labels are hidden, unless a small
439 dragon jumps out of the screen, and pronounce them to the entire
442 2001-06-24 The LyX Project <Easter egg>
444 * math_cursor.C: Cursor improvements after a few dead-ends
445 in the evolution of cursor movement were tested and scrapped.
447 2001-06-24 The LyX Project <Asger>
449 * math_cursor.C: Renamed stack to path.
451 2001-06-24 The LyX Project <André>
454 Makefile.am: The Big Patch
455 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
456 new MathScriptInset for up/down stuff;
457 delete MathIter/MatXIter, MathParInset, MathRowSt
458 Changes to the inset inheritance tree, reunification of abstract math
460 label/numbering handling back to life;
461 major changes to the parser(s);
462 new base class FormulaBase for the two math LyXInsets;
463 general cleanup and cosmetic changes)
465 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
468 * math_root.C: removed // -*- C++ -*- as first line.
470 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
472 * array.C: bring memmove into main namespace if necessary
474 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
476 * math_parser.C (yylex): use contains instead of strchr
477 (parse_align): remove last arg, change to take string const & as
479 (mathed_parse): use string for ar2 and ar, adjust
481 * math_decorationinset.C (Write): use compare instead of strcmp
483 * formula.C (LocalDispatch): change arg2 to string, adjust for this
484 (LocalDispatch): add std::
485 (LocalDispatch): use contains instead of strchr
487 * array.C (move): add std::
489 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
491 * matriz.C: add using directives when needed for C functions
492 declared in std:: namespace.
494 * math_macrotemplate.h: do not use explicitely std::string, but
497 * math_macroarg.C: avoid bringing the whole std:: namespace in
498 global-land. When you do that, there is an ambiguity between
499 lyxstring and std::string (which may be defined at the same time).
501 * formula.C (HandleExtern): add .c_str() to .str() (useful when
504 2001-04-27 André Pönitz <poenitz@gmx.net>
506 * math_parser.C: fix \frac handling bug introduced on 04-24
507 * math_xiter.C: hotfix for merging "shared" insets
508 * formula.C: fixing display after using math-insert
510 2001-04-25 André Pönitz <poenitz@gmx.net>
512 * math_*.[Ch]: WriteNormal
513 * formula.C: Support for new "math extern" command
514 * math_parser.C: fix \frac handling bug introduced on 04-24
515 * math_xiter.C: hotfix for merging "shared" insets
517 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
519 * math_macrotable.C: include <iostream>
521 2001-04-24 André Pönitz <poenitz@gmx.net>
524 * math_macrotable.[Ch]:
525 * math_macroarg.[Ch]: restructuring of macro handling
528 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
530 * array.h (operator<<):
531 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
533 * math_macrotable.C: added using std::make_pair directive.
534 (dump): added using std::cerr directive here as I guess that this is
537 2001-04-20 Allan Rae <rae@lyx.org>
539 * formula.C (LocalDispatch): fixed another #warning. Guess who.
541 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
543 * math_macrotemplate.h: inherit privately from noncopyable
545 * math_macro.C (Metrics): reindent, use unsigned int as loop var
546 (setArgumentIdx): change test to avoid unsigned warning
548 * formula.C (LocalDispatch): use LFUN_MESSAGE
550 2001-04-16 Allan Rae <rae@lyx.org>
552 * formula.C (Latex, getLabelList, LocalDispatch):
553 * math_parser.C (mathed_parse):
554 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
555 an unrecognised preprocessor directive. So ensure they're wrapped.
557 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
559 * formula.C (draw): adjust for cursor_visible
560 (ToggleInsetCursor): adjust for cursor_visible and constify asc
562 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
563 (HideInsetCursor): adjust for cursor_visible
564 (LocalDispatch): constify default_label and res
566 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
568 * math_rowst.C: add missing #include <config.h>.
570 2001-03-16 André Pönitz <poenitz@gmx.net>
572 * math_matrixinset.h:
573 * math_parinset.[Ch]:
574 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
576 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
584 * math_symbols.C: maths panel moved to GUII
586 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
588 * math_cursor.C: use lyxerr instead of cerr.
590 2001-03-15 André Pönitz <poenitz@gmx.net>
592 * math_cursor.C: fix bug (cursor was leaving two insets at a time
595 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
597 * math_macrotable.h: noncopyable is in namespace boost
598 * math_macrotemplate.h: ditto
600 * math_rowst.h: make MathedRowContainer::iterator public.
602 2001-03-15 André Pönitz <poenitz@gmx.net>
604 * math_parser.C: read '\nonumber' again (was broken)
606 * math_rowst.C: new file
608 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
610 * math_cursor.C: added using directive.
612 2001-03-15 André Pönitz <poenitz@gmx.net>
614 * math_rowst.h: Finally remove MathedRowSt
617 math_xiter.C: changed accordingly
619 2001-03-12 André Pönitz <poenitz@gmx.net>
621 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
622 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
624 2001-03-10 André Pönitz <poenitz@gmx.net>
627 math_matrixinset.C: move adjustVerticalSt to the only place where
628 it is used. Fix a small bug where the cached row structure and the
629 actual data get out of sync after the deletion of whole rows
631 2001-03-09 André Pönitz <poenitz@gmx.net>
633 * math_cursor.C: use std::vector<> in MathStackXIter
634 change selstk from a pointer to the "real thing"
636 * math_rowst.h: new MathedRowContainer::erase method
638 * math_xiter.C: use MathedRowContainer::erase
640 * math_parser.C: use MathedRowContainer::insert_after
642 2001-03-08 André Pönitz <poenitz@gmx.net>
644 * math_rowst.h: give MathedRowContainer an 'insert' method.
646 * math_xiter.C: new 'container()' method to encapsulated access to
647 the MathParInset's MathedRowContainer
649 * math_rowst.h: proper copy constructor and destructor for
652 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
653 automatically created by the compiler are ok now.
655 2001-03-06 André Pönitz <poenitz@gmx.net>
657 * array.[Ch]: factor out deep_copy,
658 remove third argument from raw_pointer_insert
660 * math_iter.[Ch]: remove unused function Clear()
662 * math_cursor.C: change signature of MathStackXIter:push()
665 * math_rowst.h: introduction of MathRowContainer
666 several files: corresponding changes
668 2001-03-04 André Pönitz <poenitz@gmx.net>
670 * math_macrotemplate.[Ch]:
671 math_macro.C: move update() functionality to the macro
673 * math_rowst.h: split MathedRowSt into "data" and "list"
675 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
677 * math_macrotemplate.C (update): use MathMacro::getArg, and
678 receive a const reference.
679 (getMacroPar): add an Assert
681 * math_macrotemplate.h: make MathMacro a friend, make update take
684 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
685 and store a MathMacroArgument in the vector
686 * math_macro.C: changes because of the above.
689 * math_parser.C (mathed_parse): plug potential leak
691 * math_iter.h: add comment on virtual destructor
693 * math_iter.C (Delete): make c const
695 * math_parinset.C (Metrics): cleanup indent. make one string const.
697 * math_inset.C (size): move out of line
700 * math_macroarg.h: remove default constructor
702 * math_macroarg.C: include Lsstream.h instead of debug.h
703 (MathMacroArgument): remove default constructor
704 (Write): add std:: on ostream arg
706 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
709 * formula.C: make DEBUG into lyxerr
711 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
713 * math_macrotemplate.h: make noncopyable, remove last arg to
714 constructor, remove flags_ add edit_
715 (flags): remove method
717 * math_macrotemplate.C (setArgument): delete method
718 (update): make idx const
719 (Metrics): use edit_, remove flags_
720 (draw): use edit_, remove flags_
721 (setEditMode): set edit_, remove flags_
722 (MathMacroTemplate): initialize edit_, remove flags_
724 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
725 shared_ptr, let constructor take a shared_ptr
727 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
729 (draw): remove unneded update, remove removed update of x,y
730 (GetXY): call tmplates GetMacroXY directly
731 (SetFocus): call Metrics() instead of update()
732 (Write): remove support for math macro environments, simplifications.
734 * math_macrotable.h: make class noncopyable, change getMacro to
735 createMacro, change vector to map store a
736 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
738 * math_macrotable.C: add pragma
739 (createMacro): change name from getMacro, use shared_ptr
740 (getTemplate): Use map lookup to get macro, return shared_ptr
741 (addTemplate): assert that m containse a valid pointer, use map[]
743 (builtinMacros): by using shared_ptr fix the mem leak, remove
744 commented out unsupported macros
746 * math_cursor.C: changes because of the above
747 * math_parser.C: changes because of the abobe
749 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
750 default arg on constructor.
751 * formulamacro.C: changes because of the above
753 * math_parinset.h: add pragma
754 (SetAlign): move inline out of class def
758 (setArgumentIdx): ditto
759 (setNextArgIdx): ditto
760 (getArgumentIdx): ditto
761 (getMaxArgumentIdx): ditto
766 * math_parinset.C: add pragma
767 (Write): change the else clause, lessen depth
769 * math_macroarg.h: small whitespace change
771 * array.C: include support/LOstream.h add using ostream and endl
773 * array.h (dump): add std:: on ostream
775 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
777 * math_macrotemplate.h: remove default arg on update
779 * math_macrotemplate.C (update): add assert and remove noop case.
781 * formulamacro.C (Read): add comment.
782 (ascent): remove noop call to MathMacroTemplate
787 * math_parser.C (mathed_parse): fix another potential problem by
788 passing a freestanding mathedarray.
790 * math_root.C (GetData): add const version
792 * math_parinset.C (~MathParInset): delete
793 (GetData): add const version
795 * math_matrixinset.C (MathMatrixInset): delete pointer version,
796 make it a proper copy constructor instead
798 (MathMatrixInset): remvoe default val for m and n
800 * math_macro.C (GetData): add const version
802 * math_fracinset.C (GetData): add const version
804 * math_cursor.C (SelCopy): make p1 and p2 const
805 (SelCut): make p1 and p2 const
807 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
808 (LyxCode): move inline out of class
812 * array.[Ch] (dump): method added for debugging purposes
814 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
815 mathed_parse when reading a matrix.
817 * math_spaceinset.[Ch]: add pragma, make variables private add
818 '_', change order of method definitions.
820 * math_root.h (~MathRootInset): delete
821 Change uroot_ to be a real object instead of a pointer
822 * math_root.C: changes because of the above
824 * math_macro.C (MathMacro(MathMacro*)): delete constructor
825 (MathMacro(MathMacro const &)): new copy constructor
827 * math_inset.h: delete constructor taking a pointer to MathedInset
828 (size, incSize): move inline method
830 * math_funcinset.h: add pragma, remove class vars ln and fname,
831 change protected to private, add '_' to priv vars.
832 (~MathFuncInset): remove
834 * math_fracinset.h: make MathParInset den_ a real object and not a
837 * math_fracinset.C (MathFracInset): clean up, move initalization
838 to initialization list
839 (~MathFracInset): remove
842 * math_draw.C: delete file
844 * math_dotsinset.[Ch]: add pragma
846 * math_bigopinset.h: make protected variables private add '_' to vars.
848 * math_bigopinset.C: move methods to follow class definition order
850 * math_accentinset.h (getAccentCode): move inline here
852 * math_accentinset.C (MathAccentInset): cleanup
855 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
857 * math_inset.[Ch] (MathedInset): remove method
859 * Makefile.am (libmathed_la_SOURCES): correct typo
861 * math_parinset.C (draw): move MathedXiter data(this) up. and
862 remove it two other places.
864 * math_macro.C (MathMacro): use array directly, don't use
865 setArgumentIdx and GetData
867 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
869 * math_macroarg.C (MathMacroArgument): delete
870 * math_macro.C (~MathMacro): delete
871 * math_macrotemplate.C (~MathMacroTemplate): delete
873 * math_decorationinset.[Ch]: add pragma
874 * math_deliminset.[Ch]: likewise
875 * math_fracinset.[Ch]: likewise
876 * math_macroarg.[Ch]: likewise
877 * math_macrotemplate.[Ch]: likewise
878 * math_matrixinset.[Ch]: likewise
880 * formulamacro.C (Read): set contents of tmacro_ to ar.
882 * formulamacro.h: add '_' to private variables.
883 * formalamacro.C: changes because of this.
885 2001-02-23 Juergen Vigna <jug@sad.it>
887 * formula.C (LocalDispatch): changed action to be a kb_action (as it
888 should be) and not an int.
890 * formulamacro.C (LocalDispatch): ditto.
892 2001-02-14 André Pönitz <poenitz@gmx.net>
894 * math_parinset.[Ch]: make array a real MathArray, not just a
897 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
899 * several files: subsequent changes
901 * math_cursor.C: make selarray a proper MathArray
903 * several files: Change "MathedArray *" to "MathedArray &"
906 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
908 * array.C (MathedArray): Fix compilation problem.
910 2001-02-14 André Pönitz <poenitz@gmx.net>
912 * array.[Ch]: "deep" copy constructor and assignment operator for
915 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
917 * math_iter.[Ch]: remove SetData
918 several files: subsequent changes
920 2001-02-14 André Pönitz <poenitz@gmx.net>
922 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
925 * math_iter.C: default-construct and resize array
927 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
929 * math_xiter.h: move ipush and ipop to public, add _ on private
930 variables, move protected var to private, remove friend.
932 * math_cursor.C (insertInset): rename method from Insert also
933 remove default arg val. Call the public methods of xiter instead
934 of private variables.
936 * changes to several files because of the above.
938 2001-02-14 André Pönitz <poenitz@gmx.net>
940 * math_iter.[Ch]: hide fcode_
942 * math_parinset.C: subsequent changes
945 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
947 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
950 * math_write.C: delete file
951 * math_delim.C: delete file
952 * marh_sqrtinset.h: delete file
954 * move funcs to more localized files, more general cleanup.
955 Constify several local vars. Doxygen changes. Formatting.
957 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
959 * support.C: add some consts
961 * matriz.C: clean up a bit.
962 (matmat): remove the for loop.
964 * several files: changes so that several friends can be removed
966 2001-02-14 André Pönitz <poenitz@gmx.net>
968 * formula.C: reformatting
972 math_xiter.[Ch]: remove unneeded members
974 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
978 * formula.C: remove cruft
980 * array.C (begin): new method
983 2001-02-14 André Pönitz <poenitz@gmx.net>
985 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
987 * math_cursor.C: reformatting
989 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
993 * math_matrixinset.C:
994 * math_macrotemplate.C:
999 * math_decorationinset.C:
1000 * math_bigopinset.C:
1001 * math_accentinset.C:
1002 * math_sqrtinset.C: include LOstream.h and add using directive.
1004 2001-02-14 André Pönitz <poenitz@gmx.net>
1006 * math_iter.C: reformatting
1008 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1010 * math_spaceinset.C (GetSpace): move here
1012 * math_parinset.C: add debug.h, move several prev. inlined methods
1015 * math_macrotable.C math_xiter.C support.C: add debug.h
1017 * math_macro.h: remove debug.h, remove typedefs
1019 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1022 * math_hash.C: change some defines to int const. change use of
1023 LM_TC_NORMAL to LM_TC_VAR
1025 * math_draw.C: delete file
1027 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1028 forward decls. remove LM_TC_NORMAL, move inline methods to
1029 support.C (and support.h)
1031 * math_cursor.C: move several previous inlined methods here
1033 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1034 math_parinset.h math_spaceinset.h: add math_defs.h
1036 * math_accentinset.h: add support.h and math_defs.h
1038 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1040 * formula.h: remove unused func decl: OpenMathInset
1042 * formula.C math_inset.h: get rid of math_defs.h
1044 * array.h: switch to support.h instead of math_defs.h
1046 * array.C: remove one include
1048 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1050 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1052 * math_parser.C: include macrotable and macrotemplate
1054 * math_macrotemplate.[Ch]: new files
1056 * math_macrotable.[Ch]: new files
1058 * math_macroarg.[Ch]: new files
1060 * math_macro.C: move stuff to the new files.
1062 * math_cursor.C: include math_macrotable.h
1064 * macro_support.[Ch]: new files
1066 * formulamacro.C: add more includes
1068 * Makefile.am (libmathed_la_SOURCES): add new files.
1070 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1072 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1077 * math_parinset.C: add a bunch of "using" directives.
1080 * math_decorationinset.h:
1081 * math_bigopinset.h:
1082 * math_spaceinset.h: remove more couples of inline.
1084 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1086 * math_xiter.h: remove a couple of "inline"
1088 * array.C (strange_copy): fix bug (hopefully)
1089 * many files: add a lot of new files and move methods to the class
1090 files they belong to. Only first attempt at cleanup more will
1093 2001-02-12 André Pönitz <poenitz@gmx.net>
1095 * math_macro.[hC]: replace MathMacroArgument[] with
1096 std::vector<MathMacroArgument>
1098 math_inset.C: replace int[] with std::vector<int>
1100 * math_symbols.C: replace FL_OBJECTP[] with
1101 std::vector<FL_OBJECT*>
1103 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1105 * math_defs.h (struct MathedRowSt): make all private variables end
1106 with '_', initialize in initializer list instead of in function
1109 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1111 * formula.C (LocalDispatch): Change the default action of
1112 break-line to create an align* environment instead of eqnarray*.
1114 * math_inset.C (Metrics): Correct drawing of the multline
1117 2001-02-12 André Pönitz <poenitz@gmx.net>
1119 * array.[hC]: replace private variable maxsize_ with call to
1121 * math_defs.h: replace int[] by std::vector<int> for
1124 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1126 * array.h: made all variables private, removed friend, added new
1127 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1128 non const operator[] added setter for last and getter for maxsize.
1129 changed name from LyxArrayBase to MathedArray.
1130 changed name of some methods to start with lowerchar.
1131 moved inline methods to array.C
1133 * math_iter.C + several file: changes because of the above.
1135 * array.C: new file with the prev inline methods.
1137 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1139 * Many files: add support for the align environment from amsmath.
1141 2001-02-09 André Pönitz <poenitz@gmx.net>
1143 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1144 * several files: subsequent changes
1145 * math_iter.h: remove unused prototype
1148 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1150 * math_macro.C (draw): add .c_str() to .str() (useful when
1151 compiling with lyxstring, but STL sstream).
1154 2001-02-08 André Pönitz <poenitz@gmx.net>
1156 * several files: get rid of reinterpret_cast.
1158 2001-02-04 Allan Rae <rae@lyx.org>
1160 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1161 just casting the variable.
1163 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1165 * Many files: Add support for multline and alignat environments from
1168 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1170 * math_symbols.C (math_insert_greek): Move cursor right when
1171 unlocking the math inset.
1173 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1175 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1177 * formula.C (LocalDispatch): Before inserting a label in an
1178 eqnarray, move the cursor to the top level.
1180 * math_iter.C (getLabel): Test if crow == 0.
1182 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1184 * math_draw.C (Metrics): Use the correct GetString.