]> git.lyx.org Git - lyx.git/blob - src/mathed/ChangeLog
help a bit compilation with sun CC
[lyx.git] / src / mathed / ChangeLog
1 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * matriz.C: add using directives when needed for C functions
4         declared in std:: namespace.
5
6         * math_macrotemplate.h: do not use explicitely std::string, but
7         string. 
8
9         * math_macroarg.C: avoid bringing the whole std:: namespace in
10         global-land. When you do that, there is an ambiguity between
11         lyxstring and std::string (which may be defined at the same time).
12
13         * formula.C (HandleExtern): add .c_str() to .str() (useful when
14         using lyxtring)
15
16 2001-04-27 André Pönitz  <poenitz@htwm.de>
17
18         * math_parser.C: fix \frac handling bug introduced on 04-24
19         * math_xiter.C: hotfix for merging "shared" insets
20
21 2001-04-25 André Pönitz  <poenitz@htwm.de>
22
23         * math_*.[Ch]: WriteNormal
24         * formula.C: Support for new "math extern" command
25
26 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
27
28         * math_macrotable.C: include <iostream>
29
30 2001-04-24 André Pönitz  <poenitz@htwm.de>
31
32         * math_macro.[Ch]:
33         * math_macrotable.[Ch]:
34         * math_macroarg.[Ch]: restructuring of macro handling
35         * several files: 
36
37 2001-04-25  Angus Leeming  <a.leeming@ic.ac.uk>
38
39         * array.h (operator<<):
40         * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
41
42         * math_macrotable.C: added using std::make_pair directive.
43         (dump): added using std::cerr directive here as I guess that this is
44         temporary.
45
46 2001-04-20  Allan Rae  <rae@lyx.org>
47
48         * formula.C (LocalDispatch): fixed another #warning.  Guess who.
49
50 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
51
52         * math_macrotemplate.h: inherit privately from noncopyable
53
54         * math_macro.C (Metrics): reindent, use unsigned int as loop var
55         (setArgumentIdx): change test to avoid unsigned warning
56
57         * formula.C (LocalDispatch): use LFUN_MESSAGE
58
59 2001-04-16  Allan Rae  <rae@lyx.org>
60
61         * formula.C (Latex, getLabelList, LocalDispatch): 
62         * math_parser.C (mathed_parse): 
63         * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
64         an unrecognised preprocessor directive.  So ensure they're wrapped.
65
66 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
67
68         * formula.C (draw): adjust for cursor_visible
69         (ToggleInsetCursor): adjust for cursor_visible and constify asc
70         and desc
71         (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
72         (HideInsetCursor): adjust for cursor_visible
73         (LocalDispatch): constify default_label and res
74
75 2001-03-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
76
77         * math_rowst.C: add missing #include <config.h>.
78
79 2001-03-16  André Pönitz  <poenitz@htwm.de>
80
81         * math_matrixinset.h:
82         * math_parinset.[Ch]:
83         * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
84       
85 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
86
87         * Makefile.am:
88         * formula.C:
89         * math_forms.h:
90         * math_forms.C:
91         * math_panel.h:
92         * math_panel.C:
93         * math_symbols.C: maths panel moved to GUII
94
95 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
96
97         * math_cursor.C: use lyxerr instead of cerr.
98
99 2001-03-15  André Pönitz  <poenitz@htwm.de>
100
101         * math_cursor.C: fix bug (cursor was leaving two insets at a time
102            instead of one)
103
104 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
105
106         * math_macrotable.h: noncopyable is in namespace boost
107         * math_macrotemplate.h: ditto
108
109         * math_rowst.h: make MathedRowContainer::iterator public.
110
111 2001-03-15  André Pönitz  <poenitz@htwm.de>
112
113         * math_parser.C: read '\nonumber' again (was broken)
114
115         * math_rowst.C: new file
116
117 2001-03-15  Angus Leeming  <a.leeming@ic.ac.uk>
118
119         * math_cursor.C: added using directive.
120
121 2001-03-15  André Pönitz  <poenitz@htwm.de>
122
123         * math_rowst.h: Finally remove MathedRowSt
124
125         * math_parser.C:
126           math_xiter.C: changed accordingly
127
128 2001-03-12  André Pönitz  <poenitz@htwm.de>
129
130         *       math_rowst.h: replace MathedRowSt with MathedRowStruct,
131             more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
132
133 2001-03-10  André Pönitz  <poenitz@htwm.de>
134
135         * math_xiter.[Ch]:
136           math_matrixinset.C: move adjustVerticalSt to the only place where
137       it is used. Fix a small bug where the cached row structure and the
138             actual data get out of sync after the deletion of whole rows
139
140 2001-03-09  André Pönitz  <poenitz@htwm.de>
141
142         * math_cursor.C: use std::vector<> in MathStackXIter
143                 change selstk from a pointer to the "real thing"
144
145         * math_rowst.h: new MathedRowContainer::erase method
146
147         * math_xiter.C: use MathedRowContainer::erase
148
149         * math_parser.C: use MathedRowContainer::insert_after
150
151 2001-03-08  André Pönitz  <poenitz@htwm.de>
152
153         * math_rowst.h: give MathedRowContainer an 'insert' method. 
154
155         * math_xiter.C: new 'container()' method to encapsulated access to
156           the MathParInset's MathedRowContainer
157
158         * math_rowst.h: proper copy constructor and destructor for
159           MathedRowContainer
160
161         * math_matrixinset.[hC]: remove copy constructr and destructor. Those
162           automatically created by the compiler are ok now.
163         
164 2001-03-06  André Pönitz  <poenitz@htwm.de>
165
166         * array.[Ch]: factor out deep_copy,
167           remove third argument from raw_pointer_insert 
168
169         * math_iter.[Ch]: remove unused function Clear()        
170
171         * math_cursor.C: change signature of MathStackXIter:push()
172           whitespace changes
173
174         * math_rowst.h: introduction of MathRowContainer
175           several files: corresponding changes
176
177 2001-03-04  André Pönitz  <poenitz@htwm.de>
178
179   * math_macrotemplate.[Ch]:
180     math_macro.C: move update() functionality to the macro
181
182         * math_rowst.h: split MathedRowSt into "data" and "list"
183
184 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
185
186         * math_macrotemplate.C (update): use MathMacro::getArg, and
187         receive a const reference.
188         (getMacroPar): add an Assert
189
190         * math_macrotemplate.h: make MathMacro a friend, make update take
191         a const reference.
192
193         * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
194         and store a MathMacroArgument in the vector
195         * math_macro.C: changes because of the above.
196         (getArg): new method
197
198         * math_parser.C (mathed_parse): plug potential leak
199
200         * math_iter.h: add comment on virtual destructor
201
202         * math_iter.C (Delete): make c const
203
204         * math_parinset.C (Metrics): cleanup indent. make one string const.
205
206         * math_inset.C (size): move out of line
207         (incSize): ditto
208
209         * math_macroarg.h: remove default constructor
210
211         * math_macroarg.C: include Lsstream.h instead of debug.h
212         (MathMacroArgument): remove default constructor
213         (Write): add std:: on ostream arg
214
215 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
216
217         * math_parser.C:
218         * formula.C: make DEBUG into lyxerr
219
220 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
221
222         * math_macrotemplate.h: make noncopyable, remove last arg to
223         constructor, remove flags_ add edit_
224         (flags): remove method
225
226         * math_macrotemplate.C (setArgument): delete method
227         (update): make idx const
228         (Metrics): use edit_, remove flags_
229         (draw): use edit_, remove flags_
230         (setEditMode): set edit_, remove flags_
231         (MathMacroTemplate): initialize edit_, remove flags_
232
233         * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
234         shared_ptr, let constructor take a shared_ptr
235
236         * math_macro.C (MathMacro): take shared_ptr as arg, remove double
237         initialization. 
238         (draw): remove unneded update, remove removed update of x,y
239         (GetXY): call tmplates GetMacroXY directly
240         (SetFocus): call Metrics() instead of update()
241         (Write): remove support for math macro environments, simplifications.
242
243         * math_macrotable.h: make class noncopyable, change getMacro to
244         createMacro, change vector to map store a
245         shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
246
247         * math_macrotable.C: add pragma
248         (createMacro): change name from getMacro, use shared_ptr
249         (getTemplate): Use map lookup to get macro, return shared_ptr
250         (addTemplate): assert that m containse a valid pointer, use map[]
251         insert.
252         (builtinMacros): by using shared_ptr fix the mem leak, remove
253         commented out unsupported macros
254
255         * math_cursor.C: changes because of the above
256         * math_parser.C: changes because of the abobe
257         
258         * formulamacro.h: change tmacro_ to be a shared_ptr, remove
259         default arg on constructor.
260         * formulamacro.C: changes because of the above
261
262         * math_parinset.h: add pragma
263         (SetAlign): move inline out of class def
264         (GetColumns): ditto
265         (GetRows): ditto
266         (isMatrix): ditto
267         (setArgumentIdx): ditto
268         (setNextArgIdx): ditto
269         (getArgumentIdx): ditto
270         (getMaxArgumentIdx): ditto
271         (setRowSt): ditto
272         (xo): ditto
273         (yo): ditto
274
275         * math_parinset.C: add pragma
276         (Write): change the else clause, lessen depth
277
278         * math_macroarg.h: small whitespace change
279
280         * array.C: include support/LOstream.h add using ostream and endl
281
282         * array.h (dump): add std:: on ostream
283
284 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
285
286         * math_macrotemplate.h: remove default arg on update
287
288         * math_macrotemplate.C (update): add assert and remove noop case.
289
290         * formulamacro.C (Read): add comment.
291         (ascent): remove noop call to MathMacroTemplate
292         (descent): ditto
293         (width): ditto
294         (draw): ditto
295
296         * math_parser.C (mathed_parse): fix another potential problem by
297         passing a freestanding mathedarray.
298
299         * math_root.C (GetData): add const version
300
301         * math_parinset.C (~MathParInset): delete
302         (GetData): add const version
303
304         * math_matrixinset.C (MathMatrixInset): delete pointer version,
305         make it a proper copy constructor instead
306         (Clone): change acc.
307         (MathMatrixInset): remvoe default val for m and n
308
309         * math_macro.C (GetData): add const version
310
311         * math_fracinset.C (GetData): add const version
312
313         * math_cursor.C (SelCopy): make p1 and p2 const
314         (SelCut): make p1 and p2 const
315
316         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
317         (LyxCode): move inline out of class
318         (ConvertFont): ditto
319         (display): ditto
320
321         * array.[Ch] (dump): method added for debugging purposes
322
323         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
324         mathed_parse when reading a matrix.
325
326         * math_spaceinset.[Ch]: add pragma, make variables private add
327         '_', change order of method definitions.
328
329         * math_root.h (~MathRootInset): delete
330         Change uroot_ to be a real object instead of a pointer
331         * math_root.C: changes because of the above
332
333         * math_macro.C (MathMacro(MathMacro*)): delete constructor
334         (MathMacro(MathMacro const &)): new copy constructor
335
336         * math_inset.h: delete constructor taking a pointer to MathedInset
337         (size, incSize): move inline method
338
339         * math_funcinset.h: add pragma, remove class vars ln and fname,
340         change protected to private, add '_' to priv vars.
341         (~MathFuncInset): remove
342
343         * math_fracinset.h: make MathParInset den_ a real object and not a
344         pointer. 
345
346         * math_fracinset.C (MathFracInset): clean up, move initalization
347         to initialization list
348         (~MathFracInset): remove
349         (Clone): remove leak
350
351         * math_draw.C: delete file
352         
353         * math_dotsinset.[Ch]: add pragma
354
355         * math_bigopinset.h: make protected variables private add '_' to vars.
356
357         * math_bigopinset.C: move methods to follow class definition order
358
359         * math_accentinset.h (getAccentCode): move inline here
360
361         * math_accentinset.C (MathAccentInset): cleanup
362         (draw): constify dw
363
364 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
365
366         * math_inset.[Ch] (MathedInset): remove method
367
368         * Makefile.am (libmathed_la_SOURCES): correct typo
369
370         * math_parinset.C (draw): move MathedXiter data(this) up. and
371         remove it two other places.
372
373         * math_macro.C (MathMacro): use array directly, don't use
374         setArgumentIdx and GetData
375
376 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
377
378         * math_macroarg.C (MathMacroArgument): delete
379         * math_macro.C (~MathMacro): delete
380         * math_macrotemplate.C (~MathMacroTemplate): delete
381         
382         * math_decorationinset.[Ch]: add pragma
383         * math_deliminset.[Ch]: likewise
384         * math_fracinset.[Ch]: likewise
385         * math_macroarg.[Ch]: likewise
386         * math_macrotemplate.[Ch]: likewise
387         * math_matrixinset.[Ch]: likewise
388         
389         * formulamacro.C (Read): set contents of tmacro_ to ar.
390
391         * formulamacro.h: add '_' to private variables.
392         * formalamacro.C: changes because of this.
393
394 2001-02-23  Juergen Vigna  <jug@sad.it>
395
396         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
397         should be) and not an int.
398
399         * formulamacro.C (LocalDispatch): ditto.
400
401 2001-02-14  André Pönitz  <poenitz@htwm.de>
402
403         * math_parinset.[Ch]: make array a real MathArray, not just a
404           pointer to one.
405
406         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
407
408         * several files: subsequent changes
409         
410         * math_cursor.C: make selarray a proper MathArray
411
412         * several files: Change "MathedArray *" to "MathedArray &"
413
414
415 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
416
417         * array.C (MathedArray): Fix compilation problem.
418
419 2001-02-14  André Pönitz  <poenitz@htwm.de>
420
421         * array.[Ch]: "deep" copy constructor and assignment operator for
422         MathArray 
423
424         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
425
426         * math_iter.[Ch]: remove SetData
427           several files: subsequent changes
428
429 2001-02-14  André Pönitz  <poenitz@htwm.de>
430
431         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and
432         ARRAY_STEP 
433
434         * math_iter.C: default-construct and resize array
435
436 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
437
438         * math_xiter.h: move ipush and ipop to public, add _ on private
439         variables, move protected var to private, remove friend.
440
441         * math_cursor.C (insertInset): rename method from Insert also
442         remove default arg val. Call the public methods of xiter instead
443         of private variables.
444
445         * changes to several files because of the above.
446         
447 2001-02-14  André Pönitz  <poenitz@htwm.de>
448
449         * math_iter.[Ch]: hide fcode_
450         * math_xiter.C:
451         * math_parinset.C: subsequent changes
452
453
454 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
455
456         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
457         math_utils.h
458
459         * math_write.C: delete file
460         * math_delim.C: delete file
461         * marh_sqrtinset.h: delete file
462
463         * move funcs to more localized files, more general cleanup.
464         Constify several local vars. Doxygen changes. Formatting.
465         
466 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
467
468         * support.C: add some consts
469
470         * matriz.C: clean up a bit.
471         (matmat): remove the for loop.
472
473         * several files: changes so that several friends can be removed
474
475 2001-02-14  André Pönitz  <poenitz@htwm.de>
476
477         * formula.C: reformatting 
478
479         * math_cursor.[Ch]:
480           math_iter.[Ch]:
481           math_xiter.[Ch]: remove unneeded members
482
483 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
484
485         * math_parser.C: 
486         * math_panel.C: 
487         * formula.C: remove cruft
488
489         * array.C (begin): new method
490         (end): ditto
491
492 2001-02-14  André Pönitz  <poenitz@htwm.de>
493         
494         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
495
496         * math_cursor.C: reformatting 
497
498 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
499
500         * math_spaceinset.C: 
501         * math_root.C: 
502         * math_matrixinset.C: 
503         * math_macrotemplate.C: 
504         * math_funcinset.C: 
505         * math_fracinset.C: 
506         * math_dotsinset.C: 
507         * math_deliminset.C: 
508         * math_decorationinset.C: 
509         * math_bigopinset.C: 
510         * math_accentinset.C: 
511         * math_sqrtinset.C: include LOstream.h and add using directive.
512
513 2001-02-14  André Pönitz  <poenitz@htwm.de>
514
515         * math_iter.C: reformatting 
516
517 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
518
519         * math_spaceinset.C (GetSpace): move here
520
521         * math_parinset.C: add debug.h, move several prev. inlined methods
522         here. 
523
524         * math_macrotable.C math_xiter.C support.C: add debug.h
525
526         * math_macro.h: remove debug.h, remove typedefs
527
528         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
529         extern decls.
530
531         * math_hash.C: change some defines to int const. change use of
532         LM_TC_NORMAL to LM_TC_VAR
533
534         * math_draw.C: delete file
535
536         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
537         forward decls. remove LM_TC_NORMAL, move inline methods to
538         support.C (and support.h)
539
540         * math_cursor.C: move several previous inlined methods here
541
542         * math_bigopinset.h math_dotsinset.h math_funcinset.h
543         math_parinset.h math_spaceinset.h: add math_defs.h
544
545         * math_accentinset.h: add support.h and math_defs.h
546
547         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
548
549         * formula.h: remove unused func decl: OpenMathInset
550
551         * formula.C math_inset.h: get rid of math_defs.h
552
553         * array.h: switch to support.h instead of math_defs.h
554
555         * array.C: remove one include
556
557         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
558
559         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
560
561         * math_parser.C: include macrotable and macrotemplate
562
563         * math_macrotemplate.[Ch]: new files
564
565         * math_macrotable.[Ch]: new files
566
567         * math_macroarg.[Ch]: new files
568
569         * math_macro.C: move stuff to the new files.
570
571         * math_cursor.C: include math_macrotable.h
572
573         * macro_support.[Ch]: new files
574
575         * formulamacro.C: add more includes
576
577         * Makefile.am (libmathed_la_SOURCES): add new files.
578
579 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
580
581         * Makefile.am (libmathed_la_SOURCES): remove duplicate
582         math_sqrtinset. 
583
584         * support.C: 
585         * math_xiter.C: 
586         * math_parinset.C: add a bunch of "using" directives.
587
588         * math_funcinset.h: 
589         * math_decorationinset.h: 
590         * math_bigopinset.h: 
591         * math_spaceinset.h: remove more couples of inline.
592
593 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
594
595         * math_xiter.h: remove a couple of "inline"
596
597         * array.C (strange_copy): fix bug (hopefully) 
598         * many files: add a lot of new files and move methods to the class
599         files they belong to. Only first attempt at cleanup more will
600         follow.
601         
602 2001-02-12  André Pönitz  <poenitz@htwm.de>
603         
604         * math_macro.[hC]: replace MathMacroArgument[] with
605           std::vector<MathMacroArgument>
606         * math_defs.h:
607           math_inset.C: replace int[] with std::vector<int>
608         * math_panel.h:
609         * math_symbols.C: replace FL_OBJECTP[] with
610         std::vector<FL_OBJECT*>
611         
612 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
613
614         * math_defs.h (struct MathedRowSt): make all private variables end
615         with '_', initialize in initializer list instead of in function
616         body.
617
618 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
619
620         * formula.C (LocalDispatch): Change the default action of
621         break-line to create an align* environment instead of eqnarray*.
622
623         * math_inset.C (Metrics): Correct drawing of the multline
624         environment.
625
626 2001-02-12  André Pönitz  <poenitz@htwm.de>
627         
628         * array.[hC]: replace private variable maxsize_ with call to
629         bf_.size()
630         * math_defs.h: replace int[] by std::vector<int> for
631         MathedRowSt::widths
632
633 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
634
635         * array.h: made all variables private, removed friend, added new
636         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
637         non const operator[] added setter for last and getter for maxsize.
638         changed name from LyxArrayBase to MathedArray.
639         changed name of some methods to start with lowerchar.
640         moved inline methods to array.C
641         
642         * math_iter.C + several file: changes because of the above.
643
644         * array.C: new file with the prev inline methods.
645         
646 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
647
648         * Many files: add support for the align environment from amsmath.
649
650 2001-02-09  André Pönitz  <poenitz@htwm.de>
651
652         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
653         * several files: subsequent changes         
654         * math_iter.h: remove unused prototype
655         * array.h: ditto.
656
657 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
658
659         * math_macro.C (draw): add .c_str() to .str() (useful when
660         compiling with lyxstring, but STL sstream).
661         (Metrics): ditto.
662
663 2001-02-08  André Pönitz  <poenitz@htwm.de>
664
665         * several files: get rid of reinterpret_cast.
666
667 2001-02-04  Allan Rae  <rae@lyx.org>
668
669         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
670         just casting the variable.
671
672 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
673
674         * Many files: Add support for multline and alignat environments from 
675         amsmath.
676
677 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
678
679         * math_symbols.C (math_insert_greek): Move cursor right when
680         unlocking the math inset.
681
682 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
683
684         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
685
686         * formula.C (LocalDispatch): Before inserting a label in an
687         eqnarray, move the cursor to the top level.
688
689         * math_iter.C (getLabel): Test if crow == 0.
690
691 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
692
693         * math_draw.C (Metrics): Use the correct GetString.
694