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