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