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 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11 * formula.C (insetAllowed): allow insertion of label
13 2001-07-20 André Pönitz <poenitz@gmx.net>
15 * math_macrotable.C: support for \land and \vee
17 2001-07-16 André Pönitz <poenitz@gmx.net>
19 * math_grid.[Ch] -> math_gridinset.[Ch]
20 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
22 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
23 fix 'mathed reports wrong width', cosmetics
25 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
27 * math_cursor.C (operator==): moved ouf of struct
29 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
31 2001-07-16 André Pönitz <poenitz@gmx.net>
33 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
35 * several files: supporting changes
37 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
39 Consistent use of Lsstream.h:
40 * formula.C: removed using std::ostringstream directive.
42 * math_cursor.C: std::istringstream -> istringstream.
44 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
46 * math_decorationinset.h: add std:: qualifier
48 2001-07-12 André Pönitz <poenitz@gmx.net>
50 * math_updowninset.[hC]: new base class for script and bigop insets
51 *.[hC]: subsequent changes to all Metric() functions
53 * math_parser.C: small changes (\sqrt0 is read properly now)
55 2001-07-10 André Pönitz <poenitz@gmx.net>
57 * math_accentinset.[hC]: rewrite
60 math_cursor.C: subsequent changes
62 * math_grid.C: <Delete> in the first cell of a completely empty row
63 deletes that row, <C-Return> places the cursor in the first of the
66 * math_grid.C: try to split cell nicely when mutating from single-cell
67 to multi-cell environment
69 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
71 * math_matrixinset.C (mutate): Use only the first label when
72 mutating eqnarray to display formula.
74 2001-07-09 Juergen Vigna <jug@sad.it>
76 * formulabase.C (mathDispatchCreation): don't do anything with the
77 inset if it cannot be inserted!
79 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
81 * formulabase.C (mathDispatchInsertMath): remove bogus return
84 2001-07-09 André Pönitz <poenitz@gmx.net>
86 * math_*inset.C: Change order of arguments in MathInset constructor
88 * math_cursor.C: Remove broken "increase space" feature for a while
90 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
92 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
94 2001-07-04 André Pönitz <poenitz@gmx.net>
96 * math_parser.C: fix reading of "unusual" alpha chars
98 * xarray.[hC]: fix debug output of xarray
100 2001-07-03 André Pönitz <poenitz@gmx.net>
102 * math_parser.C: fix bug where equations did not get their labels
104 * formulabase.C: new feature: changing font on selection
106 * several files: subsequent changes
108 * array.C: fix bug when insets have not been cloned properly
109 This should fix quite a few "random" crashes...
111 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
113 * formulabase.C (localDispatch): use .c_str() on istringstream
114 constructor argument.
116 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
118 * math_grid.C (addCol): add second argument to cellinfo_.insert.
119 Cleanup a bit the code.
120 (appendRow): do not call push_back without argument.
122 * *.C: remove all "using namespace std" directives (not
123 good!!) and replaced it with relevant "using" directives.
125 * math_macrotemplate.C (Clone): change return type to MathInset*
127 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
129 * math_sizeinset.C: include support/LOstream.h
131 * math_scriptinset.C (Metrics): std:: qualify max
133 * math_root.C (Metrics): std:: qualify max
134 (Write): std:: qualify ostream
137 * math_matrixinset.C (getLabelList): std:: qualify vector
139 (Metrics): std:: qualify max
140 (header_write): std:: qualify ostream
141 (footer_write): ditto
143 * math_macrotemplate.C (Write): std:: qualify ostream
145 * math_bigopinset.C (Metrics): std:: qualify max, and include
148 * math_matrixinset.h: include vector and std:: qualify it.
150 * array.C (GetInset): get a pointer to the first element of bf_
153 2001-06-25 The LyX Project <Asger>
155 * math_scriptinset.C: Fix for entering with cursor up/down.
157 * math_fracinset.C: We can enter fractions with cursor up and
160 * math_cursor.C (Right): Fixes for cursor movement.
162 * formula.C (draw): New background color for math.
164 * math_cursor.C: Fixes for toggling labels on/off in math.
165 Fixes for infinity and other symbols that didn't appear in
168 2001-06-24 The LyX Project <Asger>
170 * math_inset.C: Cursor movement is better in square roots, among
173 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
174 cursor up/down movement. What not.
176 2001-06-24 The LyX Project <Asger>
178 * math_matrixinset.C: Hidden labels are hidden, unless a small
179 dragon jumps out of the screen, and pronounce them to the entire
182 2001-06-24 The LyX Project <Easter egg>
184 * math_cursor.C: Cursor improvements after a few dead-ends
185 in the evolution of cursor movement were tested and scrapped.
187 2001-06-24 The LyX Project <Asger>
189 * math_cursor.C: Renamed stack to path.
191 2001-06-24 The LyX Project <André>
194 Makefile.am: The Big Patch
195 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
196 new MathScriptInset for up/down stuff;
197 delete MathIter/MatXIter, MathParInset, MathRowSt
198 Changes to the inset inheritance tree, reunification of abstract math
200 label/numbering handling back to life;
201 major changes to the parser(s);
202 new base class FormulaBase for the two math LyXInsets;
203 general cleanup and cosmetic changes)
205 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
208 * math_root.C: removed // -*- C++ -*- as first line.
210 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
212 * array.C: bring memmove into main namespace if necessary
214 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
216 * math_parser.C (yylex): use contains instead of strchr
217 (parse_align): remove last arg, change to take string const & as
219 (mathed_parse): use string for ar2 and ar, adjust
221 * math_decorationinset.C (Write): use compare instead of strcmp
223 * formula.C (LocalDispatch): change arg2 to string, adjust for this
224 (LocalDispatch): add std::
225 (LocalDispatch): use contains instead of strchr
227 * array.C (move): add std::
229 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
231 * matriz.C: add using directives when needed for C functions
232 declared in std:: namespace.
234 * math_macrotemplate.h: do not use explicitely std::string, but
237 * math_macroarg.C: avoid bringing the whole std:: namespace in
238 global-land. When you do that, there is an ambiguity between
239 lyxstring and std::string (which may be defined at the same time).
241 * formula.C (HandleExtern): add .c_str() to .str() (useful when
244 2001-04-27 André Pönitz <poenitz@gmx.net>
246 * math_parser.C: fix \frac handling bug introduced on 04-24
247 * math_xiter.C: hotfix for merging "shared" insets
248 * formula.C: fixing display after using math-insert
250 2001-04-25 André Pönitz <poenitz@gmx.net>
252 * math_*.[Ch]: WriteNormal
253 * formula.C: Support for new "math extern" command
254 * math_parser.C: fix \frac handling bug introduced on 04-24
255 * math_xiter.C: hotfix for merging "shared" insets
257 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
259 * math_macrotable.C: include <iostream>
261 2001-04-24 André Pönitz <poenitz@gmx.net>
264 * math_macrotable.[Ch]:
265 * math_macroarg.[Ch]: restructuring of macro handling
268 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
270 * array.h (operator<<):
271 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
273 * math_macrotable.C: added using std::make_pair directive.
274 (dump): added using std::cerr directive here as I guess that this is
277 2001-04-20 Allan Rae <rae@lyx.org>
279 * formula.C (LocalDispatch): fixed another #warning. Guess who.
281 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
283 * math_macrotemplate.h: inherit privately from noncopyable
285 * math_macro.C (Metrics): reindent, use unsigned int as loop var
286 (setArgumentIdx): change test to avoid unsigned warning
288 * formula.C (LocalDispatch): use LFUN_MESSAGE
290 2001-04-16 Allan Rae <rae@lyx.org>
292 * formula.C (Latex, getLabelList, LocalDispatch):
293 * math_parser.C (mathed_parse):
294 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
295 an unrecognised preprocessor directive. So ensure they're wrapped.
297 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
299 * formula.C (draw): adjust for cursor_visible
300 (ToggleInsetCursor): adjust for cursor_visible and constify asc
302 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
303 (HideInsetCursor): adjust for cursor_visible
304 (LocalDispatch): constify default_label and res
306 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * math_rowst.C: add missing #include <config.h>.
310 2001-03-16 André Pönitz <poenitz@gmx.net>
312 * math_matrixinset.h:
313 * math_parinset.[Ch]:
314 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
316 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
324 * math_symbols.C: maths panel moved to GUII
326 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
328 * math_cursor.C: use lyxerr instead of cerr.
330 2001-03-15 André Pönitz <poenitz@gmx.net>
332 * math_cursor.C: fix bug (cursor was leaving two insets at a time
335 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
337 * math_macrotable.h: noncopyable is in namespace boost
338 * math_macrotemplate.h: ditto
340 * math_rowst.h: make MathedRowContainer::iterator public.
342 2001-03-15 André Pönitz <poenitz@gmx.net>
344 * math_parser.C: read '\nonumber' again (was broken)
346 * math_rowst.C: new file
348 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
350 * math_cursor.C: added using directive.
352 2001-03-15 André Pönitz <poenitz@gmx.net>
354 * math_rowst.h: Finally remove MathedRowSt
357 math_xiter.C: changed accordingly
359 2001-03-12 André Pönitz <poenitz@gmx.net>
361 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
362 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
364 2001-03-10 André Pönitz <poenitz@gmx.net>
367 math_matrixinset.C: move adjustVerticalSt to the only place where
368 it is used. Fix a small bug where the cached row structure and the
369 actual data get out of sync after the deletion of whole rows
371 2001-03-09 André Pönitz <poenitz@gmx.net>
373 * math_cursor.C: use std::vector<> in MathStackXIter
374 change selstk from a pointer to the "real thing"
376 * math_rowst.h: new MathedRowContainer::erase method
378 * math_xiter.C: use MathedRowContainer::erase
380 * math_parser.C: use MathedRowContainer::insert_after
382 2001-03-08 André Pönitz <poenitz@gmx.net>
384 * math_rowst.h: give MathedRowContainer an 'insert' method.
386 * math_xiter.C: new 'container()' method to encapsulated access to
387 the MathParInset's MathedRowContainer
389 * math_rowst.h: proper copy constructor and destructor for
392 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
393 automatically created by the compiler are ok now.
395 2001-03-06 André Pönitz <poenitz@gmx.net>
397 * array.[Ch]: factor out deep_copy,
398 remove third argument from raw_pointer_insert
400 * math_iter.[Ch]: remove unused function Clear()
402 * math_cursor.C: change signature of MathStackXIter:push()
405 * math_rowst.h: introduction of MathRowContainer
406 several files: corresponding changes
408 2001-03-04 André Pönitz <poenitz@gmx.net>
410 * math_macrotemplate.[Ch]:
411 math_macro.C: move update() functionality to the macro
413 * math_rowst.h: split MathedRowSt into "data" and "list"
415 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
417 * math_macrotemplate.C (update): use MathMacro::getArg, and
418 receive a const reference.
419 (getMacroPar): add an Assert
421 * math_macrotemplate.h: make MathMacro a friend, make update take
424 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
425 and store a MathMacroArgument in the vector
426 * math_macro.C: changes because of the above.
429 * math_parser.C (mathed_parse): plug potential leak
431 * math_iter.h: add comment on virtual destructor
433 * math_iter.C (Delete): make c const
435 * math_parinset.C (Metrics): cleanup indent. make one string const.
437 * math_inset.C (size): move out of line
440 * math_macroarg.h: remove default constructor
442 * math_macroarg.C: include Lsstream.h instead of debug.h
443 (MathMacroArgument): remove default constructor
444 (Write): add std:: on ostream arg
446 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
449 * formula.C: make DEBUG into lyxerr
451 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
453 * math_macrotemplate.h: make noncopyable, remove last arg to
454 constructor, remove flags_ add edit_
455 (flags): remove method
457 * math_macrotemplate.C (setArgument): delete method
458 (update): make idx const
459 (Metrics): use edit_, remove flags_
460 (draw): use edit_, remove flags_
461 (setEditMode): set edit_, remove flags_
462 (MathMacroTemplate): initialize edit_, remove flags_
464 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
465 shared_ptr, let constructor take a shared_ptr
467 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
469 (draw): remove unneded update, remove removed update of x,y
470 (GetXY): call tmplates GetMacroXY directly
471 (SetFocus): call Metrics() instead of update()
472 (Write): remove support for math macro environments, simplifications.
474 * math_macrotable.h: make class noncopyable, change getMacro to
475 createMacro, change vector to map store a
476 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
478 * math_macrotable.C: add pragma
479 (createMacro): change name from getMacro, use shared_ptr
480 (getTemplate): Use map lookup to get macro, return shared_ptr
481 (addTemplate): assert that m containse a valid pointer, use map[]
483 (builtinMacros): by using shared_ptr fix the mem leak, remove
484 commented out unsupported macros
486 * math_cursor.C: changes because of the above
487 * math_parser.C: changes because of the abobe
489 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
490 default arg on constructor.
491 * formulamacro.C: changes because of the above
493 * math_parinset.h: add pragma
494 (SetAlign): move inline out of class def
498 (setArgumentIdx): ditto
499 (setNextArgIdx): ditto
500 (getArgumentIdx): ditto
501 (getMaxArgumentIdx): ditto
506 * math_parinset.C: add pragma
507 (Write): change the else clause, lessen depth
509 * math_macroarg.h: small whitespace change
511 * array.C: include support/LOstream.h add using ostream and endl
513 * array.h (dump): add std:: on ostream
515 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
517 * math_macrotemplate.h: remove default arg on update
519 * math_macrotemplate.C (update): add assert and remove noop case.
521 * formulamacro.C (Read): add comment.
522 (ascent): remove noop call to MathMacroTemplate
527 * math_parser.C (mathed_parse): fix another potential problem by
528 passing a freestanding mathedarray.
530 * math_root.C (GetData): add const version
532 * math_parinset.C (~MathParInset): delete
533 (GetData): add const version
535 * math_matrixinset.C (MathMatrixInset): delete pointer version,
536 make it a proper copy constructor instead
538 (MathMatrixInset): remvoe default val for m and n
540 * math_macro.C (GetData): add const version
542 * math_fracinset.C (GetData): add const version
544 * math_cursor.C (SelCopy): make p1 and p2 const
545 (SelCut): make p1 and p2 const
547 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
548 (LyxCode): move inline out of class
552 * array.[Ch] (dump): method added for debugging purposes
554 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
555 mathed_parse when reading a matrix.
557 * math_spaceinset.[Ch]: add pragma, make variables private add
558 '_', change order of method definitions.
560 * math_root.h (~MathRootInset): delete
561 Change uroot_ to be a real object instead of a pointer
562 * math_root.C: changes because of the above
564 * math_macro.C (MathMacro(MathMacro*)): delete constructor
565 (MathMacro(MathMacro const &)): new copy constructor
567 * math_inset.h: delete constructor taking a pointer to MathedInset
568 (size, incSize): move inline method
570 * math_funcinset.h: add pragma, remove class vars ln and fname,
571 change protected to private, add '_' to priv vars.
572 (~MathFuncInset): remove
574 * math_fracinset.h: make MathParInset den_ a real object and not a
577 * math_fracinset.C (MathFracInset): clean up, move initalization
578 to initialization list
579 (~MathFracInset): remove
582 * math_draw.C: delete file
584 * math_dotsinset.[Ch]: add pragma
586 * math_bigopinset.h: make protected variables private add '_' to vars.
588 * math_bigopinset.C: move methods to follow class definition order
590 * math_accentinset.h (getAccentCode): move inline here
592 * math_accentinset.C (MathAccentInset): cleanup
595 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
597 * math_inset.[Ch] (MathedInset): remove method
599 * Makefile.am (libmathed_la_SOURCES): correct typo
601 * math_parinset.C (draw): move MathedXiter data(this) up. and
602 remove it two other places.
604 * math_macro.C (MathMacro): use array directly, don't use
605 setArgumentIdx and GetData
607 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
609 * math_macroarg.C (MathMacroArgument): delete
610 * math_macro.C (~MathMacro): delete
611 * math_macrotemplate.C (~MathMacroTemplate): delete
613 * math_decorationinset.[Ch]: add pragma
614 * math_deliminset.[Ch]: likewise
615 * math_fracinset.[Ch]: likewise
616 * math_macroarg.[Ch]: likewise
617 * math_macrotemplate.[Ch]: likewise
618 * math_matrixinset.[Ch]: likewise
620 * formulamacro.C (Read): set contents of tmacro_ to ar.
622 * formulamacro.h: add '_' to private variables.
623 * formalamacro.C: changes because of this.
625 2001-02-23 Juergen Vigna <jug@sad.it>
627 * formula.C (LocalDispatch): changed action to be a kb_action (as it
628 should be) and not an int.
630 * formulamacro.C (LocalDispatch): ditto.
632 2001-02-14 André Pönitz <poenitz@gmx.net>
634 * math_parinset.[Ch]: make array a real MathArray, not just a
637 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
639 * several files: subsequent changes
641 * math_cursor.C: make selarray a proper MathArray
643 * several files: Change "MathedArray *" to "MathedArray &"
646 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
648 * array.C (MathedArray): Fix compilation problem.
650 2001-02-14 André Pönitz <poenitz@gmx.net>
652 * array.[Ch]: "deep" copy constructor and assignment operator for
655 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
657 * math_iter.[Ch]: remove SetData
658 several files: subsequent changes
660 2001-02-14 André Pönitz <poenitz@gmx.net>
662 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
665 * math_iter.C: default-construct and resize array
667 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
669 * math_xiter.h: move ipush and ipop to public, add _ on private
670 variables, move protected var to private, remove friend.
672 * math_cursor.C (insertInset): rename method from Insert also
673 remove default arg val. Call the public methods of xiter instead
674 of private variables.
676 * changes to several files because of the above.
678 2001-02-14 André Pönitz <poenitz@gmx.net>
680 * math_iter.[Ch]: hide fcode_
682 * math_parinset.C: subsequent changes
685 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
687 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
690 * math_write.C: delete file
691 * math_delim.C: delete file
692 * marh_sqrtinset.h: delete file
694 * move funcs to more localized files, more general cleanup.
695 Constify several local vars. Doxygen changes. Formatting.
697 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
699 * support.C: add some consts
701 * matriz.C: clean up a bit.
702 (matmat): remove the for loop.
704 * several files: changes so that several friends can be removed
706 2001-02-14 André Pönitz <poenitz@gmx.net>
708 * formula.C: reformatting
712 math_xiter.[Ch]: remove unneeded members
714 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
718 * formula.C: remove cruft
720 * array.C (begin): new method
723 2001-02-14 André Pönitz <poenitz@gmx.net>
725 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
727 * math_cursor.C: reformatting
729 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
733 * math_matrixinset.C:
734 * math_macrotemplate.C:
739 * math_decorationinset.C:
741 * math_accentinset.C:
742 * math_sqrtinset.C: include LOstream.h and add using directive.
744 2001-02-14 André Pönitz <poenitz@gmx.net>
746 * math_iter.C: reformatting
748 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
750 * math_spaceinset.C (GetSpace): move here
752 * math_parinset.C: add debug.h, move several prev. inlined methods
755 * math_macrotable.C math_xiter.C support.C: add debug.h
757 * math_macro.h: remove debug.h, remove typedefs
759 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
762 * math_hash.C: change some defines to int const. change use of
763 LM_TC_NORMAL to LM_TC_VAR
765 * math_draw.C: delete file
767 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
768 forward decls. remove LM_TC_NORMAL, move inline methods to
769 support.C (and support.h)
771 * math_cursor.C: move several previous inlined methods here
773 * math_bigopinset.h math_dotsinset.h math_funcinset.h
774 math_parinset.h math_spaceinset.h: add math_defs.h
776 * math_accentinset.h: add support.h and math_defs.h
778 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
780 * formula.h: remove unused func decl: OpenMathInset
782 * formula.C math_inset.h: get rid of math_defs.h
784 * array.h: switch to support.h instead of math_defs.h
786 * array.C: remove one include
788 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
790 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
792 * math_parser.C: include macrotable and macrotemplate
794 * math_macrotemplate.[Ch]: new files
796 * math_macrotable.[Ch]: new files
798 * math_macroarg.[Ch]: new files
800 * math_macro.C: move stuff to the new files.
802 * math_cursor.C: include math_macrotable.h
804 * macro_support.[Ch]: new files
806 * formulamacro.C: add more includes
808 * Makefile.am (libmathed_la_SOURCES): add new files.
810 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
812 * Makefile.am (libmathed_la_SOURCES): remove duplicate
817 * math_parinset.C: add a bunch of "using" directives.
820 * math_decorationinset.h:
822 * math_spaceinset.h: remove more couples of inline.
824 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
826 * math_xiter.h: remove a couple of "inline"
828 * array.C (strange_copy): fix bug (hopefully)
829 * many files: add a lot of new files and move methods to the class
830 files they belong to. Only first attempt at cleanup more will
833 2001-02-12 André Pönitz <poenitz@gmx.net>
835 * math_macro.[hC]: replace MathMacroArgument[] with
836 std::vector<MathMacroArgument>
838 math_inset.C: replace int[] with std::vector<int>
840 * math_symbols.C: replace FL_OBJECTP[] with
841 std::vector<FL_OBJECT*>
843 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
845 * math_defs.h (struct MathedRowSt): make all private variables end
846 with '_', initialize in initializer list instead of in function
849 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
851 * formula.C (LocalDispatch): Change the default action of
852 break-line to create an align* environment instead of eqnarray*.
854 * math_inset.C (Metrics): Correct drawing of the multline
857 2001-02-12 André Pönitz <poenitz@gmx.net>
859 * array.[hC]: replace private variable maxsize_ with call to
861 * math_defs.h: replace int[] by std::vector<int> for
864 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
866 * array.h: made all variables private, removed friend, added new
867 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
868 non const operator[] added setter for last and getter for maxsize.
869 changed name from LyxArrayBase to MathedArray.
870 changed name of some methods to start with lowerchar.
871 moved inline methods to array.C
873 * math_iter.C + several file: changes because of the above.
875 * array.C: new file with the prev inline methods.
877 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
879 * Many files: add support for the align environment from amsmath.
881 2001-02-09 André Pönitz <poenitz@gmx.net>
883 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
884 * several files: subsequent changes
885 * math_iter.h: remove unused prototype
888 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
890 * math_macro.C (draw): add .c_str() to .str() (useful when
891 compiling with lyxstring, but STL sstream).
894 2001-02-08 André Pönitz <poenitz@gmx.net>
896 * several files: get rid of reinterpret_cast.
898 2001-02-04 Allan Rae <rae@lyx.org>
900 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
901 just casting the variable.
903 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
905 * Many files: Add support for multline and alignat environments from
908 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
910 * math_symbols.C (math_insert_greek): Move cursor right when
911 unlocking the math inset.
913 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
915 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
917 * formula.C (LocalDispatch): Before inserting a label in an
918 eqnarray, move the cursor to the top level.
920 * math_iter.C (getLabel): Test if crow == 0.
922 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
924 * math_draw.C (Metrics): Use the correct GetString.