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