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