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