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