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