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