2 2001-08-06 André Pönitz <poenitz@gmx.net>
4 * formulamacro.C: fix nasty bug due to missing copy constructor
6 * math_bigopinset.[Ch]: revival for things like \int, \sum
8 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
10 * math_diminset.h: make cahce variables mutable
12 2001-08-01 André Pönitz <poenitz@gmx.net>
15 formulamacro.C: fix memory leaks
17 * math_matrixinset.C: fix mis-alignment of eqnarray columns
19 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
20 MathMatrixInset * and MathMacroTemplate * to save a few casts
22 * all over the place: everything is an inset now
24 * math_nestinset.[Ch]: new abstract base class for insets containing
27 * math_diminset.[Ch]: new abstract base class for insets that need
28 the width_/ascent_/descent_ cache
30 2001-07-25 André Pönitz <poenitz@gmx.net>
32 * formulabase.C: re-enable 'space enlargement' feature
35 math_bigopinset.C: rework of script insets
37 2001-07-22 André Pönitz <poenitz@gmx.net>
39 * math_cursor.C: fix "pullArg" behaviour
41 * math_cursor.C: keep empty super/subscript a bit longer
43 * math_cursor.C: do not move into insets that don't have inner cells yet
45 * formulabase.C: fix memory leak
47 * math_cursor.C: ^ now copies selection into new srriptinset
49 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
52 * math_updowninset.C: fix drawing glitches
54 * math_cursor.C: paste to correct position
56 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * formula.C (insetAllowed): allow insertion of label
60 2001-07-20 André Pönitz <poenitz@gmx.net>
62 * math_macrotable.C: support for \land and \vee
64 2001-07-16 André Pönitz <poenitz@gmx.net>
66 * math_grid.[Ch] -> math_gridinset.[Ch]
67 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
69 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
70 fix 'mathed reports wrong width', cosmetics
72 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
74 * math_cursor.C (operator==): moved ouf of struct
76 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
78 2001-07-16 André Pönitz <poenitz@gmx.net>
80 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
82 * several files: supporting changes
84 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
86 Consistent use of Lsstream.h:
87 * formula.C: removed using std::ostringstream directive.
89 * math_cursor.C: std::istringstream -> istringstream.
91 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
93 * math_decorationinset.h: add std:: qualifier
95 2001-07-12 André Pönitz <poenitz@gmx.net>
97 * math_updowninset.[hC]: new base class for script and bigop insets
98 *.[hC]: subsequent changes to all Metric() functions
100 * math_parser.C: small changes (\sqrt0 is read properly now)
102 2001-07-10 André Pönitz <poenitz@gmx.net>
104 * math_accentinset.[hC]: rewrite
107 math_cursor.C: subsequent changes
109 * math_grid.C: <Delete> in the first cell of a completely empty row
110 deletes that row, <C-Return> places the cursor in the first of the
113 * math_grid.C: try to split cell nicely when mutating from single-cell
114 to multi-cell environment
116 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
118 * math_matrixinset.C (mutate): Use only the first label when
119 mutating eqnarray to display formula.
121 2001-07-09 Juergen Vigna <jug@sad.it>
123 * formulabase.C (mathDispatchCreation): don't do anything with the
124 inset if it cannot be inserted!
126 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
128 * formulabase.C (mathDispatchInsertMath): remove bogus return
131 2001-07-09 André Pönitz <poenitz@gmx.net>
133 * math_*inset.C: Change order of arguments in MathInset constructor
135 * math_cursor.C: Remove broken "increase space" feature for a while
137 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
139 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
141 2001-07-04 André Pönitz <poenitz@gmx.net>
143 * math_parser.C: fix reading of "unusual" alpha chars
145 * xarray.[hC]: fix debug output of xarray
147 2001-07-03 André Pönitz <poenitz@gmx.net>
149 * math_parser.C: fix bug where equations did not get their labels
151 * formulabase.C: new feature: changing font on selection
153 * several files: subsequent changes
155 * array.C: fix bug when insets have not been cloned properly
156 This should fix quite a few "random" crashes...
158 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
160 * formulabase.C (localDispatch): use .c_str() on istringstream
161 constructor argument.
163 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
165 * math_grid.C (addCol): add second argument to cellinfo_.insert.
166 Cleanup a bit the code.
167 (appendRow): do not call push_back without argument.
169 * *.C: remove all "using namespace std" directives (not
170 good!!) and replaced it with relevant "using" directives.
172 * math_macrotemplate.C (Clone): change return type to MathInset*
174 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * math_sizeinset.C: include support/LOstream.h
178 * math_scriptinset.C (Metrics): std:: qualify max
180 * math_root.C (Metrics): std:: qualify max
181 (Write): std:: qualify ostream
184 * math_matrixinset.C (getLabelList): std:: qualify vector
186 (Metrics): std:: qualify max
187 (header_write): std:: qualify ostream
188 (footer_write): ditto
190 * math_macrotemplate.C (Write): std:: qualify ostream
192 * math_bigopinset.C (Metrics): std:: qualify max, and include
195 * math_matrixinset.h: include vector and std:: qualify it.
197 * array.C (GetInset): get a pointer to the first element of bf_
200 2001-06-25 The LyX Project <Asger>
202 * math_scriptinset.C: Fix for entering with cursor up/down.
204 * math_fracinset.C: We can enter fractions with cursor up and
207 * math_cursor.C (Right): Fixes for cursor movement.
209 * formula.C (draw): New background color for math.
211 * math_cursor.C: Fixes for toggling labels on/off in math.
212 Fixes for infinity and other symbols that didn't appear in
215 2001-06-24 The LyX Project <Asger>
217 * math_inset.C: Cursor movement is better in square roots, among
220 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
221 cursor up/down movement. What not.
223 2001-06-24 The LyX Project <Asger>
225 * math_matrixinset.C: Hidden labels are hidden, unless a small
226 dragon jumps out of the screen, and pronounce them to the entire
229 2001-06-24 The LyX Project <Easter egg>
231 * math_cursor.C: Cursor improvements after a few dead-ends
232 in the evolution of cursor movement were tested and scrapped.
234 2001-06-24 The LyX Project <Asger>
236 * math_cursor.C: Renamed stack to path.
238 2001-06-24 The LyX Project <André>
241 Makefile.am: The Big Patch
242 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
243 new MathScriptInset for up/down stuff;
244 delete MathIter/MatXIter, MathParInset, MathRowSt
245 Changes to the inset inheritance tree, reunification of abstract math
247 label/numbering handling back to life;
248 major changes to the parser(s);
249 new base class FormulaBase for the two math LyXInsets;
250 general cleanup and cosmetic changes)
252 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
255 * math_root.C: removed // -*- C++ -*- as first line.
257 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
259 * array.C: bring memmove into main namespace if necessary
261 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
263 * math_parser.C (yylex): use contains instead of strchr
264 (parse_align): remove last arg, change to take string const & as
266 (mathed_parse): use string for ar2 and ar, adjust
268 * math_decorationinset.C (Write): use compare instead of strcmp
270 * formula.C (LocalDispatch): change arg2 to string, adjust for this
271 (LocalDispatch): add std::
272 (LocalDispatch): use contains instead of strchr
274 * array.C (move): add std::
276 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
278 * matriz.C: add using directives when needed for C functions
279 declared in std:: namespace.
281 * math_macrotemplate.h: do not use explicitely std::string, but
284 * math_macroarg.C: avoid bringing the whole std:: namespace in
285 global-land. When you do that, there is an ambiguity between
286 lyxstring and std::string (which may be defined at the same time).
288 * formula.C (HandleExtern): add .c_str() to .str() (useful when
291 2001-04-27 André Pönitz <poenitz@gmx.net>
293 * math_parser.C: fix \frac handling bug introduced on 04-24
294 * math_xiter.C: hotfix for merging "shared" insets
295 * formula.C: fixing display after using math-insert
297 2001-04-25 André Pönitz <poenitz@gmx.net>
299 * math_*.[Ch]: WriteNormal
300 * formula.C: Support for new "math extern" command
301 * math_parser.C: fix \frac handling bug introduced on 04-24
302 * math_xiter.C: hotfix for merging "shared" insets
304 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
306 * math_macrotable.C: include <iostream>
308 2001-04-24 André Pönitz <poenitz@gmx.net>
311 * math_macrotable.[Ch]:
312 * math_macroarg.[Ch]: restructuring of macro handling
315 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
317 * array.h (operator<<):
318 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
320 * math_macrotable.C: added using std::make_pair directive.
321 (dump): added using std::cerr directive here as I guess that this is
324 2001-04-20 Allan Rae <rae@lyx.org>
326 * formula.C (LocalDispatch): fixed another #warning. Guess who.
328 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
330 * math_macrotemplate.h: inherit privately from noncopyable
332 * math_macro.C (Metrics): reindent, use unsigned int as loop var
333 (setArgumentIdx): change test to avoid unsigned warning
335 * formula.C (LocalDispatch): use LFUN_MESSAGE
337 2001-04-16 Allan Rae <rae@lyx.org>
339 * formula.C (Latex, getLabelList, LocalDispatch):
340 * math_parser.C (mathed_parse):
341 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
342 an unrecognised preprocessor directive. So ensure they're wrapped.
344 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
346 * formula.C (draw): adjust for cursor_visible
347 (ToggleInsetCursor): adjust for cursor_visible and constify asc
349 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
350 (HideInsetCursor): adjust for cursor_visible
351 (LocalDispatch): constify default_label and res
353 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
355 * math_rowst.C: add missing #include <config.h>.
357 2001-03-16 André Pönitz <poenitz@gmx.net>
359 * math_matrixinset.h:
360 * math_parinset.[Ch]:
361 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
363 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
371 * math_symbols.C: maths panel moved to GUII
373 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
375 * math_cursor.C: use lyxerr instead of cerr.
377 2001-03-15 André Pönitz <poenitz@gmx.net>
379 * math_cursor.C: fix bug (cursor was leaving two insets at a time
382 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
384 * math_macrotable.h: noncopyable is in namespace boost
385 * math_macrotemplate.h: ditto
387 * math_rowst.h: make MathedRowContainer::iterator public.
389 2001-03-15 André Pönitz <poenitz@gmx.net>
391 * math_parser.C: read '\nonumber' again (was broken)
393 * math_rowst.C: new file
395 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
397 * math_cursor.C: added using directive.
399 2001-03-15 André Pönitz <poenitz@gmx.net>
401 * math_rowst.h: Finally remove MathedRowSt
404 math_xiter.C: changed accordingly
406 2001-03-12 André Pönitz <poenitz@gmx.net>
408 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
409 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
411 2001-03-10 André Pönitz <poenitz@gmx.net>
414 math_matrixinset.C: move adjustVerticalSt to the only place where
415 it is used. Fix a small bug where the cached row structure and the
416 actual data get out of sync after the deletion of whole rows
418 2001-03-09 André Pönitz <poenitz@gmx.net>
420 * math_cursor.C: use std::vector<> in MathStackXIter
421 change selstk from a pointer to the "real thing"
423 * math_rowst.h: new MathedRowContainer::erase method
425 * math_xiter.C: use MathedRowContainer::erase
427 * math_parser.C: use MathedRowContainer::insert_after
429 2001-03-08 André Pönitz <poenitz@gmx.net>
431 * math_rowst.h: give MathedRowContainer an 'insert' method.
433 * math_xiter.C: new 'container()' method to encapsulated access to
434 the MathParInset's MathedRowContainer
436 * math_rowst.h: proper copy constructor and destructor for
439 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
440 automatically created by the compiler are ok now.
442 2001-03-06 André Pönitz <poenitz@gmx.net>
444 * array.[Ch]: factor out deep_copy,
445 remove third argument from raw_pointer_insert
447 * math_iter.[Ch]: remove unused function Clear()
449 * math_cursor.C: change signature of MathStackXIter:push()
452 * math_rowst.h: introduction of MathRowContainer
453 several files: corresponding changes
455 2001-03-04 André Pönitz <poenitz@gmx.net>
457 * math_macrotemplate.[Ch]:
458 math_macro.C: move update() functionality to the macro
460 * math_rowst.h: split MathedRowSt into "data" and "list"
462 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
464 * math_macrotemplate.C (update): use MathMacro::getArg, and
465 receive a const reference.
466 (getMacroPar): add an Assert
468 * math_macrotemplate.h: make MathMacro a friend, make update take
471 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
472 and store a MathMacroArgument in the vector
473 * math_macro.C: changes because of the above.
476 * math_parser.C (mathed_parse): plug potential leak
478 * math_iter.h: add comment on virtual destructor
480 * math_iter.C (Delete): make c const
482 * math_parinset.C (Metrics): cleanup indent. make one string const.
484 * math_inset.C (size): move out of line
487 * math_macroarg.h: remove default constructor
489 * math_macroarg.C: include Lsstream.h instead of debug.h
490 (MathMacroArgument): remove default constructor
491 (Write): add std:: on ostream arg
493 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
496 * formula.C: make DEBUG into lyxerr
498 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
500 * math_macrotemplate.h: make noncopyable, remove last arg to
501 constructor, remove flags_ add edit_
502 (flags): remove method
504 * math_macrotemplate.C (setArgument): delete method
505 (update): make idx const
506 (Metrics): use edit_, remove flags_
507 (draw): use edit_, remove flags_
508 (setEditMode): set edit_, remove flags_
509 (MathMacroTemplate): initialize edit_, remove flags_
511 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
512 shared_ptr, let constructor take a shared_ptr
514 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
516 (draw): remove unneded update, remove removed update of x,y
517 (GetXY): call tmplates GetMacroXY directly
518 (SetFocus): call Metrics() instead of update()
519 (Write): remove support for math macro environments, simplifications.
521 * math_macrotable.h: make class noncopyable, change getMacro to
522 createMacro, change vector to map store a
523 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
525 * math_macrotable.C: add pragma
526 (createMacro): change name from getMacro, use shared_ptr
527 (getTemplate): Use map lookup to get macro, return shared_ptr
528 (addTemplate): assert that m containse a valid pointer, use map[]
530 (builtinMacros): by using shared_ptr fix the mem leak, remove
531 commented out unsupported macros
533 * math_cursor.C: changes because of the above
534 * math_parser.C: changes because of the abobe
536 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
537 default arg on constructor.
538 * formulamacro.C: changes because of the above
540 * math_parinset.h: add pragma
541 (SetAlign): move inline out of class def
545 (setArgumentIdx): ditto
546 (setNextArgIdx): ditto
547 (getArgumentIdx): ditto
548 (getMaxArgumentIdx): ditto
553 * math_parinset.C: add pragma
554 (Write): change the else clause, lessen depth
556 * math_macroarg.h: small whitespace change
558 * array.C: include support/LOstream.h add using ostream and endl
560 * array.h (dump): add std:: on ostream
562 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
564 * math_macrotemplate.h: remove default arg on update
566 * math_macrotemplate.C (update): add assert and remove noop case.
568 * formulamacro.C (Read): add comment.
569 (ascent): remove noop call to MathMacroTemplate
574 * math_parser.C (mathed_parse): fix another potential problem by
575 passing a freestanding mathedarray.
577 * math_root.C (GetData): add const version
579 * math_parinset.C (~MathParInset): delete
580 (GetData): add const version
582 * math_matrixinset.C (MathMatrixInset): delete pointer version,
583 make it a proper copy constructor instead
585 (MathMatrixInset): remvoe default val for m and n
587 * math_macro.C (GetData): add const version
589 * math_fracinset.C (GetData): add const version
591 * math_cursor.C (SelCopy): make p1 and p2 const
592 (SelCut): make p1 and p2 const
594 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
595 (LyxCode): move inline out of class
599 * array.[Ch] (dump): method added for debugging purposes
601 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
602 mathed_parse when reading a matrix.
604 * math_spaceinset.[Ch]: add pragma, make variables private add
605 '_', change order of method definitions.
607 * math_root.h (~MathRootInset): delete
608 Change uroot_ to be a real object instead of a pointer
609 * math_root.C: changes because of the above
611 * math_macro.C (MathMacro(MathMacro*)): delete constructor
612 (MathMacro(MathMacro const &)): new copy constructor
614 * math_inset.h: delete constructor taking a pointer to MathedInset
615 (size, incSize): move inline method
617 * math_funcinset.h: add pragma, remove class vars ln and fname,
618 change protected to private, add '_' to priv vars.
619 (~MathFuncInset): remove
621 * math_fracinset.h: make MathParInset den_ a real object and not a
624 * math_fracinset.C (MathFracInset): clean up, move initalization
625 to initialization list
626 (~MathFracInset): remove
629 * math_draw.C: delete file
631 * math_dotsinset.[Ch]: add pragma
633 * math_bigopinset.h: make protected variables private add '_' to vars.
635 * math_bigopinset.C: move methods to follow class definition order
637 * math_accentinset.h (getAccentCode): move inline here
639 * math_accentinset.C (MathAccentInset): cleanup
642 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
644 * math_inset.[Ch] (MathedInset): remove method
646 * Makefile.am (libmathed_la_SOURCES): correct typo
648 * math_parinset.C (draw): move MathedXiter data(this) up. and
649 remove it two other places.
651 * math_macro.C (MathMacro): use array directly, don't use
652 setArgumentIdx and GetData
654 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
656 * math_macroarg.C (MathMacroArgument): delete
657 * math_macro.C (~MathMacro): delete
658 * math_macrotemplate.C (~MathMacroTemplate): delete
660 * math_decorationinset.[Ch]: add pragma
661 * math_deliminset.[Ch]: likewise
662 * math_fracinset.[Ch]: likewise
663 * math_macroarg.[Ch]: likewise
664 * math_macrotemplate.[Ch]: likewise
665 * math_matrixinset.[Ch]: likewise
667 * formulamacro.C (Read): set contents of tmacro_ to ar.
669 * formulamacro.h: add '_' to private variables.
670 * formalamacro.C: changes because of this.
672 2001-02-23 Juergen Vigna <jug@sad.it>
674 * formula.C (LocalDispatch): changed action to be a kb_action (as it
675 should be) and not an int.
677 * formulamacro.C (LocalDispatch): ditto.
679 2001-02-14 André Pönitz <poenitz@gmx.net>
681 * math_parinset.[Ch]: make array a real MathArray, not just a
684 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
686 * several files: subsequent changes
688 * math_cursor.C: make selarray a proper MathArray
690 * several files: Change "MathedArray *" to "MathedArray &"
693 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
695 * array.C (MathedArray): Fix compilation problem.
697 2001-02-14 André Pönitz <poenitz@gmx.net>
699 * array.[Ch]: "deep" copy constructor and assignment operator for
702 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
704 * math_iter.[Ch]: remove SetData
705 several files: subsequent changes
707 2001-02-14 André Pönitz <poenitz@gmx.net>
709 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
712 * math_iter.C: default-construct and resize array
714 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
716 * math_xiter.h: move ipush and ipop to public, add _ on private
717 variables, move protected var to private, remove friend.
719 * math_cursor.C (insertInset): rename method from Insert also
720 remove default arg val. Call the public methods of xiter instead
721 of private variables.
723 * changes to several files because of the above.
725 2001-02-14 André Pönitz <poenitz@gmx.net>
727 * math_iter.[Ch]: hide fcode_
729 * math_parinset.C: subsequent changes
732 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
734 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
737 * math_write.C: delete file
738 * math_delim.C: delete file
739 * marh_sqrtinset.h: delete file
741 * move funcs to more localized files, more general cleanup.
742 Constify several local vars. Doxygen changes. Formatting.
744 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
746 * support.C: add some consts
748 * matriz.C: clean up a bit.
749 (matmat): remove the for loop.
751 * several files: changes so that several friends can be removed
753 2001-02-14 André Pönitz <poenitz@gmx.net>
755 * formula.C: reformatting
759 math_xiter.[Ch]: remove unneeded members
761 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
765 * formula.C: remove cruft
767 * array.C (begin): new method
770 2001-02-14 André Pönitz <poenitz@gmx.net>
772 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
774 * math_cursor.C: reformatting
776 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
780 * math_matrixinset.C:
781 * math_macrotemplate.C:
786 * math_decorationinset.C:
788 * math_accentinset.C:
789 * math_sqrtinset.C: include LOstream.h and add using directive.
791 2001-02-14 André Pönitz <poenitz@gmx.net>
793 * math_iter.C: reformatting
795 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
797 * math_spaceinset.C (GetSpace): move here
799 * math_parinset.C: add debug.h, move several prev. inlined methods
802 * math_macrotable.C math_xiter.C support.C: add debug.h
804 * math_macro.h: remove debug.h, remove typedefs
806 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
809 * math_hash.C: change some defines to int const. change use of
810 LM_TC_NORMAL to LM_TC_VAR
812 * math_draw.C: delete file
814 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
815 forward decls. remove LM_TC_NORMAL, move inline methods to
816 support.C (and support.h)
818 * math_cursor.C: move several previous inlined methods here
820 * math_bigopinset.h math_dotsinset.h math_funcinset.h
821 math_parinset.h math_spaceinset.h: add math_defs.h
823 * math_accentinset.h: add support.h and math_defs.h
825 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
827 * formula.h: remove unused func decl: OpenMathInset
829 * formula.C math_inset.h: get rid of math_defs.h
831 * array.h: switch to support.h instead of math_defs.h
833 * array.C: remove one include
835 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
837 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
839 * math_parser.C: include macrotable and macrotemplate
841 * math_macrotemplate.[Ch]: new files
843 * math_macrotable.[Ch]: new files
845 * math_macroarg.[Ch]: new files
847 * math_macro.C: move stuff to the new files.
849 * math_cursor.C: include math_macrotable.h
851 * macro_support.[Ch]: new files
853 * formulamacro.C: add more includes
855 * Makefile.am (libmathed_la_SOURCES): add new files.
857 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
859 * Makefile.am (libmathed_la_SOURCES): remove duplicate
864 * math_parinset.C: add a bunch of "using" directives.
867 * math_decorationinset.h:
869 * math_spaceinset.h: remove more couples of inline.
871 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
873 * math_xiter.h: remove a couple of "inline"
875 * array.C (strange_copy): fix bug (hopefully)
876 * many files: add a lot of new files and move methods to the class
877 files they belong to. Only first attempt at cleanup more will
880 2001-02-12 André Pönitz <poenitz@gmx.net>
882 * math_macro.[hC]: replace MathMacroArgument[] with
883 std::vector<MathMacroArgument>
885 math_inset.C: replace int[] with std::vector<int>
887 * math_symbols.C: replace FL_OBJECTP[] with
888 std::vector<FL_OBJECT*>
890 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
892 * math_defs.h (struct MathedRowSt): make all private variables end
893 with '_', initialize in initializer list instead of in function
896 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
898 * formula.C (LocalDispatch): Change the default action of
899 break-line to create an align* environment instead of eqnarray*.
901 * math_inset.C (Metrics): Correct drawing of the multline
904 2001-02-12 André Pönitz <poenitz@gmx.net>
906 * array.[hC]: replace private variable maxsize_ with call to
908 * math_defs.h: replace int[] by std::vector<int> for
911 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
913 * array.h: made all variables private, removed friend, added new
914 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
915 non const operator[] added setter for last and getter for maxsize.
916 changed name from LyxArrayBase to MathedArray.
917 changed name of some methods to start with lowerchar.
918 moved inline methods to array.C
920 * math_iter.C + several file: changes because of the above.
922 * array.C: new file with the prev inline methods.
924 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
926 * Many files: add support for the align environment from amsmath.
928 2001-02-09 André Pönitz <poenitz@gmx.net>
930 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
931 * several files: subsequent changes
932 * math_iter.h: remove unused prototype
935 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
937 * math_macro.C (draw): add .c_str() to .str() (useful when
938 compiling with lyxstring, but STL sstream).
941 2001-02-08 André Pönitz <poenitz@gmx.net>
943 * several files: get rid of reinterpret_cast.
945 2001-02-04 Allan Rae <rae@lyx.org>
947 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
948 just casting the variable.
950 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
952 * Many files: Add support for multline and alignat environments from
955 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
957 * math_symbols.C (math_insert_greek): Move cursor right when
958 unlocking the math inset.
960 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
962 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
964 * formula.C (LocalDispatch): Before inserting a label in an
965 eqnarray, move the cursor to the top level.
967 * math_iter.C (getLabel): Test if crow == 0.
969 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
971 * math_draw.C (Metrics): Use the correct GetString.