1 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3 * math_matrixinset.C (header_write): Add \n after \begin{align}
5 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7 * math_macrotable.C (builtinMacros): Add some macros if latex
10 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12 * formula.C (insetAllowed): disallow label insertion in inline
15 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17 * formulabase.C (mathDispatchCreation): pass second argument
18 'false' (no label) to selectionAsString
20 2001-09-11 André Pönitz <poenitz@gmx.net>
22 * math_atom.[Ch]: new basic item in the MathArray
24 * array.[Ch]: move code over to math_atom
26 * math_scriptinset.[Ch]:
28 math_cursor.C: try to do with super- and subscripts what TeX does
30 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
32 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
34 2001-09-04 André Pönitz <poenitz@gmx.net>
38 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
39 'xxalignt', 'gather' and 'multiline' environments
41 * math_cursor.C: fix handling of | and \|
43 2001-09-04 José Matos <jamatos@fep.up.pt>
50 * formulamacro.h (docbook): rename docBook method to docbook.
52 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
54 * math_hash.C (ReadSymbols): Check for duplicate symbols
56 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
58 * support.C: added a using std::map directive.
60 2001-08-17 André Pönitz <poenitz@gmx.net>
62 * math_hash.C: Use std::map instead of faking it
64 * symbol_def.h: remove unneeded symbol definitions
66 * support.C: use the decorations' name for drawing
68 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
70 * math_hash.C (in_word_set): Initialize symbol table even when
71 symbols file was not found.
73 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
75 * math_hash.C: added a using std::endl directive.
77 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
79 * support.C (whichFont): Add support for cmr font.
80 Add support for \mathbb.
82 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
84 * math_macrotable.C (builtinMacros): Add 3 builtin macros
86 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
88 * math_hash.C: Read symbols information from external file
89 many files: Add support for latex symbol fonts
91 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
93 * math_parser.C (Parser): Eat spaces after \end_inset
95 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
97 * math_parser.C (tokenize): fix typo
99 2001-08-17 André Pönitz <poenitz@gmx.net>
101 * math_parser.C: new "lexxer"
103 * array.C: write sequences of chars with same code as a unit
105 2001-08-13 André Pönitz <poenitz@gmx.net>
107 * math_factory.[Ch]: new files for the creation of math insets
111 math_hash.C: simplifications
113 * math_binom.[Ch]: new files for "native" \binom/\choose inset
116 math_cursor.C: reading support for TeX style \over and \choose
118 * formulabase.C: re-enabling the "selected text gets converted to
119 math when pressing C-m" feature.
121 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
123 * math_parser.C (lexArg): remove default argument from the .C file
124 as it causes DEC cxx to complain about a redefinition.
126 2001-08-10 André Pönitz <poenitz@gmx.net>
128 * math_scopeinset.[Ch]: new inset for {} blocks
130 * math_accentinset.[Ch]: removed unneeded files
133 math_matrix.[Ch]: start support for "interrow spacing"
135 * all over the place: rework of parser stuff
137 2001-08-08 André Pönitz <poenitz@gmx.net>
139 * math_fracbase.[Ch]:
140 * math_fracinset.[Ch]: new hierarchy
142 * math_stackrelbase.[Ch]: native \stackrel support
144 * math_inset.[Ch]: removal of the name_ member
146 * math_deliminset.[Ch]: rework
148 2001-08-06 André Pönitz <poenitz@gmx.net>
150 * formulamacro.C: fix nasty bug due to missing copy constructor
152 * math_bigopinset.[Ch]: revival for things like \int, \sum
154 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
156 * math_diminset.h: make cache variables mutable, remove const_cast
158 * formulabase.[Ch]: remove unneeded convertFont()
160 * math_funcinset.[Ch]: bring red color back
162 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
163 inset to the mcaro table
165 2001-08-01 André Pönitz <poenitz@gmx.net>
168 formulamacro.C: fix memory leaks
170 * math_matrixinset.C: fix mis-alignment of eqnarray columns
172 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
173 MathMatrixInset * and MathMacroTemplate * to save a few casts
175 * all over the place: everything is an inset now
177 * math_nestinset.[Ch]: new abstract base class for insets containing
180 * math_diminset.[Ch]: new abstract base class for insets that need
181 the width_/ascent_/descent_ cache
183 2001-07-25 André Pönitz <poenitz@gmx.net>
185 * formulabase.C: re-enable 'space enlargement' feature
187 * math_scriptinset.C:
188 math_bigopinset.C: rework of script insets
190 2001-07-22 André Pönitz <poenitz@gmx.net>
192 * math_cursor.C: fix "pullArg" behaviour
194 * math_cursor.C: keep empty super/subscript a bit longer
196 * math_cursor.C: do not move into insets that don't have inner cells yet
198 * formulabase.C: fix memory leak
200 * math_cursor.C: ^ now copies selection into new srriptinset
202 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
205 * math_updowninset.C: fix drawing glitches
207 * math_cursor.C: paste to correct position
209 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * formula.C (insetAllowed): allow insertion of label
213 2001-07-20 André Pönitz <poenitz@gmx.net>
215 * math_macrotable.C: support for \land and \vee
217 2001-07-16 André Pönitz <poenitz@gmx.net>
219 * math_grid.[Ch] -> math_gridinset.[Ch]
220 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
222 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
223 fix 'mathed reports wrong width', cosmetics
225 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * math_cursor.C (operator==): moved ouf of struct
229 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
231 2001-07-16 André Pönitz <poenitz@gmx.net>
233 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
235 * several files: supporting changes
237 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
239 Consistent use of Lsstream.h:
240 * formula.C: removed using std::ostringstream directive.
242 * math_cursor.C: std::istringstream -> istringstream.
244 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
246 * math_decorationinset.h: add std:: qualifier
248 2001-07-12 André Pönitz <poenitz@gmx.net>
250 * math_updowninset.[hC]: new base class for script and bigop insets
251 *.[hC]: subsequent changes to all Metric() functions
253 * math_parser.C: small changes (\sqrt0 is read properly now)
255 2001-07-10 André Pönitz <poenitz@gmx.net>
257 * math_accentinset.[hC]: rewrite
260 math_cursor.C: subsequent changes
262 * math_grid.C: <Delete> in the first cell of a completely empty row
263 deletes that row, <C-Return> places the cursor in the first of the
266 * math_grid.C: try to split cell nicely when mutating from single-cell
267 to multi-cell environment
269 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
271 * math_matrixinset.C (mutate): Use only the first label when
272 mutating eqnarray to display formula.
274 2001-07-09 Juergen Vigna <jug@sad.it>
276 * formulabase.C (mathDispatchCreation): don't do anything with the
277 inset if it cannot be inserted!
279 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
281 * formulabase.C (mathDispatchInsertMath): remove bogus return
284 2001-07-09 André Pönitz <poenitz@gmx.net>
286 * math_*inset.C: Change order of arguments in MathInset constructor
288 * math_cursor.C: Remove broken "increase space" feature for a while
290 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
292 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
294 2001-07-04 André Pönitz <poenitz@gmx.net>
296 * math_parser.C: fix reading of "unusual" alpha chars
298 * xarray.[hC]: fix debug output of xarray
300 2001-07-03 André Pönitz <poenitz@gmx.net>
302 * math_parser.C: fix bug where equations did not get their labels
304 * formulabase.C: new feature: changing font on selection
306 * several files: subsequent changes
308 * array.C: fix bug when insets have not been cloned properly
309 This should fix quite a few "random" crashes...
311 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
313 * formulabase.C (localDispatch): use .c_str() on istringstream
314 constructor argument.
316 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
318 * math_grid.C (addCol): add second argument to cellinfo_.insert.
319 Cleanup a bit the code.
320 (appendRow): do not call push_back without argument.
322 * *.C: remove all "using namespace std" directives (not
323 good!!) and replaced it with relevant "using" directives.
325 * math_macrotemplate.C (Clone): change return type to MathInset*
327 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
329 * math_sizeinset.C: include support/LOstream.h
331 * math_scriptinset.C (Metrics): std:: qualify max
333 * math_root.C (Metrics): std:: qualify max
334 (Write): std:: qualify ostream
337 * math_matrixinset.C (getLabelList): std:: qualify vector
339 (Metrics): std:: qualify max
340 (header_write): std:: qualify ostream
341 (footer_write): ditto
343 * math_macrotemplate.C (Write): std:: qualify ostream
345 * math_bigopinset.C (Metrics): std:: qualify max, and include
348 * math_matrixinset.h: include vector and std:: qualify it.
350 * array.C (GetInset): get a pointer to the first element of bf_
353 2001-06-25 The LyX Project <Asger>
355 * math_scriptinset.C: Fix for entering with cursor up/down.
357 * math_fracinset.C: We can enter fractions with cursor up and
360 * math_cursor.C (Right): Fixes for cursor movement.
362 * formula.C (draw): New background color for math.
364 * math_cursor.C: Fixes for toggling labels on/off in math.
365 Fixes for infinity and other symbols that didn't appear in
368 2001-06-24 The LyX Project <Asger>
370 * math_inset.C: Cursor movement is better in square roots, among
373 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
374 cursor up/down movement. What not.
376 2001-06-24 The LyX Project <Asger>
378 * math_matrixinset.C: Hidden labels are hidden, unless a small
379 dragon jumps out of the screen, and pronounce them to the entire
382 2001-06-24 The LyX Project <Easter egg>
384 * math_cursor.C: Cursor improvements after a few dead-ends
385 in the evolution of cursor movement were tested and scrapped.
387 2001-06-24 The LyX Project <Asger>
389 * math_cursor.C: Renamed stack to path.
391 2001-06-24 The LyX Project <André>
394 Makefile.am: The Big Patch
395 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
396 new MathScriptInset for up/down stuff;
397 delete MathIter/MatXIter, MathParInset, MathRowSt
398 Changes to the inset inheritance tree, reunification of abstract math
400 label/numbering handling back to life;
401 major changes to the parser(s);
402 new base class FormulaBase for the two math LyXInsets;
403 general cleanup and cosmetic changes)
405 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
408 * math_root.C: removed // -*- C++ -*- as first line.
410 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
412 * array.C: bring memmove into main namespace if necessary
414 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
416 * math_parser.C (yylex): use contains instead of strchr
417 (parse_align): remove last arg, change to take string const & as
419 (mathed_parse): use string for ar2 and ar, adjust
421 * math_decorationinset.C (Write): use compare instead of strcmp
423 * formula.C (LocalDispatch): change arg2 to string, adjust for this
424 (LocalDispatch): add std::
425 (LocalDispatch): use contains instead of strchr
427 * array.C (move): add std::
429 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
431 * matriz.C: add using directives when needed for C functions
432 declared in std:: namespace.
434 * math_macrotemplate.h: do not use explicitely std::string, but
437 * math_macroarg.C: avoid bringing the whole std:: namespace in
438 global-land. When you do that, there is an ambiguity between
439 lyxstring and std::string (which may be defined at the same time).
441 * formula.C (HandleExtern): add .c_str() to .str() (useful when
444 2001-04-27 André Pönitz <poenitz@gmx.net>
446 * math_parser.C: fix \frac handling bug introduced on 04-24
447 * math_xiter.C: hotfix for merging "shared" insets
448 * formula.C: fixing display after using math-insert
450 2001-04-25 André Pönitz <poenitz@gmx.net>
452 * math_*.[Ch]: WriteNormal
453 * formula.C: Support for new "math extern" command
454 * math_parser.C: fix \frac handling bug introduced on 04-24
455 * math_xiter.C: hotfix for merging "shared" insets
457 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
459 * math_macrotable.C: include <iostream>
461 2001-04-24 André Pönitz <poenitz@gmx.net>
464 * math_macrotable.[Ch]:
465 * math_macroarg.[Ch]: restructuring of macro handling
468 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
470 * array.h (operator<<):
471 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
473 * math_macrotable.C: added using std::make_pair directive.
474 (dump): added using std::cerr directive here as I guess that this is
477 2001-04-20 Allan Rae <rae@lyx.org>
479 * formula.C (LocalDispatch): fixed another #warning. Guess who.
481 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
483 * math_macrotemplate.h: inherit privately from noncopyable
485 * math_macro.C (Metrics): reindent, use unsigned int as loop var
486 (setArgumentIdx): change test to avoid unsigned warning
488 * formula.C (LocalDispatch): use LFUN_MESSAGE
490 2001-04-16 Allan Rae <rae@lyx.org>
492 * formula.C (Latex, getLabelList, LocalDispatch):
493 * math_parser.C (mathed_parse):
494 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
495 an unrecognised preprocessor directive. So ensure they're wrapped.
497 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
499 * formula.C (draw): adjust for cursor_visible
500 (ToggleInsetCursor): adjust for cursor_visible and constify asc
502 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
503 (HideInsetCursor): adjust for cursor_visible
504 (LocalDispatch): constify default_label and res
506 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
508 * math_rowst.C: add missing #include <config.h>.
510 2001-03-16 André Pönitz <poenitz@gmx.net>
512 * math_matrixinset.h:
513 * math_parinset.[Ch]:
514 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
516 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
524 * math_symbols.C: maths panel moved to GUII
526 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
528 * math_cursor.C: use lyxerr instead of cerr.
530 2001-03-15 André Pönitz <poenitz@gmx.net>
532 * math_cursor.C: fix bug (cursor was leaving two insets at a time
535 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
537 * math_macrotable.h: noncopyable is in namespace boost
538 * math_macrotemplate.h: ditto
540 * math_rowst.h: make MathedRowContainer::iterator public.
542 2001-03-15 André Pönitz <poenitz@gmx.net>
544 * math_parser.C: read '\nonumber' again (was broken)
546 * math_rowst.C: new file
548 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
550 * math_cursor.C: added using directive.
552 2001-03-15 André Pönitz <poenitz@gmx.net>
554 * math_rowst.h: Finally remove MathedRowSt
557 math_xiter.C: changed accordingly
559 2001-03-12 André Pönitz <poenitz@gmx.net>
561 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
562 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
564 2001-03-10 André Pönitz <poenitz@gmx.net>
567 math_matrixinset.C: move adjustVerticalSt to the only place where
568 it is used. Fix a small bug where the cached row structure and the
569 actual data get out of sync after the deletion of whole rows
571 2001-03-09 André Pönitz <poenitz@gmx.net>
573 * math_cursor.C: use std::vector<> in MathStackXIter
574 change selstk from a pointer to the "real thing"
576 * math_rowst.h: new MathedRowContainer::erase method
578 * math_xiter.C: use MathedRowContainer::erase
580 * math_parser.C: use MathedRowContainer::insert_after
582 2001-03-08 André Pönitz <poenitz@gmx.net>
584 * math_rowst.h: give MathedRowContainer an 'insert' method.
586 * math_xiter.C: new 'container()' method to encapsulated access to
587 the MathParInset's MathedRowContainer
589 * math_rowst.h: proper copy constructor and destructor for
592 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
593 automatically created by the compiler are ok now.
595 2001-03-06 André Pönitz <poenitz@gmx.net>
597 * array.[Ch]: factor out deep_copy,
598 remove third argument from raw_pointer_insert
600 * math_iter.[Ch]: remove unused function Clear()
602 * math_cursor.C: change signature of MathStackXIter:push()
605 * math_rowst.h: introduction of MathRowContainer
606 several files: corresponding changes
608 2001-03-04 André Pönitz <poenitz@gmx.net>
610 * math_macrotemplate.[Ch]:
611 math_macro.C: move update() functionality to the macro
613 * math_rowst.h: split MathedRowSt into "data" and "list"
615 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
617 * math_macrotemplate.C (update): use MathMacro::getArg, and
618 receive a const reference.
619 (getMacroPar): add an Assert
621 * math_macrotemplate.h: make MathMacro a friend, make update take
624 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
625 and store a MathMacroArgument in the vector
626 * math_macro.C: changes because of the above.
629 * math_parser.C (mathed_parse): plug potential leak
631 * math_iter.h: add comment on virtual destructor
633 * math_iter.C (Delete): make c const
635 * math_parinset.C (Metrics): cleanup indent. make one string const.
637 * math_inset.C (size): move out of line
640 * math_macroarg.h: remove default constructor
642 * math_macroarg.C: include Lsstream.h instead of debug.h
643 (MathMacroArgument): remove default constructor
644 (Write): add std:: on ostream arg
646 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
649 * formula.C: make DEBUG into lyxerr
651 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
653 * math_macrotemplate.h: make noncopyable, remove last arg to
654 constructor, remove flags_ add edit_
655 (flags): remove method
657 * math_macrotemplate.C (setArgument): delete method
658 (update): make idx const
659 (Metrics): use edit_, remove flags_
660 (draw): use edit_, remove flags_
661 (setEditMode): set edit_, remove flags_
662 (MathMacroTemplate): initialize edit_, remove flags_
664 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
665 shared_ptr, let constructor take a shared_ptr
667 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
669 (draw): remove unneded update, remove removed update of x,y
670 (GetXY): call tmplates GetMacroXY directly
671 (SetFocus): call Metrics() instead of update()
672 (Write): remove support for math macro environments, simplifications.
674 * math_macrotable.h: make class noncopyable, change getMacro to
675 createMacro, change vector to map store a
676 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
678 * math_macrotable.C: add pragma
679 (createMacro): change name from getMacro, use shared_ptr
680 (getTemplate): Use map lookup to get macro, return shared_ptr
681 (addTemplate): assert that m containse a valid pointer, use map[]
683 (builtinMacros): by using shared_ptr fix the mem leak, remove
684 commented out unsupported macros
686 * math_cursor.C: changes because of the above
687 * math_parser.C: changes because of the abobe
689 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
690 default arg on constructor.
691 * formulamacro.C: changes because of the above
693 * math_parinset.h: add pragma
694 (SetAlign): move inline out of class def
698 (setArgumentIdx): ditto
699 (setNextArgIdx): ditto
700 (getArgumentIdx): ditto
701 (getMaxArgumentIdx): ditto
706 * math_parinset.C: add pragma
707 (Write): change the else clause, lessen depth
709 * math_macroarg.h: small whitespace change
711 * array.C: include support/LOstream.h add using ostream and endl
713 * array.h (dump): add std:: on ostream
715 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
717 * math_macrotemplate.h: remove default arg on update
719 * math_macrotemplate.C (update): add assert and remove noop case.
721 * formulamacro.C (Read): add comment.
722 (ascent): remove noop call to MathMacroTemplate
727 * math_parser.C (mathed_parse): fix another potential problem by
728 passing a freestanding mathedarray.
730 * math_root.C (GetData): add const version
732 * math_parinset.C (~MathParInset): delete
733 (GetData): add const version
735 * math_matrixinset.C (MathMatrixInset): delete pointer version,
736 make it a proper copy constructor instead
738 (MathMatrixInset): remvoe default val for m and n
740 * math_macro.C (GetData): add const version
742 * math_fracinset.C (GetData): add const version
744 * math_cursor.C (SelCopy): make p1 and p2 const
745 (SelCut): make p1 and p2 const
747 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
748 (LyxCode): move inline out of class
752 * array.[Ch] (dump): method added for debugging purposes
754 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
755 mathed_parse when reading a matrix.
757 * math_spaceinset.[Ch]: add pragma, make variables private add
758 '_', change order of method definitions.
760 * math_root.h (~MathRootInset): delete
761 Change uroot_ to be a real object instead of a pointer
762 * math_root.C: changes because of the above
764 * math_macro.C (MathMacro(MathMacro*)): delete constructor
765 (MathMacro(MathMacro const &)): new copy constructor
767 * math_inset.h: delete constructor taking a pointer to MathedInset
768 (size, incSize): move inline method
770 * math_funcinset.h: add pragma, remove class vars ln and fname,
771 change protected to private, add '_' to priv vars.
772 (~MathFuncInset): remove
774 * math_fracinset.h: make MathParInset den_ a real object and not a
777 * math_fracinset.C (MathFracInset): clean up, move initalization
778 to initialization list
779 (~MathFracInset): remove
782 * math_draw.C: delete file
784 * math_dotsinset.[Ch]: add pragma
786 * math_bigopinset.h: make protected variables private add '_' to vars.
788 * math_bigopinset.C: move methods to follow class definition order
790 * math_accentinset.h (getAccentCode): move inline here
792 * math_accentinset.C (MathAccentInset): cleanup
795 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
797 * math_inset.[Ch] (MathedInset): remove method
799 * Makefile.am (libmathed_la_SOURCES): correct typo
801 * math_parinset.C (draw): move MathedXiter data(this) up. and
802 remove it two other places.
804 * math_macro.C (MathMacro): use array directly, don't use
805 setArgumentIdx and GetData
807 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
809 * math_macroarg.C (MathMacroArgument): delete
810 * math_macro.C (~MathMacro): delete
811 * math_macrotemplate.C (~MathMacroTemplate): delete
813 * math_decorationinset.[Ch]: add pragma
814 * math_deliminset.[Ch]: likewise
815 * math_fracinset.[Ch]: likewise
816 * math_macroarg.[Ch]: likewise
817 * math_macrotemplate.[Ch]: likewise
818 * math_matrixinset.[Ch]: likewise
820 * formulamacro.C (Read): set contents of tmacro_ to ar.
822 * formulamacro.h: add '_' to private variables.
823 * formalamacro.C: changes because of this.
825 2001-02-23 Juergen Vigna <jug@sad.it>
827 * formula.C (LocalDispatch): changed action to be a kb_action (as it
828 should be) and not an int.
830 * formulamacro.C (LocalDispatch): ditto.
832 2001-02-14 André Pönitz <poenitz@gmx.net>
834 * math_parinset.[Ch]: make array a real MathArray, not just a
837 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
839 * several files: subsequent changes
841 * math_cursor.C: make selarray a proper MathArray
843 * several files: Change "MathedArray *" to "MathedArray &"
846 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
848 * array.C (MathedArray): Fix compilation problem.
850 2001-02-14 André Pönitz <poenitz@gmx.net>
852 * array.[Ch]: "deep" copy constructor and assignment operator for
855 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
857 * math_iter.[Ch]: remove SetData
858 several files: subsequent changes
860 2001-02-14 André Pönitz <poenitz@gmx.net>
862 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
865 * math_iter.C: default-construct and resize array
867 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
869 * math_xiter.h: move ipush and ipop to public, add _ on private
870 variables, move protected var to private, remove friend.
872 * math_cursor.C (insertInset): rename method from Insert also
873 remove default arg val. Call the public methods of xiter instead
874 of private variables.
876 * changes to several files because of the above.
878 2001-02-14 André Pönitz <poenitz@gmx.net>
880 * math_iter.[Ch]: hide fcode_
882 * math_parinset.C: subsequent changes
885 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
887 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
890 * math_write.C: delete file
891 * math_delim.C: delete file
892 * marh_sqrtinset.h: delete file
894 * move funcs to more localized files, more general cleanup.
895 Constify several local vars. Doxygen changes. Formatting.
897 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
899 * support.C: add some consts
901 * matriz.C: clean up a bit.
902 (matmat): remove the for loop.
904 * several files: changes so that several friends can be removed
906 2001-02-14 André Pönitz <poenitz@gmx.net>
908 * formula.C: reformatting
912 math_xiter.[Ch]: remove unneeded members
914 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
918 * formula.C: remove cruft
920 * array.C (begin): new method
923 2001-02-14 André Pönitz <poenitz@gmx.net>
925 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
927 * math_cursor.C: reformatting
929 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
933 * math_matrixinset.C:
934 * math_macrotemplate.C:
939 * math_decorationinset.C:
941 * math_accentinset.C:
942 * math_sqrtinset.C: include LOstream.h and add using directive.
944 2001-02-14 André Pönitz <poenitz@gmx.net>
946 * math_iter.C: reformatting
948 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
950 * math_spaceinset.C (GetSpace): move here
952 * math_parinset.C: add debug.h, move several prev. inlined methods
955 * math_macrotable.C math_xiter.C support.C: add debug.h
957 * math_macro.h: remove debug.h, remove typedefs
959 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
962 * math_hash.C: change some defines to int const. change use of
963 LM_TC_NORMAL to LM_TC_VAR
965 * math_draw.C: delete file
967 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
968 forward decls. remove LM_TC_NORMAL, move inline methods to
969 support.C (and support.h)
971 * math_cursor.C: move several previous inlined methods here
973 * math_bigopinset.h math_dotsinset.h math_funcinset.h
974 math_parinset.h math_spaceinset.h: add math_defs.h
976 * math_accentinset.h: add support.h and math_defs.h
978 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
980 * formula.h: remove unused func decl: OpenMathInset
982 * formula.C math_inset.h: get rid of math_defs.h
984 * array.h: switch to support.h instead of math_defs.h
986 * array.C: remove one include
988 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
990 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
992 * math_parser.C: include macrotable and macrotemplate
994 * math_macrotemplate.[Ch]: new files
996 * math_macrotable.[Ch]: new files
998 * math_macroarg.[Ch]: new files
1000 * math_macro.C: move stuff to the new files.
1002 * math_cursor.C: include math_macrotable.h
1004 * macro_support.[Ch]: new files
1006 * formulamacro.C: add more includes
1008 * Makefile.am (libmathed_la_SOURCES): add new files.
1010 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1012 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1017 * math_parinset.C: add a bunch of "using" directives.
1020 * math_decorationinset.h:
1021 * math_bigopinset.h:
1022 * math_spaceinset.h: remove more couples of inline.
1024 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1026 * math_xiter.h: remove a couple of "inline"
1028 * array.C (strange_copy): fix bug (hopefully)
1029 * many files: add a lot of new files and move methods to the class
1030 files they belong to. Only first attempt at cleanup more will
1033 2001-02-12 André Pönitz <poenitz@gmx.net>
1035 * math_macro.[hC]: replace MathMacroArgument[] with
1036 std::vector<MathMacroArgument>
1038 math_inset.C: replace int[] with std::vector<int>
1040 * math_symbols.C: replace FL_OBJECTP[] with
1041 std::vector<FL_OBJECT*>
1043 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1045 * math_defs.h (struct MathedRowSt): make all private variables end
1046 with '_', initialize in initializer list instead of in function
1049 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1051 * formula.C (LocalDispatch): Change the default action of
1052 break-line to create an align* environment instead of eqnarray*.
1054 * math_inset.C (Metrics): Correct drawing of the multline
1057 2001-02-12 André Pönitz <poenitz@gmx.net>
1059 * array.[hC]: replace private variable maxsize_ with call to
1061 * math_defs.h: replace int[] by std::vector<int> for
1064 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1066 * array.h: made all variables private, removed friend, added new
1067 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1068 non const operator[] added setter for last and getter for maxsize.
1069 changed name from LyxArrayBase to MathedArray.
1070 changed name of some methods to start with lowerchar.
1071 moved inline methods to array.C
1073 * math_iter.C + several file: changes because of the above.
1075 * array.C: new file with the prev inline methods.
1077 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1079 * Many files: add support for the align environment from amsmath.
1081 2001-02-09 André Pönitz <poenitz@gmx.net>
1083 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1084 * several files: subsequent changes
1085 * math_iter.h: remove unused prototype
1088 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1090 * math_macro.C (draw): add .c_str() to .str() (useful when
1091 compiling with lyxstring, but STL sstream).
1094 2001-02-08 André Pönitz <poenitz@gmx.net>
1096 * several files: get rid of reinterpret_cast.
1098 2001-02-04 Allan Rae <rae@lyx.org>
1100 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1101 just casting the variable.
1103 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1105 * Many files: Add support for multline and alignat environments from
1108 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1110 * math_symbols.C (math_insert_greek): Move cursor right when
1111 unlocking the math inset.
1113 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1115 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1117 * formula.C (LocalDispatch): Before inserting a label in an
1118 eqnarray, move the cursor to the top level.
1120 * math_iter.C (getLabel): Test if crow == 0.
1122 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1124 * math_draw.C (Metrics): Use the correct GetString.