]> git.lyx.org Git - features.git/blob - src/mathed/ChangeLog
Asymptotic approach to a well-designed graphics loader.
[features.git] / src / mathed / ChangeLog
1 2002-06-28  Angus Leeming  <leeming@lyx.org>
2
3         * preview.h (preview): don't pass grfx::GraphicPtr & anymore.
4
5 2002-06-24  André Pönitz <poenitz@gmx.net>
6
7         * math_parser.C: remove "remove seemingly unneeded {} hack"
8
9 2002-06-26  Angus Leeming  <leeming@lyx.org>
10
11         * formula.C: use lyxerr, not cerr.
12
13 2002-06-24  André Pönitz <poenitz@gmx.net>
14
15         * *.[Ch]: left over changes from Porto
16         
17         * math_gridinset.C (eolString): fix #456
18
19 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
20
21         * formula.C: use repaint()
22  
23 2002-06-16  André Pönitz <poenitz@gmx.net>
24
25         * math_factory.C:
26         * math_support.C: fix font fall-back
27
28         * math_specialcharinset.[Ch]:
29         * math_funcliminset.[Ch]: remove, it's now done by MathSymbolInset
30
31         * math_funcinset.[Ch]: remove, it's not used
32
33 2002-06-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
34
35         * math_extern.C: add using std::endl
36
37 2002-06-15  LyX Development team <lyx@rilke>
38
39         * formula.[Ch]:
40         * macroformula.[Ch] (docbook): Added argument to care about the
41         pernicious mixed content.
42
43 2002-05-30  André Pönitz <poenitz@gmx.net>
44
45         * math_parser.C:
46         * formulabase.C: parser changes to 'everything might be a table'
47
48 2002-05-31  Dekel Tsur  <dekelts@tau.ac.il>
49
50         * math_hullinset.C (ams): Do a real check.
51
52 2002-05-30  André Pönitz <poenitz@gmx.net>
53
54         * *.[Ch]: "fonts as inset"
55
56 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
57
58         * switch from SigC signals to boost::signals.
59
60 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
61
62         * formulabase.C:
63         * formulabase.h:
64         * math_inset.h: use mouse_state. Kill insetKeyPress
65
66 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
67
68         * math_support.C: font loader moved
69
70 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
71
72         * formulabase.C:
73         * formulamacro.C:
74         * math_charinset.C:
75         * math_funcinset.C:
76         * math_support.C:
77         * math_unknowninset.C: new name for font metrics
78
79 2002-05-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
80
81         * math_autocorrect.C: include vector and add a using statement.
82
83 2002-05-23  André Pönitz <poenitz@gmx.net>
84
85         * math_autocorrect.[Ch]: new "auto correction" feature
86         * math_cursor.[Ch]: subsequent changes
87         * math_parser.C: somewhat better error reporting
88
89 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
90
91         * formula.C:
92         * formulabase.C: LyXView moved into frontends/
93
94 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
95
96         * formula.C:
97         * formulabase.C:
98         * formulamacro.C:
99         * math_binaryopinset.C:
100         * math_casesinset.C:
101         * math_charinset.C:
102         * math_cursor.C:
103         * math_fracinset.C:
104         * math_funcinset.C:
105         * math_gridinset.C:
106         * math_hullinset.C:
107         * math_macro.C:
108         * math_macrotemplate.C:
109         * math_rootinset.C:
110         * math_spaceinset.C:
111         * math_sqrtinset.C:
112         * math_stringinset.C:
113         * math_support.C:
114         * math_unknowninset.C:
115         * math_xdata.C:
116         * math_xyarrowinset.C: move Painter to frontends/
117
118 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
119
120         * math_exintinset.C: use more specific smart_ptr header.
121
122 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
123
124         * math_cursor.C: clear selection on paste (bug 393)
125
126 2002-05-15  André Pönitz <poenitz@gmx.net>
127
128         * formulabase.[Ch]: mark buffer as (Changed) after font changes
129
130 2002-05-13  André Pönitz <poenitz@gmx.net>
131
132         * math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
133
134 2002-05-13  André Pönitz <poenitz@gmx.net>
135
136         * math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
137
138 2002-04-24  Juergen Vigna  <jug@sad.it>
139
140         * formulabase.C (insetButtonPress): set the mathcursor in case we
141         don't have one. This happens when clicking on a non locked mathed
142         inset with any button != 1.
143         (insetButtonPress): Forgot about this the Panel should NEVER be
144         opened in a Press event ONLY in the Release event!
145
146 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
147
148         * formulabase.C (localDispatch): merge the cases for
149         LFUN_PROTECTEDSPACE and LFUN_MATH_SPACE, since they were identical.
150
151 2002-04-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
152
153         * formulabase.C (localDispatch): handle arguments of
154         LFUN_MATH_DELIM better.
155
156 2002-04-04 Angus Leeming  <a.leeming@ic.ac.uk>
157
158         * formulabase.C: remove unused variables hack_x, hack_y, hack_button.
159
160 2002-04-02  Allan Rae  <rae@lyx.org>
161
162         * math_cursor.C (info): make it work with lyxstring and std::string
163
164 2002-03-12  André Pönitz <poenitz@gmx.net>
165
166         * math_cursor.C: fix some Up/Down "issues"
167
168 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
169
170         * most files: ws cleanup
171
172         * Makefile.am: remove ld -r stuff
173
174 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
175
176         * Makefile.am: special rules if partial linking
177
178 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
179
180         * math_charinset.C: wrap the std::strchr declaration inside a
181         check for CXX_GLOBAL_CSTD.
182
183 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
184
185         * math_biginset.[Ch] (size): return size_type, not int.
186
187         * math_inset.C (metrics): parameter "mi" is never referenced. Removed.
188         * math_hullinset.C (metrics): ditto.
189
190
191 2002-03-12  André Pönitz <poenitz@gmx.net>
192
193         * math_xarray.[Ch] et al: really use metrics cache if possible...
194
195 2002-03-07  Martin Vermeer <martin.vermeer@hut.fi>
196
197         * math_decorationinset.C: add leftrightarrows to the displayable
198         symbols.
199
200 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
201
202         * formula.C Changes due to the renaming of support/syscall.[Ch]
203         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
204
205 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
206
207         * formula.C: change Systemcalls::System to Systemcalls::Wait and
208         No change of functionality, just reflects the stripped down Systemcalls
209         class.
210
211 2002-02-08  André Pönitz <poenitz@gmx.net>
212
213         * math_support.[Ch]: some support for \dddot
214
215 2002-02-08  Otto Tronarp <otttr440@student.liu.se>
216
217         * math_decorationinset.C:
218
219         * math_support.C:
220
221         * math_hash.C: Added \underrightarrow and \underleftarrow
222
223 2002-02-08  Martin Vermeer <martin.vermeer@hut.fi>
224
225         * formulabase.C (localDispatch): fix umlaut handling
226
227         * formulabase.C: pop up math panel on right mouse click
228
229 2002-02-01  André Pönitz <poenitz@gmx.net>
230
231         * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
232
233 2002-02-01  André Pönitz <poenitz@gmx.net>
234
235         * math_xymatrixinset.[Ch]: some support for \xymatrix
236
237 2002-02-01  André Pönitz <poenitz@gmx.net>
238
239         * math_undersetinset.[Ch]: implement direct support for \underset
240
241 2002-01-28  Martin Vermeer <martin.vermeer@hut.fi>
242
243         * math_support.C: removed the arrays latex_mathstyle[] and
244         latex_mathfontcmds[] to the frontends.
245
246 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
247
248         * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
249
250 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
251
252         * math_factory.C (createMathInset): add a default: label in switch
253
254 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
255
256         * formulabase.[Ch] (searchForward, searchBackward): change the
257         bool const & params to bool.
258
259 2002-01-14      Martin Vermeer <martin.vermeer@hut.fi>
260         * math_macrotable.C: added macros for Blackboard Bold,
261         Calligraphic symbols support in mathed. Kludge.
262
263 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
264
265         * math_mathmlstream.C (operator<<): use lyx::count rather than
266         countChar.
267
268         * math_streamstr.C (operator<<): ditto.
269
270 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
271
272         * math_support.C: change latex_mathfontcmds to an array of
273         kb_action.
274
275 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
276
277         * math_exfuncinset.C: remove using std::ostream declaration.
278
279         * math_kerninset.C: whitespace change, consistent with other files.
280
281         * math_mathmlstream.C (operator<<):
282         * math_streamstr.C (operator<<): use countChar rather than std::count.
283
284         * math_parser.C (operator==): comment out. Not used.
285
286 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
289
290         * math_support.C: separate  string arrays for math style and for
291         font commands.
292
293 2002-01-10  Dekel Tsur  <dekelts@tau.ac.il>
294
295         * math_parser.C (parse_normal): Support for \begin{math}
296
297 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
298
299         * math_hullinset.C (validate): rename feature "amsstyle" to
300         "amsmath".
301
302 2002-01-09  Martin Vermeer <martin.vermeer@hut.fi>
303
304         * math_support.C: modified to support  a mathed pop-up for math
305         size "styles" and font types.
306
307 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
308
309         * math_defs.h: remove trailing comma from enum MathTextCodes.
310
311 2002-01-03  André Pönitz <poenitz@gmx.net>
312
313         * formulabase.[Ch]: implement simple search
314
315         * math_sizeinset.[Ch]: support for \displaystyle etc
316
317 2001-12-18  Dekel Tsur  <dekelts@tau.ac.il>
318
319         * math_macrotable.C (builtinMacros): Adjust kern values.
320
321 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
322
323         * math_atom.C:
324         * math_binaryopinset.C:
325         * math_binominset.C:
326         * math_casesinset.C:
327         * math_charinset.C:
328         * math_data.C:
329         * math_diminset.C:add missing config.h
330
331         * math_cursor.C:
332         * math_parser.C: move inludes around a bit.
333
334         * math_extinset.C: user boost::scoped_ptr
335
336         * math_parser.C: user std::fill to fill the catcodes. (please
337         check this one...), and some consts.
338
339 2001-12-11  André Pönitz <poenitz@gmx.net>
340
341         * math_cursor.C: allow cut&paste of rectangular regions of cells
342
343 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
344
345         * math_kerninset.C (metrics): Consider lyxrc.zoom
346
347 2001-12-14  Dekel Tsur  <dekelts@tau.ac.il>
348
349         * math_support.C: Fix handling of \mathfrak font.
350
351 2001-12-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
352
353         * math_iterator.C (nextInset): compilation fix.
354
355 2001-12-11  André Pönitz <poenitz@gmx.net>
356
357         * math_defs.h:
358         * math_parser.C:
359         * math_hash.C: support for \mathfrak
360
361 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
362
363         * math_streamstr.C: #include <iostream> to compile with DEC cxx
364
365 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
366
367         * math_arrayinset.C:
368         * math_boxinset.C:
369         * math_decorationinset.C:
370         * math_deliminset.C:
371         * math_dotsinset.C:
372         * math_exfuncinset.C:
373         * math_exintinset.C:
374         * math_funcinset.C:
375         * math_funcliminset.C:
376         * math_hullinset.C:
377         * math_kerninset.C:
378         * math_limopinset.C:
379         * math_sizeinset.C:
380         * math_stringinset.C:
381         * math_symbolinset.C:
382         * math_unknowninset.C: include math_streamstr.h and remove
383         unneeded c_str()
384
385         * math_symbolinset.[Ch]: add constructor taking string
386
387         * math_mathmlstream.C: move includes around
388
389         * math_streamstr.[Ch]: add operator<<(Stream, string) for
390         NormalStream, MapleStream, MathMLStream and OctaveStream
391
392         * math_gridinset.C: user LyXLength::zero
393
394 2001-11-19  Angus Leeming  <a.leeming@ic.ac.uk>
395
396         * formula.C:
397         * math_arrayinset.C: add using std::getline directive.
398
399 2001-11-20 André Pönitz  <poenitz@gmx.net>
400
401         * formulabase.C: fix mouse positioning using the cursor
402
403 2001-11-19  Dekel Tsur  <dekelts@tau.ac.il>
404
405         * math_mathmlstream.C (operator<<): Count '\n' chars
406
407 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
408
409         * math_macro.C
410         * math_hullinset.C:  Fixes to use the new LaTeXFeatures
411         correctly.
412
413 2001-11-07  André Pönitz  <poenitz@gmx.net>
414
415         * math_extern.C: support for integrals, sums, e^x, and d/dx
416
417 2001-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
418
419         * math_extern.C (extractNumber):
420         (extractDiffExponent): add ugly .c_str()
421
422 2001-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
423
424         * math_arrayinset.C (MathArrayInset):
425         * formula.C (pipeThroughMaple):
426         (pipeThroughOctave): add ugly .c_str() to help compile
427         with lyxstring
428
429 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
430
431         * math_inset.C: compilation fix
432
433 2001-11-07  André Pönitz  <poenitz@gmx.net>
434
435         * math_*inset.[Ch]:
436         * array.[Ch]: start native C++ support for Octave, Maple and MathML
437
438 2001-10-31  Angus Leeming  <a.leeming@ic.ac.uk>
439
440         * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
441
442 2001-10-24  Angus Leeming  <a.leeming@ic.ac.uk>
443
444         * math_nestinset.C: added using std::max, min directives.
445         * math_scriptinset.C: added using std::ostream directive.
446         * math_scriptinset.h: replaced ostream with std::ostream.
447
448 2001-10-17  André Pönitz  <poenitz@gmx.net>
449
450         * math_*inset.[Ch]: remove MathStyles cache from insets that
451           don't need it
452
453         * support.C:
454           formulabase.C: fix math font sizes in headings etc
455
456         * math_inset.[Ch]:
457           formula.C: remove unused static member int MathInset::workwidth
458
459         * math_gridinset.[Ch]: implement idxHome() and idxEnd()
460
461 2001-10-17  André Pönitz  <poenitz@gmx.net>
462
463         * math_inset.h:
464         * *.[Ch]: make output more stream-like
465
466 2001-10-17  André Pönitz  <poenitz@gmx.net>
467
468         * formula.C:
469         * array.C: add missing/broken  writeNormal()
470
471         * math_lefteqn.[Ch]: some visual support for \lefteqn
472
473
474 2001-10-10  André Pönitz  <poenitz@gmx.net>
475
476         * math_cursor.C: introduce dummy "inner" position "between"
477         nucleus and scripts for smoother cursor movement
478
479         * math_cursor.C: use red dot to indicate empty nucleus
480
481
482 2001-10-02  André Pönitz  <poenitz@gmx.net>
483
484         * math_cursor.C: leave red backslash as visual clue
485         in formula when typing macro names
486
487         *       math_macrotemplate.C: sanity check
488
489 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
490
491         * math_cursor.C:
492         * formula.C (localDispatch): fix a few of local variable sizes
493
494         * math_fracbase.C: change parameter types to match MathInset
495
496 2001-10-01  André Pönitz  <poenitz@gmx.net>
497
498         * math_cursor.[Ch]: remove local parInset() method
499
500         * math_macro.C: add a static_cast
501
502 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
503
504         * math_cursor.C: fix type mismatches with what was declared in
505         math_cursor.h.
506
507 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
508
509         * math_matrixinset.C (header_write): Add \n after \begin{align}
510
511 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
512
513         * math_macrotable.C (builtinMacros): Add some macros if latex
514         fonts are available.
515
516 2001-09-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
517
518         * formula.C (insetAllowed): disallow label insertion in inline
519         formula
520
521 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
522
523         * formulabase.C (mathDispatchCreation): pass second argument
524         'false' (no label) to selectionAsString
525
526 2001-09-11  André Pönitz  <poenitz@gmx.net>
527
528         * math_atom.[Ch]: new basic item in the MathArray
529
530         * array.[Ch]: move code over to math_atom
531
532         * math_scriptinset.[Ch]:
533           math_parser.C:
534           math_cursor.C: try to do with super- and subscripts what TeX does
535
536 2001-09-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
537
538         * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
539
540 2001-09-04  André Pönitz  <poenitz@gmx.net>
541
542         * math_defs.h:
543         * math_parser.C:
544         * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
545             'xxalignt', 'gather' and 'multiline' environments
546
547         * math_cursor.C: fix handling of | and \|
548
549 2001-09-04  José Matos  <jamatos@fep.up.pt>
550
551         * formulabase.C
552         * formulabase.h
553         * formula.C
554         * formula.h
555         * formulamacro.C
556         * formulamacro.h (docbook): rename docBook method to docbook.
557
558 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
559
560         * math_hash.C (ReadSymbols): Check for duplicate symbols
561
562 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
563
564         * support.C: added a using std::map directive.
565
566 2001-08-17  André Pönitz  <poenitz@gmx.net>
567
568         * math_hash.C: Use std::map instead of faking it
569
570         * symbol_def.h: remove unneeded symbol definitions
571
572         *       support.C: use the decorations' name for drawing
573
574 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
575
576         * math_hash.C (in_word_set): Initialize symbol table even when
577         symbols file was not found.
578
579 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
580
581         * math_hash.C: added a using std::endl directive.
582
583 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
584
585         * support.C (whichFont): Add support for cmr font.
586         Add support for \mathbb.
587
588         * math_notinset.C (draw, metrics): Use cmsy symbol if available.
589
590         * math_macrotable.C (builtinMacros): Add 3 builtin macros
591
592 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
593
594         * math_hash.C: Read symbols information from external file
595         many files: Add support for latex symbol fonts
596
597 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
598
599         * math_parser.C (Parser): Eat spaces after \end_inset
600
601 2001-08-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
602
603         * math_parser.C (tokenize): fix typo
604
605 2001-08-17  André Pönitz  <poenitz@gmx.net>
606
607         * math_parser.C: new "lexxer"
608
609         * array.C: write sequences of chars with same code as a unit
610
611 2001-08-13  André Pönitz  <poenitz@gmx.net>
612
613         * math_factory.[Ch]: new files for the creation of math insets
614
615         * math_parser.C:
616                 math_cursor.C:
617                 math_hash.C: simplifications
618
619         * math_binom.[Ch]: new files for "native" \binom/\choose inset
620
621         * math_parser.C:
622                 math_cursor.C: reading support for TeX style \over and \choose
623
624         * formulabase.C: re-enabling the "selected text gets converted to
625         math when pressing C-m" feature.
626
627 2001-08-13  Angus Leeming  <a.leeming@ic.ac.uk>
628
629         * math_parser.C (lexArg): remove default argument from the .C file
630         as it causes DEC cxx to complain about a redefinition.
631
632 2001-08-10  André Pönitz  <poenitz@gmx.net>
633
634         *       math_scopeinset.[Ch]: new inset for {} blocks
635
636         *       math_accentinset.[Ch]: removed unneeded files
637
638         * math_grid.[Ch]:
639           math_matrix.[Ch]: start support for "interrow spacing"
640
641         * all over the place: rework of parser stuff
642
643 2001-08-08  André Pönitz  <poenitz@gmx.net>
644
645         *       math_fracbase.[Ch]:
646         * math_fracinset.[Ch]: new hierarchy
647
648         *       math_stackrelbase.[Ch]: native \stackrel support
649
650         * math_inset.[Ch]: removal of the name_ member
651
652         * math_deliminset.[Ch]: rework
653
654 2001-08-06  André Pönitz  <poenitz@gmx.net>
655
656         * formulamacro.C: fix nasty bug due to missing copy constructor
657
658         * math_bigopinset.[Ch]: revival for things like \int, \sum
659
660         * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
661
662         * math_diminset.h: make cache variables mutable, remove const_cast
663
664         * formulabase.[Ch]: remove unneeded convertFont()
665
666         * math_funcinset.[Ch]: bring red color back
667
668         * math_macro*.[Ch]: move ownership of the templates from the formulamacro
669         inset to the mcaro table
670
671 2001-08-01  André Pönitz  <poenitz@gmx.net>
672
673         * math_cursor.C:
674                 formulamacro.C: fix memory leaks
675
676         * math_matrixinset.C: fix mis-alignment of eqnarray columns
677
678         *       formula*.[Ch]: seperation of the "pimpl" MathInset * into
679         MathMatrixInset * and MathMacroTemplate * to save a few casts
680
681         * all over the place: everything is an inset now
682
683         * math_nestinset.[Ch]: new abstract base class for insets containing
684         other insets.
685
686         * math_diminset.[Ch]: new abstract base class for insets that need
687         the width_/ascent_/descent_ cache
688
689 2001-07-25  André Pönitz  <poenitz@gmx.net>
690
691         * formulabase.C: re-enable 'space enlargement' feature
692
693         * math_scriptinset.C:
694                 math_bigopinset.C: rework of script insets
695
696 2001-07-22  André Pönitz  <poenitz@gmx.net>
697
698         * math_cursor.C: fix "pullArg" behaviour
699
700         * math_cursor.C: keep empty super/subscript a bit longer
701
702         * math_cursor.C: do not move into insets that don't have inner cells yet
703
704         * formulabase.C: fix memory leak
705
706         * math_cursor.C: ^ now copies selection into new srriptinset
707
708         * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
709           using the mouse
710
711         * math_updowninset.C: fix drawing glitches
712
713         * math_cursor.C: paste to correct position
714
715 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * formula.C (insetAllowed): allow insertion of label
718
719 2001-07-20 André Pönitz  <poenitz@gmx.net>
720
721         * math_macrotable.C: support for \land and \vee
722
723 2001-07-16 André Pönitz  <poenitz@gmx.net>
724
725         * math_grid.[Ch] -> math_gridinset.[Ch]
726           math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
727
728         * formulabase.C: fix 'buffer set to (Changed) when moving in math',
729           fix 'mathed reports wrong width', cosmetics
730
731 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
732
733         * math_cursor.C (operator==): moved ouf of struct
734         (operator<): ditto
735         (normalAnchor): reversed one test (but shouldn't it really be >= ?)
736
737 2001-07-16 André Pönitz  <poenitz@gmx.net>
738
739         * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
740
741         * several files: supporting changes
742
743 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
744
745         Consistent use of Lsstream.h:
746         * formula.C: removed using std::ostringstream directive.
747
748         * math_cursor.C: std::istringstream -> istringstream.
749
750 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
751
752         * math_decorationinset.h: add std:: qualifier
753
754 2001-07-12 André Pönitz  <poenitz@gmx.net>
755
756         * math_updowninset.[hC]: new base class for script and bigop insets
757                 *.[hC]: subsequent changes to all Metric() functions
758
759         * math_parser.C: small changes (\sqrt0 is read properly now)
760
761 2001-07-10 André Pönitz  <poenitz@gmx.net>
762
763         * math_accentinset.[hC]: rewrite
764
765         * math_parser.C:
766                 math_cursor.C: subsequent changes
767
768         * math_grid.C: <Delete> in the first cell of a completely empty row
769           deletes that row, <C-Return> places the cursor in the first of the
770           new empty cells.
771
772         * math_grid.C: try to split cell nicely when mutating from single-cell
773           to multi-cell environment
774
775 2001-07-09  Dekel Tsur  <dekelts@tau.ac.il>
776
777         * math_matrixinset.C (mutate): Use only the first label when
778         mutating eqnarray to display formula.
779
780 2001-07-09  Juergen Vigna  <jug@sad.it>
781
782         * formulabase.C (mathDispatchCreation): don't do anything with the
783         inset if it cannot be inserted!
784
785 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
786
787         * formulabase.C (mathDispatchInsertMath): remove bogus return
788         statement.
789
790 2001-07-09 André Pönitz  <poenitz@gmx.net>
791
792         * math_*inset.C: Change order of arguments in MathInset constructor
793
794         * math_cursor.C: Remove broken "increase space" feature for a while
795
796 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
797
798         * formulabase.C (mathDispatchInsertMath): Create an inline formula.
799
800 2001-07-04 André Pönitz  <poenitz@gmx.net>
801
802         * math_parser.C: fix reading of "unusual" alpha chars
803
804         * xarray.[hC]: fix debug output of xarray
805
806 2001-07-03 André Pönitz  <poenitz@gmx.net>
807
808         * math_parser.C: fix bug where equations did not get their labels
809
810         * formulabase.C: new feature: changing font on selection
811
812         * several files: subsequent changes
813
814         * array.C: fix bug when insets have not been cloned properly
815         This should fix quite a few "random" crashes...
816
817 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
818
819         * formulabase.C (localDispatch): use .c_str() on istringstream
820         constructor argument.
821
822 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
823
824         * math_grid.C (addCol): add second argument to cellinfo_.insert.
825         Cleanup a bit the code.
826         (appendRow): do not call push_back without argument.
827
828         * *.C: remove all "using namespace std" directives (not
829         good!!) and replaced it with relevant "using" directives.
830
831         * math_macrotemplate.C (Clone): change return type to MathInset*
832
833 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
834
835         * math_sizeinset.C: include support/LOstream.h
836
837         * math_scriptinset.C (Metrics): std:: qualify max
838
839         * math_root.C (Metrics): std:: qualify max
840         (Write): std:: qualify ostream
841         (WriteNormal): ditto
842
843         * math_matrixinset.C (getLabelList): std:: qualify vector
844         include vector
845         (Metrics): std:: qualify max
846         (header_write): std:: qualify ostream
847         (footer_write): ditto
848
849         * math_macrotemplate.C (Write): std:: qualify ostream
850
851         * math_bigopinset.C (Metrics): std:: qualify max, and include
852         functional
853
854         * math_matrixinset.h: include vector and std:: qualify it.
855
856         * array.C (GetInset): get a pointer to the first element of bf_
857         not an iterator.
858
859 2001-06-25  The LyX Project  <Asger>
860
861         * math_scriptinset.C: Fix for entering with cursor up/down.
862
863         * math_fracinset.C: We can enter fractions with cursor up and
864         down.
865
866         * math_cursor.C (Right): Fixes for cursor movement.
867
868         * formula.C (draw): New background color for math.
869
870         * math_cursor.C: Fixes for toggling labels on/off in math.
871         Fixes for infinity and other symbols that didn't appear in
872         LaTeX.
873
874 2001-06-24  The LyX Project  <Asger>
875
876         * math_inset.C: Cursor movement is better in square roots, among
877         other things.
878
879         * math_cursor.C (Interpret): Improved subscript bullshit. Improved
880         cursor up/down movement. What not.
881
882 2001-06-24  The LyX Project  <Asger>
883
884         * math_matrixinset.C: Hidden labels are hidden, unless a small
885         dragon jumps out of the screen, and pronounce them to the entire
886         world.
887
888 2001-06-24  The LyX Project  <Easter egg>
889
890         * math_cursor.C: Cursor improvements after a few dead-ends
891         in the evolution of cursor movement were tested and scrapped.
892
893 2001-06-24  The LyX Project  <Asger>
894
895         * math_cursor.C: Renamed stack to path.
896
897 2001-06-24  The LyX Project  <André>
898
899         * *.[Ch]:
900           Makefile.am: The Big Patch
901           (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
902      new MathScriptInset for up/down stuff;
903            delete MathIter/MatXIter, MathParInset, MathRowSt
904      Changes to the inset inheritance tree, reunification of abstract math
905      inset base classes;
906      label/numbering handling back to life;
907      major changes to the parser(s);
908      new base class FormulaBase for the two math LyXInsets;
909            general cleanup and cosmetic changes)
910
911 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
912
913         * math_macro.C:
914         * math_root.C: removed // -*- C++ -*- as first line.
915
916 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
917
918         * array.C: bring memmove into main namespace if necessary
919
920 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
921
922         * math_parser.C (yylex): use contains instead of strchr
923         (parse_align): remove last arg, change to take string const & as
924         first arg.
925         (mathed_parse): use string for ar2 and ar, adjust
926
927         * math_decorationinset.C (Write): use compare instead of strcmp
928
929         * formula.C (LocalDispatch): change arg2 to string, adjust for this
930         (LocalDispatch): add std::
931         (LocalDispatch): use contains instead of strchr
932
933         * array.C (move): add std::
934
935 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
936
937         * matriz.C: add using directives when needed for C functions
938         declared in std:: namespace.
939
940         * math_macrotemplate.h: do not use explicitely std::string, but
941         string.
942
943         * math_macroarg.C: avoid bringing the whole std:: namespace in
944         global-land. When you do that, there is an ambiguity between
945         lyxstring and std::string (which may be defined at the same time).
946
947         * formula.C (HandleExtern): add .c_str() to .str() (useful when
948         using lyxtring)
949
950 2001-04-27 André Pönitz  <poenitz@gmx.net>
951
952         * math_parser.C: fix \frac handling bug introduced on 04-24
953         * math_xiter.C: hotfix for merging "shared" insets
954         * formula.C: fixing display after using math-insert
955
956 2001-04-25 André Pönitz  <poenitz@gmx.net>
957
958         * math_*.[Ch]: WriteNormal
959         * formula.C: Support for new "math extern" command
960         * math_parser.C: fix \frac handling bug introduced on 04-24
961         * math_xiter.C: hotfix for merging "shared" insets
962
963 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
964
965         * math_macrotable.C: include <iostream>
966
967 2001-04-24 André Pönitz  <poenitz@gmx.net>
968
969         * math_macro.[Ch]:
970         * math_macrotable.[Ch]:
971         * math_macroarg.[Ch]: restructuring of macro handling
972         * several files:
973
974 2001-04-25  Angus Leeming  <a.leeming@ic.ac.uk>
975
976         * array.h (operator<<):
977         * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
978
979         * math_macrotable.C: added using std::make_pair directive.
980         (dump): added using std::cerr directive here as I guess that this is
981         temporary.
982
983 2001-04-20  Allan Rae  <rae@lyx.org>
984
985         * formula.C (LocalDispatch): fixed another #warning.  Guess who.
986
987 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
988
989         * math_macrotemplate.h: inherit privately from noncopyable
990
991         * math_macro.C (Metrics): reindent, use unsigned int as loop var
992         (setArgumentIdx): change test to avoid unsigned warning
993
994         * formula.C (LocalDispatch): use LFUN_MESSAGE
995
996 2001-04-16  Allan Rae  <rae@lyx.org>
997
998         * formula.C (Latex, getLabelList, LocalDispatch):
999         * math_parser.C (mathed_parse):
1000         * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
1001         an unrecognised preprocessor directive.  So ensure they're wrapped.
1002
1003 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1004
1005         * formula.C (draw): adjust for cursor_visible
1006         (ToggleInsetCursor): adjust for cursor_visible and constify asc
1007         and desc
1008         (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
1009         (HideInsetCursor): adjust for cursor_visible
1010         (LocalDispatch): constify default_label and res
1011
1012 2001-03-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1013
1014         * math_rowst.C: add missing #include <config.h>.
1015
1016 2001-03-16  André Pönitz  <poenitz@gmx.net>
1017
1018         * math_matrixinset.h:
1019         * math_parinset.[Ch]:
1020         * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
1021
1022 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
1023
1024         * Makefile.am:
1025         * formula.C:
1026         * math_forms.h:
1027         * math_forms.C:
1028         * math_panel.h:
1029         * math_panel.C:
1030         * math_symbols.C: maths panel moved to GUII
1031
1032 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1033
1034         * math_cursor.C: use lyxerr instead of cerr.
1035
1036 2001-03-15  André Pönitz  <poenitz@gmx.net>
1037
1038         * math_cursor.C: fix bug (cursor was leaving two insets at a time
1039            instead of one)
1040
1041 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1042
1043         * math_macrotable.h: noncopyable is in namespace boost
1044         * math_macrotemplate.h: ditto
1045
1046         * math_rowst.h: make MathedRowContainer::iterator public.
1047
1048 2001-03-15  André Pönitz  <poenitz@gmx.net>
1049
1050         * math_parser.C: read '\nonumber' again (was broken)
1051
1052         * math_rowst.C: new file
1053
1054 2001-03-15  Angus Leeming  <a.leeming@ic.ac.uk>
1055
1056         * math_cursor.C: added using directive.
1057
1058 2001-03-15  André Pönitz  <poenitz@gmx.net>
1059
1060         * math_rowst.h: Finally remove MathedRowSt
1061
1062         * math_parser.C:
1063           math_xiter.C: changed accordingly
1064
1065 2001-03-12  André Pönitz  <poenitz@gmx.net>
1066
1067         *       math_rowst.h: replace MathedRowSt with MathedRowStruct,
1068             more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
1069
1070 2001-03-10  André Pönitz  <poenitz@gmx.net>
1071
1072         * math_xiter.[Ch]:
1073           math_matrixinset.C: move adjustVerticalSt to the only place where
1074       it is used. Fix a small bug where the cached row structure and the
1075             actual data get out of sync after the deletion of whole rows
1076
1077 2001-03-09  André Pönitz  <poenitz@gmx.net>
1078
1079         * math_cursor.C: use std::vector<> in MathStackXIter
1080                 change selstk from a pointer to the "real thing"
1081
1082         * math_rowst.h: new MathedRowContainer::erase method
1083
1084         * math_xiter.C: use MathedRowContainer::erase
1085
1086         * math_parser.C: use MathedRowContainer::insert_after
1087
1088 2001-03-08  André Pönitz  <poenitz@gmx.net>
1089
1090         * math_rowst.h: give MathedRowContainer an 'insert' method.
1091
1092         * math_xiter.C: new 'container()' method to encapsulated access to
1093           the MathParInset's MathedRowContainer
1094
1095         * math_rowst.h: proper copy constructor and destructor for
1096           MathedRowContainer
1097
1098         * math_matrixinset.[hC]: remove copy constructr and destructor. Those
1099           automatically created by the compiler are ok now.
1100
1101 2001-03-06  André Pönitz  <poenitz@gmx.net>
1102
1103         * array.[Ch]: factor out deep_copy,
1104           remove third argument from raw_pointer_insert
1105
1106         * math_iter.[Ch]: remove unused function Clear()
1107
1108         * math_cursor.C: change signature of MathStackXIter:push()
1109           whitespace changes
1110
1111         * math_rowst.h: introduction of MathRowContainer
1112           several files: corresponding changes
1113
1114 2001-03-04  André Pönitz  <poenitz@gmx.net>
1115
1116   * math_macrotemplate.[Ch]:
1117     math_macro.C: move update() functionality to the macro
1118
1119         * math_rowst.h: split MathedRowSt into "data" and "list"
1120
1121 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1122
1123         * math_macrotemplate.C (update): use MathMacro::getArg, and
1124         receive a const reference.
1125         (getMacroPar): add an Assert
1126
1127         * math_macrotemplate.h: make MathMacro a friend, make update take
1128         a const reference.
1129
1130         * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
1131         and store a MathMacroArgument in the vector
1132         * math_macro.C: changes because of the above.
1133         (getArg): new method
1134
1135         * math_parser.C (mathed_parse): plug potential leak
1136
1137         * math_iter.h: add comment on virtual destructor
1138
1139         * math_iter.C (Delete): make c const
1140
1141         * math_parinset.C (Metrics): cleanup indent. make one string const.
1142
1143         * math_inset.C (size): move out of line
1144         (incSize): ditto
1145
1146         * math_macroarg.h: remove default constructor
1147
1148         * math_macroarg.C: include Lsstream.h instead of debug.h
1149         (MathMacroArgument): remove default constructor
1150         (Write): add std:: on ostream arg
1151
1152 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
1153
1154         * math_parser.C:
1155         * formula.C: make DEBUG into lyxerr
1156
1157 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1158
1159         * math_macrotemplate.h: make noncopyable, remove last arg to
1160         constructor, remove flags_ add edit_
1161         (flags): remove method
1162
1163         * math_macrotemplate.C (setArgument): delete method
1164         (update): make idx const
1165         (Metrics): use edit_, remove flags_
1166         (draw): use edit_, remove flags_
1167         (setEditMode): set edit_, remove flags_
1168         (MathMacroTemplate): initialize edit_, remove flags_
1169
1170         * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
1171         shared_ptr, let constructor take a shared_ptr
1172
1173         * math_macro.C (MathMacro): take shared_ptr as arg, remove double
1174         initialization.
1175         (draw): remove unneded update, remove removed update of x,y
1176         (GetXY): call tmplates GetMacroXY directly
1177         (SetFocus): call Metrics() instead of update()
1178         (Write): remove support for math macro environments, simplifications.
1179
1180         * math_macrotable.h: make class noncopyable, change getMacro to
1181         createMacro, change vector to map store a
1182         shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
1183
1184         * math_macrotable.C: add pragma
1185         (createMacro): change name from getMacro, use shared_ptr
1186         (getTemplate): Use map lookup to get macro, return shared_ptr
1187         (addTemplate): assert that m containse a valid pointer, use map[]
1188         insert.
1189         (builtinMacros): by using shared_ptr fix the mem leak, remove
1190         commented out unsupported macros
1191
1192         * math_cursor.C: changes because of the above
1193         * math_parser.C: changes because of the abobe
1194
1195         * formulamacro.h: change tmacro_ to be a shared_ptr, remove
1196         default arg on constructor.
1197         * formulamacro.C: changes because of the above
1198
1199         * math_parinset.h: add pragma
1200         (SetAlign): move inline out of class def
1201         (GetColumns): ditto
1202         (GetRows): ditto
1203         (isMatrix): ditto
1204         (setArgumentIdx): ditto
1205         (setNextArgIdx): ditto
1206         (getArgumentIdx): ditto
1207         (getMaxArgumentIdx): ditto
1208         (setRowSt): ditto
1209         (xo): ditto
1210         (yo): ditto
1211
1212         * math_parinset.C: add pragma
1213         (Write): change the else clause, lessen depth
1214
1215         * math_macroarg.h: small whitespace change
1216
1217         * array.C: include support/LOstream.h add using ostream and endl
1218
1219         * array.h (dump): add std:: on ostream
1220
1221 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1222
1223         * math_macrotemplate.h: remove default arg on update
1224
1225         * math_macrotemplate.C (update): add assert and remove noop case.
1226
1227         * formulamacro.C (Read): add comment.
1228         (ascent): remove noop call to MathMacroTemplate
1229         (descent): ditto
1230         (width): ditto
1231         (draw): ditto
1232
1233         * math_parser.C (mathed_parse): fix another potential problem by
1234         passing a freestanding mathedarray.
1235
1236         * math_root.C (GetData): add const version
1237
1238         * math_parinset.C (~MathParInset): delete
1239         (GetData): add const version
1240
1241         * math_matrixinset.C (MathMatrixInset): delete pointer version,
1242         make it a proper copy constructor instead
1243         (Clone): change acc.
1244         (MathMatrixInset): remvoe default val for m and n
1245
1246         * math_macro.C (GetData): add const version
1247
1248         * math_fracinset.C (GetData): add const version
1249
1250         * math_cursor.C (SelCopy): make p1 and p2 const
1251         (SelCut): make p1 and p2 const
1252
1253         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1254         (LyxCode): move inline out of class
1255         (ConvertFont): ditto
1256         (display): ditto
1257
1258         * array.[Ch] (dump): method added for debugging purposes
1259
1260         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1261         mathed_parse when reading a matrix.
1262
1263         * math_spaceinset.[Ch]: add pragma, make variables private add
1264         '_', change order of method definitions.
1265
1266         * math_root.h (~MathRootInset): delete
1267         Change uroot_ to be a real object instead of a pointer
1268         * math_root.C: changes because of the above
1269
1270         * math_macro.C (MathMacro(MathMacro*)): delete constructor
1271         (MathMacro(MathMacro const &)): new copy constructor
1272
1273         * math_inset.h: delete constructor taking a pointer to MathedInset
1274         (size, incSize): move inline method
1275
1276         * math_funcinset.h: add pragma, remove class vars ln and fname,
1277         change protected to private, add '_' to priv vars.
1278         (~MathFuncInset): remove
1279
1280         * math_fracinset.h: make MathParInset den_ a real object and not a
1281         pointer.
1282
1283         * math_fracinset.C (MathFracInset): clean up, move initalization
1284         to initialization list
1285         (~MathFracInset): remove
1286         (Clone): remove leak
1287
1288         * math_draw.C: delete file
1289
1290         * math_dotsinset.[Ch]: add pragma
1291
1292         * math_bigopinset.h: make protected variables private add '_' to vars.
1293
1294         * math_bigopinset.C: move methods to follow class definition order
1295
1296         * math_accentinset.h (getAccentCode): move inline here
1297
1298         * math_accentinset.C (MathAccentInset): cleanup
1299         (draw): constify dw
1300
1301 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1302
1303         * math_inset.[Ch] (MathedInset): remove method
1304
1305         * Makefile.am (libmathed_la_SOURCES): correct typo
1306
1307         * math_parinset.C (draw): move MathedXiter data(this) up. and
1308         remove it two other places.
1309
1310         * math_macro.C (MathMacro): use array directly, don't use
1311         setArgumentIdx and GetData
1312
1313 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1314
1315         * math_macroarg.C (MathMacroArgument): delete
1316         * math_macro.C (~MathMacro): delete
1317         * math_macrotemplate.C (~MathMacroTemplate): delete
1318
1319         * math_decorationinset.[Ch]: add pragma
1320         * math_deliminset.[Ch]: likewise
1321         * math_fracinset.[Ch]: likewise
1322         * math_macroarg.[Ch]: likewise
1323         * math_macrotemplate.[Ch]: likewise
1324         * math_matrixinset.[Ch]: likewise
1325
1326         * formulamacro.C (Read): set contents of tmacro_ to ar.
1327
1328         * formulamacro.h: add '_' to private variables.
1329         * formalamacro.C: changes because of this.
1330
1331 2001-02-23  Juergen Vigna  <jug@sad.it>
1332
1333         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
1334         should be) and not an int.
1335
1336         * formulamacro.C (LocalDispatch): ditto.
1337
1338 2001-02-14  André Pönitz  <poenitz@gmx.net>
1339
1340         * math_parinset.[Ch]: make array a real MathArray, not just a
1341           pointer to one.
1342
1343         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1344
1345         * several files: subsequent changes
1346
1347         * math_cursor.C: make selarray a proper MathArray
1348
1349         * several files: Change "MathedArray *" to "MathedArray &"
1350
1351
1352 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
1353
1354         * array.C (MathedArray): Fix compilation problem.
1355
1356 2001-02-14  André Pönitz  <poenitz@gmx.net>
1357
1358         * array.[Ch]: "deep" copy constructor and assignment operator for
1359         MathArray
1360
1361         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1362
1363         * math_iter.[Ch]: remove SetData
1364           several files: subsequent changes
1365
1366 2001-02-14  André Pönitz  <poenitz@gmx.net>
1367
1368         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and
1369         ARRAY_STEP
1370
1371         * math_iter.C: default-construct and resize array
1372
1373 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1374
1375         * math_xiter.h: move ipush and ipop to public, add _ on private
1376         variables, move protected var to private, remove friend.
1377
1378         * math_cursor.C (insertInset): rename method from Insert also
1379         remove default arg val. Call the public methods of xiter instead
1380         of private variables.
1381
1382         * changes to several files because of the above.
1383
1384 2001-02-14  André Pönitz  <poenitz@gmx.net>
1385
1386         * math_iter.[Ch]: hide fcode_
1387         * math_xiter.C:
1388         * math_parinset.C: subsequent changes
1389
1390
1391 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1392
1393         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1394         math_utils.h
1395
1396         * math_write.C: delete file
1397         * math_delim.C: delete file
1398         * marh_sqrtinset.h: delete file
1399
1400         * move funcs to more localized files, more general cleanup.
1401         Constify several local vars. Doxygen changes. Formatting.
1402
1403 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
1404
1405         * support.C: add some consts
1406
1407         * matriz.C: clean up a bit.
1408         (matmat): remove the for loop.
1409
1410         * several files: changes so that several friends can be removed
1411
1412 2001-02-14  André Pönitz  <poenitz@gmx.net>
1413
1414         * formula.C: reformatting
1415
1416         * math_cursor.[Ch]:
1417           math_iter.[Ch]:
1418           math_xiter.[Ch]: remove unneeded members
1419
1420 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1421
1422         * math_parser.C:
1423         * math_panel.C:
1424         * formula.C: remove cruft
1425
1426         * array.C (begin): new method
1427         (end): ditto
1428
1429 2001-02-14  André Pönitz  <poenitz@gmx.net>
1430
1431         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1432
1433         * math_cursor.C: reformatting
1434
1435 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1436
1437         * math_spaceinset.C:
1438         * math_root.C:
1439         * math_matrixinset.C:
1440         * math_macrotemplate.C:
1441         * math_funcinset.C:
1442         * math_fracinset.C:
1443         * math_dotsinset.C:
1444         * math_deliminset.C:
1445         * math_decorationinset.C:
1446         * math_bigopinset.C:
1447         * math_accentinset.C:
1448         * math_sqrtinset.C: include LOstream.h and add using directive.
1449
1450 2001-02-14  André Pönitz  <poenitz@gmx.net>
1451
1452         * math_iter.C: reformatting
1453
1454 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1455
1456         * math_spaceinset.C (GetSpace): move here
1457
1458         * math_parinset.C: add debug.h, move several prev. inlined methods
1459         here.
1460
1461         * math_macrotable.C math_xiter.C support.C: add debug.h
1462
1463         * math_macro.h: remove debug.h, remove typedefs
1464
1465         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1466         extern decls.
1467
1468         * math_hash.C: change some defines to int const. change use of
1469         LM_TC_NORMAL to LM_TC_VAR
1470
1471         * math_draw.C: delete file
1472
1473         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1474         forward decls. remove LM_TC_NORMAL, move inline methods to
1475         support.C (and support.h)
1476
1477         * math_cursor.C: move several previous inlined methods here
1478
1479         * math_bigopinset.h math_dotsinset.h math_funcinset.h
1480         math_parinset.h math_spaceinset.h: add math_defs.h
1481
1482         * math_accentinset.h: add support.h and math_defs.h
1483
1484         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1485
1486         * formula.h: remove unused func decl: OpenMathInset
1487
1488         * formula.C math_inset.h: get rid of math_defs.h
1489
1490         * array.h: switch to support.h instead of math_defs.h
1491
1492         * array.C: remove one include
1493
1494         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1495
1496         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1497
1498         * math_parser.C: include macrotable and macrotemplate
1499
1500         * math_macrotemplate.[Ch]: new files
1501
1502         * math_macrotable.[Ch]: new files
1503
1504         * math_macroarg.[Ch]: new files
1505
1506         * math_macro.C: move stuff to the new files.
1507
1508         * math_cursor.C: include math_macrotable.h
1509
1510         * macro_support.[Ch]: new files
1511
1512         * formulamacro.C: add more includes
1513
1514         * Makefile.am (libmathed_la_SOURCES): add new files.
1515
1516 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1517
1518         * Makefile.am (libmathed_la_SOURCES): remove duplicate
1519         math_sqrtinset.
1520
1521         * support.C:
1522         * math_xiter.C:
1523         * math_parinset.C: add a bunch of "using" directives.
1524
1525         * math_funcinset.h:
1526         * math_decorationinset.h:
1527         * math_bigopinset.h:
1528         * math_spaceinset.h: remove more couples of inline.
1529
1530 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1531
1532         * math_xiter.h: remove a couple of "inline"
1533
1534         * array.C (strange_copy): fix bug (hopefully)
1535         * many files: add a lot of new files and move methods to the class
1536         files they belong to. Only first attempt at cleanup more will
1537         follow.
1538
1539 2001-02-12  André Pönitz  <poenitz@gmx.net>
1540
1541         * math_macro.[hC]: replace MathMacroArgument[] with
1542           std::vector<MathMacroArgument>
1543         * math_defs.h:
1544           math_inset.C: replace int[] with std::vector<int>
1545         * math_panel.h:
1546         * math_symbols.C: replace FL_OBJECTP[] with
1547         std::vector<FL_OBJECT*>
1548
1549 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1550
1551         * math_defs.h (struct MathedRowSt): make all private variables end
1552         with '_', initialize in initializer list instead of in function
1553         body.
1554
1555 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
1556
1557         * formula.C (LocalDispatch): Change the default action of
1558         break-line to create an align* environment instead of eqnarray*.
1559
1560         * math_inset.C (Metrics): Correct drawing of the multline
1561         environment.
1562
1563 2001-02-12  André Pönitz  <poenitz@gmx.net>
1564
1565         * array.[hC]: replace private variable maxsize_ with call to
1566         bf_.size()
1567         * math_defs.h: replace int[] by std::vector<int> for
1568         MathedRowSt::widths
1569
1570 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1571
1572         * array.h: made all variables private, removed friend, added new
1573         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1574         non const operator[] added setter for last and getter for maxsize.
1575         changed name from LyxArrayBase to MathedArray.
1576         changed name of some methods to start with lowerchar.
1577         moved inline methods to array.C
1578
1579         * math_iter.C + several file: changes because of the above.
1580
1581         * array.C: new file with the prev inline methods.
1582
1583 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1584
1585         * Many files: add support for the align environment from amsmath.
1586
1587 2001-02-09  André Pönitz  <poenitz@gmx.net>
1588
1589         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
1590         * several files: subsequent changes
1591         * math_iter.h: remove unused prototype
1592         * array.h: ditto.
1593
1594 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1595
1596         * math_macro.C (draw): add .c_str() to .str() (useful when
1597         compiling with lyxstring, but STL sstream).
1598         (Metrics): ditto.
1599
1600 2001-02-08  André Pönitz  <poenitz@gmx.net>
1601
1602         * several files: get rid of reinterpret_cast.
1603
1604 2001-02-04  Allan Rae  <rae@lyx.org>
1605
1606         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1607         just casting the variable.
1608
1609 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1610
1611         * Many files: Add support for multline and alignat environments from
1612         amsmath.
1613
1614 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1615
1616         * math_symbols.C (math_insert_greek): Move cursor right when
1617         unlocking the math inset.
1618
1619 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1620
1621         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1622
1623         * formula.C (LocalDispatch): Before inserting a label in an
1624         eqnarray, move the cursor to the top level.
1625
1626         * math_iter.C (getLabel): Test if crow == 0.
1627
1628 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1629
1630         * math_draw.C (Metrics): Use the correct GetString.