1 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * Makefile.am: special rules if partial linking
5 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
7 * math_charinset.C: wrap the std::strchr declaration inside a
8 check for CXX_GLOBAL_CSTD.
10 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
12 * math_biginset.[Ch] (size): return size_type, not int.
14 * math_inset.C (metrics): parameter "mi" is never referenced. Removed.
15 * math_hullinset.C (metrics): ditto.
18 2002-03-12 André Pönitz <poenitz@gmx.net>
20 * math_xarray.[Ch] et al: really use metrics cache if possible...
22 2002-03-07 Martin Vermeer <martin.vermeer@hut.fi>
24 * math_decorationinset.C: add leftrightarrows to the displayable
27 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
29 * formula.C Changes due to the renaming of support/syscall.[Ch]
30 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
32 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
34 * formula.C: change Systemcalls::System to Systemcalls::Wait and
35 No change of functionality, just reflects the stripped down Systemcalls
38 2002-02-08 André Pönitz <poenitz@gmx.net>
40 * math_support.[Ch]: some support for \dddot
42 2002-02-08 Otto Tronarp <otttr440@student.liu.se>
44 * math_decorationinset.C:
48 * math_hash.C: Added \underrightarrow and \underleftarrow
50 2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
52 * formulabase.C (localDispatch): fix umlaut handling
54 * formulabase.C: pop up math panel on right mouse click
56 2002-02-01 André Pönitz <poenitz@gmx.net>
58 * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
60 2002-02-01 André Pönitz <poenitz@gmx.net>
62 * math_xymatrixinset.[Ch]: some support for \xymatrix
64 2002-02-01 André Pönitz <poenitz@gmx.net>
66 * math_undersetinset.[Ch]: implement direct support for \underset
68 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
70 * math_support.C: removed the arrays latex_mathstyle[] and
71 latex_mathfontcmds[] to the frontends.
73 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
75 * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
77 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
79 * math_factory.C (createMathInset): add a default: label in switch
81 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
83 * formulabase.[Ch] (searchForward, searchBackward): change the
84 bool const & params to bool.
86 2002-01-14 Martin Vermeer <martin.vermeer@hut.fi>
87 * math_macrotable.C: added macros for Blackboard Bold,
88 Calligraphic symbols support in mathed. Kludge.
90 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
92 * math_mathmlstream.C (operator<<): use lyx::count rather than
95 * math_streamstr.C (operator<<): ditto.
97 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * math_support.C: change latex_mathfontcmds to an array of
102 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
104 * math_exfuncinset.C: remove using std::ostream declaration.
106 * math_kerninset.C: whitespace change, consistent with other files.
108 * math_mathmlstream.C (operator<<):
109 * math_streamstr.C (operator<<): use countChar rather than std::count.
111 * math_parser.C (operator==): comment out. Not used.
113 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
115 * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
117 * math_support.C: separate string arrays for math style and for
120 2002-01-10 Dekel Tsur <dekelts@tau.ac.il>
122 * math_parser.C (parse_normal): Support for \begin{math}
124 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
126 * math_hullinset.C (validate): rename feature "amsstyle" to
129 2002-01-09 Martin Vermeer <martin.vermeer@hut.fi>
131 * math_support.C: modified to support a mathed pop-up for math
132 size "styles" and font types.
134 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
136 * math_defs.h: remove trailing comma from enum MathTextCodes.
138 2002-01-03 André Pönitz <poenitz@gmx.net>
140 * formulabase.[Ch]: implement simple search
142 * math_sizeinset.[Ch]: support for \displaystyle etc
144 2001-12-18 Dekel Tsur <dekelts@tau.ac.il>
146 * math_macrotable.C (builtinMacros): Adjust kern values.
148 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
151 * math_binaryopinset.C:
156 * math_diminset.C:add missing config.h
159 * math_parser.C: move inludes around a bit.
161 * math_extinset.C: user boost::scoped_ptr
163 * math_parser.C: user std::fill to fill the catcodes. (please
164 check this one...), and some consts.
166 2001-12-11 André Pönitz <poenitz@gmx.net>
168 * math_cursor.C: allow cut&paste of rectangular regions of cells
170 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
172 * math_kerninset.C (metrics): Consider lyxrc.zoom
174 2001-12-14 Dekel Tsur <dekelts@tau.ac.il>
176 * math_support.C: Fix handling of \mathfrak font.
178 2001-12-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
180 * math_iterator.C (nextInset): compilation fix.
182 2001-12-11 André Pönitz <poenitz@gmx.net>
186 * math_hash.C: support for \mathfrak
188 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
190 * math_streamstr.C: #include <iostream> to compile with DEC cxx
192 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
196 * math_decorationinset.C:
199 * math_exfuncinset.C:
202 * math_funcliminset.C:
207 * math_stringinset.C:
208 * math_symbolinset.C:
209 * math_unknowninset.C: include math_streamstr.h and remove
212 * math_symbolinset.[Ch]: add constructor taking string
214 * math_mathmlstream.C: move includes around
216 * math_streamstr.[Ch]: add operator<<(Stream, string) for
217 NormalStream, MapleStream, MathMLStream and OctaveStream
219 * math_gridinset.C: user LyXLength::zero
221 2001-11-19 Angus Leeming <a.leeming@ic.ac.uk>
224 * math_arrayinset.C: add using std::getline directive.
226 2001-11-20 André Pönitz <poenitz@gmx.net>
228 * formulabase.C: fix mouse positioning using the cursor
230 2001-11-19 Dekel Tsur <dekelts@tau.ac.il>
232 * math_mathmlstream.C (operator<<): Count '\n' chars
234 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
237 * math_hullinset.C: Fixes to use the new LaTeXFeatures
240 2001-11-07 André Pönitz <poenitz@gmx.net>
242 * math_extern.C: support for integrals, sums, e^x, and d/dx
244 2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
246 * math_extern.C (extractNumber):
247 (extractDiffExponent): add ugly .c_str()
249 2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
251 * math_arrayinset.C (MathArrayInset):
252 * formula.C (pipeThroughMaple):
253 (pipeThroughOctave): add ugly .c_str() to help compile
256 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
258 * math_inset.C: compilation fix
260 2001-11-07 André Pönitz <poenitz@gmx.net>
263 * array.[Ch]: start native C++ support for Octave, Maple and MathML
265 2001-10-31 Angus Leeming <a.leeming@ic.ac.uk>
267 * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
269 2001-10-24 Angus Leeming <a.leeming@ic.ac.uk>
271 * math_nestinset.C: added using std::max, min directives.
272 * math_scriptinset.C: added using std::ostream directive.
273 * math_scriptinset.h: replaced ostream with std::ostream.
275 2001-10-17 André Pönitz <poenitz@gmx.net>
277 * math_*inset.[Ch]: remove MathStyles cache from insets that
281 formulabase.C: fix math font sizes in headings etc
284 formula.C: remove unused static member int MathInset::workwidth
286 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
288 2001-10-17 André Pönitz <poenitz@gmx.net>
291 * *.[Ch]: make output more stream-like
293 2001-10-17 André Pönitz <poenitz@gmx.net>
296 * array.C: add missing/broken writeNormal()
298 * math_lefteqn.[Ch]: some visual support for \lefteqn
301 2001-10-10 André Pönitz <poenitz@gmx.net>
303 * math_cursor.C: introduce dummy "inner" position "between"
304 nucleus and scripts for smoother cursor movement
306 * math_cursor.C: use red dot to indicate empty nucleus
309 2001-10-02 André Pönitz <poenitz@gmx.net>
311 * math_cursor.C: leave red backslash as visual clue
312 in formula when typing macro names
314 * math_macrotemplate.C: sanity check
316 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
319 * formula.C (localDispatch): fix a few of local variable sizes
321 * math_fracbase.C: change parameter types to match MathInset
323 2001-10-01 André Pönitz <poenitz@gmx.net>
325 * math_cursor.[Ch]: remove local parInset() method
327 * math_macro.C: add a static_cast
329 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
331 * math_cursor.C: fix type mismatches with what was declared in
334 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
336 * math_matrixinset.C (header_write): Add \n after \begin{align}
338 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
340 * math_macrotable.C (builtinMacros): Add some macros if latex
343 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
345 * formula.C (insetAllowed): disallow label insertion in inline
348 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
350 * formulabase.C (mathDispatchCreation): pass second argument
351 'false' (no label) to selectionAsString
353 2001-09-11 André Pönitz <poenitz@gmx.net>
355 * math_atom.[Ch]: new basic item in the MathArray
357 * array.[Ch]: move code over to math_atom
359 * math_scriptinset.[Ch]:
361 math_cursor.C: try to do with super- and subscripts what TeX does
363 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
365 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
367 2001-09-04 André Pönitz <poenitz@gmx.net>
371 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
372 'xxalignt', 'gather' and 'multiline' environments
374 * math_cursor.C: fix handling of | and \|
376 2001-09-04 José Matos <jamatos@fep.up.pt>
383 * formulamacro.h (docbook): rename docBook method to docbook.
385 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
387 * math_hash.C (ReadSymbols): Check for duplicate symbols
389 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
391 * support.C: added a using std::map directive.
393 2001-08-17 André Pönitz <poenitz@gmx.net>
395 * math_hash.C: Use std::map instead of faking it
397 * symbol_def.h: remove unneeded symbol definitions
399 * support.C: use the decorations' name for drawing
401 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
403 * math_hash.C (in_word_set): Initialize symbol table even when
404 symbols file was not found.
406 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
408 * math_hash.C: added a using std::endl directive.
410 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
412 * support.C (whichFont): Add support for cmr font.
413 Add support for \mathbb.
415 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
417 * math_macrotable.C (builtinMacros): Add 3 builtin macros
419 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
421 * math_hash.C: Read symbols information from external file
422 many files: Add support for latex symbol fonts
424 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
426 * math_parser.C (Parser): Eat spaces after \end_inset
428 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
430 * math_parser.C (tokenize): fix typo
432 2001-08-17 André Pönitz <poenitz@gmx.net>
434 * math_parser.C: new "lexxer"
436 * array.C: write sequences of chars with same code as a unit
438 2001-08-13 André Pönitz <poenitz@gmx.net>
440 * math_factory.[Ch]: new files for the creation of math insets
444 math_hash.C: simplifications
446 * math_binom.[Ch]: new files for "native" \binom/\choose inset
449 math_cursor.C: reading support for TeX style \over and \choose
451 * formulabase.C: re-enabling the "selected text gets converted to
452 math when pressing C-m" feature.
454 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
456 * math_parser.C (lexArg): remove default argument from the .C file
457 as it causes DEC cxx to complain about a redefinition.
459 2001-08-10 André Pönitz <poenitz@gmx.net>
461 * math_scopeinset.[Ch]: new inset for {} blocks
463 * math_accentinset.[Ch]: removed unneeded files
466 math_matrix.[Ch]: start support for "interrow spacing"
468 * all over the place: rework of parser stuff
470 2001-08-08 André Pönitz <poenitz@gmx.net>
472 * math_fracbase.[Ch]:
473 * math_fracinset.[Ch]: new hierarchy
475 * math_stackrelbase.[Ch]: native \stackrel support
477 * math_inset.[Ch]: removal of the name_ member
479 * math_deliminset.[Ch]: rework
481 2001-08-06 André Pönitz <poenitz@gmx.net>
483 * formulamacro.C: fix nasty bug due to missing copy constructor
485 * math_bigopinset.[Ch]: revival for things like \int, \sum
487 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
489 * math_diminset.h: make cache variables mutable, remove const_cast
491 * formulabase.[Ch]: remove unneeded convertFont()
493 * math_funcinset.[Ch]: bring red color back
495 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
496 inset to the mcaro table
498 2001-08-01 André Pönitz <poenitz@gmx.net>
501 formulamacro.C: fix memory leaks
503 * math_matrixinset.C: fix mis-alignment of eqnarray columns
505 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
506 MathMatrixInset * and MathMacroTemplate * to save a few casts
508 * all over the place: everything is an inset now
510 * math_nestinset.[Ch]: new abstract base class for insets containing
513 * math_diminset.[Ch]: new abstract base class for insets that need
514 the width_/ascent_/descent_ cache
516 2001-07-25 André Pönitz <poenitz@gmx.net>
518 * formulabase.C: re-enable 'space enlargement' feature
520 * math_scriptinset.C:
521 math_bigopinset.C: rework of script insets
523 2001-07-22 André Pönitz <poenitz@gmx.net>
525 * math_cursor.C: fix "pullArg" behaviour
527 * math_cursor.C: keep empty super/subscript a bit longer
529 * math_cursor.C: do not move into insets that don't have inner cells yet
531 * formulabase.C: fix memory leak
533 * math_cursor.C: ^ now copies selection into new srriptinset
535 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
538 * math_updowninset.C: fix drawing glitches
540 * math_cursor.C: paste to correct position
542 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
544 * formula.C (insetAllowed): allow insertion of label
546 2001-07-20 André Pönitz <poenitz@gmx.net>
548 * math_macrotable.C: support for \land and \vee
550 2001-07-16 André Pönitz <poenitz@gmx.net>
552 * math_grid.[Ch] -> math_gridinset.[Ch]
553 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
555 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
556 fix 'mathed reports wrong width', cosmetics
558 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
560 * math_cursor.C (operator==): moved ouf of struct
562 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
564 2001-07-16 André Pönitz <poenitz@gmx.net>
566 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
568 * several files: supporting changes
570 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
572 Consistent use of Lsstream.h:
573 * formula.C: removed using std::ostringstream directive.
575 * math_cursor.C: std::istringstream -> istringstream.
577 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
579 * math_decorationinset.h: add std:: qualifier
581 2001-07-12 André Pönitz <poenitz@gmx.net>
583 * math_updowninset.[hC]: new base class for script and bigop insets
584 *.[hC]: subsequent changes to all Metric() functions
586 * math_parser.C: small changes (\sqrt0 is read properly now)
588 2001-07-10 André Pönitz <poenitz@gmx.net>
590 * math_accentinset.[hC]: rewrite
593 math_cursor.C: subsequent changes
595 * math_grid.C: <Delete> in the first cell of a completely empty row
596 deletes that row, <C-Return> places the cursor in the first of the
599 * math_grid.C: try to split cell nicely when mutating from single-cell
600 to multi-cell environment
602 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
604 * math_matrixinset.C (mutate): Use only the first label when
605 mutating eqnarray to display formula.
607 2001-07-09 Juergen Vigna <jug@sad.it>
609 * formulabase.C (mathDispatchCreation): don't do anything with the
610 inset if it cannot be inserted!
612 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
614 * formulabase.C (mathDispatchInsertMath): remove bogus return
617 2001-07-09 André Pönitz <poenitz@gmx.net>
619 * math_*inset.C: Change order of arguments in MathInset constructor
621 * math_cursor.C: Remove broken "increase space" feature for a while
623 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
625 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
627 2001-07-04 André Pönitz <poenitz@gmx.net>
629 * math_parser.C: fix reading of "unusual" alpha chars
631 * xarray.[hC]: fix debug output of xarray
633 2001-07-03 André Pönitz <poenitz@gmx.net>
635 * math_parser.C: fix bug where equations did not get their labels
637 * formulabase.C: new feature: changing font on selection
639 * several files: subsequent changes
641 * array.C: fix bug when insets have not been cloned properly
642 This should fix quite a few "random" crashes...
644 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
646 * formulabase.C (localDispatch): use .c_str() on istringstream
647 constructor argument.
649 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
651 * math_grid.C (addCol): add second argument to cellinfo_.insert.
652 Cleanup a bit the code.
653 (appendRow): do not call push_back without argument.
655 * *.C: remove all "using namespace std" directives (not
656 good!!) and replaced it with relevant "using" directives.
658 * math_macrotemplate.C (Clone): change return type to MathInset*
660 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
662 * math_sizeinset.C: include support/LOstream.h
664 * math_scriptinset.C (Metrics): std:: qualify max
666 * math_root.C (Metrics): std:: qualify max
667 (Write): std:: qualify ostream
670 * math_matrixinset.C (getLabelList): std:: qualify vector
672 (Metrics): std:: qualify max
673 (header_write): std:: qualify ostream
674 (footer_write): ditto
676 * math_macrotemplate.C (Write): std:: qualify ostream
678 * math_bigopinset.C (Metrics): std:: qualify max, and include
681 * math_matrixinset.h: include vector and std:: qualify it.
683 * array.C (GetInset): get a pointer to the first element of bf_
686 2001-06-25 The LyX Project <Asger>
688 * math_scriptinset.C: Fix for entering with cursor up/down.
690 * math_fracinset.C: We can enter fractions with cursor up and
693 * math_cursor.C (Right): Fixes for cursor movement.
695 * formula.C (draw): New background color for math.
697 * math_cursor.C: Fixes for toggling labels on/off in math.
698 Fixes for infinity and other symbols that didn't appear in
701 2001-06-24 The LyX Project <Asger>
703 * math_inset.C: Cursor movement is better in square roots, among
706 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
707 cursor up/down movement. What not.
709 2001-06-24 The LyX Project <Asger>
711 * math_matrixinset.C: Hidden labels are hidden, unless a small
712 dragon jumps out of the screen, and pronounce them to the entire
715 2001-06-24 The LyX Project <Easter egg>
717 * math_cursor.C: Cursor improvements after a few dead-ends
718 in the evolution of cursor movement were tested and scrapped.
720 2001-06-24 The LyX Project <Asger>
722 * math_cursor.C: Renamed stack to path.
724 2001-06-24 The LyX Project <André>
727 Makefile.am: The Big Patch
728 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
729 new MathScriptInset for up/down stuff;
730 delete MathIter/MatXIter, MathParInset, MathRowSt
731 Changes to the inset inheritance tree, reunification of abstract math
733 label/numbering handling back to life;
734 major changes to the parser(s);
735 new base class FormulaBase for the two math LyXInsets;
736 general cleanup and cosmetic changes)
738 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
741 * math_root.C: removed // -*- C++ -*- as first line.
743 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
745 * array.C: bring memmove into main namespace if necessary
747 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
749 * math_parser.C (yylex): use contains instead of strchr
750 (parse_align): remove last arg, change to take string const & as
752 (mathed_parse): use string for ar2 and ar, adjust
754 * math_decorationinset.C (Write): use compare instead of strcmp
756 * formula.C (LocalDispatch): change arg2 to string, adjust for this
757 (LocalDispatch): add std::
758 (LocalDispatch): use contains instead of strchr
760 * array.C (move): add std::
762 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
764 * matriz.C: add using directives when needed for C functions
765 declared in std:: namespace.
767 * math_macrotemplate.h: do not use explicitely std::string, but
770 * math_macroarg.C: avoid bringing the whole std:: namespace in
771 global-land. When you do that, there is an ambiguity between
772 lyxstring and std::string (which may be defined at the same time).
774 * formula.C (HandleExtern): add .c_str() to .str() (useful when
777 2001-04-27 André Pönitz <poenitz@gmx.net>
779 * math_parser.C: fix \frac handling bug introduced on 04-24
780 * math_xiter.C: hotfix for merging "shared" insets
781 * formula.C: fixing display after using math-insert
783 2001-04-25 André Pönitz <poenitz@gmx.net>
785 * math_*.[Ch]: WriteNormal
786 * formula.C: Support for new "math extern" command
787 * math_parser.C: fix \frac handling bug introduced on 04-24
788 * math_xiter.C: hotfix for merging "shared" insets
790 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
792 * math_macrotable.C: include <iostream>
794 2001-04-24 André Pönitz <poenitz@gmx.net>
797 * math_macrotable.[Ch]:
798 * math_macroarg.[Ch]: restructuring of macro handling
801 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
803 * array.h (operator<<):
804 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
806 * math_macrotable.C: added using std::make_pair directive.
807 (dump): added using std::cerr directive here as I guess that this is
810 2001-04-20 Allan Rae <rae@lyx.org>
812 * formula.C (LocalDispatch): fixed another #warning. Guess who.
814 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
816 * math_macrotemplate.h: inherit privately from noncopyable
818 * math_macro.C (Metrics): reindent, use unsigned int as loop var
819 (setArgumentIdx): change test to avoid unsigned warning
821 * formula.C (LocalDispatch): use LFUN_MESSAGE
823 2001-04-16 Allan Rae <rae@lyx.org>
825 * formula.C (Latex, getLabelList, LocalDispatch):
826 * math_parser.C (mathed_parse):
827 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
828 an unrecognised preprocessor directive. So ensure they're wrapped.
830 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
832 * formula.C (draw): adjust for cursor_visible
833 (ToggleInsetCursor): adjust for cursor_visible and constify asc
835 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
836 (HideInsetCursor): adjust for cursor_visible
837 (LocalDispatch): constify default_label and res
839 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
841 * math_rowst.C: add missing #include <config.h>.
843 2001-03-16 André Pönitz <poenitz@gmx.net>
845 * math_matrixinset.h:
846 * math_parinset.[Ch]:
847 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
849 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
857 * math_symbols.C: maths panel moved to GUII
859 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
861 * math_cursor.C: use lyxerr instead of cerr.
863 2001-03-15 André Pönitz <poenitz@gmx.net>
865 * math_cursor.C: fix bug (cursor was leaving two insets at a time
868 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
870 * math_macrotable.h: noncopyable is in namespace boost
871 * math_macrotemplate.h: ditto
873 * math_rowst.h: make MathedRowContainer::iterator public.
875 2001-03-15 André Pönitz <poenitz@gmx.net>
877 * math_parser.C: read '\nonumber' again (was broken)
879 * math_rowst.C: new file
881 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
883 * math_cursor.C: added using directive.
885 2001-03-15 André Pönitz <poenitz@gmx.net>
887 * math_rowst.h: Finally remove MathedRowSt
890 math_xiter.C: changed accordingly
892 2001-03-12 André Pönitz <poenitz@gmx.net>
894 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
895 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
897 2001-03-10 André Pönitz <poenitz@gmx.net>
900 math_matrixinset.C: move adjustVerticalSt to the only place where
901 it is used. Fix a small bug where the cached row structure and the
902 actual data get out of sync after the deletion of whole rows
904 2001-03-09 André Pönitz <poenitz@gmx.net>
906 * math_cursor.C: use std::vector<> in MathStackXIter
907 change selstk from a pointer to the "real thing"
909 * math_rowst.h: new MathedRowContainer::erase method
911 * math_xiter.C: use MathedRowContainer::erase
913 * math_parser.C: use MathedRowContainer::insert_after
915 2001-03-08 André Pönitz <poenitz@gmx.net>
917 * math_rowst.h: give MathedRowContainer an 'insert' method.
919 * math_xiter.C: new 'container()' method to encapsulated access to
920 the MathParInset's MathedRowContainer
922 * math_rowst.h: proper copy constructor and destructor for
925 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
926 automatically created by the compiler are ok now.
928 2001-03-06 André Pönitz <poenitz@gmx.net>
930 * array.[Ch]: factor out deep_copy,
931 remove third argument from raw_pointer_insert
933 * math_iter.[Ch]: remove unused function Clear()
935 * math_cursor.C: change signature of MathStackXIter:push()
938 * math_rowst.h: introduction of MathRowContainer
939 several files: corresponding changes
941 2001-03-04 André Pönitz <poenitz@gmx.net>
943 * math_macrotemplate.[Ch]:
944 math_macro.C: move update() functionality to the macro
946 * math_rowst.h: split MathedRowSt into "data" and "list"
948 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
950 * math_macrotemplate.C (update): use MathMacro::getArg, and
951 receive a const reference.
952 (getMacroPar): add an Assert
954 * math_macrotemplate.h: make MathMacro a friend, make update take
957 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
958 and store a MathMacroArgument in the vector
959 * math_macro.C: changes because of the above.
962 * math_parser.C (mathed_parse): plug potential leak
964 * math_iter.h: add comment on virtual destructor
966 * math_iter.C (Delete): make c const
968 * math_parinset.C (Metrics): cleanup indent. make one string const.
970 * math_inset.C (size): move out of line
973 * math_macroarg.h: remove default constructor
975 * math_macroarg.C: include Lsstream.h instead of debug.h
976 (MathMacroArgument): remove default constructor
977 (Write): add std:: on ostream arg
979 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
982 * formula.C: make DEBUG into lyxerr
984 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
986 * math_macrotemplate.h: make noncopyable, remove last arg to
987 constructor, remove flags_ add edit_
988 (flags): remove method
990 * math_macrotemplate.C (setArgument): delete method
991 (update): make idx const
992 (Metrics): use edit_, remove flags_
993 (draw): use edit_, remove flags_
994 (setEditMode): set edit_, remove flags_
995 (MathMacroTemplate): initialize edit_, remove flags_
997 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
998 shared_ptr, let constructor take a shared_ptr
1000 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
1002 (draw): remove unneded update, remove removed update of x,y
1003 (GetXY): call tmplates GetMacroXY directly
1004 (SetFocus): call Metrics() instead of update()
1005 (Write): remove support for math macro environments, simplifications.
1007 * math_macrotable.h: make class noncopyable, change getMacro to
1008 createMacro, change vector to map store a
1009 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
1011 * math_macrotable.C: add pragma
1012 (createMacro): change name from getMacro, use shared_ptr
1013 (getTemplate): Use map lookup to get macro, return shared_ptr
1014 (addTemplate): assert that m containse a valid pointer, use map[]
1016 (builtinMacros): by using shared_ptr fix the mem leak, remove
1017 commented out unsupported macros
1019 * math_cursor.C: changes because of the above
1020 * math_parser.C: changes because of the abobe
1022 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
1023 default arg on constructor.
1024 * formulamacro.C: changes because of the above
1026 * math_parinset.h: add pragma
1027 (SetAlign): move inline out of class def
1031 (setArgumentIdx): ditto
1032 (setNextArgIdx): ditto
1033 (getArgumentIdx): ditto
1034 (getMaxArgumentIdx): ditto
1039 * math_parinset.C: add pragma
1040 (Write): change the else clause, lessen depth
1042 * math_macroarg.h: small whitespace change
1044 * array.C: include support/LOstream.h add using ostream and endl
1046 * array.h (dump): add std:: on ostream
1048 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1050 * math_macrotemplate.h: remove default arg on update
1052 * math_macrotemplate.C (update): add assert and remove noop case.
1054 * formulamacro.C (Read): add comment.
1055 (ascent): remove noop call to MathMacroTemplate
1060 * math_parser.C (mathed_parse): fix another potential problem by
1061 passing a freestanding mathedarray.
1063 * math_root.C (GetData): add const version
1065 * math_parinset.C (~MathParInset): delete
1066 (GetData): add const version
1068 * math_matrixinset.C (MathMatrixInset): delete pointer version,
1069 make it a proper copy constructor instead
1070 (Clone): change acc.
1071 (MathMatrixInset): remvoe default val for m and n
1073 * math_macro.C (GetData): add const version
1075 * math_fracinset.C (GetData): add const version
1077 * math_cursor.C (SelCopy): make p1 and p2 const
1078 (SelCut): make p1 and p2 const
1080 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1081 (LyxCode): move inline out of class
1082 (ConvertFont): ditto
1085 * array.[Ch] (dump): method added for debugging purposes
1087 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1088 mathed_parse when reading a matrix.
1090 * math_spaceinset.[Ch]: add pragma, make variables private add
1091 '_', change order of method definitions.
1093 * math_root.h (~MathRootInset): delete
1094 Change uroot_ to be a real object instead of a pointer
1095 * math_root.C: changes because of the above
1097 * math_macro.C (MathMacro(MathMacro*)): delete constructor
1098 (MathMacro(MathMacro const &)): new copy constructor
1100 * math_inset.h: delete constructor taking a pointer to MathedInset
1101 (size, incSize): move inline method
1103 * math_funcinset.h: add pragma, remove class vars ln and fname,
1104 change protected to private, add '_' to priv vars.
1105 (~MathFuncInset): remove
1107 * math_fracinset.h: make MathParInset den_ a real object and not a
1110 * math_fracinset.C (MathFracInset): clean up, move initalization
1111 to initialization list
1112 (~MathFracInset): remove
1113 (Clone): remove leak
1115 * math_draw.C: delete file
1117 * math_dotsinset.[Ch]: add pragma
1119 * math_bigopinset.h: make protected variables private add '_' to vars.
1121 * math_bigopinset.C: move methods to follow class definition order
1123 * math_accentinset.h (getAccentCode): move inline here
1125 * math_accentinset.C (MathAccentInset): cleanup
1128 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1130 * math_inset.[Ch] (MathedInset): remove method
1132 * Makefile.am (libmathed_la_SOURCES): correct typo
1134 * math_parinset.C (draw): move MathedXiter data(this) up. and
1135 remove it two other places.
1137 * math_macro.C (MathMacro): use array directly, don't use
1138 setArgumentIdx and GetData
1140 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1142 * math_macroarg.C (MathMacroArgument): delete
1143 * math_macro.C (~MathMacro): delete
1144 * math_macrotemplate.C (~MathMacroTemplate): delete
1146 * math_decorationinset.[Ch]: add pragma
1147 * math_deliminset.[Ch]: likewise
1148 * math_fracinset.[Ch]: likewise
1149 * math_macroarg.[Ch]: likewise
1150 * math_macrotemplate.[Ch]: likewise
1151 * math_matrixinset.[Ch]: likewise
1153 * formulamacro.C (Read): set contents of tmacro_ to ar.
1155 * formulamacro.h: add '_' to private variables.
1156 * formalamacro.C: changes because of this.
1158 2001-02-23 Juergen Vigna <jug@sad.it>
1160 * formula.C (LocalDispatch): changed action to be a kb_action (as it
1161 should be) and not an int.
1163 * formulamacro.C (LocalDispatch): ditto.
1165 2001-02-14 André Pönitz <poenitz@gmx.net>
1167 * math_parinset.[Ch]: make array a real MathArray, not just a
1170 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1172 * several files: subsequent changes
1174 * math_cursor.C: make selarray a proper MathArray
1176 * several files: Change "MathedArray *" to "MathedArray &"
1179 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
1181 * array.C (MathedArray): Fix compilation problem.
1183 2001-02-14 André Pönitz <poenitz@gmx.net>
1185 * array.[Ch]: "deep" copy constructor and assignment operator for
1188 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1190 * math_iter.[Ch]: remove SetData
1191 several files: subsequent changes
1193 2001-02-14 André Pönitz <poenitz@gmx.net>
1195 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
1198 * math_iter.C: default-construct and resize array
1200 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1202 * math_xiter.h: move ipush and ipop to public, add _ on private
1203 variables, move protected var to private, remove friend.
1205 * math_cursor.C (insertInset): rename method from Insert also
1206 remove default arg val. Call the public methods of xiter instead
1207 of private variables.
1209 * changes to several files because of the above.
1211 2001-02-14 André Pönitz <poenitz@gmx.net>
1213 * math_iter.[Ch]: hide fcode_
1215 * math_parinset.C: subsequent changes
1218 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1220 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1223 * math_write.C: delete file
1224 * math_delim.C: delete file
1225 * marh_sqrtinset.h: delete file
1227 * move funcs to more localized files, more general cleanup.
1228 Constify several local vars. Doxygen changes. Formatting.
1230 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
1232 * support.C: add some consts
1234 * matriz.C: clean up a bit.
1235 (matmat): remove the for loop.
1237 * several files: changes so that several friends can be removed
1239 2001-02-14 André Pönitz <poenitz@gmx.net>
1241 * formula.C: reformatting
1245 math_xiter.[Ch]: remove unneeded members
1247 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1251 * formula.C: remove cruft
1253 * array.C (begin): new method
1256 2001-02-14 André Pönitz <poenitz@gmx.net>
1258 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1260 * math_cursor.C: reformatting
1262 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1264 * math_spaceinset.C:
1266 * math_matrixinset.C:
1267 * math_macrotemplate.C:
1271 * math_deliminset.C:
1272 * math_decorationinset.C:
1273 * math_bigopinset.C:
1274 * math_accentinset.C:
1275 * math_sqrtinset.C: include LOstream.h and add using directive.
1277 2001-02-14 André Pönitz <poenitz@gmx.net>
1279 * math_iter.C: reformatting
1281 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1283 * math_spaceinset.C (GetSpace): move here
1285 * math_parinset.C: add debug.h, move several prev. inlined methods
1288 * math_macrotable.C math_xiter.C support.C: add debug.h
1290 * math_macro.h: remove debug.h, remove typedefs
1292 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1295 * math_hash.C: change some defines to int const. change use of
1296 LM_TC_NORMAL to LM_TC_VAR
1298 * math_draw.C: delete file
1300 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1301 forward decls. remove LM_TC_NORMAL, move inline methods to
1302 support.C (and support.h)
1304 * math_cursor.C: move several previous inlined methods here
1306 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1307 math_parinset.h math_spaceinset.h: add math_defs.h
1309 * math_accentinset.h: add support.h and math_defs.h
1311 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1313 * formula.h: remove unused func decl: OpenMathInset
1315 * formula.C math_inset.h: get rid of math_defs.h
1317 * array.h: switch to support.h instead of math_defs.h
1319 * array.C: remove one include
1321 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1323 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1325 * math_parser.C: include macrotable and macrotemplate
1327 * math_macrotemplate.[Ch]: new files
1329 * math_macrotable.[Ch]: new files
1331 * math_macroarg.[Ch]: new files
1333 * math_macro.C: move stuff to the new files.
1335 * math_cursor.C: include math_macrotable.h
1337 * macro_support.[Ch]: new files
1339 * formulamacro.C: add more includes
1341 * Makefile.am (libmathed_la_SOURCES): add new files.
1343 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1345 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1350 * math_parinset.C: add a bunch of "using" directives.
1353 * math_decorationinset.h:
1354 * math_bigopinset.h:
1355 * math_spaceinset.h: remove more couples of inline.
1357 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1359 * math_xiter.h: remove a couple of "inline"
1361 * array.C (strange_copy): fix bug (hopefully)
1362 * many files: add a lot of new files and move methods to the class
1363 files they belong to. Only first attempt at cleanup more will
1366 2001-02-12 André Pönitz <poenitz@gmx.net>
1368 * math_macro.[hC]: replace MathMacroArgument[] with
1369 std::vector<MathMacroArgument>
1371 math_inset.C: replace int[] with std::vector<int>
1373 * math_symbols.C: replace FL_OBJECTP[] with
1374 std::vector<FL_OBJECT*>
1376 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1378 * math_defs.h (struct MathedRowSt): make all private variables end
1379 with '_', initialize in initializer list instead of in function
1382 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1384 * formula.C (LocalDispatch): Change the default action of
1385 break-line to create an align* environment instead of eqnarray*.
1387 * math_inset.C (Metrics): Correct drawing of the multline
1390 2001-02-12 André Pönitz <poenitz@gmx.net>
1392 * array.[hC]: replace private variable maxsize_ with call to
1394 * math_defs.h: replace int[] by std::vector<int> for
1397 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1399 * array.h: made all variables private, removed friend, added new
1400 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1401 non const operator[] added setter for last and getter for maxsize.
1402 changed name from LyxArrayBase to MathedArray.
1403 changed name of some methods to start with lowerchar.
1404 moved inline methods to array.C
1406 * math_iter.C + several file: changes because of the above.
1408 * array.C: new file with the prev inline methods.
1410 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1412 * Many files: add support for the align environment from amsmath.
1414 2001-02-09 André Pönitz <poenitz@gmx.net>
1416 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1417 * several files: subsequent changes
1418 * math_iter.h: remove unused prototype
1421 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1423 * math_macro.C (draw): add .c_str() to .str() (useful when
1424 compiling with lyxstring, but STL sstream).
1427 2001-02-08 André Pönitz <poenitz@gmx.net>
1429 * several files: get rid of reinterpret_cast.
1431 2001-02-04 Allan Rae <rae@lyx.org>
1433 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1434 just casting the variable.
1436 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1438 * Many files: Add support for multline and alignat environments from
1441 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1443 * math_symbols.C (math_insert_greek): Move cursor right when
1444 unlocking the math inset.
1446 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1448 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1450 * formula.C (LocalDispatch): Before inserting a label in an
1451 eqnarray, move the cursor to the top level.
1453 * math_iter.C (getLabel): Test if crow == 0.
1455 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1457 * math_draw.C (Metrics): Use the correct GetString.