1 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
3 * math_macrotable.C (builtinMacros): Add some macros if latex
6 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8 * formula.C (insetAllowed): disallow label insertion in inline
11 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13 * formulabase.C (mathDispatchCreation): pass second argument
14 'false' (no label) to selectionAsString
16 2001-09-11 André Pönitz <poenitz@gmx.net>
18 * math_atom.[Ch]: new basic item in the MathArray
20 * array.[Ch]: move code over to math_atom
22 * math_scriptinset.[Ch]:
24 math_cursor.C: try to do with super- and subscripts what TeX does
26 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
28 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
30 2001-09-04 André Pönitz <poenitz@gmx.net>
34 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
35 'xxalignt', 'gather' and 'multiline' environments
37 * math_cursor.C: fix handling of | and \|
39 2001-09-04 José Matos <jamatos@fep.up.pt>
46 * formulamacro.h (docbook): rename docBook method to docbook.
48 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
50 * math_hash.C (ReadSymbols): Check for duplicate symbols
52 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
54 * support.C: added a using std::map directive.
56 2001-08-17 André Pönitz <poenitz@gmx.net>
58 * math_hash.C: Use std::map instead of faking it
60 * symbol_def.h: remove unneeded symbol definitions
62 * support.C: use the decorations' name for drawing
64 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
66 * math_hash.C (in_word_set): Initialize symbol table even when
67 symbols file was not found.
69 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
71 * math_hash.C: added a using std::endl directive.
73 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
75 * support.C (whichFont): Add support for cmr font.
76 Add support for \mathbb.
78 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
80 * math_macrotable.C (builtinMacros): Add 3 builtin macros
82 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
84 * math_hash.C: Read symbols information from external file
85 many files: Add support for latex symbol fonts
87 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
89 * math_parser.C (Parser): Eat spaces after \end_inset
91 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
93 * math_parser.C (tokenize): fix typo
95 2001-08-17 André Pönitz <poenitz@gmx.net>
97 * math_parser.C: new "lexxer"
99 * array.C: write sequences of chars with same code as a unit
101 2001-08-13 André Pönitz <poenitz@gmx.net>
103 * math_factory.[Ch]: new files for the creation of math insets
107 math_hash.C: simplifications
109 * math_binom.[Ch]: new files for "native" \binom/\choose inset
112 math_cursor.C: reading support for TeX style \over and \choose
114 * formulabase.C: re-enabling the "selected text gets converted to
115 math when pressing C-m" feature.
117 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
119 * math_parser.C (lexArg): remove default argument from the .C file
120 as it causes DEC cxx to complain about a redefinition.
122 2001-08-10 André Pönitz <poenitz@gmx.net>
124 * math_scopeinset.[Ch]: new inset for {} blocks
126 * math_accentinset.[Ch]: removed unneeded files
129 math_matrix.[Ch]: start support for "interrow spacing"
131 * all over the place: rework of parser stuff
133 2001-08-08 André Pönitz <poenitz@gmx.net>
135 * math_fracbase.[Ch]:
136 * math_fracinset.[Ch]: new hierarchy
138 * math_stackrelbase.[Ch]: native \stackrel support
140 * math_inset.[Ch]: removal of the name_ member
142 * math_deliminset.[Ch]: rework
144 2001-08-06 André Pönitz <poenitz@gmx.net>
146 * formulamacro.C: fix nasty bug due to missing copy constructor
148 * math_bigopinset.[Ch]: revival for things like \int, \sum
150 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
152 * math_diminset.h: make cache variables mutable, remove const_cast
154 * formulabase.[Ch]: remove unneeded convertFont()
156 * math_funcinset.[Ch]: bring red color back
158 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
159 inset to the mcaro table
161 2001-08-01 André Pönitz <poenitz@gmx.net>
164 formulamacro.C: fix memory leaks
166 * math_matrixinset.C: fix mis-alignment of eqnarray columns
168 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
169 MathMatrixInset * and MathMacroTemplate * to save a few casts
171 * all over the place: everything is an inset now
173 * math_nestinset.[Ch]: new abstract base class for insets containing
176 * math_diminset.[Ch]: new abstract base class for insets that need
177 the width_/ascent_/descent_ cache
179 2001-07-25 André Pönitz <poenitz@gmx.net>
181 * formulabase.C: re-enable 'space enlargement' feature
183 * math_scriptinset.C:
184 math_bigopinset.C: rework of script insets
186 2001-07-22 André Pönitz <poenitz@gmx.net>
188 * math_cursor.C: fix "pullArg" behaviour
190 * math_cursor.C: keep empty super/subscript a bit longer
192 * math_cursor.C: do not move into insets that don't have inner cells yet
194 * formulabase.C: fix memory leak
196 * math_cursor.C: ^ now copies selection into new srriptinset
198 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
201 * math_updowninset.C: fix drawing glitches
203 * math_cursor.C: paste to correct position
205 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * formula.C (insetAllowed): allow insertion of label
209 2001-07-20 André Pönitz <poenitz@gmx.net>
211 * math_macrotable.C: support for \land and \vee
213 2001-07-16 André Pönitz <poenitz@gmx.net>
215 * math_grid.[Ch] -> math_gridinset.[Ch]
216 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
218 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
219 fix 'mathed reports wrong width', cosmetics
221 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * math_cursor.C (operator==): moved ouf of struct
225 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
227 2001-07-16 André Pönitz <poenitz@gmx.net>
229 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
231 * several files: supporting changes
233 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
235 Consistent use of Lsstream.h:
236 * formula.C: removed using std::ostringstream directive.
238 * math_cursor.C: std::istringstream -> istringstream.
240 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
242 * math_decorationinset.h: add std:: qualifier
244 2001-07-12 André Pönitz <poenitz@gmx.net>
246 * math_updowninset.[hC]: new base class for script and bigop insets
247 *.[hC]: subsequent changes to all Metric() functions
249 * math_parser.C: small changes (\sqrt0 is read properly now)
251 2001-07-10 André Pönitz <poenitz@gmx.net>
253 * math_accentinset.[hC]: rewrite
256 math_cursor.C: subsequent changes
258 * math_grid.C: <Delete> in the first cell of a completely empty row
259 deletes that row, <C-Return> places the cursor in the first of the
262 * math_grid.C: try to split cell nicely when mutating from single-cell
263 to multi-cell environment
265 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
267 * math_matrixinset.C (mutate): Use only the first label when
268 mutating eqnarray to display formula.
270 2001-07-09 Juergen Vigna <jug@sad.it>
272 * formulabase.C (mathDispatchCreation): don't do anything with the
273 inset if it cannot be inserted!
275 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
277 * formulabase.C (mathDispatchInsertMath): remove bogus return
280 2001-07-09 André Pönitz <poenitz@gmx.net>
282 * math_*inset.C: Change order of arguments in MathInset constructor
284 * math_cursor.C: Remove broken "increase space" feature for a while
286 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
288 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
290 2001-07-04 André Pönitz <poenitz@gmx.net>
292 * math_parser.C: fix reading of "unusual" alpha chars
294 * xarray.[hC]: fix debug output of xarray
296 2001-07-03 André Pönitz <poenitz@gmx.net>
298 * math_parser.C: fix bug where equations did not get their labels
300 * formulabase.C: new feature: changing font on selection
302 * several files: subsequent changes
304 * array.C: fix bug when insets have not been cloned properly
305 This should fix quite a few "random" crashes...
307 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
309 * formulabase.C (localDispatch): use .c_str() on istringstream
310 constructor argument.
312 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
314 * math_grid.C (addCol): add second argument to cellinfo_.insert.
315 Cleanup a bit the code.
316 (appendRow): do not call push_back without argument.
318 * *.C: remove all "using namespace std" directives (not
319 good!!) and replaced it with relevant "using" directives.
321 * math_macrotemplate.C (Clone): change return type to MathInset*
323 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
325 * math_sizeinset.C: include support/LOstream.h
327 * math_scriptinset.C (Metrics): std:: qualify max
329 * math_root.C (Metrics): std:: qualify max
330 (Write): std:: qualify ostream
333 * math_matrixinset.C (getLabelList): std:: qualify vector
335 (Metrics): std:: qualify max
336 (header_write): std:: qualify ostream
337 (footer_write): ditto
339 * math_macrotemplate.C (Write): std:: qualify ostream
341 * math_bigopinset.C (Metrics): std:: qualify max, and include
344 * math_matrixinset.h: include vector and std:: qualify it.
346 * array.C (GetInset): get a pointer to the first element of bf_
349 2001-06-25 The LyX Project <Asger>
351 * math_scriptinset.C: Fix for entering with cursor up/down.
353 * math_fracinset.C: We can enter fractions with cursor up and
356 * math_cursor.C (Right): Fixes for cursor movement.
358 * formula.C (draw): New background color for math.
360 * math_cursor.C: Fixes for toggling labels on/off in math.
361 Fixes for infinity and other symbols that didn't appear in
364 2001-06-24 The LyX Project <Asger>
366 * math_inset.C: Cursor movement is better in square roots, among
369 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
370 cursor up/down movement. What not.
372 2001-06-24 The LyX Project <Asger>
374 * math_matrixinset.C: Hidden labels are hidden, unless a small
375 dragon jumps out of the screen, and pronounce them to the entire
378 2001-06-24 The LyX Project <Easter egg>
380 * math_cursor.C: Cursor improvements after a few dead-ends
381 in the evolution of cursor movement were tested and scrapped.
383 2001-06-24 The LyX Project <Asger>
385 * math_cursor.C: Renamed stack to path.
387 2001-06-24 The LyX Project <André>
390 Makefile.am: The Big Patch
391 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
392 new MathScriptInset for up/down stuff;
393 delete MathIter/MatXIter, MathParInset, MathRowSt
394 Changes to the inset inheritance tree, reunification of abstract math
396 label/numbering handling back to life;
397 major changes to the parser(s);
398 new base class FormulaBase for the two math LyXInsets;
399 general cleanup and cosmetic changes)
401 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
404 * math_root.C: removed // -*- C++ -*- as first line.
406 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
408 * array.C: bring memmove into main namespace if necessary
410 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
412 * math_parser.C (yylex): use contains instead of strchr
413 (parse_align): remove last arg, change to take string const & as
415 (mathed_parse): use string for ar2 and ar, adjust
417 * math_decorationinset.C (Write): use compare instead of strcmp
419 * formula.C (LocalDispatch): change arg2 to string, adjust for this
420 (LocalDispatch): add std::
421 (LocalDispatch): use contains instead of strchr
423 * array.C (move): add std::
425 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
427 * matriz.C: add using directives when needed for C functions
428 declared in std:: namespace.
430 * math_macrotemplate.h: do not use explicitely std::string, but
433 * math_macroarg.C: avoid bringing the whole std:: namespace in
434 global-land. When you do that, there is an ambiguity between
435 lyxstring and std::string (which may be defined at the same time).
437 * formula.C (HandleExtern): add .c_str() to .str() (useful when
440 2001-04-27 André Pönitz <poenitz@gmx.net>
442 * math_parser.C: fix \frac handling bug introduced on 04-24
443 * math_xiter.C: hotfix for merging "shared" insets
444 * formula.C: fixing display after using math-insert
446 2001-04-25 André Pönitz <poenitz@gmx.net>
448 * math_*.[Ch]: WriteNormal
449 * formula.C: Support for new "math extern" command
450 * math_parser.C: fix \frac handling bug introduced on 04-24
451 * math_xiter.C: hotfix for merging "shared" insets
453 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
455 * math_macrotable.C: include <iostream>
457 2001-04-24 André Pönitz <poenitz@gmx.net>
460 * math_macrotable.[Ch]:
461 * math_macroarg.[Ch]: restructuring of macro handling
464 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
466 * array.h (operator<<):
467 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
469 * math_macrotable.C: added using std::make_pair directive.
470 (dump): added using std::cerr directive here as I guess that this is
473 2001-04-20 Allan Rae <rae@lyx.org>
475 * formula.C (LocalDispatch): fixed another #warning. Guess who.
477 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
479 * math_macrotemplate.h: inherit privately from noncopyable
481 * math_macro.C (Metrics): reindent, use unsigned int as loop var
482 (setArgumentIdx): change test to avoid unsigned warning
484 * formula.C (LocalDispatch): use LFUN_MESSAGE
486 2001-04-16 Allan Rae <rae@lyx.org>
488 * formula.C (Latex, getLabelList, LocalDispatch):
489 * math_parser.C (mathed_parse):
490 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
491 an unrecognised preprocessor directive. So ensure they're wrapped.
493 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
495 * formula.C (draw): adjust for cursor_visible
496 (ToggleInsetCursor): adjust for cursor_visible and constify asc
498 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
499 (HideInsetCursor): adjust for cursor_visible
500 (LocalDispatch): constify default_label and res
502 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
504 * math_rowst.C: add missing #include <config.h>.
506 2001-03-16 André Pönitz <poenitz@gmx.net>
508 * math_matrixinset.h:
509 * math_parinset.[Ch]:
510 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
512 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
520 * math_symbols.C: maths panel moved to GUII
522 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
524 * math_cursor.C: use lyxerr instead of cerr.
526 2001-03-15 André Pönitz <poenitz@gmx.net>
528 * math_cursor.C: fix bug (cursor was leaving two insets at a time
531 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
533 * math_macrotable.h: noncopyable is in namespace boost
534 * math_macrotemplate.h: ditto
536 * math_rowst.h: make MathedRowContainer::iterator public.
538 2001-03-15 André Pönitz <poenitz@gmx.net>
540 * math_parser.C: read '\nonumber' again (was broken)
542 * math_rowst.C: new file
544 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
546 * math_cursor.C: added using directive.
548 2001-03-15 André Pönitz <poenitz@gmx.net>
550 * math_rowst.h: Finally remove MathedRowSt
553 math_xiter.C: changed accordingly
555 2001-03-12 André Pönitz <poenitz@gmx.net>
557 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
558 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
560 2001-03-10 André Pönitz <poenitz@gmx.net>
563 math_matrixinset.C: move adjustVerticalSt to the only place where
564 it is used. Fix a small bug where the cached row structure and the
565 actual data get out of sync after the deletion of whole rows
567 2001-03-09 André Pönitz <poenitz@gmx.net>
569 * math_cursor.C: use std::vector<> in MathStackXIter
570 change selstk from a pointer to the "real thing"
572 * math_rowst.h: new MathedRowContainer::erase method
574 * math_xiter.C: use MathedRowContainer::erase
576 * math_parser.C: use MathedRowContainer::insert_after
578 2001-03-08 André Pönitz <poenitz@gmx.net>
580 * math_rowst.h: give MathedRowContainer an 'insert' method.
582 * math_xiter.C: new 'container()' method to encapsulated access to
583 the MathParInset's MathedRowContainer
585 * math_rowst.h: proper copy constructor and destructor for
588 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
589 automatically created by the compiler are ok now.
591 2001-03-06 André Pönitz <poenitz@gmx.net>
593 * array.[Ch]: factor out deep_copy,
594 remove third argument from raw_pointer_insert
596 * math_iter.[Ch]: remove unused function Clear()
598 * math_cursor.C: change signature of MathStackXIter:push()
601 * math_rowst.h: introduction of MathRowContainer
602 several files: corresponding changes
604 2001-03-04 André Pönitz <poenitz@gmx.net>
606 * math_macrotemplate.[Ch]:
607 math_macro.C: move update() functionality to the macro
609 * math_rowst.h: split MathedRowSt into "data" and "list"
611 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
613 * math_macrotemplate.C (update): use MathMacro::getArg, and
614 receive a const reference.
615 (getMacroPar): add an Assert
617 * math_macrotemplate.h: make MathMacro a friend, make update take
620 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
621 and store a MathMacroArgument in the vector
622 * math_macro.C: changes because of the above.
625 * math_parser.C (mathed_parse): plug potential leak
627 * math_iter.h: add comment on virtual destructor
629 * math_iter.C (Delete): make c const
631 * math_parinset.C (Metrics): cleanup indent. make one string const.
633 * math_inset.C (size): move out of line
636 * math_macroarg.h: remove default constructor
638 * math_macroarg.C: include Lsstream.h instead of debug.h
639 (MathMacroArgument): remove default constructor
640 (Write): add std:: on ostream arg
642 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
645 * formula.C: make DEBUG into lyxerr
647 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
649 * math_macrotemplate.h: make noncopyable, remove last arg to
650 constructor, remove flags_ add edit_
651 (flags): remove method
653 * math_macrotemplate.C (setArgument): delete method
654 (update): make idx const
655 (Metrics): use edit_, remove flags_
656 (draw): use edit_, remove flags_
657 (setEditMode): set edit_, remove flags_
658 (MathMacroTemplate): initialize edit_, remove flags_
660 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
661 shared_ptr, let constructor take a shared_ptr
663 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
665 (draw): remove unneded update, remove removed update of x,y
666 (GetXY): call tmplates GetMacroXY directly
667 (SetFocus): call Metrics() instead of update()
668 (Write): remove support for math macro environments, simplifications.
670 * math_macrotable.h: make class noncopyable, change getMacro to
671 createMacro, change vector to map store a
672 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
674 * math_macrotable.C: add pragma
675 (createMacro): change name from getMacro, use shared_ptr
676 (getTemplate): Use map lookup to get macro, return shared_ptr
677 (addTemplate): assert that m containse a valid pointer, use map[]
679 (builtinMacros): by using shared_ptr fix the mem leak, remove
680 commented out unsupported macros
682 * math_cursor.C: changes because of the above
683 * math_parser.C: changes because of the abobe
685 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
686 default arg on constructor.
687 * formulamacro.C: changes because of the above
689 * math_parinset.h: add pragma
690 (SetAlign): move inline out of class def
694 (setArgumentIdx): ditto
695 (setNextArgIdx): ditto
696 (getArgumentIdx): ditto
697 (getMaxArgumentIdx): ditto
702 * math_parinset.C: add pragma
703 (Write): change the else clause, lessen depth
705 * math_macroarg.h: small whitespace change
707 * array.C: include support/LOstream.h add using ostream and endl
709 * array.h (dump): add std:: on ostream
711 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
713 * math_macrotemplate.h: remove default arg on update
715 * math_macrotemplate.C (update): add assert and remove noop case.
717 * formulamacro.C (Read): add comment.
718 (ascent): remove noop call to MathMacroTemplate
723 * math_parser.C (mathed_parse): fix another potential problem by
724 passing a freestanding mathedarray.
726 * math_root.C (GetData): add const version
728 * math_parinset.C (~MathParInset): delete
729 (GetData): add const version
731 * math_matrixinset.C (MathMatrixInset): delete pointer version,
732 make it a proper copy constructor instead
734 (MathMatrixInset): remvoe default val for m and n
736 * math_macro.C (GetData): add const version
738 * math_fracinset.C (GetData): add const version
740 * math_cursor.C (SelCopy): make p1 and p2 const
741 (SelCut): make p1 and p2 const
743 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
744 (LyxCode): move inline out of class
748 * array.[Ch] (dump): method added for debugging purposes
750 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
751 mathed_parse when reading a matrix.
753 * math_spaceinset.[Ch]: add pragma, make variables private add
754 '_', change order of method definitions.
756 * math_root.h (~MathRootInset): delete
757 Change uroot_ to be a real object instead of a pointer
758 * math_root.C: changes because of the above
760 * math_macro.C (MathMacro(MathMacro*)): delete constructor
761 (MathMacro(MathMacro const &)): new copy constructor
763 * math_inset.h: delete constructor taking a pointer to MathedInset
764 (size, incSize): move inline method
766 * math_funcinset.h: add pragma, remove class vars ln and fname,
767 change protected to private, add '_' to priv vars.
768 (~MathFuncInset): remove
770 * math_fracinset.h: make MathParInset den_ a real object and not a
773 * math_fracinset.C (MathFracInset): clean up, move initalization
774 to initialization list
775 (~MathFracInset): remove
778 * math_draw.C: delete file
780 * math_dotsinset.[Ch]: add pragma
782 * math_bigopinset.h: make protected variables private add '_' to vars.
784 * math_bigopinset.C: move methods to follow class definition order
786 * math_accentinset.h (getAccentCode): move inline here
788 * math_accentinset.C (MathAccentInset): cleanup
791 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
793 * math_inset.[Ch] (MathedInset): remove method
795 * Makefile.am (libmathed_la_SOURCES): correct typo
797 * math_parinset.C (draw): move MathedXiter data(this) up. and
798 remove it two other places.
800 * math_macro.C (MathMacro): use array directly, don't use
801 setArgumentIdx and GetData
803 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
805 * math_macroarg.C (MathMacroArgument): delete
806 * math_macro.C (~MathMacro): delete
807 * math_macrotemplate.C (~MathMacroTemplate): delete
809 * math_decorationinset.[Ch]: add pragma
810 * math_deliminset.[Ch]: likewise
811 * math_fracinset.[Ch]: likewise
812 * math_macroarg.[Ch]: likewise
813 * math_macrotemplate.[Ch]: likewise
814 * math_matrixinset.[Ch]: likewise
816 * formulamacro.C (Read): set contents of tmacro_ to ar.
818 * formulamacro.h: add '_' to private variables.
819 * formalamacro.C: changes because of this.
821 2001-02-23 Juergen Vigna <jug@sad.it>
823 * formula.C (LocalDispatch): changed action to be a kb_action (as it
824 should be) and not an int.
826 * formulamacro.C (LocalDispatch): ditto.
828 2001-02-14 André Pönitz <poenitz@gmx.net>
830 * math_parinset.[Ch]: make array a real MathArray, not just a
833 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
835 * several files: subsequent changes
837 * math_cursor.C: make selarray a proper MathArray
839 * several files: Change "MathedArray *" to "MathedArray &"
842 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
844 * array.C (MathedArray): Fix compilation problem.
846 2001-02-14 André Pönitz <poenitz@gmx.net>
848 * array.[Ch]: "deep" copy constructor and assignment operator for
851 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
853 * math_iter.[Ch]: remove SetData
854 several files: subsequent changes
856 2001-02-14 André Pönitz <poenitz@gmx.net>
858 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
861 * math_iter.C: default-construct and resize array
863 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
865 * math_xiter.h: move ipush and ipop to public, add _ on private
866 variables, move protected var to private, remove friend.
868 * math_cursor.C (insertInset): rename method from Insert also
869 remove default arg val. Call the public methods of xiter instead
870 of private variables.
872 * changes to several files because of the above.
874 2001-02-14 André Pönitz <poenitz@gmx.net>
876 * math_iter.[Ch]: hide fcode_
878 * math_parinset.C: subsequent changes
881 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
883 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
886 * math_write.C: delete file
887 * math_delim.C: delete file
888 * marh_sqrtinset.h: delete file
890 * move funcs to more localized files, more general cleanup.
891 Constify several local vars. Doxygen changes. Formatting.
893 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
895 * support.C: add some consts
897 * matriz.C: clean up a bit.
898 (matmat): remove the for loop.
900 * several files: changes so that several friends can be removed
902 2001-02-14 André Pönitz <poenitz@gmx.net>
904 * formula.C: reformatting
908 math_xiter.[Ch]: remove unneeded members
910 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
914 * formula.C: remove cruft
916 * array.C (begin): new method
919 2001-02-14 André Pönitz <poenitz@gmx.net>
921 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
923 * math_cursor.C: reformatting
925 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
929 * math_matrixinset.C:
930 * math_macrotemplate.C:
935 * math_decorationinset.C:
937 * math_accentinset.C:
938 * math_sqrtinset.C: include LOstream.h and add using directive.
940 2001-02-14 André Pönitz <poenitz@gmx.net>
942 * math_iter.C: reformatting
944 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
946 * math_spaceinset.C (GetSpace): move here
948 * math_parinset.C: add debug.h, move several prev. inlined methods
951 * math_macrotable.C math_xiter.C support.C: add debug.h
953 * math_macro.h: remove debug.h, remove typedefs
955 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
958 * math_hash.C: change some defines to int const. change use of
959 LM_TC_NORMAL to LM_TC_VAR
961 * math_draw.C: delete file
963 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
964 forward decls. remove LM_TC_NORMAL, move inline methods to
965 support.C (and support.h)
967 * math_cursor.C: move several previous inlined methods here
969 * math_bigopinset.h math_dotsinset.h math_funcinset.h
970 math_parinset.h math_spaceinset.h: add math_defs.h
972 * math_accentinset.h: add support.h and math_defs.h
974 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
976 * formula.h: remove unused func decl: OpenMathInset
978 * formula.C math_inset.h: get rid of math_defs.h
980 * array.h: switch to support.h instead of math_defs.h
982 * array.C: remove one include
984 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
986 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
988 * math_parser.C: include macrotable and macrotemplate
990 * math_macrotemplate.[Ch]: new files
992 * math_macrotable.[Ch]: new files
994 * math_macroarg.[Ch]: new files
996 * math_macro.C: move stuff to the new files.
998 * math_cursor.C: include math_macrotable.h
1000 * macro_support.[Ch]: new files
1002 * formulamacro.C: add more includes
1004 * Makefile.am (libmathed_la_SOURCES): add new files.
1006 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1008 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1013 * math_parinset.C: add a bunch of "using" directives.
1016 * math_decorationinset.h:
1017 * math_bigopinset.h:
1018 * math_spaceinset.h: remove more couples of inline.
1020 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1022 * math_xiter.h: remove a couple of "inline"
1024 * array.C (strange_copy): fix bug (hopefully)
1025 * many files: add a lot of new files and move methods to the class
1026 files they belong to. Only first attempt at cleanup more will
1029 2001-02-12 André Pönitz <poenitz@gmx.net>
1031 * math_macro.[hC]: replace MathMacroArgument[] with
1032 std::vector<MathMacroArgument>
1034 math_inset.C: replace int[] with std::vector<int>
1036 * math_symbols.C: replace FL_OBJECTP[] with
1037 std::vector<FL_OBJECT*>
1039 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1041 * math_defs.h (struct MathedRowSt): make all private variables end
1042 with '_', initialize in initializer list instead of in function
1045 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1047 * formula.C (LocalDispatch): Change the default action of
1048 break-line to create an align* environment instead of eqnarray*.
1050 * math_inset.C (Metrics): Correct drawing of the multline
1053 2001-02-12 André Pönitz <poenitz@gmx.net>
1055 * array.[hC]: replace private variable maxsize_ with call to
1057 * math_defs.h: replace int[] by std::vector<int> for
1060 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1062 * array.h: made all variables private, removed friend, added new
1063 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1064 non const operator[] added setter for last and getter for maxsize.
1065 changed name from LyxArrayBase to MathedArray.
1066 changed name of some methods to start with lowerchar.
1067 moved inline methods to array.C
1069 * math_iter.C + several file: changes because of the above.
1071 * array.C: new file with the prev inline methods.
1073 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1075 * Many files: add support for the align environment from amsmath.
1077 2001-02-09 André Pönitz <poenitz@gmx.net>
1079 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1080 * several files: subsequent changes
1081 * math_iter.h: remove unused prototype
1084 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1086 * math_macro.C (draw): add .c_str() to .str() (useful when
1087 compiling with lyxstring, but STL sstream).
1090 2001-02-08 André Pönitz <poenitz@gmx.net>
1092 * several files: get rid of reinterpret_cast.
1094 2001-02-04 Allan Rae <rae@lyx.org>
1096 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1097 just casting the variable.
1099 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1101 * Many files: Add support for multline and alignat environments from
1104 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1106 * math_symbols.C (math_insert_greek): Move cursor right when
1107 unlocking the math inset.
1109 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1111 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1113 * formula.C (LocalDispatch): Before inserting a label in an
1114 eqnarray, move the cursor to the top level.
1116 * math_iter.C (getLabel): Test if crow == 0.
1118 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1120 * math_draw.C (Metrics): Use the correct GetString.