2 2001-08-08 André Pönitz <poenitz@gmx.net>
5 * math_fracinset.[Ch]: new hierarchy
7 * math_stackrelbase.[Ch]: native \stackrel support
9 * math_inset.[Ch]: removal of the name_ member
11 * math_deliminset.[Ch]: rework
13 2001-08-06 André Pönitz <poenitz@gmx.net>
15 * formulamacro.C: fix nasty bug due to missing copy constructor
17 * math_bigopinset.[Ch]: revival for things like \int, \sum
19 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
21 * math_diminset.h: make cache variables mutable, remove const_cast
23 * formulabase.[Ch]: remove unneeded convertFont()
25 * math_funcinset.[Ch]: bring red color back
27 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
28 inset to the mcaro table
30 2001-08-01 André Pönitz <poenitz@gmx.net>
33 formulamacro.C: fix memory leaks
35 * math_matrixinset.C: fix mis-alignment of eqnarray columns
37 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
38 MathMatrixInset * and MathMacroTemplate * to save a few casts
40 * all over the place: everything is an inset now
42 * math_nestinset.[Ch]: new abstract base class for insets containing
45 * math_diminset.[Ch]: new abstract base class for insets that need
46 the width_/ascent_/descent_ cache
48 2001-07-25 André Pönitz <poenitz@gmx.net>
50 * formulabase.C: re-enable 'space enlargement' feature
53 math_bigopinset.C: rework of script insets
55 2001-07-22 André Pönitz <poenitz@gmx.net>
57 * math_cursor.C: fix "pullArg" behaviour
59 * math_cursor.C: keep empty super/subscript a bit longer
61 * math_cursor.C: do not move into insets that don't have inner cells yet
63 * formulabase.C: fix memory leak
65 * math_cursor.C: ^ now copies selection into new srriptinset
67 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
70 * math_updowninset.C: fix drawing glitches
72 * math_cursor.C: paste to correct position
74 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
76 * formula.C (insetAllowed): allow insertion of label
78 2001-07-20 André Pönitz <poenitz@gmx.net>
80 * math_macrotable.C: support for \land and \vee
82 2001-07-16 André Pönitz <poenitz@gmx.net>
84 * math_grid.[Ch] -> math_gridinset.[Ch]
85 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
87 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
88 fix 'mathed reports wrong width', cosmetics
90 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
92 * math_cursor.C (operator==): moved ouf of struct
94 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
96 2001-07-16 André Pönitz <poenitz@gmx.net>
98 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
100 * several files: supporting changes
102 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
104 Consistent use of Lsstream.h:
105 * formula.C: removed using std::ostringstream directive.
107 * math_cursor.C: std::istringstream -> istringstream.
109 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * math_decorationinset.h: add std:: qualifier
113 2001-07-12 André Pönitz <poenitz@gmx.net>
115 * math_updowninset.[hC]: new base class for script and bigop insets
116 *.[hC]: subsequent changes to all Metric() functions
118 * math_parser.C: small changes (\sqrt0 is read properly now)
120 2001-07-10 André Pönitz <poenitz@gmx.net>
122 * math_accentinset.[hC]: rewrite
125 math_cursor.C: subsequent changes
127 * math_grid.C: <Delete> in the first cell of a completely empty row
128 deletes that row, <C-Return> places the cursor in the first of the
131 * math_grid.C: try to split cell nicely when mutating from single-cell
132 to multi-cell environment
134 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
136 * math_matrixinset.C (mutate): Use only the first label when
137 mutating eqnarray to display formula.
139 2001-07-09 Juergen Vigna <jug@sad.it>
141 * formulabase.C (mathDispatchCreation): don't do anything with the
142 inset if it cannot be inserted!
144 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
146 * formulabase.C (mathDispatchInsertMath): remove bogus return
149 2001-07-09 André Pönitz <poenitz@gmx.net>
151 * math_*inset.C: Change order of arguments in MathInset constructor
153 * math_cursor.C: Remove broken "increase space" feature for a while
155 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
157 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
159 2001-07-04 André Pönitz <poenitz@gmx.net>
161 * math_parser.C: fix reading of "unusual" alpha chars
163 * xarray.[hC]: fix debug output of xarray
165 2001-07-03 André Pönitz <poenitz@gmx.net>
167 * math_parser.C: fix bug where equations did not get their labels
169 * formulabase.C: new feature: changing font on selection
171 * several files: subsequent changes
173 * array.C: fix bug when insets have not been cloned properly
174 This should fix quite a few "random" crashes...
176 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
178 * formulabase.C (localDispatch): use .c_str() on istringstream
179 constructor argument.
181 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
183 * math_grid.C (addCol): add second argument to cellinfo_.insert.
184 Cleanup a bit the code.
185 (appendRow): do not call push_back without argument.
187 * *.C: remove all "using namespace std" directives (not
188 good!!) and replaced it with relevant "using" directives.
190 * math_macrotemplate.C (Clone): change return type to MathInset*
192 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * math_sizeinset.C: include support/LOstream.h
196 * math_scriptinset.C (Metrics): std:: qualify max
198 * math_root.C (Metrics): std:: qualify max
199 (Write): std:: qualify ostream
202 * math_matrixinset.C (getLabelList): std:: qualify vector
204 (Metrics): std:: qualify max
205 (header_write): std:: qualify ostream
206 (footer_write): ditto
208 * math_macrotemplate.C (Write): std:: qualify ostream
210 * math_bigopinset.C (Metrics): std:: qualify max, and include
213 * math_matrixinset.h: include vector and std:: qualify it.
215 * array.C (GetInset): get a pointer to the first element of bf_
218 2001-06-25 The LyX Project <Asger>
220 * math_scriptinset.C: Fix for entering with cursor up/down.
222 * math_fracinset.C: We can enter fractions with cursor up and
225 * math_cursor.C (Right): Fixes for cursor movement.
227 * formula.C (draw): New background color for math.
229 * math_cursor.C: Fixes for toggling labels on/off in math.
230 Fixes for infinity and other symbols that didn't appear in
233 2001-06-24 The LyX Project <Asger>
235 * math_inset.C: Cursor movement is better in square roots, among
238 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
239 cursor up/down movement. What not.
241 2001-06-24 The LyX Project <Asger>
243 * math_matrixinset.C: Hidden labels are hidden, unless a small
244 dragon jumps out of the screen, and pronounce them to the entire
247 2001-06-24 The LyX Project <Easter egg>
249 * math_cursor.C: Cursor improvements after a few dead-ends
250 in the evolution of cursor movement were tested and scrapped.
252 2001-06-24 The LyX Project <Asger>
254 * math_cursor.C: Renamed stack to path.
256 2001-06-24 The LyX Project <André>
259 Makefile.am: The Big Patch
260 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
261 new MathScriptInset for up/down stuff;
262 delete MathIter/MatXIter, MathParInset, MathRowSt
263 Changes to the inset inheritance tree, reunification of abstract math
265 label/numbering handling back to life;
266 major changes to the parser(s);
267 new base class FormulaBase for the two math LyXInsets;
268 general cleanup and cosmetic changes)
270 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
273 * math_root.C: removed // -*- C++ -*- as first line.
275 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
277 * array.C: bring memmove into main namespace if necessary
279 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
281 * math_parser.C (yylex): use contains instead of strchr
282 (parse_align): remove last arg, change to take string const & as
284 (mathed_parse): use string for ar2 and ar, adjust
286 * math_decorationinset.C (Write): use compare instead of strcmp
288 * formula.C (LocalDispatch): change arg2 to string, adjust for this
289 (LocalDispatch): add std::
290 (LocalDispatch): use contains instead of strchr
292 * array.C (move): add std::
294 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
296 * matriz.C: add using directives when needed for C functions
297 declared in std:: namespace.
299 * math_macrotemplate.h: do not use explicitely std::string, but
302 * math_macroarg.C: avoid bringing the whole std:: namespace in
303 global-land. When you do that, there is an ambiguity between
304 lyxstring and std::string (which may be defined at the same time).
306 * formula.C (HandleExtern): add .c_str() to .str() (useful when
309 2001-04-27 André Pönitz <poenitz@gmx.net>
311 * math_parser.C: fix \frac handling bug introduced on 04-24
312 * math_xiter.C: hotfix for merging "shared" insets
313 * formula.C: fixing display after using math-insert
315 2001-04-25 André Pönitz <poenitz@gmx.net>
317 * math_*.[Ch]: WriteNormal
318 * formula.C: Support for new "math extern" command
319 * math_parser.C: fix \frac handling bug introduced on 04-24
320 * math_xiter.C: hotfix for merging "shared" insets
322 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
324 * math_macrotable.C: include <iostream>
326 2001-04-24 André Pönitz <poenitz@gmx.net>
329 * math_macrotable.[Ch]:
330 * math_macroarg.[Ch]: restructuring of macro handling
333 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
335 * array.h (operator<<):
336 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
338 * math_macrotable.C: added using std::make_pair directive.
339 (dump): added using std::cerr directive here as I guess that this is
342 2001-04-20 Allan Rae <rae@lyx.org>
344 * formula.C (LocalDispatch): fixed another #warning. Guess who.
346 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
348 * math_macrotemplate.h: inherit privately from noncopyable
350 * math_macro.C (Metrics): reindent, use unsigned int as loop var
351 (setArgumentIdx): change test to avoid unsigned warning
353 * formula.C (LocalDispatch): use LFUN_MESSAGE
355 2001-04-16 Allan Rae <rae@lyx.org>
357 * formula.C (Latex, getLabelList, LocalDispatch):
358 * math_parser.C (mathed_parse):
359 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
360 an unrecognised preprocessor directive. So ensure they're wrapped.
362 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
364 * formula.C (draw): adjust for cursor_visible
365 (ToggleInsetCursor): adjust for cursor_visible and constify asc
367 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
368 (HideInsetCursor): adjust for cursor_visible
369 (LocalDispatch): constify default_label and res
371 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
373 * math_rowst.C: add missing #include <config.h>.
375 2001-03-16 André Pönitz <poenitz@gmx.net>
377 * math_matrixinset.h:
378 * math_parinset.[Ch]:
379 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
381 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
389 * math_symbols.C: maths panel moved to GUII
391 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
393 * math_cursor.C: use lyxerr instead of cerr.
395 2001-03-15 André Pönitz <poenitz@gmx.net>
397 * math_cursor.C: fix bug (cursor was leaving two insets at a time
400 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
402 * math_macrotable.h: noncopyable is in namespace boost
403 * math_macrotemplate.h: ditto
405 * math_rowst.h: make MathedRowContainer::iterator public.
407 2001-03-15 André Pönitz <poenitz@gmx.net>
409 * math_parser.C: read '\nonumber' again (was broken)
411 * math_rowst.C: new file
413 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
415 * math_cursor.C: added using directive.
417 2001-03-15 André Pönitz <poenitz@gmx.net>
419 * math_rowst.h: Finally remove MathedRowSt
422 math_xiter.C: changed accordingly
424 2001-03-12 André Pönitz <poenitz@gmx.net>
426 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
427 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
429 2001-03-10 André Pönitz <poenitz@gmx.net>
432 math_matrixinset.C: move adjustVerticalSt to the only place where
433 it is used. Fix a small bug where the cached row structure and the
434 actual data get out of sync after the deletion of whole rows
436 2001-03-09 André Pönitz <poenitz@gmx.net>
438 * math_cursor.C: use std::vector<> in MathStackXIter
439 change selstk from a pointer to the "real thing"
441 * math_rowst.h: new MathedRowContainer::erase method
443 * math_xiter.C: use MathedRowContainer::erase
445 * math_parser.C: use MathedRowContainer::insert_after
447 2001-03-08 André Pönitz <poenitz@gmx.net>
449 * math_rowst.h: give MathedRowContainer an 'insert' method.
451 * math_xiter.C: new 'container()' method to encapsulated access to
452 the MathParInset's MathedRowContainer
454 * math_rowst.h: proper copy constructor and destructor for
457 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
458 automatically created by the compiler are ok now.
460 2001-03-06 André Pönitz <poenitz@gmx.net>
462 * array.[Ch]: factor out deep_copy,
463 remove third argument from raw_pointer_insert
465 * math_iter.[Ch]: remove unused function Clear()
467 * math_cursor.C: change signature of MathStackXIter:push()
470 * math_rowst.h: introduction of MathRowContainer
471 several files: corresponding changes
473 2001-03-04 André Pönitz <poenitz@gmx.net>
475 * math_macrotemplate.[Ch]:
476 math_macro.C: move update() functionality to the macro
478 * math_rowst.h: split MathedRowSt into "data" and "list"
480 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
482 * math_macrotemplate.C (update): use MathMacro::getArg, and
483 receive a const reference.
484 (getMacroPar): add an Assert
486 * math_macrotemplate.h: make MathMacro a friend, make update take
489 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
490 and store a MathMacroArgument in the vector
491 * math_macro.C: changes because of the above.
494 * math_parser.C (mathed_parse): plug potential leak
496 * math_iter.h: add comment on virtual destructor
498 * math_iter.C (Delete): make c const
500 * math_parinset.C (Metrics): cleanup indent. make one string const.
502 * math_inset.C (size): move out of line
505 * math_macroarg.h: remove default constructor
507 * math_macroarg.C: include Lsstream.h instead of debug.h
508 (MathMacroArgument): remove default constructor
509 (Write): add std:: on ostream arg
511 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
514 * formula.C: make DEBUG into lyxerr
516 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
518 * math_macrotemplate.h: make noncopyable, remove last arg to
519 constructor, remove flags_ add edit_
520 (flags): remove method
522 * math_macrotemplate.C (setArgument): delete method
523 (update): make idx const
524 (Metrics): use edit_, remove flags_
525 (draw): use edit_, remove flags_
526 (setEditMode): set edit_, remove flags_
527 (MathMacroTemplate): initialize edit_, remove flags_
529 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
530 shared_ptr, let constructor take a shared_ptr
532 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
534 (draw): remove unneded update, remove removed update of x,y
535 (GetXY): call tmplates GetMacroXY directly
536 (SetFocus): call Metrics() instead of update()
537 (Write): remove support for math macro environments, simplifications.
539 * math_macrotable.h: make class noncopyable, change getMacro to
540 createMacro, change vector to map store a
541 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
543 * math_macrotable.C: add pragma
544 (createMacro): change name from getMacro, use shared_ptr
545 (getTemplate): Use map lookup to get macro, return shared_ptr
546 (addTemplate): assert that m containse a valid pointer, use map[]
548 (builtinMacros): by using shared_ptr fix the mem leak, remove
549 commented out unsupported macros
551 * math_cursor.C: changes because of the above
552 * math_parser.C: changes because of the abobe
554 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
555 default arg on constructor.
556 * formulamacro.C: changes because of the above
558 * math_parinset.h: add pragma
559 (SetAlign): move inline out of class def
563 (setArgumentIdx): ditto
564 (setNextArgIdx): ditto
565 (getArgumentIdx): ditto
566 (getMaxArgumentIdx): ditto
571 * math_parinset.C: add pragma
572 (Write): change the else clause, lessen depth
574 * math_macroarg.h: small whitespace change
576 * array.C: include support/LOstream.h add using ostream and endl
578 * array.h (dump): add std:: on ostream
580 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
582 * math_macrotemplate.h: remove default arg on update
584 * math_macrotemplate.C (update): add assert and remove noop case.
586 * formulamacro.C (Read): add comment.
587 (ascent): remove noop call to MathMacroTemplate
592 * math_parser.C (mathed_parse): fix another potential problem by
593 passing a freestanding mathedarray.
595 * math_root.C (GetData): add const version
597 * math_parinset.C (~MathParInset): delete
598 (GetData): add const version
600 * math_matrixinset.C (MathMatrixInset): delete pointer version,
601 make it a proper copy constructor instead
603 (MathMatrixInset): remvoe default val for m and n
605 * math_macro.C (GetData): add const version
607 * math_fracinset.C (GetData): add const version
609 * math_cursor.C (SelCopy): make p1 and p2 const
610 (SelCut): make p1 and p2 const
612 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
613 (LyxCode): move inline out of class
617 * array.[Ch] (dump): method added for debugging purposes
619 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
620 mathed_parse when reading a matrix.
622 * math_spaceinset.[Ch]: add pragma, make variables private add
623 '_', change order of method definitions.
625 * math_root.h (~MathRootInset): delete
626 Change uroot_ to be a real object instead of a pointer
627 * math_root.C: changes because of the above
629 * math_macro.C (MathMacro(MathMacro*)): delete constructor
630 (MathMacro(MathMacro const &)): new copy constructor
632 * math_inset.h: delete constructor taking a pointer to MathedInset
633 (size, incSize): move inline method
635 * math_funcinset.h: add pragma, remove class vars ln and fname,
636 change protected to private, add '_' to priv vars.
637 (~MathFuncInset): remove
639 * math_fracinset.h: make MathParInset den_ a real object and not a
642 * math_fracinset.C (MathFracInset): clean up, move initalization
643 to initialization list
644 (~MathFracInset): remove
647 * math_draw.C: delete file
649 * math_dotsinset.[Ch]: add pragma
651 * math_bigopinset.h: make protected variables private add '_' to vars.
653 * math_bigopinset.C: move methods to follow class definition order
655 * math_accentinset.h (getAccentCode): move inline here
657 * math_accentinset.C (MathAccentInset): cleanup
660 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
662 * math_inset.[Ch] (MathedInset): remove method
664 * Makefile.am (libmathed_la_SOURCES): correct typo
666 * math_parinset.C (draw): move MathedXiter data(this) up. and
667 remove it two other places.
669 * math_macro.C (MathMacro): use array directly, don't use
670 setArgumentIdx and GetData
672 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
674 * math_macroarg.C (MathMacroArgument): delete
675 * math_macro.C (~MathMacro): delete
676 * math_macrotemplate.C (~MathMacroTemplate): delete
678 * math_decorationinset.[Ch]: add pragma
679 * math_deliminset.[Ch]: likewise
680 * math_fracinset.[Ch]: likewise
681 * math_macroarg.[Ch]: likewise
682 * math_macrotemplate.[Ch]: likewise
683 * math_matrixinset.[Ch]: likewise
685 * formulamacro.C (Read): set contents of tmacro_ to ar.
687 * formulamacro.h: add '_' to private variables.
688 * formalamacro.C: changes because of this.
690 2001-02-23 Juergen Vigna <jug@sad.it>
692 * formula.C (LocalDispatch): changed action to be a kb_action (as it
693 should be) and not an int.
695 * formulamacro.C (LocalDispatch): ditto.
697 2001-02-14 André Pönitz <poenitz@gmx.net>
699 * math_parinset.[Ch]: make array a real MathArray, not just a
702 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
704 * several files: subsequent changes
706 * math_cursor.C: make selarray a proper MathArray
708 * several files: Change "MathedArray *" to "MathedArray &"
711 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
713 * array.C (MathedArray): Fix compilation problem.
715 2001-02-14 André Pönitz <poenitz@gmx.net>
717 * array.[Ch]: "deep" copy constructor and assignment operator for
720 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
722 * math_iter.[Ch]: remove SetData
723 several files: subsequent changes
725 2001-02-14 André Pönitz <poenitz@gmx.net>
727 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
730 * math_iter.C: default-construct and resize array
732 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
734 * math_xiter.h: move ipush and ipop to public, add _ on private
735 variables, move protected var to private, remove friend.
737 * math_cursor.C (insertInset): rename method from Insert also
738 remove default arg val. Call the public methods of xiter instead
739 of private variables.
741 * changes to several files because of the above.
743 2001-02-14 André Pönitz <poenitz@gmx.net>
745 * math_iter.[Ch]: hide fcode_
747 * math_parinset.C: subsequent changes
750 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
752 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
755 * math_write.C: delete file
756 * math_delim.C: delete file
757 * marh_sqrtinset.h: delete file
759 * move funcs to more localized files, more general cleanup.
760 Constify several local vars. Doxygen changes. Formatting.
762 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
764 * support.C: add some consts
766 * matriz.C: clean up a bit.
767 (matmat): remove the for loop.
769 * several files: changes so that several friends can be removed
771 2001-02-14 André Pönitz <poenitz@gmx.net>
773 * formula.C: reformatting
777 math_xiter.[Ch]: remove unneeded members
779 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
783 * formula.C: remove cruft
785 * array.C (begin): new method
788 2001-02-14 André Pönitz <poenitz@gmx.net>
790 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
792 * math_cursor.C: reformatting
794 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
798 * math_matrixinset.C:
799 * math_macrotemplate.C:
804 * math_decorationinset.C:
806 * math_accentinset.C:
807 * math_sqrtinset.C: include LOstream.h and add using directive.
809 2001-02-14 André Pönitz <poenitz@gmx.net>
811 * math_iter.C: reformatting
813 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
815 * math_spaceinset.C (GetSpace): move here
817 * math_parinset.C: add debug.h, move several prev. inlined methods
820 * math_macrotable.C math_xiter.C support.C: add debug.h
822 * math_macro.h: remove debug.h, remove typedefs
824 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
827 * math_hash.C: change some defines to int const. change use of
828 LM_TC_NORMAL to LM_TC_VAR
830 * math_draw.C: delete file
832 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
833 forward decls. remove LM_TC_NORMAL, move inline methods to
834 support.C (and support.h)
836 * math_cursor.C: move several previous inlined methods here
838 * math_bigopinset.h math_dotsinset.h math_funcinset.h
839 math_parinset.h math_spaceinset.h: add math_defs.h
841 * math_accentinset.h: add support.h and math_defs.h
843 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
845 * formula.h: remove unused func decl: OpenMathInset
847 * formula.C math_inset.h: get rid of math_defs.h
849 * array.h: switch to support.h instead of math_defs.h
851 * array.C: remove one include
853 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
855 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
857 * math_parser.C: include macrotable and macrotemplate
859 * math_macrotemplate.[Ch]: new files
861 * math_macrotable.[Ch]: new files
863 * math_macroarg.[Ch]: new files
865 * math_macro.C: move stuff to the new files.
867 * math_cursor.C: include math_macrotable.h
869 * macro_support.[Ch]: new files
871 * formulamacro.C: add more includes
873 * Makefile.am (libmathed_la_SOURCES): add new files.
875 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
877 * Makefile.am (libmathed_la_SOURCES): remove duplicate
882 * math_parinset.C: add a bunch of "using" directives.
885 * math_decorationinset.h:
887 * math_spaceinset.h: remove more couples of inline.
889 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
891 * math_xiter.h: remove a couple of "inline"
893 * array.C (strange_copy): fix bug (hopefully)
894 * many files: add a lot of new files and move methods to the class
895 files they belong to. Only first attempt at cleanup more will
898 2001-02-12 André Pönitz <poenitz@gmx.net>
900 * math_macro.[hC]: replace MathMacroArgument[] with
901 std::vector<MathMacroArgument>
903 math_inset.C: replace int[] with std::vector<int>
905 * math_symbols.C: replace FL_OBJECTP[] with
906 std::vector<FL_OBJECT*>
908 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
910 * math_defs.h (struct MathedRowSt): make all private variables end
911 with '_', initialize in initializer list instead of in function
914 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
916 * formula.C (LocalDispatch): Change the default action of
917 break-line to create an align* environment instead of eqnarray*.
919 * math_inset.C (Metrics): Correct drawing of the multline
922 2001-02-12 André Pönitz <poenitz@gmx.net>
924 * array.[hC]: replace private variable maxsize_ with call to
926 * math_defs.h: replace int[] by std::vector<int> for
929 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
931 * array.h: made all variables private, removed friend, added new
932 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
933 non const operator[] added setter for last and getter for maxsize.
934 changed name from LyxArrayBase to MathedArray.
935 changed name of some methods to start with lowerchar.
936 moved inline methods to array.C
938 * math_iter.C + several file: changes because of the above.
940 * array.C: new file with the prev inline methods.
942 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
944 * Many files: add support for the align environment from amsmath.
946 2001-02-09 André Pönitz <poenitz@gmx.net>
948 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
949 * several files: subsequent changes
950 * math_iter.h: remove unused prototype
953 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
955 * math_macro.C (draw): add .c_str() to .str() (useful when
956 compiling with lyxstring, but STL sstream).
959 2001-02-08 André Pönitz <poenitz@gmx.net>
961 * several files: get rid of reinterpret_cast.
963 2001-02-04 Allan Rae <rae@lyx.org>
965 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
966 just casting the variable.
968 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
970 * Many files: Add support for multline and alignat environments from
973 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
975 * math_symbols.C (math_insert_greek): Move cursor right when
976 unlocking the math inset.
978 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
980 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
982 * formula.C (LocalDispatch): Before inserting a label in an
983 eqnarray, move the cursor to the top level.
985 * math_iter.C (getLabel): Test if crow == 0.
987 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
989 * math_draw.C (Metrics): Use the correct GetString.