1 2001-08-01 André Pönitz <poenitz@gmx.net>
4 formulamacro.C: fix memory leaks
6 * math_matrixinset.C: fix mis-alignment of eqnarray columns
8 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
9 MathMatrixInset * and MathMacroTemplate * to save a few casts
11 * all over the place: everything is an inset now
13 * math_nestinset.[Ch]: new abstract base class for insets containing
16 * math_diminset.[Ch]: new abstract base class for insets that need
17 the width_/ascent_/descent_ cache
19 2001-07-25 André Pönitz <poenitz@gmx.net>
21 * formulabase.C: re-enable 'space enlargement' feature
24 math_bigopinset.C: rework of script insets
26 2001-07-22 André Pönitz <poenitz@gmx.net>
28 * math_cursor.C: fix "pullArg" behaviour
30 * math_cursor.C: keep empty super/subscript a bit longer
32 * math_cursor.C: do not move into insets that don't have inner cells yet
34 * formulabase.C: fix memory leak
36 * math_cursor.C: ^ now copies selection into new srriptinset
38 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
41 * math_updowninset.C: fix drawing glitches
43 * math_cursor.C: paste to correct position
45 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * formula.C (insetAllowed): allow insertion of label
49 2001-07-20 André Pönitz <poenitz@gmx.net>
51 * math_macrotable.C: support for \land and \vee
53 2001-07-16 André Pönitz <poenitz@gmx.net>
55 * math_grid.[Ch] -> math_gridinset.[Ch]
56 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
58 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
59 fix 'mathed reports wrong width', cosmetics
61 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
63 * math_cursor.C (operator==): moved ouf of struct
65 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
67 2001-07-16 André Pönitz <poenitz@gmx.net>
69 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
71 * several files: supporting changes
73 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
75 Consistent use of Lsstream.h:
76 * formula.C: removed using std::ostringstream directive.
78 * math_cursor.C: std::istringstream -> istringstream.
80 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
82 * math_decorationinset.h: add std:: qualifier
84 2001-07-12 André Pönitz <poenitz@gmx.net>
86 * math_updowninset.[hC]: new base class for script and bigop insets
87 *.[hC]: subsequent changes to all Metric() functions
89 * math_parser.C: small changes (\sqrt0 is read properly now)
91 2001-07-10 André Pönitz <poenitz@gmx.net>
93 * math_accentinset.[hC]: rewrite
96 math_cursor.C: subsequent changes
98 * math_grid.C: <Delete> in the first cell of a completely empty row
99 deletes that row, <C-Return> places the cursor in the first of the
102 * math_grid.C: try to split cell nicely when mutating from single-cell
103 to multi-cell environment
105 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
107 * math_matrixinset.C (mutate): Use only the first label when
108 mutating eqnarray to display formula.
110 2001-07-09 Juergen Vigna <jug@sad.it>
112 * formulabase.C (mathDispatchCreation): don't do anything with the
113 inset if it cannot be inserted!
115 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
117 * formulabase.C (mathDispatchInsertMath): remove bogus return
120 2001-07-09 André Pönitz <poenitz@gmx.net>
122 * math_*inset.C: Change order of arguments in MathInset constructor
124 * math_cursor.C: Remove broken "increase space" feature for a while
126 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
128 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
130 2001-07-04 André Pönitz <poenitz@gmx.net>
132 * math_parser.C: fix reading of "unusual" alpha chars
134 * xarray.[hC]: fix debug output of xarray
136 2001-07-03 André Pönitz <poenitz@gmx.net>
138 * math_parser.C: fix bug where equations did not get their labels
140 * formulabase.C: new feature: changing font on selection
142 * several files: subsequent changes
144 * array.C: fix bug when insets have not been cloned properly
145 This should fix quite a few "random" crashes...
147 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
149 * formulabase.C (localDispatch): use .c_str() on istringstream
150 constructor argument.
152 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
154 * math_grid.C (addCol): add second argument to cellinfo_.insert.
155 Cleanup a bit the code.
156 (appendRow): do not call push_back without argument.
158 * *.C: remove all "using namespace std" directives (not
159 good!!) and replaced it with relevant "using" directives.
161 * math_macrotemplate.C (Clone): change return type to MathInset*
163 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
165 * math_sizeinset.C: include support/LOstream.h
167 * math_scriptinset.C (Metrics): std:: qualify max
169 * math_root.C (Metrics): std:: qualify max
170 (Write): std:: qualify ostream
173 * math_matrixinset.C (getLabelList): std:: qualify vector
175 (Metrics): std:: qualify max
176 (header_write): std:: qualify ostream
177 (footer_write): ditto
179 * math_macrotemplate.C (Write): std:: qualify ostream
181 * math_bigopinset.C (Metrics): std:: qualify max, and include
184 * math_matrixinset.h: include vector and std:: qualify it.
186 * array.C (GetInset): get a pointer to the first element of bf_
189 2001-06-25 The LyX Project <Asger>
191 * math_scriptinset.C: Fix for entering with cursor up/down.
193 * math_fracinset.C: We can enter fractions with cursor up and
196 * math_cursor.C (Right): Fixes for cursor movement.
198 * formula.C (draw): New background color for math.
200 * math_cursor.C: Fixes for toggling labels on/off in math.
201 Fixes for infinity and other symbols that didn't appear in
204 2001-06-24 The LyX Project <Asger>
206 * math_inset.C: Cursor movement is better in square roots, among
209 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
210 cursor up/down movement. What not.
212 2001-06-24 The LyX Project <Asger>
214 * math_matrixinset.C: Hidden labels are hidden, unless a small
215 dragon jumps out of the screen, and pronounce them to the entire
218 2001-06-24 The LyX Project <Easter egg>
220 * math_cursor.C: Cursor improvements after a few dead-ends
221 in the evolution of cursor movement were tested and scrapped.
223 2001-06-24 The LyX Project <Asger>
225 * math_cursor.C: Renamed stack to path.
227 2001-06-24 The LyX Project <André>
230 Makefile.am: The Big Patch
231 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
232 new MathScriptInset for up/down stuff;
233 delete MathIter/MatXIter, MathParInset, MathRowSt
234 Changes to the inset inheritance tree, reunification of abstract math
236 label/numbering handling back to life;
237 major changes to the parser(s);
238 new base class FormulaBase for the two math LyXInsets;
239 general cleanup and cosmetic changes)
241 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
244 * math_root.C: removed // -*- C++ -*- as first line.
246 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
248 * array.C: bring memmove into main namespace if necessary
250 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
252 * math_parser.C (yylex): use contains instead of strchr
253 (parse_align): remove last arg, change to take string const & as
255 (mathed_parse): use string for ar2 and ar, adjust
257 * math_decorationinset.C (Write): use compare instead of strcmp
259 * formula.C (LocalDispatch): change arg2 to string, adjust for this
260 (LocalDispatch): add std::
261 (LocalDispatch): use contains instead of strchr
263 * array.C (move): add std::
265 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
267 * matriz.C: add using directives when needed for C functions
268 declared in std:: namespace.
270 * math_macrotemplate.h: do not use explicitely std::string, but
273 * math_macroarg.C: avoid bringing the whole std:: namespace in
274 global-land. When you do that, there is an ambiguity between
275 lyxstring and std::string (which may be defined at the same time).
277 * formula.C (HandleExtern): add .c_str() to .str() (useful when
280 2001-04-27 André Pönitz <poenitz@gmx.net>
282 * math_parser.C: fix \frac handling bug introduced on 04-24
283 * math_xiter.C: hotfix for merging "shared" insets
284 * formula.C: fixing display after using math-insert
286 2001-04-25 André Pönitz <poenitz@gmx.net>
288 * math_*.[Ch]: WriteNormal
289 * formula.C: Support for new "math extern" command
290 * math_parser.C: fix \frac handling bug introduced on 04-24
291 * math_xiter.C: hotfix for merging "shared" insets
293 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
295 * math_macrotable.C: include <iostream>
297 2001-04-24 André Pönitz <poenitz@gmx.net>
300 * math_macrotable.[Ch]:
301 * math_macroarg.[Ch]: restructuring of macro handling
304 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
306 * array.h (operator<<):
307 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
309 * math_macrotable.C: added using std::make_pair directive.
310 (dump): added using std::cerr directive here as I guess that this is
313 2001-04-20 Allan Rae <rae@lyx.org>
315 * formula.C (LocalDispatch): fixed another #warning. Guess who.
317 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
319 * math_macrotemplate.h: inherit privately from noncopyable
321 * math_macro.C (Metrics): reindent, use unsigned int as loop var
322 (setArgumentIdx): change test to avoid unsigned warning
324 * formula.C (LocalDispatch): use LFUN_MESSAGE
326 2001-04-16 Allan Rae <rae@lyx.org>
328 * formula.C (Latex, getLabelList, LocalDispatch):
329 * math_parser.C (mathed_parse):
330 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
331 an unrecognised preprocessor directive. So ensure they're wrapped.
333 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
335 * formula.C (draw): adjust for cursor_visible
336 (ToggleInsetCursor): adjust for cursor_visible and constify asc
338 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
339 (HideInsetCursor): adjust for cursor_visible
340 (LocalDispatch): constify default_label and res
342 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
344 * math_rowst.C: add missing #include <config.h>.
346 2001-03-16 André Pönitz <poenitz@gmx.net>
348 * math_matrixinset.h:
349 * math_parinset.[Ch]:
350 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
352 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
360 * math_symbols.C: maths panel moved to GUII
362 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
364 * math_cursor.C: use lyxerr instead of cerr.
366 2001-03-15 André Pönitz <poenitz@gmx.net>
368 * math_cursor.C: fix bug (cursor was leaving two insets at a time
371 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
373 * math_macrotable.h: noncopyable is in namespace boost
374 * math_macrotemplate.h: ditto
376 * math_rowst.h: make MathedRowContainer::iterator public.
378 2001-03-15 André Pönitz <poenitz@gmx.net>
380 * math_parser.C: read '\nonumber' again (was broken)
382 * math_rowst.C: new file
384 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
386 * math_cursor.C: added using directive.
388 2001-03-15 André Pönitz <poenitz@gmx.net>
390 * math_rowst.h: Finally remove MathedRowSt
393 math_xiter.C: changed accordingly
395 2001-03-12 André Pönitz <poenitz@gmx.net>
397 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
398 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
400 2001-03-10 André Pönitz <poenitz@gmx.net>
403 math_matrixinset.C: move adjustVerticalSt to the only place where
404 it is used. Fix a small bug where the cached row structure and the
405 actual data get out of sync after the deletion of whole rows
407 2001-03-09 André Pönitz <poenitz@gmx.net>
409 * math_cursor.C: use std::vector<> in MathStackXIter
410 change selstk from a pointer to the "real thing"
412 * math_rowst.h: new MathedRowContainer::erase method
414 * math_xiter.C: use MathedRowContainer::erase
416 * math_parser.C: use MathedRowContainer::insert_after
418 2001-03-08 André Pönitz <poenitz@gmx.net>
420 * math_rowst.h: give MathedRowContainer an 'insert' method.
422 * math_xiter.C: new 'container()' method to encapsulated access to
423 the MathParInset's MathedRowContainer
425 * math_rowst.h: proper copy constructor and destructor for
428 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
429 automatically created by the compiler are ok now.
431 2001-03-06 André Pönitz <poenitz@gmx.net>
433 * array.[Ch]: factor out deep_copy,
434 remove third argument from raw_pointer_insert
436 * math_iter.[Ch]: remove unused function Clear()
438 * math_cursor.C: change signature of MathStackXIter:push()
441 * math_rowst.h: introduction of MathRowContainer
442 several files: corresponding changes
444 2001-03-04 André Pönitz <poenitz@gmx.net>
446 * math_macrotemplate.[Ch]:
447 math_macro.C: move update() functionality to the macro
449 * math_rowst.h: split MathedRowSt into "data" and "list"
451 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
453 * math_macrotemplate.C (update): use MathMacro::getArg, and
454 receive a const reference.
455 (getMacroPar): add an Assert
457 * math_macrotemplate.h: make MathMacro a friend, make update take
460 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
461 and store a MathMacroArgument in the vector
462 * math_macro.C: changes because of the above.
465 * math_parser.C (mathed_parse): plug potential leak
467 * math_iter.h: add comment on virtual destructor
469 * math_iter.C (Delete): make c const
471 * math_parinset.C (Metrics): cleanup indent. make one string const.
473 * math_inset.C (size): move out of line
476 * math_macroarg.h: remove default constructor
478 * math_macroarg.C: include Lsstream.h instead of debug.h
479 (MathMacroArgument): remove default constructor
480 (Write): add std:: on ostream arg
482 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
485 * formula.C: make DEBUG into lyxerr
487 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
489 * math_macrotemplate.h: make noncopyable, remove last arg to
490 constructor, remove flags_ add edit_
491 (flags): remove method
493 * math_macrotemplate.C (setArgument): delete method
494 (update): make idx const
495 (Metrics): use edit_, remove flags_
496 (draw): use edit_, remove flags_
497 (setEditMode): set edit_, remove flags_
498 (MathMacroTemplate): initialize edit_, remove flags_
500 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
501 shared_ptr, let constructor take a shared_ptr
503 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
505 (draw): remove unneded update, remove removed update of x,y
506 (GetXY): call tmplates GetMacroXY directly
507 (SetFocus): call Metrics() instead of update()
508 (Write): remove support for math macro environments, simplifications.
510 * math_macrotable.h: make class noncopyable, change getMacro to
511 createMacro, change vector to map store a
512 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
514 * math_macrotable.C: add pragma
515 (createMacro): change name from getMacro, use shared_ptr
516 (getTemplate): Use map lookup to get macro, return shared_ptr
517 (addTemplate): assert that m containse a valid pointer, use map[]
519 (builtinMacros): by using shared_ptr fix the mem leak, remove
520 commented out unsupported macros
522 * math_cursor.C: changes because of the above
523 * math_parser.C: changes because of the abobe
525 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
526 default arg on constructor.
527 * formulamacro.C: changes because of the above
529 * math_parinset.h: add pragma
530 (SetAlign): move inline out of class def
534 (setArgumentIdx): ditto
535 (setNextArgIdx): ditto
536 (getArgumentIdx): ditto
537 (getMaxArgumentIdx): ditto
542 * math_parinset.C: add pragma
543 (Write): change the else clause, lessen depth
545 * math_macroarg.h: small whitespace change
547 * array.C: include support/LOstream.h add using ostream and endl
549 * array.h (dump): add std:: on ostream
551 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
553 * math_macrotemplate.h: remove default arg on update
555 * math_macrotemplate.C (update): add assert and remove noop case.
557 * formulamacro.C (Read): add comment.
558 (ascent): remove noop call to MathMacroTemplate
563 * math_parser.C (mathed_parse): fix another potential problem by
564 passing a freestanding mathedarray.
566 * math_root.C (GetData): add const version
568 * math_parinset.C (~MathParInset): delete
569 (GetData): add const version
571 * math_matrixinset.C (MathMatrixInset): delete pointer version,
572 make it a proper copy constructor instead
574 (MathMatrixInset): remvoe default val for m and n
576 * math_macro.C (GetData): add const version
578 * math_fracinset.C (GetData): add const version
580 * math_cursor.C (SelCopy): make p1 and p2 const
581 (SelCut): make p1 and p2 const
583 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
584 (LyxCode): move inline out of class
588 * array.[Ch] (dump): method added for debugging purposes
590 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
591 mathed_parse when reading a matrix.
593 * math_spaceinset.[Ch]: add pragma, make variables private add
594 '_', change order of method definitions.
596 * math_root.h (~MathRootInset): delete
597 Change uroot_ to be a real object instead of a pointer
598 * math_root.C: changes because of the above
600 * math_macro.C (MathMacro(MathMacro*)): delete constructor
601 (MathMacro(MathMacro const &)): new copy constructor
603 * math_inset.h: delete constructor taking a pointer to MathedInset
604 (size, incSize): move inline method
606 * math_funcinset.h: add pragma, remove class vars ln and fname,
607 change protected to private, add '_' to priv vars.
608 (~MathFuncInset): remove
610 * math_fracinset.h: make MathParInset den_ a real object and not a
613 * math_fracinset.C (MathFracInset): clean up, move initalization
614 to initialization list
615 (~MathFracInset): remove
618 * math_draw.C: delete file
620 * math_dotsinset.[Ch]: add pragma
622 * math_bigopinset.h: make protected variables private add '_' to vars.
624 * math_bigopinset.C: move methods to follow class definition order
626 * math_accentinset.h (getAccentCode): move inline here
628 * math_accentinset.C (MathAccentInset): cleanup
631 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
633 * math_inset.[Ch] (MathedInset): remove method
635 * Makefile.am (libmathed_la_SOURCES): correct typo
637 * math_parinset.C (draw): move MathedXiter data(this) up. and
638 remove it two other places.
640 * math_macro.C (MathMacro): use array directly, don't use
641 setArgumentIdx and GetData
643 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
645 * math_macroarg.C (MathMacroArgument): delete
646 * math_macro.C (~MathMacro): delete
647 * math_macrotemplate.C (~MathMacroTemplate): delete
649 * math_decorationinset.[Ch]: add pragma
650 * math_deliminset.[Ch]: likewise
651 * math_fracinset.[Ch]: likewise
652 * math_macroarg.[Ch]: likewise
653 * math_macrotemplate.[Ch]: likewise
654 * math_matrixinset.[Ch]: likewise
656 * formulamacro.C (Read): set contents of tmacro_ to ar.
658 * formulamacro.h: add '_' to private variables.
659 * formalamacro.C: changes because of this.
661 2001-02-23 Juergen Vigna <jug@sad.it>
663 * formula.C (LocalDispatch): changed action to be a kb_action (as it
664 should be) and not an int.
666 * formulamacro.C (LocalDispatch): ditto.
668 2001-02-14 André Pönitz <poenitz@gmx.net>
670 * math_parinset.[Ch]: make array a real MathArray, not just a
673 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
675 * several files: subsequent changes
677 * math_cursor.C: make selarray a proper MathArray
679 * several files: Change "MathedArray *" to "MathedArray &"
682 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
684 * array.C (MathedArray): Fix compilation problem.
686 2001-02-14 André Pönitz <poenitz@gmx.net>
688 * array.[Ch]: "deep" copy constructor and assignment operator for
691 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
693 * math_iter.[Ch]: remove SetData
694 several files: subsequent changes
696 2001-02-14 André Pönitz <poenitz@gmx.net>
698 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
701 * math_iter.C: default-construct and resize array
703 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
705 * math_xiter.h: move ipush and ipop to public, add _ on private
706 variables, move protected var to private, remove friend.
708 * math_cursor.C (insertInset): rename method from Insert also
709 remove default arg val. Call the public methods of xiter instead
710 of private variables.
712 * changes to several files because of the above.
714 2001-02-14 André Pönitz <poenitz@gmx.net>
716 * math_iter.[Ch]: hide fcode_
718 * math_parinset.C: subsequent changes
721 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
723 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
726 * math_write.C: delete file
727 * math_delim.C: delete file
728 * marh_sqrtinset.h: delete file
730 * move funcs to more localized files, more general cleanup.
731 Constify several local vars. Doxygen changes. Formatting.
733 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
735 * support.C: add some consts
737 * matriz.C: clean up a bit.
738 (matmat): remove the for loop.
740 * several files: changes so that several friends can be removed
742 2001-02-14 André Pönitz <poenitz@gmx.net>
744 * formula.C: reformatting
748 math_xiter.[Ch]: remove unneeded members
750 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
754 * formula.C: remove cruft
756 * array.C (begin): new method
759 2001-02-14 André Pönitz <poenitz@gmx.net>
761 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
763 * math_cursor.C: reformatting
765 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
769 * math_matrixinset.C:
770 * math_macrotemplate.C:
775 * math_decorationinset.C:
777 * math_accentinset.C:
778 * math_sqrtinset.C: include LOstream.h and add using directive.
780 2001-02-14 André Pönitz <poenitz@gmx.net>
782 * math_iter.C: reformatting
784 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
786 * math_spaceinset.C (GetSpace): move here
788 * math_parinset.C: add debug.h, move several prev. inlined methods
791 * math_macrotable.C math_xiter.C support.C: add debug.h
793 * math_macro.h: remove debug.h, remove typedefs
795 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
798 * math_hash.C: change some defines to int const. change use of
799 LM_TC_NORMAL to LM_TC_VAR
801 * math_draw.C: delete file
803 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
804 forward decls. remove LM_TC_NORMAL, move inline methods to
805 support.C (and support.h)
807 * math_cursor.C: move several previous inlined methods here
809 * math_bigopinset.h math_dotsinset.h math_funcinset.h
810 math_parinset.h math_spaceinset.h: add math_defs.h
812 * math_accentinset.h: add support.h and math_defs.h
814 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
816 * formula.h: remove unused func decl: OpenMathInset
818 * formula.C math_inset.h: get rid of math_defs.h
820 * array.h: switch to support.h instead of math_defs.h
822 * array.C: remove one include
824 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
826 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
828 * math_parser.C: include macrotable and macrotemplate
830 * math_macrotemplate.[Ch]: new files
832 * math_macrotable.[Ch]: new files
834 * math_macroarg.[Ch]: new files
836 * math_macro.C: move stuff to the new files.
838 * math_cursor.C: include math_macrotable.h
840 * macro_support.[Ch]: new files
842 * formulamacro.C: add more includes
844 * Makefile.am (libmathed_la_SOURCES): add new files.
846 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
848 * Makefile.am (libmathed_la_SOURCES): remove duplicate
853 * math_parinset.C: add a bunch of "using" directives.
856 * math_decorationinset.h:
858 * math_spaceinset.h: remove more couples of inline.
860 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
862 * math_xiter.h: remove a couple of "inline"
864 * array.C (strange_copy): fix bug (hopefully)
865 * many files: add a lot of new files and move methods to the class
866 files they belong to. Only first attempt at cleanup more will
869 2001-02-12 André Pönitz <poenitz@gmx.net>
871 * math_macro.[hC]: replace MathMacroArgument[] with
872 std::vector<MathMacroArgument>
874 math_inset.C: replace int[] with std::vector<int>
876 * math_symbols.C: replace FL_OBJECTP[] with
877 std::vector<FL_OBJECT*>
879 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
881 * math_defs.h (struct MathedRowSt): make all private variables end
882 with '_', initialize in initializer list instead of in function
885 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
887 * formula.C (LocalDispatch): Change the default action of
888 break-line to create an align* environment instead of eqnarray*.
890 * math_inset.C (Metrics): Correct drawing of the multline
893 2001-02-12 André Pönitz <poenitz@gmx.net>
895 * array.[hC]: replace private variable maxsize_ with call to
897 * math_defs.h: replace int[] by std::vector<int> for
900 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
902 * array.h: made all variables private, removed friend, added new
903 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
904 non const operator[] added setter for last and getter for maxsize.
905 changed name from LyxArrayBase to MathedArray.
906 changed name of some methods to start with lowerchar.
907 moved inline methods to array.C
909 * math_iter.C + several file: changes because of the above.
911 * array.C: new file with the prev inline methods.
913 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
915 * Many files: add support for the align environment from amsmath.
917 2001-02-09 André Pönitz <poenitz@gmx.net>
919 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
920 * several files: subsequent changes
921 * math_iter.h: remove unused prototype
924 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
926 * math_macro.C (draw): add .c_str() to .str() (useful when
927 compiling with lyxstring, but STL sstream).
930 2001-02-08 André Pönitz <poenitz@gmx.net>
932 * several files: get rid of reinterpret_cast.
934 2001-02-04 Allan Rae <rae@lyx.org>
936 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
937 just casting the variable.
939 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
941 * Many files: Add support for multline and alignat environments from
944 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
946 * math_symbols.C (math_insert_greek): Move cursor right when
947 unlocking the math inset.
949 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
951 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
953 * formula.C (LocalDispatch): Before inserting a label in an
954 eqnarray, move the cursor to the top level.
956 * math_iter.C (getLabel): Test if crow == 0.
958 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
960 * math_draw.C (Metrics): Use the correct GetString.