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