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