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