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