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