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