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