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