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