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