1 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3 * formula.C: change Systemcalls::System to Systemcalls::Wait and
4 No change of functionality, just reflects the stripped down Systemcalls
7 2002-02-08 André Pönitz <poenitz@gmx.net>
9 * math_support.[Ch]: some support for \dddot
11 2002-02-08 Otto Tronarp <otttr440@student.liu.se>
13 * math_decorationinset.C:
17 * math_hash.C: Added \underrightarrow and \underleftarrow
19 2002-02-08 Martin Vermeer <martin.vermeer@hut.fi>
21 * formulabase.C (localDispatch): fix umlaut handling
23 * formulabase.C: pop up math panel on right mouse click
25 2002-02-01 André Pönitz <poenitz@gmx.net>
27 * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
29 2002-02-01 André Pönitz <poenitz@gmx.net>
31 * math_xymatrixinset.[Ch]: some support for \xymatrix
33 2002-02-01 André Pönitz <poenitz@gmx.net>
35 * math_undersetinset.[Ch]: implement direct support for \underset
37 2002-01-28 Martin Vermeer <martin.vermeer@hut.fi>
39 * math_support.C: removed the arrays latex_mathstyle[] and
40 latex_mathfontcmds[] to the frontends.
42 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
44 * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
46 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
48 * math_factory.C (createMathInset): add a default: label in switch
50 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
52 * formulabase.[Ch] (searchForward, searchBackward): change the
53 bool const & params to bool.
55 2002-01-14 Martin Vermeer <martin.vermeer@hut.fi>
56 * math_macrotable.C: added macros for Blackboard Bold,
57 Calligraphic symbols support in mathed. Kludge.
59 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
61 * math_mathmlstream.C (operator<<): use lyx::count rather than
64 * math_streamstr.C (operator<<): ditto.
66 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
68 * math_support.C: change latex_mathfontcmds to an array of
71 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
73 * math_exfuncinset.C: remove using std::ostream declaration.
75 * math_kerninset.C: whitespace change, consistent with other files.
77 * math_mathmlstream.C (operator<<):
78 * math_streamstr.C (operator<<): use countChar rather than std::count.
80 * math_parser.C (operator==): comment out. Not used.
82 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
84 * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
86 * math_support.C: separate string arrays for math style and for
89 2002-01-10 Dekel Tsur <dekelts@tau.ac.il>
91 * math_parser.C (parse_normal): Support for \begin{math}
93 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
95 * math_hullinset.C (validate): rename feature "amsstyle" to
98 2002-01-09 Martin Vermeer <martin.vermeer@hut.fi>
100 * math_support.C: modified to support a mathed pop-up for math
101 size "styles" and font types.
103 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
105 * math_defs.h: remove trailing comma from enum MathTextCodes.
107 2002-01-03 André Pönitz <poenitz@gmx.net>
109 * formulabase.[Ch]: implement simple search
111 * math_sizeinset.[Ch]: support for \displaystyle etc
113 2001-12-18 Dekel Tsur <dekelts@tau.ac.il>
115 * math_macrotable.C (builtinMacros): Adjust kern values.
117 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * math_binaryopinset.C:
125 * math_diminset.C:add missing config.h
128 * math_parser.C: move inludes around a bit.
130 * math_extinset.C: user boost::scoped_ptr
132 * math_parser.C: user std::fill to fill the catcodes. (please
133 check this one...), and some consts.
135 2001-12-11 André Pönitz <poenitz@gmx.net>
137 * math_cursor.C: allow cut&paste of rectangular regions of cells
139 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
141 * math_kerninset.C (metrics): Consider lyxrc.zoom
143 2001-12-14 Dekel Tsur <dekelts@tau.ac.il>
145 * math_support.C: Fix handling of \mathfrak font.
147 2001-12-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * math_iterator.C (nextInset): compilation fix.
151 2001-12-11 André Pönitz <poenitz@gmx.net>
155 * math_hash.C: support for \mathfrak
157 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
159 * math_streamstr.C: #include <iostream> to compile with DEC cxx
161 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
165 * math_decorationinset.C:
168 * math_exfuncinset.C:
171 * math_funcliminset.C:
176 * math_stringinset.C:
177 * math_symbolinset.C:
178 * math_unknowninset.C: include math_streamstr.h and remove
181 * math_symbolinset.[Ch]: add constructor taking string
183 * math_mathmlstream.C: move includes around
185 * math_streamstr.[Ch]: add operator<<(Stream, string) for
186 NormalStream, MapleStream, MathMLStream and OctaveStream
188 * math_gridinset.C: user LyXLength::zero
190 2001-11-19 Angus Leeming <a.leeming@ic.ac.uk>
193 * math_arrayinset.C: add using std::getline directive.
195 2001-11-20 André Pönitz <poenitz@gmx.net>
197 * formulabase.C: fix mouse positioning using the cursor
199 2001-11-19 Dekel Tsur <dekelts@tau.ac.il>
201 * math_mathmlstream.C (operator<<): Count '\n' chars
203 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
206 * math_hullinset.C: Fixes to use the new LaTeXFeatures
209 2001-11-07 André Pönitz <poenitz@gmx.net>
211 * math_extern.C: support for integrals, sums, e^x, and d/dx
213 2001-11-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
215 * math_extern.C (extractNumber):
216 (extractDiffExponent): add ugly .c_str()
218 2001-11-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
220 * math_arrayinset.C (MathArrayInset):
221 * formula.C (pipeThroughMaple):
222 (pipeThroughOctave): add ugly .c_str() to help compile
225 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
227 * math_inset.C: compilation fix
229 2001-11-07 André Pönitz <poenitz@gmx.net>
232 * array.[Ch]: start native C++ support for Octave, Maple and MathML
234 2001-10-31 Angus Leeming <a.leeming@ic.ac.uk>
236 * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
238 2001-10-24 Angus Leeming <a.leeming@ic.ac.uk>
240 * math_nestinset.C: added using std::max, min directives.
241 * math_scriptinset.C: added using std::ostream directive.
242 * math_scriptinset.h: replaced ostream with std::ostream.
244 2001-10-17 André Pönitz <poenitz@gmx.net>
246 * math_*inset.[Ch]: remove MathStyles cache from insets that
250 formulabase.C: fix math font sizes in headings etc
253 formula.C: remove unused static member int MathInset::workwidth
255 * math_gridinset.[Ch]: implement idxHome() and idxEnd()
257 2001-10-17 André Pönitz <poenitz@gmx.net>
260 * *.[Ch]: make output more stream-like
262 2001-10-17 André Pönitz <poenitz@gmx.net>
265 * array.C: add missing/broken writeNormal()
267 * math_lefteqn.[Ch]: some visual support for \lefteqn
270 2001-10-10 André Pönitz <poenitz@gmx.net>
272 * math_cursor.C: introduce dummy "inner" position "between"
273 nucleus and scripts for smoother cursor movement
275 * math_cursor.C: use red dot to indicate empty nucleus
278 2001-10-02 André Pönitz <poenitz@gmx.net>
280 * math_cursor.C: leave red backslash as visual clue
281 in formula when typing macro names
283 * math_macrotemplate.C: sanity check
285 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * formula.C (localDispatch): fix a few of local variable sizes
290 * math_fracbase.C: change parameter types to match MathInset
292 2001-10-01 André Pönitz <poenitz@gmx.net>
294 * math_cursor.[Ch]: remove local parInset() method
296 * math_macro.C: add a static_cast
298 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
300 * math_cursor.C: fix type mismatches with what was declared in
303 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
305 * math_matrixinset.C (header_write): Add \n after \begin{align}
307 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
309 * math_macrotable.C (builtinMacros): Add some macros if latex
312 2001-09-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
314 * formula.C (insetAllowed): disallow label insertion in inline
317 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
319 * formulabase.C (mathDispatchCreation): pass second argument
320 'false' (no label) to selectionAsString
322 2001-09-11 André Pönitz <poenitz@gmx.net>
324 * math_atom.[Ch]: new basic item in the MathArray
326 * array.[Ch]: move code over to math_atom
328 * math_scriptinset.[Ch]:
330 math_cursor.C: try to do with super- and subscripts what TeX does
332 2001-09-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
334 * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
336 2001-09-04 André Pönitz <poenitz@gmx.net>
340 * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
341 'xxalignt', 'gather' and 'multiline' environments
343 * math_cursor.C: fix handling of | and \|
345 2001-09-04 José Matos <jamatos@fep.up.pt>
352 * formulamacro.h (docbook): rename docBook method to docbook.
354 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
356 * math_hash.C (ReadSymbols): Check for duplicate symbols
358 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
360 * support.C: added a using std::map directive.
362 2001-08-17 André Pönitz <poenitz@gmx.net>
364 * math_hash.C: Use std::map instead of faking it
366 * symbol_def.h: remove unneeded symbol definitions
368 * support.C: use the decorations' name for drawing
370 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
372 * math_hash.C (in_word_set): Initialize symbol table even when
373 symbols file was not found.
375 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
377 * math_hash.C: added a using std::endl directive.
379 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
381 * support.C (whichFont): Add support for cmr font.
382 Add support for \mathbb.
384 * math_notinset.C (draw, metrics): Use cmsy symbol if available.
386 * math_macrotable.C (builtinMacros): Add 3 builtin macros
388 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
390 * math_hash.C: Read symbols information from external file
391 many files: Add support for latex symbol fonts
393 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
395 * math_parser.C (Parser): Eat spaces after \end_inset
397 2001-08-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
399 * math_parser.C (tokenize): fix typo
401 2001-08-17 André Pönitz <poenitz@gmx.net>
403 * math_parser.C: new "lexxer"
405 * array.C: write sequences of chars with same code as a unit
407 2001-08-13 André Pönitz <poenitz@gmx.net>
409 * math_factory.[Ch]: new files for the creation of math insets
413 math_hash.C: simplifications
415 * math_binom.[Ch]: new files for "native" \binom/\choose inset
418 math_cursor.C: reading support for TeX style \over and \choose
420 * formulabase.C: re-enabling the "selected text gets converted to
421 math when pressing C-m" feature.
423 2001-08-13 Angus Leeming <a.leeming@ic.ac.uk>
425 * math_parser.C (lexArg): remove default argument from the .C file
426 as it causes DEC cxx to complain about a redefinition.
428 2001-08-10 André Pönitz <poenitz@gmx.net>
430 * math_scopeinset.[Ch]: new inset for {} blocks
432 * math_accentinset.[Ch]: removed unneeded files
435 math_matrix.[Ch]: start support for "interrow spacing"
437 * all over the place: rework of parser stuff
439 2001-08-08 André Pönitz <poenitz@gmx.net>
441 * math_fracbase.[Ch]:
442 * math_fracinset.[Ch]: new hierarchy
444 * math_stackrelbase.[Ch]: native \stackrel support
446 * math_inset.[Ch]: removal of the name_ member
448 * math_deliminset.[Ch]: rework
450 2001-08-06 André Pönitz <poenitz@gmx.net>
452 * formulamacro.C: fix nasty bug due to missing copy constructor
454 * math_bigopinset.[Ch]: revival for things like \int, \sum
456 * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
458 * math_diminset.h: make cache variables mutable, remove const_cast
460 * formulabase.[Ch]: remove unneeded convertFont()
462 * math_funcinset.[Ch]: bring red color back
464 * math_macro*.[Ch]: move ownership of the templates from the formulamacro
465 inset to the mcaro table
467 2001-08-01 André Pönitz <poenitz@gmx.net>
470 formulamacro.C: fix memory leaks
472 * math_matrixinset.C: fix mis-alignment of eqnarray columns
474 * formula*.[Ch]: seperation of the "pimpl" MathInset * into
475 MathMatrixInset * and MathMacroTemplate * to save a few casts
477 * all over the place: everything is an inset now
479 * math_nestinset.[Ch]: new abstract base class for insets containing
482 * math_diminset.[Ch]: new abstract base class for insets that need
483 the width_/ascent_/descent_ cache
485 2001-07-25 André Pönitz <poenitz@gmx.net>
487 * formulabase.C: re-enable 'space enlargement' feature
489 * math_scriptinset.C:
490 math_bigopinset.C: rework of script insets
492 2001-07-22 André Pönitz <poenitz@gmx.net>
494 * math_cursor.C: fix "pullArg" behaviour
496 * math_cursor.C: keep empty super/subscript a bit longer
498 * math_cursor.C: do not move into insets that don't have inner cells yet
500 * formulabase.C: fix memory leak
502 * math_cursor.C: ^ now copies selection into new srriptinset
504 * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
507 * math_updowninset.C: fix drawing glitches
509 * math_cursor.C: paste to correct position
511 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * formula.C (insetAllowed): allow insertion of label
515 2001-07-20 André Pönitz <poenitz@gmx.net>
517 * math_macrotable.C: support for \land and \vee
519 2001-07-16 André Pönitz <poenitz@gmx.net>
521 * math_grid.[Ch] -> math_gridinset.[Ch]
522 math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
524 * formulabase.C: fix 'buffer set to (Changed) when moving in math',
525 fix 'mathed reports wrong width', cosmetics
527 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
529 * math_cursor.C (operator==): moved ouf of struct
531 (normalAnchor): reversed one test (but shouldn't it really be >= ?)
533 2001-07-16 André Pönitz <poenitz@gmx.net>
535 * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
537 * several files: supporting changes
539 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
541 Consistent use of Lsstream.h:
542 * formula.C: removed using std::ostringstream directive.
544 * math_cursor.C: std::istringstream -> istringstream.
546 2001-07-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
548 * math_decorationinset.h: add std:: qualifier
550 2001-07-12 André Pönitz <poenitz@gmx.net>
552 * math_updowninset.[hC]: new base class for script and bigop insets
553 *.[hC]: subsequent changes to all Metric() functions
555 * math_parser.C: small changes (\sqrt0 is read properly now)
557 2001-07-10 André Pönitz <poenitz@gmx.net>
559 * math_accentinset.[hC]: rewrite
562 math_cursor.C: subsequent changes
564 * math_grid.C: <Delete> in the first cell of a completely empty row
565 deletes that row, <C-Return> places the cursor in the first of the
568 * math_grid.C: try to split cell nicely when mutating from single-cell
569 to multi-cell environment
571 2001-07-09 Dekel Tsur <dekelts@tau.ac.il>
573 * math_matrixinset.C (mutate): Use only the first label when
574 mutating eqnarray to display formula.
576 2001-07-09 Juergen Vigna <jug@sad.it>
578 * formulabase.C (mathDispatchCreation): don't do anything with the
579 inset if it cannot be inserted!
581 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * formulabase.C (mathDispatchInsertMath): remove bogus return
586 2001-07-09 André Pönitz <poenitz@gmx.net>
588 * math_*inset.C: Change order of arguments in MathInset constructor
590 * math_cursor.C: Remove broken "increase space" feature for a while
592 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
594 * formulabase.C (mathDispatchInsertMath): Create an inline formula.
596 2001-07-04 André Pönitz <poenitz@gmx.net>
598 * math_parser.C: fix reading of "unusual" alpha chars
600 * xarray.[hC]: fix debug output of xarray
602 2001-07-03 André Pönitz <poenitz@gmx.net>
604 * math_parser.C: fix bug where equations did not get their labels
606 * formulabase.C: new feature: changing font on selection
608 * several files: subsequent changes
610 * array.C: fix bug when insets have not been cloned properly
611 This should fix quite a few "random" crashes...
613 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
615 * formulabase.C (localDispatch): use .c_str() on istringstream
616 constructor argument.
618 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
620 * math_grid.C (addCol): add second argument to cellinfo_.insert.
621 Cleanup a bit the code.
622 (appendRow): do not call push_back without argument.
624 * *.C: remove all "using namespace std" directives (not
625 good!!) and replaced it with relevant "using" directives.
627 * math_macrotemplate.C (Clone): change return type to MathInset*
629 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
631 * math_sizeinset.C: include support/LOstream.h
633 * math_scriptinset.C (Metrics): std:: qualify max
635 * math_root.C (Metrics): std:: qualify max
636 (Write): std:: qualify ostream
639 * math_matrixinset.C (getLabelList): std:: qualify vector
641 (Metrics): std:: qualify max
642 (header_write): std:: qualify ostream
643 (footer_write): ditto
645 * math_macrotemplate.C (Write): std:: qualify ostream
647 * math_bigopinset.C (Metrics): std:: qualify max, and include
650 * math_matrixinset.h: include vector and std:: qualify it.
652 * array.C (GetInset): get a pointer to the first element of bf_
655 2001-06-25 The LyX Project <Asger>
657 * math_scriptinset.C: Fix for entering with cursor up/down.
659 * math_fracinset.C: We can enter fractions with cursor up and
662 * math_cursor.C (Right): Fixes for cursor movement.
664 * formula.C (draw): New background color for math.
666 * math_cursor.C: Fixes for toggling labels on/off in math.
667 Fixes for infinity and other symbols that didn't appear in
670 2001-06-24 The LyX Project <Asger>
672 * math_inset.C: Cursor movement is better in square roots, among
675 * math_cursor.C (Interpret): Improved subscript bullshit. Improved
676 cursor up/down movement. What not.
678 2001-06-24 The LyX Project <Asger>
680 * math_matrixinset.C: Hidden labels are hidden, unless a small
681 dragon jumps out of the screen, and pronounce them to the entire
684 2001-06-24 The LyX Project <Easter egg>
686 * math_cursor.C: Cursor improvements after a few dead-ends
687 in the evolution of cursor movement were tested and scrapped.
689 2001-06-24 The LyX Project <Asger>
691 * math_cursor.C: Renamed stack to path.
693 2001-06-24 The LyX Project <André>
696 Makefile.am: The Big Patch
697 (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
698 new MathScriptInset for up/down stuff;
699 delete MathIter/MatXIter, MathParInset, MathRowSt
700 Changes to the inset inheritance tree, reunification of abstract math
702 label/numbering handling back to life;
703 major changes to the parser(s);
704 new base class FormulaBase for the two math LyXInsets;
705 general cleanup and cosmetic changes)
707 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
710 * math_root.C: removed // -*- C++ -*- as first line.
712 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
714 * array.C: bring memmove into main namespace if necessary
716 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
718 * math_parser.C (yylex): use contains instead of strchr
719 (parse_align): remove last arg, change to take string const & as
721 (mathed_parse): use string for ar2 and ar, adjust
723 * math_decorationinset.C (Write): use compare instead of strcmp
725 * formula.C (LocalDispatch): change arg2 to string, adjust for this
726 (LocalDispatch): add std::
727 (LocalDispatch): use contains instead of strchr
729 * array.C (move): add std::
731 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
733 * matriz.C: add using directives when needed for C functions
734 declared in std:: namespace.
736 * math_macrotemplate.h: do not use explicitely std::string, but
739 * math_macroarg.C: avoid bringing the whole std:: namespace in
740 global-land. When you do that, there is an ambiguity between
741 lyxstring and std::string (which may be defined at the same time).
743 * formula.C (HandleExtern): add .c_str() to .str() (useful when
746 2001-04-27 André Pönitz <poenitz@gmx.net>
748 * math_parser.C: fix \frac handling bug introduced on 04-24
749 * math_xiter.C: hotfix for merging "shared" insets
750 * formula.C: fixing display after using math-insert
752 2001-04-25 André Pönitz <poenitz@gmx.net>
754 * math_*.[Ch]: WriteNormal
755 * formula.C: Support for new "math extern" command
756 * math_parser.C: fix \frac handling bug introduced on 04-24
757 * math_xiter.C: hotfix for merging "shared" insets
759 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
761 * math_macrotable.C: include <iostream>
763 2001-04-24 André Pönitz <poenitz@gmx.net>
766 * math_macrotable.[Ch]:
767 * math_macroarg.[Ch]: restructuring of macro handling
770 2001-04-25 Angus Leeming <a.leeming@ic.ac.uk>
772 * array.h (operator<<):
773 * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
775 * math_macrotable.C: added using std::make_pair directive.
776 (dump): added using std::cerr directive here as I guess that this is
779 2001-04-20 Allan Rae <rae@lyx.org>
781 * formula.C (LocalDispatch): fixed another #warning. Guess who.
783 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
785 * math_macrotemplate.h: inherit privately from noncopyable
787 * math_macro.C (Metrics): reindent, use unsigned int as loop var
788 (setArgumentIdx): change test to avoid unsigned warning
790 * formula.C (LocalDispatch): use LFUN_MESSAGE
792 2001-04-16 Allan Rae <rae@lyx.org>
794 * formula.C (Latex, getLabelList, LocalDispatch):
795 * math_parser.C (mathed_parse):
796 * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
797 an unrecognised preprocessor directive. So ensure they're wrapped.
799 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
801 * formula.C (draw): adjust for cursor_visible
802 (ToggleInsetCursor): adjust for cursor_visible and constify asc
804 (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
805 (HideInsetCursor): adjust for cursor_visible
806 (LocalDispatch): constify default_label and res
808 2001-03-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
810 * math_rowst.C: add missing #include <config.h>.
812 2001-03-16 André Pönitz <poenitz@gmx.net>
814 * math_matrixinset.h:
815 * math_parinset.[Ch]:
816 * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
818 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
826 * math_symbols.C: maths panel moved to GUII
828 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
830 * math_cursor.C: use lyxerr instead of cerr.
832 2001-03-15 André Pönitz <poenitz@gmx.net>
834 * math_cursor.C: fix bug (cursor was leaving two insets at a time
837 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
839 * math_macrotable.h: noncopyable is in namespace boost
840 * math_macrotemplate.h: ditto
842 * math_rowst.h: make MathedRowContainer::iterator public.
844 2001-03-15 André Pönitz <poenitz@gmx.net>
846 * math_parser.C: read '\nonumber' again (was broken)
848 * math_rowst.C: new file
850 2001-03-15 Angus Leeming <a.leeming@ic.ac.uk>
852 * math_cursor.C: added using directive.
854 2001-03-15 André Pönitz <poenitz@gmx.net>
856 * math_rowst.h: Finally remove MathedRowSt
859 math_xiter.C: changed accordingly
861 2001-03-12 André Pönitz <poenitz@gmx.net>
863 * math_rowst.h: replace MathedRowSt with MathedRowStruct,
864 more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
866 2001-03-10 André Pönitz <poenitz@gmx.net>
869 math_matrixinset.C: move adjustVerticalSt to the only place where
870 it is used. Fix a small bug where the cached row structure and the
871 actual data get out of sync after the deletion of whole rows
873 2001-03-09 André Pönitz <poenitz@gmx.net>
875 * math_cursor.C: use std::vector<> in MathStackXIter
876 change selstk from a pointer to the "real thing"
878 * math_rowst.h: new MathedRowContainer::erase method
880 * math_xiter.C: use MathedRowContainer::erase
882 * math_parser.C: use MathedRowContainer::insert_after
884 2001-03-08 André Pönitz <poenitz@gmx.net>
886 * math_rowst.h: give MathedRowContainer an 'insert' method.
888 * math_xiter.C: new 'container()' method to encapsulated access to
889 the MathParInset's MathedRowContainer
891 * math_rowst.h: proper copy constructor and destructor for
894 * math_matrixinset.[hC]: remove copy constructr and destructor. Those
895 automatically created by the compiler are ok now.
897 2001-03-06 André Pönitz <poenitz@gmx.net>
899 * array.[Ch]: factor out deep_copy,
900 remove third argument from raw_pointer_insert
902 * math_iter.[Ch]: remove unused function Clear()
904 * math_cursor.C: change signature of MathStackXIter:push()
907 * math_rowst.h: introduction of MathRowContainer
908 several files: corresponding changes
910 2001-03-04 André Pönitz <poenitz@gmx.net>
912 * math_macrotemplate.[Ch]:
913 math_macro.C: move update() functionality to the macro
915 * math_rowst.h: split MathedRowSt into "data" and "list"
917 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
919 * math_macrotemplate.C (update): use MathMacro::getArg, and
920 receive a const reference.
921 (getMacroPar): add an Assert
923 * math_macrotemplate.h: make MathMacro a friend, make update take
926 * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
927 and store a MathMacroArgument in the vector
928 * math_macro.C: changes because of the above.
931 * math_parser.C (mathed_parse): plug potential leak
933 * math_iter.h: add comment on virtual destructor
935 * math_iter.C (Delete): make c const
937 * math_parinset.C (Metrics): cleanup indent. make one string const.
939 * math_inset.C (size): move out of line
942 * math_macroarg.h: remove default constructor
944 * math_macroarg.C: include Lsstream.h instead of debug.h
945 (MathMacroArgument): remove default constructor
946 (Write): add std:: on ostream arg
948 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
951 * formula.C: make DEBUG into lyxerr
953 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
955 * math_macrotemplate.h: make noncopyable, remove last arg to
956 constructor, remove flags_ add edit_
957 (flags): remove method
959 * math_macrotemplate.C (setArgument): delete method
960 (update): make idx const
961 (Metrics): use edit_, remove flags_
962 (draw): use edit_, remove flags_
963 (setEditMode): set edit_, remove flags_
964 (MathMacroTemplate): initialize edit_, remove flags_
966 * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
967 shared_ptr, let constructor take a shared_ptr
969 * math_macro.C (MathMacro): take shared_ptr as arg, remove double
971 (draw): remove unneded update, remove removed update of x,y
972 (GetXY): call tmplates GetMacroXY directly
973 (SetFocus): call Metrics() instead of update()
974 (Write): remove support for math macro environments, simplifications.
976 * math_macrotable.h: make class noncopyable, change getMacro to
977 createMacro, change vector to map store a
978 shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
980 * math_macrotable.C: add pragma
981 (createMacro): change name from getMacro, use shared_ptr
982 (getTemplate): Use map lookup to get macro, return shared_ptr
983 (addTemplate): assert that m containse a valid pointer, use map[]
985 (builtinMacros): by using shared_ptr fix the mem leak, remove
986 commented out unsupported macros
988 * math_cursor.C: changes because of the above
989 * math_parser.C: changes because of the abobe
991 * formulamacro.h: change tmacro_ to be a shared_ptr, remove
992 default arg on constructor.
993 * formulamacro.C: changes because of the above
995 * math_parinset.h: add pragma
996 (SetAlign): move inline out of class def
1000 (setArgumentIdx): ditto
1001 (setNextArgIdx): ditto
1002 (getArgumentIdx): ditto
1003 (getMaxArgumentIdx): ditto
1008 * math_parinset.C: add pragma
1009 (Write): change the else clause, lessen depth
1011 * math_macroarg.h: small whitespace change
1013 * array.C: include support/LOstream.h add using ostream and endl
1015 * array.h (dump): add std:: on ostream
1017 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1019 * math_macrotemplate.h: remove default arg on update
1021 * math_macrotemplate.C (update): add assert and remove noop case.
1023 * formulamacro.C (Read): add comment.
1024 (ascent): remove noop call to MathMacroTemplate
1029 * math_parser.C (mathed_parse): fix another potential problem by
1030 passing a freestanding mathedarray.
1032 * math_root.C (GetData): add const version
1034 * math_parinset.C (~MathParInset): delete
1035 (GetData): add const version
1037 * math_matrixinset.C (MathMatrixInset): delete pointer version,
1038 make it a proper copy constructor instead
1039 (Clone): change acc.
1040 (MathMatrixInset): remvoe default val for m and n
1042 * math_macro.C (GetData): add const version
1044 * math_fracinset.C (GetData): add const version
1046 * math_cursor.C (SelCopy): make p1 and p2 const
1047 (SelCut): make p1 and p2 const
1049 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1050 (LyxCode): move inline out of class
1051 (ConvertFont): ditto
1054 * array.[Ch] (dump): method added for debugging purposes
1056 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1057 mathed_parse when reading a matrix.
1059 * math_spaceinset.[Ch]: add pragma, make variables private add
1060 '_', change order of method definitions.
1062 * math_root.h (~MathRootInset): delete
1063 Change uroot_ to be a real object instead of a pointer
1064 * math_root.C: changes because of the above
1066 * math_macro.C (MathMacro(MathMacro*)): delete constructor
1067 (MathMacro(MathMacro const &)): new copy constructor
1069 * math_inset.h: delete constructor taking a pointer to MathedInset
1070 (size, incSize): move inline method
1072 * math_funcinset.h: add pragma, remove class vars ln and fname,
1073 change protected to private, add '_' to priv vars.
1074 (~MathFuncInset): remove
1076 * math_fracinset.h: make MathParInset den_ a real object and not a
1079 * math_fracinset.C (MathFracInset): clean up, move initalization
1080 to initialization list
1081 (~MathFracInset): remove
1082 (Clone): remove leak
1084 * math_draw.C: delete file
1086 * math_dotsinset.[Ch]: add pragma
1088 * math_bigopinset.h: make protected variables private add '_' to vars.
1090 * math_bigopinset.C: move methods to follow class definition order
1092 * math_accentinset.h (getAccentCode): move inline here
1094 * math_accentinset.C (MathAccentInset): cleanup
1097 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1099 * math_inset.[Ch] (MathedInset): remove method
1101 * Makefile.am (libmathed_la_SOURCES): correct typo
1103 * math_parinset.C (draw): move MathedXiter data(this) up. and
1104 remove it two other places.
1106 * math_macro.C (MathMacro): use array directly, don't use
1107 setArgumentIdx and GetData
1109 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1111 * math_macroarg.C (MathMacroArgument): delete
1112 * math_macro.C (~MathMacro): delete
1113 * math_macrotemplate.C (~MathMacroTemplate): delete
1115 * math_decorationinset.[Ch]: add pragma
1116 * math_deliminset.[Ch]: likewise
1117 * math_fracinset.[Ch]: likewise
1118 * math_macroarg.[Ch]: likewise
1119 * math_macrotemplate.[Ch]: likewise
1120 * math_matrixinset.[Ch]: likewise
1122 * formulamacro.C (Read): set contents of tmacro_ to ar.
1124 * formulamacro.h: add '_' to private variables.
1125 * formalamacro.C: changes because of this.
1127 2001-02-23 Juergen Vigna <jug@sad.it>
1129 * formula.C (LocalDispatch): changed action to be a kb_action (as it
1130 should be) and not an int.
1132 * formulamacro.C (LocalDispatch): ditto.
1134 2001-02-14 André Pönitz <poenitz@gmx.net>
1136 * math_parinset.[Ch]: make array a real MathArray, not just a
1139 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1141 * several files: subsequent changes
1143 * math_cursor.C: make selarray a proper MathArray
1145 * several files: Change "MathedArray *" to "MathedArray &"
1148 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
1150 * array.C (MathedArray): Fix compilation problem.
1152 2001-02-14 André Pönitz <poenitz@gmx.net>
1154 * array.[Ch]: "deep" copy constructor and assignment operator for
1157 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1159 * math_iter.[Ch]: remove SetData
1160 several files: subsequent changes
1162 2001-02-14 André Pönitz <poenitz@gmx.net>
1164 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and
1167 * math_iter.C: default-construct and resize array
1169 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1171 * math_xiter.h: move ipush and ipop to public, add _ on private
1172 variables, move protected var to private, remove friend.
1174 * math_cursor.C (insertInset): rename method from Insert also
1175 remove default arg val. Call the public methods of xiter instead
1176 of private variables.
1178 * changes to several files because of the above.
1180 2001-02-14 André Pönitz <poenitz@gmx.net>
1182 * math_iter.[Ch]: hide fcode_
1184 * math_parinset.C: subsequent changes
1187 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1189 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1192 * math_write.C: delete file
1193 * math_delim.C: delete file
1194 * marh_sqrtinset.h: delete file
1196 * move funcs to more localized files, more general cleanup.
1197 Constify several local vars. Doxygen changes. Formatting.
1199 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
1201 * support.C: add some consts
1203 * matriz.C: clean up a bit.
1204 (matmat): remove the for loop.
1206 * several files: changes so that several friends can be removed
1208 2001-02-14 André Pönitz <poenitz@gmx.net>
1210 * formula.C: reformatting
1214 math_xiter.[Ch]: remove unneeded members
1216 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1220 * formula.C: remove cruft
1222 * array.C (begin): new method
1225 2001-02-14 André Pönitz <poenitz@gmx.net>
1227 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1229 * math_cursor.C: reformatting
1231 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1233 * math_spaceinset.C:
1235 * math_matrixinset.C:
1236 * math_macrotemplate.C:
1240 * math_deliminset.C:
1241 * math_decorationinset.C:
1242 * math_bigopinset.C:
1243 * math_accentinset.C:
1244 * math_sqrtinset.C: include LOstream.h and add using directive.
1246 2001-02-14 André Pönitz <poenitz@gmx.net>
1248 * math_iter.C: reformatting
1250 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1252 * math_spaceinset.C (GetSpace): move here
1254 * math_parinset.C: add debug.h, move several prev. inlined methods
1257 * math_macrotable.C math_xiter.C support.C: add debug.h
1259 * math_macro.h: remove debug.h, remove typedefs
1261 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1264 * math_hash.C: change some defines to int const. change use of
1265 LM_TC_NORMAL to LM_TC_VAR
1267 * math_draw.C: delete file
1269 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1270 forward decls. remove LM_TC_NORMAL, move inline methods to
1271 support.C (and support.h)
1273 * math_cursor.C: move several previous inlined methods here
1275 * math_bigopinset.h math_dotsinset.h math_funcinset.h
1276 math_parinset.h math_spaceinset.h: add math_defs.h
1278 * math_accentinset.h: add support.h and math_defs.h
1280 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1282 * formula.h: remove unused func decl: OpenMathInset
1284 * formula.C math_inset.h: get rid of math_defs.h
1286 * array.h: switch to support.h instead of math_defs.h
1288 * array.C: remove one include
1290 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1292 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1294 * math_parser.C: include macrotable and macrotemplate
1296 * math_macrotemplate.[Ch]: new files
1298 * math_macrotable.[Ch]: new files
1300 * math_macroarg.[Ch]: new files
1302 * math_macro.C: move stuff to the new files.
1304 * math_cursor.C: include math_macrotable.h
1306 * macro_support.[Ch]: new files
1308 * formulamacro.C: add more includes
1310 * Makefile.am (libmathed_la_SOURCES): add new files.
1312 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1314 * Makefile.am (libmathed_la_SOURCES): remove duplicate
1319 * math_parinset.C: add a bunch of "using" directives.
1322 * math_decorationinset.h:
1323 * math_bigopinset.h:
1324 * math_spaceinset.h: remove more couples of inline.
1326 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
1328 * math_xiter.h: remove a couple of "inline"
1330 * array.C (strange_copy): fix bug (hopefully)
1331 * many files: add a lot of new files and move methods to the class
1332 files they belong to. Only first attempt at cleanup more will
1335 2001-02-12 André Pönitz <poenitz@gmx.net>
1337 * math_macro.[hC]: replace MathMacroArgument[] with
1338 std::vector<MathMacroArgument>
1340 math_inset.C: replace int[] with std::vector<int>
1342 * math_symbols.C: replace FL_OBJECTP[] with
1343 std::vector<FL_OBJECT*>
1345 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1347 * math_defs.h (struct MathedRowSt): make all private variables end
1348 with '_', initialize in initializer list instead of in function
1351 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
1353 * formula.C (LocalDispatch): Change the default action of
1354 break-line to create an align* environment instead of eqnarray*.
1356 * math_inset.C (Metrics): Correct drawing of the multline
1359 2001-02-12 André Pönitz <poenitz@gmx.net>
1361 * array.[hC]: replace private variable maxsize_ with call to
1363 * math_defs.h: replace int[] by std::vector<int> for
1366 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1368 * array.h: made all variables private, removed friend, added new
1369 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1370 non const operator[] added setter for last and getter for maxsize.
1371 changed name from LyxArrayBase to MathedArray.
1372 changed name of some methods to start with lowerchar.
1373 moved inline methods to array.C
1375 * math_iter.C + several file: changes because of the above.
1377 * array.C: new file with the prev inline methods.
1379 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1381 * Many files: add support for the align environment from amsmath.
1383 2001-02-09 André Pönitz <poenitz@gmx.net>
1385 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
1386 * several files: subsequent changes
1387 * math_iter.h: remove unused prototype
1390 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1392 * math_macro.C (draw): add .c_str() to .str() (useful when
1393 compiling with lyxstring, but STL sstream).
1396 2001-02-08 André Pönitz <poenitz@gmx.net>
1398 * several files: get rid of reinterpret_cast.
1400 2001-02-04 Allan Rae <rae@lyx.org>
1402 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1403 just casting the variable.
1405 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1407 * Many files: Add support for multline and alignat environments from
1410 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1412 * math_symbols.C (math_insert_greek): Move cursor right when
1413 unlocking the math inset.
1415 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1417 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1419 * formula.C (LocalDispatch): Before inserting a label in an
1420 eqnarray, move the cursor to the top level.
1422 * math_iter.C (getLabel): Test if crow == 0.
1424 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1426 * math_draw.C (Metrics): Use the correct GetString.