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