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