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 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * formula.C (insetAllowed): allow insertion of label
17 2001-07-20 André Pönitz <poenitz@gmx.net>
19 * math_macrotable.C: support for \land and \vee
21 2001-07-16 André Pönitz <poenitz@gmx.net>
23 * math_grid.[Ch] -> math_gridinset.[Ch]
24 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
26 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
27 fix 'mathed reports wrong width', cosmetics
29 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * math_cursor.C (operator==): moved ouf of struct
33 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
35 2001-07-16 André Pönitz <poenitz@gmx.net>
37 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
39 * several files: supporting changes
41 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
43 Consistent use of Lsstream.h:
44 * formula.C: removed using std::ostringstream directive.
46 * math_cursor.C: std::istringstream -> istringstream.
48 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
50 * math_decorationinset.h: add std:: qualifier
52 2001-07-12 André Pönitz <poenitz@gmx.net>
54 * math_updowninset.[hC]: new base class for script and bigop insets
55 *.[hC]: subsequent changes to all Metric() functions
57 * math_parser.C: small changes (\sqrt0 is read properly now)
59 2001-07-10 André Pönitz <poenitz@gmx.net>
61 * math_accentinset.[hC]: rewrite
64 math_cursor.C: subsequent changes
66 * math_grid.C: <Delete> in the first cell of a completely empty row
67 deletes that row, <C-Return> places the cursor in the first of the
70 * math_grid.C: try to split cell nicely when mutating from single-cell
71 to multi-cell environment
73 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
75 * math_matrixinset.C (mutate): Use only the first label when
76 mutating eqnarray to display formula.
78 2001-07-09 Juergen Vigna <jug@sad.it>
80 * formulabase.C (mathDispatchCreation): don't do anything with the
81 inset if it cannot be inserted!
83 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
85 * formulabase.C (mathDispatchInsertMath): remove bogus return
88 2001-07-09 André Pönitz <poenitz@gmx.net>
90 * math_*inset.C: Change order of arguments in MathInset constructor
92 * math_cursor.C: Remove broken "increase space" feature for a while
94 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
96 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
98 2001-07-04 André Pönitz <poenitz@gmx.net>
100 * math_parser.C: fix reading of "unusual" alpha chars
102 * xarray.[hC]: fix debug output of xarray
104 2001-07-03 André Pönitz <poenitz@gmx.net>
106 * math_parser.C: fix bug where equations did not get their labels
108 * formulabase.C: new feature: changing font on selection
110 * several files: subsequent changes
112 * array.C: fix bug when insets have not been cloned properly
113 This should fix quite a few "random" crashes...
115 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
117 * formulabase.C (localDispatch): use .c_str() on istringstream
118 constructor argument.
120 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
122 * math_grid.C (addCol): add second argument to cellinfo_.insert.
123 Cleanup a bit the code.
124 (appendRow): do not call push_back without argument.
126 * *.C: remove all "using namespace std" directives (not
127 good!!) and replaced it with relevant "using" directives.
129 * math_macrotemplate.C (Clone): change return type to MathInset*
131 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * math_sizeinset.C: include support/LOstream.h
135 * math_scriptinset.C (Metrics): std:: qualify max
137 * math_root.C (Metrics): std:: qualify max
138 (Write): std:: qualify ostream
141 * math_matrixinset.C (getLabelList): std:: qualify vector
143 (Metrics): std:: qualify max
144 (header_write): std:: qualify ostream
145 (footer_write): ditto
147 * math_macrotemplate.C (Write): std:: qualify ostream
149 * math_bigopinset.C (Metrics): std:: qualify max, and include
152 * math_matrixinset.h: include vector and std:: qualify it.
154 * array.C (GetInset): get a pointer to the first element of bf_
157 2001-06-25 The LyX Project <Asger>
159 * math_scriptinset.C: Fix for entering with cursor up/down.
161 * math_fracinset.C: We can enter fractions with cursor up and
164 * math_cursor.C (Right): Fixes for cursor movement.
166 * formula.C (draw): New background color for math.
168 * math_cursor.C: Fixes for toggling labels on/off in math.
169 Fixes for infinity and other symbols that didn't appear in
172 2001-06-24 The LyX Project <Asger>
174 * math_inset.C: Cursor movement is better in square roots, among
177 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
178 cursor up/down movement. What not.
180 2001-06-24 The LyX Project <Asger>
182 * math_matrixinset.C: Hidden labels are hidden, unless a small
183 dragon jumps out of the screen, and pronounce them to the entire
186 2001-06-24 The LyX Project <Easter egg>
188 * math_cursor.C: Cursor improvements after a few dead-ends
189 in the evolution of cursor movement were tested and scrapped.
191 2001-06-24 The LyX Project <Asger>
193 * math_cursor.C: Renamed stack to path.
195 2001-06-24 The LyX Project <André>
198 Makefile.am: The Big Patch
199 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
200 new MathScriptInset for up/down stuff;
201 delete MathIter/MatXIter, MathParInset, MathRowSt
202 Changes to the inset inheritance tree, reunification of abstract math
204 label/numbering handling back to life;
205 major changes to the parser(s);
206 new base class FormulaBase for the two math LyXInsets;
207 general cleanup and cosmetic changes)
209 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
212 * math_root.C: removed // -*- C++ -*- as first line.
214 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
216 * array.C: bring memmove into main namespace if necessary
218 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
220 * math_parser.C (yylex): use contains instead of strchr
221 (parse_align): remove last arg, change to take string const & as
223 (mathed_parse): use string for ar2 and ar, adjust
225 * math_decorationinset.C (Write): use compare instead of strcmp
227 * formula.C (LocalDispatch): change arg2 to string, adjust for this
228 (LocalDispatch): add std::
229 (LocalDispatch): use contains instead of strchr
231 * array.C (move): add std::
233 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
235 * matriz.C: add using directives when needed for C functions
236 declared in std:: namespace.
238 * math_macrotemplate.h: do not use explicitely std::string, but
241 * math_macroarg.C: avoid bringing the whole std:: namespace in
242 global-land. When you do that, there is an ambiguity between
243 lyxstring and std::string (which may be defined at the same time).
245 * formula.C (HandleExtern): add .c_str() to .str() (useful when
248 2001-04-27 André Pönitz <poenitz@gmx.net>
250 * math_parser.C: fix \frac handling bug introduced on 04-24
251 * math_xiter.C: hotfix for merging "shared" insets
252 * formula.C: fixing display after using math-insert
254 2001-04-25 André Pönitz <poenitz@gmx.net>
256 * math_*.[Ch]: WriteNormal
257 * formula.C: Support for new "math extern" command
258 * math_parser.C: fix \frac handling bug introduced on 04-24
259 * math_xiter.C: hotfix for merging "shared" insets
261 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
263 * math_macrotable.C: include <iostream>
265 2001-04-24 André Pönitz <poenitz@gmx.net>
268 * math_macrotable.[Ch]:
269 * math_macroarg.[Ch]: restructuring of macro handling
272 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
274 * array.h (operator<<):
275 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
277 * math_macrotable.C: added using std::make_pair directive.
278 (dump): added using std::cerr directive here as I guess that this is
281 2001-04-20 Allan Rae <rae@lyx.org>
283 * formula.C (LocalDispatch): fixed another #warning. Guess who.
285 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
287 * math_macrotemplate.h: inherit privately from noncopyable
289 * math_macro.C (Metrics): reindent, use unsigned int as loop var
290 (setArgumentIdx): change test to avoid unsigned warning
292 * formula.C (LocalDispatch): use LFUN_MESSAGE
294 2001-04-16 Allan Rae <rae@lyx.org>
296 * formula.C (Latex, getLabelList, LocalDispatch):
297 * math_parser.C (mathed_parse):
298 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
299 an unrecognised preprocessor directive. So ensure they're wrapped.
301 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
303 * formula.C (draw): adjust for cursor_visible
304 (ToggleInsetCursor): adjust for cursor_visible and constify asc
306 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
307 (HideInsetCursor): adjust for cursor_visible
308 (LocalDispatch): constify default_label and res
310 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
312 * math_rowst.C: add missing #include <config.h>.
314 2001-03-16 André Pönitz <poenitz@gmx.net>
316 * math_matrixinset.h:
317 * math_parinset.[Ch]:
318 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
320 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
328 * math_symbols.C: maths panel moved to GUII
330 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
332 * math_cursor.C: use lyxerr instead of cerr.
334 2001-03-15 André Pönitz <poenitz@gmx.net>
336 * math_cursor.C: fix bug (cursor was leaving two insets at a time
339 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
341 * math_macrotable.h: noncopyable is in namespace boost
342 * math_macrotemplate.h: ditto
344 * math_rowst.h: make MathedRowContainer::iterator public.
346 2001-03-15 André Pönitz <poenitz@gmx.net>
348 * math_parser.C: read '\nonumber' again (was broken)
350 * math_rowst.C: new file
352 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
354 * math_cursor.C: added using directive.
356 2001-03-15 André Pönitz <poenitz@gmx.net>
358 * math_rowst.h: Finally remove MathedRowSt
361 math_xiter.C: changed accordingly
363 2001-03-12 André Pönitz <poenitz@gmx.net>
365 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
366 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
368 2001-03-10 André Pönitz <poenitz@gmx.net>
371 math_matrixinset.C: move adjustVerticalSt to the only place where
372 it is used. Fix a small bug where the cached row structure and the
373 actual data get out of sync after the deletion of whole rows
375 2001-03-09 André Pönitz <poenitz@gmx.net>
377 * math_cursor.C: use std::vector<> in MathStackXIter
378 change selstk from a pointer to the "real thing"
380 * math_rowst.h: new MathedRowContainer::erase method
382 * math_xiter.C: use MathedRowContainer::erase
384 * math_parser.C: use MathedRowContainer::insert_after
386 2001-03-08 André Pönitz <poenitz@gmx.net>
388 * math_rowst.h: give MathedRowContainer an 'insert' method.
390 * math_xiter.C: new 'container()' method to encapsulated access to
391 the MathParInset's MathedRowContainer
393 * math_rowst.h: proper copy constructor and destructor for
396 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
397 automatically created by the compiler are ok now.
399 2001-03-06 André Pönitz <poenitz@gmx.net>
401 * array.[Ch]: factor out deep_copy,
402 remove third argument from raw_pointer_insert
404 * math_iter.[Ch]: remove unused function Clear()
406 * math_cursor.C: change signature of MathStackXIter:push()
409 * math_rowst.h: introduction of MathRowContainer
410 several files: corresponding changes
412 2001-03-04 André Pönitz <poenitz@gmx.net>
414 * math_macrotemplate.[Ch]:
415 math_macro.C: move update() functionality to the macro
417 * math_rowst.h: split MathedRowSt into "data" and "list"
419 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
421 * math_macrotemplate.C (update): use MathMacro::getArg, and
422 receive a const reference.
423 (getMacroPar): add an Assert
425 * math_macrotemplate.h: make MathMacro a friend, make update take
428 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
429 and store a MathMacroArgument in the vector
430 * math_macro.C: changes because of the above.
433 * math_parser.C (mathed_parse): plug potential leak
435 * math_iter.h: add comment on virtual destructor
437 * math_iter.C (Delete): make c const
439 * math_parinset.C (Metrics): cleanup indent. make one string const.
441 * math_inset.C (size): move out of line
444 * math_macroarg.h: remove default constructor
446 * math_macroarg.C: include Lsstream.h instead of debug.h
447 (MathMacroArgument): remove default constructor
448 (Write): add std:: on ostream arg
450 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
453 * formula.C: make DEBUG into lyxerr
455 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
457 * math_macrotemplate.h: make noncopyable, remove last arg to
458 constructor, remove flags_ add edit_
459 (flags): remove method
461 * math_macrotemplate.C (setArgument): delete method
462 (update): make idx const
463 (Metrics): use edit_, remove flags_
464 (draw): use edit_, remove flags_
465 (setEditMode): set edit_, remove flags_
466 (MathMacroTemplate): initialize edit_, remove flags_
468 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
469 shared_ptr, let constructor take a shared_ptr
471 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
473 (draw): remove unneded update, remove removed update of x,y
474 (GetXY): call tmplates GetMacroXY directly
475 (SetFocus): call Metrics() instead of update()
476 (Write): remove support for math macro environments, simplifications.
478 * math_macrotable.h: make class noncopyable, change getMacro to
479 createMacro, change vector to map store a
480 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
482 * math_macrotable.C: add pragma
483 (createMacro): change name from getMacro, use shared_ptr
484 (getTemplate): Use map lookup to get macro, return shared_ptr
485 (addTemplate): assert that m containse a valid pointer, use map[]
487 (builtinMacros): by using shared_ptr fix the mem leak, remove
488 commented out unsupported macros
490 * math_cursor.C: changes because of the above
491 * math_parser.C: changes because of the abobe
493 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
494 default arg on constructor.
495 * formulamacro.C: changes because of the above
497 * math_parinset.h: add pragma
498 (SetAlign): move inline out of class def
502 (setArgumentIdx): ditto
503 (setNextArgIdx): ditto
504 (getArgumentIdx): ditto
505 (getMaxArgumentIdx): ditto
510 * math_parinset.C: add pragma
511 (Write): change the else clause, lessen depth
513 * math_macroarg.h: small whitespace change
515 * array.C: include support/LOstream.h add using ostream and endl
517 * array.h (dump): add std:: on ostream
519 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
521 * math_macrotemplate.h: remove default arg on update
523 * math_macrotemplate.C (update): add assert and remove noop case.
525 * formulamacro.C (Read): add comment.
526 (ascent): remove noop call to MathMacroTemplate
531 * math_parser.C (mathed_parse): fix another potential problem by
532 passing a freestanding mathedarray.
534 * math_root.C (GetData): add const version
536 * math_parinset.C (~MathParInset): delete
537 (GetData): add const version
539 * math_matrixinset.C (MathMatrixInset): delete pointer version,
540 make it a proper copy constructor instead
542 (MathMatrixInset): remvoe default val for m and n
544 * math_macro.C (GetData): add const version
546 * math_fracinset.C (GetData): add const version
548 * math_cursor.C (SelCopy): make p1 and p2 const
549 (SelCut): make p1 and p2 const
551 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
552 (LyxCode): move inline out of class
556 * array.[Ch] (dump): method added for debugging purposes
558 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
559 mathed_parse when reading a matrix.
561 * math_spaceinset.[Ch]: add pragma, make variables private add
562 '_', change order of method definitions.
564 * math_root.h (~MathRootInset): delete
565 Change uroot_ to be a real object instead of a pointer
566 * math_root.C: changes because of the above
568 * math_macro.C (MathMacro(MathMacro*)): delete constructor
569 (MathMacro(MathMacro const &)): new copy constructor
571 * math_inset.h: delete constructor taking a pointer to MathedInset
572 (size, incSize): move inline method
574 * math_funcinset.h: add pragma, remove class vars ln and fname,
575 change protected to private, add '_' to priv vars.
576 (~MathFuncInset): remove
578 * math_fracinset.h: make MathParInset den_ a real object and not a
581 * math_fracinset.C (MathFracInset): clean up, move initalization
582 to initialization list
583 (~MathFracInset): remove
586 * math_draw.C: delete file
588 * math_dotsinset.[Ch]: add pragma
590 * math_bigopinset.h: make protected variables private add '_' to vars.
592 * math_bigopinset.C: move methods to follow class definition order
594 * math_accentinset.h (getAccentCode): move inline here
596 * math_accentinset.C (MathAccentInset): cleanup
599 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
601 * math_inset.[Ch] (MathedInset): remove method
603 * Makefile.am (libmathed_la_SOURCES): correct typo
605 * math_parinset.C (draw): move MathedXiter data(this) up. and
606 remove it two other places.
608 * math_macro.C (MathMacro): use array directly, don't use
609 setArgumentIdx and GetData
611 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
613 * math_macroarg.C (MathMacroArgument): delete
614 * math_macro.C (~MathMacro): delete
615 * math_macrotemplate.C (~MathMacroTemplate): delete
617 * math_decorationinset.[Ch]: add pragma
618 * math_deliminset.[Ch]: likewise
619 * math_fracinset.[Ch]: likewise
620 * math_macroarg.[Ch]: likewise
621 * math_macrotemplate.[Ch]: likewise
622 * math_matrixinset.[Ch]: likewise
624 * formulamacro.C (Read): set contents of tmacro_ to ar.
626 * formulamacro.h: add '_' to private variables.
627 * formalamacro.C: changes because of this.
629 2001-02-23 Juergen Vigna <jug@sad.it>
631 * formula.C (LocalDispatch): changed action to be a kb_action (as it
632 should be) and not an int.
634 * formulamacro.C (LocalDispatch): ditto.
636 2001-02-14 André Pönitz <poenitz@gmx.net>
638 * math_parinset.[Ch]: make array a real MathArray, not just a
641 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
643 * several files: subsequent changes
645 * math_cursor.C: make selarray a proper MathArray
647 * several files: Change "MathedArray *" to "MathedArray &"
650 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
652 * array.C (MathedArray): Fix compilation problem.
654 2001-02-14 André Pönitz <poenitz@gmx.net>
656 * array.[Ch]: "deep" copy constructor and assignment operator for
659 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
661 * math_iter.[Ch]: remove SetData
662 several files: subsequent changes
664 2001-02-14 André Pönitz <poenitz@gmx.net>
666 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
669 * math_iter.C: default-construct and resize array
671 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
673 * math_xiter.h: move ipush and ipop to public, add _ on private
674 variables, move protected var to private, remove friend.
676 * math_cursor.C (insertInset): rename method from Insert also
677 remove default arg val. Call the public methods of xiter instead
678 of private variables.
680 * changes to several files because of the above.
682 2001-02-14 André Pönitz <poenitz@gmx.net>
684 * math_iter.[Ch]: hide fcode_
686 * math_parinset.C: subsequent changes
689 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
691 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
694 * math_write.C: delete file
695 * math_delim.C: delete file
696 * marh_sqrtinset.h: delete file
698 * move funcs to more localized files, more general cleanup.
699 Constify several local vars. Doxygen changes. Formatting.
701 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
703 * support.C: add some consts
705 * matriz.C: clean up a bit.
706 (matmat): remove the for loop.
708 * several files: changes so that several friends can be removed
710 2001-02-14 André Pönitz <poenitz@gmx.net>
712 * formula.C: reformatting
716 math_xiter.[Ch]: remove unneeded members
718 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
722 * formula.C: remove cruft
724 * array.C (begin): new method
727 2001-02-14 André Pönitz <poenitz@gmx.net>
729 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
731 * math_cursor.C: reformatting
733 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
737 * math_matrixinset.C:
738 * math_macrotemplate.C:
743 * math_decorationinset.C:
745 * math_accentinset.C:
746 * math_sqrtinset.C: include LOstream.h and add using directive.
748 2001-02-14 André Pönitz <poenitz@gmx.net>
750 * math_iter.C: reformatting
752 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
754 * math_spaceinset.C (GetSpace): move here
756 * math_parinset.C: add debug.h, move several prev. inlined methods
759 * math_macrotable.C math_xiter.C support.C: add debug.h
761 * math_macro.h: remove debug.h, remove typedefs
763 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
766 * math_hash.C: change some defines to int const. change use of
767 LM_TC_NORMAL to LM_TC_VAR
769 * math_draw.C: delete file
771 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
772 forward decls. remove LM_TC_NORMAL, move inline methods to
773 support.C (and support.h)
775 * math_cursor.C: move several previous inlined methods here
777 * math_bigopinset.h math_dotsinset.h math_funcinset.h
778 math_parinset.h math_spaceinset.h: add math_defs.h
780 * math_accentinset.h: add support.h and math_defs.h
782 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
784 * formula.h: remove unused func decl: OpenMathInset
786 * formula.C math_inset.h: get rid of math_defs.h
788 * array.h: switch to support.h instead of math_defs.h
790 * array.C: remove one include
792 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
794 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
796 * math_parser.C: include macrotable and macrotemplate
798 * math_macrotemplate.[Ch]: new files
800 * math_macrotable.[Ch]: new files
802 * math_macroarg.[Ch]: new files
804 * math_macro.C: move stuff to the new files.
806 * math_cursor.C: include math_macrotable.h
808 * macro_support.[Ch]: new files
810 * formulamacro.C: add more includes
812 * Makefile.am (libmathed_la_SOURCES): add new files.
814 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
816 * Makefile.am (libmathed_la_SOURCES): remove duplicate
821 * math_parinset.C: add a bunch of "using" directives.
824 * math_decorationinset.h:
826 * math_spaceinset.h: remove more couples of inline.
828 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
830 * math_xiter.h: remove a couple of "inline"
832 * array.C (strange_copy): fix bug (hopefully)
833 * many files: add a lot of new files and move methods to the class
834 files they belong to. Only first attempt at cleanup more will
837 2001-02-12 André Pönitz <poenitz@gmx.net>
839 * math_macro.[hC]: replace MathMacroArgument[] with
840 std::vector<MathMacroArgument>
842 math_inset.C: replace int[] with std::vector<int>
844 * math_symbols.C: replace FL_OBJECTP[] with
845 std::vector<FL_OBJECT*>
847 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
849 * math_defs.h (struct MathedRowSt): make all private variables end
850 with '_', initialize in initializer list instead of in function
853 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
855 * formula.C (LocalDispatch): Change the default action of
856 break-line to create an align* environment instead of eqnarray*.
858 * math_inset.C (Metrics): Correct drawing of the multline
861 2001-02-12 André Pönitz <poenitz@gmx.net>
863 * array.[hC]: replace private variable maxsize_ with call to
865 * math_defs.h: replace int[] by std::vector<int> for
868 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
870 * array.h: made all variables private, removed friend, added new
871 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
872 non const operator[] added setter for last and getter for maxsize.
873 changed name from LyxArrayBase to MathedArray.
874 changed name of some methods to start with lowerchar.
875 moved inline methods to array.C
877 * math_iter.C + several file: changes because of the above.
879 * array.C: new file with the prev inline methods.
881 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
883 * Many files: add support for the align environment from amsmath.
885 2001-02-09 André Pönitz <poenitz@gmx.net>
887 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
888 * several files: subsequent changes
889 * math_iter.h: remove unused prototype
892 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
894 * math_macro.C (draw): add .c_str() to .str() (useful when
895 compiling with lyxstring, but STL sstream).
898 2001-02-08 André Pönitz <poenitz@gmx.net>
900 * several files: get rid of reinterpret_cast.
902 2001-02-04 Allan Rae <rae@lyx.org>
904 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
905 just casting the variable.
907 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
909 * Many files: Add support for multline and alignat environments from
912 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
914 * math_symbols.C (math_insert_greek): Move cursor right when
915 unlocking the math inset.
917 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
919 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
921 * formula.C (LocalDispatch): Before inserting a label in an
922 eqnarray, move the cursor to the top level.
924 * math_iter.C (getLabel): Test if crow == 0.
926 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
928 * math_draw.C (Metrics): Use the correct GetString.