1 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3 * math_cursor.C: clear selection on paste (bug 393)
5 2002-05-15 André Pönitz <poenitz@gmx.net>
7 * formulabase.[Ch]: mark buffer as (Changed) after font changes
9 2002-05-13 André Pönitz <poenitz@gmx.net>
11 * math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
13 2002-05-13 André Pönitz <poenitz@gmx.net>
15 * math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
17 2002-04-24 Juergen Vigna <jug@sad.it>
19 * formulabase.C (insetButtonPress): set the mathcursor in case we
20 don't have one. This happens when clicking on a non locked mathed
21 inset with any button != 1.
22 (insetButtonPress): Forgot about this the Panel should NEVER be
23 opened in a Press event ONLY in the Release event!
25 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
27 * formulabase.C (localDispatch): merge the cases for
28 LFUN_PROTECTEDSPACE and LFUN_MATH_SPACE, since they were identical.
30 2002-04-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
32 * formulabase.C (localDispatch): handle arguments of
33 LFUN_MATH_DELIM better.
35 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
37 * formulabase.C: remove unused variables hack_x, hack_y, hack_button.
39 2002-04-02 Allan Rae <rae@lyx.org>
41 * math_cursor.C (info): make it work with lyxstring and std::string
43 2002-03-12 André Pönitz <poenitz@gmx.net>
45 * math_cursor.C: fix some Up/Down "issues"
47 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
49 * most files: ws cleanup
51 * Makefile.am: remove ld -r stuff
53 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * Makefile.am: special rules if partial linking
57 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
59 * math_charinset.C: wrap the std::strchr declaration inside a
60 check for CXX_GLOBAL_CSTD.
62 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
64 * math_biginset.[Ch] (size): return size_type, not int.
66 * math_inset.C (metrics): parameter "mi" is never referenced. Removed.
67 * math_hullinset.C (metrics): ditto.
70 2002-03-12 André Pönitz <poenitz@gmx.net>
72 * math_xarray.[Ch] et al: really use metrics cache if possible...
74 2002-03-07 Martin Vermeer <martin.vermeer@hut.fi>
76 * math_decorationinset.C: add leftrightarrows to the displayable
79 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
81 * formula.C Changes due to the renaming of support/syscall.[Ch]
82 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
84 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
86 * formula.C: change Systemcalls::System to Systemcalls::Wait and
87 No change of functionality, just reflects the stripped down Systemcalls
90 2002-02-08 André Pönitz <poenitz@gmx.net>
92 * math_support.[Ch]: some support for \dddot
94 2002-02-08 Otto Tronarp <otttr440@student.liu.se>
96 * math_decorationinset.C:
100 * math_hash.C: Added \underrightarrow and \underleftarrow
102 2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
104 * formulabase.C (localDispatch): fix umlaut handling
106 * formulabase.C: pop up math panel on right mouse click
108 2002-02-01 André Pönitz <poenitz@gmx.net>
110 * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
112 2002-02-01 André Pönitz <poenitz@gmx.net>
114 * math_xymatrixinset.[Ch]: some support for \xymatrix
116 2002-02-01 André Pönitz <poenitz@gmx.net>
118 * math_undersetinset.[Ch]: implement direct support for \underset
120 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
122 * math_support.C: removed the arrays latex_mathstyle[] and
123 latex_mathfontcmds[] to the frontends.
125 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
127 * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
129 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
131 * math_factory.C (createMathInset): add a default: label in switch
133 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
135 * formulabase.[Ch] (searchForward, searchBackward): change the
136 bool const & params to bool.
138 2002-01-14 Martin Vermeer <martin.vermeer@hut.fi>
139 * math_macrotable.C: added macros for Blackboard Bold,
140 Calligraphic symbols support in mathed. Kludge.
142 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
144 * math_mathmlstream.C (operator<<): use lyx::count rather than
147 * math_streamstr.C (operator<<): ditto.
149 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
151 * math_support.C: change latex_mathfontcmds to an array of
154 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
156 * math_exfuncinset.C: remove using std::ostream declaration.
158 * math_kerninset.C: whitespace change, consistent with other files.
160 * math_mathmlstream.C (operator<<):
161 * math_streamstr.C (operator<<): use countChar rather than std::count.
163 * math_parser.C (operator==): comment out. Not used.
165 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
167 * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
169 * math_support.C: separate string arrays for math style and for
172 2002-01-10 Dekel Tsur <dekelts@tau.ac.il>
174 * math_parser.C (parse_normal): Support for \begin{math}
176 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * math_hullinset.C (validate): rename feature "amsstyle" to
181 2002-01-09 Martin Vermeer <martin.vermeer@hut.fi>
183 * math_support.C: modified to support a mathed pop-up for math
184 size "styles" and font types.
186 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
188 * math_defs.h: remove trailing comma from enum MathTextCodes.
190 2002-01-03 André Pönitz <poenitz@gmx.net>
192 * formulabase.[Ch]: implement simple search
194 * math_sizeinset.[Ch]: support for \displaystyle etc
196 2001-12-18 Dekel Tsur <dekelts@tau.ac.il>
198 * math_macrotable.C (builtinMacros): Adjust kern values.
200 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
203 * math_binaryopinset.C:
208 * math_diminset.C:add missing config.h
211 * math_parser.C: move inludes around a bit.
213 * math_extinset.C: user boost::scoped_ptr
215 * math_parser.C: user std::fill to fill the catcodes. (please
216 check this one...), and some consts.
218 2001-12-11 André Pönitz <poenitz@gmx.net>
220 * math_cursor.C: allow cut&paste of rectangular regions of cells
222 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
224 * math_kerninset.C (metrics): Consider lyxrc.zoom
226 2001-12-14 Dekel Tsur <dekelts@tau.ac.il>
228 * math_support.C: Fix handling of \mathfrak font.
230 2001-12-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
232 * math_iterator.C (nextInset): compilation fix.
234 2001-12-11 André Pönitz <poenitz@gmx.net>
238 * math_hash.C: support for \mathfrak
240 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
242 * math_streamstr.C: #include <iostream> to compile with DEC cxx
244 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
248 * math_decorationinset.C:
251 * math_exfuncinset.C:
254 * math_funcliminset.C:
259 * math_stringinset.C:
260 * math_symbolinset.C:
261 * math_unknowninset.C: include math_streamstr.h and remove
264 * math_symbolinset.[Ch]: add constructor taking string
266 * math_mathmlstream.C: move includes around
268 * math_streamstr.[Ch]: add operator<<(Stream, string) for
269 NormalStream, MapleStream, MathMLStream and OctaveStream
271 * math_gridinset.C: user LyXLength::zero
273 2001-11-19 Angus Leeming <a.leeming@ic.ac.uk>
276 * math_arrayinset.C: add using std::getline directive.
278 2001-11-20 André Pönitz <poenitz@gmx.net>
280 * formulabase.C: fix mouse positioning using the cursor
282 2001-11-19 Dekel Tsur <dekelts@tau.ac.il>
284 * math_mathmlstream.C (operator<<): Count '\n' chars
286 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
289 * math_hullinset.C: Fixes to use the new LaTeXFeatures
292 2001-11-07 André Pönitz <poenitz@gmx.net>
294 * math_extern.C: support for integrals, sums, e^x, and d/dx
296 2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
298 * math_extern.C (extractNumber):
299 (extractDiffExponent): add ugly .c_str()
301 2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
303 * math_arrayinset.C (MathArrayInset):
304 * formula.C (pipeThroughMaple):
305 (pipeThroughOctave): add ugly .c_str() to help compile
308 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
310 * math_inset.C: compilation fix
312 2001-11-07 André Pönitz <poenitz@gmx.net>
315 * array.[Ch]: start native C++ support for Octave, Maple and MathML
317 2001-10-31 Angus Leeming <a.leeming@ic.ac.uk>
319 * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
321 2001-10-24 Angus Leeming <a.leeming@ic.ac.uk>
323 * math_nestinset.C: added using std::max, min directives.
324 * math_scriptinset.C: added using std::ostream directive.
325 * math_scriptinset.h: replaced ostream with std::ostream.
327 2001-10-17 André Pönitz <poenitz@gmx.net>
329 * math_*inset.[Ch]: remove MathStyles cache from insets that
333 formulabase.C: fix math font sizes in headings etc
336 formula.C: remove unused static member int MathInset::workwidth
338 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
340 2001-10-17 André Pönitz <poenitz@gmx.net>
343 * *.[Ch]: make output more stream-like
345 2001-10-17 André Pönitz <poenitz@gmx.net>
348 * array.C: add missing/broken writeNormal()
350 * math_lefteqn.[Ch]: some visual support for \lefteqn
353 2001-10-10 André Pönitz <poenitz@gmx.net>
355 * math_cursor.C: introduce dummy "inner" position "between"
356 nucleus and scripts for smoother cursor movement
358 * math_cursor.C: use red dot to indicate empty nucleus
361 2001-10-02 André Pönitz <poenitz@gmx.net>
363 * math_cursor.C: leave red backslash as visual clue
364 in formula when typing macro names
366 * math_macrotemplate.C: sanity check
368 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
371 * formula.C (localDispatch): fix a few of local variable sizes
373 * math_fracbase.C: change parameter types to match MathInset
375 2001-10-01 André Pönitz <poenitz@gmx.net>
377 * math_cursor.[Ch]: remove local parInset() method
379 * math_macro.C: add a static_cast
381 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
383 * math_cursor.C: fix type mismatches with what was declared in
386 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
388 * math_matrixinset.C (header_write): Add \n after \begin{align}
390 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
392 * math_macrotable.C (builtinMacros): Add some macros if latex
395 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
397 * formula.C (insetAllowed): disallow label insertion in inline
400 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
402 * formulabase.C (mathDispatchCreation): pass second argument
403 'false' (no label) to selectionAsString
405 2001-09-11 André Pönitz <poenitz@gmx.net>
407 * math_atom.[Ch]: new basic item in the MathArray
409 * array.[Ch]: move code over to math_atom
411 * math_scriptinset.[Ch]:
413 math_cursor.C: try to do with super- and subscripts what TeX does
415 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
417 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
419 2001-09-04 André Pönitz <poenitz@gmx.net>
423 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
424 'xxalignt', 'gather' and 'multiline' environments
426 * math_cursor.C: fix handling of | and \|
428 2001-09-04 José Matos <jamatos@fep.up.pt>
435 * formulamacro.h (docbook): rename docBook method to docbook.
437 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
439 * math_hash.C (ReadSymbols): Check for duplicate symbols
441 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
443 * support.C: added a using std::map directive.
445 2001-08-17 André Pönitz <poenitz@gmx.net>
447 * math_hash.C: Use std::map instead of faking it
449 * symbol_def.h: remove unneeded symbol definitions
451 * support.C: use the decorations' name for drawing
453 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
455 * math_hash.C (in_word_set): Initialize symbol table even when
456 symbols file was not found.
458 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
460 * math_hash.C: added a using std::endl directive.
462 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
464 * support.C (whichFont): Add support for cmr font.
465 Add support for \mathbb.
467 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
469 * math_macrotable.C (builtinMacros): Add 3 builtin macros
471 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
473 * math_hash.C: Read symbols information from external file
474 many files: Add support for latex symbol fonts
476 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
478 * math_parser.C (Parser): Eat spaces after \end_inset
480 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
482 * math_parser.C (tokenize): fix typo
484 2001-08-17 André Pönitz <poenitz@gmx.net>
486 * math_parser.C: new "lexxer"
488 * array.C: write sequences of chars with same code as a unit
490 2001-08-13 André Pönitz <poenitz@gmx.net>
492 * math_factory.[Ch]: new files for the creation of math insets
496 math_hash.C: simplifications
498 * math_binom.[Ch]: new files for "native" \binom/\choose inset
501 math_cursor.C: reading support for TeX style \over and \choose
503 * formulabase.C: re-enabling the "selected text gets converted to
504 math when pressing C-m" feature.
506 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
508 * math_parser.C (lexArg): remove default argument from the .C file
509 as it causes DEC cxx to complain about a redefinition.
511 2001-08-10 André Pönitz <poenitz@gmx.net>
513 * math_scopeinset.[Ch]: new inset for {} blocks
515 * math_accentinset.[Ch]: removed unneeded files
518 math_matrix.[Ch]: start support for "interrow spacing"
520 * all over the place: rework of parser stuff
522 2001-08-08 André Pönitz <poenitz@gmx.net>
524 * math_fracbase.[Ch]:
525 * math_fracinset.[Ch]: new hierarchy
527 * math_stackrelbase.[Ch]: native \stackrel support
529 * math_inset.[Ch]: removal of the name_ member
531 * math_deliminset.[Ch]: rework
533 2001-08-06 André Pönitz <poenitz@gmx.net>
535 * formulamacro.C: fix nasty bug due to missing copy constructor
537 * math_bigopinset.[Ch]: revival for things like \int, \sum
539 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
541 * math_diminset.h: make cache variables mutable, remove const_cast
543 * formulabase.[Ch]: remove unneeded convertFont()
545 * math_funcinset.[Ch]: bring red color back
547 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
548 inset to the mcaro table
550 2001-08-01 André Pönitz <poenitz@gmx.net>
553 formulamacro.C: fix memory leaks
555 * math_matrixinset.C: fix mis-alignment of eqnarray columns
557 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
558 MathMatrixInset * and MathMacroTemplate * to save a few casts
560 * all over the place: everything is an inset now
562 * math_nestinset.[Ch]: new abstract base class for insets containing
565 * math_diminset.[Ch]: new abstract base class for insets that need
566 the width_/ascent_/descent_ cache
568 2001-07-25 André Pönitz <poenitz@gmx.net>
570 * formulabase.C: re-enable 'space enlargement' feature
572 * math_scriptinset.C:
573 math_bigopinset.C: rework of script insets
575 2001-07-22 André Pönitz <poenitz@gmx.net>
577 * math_cursor.C: fix "pullArg" behaviour
579 * math_cursor.C: keep empty super/subscript a bit longer
581 * math_cursor.C: do not move into insets that don't have inner cells yet
583 * formulabase.C: fix memory leak
585 * math_cursor.C: ^ now copies selection into new srriptinset
587 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
590 * math_updowninset.C: fix drawing glitches
592 * math_cursor.C: paste to correct position
594 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * formula.C (insetAllowed): allow insertion of label
598 2001-07-20 André Pönitz <poenitz@gmx.net>
600 * math_macrotable.C: support for \land and \vee
602 2001-07-16 André Pönitz <poenitz@gmx.net>
604 * math_grid.[Ch] -> math_gridinset.[Ch]
605 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
607 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
608 fix 'mathed reports wrong width', cosmetics
610 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
612 * math_cursor.C (operator==): moved ouf of struct
614 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
616 2001-07-16 André Pönitz <poenitz@gmx.net>
618 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
620 * several files: supporting changes
622 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
624 Consistent use of Lsstream.h:
625 * formula.C: removed using std::ostringstream directive.
627 * math_cursor.C: std::istringstream -> istringstream.
629 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
631 * math_decorationinset.h: add std:: qualifier
633 2001-07-12 André Pönitz <poenitz@gmx.net>
635 * math_updowninset.[hC]: new base class for script and bigop insets
636 *.[hC]: subsequent changes to all Metric() functions
638 * math_parser.C: small changes (\sqrt0 is read properly now)
640 2001-07-10 André Pönitz <poenitz@gmx.net>
642 * math_accentinset.[hC]: rewrite
645 math_cursor.C: subsequent changes
647 * math_grid.C: <Delete> in the first cell of a completely empty row
648 deletes that row, <C-Return> places the cursor in the first of the
651 * math_grid.C: try to split cell nicely when mutating from single-cell
652 to multi-cell environment
654 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
656 * math_matrixinset.C (mutate): Use only the first label when
657 mutating eqnarray to display formula.
659 2001-07-09 Juergen Vigna <jug@sad.it>
661 * formulabase.C (mathDispatchCreation): don't do anything with the
662 inset if it cannot be inserted!
664 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
666 * formulabase.C (mathDispatchInsertMath): remove bogus return
669 2001-07-09 André Pönitz <poenitz@gmx.net>
671 * math_*inset.C: Change order of arguments in MathInset constructor
673 * math_cursor.C: Remove broken "increase space" feature for a while
675 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
677 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
679 2001-07-04 André Pönitz <poenitz@gmx.net>
681 * math_parser.C: fix reading of "unusual" alpha chars
683 * xarray.[hC]: fix debug output of xarray
685 2001-07-03 André Pönitz <poenitz@gmx.net>
687 * math_parser.C: fix bug where equations did not get their labels
689 * formulabase.C: new feature: changing font on selection
691 * several files: subsequent changes
693 * array.C: fix bug when insets have not been cloned properly
694 This should fix quite a few "random" crashes...
696 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
698 * formulabase.C (localDispatch): use .c_str() on istringstream
699 constructor argument.
701 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
703 * math_grid.C (addCol): add second argument to cellinfo_.insert.
704 Cleanup a bit the code.
705 (appendRow): do not call push_back without argument.
707 * *.C: remove all "using namespace std" directives (not
708 good!!) and replaced it with relevant "using" directives.
710 * math_macrotemplate.C (Clone): change return type to MathInset*
712 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
714 * math_sizeinset.C: include support/LOstream.h
716 * math_scriptinset.C (Metrics): std:: qualify max
718 * math_root.C (Metrics): std:: qualify max
719 (Write): std:: qualify ostream
722 * math_matrixinset.C (getLabelList): std:: qualify vector
724 (Metrics): std:: qualify max
725 (header_write): std:: qualify ostream
726 (footer_write): ditto
728 * math_macrotemplate.C (Write): std:: qualify ostream
730 * math_bigopinset.C (Metrics): std:: qualify max, and include
733 * math_matrixinset.h: include vector and std:: qualify it.
735 * array.C (GetInset): get a pointer to the first element of bf_
738 2001-06-25 The LyX Project <Asger>
740 * math_scriptinset.C: Fix for entering with cursor up/down.
742 * math_fracinset.C: We can enter fractions with cursor up and
745 * math_cursor.C (Right): Fixes for cursor movement.
747 * formula.C (draw): New background color for math.
749 * math_cursor.C: Fixes for toggling labels on/off in math.
750 Fixes for infinity and other symbols that didn't appear in
753 2001-06-24 The LyX Project <Asger>
755 * math_inset.C: Cursor movement is better in square roots, among
758 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
759 cursor up/down movement. What not.
761 2001-06-24 The LyX Project <Asger>
763 * math_matrixinset.C: Hidden labels are hidden, unless a small
764 dragon jumps out of the screen, and pronounce them to the entire
767 2001-06-24 The LyX Project <Easter egg>
769 * math_cursor.C: Cursor improvements after a few dead-ends
770 in the evolution of cursor movement were tested and scrapped.
772 2001-06-24 The LyX Project <Asger>
774 * math_cursor.C: Renamed stack to path.
776 2001-06-24 The LyX Project <André>
779 Makefile.am: The Big Patch
780 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
781 new MathScriptInset for up/down stuff;
782 delete MathIter/MatXIter, MathParInset, MathRowSt
783 Changes to the inset inheritance tree, reunification of abstract math
785 label/numbering handling back to life;
786 major changes to the parser(s);
787 new base class FormulaBase for the two math LyXInsets;
788 general cleanup and cosmetic changes)
790 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
793 * math_root.C: removed // -*- C++ -*- as first line.
795 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
797 * array.C: bring memmove into main namespace if necessary
799 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * math_parser.C (yylex): use contains instead of strchr
802 (parse_align): remove last arg, change to take string const & as
804 (mathed_parse): use string for ar2 and ar, adjust
806 * math_decorationinset.C (Write): use compare instead of strcmp
808 * formula.C (LocalDispatch): change arg2 to string, adjust for this
809 (LocalDispatch): add std::
810 (LocalDispatch): use contains instead of strchr
812 * array.C (move): add std::
814 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
816 * matriz.C: add using directives when needed for C functions
817 declared in std:: namespace.
819 * math_macrotemplate.h: do not use explicitely std::string, but
822 * math_macroarg.C: avoid bringing the whole std:: namespace in
823 global-land. When you do that, there is an ambiguity between
824 lyxstring and std::string (which may be defined at the same time).
826 * formula.C (HandleExtern): add .c_str() to .str() (useful when
829 2001-04-27 André Pönitz <poenitz@gmx.net>
831 * math_parser.C: fix \frac handling bug introduced on 04-24
832 * math_xiter.C: hotfix for merging "shared" insets
833 * formula.C: fixing display after using math-insert
835 2001-04-25 André Pönitz <poenitz@gmx.net>
837 * math_*.[Ch]: WriteNormal
838 * formula.C: Support for new "math extern" command
839 * math_parser.C: fix \frac handling bug introduced on 04-24
840 * math_xiter.C: hotfix for merging "shared" insets
842 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
844 * math_macrotable.C: include <iostream>
846 2001-04-24 André Pönitz <poenitz@gmx.net>
849 * math_macrotable.[Ch]:
850 * math_macroarg.[Ch]: restructuring of macro handling
853 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
855 * array.h (operator<<):
856 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
858 * math_macrotable.C: added using std::make_pair directive.
859 (dump): added using std::cerr directive here as I guess that this is
862 2001-04-20 Allan Rae <rae@lyx.org>
864 * formula.C (LocalDispatch): fixed another #warning. Guess who.
866 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
868 * math_macrotemplate.h: inherit privately from noncopyable
870 * math_macro.C (Metrics): reindent, use unsigned int as loop var
871 (setArgumentIdx): change test to avoid unsigned warning
873 * formula.C (LocalDispatch): use LFUN_MESSAGE
875 2001-04-16 Allan Rae <rae@lyx.org>
877 * formula.C (Latex, getLabelList, LocalDispatch):
878 * math_parser.C (mathed_parse):
879 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
880 an unrecognised preprocessor directive. So ensure they're wrapped.
882 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
884 * formula.C (draw): adjust for cursor_visible
885 (ToggleInsetCursor): adjust for cursor_visible and constify asc
887 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
888 (HideInsetCursor): adjust for cursor_visible
889 (LocalDispatch): constify default_label and res
891 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
893 * math_rowst.C: add missing #include <config.h>.
895 2001-03-16 André Pönitz <poenitz@gmx.net>
897 * math_matrixinset.h:
898 * math_parinset.[Ch]:
899 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
901 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
909 * math_symbols.C: maths panel moved to GUII
911 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
913 * math_cursor.C: use lyxerr instead of cerr.
915 2001-03-15 André Pönitz <poenitz@gmx.net>
917 * math_cursor.C: fix bug (cursor was leaving two insets at a time
920 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
922 * math_macrotable.h: noncopyable is in namespace boost
923 * math_macrotemplate.h: ditto
925 * math_rowst.h: make MathedRowContainer::iterator public.
927 2001-03-15 André Pönitz <poenitz@gmx.net>
929 * math_parser.C: read '\nonumber' again (was broken)
931 * math_rowst.C: new file
933 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
935 * math_cursor.C: added using directive.
937 2001-03-15 André Pönitz <poenitz@gmx.net>
939 * math_rowst.h: Finally remove MathedRowSt
942 math_xiter.C: changed accordingly
944 2001-03-12 André Pönitz <poenitz@gmx.net>
946 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
947 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
949 2001-03-10 André Pönitz <poenitz@gmx.net>
952 math_matrixinset.C: move adjustVerticalSt to the only place where
953 it is used. Fix a small bug where the cached row structure and the
954 actual data get out of sync after the deletion of whole rows
956 2001-03-09 André Pönitz <poenitz@gmx.net>
958 * math_cursor.C: use std::vector<> in MathStackXIter
959 change selstk from a pointer to the "real thing"
961 * math_rowst.h: new MathedRowContainer::erase method
963 * math_xiter.C: use MathedRowContainer::erase
965 * math_parser.C: use MathedRowContainer::insert_after
967 2001-03-08 André Pönitz <poenitz@gmx.net>
969 * math_rowst.h: give MathedRowContainer an 'insert' method.
971 * math_xiter.C: new 'container()' method to encapsulated access to
972 the MathParInset's MathedRowContainer
974 * math_rowst.h: proper copy constructor and destructor for
977 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
978 automatically created by the compiler are ok now.
980 2001-03-06 André Pönitz <poenitz@gmx.net>
982 * array.[Ch]: factor out deep_copy,
983 remove third argument from raw_pointer_insert
985 * math_iter.[Ch]: remove unused function Clear()
987 * math_cursor.C: change signature of MathStackXIter:push()
990 * math_rowst.h: introduction of MathRowContainer
991 several files: corresponding changes
993 2001-03-04 André Pönitz <poenitz@gmx.net>
995 * math_macrotemplate.[Ch]:
996 math_macro.C: move update() functionality to the macro
998 * math_rowst.h: split MathedRowSt into "data" and "list"
1000 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1002 * math_macrotemplate.C (update): use MathMacro::getArg, and
1003 receive a const reference.
1004 (getMacroPar): add an Assert
1006 * math_macrotemplate.h: make MathMacro a friend, make update take
1009 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
1010 and store a MathMacroArgument in the vector
1011 * math_macro.C: changes because of the above.
1012 (getArg): new method
1014 * math_parser.C (mathed_parse): plug potential leak
1016 * math_iter.h: add comment on virtual destructor
1018 * math_iter.C (Delete): make c const
1020 * math_parinset.C (Metrics): cleanup indent. make one string const.
1022 * math_inset.C (size): move out of line
1025 * math_macroarg.h: remove default constructor
1027 * math_macroarg.C: include Lsstream.h instead of debug.h
1028 (MathMacroArgument): remove default constructor
1029 (Write): add std:: on ostream arg
1031 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1034 * formula.C: make DEBUG into lyxerr
1036 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1038 * math_macrotemplate.h: make noncopyable, remove last arg to
1039 constructor, remove flags_ add edit_
1040 (flags): remove method
1042 * math_macrotemplate.C (setArgument): delete method
1043 (update): make idx const
1044 (Metrics): use edit_, remove flags_
1045 (draw): use edit_, remove flags_
1046 (setEditMode): set edit_, remove flags_
1047 (MathMacroTemplate): initialize edit_, remove flags_
1049 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
1050 shared_ptr, let constructor take a shared_ptr
1052 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
1054 (draw): remove unneded update, remove removed update of x,y
1055 (GetXY): call tmplates GetMacroXY directly
1056 (SetFocus): call Metrics() instead of update()
1057 (Write): remove support for math macro environments, simplifications.
1059 * math_macrotable.h: make class noncopyable, change getMacro to
1060 createMacro, change vector to map store a
1061 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
1063 * math_macrotable.C: add pragma
1064 (createMacro): change name from getMacro, use shared_ptr
1065 (getTemplate): Use map lookup to get macro, return shared_ptr
1066 (addTemplate): assert that m containse a valid pointer, use map[]
1068 (builtinMacros): by using shared_ptr fix the mem leak, remove
1069 commented out unsupported macros
1071 * math_cursor.C: changes because of the above
1072 * math_parser.C: changes because of the abobe
1074 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
1075 default arg on constructor.
1076 * formulamacro.C: changes because of the above
1078 * math_parinset.h: add pragma
1079 (SetAlign): move inline out of class def
1083 (setArgumentIdx): ditto
1084 (setNextArgIdx): ditto
1085 (getArgumentIdx): ditto
1086 (getMaxArgumentIdx): ditto
1091 * math_parinset.C: add pragma
1092 (Write): change the else clause, lessen depth
1094 * math_macroarg.h: small whitespace change
1096 * array.C: include support/LOstream.h add using ostream and endl
1098 * array.h (dump): add std:: on ostream
1100 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1102 * math_macrotemplate.h: remove default arg on update
1104 * math_macrotemplate.C (update): add assert and remove noop case.
1106 * formulamacro.C (Read): add comment.
1107 (ascent): remove noop call to MathMacroTemplate
1112 * math_parser.C (mathed_parse): fix another potential problem by
1113 passing a freestanding mathedarray.
1115 * math_root.C (GetData): add const version
1117 * math_parinset.C (~MathParInset): delete
1118 (GetData): add const version
1120 * math_matrixinset.C (MathMatrixInset): delete pointer version,
1121 make it a proper copy constructor instead
1122 (Clone): change acc.
1123 (MathMatrixInset): remvoe default val for m and n
1125 * math_macro.C (GetData): add const version
1127 * math_fracinset.C (GetData): add const version
1129 * math_cursor.C (SelCopy): make p1 and p2 const
1130 (SelCut): make p1 and p2 const
1132 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1133 (LyxCode): move inline out of class
1134 (ConvertFont): ditto
1137 * array.[Ch] (dump): method added for debugging purposes
1139 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1140 mathed_parse when reading a matrix.
1142 * math_spaceinset.[Ch]: add pragma, make variables private add
1143 '_', change order of method definitions.
1145 * math_root.h (~MathRootInset): delete
1146 Change uroot_ to be a real object instead of a pointer
1147 * math_root.C: changes because of the above
1149 * math_macro.C (MathMacro(MathMacro*)): delete constructor
1150 (MathMacro(MathMacro const &)): new copy constructor
1152 * math_inset.h: delete constructor taking a pointer to MathedInset
1153 (size, incSize): move inline method
1155 * math_funcinset.h: add pragma, remove class vars ln and fname,
1156 change protected to private, add '_' to priv vars.
1157 (~MathFuncInset): remove
1159 * math_fracinset.h: make MathParInset den_ a real object and not a
1162 * math_fracinset.C (MathFracInset): clean up, move initalization
1163 to initialization list
1164 (~MathFracInset): remove
1165 (Clone): remove leak
1167 * math_draw.C: delete file
1169 * math_dotsinset.[Ch]: add pragma
1171 * math_bigopinset.h: make protected variables private add '_' to vars.
1173 * math_bigopinset.C: move methods to follow class definition order
1175 * math_accentinset.h (getAccentCode): move inline here
1177 * math_accentinset.C (MathAccentInset): cleanup
1180 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1182 * math_inset.[Ch] (MathedInset): remove method
1184 * Makefile.am (libmathed_la_SOURCES): correct typo
1186 * math_parinset.C (draw): move MathedXiter data(this) up. and
1187 remove it two other places.
1189 * math_macro.C (MathMacro): use array directly, don't use
1190 setArgumentIdx and GetData
1192 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1194 * math_macroarg.C (MathMacroArgument): delete
1195 * math_macro.C (~MathMacro): delete
1196 * math_macrotemplate.C (~MathMacroTemplate): delete
1198 * math_decorationinset.[Ch]: add pragma
1199 * math_deliminset.[Ch]: likewise
1200 * math_fracinset.[Ch]: likewise
1201 * math_macroarg.[Ch]: likewise
1202 * math_macrotemplate.[Ch]: likewise
1203 * math_matrixinset.[Ch]: likewise
1205 * formulamacro.C (Read): set contents of tmacro_ to ar.
1207 * formulamacro.h: add '_' to private variables.
1208 * formalamacro.C: changes because of this.
1210 2001-02-23 Juergen Vigna <jug@sad.it>
1212 * formula.C (LocalDispatch): changed action to be a kb_action (as it
1213 should be) and not an int.
1215 * formulamacro.C (LocalDispatch): ditto.
1217 2001-02-14 André Pönitz <poenitz@gmx.net>
1219 * math_parinset.[Ch]: make array a real MathArray, not just a
1222 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1224 * several files: subsequent changes
1226 * math_cursor.C: make selarray a proper MathArray
1228 * several files: Change "MathedArray *" to "MathedArray &"
1231 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
1233 * array.C (MathedArray): Fix compilation problem.
1235 2001-02-14 André Pönitz <poenitz@gmx.net>
1237 * array.[Ch]: "deep" copy constructor and assignment operator for
1240 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1242 * math_iter.[Ch]: remove SetData
1243 several files: subsequent changes
1245 2001-02-14 André Pönitz <poenitz@gmx.net>
1247 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
1250 * math_iter.C: default-construct and resize array
1252 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1254 * math_xiter.h: move ipush and ipop to public, add _ on private
1255 variables, move protected var to private, remove friend.
1257 * math_cursor.C (insertInset): rename method from Insert also
1258 remove default arg val. Call the public methods of xiter instead
1259 of private variables.
1261 * changes to several files because of the above.
1263 2001-02-14 André Pönitz <poenitz@gmx.net>
1265 * math_iter.[Ch]: hide fcode_
1267 * math_parinset.C: subsequent changes
1270 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1272 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1275 * math_write.C: delete file
1276 * math_delim.C: delete file
1277 * marh_sqrtinset.h: delete file
1279 * move funcs to more localized files, more general cleanup.
1280 Constify several local vars. Doxygen changes. Formatting.
1282 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
1284 * support.C: add some consts
1286 * matriz.C: clean up a bit.
1287 (matmat): remove the for loop.
1289 * several files: changes so that several friends can be removed
1291 2001-02-14 André Pönitz <poenitz@gmx.net>
1293 * formula.C: reformatting
1297 math_xiter.[Ch]: remove unneeded members
1299 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1303 * formula.C: remove cruft
1305 * array.C (begin): new method
1308 2001-02-14 André Pönitz <poenitz@gmx.net>
1310 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1312 * math_cursor.C: reformatting
1314 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1316 * math_spaceinset.C:
1318 * math_matrixinset.C:
1319 * math_macrotemplate.C:
1323 * math_deliminset.C:
1324 * math_decorationinset.C:
1325 * math_bigopinset.C:
1326 * math_accentinset.C:
1327 * math_sqrtinset.C: include LOstream.h and add using directive.
1329 2001-02-14 André Pönitz <poenitz@gmx.net>
1331 * math_iter.C: reformatting
1333 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1335 * math_spaceinset.C (GetSpace): move here
1337 * math_parinset.C: add debug.h, move several prev. inlined methods
1340 * math_macrotable.C math_xiter.C support.C: add debug.h
1342 * math_macro.h: remove debug.h, remove typedefs
1344 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1347 * math_hash.C: change some defines to int const. change use of
1348 LM_TC_NORMAL to LM_TC_VAR
1350 * math_draw.C: delete file
1352 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1353 forward decls. remove LM_TC_NORMAL, move inline methods to
1354 support.C (and support.h)
1356 * math_cursor.C: move several previous inlined methods here
1358 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1359 math_parinset.h math_spaceinset.h: add math_defs.h
1361 * math_accentinset.h: add support.h and math_defs.h
1363 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1365 * formula.h: remove unused func decl: OpenMathInset
1367 * formula.C math_inset.h: get rid of math_defs.h
1369 * array.h: switch to support.h instead of math_defs.h
1371 * array.C: remove one include
1373 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1375 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1377 * math_parser.C: include macrotable and macrotemplate
1379 * math_macrotemplate.[Ch]: new files
1381 * math_macrotable.[Ch]: new files
1383 * math_macroarg.[Ch]: new files
1385 * math_macro.C: move stuff to the new files.
1387 * math_cursor.C: include math_macrotable.h
1389 * macro_support.[Ch]: new files
1391 * formulamacro.C: add more includes
1393 * Makefile.am (libmathed_la_SOURCES): add new files.
1395 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1397 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1402 * math_parinset.C: add a bunch of "using" directives.
1405 * math_decorationinset.h:
1406 * math_bigopinset.h:
1407 * math_spaceinset.h: remove more couples of inline.
1409 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1411 * math_xiter.h: remove a couple of "inline"
1413 * array.C (strange_copy): fix bug (hopefully)
1414 * many files: add a lot of new files and move methods to the class
1415 files they belong to. Only first attempt at cleanup more will
1418 2001-02-12 André Pönitz <poenitz@gmx.net>
1420 * math_macro.[hC]: replace MathMacroArgument[] with
1421 std::vector<MathMacroArgument>
1423 math_inset.C: replace int[] with std::vector<int>
1425 * math_symbols.C: replace FL_OBJECTP[] with
1426 std::vector<FL_OBJECT*>
1428 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1430 * math_defs.h (struct MathedRowSt): make all private variables end
1431 with '_', initialize in initializer list instead of in function
1434 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1436 * formula.C (LocalDispatch): Change the default action of
1437 break-line to create an align* environment instead of eqnarray*.
1439 * math_inset.C (Metrics): Correct drawing of the multline
1442 2001-02-12 André Pönitz <poenitz@gmx.net>
1444 * array.[hC]: replace private variable maxsize_ with call to
1446 * math_defs.h: replace int[] by std::vector<int> for
1449 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1451 * array.h: made all variables private, removed friend, added new
1452 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1453 non const operator[] added setter for last and getter for maxsize.
1454 changed name from LyxArrayBase to MathedArray.
1455 changed name of some methods to start with lowerchar.
1456 moved inline methods to array.C
1458 * math_iter.C + several file: changes because of the above.
1460 * array.C: new file with the prev inline methods.
1462 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1464 * Many files: add support for the align environment from amsmath.
1466 2001-02-09 André Pönitz <poenitz@gmx.net>
1468 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1469 * several files: subsequent changes
1470 * math_iter.h: remove unused prototype
1473 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1475 * math_macro.C (draw): add .c_str() to .str() (useful when
1476 compiling with lyxstring, but STL sstream).
1479 2001-02-08 André Pönitz <poenitz@gmx.net>
1481 * several files: get rid of reinterpret_cast.
1483 2001-02-04 Allan Rae <rae@lyx.org>
1485 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1486 just casting the variable.
1488 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1490 * Many files: Add support for multline and alignat environments from
1493 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1495 * math_symbols.C (math_insert_greek): Move cursor right when
1496 unlocking the math inset.
1498 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1500 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1502 * formula.C (LocalDispatch): Before inserting a label in an
1503 eqnarray, move the cursor to the top level.
1505 * math_iter.C (getLabel): Test if crow == 0.
1507 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1509 * math_draw.C (Metrics): Use the correct GetString.