1 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * formula.C (insetAllowed): allow insertion of label
5 2001-07-20 André Pönitz <poenitz@htwm.de>
7 * math_macrotable.C: support for \land and \vee
9 2001-07-16 André Pönitz <poenitz@htwm.de>
11 * math_grid.[Ch] -> math_gridinset.[Ch]
12 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
14 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
15 fix 'mathed reports wrong width', cosmetics
17 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
19 * math_cursor.C (operator==): moved ouf of struct
21 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
23 2001-07-16 André Pönitz <poenitz@htwm.de>
25 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
27 * several files: supporting changes
29 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
31 Consistent use of Lsstream.h:
32 * formula.C: removed using std::ostringstream directive.
34 * math_cursor.C: std::istringstream -> istringstream.
36 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
38 * math_decorationinset.h: add std:: qualifier
40 2001-07-12 André Pönitz <poenitz@htwm.de>
42 * math_updowninset.[hC]: new base class for script and bigop insets
43 *.[hC]: subsequent changes to all Metric() functions
45 * math_parser.C: small changes (\sqrt0 is read properly now)
47 2001-07-10 André Pönitz <poenitz@htwm.de>
49 * math_accentinset.[hC]: rewrite
52 math_cursor.C: subsequent changes
54 2001-07-10 André Pönitz <poenitz@htwm.de>
56 * math_grid.C: <Delete> in the first cell of a completely empty row
57 deletes that row, <C-Return> places the cursor in the first of the
60 * math_grid.C: try to split cell nicely when mutating from single-cell
61 to multi-cell environment
63 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
65 * math_matrixinset.C (mutate): Use only the first label when
66 mutating eqnarray to display formula.
68 2001-07-09 Juergen Vigna <jug@sad.it>
70 * formulabase.C (mathDispatchCreation): don't do anything with the
71 inset if it cannot be inserted!
73 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
75 * formulabase.C (mathDispatchInsertMath): remove bogus return
78 2001-07-09 André Pönitz <poenitz@htwm.de>
80 * math_*inset.C: Change order of arguments in MathInset constructor
82 * math_cursor.C: Remove broken "increase space" feature for a while
84 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
86 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
88 2001-07-04 André Pönitz <poenitz@htwm.de>
90 * math_parser.C: fix reading of "unusual" alpha chars
92 * xarray.[hC]: fix debug output of xarray
94 2001-07-03 André Pönitz <poenitz@htwm.de>
96 * math_parser.C: fix bug where equations did not get their labels
98 * formulabase.C: new feature: changing font on selection
100 * several files: subsequent changes
102 * array.C: fix bug when insets have not been cloned properly
103 This should fix quite a few "random" crashes...
105 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
107 * formulabase.C (localDispatch): use .c_str() on istringstream
108 constructor argument.
110 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
112 * math_grid.C (addCol): add second argument to cellinfo_.insert.
113 Cleanup a bit the code.
114 (appendRow): do not call push_back without argument.
116 * *.C: remove all "using namespace std" directives (not
117 good!!) and replaced it with relevant "using" directives.
119 * math_macrotemplate.C (Clone): change return type to MathInset*
121 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * math_sizeinset.C: include support/LOstream.h
125 * math_scriptinset.C (Metrics): std:: qualify max
127 * math_root.C (Metrics): std:: qualify max
128 (Write): std:: qualify ostream
131 * math_matrixinset.C (getLabelList): std:: qualify vector
133 (Metrics): std:: qualify max
134 (header_write): std:: qualify ostream
135 (footer_write): ditto
137 * math_macrotemplate.C (Write): std:: qualify ostream
139 * math_bigopinset.C (Metrics): std:: qualify max, and include
142 * math_matrixinset.h: include vector and std:: qualify it.
144 * array.C (GetInset): get a pointer to the first element of bf_
147 2001-06-25 The LyX Project <Asger>
149 * math_scriptinset.C: Fix for entering with cursor up/down.
151 * math_fracinset.C: We can enter fractions with cursor up and
154 * math_cursor.C (Right): Fixes for cursor movement.
156 * formula.C (draw): New background color for math.
158 * math_cursor.C: Fixes for toggling labels on/off in math.
159 Fixes for infinity and other symbols that didn't appear in
162 2001-06-24 The LyX Project <Asger>
164 * math_inset.C: Cursor movement is better in square roots, among
167 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
168 cursor up/down movement. What not.
170 2001-06-24 The LyX Project <Asger>
172 * math_matrixinset.C: Hidden labels are hidden, unless a small
173 dragon jumps out of the screen, and pronounce them to the entire
176 2001-06-24 The LyX Project <Easter egg>
178 * math_cursor.C: Cursor improvements after a few dead-ends
179 in the evolution of cursor movement were tested and scrapped.
181 2001-06-24 The LyX Project <Asger>
183 * math_cursor.C: Renamed stack to path.
185 2001-06-24 The LyX Project <André>
188 Makefile.am: The Big Patch
189 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
190 new MathScriptInset for up/down stuff;
191 delete MathIter/MatXIter, MathParInset, MathRowSt
192 Changes to the inset inheritance tree, reunification of abstract math
194 label/numbering handling back to life;
195 major changes to the parser(s);
196 new base class FormulaBase for the two math LyXInsets;
197 general cleanup and cosmetic changes)
199 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
202 * math_root.C: removed // -*- C++ -*- as first line.
204 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
206 * array.C: bring memmove into main namespace if necessary
208 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
210 * math_parser.C (yylex): use contains instead of strchr
211 (parse_align): remove last arg, change to take string const & as
213 (mathed_parse): use string for ar2 and ar, adjust
215 * math_decorationinset.C (Write): use compare instead of strcmp
217 * formula.C (LocalDispatch): change arg2 to string, adjust for this
218 (LocalDispatch): add std::
219 (LocalDispatch): use contains instead of strchr
221 * array.C (move): add std::
223 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
225 * matriz.C: add using directives when needed for C functions
226 declared in std:: namespace.
228 * math_macrotemplate.h: do not use explicitely std::string, but
231 * math_macroarg.C: avoid bringing the whole std:: namespace in
232 global-land. When you do that, there is an ambiguity between
233 lyxstring and std::string (which may be defined at the same time).
235 * formula.C (HandleExtern): add .c_str() to .str() (useful when
238 2001-04-27 André Pönitz <poenitz@htwm.de>
240 * math_parser.C: fix \frac handling bug introduced on 04-24
241 * math_xiter.C: hotfix for merging "shared" insets
242 * formula.C: fixing display after using math-insert
244 2001-04-25 André Pönitz <poenitz@htwm.de>
246 * math_*.[Ch]: WriteNormal
247 * formula.C: Support for new "math extern" command
248 * math_parser.C: fix \frac handling bug introduced on 04-24
249 * math_xiter.C: hotfix for merging "shared" insets
251 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
253 * math_macrotable.C: include <iostream>
255 2001-04-24 André Pönitz <poenitz@htwm.de>
258 * math_macrotable.[Ch]:
259 * math_macroarg.[Ch]: restructuring of macro handling
262 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
264 * array.h (operator<<):
265 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
267 * math_macrotable.C: added using std::make_pair directive.
268 (dump): added using std::cerr directive here as I guess that this is
271 2001-04-20 Allan Rae <rae@lyx.org>
273 * formula.C (LocalDispatch): fixed another #warning. Guess who.
275 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
277 * math_macrotemplate.h: inherit privately from noncopyable
279 * math_macro.C (Metrics): reindent, use unsigned int as loop var
280 (setArgumentIdx): change test to avoid unsigned warning
282 * formula.C (LocalDispatch): use LFUN_MESSAGE
284 2001-04-16 Allan Rae <rae@lyx.org>
286 * formula.C (Latex, getLabelList, LocalDispatch):
287 * math_parser.C (mathed_parse):
288 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
289 an unrecognised preprocessor directive. So ensure they're wrapped.
291 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
293 * formula.C (draw): adjust for cursor_visible
294 (ToggleInsetCursor): adjust for cursor_visible and constify asc
296 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
297 (HideInsetCursor): adjust for cursor_visible
298 (LocalDispatch): constify default_label and res
300 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
302 * math_rowst.C: add missing #include <config.h>.
304 2001-03-16 André Pönitz <poenitz@htwm.de>
306 * math_matrixinset.h:
307 * math_parinset.[Ch]:
308 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
310 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
318 * math_symbols.C: maths panel moved to GUII
320 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
322 * math_cursor.C: use lyxerr instead of cerr.
324 2001-03-15 André Pönitz <poenitz@htwm.de>
326 * math_cursor.C: fix bug (cursor was leaving two insets at a time
329 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
331 * math_macrotable.h: noncopyable is in namespace boost
332 * math_macrotemplate.h: ditto
334 * math_rowst.h: make MathedRowContainer::iterator public.
336 2001-03-15 André Pönitz <poenitz@htwm.de>
338 * math_parser.C: read '\nonumber' again (was broken)
340 * math_rowst.C: new file
342 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
344 * math_cursor.C: added using directive.
346 2001-03-15 André Pönitz <poenitz@htwm.de>
348 * math_rowst.h: Finally remove MathedRowSt
351 math_xiter.C: changed accordingly
353 2001-03-12 André Pönitz <poenitz@htwm.de>
355 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
356 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
358 2001-03-10 André Pönitz <poenitz@htwm.de>
361 math_matrixinset.C: move adjustVerticalSt to the only place where
362 it is used. Fix a small bug where the cached row structure and the
363 actual data get out of sync after the deletion of whole rows
365 2001-03-09 André Pönitz <poenitz@htwm.de>
367 * math_cursor.C: use std::vector<> in MathStackXIter
368 change selstk from a pointer to the "real thing"
370 * math_rowst.h: new MathedRowContainer::erase method
372 * math_xiter.C: use MathedRowContainer::erase
374 * math_parser.C: use MathedRowContainer::insert_after
376 2001-03-08 André Pönitz <poenitz@htwm.de>
378 * math_rowst.h: give MathedRowContainer an 'insert' method.
380 * math_xiter.C: new 'container()' method to encapsulated access to
381 the MathParInset's MathedRowContainer
383 * math_rowst.h: proper copy constructor and destructor for
386 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
387 automatically created by the compiler are ok now.
389 2001-03-06 André Pönitz <poenitz@htwm.de>
391 * array.[Ch]: factor out deep_copy,
392 remove third argument from raw_pointer_insert
394 * math_iter.[Ch]: remove unused function Clear()
396 * math_cursor.C: change signature of MathStackXIter:push()
399 * math_rowst.h: introduction of MathRowContainer
400 several files: corresponding changes
402 2001-03-04 André Pönitz <poenitz@htwm.de>
404 * math_macrotemplate.[Ch]:
405 math_macro.C: move update() functionality to the macro
407 * math_rowst.h: split MathedRowSt into "data" and "list"
409 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
411 * math_macrotemplate.C (update): use MathMacro::getArg, and
412 receive a const reference.
413 (getMacroPar): add an Assert
415 * math_macrotemplate.h: make MathMacro a friend, make update take
418 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
419 and store a MathMacroArgument in the vector
420 * math_macro.C: changes because of the above.
423 * math_parser.C (mathed_parse): plug potential leak
425 * math_iter.h: add comment on virtual destructor
427 * math_iter.C (Delete): make c const
429 * math_parinset.C (Metrics): cleanup indent. make one string const.
431 * math_inset.C (size): move out of line
434 * math_macroarg.h: remove default constructor
436 * math_macroarg.C: include Lsstream.h instead of debug.h
437 (MathMacroArgument): remove default constructor
438 (Write): add std:: on ostream arg
440 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
443 * formula.C: make DEBUG into lyxerr
445 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
447 * math_macrotemplate.h: make noncopyable, remove last arg to
448 constructor, remove flags_ add edit_
449 (flags): remove method
451 * math_macrotemplate.C (setArgument): delete method
452 (update): make idx const
453 (Metrics): use edit_, remove flags_
454 (draw): use edit_, remove flags_
455 (setEditMode): set edit_, remove flags_
456 (MathMacroTemplate): initialize edit_, remove flags_
458 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
459 shared_ptr, let constructor take a shared_ptr
461 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
463 (draw): remove unneded update, remove removed update of x,y
464 (GetXY): call tmplates GetMacroXY directly
465 (SetFocus): call Metrics() instead of update()
466 (Write): remove support for math macro environments, simplifications.
468 * math_macrotable.h: make class noncopyable, change getMacro to
469 createMacro, change vector to map store a
470 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
472 * math_macrotable.C: add pragma
473 (createMacro): change name from getMacro, use shared_ptr
474 (getTemplate): Use map lookup to get macro, return shared_ptr
475 (addTemplate): assert that m containse a valid pointer, use map[]
477 (builtinMacros): by using shared_ptr fix the mem leak, remove
478 commented out unsupported macros
480 * math_cursor.C: changes because of the above
481 * math_parser.C: changes because of the abobe
483 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
484 default arg on constructor.
485 * formulamacro.C: changes because of the above
487 * math_parinset.h: add pragma
488 (SetAlign): move inline out of class def
492 (setArgumentIdx): ditto
493 (setNextArgIdx): ditto
494 (getArgumentIdx): ditto
495 (getMaxArgumentIdx): ditto
500 * math_parinset.C: add pragma
501 (Write): change the else clause, lessen depth
503 * math_macroarg.h: small whitespace change
505 * array.C: include support/LOstream.h add using ostream and endl
507 * array.h (dump): add std:: on ostream
509 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
511 * math_macrotemplate.h: remove default arg on update
513 * math_macrotemplate.C (update): add assert and remove noop case.
515 * formulamacro.C (Read): add comment.
516 (ascent): remove noop call to MathMacroTemplate
521 * math_parser.C (mathed_parse): fix another potential problem by
522 passing a freestanding mathedarray.
524 * math_root.C (GetData): add const version
526 * math_parinset.C (~MathParInset): delete
527 (GetData): add const version
529 * math_matrixinset.C (MathMatrixInset): delete pointer version,
530 make it a proper copy constructor instead
532 (MathMatrixInset): remvoe default val for m and n
534 * math_macro.C (GetData): add const version
536 * math_fracinset.C (GetData): add const version
538 * math_cursor.C (SelCopy): make p1 and p2 const
539 (SelCut): make p1 and p2 const
541 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
542 (LyxCode): move inline out of class
546 * array.[Ch] (dump): method added for debugging purposes
548 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
549 mathed_parse when reading a matrix.
551 * math_spaceinset.[Ch]: add pragma, make variables private add
552 '_', change order of method definitions.
554 * math_root.h (~MathRootInset): delete
555 Change uroot_ to be a real object instead of a pointer
556 * math_root.C: changes because of the above
558 * math_macro.C (MathMacro(MathMacro*)): delete constructor
559 (MathMacro(MathMacro const &)): new copy constructor
561 * math_inset.h: delete constructor taking a pointer to MathedInset
562 (size, incSize): move inline method
564 * math_funcinset.h: add pragma, remove class vars ln and fname,
565 change protected to private, add '_' to priv vars.
566 (~MathFuncInset): remove
568 * math_fracinset.h: make MathParInset den_ a real object and not a
571 * math_fracinset.C (MathFracInset): clean up, move initalization
572 to initialization list
573 (~MathFracInset): remove
576 * math_draw.C: delete file
578 * math_dotsinset.[Ch]: add pragma
580 * math_bigopinset.h: make protected variables private add '_' to vars.
582 * math_bigopinset.C: move methods to follow class definition order
584 * math_accentinset.h (getAccentCode): move inline here
586 * math_accentinset.C (MathAccentInset): cleanup
589 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
591 * math_inset.[Ch] (MathedInset): remove method
593 * Makefile.am (libmathed_la_SOURCES): correct typo
595 * math_parinset.C (draw): move MathedXiter data(this) up. and
596 remove it two other places.
598 * math_macro.C (MathMacro): use array directly, don't use
599 setArgumentIdx and GetData
601 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
603 * math_macroarg.C (MathMacroArgument): delete
604 * math_macro.C (~MathMacro): delete
605 * math_macrotemplate.C (~MathMacroTemplate): delete
607 * math_decorationinset.[Ch]: add pragma
608 * math_deliminset.[Ch]: likewise
609 * math_fracinset.[Ch]: likewise
610 * math_macroarg.[Ch]: likewise
611 * math_macrotemplate.[Ch]: likewise
612 * math_matrixinset.[Ch]: likewise
614 * formulamacro.C (Read): set contents of tmacro_ to ar.
616 * formulamacro.h: add '_' to private variables.
617 * formalamacro.C: changes because of this.
619 2001-02-23 Juergen Vigna <jug@sad.it>
621 * formula.C (LocalDispatch): changed action to be a kb_action (as it
622 should be) and not an int.
624 * formulamacro.C (LocalDispatch): ditto.
626 2001-02-14 André Pönitz <poenitz@htwm.de>
628 * math_parinset.[Ch]: make array a real MathArray, not just a
631 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
633 * several files: subsequent changes
635 * math_cursor.C: make selarray a proper MathArray
637 * several files: Change "MathedArray *" to "MathedArray &"
640 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
642 * array.C (MathedArray): Fix compilation problem.
644 2001-02-14 André Pönitz <poenitz@htwm.de>
646 * array.[Ch]: "deep" copy constructor and assignment operator for
649 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
651 * math_iter.[Ch]: remove SetData
652 several files: subsequent changes
654 2001-02-14 André Pönitz <poenitz@htwm.de>
656 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
659 * math_iter.C: default-construct and resize array
661 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
663 * math_xiter.h: move ipush and ipop to public, add _ on private
664 variables, move protected var to private, remove friend.
666 * math_cursor.C (insertInset): rename method from Insert also
667 remove default arg val. Call the public methods of xiter instead
668 of private variables.
670 * changes to several files because of the above.
672 2001-02-14 André Pönitz <poenitz@htwm.de>
674 * math_iter.[Ch]: hide fcode_
676 * math_parinset.C: subsequent changes
679 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
681 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
684 * math_write.C: delete file
685 * math_delim.C: delete file
686 * marh_sqrtinset.h: delete file
688 * move funcs to more localized files, more general cleanup.
689 Constify several local vars. Doxygen changes. Formatting.
691 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
693 * support.C: add some consts
695 * matriz.C: clean up a bit.
696 (matmat): remove the for loop.
698 * several files: changes so that several friends can be removed
700 2001-02-14 André Pönitz <poenitz@htwm.de>
702 * formula.C: reformatting
706 math_xiter.[Ch]: remove unneeded members
708 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
712 * formula.C: remove cruft
714 * array.C (begin): new method
717 2001-02-14 André Pönitz <poenitz@htwm.de>
719 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
721 * math_cursor.C: reformatting
723 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
727 * math_matrixinset.C:
728 * math_macrotemplate.C:
733 * math_decorationinset.C:
735 * math_accentinset.C:
736 * math_sqrtinset.C: include LOstream.h and add using directive.
738 2001-02-14 André Pönitz <poenitz@htwm.de>
740 * math_iter.C: reformatting
742 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
744 * math_spaceinset.C (GetSpace): move here
746 * math_parinset.C: add debug.h, move several prev. inlined methods
749 * math_macrotable.C math_xiter.C support.C: add debug.h
751 * math_macro.h: remove debug.h, remove typedefs
753 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
756 * math_hash.C: change some defines to int const. change use of
757 LM_TC_NORMAL to LM_TC_VAR
759 * math_draw.C: delete file
761 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
762 forward decls. remove LM_TC_NORMAL, move inline methods to
763 support.C (and support.h)
765 * math_cursor.C: move several previous inlined methods here
767 * math_bigopinset.h math_dotsinset.h math_funcinset.h
768 math_parinset.h math_spaceinset.h: add math_defs.h
770 * math_accentinset.h: add support.h and math_defs.h
772 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
774 * formula.h: remove unused func decl: OpenMathInset
776 * formula.C math_inset.h: get rid of math_defs.h
778 * array.h: switch to support.h instead of math_defs.h
780 * array.C: remove one include
782 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
784 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
786 * math_parser.C: include macrotable and macrotemplate
788 * math_macrotemplate.[Ch]: new files
790 * math_macrotable.[Ch]: new files
792 * math_macroarg.[Ch]: new files
794 * math_macro.C: move stuff to the new files.
796 * math_cursor.C: include math_macrotable.h
798 * macro_support.[Ch]: new files
800 * formulamacro.C: add more includes
802 * Makefile.am (libmathed_la_SOURCES): add new files.
804 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
806 * Makefile.am (libmathed_la_SOURCES): remove duplicate
811 * math_parinset.C: add a bunch of "using" directives.
814 * math_decorationinset.h:
816 * math_spaceinset.h: remove more couples of inline.
818 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
820 * math_xiter.h: remove a couple of "inline"
822 * array.C (strange_copy): fix bug (hopefully)
823 * many files: add a lot of new files and move methods to the class
824 files they belong to. Only first attempt at cleanup more will
827 2001-02-12 André Pönitz <poenitz@htwm.de>
829 * math_macro.[hC]: replace MathMacroArgument[] with
830 std::vector<MathMacroArgument>
832 math_inset.C: replace int[] with std::vector<int>
834 * math_symbols.C: replace FL_OBJECTP[] with
835 std::vector<FL_OBJECT*>
837 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
839 * math_defs.h (struct MathedRowSt): make all private variables end
840 with '_', initialize in initializer list instead of in function
843 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
845 * formula.C (LocalDispatch): Change the default action of
846 break-line to create an align* environment instead of eqnarray*.
848 * math_inset.C (Metrics): Correct drawing of the multline
851 2001-02-12 André Pönitz <poenitz@htwm.de>
853 * array.[hC]: replace private variable maxsize_ with call to
855 * math_defs.h: replace int[] by std::vector<int> for
858 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
860 * array.h: made all variables private, removed friend, added new
861 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
862 non const operator[] added setter for last and getter for maxsize.
863 changed name from LyxArrayBase to MathedArray.
864 changed name of some methods to start with lowerchar.
865 moved inline methods to array.C
867 * math_iter.C + several file: changes because of the above.
869 * array.C: new file with the prev inline methods.
871 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
873 * Many files: add support for the align environment from amsmath.
875 2001-02-09 André Pönitz <poenitz@htwm.de>
877 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
878 * several files: subsequent changes
879 * math_iter.h: remove unused prototype
882 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
884 * math_macro.C (draw): add .c_str() to .str() (useful when
885 compiling with lyxstring, but STL sstream).
888 2001-02-08 André Pönitz <poenitz@htwm.de>
890 * several files: get rid of reinterpret_cast.
892 2001-02-04 Allan Rae <rae@lyx.org>
894 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
895 just casting the variable.
897 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
899 * Many files: Add support for multline and alignat environments from
902 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
904 * math_symbols.C (math_insert_greek): Move cursor right when
905 unlocking the math inset.
907 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
909 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
911 * formula.C (LocalDispatch): Before inserting a label in an
912 eqnarray, move the cursor to the top level.
914 * math_iter.C (getLabel): Test if crow == 0.
916 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
918 * math_draw.C (Metrics): Use the correct GetString.