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