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