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