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 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * formula.C (insetAllowed): allow insertion of label
20 2001-07-20 André Pönitz <poenitz@gmx.net>
22 * math_macrotable.C: support for \land and \vee
24 2001-07-16 André Pönitz <poenitz@gmx.net>
26 * math_grid.[Ch] -> math_gridinset.[Ch]
27 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
29 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
30 fix 'mathed reports wrong width', cosmetics
32 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
34 * math_cursor.C (operator==): moved ouf of struct
36 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
38 2001-07-16 André Pönitz <poenitz@gmx.net>
40 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
42 * several files: supporting changes
44 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
46 Consistent use of Lsstream.h:
47 * formula.C: removed using std::ostringstream directive.
49 * math_cursor.C: std::istringstream -> istringstream.
51 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * math_decorationinset.h: add std:: qualifier
55 2001-07-12 André Pönitz <poenitz@gmx.net>
57 * math_updowninset.[hC]: new base class for script and bigop insets
58 *.[hC]: subsequent changes to all Metric() functions
60 * math_parser.C: small changes (\sqrt0 is read properly now)
62 2001-07-10 André Pönitz <poenitz@gmx.net>
64 * math_accentinset.[hC]: rewrite
67 math_cursor.C: subsequent changes
69 * math_grid.C: <Delete> in the first cell of a completely empty row
70 deletes that row, <C-Return> places the cursor in the first of the
73 * math_grid.C: try to split cell nicely when mutating from single-cell
74 to multi-cell environment
76 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
78 * math_matrixinset.C (mutate): Use only the first label when
79 mutating eqnarray to display formula.
81 2001-07-09 Juergen Vigna <jug@sad.it>
83 * formulabase.C (mathDispatchCreation): don't do anything with the
84 inset if it cannot be inserted!
86 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
88 * formulabase.C (mathDispatchInsertMath): remove bogus return
91 2001-07-09 André Pönitz <poenitz@gmx.net>
93 * math_*inset.C: Change order of arguments in MathInset constructor
95 * math_cursor.C: Remove broken "increase space" feature for a while
97 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
99 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
101 2001-07-04 André Pönitz <poenitz@gmx.net>
103 * math_parser.C: fix reading of "unusual" alpha chars
105 * xarray.[hC]: fix debug output of xarray
107 2001-07-03 André Pönitz <poenitz@gmx.net>
109 * math_parser.C: fix bug where equations did not get their labels
111 * formulabase.C: new feature: changing font on selection
113 * several files: subsequent changes
115 * array.C: fix bug when insets have not been cloned properly
116 This should fix quite a few "random" crashes...
118 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
120 * formulabase.C (localDispatch): use .c_str() on istringstream
121 constructor argument.
123 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
125 * math_grid.C (addCol): add second argument to cellinfo_.insert.
126 Cleanup a bit the code.
127 (appendRow): do not call push_back without argument.
129 * *.C: remove all "using namespace std" directives (not
130 good!!) and replaced it with relevant "using" directives.
132 * math_macrotemplate.C (Clone): change return type to MathInset*
134 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
136 * math_sizeinset.C: include support/LOstream.h
138 * math_scriptinset.C (Metrics): std:: qualify max
140 * math_root.C (Metrics): std:: qualify max
141 (Write): std:: qualify ostream
144 * math_matrixinset.C (getLabelList): std:: qualify vector
146 (Metrics): std:: qualify max
147 (header_write): std:: qualify ostream
148 (footer_write): ditto
150 * math_macrotemplate.C (Write): std:: qualify ostream
152 * math_bigopinset.C (Metrics): std:: qualify max, and include
155 * math_matrixinset.h: include vector and std:: qualify it.
157 * array.C (GetInset): get a pointer to the first element of bf_
160 2001-06-25 The LyX Project <Asger>
162 * math_scriptinset.C: Fix for entering with cursor up/down.
164 * math_fracinset.C: We can enter fractions with cursor up and
167 * math_cursor.C (Right): Fixes for cursor movement.
169 * formula.C (draw): New background color for math.
171 * math_cursor.C: Fixes for toggling labels on/off in math.
172 Fixes for infinity and other symbols that didn't appear in
175 2001-06-24 The LyX Project <Asger>
177 * math_inset.C: Cursor movement is better in square roots, among
180 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
181 cursor up/down movement. What not.
183 2001-06-24 The LyX Project <Asger>
185 * math_matrixinset.C: Hidden labels are hidden, unless a small
186 dragon jumps out of the screen, and pronounce them to the entire
189 2001-06-24 The LyX Project <Easter egg>
191 * math_cursor.C: Cursor improvements after a few dead-ends
192 in the evolution of cursor movement were tested and scrapped.
194 2001-06-24 The LyX Project <Asger>
196 * math_cursor.C: Renamed stack to path.
198 2001-06-24 The LyX Project <André>
201 Makefile.am: The Big Patch
202 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
203 new MathScriptInset for up/down stuff;
204 delete MathIter/MatXIter, MathParInset, MathRowSt
205 Changes to the inset inheritance tree, reunification of abstract math
207 label/numbering handling back to life;
208 major changes to the parser(s);
209 new base class FormulaBase for the two math LyXInsets;
210 general cleanup and cosmetic changes)
212 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
215 * math_root.C: removed // -*- C++ -*- as first line.
217 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
219 * array.C: bring memmove into main namespace if necessary
221 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
223 * math_parser.C (yylex): use contains instead of strchr
224 (parse_align): remove last arg, change to take string const & as
226 (mathed_parse): use string for ar2 and ar, adjust
228 * math_decorationinset.C (Write): use compare instead of strcmp
230 * formula.C (LocalDispatch): change arg2 to string, adjust for this
231 (LocalDispatch): add std::
232 (LocalDispatch): use contains instead of strchr
234 * array.C (move): add std::
236 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
238 * matriz.C: add using directives when needed for C functions
239 declared in std:: namespace.
241 * math_macrotemplate.h: do not use explicitely std::string, but
244 * math_macroarg.C: avoid bringing the whole std:: namespace in
245 global-land. When you do that, there is an ambiguity between
246 lyxstring and std::string (which may be defined at the same time).
248 * formula.C (HandleExtern): add .c_str() to .str() (useful when
251 2001-04-27 André Pönitz <poenitz@gmx.net>
253 * math_parser.C: fix \frac handling bug introduced on 04-24
254 * math_xiter.C: hotfix for merging "shared" insets
255 * formula.C: fixing display after using math-insert
257 2001-04-25 André Pönitz <poenitz@gmx.net>
259 * math_*.[Ch]: WriteNormal
260 * formula.C: Support for new "math extern" command
261 * math_parser.C: fix \frac handling bug introduced on 04-24
262 * math_xiter.C: hotfix for merging "shared" insets
264 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
266 * math_macrotable.C: include <iostream>
268 2001-04-24 André Pönitz <poenitz@gmx.net>
271 * math_macrotable.[Ch]:
272 * math_macroarg.[Ch]: restructuring of macro handling
275 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
277 * array.h (operator<<):
278 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
280 * math_macrotable.C: added using std::make_pair directive.
281 (dump): added using std::cerr directive here as I guess that this is
284 2001-04-20 Allan Rae <rae@lyx.org>
286 * formula.C (LocalDispatch): fixed another #warning. Guess who.
288 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
290 * math_macrotemplate.h: inherit privately from noncopyable
292 * math_macro.C (Metrics): reindent, use unsigned int as loop var
293 (setArgumentIdx): change test to avoid unsigned warning
295 * formula.C (LocalDispatch): use LFUN_MESSAGE
297 2001-04-16 Allan Rae <rae@lyx.org>
299 * formula.C (Latex, getLabelList, LocalDispatch):
300 * math_parser.C (mathed_parse):
301 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
302 an unrecognised preprocessor directive. So ensure they're wrapped.
304 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * formula.C (draw): adjust for cursor_visible
307 (ToggleInsetCursor): adjust for cursor_visible and constify asc
309 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
310 (HideInsetCursor): adjust for cursor_visible
311 (LocalDispatch): constify default_label and res
313 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
315 * math_rowst.C: add missing #include <config.h>.
317 2001-03-16 André Pönitz <poenitz@gmx.net>
319 * math_matrixinset.h:
320 * math_parinset.[Ch]:
321 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
323 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
331 * math_symbols.C: maths panel moved to GUII
333 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
335 * math_cursor.C: use lyxerr instead of cerr.
337 2001-03-15 André Pönitz <poenitz@gmx.net>
339 * math_cursor.C: fix bug (cursor was leaving two insets at a time
342 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
344 * math_macrotable.h: noncopyable is in namespace boost
345 * math_macrotemplate.h: ditto
347 * math_rowst.h: make MathedRowContainer::iterator public.
349 2001-03-15 André Pönitz <poenitz@gmx.net>
351 * math_parser.C: read '\nonumber' again (was broken)
353 * math_rowst.C: new file
355 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
357 * math_cursor.C: added using directive.
359 2001-03-15 André Pönitz <poenitz@gmx.net>
361 * math_rowst.h: Finally remove MathedRowSt
364 math_xiter.C: changed accordingly
366 2001-03-12 André Pönitz <poenitz@gmx.net>
368 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
369 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
371 2001-03-10 André Pönitz <poenitz@gmx.net>
374 math_matrixinset.C: move adjustVerticalSt to the only place where
375 it is used. Fix a small bug where the cached row structure and the
376 actual data get out of sync after the deletion of whole rows
378 2001-03-09 André Pönitz <poenitz@gmx.net>
380 * math_cursor.C: use std::vector<> in MathStackXIter
381 change selstk from a pointer to the "real thing"
383 * math_rowst.h: new MathedRowContainer::erase method
385 * math_xiter.C: use MathedRowContainer::erase
387 * math_parser.C: use MathedRowContainer::insert_after
389 2001-03-08 André Pönitz <poenitz@gmx.net>
391 * math_rowst.h: give MathedRowContainer an 'insert' method.
393 * math_xiter.C: new 'container()' method to encapsulated access to
394 the MathParInset's MathedRowContainer
396 * math_rowst.h: proper copy constructor and destructor for
399 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
400 automatically created by the compiler are ok now.
402 2001-03-06 André Pönitz <poenitz@gmx.net>
404 * array.[Ch]: factor out deep_copy,
405 remove third argument from raw_pointer_insert
407 * math_iter.[Ch]: remove unused function Clear()
409 * math_cursor.C: change signature of MathStackXIter:push()
412 * math_rowst.h: introduction of MathRowContainer
413 several files: corresponding changes
415 2001-03-04 André Pönitz <poenitz@gmx.net>
417 * math_macrotemplate.[Ch]:
418 math_macro.C: move update() functionality to the macro
420 * math_rowst.h: split MathedRowSt into "data" and "list"
422 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
424 * math_macrotemplate.C (update): use MathMacro::getArg, and
425 receive a const reference.
426 (getMacroPar): add an Assert
428 * math_macrotemplate.h: make MathMacro a friend, make update take
431 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
432 and store a MathMacroArgument in the vector
433 * math_macro.C: changes because of the above.
436 * math_parser.C (mathed_parse): plug potential leak
438 * math_iter.h: add comment on virtual destructor
440 * math_iter.C (Delete): make c const
442 * math_parinset.C (Metrics): cleanup indent. make one string const.
444 * math_inset.C (size): move out of line
447 * math_macroarg.h: remove default constructor
449 * math_macroarg.C: include Lsstream.h instead of debug.h
450 (MathMacroArgument): remove default constructor
451 (Write): add std:: on ostream arg
453 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
456 * formula.C: make DEBUG into lyxerr
458 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
460 * math_macrotemplate.h: make noncopyable, remove last arg to
461 constructor, remove flags_ add edit_
462 (flags): remove method
464 * math_macrotemplate.C (setArgument): delete method
465 (update): make idx const
466 (Metrics): use edit_, remove flags_
467 (draw): use edit_, remove flags_
468 (setEditMode): set edit_, remove flags_
469 (MathMacroTemplate): initialize edit_, remove flags_
471 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
472 shared_ptr, let constructor take a shared_ptr
474 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
476 (draw): remove unneded update, remove removed update of x,y
477 (GetXY): call tmplates GetMacroXY directly
478 (SetFocus): call Metrics() instead of update()
479 (Write): remove support for math macro environments, simplifications.
481 * math_macrotable.h: make class noncopyable, change getMacro to
482 createMacro, change vector to map store a
483 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
485 * math_macrotable.C: add pragma
486 (createMacro): change name from getMacro, use shared_ptr
487 (getTemplate): Use map lookup to get macro, return shared_ptr
488 (addTemplate): assert that m containse a valid pointer, use map[]
490 (builtinMacros): by using shared_ptr fix the mem leak, remove
491 commented out unsupported macros
493 * math_cursor.C: changes because of the above
494 * math_parser.C: changes because of the abobe
496 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
497 default arg on constructor.
498 * formulamacro.C: changes because of the above
500 * math_parinset.h: add pragma
501 (SetAlign): move inline out of class def
505 (setArgumentIdx): ditto
506 (setNextArgIdx): ditto
507 (getArgumentIdx): ditto
508 (getMaxArgumentIdx): ditto
513 * math_parinset.C: add pragma
514 (Write): change the else clause, lessen depth
516 * math_macroarg.h: small whitespace change
518 * array.C: include support/LOstream.h add using ostream and endl
520 * array.h (dump): add std:: on ostream
522 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
524 * math_macrotemplate.h: remove default arg on update
526 * math_macrotemplate.C (update): add assert and remove noop case.
528 * formulamacro.C (Read): add comment.
529 (ascent): remove noop call to MathMacroTemplate
534 * math_parser.C (mathed_parse): fix another potential problem by
535 passing a freestanding mathedarray.
537 * math_root.C (GetData): add const version
539 * math_parinset.C (~MathParInset): delete
540 (GetData): add const version
542 * math_matrixinset.C (MathMatrixInset): delete pointer version,
543 make it a proper copy constructor instead
545 (MathMatrixInset): remvoe default val for m and n
547 * math_macro.C (GetData): add const version
549 * math_fracinset.C (GetData): add const version
551 * math_cursor.C (SelCopy): make p1 and p2 const
552 (SelCut): make p1 and p2 const
554 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
555 (LyxCode): move inline out of class
559 * array.[Ch] (dump): method added for debugging purposes
561 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
562 mathed_parse when reading a matrix.
564 * math_spaceinset.[Ch]: add pragma, make variables private add
565 '_', change order of method definitions.
567 * math_root.h (~MathRootInset): delete
568 Change uroot_ to be a real object instead of a pointer
569 * math_root.C: changes because of the above
571 * math_macro.C (MathMacro(MathMacro*)): delete constructor
572 (MathMacro(MathMacro const &)): new copy constructor
574 * math_inset.h: delete constructor taking a pointer to MathedInset
575 (size, incSize): move inline method
577 * math_funcinset.h: add pragma, remove class vars ln and fname,
578 change protected to private, add '_' to priv vars.
579 (~MathFuncInset): remove
581 * math_fracinset.h: make MathParInset den_ a real object and not a
584 * math_fracinset.C (MathFracInset): clean up, move initalization
585 to initialization list
586 (~MathFracInset): remove
589 * math_draw.C: delete file
591 * math_dotsinset.[Ch]: add pragma
593 * math_bigopinset.h: make protected variables private add '_' to vars.
595 * math_bigopinset.C: move methods to follow class definition order
597 * math_accentinset.h (getAccentCode): move inline here
599 * math_accentinset.C (MathAccentInset): cleanup
602 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
604 * math_inset.[Ch] (MathedInset): remove method
606 * Makefile.am (libmathed_la_SOURCES): correct typo
608 * math_parinset.C (draw): move MathedXiter data(this) up. and
609 remove it two other places.
611 * math_macro.C (MathMacro): use array directly, don't use
612 setArgumentIdx and GetData
614 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
616 * math_macroarg.C (MathMacroArgument): delete
617 * math_macro.C (~MathMacro): delete
618 * math_macrotemplate.C (~MathMacroTemplate): delete
620 * math_decorationinset.[Ch]: add pragma
621 * math_deliminset.[Ch]: likewise
622 * math_fracinset.[Ch]: likewise
623 * math_macroarg.[Ch]: likewise
624 * math_macrotemplate.[Ch]: likewise
625 * math_matrixinset.[Ch]: likewise
627 * formulamacro.C (Read): set contents of tmacro_ to ar.
629 * formulamacro.h: add '_' to private variables.
630 * formalamacro.C: changes because of this.
632 2001-02-23 Juergen Vigna <jug@sad.it>
634 * formula.C (LocalDispatch): changed action to be a kb_action (as it
635 should be) and not an int.
637 * formulamacro.C (LocalDispatch): ditto.
639 2001-02-14 André Pönitz <poenitz@gmx.net>
641 * math_parinset.[Ch]: make array a real MathArray, not just a
644 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
646 * several files: subsequent changes
648 * math_cursor.C: make selarray a proper MathArray
650 * several files: Change "MathedArray *" to "MathedArray &"
653 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
655 * array.C (MathedArray): Fix compilation problem.
657 2001-02-14 André Pönitz <poenitz@gmx.net>
659 * array.[Ch]: "deep" copy constructor and assignment operator for
662 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
664 * math_iter.[Ch]: remove SetData
665 several files: subsequent changes
667 2001-02-14 André Pönitz <poenitz@gmx.net>
669 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
672 * math_iter.C: default-construct and resize array
674 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
676 * math_xiter.h: move ipush and ipop to public, add _ on private
677 variables, move protected var to private, remove friend.
679 * math_cursor.C (insertInset): rename method from Insert also
680 remove default arg val. Call the public methods of xiter instead
681 of private variables.
683 * changes to several files because of the above.
685 2001-02-14 André Pönitz <poenitz@gmx.net>
687 * math_iter.[Ch]: hide fcode_
689 * math_parinset.C: subsequent changes
692 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
694 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
697 * math_write.C: delete file
698 * math_delim.C: delete file
699 * marh_sqrtinset.h: delete file
701 * move funcs to more localized files, more general cleanup.
702 Constify several local vars. Doxygen changes. Formatting.
704 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
706 * support.C: add some consts
708 * matriz.C: clean up a bit.
709 (matmat): remove the for loop.
711 * several files: changes so that several friends can be removed
713 2001-02-14 André Pönitz <poenitz@gmx.net>
715 * formula.C: reformatting
719 math_xiter.[Ch]: remove unneeded members
721 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
725 * formula.C: remove cruft
727 * array.C (begin): new method
730 2001-02-14 André Pönitz <poenitz@gmx.net>
732 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
734 * math_cursor.C: reformatting
736 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
740 * math_matrixinset.C:
741 * math_macrotemplate.C:
746 * math_decorationinset.C:
748 * math_accentinset.C:
749 * math_sqrtinset.C: include LOstream.h and add using directive.
751 2001-02-14 André Pönitz <poenitz@gmx.net>
753 * math_iter.C: reformatting
755 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
757 * math_spaceinset.C (GetSpace): move here
759 * math_parinset.C: add debug.h, move several prev. inlined methods
762 * math_macrotable.C math_xiter.C support.C: add debug.h
764 * math_macro.h: remove debug.h, remove typedefs
766 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
769 * math_hash.C: change some defines to int const. change use of
770 LM_TC_NORMAL to LM_TC_VAR
772 * math_draw.C: delete file
774 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
775 forward decls. remove LM_TC_NORMAL, move inline methods to
776 support.C (and support.h)
778 * math_cursor.C: move several previous inlined methods here
780 * math_bigopinset.h math_dotsinset.h math_funcinset.h
781 math_parinset.h math_spaceinset.h: add math_defs.h
783 * math_accentinset.h: add support.h and math_defs.h
785 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
787 * formula.h: remove unused func decl: OpenMathInset
789 * formula.C math_inset.h: get rid of math_defs.h
791 * array.h: switch to support.h instead of math_defs.h
793 * array.C: remove one include
795 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
797 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
799 * math_parser.C: include macrotable and macrotemplate
801 * math_macrotemplate.[Ch]: new files
803 * math_macrotable.[Ch]: new files
805 * math_macroarg.[Ch]: new files
807 * math_macro.C: move stuff to the new files.
809 * math_cursor.C: include math_macrotable.h
811 * macro_support.[Ch]: new files
813 * formulamacro.C: add more includes
815 * Makefile.am (libmathed_la_SOURCES): add new files.
817 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
819 * Makefile.am (libmathed_la_SOURCES): remove duplicate
824 * math_parinset.C: add a bunch of "using" directives.
827 * math_decorationinset.h:
829 * math_spaceinset.h: remove more couples of inline.
831 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
833 * math_xiter.h: remove a couple of "inline"
835 * array.C (strange_copy): fix bug (hopefully)
836 * many files: add a lot of new files and move methods to the class
837 files they belong to. Only first attempt at cleanup more will
840 2001-02-12 André Pönitz <poenitz@gmx.net>
842 * math_macro.[hC]: replace MathMacroArgument[] with
843 std::vector<MathMacroArgument>
845 math_inset.C: replace int[] with std::vector<int>
847 * math_symbols.C: replace FL_OBJECTP[] with
848 std::vector<FL_OBJECT*>
850 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
852 * math_defs.h (struct MathedRowSt): make all private variables end
853 with '_', initialize in initializer list instead of in function
856 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
858 * formula.C (LocalDispatch): Change the default action of
859 break-line to create an align* environment instead of eqnarray*.
861 * math_inset.C (Metrics): Correct drawing of the multline
864 2001-02-12 André Pönitz <poenitz@gmx.net>
866 * array.[hC]: replace private variable maxsize_ with call to
868 * math_defs.h: replace int[] by std::vector<int> for
871 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
873 * array.h: made all variables private, removed friend, added new
874 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
875 non const operator[] added setter for last and getter for maxsize.
876 changed name from LyxArrayBase to MathedArray.
877 changed name of some methods to start with lowerchar.
878 moved inline methods to array.C
880 * math_iter.C + several file: changes because of the above.
882 * array.C: new file with the prev inline methods.
884 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
886 * Many files: add support for the align environment from amsmath.
888 2001-02-09 André Pönitz <poenitz@gmx.net>
890 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
891 * several files: subsequent changes
892 * math_iter.h: remove unused prototype
895 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
897 * math_macro.C (draw): add .c_str() to .str() (useful when
898 compiling with lyxstring, but STL sstream).
901 2001-02-08 André Pönitz <poenitz@gmx.net>
903 * several files: get rid of reinterpret_cast.
905 2001-02-04 Allan Rae <rae@lyx.org>
907 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
908 just casting the variable.
910 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
912 * Many files: Add support for multline and alignat environments from
915 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
917 * math_symbols.C (math_insert_greek): Move cursor right when
918 unlocking the math inset.
920 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
922 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
924 * formula.C (LocalDispatch): Before inserting a label in an
925 eqnarray, move the cursor to the top level.
927 * math_iter.C (getLabel): Test if crow == 0.
929 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
931 * math_draw.C (Metrics): Use the correct GetString.