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