1 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3 * formulabase.[Ch] (searchForward, searchBackward): change the
4 bool const & params to bool.
6 2002-01-14 Martin Vermeer <martin.vermeer@hut.fi>
7 * math_macrotable.C: added macros for Blackboard Bold,
8 Calligraphic symbols support in mathed. Kludge.
10 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12 * math_mathmlstream.C (operator<<): use lyx::count rather than
15 * math_streamstr.C (operator<<): ditto.
17 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
19 * math_support.C: change latex_mathfontcmds to an array of
22 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
24 * math_exfuncinset.C: remove using std::ostream declaration.
26 * math_kerninset.C: whitespace change, consistent with other files.
28 * math_mathmlstream.C (operator<<):
29 * math_streamstr.C (operator<<): use countChar rather than std::count.
31 * math_parser.C (operator==): comment out. Not used.
33 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
35 * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
37 * math_support.C: separate string arrays for math style and for
40 2002-01-10 Dekel Tsur <dekelts@tau.ac.il>
42 * math_parser.C (parse_normal): Support for \begin{math}
44 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
46 * math_hullinset.C (validate): rename feature "amsstyle" to
49 2002-01-09 Martin Vermeer <martin.vermeer@hut.fi>
51 * math_support.C: modified to support a mathed pop-up for math
52 size "styles" and font types.
54 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
56 * math_defs.h: remove trailing comma from enum MathTextCodes.
58 2002-01-03 André Pönitz <poenitz@gmx.net>
60 * formulabase.[Ch]: implement simple search
62 * math_sizeinset.[Ch]: support for \displaystyle etc
65 2001-12-18 Dekel Tsur <dekelts@tau.ac.il>
67 * math_macrotable.C (builtinMacros): Adjust kern values.
69 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
72 * math_binaryopinset.C:
77 * math_diminset.C:add missing config.h
80 * math_parser.C: move inludes around a bit.
82 * math_extinset.C: user boost::scoped_ptr
84 * math_parser.C: user std::fill to fill the catcodes. (please
85 check this one...), and some consts.
87 2001-12-11 André Pönitz <poenitz@gmx.net>
89 * math_cursor.C: allow cut&paste of rectangular regions of cells
91 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
93 * math_kerninset.C (metrics): Consider lyxrc.zoom
95 2001-12-14 Dekel Tsur <dekelts@tau.ac.il>
97 * math_support.C: Fix handling of \mathfrak font.
99 2001-12-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
101 * math_iterator.C (nextInset): compilation fix.
103 2001-12-11 André Pönitz <poenitz@gmx.net>
107 * math_hash.C: support for \mathfrak
109 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
111 * math_streamstr.C: #include <iostream> to compile with DEC cxx
113 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
117 * math_decorationinset.C:
120 * math_exfuncinset.C:
123 * math_funcliminset.C:
128 * math_stringinset.C:
129 * math_symbolinset.C:
130 * math_unknowninset.C: include math_streamstr.h and remove
133 * math_symbolinset.[Ch]: add constructor taking string
135 * math_mathmlstream.C: move includes around
137 * math_streamstr.[Ch]: add operator<<(Stream, string) for
138 NormalStream, MapleStream, MathMLStream and OctaveStream
140 * math_gridinset.C: user LyXLength::zero
142 2001-11-19 Angus Leeming <a.leeming@ic.ac.uk>
145 * math_arrayinset.C: add using std::getline directive.
147 2001-11-20 André Pönitz <poenitz@gmx.net>
149 * formulabase.C: fix mouse positioning using the cursor
151 2001-11-19 Dekel Tsur <dekelts@tau.ac.il>
153 * math_mathmlstream.C (operator<<): Count '\n' chars
155 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
158 * math_hullinset.C: Fixes to use the new LaTeXFeatures
161 2001-11-07 André Pönitz <poenitz@gmx.net>
163 * math_extern.C: support for integrals, sums, e^x, and d/dx
165 2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
167 * math_extern.C (extractNumber):
168 (extractDiffExponent): add ugly .c_str()
170 2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
172 * math_arrayinset.C (MathArrayInset):
173 * formula.C (pipeThroughMaple):
174 (pipeThroughOctave): add ugly .c_str() to help compile
177 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
179 * math_inset.C: compilation fix
181 2001-11-07 André Pönitz <poenitz@gmx.net>
184 * array.[Ch]: start native C++ support for Octave, Maple and MathML
186 2001-10-31 Angus Leeming <a.leeming@ic.ac.uk>
188 * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
190 2001-10-24 Angus Leeming <a.leeming@ic.ac.uk>
192 * math_nestinset.C: added using std::max, min directives.
193 * math_scriptinset.C: added using std::ostream directive.
194 * math_scriptinset.h: replaced ostream with std::ostream.
196 2001-10-17 André Pönitz <poenitz@gmx.net>
198 * math_*inset.[Ch]: remove MathStyles cache from insets that
202 formulabase.C: fix math font sizes in headings etc
205 formula.C: remove unused static member int MathInset::workwidth
207 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
209 2001-10-17 André Pönitz <poenitz@gmx.net>
212 * *.[Ch]: make output more stream-like
214 2001-10-17 André Pönitz <poenitz@gmx.net>
217 * array.C: add missing/broken writeNormal()
219 * math_lefteqn.[Ch]: some visual support for \lefteqn
222 2001-10-10 André Pönitz <poenitz@gmx.net>
224 * math_cursor.C: introduce dummy "inner" position "between"
225 nucleus and scripts for smoother cursor movement
227 * math_cursor.C: use red dot to indicate empty nucleus
230 2001-10-02 André Pönitz <poenitz@gmx.net>
232 * math_cursor.C: leave red backslash as visual clue
233 in formula when typing macro names
235 * math_macrotemplate.C: sanity check
237 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
240 * formula.C (localDispatch): fix a few of local variable sizes
242 * math_fracbase.C: change parameter types to match MathInset
244 2001-10-01 André Pönitz <poenitz@gmx.net>
246 * math_cursor.[Ch]: remove local parInset() method
248 * math_macro.C: add a static_cast
250 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
252 * math_cursor.C: fix type mismatches with what was declared in
255 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
257 * math_matrixinset.C (header_write): Add \n after \begin{align}
259 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
261 * math_macrotable.C (builtinMacros): Add some macros if latex
264 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
266 * formula.C (insetAllowed): disallow label insertion in inline
269 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
271 * formulabase.C (mathDispatchCreation): pass second argument
272 'false' (no label) to selectionAsString
274 2001-09-11 André Pönitz <poenitz@gmx.net>
276 * math_atom.[Ch]: new basic item in the MathArray
278 * array.[Ch]: move code over to math_atom
280 * math_scriptinset.[Ch]:
282 math_cursor.C: try to do with super- and subscripts what TeX does
284 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
286 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
288 2001-09-04 André Pönitz <poenitz@gmx.net>
292 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
293 'xxalignt', 'gather' and 'multiline' environments
295 * math_cursor.C: fix handling of | and \|
297 2001-09-04 José Matos <jamatos@fep.up.pt>
304 * formulamacro.h (docbook): rename docBook method to docbook.
306 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
308 * math_hash.C (ReadSymbols): Check for duplicate symbols
310 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
312 * support.C: added a using std::map directive.
314 2001-08-17 André Pönitz <poenitz@gmx.net>
316 * math_hash.C: Use std::map instead of faking it
318 * symbol_def.h: remove unneeded symbol definitions
320 * support.C: use the decorations' name for drawing
322 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
324 * math_hash.C (in_word_set): Initialize symbol table even when
325 symbols file was not found.
327 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
329 * math_hash.C: added a using std::endl directive.
331 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
333 * support.C (whichFont): Add support for cmr font.
334 Add support for \mathbb.
336 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
338 * math_macrotable.C (builtinMacros): Add 3 builtin macros
340 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
342 * math_hash.C: Read symbols information from external file
343 many files: Add support for latex symbol fonts
345 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
347 * math_parser.C (Parser): Eat spaces after \end_inset
349 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
351 * math_parser.C (tokenize): fix typo
353 2001-08-17 André Pönitz <poenitz@gmx.net>
355 * math_parser.C: new "lexxer"
357 * array.C: write sequences of chars with same code as a unit
359 2001-08-13 André Pönitz <poenitz@gmx.net>
361 * math_factory.[Ch]: new files for the creation of math insets
365 math_hash.C: simplifications
367 * math_binom.[Ch]: new files for "native" \binom/\choose inset
370 math_cursor.C: reading support for TeX style \over and \choose
372 * formulabase.C: re-enabling the "selected text gets converted to
373 math when pressing C-m" feature.
375 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
377 * math_parser.C (lexArg): remove default argument from the .C file
378 as it causes DEC cxx to complain about a redefinition.
380 2001-08-10 André Pönitz <poenitz@gmx.net>
382 * math_scopeinset.[Ch]: new inset for {} blocks
384 * math_accentinset.[Ch]: removed unneeded files
387 math_matrix.[Ch]: start support for "interrow spacing"
389 * all over the place: rework of parser stuff
391 2001-08-08 André Pönitz <poenitz@gmx.net>
393 * math_fracbase.[Ch]:
394 * math_fracinset.[Ch]: new hierarchy
396 * math_stackrelbase.[Ch]: native \stackrel support
398 * math_inset.[Ch]: removal of the name_ member
400 * math_deliminset.[Ch]: rework
402 2001-08-06 André Pönitz <poenitz@gmx.net>
404 * formulamacro.C: fix nasty bug due to missing copy constructor
406 * math_bigopinset.[Ch]: revival for things like \int, \sum
408 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
410 * math_diminset.h: make cache variables mutable, remove const_cast
412 * formulabase.[Ch]: remove unneeded convertFont()
414 * math_funcinset.[Ch]: bring red color back
416 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
417 inset to the mcaro table
419 2001-08-01 André Pönitz <poenitz@gmx.net>
422 formulamacro.C: fix memory leaks
424 * math_matrixinset.C: fix mis-alignment of eqnarray columns
426 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
427 MathMatrixInset * and MathMacroTemplate * to save a few casts
429 * all over the place: everything is an inset now
431 * math_nestinset.[Ch]: new abstract base class for insets containing
434 * math_diminset.[Ch]: new abstract base class for insets that need
435 the width_/ascent_/descent_ cache
437 2001-07-25 André Pönitz <poenitz@gmx.net>
439 * formulabase.C: re-enable 'space enlargement' feature
441 * math_scriptinset.C:
442 math_bigopinset.C: rework of script insets
444 2001-07-22 André Pönitz <poenitz@gmx.net>
446 * math_cursor.C: fix "pullArg" behaviour
448 * math_cursor.C: keep empty super/subscript a bit longer
450 * math_cursor.C: do not move into insets that don't have inner cells yet
452 * formulabase.C: fix memory leak
454 * math_cursor.C: ^ now copies selection into new srriptinset
456 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
459 * math_updowninset.C: fix drawing glitches
461 * math_cursor.C: paste to correct position
463 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * formula.C (insetAllowed): allow insertion of label
467 2001-07-20 André Pönitz <poenitz@gmx.net>
469 * math_macrotable.C: support for \land and \vee
471 2001-07-16 André Pönitz <poenitz@gmx.net>
473 * math_grid.[Ch] -> math_gridinset.[Ch]
474 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
476 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
477 fix 'mathed reports wrong width', cosmetics
479 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
481 * math_cursor.C (operator==): moved ouf of struct
483 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
485 2001-07-16 André Pönitz <poenitz@gmx.net>
487 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
489 * several files: supporting changes
491 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
493 Consistent use of Lsstream.h:
494 * formula.C: removed using std::ostringstream directive.
496 * math_cursor.C: std::istringstream -> istringstream.
498 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
500 * math_decorationinset.h: add std:: qualifier
502 2001-07-12 André Pönitz <poenitz@gmx.net>
504 * math_updowninset.[hC]: new base class for script and bigop insets
505 *.[hC]: subsequent changes to all Metric() functions
507 * math_parser.C: small changes (\sqrt0 is read properly now)
509 2001-07-10 André Pönitz <poenitz@gmx.net>
511 * math_accentinset.[hC]: rewrite
514 math_cursor.C: subsequent changes
516 * math_grid.C: <Delete> in the first cell of a completely empty row
517 deletes that row, <C-Return> places the cursor in the first of the
520 * math_grid.C: try to split cell nicely when mutating from single-cell
521 to multi-cell environment
523 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
525 * math_matrixinset.C (mutate): Use only the first label when
526 mutating eqnarray to display formula.
528 2001-07-09 Juergen Vigna <jug@sad.it>
530 * formulabase.C (mathDispatchCreation): don't do anything with the
531 inset if it cannot be inserted!
533 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
535 * formulabase.C (mathDispatchInsertMath): remove bogus return
538 2001-07-09 André Pönitz <poenitz@gmx.net>
540 * math_*inset.C: Change order of arguments in MathInset constructor
542 * math_cursor.C: Remove broken "increase space" feature for a while
544 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
546 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
548 2001-07-04 André Pönitz <poenitz@gmx.net>
550 * math_parser.C: fix reading of "unusual" alpha chars
552 * xarray.[hC]: fix debug output of xarray
554 2001-07-03 André Pönitz <poenitz@gmx.net>
556 * math_parser.C: fix bug where equations did not get their labels
558 * formulabase.C: new feature: changing font on selection
560 * several files: subsequent changes
562 * array.C: fix bug when insets have not been cloned properly
563 This should fix quite a few "random" crashes...
565 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
567 * formulabase.C (localDispatch): use .c_str() on istringstream
568 constructor argument.
570 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
572 * math_grid.C (addCol): add second argument to cellinfo_.insert.
573 Cleanup a bit the code.
574 (appendRow): do not call push_back without argument.
576 * *.C: remove all "using namespace std" directives (not
577 good!!) and replaced it with relevant "using" directives.
579 * math_macrotemplate.C (Clone): change return type to MathInset*
581 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
583 * math_sizeinset.C: include support/LOstream.h
585 * math_scriptinset.C (Metrics): std:: qualify max
587 * math_root.C (Metrics): std:: qualify max
588 (Write): std:: qualify ostream
591 * math_matrixinset.C (getLabelList): std:: qualify vector
593 (Metrics): std:: qualify max
594 (header_write): std:: qualify ostream
595 (footer_write): ditto
597 * math_macrotemplate.C (Write): std:: qualify ostream
599 * math_bigopinset.C (Metrics): std:: qualify max, and include
602 * math_matrixinset.h: include vector and std:: qualify it.
604 * array.C (GetInset): get a pointer to the first element of bf_
607 2001-06-25 The LyX Project <Asger>
609 * math_scriptinset.C: Fix for entering with cursor up/down.
611 * math_fracinset.C: We can enter fractions with cursor up and
614 * math_cursor.C (Right): Fixes for cursor movement.
616 * formula.C (draw): New background color for math.
618 * math_cursor.C: Fixes for toggling labels on/off in math.
619 Fixes for infinity and other symbols that didn't appear in
622 2001-06-24 The LyX Project <Asger>
624 * math_inset.C: Cursor movement is better in square roots, among
627 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
628 cursor up/down movement. What not.
630 2001-06-24 The LyX Project <Asger>
632 * math_matrixinset.C: Hidden labels are hidden, unless a small
633 dragon jumps out of the screen, and pronounce them to the entire
636 2001-06-24 The LyX Project <Easter egg>
638 * math_cursor.C: Cursor improvements after a few dead-ends
639 in the evolution of cursor movement were tested and scrapped.
641 2001-06-24 The LyX Project <Asger>
643 * math_cursor.C: Renamed stack to path.
645 2001-06-24 The LyX Project <André>
648 Makefile.am: The Big Patch
649 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
650 new MathScriptInset for up/down stuff;
651 delete MathIter/MatXIter, MathParInset, MathRowSt
652 Changes to the inset inheritance tree, reunification of abstract math
654 label/numbering handling back to life;
655 major changes to the parser(s);
656 new base class FormulaBase for the two math LyXInsets;
657 general cleanup and cosmetic changes)
659 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
662 * math_root.C: removed // -*- C++ -*- as first line.
664 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
666 * array.C: bring memmove into main namespace if necessary
668 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
670 * math_parser.C (yylex): use contains instead of strchr
671 (parse_align): remove last arg, change to take string const & as
673 (mathed_parse): use string for ar2 and ar, adjust
675 * math_decorationinset.C (Write): use compare instead of strcmp
677 * formula.C (LocalDispatch): change arg2 to string, adjust for this
678 (LocalDispatch): add std::
679 (LocalDispatch): use contains instead of strchr
681 * array.C (move): add std::
683 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
685 * matriz.C: add using directives when needed for C functions
686 declared in std:: namespace.
688 * math_macrotemplate.h: do not use explicitely std::string, but
691 * math_macroarg.C: avoid bringing the whole std:: namespace in
692 global-land. When you do that, there is an ambiguity between
693 lyxstring and std::string (which may be defined at the same time).
695 * formula.C (HandleExtern): add .c_str() to .str() (useful when
698 2001-04-27 André Pönitz <poenitz@gmx.net>
700 * math_parser.C: fix \frac handling bug introduced on 04-24
701 * math_xiter.C: hotfix for merging "shared" insets
702 * formula.C: fixing display after using math-insert
704 2001-04-25 André Pönitz <poenitz@gmx.net>
706 * math_*.[Ch]: WriteNormal
707 * formula.C: Support for new "math extern" command
708 * math_parser.C: fix \frac handling bug introduced on 04-24
709 * math_xiter.C: hotfix for merging "shared" insets
711 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
713 * math_macrotable.C: include <iostream>
715 2001-04-24 André Pönitz <poenitz@gmx.net>
718 * math_macrotable.[Ch]:
719 * math_macroarg.[Ch]: restructuring of macro handling
722 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
724 * array.h (operator<<):
725 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
727 * math_macrotable.C: added using std::make_pair directive.
728 (dump): added using std::cerr directive here as I guess that this is
731 2001-04-20 Allan Rae <rae@lyx.org>
733 * formula.C (LocalDispatch): fixed another #warning. Guess who.
735 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
737 * math_macrotemplate.h: inherit privately from noncopyable
739 * math_macro.C (Metrics): reindent, use unsigned int as loop var
740 (setArgumentIdx): change test to avoid unsigned warning
742 * formula.C (LocalDispatch): use LFUN_MESSAGE
744 2001-04-16 Allan Rae <rae@lyx.org>
746 * formula.C (Latex, getLabelList, LocalDispatch):
747 * math_parser.C (mathed_parse):
748 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
749 an unrecognised preprocessor directive. So ensure they're wrapped.
751 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
753 * formula.C (draw): adjust for cursor_visible
754 (ToggleInsetCursor): adjust for cursor_visible and constify asc
756 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
757 (HideInsetCursor): adjust for cursor_visible
758 (LocalDispatch): constify default_label and res
760 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
762 * math_rowst.C: add missing #include <config.h>.
764 2001-03-16 André Pönitz <poenitz@gmx.net>
766 * math_matrixinset.h:
767 * math_parinset.[Ch]:
768 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
770 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
778 * math_symbols.C: maths panel moved to GUII
780 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
782 * math_cursor.C: use lyxerr instead of cerr.
784 2001-03-15 André Pönitz <poenitz@gmx.net>
786 * math_cursor.C: fix bug (cursor was leaving two insets at a time
789 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
791 * math_macrotable.h: noncopyable is in namespace boost
792 * math_macrotemplate.h: ditto
794 * math_rowst.h: make MathedRowContainer::iterator public.
796 2001-03-15 André Pönitz <poenitz@gmx.net>
798 * math_parser.C: read '\nonumber' again (was broken)
800 * math_rowst.C: new file
802 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
804 * math_cursor.C: added using directive.
806 2001-03-15 André Pönitz <poenitz@gmx.net>
808 * math_rowst.h: Finally remove MathedRowSt
811 math_xiter.C: changed accordingly
813 2001-03-12 André Pönitz <poenitz@gmx.net>
815 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
816 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
818 2001-03-10 André Pönitz <poenitz@gmx.net>
821 math_matrixinset.C: move adjustVerticalSt to the only place where
822 it is used. Fix a small bug where the cached row structure and the
823 actual data get out of sync after the deletion of whole rows
825 2001-03-09 André Pönitz <poenitz@gmx.net>
827 * math_cursor.C: use std::vector<> in MathStackXIter
828 change selstk from a pointer to the "real thing"
830 * math_rowst.h: new MathedRowContainer::erase method
832 * math_xiter.C: use MathedRowContainer::erase
834 * math_parser.C: use MathedRowContainer::insert_after
836 2001-03-08 André Pönitz <poenitz@gmx.net>
838 * math_rowst.h: give MathedRowContainer an 'insert' method.
840 * math_xiter.C: new 'container()' method to encapsulated access to
841 the MathParInset's MathedRowContainer
843 * math_rowst.h: proper copy constructor and destructor for
846 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
847 automatically created by the compiler are ok now.
849 2001-03-06 André Pönitz <poenitz@gmx.net>
851 * array.[Ch]: factor out deep_copy,
852 remove third argument from raw_pointer_insert
854 * math_iter.[Ch]: remove unused function Clear()
856 * math_cursor.C: change signature of MathStackXIter:push()
859 * math_rowst.h: introduction of MathRowContainer
860 several files: corresponding changes
862 2001-03-04 André Pönitz <poenitz@gmx.net>
864 * math_macrotemplate.[Ch]:
865 math_macro.C: move update() functionality to the macro
867 * math_rowst.h: split MathedRowSt into "data" and "list"
869 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
871 * math_macrotemplate.C (update): use MathMacro::getArg, and
872 receive a const reference.
873 (getMacroPar): add an Assert
875 * math_macrotemplate.h: make MathMacro a friend, make update take
878 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
879 and store a MathMacroArgument in the vector
880 * math_macro.C: changes because of the above.
883 * math_parser.C (mathed_parse): plug potential leak
885 * math_iter.h: add comment on virtual destructor
887 * math_iter.C (Delete): make c const
889 * math_parinset.C (Metrics): cleanup indent. make one string const.
891 * math_inset.C (size): move out of line
894 * math_macroarg.h: remove default constructor
896 * math_macroarg.C: include Lsstream.h instead of debug.h
897 (MathMacroArgument): remove default constructor
898 (Write): add std:: on ostream arg
900 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
903 * formula.C: make DEBUG into lyxerr
905 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
907 * math_macrotemplate.h: make noncopyable, remove last arg to
908 constructor, remove flags_ add edit_
909 (flags): remove method
911 * math_macrotemplate.C (setArgument): delete method
912 (update): make idx const
913 (Metrics): use edit_, remove flags_
914 (draw): use edit_, remove flags_
915 (setEditMode): set edit_, remove flags_
916 (MathMacroTemplate): initialize edit_, remove flags_
918 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
919 shared_ptr, let constructor take a shared_ptr
921 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
923 (draw): remove unneded update, remove removed update of x,y
924 (GetXY): call tmplates GetMacroXY directly
925 (SetFocus): call Metrics() instead of update()
926 (Write): remove support for math macro environments, simplifications.
928 * math_macrotable.h: make class noncopyable, change getMacro to
929 createMacro, change vector to map store a
930 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
932 * math_macrotable.C: add pragma
933 (createMacro): change name from getMacro, use shared_ptr
934 (getTemplate): Use map lookup to get macro, return shared_ptr
935 (addTemplate): assert that m containse a valid pointer, use map[]
937 (builtinMacros): by using shared_ptr fix the mem leak, remove
938 commented out unsupported macros
940 * math_cursor.C: changes because of the above
941 * math_parser.C: changes because of the abobe
943 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
944 default arg on constructor.
945 * formulamacro.C: changes because of the above
947 * math_parinset.h: add pragma
948 (SetAlign): move inline out of class def
952 (setArgumentIdx): ditto
953 (setNextArgIdx): ditto
954 (getArgumentIdx): ditto
955 (getMaxArgumentIdx): ditto
960 * math_parinset.C: add pragma
961 (Write): change the else clause, lessen depth
963 * math_macroarg.h: small whitespace change
965 * array.C: include support/LOstream.h add using ostream and endl
967 * array.h (dump): add std:: on ostream
969 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
971 * math_macrotemplate.h: remove default arg on update
973 * math_macrotemplate.C (update): add assert and remove noop case.
975 * formulamacro.C (Read): add comment.
976 (ascent): remove noop call to MathMacroTemplate
981 * math_parser.C (mathed_parse): fix another potential problem by
982 passing a freestanding mathedarray.
984 * math_root.C (GetData): add const version
986 * math_parinset.C (~MathParInset): delete
987 (GetData): add const version
989 * math_matrixinset.C (MathMatrixInset): delete pointer version,
990 make it a proper copy constructor instead
992 (MathMatrixInset): remvoe default val for m and n
994 * math_macro.C (GetData): add const version
996 * math_fracinset.C (GetData): add const version
998 * math_cursor.C (SelCopy): make p1 and p2 const
999 (SelCut): make p1 and p2 const
1001 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1002 (LyxCode): move inline out of class
1003 (ConvertFont): ditto
1006 * array.[Ch] (dump): method added for debugging purposes
1008 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1009 mathed_parse when reading a matrix.
1011 * math_spaceinset.[Ch]: add pragma, make variables private add
1012 '_', change order of method definitions.
1014 * math_root.h (~MathRootInset): delete
1015 Change uroot_ to be a real object instead of a pointer
1016 * math_root.C: changes because of the above
1018 * math_macro.C (MathMacro(MathMacro*)): delete constructor
1019 (MathMacro(MathMacro const &)): new copy constructor
1021 * math_inset.h: delete constructor taking a pointer to MathedInset
1022 (size, incSize): move inline method
1024 * math_funcinset.h: add pragma, remove class vars ln and fname,
1025 change protected to private, add '_' to priv vars.
1026 (~MathFuncInset): remove
1028 * math_fracinset.h: make MathParInset den_ a real object and not a
1031 * math_fracinset.C (MathFracInset): clean up, move initalization
1032 to initialization list
1033 (~MathFracInset): remove
1034 (Clone): remove leak
1036 * math_draw.C: delete file
1038 * math_dotsinset.[Ch]: add pragma
1040 * math_bigopinset.h: make protected variables private add '_' to vars.
1042 * math_bigopinset.C: move methods to follow class definition order
1044 * math_accentinset.h (getAccentCode): move inline here
1046 * math_accentinset.C (MathAccentInset): cleanup
1049 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1051 * math_inset.[Ch] (MathedInset): remove method
1053 * Makefile.am (libmathed_la_SOURCES): correct typo
1055 * math_parinset.C (draw): move MathedXiter data(this) up. and
1056 remove it two other places.
1058 * math_macro.C (MathMacro): use array directly, don't use
1059 setArgumentIdx and GetData
1061 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1063 * math_macroarg.C (MathMacroArgument): delete
1064 * math_macro.C (~MathMacro): delete
1065 * math_macrotemplate.C (~MathMacroTemplate): delete
1067 * math_decorationinset.[Ch]: add pragma
1068 * math_deliminset.[Ch]: likewise
1069 * math_fracinset.[Ch]: likewise
1070 * math_macroarg.[Ch]: likewise
1071 * math_macrotemplate.[Ch]: likewise
1072 * math_matrixinset.[Ch]: likewise
1074 * formulamacro.C (Read): set contents of tmacro_ to ar.
1076 * formulamacro.h: add '_' to private variables.
1077 * formalamacro.C: changes because of this.
1079 2001-02-23 Juergen Vigna <jug@sad.it>
1081 * formula.C (LocalDispatch): changed action to be a kb_action (as it
1082 should be) and not an int.
1084 * formulamacro.C (LocalDispatch): ditto.
1086 2001-02-14 André Pönitz <poenitz@gmx.net>
1088 * math_parinset.[Ch]: make array a real MathArray, not just a
1091 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1093 * several files: subsequent changes
1095 * math_cursor.C: make selarray a proper MathArray
1097 * several files: Change "MathedArray *" to "MathedArray &"
1100 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
1102 * array.C (MathedArray): Fix compilation problem.
1104 2001-02-14 André Pönitz <poenitz@gmx.net>
1106 * array.[Ch]: "deep" copy constructor and assignment operator for
1109 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1111 * math_iter.[Ch]: remove SetData
1112 several files: subsequent changes
1114 2001-02-14 André Pönitz <poenitz@gmx.net>
1116 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
1119 * math_iter.C: default-construct and resize array
1121 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1123 * math_xiter.h: move ipush and ipop to public, add _ on private
1124 variables, move protected var to private, remove friend.
1126 * math_cursor.C (insertInset): rename method from Insert also
1127 remove default arg val. Call the public methods of xiter instead
1128 of private variables.
1130 * changes to several files because of the above.
1132 2001-02-14 André Pönitz <poenitz@gmx.net>
1134 * math_iter.[Ch]: hide fcode_
1136 * math_parinset.C: subsequent changes
1139 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1141 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1144 * math_write.C: delete file
1145 * math_delim.C: delete file
1146 * marh_sqrtinset.h: delete file
1148 * move funcs to more localized files, more general cleanup.
1149 Constify several local vars. Doxygen changes. Formatting.
1151 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
1153 * support.C: add some consts
1155 * matriz.C: clean up a bit.
1156 (matmat): remove the for loop.
1158 * several files: changes so that several friends can be removed
1160 2001-02-14 André Pönitz <poenitz@gmx.net>
1162 * formula.C: reformatting
1166 math_xiter.[Ch]: remove unneeded members
1168 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1172 * formula.C: remove cruft
1174 * array.C (begin): new method
1177 2001-02-14 André Pönitz <poenitz@gmx.net>
1179 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1181 * math_cursor.C: reformatting
1183 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1185 * math_spaceinset.C:
1187 * math_matrixinset.C:
1188 * math_macrotemplate.C:
1192 * math_deliminset.C:
1193 * math_decorationinset.C:
1194 * math_bigopinset.C:
1195 * math_accentinset.C:
1196 * math_sqrtinset.C: include LOstream.h and add using directive.
1198 2001-02-14 André Pönitz <poenitz@gmx.net>
1200 * math_iter.C: reformatting
1202 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1204 * math_spaceinset.C (GetSpace): move here
1206 * math_parinset.C: add debug.h, move several prev. inlined methods
1209 * math_macrotable.C math_xiter.C support.C: add debug.h
1211 * math_macro.h: remove debug.h, remove typedefs
1213 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1216 * math_hash.C: change some defines to int const. change use of
1217 LM_TC_NORMAL to LM_TC_VAR
1219 * math_draw.C: delete file
1221 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1222 forward decls. remove LM_TC_NORMAL, move inline methods to
1223 support.C (and support.h)
1225 * math_cursor.C: move several previous inlined methods here
1227 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1228 math_parinset.h math_spaceinset.h: add math_defs.h
1230 * math_accentinset.h: add support.h and math_defs.h
1232 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1234 * formula.h: remove unused func decl: OpenMathInset
1236 * formula.C math_inset.h: get rid of math_defs.h
1238 * array.h: switch to support.h instead of math_defs.h
1240 * array.C: remove one include
1242 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1244 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1246 * math_parser.C: include macrotable and macrotemplate
1248 * math_macrotemplate.[Ch]: new files
1250 * math_macrotable.[Ch]: new files
1252 * math_macroarg.[Ch]: new files
1254 * math_macro.C: move stuff to the new files.
1256 * math_cursor.C: include math_macrotable.h
1258 * macro_support.[Ch]: new files
1260 * formulamacro.C: add more includes
1262 * Makefile.am (libmathed_la_SOURCES): add new files.
1264 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1266 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1271 * math_parinset.C: add a bunch of "using" directives.
1274 * math_decorationinset.h:
1275 * math_bigopinset.h:
1276 * math_spaceinset.h: remove more couples of inline.
1278 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1280 * math_xiter.h: remove a couple of "inline"
1282 * array.C (strange_copy): fix bug (hopefully)
1283 * many files: add a lot of new files and move methods to the class
1284 files they belong to. Only first attempt at cleanup more will
1287 2001-02-12 André Pönitz <poenitz@gmx.net>
1289 * math_macro.[hC]: replace MathMacroArgument[] with
1290 std::vector<MathMacroArgument>
1292 math_inset.C: replace int[] with std::vector<int>
1294 * math_symbols.C: replace FL_OBJECTP[] with
1295 std::vector<FL_OBJECT*>
1297 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1299 * math_defs.h (struct MathedRowSt): make all private variables end
1300 with '_', initialize in initializer list instead of in function
1303 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1305 * formula.C (LocalDispatch): Change the default action of
1306 break-line to create an align* environment instead of eqnarray*.
1308 * math_inset.C (Metrics): Correct drawing of the multline
1311 2001-02-12 André Pönitz <poenitz@gmx.net>
1313 * array.[hC]: replace private variable maxsize_ with call to
1315 * math_defs.h: replace int[] by std::vector<int> for
1318 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1320 * array.h: made all variables private, removed friend, added new
1321 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1322 non const operator[] added setter for last and getter for maxsize.
1323 changed name from LyxArrayBase to MathedArray.
1324 changed name of some methods to start with lowerchar.
1325 moved inline methods to array.C
1327 * math_iter.C + several file: changes because of the above.
1329 * array.C: new file with the prev inline methods.
1331 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1333 * Many files: add support for the align environment from amsmath.
1335 2001-02-09 André Pönitz <poenitz@gmx.net>
1337 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1338 * several files: subsequent changes
1339 * math_iter.h: remove unused prototype
1342 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1344 * math_macro.C (draw): add .c_str() to .str() (useful when
1345 compiling with lyxstring, but STL sstream).
1348 2001-02-08 André Pönitz <poenitz@gmx.net>
1350 * several files: get rid of reinterpret_cast.
1352 2001-02-04 Allan Rae <rae@lyx.org>
1354 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1355 just casting the variable.
1357 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1359 * Many files: Add support for multline and alignat environments from
1362 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1364 * math_symbols.C (math_insert_greek): Move cursor right when
1365 unlocking the math inset.
1367 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1369 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1371 * formula.C (LocalDispatch): Before inserting a label in an
1372 eqnarray, move the cursor to the top level.
1374 * math_iter.C (getLabel): Test if crow == 0.
1376 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1378 * math_draw.C (Metrics): Use the correct GetString.