1 2001-08-17 André Pönitz <poenitz@gmx.net>
3 * math_hash.C: Use std::map instead of faking it
5 * symbol_def.C: remove unneded symbol definitions
7 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9 * math_hash.C (in_word_set): Initialize symbol table even when
10 symbols file was not found.
12 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14 * math_hash.C: added a using std::endl directive.
16 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
18 * support.C (whichFont): Add support for cmr font.
19 Add support for \mathbb.
21 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
23 * math_macrotable.C (builtinMacros): Add 3 builtin macros
25 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
27 * math_hash.C: Read symbols information from external file
28 many files: Add support for latex symbol fonts
30 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
32 * math_parser.C (Parser): Eat spaces after \end_inset
34 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
36 * math_parser.C (tokenize): fix typo
38 2001-08-17 André Pönitz <poenitz@gmx.net>
40 * math_parser.C: new "lexxer"
42 * array.C: write sequences of chars with same code as a unit
44 2001-08-13 André Pönitz <poenitz@gmx.net>
46 * math_factory.[Ch]: new files for the creation of math insets
50 math_hash.C: simplifications
52 * math_binom.[Ch]: new files for "native" \binom/\choose inset
55 math_cursor.C: reading support for TeX style \over and \choose
57 * formulabase.C: re-enabling the "selected text gets converted to
58 math when pressing C-m" feature.
60 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
62 * math_parser.C (lexArg): remove default argument from the .C file
63 as it causes DEC cxx to complain about a redefinition.
65 2001-08-10 André Pönitz <poenitz@gmx.net>
67 * math_scopeinset.[Ch]: new inset for {} blocks
69 * math_accentinset.[Ch]: removed unneeded files
72 math_matrix.[Ch]: start support for "interrow spacing"
74 * all over the place: rework of parser stuff
76 2001-08-08 André Pönitz <poenitz@gmx.net>
79 * math_fracinset.[Ch]: new hierarchy
81 * math_stackrelbase.[Ch]: native \stackrel support
83 * math_inset.[Ch]: removal of the name_ member
85 * math_deliminset.[Ch]: rework
87 2001-08-06 André Pönitz <poenitz@gmx.net>
89 * formulamacro.C: fix nasty bug due to missing copy constructor
91 * math_bigopinset.[Ch]: revival for things like \int, \sum
93 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
95 * math_diminset.h: make cache variables mutable, remove const_cast
97 * formulabase.[Ch]: remove unneeded convertFont()
99 * math_funcinset.[Ch]: bring red color back
101 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
102 inset to the mcaro table
104 2001-08-01 André Pönitz <poenitz@gmx.net>
107 formulamacro.C: fix memory leaks
109 * math_matrixinset.C: fix mis-alignment of eqnarray columns
111 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
112 MathMatrixInset * and MathMacroTemplate * to save a few casts
114 * all over the place: everything is an inset now
116 * math_nestinset.[Ch]: new abstract base class for insets containing
119 * math_diminset.[Ch]: new abstract base class for insets that need
120 the width_/ascent_/descent_ cache
122 2001-07-25 André Pönitz <poenitz@gmx.net>
124 * formulabase.C: re-enable 'space enlargement' feature
126 * math_scriptinset.C:
127 math_bigopinset.C: rework of script insets
129 2001-07-22 André Pönitz <poenitz@gmx.net>
131 * math_cursor.C: fix "pullArg" behaviour
133 * math_cursor.C: keep empty super/subscript a bit longer
135 * math_cursor.C: do not move into insets that don't have inner cells yet
137 * formulabase.C: fix memory leak
139 * math_cursor.C: ^ now copies selection into new srriptinset
141 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
144 * math_updowninset.C: fix drawing glitches
146 * math_cursor.C: paste to correct position
148 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * formula.C (insetAllowed): allow insertion of label
152 2001-07-20 André Pönitz <poenitz@gmx.net>
154 * math_macrotable.C: support for \land and \vee
156 2001-07-16 André Pönitz <poenitz@gmx.net>
158 * math_grid.[Ch] -> math_gridinset.[Ch]
159 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
161 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
162 fix 'mathed reports wrong width', cosmetics
164 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
166 * math_cursor.C (operator==): moved ouf of struct
168 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
170 2001-07-16 André Pönitz <poenitz@gmx.net>
172 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
174 * several files: supporting changes
176 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
178 Consistent use of Lsstream.h:
179 * formula.C: removed using std::ostringstream directive.
181 * math_cursor.C: std::istringstream -> istringstream.
183 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
185 * math_decorationinset.h: add std:: qualifier
187 2001-07-12 André Pönitz <poenitz@gmx.net>
189 * math_updowninset.[hC]: new base class for script and bigop insets
190 *.[hC]: subsequent changes to all Metric() functions
192 * math_parser.C: small changes (\sqrt0 is read properly now)
194 2001-07-10 André Pönitz <poenitz@gmx.net>
196 * math_accentinset.[hC]: rewrite
199 math_cursor.C: subsequent changes
201 * math_grid.C: <Delete> in the first cell of a completely empty row
202 deletes that row, <C-Return> places the cursor in the first of the
205 * math_grid.C: try to split cell nicely when mutating from single-cell
206 to multi-cell environment
208 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
210 * math_matrixinset.C (mutate): Use only the first label when
211 mutating eqnarray to display formula.
213 2001-07-09 Juergen Vigna <jug@sad.it>
215 * formulabase.C (mathDispatchCreation): don't do anything with the
216 inset if it cannot be inserted!
218 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
220 * formulabase.C (mathDispatchInsertMath): remove bogus return
223 2001-07-09 André Pönitz <poenitz@gmx.net>
225 * math_*inset.C: Change order of arguments in MathInset constructor
227 * math_cursor.C: Remove broken "increase space" feature for a while
229 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
231 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
233 2001-07-04 André Pönitz <poenitz@gmx.net>
235 * math_parser.C: fix reading of "unusual" alpha chars
237 * xarray.[hC]: fix debug output of xarray
239 2001-07-03 André Pönitz <poenitz@gmx.net>
241 * math_parser.C: fix bug where equations did not get their labels
243 * formulabase.C: new feature: changing font on selection
245 * several files: subsequent changes
247 * array.C: fix bug when insets have not been cloned properly
248 This should fix quite a few "random" crashes...
250 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
252 * formulabase.C (localDispatch): use .c_str() on istringstream
253 constructor argument.
255 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
257 * math_grid.C (addCol): add second argument to cellinfo_.insert.
258 Cleanup a bit the code.
259 (appendRow): do not call push_back without argument.
261 * *.C: remove all "using namespace std" directives (not
262 good!!) and replaced it with relevant "using" directives.
264 * math_macrotemplate.C (Clone): change return type to MathInset*
266 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
268 * math_sizeinset.C: include support/LOstream.h
270 * math_scriptinset.C (Metrics): std:: qualify max
272 * math_root.C (Metrics): std:: qualify max
273 (Write): std:: qualify ostream
276 * math_matrixinset.C (getLabelList): std:: qualify vector
278 (Metrics): std:: qualify max
279 (header_write): std:: qualify ostream
280 (footer_write): ditto
282 * math_macrotemplate.C (Write): std:: qualify ostream
284 * math_bigopinset.C (Metrics): std:: qualify max, and include
287 * math_matrixinset.h: include vector and std:: qualify it.
289 * array.C (GetInset): get a pointer to the first element of bf_
292 2001-06-25 The LyX Project <Asger>
294 * math_scriptinset.C: Fix for entering with cursor up/down.
296 * math_fracinset.C: We can enter fractions with cursor up and
299 * math_cursor.C (Right): Fixes for cursor movement.
301 * formula.C (draw): New background color for math.
303 * math_cursor.C: Fixes for toggling labels on/off in math.
304 Fixes for infinity and other symbols that didn't appear in
307 2001-06-24 The LyX Project <Asger>
309 * math_inset.C: Cursor movement is better in square roots, among
312 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
313 cursor up/down movement. What not.
315 2001-06-24 The LyX Project <Asger>
317 * math_matrixinset.C: Hidden labels are hidden, unless a small
318 dragon jumps out of the screen, and pronounce them to the entire
321 2001-06-24 The LyX Project <Easter egg>
323 * math_cursor.C: Cursor improvements after a few dead-ends
324 in the evolution of cursor movement were tested and scrapped.
326 2001-06-24 The LyX Project <Asger>
328 * math_cursor.C: Renamed stack to path.
330 2001-06-24 The LyX Project <André>
333 Makefile.am: The Big Patch
334 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
335 new MathScriptInset for up/down stuff;
336 delete MathIter/MatXIter, MathParInset, MathRowSt
337 Changes to the inset inheritance tree, reunification of abstract math
339 label/numbering handling back to life;
340 major changes to the parser(s);
341 new base class FormulaBase for the two math LyXInsets;
342 general cleanup and cosmetic changes)
344 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
347 * math_root.C: removed // -*- C++ -*- as first line.
349 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
351 * array.C: bring memmove into main namespace if necessary
353 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
355 * math_parser.C (yylex): use contains instead of strchr
356 (parse_align): remove last arg, change to take string const & as
358 (mathed_parse): use string for ar2 and ar, adjust
360 * math_decorationinset.C (Write): use compare instead of strcmp
362 * formula.C (LocalDispatch): change arg2 to string, adjust for this
363 (LocalDispatch): add std::
364 (LocalDispatch): use contains instead of strchr
366 * array.C (move): add std::
368 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
370 * matriz.C: add using directives when needed for C functions
371 declared in std:: namespace.
373 * math_macrotemplate.h: do not use explicitely std::string, but
376 * math_macroarg.C: avoid bringing the whole std:: namespace in
377 global-land. When you do that, there is an ambiguity between
378 lyxstring and std::string (which may be defined at the same time).
380 * formula.C (HandleExtern): add .c_str() to .str() (useful when
383 2001-04-27 André Pönitz <poenitz@gmx.net>
385 * math_parser.C: fix \frac handling bug introduced on 04-24
386 * math_xiter.C: hotfix for merging "shared" insets
387 * formula.C: fixing display after using math-insert
389 2001-04-25 André Pönitz <poenitz@gmx.net>
391 * math_*.[Ch]: WriteNormal
392 * formula.C: Support for new "math extern" command
393 * math_parser.C: fix \frac handling bug introduced on 04-24
394 * math_xiter.C: hotfix for merging "shared" insets
396 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * math_macrotable.C: include <iostream>
400 2001-04-24 André Pönitz <poenitz@gmx.net>
403 * math_macrotable.[Ch]:
404 * math_macroarg.[Ch]: restructuring of macro handling
407 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
409 * array.h (operator<<):
410 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
412 * math_macrotable.C: added using std::make_pair directive.
413 (dump): added using std::cerr directive here as I guess that this is
416 2001-04-20 Allan Rae <rae@lyx.org>
418 * formula.C (LocalDispatch): fixed another #warning. Guess who.
420 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
422 * math_macrotemplate.h: inherit privately from noncopyable
424 * math_macro.C (Metrics): reindent, use unsigned int as loop var
425 (setArgumentIdx): change test to avoid unsigned warning
427 * formula.C (LocalDispatch): use LFUN_MESSAGE
429 2001-04-16 Allan Rae <rae@lyx.org>
431 * formula.C (Latex, getLabelList, LocalDispatch):
432 * math_parser.C (mathed_parse):
433 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
434 an unrecognised preprocessor directive. So ensure they're wrapped.
436 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
438 * formula.C (draw): adjust for cursor_visible
439 (ToggleInsetCursor): adjust for cursor_visible and constify asc
441 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
442 (HideInsetCursor): adjust for cursor_visible
443 (LocalDispatch): constify default_label and res
445 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
447 * math_rowst.C: add missing #include <config.h>.
449 2001-03-16 André Pönitz <poenitz@gmx.net>
451 * math_matrixinset.h:
452 * math_parinset.[Ch]:
453 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
455 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
463 * math_symbols.C: maths panel moved to GUII
465 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
467 * math_cursor.C: use lyxerr instead of cerr.
469 2001-03-15 André Pönitz <poenitz@gmx.net>
471 * math_cursor.C: fix bug (cursor was leaving two insets at a time
474 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
476 * math_macrotable.h: noncopyable is in namespace boost
477 * math_macrotemplate.h: ditto
479 * math_rowst.h: make MathedRowContainer::iterator public.
481 2001-03-15 André Pönitz <poenitz@gmx.net>
483 * math_parser.C: read '\nonumber' again (was broken)
485 * math_rowst.C: new file
487 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
489 * math_cursor.C: added using directive.
491 2001-03-15 André Pönitz <poenitz@gmx.net>
493 * math_rowst.h: Finally remove MathedRowSt
496 math_xiter.C: changed accordingly
498 2001-03-12 André Pönitz <poenitz@gmx.net>
500 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
501 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
503 2001-03-10 André Pönitz <poenitz@gmx.net>
506 math_matrixinset.C: move adjustVerticalSt to the only place where
507 it is used. Fix a small bug where the cached row structure and the
508 actual data get out of sync after the deletion of whole rows
510 2001-03-09 André Pönitz <poenitz@gmx.net>
512 * math_cursor.C: use std::vector<> in MathStackXIter
513 change selstk from a pointer to the "real thing"
515 * math_rowst.h: new MathedRowContainer::erase method
517 * math_xiter.C: use MathedRowContainer::erase
519 * math_parser.C: use MathedRowContainer::insert_after
521 2001-03-08 André Pönitz <poenitz@gmx.net>
523 * math_rowst.h: give MathedRowContainer an 'insert' method.
525 * math_xiter.C: new 'container()' method to encapsulated access to
526 the MathParInset's MathedRowContainer
528 * math_rowst.h: proper copy constructor and destructor for
531 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
532 automatically created by the compiler are ok now.
534 2001-03-06 André Pönitz <poenitz@gmx.net>
536 * array.[Ch]: factor out deep_copy,
537 remove third argument from raw_pointer_insert
539 * math_iter.[Ch]: remove unused function Clear()
541 * math_cursor.C: change signature of MathStackXIter:push()
544 * math_rowst.h: introduction of MathRowContainer
545 several files: corresponding changes
547 2001-03-04 André Pönitz <poenitz@gmx.net>
549 * math_macrotemplate.[Ch]:
550 math_macro.C: move update() functionality to the macro
552 * math_rowst.h: split MathedRowSt into "data" and "list"
554 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
556 * math_macrotemplate.C (update): use MathMacro::getArg, and
557 receive a const reference.
558 (getMacroPar): add an Assert
560 * math_macrotemplate.h: make MathMacro a friend, make update take
563 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
564 and store a MathMacroArgument in the vector
565 * math_macro.C: changes because of the above.
568 * math_parser.C (mathed_parse): plug potential leak
570 * math_iter.h: add comment on virtual destructor
572 * math_iter.C (Delete): make c const
574 * math_parinset.C (Metrics): cleanup indent. make one string const.
576 * math_inset.C (size): move out of line
579 * math_macroarg.h: remove default constructor
581 * math_macroarg.C: include Lsstream.h instead of debug.h
582 (MathMacroArgument): remove default constructor
583 (Write): add std:: on ostream arg
585 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
588 * formula.C: make DEBUG into lyxerr
590 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
592 * math_macrotemplate.h: make noncopyable, remove last arg to
593 constructor, remove flags_ add edit_
594 (flags): remove method
596 * math_macrotemplate.C (setArgument): delete method
597 (update): make idx const
598 (Metrics): use edit_, remove flags_
599 (draw): use edit_, remove flags_
600 (setEditMode): set edit_, remove flags_
601 (MathMacroTemplate): initialize edit_, remove flags_
603 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
604 shared_ptr, let constructor take a shared_ptr
606 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
608 (draw): remove unneded update, remove removed update of x,y
609 (GetXY): call tmplates GetMacroXY directly
610 (SetFocus): call Metrics() instead of update()
611 (Write): remove support for math macro environments, simplifications.
613 * math_macrotable.h: make class noncopyable, change getMacro to
614 createMacro, change vector to map store a
615 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
617 * math_macrotable.C: add pragma
618 (createMacro): change name from getMacro, use shared_ptr
619 (getTemplate): Use map lookup to get macro, return shared_ptr
620 (addTemplate): assert that m containse a valid pointer, use map[]
622 (builtinMacros): by using shared_ptr fix the mem leak, remove
623 commented out unsupported macros
625 * math_cursor.C: changes because of the above
626 * math_parser.C: changes because of the abobe
628 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
629 default arg on constructor.
630 * formulamacro.C: changes because of the above
632 * math_parinset.h: add pragma
633 (SetAlign): move inline out of class def
637 (setArgumentIdx): ditto
638 (setNextArgIdx): ditto
639 (getArgumentIdx): ditto
640 (getMaxArgumentIdx): ditto
645 * math_parinset.C: add pragma
646 (Write): change the else clause, lessen depth
648 * math_macroarg.h: small whitespace change
650 * array.C: include support/LOstream.h add using ostream and endl
652 * array.h (dump): add std:: on ostream
654 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
656 * math_macrotemplate.h: remove default arg on update
658 * math_macrotemplate.C (update): add assert and remove noop case.
660 * formulamacro.C (Read): add comment.
661 (ascent): remove noop call to MathMacroTemplate
666 * math_parser.C (mathed_parse): fix another potential problem by
667 passing a freestanding mathedarray.
669 * math_root.C (GetData): add const version
671 * math_parinset.C (~MathParInset): delete
672 (GetData): add const version
674 * math_matrixinset.C (MathMatrixInset): delete pointer version,
675 make it a proper copy constructor instead
677 (MathMatrixInset): remvoe default val for m and n
679 * math_macro.C (GetData): add const version
681 * math_fracinset.C (GetData): add const version
683 * math_cursor.C (SelCopy): make p1 and p2 const
684 (SelCut): make p1 and p2 const
686 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
687 (LyxCode): move inline out of class
691 * array.[Ch] (dump): method added for debugging purposes
693 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
694 mathed_parse when reading a matrix.
696 * math_spaceinset.[Ch]: add pragma, make variables private add
697 '_', change order of method definitions.
699 * math_root.h (~MathRootInset): delete
700 Change uroot_ to be a real object instead of a pointer
701 * math_root.C: changes because of the above
703 * math_macro.C (MathMacro(MathMacro*)): delete constructor
704 (MathMacro(MathMacro const &)): new copy constructor
706 * math_inset.h: delete constructor taking a pointer to MathedInset
707 (size, incSize): move inline method
709 * math_funcinset.h: add pragma, remove class vars ln and fname,
710 change protected to private, add '_' to priv vars.
711 (~MathFuncInset): remove
713 * math_fracinset.h: make MathParInset den_ a real object and not a
716 * math_fracinset.C (MathFracInset): clean up, move initalization
717 to initialization list
718 (~MathFracInset): remove
721 * math_draw.C: delete file
723 * math_dotsinset.[Ch]: add pragma
725 * math_bigopinset.h: make protected variables private add '_' to vars.
727 * math_bigopinset.C: move methods to follow class definition order
729 * math_accentinset.h (getAccentCode): move inline here
731 * math_accentinset.C (MathAccentInset): cleanup
734 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
736 * math_inset.[Ch] (MathedInset): remove method
738 * Makefile.am (libmathed_la_SOURCES): correct typo
740 * math_parinset.C (draw): move MathedXiter data(this) up. and
741 remove it two other places.
743 * math_macro.C (MathMacro): use array directly, don't use
744 setArgumentIdx and GetData
746 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
748 * math_macroarg.C (MathMacroArgument): delete
749 * math_macro.C (~MathMacro): delete
750 * math_macrotemplate.C (~MathMacroTemplate): delete
752 * math_decorationinset.[Ch]: add pragma
753 * math_deliminset.[Ch]: likewise
754 * math_fracinset.[Ch]: likewise
755 * math_macroarg.[Ch]: likewise
756 * math_macrotemplate.[Ch]: likewise
757 * math_matrixinset.[Ch]: likewise
759 * formulamacro.C (Read): set contents of tmacro_ to ar.
761 * formulamacro.h: add '_' to private variables.
762 * formalamacro.C: changes because of this.
764 2001-02-23 Juergen Vigna <jug@sad.it>
766 * formula.C (LocalDispatch): changed action to be a kb_action (as it
767 should be) and not an int.
769 * formulamacro.C (LocalDispatch): ditto.
771 2001-02-14 André Pönitz <poenitz@gmx.net>
773 * math_parinset.[Ch]: make array a real MathArray, not just a
776 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
778 * several files: subsequent changes
780 * math_cursor.C: make selarray a proper MathArray
782 * several files: Change "MathedArray *" to "MathedArray &"
785 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
787 * array.C (MathedArray): Fix compilation problem.
789 2001-02-14 André Pönitz <poenitz@gmx.net>
791 * array.[Ch]: "deep" copy constructor and assignment operator for
794 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
796 * math_iter.[Ch]: remove SetData
797 several files: subsequent changes
799 2001-02-14 André Pönitz <poenitz@gmx.net>
801 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
804 * math_iter.C: default-construct and resize array
806 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
808 * math_xiter.h: move ipush and ipop to public, add _ on private
809 variables, move protected var to private, remove friend.
811 * math_cursor.C (insertInset): rename method from Insert also
812 remove default arg val. Call the public methods of xiter instead
813 of private variables.
815 * changes to several files because of the above.
817 2001-02-14 André Pönitz <poenitz@gmx.net>
819 * math_iter.[Ch]: hide fcode_
821 * math_parinset.C: subsequent changes
824 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
826 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
829 * math_write.C: delete file
830 * math_delim.C: delete file
831 * marh_sqrtinset.h: delete file
833 * move funcs to more localized files, more general cleanup.
834 Constify several local vars. Doxygen changes. Formatting.
836 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
838 * support.C: add some consts
840 * matriz.C: clean up a bit.
841 (matmat): remove the for loop.
843 * several files: changes so that several friends can be removed
845 2001-02-14 André Pönitz <poenitz@gmx.net>
847 * formula.C: reformatting
851 math_xiter.[Ch]: remove unneeded members
853 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
857 * formula.C: remove cruft
859 * array.C (begin): new method
862 2001-02-14 André Pönitz <poenitz@gmx.net>
864 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
866 * math_cursor.C: reformatting
868 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
872 * math_matrixinset.C:
873 * math_macrotemplate.C:
878 * math_decorationinset.C:
880 * math_accentinset.C:
881 * math_sqrtinset.C: include LOstream.h and add using directive.
883 2001-02-14 André Pönitz <poenitz@gmx.net>
885 * math_iter.C: reformatting
887 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
889 * math_spaceinset.C (GetSpace): move here
891 * math_parinset.C: add debug.h, move several prev. inlined methods
894 * math_macrotable.C math_xiter.C support.C: add debug.h
896 * math_macro.h: remove debug.h, remove typedefs
898 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
901 * math_hash.C: change some defines to int const. change use of
902 LM_TC_NORMAL to LM_TC_VAR
904 * math_draw.C: delete file
906 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
907 forward decls. remove LM_TC_NORMAL, move inline methods to
908 support.C (and support.h)
910 * math_cursor.C: move several previous inlined methods here
912 * math_bigopinset.h math_dotsinset.h math_funcinset.h
913 math_parinset.h math_spaceinset.h: add math_defs.h
915 * math_accentinset.h: add support.h and math_defs.h
917 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
919 * formula.h: remove unused func decl: OpenMathInset
921 * formula.C math_inset.h: get rid of math_defs.h
923 * array.h: switch to support.h instead of math_defs.h
925 * array.C: remove one include
927 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
929 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
931 * math_parser.C: include macrotable and macrotemplate
933 * math_macrotemplate.[Ch]: new files
935 * math_macrotable.[Ch]: new files
937 * math_macroarg.[Ch]: new files
939 * math_macro.C: move stuff to the new files.
941 * math_cursor.C: include math_macrotable.h
943 * macro_support.[Ch]: new files
945 * formulamacro.C: add more includes
947 * Makefile.am (libmathed_la_SOURCES): add new files.
949 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
951 * Makefile.am (libmathed_la_SOURCES): remove duplicate
956 * math_parinset.C: add a bunch of "using" directives.
959 * math_decorationinset.h:
961 * math_spaceinset.h: remove more couples of inline.
963 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
965 * math_xiter.h: remove a couple of "inline"
967 * array.C (strange_copy): fix bug (hopefully)
968 * many files: add a lot of new files and move methods to the class
969 files they belong to. Only first attempt at cleanup more will
972 2001-02-12 André Pönitz <poenitz@gmx.net>
974 * math_macro.[hC]: replace MathMacroArgument[] with
975 std::vector<MathMacroArgument>
977 math_inset.C: replace int[] with std::vector<int>
979 * math_symbols.C: replace FL_OBJECTP[] with
980 std::vector<FL_OBJECT*>
982 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
984 * math_defs.h (struct MathedRowSt): make all private variables end
985 with '_', initialize in initializer list instead of in function
988 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
990 * formula.C (LocalDispatch): Change the default action of
991 break-line to create an align* environment instead of eqnarray*.
993 * math_inset.C (Metrics): Correct drawing of the multline
996 2001-02-12 André Pönitz <poenitz@gmx.net>
998 * array.[hC]: replace private variable maxsize_ with call to
1000 * math_defs.h: replace int[] by std::vector<int> for
1003 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1005 * array.h: made all variables private, removed friend, added new
1006 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1007 non const operator[] added setter for last and getter for maxsize.
1008 changed name from LyxArrayBase to MathedArray.
1009 changed name of some methods to start with lowerchar.
1010 moved inline methods to array.C
1012 * math_iter.C + several file: changes because of the above.
1014 * array.C: new file with the prev inline methods.
1016 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1018 * Many files: add support for the align environment from amsmath.
1020 2001-02-09 André Pönitz <poenitz@gmx.net>
1022 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1023 * several files: subsequent changes
1024 * math_iter.h: remove unused prototype
1027 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1029 * math_macro.C (draw): add .c_str() to .str() (useful when
1030 compiling with lyxstring, but STL sstream).
1033 2001-02-08 André Pönitz <poenitz@gmx.net>
1035 * several files: get rid of reinterpret_cast.
1037 2001-02-04 Allan Rae <rae@lyx.org>
1039 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1040 just casting the variable.
1042 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1044 * Many files: Add support for multline and alignat environments from
1047 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1049 * math_symbols.C (math_insert_greek): Move cursor right when
1050 unlocking the math inset.
1052 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1054 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1056 * formula.C (LocalDispatch): Before inserting a label in an
1057 eqnarray, move the cursor to the top level.
1059 * math_iter.C (getLabel): Test if crow == 0.
1061 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1063 * math_draw.C (Metrics): Use the correct GetString.