1 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
3 * math_hash.C (ReadSymbols): Check for duplicate symbols
5 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7 * support.C: added a using std::map directive.
9 2001-08-17 André Pönitz <poenitz@gmx.net>
11 * math_hash.C: Use std::map instead of faking it
13 * symbol_def.h: remove unneeded symbol definitions
15 * support.C: use the decorations' name for drawing
17 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
19 * math_hash.C (in_word_set): Initialize symbol table even when
20 symbols file was not found.
22 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
24 * math_hash.C: added a using std::endl directive.
26 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
28 * support.C (whichFont): Add support for cmr font.
29 Add support for \mathbb.
31 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
33 * math_macrotable.C (builtinMacros): Add 3 builtin macros
35 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
37 * math_hash.C: Read symbols information from external file
38 many files: Add support for latex symbol fonts
40 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
42 * math_parser.C (Parser): Eat spaces after \end_inset
44 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * math_parser.C (tokenize): fix typo
48 2001-08-17 André Pönitz <poenitz@gmx.net>
50 * math_parser.C: new "lexxer"
52 * array.C: write sequences of chars with same code as a unit
54 2001-08-13 André Pönitz <poenitz@gmx.net>
56 * math_factory.[Ch]: new files for the creation of math insets
60 math_hash.C: simplifications
62 * math_binom.[Ch]: new files for "native" \binom/\choose inset
65 math_cursor.C: reading support for TeX style \over and \choose
67 * formulabase.C: re-enabling the "selected text gets converted to
68 math when pressing C-m" feature.
70 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
72 * math_parser.C (lexArg): remove default argument from the .C file
73 as it causes DEC cxx to complain about a redefinition.
75 2001-08-10 André Pönitz <poenitz@gmx.net>
77 * math_scopeinset.[Ch]: new inset for {} blocks
79 * math_accentinset.[Ch]: removed unneeded files
82 math_matrix.[Ch]: start support for "interrow spacing"
84 * all over the place: rework of parser stuff
86 2001-08-08 André Pönitz <poenitz@gmx.net>
89 * math_fracinset.[Ch]: new hierarchy
91 * math_stackrelbase.[Ch]: native \stackrel support
93 * math_inset.[Ch]: removal of the name_ member
95 * math_deliminset.[Ch]: rework
97 2001-08-06 André Pönitz <poenitz@gmx.net>
99 * formulamacro.C: fix nasty bug due to missing copy constructor
101 * math_bigopinset.[Ch]: revival for things like \int, \sum
103 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
105 * math_diminset.h: make cache variables mutable, remove const_cast
107 * formulabase.[Ch]: remove unneeded convertFont()
109 * math_funcinset.[Ch]: bring red color back
111 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
112 inset to the mcaro table
114 2001-08-01 André Pönitz <poenitz@gmx.net>
117 formulamacro.C: fix memory leaks
119 * math_matrixinset.C: fix mis-alignment of eqnarray columns
121 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
122 MathMatrixInset * and MathMacroTemplate * to save a few casts
124 * all over the place: everything is an inset now
126 * math_nestinset.[Ch]: new abstract base class for insets containing
129 * math_diminset.[Ch]: new abstract base class for insets that need
130 the width_/ascent_/descent_ cache
132 2001-07-25 André Pönitz <poenitz@gmx.net>
134 * formulabase.C: re-enable 'space enlargement' feature
136 * math_scriptinset.C:
137 math_bigopinset.C: rework of script insets
139 2001-07-22 André Pönitz <poenitz@gmx.net>
141 * math_cursor.C: fix "pullArg" behaviour
143 * math_cursor.C: keep empty super/subscript a bit longer
145 * math_cursor.C: do not move into insets that don't have inner cells yet
147 * formulabase.C: fix memory leak
149 * math_cursor.C: ^ now copies selection into new srriptinset
151 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
154 * math_updowninset.C: fix drawing glitches
156 * math_cursor.C: paste to correct position
158 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
160 * formula.C (insetAllowed): allow insertion of label
162 2001-07-20 André Pönitz <poenitz@gmx.net>
164 * math_macrotable.C: support for \land and \vee
166 2001-07-16 André Pönitz <poenitz@gmx.net>
168 * math_grid.[Ch] -> math_gridinset.[Ch]
169 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
171 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
172 fix 'mathed reports wrong width', cosmetics
174 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * math_cursor.C (operator==): moved ouf of struct
178 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
180 2001-07-16 André Pönitz <poenitz@gmx.net>
182 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
184 * several files: supporting changes
186 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
188 Consistent use of Lsstream.h:
189 * formula.C: removed using std::ostringstream directive.
191 * math_cursor.C: std::istringstream -> istringstream.
193 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
195 * math_decorationinset.h: add std:: qualifier
197 2001-07-12 André Pönitz <poenitz@gmx.net>
199 * math_updowninset.[hC]: new base class for script and bigop insets
200 *.[hC]: subsequent changes to all Metric() functions
202 * math_parser.C: small changes (\sqrt0 is read properly now)
204 2001-07-10 André Pönitz <poenitz@gmx.net>
206 * math_accentinset.[hC]: rewrite
209 math_cursor.C: subsequent changes
211 * math_grid.C: <Delete> in the first cell of a completely empty row
212 deletes that row, <C-Return> places the cursor in the first of the
215 * math_grid.C: try to split cell nicely when mutating from single-cell
216 to multi-cell environment
218 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
220 * math_matrixinset.C (mutate): Use only the first label when
221 mutating eqnarray to display formula.
223 2001-07-09 Juergen Vigna <jug@sad.it>
225 * formulabase.C (mathDispatchCreation): don't do anything with the
226 inset if it cannot be inserted!
228 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
230 * formulabase.C (mathDispatchInsertMath): remove bogus return
233 2001-07-09 André Pönitz <poenitz@gmx.net>
235 * math_*inset.C: Change order of arguments in MathInset constructor
237 * math_cursor.C: Remove broken "increase space" feature for a while
239 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
241 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
243 2001-07-04 André Pönitz <poenitz@gmx.net>
245 * math_parser.C: fix reading of "unusual" alpha chars
247 * xarray.[hC]: fix debug output of xarray
249 2001-07-03 André Pönitz <poenitz@gmx.net>
251 * math_parser.C: fix bug where equations did not get their labels
253 * formulabase.C: new feature: changing font on selection
255 * several files: subsequent changes
257 * array.C: fix bug when insets have not been cloned properly
258 This should fix quite a few "random" crashes...
260 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
262 * formulabase.C (localDispatch): use .c_str() on istringstream
263 constructor argument.
265 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
267 * math_grid.C (addCol): add second argument to cellinfo_.insert.
268 Cleanup a bit the code.
269 (appendRow): do not call push_back without argument.
271 * *.C: remove all "using namespace std" directives (not
272 good!!) and replaced it with relevant "using" directives.
274 * math_macrotemplate.C (Clone): change return type to MathInset*
276 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
278 * math_sizeinset.C: include support/LOstream.h
280 * math_scriptinset.C (Metrics): std:: qualify max
282 * math_root.C (Metrics): std:: qualify max
283 (Write): std:: qualify ostream
286 * math_matrixinset.C (getLabelList): std:: qualify vector
288 (Metrics): std:: qualify max
289 (header_write): std:: qualify ostream
290 (footer_write): ditto
292 * math_macrotemplate.C (Write): std:: qualify ostream
294 * math_bigopinset.C (Metrics): std:: qualify max, and include
297 * math_matrixinset.h: include vector and std:: qualify it.
299 * array.C (GetInset): get a pointer to the first element of bf_
302 2001-06-25 The LyX Project <Asger>
304 * math_scriptinset.C: Fix for entering with cursor up/down.
306 * math_fracinset.C: We can enter fractions with cursor up and
309 * math_cursor.C (Right): Fixes for cursor movement.
311 * formula.C (draw): New background color for math.
313 * math_cursor.C: Fixes for toggling labels on/off in math.
314 Fixes for infinity and other symbols that didn't appear in
317 2001-06-24 The LyX Project <Asger>
319 * math_inset.C: Cursor movement is better in square roots, among
322 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
323 cursor up/down movement. What not.
325 2001-06-24 The LyX Project <Asger>
327 * math_matrixinset.C: Hidden labels are hidden, unless a small
328 dragon jumps out of the screen, and pronounce them to the entire
331 2001-06-24 The LyX Project <Easter egg>
333 * math_cursor.C: Cursor improvements after a few dead-ends
334 in the evolution of cursor movement were tested and scrapped.
336 2001-06-24 The LyX Project <Asger>
338 * math_cursor.C: Renamed stack to path.
340 2001-06-24 The LyX Project <André>
343 Makefile.am: The Big Patch
344 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
345 new MathScriptInset for up/down stuff;
346 delete MathIter/MatXIter, MathParInset, MathRowSt
347 Changes to the inset inheritance tree, reunification of abstract math
349 label/numbering handling back to life;
350 major changes to the parser(s);
351 new base class FormulaBase for the two math LyXInsets;
352 general cleanup and cosmetic changes)
354 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
357 * math_root.C: removed // -*- C++ -*- as first line.
359 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
361 * array.C: bring memmove into main namespace if necessary
363 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
365 * math_parser.C (yylex): use contains instead of strchr
366 (parse_align): remove last arg, change to take string const & as
368 (mathed_parse): use string for ar2 and ar, adjust
370 * math_decorationinset.C (Write): use compare instead of strcmp
372 * formula.C (LocalDispatch): change arg2 to string, adjust for this
373 (LocalDispatch): add std::
374 (LocalDispatch): use contains instead of strchr
376 * array.C (move): add std::
378 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
380 * matriz.C: add using directives when needed for C functions
381 declared in std:: namespace.
383 * math_macrotemplate.h: do not use explicitely std::string, but
386 * math_macroarg.C: avoid bringing the whole std:: namespace in
387 global-land. When you do that, there is an ambiguity between
388 lyxstring and std::string (which may be defined at the same time).
390 * formula.C (HandleExtern): add .c_str() to .str() (useful when
393 2001-04-27 André Pönitz <poenitz@gmx.net>
395 * math_parser.C: fix \frac handling bug introduced on 04-24
396 * math_xiter.C: hotfix for merging "shared" insets
397 * formula.C: fixing display after using math-insert
399 2001-04-25 André Pönitz <poenitz@gmx.net>
401 * math_*.[Ch]: WriteNormal
402 * formula.C: Support for new "math extern" command
403 * math_parser.C: fix \frac handling bug introduced on 04-24
404 * math_xiter.C: hotfix for merging "shared" insets
406 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
408 * math_macrotable.C: include <iostream>
410 2001-04-24 André Pönitz <poenitz@gmx.net>
413 * math_macrotable.[Ch]:
414 * math_macroarg.[Ch]: restructuring of macro handling
417 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
419 * array.h (operator<<):
420 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
422 * math_macrotable.C: added using std::make_pair directive.
423 (dump): added using std::cerr directive here as I guess that this is
426 2001-04-20 Allan Rae <rae@lyx.org>
428 * formula.C (LocalDispatch): fixed another #warning. Guess who.
430 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
432 * math_macrotemplate.h: inherit privately from noncopyable
434 * math_macro.C (Metrics): reindent, use unsigned int as loop var
435 (setArgumentIdx): change test to avoid unsigned warning
437 * formula.C (LocalDispatch): use LFUN_MESSAGE
439 2001-04-16 Allan Rae <rae@lyx.org>
441 * formula.C (Latex, getLabelList, LocalDispatch):
442 * math_parser.C (mathed_parse):
443 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
444 an unrecognised preprocessor directive. So ensure they're wrapped.
446 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
448 * formula.C (draw): adjust for cursor_visible
449 (ToggleInsetCursor): adjust for cursor_visible and constify asc
451 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
452 (HideInsetCursor): adjust for cursor_visible
453 (LocalDispatch): constify default_label and res
455 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
457 * math_rowst.C: add missing #include <config.h>.
459 2001-03-16 André Pönitz <poenitz@gmx.net>
461 * math_matrixinset.h:
462 * math_parinset.[Ch]:
463 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
465 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
473 * math_symbols.C: maths panel moved to GUII
475 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
477 * math_cursor.C: use lyxerr instead of cerr.
479 2001-03-15 André Pönitz <poenitz@gmx.net>
481 * math_cursor.C: fix bug (cursor was leaving two insets at a time
484 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
486 * math_macrotable.h: noncopyable is in namespace boost
487 * math_macrotemplate.h: ditto
489 * math_rowst.h: make MathedRowContainer::iterator public.
491 2001-03-15 André Pönitz <poenitz@gmx.net>
493 * math_parser.C: read '\nonumber' again (was broken)
495 * math_rowst.C: new file
497 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
499 * math_cursor.C: added using directive.
501 2001-03-15 André Pönitz <poenitz@gmx.net>
503 * math_rowst.h: Finally remove MathedRowSt
506 math_xiter.C: changed accordingly
508 2001-03-12 André Pönitz <poenitz@gmx.net>
510 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
511 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
513 2001-03-10 André Pönitz <poenitz@gmx.net>
516 math_matrixinset.C: move adjustVerticalSt to the only place where
517 it is used. Fix a small bug where the cached row structure and the
518 actual data get out of sync after the deletion of whole rows
520 2001-03-09 André Pönitz <poenitz@gmx.net>
522 * math_cursor.C: use std::vector<> in MathStackXIter
523 change selstk from a pointer to the "real thing"
525 * math_rowst.h: new MathedRowContainer::erase method
527 * math_xiter.C: use MathedRowContainer::erase
529 * math_parser.C: use MathedRowContainer::insert_after
531 2001-03-08 André Pönitz <poenitz@gmx.net>
533 * math_rowst.h: give MathedRowContainer an 'insert' method.
535 * math_xiter.C: new 'container()' method to encapsulated access to
536 the MathParInset's MathedRowContainer
538 * math_rowst.h: proper copy constructor and destructor for
541 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
542 automatically created by the compiler are ok now.
544 2001-03-06 André Pönitz <poenitz@gmx.net>
546 * array.[Ch]: factor out deep_copy,
547 remove third argument from raw_pointer_insert
549 * math_iter.[Ch]: remove unused function Clear()
551 * math_cursor.C: change signature of MathStackXIter:push()
554 * math_rowst.h: introduction of MathRowContainer
555 several files: corresponding changes
557 2001-03-04 André Pönitz <poenitz@gmx.net>
559 * math_macrotemplate.[Ch]:
560 math_macro.C: move update() functionality to the macro
562 * math_rowst.h: split MathedRowSt into "data" and "list"
564 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
566 * math_macrotemplate.C (update): use MathMacro::getArg, and
567 receive a const reference.
568 (getMacroPar): add an Assert
570 * math_macrotemplate.h: make MathMacro a friend, make update take
573 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
574 and store a MathMacroArgument in the vector
575 * math_macro.C: changes because of the above.
578 * math_parser.C (mathed_parse): plug potential leak
580 * math_iter.h: add comment on virtual destructor
582 * math_iter.C (Delete): make c const
584 * math_parinset.C (Metrics): cleanup indent. make one string const.
586 * math_inset.C (size): move out of line
589 * math_macroarg.h: remove default constructor
591 * math_macroarg.C: include Lsstream.h instead of debug.h
592 (MathMacroArgument): remove default constructor
593 (Write): add std:: on ostream arg
595 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
598 * formula.C: make DEBUG into lyxerr
600 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
602 * math_macrotemplate.h: make noncopyable, remove last arg to
603 constructor, remove flags_ add edit_
604 (flags): remove method
606 * math_macrotemplate.C (setArgument): delete method
607 (update): make idx const
608 (Metrics): use edit_, remove flags_
609 (draw): use edit_, remove flags_
610 (setEditMode): set edit_, remove flags_
611 (MathMacroTemplate): initialize edit_, remove flags_
613 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
614 shared_ptr, let constructor take a shared_ptr
616 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
618 (draw): remove unneded update, remove removed update of x,y
619 (GetXY): call tmplates GetMacroXY directly
620 (SetFocus): call Metrics() instead of update()
621 (Write): remove support for math macro environments, simplifications.
623 * math_macrotable.h: make class noncopyable, change getMacro to
624 createMacro, change vector to map store a
625 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
627 * math_macrotable.C: add pragma
628 (createMacro): change name from getMacro, use shared_ptr
629 (getTemplate): Use map lookup to get macro, return shared_ptr
630 (addTemplate): assert that m containse a valid pointer, use map[]
632 (builtinMacros): by using shared_ptr fix the mem leak, remove
633 commented out unsupported macros
635 * math_cursor.C: changes because of the above
636 * math_parser.C: changes because of the abobe
638 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
639 default arg on constructor.
640 * formulamacro.C: changes because of the above
642 * math_parinset.h: add pragma
643 (SetAlign): move inline out of class def
647 (setArgumentIdx): ditto
648 (setNextArgIdx): ditto
649 (getArgumentIdx): ditto
650 (getMaxArgumentIdx): ditto
655 * math_parinset.C: add pragma
656 (Write): change the else clause, lessen depth
658 * math_macroarg.h: small whitespace change
660 * array.C: include support/LOstream.h add using ostream and endl
662 * array.h (dump): add std:: on ostream
664 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
666 * math_macrotemplate.h: remove default arg on update
668 * math_macrotemplate.C (update): add assert and remove noop case.
670 * formulamacro.C (Read): add comment.
671 (ascent): remove noop call to MathMacroTemplate
676 * math_parser.C (mathed_parse): fix another potential problem by
677 passing a freestanding mathedarray.
679 * math_root.C (GetData): add const version
681 * math_parinset.C (~MathParInset): delete
682 (GetData): add const version
684 * math_matrixinset.C (MathMatrixInset): delete pointer version,
685 make it a proper copy constructor instead
687 (MathMatrixInset): remvoe default val for m and n
689 * math_macro.C (GetData): add const version
691 * math_fracinset.C (GetData): add const version
693 * math_cursor.C (SelCopy): make p1 and p2 const
694 (SelCut): make p1 and p2 const
696 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
697 (LyxCode): move inline out of class
701 * array.[Ch] (dump): method added for debugging purposes
703 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
704 mathed_parse when reading a matrix.
706 * math_spaceinset.[Ch]: add pragma, make variables private add
707 '_', change order of method definitions.
709 * math_root.h (~MathRootInset): delete
710 Change uroot_ to be a real object instead of a pointer
711 * math_root.C: changes because of the above
713 * math_macro.C (MathMacro(MathMacro*)): delete constructor
714 (MathMacro(MathMacro const &)): new copy constructor
716 * math_inset.h: delete constructor taking a pointer to MathedInset
717 (size, incSize): move inline method
719 * math_funcinset.h: add pragma, remove class vars ln and fname,
720 change protected to private, add '_' to priv vars.
721 (~MathFuncInset): remove
723 * math_fracinset.h: make MathParInset den_ a real object and not a
726 * math_fracinset.C (MathFracInset): clean up, move initalization
727 to initialization list
728 (~MathFracInset): remove
731 * math_draw.C: delete file
733 * math_dotsinset.[Ch]: add pragma
735 * math_bigopinset.h: make protected variables private add '_' to vars.
737 * math_bigopinset.C: move methods to follow class definition order
739 * math_accentinset.h (getAccentCode): move inline here
741 * math_accentinset.C (MathAccentInset): cleanup
744 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
746 * math_inset.[Ch] (MathedInset): remove method
748 * Makefile.am (libmathed_la_SOURCES): correct typo
750 * math_parinset.C (draw): move MathedXiter data(this) up. and
751 remove it two other places.
753 * math_macro.C (MathMacro): use array directly, don't use
754 setArgumentIdx and GetData
756 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
758 * math_macroarg.C (MathMacroArgument): delete
759 * math_macro.C (~MathMacro): delete
760 * math_macrotemplate.C (~MathMacroTemplate): delete
762 * math_decorationinset.[Ch]: add pragma
763 * math_deliminset.[Ch]: likewise
764 * math_fracinset.[Ch]: likewise
765 * math_macroarg.[Ch]: likewise
766 * math_macrotemplate.[Ch]: likewise
767 * math_matrixinset.[Ch]: likewise
769 * formulamacro.C (Read): set contents of tmacro_ to ar.
771 * formulamacro.h: add '_' to private variables.
772 * formalamacro.C: changes because of this.
774 2001-02-23 Juergen Vigna <jug@sad.it>
776 * formula.C (LocalDispatch): changed action to be a kb_action (as it
777 should be) and not an int.
779 * formulamacro.C (LocalDispatch): ditto.
781 2001-02-14 André Pönitz <poenitz@gmx.net>
783 * math_parinset.[Ch]: make array a real MathArray, not just a
786 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
788 * several files: subsequent changes
790 * math_cursor.C: make selarray a proper MathArray
792 * several files: Change "MathedArray *" to "MathedArray &"
795 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
797 * array.C (MathedArray): Fix compilation problem.
799 2001-02-14 André Pönitz <poenitz@gmx.net>
801 * array.[Ch]: "deep" copy constructor and assignment operator for
804 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
806 * math_iter.[Ch]: remove SetData
807 several files: subsequent changes
809 2001-02-14 André Pönitz <poenitz@gmx.net>
811 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
814 * math_iter.C: default-construct and resize array
816 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
818 * math_xiter.h: move ipush and ipop to public, add _ on private
819 variables, move protected var to private, remove friend.
821 * math_cursor.C (insertInset): rename method from Insert also
822 remove default arg val. Call the public methods of xiter instead
823 of private variables.
825 * changes to several files because of the above.
827 2001-02-14 André Pönitz <poenitz@gmx.net>
829 * math_iter.[Ch]: hide fcode_
831 * math_parinset.C: subsequent changes
834 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
836 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
839 * math_write.C: delete file
840 * math_delim.C: delete file
841 * marh_sqrtinset.h: delete file
843 * move funcs to more localized files, more general cleanup.
844 Constify several local vars. Doxygen changes. Formatting.
846 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
848 * support.C: add some consts
850 * matriz.C: clean up a bit.
851 (matmat): remove the for loop.
853 * several files: changes so that several friends can be removed
855 2001-02-14 André Pönitz <poenitz@gmx.net>
857 * formula.C: reformatting
861 math_xiter.[Ch]: remove unneeded members
863 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
867 * formula.C: remove cruft
869 * array.C (begin): new method
872 2001-02-14 André Pönitz <poenitz@gmx.net>
874 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
876 * math_cursor.C: reformatting
878 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
882 * math_matrixinset.C:
883 * math_macrotemplate.C:
888 * math_decorationinset.C:
890 * math_accentinset.C:
891 * math_sqrtinset.C: include LOstream.h and add using directive.
893 2001-02-14 André Pönitz <poenitz@gmx.net>
895 * math_iter.C: reformatting
897 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
899 * math_spaceinset.C (GetSpace): move here
901 * math_parinset.C: add debug.h, move several prev. inlined methods
904 * math_macrotable.C math_xiter.C support.C: add debug.h
906 * math_macro.h: remove debug.h, remove typedefs
908 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
911 * math_hash.C: change some defines to int const. change use of
912 LM_TC_NORMAL to LM_TC_VAR
914 * math_draw.C: delete file
916 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
917 forward decls. remove LM_TC_NORMAL, move inline methods to
918 support.C (and support.h)
920 * math_cursor.C: move several previous inlined methods here
922 * math_bigopinset.h math_dotsinset.h math_funcinset.h
923 math_parinset.h math_spaceinset.h: add math_defs.h
925 * math_accentinset.h: add support.h and math_defs.h
927 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
929 * formula.h: remove unused func decl: OpenMathInset
931 * formula.C math_inset.h: get rid of math_defs.h
933 * array.h: switch to support.h instead of math_defs.h
935 * array.C: remove one include
937 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
939 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
941 * math_parser.C: include macrotable and macrotemplate
943 * math_macrotemplate.[Ch]: new files
945 * math_macrotable.[Ch]: new files
947 * math_macroarg.[Ch]: new files
949 * math_macro.C: move stuff to the new files.
951 * math_cursor.C: include math_macrotable.h
953 * macro_support.[Ch]: new files
955 * formulamacro.C: add more includes
957 * Makefile.am (libmathed_la_SOURCES): add new files.
959 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
961 * Makefile.am (libmathed_la_SOURCES): remove duplicate
966 * math_parinset.C: add a bunch of "using" directives.
969 * math_decorationinset.h:
971 * math_spaceinset.h: remove more couples of inline.
973 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
975 * math_xiter.h: remove a couple of "inline"
977 * array.C (strange_copy): fix bug (hopefully)
978 * many files: add a lot of new files and move methods to the class
979 files they belong to. Only first attempt at cleanup more will
982 2001-02-12 André Pönitz <poenitz@gmx.net>
984 * math_macro.[hC]: replace MathMacroArgument[] with
985 std::vector<MathMacroArgument>
987 math_inset.C: replace int[] with std::vector<int>
989 * math_symbols.C: replace FL_OBJECTP[] with
990 std::vector<FL_OBJECT*>
992 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
994 * math_defs.h (struct MathedRowSt): make all private variables end
995 with '_', initialize in initializer list instead of in function
998 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1000 * formula.C (LocalDispatch): Change the default action of
1001 break-line to create an align* environment instead of eqnarray*.
1003 * math_inset.C (Metrics): Correct drawing of the multline
1006 2001-02-12 André Pönitz <poenitz@gmx.net>
1008 * array.[hC]: replace private variable maxsize_ with call to
1010 * math_defs.h: replace int[] by std::vector<int> for
1013 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1015 * array.h: made all variables private, removed friend, added new
1016 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1017 non const operator[] added setter for last and getter for maxsize.
1018 changed name from LyxArrayBase to MathedArray.
1019 changed name of some methods to start with lowerchar.
1020 moved inline methods to array.C
1022 * math_iter.C + several file: changes because of the above.
1024 * array.C: new file with the prev inline methods.
1026 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1028 * Many files: add support for the align environment from amsmath.
1030 2001-02-09 André Pönitz <poenitz@gmx.net>
1032 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1033 * several files: subsequent changes
1034 * math_iter.h: remove unused prototype
1037 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1039 * math_macro.C (draw): add .c_str() to .str() (useful when
1040 compiling with lyxstring, but STL sstream).
1043 2001-02-08 André Pönitz <poenitz@gmx.net>
1045 * several files: get rid of reinterpret_cast.
1047 2001-02-04 Allan Rae <rae@lyx.org>
1049 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1050 just casting the variable.
1052 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1054 * Many files: Add support for multline and alignat environments from
1057 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1059 * math_symbols.C (math_insert_greek): Move cursor right when
1060 unlocking the math inset.
1062 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1064 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1066 * formula.C (LocalDispatch): Before inserting a label in an
1067 eqnarray, move the cursor to the top level.
1069 * math_iter.C (getLabel): Test if crow == 0.
1071 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1073 * math_draw.C (Metrics): Use the correct GetString.