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 * math_funcinset.[Ch]: bring red color back
16 2001-08-01 André Pönitz <poenitz@gmx.net>
19 formulamacro.C: fix memory leaks
21 * math_matrixinset.C: fix mis-alignment of eqnarray columns
23 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
24 MathMatrixInset * and MathMacroTemplate * to save a few casts
26 * all over the place: everything is an inset now
28 * math_nestinset.[Ch]: new abstract base class for insets containing
31 * math_diminset.[Ch]: new abstract base class for insets that need
32 the width_/ascent_/descent_ cache
34 2001-07-25 André Pönitz <poenitz@gmx.net>
36 * formulabase.C: re-enable 'space enlargement' feature
39 math_bigopinset.C: rework of script insets
41 2001-07-22 André Pönitz <poenitz@gmx.net>
43 * math_cursor.C: fix "pullArg" behaviour
45 * math_cursor.C: keep empty super/subscript a bit longer
47 * math_cursor.C: do not move into insets that don't have inner cells yet
49 * formulabase.C: fix memory leak
51 * math_cursor.C: ^ now copies selection into new srriptinset
53 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
56 * math_updowninset.C: fix drawing glitches
58 * math_cursor.C: paste to correct position
60 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * formula.C (insetAllowed): allow insertion of label
64 2001-07-20 André Pönitz <poenitz@gmx.net>
66 * math_macrotable.C: support for \land and \vee
68 2001-07-16 André Pönitz <poenitz@gmx.net>
70 * math_grid.[Ch] -> math_gridinset.[Ch]
71 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
73 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
74 fix 'mathed reports wrong width', cosmetics
76 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
78 * math_cursor.C (operator==): moved ouf of struct
80 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
82 2001-07-16 André Pönitz <poenitz@gmx.net>
84 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
86 * several files: supporting changes
88 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
90 Consistent use of Lsstream.h:
91 * formula.C: removed using std::ostringstream directive.
93 * math_cursor.C: std::istringstream -> istringstream.
95 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
97 * math_decorationinset.h: add std:: qualifier
99 2001-07-12 André Pönitz <poenitz@gmx.net>
101 * math_updowninset.[hC]: new base class for script and bigop insets
102 *.[hC]: subsequent changes to all Metric() functions
104 * math_parser.C: small changes (\sqrt0 is read properly now)
106 2001-07-10 André Pönitz <poenitz@gmx.net>
108 * math_accentinset.[hC]: rewrite
111 math_cursor.C: subsequent changes
113 * math_grid.C: <Delete> in the first cell of a completely empty row
114 deletes that row, <C-Return> places the cursor in the first of the
117 * math_grid.C: try to split cell nicely when mutating from single-cell
118 to multi-cell environment
120 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
122 * math_matrixinset.C (mutate): Use only the first label when
123 mutating eqnarray to display formula.
125 2001-07-09 Juergen Vigna <jug@sad.it>
127 * formulabase.C (mathDispatchCreation): don't do anything with the
128 inset if it cannot be inserted!
130 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
132 * formulabase.C (mathDispatchInsertMath): remove bogus return
135 2001-07-09 André Pönitz <poenitz@gmx.net>
137 * math_*inset.C: Change order of arguments in MathInset constructor
139 * math_cursor.C: Remove broken "increase space" feature for a while
141 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
143 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
145 2001-07-04 André Pönitz <poenitz@gmx.net>
147 * math_parser.C: fix reading of "unusual" alpha chars
149 * xarray.[hC]: fix debug output of xarray
151 2001-07-03 André Pönitz <poenitz@gmx.net>
153 * math_parser.C: fix bug where equations did not get their labels
155 * formulabase.C: new feature: changing font on selection
157 * several files: subsequent changes
159 * array.C: fix bug when insets have not been cloned properly
160 This should fix quite a few "random" crashes...
162 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
164 * formulabase.C (localDispatch): use .c_str() on istringstream
165 constructor argument.
167 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
169 * math_grid.C (addCol): add second argument to cellinfo_.insert.
170 Cleanup a bit the code.
171 (appendRow): do not call push_back without argument.
173 * *.C: remove all "using namespace std" directives (not
174 good!!) and replaced it with relevant "using" directives.
176 * math_macrotemplate.C (Clone): change return type to MathInset*
178 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * math_sizeinset.C: include support/LOstream.h
182 * math_scriptinset.C (Metrics): std:: qualify max
184 * math_root.C (Metrics): std:: qualify max
185 (Write): std:: qualify ostream
188 * math_matrixinset.C (getLabelList): std:: qualify vector
190 (Metrics): std:: qualify max
191 (header_write): std:: qualify ostream
192 (footer_write): ditto
194 * math_macrotemplate.C (Write): std:: qualify ostream
196 * math_bigopinset.C (Metrics): std:: qualify max, and include
199 * math_matrixinset.h: include vector and std:: qualify it.
201 * array.C (GetInset): get a pointer to the first element of bf_
204 2001-06-25 The LyX Project <Asger>
206 * math_scriptinset.C: Fix for entering with cursor up/down.
208 * math_fracinset.C: We can enter fractions with cursor up and
211 * math_cursor.C (Right): Fixes for cursor movement.
213 * formula.C (draw): New background color for math.
215 * math_cursor.C: Fixes for toggling labels on/off in math.
216 Fixes for infinity and other symbols that didn't appear in
219 2001-06-24 The LyX Project <Asger>
221 * math_inset.C: Cursor movement is better in square roots, among
224 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
225 cursor up/down movement. What not.
227 2001-06-24 The LyX Project <Asger>
229 * math_matrixinset.C: Hidden labels are hidden, unless a small
230 dragon jumps out of the screen, and pronounce them to the entire
233 2001-06-24 The LyX Project <Easter egg>
235 * math_cursor.C: Cursor improvements after a few dead-ends
236 in the evolution of cursor movement were tested and scrapped.
238 2001-06-24 The LyX Project <Asger>
240 * math_cursor.C: Renamed stack to path.
242 2001-06-24 The LyX Project <André>
245 Makefile.am: The Big Patch
246 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
247 new MathScriptInset for up/down stuff;
248 delete MathIter/MatXIter, MathParInset, MathRowSt
249 Changes to the inset inheritance tree, reunification of abstract math
251 label/numbering handling back to life;
252 major changes to the parser(s);
253 new base class FormulaBase for the two math LyXInsets;
254 general cleanup and cosmetic changes)
256 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
259 * math_root.C: removed // -*- C++ -*- as first line.
261 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
263 * array.C: bring memmove into main namespace if necessary
265 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
267 * math_parser.C (yylex): use contains instead of strchr
268 (parse_align): remove last arg, change to take string const & as
270 (mathed_parse): use string for ar2 and ar, adjust
272 * math_decorationinset.C (Write): use compare instead of strcmp
274 * formula.C (LocalDispatch): change arg2 to string, adjust for this
275 (LocalDispatch): add std::
276 (LocalDispatch): use contains instead of strchr
278 * array.C (move): add std::
280 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
282 * matriz.C: add using directives when needed for C functions
283 declared in std:: namespace.
285 * math_macrotemplate.h: do not use explicitely std::string, but
288 * math_macroarg.C: avoid bringing the whole std:: namespace in
289 global-land. When you do that, there is an ambiguity between
290 lyxstring and std::string (which may be defined at the same time).
292 * formula.C (HandleExtern): add .c_str() to .str() (useful when
295 2001-04-27 André Pönitz <poenitz@gmx.net>
297 * math_parser.C: fix \frac handling bug introduced on 04-24
298 * math_xiter.C: hotfix for merging "shared" insets
299 * formula.C: fixing display after using math-insert
301 2001-04-25 André Pönitz <poenitz@gmx.net>
303 * math_*.[Ch]: WriteNormal
304 * formula.C: Support for new "math extern" command
305 * math_parser.C: fix \frac handling bug introduced on 04-24
306 * math_xiter.C: hotfix for merging "shared" insets
308 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * math_macrotable.C: include <iostream>
312 2001-04-24 André Pönitz <poenitz@gmx.net>
315 * math_macrotable.[Ch]:
316 * math_macroarg.[Ch]: restructuring of macro handling
319 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
321 * array.h (operator<<):
322 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
324 * math_macrotable.C: added using std::make_pair directive.
325 (dump): added using std::cerr directive here as I guess that this is
328 2001-04-20 Allan Rae <rae@lyx.org>
330 * formula.C (LocalDispatch): fixed another #warning. Guess who.
332 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
334 * math_macrotemplate.h: inherit privately from noncopyable
336 * math_macro.C (Metrics): reindent, use unsigned int as loop var
337 (setArgumentIdx): change test to avoid unsigned warning
339 * formula.C (LocalDispatch): use LFUN_MESSAGE
341 2001-04-16 Allan Rae <rae@lyx.org>
343 * formula.C (Latex, getLabelList, LocalDispatch):
344 * math_parser.C (mathed_parse):
345 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
346 an unrecognised preprocessor directive. So ensure they're wrapped.
348 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
350 * formula.C (draw): adjust for cursor_visible
351 (ToggleInsetCursor): adjust for cursor_visible and constify asc
353 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
354 (HideInsetCursor): adjust for cursor_visible
355 (LocalDispatch): constify default_label and res
357 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * math_rowst.C: add missing #include <config.h>.
361 2001-03-16 André Pönitz <poenitz@gmx.net>
363 * math_matrixinset.h:
364 * math_parinset.[Ch]:
365 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
367 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
375 * math_symbols.C: maths panel moved to GUII
377 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
379 * math_cursor.C: use lyxerr instead of cerr.
381 2001-03-15 André Pönitz <poenitz@gmx.net>
383 * math_cursor.C: fix bug (cursor was leaving two insets at a time
386 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
388 * math_macrotable.h: noncopyable is in namespace boost
389 * math_macrotemplate.h: ditto
391 * math_rowst.h: make MathedRowContainer::iterator public.
393 2001-03-15 André Pönitz <poenitz@gmx.net>
395 * math_parser.C: read '\nonumber' again (was broken)
397 * math_rowst.C: new file
399 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
401 * math_cursor.C: added using directive.
403 2001-03-15 André Pönitz <poenitz@gmx.net>
405 * math_rowst.h: Finally remove MathedRowSt
408 math_xiter.C: changed accordingly
410 2001-03-12 André Pönitz <poenitz@gmx.net>
412 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
413 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
415 2001-03-10 André Pönitz <poenitz@gmx.net>
418 math_matrixinset.C: move adjustVerticalSt to the only place where
419 it is used. Fix a small bug where the cached row structure and the
420 actual data get out of sync after the deletion of whole rows
422 2001-03-09 André Pönitz <poenitz@gmx.net>
424 * math_cursor.C: use std::vector<> in MathStackXIter
425 change selstk from a pointer to the "real thing"
427 * math_rowst.h: new MathedRowContainer::erase method
429 * math_xiter.C: use MathedRowContainer::erase
431 * math_parser.C: use MathedRowContainer::insert_after
433 2001-03-08 André Pönitz <poenitz@gmx.net>
435 * math_rowst.h: give MathedRowContainer an 'insert' method.
437 * math_xiter.C: new 'container()' method to encapsulated access to
438 the MathParInset's MathedRowContainer
440 * math_rowst.h: proper copy constructor and destructor for
443 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
444 automatically created by the compiler are ok now.
446 2001-03-06 André Pönitz <poenitz@gmx.net>
448 * array.[Ch]: factor out deep_copy,
449 remove third argument from raw_pointer_insert
451 * math_iter.[Ch]: remove unused function Clear()
453 * math_cursor.C: change signature of MathStackXIter:push()
456 * math_rowst.h: introduction of MathRowContainer
457 several files: corresponding changes
459 2001-03-04 André Pönitz <poenitz@gmx.net>
461 * math_macrotemplate.[Ch]:
462 math_macro.C: move update() functionality to the macro
464 * math_rowst.h: split MathedRowSt into "data" and "list"
466 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
468 * math_macrotemplate.C (update): use MathMacro::getArg, and
469 receive a const reference.
470 (getMacroPar): add an Assert
472 * math_macrotemplate.h: make MathMacro a friend, make update take
475 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
476 and store a MathMacroArgument in the vector
477 * math_macro.C: changes because of the above.
480 * math_parser.C (mathed_parse): plug potential leak
482 * math_iter.h: add comment on virtual destructor
484 * math_iter.C (Delete): make c const
486 * math_parinset.C (Metrics): cleanup indent. make one string const.
488 * math_inset.C (size): move out of line
491 * math_macroarg.h: remove default constructor
493 * math_macroarg.C: include Lsstream.h instead of debug.h
494 (MathMacroArgument): remove default constructor
495 (Write): add std:: on ostream arg
497 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
500 * formula.C: make DEBUG into lyxerr
502 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
504 * math_macrotemplate.h: make noncopyable, remove last arg to
505 constructor, remove flags_ add edit_
506 (flags): remove method
508 * math_macrotemplate.C (setArgument): delete method
509 (update): make idx const
510 (Metrics): use edit_, remove flags_
511 (draw): use edit_, remove flags_
512 (setEditMode): set edit_, remove flags_
513 (MathMacroTemplate): initialize edit_, remove flags_
515 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
516 shared_ptr, let constructor take a shared_ptr
518 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
520 (draw): remove unneded update, remove removed update of x,y
521 (GetXY): call tmplates GetMacroXY directly
522 (SetFocus): call Metrics() instead of update()
523 (Write): remove support for math macro environments, simplifications.
525 * math_macrotable.h: make class noncopyable, change getMacro to
526 createMacro, change vector to map store a
527 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
529 * math_macrotable.C: add pragma
530 (createMacro): change name from getMacro, use shared_ptr
531 (getTemplate): Use map lookup to get macro, return shared_ptr
532 (addTemplate): assert that m containse a valid pointer, use map[]
534 (builtinMacros): by using shared_ptr fix the mem leak, remove
535 commented out unsupported macros
537 * math_cursor.C: changes because of the above
538 * math_parser.C: changes because of the abobe
540 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
541 default arg on constructor.
542 * formulamacro.C: changes because of the above
544 * math_parinset.h: add pragma
545 (SetAlign): move inline out of class def
549 (setArgumentIdx): ditto
550 (setNextArgIdx): ditto
551 (getArgumentIdx): ditto
552 (getMaxArgumentIdx): ditto
557 * math_parinset.C: add pragma
558 (Write): change the else clause, lessen depth
560 * math_macroarg.h: small whitespace change
562 * array.C: include support/LOstream.h add using ostream and endl
564 * array.h (dump): add std:: on ostream
566 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
568 * math_macrotemplate.h: remove default arg on update
570 * math_macrotemplate.C (update): add assert and remove noop case.
572 * formulamacro.C (Read): add comment.
573 (ascent): remove noop call to MathMacroTemplate
578 * math_parser.C (mathed_parse): fix another potential problem by
579 passing a freestanding mathedarray.
581 * math_root.C (GetData): add const version
583 * math_parinset.C (~MathParInset): delete
584 (GetData): add const version
586 * math_matrixinset.C (MathMatrixInset): delete pointer version,
587 make it a proper copy constructor instead
589 (MathMatrixInset): remvoe default val for m and n
591 * math_macro.C (GetData): add const version
593 * math_fracinset.C (GetData): add const version
595 * math_cursor.C (SelCopy): make p1 and p2 const
596 (SelCut): make p1 and p2 const
598 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
599 (LyxCode): move inline out of class
603 * array.[Ch] (dump): method added for debugging purposes
605 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
606 mathed_parse when reading a matrix.
608 * math_spaceinset.[Ch]: add pragma, make variables private add
609 '_', change order of method definitions.
611 * math_root.h (~MathRootInset): delete
612 Change uroot_ to be a real object instead of a pointer
613 * math_root.C: changes because of the above
615 * math_macro.C (MathMacro(MathMacro*)): delete constructor
616 (MathMacro(MathMacro const &)): new copy constructor
618 * math_inset.h: delete constructor taking a pointer to MathedInset
619 (size, incSize): move inline method
621 * math_funcinset.h: add pragma, remove class vars ln and fname,
622 change protected to private, add '_' to priv vars.
623 (~MathFuncInset): remove
625 * math_fracinset.h: make MathParInset den_ a real object and not a
628 * math_fracinset.C (MathFracInset): clean up, move initalization
629 to initialization list
630 (~MathFracInset): remove
633 * math_draw.C: delete file
635 * math_dotsinset.[Ch]: add pragma
637 * math_bigopinset.h: make protected variables private add '_' to vars.
639 * math_bigopinset.C: move methods to follow class definition order
641 * math_accentinset.h (getAccentCode): move inline here
643 * math_accentinset.C (MathAccentInset): cleanup
646 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
648 * math_inset.[Ch] (MathedInset): remove method
650 * Makefile.am (libmathed_la_SOURCES): correct typo
652 * math_parinset.C (draw): move MathedXiter data(this) up. and
653 remove it two other places.
655 * math_macro.C (MathMacro): use array directly, don't use
656 setArgumentIdx and GetData
658 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
660 * math_macroarg.C (MathMacroArgument): delete
661 * math_macro.C (~MathMacro): delete
662 * math_macrotemplate.C (~MathMacroTemplate): delete
664 * math_decorationinset.[Ch]: add pragma
665 * math_deliminset.[Ch]: likewise
666 * math_fracinset.[Ch]: likewise
667 * math_macroarg.[Ch]: likewise
668 * math_macrotemplate.[Ch]: likewise
669 * math_matrixinset.[Ch]: likewise
671 * formulamacro.C (Read): set contents of tmacro_ to ar.
673 * formulamacro.h: add '_' to private variables.
674 * formalamacro.C: changes because of this.
676 2001-02-23 Juergen Vigna <jug@sad.it>
678 * formula.C (LocalDispatch): changed action to be a kb_action (as it
679 should be) and not an int.
681 * formulamacro.C (LocalDispatch): ditto.
683 2001-02-14 André Pönitz <poenitz@gmx.net>
685 * math_parinset.[Ch]: make array a real MathArray, not just a
688 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
690 * several files: subsequent changes
692 * math_cursor.C: make selarray a proper MathArray
694 * several files: Change "MathedArray *" to "MathedArray &"
697 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
699 * array.C (MathedArray): Fix compilation problem.
701 2001-02-14 André Pönitz <poenitz@gmx.net>
703 * array.[Ch]: "deep" copy constructor and assignment operator for
706 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
708 * math_iter.[Ch]: remove SetData
709 several files: subsequent changes
711 2001-02-14 André Pönitz <poenitz@gmx.net>
713 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
716 * math_iter.C: default-construct and resize array
718 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
720 * math_xiter.h: move ipush and ipop to public, add _ on private
721 variables, move protected var to private, remove friend.
723 * math_cursor.C (insertInset): rename method from Insert also
724 remove default arg val. Call the public methods of xiter instead
725 of private variables.
727 * changes to several files because of the above.
729 2001-02-14 André Pönitz <poenitz@gmx.net>
731 * math_iter.[Ch]: hide fcode_
733 * math_parinset.C: subsequent changes
736 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
738 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
741 * math_write.C: delete file
742 * math_delim.C: delete file
743 * marh_sqrtinset.h: delete file
745 * move funcs to more localized files, more general cleanup.
746 Constify several local vars. Doxygen changes. Formatting.
748 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
750 * support.C: add some consts
752 * matriz.C: clean up a bit.
753 (matmat): remove the for loop.
755 * several files: changes so that several friends can be removed
757 2001-02-14 André Pönitz <poenitz@gmx.net>
759 * formula.C: reformatting
763 math_xiter.[Ch]: remove unneeded members
765 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
769 * formula.C: remove cruft
771 * array.C (begin): new method
774 2001-02-14 André Pönitz <poenitz@gmx.net>
776 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
778 * math_cursor.C: reformatting
780 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
784 * math_matrixinset.C:
785 * math_macrotemplate.C:
790 * math_decorationinset.C:
792 * math_accentinset.C:
793 * math_sqrtinset.C: include LOstream.h and add using directive.
795 2001-02-14 André Pönitz <poenitz@gmx.net>
797 * math_iter.C: reformatting
799 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
801 * math_spaceinset.C (GetSpace): move here
803 * math_parinset.C: add debug.h, move several prev. inlined methods
806 * math_macrotable.C math_xiter.C support.C: add debug.h
808 * math_macro.h: remove debug.h, remove typedefs
810 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
813 * math_hash.C: change some defines to int const. change use of
814 LM_TC_NORMAL to LM_TC_VAR
816 * math_draw.C: delete file
818 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
819 forward decls. remove LM_TC_NORMAL, move inline methods to
820 support.C (and support.h)
822 * math_cursor.C: move several previous inlined methods here
824 * math_bigopinset.h math_dotsinset.h math_funcinset.h
825 math_parinset.h math_spaceinset.h: add math_defs.h
827 * math_accentinset.h: add support.h and math_defs.h
829 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
831 * formula.h: remove unused func decl: OpenMathInset
833 * formula.C math_inset.h: get rid of math_defs.h
835 * array.h: switch to support.h instead of math_defs.h
837 * array.C: remove one include
839 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
841 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
843 * math_parser.C: include macrotable and macrotemplate
845 * math_macrotemplate.[Ch]: new files
847 * math_macrotable.[Ch]: new files
849 * math_macroarg.[Ch]: new files
851 * math_macro.C: move stuff to the new files.
853 * math_cursor.C: include math_macrotable.h
855 * macro_support.[Ch]: new files
857 * formulamacro.C: add more includes
859 * Makefile.am (libmathed_la_SOURCES): add new files.
861 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
863 * Makefile.am (libmathed_la_SOURCES): remove duplicate
868 * math_parinset.C: add a bunch of "using" directives.
871 * math_decorationinset.h:
873 * math_spaceinset.h: remove more couples of inline.
875 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
877 * math_xiter.h: remove a couple of "inline"
879 * array.C (strange_copy): fix bug (hopefully)
880 * many files: add a lot of new files and move methods to the class
881 files they belong to. Only first attempt at cleanup more will
884 2001-02-12 André Pönitz <poenitz@gmx.net>
886 * math_macro.[hC]: replace MathMacroArgument[] with
887 std::vector<MathMacroArgument>
889 math_inset.C: replace int[] with std::vector<int>
891 * math_symbols.C: replace FL_OBJECTP[] with
892 std::vector<FL_OBJECT*>
894 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
896 * math_defs.h (struct MathedRowSt): make all private variables end
897 with '_', initialize in initializer list instead of in function
900 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
902 * formula.C (LocalDispatch): Change the default action of
903 break-line to create an align* environment instead of eqnarray*.
905 * math_inset.C (Metrics): Correct drawing of the multline
908 2001-02-12 André Pönitz <poenitz@gmx.net>
910 * array.[hC]: replace private variable maxsize_ with call to
912 * math_defs.h: replace int[] by std::vector<int> for
915 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
917 * array.h: made all variables private, removed friend, added new
918 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
919 non const operator[] added setter for last and getter for maxsize.
920 changed name from LyxArrayBase to MathedArray.
921 changed name of some methods to start with lowerchar.
922 moved inline methods to array.C
924 * math_iter.C + several file: changes because of the above.
926 * array.C: new file with the prev inline methods.
928 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
930 * Many files: add support for the align environment from amsmath.
932 2001-02-09 André Pönitz <poenitz@gmx.net>
934 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
935 * several files: subsequent changes
936 * math_iter.h: remove unused prototype
939 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
941 * math_macro.C (draw): add .c_str() to .str() (useful when
942 compiling with lyxstring, but STL sstream).
945 2001-02-08 André Pönitz <poenitz@gmx.net>
947 * several files: get rid of reinterpret_cast.
949 2001-02-04 Allan Rae <rae@lyx.org>
951 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
952 just casting the variable.
954 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
956 * Many files: Add support for multline and alignat environments from
959 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
961 * math_symbols.C (math_insert_greek): Move cursor right when
962 unlocking the math inset.
964 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
966 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
968 * formula.C (LocalDispatch): Before inserting a label in an
969 eqnarray, move the cursor to the top level.
971 * math_iter.C (getLabel): Test if crow == 0.
973 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
975 * math_draw.C (Metrics): Use the correct GetString.