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