2 2001-08-06 André Pönitz <poenitz@gmx.net>
4 * formulamacro.C: fix nasty bug due to missing copy constructor
6 * math_bigopinset.[Ch]: revival for things like \int, \sum
8 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
10 * math_diminset.h: make cache variables mutable, remove const_cast
12 * formulabase.[Ch]: remove unneeded convertFont()
14 2001-08-01 André Pönitz <poenitz@gmx.net>
17 formulamacro.C: fix memory leaks
19 * math_matrixinset.C: fix mis-alignment of eqnarray columns
21 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
22 MathMatrixInset * and MathMacroTemplate * to save a few casts
24 * all over the place: everything is an inset now
26 * math_nestinset.[Ch]: new abstract base class for insets containing
29 * math_diminset.[Ch]: new abstract base class for insets that need
30 the width_/ascent_/descent_ cache
32 2001-07-25 André Pönitz <poenitz@gmx.net>
34 * formulabase.C: re-enable 'space enlargement' feature
37 math_bigopinset.C: rework of script insets
39 2001-07-22 André Pönitz <poenitz@gmx.net>
41 * math_cursor.C: fix "pullArg" behaviour
43 * math_cursor.C: keep empty super/subscript a bit longer
45 * math_cursor.C: do not move into insets that don't have inner cells yet
47 * formulabase.C: fix memory leak
49 * math_cursor.C: ^ now copies selection into new srriptinset
51 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
54 * math_updowninset.C: fix drawing glitches
56 * math_cursor.C: paste to correct position
58 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * formula.C (insetAllowed): allow insertion of label
62 2001-07-20 André Pönitz <poenitz@gmx.net>
64 * math_macrotable.C: support for \land and \vee
66 2001-07-16 André Pönitz <poenitz@gmx.net>
68 * math_grid.[Ch] -> math_gridinset.[Ch]
69 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
71 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
72 fix 'mathed reports wrong width', cosmetics
74 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
76 * math_cursor.C (operator==): moved ouf of struct
78 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
80 2001-07-16 André Pönitz <poenitz@gmx.net>
82 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
84 * several files: supporting changes
86 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
88 Consistent use of Lsstream.h:
89 * formula.C: removed using std::ostringstream directive.
91 * math_cursor.C: std::istringstream -> istringstream.
93 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
95 * math_decorationinset.h: add std:: qualifier
97 2001-07-12 André Pönitz <poenitz@gmx.net>
99 * math_updowninset.[hC]: new base class for script and bigop insets
100 *.[hC]: subsequent changes to all Metric() functions
102 * math_parser.C: small changes (\sqrt0 is read properly now)
104 2001-07-10 André Pönitz <poenitz@gmx.net>
106 * math_accentinset.[hC]: rewrite
109 math_cursor.C: subsequent changes
111 * math_grid.C: <Delete> in the first cell of a completely empty row
112 deletes that row, <C-Return> places the cursor in the first of the
115 * math_grid.C: try to split cell nicely when mutating from single-cell
116 to multi-cell environment
118 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
120 * math_matrixinset.C (mutate): Use only the first label when
121 mutating eqnarray to display formula.
123 2001-07-09 Juergen Vigna <jug@sad.it>
125 * formulabase.C (mathDispatchCreation): don't do anything with the
126 inset if it cannot be inserted!
128 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
130 * formulabase.C (mathDispatchInsertMath): remove bogus return
133 2001-07-09 André Pönitz <poenitz@gmx.net>
135 * math_*inset.C: Change order of arguments in MathInset constructor
137 * math_cursor.C: Remove broken "increase space" feature for a while
139 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
141 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
143 2001-07-04 André Pönitz <poenitz@gmx.net>
145 * math_parser.C: fix reading of "unusual" alpha chars
147 * xarray.[hC]: fix debug output of xarray
149 2001-07-03 André Pönitz <poenitz@gmx.net>
151 * math_parser.C: fix bug where equations did not get their labels
153 * formulabase.C: new feature: changing font on selection
155 * several files: subsequent changes
157 * array.C: fix bug when insets have not been cloned properly
158 This should fix quite a few "random" crashes...
160 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
162 * formulabase.C (localDispatch): use .c_str() on istringstream
163 constructor argument.
165 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
167 * math_grid.C (addCol): add second argument to cellinfo_.insert.
168 Cleanup a bit the code.
169 (appendRow): do not call push_back without argument.
171 * *.C: remove all "using namespace std" directives (not
172 good!!) and replaced it with relevant "using" directives.
174 * math_macrotemplate.C (Clone): change return type to MathInset*
176 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
178 * math_sizeinset.C: include support/LOstream.h
180 * math_scriptinset.C (Metrics): std:: qualify max
182 * math_root.C (Metrics): std:: qualify max
183 (Write): std:: qualify ostream
186 * math_matrixinset.C (getLabelList): std:: qualify vector
188 (Metrics): std:: qualify max
189 (header_write): std:: qualify ostream
190 (footer_write): ditto
192 * math_macrotemplate.C (Write): std:: qualify ostream
194 * math_bigopinset.C (Metrics): std:: qualify max, and include
197 * math_matrixinset.h: include vector and std:: qualify it.
199 * array.C (GetInset): get a pointer to the first element of bf_
202 2001-06-25 The LyX Project <Asger>
204 * math_scriptinset.C: Fix for entering with cursor up/down.
206 * math_fracinset.C: We can enter fractions with cursor up and
209 * math_cursor.C (Right): Fixes for cursor movement.
211 * formula.C (draw): New background color for math.
213 * math_cursor.C: Fixes for toggling labels on/off in math.
214 Fixes for infinity and other symbols that didn't appear in
217 2001-06-24 The LyX Project <Asger>
219 * math_inset.C: Cursor movement is better in square roots, among
222 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
223 cursor up/down movement. What not.
225 2001-06-24 The LyX Project <Asger>
227 * math_matrixinset.C: Hidden labels are hidden, unless a small
228 dragon jumps out of the screen, and pronounce them to the entire
231 2001-06-24 The LyX Project <Easter egg>
233 * math_cursor.C: Cursor improvements after a few dead-ends
234 in the evolution of cursor movement were tested and scrapped.
236 2001-06-24 The LyX Project <Asger>
238 * math_cursor.C: Renamed stack to path.
240 2001-06-24 The LyX Project <André>
243 Makefile.am: The Big Patch
244 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
245 new MathScriptInset for up/down stuff;
246 delete MathIter/MatXIter, MathParInset, MathRowSt
247 Changes to the inset inheritance tree, reunification of abstract math
249 label/numbering handling back to life;
250 major changes to the parser(s);
251 new base class FormulaBase for the two math LyXInsets;
252 general cleanup and cosmetic changes)
254 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
257 * math_root.C: removed // -*- C++ -*- as first line.
259 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
261 * array.C: bring memmove into main namespace if necessary
263 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
265 * math_parser.C (yylex): use contains instead of strchr
266 (parse_align): remove last arg, change to take string const & as
268 (mathed_parse): use string for ar2 and ar, adjust
270 * math_decorationinset.C (Write): use compare instead of strcmp
272 * formula.C (LocalDispatch): change arg2 to string, adjust for this
273 (LocalDispatch): add std::
274 (LocalDispatch): use contains instead of strchr
276 * array.C (move): add std::
278 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
280 * matriz.C: add using directives when needed for C functions
281 declared in std:: namespace.
283 * math_macrotemplate.h: do not use explicitely std::string, but
286 * math_macroarg.C: avoid bringing the whole std:: namespace in
287 global-land. When you do that, there is an ambiguity between
288 lyxstring and std::string (which may be defined at the same time).
290 * formula.C (HandleExtern): add .c_str() to .str() (useful when
293 2001-04-27 André Pönitz <poenitz@gmx.net>
295 * math_parser.C: fix \frac handling bug introduced on 04-24
296 * math_xiter.C: hotfix for merging "shared" insets
297 * formula.C: fixing display after using math-insert
299 2001-04-25 André Pönitz <poenitz@gmx.net>
301 * math_*.[Ch]: WriteNormal
302 * formula.C: Support for new "math extern" command
303 * math_parser.C: fix \frac handling bug introduced on 04-24
304 * math_xiter.C: hotfix for merging "shared" insets
306 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
308 * math_macrotable.C: include <iostream>
310 2001-04-24 André Pönitz <poenitz@gmx.net>
313 * math_macrotable.[Ch]:
314 * math_macroarg.[Ch]: restructuring of macro handling
317 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
319 * array.h (operator<<):
320 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
322 * math_macrotable.C: added using std::make_pair directive.
323 (dump): added using std::cerr directive here as I guess that this is
326 2001-04-20 Allan Rae <rae@lyx.org>
328 * formula.C (LocalDispatch): fixed another #warning. Guess who.
330 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
332 * math_macrotemplate.h: inherit privately from noncopyable
334 * math_macro.C (Metrics): reindent, use unsigned int as loop var
335 (setArgumentIdx): change test to avoid unsigned warning
337 * formula.C (LocalDispatch): use LFUN_MESSAGE
339 2001-04-16 Allan Rae <rae@lyx.org>
341 * formula.C (Latex, getLabelList, LocalDispatch):
342 * math_parser.C (mathed_parse):
343 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
344 an unrecognised preprocessor directive. So ensure they're wrapped.
346 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
348 * formula.C (draw): adjust for cursor_visible
349 (ToggleInsetCursor): adjust for cursor_visible and constify asc
351 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
352 (HideInsetCursor): adjust for cursor_visible
353 (LocalDispatch): constify default_label and res
355 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
357 * math_rowst.C: add missing #include <config.h>.
359 2001-03-16 André Pönitz <poenitz@gmx.net>
361 * math_matrixinset.h:
362 * math_parinset.[Ch]:
363 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
365 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
373 * math_symbols.C: maths panel moved to GUII
375 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
377 * math_cursor.C: use lyxerr instead of cerr.
379 2001-03-15 André Pönitz <poenitz@gmx.net>
381 * math_cursor.C: fix bug (cursor was leaving two insets at a time
384 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
386 * math_macrotable.h: noncopyable is in namespace boost
387 * math_macrotemplate.h: ditto
389 * math_rowst.h: make MathedRowContainer::iterator public.
391 2001-03-15 André Pönitz <poenitz@gmx.net>
393 * math_parser.C: read '\nonumber' again (was broken)
395 * math_rowst.C: new file
397 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
399 * math_cursor.C: added using directive.
401 2001-03-15 André Pönitz <poenitz@gmx.net>
403 * math_rowst.h: Finally remove MathedRowSt
406 math_xiter.C: changed accordingly
408 2001-03-12 André Pönitz <poenitz@gmx.net>
410 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
411 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
413 2001-03-10 André Pönitz <poenitz@gmx.net>
416 math_matrixinset.C: move adjustVerticalSt to the only place where
417 it is used. Fix a small bug where the cached row structure and the
418 actual data get out of sync after the deletion of whole rows
420 2001-03-09 André Pönitz <poenitz@gmx.net>
422 * math_cursor.C: use std::vector<> in MathStackXIter
423 change selstk from a pointer to the "real thing"
425 * math_rowst.h: new MathedRowContainer::erase method
427 * math_xiter.C: use MathedRowContainer::erase
429 * math_parser.C: use MathedRowContainer::insert_after
431 2001-03-08 André Pönitz <poenitz@gmx.net>
433 * math_rowst.h: give MathedRowContainer an 'insert' method.
435 * math_xiter.C: new 'container()' method to encapsulated access to
436 the MathParInset's MathedRowContainer
438 * math_rowst.h: proper copy constructor and destructor for
441 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
442 automatically created by the compiler are ok now.
444 2001-03-06 André Pönitz <poenitz@gmx.net>
446 * array.[Ch]: factor out deep_copy,
447 remove third argument from raw_pointer_insert
449 * math_iter.[Ch]: remove unused function Clear()
451 * math_cursor.C: change signature of MathStackXIter:push()
454 * math_rowst.h: introduction of MathRowContainer
455 several files: corresponding changes
457 2001-03-04 André Pönitz <poenitz@gmx.net>
459 * math_macrotemplate.[Ch]:
460 math_macro.C: move update() functionality to the macro
462 * math_rowst.h: split MathedRowSt into "data" and "list"
464 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
466 * math_macrotemplate.C (update): use MathMacro::getArg, and
467 receive a const reference.
468 (getMacroPar): add an Assert
470 * math_macrotemplate.h: make MathMacro a friend, make update take
473 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
474 and store a MathMacroArgument in the vector
475 * math_macro.C: changes because of the above.
478 * math_parser.C (mathed_parse): plug potential leak
480 * math_iter.h: add comment on virtual destructor
482 * math_iter.C (Delete): make c const
484 * math_parinset.C (Metrics): cleanup indent. make one string const.
486 * math_inset.C (size): move out of line
489 * math_macroarg.h: remove default constructor
491 * math_macroarg.C: include Lsstream.h instead of debug.h
492 (MathMacroArgument): remove default constructor
493 (Write): add std:: on ostream arg
495 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
498 * formula.C: make DEBUG into lyxerr
500 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
502 * math_macrotemplate.h: make noncopyable, remove last arg to
503 constructor, remove flags_ add edit_
504 (flags): remove method
506 * math_macrotemplate.C (setArgument): delete method
507 (update): make idx const
508 (Metrics): use edit_, remove flags_
509 (draw): use edit_, remove flags_
510 (setEditMode): set edit_, remove flags_
511 (MathMacroTemplate): initialize edit_, remove flags_
513 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
514 shared_ptr, let constructor take a shared_ptr
516 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
518 (draw): remove unneded update, remove removed update of x,y
519 (GetXY): call tmplates GetMacroXY directly
520 (SetFocus): call Metrics() instead of update()
521 (Write): remove support for math macro environments, simplifications.
523 * math_macrotable.h: make class noncopyable, change getMacro to
524 createMacro, change vector to map store a
525 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
527 * math_macrotable.C: add pragma
528 (createMacro): change name from getMacro, use shared_ptr
529 (getTemplate): Use map lookup to get macro, return shared_ptr
530 (addTemplate): assert that m containse a valid pointer, use map[]
532 (builtinMacros): by using shared_ptr fix the mem leak, remove
533 commented out unsupported macros
535 * math_cursor.C: changes because of the above
536 * math_parser.C: changes because of the abobe
538 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
539 default arg on constructor.
540 * formulamacro.C: changes because of the above
542 * math_parinset.h: add pragma
543 (SetAlign): move inline out of class def
547 (setArgumentIdx): ditto
548 (setNextArgIdx): ditto
549 (getArgumentIdx): ditto
550 (getMaxArgumentIdx): ditto
555 * math_parinset.C: add pragma
556 (Write): change the else clause, lessen depth
558 * math_macroarg.h: small whitespace change
560 * array.C: include support/LOstream.h add using ostream and endl
562 * array.h (dump): add std:: on ostream
564 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
566 * math_macrotemplate.h: remove default arg on update
568 * math_macrotemplate.C (update): add assert and remove noop case.
570 * formulamacro.C (Read): add comment.
571 (ascent): remove noop call to MathMacroTemplate
576 * math_parser.C (mathed_parse): fix another potential problem by
577 passing a freestanding mathedarray.
579 * math_root.C (GetData): add const version
581 * math_parinset.C (~MathParInset): delete
582 (GetData): add const version
584 * math_matrixinset.C (MathMatrixInset): delete pointer version,
585 make it a proper copy constructor instead
587 (MathMatrixInset): remvoe default val for m and n
589 * math_macro.C (GetData): add const version
591 * math_fracinset.C (GetData): add const version
593 * math_cursor.C (SelCopy): make p1 and p2 const
594 (SelCut): make p1 and p2 const
596 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
597 (LyxCode): move inline out of class
601 * array.[Ch] (dump): method added for debugging purposes
603 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
604 mathed_parse when reading a matrix.
606 * math_spaceinset.[Ch]: add pragma, make variables private add
607 '_', change order of method definitions.
609 * math_root.h (~MathRootInset): delete
610 Change uroot_ to be a real object instead of a pointer
611 * math_root.C: changes because of the above
613 * math_macro.C (MathMacro(MathMacro*)): delete constructor
614 (MathMacro(MathMacro const &)): new copy constructor
616 * math_inset.h: delete constructor taking a pointer to MathedInset
617 (size, incSize): move inline method
619 * math_funcinset.h: add pragma, remove class vars ln and fname,
620 change protected to private, add '_' to priv vars.
621 (~MathFuncInset): remove
623 * math_fracinset.h: make MathParInset den_ a real object and not a
626 * math_fracinset.C (MathFracInset): clean up, move initalization
627 to initialization list
628 (~MathFracInset): remove
631 * math_draw.C: delete file
633 * math_dotsinset.[Ch]: add pragma
635 * math_bigopinset.h: make protected variables private add '_' to vars.
637 * math_bigopinset.C: move methods to follow class definition order
639 * math_accentinset.h (getAccentCode): move inline here
641 * math_accentinset.C (MathAccentInset): cleanup
644 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
646 * math_inset.[Ch] (MathedInset): remove method
648 * Makefile.am (libmathed_la_SOURCES): correct typo
650 * math_parinset.C (draw): move MathedXiter data(this) up. and
651 remove it two other places.
653 * math_macro.C (MathMacro): use array directly, don't use
654 setArgumentIdx and GetData
656 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
658 * math_macroarg.C (MathMacroArgument): delete
659 * math_macro.C (~MathMacro): delete
660 * math_macrotemplate.C (~MathMacroTemplate): delete
662 * math_decorationinset.[Ch]: add pragma
663 * math_deliminset.[Ch]: likewise
664 * math_fracinset.[Ch]: likewise
665 * math_macroarg.[Ch]: likewise
666 * math_macrotemplate.[Ch]: likewise
667 * math_matrixinset.[Ch]: likewise
669 * formulamacro.C (Read): set contents of tmacro_ to ar.
671 * formulamacro.h: add '_' to private variables.
672 * formalamacro.C: changes because of this.
674 2001-02-23 Juergen Vigna <jug@sad.it>
676 * formula.C (LocalDispatch): changed action to be a kb_action (as it
677 should be) and not an int.
679 * formulamacro.C (LocalDispatch): ditto.
681 2001-02-14 André Pönitz <poenitz@gmx.net>
683 * math_parinset.[Ch]: make array a real MathArray, not just a
686 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
688 * several files: subsequent changes
690 * math_cursor.C: make selarray a proper MathArray
692 * several files: Change "MathedArray *" to "MathedArray &"
695 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
697 * array.C (MathedArray): Fix compilation problem.
699 2001-02-14 André Pönitz <poenitz@gmx.net>
701 * array.[Ch]: "deep" copy constructor and assignment operator for
704 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
706 * math_iter.[Ch]: remove SetData
707 several files: subsequent changes
709 2001-02-14 André Pönitz <poenitz@gmx.net>
711 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
714 * math_iter.C: default-construct and resize array
716 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
718 * math_xiter.h: move ipush and ipop to public, add _ on private
719 variables, move protected var to private, remove friend.
721 * math_cursor.C (insertInset): rename method from Insert also
722 remove default arg val. Call the public methods of xiter instead
723 of private variables.
725 * changes to several files because of the above.
727 2001-02-14 André Pönitz <poenitz@gmx.net>
729 * math_iter.[Ch]: hide fcode_
731 * math_parinset.C: subsequent changes
734 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
736 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
739 * math_write.C: delete file
740 * math_delim.C: delete file
741 * marh_sqrtinset.h: delete file
743 * move funcs to more localized files, more general cleanup.
744 Constify several local vars. Doxygen changes. Formatting.
746 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
748 * support.C: add some consts
750 * matriz.C: clean up a bit.
751 (matmat): remove the for loop.
753 * several files: changes so that several friends can be removed
755 2001-02-14 André Pönitz <poenitz@gmx.net>
757 * formula.C: reformatting
761 math_xiter.[Ch]: remove unneeded members
763 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
767 * formula.C: remove cruft
769 * array.C (begin): new method
772 2001-02-14 André Pönitz <poenitz@gmx.net>
774 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
776 * math_cursor.C: reformatting
778 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
782 * math_matrixinset.C:
783 * math_macrotemplate.C:
788 * math_decorationinset.C:
790 * math_accentinset.C:
791 * math_sqrtinset.C: include LOstream.h and add using directive.
793 2001-02-14 André Pönitz <poenitz@gmx.net>
795 * math_iter.C: reformatting
797 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
799 * math_spaceinset.C (GetSpace): move here
801 * math_parinset.C: add debug.h, move several prev. inlined methods
804 * math_macrotable.C math_xiter.C support.C: add debug.h
806 * math_macro.h: remove debug.h, remove typedefs
808 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
811 * math_hash.C: change some defines to int const. change use of
812 LM_TC_NORMAL to LM_TC_VAR
814 * math_draw.C: delete file
816 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
817 forward decls. remove LM_TC_NORMAL, move inline methods to
818 support.C (and support.h)
820 * math_cursor.C: move several previous inlined methods here
822 * math_bigopinset.h math_dotsinset.h math_funcinset.h
823 math_parinset.h math_spaceinset.h: add math_defs.h
825 * math_accentinset.h: add support.h and math_defs.h
827 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
829 * formula.h: remove unused func decl: OpenMathInset
831 * formula.C math_inset.h: get rid of math_defs.h
833 * array.h: switch to support.h instead of math_defs.h
835 * array.C: remove one include
837 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
839 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
841 * math_parser.C: include macrotable and macrotemplate
843 * math_macrotemplate.[Ch]: new files
845 * math_macrotable.[Ch]: new files
847 * math_macroarg.[Ch]: new files
849 * math_macro.C: move stuff to the new files.
851 * math_cursor.C: include math_macrotable.h
853 * macro_support.[Ch]: new files
855 * formulamacro.C: add more includes
857 * Makefile.am (libmathed_la_SOURCES): add new files.
859 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
861 * Makefile.am (libmathed_la_SOURCES): remove duplicate
866 * math_parinset.C: add a bunch of "using" directives.
869 * math_decorationinset.h:
871 * math_spaceinset.h: remove more couples of inline.
873 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
875 * math_xiter.h: remove a couple of "inline"
877 * array.C (strange_copy): fix bug (hopefully)
878 * many files: add a lot of new files and move methods to the class
879 files they belong to. Only first attempt at cleanup more will
882 2001-02-12 André Pönitz <poenitz@gmx.net>
884 * math_macro.[hC]: replace MathMacroArgument[] with
885 std::vector<MathMacroArgument>
887 math_inset.C: replace int[] with std::vector<int>
889 * math_symbols.C: replace FL_OBJECTP[] with
890 std::vector<FL_OBJECT*>
892 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
894 * math_defs.h (struct MathedRowSt): make all private variables end
895 with '_', initialize in initializer list instead of in function
898 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
900 * formula.C (LocalDispatch): Change the default action of
901 break-line to create an align* environment instead of eqnarray*.
903 * math_inset.C (Metrics): Correct drawing of the multline
906 2001-02-12 André Pönitz <poenitz@gmx.net>
908 * array.[hC]: replace private variable maxsize_ with call to
910 * math_defs.h: replace int[] by std::vector<int> for
913 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
915 * array.h: made all variables private, removed friend, added new
916 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
917 non const operator[] added setter for last and getter for maxsize.
918 changed name from LyxArrayBase to MathedArray.
919 changed name of some methods to start with lowerchar.
920 moved inline methods to array.C
922 * math_iter.C + several file: changes because of the above.
924 * array.C: new file with the prev inline methods.
926 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
928 * Many files: add support for the align environment from amsmath.
930 2001-02-09 André Pönitz <poenitz@gmx.net>
932 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
933 * several files: subsequent changes
934 * math_iter.h: remove unused prototype
937 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
939 * math_macro.C (draw): add .c_str() to .str() (useful when
940 compiling with lyxstring, but STL sstream).
943 2001-02-08 André Pönitz <poenitz@gmx.net>
945 * several files: get rid of reinterpret_cast.
947 2001-02-04 Allan Rae <rae@lyx.org>
949 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
950 just casting the variable.
952 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
954 * Many files: Add support for multline and alignat environments from
957 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
959 * math_symbols.C (math_insert_greek): Move cursor right when
960 unlocking the math inset.
962 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
964 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
966 * formula.C (LocalDispatch): Before inserting a label in an
967 eqnarray, move the cursor to the top level.
969 * math_iter.C (getLabel): Test if crow == 0.
971 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
973 * math_draw.C (Metrics): Use the correct GetString.