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