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