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