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