]> git.lyx.org Git - lyx.git/blob - src/mathed/ChangeLog
some support for matrix operations with maple ('M-x math-extern maple evalm')
[lyx.git] / src / mathed / ChangeLog
1 2001-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * math_arrayinset.C (MathArrayInset): 
4         * formula.C (pipeThroughMaple): 
5         (pipeThroughOctave): add ugly .c_str() to help compile
6         with lyxstring
7
8 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9
10         * math_inset.C: compilation fix
11
12 2001-11-07  André Pönitz  <poenitz@gmx.net>
13
14         * math_*inset.[Ch]:
15         * array.[Ch]: start native C++ support for Octave, Maple and MathML
16
17 2001-10-31  Angus Leeming  <a.leeming@ic.ac.uk>
18
19         * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
20
21 2001-10-24  Angus Leeming  <a.leeming@ic.ac.uk>
22
23         * math_nestinset.C: added using std::max, min directives.
24         * math_scriptinset.C: added using std::ostream directive.
25         * math_scriptinset.h: replaced ostream with std::ostream.
26
27 2001-10-17  André Pönitz  <poenitz@gmx.net>
28
29         * math_*inset.[Ch]: remove MathStyles cache from insets that
30           don't need it
31
32         * support.C: 
33           formulabase.C: fix math font sizes in headings etc
34
35         * math_inset.[Ch]:
36           formula.C: remove unused static member int MathInset::workwidth
37
38         * math_gridinset.[Ch]: implement idxHome() and idxEnd()
39
40 2001-10-17  André Pönitz  <poenitz@gmx.net>
41
42         * math_inset.h:
43         * *.[Ch]: make output more stream-like
44
45 2001-10-17  André Pönitz  <poenitz@gmx.net>
46
47         * formula.C:
48         * array.C: add missing/broken  writeNormal()
49
50         * math_lefteqn.[Ch]: some visual support for \lefteqn
51
52
53 2001-10-10  André Pönitz  <poenitz@gmx.net>
54
55         * math_cursor.C: introduce dummy "inner" position "between"
56         nucleus and scripts for smoother cursor movement
57
58         * math_cursor.C: use red dot to indicate empty nucleus
59
60
61 2001-10-02  André Pönitz  <poenitz@gmx.net>
62
63         * math_cursor.C: leave red backslash as visual clue
64         in formula when typing macro names
65
66         *       math_macrotemplate.C: sanity check
67
68 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
69
70         * math_cursor.C:
71         * formula.C (localDispatch): fix a few of local variable sizes
72
73         * math_fracbase.C: change parameter types to match MathInset
74
75 2001-10-01  André Pönitz  <poenitz@gmx.net>
76
77         * math_cursor.[Ch]: remove local parInset() method
78
79         * math_macro.C: add a static_cast
80
81 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
82
83         * math_cursor.C: fix type mismatches with what was declared in
84         math_cursor.h. 
85
86 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
87
88         * math_matrixinset.C (header_write): Add \n after \begin{align}
89
90 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
91
92         * math_macrotable.C (builtinMacros): Add some macros if latex
93         fonts are available.
94
95 2001-09-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
96
97         * formula.C (insetAllowed): disallow label insertion in inline
98         formula
99
100 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
101
102         * formulabase.C (mathDispatchCreation): pass second argument
103         'false' (no label) to selectionAsString
104
105 2001-09-11  André Pönitz  <poenitz@gmx.net>
106
107         * math_atom.[Ch]: new basic item in the MathArray
108
109         * array.[Ch]: move code over to math_atom
110
111         * math_scriptinset.[Ch]:
112           math_parser.C:
113           math_cursor.C: try to do with super- and subscripts what TeX does
114
115 2001-09-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
116
117         * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
118
119 2001-09-04  André Pönitz  <poenitz@gmx.net>
120
121         * math_defs.h:
122         * math_parser.C:
123         * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
124             'xxalignt', 'gather' and 'multiline' environments
125
126         * math_cursor.C: fix handling of | and \|
127         
128 2001-09-04  José Matos  <jamatos@fep.up.pt>
129
130         * formulabase.C
131         * formulabase.h
132         * formula.C
133         * formula.h
134         * formulamacro.C
135         * formulamacro.h (docbook): rename docBook method to docbook.
136
137 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
138
139         * math_hash.C (ReadSymbols): Check for duplicate symbols
140
141 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
142
143         * support.C: added a using std::map directive.
144
145 2001-08-17  André Pönitz  <poenitz@gmx.net>
146
147         * math_hash.C: Use std::map instead of faking it
148         
149         * symbol_def.h: remove unneeded symbol definitions
150
151         *       support.C: use the decorations' name for drawing
152
153 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
154
155         * math_hash.C (in_word_set): Initialize symbol table even when
156         symbols file was not found.
157
158 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
159
160         * math_hash.C: added a using std::endl directive.
161
162 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
163
164         * support.C (whichFont): Add support for cmr font.
165         Add support for \mathbb.
166
167         * math_notinset.C (draw, metrics): Use cmsy symbol if available.
168
169         * math_macrotable.C (builtinMacros): Add 3 builtin macros
170
171 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
172
173         * math_hash.C: Read symbols information from external file
174         many files: Add support for latex symbol fonts
175
176 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
177
178         * math_parser.C (Parser): Eat spaces after \end_inset
179
180 2001-08-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
181
182         * math_parser.C (tokenize): fix typo
183
184 2001-08-17  André Pönitz  <poenitz@gmx.net>
185
186         * math_parser.C: new "lexxer"
187
188         * array.C: write sequences of chars with same code as a unit
189
190 2001-08-13  André Pönitz  <poenitz@gmx.net>
191
192         * math_factory.[Ch]: new files for the creation of math insets
193
194         * math_parser.C:
195                 math_cursor.C:
196                 math_hash.C: simplifications
197
198         * math_binom.[Ch]: new files for "native" \binom/\choose inset
199
200         * math_parser.C:
201                 math_cursor.C: reading support for TeX style \over and \choose
202
203         * formulabase.C: re-enabling the "selected text gets converted to
204         math when pressing C-m" feature.
205
206 2001-08-13  Angus Leeming  <a.leeming@ic.ac.uk>
207
208         * math_parser.C (lexArg): remove default argument from the .C file
209         as it causes DEC cxx to complain about a redefinition.
210
211 2001-08-10  André Pönitz  <poenitz@gmx.net>
212
213         *       math_scopeinset.[Ch]: new inset for {} blocks
214
215         *       math_accentinset.[Ch]: removed unneeded files
216
217         * math_grid.[Ch]:
218           math_matrix.[Ch]: start support for "interrow spacing"
219
220         * all over the place: rework of parser stuff
221
222 2001-08-08  André Pönitz  <poenitz@gmx.net>
223
224         *       math_fracbase.[Ch]:
225         * math_fracinset.[Ch]: new hierarchy
226
227         *       math_stackrelbase.[Ch]: native \stackrel support
228
229         * math_inset.[Ch]: removal of the name_ member
230
231         * math_deliminset.[Ch]: rework
232
233 2001-08-06  André Pönitz  <poenitz@gmx.net>
234
235         * formulamacro.C: fix nasty bug due to missing copy constructor
236
237         * math_bigopinset.[Ch]: revival for things like \int, \sum
238
239         * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
240         
241         * math_diminset.h: make cache variables mutable, remove const_cast
242
243         * formulabase.[Ch]: remove unneeded convertFont()
244
245         * math_funcinset.[Ch]: bring red color back
246
247         * math_macro*.[Ch]: move ownership of the templates from the formulamacro
248         inset to the mcaro table
249
250 2001-08-01  André Pönitz  <poenitz@gmx.net>
251
252         * math_cursor.C:
253                 formulamacro.C: fix memory leaks
254
255         * math_matrixinset.C: fix mis-alignment of eqnarray columns
256
257         *       formula*.[Ch]: seperation of the "pimpl" MathInset * into
258         MathMatrixInset * and MathMacroTemplate * to save a few casts
259
260         * all over the place: everything is an inset now
261
262         * math_nestinset.[Ch]: new abstract base class for insets containing
263         other insets.
264
265         * math_diminset.[Ch]: new abstract base class for insets that need
266         the width_/ascent_/descent_ cache
267
268 2001-07-25  André Pönitz  <poenitz@gmx.net>
269         
270         * formulabase.C: re-enable 'space enlargement' feature
271
272         * math_scriptinset.C:
273                 math_bigopinset.C: rework of script insets
274
275 2001-07-22  André Pönitz  <poenitz@gmx.net>
276
277         * math_cursor.C: fix "pullArg" behaviour
278
279         * math_cursor.C: keep empty super/subscript a bit longer
280
281         * math_cursor.C: do not move into insets that don't have inner cells yet
282
283         * formulabase.C: fix memory leak
284
285         * math_cursor.C: ^ now copies selection into new srriptinset
286         
287         * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
288           using the mouse
289
290         * math_updowninset.C: fix drawing glitches
291
292         * math_cursor.C: paste to correct position
293
294 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * formula.C (insetAllowed): allow insertion of label
297
298 2001-07-20 André Pönitz  <poenitz@gmx.net>
299
300         * math_macrotable.C: support for \land and \vee
301
302 2001-07-16 André Pönitz  <poenitz@gmx.net>
303
304         * math_grid.[Ch] -> math_gridinset.[Ch]
305           math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
306
307         * formulabase.C: fix 'buffer set to (Changed) when moving in math',
308           fix 'mathed reports wrong width', cosmetics
309
310 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
311
312         * math_cursor.C (operator==): moved ouf of struct
313         (operator<): ditto
314         (normalAnchor): reversed one test (but shouldn't it really be >= ?)
315
316 2001-07-16 André Pönitz  <poenitz@gmx.net>
317
318         * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
319
320         * several files: supporting changes
321
322 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
323
324         Consistent use of Lsstream.h:
325         * formula.C: removed using std::ostringstream directive.
326
327         * math_cursor.C: std::istringstream -> istringstream.
328
329 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
330
331         * math_decorationinset.h: add std:: qualifier
332
333 2001-07-12 André Pönitz  <poenitz@gmx.net>
334
335         * math_updowninset.[hC]: new base class for script and bigop insets
336                 *.[hC]: subsequent changes to all Metric() functions
337         
338         * math_parser.C: small changes (\sqrt0 is read properly now)
339         
340 2001-07-10 André Pönitz  <poenitz@gmx.net>
341         
342         * math_accentinset.[hC]: rewrite
343
344         * math_parser.C:
345                 math_cursor.C: subsequent changes
346
347         * math_grid.C: <Delete> in the first cell of a completely empty row
348           deletes that row, <C-Return> places the cursor in the first of the
349           new empty cells.
350
351         * math_grid.C: try to split cell nicely when mutating from single-cell
352           to multi-cell environment
353
354 2001-07-09  Dekel Tsur  <dekelts@tau.ac.il>
355
356         * math_matrixinset.C (mutate): Use only the first label when
357         mutating eqnarray to display formula.
358
359 2001-07-09  Juergen Vigna  <jug@sad.it>
360
361         * formulabase.C (mathDispatchCreation): don't do anything with the
362         inset if it cannot be inserted!
363
364 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
365
366         * formulabase.C (mathDispatchInsertMath): remove bogus return
367         statement. 
368
369 2001-07-09 André Pönitz  <poenitz@gmx.net>
370
371         * math_*inset.C: Change order of arguments in MathInset constructor 
372
373         * math_cursor.C: Remove broken "increase space" feature for a while
374
375 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
376
377         * formulabase.C (mathDispatchInsertMath): Create an inline formula.
378
379 2001-07-04 André Pönitz  <poenitz@gmx.net>
380
381         * math_parser.C: fix reading of "unusual" alpha chars
382
383         * xarray.[hC]: fix debug output of xarray
384
385 2001-07-03 André Pönitz  <poenitz@gmx.net>
386
387         * math_parser.C: fix bug where equations did not get their labels
388
389         * formulabase.C: new feature: changing font on selection
390
391         * several files: subsequent changes
392
393         * array.C: fix bug when insets have not been cloned properly
394         This should fix quite a few "random" crashes...
395
396 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
397
398         * formulabase.C (localDispatch): use .c_str() on istringstream
399         constructor argument.
400
401 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
402
403         * math_grid.C (addCol): add second argument to cellinfo_.insert.
404         Cleanup a bit the code.
405         (appendRow): do not call push_back without argument.
406
407         * *.C: remove all "using namespace std" directives (not
408         good!!) and replaced it with relevant "using" directives.
409         
410         * math_macrotemplate.C (Clone): change return type to MathInset*
411
412 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
413
414         * math_sizeinset.C: include support/LOstream.h
415
416         * math_scriptinset.C (Metrics): std:: qualify max
417
418         * math_root.C (Metrics): std:: qualify max
419         (Write): std:: qualify ostream
420         (WriteNormal): ditto
421
422         * math_matrixinset.C (getLabelList): std:: qualify vector
423         include vector
424         (Metrics): std:: qualify max
425         (header_write): std:: qualify ostream
426         (footer_write): ditto
427
428         * math_macrotemplate.C (Write): std:: qualify ostream
429
430         * math_bigopinset.C (Metrics): std:: qualify max, and include
431         functional 
432
433         * math_matrixinset.h: include vector and std:: qualify it.
434
435         * array.C (GetInset): get a pointer to the first element of bf_
436         not an iterator.
437
438 2001-06-25  The LyX Project  <Asger>
439
440         * math_scriptinset.C: Fix for entering with cursor up/down.
441
442         * math_fracinset.C: We can enter fractions with cursor up and
443         down.
444
445         * math_cursor.C (Right): Fixes for cursor movement.
446
447         * formula.C (draw): New background color for math.
448         
449         * math_cursor.C: Fixes for toggling labels on/off in math.
450         Fixes for infinity and other symbols that didn't appear in
451         LaTeX.
452
453 2001-06-24  The LyX Project  <Asger>
454
455         * math_inset.C: Cursor movement is better in square roots, among
456         other things.
457
458         * math_cursor.C (Interpret): Improved subscript bullshit. Improved
459         cursor up/down movement. What not.
460
461 2001-06-24  The LyX Project  <Asger>
462
463         * math_matrixinset.C: Hidden labels are hidden, unless a small
464         dragon jumps out of the screen, and pronounce them to the entire
465         world.
466
467 2001-06-24  The LyX Project  <Easter egg>
468
469         * math_cursor.C: Cursor improvements after a few dead-ends
470         in the evolution of cursor movement were tested and scrapped.
471         
472 2001-06-24  The LyX Project  <Asger>
473
474         * math_cursor.C: Renamed stack to path.
475
476 2001-06-24  The LyX Project  <André>
477
478         * *.[Ch]:
479           Makefile.am: The Big Patch
480           (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
481      new MathScriptInset for up/down stuff;
482            delete MathIter/MatXIter, MathParInset, MathRowSt
483      Changes to the inset inheritance tree, reunification of abstract math
484      inset base classes;
485      label/numbering handling back to life;
486      major changes to the parser(s);
487      new base class FormulaBase for the two math LyXInsets;
488            general cleanup and cosmetic changes)
489
490 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
491
492         * math_macro.C:
493         * math_root.C: removed // -*- C++ -*- as first line.
494
495 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
496
497         * array.C: bring memmove into main namespace if necessary
498
499 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
500
501         * math_parser.C (yylex): use contains instead of strchr
502         (parse_align): remove last arg, change to take string const & as
503         first arg.
504         (mathed_parse): use string for ar2 and ar, adjust
505
506         * math_decorationinset.C (Write): use compare instead of strcmp
507
508         * formula.C (LocalDispatch): change arg2 to string, adjust for this
509         (LocalDispatch): add std::
510         (LocalDispatch): use contains instead of strchr
511
512         * array.C (move): add std::
513
514 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
515
516         * matriz.C: add using directives when needed for C functions
517         declared in std:: namespace.
518
519         * math_macrotemplate.h: do not use explicitely std::string, but
520         string. 
521
522         * math_macroarg.C: avoid bringing the whole std:: namespace in
523         global-land. When you do that, there is an ambiguity between
524         lyxstring and std::string (which may be defined at the same time).
525
526         * formula.C (HandleExtern): add .c_str() to .str() (useful when
527         using lyxtring)
528
529 2001-04-27 André Pönitz  <poenitz@gmx.net>
530
531         * math_parser.C: fix \frac handling bug introduced on 04-24
532         * math_xiter.C: hotfix for merging "shared" insets
533         * formula.C: fixing display after using math-insert
534
535 2001-04-25 André Pönitz  <poenitz@gmx.net>
536
537         * math_*.[Ch]: WriteNormal
538         * formula.C: Support for new "math extern" command
539         * math_parser.C: fix \frac handling bug introduced on 04-24
540         * math_xiter.C: hotfix for merging "shared" insets
541
542 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
543
544         * math_macrotable.C: include <iostream>
545
546 2001-04-24 André Pönitz  <poenitz@gmx.net>
547
548         * math_macro.[Ch]:
549         * math_macrotable.[Ch]:
550         * math_macroarg.[Ch]: restructuring of macro handling
551         * several files: 
552
553 2001-04-25  Angus Leeming  <a.leeming@ic.ac.uk>
554
555         * array.h (operator<<):
556         * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
557
558         * math_macrotable.C: added using std::make_pair directive.
559         (dump): added using std::cerr directive here as I guess that this is
560         temporary.
561
562 2001-04-20  Allan Rae  <rae@lyx.org>
563
564         * formula.C (LocalDispatch): fixed another #warning.  Guess who.
565
566 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
567
568         * math_macrotemplate.h: inherit privately from noncopyable
569
570         * math_macro.C (Metrics): reindent, use unsigned int as loop var
571         (setArgumentIdx): change test to avoid unsigned warning
572
573         * formula.C (LocalDispatch): use LFUN_MESSAGE
574
575 2001-04-16  Allan Rae  <rae@lyx.org>
576
577         * formula.C (Latex, getLabelList, LocalDispatch): 
578         * math_parser.C (mathed_parse): 
579         * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
580         an unrecognised preprocessor directive.  So ensure they're wrapped.
581
582 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
583
584         * formula.C (draw): adjust for cursor_visible
585         (ToggleInsetCursor): adjust for cursor_visible and constify asc
586         and desc
587         (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
588         (HideInsetCursor): adjust for cursor_visible
589         (LocalDispatch): constify default_label and res
590
591 2001-03-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
592
593         * math_rowst.C: add missing #include <config.h>.
594
595 2001-03-16  André Pönitz  <poenitz@gmx.net>
596
597         * math_matrixinset.h:
598         * math_parinset.[Ch]:
599         * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
600       
601 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
602
603         * Makefile.am:
604         * formula.C:
605         * math_forms.h:
606         * math_forms.C:
607         * math_panel.h:
608         * math_panel.C:
609         * math_symbols.C: maths panel moved to GUII
610
611 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
612
613         * math_cursor.C: use lyxerr instead of cerr.
614
615 2001-03-15  André Pönitz  <poenitz@gmx.net>
616
617         * math_cursor.C: fix bug (cursor was leaving two insets at a time
618            instead of one)
619
620 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
621
622         * math_macrotable.h: noncopyable is in namespace boost
623         * math_macrotemplate.h: ditto
624
625         * math_rowst.h: make MathedRowContainer::iterator public.
626
627 2001-03-15  André Pönitz  <poenitz@gmx.net>
628
629         * math_parser.C: read '\nonumber' again (was broken)
630
631         * math_rowst.C: new file
632
633 2001-03-15  Angus Leeming  <a.leeming@ic.ac.uk>
634
635         * math_cursor.C: added using directive.
636
637 2001-03-15  André Pönitz  <poenitz@gmx.net>
638
639         * math_rowst.h: Finally remove MathedRowSt
640
641         * math_parser.C:
642           math_xiter.C: changed accordingly
643
644 2001-03-12  André Pönitz  <poenitz@gmx.net>
645
646         *       math_rowst.h: replace MathedRowSt with MathedRowStruct,
647             more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
648
649 2001-03-10  André Pönitz  <poenitz@gmx.net>
650
651         * math_xiter.[Ch]:
652           math_matrixinset.C: move adjustVerticalSt to the only place where
653       it is used. Fix a small bug where the cached row structure and the
654             actual data get out of sync after the deletion of whole rows
655
656 2001-03-09  André Pönitz  <poenitz@gmx.net>
657
658         * math_cursor.C: use std::vector<> in MathStackXIter
659                 change selstk from a pointer to the "real thing"
660
661         * math_rowst.h: new MathedRowContainer::erase method
662
663         * math_xiter.C: use MathedRowContainer::erase
664
665         * math_parser.C: use MathedRowContainer::insert_after
666
667 2001-03-08  André Pönitz  <poenitz@gmx.net>
668
669         * math_rowst.h: give MathedRowContainer an 'insert' method. 
670
671         * math_xiter.C: new 'container()' method to encapsulated access to
672           the MathParInset's MathedRowContainer
673
674         * math_rowst.h: proper copy constructor and destructor for
675           MathedRowContainer
676
677         * math_matrixinset.[hC]: remove copy constructr and destructor. Those
678           automatically created by the compiler are ok now.
679         
680 2001-03-06  André Pönitz  <poenitz@gmx.net>
681
682         * array.[Ch]: factor out deep_copy,
683           remove third argument from raw_pointer_insert 
684
685         * math_iter.[Ch]: remove unused function Clear()        
686
687         * math_cursor.C: change signature of MathStackXIter:push()
688           whitespace changes
689
690         * math_rowst.h: introduction of MathRowContainer
691           several files: corresponding changes
692
693 2001-03-04  André Pönitz  <poenitz@gmx.net>
694
695   * math_macrotemplate.[Ch]:
696     math_macro.C: move update() functionality to the macro
697
698         * math_rowst.h: split MathedRowSt into "data" and "list"
699
700 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
701
702         * math_macrotemplate.C (update): use MathMacro::getArg, and
703         receive a const reference.
704         (getMacroPar): add an Assert
705
706         * math_macrotemplate.h: make MathMacro a friend, make update take
707         a const reference.
708
709         * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
710         and store a MathMacroArgument in the vector
711         * math_macro.C: changes because of the above.
712         (getArg): new method
713
714         * math_parser.C (mathed_parse): plug potential leak
715
716         * math_iter.h: add comment on virtual destructor
717
718         * math_iter.C (Delete): make c const
719
720         * math_parinset.C (Metrics): cleanup indent. make one string const.
721
722         * math_inset.C (size): move out of line
723         (incSize): ditto
724
725         * math_macroarg.h: remove default constructor
726
727         * math_macroarg.C: include Lsstream.h instead of debug.h
728         (MathMacroArgument): remove default constructor
729         (Write): add std:: on ostream arg
730
731 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
732
733         * math_parser.C:
734         * formula.C: make DEBUG into lyxerr
735
736 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
737
738         * math_macrotemplate.h: make noncopyable, remove last arg to
739         constructor, remove flags_ add edit_
740         (flags): remove method
741
742         * math_macrotemplate.C (setArgument): delete method
743         (update): make idx const
744         (Metrics): use edit_, remove flags_
745         (draw): use edit_, remove flags_
746         (setEditMode): set edit_, remove flags_
747         (MathMacroTemplate): initialize edit_, remove flags_
748
749         * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
750         shared_ptr, let constructor take a shared_ptr
751
752         * math_macro.C (MathMacro): take shared_ptr as arg, remove double
753         initialization. 
754         (draw): remove unneded update, remove removed update of x,y
755         (GetXY): call tmplates GetMacroXY directly
756         (SetFocus): call Metrics() instead of update()
757         (Write): remove support for math macro environments, simplifications.
758
759         * math_macrotable.h: make class noncopyable, change getMacro to
760         createMacro, change vector to map store a
761         shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
762
763         * math_macrotable.C: add pragma
764         (createMacro): change name from getMacro, use shared_ptr
765         (getTemplate): Use map lookup to get macro, return shared_ptr
766         (addTemplate): assert that m containse a valid pointer, use map[]
767         insert.
768         (builtinMacros): by using shared_ptr fix the mem leak, remove
769         commented out unsupported macros
770
771         * math_cursor.C: changes because of the above
772         * math_parser.C: changes because of the abobe
773         
774         * formulamacro.h: change tmacro_ to be a shared_ptr, remove
775         default arg on constructor.
776         * formulamacro.C: changes because of the above
777
778         * math_parinset.h: add pragma
779         (SetAlign): move inline out of class def
780         (GetColumns): ditto
781         (GetRows): ditto
782         (isMatrix): ditto
783         (setArgumentIdx): ditto
784         (setNextArgIdx): ditto
785         (getArgumentIdx): ditto
786         (getMaxArgumentIdx): ditto
787         (setRowSt): ditto
788         (xo): ditto
789         (yo): ditto
790
791         * math_parinset.C: add pragma
792         (Write): change the else clause, lessen depth
793
794         * math_macroarg.h: small whitespace change
795
796         * array.C: include support/LOstream.h add using ostream and endl
797
798         * array.h (dump): add std:: on ostream
799
800 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
801
802         * math_macrotemplate.h: remove default arg on update
803
804         * math_macrotemplate.C (update): add assert and remove noop case.
805
806         * formulamacro.C (Read): add comment.
807         (ascent): remove noop call to MathMacroTemplate
808         (descent): ditto
809         (width): ditto
810         (draw): ditto
811
812         * math_parser.C (mathed_parse): fix another potential problem by
813         passing a freestanding mathedarray.
814
815         * math_root.C (GetData): add const version
816
817         * math_parinset.C (~MathParInset): delete
818         (GetData): add const version
819
820         * math_matrixinset.C (MathMatrixInset): delete pointer version,
821         make it a proper copy constructor instead
822         (Clone): change acc.
823         (MathMatrixInset): remvoe default val for m and n
824
825         * math_macro.C (GetData): add const version
826
827         * math_fracinset.C (GetData): add const version
828
829         * math_cursor.C (SelCopy): make p1 and p2 const
830         (SelCut): make p1 and p2 const
831
832         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
833         (LyxCode): move inline out of class
834         (ConvertFont): ditto
835         (display): ditto
836
837         * array.[Ch] (dump): method added for debugging purposes
838
839         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
840         mathed_parse when reading a matrix.
841
842         * math_spaceinset.[Ch]: add pragma, make variables private add
843         '_', change order of method definitions.
844
845         * math_root.h (~MathRootInset): delete
846         Change uroot_ to be a real object instead of a pointer
847         * math_root.C: changes because of the above
848
849         * math_macro.C (MathMacro(MathMacro*)): delete constructor
850         (MathMacro(MathMacro const &)): new copy constructor
851
852         * math_inset.h: delete constructor taking a pointer to MathedInset
853         (size, incSize): move inline method
854
855         * math_funcinset.h: add pragma, remove class vars ln and fname,
856         change protected to private, add '_' to priv vars.
857         (~MathFuncInset): remove
858
859         * math_fracinset.h: make MathParInset den_ a real object and not a
860         pointer. 
861
862         * math_fracinset.C (MathFracInset): clean up, move initalization
863         to initialization list
864         (~MathFracInset): remove
865         (Clone): remove leak
866
867         * math_draw.C: delete file
868         
869         * math_dotsinset.[Ch]: add pragma
870
871         * math_bigopinset.h: make protected variables private add '_' to vars.
872
873         * math_bigopinset.C: move methods to follow class definition order
874
875         * math_accentinset.h (getAccentCode): move inline here
876
877         * math_accentinset.C (MathAccentInset): cleanup
878         (draw): constify dw
879
880 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
881
882         * math_inset.[Ch] (MathedInset): remove method
883
884         * Makefile.am (libmathed_la_SOURCES): correct typo
885
886         * math_parinset.C (draw): move MathedXiter data(this) up. and
887         remove it two other places.
888
889         * math_macro.C (MathMacro): use array directly, don't use
890         setArgumentIdx and GetData
891
892 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
893
894         * math_macroarg.C (MathMacroArgument): delete
895         * math_macro.C (~MathMacro): delete
896         * math_macrotemplate.C (~MathMacroTemplate): delete
897         
898         * math_decorationinset.[Ch]: add pragma
899         * math_deliminset.[Ch]: likewise
900         * math_fracinset.[Ch]: likewise
901         * math_macroarg.[Ch]: likewise
902         * math_macrotemplate.[Ch]: likewise
903         * math_matrixinset.[Ch]: likewise
904         
905         * formulamacro.C (Read): set contents of tmacro_ to ar.
906
907         * formulamacro.h: add '_' to private variables.
908         * formalamacro.C: changes because of this.
909
910 2001-02-23  Juergen Vigna  <jug@sad.it>
911
912         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
913         should be) and not an int.
914
915         * formulamacro.C (LocalDispatch): ditto.
916
917 2001-02-14  André Pönitz  <poenitz@gmx.net>
918
919         * math_parinset.[Ch]: make array a real MathArray, not just a
920           pointer to one.
921
922         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
923
924         * several files: subsequent changes
925         
926         * math_cursor.C: make selarray a proper MathArray
927
928         * several files: Change "MathedArray *" to "MathedArray &"
929
930
931 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
932
933         * array.C (MathedArray): Fix compilation problem.
934
935 2001-02-14  André Pönitz  <poenitz@gmx.net>
936
937         * array.[Ch]: "deep" copy constructor and assignment operator for
938         MathArray 
939
940         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
941
942         * math_iter.[Ch]: remove SetData
943           several files: subsequent changes
944
945 2001-02-14  André Pönitz  <poenitz@gmx.net>
946
947         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and
948         ARRAY_STEP 
949
950         * math_iter.C: default-construct and resize array
951
952 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
953
954         * math_xiter.h: move ipush and ipop to public, add _ on private
955         variables, move protected var to private, remove friend.
956
957         * math_cursor.C (insertInset): rename method from Insert also
958         remove default arg val. Call the public methods of xiter instead
959         of private variables.
960
961         * changes to several files because of the above.
962         
963 2001-02-14  André Pönitz  <poenitz@gmx.net>
964
965         * math_iter.[Ch]: hide fcode_
966         * math_xiter.C:
967         * math_parinset.C: subsequent changes
968
969
970 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
971
972         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
973         math_utils.h
974
975         * math_write.C: delete file
976         * math_delim.C: delete file
977         * marh_sqrtinset.h: delete file
978
979         * move funcs to more localized files, more general cleanup.
980         Constify several local vars. Doxygen changes. Formatting.
981         
982 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
983
984         * support.C: add some consts
985
986         * matriz.C: clean up a bit.
987         (matmat): remove the for loop.
988
989         * several files: changes so that several friends can be removed
990
991 2001-02-14  André Pönitz  <poenitz@gmx.net>
992
993         * formula.C: reformatting 
994
995         * math_cursor.[Ch]:
996           math_iter.[Ch]:
997           math_xiter.[Ch]: remove unneeded members
998
999 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1000
1001         * math_parser.C: 
1002         * math_panel.C: 
1003         * formula.C: remove cruft
1004
1005         * array.C (begin): new method
1006         (end): ditto
1007
1008 2001-02-14  André Pönitz  <poenitz@gmx.net>
1009         
1010         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1011
1012         * math_cursor.C: reformatting 
1013
1014 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1015
1016         * math_spaceinset.C: 
1017         * math_root.C: 
1018         * math_matrixinset.C: 
1019         * math_macrotemplate.C: 
1020         * math_funcinset.C: 
1021         * math_fracinset.C: 
1022         * math_dotsinset.C: 
1023         * math_deliminset.C: 
1024         * math_decorationinset.C: 
1025         * math_bigopinset.C: 
1026         * math_accentinset.C: 
1027         * math_sqrtinset.C: include LOstream.h and add using directive.
1028
1029 2001-02-14  André Pönitz  <poenitz@gmx.net>
1030
1031         * math_iter.C: reformatting 
1032
1033 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1034
1035         * math_spaceinset.C (GetSpace): move here
1036
1037         * math_parinset.C: add debug.h, move several prev. inlined methods
1038         here. 
1039
1040         * math_macrotable.C math_xiter.C support.C: add debug.h
1041
1042         * math_macro.h: remove debug.h, remove typedefs
1043
1044         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1045         extern decls.
1046
1047         * math_hash.C: change some defines to int const. change use of
1048         LM_TC_NORMAL to LM_TC_VAR
1049
1050         * math_draw.C: delete file
1051
1052         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1053         forward decls. remove LM_TC_NORMAL, move inline methods to
1054         support.C (and support.h)
1055
1056         * math_cursor.C: move several previous inlined methods here
1057
1058         * math_bigopinset.h math_dotsinset.h math_funcinset.h
1059         math_parinset.h math_spaceinset.h: add math_defs.h
1060
1061         * math_accentinset.h: add support.h and math_defs.h
1062
1063         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1064
1065         * formula.h: remove unused func decl: OpenMathInset
1066
1067         * formula.C math_inset.h: get rid of math_defs.h
1068
1069         * array.h: switch to support.h instead of math_defs.h
1070
1071         * array.C: remove one include
1072
1073         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1074
1075         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1076
1077         * math_parser.C: include macrotable and macrotemplate
1078
1079         * math_macrotemplate.[Ch]: new files
1080
1081         * math_macrotable.[Ch]: new files
1082
1083         * math_macroarg.[Ch]: new files
1084
1085         * math_macro.C: move stuff to the new files.
1086
1087         * math_cursor.C: include math_macrotable.h
1088
1089         * macro_support.[Ch]: new files
1090
1091         * formulamacro.C: add more includes
1092
1093         * Makefile.am (libmathed_la_SOURCES): add new files.
1094
1095 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1096
1097         * Makefile.am (libmathed_la_SOURCES): remove duplicate
1098         math_sqrtinset. 
1099
1100         * support.C: 
1101         * math_xiter.C: 
1102         * math_parinset.C: add a bunch of "using" directives.
1103
1104         * math_funcinset.h: 
1105         * math_decorationinset.h: 
1106         * math_bigopinset.h: 
1107         * math_spaceinset.h: remove more couples of inline.
1108
1109 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1110
1111         * math_xiter.h: remove a couple of "inline"
1112
1113         * array.C (strange_copy): fix bug (hopefully) 
1114         * many files: add a lot of new files and move methods to the class
1115         files they belong to. Only first attempt at cleanup more will
1116         follow.
1117         
1118 2001-02-12  André Pönitz  <poenitz@gmx.net>
1119         
1120         * math_macro.[hC]: replace MathMacroArgument[] with
1121           std::vector<MathMacroArgument>
1122         * math_defs.h:
1123           math_inset.C: replace int[] with std::vector<int>
1124         * math_panel.h:
1125         * math_symbols.C: replace FL_OBJECTP[] with
1126         std::vector<FL_OBJECT*>
1127         
1128 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1129
1130         * math_defs.h (struct MathedRowSt): make all private variables end
1131         with '_', initialize in initializer list instead of in function
1132         body.
1133
1134 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
1135
1136         * formula.C (LocalDispatch): Change the default action of
1137         break-line to create an align* environment instead of eqnarray*.
1138
1139         * math_inset.C (Metrics): Correct drawing of the multline
1140         environment.
1141
1142 2001-02-12  André Pönitz  <poenitz@gmx.net>
1143         
1144         * array.[hC]: replace private variable maxsize_ with call to
1145         bf_.size()
1146         * math_defs.h: replace int[] by std::vector<int> for
1147         MathedRowSt::widths
1148
1149 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1150
1151         * array.h: made all variables private, removed friend, added new
1152         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1153         non const operator[] added setter for last and getter for maxsize.
1154         changed name from LyxArrayBase to MathedArray.
1155         changed name of some methods to start with lowerchar.
1156         moved inline methods to array.C
1157         
1158         * math_iter.C + several file: changes because of the above.
1159
1160         * array.C: new file with the prev inline methods.
1161         
1162 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1163
1164         * Many files: add support for the align environment from amsmath.
1165
1166 2001-02-09  André Pönitz  <poenitz@gmx.net>
1167
1168         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
1169         * several files: subsequent changes         
1170         * math_iter.h: remove unused prototype
1171         * array.h: ditto.
1172
1173 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1174
1175         * math_macro.C (draw): add .c_str() to .str() (useful when
1176         compiling with lyxstring, but STL sstream).
1177         (Metrics): ditto.
1178
1179 2001-02-08  André Pönitz  <poenitz@gmx.net>
1180
1181         * several files: get rid of reinterpret_cast.
1182
1183 2001-02-04  Allan Rae  <rae@lyx.org>
1184
1185         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1186         just casting the variable.
1187
1188 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1189
1190         * Many files: Add support for multline and alignat environments from 
1191         amsmath.
1192
1193 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1194
1195         * math_symbols.C (math_insert_greek): Move cursor right when
1196         unlocking the math inset.
1197
1198 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1199
1200         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1201
1202         * formula.C (LocalDispatch): Before inserting a label in an
1203         eqnarray, move the cursor to the top level.
1204
1205         * math_iter.C (getLabel): Test if crow == 0.
1206
1207 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1208
1209         * math_draw.C (Metrics): Use the correct GetString.
1210