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