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