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