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