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