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