2 2001-10-10 André Pönitz <poenitz@gmx.net>
4 * math_cursor.C: introduce dummy "inner" position "between"
5 nucleus and scripts for smoother cursor movement
7 * math_cursor.C: use red dot to indicate empty nucleus
10 2001-10-02 André Pönitz <poenitz@gmx.net>
12 * math_cursor.C: leave red backslash as visual clue
13 in formula when typing macro names
15 * math_macrotemplate.C: sanity check
17 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
20 * formula.C (localDispatch): fix a few of local variable sizes
22 * math_fracbase.C: change parameter types to match MathInset
24 2001-10-01 André Pönitz <poenitz@gmx.net>
26 * math_cursor.[Ch]: remove local parInset() method
28 * math_macro.C: add a static_cast
30 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
32 * math_cursor.C: fix type mismatches with what was declared in
35 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
37 * math_matrixinset.C (header_write): Add \n after \begin{align}
39 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
41 * math_macrotable.C (builtinMacros): Add some macros if latex
44 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
46 * formula.C (insetAllowed): disallow label insertion in inline
49 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
51 * formulabase.C (mathDispatchCreation): pass second argument
52 'false' (no label) to selectionAsString
54 2001-09-11 André Pönitz <poenitz@gmx.net>
56 * math_atom.[Ch]: new basic item in the MathArray
58 * array.[Ch]: move code over to math_atom
60 * math_scriptinset.[Ch]:
62 math_cursor.C: try to do with super- and subscripts what TeX does
64 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
66 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
68 2001-09-04 André Pönitz <poenitz@gmx.net>
72 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
73 'xxalignt', 'gather' and 'multiline' environments
75 * math_cursor.C: fix handling of | and \|
77 2001-09-04 José Matos <jamatos@fep.up.pt>
84 * formulamacro.h (docbook): rename docBook method to docbook.
86 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
88 * math_hash.C (ReadSymbols): Check for duplicate symbols
90 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
92 * support.C: added a using std::map directive.
94 2001-08-17 André Pönitz <poenitz@gmx.net>
96 * math_hash.C: Use std::map instead of faking it
98 * symbol_def.h: remove unneeded symbol definitions
100 * support.C: use the decorations' name for drawing
102 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
104 * math_hash.C (in_word_set): Initialize symbol table even when
105 symbols file was not found.
107 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
109 * math_hash.C: added a using std::endl directive.
111 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
113 * support.C (whichFont): Add support for cmr font.
114 Add support for \mathbb.
116 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
118 * math_macrotable.C (builtinMacros): Add 3 builtin macros
120 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
122 * math_hash.C: Read symbols information from external file
123 many files: Add support for latex symbol fonts
125 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
127 * math_parser.C (Parser): Eat spaces after \end_inset
129 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
131 * math_parser.C (tokenize): fix typo
133 2001-08-17 André Pönitz <poenitz@gmx.net>
135 * math_parser.C: new "lexxer"
137 * array.C: write sequences of chars with same code as a unit
139 2001-08-13 André Pönitz <poenitz@gmx.net>
141 * math_factory.[Ch]: new files for the creation of math insets
145 math_hash.C: simplifications
147 * math_binom.[Ch]: new files for "native" \binom/\choose inset
150 math_cursor.C: reading support for TeX style \over and \choose
152 * formulabase.C: re-enabling the "selected text gets converted to
153 math when pressing C-m" feature.
155 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
157 * math_parser.C (lexArg): remove default argument from the .C file
158 as it causes DEC cxx to complain about a redefinition.
160 2001-08-10 André Pönitz <poenitz@gmx.net>
162 * math_scopeinset.[Ch]: new inset for {} blocks
164 * math_accentinset.[Ch]: removed unneeded files
167 math_matrix.[Ch]: start support for "interrow spacing"
169 * all over the place: rework of parser stuff
171 2001-08-08 André Pönitz <poenitz@gmx.net>
173 * math_fracbase.[Ch]:
174 * math_fracinset.[Ch]: new hierarchy
176 * math_stackrelbase.[Ch]: native \stackrel support
178 * math_inset.[Ch]: removal of the name_ member
180 * math_deliminset.[Ch]: rework
182 2001-08-06 André Pönitz <poenitz@gmx.net>
184 * formulamacro.C: fix nasty bug due to missing copy constructor
186 * math_bigopinset.[Ch]: revival for things like \int, \sum
188 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
190 * math_diminset.h: make cache variables mutable, remove const_cast
192 * formulabase.[Ch]: remove unneeded convertFont()
194 * math_funcinset.[Ch]: bring red color back
196 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
197 inset to the mcaro table
199 2001-08-01 André Pönitz <poenitz@gmx.net>
202 formulamacro.C: fix memory leaks
204 * math_matrixinset.C: fix mis-alignment of eqnarray columns
206 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
207 MathMatrixInset * and MathMacroTemplate * to save a few casts
209 * all over the place: everything is an inset now
211 * math_nestinset.[Ch]: new abstract base class for insets containing
214 * math_diminset.[Ch]: new abstract base class for insets that need
215 the width_/ascent_/descent_ cache
217 2001-07-25 André Pönitz <poenitz@gmx.net>
219 * formulabase.C: re-enable 'space enlargement' feature
221 * math_scriptinset.C:
222 math_bigopinset.C: rework of script insets
224 2001-07-22 André Pönitz <poenitz@gmx.net>
226 * math_cursor.C: fix "pullArg" behaviour
228 * math_cursor.C: keep empty super/subscript a bit longer
230 * math_cursor.C: do not move into insets that don't have inner cells yet
232 * formulabase.C: fix memory leak
234 * math_cursor.C: ^ now copies selection into new srriptinset
236 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
239 * math_updowninset.C: fix drawing glitches
241 * math_cursor.C: paste to correct position
243 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * formula.C (insetAllowed): allow insertion of label
247 2001-07-20 André Pönitz <poenitz@gmx.net>
249 * math_macrotable.C: support for \land and \vee
251 2001-07-16 André Pönitz <poenitz@gmx.net>
253 * math_grid.[Ch] -> math_gridinset.[Ch]
254 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
256 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
257 fix 'mathed reports wrong width', cosmetics
259 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
261 * math_cursor.C (operator==): moved ouf of struct
263 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
265 2001-07-16 André Pönitz <poenitz@gmx.net>
267 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
269 * several files: supporting changes
271 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
273 Consistent use of Lsstream.h:
274 * formula.C: removed using std::ostringstream directive.
276 * math_cursor.C: std::istringstream -> istringstream.
278 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
280 * math_decorationinset.h: add std:: qualifier
282 2001-07-12 André Pönitz <poenitz@gmx.net>
284 * math_updowninset.[hC]: new base class for script and bigop insets
285 *.[hC]: subsequent changes to all Metric() functions
287 * math_parser.C: small changes (\sqrt0 is read properly now)
289 2001-07-10 André Pönitz <poenitz@gmx.net>
291 * math_accentinset.[hC]: rewrite
294 math_cursor.C: subsequent changes
296 * math_grid.C: <Delete> in the first cell of a completely empty row
297 deletes that row, <C-Return> places the cursor in the first of the
300 * math_grid.C: try to split cell nicely when mutating from single-cell
301 to multi-cell environment
303 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
305 * math_matrixinset.C (mutate): Use only the first label when
306 mutating eqnarray to display formula.
308 2001-07-09 Juergen Vigna <jug@sad.it>
310 * formulabase.C (mathDispatchCreation): don't do anything with the
311 inset if it cannot be inserted!
313 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
315 * formulabase.C (mathDispatchInsertMath): remove bogus return
318 2001-07-09 André Pönitz <poenitz@gmx.net>
320 * math_*inset.C: Change order of arguments in MathInset constructor
322 * math_cursor.C: Remove broken "increase space" feature for a while
324 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
326 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
328 2001-07-04 André Pönitz <poenitz@gmx.net>
330 * math_parser.C: fix reading of "unusual" alpha chars
332 * xarray.[hC]: fix debug output of xarray
334 2001-07-03 André Pönitz <poenitz@gmx.net>
336 * math_parser.C: fix bug where equations did not get their labels
338 * formulabase.C: new feature: changing font on selection
340 * several files: subsequent changes
342 * array.C: fix bug when insets have not been cloned properly
343 This should fix quite a few "random" crashes...
345 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
347 * formulabase.C (localDispatch): use .c_str() on istringstream
348 constructor argument.
350 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
352 * math_grid.C (addCol): add second argument to cellinfo_.insert.
353 Cleanup a bit the code.
354 (appendRow): do not call push_back without argument.
356 * *.C: remove all "using namespace std" directives (not
357 good!!) and replaced it with relevant "using" directives.
359 * math_macrotemplate.C (Clone): change return type to MathInset*
361 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
363 * math_sizeinset.C: include support/LOstream.h
365 * math_scriptinset.C (Metrics): std:: qualify max
367 * math_root.C (Metrics): std:: qualify max
368 (Write): std:: qualify ostream
371 * math_matrixinset.C (getLabelList): std:: qualify vector
373 (Metrics): std:: qualify max
374 (header_write): std:: qualify ostream
375 (footer_write): ditto
377 * math_macrotemplate.C (Write): std:: qualify ostream
379 * math_bigopinset.C (Metrics): std:: qualify max, and include
382 * math_matrixinset.h: include vector and std:: qualify it.
384 * array.C (GetInset): get a pointer to the first element of bf_
387 2001-06-25 The LyX Project <Asger>
389 * math_scriptinset.C: Fix for entering with cursor up/down.
391 * math_fracinset.C: We can enter fractions with cursor up and
394 * math_cursor.C (Right): Fixes for cursor movement.
396 * formula.C (draw): New background color for math.
398 * math_cursor.C: Fixes for toggling labels on/off in math.
399 Fixes for infinity and other symbols that didn't appear in
402 2001-06-24 The LyX Project <Asger>
404 * math_inset.C: Cursor movement is better in square roots, among
407 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
408 cursor up/down movement. What not.
410 2001-06-24 The LyX Project <Asger>
412 * math_matrixinset.C: Hidden labels are hidden, unless a small
413 dragon jumps out of the screen, and pronounce them to the entire
416 2001-06-24 The LyX Project <Easter egg>
418 * math_cursor.C: Cursor improvements after a few dead-ends
419 in the evolution of cursor movement were tested and scrapped.
421 2001-06-24 The LyX Project <Asger>
423 * math_cursor.C: Renamed stack to path.
425 2001-06-24 The LyX Project <André>
428 Makefile.am: The Big Patch
429 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
430 new MathScriptInset for up/down stuff;
431 delete MathIter/MatXIter, MathParInset, MathRowSt
432 Changes to the inset inheritance tree, reunification of abstract math
434 label/numbering handling back to life;
435 major changes to the parser(s);
436 new base class FormulaBase for the two math LyXInsets;
437 general cleanup and cosmetic changes)
439 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
442 * math_root.C: removed // -*- C++ -*- as first line.
444 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
446 * array.C: bring memmove into main namespace if necessary
448 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
450 * math_parser.C (yylex): use contains instead of strchr
451 (parse_align): remove last arg, change to take string const & as
453 (mathed_parse): use string for ar2 and ar, adjust
455 * math_decorationinset.C (Write): use compare instead of strcmp
457 * formula.C (LocalDispatch): change arg2 to string, adjust for this
458 (LocalDispatch): add std::
459 (LocalDispatch): use contains instead of strchr
461 * array.C (move): add std::
463 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
465 * matriz.C: add using directives when needed for C functions
466 declared in std:: namespace.
468 * math_macrotemplate.h: do not use explicitely std::string, but
471 * math_macroarg.C: avoid bringing the whole std:: namespace in
472 global-land. When you do that, there is an ambiguity between
473 lyxstring and std::string (which may be defined at the same time).
475 * formula.C (HandleExtern): add .c_str() to .str() (useful when
478 2001-04-27 André Pönitz <poenitz@gmx.net>
480 * math_parser.C: fix \frac handling bug introduced on 04-24
481 * math_xiter.C: hotfix for merging "shared" insets
482 * formula.C: fixing display after using math-insert
484 2001-04-25 André Pönitz <poenitz@gmx.net>
486 * math_*.[Ch]: WriteNormal
487 * formula.C: Support for new "math extern" command
488 * math_parser.C: fix \frac handling bug introduced on 04-24
489 * math_xiter.C: hotfix for merging "shared" insets
491 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
493 * math_macrotable.C: include <iostream>
495 2001-04-24 André Pönitz <poenitz@gmx.net>
498 * math_macrotable.[Ch]:
499 * math_macroarg.[Ch]: restructuring of macro handling
502 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
504 * array.h (operator<<):
505 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
507 * math_macrotable.C: added using std::make_pair directive.
508 (dump): added using std::cerr directive here as I guess that this is
511 2001-04-20 Allan Rae <rae@lyx.org>
513 * formula.C (LocalDispatch): fixed another #warning. Guess who.
515 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * math_macrotemplate.h: inherit privately from noncopyable
519 * math_macro.C (Metrics): reindent, use unsigned int as loop var
520 (setArgumentIdx): change test to avoid unsigned warning
522 * formula.C (LocalDispatch): use LFUN_MESSAGE
524 2001-04-16 Allan Rae <rae@lyx.org>
526 * formula.C (Latex, getLabelList, LocalDispatch):
527 * math_parser.C (mathed_parse):
528 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
529 an unrecognised preprocessor directive. So ensure they're wrapped.
531 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
533 * formula.C (draw): adjust for cursor_visible
534 (ToggleInsetCursor): adjust for cursor_visible and constify asc
536 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
537 (HideInsetCursor): adjust for cursor_visible
538 (LocalDispatch): constify default_label and res
540 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
542 * math_rowst.C: add missing #include <config.h>.
544 2001-03-16 André Pönitz <poenitz@gmx.net>
546 * math_matrixinset.h:
547 * math_parinset.[Ch]:
548 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
550 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
558 * math_symbols.C: maths panel moved to GUII
560 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
562 * math_cursor.C: use lyxerr instead of cerr.
564 2001-03-15 André Pönitz <poenitz@gmx.net>
566 * math_cursor.C: fix bug (cursor was leaving two insets at a time
569 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
571 * math_macrotable.h: noncopyable is in namespace boost
572 * math_macrotemplate.h: ditto
574 * math_rowst.h: make MathedRowContainer::iterator public.
576 2001-03-15 André Pönitz <poenitz@gmx.net>
578 * math_parser.C: read '\nonumber' again (was broken)
580 * math_rowst.C: new file
582 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
584 * math_cursor.C: added using directive.
586 2001-03-15 André Pönitz <poenitz@gmx.net>
588 * math_rowst.h: Finally remove MathedRowSt
591 math_xiter.C: changed accordingly
593 2001-03-12 André Pönitz <poenitz@gmx.net>
595 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
596 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
598 2001-03-10 André Pönitz <poenitz@gmx.net>
601 math_matrixinset.C: move adjustVerticalSt to the only place where
602 it is used. Fix a small bug where the cached row structure and the
603 actual data get out of sync after the deletion of whole rows
605 2001-03-09 André Pönitz <poenitz@gmx.net>
607 * math_cursor.C: use std::vector<> in MathStackXIter
608 change selstk from a pointer to the "real thing"
610 * math_rowst.h: new MathedRowContainer::erase method
612 * math_xiter.C: use MathedRowContainer::erase
614 * math_parser.C: use MathedRowContainer::insert_after
616 2001-03-08 André Pönitz <poenitz@gmx.net>
618 * math_rowst.h: give MathedRowContainer an 'insert' method.
620 * math_xiter.C: new 'container()' method to encapsulated access to
621 the MathParInset's MathedRowContainer
623 * math_rowst.h: proper copy constructor and destructor for
626 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
627 automatically created by the compiler are ok now.
629 2001-03-06 André Pönitz <poenitz@gmx.net>
631 * array.[Ch]: factor out deep_copy,
632 remove third argument from raw_pointer_insert
634 * math_iter.[Ch]: remove unused function Clear()
636 * math_cursor.C: change signature of MathStackXIter:push()
639 * math_rowst.h: introduction of MathRowContainer
640 several files: corresponding changes
642 2001-03-04 André Pönitz <poenitz@gmx.net>
644 * math_macrotemplate.[Ch]:
645 math_macro.C: move update() functionality to the macro
647 * math_rowst.h: split MathedRowSt into "data" and "list"
649 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
651 * math_macrotemplate.C (update): use MathMacro::getArg, and
652 receive a const reference.
653 (getMacroPar): add an Assert
655 * math_macrotemplate.h: make MathMacro a friend, make update take
658 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
659 and store a MathMacroArgument in the vector
660 * math_macro.C: changes because of the above.
663 * math_parser.C (mathed_parse): plug potential leak
665 * math_iter.h: add comment on virtual destructor
667 * math_iter.C (Delete): make c const
669 * math_parinset.C (Metrics): cleanup indent. make one string const.
671 * math_inset.C (size): move out of line
674 * math_macroarg.h: remove default constructor
676 * math_macroarg.C: include Lsstream.h instead of debug.h
677 (MathMacroArgument): remove default constructor
678 (Write): add std:: on ostream arg
680 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
683 * formula.C: make DEBUG into lyxerr
685 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
687 * math_macrotemplate.h: make noncopyable, remove last arg to
688 constructor, remove flags_ add edit_
689 (flags): remove method
691 * math_macrotemplate.C (setArgument): delete method
692 (update): make idx const
693 (Metrics): use edit_, remove flags_
694 (draw): use edit_, remove flags_
695 (setEditMode): set edit_, remove flags_
696 (MathMacroTemplate): initialize edit_, remove flags_
698 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
699 shared_ptr, let constructor take a shared_ptr
701 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
703 (draw): remove unneded update, remove removed update of x,y
704 (GetXY): call tmplates GetMacroXY directly
705 (SetFocus): call Metrics() instead of update()
706 (Write): remove support for math macro environments, simplifications.
708 * math_macrotable.h: make class noncopyable, change getMacro to
709 createMacro, change vector to map store a
710 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
712 * math_macrotable.C: add pragma
713 (createMacro): change name from getMacro, use shared_ptr
714 (getTemplate): Use map lookup to get macro, return shared_ptr
715 (addTemplate): assert that m containse a valid pointer, use map[]
717 (builtinMacros): by using shared_ptr fix the mem leak, remove
718 commented out unsupported macros
720 * math_cursor.C: changes because of the above
721 * math_parser.C: changes because of the abobe
723 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
724 default arg on constructor.
725 * formulamacro.C: changes because of the above
727 * math_parinset.h: add pragma
728 (SetAlign): move inline out of class def
732 (setArgumentIdx): ditto
733 (setNextArgIdx): ditto
734 (getArgumentIdx): ditto
735 (getMaxArgumentIdx): ditto
740 * math_parinset.C: add pragma
741 (Write): change the else clause, lessen depth
743 * math_macroarg.h: small whitespace change
745 * array.C: include support/LOstream.h add using ostream and endl
747 * array.h (dump): add std:: on ostream
749 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
751 * math_macrotemplate.h: remove default arg on update
753 * math_macrotemplate.C (update): add assert and remove noop case.
755 * formulamacro.C (Read): add comment.
756 (ascent): remove noop call to MathMacroTemplate
761 * math_parser.C (mathed_parse): fix another potential problem by
762 passing a freestanding mathedarray.
764 * math_root.C (GetData): add const version
766 * math_parinset.C (~MathParInset): delete
767 (GetData): add const version
769 * math_matrixinset.C (MathMatrixInset): delete pointer version,
770 make it a proper copy constructor instead
772 (MathMatrixInset): remvoe default val for m and n
774 * math_macro.C (GetData): add const version
776 * math_fracinset.C (GetData): add const version
778 * math_cursor.C (SelCopy): make p1 and p2 const
779 (SelCut): make p1 and p2 const
781 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
782 (LyxCode): move inline out of class
786 * array.[Ch] (dump): method added for debugging purposes
788 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
789 mathed_parse when reading a matrix.
791 * math_spaceinset.[Ch]: add pragma, make variables private add
792 '_', change order of method definitions.
794 * math_root.h (~MathRootInset): delete
795 Change uroot_ to be a real object instead of a pointer
796 * math_root.C: changes because of the above
798 * math_macro.C (MathMacro(MathMacro*)): delete constructor
799 (MathMacro(MathMacro const &)): new copy constructor
801 * math_inset.h: delete constructor taking a pointer to MathedInset
802 (size, incSize): move inline method
804 * math_funcinset.h: add pragma, remove class vars ln and fname,
805 change protected to private, add '_' to priv vars.
806 (~MathFuncInset): remove
808 * math_fracinset.h: make MathParInset den_ a real object and not a
811 * math_fracinset.C (MathFracInset): clean up, move initalization
812 to initialization list
813 (~MathFracInset): remove
816 * math_draw.C: delete file
818 * math_dotsinset.[Ch]: add pragma
820 * math_bigopinset.h: make protected variables private add '_' to vars.
822 * math_bigopinset.C: move methods to follow class definition order
824 * math_accentinset.h (getAccentCode): move inline here
826 * math_accentinset.C (MathAccentInset): cleanup
829 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
831 * math_inset.[Ch] (MathedInset): remove method
833 * Makefile.am (libmathed_la_SOURCES): correct typo
835 * math_parinset.C (draw): move MathedXiter data(this) up. and
836 remove it two other places.
838 * math_macro.C (MathMacro): use array directly, don't use
839 setArgumentIdx and GetData
841 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
843 * math_macroarg.C (MathMacroArgument): delete
844 * math_macro.C (~MathMacro): delete
845 * math_macrotemplate.C (~MathMacroTemplate): delete
847 * math_decorationinset.[Ch]: add pragma
848 * math_deliminset.[Ch]: likewise
849 * math_fracinset.[Ch]: likewise
850 * math_macroarg.[Ch]: likewise
851 * math_macrotemplate.[Ch]: likewise
852 * math_matrixinset.[Ch]: likewise
854 * formulamacro.C (Read): set contents of tmacro_ to ar.
856 * formulamacro.h: add '_' to private variables.
857 * formalamacro.C: changes because of this.
859 2001-02-23 Juergen Vigna <jug@sad.it>
861 * formula.C (LocalDispatch): changed action to be a kb_action (as it
862 should be) and not an int.
864 * formulamacro.C (LocalDispatch): ditto.
866 2001-02-14 André Pönitz <poenitz@gmx.net>
868 * math_parinset.[Ch]: make array a real MathArray, not just a
871 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
873 * several files: subsequent changes
875 * math_cursor.C: make selarray a proper MathArray
877 * several files: Change "MathedArray *" to "MathedArray &"
880 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
882 * array.C (MathedArray): Fix compilation problem.
884 2001-02-14 André Pönitz <poenitz@gmx.net>
886 * array.[Ch]: "deep" copy constructor and assignment operator for
889 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
891 * math_iter.[Ch]: remove SetData
892 several files: subsequent changes
894 2001-02-14 André Pönitz <poenitz@gmx.net>
896 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
899 * math_iter.C: default-construct and resize array
901 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
903 * math_xiter.h: move ipush and ipop to public, add _ on private
904 variables, move protected var to private, remove friend.
906 * math_cursor.C (insertInset): rename method from Insert also
907 remove default arg val. Call the public methods of xiter instead
908 of private variables.
910 * changes to several files because of the above.
912 2001-02-14 André Pönitz <poenitz@gmx.net>
914 * math_iter.[Ch]: hide fcode_
916 * math_parinset.C: subsequent changes
919 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
921 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
924 * math_write.C: delete file
925 * math_delim.C: delete file
926 * marh_sqrtinset.h: delete file
928 * move funcs to more localized files, more general cleanup.
929 Constify several local vars. Doxygen changes. Formatting.
931 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
933 * support.C: add some consts
935 * matriz.C: clean up a bit.
936 (matmat): remove the for loop.
938 * several files: changes so that several friends can be removed
940 2001-02-14 André Pönitz <poenitz@gmx.net>
942 * formula.C: reformatting
946 math_xiter.[Ch]: remove unneeded members
948 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
952 * formula.C: remove cruft
954 * array.C (begin): new method
957 2001-02-14 André Pönitz <poenitz@gmx.net>
959 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
961 * math_cursor.C: reformatting
963 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
967 * math_matrixinset.C:
968 * math_macrotemplate.C:
973 * math_decorationinset.C:
975 * math_accentinset.C:
976 * math_sqrtinset.C: include LOstream.h and add using directive.
978 2001-02-14 André Pönitz <poenitz@gmx.net>
980 * math_iter.C: reformatting
982 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
984 * math_spaceinset.C (GetSpace): move here
986 * math_parinset.C: add debug.h, move several prev. inlined methods
989 * math_macrotable.C math_xiter.C support.C: add debug.h
991 * math_macro.h: remove debug.h, remove typedefs
993 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
996 * math_hash.C: change some defines to int const. change use of
997 LM_TC_NORMAL to LM_TC_VAR
999 * math_draw.C: delete file
1001 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1002 forward decls. remove LM_TC_NORMAL, move inline methods to
1003 support.C (and support.h)
1005 * math_cursor.C: move several previous inlined methods here
1007 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1008 math_parinset.h math_spaceinset.h: add math_defs.h
1010 * math_accentinset.h: add support.h and math_defs.h
1012 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1014 * formula.h: remove unused func decl: OpenMathInset
1016 * formula.C math_inset.h: get rid of math_defs.h
1018 * array.h: switch to support.h instead of math_defs.h
1020 * array.C: remove one include
1022 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1024 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1026 * math_parser.C: include macrotable and macrotemplate
1028 * math_macrotemplate.[Ch]: new files
1030 * math_macrotable.[Ch]: new files
1032 * math_macroarg.[Ch]: new files
1034 * math_macro.C: move stuff to the new files.
1036 * math_cursor.C: include math_macrotable.h
1038 * macro_support.[Ch]: new files
1040 * formulamacro.C: add more includes
1042 * Makefile.am (libmathed_la_SOURCES): add new files.
1044 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1046 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1051 * math_parinset.C: add a bunch of "using" directives.
1054 * math_decorationinset.h:
1055 * math_bigopinset.h:
1056 * math_spaceinset.h: remove more couples of inline.
1058 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1060 * math_xiter.h: remove a couple of "inline"
1062 * array.C (strange_copy): fix bug (hopefully)
1063 * many files: add a lot of new files and move methods to the class
1064 files they belong to. Only first attempt at cleanup more will
1067 2001-02-12 André Pönitz <poenitz@gmx.net>
1069 * math_macro.[hC]: replace MathMacroArgument[] with
1070 std::vector<MathMacroArgument>
1072 math_inset.C: replace int[] with std::vector<int>
1074 * math_symbols.C: replace FL_OBJECTP[] with
1075 std::vector<FL_OBJECT*>
1077 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1079 * math_defs.h (struct MathedRowSt): make all private variables end
1080 with '_', initialize in initializer list instead of in function
1083 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1085 * formula.C (LocalDispatch): Change the default action of
1086 break-line to create an align* environment instead of eqnarray*.
1088 * math_inset.C (Metrics): Correct drawing of the multline
1091 2001-02-12 André Pönitz <poenitz@gmx.net>
1093 * array.[hC]: replace private variable maxsize_ with call to
1095 * math_defs.h: replace int[] by std::vector<int> for
1098 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1100 * array.h: made all variables private, removed friend, added new
1101 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1102 non const operator[] added setter for last and getter for maxsize.
1103 changed name from LyxArrayBase to MathedArray.
1104 changed name of some methods to start with lowerchar.
1105 moved inline methods to array.C
1107 * math_iter.C + several file: changes because of the above.
1109 * array.C: new file with the prev inline methods.
1111 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1113 * Many files: add support for the align environment from amsmath.
1115 2001-02-09 André Pönitz <poenitz@gmx.net>
1117 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1118 * several files: subsequent changes
1119 * math_iter.h: remove unused prototype
1122 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1124 * math_macro.C (draw): add .c_str() to .str() (useful when
1125 compiling with lyxstring, but STL sstream).
1128 2001-02-08 André Pönitz <poenitz@gmx.net>
1130 * several files: get rid of reinterpret_cast.
1132 2001-02-04 Allan Rae <rae@lyx.org>
1134 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1135 just casting the variable.
1137 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1139 * Many files: Add support for multline and alignat environments from
1142 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1144 * math_symbols.C (math_insert_greek): Move cursor right when
1145 unlocking the math inset.
1147 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1149 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1151 * formula.C (LocalDispatch): Before inserting a label in an
1152 eqnarray, move the cursor to the top level.
1154 * math_iter.C (getLabel): Test if crow == 0.
1156 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1158 * math_draw.C (Metrics): Use the correct GetString.