1 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
3 * math_kerninset.C (metrics): Consider lyxrc.zoom
5 2001-12-14 Dekel Tsur <dekelts@tau.ac.il>
7 * math_support.C: Fix handling of \mathfrak font.
9 2001-12-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * math_iterator.C (nextInset): compilation fix.
13 2001-12-11 André Pönitz <poenitz@gmx.net>
17 * math_hash.C: support for \mathfrak
19 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
21 * math_streamstr.C: #include <iostream> to compile with DEC cxx
23 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
27 * math_decorationinset.C:
33 * math_funcliminset.C:
40 * math_unknowninset.C: include math_streamstr.h and remove
43 * math_symbolinset.[Ch]: add constructor taking string
45 * math_mathmlstream.C: move includes around
47 * math_streamstr.[Ch]: add operator<<(Stream, string) for
48 NormalStream, MapleStream, MathMLStream and OctaveStream
50 * math_gridinset.C: user LyXLength::zero
52 2001-11-19 Angus Leeming <a.leeming@ic.ac.uk>
55 * math_arrayinset.C: add using std::getline directive.
57 2001-11-20 André Pönitz <poenitz@gmx.net>
59 * formulabase.C: fix mouse positioning using the cursor
61 2001-11-19 Dekel Tsur <dekelts@tau.ac.il>
63 * math_mathmlstream.C (operator<<): Count '\n' chars
65 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
68 * math_hullinset.C: Fixes to use the new LaTeXFeatures
71 2001-11-07 André Pönitz <poenitz@gmx.net>
73 * math_extern.C: support for integrals, sums, e^x, and d/dx
75 2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
77 * math_extern.C (extractNumber):
78 (extractDiffExponent): add ugly .c_str()
80 2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
82 * math_arrayinset.C (MathArrayInset):
83 * formula.C (pipeThroughMaple):
84 (pipeThroughOctave): add ugly .c_str() to help compile
87 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
89 * math_inset.C: compilation fix
91 2001-11-07 André Pönitz <poenitz@gmx.net>
94 * array.[Ch]: start native C++ support for Octave, Maple and MathML
96 2001-10-31 Angus Leeming <a.leeming@ic.ac.uk>
98 * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
100 2001-10-24 Angus Leeming <a.leeming@ic.ac.uk>
102 * math_nestinset.C: added using std::max, min directives.
103 * math_scriptinset.C: added using std::ostream directive.
104 * math_scriptinset.h: replaced ostream with std::ostream.
106 2001-10-17 André Pönitz <poenitz@gmx.net>
108 * math_*inset.[Ch]: remove MathStyles cache from insets that
112 formulabase.C: fix math font sizes in headings etc
115 formula.C: remove unused static member int MathInset::workwidth
117 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
119 2001-10-17 André Pönitz <poenitz@gmx.net>
122 * *.[Ch]: make output more stream-like
124 2001-10-17 André Pönitz <poenitz@gmx.net>
127 * array.C: add missing/broken writeNormal()
129 * math_lefteqn.[Ch]: some visual support for \lefteqn
132 2001-10-10 André Pönitz <poenitz@gmx.net>
134 * math_cursor.C: introduce dummy "inner" position "between"
135 nucleus and scripts for smoother cursor movement
137 * math_cursor.C: use red dot to indicate empty nucleus
140 2001-10-02 André Pönitz <poenitz@gmx.net>
142 * math_cursor.C: leave red backslash as visual clue
143 in formula when typing macro names
145 * math_macrotemplate.C: sanity check
147 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
150 * formula.C (localDispatch): fix a few of local variable sizes
152 * math_fracbase.C: change parameter types to match MathInset
154 2001-10-01 André Pönitz <poenitz@gmx.net>
156 * math_cursor.[Ch]: remove local parInset() method
158 * math_macro.C: add a static_cast
160 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
162 * math_cursor.C: fix type mismatches with what was declared in
165 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
167 * math_matrixinset.C (header_write): Add \n after \begin{align}
169 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
171 * math_macrotable.C (builtinMacros): Add some macros if latex
174 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
176 * formula.C (insetAllowed): disallow label insertion in inline
179 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
181 * formulabase.C (mathDispatchCreation): pass second argument
182 'false' (no label) to selectionAsString
184 2001-09-11 André Pönitz <poenitz@gmx.net>
186 * math_atom.[Ch]: new basic item in the MathArray
188 * array.[Ch]: move code over to math_atom
190 * math_scriptinset.[Ch]:
192 math_cursor.C: try to do with super- and subscripts what TeX does
194 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
196 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
198 2001-09-04 André Pönitz <poenitz@gmx.net>
202 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
203 'xxalignt', 'gather' and 'multiline' environments
205 * math_cursor.C: fix handling of | and \|
207 2001-09-04 José Matos <jamatos@fep.up.pt>
214 * formulamacro.h (docbook): rename docBook method to docbook.
216 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
218 * math_hash.C (ReadSymbols): Check for duplicate symbols
220 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
222 * support.C: added a using std::map directive.
224 2001-08-17 André Pönitz <poenitz@gmx.net>
226 * math_hash.C: Use std::map instead of faking it
228 * symbol_def.h: remove unneeded symbol definitions
230 * support.C: use the decorations' name for drawing
232 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
234 * math_hash.C (in_word_set): Initialize symbol table even when
235 symbols file was not found.
237 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
239 * math_hash.C: added a using std::endl directive.
241 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
243 * support.C (whichFont): Add support for cmr font.
244 Add support for \mathbb.
246 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
248 * math_macrotable.C (builtinMacros): Add 3 builtin macros
250 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
252 * math_hash.C: Read symbols information from external file
253 many files: Add support for latex symbol fonts
255 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
257 * math_parser.C (Parser): Eat spaces after \end_inset
259 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * math_parser.C (tokenize): fix typo
263 2001-08-17 André Pönitz <poenitz@gmx.net>
265 * math_parser.C: new "lexxer"
267 * array.C: write sequences of chars with same code as a unit
269 2001-08-13 André Pönitz <poenitz@gmx.net>
271 * math_factory.[Ch]: new files for the creation of math insets
275 math_hash.C: simplifications
277 * math_binom.[Ch]: new files for "native" \binom/\choose inset
280 math_cursor.C: reading support for TeX style \over and \choose
282 * formulabase.C: re-enabling the "selected text gets converted to
283 math when pressing C-m" feature.
285 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
287 * math_parser.C (lexArg): remove default argument from the .C file
288 as it causes DEC cxx to complain about a redefinition.
290 2001-08-10 André Pönitz <poenitz@gmx.net>
292 * math_scopeinset.[Ch]: new inset for {} blocks
294 * math_accentinset.[Ch]: removed unneeded files
297 math_matrix.[Ch]: start support for "interrow spacing"
299 * all over the place: rework of parser stuff
301 2001-08-08 André Pönitz <poenitz@gmx.net>
303 * math_fracbase.[Ch]:
304 * math_fracinset.[Ch]: new hierarchy
306 * math_stackrelbase.[Ch]: native \stackrel support
308 * math_inset.[Ch]: removal of the name_ member
310 * math_deliminset.[Ch]: rework
312 2001-08-06 André Pönitz <poenitz@gmx.net>
314 * formulamacro.C: fix nasty bug due to missing copy constructor
316 * math_bigopinset.[Ch]: revival for things like \int, \sum
318 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
320 * math_diminset.h: make cache variables mutable, remove const_cast
322 * formulabase.[Ch]: remove unneeded convertFont()
324 * math_funcinset.[Ch]: bring red color back
326 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
327 inset to the mcaro table
329 2001-08-01 André Pönitz <poenitz@gmx.net>
332 formulamacro.C: fix memory leaks
334 * math_matrixinset.C: fix mis-alignment of eqnarray columns
336 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
337 MathMatrixInset * and MathMacroTemplate * to save a few casts
339 * all over the place: everything is an inset now
341 * math_nestinset.[Ch]: new abstract base class for insets containing
344 * math_diminset.[Ch]: new abstract base class for insets that need
345 the width_/ascent_/descent_ cache
347 2001-07-25 André Pönitz <poenitz@gmx.net>
349 * formulabase.C: re-enable 'space enlargement' feature
351 * math_scriptinset.C:
352 math_bigopinset.C: rework of script insets
354 2001-07-22 André Pönitz <poenitz@gmx.net>
356 * math_cursor.C: fix "pullArg" behaviour
358 * math_cursor.C: keep empty super/subscript a bit longer
360 * math_cursor.C: do not move into insets that don't have inner cells yet
362 * formulabase.C: fix memory leak
364 * math_cursor.C: ^ now copies selection into new srriptinset
366 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
369 * math_updowninset.C: fix drawing glitches
371 * math_cursor.C: paste to correct position
373 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * formula.C (insetAllowed): allow insertion of label
377 2001-07-20 André Pönitz <poenitz@gmx.net>
379 * math_macrotable.C: support for \land and \vee
381 2001-07-16 André Pönitz <poenitz@gmx.net>
383 * math_grid.[Ch] -> math_gridinset.[Ch]
384 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
386 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
387 fix 'mathed reports wrong width', cosmetics
389 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
391 * math_cursor.C (operator==): moved ouf of struct
393 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
395 2001-07-16 André Pönitz <poenitz@gmx.net>
397 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
399 * several files: supporting changes
401 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
403 Consistent use of Lsstream.h:
404 * formula.C: removed using std::ostringstream directive.
406 * math_cursor.C: std::istringstream -> istringstream.
408 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
410 * math_decorationinset.h: add std:: qualifier
412 2001-07-12 André Pönitz <poenitz@gmx.net>
414 * math_updowninset.[hC]: new base class for script and bigop insets
415 *.[hC]: subsequent changes to all Metric() functions
417 * math_parser.C: small changes (\sqrt0 is read properly now)
419 2001-07-10 André Pönitz <poenitz@gmx.net>
421 * math_accentinset.[hC]: rewrite
424 math_cursor.C: subsequent changes
426 * math_grid.C: <Delete> in the first cell of a completely empty row
427 deletes that row, <C-Return> places the cursor in the first of the
430 * math_grid.C: try to split cell nicely when mutating from single-cell
431 to multi-cell environment
433 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
435 * math_matrixinset.C (mutate): Use only the first label when
436 mutating eqnarray to display formula.
438 2001-07-09 Juergen Vigna <jug@sad.it>
440 * formulabase.C (mathDispatchCreation): don't do anything with the
441 inset if it cannot be inserted!
443 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
445 * formulabase.C (mathDispatchInsertMath): remove bogus return
448 2001-07-09 André Pönitz <poenitz@gmx.net>
450 * math_*inset.C: Change order of arguments in MathInset constructor
452 * math_cursor.C: Remove broken "increase space" feature for a while
454 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
456 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
458 2001-07-04 André Pönitz <poenitz@gmx.net>
460 * math_parser.C: fix reading of "unusual" alpha chars
462 * xarray.[hC]: fix debug output of xarray
464 2001-07-03 André Pönitz <poenitz@gmx.net>
466 * math_parser.C: fix bug where equations did not get their labels
468 * formulabase.C: new feature: changing font on selection
470 * several files: subsequent changes
472 * array.C: fix bug when insets have not been cloned properly
473 This should fix quite a few "random" crashes...
475 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
477 * formulabase.C (localDispatch): use .c_str() on istringstream
478 constructor argument.
480 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
482 * math_grid.C (addCol): add second argument to cellinfo_.insert.
483 Cleanup a bit the code.
484 (appendRow): do not call push_back without argument.
486 * *.C: remove all "using namespace std" directives (not
487 good!!) and replaced it with relevant "using" directives.
489 * math_macrotemplate.C (Clone): change return type to MathInset*
491 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * math_sizeinset.C: include support/LOstream.h
495 * math_scriptinset.C (Metrics): std:: qualify max
497 * math_root.C (Metrics): std:: qualify max
498 (Write): std:: qualify ostream
501 * math_matrixinset.C (getLabelList): std:: qualify vector
503 (Metrics): std:: qualify max
504 (header_write): std:: qualify ostream
505 (footer_write): ditto
507 * math_macrotemplate.C (Write): std:: qualify ostream
509 * math_bigopinset.C (Metrics): std:: qualify max, and include
512 * math_matrixinset.h: include vector and std:: qualify it.
514 * array.C (GetInset): get a pointer to the first element of bf_
517 2001-06-25 The LyX Project <Asger>
519 * math_scriptinset.C: Fix for entering with cursor up/down.
521 * math_fracinset.C: We can enter fractions with cursor up and
524 * math_cursor.C (Right): Fixes for cursor movement.
526 * formula.C (draw): New background color for math.
528 * math_cursor.C: Fixes for toggling labels on/off in math.
529 Fixes for infinity and other symbols that didn't appear in
532 2001-06-24 The LyX Project <Asger>
534 * math_inset.C: Cursor movement is better in square roots, among
537 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
538 cursor up/down movement. What not.
540 2001-06-24 The LyX Project <Asger>
542 * math_matrixinset.C: Hidden labels are hidden, unless a small
543 dragon jumps out of the screen, and pronounce them to the entire
546 2001-06-24 The LyX Project <Easter egg>
548 * math_cursor.C: Cursor improvements after a few dead-ends
549 in the evolution of cursor movement were tested and scrapped.
551 2001-06-24 The LyX Project <Asger>
553 * math_cursor.C: Renamed stack to path.
555 2001-06-24 The LyX Project <André>
558 Makefile.am: The Big Patch
559 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
560 new MathScriptInset for up/down stuff;
561 delete MathIter/MatXIter, MathParInset, MathRowSt
562 Changes to the inset inheritance tree, reunification of abstract math
564 label/numbering handling back to life;
565 major changes to the parser(s);
566 new base class FormulaBase for the two math LyXInsets;
567 general cleanup and cosmetic changes)
569 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
572 * math_root.C: removed // -*- C++ -*- as first line.
574 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
576 * array.C: bring memmove into main namespace if necessary
578 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
580 * math_parser.C (yylex): use contains instead of strchr
581 (parse_align): remove last arg, change to take string const & as
583 (mathed_parse): use string for ar2 and ar, adjust
585 * math_decorationinset.C (Write): use compare instead of strcmp
587 * formula.C (LocalDispatch): change arg2 to string, adjust for this
588 (LocalDispatch): add std::
589 (LocalDispatch): use contains instead of strchr
591 * array.C (move): add std::
593 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
595 * matriz.C: add using directives when needed for C functions
596 declared in std:: namespace.
598 * math_macrotemplate.h: do not use explicitely std::string, but
601 * math_macroarg.C: avoid bringing the whole std:: namespace in
602 global-land. When you do that, there is an ambiguity between
603 lyxstring and std::string (which may be defined at the same time).
605 * formula.C (HandleExtern): add .c_str() to .str() (useful when
608 2001-04-27 André Pönitz <poenitz@gmx.net>
610 * math_parser.C: fix \frac handling bug introduced on 04-24
611 * math_xiter.C: hotfix for merging "shared" insets
612 * formula.C: fixing display after using math-insert
614 2001-04-25 André Pönitz <poenitz@gmx.net>
616 * math_*.[Ch]: WriteNormal
617 * formula.C: Support for new "math extern" command
618 * math_parser.C: fix \frac handling bug introduced on 04-24
619 * math_xiter.C: hotfix for merging "shared" insets
621 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
623 * math_macrotable.C: include <iostream>
625 2001-04-24 André Pönitz <poenitz@gmx.net>
628 * math_macrotable.[Ch]:
629 * math_macroarg.[Ch]: restructuring of macro handling
632 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
634 * array.h (operator<<):
635 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
637 * math_macrotable.C: added using std::make_pair directive.
638 (dump): added using std::cerr directive here as I guess that this is
641 2001-04-20 Allan Rae <rae@lyx.org>
643 * formula.C (LocalDispatch): fixed another #warning. Guess who.
645 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
647 * math_macrotemplate.h: inherit privately from noncopyable
649 * math_macro.C (Metrics): reindent, use unsigned int as loop var
650 (setArgumentIdx): change test to avoid unsigned warning
652 * formula.C (LocalDispatch): use LFUN_MESSAGE
654 2001-04-16 Allan Rae <rae@lyx.org>
656 * formula.C (Latex, getLabelList, LocalDispatch):
657 * math_parser.C (mathed_parse):
658 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
659 an unrecognised preprocessor directive. So ensure they're wrapped.
661 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
663 * formula.C (draw): adjust for cursor_visible
664 (ToggleInsetCursor): adjust for cursor_visible and constify asc
666 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
667 (HideInsetCursor): adjust for cursor_visible
668 (LocalDispatch): constify default_label and res
670 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
672 * math_rowst.C: add missing #include <config.h>.
674 2001-03-16 André Pönitz <poenitz@gmx.net>
676 * math_matrixinset.h:
677 * math_parinset.[Ch]:
678 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
680 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
688 * math_symbols.C: maths panel moved to GUII
690 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
692 * math_cursor.C: use lyxerr instead of cerr.
694 2001-03-15 André Pönitz <poenitz@gmx.net>
696 * math_cursor.C: fix bug (cursor was leaving two insets at a time
699 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
701 * math_macrotable.h: noncopyable is in namespace boost
702 * math_macrotemplate.h: ditto
704 * math_rowst.h: make MathedRowContainer::iterator public.
706 2001-03-15 André Pönitz <poenitz@gmx.net>
708 * math_parser.C: read '\nonumber' again (was broken)
710 * math_rowst.C: new file
712 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
714 * math_cursor.C: added using directive.
716 2001-03-15 André Pönitz <poenitz@gmx.net>
718 * math_rowst.h: Finally remove MathedRowSt
721 math_xiter.C: changed accordingly
723 2001-03-12 André Pönitz <poenitz@gmx.net>
725 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
726 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
728 2001-03-10 André Pönitz <poenitz@gmx.net>
731 math_matrixinset.C: move adjustVerticalSt to the only place where
732 it is used. Fix a small bug where the cached row structure and the
733 actual data get out of sync after the deletion of whole rows
735 2001-03-09 André Pönitz <poenitz@gmx.net>
737 * math_cursor.C: use std::vector<> in MathStackXIter
738 change selstk from a pointer to the "real thing"
740 * math_rowst.h: new MathedRowContainer::erase method
742 * math_xiter.C: use MathedRowContainer::erase
744 * math_parser.C: use MathedRowContainer::insert_after
746 2001-03-08 André Pönitz <poenitz@gmx.net>
748 * math_rowst.h: give MathedRowContainer an 'insert' method.
750 * math_xiter.C: new 'container()' method to encapsulated access to
751 the MathParInset's MathedRowContainer
753 * math_rowst.h: proper copy constructor and destructor for
756 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
757 automatically created by the compiler are ok now.
759 2001-03-06 André Pönitz <poenitz@gmx.net>
761 * array.[Ch]: factor out deep_copy,
762 remove third argument from raw_pointer_insert
764 * math_iter.[Ch]: remove unused function Clear()
766 * math_cursor.C: change signature of MathStackXIter:push()
769 * math_rowst.h: introduction of MathRowContainer
770 several files: corresponding changes
772 2001-03-04 André Pönitz <poenitz@gmx.net>
774 * math_macrotemplate.[Ch]:
775 math_macro.C: move update() functionality to the macro
777 * math_rowst.h: split MathedRowSt into "data" and "list"
779 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
781 * math_macrotemplate.C (update): use MathMacro::getArg, and
782 receive a const reference.
783 (getMacroPar): add an Assert
785 * math_macrotemplate.h: make MathMacro a friend, make update take
788 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
789 and store a MathMacroArgument in the vector
790 * math_macro.C: changes because of the above.
793 * math_parser.C (mathed_parse): plug potential leak
795 * math_iter.h: add comment on virtual destructor
797 * math_iter.C (Delete): make c const
799 * math_parinset.C (Metrics): cleanup indent. make one string const.
801 * math_inset.C (size): move out of line
804 * math_macroarg.h: remove default constructor
806 * math_macroarg.C: include Lsstream.h instead of debug.h
807 (MathMacroArgument): remove default constructor
808 (Write): add std:: on ostream arg
810 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
813 * formula.C: make DEBUG into lyxerr
815 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
817 * math_macrotemplate.h: make noncopyable, remove last arg to
818 constructor, remove flags_ add edit_
819 (flags): remove method
821 * math_macrotemplate.C (setArgument): delete method
822 (update): make idx const
823 (Metrics): use edit_, remove flags_
824 (draw): use edit_, remove flags_
825 (setEditMode): set edit_, remove flags_
826 (MathMacroTemplate): initialize edit_, remove flags_
828 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
829 shared_ptr, let constructor take a shared_ptr
831 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
833 (draw): remove unneded update, remove removed update of x,y
834 (GetXY): call tmplates GetMacroXY directly
835 (SetFocus): call Metrics() instead of update()
836 (Write): remove support for math macro environments, simplifications.
838 * math_macrotable.h: make class noncopyable, change getMacro to
839 createMacro, change vector to map store a
840 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
842 * math_macrotable.C: add pragma
843 (createMacro): change name from getMacro, use shared_ptr
844 (getTemplate): Use map lookup to get macro, return shared_ptr
845 (addTemplate): assert that m containse a valid pointer, use map[]
847 (builtinMacros): by using shared_ptr fix the mem leak, remove
848 commented out unsupported macros
850 * math_cursor.C: changes because of the above
851 * math_parser.C: changes because of the abobe
853 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
854 default arg on constructor.
855 * formulamacro.C: changes because of the above
857 * math_parinset.h: add pragma
858 (SetAlign): move inline out of class def
862 (setArgumentIdx): ditto
863 (setNextArgIdx): ditto
864 (getArgumentIdx): ditto
865 (getMaxArgumentIdx): ditto
870 * math_parinset.C: add pragma
871 (Write): change the else clause, lessen depth
873 * math_macroarg.h: small whitespace change
875 * array.C: include support/LOstream.h add using ostream and endl
877 * array.h (dump): add std:: on ostream
879 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
881 * math_macrotemplate.h: remove default arg on update
883 * math_macrotemplate.C (update): add assert and remove noop case.
885 * formulamacro.C (Read): add comment.
886 (ascent): remove noop call to MathMacroTemplate
891 * math_parser.C (mathed_parse): fix another potential problem by
892 passing a freestanding mathedarray.
894 * math_root.C (GetData): add const version
896 * math_parinset.C (~MathParInset): delete
897 (GetData): add const version
899 * math_matrixinset.C (MathMatrixInset): delete pointer version,
900 make it a proper copy constructor instead
902 (MathMatrixInset): remvoe default val for m and n
904 * math_macro.C (GetData): add const version
906 * math_fracinset.C (GetData): add const version
908 * math_cursor.C (SelCopy): make p1 and p2 const
909 (SelCut): make p1 and p2 const
911 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
912 (LyxCode): move inline out of class
916 * array.[Ch] (dump): method added for debugging purposes
918 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
919 mathed_parse when reading a matrix.
921 * math_spaceinset.[Ch]: add pragma, make variables private add
922 '_', change order of method definitions.
924 * math_root.h (~MathRootInset): delete
925 Change uroot_ to be a real object instead of a pointer
926 * math_root.C: changes because of the above
928 * math_macro.C (MathMacro(MathMacro*)): delete constructor
929 (MathMacro(MathMacro const &)): new copy constructor
931 * math_inset.h: delete constructor taking a pointer to MathedInset
932 (size, incSize): move inline method
934 * math_funcinset.h: add pragma, remove class vars ln and fname,
935 change protected to private, add '_' to priv vars.
936 (~MathFuncInset): remove
938 * math_fracinset.h: make MathParInset den_ a real object and not a
941 * math_fracinset.C (MathFracInset): clean up, move initalization
942 to initialization list
943 (~MathFracInset): remove
946 * math_draw.C: delete file
948 * math_dotsinset.[Ch]: add pragma
950 * math_bigopinset.h: make protected variables private add '_' to vars.
952 * math_bigopinset.C: move methods to follow class definition order
954 * math_accentinset.h (getAccentCode): move inline here
956 * math_accentinset.C (MathAccentInset): cleanup
959 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
961 * math_inset.[Ch] (MathedInset): remove method
963 * Makefile.am (libmathed_la_SOURCES): correct typo
965 * math_parinset.C (draw): move MathedXiter data(this) up. and
966 remove it two other places.
968 * math_macro.C (MathMacro): use array directly, don't use
969 setArgumentIdx and GetData
971 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
973 * math_macroarg.C (MathMacroArgument): delete
974 * math_macro.C (~MathMacro): delete
975 * math_macrotemplate.C (~MathMacroTemplate): delete
977 * math_decorationinset.[Ch]: add pragma
978 * math_deliminset.[Ch]: likewise
979 * math_fracinset.[Ch]: likewise
980 * math_macroarg.[Ch]: likewise
981 * math_macrotemplate.[Ch]: likewise
982 * math_matrixinset.[Ch]: likewise
984 * formulamacro.C (Read): set contents of tmacro_ to ar.
986 * formulamacro.h: add '_' to private variables.
987 * formalamacro.C: changes because of this.
989 2001-02-23 Juergen Vigna <jug@sad.it>
991 * formula.C (LocalDispatch): changed action to be a kb_action (as it
992 should be) and not an int.
994 * formulamacro.C (LocalDispatch): ditto.
996 2001-02-14 André Pönitz <poenitz@gmx.net>
998 * math_parinset.[Ch]: make array a real MathArray, not just a
1001 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1003 * several files: subsequent changes
1005 * math_cursor.C: make selarray a proper MathArray
1007 * several files: Change "MathedArray *" to "MathedArray &"
1010 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
1012 * array.C (MathedArray): Fix compilation problem.
1014 2001-02-14 André Pönitz <poenitz@gmx.net>
1016 * array.[Ch]: "deep" copy constructor and assignment operator for
1019 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1021 * math_iter.[Ch]: remove SetData
1022 several files: subsequent changes
1024 2001-02-14 André Pönitz <poenitz@gmx.net>
1026 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
1029 * math_iter.C: default-construct and resize array
1031 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1033 * math_xiter.h: move ipush and ipop to public, add _ on private
1034 variables, move protected var to private, remove friend.
1036 * math_cursor.C (insertInset): rename method from Insert also
1037 remove default arg val. Call the public methods of xiter instead
1038 of private variables.
1040 * changes to several files because of the above.
1042 2001-02-14 André Pönitz <poenitz@gmx.net>
1044 * math_iter.[Ch]: hide fcode_
1046 * math_parinset.C: subsequent changes
1049 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1051 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1054 * math_write.C: delete file
1055 * math_delim.C: delete file
1056 * marh_sqrtinset.h: delete file
1058 * move funcs to more localized files, more general cleanup.
1059 Constify several local vars. Doxygen changes. Formatting.
1061 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
1063 * support.C: add some consts
1065 * matriz.C: clean up a bit.
1066 (matmat): remove the for loop.
1068 * several files: changes so that several friends can be removed
1070 2001-02-14 André Pönitz <poenitz@gmx.net>
1072 * formula.C: reformatting
1076 math_xiter.[Ch]: remove unneeded members
1078 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1082 * formula.C: remove cruft
1084 * array.C (begin): new method
1087 2001-02-14 André Pönitz <poenitz@gmx.net>
1089 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1091 * math_cursor.C: reformatting
1093 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1095 * math_spaceinset.C:
1097 * math_matrixinset.C:
1098 * math_macrotemplate.C:
1102 * math_deliminset.C:
1103 * math_decorationinset.C:
1104 * math_bigopinset.C:
1105 * math_accentinset.C:
1106 * math_sqrtinset.C: include LOstream.h and add using directive.
1108 2001-02-14 André Pönitz <poenitz@gmx.net>
1110 * math_iter.C: reformatting
1112 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1114 * math_spaceinset.C (GetSpace): move here
1116 * math_parinset.C: add debug.h, move several prev. inlined methods
1119 * math_macrotable.C math_xiter.C support.C: add debug.h
1121 * math_macro.h: remove debug.h, remove typedefs
1123 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1126 * math_hash.C: change some defines to int const. change use of
1127 LM_TC_NORMAL to LM_TC_VAR
1129 * math_draw.C: delete file
1131 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1132 forward decls. remove LM_TC_NORMAL, move inline methods to
1133 support.C (and support.h)
1135 * math_cursor.C: move several previous inlined methods here
1137 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1138 math_parinset.h math_spaceinset.h: add math_defs.h
1140 * math_accentinset.h: add support.h and math_defs.h
1142 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1144 * formula.h: remove unused func decl: OpenMathInset
1146 * formula.C math_inset.h: get rid of math_defs.h
1148 * array.h: switch to support.h instead of math_defs.h
1150 * array.C: remove one include
1152 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1154 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1156 * math_parser.C: include macrotable and macrotemplate
1158 * math_macrotemplate.[Ch]: new files
1160 * math_macrotable.[Ch]: new files
1162 * math_macroarg.[Ch]: new files
1164 * math_macro.C: move stuff to the new files.
1166 * math_cursor.C: include math_macrotable.h
1168 * macro_support.[Ch]: new files
1170 * formulamacro.C: add more includes
1172 * Makefile.am (libmathed_la_SOURCES): add new files.
1174 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1176 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1181 * math_parinset.C: add a bunch of "using" directives.
1184 * math_decorationinset.h:
1185 * math_bigopinset.h:
1186 * math_spaceinset.h: remove more couples of inline.
1188 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1190 * math_xiter.h: remove a couple of "inline"
1192 * array.C (strange_copy): fix bug (hopefully)
1193 * many files: add a lot of new files and move methods to the class
1194 files they belong to. Only first attempt at cleanup more will
1197 2001-02-12 André Pönitz <poenitz@gmx.net>
1199 * math_macro.[hC]: replace MathMacroArgument[] with
1200 std::vector<MathMacroArgument>
1202 math_inset.C: replace int[] with std::vector<int>
1204 * math_symbols.C: replace FL_OBJECTP[] with
1205 std::vector<FL_OBJECT*>
1207 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1209 * math_defs.h (struct MathedRowSt): make all private variables end
1210 with '_', initialize in initializer list instead of in function
1213 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1215 * formula.C (LocalDispatch): Change the default action of
1216 break-line to create an align* environment instead of eqnarray*.
1218 * math_inset.C (Metrics): Correct drawing of the multline
1221 2001-02-12 André Pönitz <poenitz@gmx.net>
1223 * array.[hC]: replace private variable maxsize_ with call to
1225 * math_defs.h: replace int[] by std::vector<int> for
1228 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1230 * array.h: made all variables private, removed friend, added new
1231 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1232 non const operator[] added setter for last and getter for maxsize.
1233 changed name from LyxArrayBase to MathedArray.
1234 changed name of some methods to start with lowerchar.
1235 moved inline methods to array.C
1237 * math_iter.C + several file: changes because of the above.
1239 * array.C: new file with the prev inline methods.
1241 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1243 * Many files: add support for the align environment from amsmath.
1245 2001-02-09 André Pönitz <poenitz@gmx.net>
1247 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1248 * several files: subsequent changes
1249 * math_iter.h: remove unused prototype
1252 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1254 * math_macro.C (draw): add .c_str() to .str() (useful when
1255 compiling with lyxstring, but STL sstream).
1258 2001-02-08 André Pönitz <poenitz@gmx.net>
1260 * several files: get rid of reinterpret_cast.
1262 2001-02-04 Allan Rae <rae@lyx.org>
1264 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1265 just casting the variable.
1267 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1269 * Many files: Add support for multline and alignat environments from
1272 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1274 * math_symbols.C (math_insert_greek): Move cursor right when
1275 unlocking the math inset.
1277 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1279 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1281 * formula.C (LocalDispatch): Before inserting a label in an
1282 eqnarray, move the cursor to the top level.
1284 * math_iter.C (getLabel): Test if crow == 0.
1286 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1288 * math_draw.C (Metrics): Use the correct GetString.