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