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