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