1 2002-07-16 Angus Leeming <leeming@lyx.org>
3 * formula.C (ascent, descent, draw): remove the extra pixels
4 required to accommodate the mathed active frame when in Preview mode.
6 2002-07-12 Angus Leeming <leeming@lyx.org>
8 * formula.C: use the new smart loading capabilities of the image loader.
10 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12 * mathformula.C: use Lsstream.h not sstream
14 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
17 * math_factory.C: use lyx_gui::font_available()
19 2002-07-09 Angus Leeming <leeming@lyx.org>
22 * math_scriptinset.h: remove class:: from method declaration.
25 * math_envinset.C: #include "LOstream.h"
27 2002-07-05 Angus Leeming <leeming@lyx.org>
29 * formula.[Ch] (generatePreview): instantiate new virtual method.
30 Strip out the preliminary preview code and replace with code that
31 makes full use of the graphics/Preview* files. Hide all the shenanigans
32 behind a PreviewImpl firewall.
34 * math_nestinset.C (notifyCursorLeaves): update the preview using the
35 new graphics/Preview* code.
37 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
39 * formulabase.C: ws changes
40 * formula.C: ws changes
42 2002-07-01 Geof Piroux
44 * math_ex*.[Ch] et al: support for Mathematica as CAS backend
46 2002-06-28 Angus Leeming <leeming@lyx.org>
48 * preview.h (preview): don't pass grfx::GraphicPtr & anymore.
50 2002-06-24 André Pönitz <poenitz@gmx.net>
52 * math_parser.C: remove "remove seemingly unneeded {} hack"
54 2002-06-26 Angus Leeming <leeming@lyx.org>
56 * formula.C: use lyxerr, not cerr.
58 2002-06-24 André Pönitz <poenitz@gmx.net>
60 * *.[Ch]: left over changes from Porto
62 * math_gridinset.C (eolString): fix #456
64 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
66 * formula.C: use repaint()
68 2002-06-16 André Pönitz <poenitz@gmx.net>
71 * math_support.C: fix font fall-back
73 * math_specialcharinset.[Ch]:
74 * math_funcliminset.[Ch]: remove, it's now done by MathSymbolInset
76 * math_funcinset.[Ch]: remove, it's not used
78 2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * math_extern.C: add using std::endl
82 2002-06-15 LyX Development team <lyx@rilke>
85 * macroformula.[Ch] (docbook): Added argument to care about the
86 pernicious mixed content.
88 2002-05-30 André Pönitz <poenitz@gmx.net>
91 * formulabase.C: parser changes to 'everything might be a table'
93 2002-05-31 Dekel Tsur <dekelts@tau.ac.il>
95 * math_hullinset.C (ams): Do a real check.
97 2002-05-30 André Pönitz <poenitz@gmx.net>
99 * *.[Ch]: "fonts as inset"
101 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
103 * switch from SigC signals to boost::signals.
105 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
109 * math_inset.h: use mouse_state. Kill insetKeyPress
111 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
113 * math_support.C: font loader moved
115 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
122 * math_unknowninset.C: new name for font metrics
124 2002-05-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
126 * math_autocorrect.C: include vector and add a using statement.
128 2002-05-23 André Pönitz <poenitz@gmx.net>
130 * math_autocorrect.[Ch]: new "auto correction" feature
131 * math_cursor.[Ch]: subsequent changes
132 * math_parser.C: somewhat better error reporting
134 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
137 * formulabase.C: LyXView moved into frontends/
139 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
144 * math_binaryopinset.C:
153 * math_macrotemplate.C:
157 * math_stringinset.C:
159 * math_unknowninset.C:
161 * math_xyarrowinset.C: move Painter to frontends/
163 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
165 * math_exintinset.C: use more specific smart_ptr header.
167 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
169 * math_cursor.C: clear selection on paste (bug 393)
171 2002-05-15 André Pönitz <poenitz@gmx.net>
173 * formulabase.[Ch]: mark buffer as (Changed) after font changes
175 2002-05-13 André Pönitz <poenitz@gmx.net>
177 * math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
179 2002-05-13 André Pönitz <poenitz@gmx.net>
181 * math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
183 2002-04-24 Juergen Vigna <jug@sad.it>
185 * formulabase.C (insetButtonPress): set the mathcursor in case we
186 don't have one. This happens when clicking on a non locked mathed
187 inset with any button != 1.
188 (insetButtonPress): Forgot about this the Panel should NEVER be
189 opened in a Press event ONLY in the Release event!
191 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
193 * formulabase.C (localDispatch): merge the cases for
194 LFUN_PROTECTEDSPACE and LFUN_MATH_SPACE, since they were identical.
196 2002-04-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
198 * formulabase.C (localDispatch): handle arguments of
199 LFUN_MATH_DELIM better.
201 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
203 * formulabase.C: remove unused variables hack_x, hack_y, hack_button.
205 2002-04-02 Allan Rae <rae@lyx.org>
207 * math_cursor.C (info): make it work with lyxstring and std::string
209 2002-03-12 André Pönitz <poenitz@gmx.net>
211 * math_cursor.C: fix some Up/Down "issues"
213 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
215 * most files: ws cleanup
217 * Makefile.am: remove ld -r stuff
219 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
221 * Makefile.am: special rules if partial linking
223 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
225 * math_charinset.C: wrap the std::strchr declaration inside a
226 check for CXX_GLOBAL_CSTD.
228 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
230 * math_biginset.[Ch] (size): return size_type, not int.
232 * math_inset.C (metrics): parameter "mi" is never referenced. Removed.
233 * math_hullinset.C (metrics): ditto.
236 2002-03-12 André Pönitz <poenitz@gmx.net>
238 * math_xarray.[Ch] et al: really use metrics cache if possible...
240 2002-03-07 Martin Vermeer <martin.vermeer@hut.fi>
242 * math_decorationinset.C: add leftrightarrows to the displayable
245 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
247 * formula.C Changes due to the renaming of support/syscall.[Ch]
248 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
250 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
252 * formula.C: change Systemcalls::System to Systemcalls::Wait and
253 No change of functionality, just reflects the stripped down Systemcalls
256 2002-02-08 André Pönitz <poenitz@gmx.net>
258 * math_support.[Ch]: some support for \dddot
260 2002-02-08 Otto Tronarp <otttr440@student.liu.se>
262 * math_decorationinset.C:
266 * math_hash.C: Added \underrightarrow and \underleftarrow
268 2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
270 * formulabase.C (localDispatch): fix umlaut handling
272 * formulabase.C: pop up math panel on right mouse click
274 2002-02-01 André Pönitz <poenitz@gmx.net>
276 * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
278 2002-02-01 André Pönitz <poenitz@gmx.net>
280 * math_xymatrixinset.[Ch]: some support for \xymatrix
282 2002-02-01 André Pönitz <poenitz@gmx.net>
284 * math_undersetinset.[Ch]: implement direct support for \underset
286 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
288 * math_support.C: removed the arrays latex_mathstyle[] and
289 latex_mathfontcmds[] to the frontends.
291 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
293 * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
295 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
297 * math_factory.C (createMathInset): add a default: label in switch
299 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
301 * formulabase.[Ch] (searchForward, searchBackward): change the
302 bool const & params to bool.
304 2002-01-14 Martin Vermeer <martin.vermeer@hut.fi>
305 * math_macrotable.C: added macros for Blackboard Bold,
306 Calligraphic symbols support in mathed. Kludge.
308 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
310 * math_mathmlstream.C (operator<<): use lyx::count rather than
313 * math_streamstr.C (operator<<): ditto.
315 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
317 * math_support.C: change latex_mathfontcmds to an array of
320 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
322 * math_exfuncinset.C: remove using std::ostream declaration.
324 * math_kerninset.C: whitespace change, consistent with other files.
326 * math_mathmlstream.C (operator<<):
327 * math_streamstr.C (operator<<): use countChar rather than std::count.
329 * math_parser.C (operator==): comment out. Not used.
331 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
333 * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
335 * math_support.C: separate string arrays for math style and for
338 2002-01-10 Dekel Tsur <dekelts@tau.ac.il>
340 * math_parser.C (parse_normal): Support for \begin{math}
342 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
344 * math_hullinset.C (validate): rename feature "amsstyle" to
347 2002-01-09 Martin Vermeer <martin.vermeer@hut.fi>
349 * math_support.C: modified to support a mathed pop-up for math
350 size "styles" and font types.
352 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
354 * math_defs.h: remove trailing comma from enum MathTextCodes.
356 2002-01-03 André Pönitz <poenitz@gmx.net>
358 * formulabase.[Ch]: implement simple search
360 * math_sizeinset.[Ch]: support for \displaystyle etc
362 2001-12-18 Dekel Tsur <dekelts@tau.ac.il>
364 * math_macrotable.C (builtinMacros): Adjust kern values.
366 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
369 * math_binaryopinset.C:
374 * math_diminset.C:add missing config.h
377 * math_parser.C: move inludes around a bit.
379 * math_extinset.C: user boost::scoped_ptr
381 * math_parser.C: user std::fill to fill the catcodes. (please
382 check this one...), and some consts.
384 2001-12-11 André Pönitz <poenitz@gmx.net>
386 * math_cursor.C: allow cut&paste of rectangular regions of cells
388 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
390 * math_kerninset.C (metrics): Consider lyxrc.zoom
392 2001-12-14 Dekel Tsur <dekelts@tau.ac.il>
394 * math_support.C: Fix handling of \mathfrak font.
396 2001-12-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
398 * math_iterator.C (nextInset): compilation fix.
400 2001-12-11 André Pönitz <poenitz@gmx.net>
404 * math_hash.C: support for \mathfrak
406 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
408 * math_streamstr.C: #include <iostream> to compile with DEC cxx
410 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
414 * math_decorationinset.C:
417 * math_exfuncinset.C:
420 * math_funcliminset.C:
425 * math_stringinset.C:
426 * math_symbolinset.C:
427 * math_unknowninset.C: include math_streamstr.h and remove
430 * math_symbolinset.[Ch]: add constructor taking string
432 * math_mathmlstream.C: move includes around
434 * math_streamstr.[Ch]: add operator<<(Stream, string) for
435 NormalStream, MapleStream, MathMLStream and OctaveStream
437 * math_gridinset.C: user LyXLength::zero
439 2001-11-19 Angus Leeming <a.leeming@ic.ac.uk>
442 * math_arrayinset.C: add using std::getline directive.
444 2001-11-20 André Pönitz <poenitz@gmx.net>
446 * formulabase.C: fix mouse positioning using the cursor
448 2001-11-19 Dekel Tsur <dekelts@tau.ac.il>
450 * math_mathmlstream.C (operator<<): Count '\n' chars
452 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
455 * math_hullinset.C: Fixes to use the new LaTeXFeatures
458 2001-11-07 André Pönitz <poenitz@gmx.net>
460 * math_extern.C: support for integrals, sums, e^x, and d/dx
462 2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
464 * math_extern.C (extractNumber):
465 (extractDiffExponent): add ugly .c_str()
467 2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * math_arrayinset.C (MathArrayInset):
470 * formula.C (pipeThroughMaple):
471 (pipeThroughOctave): add ugly .c_str() to help compile
474 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
476 * math_inset.C: compilation fix
478 2001-11-07 André Pönitz <poenitz@gmx.net>
481 * array.[Ch]: start native C++ support for Octave, Maple and MathML
483 2001-10-31 Angus Leeming <a.leeming@ic.ac.uk>
485 * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
487 2001-10-24 Angus Leeming <a.leeming@ic.ac.uk>
489 * math_nestinset.C: added using std::max, min directives.
490 * math_scriptinset.C: added using std::ostream directive.
491 * math_scriptinset.h: replaced ostream with std::ostream.
493 2001-10-17 André Pönitz <poenitz@gmx.net>
495 * math_*inset.[Ch]: remove MathStyles cache from insets that
499 formulabase.C: fix math font sizes in headings etc
502 formula.C: remove unused static member int MathInset::workwidth
504 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
506 2001-10-17 André Pönitz <poenitz@gmx.net>
509 * *.[Ch]: make output more stream-like
511 2001-10-17 André Pönitz <poenitz@gmx.net>
514 * array.C: add missing/broken writeNormal()
516 * math_lefteqn.[Ch]: some visual support for \lefteqn
519 2001-10-10 André Pönitz <poenitz@gmx.net>
521 * math_cursor.C: introduce dummy "inner" position "between"
522 nucleus and scripts for smoother cursor movement
524 * math_cursor.C: use red dot to indicate empty nucleus
527 2001-10-02 André Pönitz <poenitz@gmx.net>
529 * math_cursor.C: leave red backslash as visual clue
530 in formula when typing macro names
532 * math_macrotemplate.C: sanity check
534 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * formula.C (localDispatch): fix a few of local variable sizes
539 * math_fracbase.C: change parameter types to match MathInset
541 2001-10-01 André Pönitz <poenitz@gmx.net>
543 * math_cursor.[Ch]: remove local parInset() method
545 * math_macro.C: add a static_cast
547 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
549 * math_cursor.C: fix type mismatches with what was declared in
552 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
554 * math_matrixinset.C (header_write): Add \n after \begin{align}
556 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
558 * math_macrotable.C (builtinMacros): Add some macros if latex
561 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
563 * formula.C (insetAllowed): disallow label insertion in inline
566 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
568 * formulabase.C (mathDispatchCreation): pass second argument
569 'false' (no label) to selectionAsString
571 2001-09-11 André Pönitz <poenitz@gmx.net>
573 * math_atom.[Ch]: new basic item in the MathArray
575 * array.[Ch]: move code over to math_atom
577 * math_scriptinset.[Ch]:
579 math_cursor.C: try to do with super- and subscripts what TeX does
581 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
585 2001-09-04 André Pönitz <poenitz@gmx.net>
589 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
590 'xxalignt', 'gather' and 'multiline' environments
592 * math_cursor.C: fix handling of | and \|
594 2001-09-04 José Matos <jamatos@fep.up.pt>
601 * formulamacro.h (docbook): rename docBook method to docbook.
603 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
605 * math_hash.C (ReadSymbols): Check for duplicate symbols
607 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
609 * support.C: added a using std::map directive.
611 2001-08-17 André Pönitz <poenitz@gmx.net>
613 * math_hash.C: Use std::map instead of faking it
615 * symbol_def.h: remove unneeded symbol definitions
617 * support.C: use the decorations' name for drawing
619 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
621 * math_hash.C (in_word_set): Initialize symbol table even when
622 symbols file was not found.
624 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
626 * math_hash.C: added a using std::endl directive.
628 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
630 * support.C (whichFont): Add support for cmr font.
631 Add support for \mathbb.
633 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
635 * math_macrotable.C (builtinMacros): Add 3 builtin macros
637 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
639 * math_hash.C: Read symbols information from external file
640 many files: Add support for latex symbol fonts
642 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
644 * math_parser.C (Parser): Eat spaces after \end_inset
646 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
648 * math_parser.C (tokenize): fix typo
650 2001-08-17 André Pönitz <poenitz@gmx.net>
652 * math_parser.C: new "lexxer"
654 * array.C: write sequences of chars with same code as a unit
656 2001-08-13 André Pönitz <poenitz@gmx.net>
658 * math_factory.[Ch]: new files for the creation of math insets
662 math_hash.C: simplifications
664 * math_binom.[Ch]: new files for "native" \binom/\choose inset
667 math_cursor.C: reading support for TeX style \over and \choose
669 * formulabase.C: re-enabling the "selected text gets converted to
670 math when pressing C-m" feature.
672 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
674 * math_parser.C (lexArg): remove default argument from the .C file
675 as it causes DEC cxx to complain about a redefinition.
677 2001-08-10 André Pönitz <poenitz@gmx.net>
679 * math_scopeinset.[Ch]: new inset for {} blocks
681 * math_accentinset.[Ch]: removed unneeded files
684 math_matrix.[Ch]: start support for "interrow spacing"
686 * all over the place: rework of parser stuff
688 2001-08-08 André Pönitz <poenitz@gmx.net>
690 * math_fracbase.[Ch]:
691 * math_fracinset.[Ch]: new hierarchy
693 * math_stackrelbase.[Ch]: native \stackrel support
695 * math_inset.[Ch]: removal of the name_ member
697 * math_deliminset.[Ch]: rework
699 2001-08-06 André Pönitz <poenitz@gmx.net>
701 * formulamacro.C: fix nasty bug due to missing copy constructor
703 * math_bigopinset.[Ch]: revival for things like \int, \sum
705 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
707 * math_diminset.h: make cache variables mutable, remove const_cast
709 * formulabase.[Ch]: remove unneeded convertFont()
711 * math_funcinset.[Ch]: bring red color back
713 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
714 inset to the mcaro table
716 2001-08-01 André Pönitz <poenitz@gmx.net>
719 formulamacro.C: fix memory leaks
721 * math_matrixinset.C: fix mis-alignment of eqnarray columns
723 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
724 MathMatrixInset * and MathMacroTemplate * to save a few casts
726 * all over the place: everything is an inset now
728 * math_nestinset.[Ch]: new abstract base class for insets containing
731 * math_diminset.[Ch]: new abstract base class for insets that need
732 the width_/ascent_/descent_ cache
734 2001-07-25 André Pönitz <poenitz@gmx.net>
736 * formulabase.C: re-enable 'space enlargement' feature
738 * math_scriptinset.C:
739 math_bigopinset.C: rework of script insets
741 2001-07-22 André Pönitz <poenitz@gmx.net>
743 * math_cursor.C: fix "pullArg" behaviour
745 * math_cursor.C: keep empty super/subscript a bit longer
747 * math_cursor.C: do not move into insets that don't have inner cells yet
749 * formulabase.C: fix memory leak
751 * math_cursor.C: ^ now copies selection into new srriptinset
753 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
756 * math_updowninset.C: fix drawing glitches
758 * math_cursor.C: paste to correct position
760 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * formula.C (insetAllowed): allow insertion of label
764 2001-07-20 André Pönitz <poenitz@gmx.net>
766 * math_macrotable.C: support for \land and \vee
768 2001-07-16 André Pönitz <poenitz@gmx.net>
770 * math_grid.[Ch] -> math_gridinset.[Ch]
771 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
773 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
774 fix 'mathed reports wrong width', cosmetics
776 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
778 * math_cursor.C (operator==): moved ouf of struct
780 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
782 2001-07-16 André Pönitz <poenitz@gmx.net>
784 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
786 * several files: supporting changes
788 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
790 Consistent use of Lsstream.h:
791 * formula.C: removed using std::ostringstream directive.
793 * math_cursor.C: std::istringstream -> istringstream.
795 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
797 * math_decorationinset.h: add std:: qualifier
799 2001-07-12 André Pönitz <poenitz@gmx.net>
801 * math_updowninset.[hC]: new base class for script and bigop insets
802 *.[hC]: subsequent changes to all Metric() functions
804 * math_parser.C: small changes (\sqrt0 is read properly now)
806 2001-07-10 André Pönitz <poenitz@gmx.net>
808 * math_accentinset.[hC]: rewrite
811 math_cursor.C: subsequent changes
813 * math_grid.C: <Delete> in the first cell of a completely empty row
814 deletes that row, <C-Return> places the cursor in the first of the
817 * math_grid.C: try to split cell nicely when mutating from single-cell
818 to multi-cell environment
820 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
822 * math_matrixinset.C (mutate): Use only the first label when
823 mutating eqnarray to display formula.
825 2001-07-09 Juergen Vigna <jug@sad.it>
827 * formulabase.C (mathDispatchCreation): don't do anything with the
828 inset if it cannot be inserted!
830 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
832 * formulabase.C (mathDispatchInsertMath): remove bogus return
835 2001-07-09 André Pönitz <poenitz@gmx.net>
837 * math_*inset.C: Change order of arguments in MathInset constructor
839 * math_cursor.C: Remove broken "increase space" feature for a while
841 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
843 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
845 2001-07-04 André Pönitz <poenitz@gmx.net>
847 * math_parser.C: fix reading of "unusual" alpha chars
849 * xarray.[hC]: fix debug output of xarray
851 2001-07-03 André Pönitz <poenitz@gmx.net>
853 * math_parser.C: fix bug where equations did not get their labels
855 * formulabase.C: new feature: changing font on selection
857 * several files: subsequent changes
859 * array.C: fix bug when insets have not been cloned properly
860 This should fix quite a few "random" crashes...
862 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
864 * formulabase.C (localDispatch): use .c_str() on istringstream
865 constructor argument.
867 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
869 * math_grid.C (addCol): add second argument to cellinfo_.insert.
870 Cleanup a bit the code.
871 (appendRow): do not call push_back without argument.
873 * *.C: remove all "using namespace std" directives (not
874 good!!) and replaced it with relevant "using" directives.
876 * math_macrotemplate.C (Clone): change return type to MathInset*
878 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
880 * math_sizeinset.C: include support/LOstream.h
882 * math_scriptinset.C (Metrics): std:: qualify max
884 * math_root.C (Metrics): std:: qualify max
885 (Write): std:: qualify ostream
888 * math_matrixinset.C (getLabelList): std:: qualify vector
890 (Metrics): std:: qualify max
891 (header_write): std:: qualify ostream
892 (footer_write): ditto
894 * math_macrotemplate.C (Write): std:: qualify ostream
896 * math_bigopinset.C (Metrics): std:: qualify max, and include
899 * math_matrixinset.h: include vector and std:: qualify it.
901 * array.C (GetInset): get a pointer to the first element of bf_
904 2001-06-25 The LyX Project <Asger>
906 * math_scriptinset.C: Fix for entering with cursor up/down.
908 * math_fracinset.C: We can enter fractions with cursor up and
911 * math_cursor.C (Right): Fixes for cursor movement.
913 * formula.C (draw): New background color for math.
915 * math_cursor.C: Fixes for toggling labels on/off in math.
916 Fixes for infinity and other symbols that didn't appear in
919 2001-06-24 The LyX Project <Asger>
921 * math_inset.C: Cursor movement is better in square roots, among
924 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
925 cursor up/down movement. What not.
927 2001-06-24 The LyX Project <Asger>
929 * math_matrixinset.C: Hidden labels are hidden, unless a small
930 dragon jumps out of the screen, and pronounce them to the entire
933 2001-06-24 The LyX Project <Easter egg>
935 * math_cursor.C: Cursor improvements after a few dead-ends
936 in the evolution of cursor movement were tested and scrapped.
938 2001-06-24 The LyX Project <Asger>
940 * math_cursor.C: Renamed stack to path.
942 2001-06-24 The LyX Project <André>
945 Makefile.am: The Big Patch
946 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
947 new MathScriptInset for up/down stuff;
948 delete MathIter/MatXIter, MathParInset, MathRowSt
949 Changes to the inset inheritance tree, reunification of abstract math
951 label/numbering handling back to life;
952 major changes to the parser(s);
953 new base class FormulaBase for the two math LyXInsets;
954 general cleanup and cosmetic changes)
956 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
959 * math_root.C: removed // -*- C++ -*- as first line.
961 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
963 * array.C: bring memmove into main namespace if necessary
965 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
967 * math_parser.C (yylex): use contains instead of strchr
968 (parse_align): remove last arg, change to take string const & as
970 (mathed_parse): use string for ar2 and ar, adjust
972 * math_decorationinset.C (Write): use compare instead of strcmp
974 * formula.C (LocalDispatch): change arg2 to string, adjust for this
975 (LocalDispatch): add std::
976 (LocalDispatch): use contains instead of strchr
978 * array.C (move): add std::
980 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
982 * matriz.C: add using directives when needed for C functions
983 declared in std:: namespace.
985 * math_macrotemplate.h: do not use explicitely std::string, but
988 * math_macroarg.C: avoid bringing the whole std:: namespace in
989 global-land. When you do that, there is an ambiguity between
990 lyxstring and std::string (which may be defined at the same time).
992 * formula.C (HandleExtern): add .c_str() to .str() (useful when
995 2001-04-27 André Pönitz <poenitz@gmx.net>
997 * math_parser.C: fix \frac handling bug introduced on 04-24
998 * math_xiter.C: hotfix for merging "shared" insets
999 * formula.C: fixing display after using math-insert
1001 2001-04-25 André Pönitz <poenitz@gmx.net>
1003 * math_*.[Ch]: WriteNormal
1004 * formula.C: Support for new "math extern" command
1005 * math_parser.C: fix \frac handling bug introduced on 04-24
1006 * math_xiter.C: hotfix for merging "shared" insets
1008 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
1010 * math_macrotable.C: include <iostream>
1012 2001-04-24 André Pönitz <poenitz@gmx.net>
1015 * math_macrotable.[Ch]:
1016 * math_macroarg.[Ch]: restructuring of macro handling
1019 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
1021 * array.h (operator<<):
1022 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
1024 * math_macrotable.C: added using std::make_pair directive.
1025 (dump): added using std::cerr directive here as I guess that this is
1028 2001-04-20 Allan Rae <rae@lyx.org>
1030 * formula.C (LocalDispatch): fixed another #warning. Guess who.
1032 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1034 * math_macrotemplate.h: inherit privately from noncopyable
1036 * math_macro.C (Metrics): reindent, use unsigned int as loop var
1037 (setArgumentIdx): change test to avoid unsigned warning
1039 * formula.C (LocalDispatch): use LFUN_MESSAGE
1041 2001-04-16 Allan Rae <rae@lyx.org>
1043 * formula.C (Latex, getLabelList, LocalDispatch):
1044 * math_parser.C (mathed_parse):
1045 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
1046 an unrecognised preprocessor directive. So ensure they're wrapped.
1048 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1050 * formula.C (draw): adjust for cursor_visible
1051 (ToggleInsetCursor): adjust for cursor_visible and constify asc
1053 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
1054 (HideInsetCursor): adjust for cursor_visible
1055 (LocalDispatch): constify default_label and res
1057 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1059 * math_rowst.C: add missing #include <config.h>.
1061 2001-03-16 André Pönitz <poenitz@gmx.net>
1063 * math_matrixinset.h:
1064 * math_parinset.[Ch]:
1065 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
1067 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
1075 * math_symbols.C: maths panel moved to GUII
1077 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1079 * math_cursor.C: use lyxerr instead of cerr.
1081 2001-03-15 André Pönitz <poenitz@gmx.net>
1083 * math_cursor.C: fix bug (cursor was leaving two insets at a time
1086 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1088 * math_macrotable.h: noncopyable is in namespace boost
1089 * math_macrotemplate.h: ditto
1091 * math_rowst.h: make MathedRowContainer::iterator public.
1093 2001-03-15 André Pönitz <poenitz@gmx.net>
1095 * math_parser.C: read '\nonumber' again (was broken)
1097 * math_rowst.C: new file
1099 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
1101 * math_cursor.C: added using directive.
1103 2001-03-15 André Pönitz <poenitz@gmx.net>
1105 * math_rowst.h: Finally remove MathedRowSt
1108 math_xiter.C: changed accordingly
1110 2001-03-12 André Pönitz <poenitz@gmx.net>
1112 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
1113 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
1115 2001-03-10 André Pönitz <poenitz@gmx.net>
1118 math_matrixinset.C: move adjustVerticalSt to the only place where
1119 it is used. Fix a small bug where the cached row structure and the
1120 actual data get out of sync after the deletion of whole rows
1122 2001-03-09 André Pönitz <poenitz@gmx.net>
1124 * math_cursor.C: use std::vector<> in MathStackXIter
1125 change selstk from a pointer to the "real thing"
1127 * math_rowst.h: new MathedRowContainer::erase method
1129 * math_xiter.C: use MathedRowContainer::erase
1131 * math_parser.C: use MathedRowContainer::insert_after
1133 2001-03-08 André Pönitz <poenitz@gmx.net>
1135 * math_rowst.h: give MathedRowContainer an 'insert' method.
1137 * math_xiter.C: new 'container()' method to encapsulated access to
1138 the MathParInset's MathedRowContainer
1140 * math_rowst.h: proper copy constructor and destructor for
1143 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
1144 automatically created by the compiler are ok now.
1146 2001-03-06 André Pönitz <poenitz@gmx.net>
1148 * array.[Ch]: factor out deep_copy,
1149 remove third argument from raw_pointer_insert
1151 * math_iter.[Ch]: remove unused function Clear()
1153 * math_cursor.C: change signature of MathStackXIter:push()
1156 * math_rowst.h: introduction of MathRowContainer
1157 several files: corresponding changes
1159 2001-03-04 André Pönitz <poenitz@gmx.net>
1161 * math_macrotemplate.[Ch]:
1162 math_macro.C: move update() functionality to the macro
1164 * math_rowst.h: split MathedRowSt into "data" and "list"
1166 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1168 * math_macrotemplate.C (update): use MathMacro::getArg, and
1169 receive a const reference.
1170 (getMacroPar): add an Assert
1172 * math_macrotemplate.h: make MathMacro a friend, make update take
1175 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
1176 and store a MathMacroArgument in the vector
1177 * math_macro.C: changes because of the above.
1178 (getArg): new method
1180 * math_parser.C (mathed_parse): plug potential leak
1182 * math_iter.h: add comment on virtual destructor
1184 * math_iter.C (Delete): make c const
1186 * math_parinset.C (Metrics): cleanup indent. make one string const.
1188 * math_inset.C (size): move out of line
1191 * math_macroarg.h: remove default constructor
1193 * math_macroarg.C: include Lsstream.h instead of debug.h
1194 (MathMacroArgument): remove default constructor
1195 (Write): add std:: on ostream arg
1197 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
1200 * formula.C: make DEBUG into lyxerr
1202 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1204 * math_macrotemplate.h: make noncopyable, remove last arg to
1205 constructor, remove flags_ add edit_
1206 (flags): remove method
1208 * math_macrotemplate.C (setArgument): delete method
1209 (update): make idx const
1210 (Metrics): use edit_, remove flags_
1211 (draw): use edit_, remove flags_
1212 (setEditMode): set edit_, remove flags_
1213 (MathMacroTemplate): initialize edit_, remove flags_
1215 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
1216 shared_ptr, let constructor take a shared_ptr
1218 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
1220 (draw): remove unneded update, remove removed update of x,y
1221 (GetXY): call tmplates GetMacroXY directly
1222 (SetFocus): call Metrics() instead of update()
1223 (Write): remove support for math macro environments, simplifications.
1225 * math_macrotable.h: make class noncopyable, change getMacro to
1226 createMacro, change vector to map store a
1227 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
1229 * math_macrotable.C: add pragma
1230 (createMacro): change name from getMacro, use shared_ptr
1231 (getTemplate): Use map lookup to get macro, return shared_ptr
1232 (addTemplate): assert that m containse a valid pointer, use map[]
1234 (builtinMacros): by using shared_ptr fix the mem leak, remove
1235 commented out unsupported macros
1237 * math_cursor.C: changes because of the above
1238 * math_parser.C: changes because of the abobe
1240 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
1241 default arg on constructor.
1242 * formulamacro.C: changes because of the above
1244 * math_parinset.h: add pragma
1245 (SetAlign): move inline out of class def
1249 (setArgumentIdx): ditto
1250 (setNextArgIdx): ditto
1251 (getArgumentIdx): ditto
1252 (getMaxArgumentIdx): ditto
1257 * math_parinset.C: add pragma
1258 (Write): change the else clause, lessen depth
1260 * math_macroarg.h: small whitespace change
1262 * array.C: include support/LOstream.h add using ostream and endl
1264 * array.h (dump): add std:: on ostream
1266 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1268 * math_macrotemplate.h: remove default arg on update
1270 * math_macrotemplate.C (update): add assert and remove noop case.
1272 * formulamacro.C (Read): add comment.
1273 (ascent): remove noop call to MathMacroTemplate
1278 * math_parser.C (mathed_parse): fix another potential problem by
1279 passing a freestanding mathedarray.
1281 * math_root.C (GetData): add const version
1283 * math_parinset.C (~MathParInset): delete
1284 (GetData): add const version
1286 * math_matrixinset.C (MathMatrixInset): delete pointer version,
1287 make it a proper copy constructor instead
1288 (Clone): change acc.
1289 (MathMatrixInset): remvoe default val for m and n
1291 * math_macro.C (GetData): add const version
1293 * math_fracinset.C (GetData): add const version
1295 * math_cursor.C (SelCopy): make p1 and p2 const
1296 (SelCut): make p1 and p2 const
1298 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1299 (LyxCode): move inline out of class
1300 (ConvertFont): ditto
1303 * array.[Ch] (dump): method added for debugging purposes
1305 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1306 mathed_parse when reading a matrix.
1308 * math_spaceinset.[Ch]: add pragma, make variables private add
1309 '_', change order of method definitions.
1311 * math_root.h (~MathRootInset): delete
1312 Change uroot_ to be a real object instead of a pointer
1313 * math_root.C: changes because of the above
1315 * math_macro.C (MathMacro(MathMacro*)): delete constructor
1316 (MathMacro(MathMacro const &)): new copy constructor
1318 * math_inset.h: delete constructor taking a pointer to MathedInset
1319 (size, incSize): move inline method
1321 * math_funcinset.h: add pragma, remove class vars ln and fname,
1322 change protected to private, add '_' to priv vars.
1323 (~MathFuncInset): remove
1325 * math_fracinset.h: make MathParInset den_ a real object and not a
1328 * math_fracinset.C (MathFracInset): clean up, move initalization
1329 to initialization list
1330 (~MathFracInset): remove
1331 (Clone): remove leak
1333 * math_draw.C: delete file
1335 * math_dotsinset.[Ch]: add pragma
1337 * math_bigopinset.h: make protected variables private add '_' to vars.
1339 * math_bigopinset.C: move methods to follow class definition order
1341 * math_accentinset.h (getAccentCode): move inline here
1343 * math_accentinset.C (MathAccentInset): cleanup
1346 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1348 * math_inset.[Ch] (MathedInset): remove method
1350 * Makefile.am (libmathed_la_SOURCES): correct typo
1352 * math_parinset.C (draw): move MathedXiter data(this) up. and
1353 remove it two other places.
1355 * math_macro.C (MathMacro): use array directly, don't use
1356 setArgumentIdx and GetData
1358 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1360 * math_macroarg.C (MathMacroArgument): delete
1361 * math_macro.C (~MathMacro): delete
1362 * math_macrotemplate.C (~MathMacroTemplate): delete
1364 * math_decorationinset.[Ch]: add pragma
1365 * math_deliminset.[Ch]: likewise
1366 * math_fracinset.[Ch]: likewise
1367 * math_macroarg.[Ch]: likewise
1368 * math_macrotemplate.[Ch]: likewise
1369 * math_matrixinset.[Ch]: likewise
1371 * formulamacro.C (Read): set contents of tmacro_ to ar.
1373 * formulamacro.h: add '_' to private variables.
1374 * formalamacro.C: changes because of this.
1376 2001-02-23 Juergen Vigna <jug@sad.it>
1378 * formula.C (LocalDispatch): changed action to be a kb_action (as it
1379 should be) and not an int.
1381 * formulamacro.C (LocalDispatch): ditto.
1383 2001-02-14 André Pönitz <poenitz@gmx.net>
1385 * math_parinset.[Ch]: make array a real MathArray, not just a
1388 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1390 * several files: subsequent changes
1392 * math_cursor.C: make selarray a proper MathArray
1394 * several files: Change "MathedArray *" to "MathedArray &"
1397 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
1399 * array.C (MathedArray): Fix compilation problem.
1401 2001-02-14 André Pönitz <poenitz@gmx.net>
1403 * array.[Ch]: "deep" copy constructor and assignment operator for
1406 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1408 * math_iter.[Ch]: remove SetData
1409 several files: subsequent changes
1411 2001-02-14 André Pönitz <poenitz@gmx.net>
1413 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
1416 * math_iter.C: default-construct and resize array
1418 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1420 * math_xiter.h: move ipush and ipop to public, add _ on private
1421 variables, move protected var to private, remove friend.
1423 * math_cursor.C (insertInset): rename method from Insert also
1424 remove default arg val. Call the public methods of xiter instead
1425 of private variables.
1427 * changes to several files because of the above.
1429 2001-02-14 André Pönitz <poenitz@gmx.net>
1431 * math_iter.[Ch]: hide fcode_
1433 * math_parinset.C: subsequent changes
1436 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1438 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1441 * math_write.C: delete file
1442 * math_delim.C: delete file
1443 * marh_sqrtinset.h: delete file
1445 * move funcs to more localized files, more general cleanup.
1446 Constify several local vars. Doxygen changes. Formatting.
1448 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
1450 * support.C: add some consts
1452 * matriz.C: clean up a bit.
1453 (matmat): remove the for loop.
1455 * several files: changes so that several friends can be removed
1457 2001-02-14 André Pönitz <poenitz@gmx.net>
1459 * formula.C: reformatting
1463 math_xiter.[Ch]: remove unneeded members
1465 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1469 * formula.C: remove cruft
1471 * array.C (begin): new method
1474 2001-02-14 André Pönitz <poenitz@gmx.net>
1476 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1478 * math_cursor.C: reformatting
1480 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1482 * math_spaceinset.C:
1484 * math_matrixinset.C:
1485 * math_macrotemplate.C:
1489 * math_deliminset.C:
1490 * math_decorationinset.C:
1491 * math_bigopinset.C:
1492 * math_accentinset.C:
1493 * math_sqrtinset.C: include LOstream.h and add using directive.
1495 2001-02-14 André Pönitz <poenitz@gmx.net>
1497 * math_iter.C: reformatting
1499 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1501 * math_spaceinset.C (GetSpace): move here
1503 * math_parinset.C: add debug.h, move several prev. inlined methods
1506 * math_macrotable.C math_xiter.C support.C: add debug.h
1508 * math_macro.h: remove debug.h, remove typedefs
1510 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1513 * math_hash.C: change some defines to int const. change use of
1514 LM_TC_NORMAL to LM_TC_VAR
1516 * math_draw.C: delete file
1518 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1519 forward decls. remove LM_TC_NORMAL, move inline methods to
1520 support.C (and support.h)
1522 * math_cursor.C: move several previous inlined methods here
1524 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1525 math_parinset.h math_spaceinset.h: add math_defs.h
1527 * math_accentinset.h: add support.h and math_defs.h
1529 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1531 * formula.h: remove unused func decl: OpenMathInset
1533 * formula.C math_inset.h: get rid of math_defs.h
1535 * array.h: switch to support.h instead of math_defs.h
1537 * array.C: remove one include
1539 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1541 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1543 * math_parser.C: include macrotable and macrotemplate
1545 * math_macrotemplate.[Ch]: new files
1547 * math_macrotable.[Ch]: new files
1549 * math_macroarg.[Ch]: new files
1551 * math_macro.C: move stuff to the new files.
1553 * math_cursor.C: include math_macrotable.h
1555 * macro_support.[Ch]: new files
1557 * formulamacro.C: add more includes
1559 * Makefile.am (libmathed_la_SOURCES): add new files.
1561 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1563 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1568 * math_parinset.C: add a bunch of "using" directives.
1571 * math_decorationinset.h:
1572 * math_bigopinset.h:
1573 * math_spaceinset.h: remove more couples of inline.
1575 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1577 * math_xiter.h: remove a couple of "inline"
1579 * array.C (strange_copy): fix bug (hopefully)
1580 * many files: add a lot of new files and move methods to the class
1581 files they belong to. Only first attempt at cleanup more will
1584 2001-02-12 André Pönitz <poenitz@gmx.net>
1586 * math_macro.[hC]: replace MathMacroArgument[] with
1587 std::vector<MathMacroArgument>
1589 math_inset.C: replace int[] with std::vector<int>
1591 * math_symbols.C: replace FL_OBJECTP[] with
1592 std::vector<FL_OBJECT*>
1594 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1596 * math_defs.h (struct MathedRowSt): make all private variables end
1597 with '_', initialize in initializer list instead of in function
1600 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1602 * formula.C (LocalDispatch): Change the default action of
1603 break-line to create an align* environment instead of eqnarray*.
1605 * math_inset.C (Metrics): Correct drawing of the multline
1608 2001-02-12 André Pönitz <poenitz@gmx.net>
1610 * array.[hC]: replace private variable maxsize_ with call to
1612 * math_defs.h: replace int[] by std::vector<int> for
1615 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1617 * array.h: made all variables private, removed friend, added new
1618 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1619 non const operator[] added setter for last and getter for maxsize.
1620 changed name from LyxArrayBase to MathedArray.
1621 changed name of some methods to start with lowerchar.
1622 moved inline methods to array.C
1624 * math_iter.C + several file: changes because of the above.
1626 * array.C: new file with the prev inline methods.
1628 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1630 * Many files: add support for the align environment from amsmath.
1632 2001-02-09 André Pönitz <poenitz@gmx.net>
1634 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1635 * several files: subsequent changes
1636 * math_iter.h: remove unused prototype
1639 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1641 * math_macro.C (draw): add .c_str() to .str() (useful when
1642 compiling with lyxstring, but STL sstream).
1645 2001-02-08 André Pönitz <poenitz@gmx.net>
1647 * several files: get rid of reinterpret_cast.
1649 2001-02-04 Allan Rae <rae@lyx.org>
1651 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1652 just casting the variable.
1654 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1656 * Many files: Add support for multline and alignat environments from
1659 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1661 * math_symbols.C (math_insert_greek): Move cursor right when
1662 unlocking the math inset.
1664 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1666 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1668 * formula.C (LocalDispatch): Before inserting a label in an
1669 eqnarray, move the cursor to the top level.
1671 * math_iter.C (getLabel): Test if crow == 0.
1673 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1675 * math_draw.C (Metrics): Use the correct GetString.