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