1 2001-08-13 André Pönitz <poenitz@gmx.net>
3 * math_factory.[Ch]: new files for the creation of math insets
7 math_hash.C: simplifications
9 * math_binom.[Ch]: new files for "native" \binom/\choose inset
12 math_cursor.C: reading support for TeX style \over and \choose
14 * formulabase.C: re-enabling the "selected text gets converted to
15 math when pressing C-m" feature.
17 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
19 * math_parser.C (lexArg): remove default argument from the .C file
20 as it causes DEC cxx to complain about a redefinition.
22 2001-08-10 André Pönitz <poenitz@gmx.net>
24 * math_scopeinset.[Ch]: new inset for {} blocks
26 * math_accentinset.[Ch]: removed unneeded files
29 math_matrix.[Ch]: start support for "interrow spacing"
31 * all over the place: rework of parser stuff
33 2001-08-08 André Pönitz <poenitz@gmx.net>
36 * math_fracinset.[Ch]: new hierarchy
38 * math_stackrelbase.[Ch]: native \stackrel support
40 * math_inset.[Ch]: removal of the name_ member
42 * math_deliminset.[Ch]: rework
44 2001-08-06 André Pönitz <poenitz@gmx.net>
46 * formulamacro.C: fix nasty bug due to missing copy constructor
48 * math_bigopinset.[Ch]: revival for things like \int, \sum
50 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
52 * math_diminset.h: make cache variables mutable, remove const_cast
54 * formulabase.[Ch]: remove unneeded convertFont()
56 * math_funcinset.[Ch]: bring red color back
58 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
59 inset to the mcaro table
61 2001-08-01 André Pönitz <poenitz@gmx.net>
64 formulamacro.C: fix memory leaks
66 * math_matrixinset.C: fix mis-alignment of eqnarray columns
68 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
69 MathMatrixInset * and MathMacroTemplate * to save a few casts
71 * all over the place: everything is an inset now
73 * math_nestinset.[Ch]: new abstract base class for insets containing
76 * math_diminset.[Ch]: new abstract base class for insets that need
77 the width_/ascent_/descent_ cache
79 2001-07-25 André Pönitz <poenitz@gmx.net>
81 * formulabase.C: re-enable 'space enlargement' feature
84 math_bigopinset.C: rework of script insets
86 2001-07-22 André Pönitz <poenitz@gmx.net>
88 * math_cursor.C: fix "pullArg" behaviour
90 * math_cursor.C: keep empty super/subscript a bit longer
92 * math_cursor.C: do not move into insets that don't have inner cells yet
94 * formulabase.C: fix memory leak
96 * math_cursor.C: ^ now copies selection into new srriptinset
98 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
101 * math_updowninset.C: fix drawing glitches
103 * math_cursor.C: paste to correct position
105 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * formula.C (insetAllowed): allow insertion of label
109 2001-07-20 André Pönitz <poenitz@gmx.net>
111 * math_macrotable.C: support for \land and \vee
113 2001-07-16 André Pönitz <poenitz@gmx.net>
115 * math_grid.[Ch] -> math_gridinset.[Ch]
116 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
118 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
119 fix 'mathed reports wrong width', cosmetics
121 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
123 * math_cursor.C (operator==): moved ouf of struct
125 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
127 2001-07-16 André Pönitz <poenitz@gmx.net>
129 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
131 * several files: supporting changes
133 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
135 Consistent use of Lsstream.h:
136 * formula.C: removed using std::ostringstream directive.
138 * math_cursor.C: std::istringstream -> istringstream.
140 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
142 * math_decorationinset.h: add std:: qualifier
144 2001-07-12 André Pönitz <poenitz@gmx.net>
146 * math_updowninset.[hC]: new base class for script and bigop insets
147 *.[hC]: subsequent changes to all Metric() functions
149 * math_parser.C: small changes (\sqrt0 is read properly now)
151 2001-07-10 André Pönitz <poenitz@gmx.net>
153 * math_accentinset.[hC]: rewrite
156 math_cursor.C: subsequent changes
158 * math_grid.C: <Delete> in the first cell of a completely empty row
159 deletes that row, <C-Return> places the cursor in the first of the
162 * math_grid.C: try to split cell nicely when mutating from single-cell
163 to multi-cell environment
165 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
167 * math_matrixinset.C (mutate): Use only the first label when
168 mutating eqnarray to display formula.
170 2001-07-09 Juergen Vigna <jug@sad.it>
172 * formulabase.C (mathDispatchCreation): don't do anything with the
173 inset if it cannot be inserted!
175 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
177 * formulabase.C (mathDispatchInsertMath): remove bogus return
180 2001-07-09 André Pönitz <poenitz@gmx.net>
182 * math_*inset.C: Change order of arguments in MathInset constructor
184 * math_cursor.C: Remove broken "increase space" feature for a while
186 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
188 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
190 2001-07-04 André Pönitz <poenitz@gmx.net>
192 * math_parser.C: fix reading of "unusual" alpha chars
194 * xarray.[hC]: fix debug output of xarray
196 2001-07-03 André Pönitz <poenitz@gmx.net>
198 * math_parser.C: fix bug where equations did not get their labels
200 * formulabase.C: new feature: changing font on selection
202 * several files: subsequent changes
204 * array.C: fix bug when insets have not been cloned properly
205 This should fix quite a few "random" crashes...
207 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * formulabase.C (localDispatch): use .c_str() on istringstream
210 constructor argument.
212 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
214 * math_grid.C (addCol): add second argument to cellinfo_.insert.
215 Cleanup a bit the code.
216 (appendRow): do not call push_back without argument.
218 * *.C: remove all "using namespace std" directives (not
219 good!!) and replaced it with relevant "using" directives.
221 * math_macrotemplate.C (Clone): change return type to MathInset*
223 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
225 * math_sizeinset.C: include support/LOstream.h
227 * math_scriptinset.C (Metrics): std:: qualify max
229 * math_root.C (Metrics): std:: qualify max
230 (Write): std:: qualify ostream
233 * math_matrixinset.C (getLabelList): std:: qualify vector
235 (Metrics): std:: qualify max
236 (header_write): std:: qualify ostream
237 (footer_write): ditto
239 * math_macrotemplate.C (Write): std:: qualify ostream
241 * math_bigopinset.C (Metrics): std:: qualify max, and include
244 * math_matrixinset.h: include vector and std:: qualify it.
246 * array.C (GetInset): get a pointer to the first element of bf_
249 2001-06-25 The LyX Project <Asger>
251 * math_scriptinset.C: Fix for entering with cursor up/down.
253 * math_fracinset.C: We can enter fractions with cursor up and
256 * math_cursor.C (Right): Fixes for cursor movement.
258 * formula.C (draw): New background color for math.
260 * math_cursor.C: Fixes for toggling labels on/off in math.
261 Fixes for infinity and other symbols that didn't appear in
264 2001-06-24 The LyX Project <Asger>
266 * math_inset.C: Cursor movement is better in square roots, among
269 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
270 cursor up/down movement. What not.
272 2001-06-24 The LyX Project <Asger>
274 * math_matrixinset.C: Hidden labels are hidden, unless a small
275 dragon jumps out of the screen, and pronounce them to the entire
278 2001-06-24 The LyX Project <Easter egg>
280 * math_cursor.C: Cursor improvements after a few dead-ends
281 in the evolution of cursor movement were tested and scrapped.
283 2001-06-24 The LyX Project <Asger>
285 * math_cursor.C: Renamed stack to path.
287 2001-06-24 The LyX Project <André>
290 Makefile.am: The Big Patch
291 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
292 new MathScriptInset for up/down stuff;
293 delete MathIter/MatXIter, MathParInset, MathRowSt
294 Changes to the inset inheritance tree, reunification of abstract math
296 label/numbering handling back to life;
297 major changes to the parser(s);
298 new base class FormulaBase for the two math LyXInsets;
299 general cleanup and cosmetic changes)
301 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
304 * math_root.C: removed // -*- C++ -*- as first line.
306 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * array.C: bring memmove into main namespace if necessary
310 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
312 * math_parser.C (yylex): use contains instead of strchr
313 (parse_align): remove last arg, change to take string const & as
315 (mathed_parse): use string for ar2 and ar, adjust
317 * math_decorationinset.C (Write): use compare instead of strcmp
319 * formula.C (LocalDispatch): change arg2 to string, adjust for this
320 (LocalDispatch): add std::
321 (LocalDispatch): use contains instead of strchr
323 * array.C (move): add std::
325 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
327 * matriz.C: add using directives when needed for C functions
328 declared in std:: namespace.
330 * math_macrotemplate.h: do not use explicitely std::string, but
333 * math_macroarg.C: avoid bringing the whole std:: namespace in
334 global-land. When you do that, there is an ambiguity between
335 lyxstring and std::string (which may be defined at the same time).
337 * formula.C (HandleExtern): add .c_str() to .str() (useful when
340 2001-04-27 André Pönitz <poenitz@gmx.net>
342 * math_parser.C: fix \frac handling bug introduced on 04-24
343 * math_xiter.C: hotfix for merging "shared" insets
344 * formula.C: fixing display after using math-insert
346 2001-04-25 André Pönitz <poenitz@gmx.net>
348 * math_*.[Ch]: WriteNormal
349 * formula.C: Support for new "math extern" command
350 * math_parser.C: fix \frac handling bug introduced on 04-24
351 * math_xiter.C: hotfix for merging "shared" insets
353 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * math_macrotable.C: include <iostream>
357 2001-04-24 André Pönitz <poenitz@gmx.net>
360 * math_macrotable.[Ch]:
361 * math_macroarg.[Ch]: restructuring of macro handling
364 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
366 * array.h (operator<<):
367 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
369 * math_macrotable.C: added using std::make_pair directive.
370 (dump): added using std::cerr directive here as I guess that this is
373 2001-04-20 Allan Rae <rae@lyx.org>
375 * formula.C (LocalDispatch): fixed another #warning. Guess who.
377 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
379 * math_macrotemplate.h: inherit privately from noncopyable
381 * math_macro.C (Metrics): reindent, use unsigned int as loop var
382 (setArgumentIdx): change test to avoid unsigned warning
384 * formula.C (LocalDispatch): use LFUN_MESSAGE
386 2001-04-16 Allan Rae <rae@lyx.org>
388 * formula.C (Latex, getLabelList, LocalDispatch):
389 * math_parser.C (mathed_parse):
390 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
391 an unrecognised preprocessor directive. So ensure they're wrapped.
393 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
395 * formula.C (draw): adjust for cursor_visible
396 (ToggleInsetCursor): adjust for cursor_visible and constify asc
398 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
399 (HideInsetCursor): adjust for cursor_visible
400 (LocalDispatch): constify default_label and res
402 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
404 * math_rowst.C: add missing #include <config.h>.
406 2001-03-16 André Pönitz <poenitz@gmx.net>
408 * math_matrixinset.h:
409 * math_parinset.[Ch]:
410 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
412 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
420 * math_symbols.C: maths panel moved to GUII
422 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
424 * math_cursor.C: use lyxerr instead of cerr.
426 2001-03-15 André Pönitz <poenitz@gmx.net>
428 * math_cursor.C: fix bug (cursor was leaving two insets at a time
431 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
433 * math_macrotable.h: noncopyable is in namespace boost
434 * math_macrotemplate.h: ditto
436 * math_rowst.h: make MathedRowContainer::iterator public.
438 2001-03-15 André Pönitz <poenitz@gmx.net>
440 * math_parser.C: read '\nonumber' again (was broken)
442 * math_rowst.C: new file
444 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
446 * math_cursor.C: added using directive.
448 2001-03-15 André Pönitz <poenitz@gmx.net>
450 * math_rowst.h: Finally remove MathedRowSt
453 math_xiter.C: changed accordingly
455 2001-03-12 André Pönitz <poenitz@gmx.net>
457 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
458 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
460 2001-03-10 André Pönitz <poenitz@gmx.net>
463 math_matrixinset.C: move adjustVerticalSt to the only place where
464 it is used. Fix a small bug where the cached row structure and the
465 actual data get out of sync after the deletion of whole rows
467 2001-03-09 André Pönitz <poenitz@gmx.net>
469 * math_cursor.C: use std::vector<> in MathStackXIter
470 change selstk from a pointer to the "real thing"
472 * math_rowst.h: new MathedRowContainer::erase method
474 * math_xiter.C: use MathedRowContainer::erase
476 * math_parser.C: use MathedRowContainer::insert_after
478 2001-03-08 André Pönitz <poenitz@gmx.net>
480 * math_rowst.h: give MathedRowContainer an 'insert' method.
482 * math_xiter.C: new 'container()' method to encapsulated access to
483 the MathParInset's MathedRowContainer
485 * math_rowst.h: proper copy constructor and destructor for
488 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
489 automatically created by the compiler are ok now.
491 2001-03-06 André Pönitz <poenitz@gmx.net>
493 * array.[Ch]: factor out deep_copy,
494 remove third argument from raw_pointer_insert
496 * math_iter.[Ch]: remove unused function Clear()
498 * math_cursor.C: change signature of MathStackXIter:push()
501 * math_rowst.h: introduction of MathRowContainer
502 several files: corresponding changes
504 2001-03-04 André Pönitz <poenitz@gmx.net>
506 * math_macrotemplate.[Ch]:
507 math_macro.C: move update() functionality to the macro
509 * math_rowst.h: split MathedRowSt into "data" and "list"
511 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
513 * math_macrotemplate.C (update): use MathMacro::getArg, and
514 receive a const reference.
515 (getMacroPar): add an Assert
517 * math_macrotemplate.h: make MathMacro a friend, make update take
520 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
521 and store a MathMacroArgument in the vector
522 * math_macro.C: changes because of the above.
525 * math_parser.C (mathed_parse): plug potential leak
527 * math_iter.h: add comment on virtual destructor
529 * math_iter.C (Delete): make c const
531 * math_parinset.C (Metrics): cleanup indent. make one string const.
533 * math_inset.C (size): move out of line
536 * math_macroarg.h: remove default constructor
538 * math_macroarg.C: include Lsstream.h instead of debug.h
539 (MathMacroArgument): remove default constructor
540 (Write): add std:: on ostream arg
542 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
545 * formula.C: make DEBUG into lyxerr
547 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
549 * math_macrotemplate.h: make noncopyable, remove last arg to
550 constructor, remove flags_ add edit_
551 (flags): remove method
553 * math_macrotemplate.C (setArgument): delete method
554 (update): make idx const
555 (Metrics): use edit_, remove flags_
556 (draw): use edit_, remove flags_
557 (setEditMode): set edit_, remove flags_
558 (MathMacroTemplate): initialize edit_, remove flags_
560 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
561 shared_ptr, let constructor take a shared_ptr
563 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
565 (draw): remove unneded update, remove removed update of x,y
566 (GetXY): call tmplates GetMacroXY directly
567 (SetFocus): call Metrics() instead of update()
568 (Write): remove support for math macro environments, simplifications.
570 * math_macrotable.h: make class noncopyable, change getMacro to
571 createMacro, change vector to map store a
572 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
574 * math_macrotable.C: add pragma
575 (createMacro): change name from getMacro, use shared_ptr
576 (getTemplate): Use map lookup to get macro, return shared_ptr
577 (addTemplate): assert that m containse a valid pointer, use map[]
579 (builtinMacros): by using shared_ptr fix the mem leak, remove
580 commented out unsupported macros
582 * math_cursor.C: changes because of the above
583 * math_parser.C: changes because of the abobe
585 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
586 default arg on constructor.
587 * formulamacro.C: changes because of the above
589 * math_parinset.h: add pragma
590 (SetAlign): move inline out of class def
594 (setArgumentIdx): ditto
595 (setNextArgIdx): ditto
596 (getArgumentIdx): ditto
597 (getMaxArgumentIdx): ditto
602 * math_parinset.C: add pragma
603 (Write): change the else clause, lessen depth
605 * math_macroarg.h: small whitespace change
607 * array.C: include support/LOstream.h add using ostream and endl
609 * array.h (dump): add std:: on ostream
611 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
613 * math_macrotemplate.h: remove default arg on update
615 * math_macrotemplate.C (update): add assert and remove noop case.
617 * formulamacro.C (Read): add comment.
618 (ascent): remove noop call to MathMacroTemplate
623 * math_parser.C (mathed_parse): fix another potential problem by
624 passing a freestanding mathedarray.
626 * math_root.C (GetData): add const version
628 * math_parinset.C (~MathParInset): delete
629 (GetData): add const version
631 * math_matrixinset.C (MathMatrixInset): delete pointer version,
632 make it a proper copy constructor instead
634 (MathMatrixInset): remvoe default val for m and n
636 * math_macro.C (GetData): add const version
638 * math_fracinset.C (GetData): add const version
640 * math_cursor.C (SelCopy): make p1 and p2 const
641 (SelCut): make p1 and p2 const
643 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
644 (LyxCode): move inline out of class
648 * array.[Ch] (dump): method added for debugging purposes
650 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
651 mathed_parse when reading a matrix.
653 * math_spaceinset.[Ch]: add pragma, make variables private add
654 '_', change order of method definitions.
656 * math_root.h (~MathRootInset): delete
657 Change uroot_ to be a real object instead of a pointer
658 * math_root.C: changes because of the above
660 * math_macro.C (MathMacro(MathMacro*)): delete constructor
661 (MathMacro(MathMacro const &)): new copy constructor
663 * math_inset.h: delete constructor taking a pointer to MathedInset
664 (size, incSize): move inline method
666 * math_funcinset.h: add pragma, remove class vars ln and fname,
667 change protected to private, add '_' to priv vars.
668 (~MathFuncInset): remove
670 * math_fracinset.h: make MathParInset den_ a real object and not a
673 * math_fracinset.C (MathFracInset): clean up, move initalization
674 to initialization list
675 (~MathFracInset): remove
678 * math_draw.C: delete file
680 * math_dotsinset.[Ch]: add pragma
682 * math_bigopinset.h: make protected variables private add '_' to vars.
684 * math_bigopinset.C: move methods to follow class definition order
686 * math_accentinset.h (getAccentCode): move inline here
688 * math_accentinset.C (MathAccentInset): cleanup
691 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
693 * math_inset.[Ch] (MathedInset): remove method
695 * Makefile.am (libmathed_la_SOURCES): correct typo
697 * math_parinset.C (draw): move MathedXiter data(this) up. and
698 remove it two other places.
700 * math_macro.C (MathMacro): use array directly, don't use
701 setArgumentIdx and GetData
703 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
705 * math_macroarg.C (MathMacroArgument): delete
706 * math_macro.C (~MathMacro): delete
707 * math_macrotemplate.C (~MathMacroTemplate): delete
709 * math_decorationinset.[Ch]: add pragma
710 * math_deliminset.[Ch]: likewise
711 * math_fracinset.[Ch]: likewise
712 * math_macroarg.[Ch]: likewise
713 * math_macrotemplate.[Ch]: likewise
714 * math_matrixinset.[Ch]: likewise
716 * formulamacro.C (Read): set contents of tmacro_ to ar.
718 * formulamacro.h: add '_' to private variables.
719 * formalamacro.C: changes because of this.
721 2001-02-23 Juergen Vigna <jug@sad.it>
723 * formula.C (LocalDispatch): changed action to be a kb_action (as it
724 should be) and not an int.
726 * formulamacro.C (LocalDispatch): ditto.
728 2001-02-14 André Pönitz <poenitz@gmx.net>
730 * math_parinset.[Ch]: make array a real MathArray, not just a
733 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
735 * several files: subsequent changes
737 * math_cursor.C: make selarray a proper MathArray
739 * several files: Change "MathedArray *" to "MathedArray &"
742 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
744 * array.C (MathedArray): Fix compilation problem.
746 2001-02-14 André Pönitz <poenitz@gmx.net>
748 * array.[Ch]: "deep" copy constructor and assignment operator for
751 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
753 * math_iter.[Ch]: remove SetData
754 several files: subsequent changes
756 2001-02-14 André Pönitz <poenitz@gmx.net>
758 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
761 * math_iter.C: default-construct and resize array
763 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
765 * math_xiter.h: move ipush and ipop to public, add _ on private
766 variables, move protected var to private, remove friend.
768 * math_cursor.C (insertInset): rename method from Insert also
769 remove default arg val. Call the public methods of xiter instead
770 of private variables.
772 * changes to several files because of the above.
774 2001-02-14 André Pönitz <poenitz@gmx.net>
776 * math_iter.[Ch]: hide fcode_
778 * math_parinset.C: subsequent changes
781 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
783 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
786 * math_write.C: delete file
787 * math_delim.C: delete file
788 * marh_sqrtinset.h: delete file
790 * move funcs to more localized files, more general cleanup.
791 Constify several local vars. Doxygen changes. Formatting.
793 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
795 * support.C: add some consts
797 * matriz.C: clean up a bit.
798 (matmat): remove the for loop.
800 * several files: changes so that several friends can be removed
802 2001-02-14 André Pönitz <poenitz@gmx.net>
804 * formula.C: reformatting
808 math_xiter.[Ch]: remove unneeded members
810 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
814 * formula.C: remove cruft
816 * array.C (begin): new method
819 2001-02-14 André Pönitz <poenitz@gmx.net>
821 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
823 * math_cursor.C: reformatting
825 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
829 * math_matrixinset.C:
830 * math_macrotemplate.C:
835 * math_decorationinset.C:
837 * math_accentinset.C:
838 * math_sqrtinset.C: include LOstream.h and add using directive.
840 2001-02-14 André Pönitz <poenitz@gmx.net>
842 * math_iter.C: reformatting
844 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
846 * math_spaceinset.C (GetSpace): move here
848 * math_parinset.C: add debug.h, move several prev. inlined methods
851 * math_macrotable.C math_xiter.C support.C: add debug.h
853 * math_macro.h: remove debug.h, remove typedefs
855 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
858 * math_hash.C: change some defines to int const. change use of
859 LM_TC_NORMAL to LM_TC_VAR
861 * math_draw.C: delete file
863 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
864 forward decls. remove LM_TC_NORMAL, move inline methods to
865 support.C (and support.h)
867 * math_cursor.C: move several previous inlined methods here
869 * math_bigopinset.h math_dotsinset.h math_funcinset.h
870 math_parinset.h math_spaceinset.h: add math_defs.h
872 * math_accentinset.h: add support.h and math_defs.h
874 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
876 * formula.h: remove unused func decl: OpenMathInset
878 * formula.C math_inset.h: get rid of math_defs.h
880 * array.h: switch to support.h instead of math_defs.h
882 * array.C: remove one include
884 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
886 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
888 * math_parser.C: include macrotable and macrotemplate
890 * math_macrotemplate.[Ch]: new files
892 * math_macrotable.[Ch]: new files
894 * math_macroarg.[Ch]: new files
896 * math_macro.C: move stuff to the new files.
898 * math_cursor.C: include math_macrotable.h
900 * macro_support.[Ch]: new files
902 * formulamacro.C: add more includes
904 * Makefile.am (libmathed_la_SOURCES): add new files.
906 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
908 * Makefile.am (libmathed_la_SOURCES): remove duplicate
913 * math_parinset.C: add a bunch of "using" directives.
916 * math_decorationinset.h:
918 * math_spaceinset.h: remove more couples of inline.
920 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
922 * math_xiter.h: remove a couple of "inline"
924 * array.C (strange_copy): fix bug (hopefully)
925 * many files: add a lot of new files and move methods to the class
926 files they belong to. Only first attempt at cleanup more will
929 2001-02-12 André Pönitz <poenitz@gmx.net>
931 * math_macro.[hC]: replace MathMacroArgument[] with
932 std::vector<MathMacroArgument>
934 math_inset.C: replace int[] with std::vector<int>
936 * math_symbols.C: replace FL_OBJECTP[] with
937 std::vector<FL_OBJECT*>
939 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
941 * math_defs.h (struct MathedRowSt): make all private variables end
942 with '_', initialize in initializer list instead of in function
945 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
947 * formula.C (LocalDispatch): Change the default action of
948 break-line to create an align* environment instead of eqnarray*.
950 * math_inset.C (Metrics): Correct drawing of the multline
953 2001-02-12 André Pönitz <poenitz@gmx.net>
955 * array.[hC]: replace private variable maxsize_ with call to
957 * math_defs.h: replace int[] by std::vector<int> for
960 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
962 * array.h: made all variables private, removed friend, added new
963 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
964 non const operator[] added setter for last and getter for maxsize.
965 changed name from LyxArrayBase to MathedArray.
966 changed name of some methods to start with lowerchar.
967 moved inline methods to array.C
969 * math_iter.C + several file: changes because of the above.
971 * array.C: new file with the prev inline methods.
973 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
975 * Many files: add support for the align environment from amsmath.
977 2001-02-09 André Pönitz <poenitz@gmx.net>
979 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
980 * several files: subsequent changes
981 * math_iter.h: remove unused prototype
984 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
986 * math_macro.C (draw): add .c_str() to .str() (useful when
987 compiling with lyxstring, but STL sstream).
990 2001-02-08 André Pönitz <poenitz@gmx.net>
992 * several files: get rid of reinterpret_cast.
994 2001-02-04 Allan Rae <rae@lyx.org>
996 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
997 just casting the variable.
999 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1001 * Many files: Add support for multline and alignat environments from
1004 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1006 * math_symbols.C (math_insert_greek): Move cursor right when
1007 unlocking the math inset.
1009 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1011 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1013 * formula.C (LocalDispatch): Before inserting a label in an
1014 eqnarray, move the cursor to the top level.
1016 * math_iter.C (getLabel): Test if crow == 0.
1018 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1020 * math_draw.C (Metrics): Use the correct GetString.