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