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