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