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