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