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