1 2001-07-22 André Pönitz <poenitz@gmx.net>
3 * math_cursor.C: fix "pullArg" behaviour
5 * math_cursor.C: keep empty super/subscript a bit longer
7 * math_cursor.C: do not move into insets that don't have inner cells yet
9 * formulabase.C: fix memory leak
11 * math_cursor.C: ^ now copies selection into new srriptinset
13 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
16 * math_updowninset.C: fix drawing glitches
18 * math_cursor.C: paste to correct position
20 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * formula.C (insetAllowed): allow insertion of label
24 2001-07-20 André Pönitz <poenitz@gmx.net>
26 * math_macrotable.C: support for \land and \vee
28 2001-07-16 André Pönitz <poenitz@gmx.net>
30 * math_grid.[Ch] -> math_gridinset.[Ch]
31 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
33 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
34 fix 'mathed reports wrong width', cosmetics
36 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
38 * math_cursor.C (operator==): moved ouf of struct
40 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
42 2001-07-16 André Pönitz <poenitz@gmx.net>
44 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
46 * several files: supporting changes
48 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
50 Consistent use of Lsstream.h:
51 * formula.C: removed using std::ostringstream directive.
53 * math_cursor.C: std::istringstream -> istringstream.
55 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
57 * math_decorationinset.h: add std:: qualifier
59 2001-07-12 André Pönitz <poenitz@gmx.net>
61 * math_updowninset.[hC]: new base class for script and bigop insets
62 *.[hC]: subsequent changes to all Metric() functions
64 * math_parser.C: small changes (\sqrt0 is read properly now)
66 2001-07-10 André Pönitz <poenitz@gmx.net>
68 * math_accentinset.[hC]: rewrite
71 math_cursor.C: subsequent changes
73 * math_grid.C: <Delete> in the first cell of a completely empty row
74 deletes that row, <C-Return> places the cursor in the first of the
77 * math_grid.C: try to split cell nicely when mutating from single-cell
78 to multi-cell environment
80 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
82 * math_matrixinset.C (mutate): Use only the first label when
83 mutating eqnarray to display formula.
85 2001-07-09 Juergen Vigna <jug@sad.it>
87 * formulabase.C (mathDispatchCreation): don't do anything with the
88 inset if it cannot be inserted!
90 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
92 * formulabase.C (mathDispatchInsertMath): remove bogus return
95 2001-07-09 André Pönitz <poenitz@gmx.net>
97 * math_*inset.C: Change order of arguments in MathInset constructor
99 * math_cursor.C: Remove broken "increase space" feature for a while
101 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
103 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
105 2001-07-04 André Pönitz <poenitz@gmx.net>
107 * math_parser.C: fix reading of "unusual" alpha chars
109 * xarray.[hC]: fix debug output of xarray
111 2001-07-03 André Pönitz <poenitz@gmx.net>
113 * math_parser.C: fix bug where equations did not get their labels
115 * formulabase.C: new feature: changing font on selection
117 * several files: subsequent changes
119 * array.C: fix bug when insets have not been cloned properly
120 This should fix quite a few "random" crashes...
122 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
124 * formulabase.C (localDispatch): use .c_str() on istringstream
125 constructor argument.
127 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
129 * math_grid.C (addCol): add second argument to cellinfo_.insert.
130 Cleanup a bit the code.
131 (appendRow): do not call push_back without argument.
133 * *.C: remove all "using namespace std" directives (not
134 good!!) and replaced it with relevant "using" directives.
136 * math_macrotemplate.C (Clone): change return type to MathInset*
138 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
140 * math_sizeinset.C: include support/LOstream.h
142 * math_scriptinset.C (Metrics): std:: qualify max
144 * math_root.C (Metrics): std:: qualify max
145 (Write): std:: qualify ostream
148 * math_matrixinset.C (getLabelList): std:: qualify vector
150 (Metrics): std:: qualify max
151 (header_write): std:: qualify ostream
152 (footer_write): ditto
154 * math_macrotemplate.C (Write): std:: qualify ostream
156 * math_bigopinset.C (Metrics): std:: qualify max, and include
159 * math_matrixinset.h: include vector and std:: qualify it.
161 * array.C (GetInset): get a pointer to the first element of bf_
164 2001-06-25 The LyX Project <Asger>
166 * math_scriptinset.C: Fix for entering with cursor up/down.
168 * math_fracinset.C: We can enter fractions with cursor up and
171 * math_cursor.C (Right): Fixes for cursor movement.
173 * formula.C (draw): New background color for math.
175 * math_cursor.C: Fixes for toggling labels on/off in math.
176 Fixes for infinity and other symbols that didn't appear in
179 2001-06-24 The LyX Project <Asger>
181 * math_inset.C: Cursor movement is better in square roots, among
184 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
185 cursor up/down movement. What not.
187 2001-06-24 The LyX Project <Asger>
189 * math_matrixinset.C: Hidden labels are hidden, unless a small
190 dragon jumps out of the screen, and pronounce them to the entire
193 2001-06-24 The LyX Project <Easter egg>
195 * math_cursor.C: Cursor improvements after a few dead-ends
196 in the evolution of cursor movement were tested and scrapped.
198 2001-06-24 The LyX Project <Asger>
200 * math_cursor.C: Renamed stack to path.
202 2001-06-24 The LyX Project <André>
205 Makefile.am: The Big Patch
206 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
207 new MathScriptInset for up/down stuff;
208 delete MathIter/MatXIter, MathParInset, MathRowSt
209 Changes to the inset inheritance tree, reunification of abstract math
211 label/numbering handling back to life;
212 major changes to the parser(s);
213 new base class FormulaBase for the two math LyXInsets;
214 general cleanup and cosmetic changes)
216 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
219 * math_root.C: removed // -*- C++ -*- as first line.
221 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
223 * array.C: bring memmove into main namespace if necessary
225 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
227 * math_parser.C (yylex): use contains instead of strchr
228 (parse_align): remove last arg, change to take string const & as
230 (mathed_parse): use string for ar2 and ar, adjust
232 * math_decorationinset.C (Write): use compare instead of strcmp
234 * formula.C (LocalDispatch): change arg2 to string, adjust for this
235 (LocalDispatch): add std::
236 (LocalDispatch): use contains instead of strchr
238 * array.C (move): add std::
240 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
242 * matriz.C: add using directives when needed for C functions
243 declared in std:: namespace.
245 * math_macrotemplate.h: do not use explicitely std::string, but
248 * math_macroarg.C: avoid bringing the whole std:: namespace in
249 global-land. When you do that, there is an ambiguity between
250 lyxstring and std::string (which may be defined at the same time).
252 * formula.C (HandleExtern): add .c_str() to .str() (useful when
255 2001-04-27 André Pönitz <poenitz@gmx.net>
257 * math_parser.C: fix \frac handling bug introduced on 04-24
258 * math_xiter.C: hotfix for merging "shared" insets
259 * formula.C: fixing display after using math-insert
261 2001-04-25 André Pönitz <poenitz@gmx.net>
263 * math_*.[Ch]: WriteNormal
264 * formula.C: Support for new "math extern" command
265 * math_parser.C: fix \frac handling bug introduced on 04-24
266 * math_xiter.C: hotfix for merging "shared" insets
268 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
270 * math_macrotable.C: include <iostream>
272 2001-04-24 André Pönitz <poenitz@gmx.net>
275 * math_macrotable.[Ch]:
276 * math_macroarg.[Ch]: restructuring of macro handling
279 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
281 * array.h (operator<<):
282 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
284 * math_macrotable.C: added using std::make_pair directive.
285 (dump): added using std::cerr directive here as I guess that this is
288 2001-04-20 Allan Rae <rae@lyx.org>
290 * formula.C (LocalDispatch): fixed another #warning. Guess who.
292 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
294 * math_macrotemplate.h: inherit privately from noncopyable
296 * math_macro.C (Metrics): reindent, use unsigned int as loop var
297 (setArgumentIdx): change test to avoid unsigned warning
299 * formula.C (LocalDispatch): use LFUN_MESSAGE
301 2001-04-16 Allan Rae <rae@lyx.org>
303 * formula.C (Latex, getLabelList, LocalDispatch):
304 * math_parser.C (mathed_parse):
305 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
306 an unrecognised preprocessor directive. So ensure they're wrapped.
308 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
310 * formula.C (draw): adjust for cursor_visible
311 (ToggleInsetCursor): adjust for cursor_visible and constify asc
313 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
314 (HideInsetCursor): adjust for cursor_visible
315 (LocalDispatch): constify default_label and res
317 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
319 * math_rowst.C: add missing #include <config.h>.
321 2001-03-16 André Pönitz <poenitz@gmx.net>
323 * math_matrixinset.h:
324 * math_parinset.[Ch]:
325 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
327 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
335 * math_symbols.C: maths panel moved to GUII
337 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
339 * math_cursor.C: use lyxerr instead of cerr.
341 2001-03-15 André Pönitz <poenitz@gmx.net>
343 * math_cursor.C: fix bug (cursor was leaving two insets at a time
346 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
348 * math_macrotable.h: noncopyable is in namespace boost
349 * math_macrotemplate.h: ditto
351 * math_rowst.h: make MathedRowContainer::iterator public.
353 2001-03-15 André Pönitz <poenitz@gmx.net>
355 * math_parser.C: read '\nonumber' again (was broken)
357 * math_rowst.C: new file
359 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
361 * math_cursor.C: added using directive.
363 2001-03-15 André Pönitz <poenitz@gmx.net>
365 * math_rowst.h: Finally remove MathedRowSt
368 math_xiter.C: changed accordingly
370 2001-03-12 André Pönitz <poenitz@gmx.net>
372 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
373 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
375 2001-03-10 André Pönitz <poenitz@gmx.net>
378 math_matrixinset.C: move adjustVerticalSt to the only place where
379 it is used. Fix a small bug where the cached row structure and the
380 actual data get out of sync after the deletion of whole rows
382 2001-03-09 André Pönitz <poenitz@gmx.net>
384 * math_cursor.C: use std::vector<> in MathStackXIter
385 change selstk from a pointer to the "real thing"
387 * math_rowst.h: new MathedRowContainer::erase method
389 * math_xiter.C: use MathedRowContainer::erase
391 * math_parser.C: use MathedRowContainer::insert_after
393 2001-03-08 André Pönitz <poenitz@gmx.net>
395 * math_rowst.h: give MathedRowContainer an 'insert' method.
397 * math_xiter.C: new 'container()' method to encapsulated access to
398 the MathParInset's MathedRowContainer
400 * math_rowst.h: proper copy constructor and destructor for
403 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
404 automatically created by the compiler are ok now.
406 2001-03-06 André Pönitz <poenitz@gmx.net>
408 * array.[Ch]: factor out deep_copy,
409 remove third argument from raw_pointer_insert
411 * math_iter.[Ch]: remove unused function Clear()
413 * math_cursor.C: change signature of MathStackXIter:push()
416 * math_rowst.h: introduction of MathRowContainer
417 several files: corresponding changes
419 2001-03-04 André Pönitz <poenitz@gmx.net>
421 * math_macrotemplate.[Ch]:
422 math_macro.C: move update() functionality to the macro
424 * math_rowst.h: split MathedRowSt into "data" and "list"
426 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
428 * math_macrotemplate.C (update): use MathMacro::getArg, and
429 receive a const reference.
430 (getMacroPar): add an Assert
432 * math_macrotemplate.h: make MathMacro a friend, make update take
435 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
436 and store a MathMacroArgument in the vector
437 * math_macro.C: changes because of the above.
440 * math_parser.C (mathed_parse): plug potential leak
442 * math_iter.h: add comment on virtual destructor
444 * math_iter.C (Delete): make c const
446 * math_parinset.C (Metrics): cleanup indent. make one string const.
448 * math_inset.C (size): move out of line
451 * math_macroarg.h: remove default constructor
453 * math_macroarg.C: include Lsstream.h instead of debug.h
454 (MathMacroArgument): remove default constructor
455 (Write): add std:: on ostream arg
457 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
460 * formula.C: make DEBUG into lyxerr
462 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
464 * math_macrotemplate.h: make noncopyable, remove last arg to
465 constructor, remove flags_ add edit_
466 (flags): remove method
468 * math_macrotemplate.C (setArgument): delete method
469 (update): make idx const
470 (Metrics): use edit_, remove flags_
471 (draw): use edit_, remove flags_
472 (setEditMode): set edit_, remove flags_
473 (MathMacroTemplate): initialize edit_, remove flags_
475 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
476 shared_ptr, let constructor take a shared_ptr
478 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
480 (draw): remove unneded update, remove removed update of x,y
481 (GetXY): call tmplates GetMacroXY directly
482 (SetFocus): call Metrics() instead of update()
483 (Write): remove support for math macro environments, simplifications.
485 * math_macrotable.h: make class noncopyable, change getMacro to
486 createMacro, change vector to map store a
487 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
489 * math_macrotable.C: add pragma
490 (createMacro): change name from getMacro, use shared_ptr
491 (getTemplate): Use map lookup to get macro, return shared_ptr
492 (addTemplate): assert that m containse a valid pointer, use map[]
494 (builtinMacros): by using shared_ptr fix the mem leak, remove
495 commented out unsupported macros
497 * math_cursor.C: changes because of the above
498 * math_parser.C: changes because of the abobe
500 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
501 default arg on constructor.
502 * formulamacro.C: changes because of the above
504 * math_parinset.h: add pragma
505 (SetAlign): move inline out of class def
509 (setArgumentIdx): ditto
510 (setNextArgIdx): ditto
511 (getArgumentIdx): ditto
512 (getMaxArgumentIdx): ditto
517 * math_parinset.C: add pragma
518 (Write): change the else clause, lessen depth
520 * math_macroarg.h: small whitespace change
522 * array.C: include support/LOstream.h add using ostream and endl
524 * array.h (dump): add std:: on ostream
526 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
528 * math_macrotemplate.h: remove default arg on update
530 * math_macrotemplate.C (update): add assert and remove noop case.
532 * formulamacro.C (Read): add comment.
533 (ascent): remove noop call to MathMacroTemplate
538 * math_parser.C (mathed_parse): fix another potential problem by
539 passing a freestanding mathedarray.
541 * math_root.C (GetData): add const version
543 * math_parinset.C (~MathParInset): delete
544 (GetData): add const version
546 * math_matrixinset.C (MathMatrixInset): delete pointer version,
547 make it a proper copy constructor instead
549 (MathMatrixInset): remvoe default val for m and n
551 * math_macro.C (GetData): add const version
553 * math_fracinset.C (GetData): add const version
555 * math_cursor.C (SelCopy): make p1 and p2 const
556 (SelCut): make p1 and p2 const
558 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
559 (LyxCode): move inline out of class
563 * array.[Ch] (dump): method added for debugging purposes
565 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
566 mathed_parse when reading a matrix.
568 * math_spaceinset.[Ch]: add pragma, make variables private add
569 '_', change order of method definitions.
571 * math_root.h (~MathRootInset): delete
572 Change uroot_ to be a real object instead of a pointer
573 * math_root.C: changes because of the above
575 * math_macro.C (MathMacro(MathMacro*)): delete constructor
576 (MathMacro(MathMacro const &)): new copy constructor
578 * math_inset.h: delete constructor taking a pointer to MathedInset
579 (size, incSize): move inline method
581 * math_funcinset.h: add pragma, remove class vars ln and fname,
582 change protected to private, add '_' to priv vars.
583 (~MathFuncInset): remove
585 * math_fracinset.h: make MathParInset den_ a real object and not a
588 * math_fracinset.C (MathFracInset): clean up, move initalization
589 to initialization list
590 (~MathFracInset): remove
593 * math_draw.C: delete file
595 * math_dotsinset.[Ch]: add pragma
597 * math_bigopinset.h: make protected variables private add '_' to vars.
599 * math_bigopinset.C: move methods to follow class definition order
601 * math_accentinset.h (getAccentCode): move inline here
603 * math_accentinset.C (MathAccentInset): cleanup
606 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
608 * math_inset.[Ch] (MathedInset): remove method
610 * Makefile.am (libmathed_la_SOURCES): correct typo
612 * math_parinset.C (draw): move MathedXiter data(this) up. and
613 remove it two other places.
615 * math_macro.C (MathMacro): use array directly, don't use
616 setArgumentIdx and GetData
618 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
620 * math_macroarg.C (MathMacroArgument): delete
621 * math_macro.C (~MathMacro): delete
622 * math_macrotemplate.C (~MathMacroTemplate): delete
624 * math_decorationinset.[Ch]: add pragma
625 * math_deliminset.[Ch]: likewise
626 * math_fracinset.[Ch]: likewise
627 * math_macroarg.[Ch]: likewise
628 * math_macrotemplate.[Ch]: likewise
629 * math_matrixinset.[Ch]: likewise
631 * formulamacro.C (Read): set contents of tmacro_ to ar.
633 * formulamacro.h: add '_' to private variables.
634 * formalamacro.C: changes because of this.
636 2001-02-23 Juergen Vigna <jug@sad.it>
638 * formula.C (LocalDispatch): changed action to be a kb_action (as it
639 should be) and not an int.
641 * formulamacro.C (LocalDispatch): ditto.
643 2001-02-14 André Pönitz <poenitz@gmx.net>
645 * math_parinset.[Ch]: make array a real MathArray, not just a
648 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
650 * several files: subsequent changes
652 * math_cursor.C: make selarray a proper MathArray
654 * several files: Change "MathedArray *" to "MathedArray &"
657 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
659 * array.C (MathedArray): Fix compilation problem.
661 2001-02-14 André Pönitz <poenitz@gmx.net>
663 * array.[Ch]: "deep" copy constructor and assignment operator for
666 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
668 * math_iter.[Ch]: remove SetData
669 several files: subsequent changes
671 2001-02-14 André Pönitz <poenitz@gmx.net>
673 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
676 * math_iter.C: default-construct and resize array
678 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
680 * math_xiter.h: move ipush and ipop to public, add _ on private
681 variables, move protected var to private, remove friend.
683 * math_cursor.C (insertInset): rename method from Insert also
684 remove default arg val. Call the public methods of xiter instead
685 of private variables.
687 * changes to several files because of the above.
689 2001-02-14 André Pönitz <poenitz@gmx.net>
691 * math_iter.[Ch]: hide fcode_
693 * math_parinset.C: subsequent changes
696 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
698 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
701 * math_write.C: delete file
702 * math_delim.C: delete file
703 * marh_sqrtinset.h: delete file
705 * move funcs to more localized files, more general cleanup.
706 Constify several local vars. Doxygen changes. Formatting.
708 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
710 * support.C: add some consts
712 * matriz.C: clean up a bit.
713 (matmat): remove the for loop.
715 * several files: changes so that several friends can be removed
717 2001-02-14 André Pönitz <poenitz@gmx.net>
719 * formula.C: reformatting
723 math_xiter.[Ch]: remove unneeded members
725 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
729 * formula.C: remove cruft
731 * array.C (begin): new method
734 2001-02-14 André Pönitz <poenitz@gmx.net>
736 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
738 * math_cursor.C: reformatting
740 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
744 * math_matrixinset.C:
745 * math_macrotemplate.C:
750 * math_decorationinset.C:
752 * math_accentinset.C:
753 * math_sqrtinset.C: include LOstream.h and add using directive.
755 2001-02-14 André Pönitz <poenitz@gmx.net>
757 * math_iter.C: reformatting
759 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
761 * math_spaceinset.C (GetSpace): move here
763 * math_parinset.C: add debug.h, move several prev. inlined methods
766 * math_macrotable.C math_xiter.C support.C: add debug.h
768 * math_macro.h: remove debug.h, remove typedefs
770 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
773 * math_hash.C: change some defines to int const. change use of
774 LM_TC_NORMAL to LM_TC_VAR
776 * math_draw.C: delete file
778 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
779 forward decls. remove LM_TC_NORMAL, move inline methods to
780 support.C (and support.h)
782 * math_cursor.C: move several previous inlined methods here
784 * math_bigopinset.h math_dotsinset.h math_funcinset.h
785 math_parinset.h math_spaceinset.h: add math_defs.h
787 * math_accentinset.h: add support.h and math_defs.h
789 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
791 * formula.h: remove unused func decl: OpenMathInset
793 * formula.C math_inset.h: get rid of math_defs.h
795 * array.h: switch to support.h instead of math_defs.h
797 * array.C: remove one include
799 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
801 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
803 * math_parser.C: include macrotable and macrotemplate
805 * math_macrotemplate.[Ch]: new files
807 * math_macrotable.[Ch]: new files
809 * math_macroarg.[Ch]: new files
811 * math_macro.C: move stuff to the new files.
813 * math_cursor.C: include math_macrotable.h
815 * macro_support.[Ch]: new files
817 * formulamacro.C: add more includes
819 * Makefile.am (libmathed_la_SOURCES): add new files.
821 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
823 * Makefile.am (libmathed_la_SOURCES): remove duplicate
828 * math_parinset.C: add a bunch of "using" directives.
831 * math_decorationinset.h:
833 * math_spaceinset.h: remove more couples of inline.
835 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
837 * math_xiter.h: remove a couple of "inline"
839 * array.C (strange_copy): fix bug (hopefully)
840 * many files: add a lot of new files and move methods to the class
841 files they belong to. Only first attempt at cleanup more will
844 2001-02-12 André Pönitz <poenitz@gmx.net>
846 * math_macro.[hC]: replace MathMacroArgument[] with
847 std::vector<MathMacroArgument>
849 math_inset.C: replace int[] with std::vector<int>
851 * math_symbols.C: replace FL_OBJECTP[] with
852 std::vector<FL_OBJECT*>
854 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
856 * math_defs.h (struct MathedRowSt): make all private variables end
857 with '_', initialize in initializer list instead of in function
860 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
862 * formula.C (LocalDispatch): Change the default action of
863 break-line to create an align* environment instead of eqnarray*.
865 * math_inset.C (Metrics): Correct drawing of the multline
868 2001-02-12 André Pönitz <poenitz@gmx.net>
870 * array.[hC]: replace private variable maxsize_ with call to
872 * math_defs.h: replace int[] by std::vector<int> for
875 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
877 * array.h: made all variables private, removed friend, added new
878 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
879 non const operator[] added setter for last and getter for maxsize.
880 changed name from LyxArrayBase to MathedArray.
881 changed name of some methods to start with lowerchar.
882 moved inline methods to array.C
884 * math_iter.C + several file: changes because of the above.
886 * array.C: new file with the prev inline methods.
888 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
890 * Many files: add support for the align environment from amsmath.
892 2001-02-09 André Pönitz <poenitz@gmx.net>
894 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
895 * several files: subsequent changes
896 * math_iter.h: remove unused prototype
899 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
901 * math_macro.C (draw): add .c_str() to .str() (useful when
902 compiling with lyxstring, but STL sstream).
905 2001-02-08 André Pönitz <poenitz@gmx.net>
907 * several files: get rid of reinterpret_cast.
909 2001-02-04 Allan Rae <rae@lyx.org>
911 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
912 just casting the variable.
914 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
916 * Many files: Add support for multline and alignat environments from
919 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
921 * math_symbols.C (math_insert_greek): Move cursor right when
922 unlocking the math inset.
924 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
926 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
928 * formula.C (LocalDispatch): Before inserting a label in an
929 eqnarray, move the cursor to the top level.
931 * math_iter.C (getLabel): Test if crow == 0.
933 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
935 * math_draw.C (Metrics): Use the correct GetString.