]> git.lyx.org Git - lyx.git/blob - src/mathed/ChangeLog
add <string> and other small fixes to make
[lyx.git] / src / mathed / ChangeLog
1
2 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
3
4         * math_macrotable.h: add <string> and other small fixes to make
5         Lars' std::string patch compile with STLport.
6
7 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * math_cursor.C:
10         * math_parser.C:
11         * math_sizeinset.C:
12         * math_streamstr.C: Small fixes to build using STLport
13
14 2003-09-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * math_symbolinset.C (metrics): apply a different hack to metrics
17         when running under OSX. Hopefully this will not break the X11
18         version under darwin (or hopefully nobody cares :)
19
20 2003-09-19  Angus Leeming  <leeming@lyx.org>
21
22         * formula.[Ch] (previewWanted, generatePreview): now passed a
23         'Bufer const &' arg.
24
25         * formalabase.C (insetUnlock): pass a buffer arg to generatePreview.
26
27 2003-09-18  Angus Leeming  <leeming@lyx.org>
28
29         * matheformula.[Ch] (getLabelList):
30         * mathemath_hullinset.[Ch] (getLabelList):
31         receive a Buffer const & arg.
32
33 2003-09-18  Angus Leeming  <leeming@lyx.org>
34
35         * formula.C (latexString): add a Buffer const & arg.
36
37 2003-09-16  Angus Leeming  <leeming@lyx.org>
38
39         * formula.C (PreviewImpl::parent): return a const reference.
40
41 2003-09-16  Angus Leeming  <leeming@lyx.org>
42
43         * formula.C:
44         * formulamacro.C:
45         add #include "LColor.h".
46
47         * math_cursor.C: add #include <boost/assert.hpp>.
48
49 2003-09-16  Angus Leeming  <leeming@lyx.org>
50
51         * math_braceinset.C, math_data.C, math_fboxinset.C, math_frameboxinset.C,
52         math_gridinset.C, math_hullinset.C, math_macrotemplate.C, math_nestinset.C,
53         math_rootinset.C, math_spaceinset.C, math_sqrtinset.C, math_support.C:
54         add #include "LColor.h".
55         * math_data.C, math_scriptinset.C: add #include <boost/assert.hpp>
56         * math_exintinset.C: add #include <boost/scoped_ptr.hpp>
57  
58 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
59
60         * command_inset.C
61         * formula.C
62         * formulabase.C
63         * formulamacro.C
64         * math_arrayinset.C
65         * math_autocorrect.C
66         * math_cursor.C
67         * math_extern.C
68         * math_factory.C
69         * math_gridinset.C
70         * math_support.C: remove usage of STRCONV
71
72 2003-09-15  Angus Leeming  <leeming@lyx.org>
73
74         * math_gridinset.C (draw): explicitly define the color to draw the
75         line.
76
77 2003-09-12  André Pönitz  <poenitz@gmx.net>
78
79         * math_boldsymbolinset.[Ch]: preliminary support
80
81         * Makefile.am: adjust
82
83 2003-09-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * math_kerninset.h:
86         * math_gridinset.h: include "lyxlength.h", not "vspace.h"
87
88         * math_cursor.C: "lyxrc.h", not <lyxrc.h>
89
90 2003-09-08  Angus Leeming  <leeming@lyx.org>
91
92         * formulabase.C:
93         * formulamacro.C:
94         * math_charinset.C:
95         * math_cursor.C:
96         * math_data.C:
97         * math_diminset.C:
98         * math_hullinset.C:
99         * math_support.C:
100         * math_tabularinset.C: remove redundant using directives.
101
102 2003-09-07  Angus Leeming  <leeming@lyx.org>
103
104         * formulabase.h: remove #includes "dimension.h", <boost/weak_ptr.hpp>,
105         <iosfwd>.
106
107         * math_decorationinset.h: remove #include "support/std_string.h".
108
109         * math_envinset.h:
110         * math_fboxinset.h: remove #include "metricsinfo.h".
111
112         * math_kerninset.h: remove #include "math_nestinset.h".
113
114         * math_macro.h: remove #include "math_macroarg.h".
115
116         * math_nestinset.h: remove #include "math_data.h".
117
118         Ensuing changes to .C files.
119
120 2003-09-05  Angus Leeming  <leeming@lyx.org>
121
122         * math_binaryopinset.[Ch]:
123         * math_gridinfo.h:
124         * math_xyarrowinset.[Ch]:
125         ensure that the header file can be compiled stand-alone.
126
127 2003-09-05  Angus Leeming  <leeming@lyx.org>
128
129         * *.C: strip out redundant #includes. (168 in total.)
130
131 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
132
133         * formulamacro.C (prefix): replace %s by %1$s to make bformat happy
134
135 2003-09-01  Alfredo Braunstein  <abraunst@libero.it>
136
137         * formulabase.C (InsetFormulaBase): initialize view_
138
139 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
140
141         * most files: change to use const buffer refs
142
143 2003-08-19  Angus Leeming  <leeming@lyx.org>
144
145         * most files: 'standardise' the header blurb.
146
147 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
148
149         * math_gridinset.C: rename valign-center to valign-middle
150
151 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
152
153         * always use std::endl with lyxerr, and <config.h> in some places.
154
155 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
156
157         * rename Inset to InsetOld
158
159         * all inset files (clone) return a auto_ptr<InsetBase>
160
161 2003-07-21  Angus Leeming  <leeming@lyx.org>
162
163         * formula.C (c-tor, addPreview): use namespace lyx::graphics rather
164         than grfx shortcut.
165
166 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
167
168         * math_parser.C (catInit): dont use unprintable control chars in
169         source.
170
171 2003-07-17  Angus Leeming  <leeming@lyx.org>
172
173         * formulabase.C (localDispatch): return UNDISPATCHED for all
174         LFUN_DIALOG_SHOW.
175
176 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
177
178         * introduce namespace lyx::graphics
179
180 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
181
182         * introduce namespace lyx::support
183
184 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
185
186         * math_symbolinset.C (MathSymbolInset): fix type const order
187
188         * math_support.C (mathed_draw_deco): fix type const order
189
190         * math_gridinset.C (GrinInsetMailer::name): fix type const order
191
192         * math_extern.C (testString): fix type const order
193
194         * math_data.C (operator[]): fix arg type
195
196         * math_binaryopinset.C (metrics): comment out
197
198         * formula.h: fix type const order
199
200 2003-06-19  Angus Leeming  <leeming@lyx.org>
201
202         * formulabase.C (localDiapatch): replace LFUN_MATH_PANEL with
203         LFUN_DIALOG_SHOW "mathpanel".
204
205 2003-06-17  Angus Leeming  <leeming@lyx.org>
206
207         * formulabase.C (lfunMouseRelease): s/showMathPanel/show("mathpanel")/
208
209 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * formulabase.C (mathDispatchCreation): fix call to cutSelection
212
213 2003-06-16  André Pönitz  <poenitz@gmx.net>
214
215         * math_*inset.[Ch]: IU of clone()
216
217         * math_cursorpos.[Ch]:
218         * math_cursor.[Ch]: rename MathCursorPos -> CursorPos, par_ -> inset_
219
220 2003-05-28  André Pönitz  <poenitz@gmx.net>
221
222         * math_*.[Ch]: prepare unified two-stage drawing
223
224 2003-05-27  André Pönitz  <poenitz@gmx.net>
225
226         * *.C: dim.w -> dim.wid etc
227
228 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
229
230         * remove same_id from function signatures, adjust
231
232 2003-05-19  André Pönitz  <poenitz@gmx.net>
233
234         * formulamacro.C: avoid multiple metrics computation
235
236 2003-05-23  Angus Leeming  <leeming@lyx.org>
237
238         * formula.C (latex):
239         * formulamacro.C (latex): rename fragile as moving_arg.
240
241 2003-05-22  Angus Leeming  <leeming@lyx.org>
242
243         * formula.[Ch] (latex):
244         * formulamacro.[Ch] (latex):
245         no longer have a free_spacing arg. Data is now passed through the
246         LatexRunParams arg.
247
248 2003-05-22  Angus Leeming  <leeming@lyx.org>
249
250         * formula.[Ch] (latex):
251         * formulamacro.[Ch] (latex):
252          no longer has a fragile arg. Data is now passed through the
253          LatexRunParams arg.
254
255 2003-05-22  Angus Leeming  <leeming@lyx.org>
256
257         * formula.[Ch] (latex):
258         * formulamacro.[Ch] (latex):
259         passed a LatexRunParams parameter.
260
261 2003-05-19  André Pönitz  <poenitz@gmx.net>
262
263         * Makefile.am:
264         * dimension.[Ch]: promote files to src/dimension.[Ch[
265
266         * formula.[Ch]:
267         * formulamacro.[Ch]:
268         * formulamacro.h:
269         * math_inset.h: replace ascents/descent/witdh with dimension()
270
271 2003-05-14 André Pönitz <poenitz@gmx.net>
272
273         * math_substack.[Ch]: add markers
274
275 2003-05-12 André Pönitz <poenitz@gmx.net>
276
277         * formula.C:
278         * math_parser.C:
279         * math_cursor.C: boost::format -> bformat  all over the place
280
281 2003-05-06  Ling Li  <ling@caltech.edu>
282
283         * Makefile, math_makeboxinset.[Ch]:
284         * math_factory.C (createMathInset):
285         * math_parser.C (parse1): New support for \makebox.
286
287         * math_nestinset.C (drawMarkers, drawMarkers2):
288         * math_boxinset.C, math_frameboxinset.C (draw):
289         Fix spacing and marker length.
290
291 2003-05-03  John Levon  <levon@movementarian.org>
292
293         * formula.C:
294         * formulabase.C:
295         * formulabase.h:
296         * formulamacro.C:
297         * math_cursor.C: remove showInsetCursor(),
298         isCursorVisible(), hideInsetCursor(), toggleInsetCursor(),
299         explicit cursor hides. Add getCursor()
300
301 2003-05-02  André Pönitz <poenitz@gmx.net>
302
303         * math_arrayinset.[Ch]: add markers
304
305 2003-04-30  André Pönitz <poenitz@gmx.net>
306
307         * math_gridinset.C: fix transition to new Col/Row/CellInfo scheme
308
309 2003-04-14  Angus Leeming  <leeming@lyx.org>
310
311         * math_fboxinset.C:
312         * math_frameboxinset.C: s/\(LColor::\)black/\1foreground/
313         * math_macrotemplate.C: s/\(LColor::\)blue/\1mathline/
314         * math_support.C: s/\(LColor::\)mathcursor/\1cursor/
315
316 2003-04-02  John Levon  <levon@movementarian.org>
317
318         * formulabase.C:
319         * math_gridinset.C: tab lfuns changed name
320
321 2003-03-28  John Levon  <levon@movementarian.org>
322
323         * formulabase.C: remove LFUN_GREEK - does nothing
324
325 2003-03-19  John Levon  <levon@movementarian.org>
326
327         * formulabase.h:
328         * formulabase.C:
329         * math_gridinset.C:
330         * math_hullinset.C:
331         * ref_inset.C: updateInset() doesn't take a bool
332         anymore
333
334 2003-03-17  John Levon  <levon@movementarian.org>
335
336         * formula.h:
337         * formula.C:
338         * formulabase.h:
339         * formulamacro.h:
340         * formulamacro.C: draw() prototype changed
341
342 2003-03-10  Angus Leeming  <leeming@lyx.org>
343
344         * math_gridinset.[Ch] (d-tor): added to ensure that the tabular
345         dialog is hidden when the inset is deleted and the two are connected.
346
347 2003-03-05  Ling Li <ling@caltech.edu>
348
349         * math_casesinset.[Ch] (validate): request feature "amsmath"
350
351 2003-03-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
352
353         * math_braceinset.C (metrics): fix computation of descent
354
355 2003-03-04  Angus Leeming  <leeming@lyx.org>
356
357         * command_inset.[Ch] (createDialogStr): a new function to generate
358         something that the frontend Dialogs will understand.
359         (c-tor): the string passed to the c-tor is now understood to be
360         simply the inset's name, not some strange beast containing "|++|".
361
362         * math_factory.[Ch] (createMathInset_fromDialogStr): new function
363         parses the string passed from the frontends.
364
365         * formulabase.C (localDiapatch):
366         * ref_inset.C (dispatch): use createDialogStr and
367         createMathInset_fromDialogStr rather than the current hard-coded
368         stuff.
369
370         * ref_inset.[Ch] (string2RefInset): goes the way of the dodo.
371
372 2003-03-04  Angus Leeming  <leeming@lyx.org>
373
374         * formulabase.C (localDispatch): if an inset is found on
375         LFUN_INSET_APPLY, send LFUN_INSET_MODIFY to the inset's localDispatch.
376
377         * ref_inset.C (localDispatch): handle LFUN_INSET_MODIFY, not
378         LFUN_INSET_APPLY.
379
380 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
381
382         * formulabase.h: adjust for boost 1.30.0
383
384 2003-02-27  Angus Leeming  <leeming@lyx.org>
385
386         * formulabase.C (localDispatch): collapse LFUN_REF_APPLY to
387         LFUN_INSET_APPLY.
388
389         * ref_inset.C (changes due to the change to LFUN_INSET_APPLY.
390
391 2003-02-26  Angus Leeming  <leeming@lyx.org>
392
393         * ref_inset.C (localDispatch): act only on receipt of LFUN_REF_APPLY.
394
395 2003-02-26  Angus Leeming  <leeming@lyx.org>
396
397         * formula.C (draw): cache the BufferView* using cache not
398         PreviewImpl::setView
399
400 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
401
402         * formula.C (draw): strip also the other argument (the owner inset) in
403         the call to PreviewImage::image
404
405 2003-02-26  Angus Leeming  <leeming@lyx.org>
406
407         * ref_inset.[Ch]: add a localDispatch method to RefInset.
408         add a string2RefInset function to 'translate' the string passed to the
409         LyX core from the Reference dialog.
410
411         * formulabase.C (localDispatch): factor the code for LFUN_REF_APPLY
412         to use these new functions and so avoid a dynamic cast.
413
414 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
415
416         * formula.C (draw): eliminate BufferView argument in call to
417         PreviewImage::image
418
419 2003-02-25  Angus Leeming  <leeming@lyx.org>
420
421         * ref_inset.C (dispatch): add an '\end_inset' to the string passed to
422         the dialog.
423
424         * math_inset.h:
425         * ref_inset.h (asRefInset): new method, replacing asInsetRef.
426
427 2003-02-21  Angus Leeming  <leeming@lyx.org>
428
429         * formulabase.C (localDispatch): retire LFUN_REF_INSERT. Add
430         LFUN_DIALOG_SHOW_NEW_INSET "ref" and LFUN_REF_APPLY. The latter
431         is not yet safe. Posted some ideas to the list for further discussion.
432
433         * ref_inset.C (dispatch): a first stab at activating the code
434         to display the reference dialog from within mathed. Not yet working.
435
436 2003-02-14  Dekel Tsur  <dekelts@tau.ac.il>
437
438         * math_parser.C (parse1): Do not remove braces for {<expr>}^
439
440 2003-02-13  Bo Peng <bpeng@rice.edu>
441
442         * math_cursor.h:
443         * math_cursor.C (backspace, erase): return false for empty mathboxes.
444
445         * formulabase.C: When LFUN_DELETE, LFUN_BACKSPACE return false, delete
446                 the empty mathbox. Fix Bug 686.
447
448 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
449
450         * formula.C (draw, width): Fix spacing around previewed formula.
451
452 2003-01-13  Michael Schmitt <Michael.Schmitt@teststep.org>
453
454         * formulabse.C (localDispatch): make CTRL-Pos1/End behave a little
455         bit more intuitive. (Patch suggested by André.)
456
457 2003-01-07  João Luis Meloni Assirati <assirati@fma.if.usp.br>
458
459         * math_hullinset.C: fix numbering problem of AMS gather and
460           multline environments. Treat gather the same
461           way as eqnarray and multline as a special case.
462
463 2002-12-18  John Levon  <levon@movementarian.org>
464
465         * math_factory.C: do not assume symbol font is present
466
467 2002-12-17  Dekel Tsur  <dekelts@tau.ac.il>
468
469         * math_parser.C (tokenize): Fix macro reading.
470
471 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
472
473         * several files: ws changes
474
475 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
476
477         * math_inferinset.C: remove unused "using std::max"
478
479 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
480
481         * formulamacro.C (prefix): use boost::format
482
483 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
484
485         * formulabase.C (lfunMouseRelease): Do not make the buffer dirty
486         when releasing the first mouse button.
487
488 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
489
490         * math_inset.C (asString): STRCONV
491
492         * math_factory.C (initSymbols): do not std:: qualify getline, use
493         empty() to check for empty string, STRCONV
494
495         * math_extern.C: STRCONV
496
497         * math_diminset.C (drawT): STRCONV
498
499         * math_cursor.C (info): STRCONV
500
501         * math_autocorrect.C (initAutoCorrect): STRCONV
502
503         * formulamacro.C (InsetFormulaMacro): STRCONV
504
505         * formulabase.C (localDispatch): STRCONV
506
507         * formula.C (latexString): STRCONV
508
509         * math_factory.C: add using std::endl
510         (math_font_available): use it
511         (initSymbols): use it
512         (createMathInset): use it
513
514         * math_cursor.C (MathCursor): reindent
515
516 2002-10-28  Dekel Tsur  <dekelts@tau.ac.il>
517
518         * many files: Add support for Maxima.
519
520         * math_scriptinset.C (dispatch): Change handling of LFUN_MATH_LIMITS.
521
522         * math_symbolinset.C (metrics): Compute em with the default font.
523
524         * math_charinset.C (draw): Use math symbol fonts for <,> & =
525
526 2002-10-21  Dekel Tsur  <dekelts@tau.ac.il>
527
528         * math_factory.C (initSymbols): Support "else" token.
529
530         * math_symbolinset.C (metrics): Remove special case for \not.
531
532 2002-10-18  Angus Leeming  <leeming@lyx.org>
533
534         * formula.C (latexString): Revert yesterday's change. It's going to
535         be too complicated to deal with nasty surprises.
536
537 2002-10-17  Angus Leeming  <leeming@lyx.org>
538
539         * formula.C (latexString): change "\[ ... \]" to "$ \displaystyle ... $"
540         for nicer previews.
541
542 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
543
544         * math_kerninset.C (metrics): Use LyXLength::inPixels.
545
546 2002-10-14  Dekel Tsur  <dekelts@tau.ac.il>
547
548         * math_factory.C (initSymbols): iffont.
549
550 2002-10-14  André Pönitz <poenitz@gmx.net>
551
552         * math_cursor.C: remove code to fix crash
553
554 2002-10-14  André Pönitz <poenitz@gmx.net>
555
556         * formulabase.C: support pasting stuff into formulas using button3
557
558         * math_parser.C:
559           math_hullinset.C: Herbert's patch to support flalign
560
561 2002-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
562
563         * formulabase.C (localDispatch): make LFUN_WORDLEFTSEL and
564         LFUN_WORDRIGHTSEL coherent with their non-SEL counterparts
565
566 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
567
568         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
569
570 2002-09-11  John Levon  <levon@movementarian.org>
571
572         * dimension.C: compile fix
573
574 2002-09-11  Angus Leeming  <leeming@lyx.org>
575
576         * preview.[Ch]: cruft. Removed.
577
578 2002-08-29  André Pönitz <poenitz@gmx.net>
579
580         * math_framboxinset.[Ch]: new (partial) support for \framebox
581
582         * math_parser.C: generalization for reading optional arguments
583
584 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
585
586         * math_parinset.C: add support/LOstream.h and config.h
587
588 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
589
590         * math_hullinset.C: add using std::pair
591
592 2002-08-13  Angus Leeming  <leeming@lyx.org>
593
594         * formulabase.C:
595         * ref_inset.C:
596         changes due to the changed LyXView interface that now returns references
597         to member variables not pointers.
598
599         * math_inset.[Ch] (getDialogs, getLyXFunc): return a reference, not a
600         pointer, reflecting this change.
601
602 2002-08-02  Angus Leeming  <leeming@lyx.org>
603
604         * formula.C: pass the BufferView to the PreviewedInset so that it can
605         cache it.
606
607 2002-08-02  Angus Leeming  <leeming@lyx.org>
608
609         * formulabase.[Ch]: store the BufferView as a weak_ptr.
610         (updatePreview): removed.
611         (insetUnlock): invoke generatePreview().
612
613         * formula.C (InsetFormula): pass the shared_ptr to view_, not the raw
614         BufferView.
615         (read, localDispatch): remove those calls to updatePreview().
616
617         * math_metricsinfo.[Ch]: store the BufferView as a weak_ptr.
618
619         * math_nestinset.C (notifyCursorLeaves): empty, because
620         generatePreview() is now called from InsetFormulaBase::insetUnlock.
621
622 2002-08-01  Angus Leeming  <leeming@lyx.org>
623
624         * formula.C: move code into the new PreviewedInset class.
625
626         * formula.[Ch] (generatePreview): renamed as addPreview.
627         (generatePreview): new method invoking PreviewedInset::generatePreview.
628
629         * math_nestinset.C (notifyCursorLeaves): simplify. Now just calls
630         Inset::generatePreview.
631
632 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * formula.C (localDispatch): strip,frontStrip -> trim,ltrim,rtrim
635
636 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
637
638         * math_nestinset.C: add using std::vector
639
640 2002-07-23  Angus Leeming  <leeming@lyx.org>
641
642         * formula.C (descent): add an arbitrary 12 pixels to the descent when
643         previewing a display mode equation, analogous to André's code elsewhere.
644
645         * math_nestinset.C (notifyCursorLeaves): generate the preview only
646         when leaving an inset with depth() == 1.
647
648 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
649
650         * math_support.C (mathed_draw_deco): fix rounding bug for rotated
651         decorations
652
653 2002-07-17  Angus Leeming  <leeming@lyx.org>
654
655         * math_parboxinset.C: add using std::vector directive.
656
657         * formula.C (PreviewImpl's generate): bind to the PreviewLoader
658         through a method rather than to the signal directly.
659
660 2002-07-16  Angus Leeming  <leeming@lyx.org>
661
662         * formula.C (ascent, descent, draw): remove the extra pixels
663         required to accommodate the mathed active frame when in Preview mode.
664
665 2002-07-12  Angus Leeming  <leeming@lyx.org>
666
667         * formula.C: use the new smart loading capabilities of the image
668         loader.
669
670 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
671
672         * mathformula.C: use Lsstream.h not sstream
673
674 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
675
676         * math_support.C:
677         * math_factory.C: use lyx_gui::font_available()
678
679 2002-07-09  Angus Leeming  <leeming@lyx.org>
680
681         * math_braceinset.h:
682         * math_scriptinset.h: remove class:: from method declaration.
683
684         * math_braceinset.C:
685         * math_envinset.C: #include "LOstream.h"
686
687 2002-07-05  Angus Leeming  <leeming@lyx.org>
688
689         * formula.[Ch] (generatePreview): instantiate new virtual method.
690         Strip out the preliminary preview code and replace with code that
691         makes full use of the graphics/Preview* files. Hide all the
692         shenanigans behind a PreviewImpl firewall.
693
694         * math_nestinset.C (notifyCursorLeaves): update the preview using the
695         new graphics/Preview* code.
696
697 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
698
699         * formulabase.C: ws changes
700         * formula.C: ws changes
701
702 2002-07-01  Geof Piroux
703
704         * math_ex*.[Ch] et al: support for Mathematica as CAS backend
705
706 2002-06-28  Angus Leeming  <leeming@lyx.org>
707
708         * preview.h (preview): don't pass grfx::GraphicPtr & anymore.
709
710 2002-06-24  André Pönitz <poenitz@gmx.net>
711
712         * math_parser.C: remove "remove seemingly unneeded {} hack"
713
714 2002-06-26  Angus Leeming  <leeming@lyx.org>
715
716         * formula.C: use lyxerr, not cerr.
717
718 2002-06-24  André Pönitz <poenitz@gmx.net>
719
720         * *.[Ch]: left over changes from Porto
721
722         * math_gridinset.C (eolString): fix #456
723
724 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
725
726         * formula.C: use repaint()
727
728 2002-06-16  André Pönitz <poenitz@gmx.net>
729
730         * math_factory.C:
731         * math_support.C: fix font fall-back
732
733         * math_specialcharinset.[Ch]:
734         * math_funcliminset.[Ch]: remove, it's now done by MathSymbolInset
735
736         * math_funcinset.[Ch]: remove, it's not used
737
738 2002-06-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
739
740         * math_extern.C: add using std::endl
741
742 2002-06-15  LyX Development team <lyx@rilke>
743
744         * formula.[Ch]:
745         * macroformula.[Ch] (docbook): Added argument to care about the
746         pernicious mixed content.
747
748 2002-05-30  André Pönitz <poenitz@gmx.net>
749
750         * math_parser.C:
751         * formulabase.C: parser changes to 'everything might be a table'
752
753 2002-05-31  Dekel Tsur  <dekelts@tau.ac.il>
754
755         * math_hullinset.C (ams): Do a real check.
756
757 2002-05-30  André Pönitz <poenitz@gmx.net>
758
759         * *.[Ch]: "fonts as inset"
760
761 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
762
763         * switch from SigC signals to boost::signals.
764
765 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
766
767         * formulabase.C:
768         * formulabase.h:
769         * math_inset.h: use mouse_state. Kill insetKeyPress
770
771 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
772
773         * math_support.C: font loader moved
774
775 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
776
777         * formulabase.C:
778         * formulamacro.C:
779         * math_charinset.C:
780         * math_funcinset.C:
781         * math_support.C:
782         * math_unknowninset.C: new name for font metrics
783
784 2002-05-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
785
786         * math_autocorrect.C: include vector and add a using statement.
787
788 2002-05-23  André Pönitz <poenitz@gmx.net>
789
790         * math_autocorrect.[Ch]: new "auto correction" feature
791         * math_cursor.[Ch]: subsequent changes
792         * math_parser.C: somewhat better error reporting
793
794 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
795
796         * formula.C:
797         * formulabase.C: LyXView moved into frontends/
798
799 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
800
801         * formula.C:
802         * formulabase.C:
803         * formulamacro.C:
804         * math_binaryopinset.C:
805         * math_casesinset.C:
806         * math_charinset.C:
807         * math_cursor.C:
808         * math_fracinset.C:
809         * math_funcinset.C:
810         * math_gridinset.C:
811         * math_hullinset.C:
812         * math_macro.C:
813         * math_macrotemplate.C:
814         * math_rootinset.C:
815         * math_spaceinset.C:
816         * math_sqrtinset.C:
817         * math_stringinset.C:
818         * math_support.C:
819         * math_unknowninset.C:
820         * math_xdata.C:
821         * math_xyarrowinset.C: move Painter to frontends/
822
823 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
824
825         * math_exintinset.C: use more specific smart_ptr header.
826
827 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
828
829         * math_cursor.C: clear selection on paste (bug 393)
830
831 2002-05-15  André Pönitz <poenitz@gmx.net>
832
833         * formulabase.[Ch]: mark buffer as (Changed) after font changes
834
835 2002-05-13  André Pönitz <poenitz@gmx.net>
836
837         * math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
838
839 2002-05-13  André Pönitz <poenitz@gmx.net>
840
841         * math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
842
843 2002-04-24  Juergen Vigna  <jug@sad.it>
844
845         * formulabase.C (insetButtonPress): set the mathcursor in case we
846         don't have one. This happens when clicking on a non locked mathed
847         inset with any button != 1.
848         (insetButtonPress): Forgot about this the Panel should NEVER be
849         opened in a Press event ONLY in the Release event!
850
851 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
852
853         * formulabase.C (localDispatch): merge the cases for
854         LFUN_PROTECTEDSPACE and LFUN_MATH_SPACE, since they were identical.
855
856 2002-04-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
857
858         * formulabase.C (localDispatch): handle arguments of
859         LFUN_MATH_DELIM better.
860
861 2002-04-04 Angus Leeming  <a.leeming@ic.ac.uk>
862
863         * formulabase.C: remove unused variables hack_x, hack_y, hack_button.
864
865 2002-04-02  Allan Rae  <rae@lyx.org>
866
867         * math_cursor.C (info): make it work with lyxstring and std::string
868
869 2002-03-12  André Pönitz <poenitz@gmx.net>
870
871         * math_cursor.C: fix some Up/Down "issues"
872
873 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
874
875         * most files: ws cleanup
876
877         * Makefile.am: remove ld -r stuff
878
879 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
880
881         * Makefile.am: special rules if partial linking
882
883 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
884
885         * math_charinset.C: wrap the std::strchr declaration inside a
886         check for CXX_GLOBAL_CSTD.
887
888 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
889
890         * math_biginset.[Ch] (size): return size_type, not int.
891
892         * math_inset.C (metrics): parameter "mi" is never referenced. Removed.
893         * math_hullinset.C (metrics): ditto.
894
895
896 2002-03-12  André Pönitz <poenitz@gmx.net>
897
898         * math_xarray.[Ch] et al: really use metrics cache if possible...
899
900 2002-03-07  Martin Vermeer <martin.vermeer@hut.fi>
901
902         * math_decorationinset.C: add leftrightarrows to the displayable
903         symbols.
904
905 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
906
907         * formula.C Changes due to the renaming of support/syscall.[Ch] as
908         support/systemcall.[Ch] and of class Systemcalls as class
909         SystemCall.
910
911 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
912
913         * formula.C: change Systemcalls::System to Systemcalls::Wait and
914         No change of functionality, just reflects the stripped down
915         Systemcalls class.
916
917 2002-02-08  André Pönitz <poenitz@gmx.net>
918
919         * math_support.[Ch]: some support for \dddot
920
921 2002-02-08  Otto Tronarp <otttr440@student.liu.se>
922
923         * math_decorationinset.C:
924
925         * math_support.C:
926
927         * math_hash.C: Added \underrightarrow and \underleftarrow
928
929 2002-02-08  Martin Vermeer <martin.vermeer@hut.fi>
930
931         * formulabase.C (localDispatch): fix umlaut handling
932
933         * formulabase.C: pop up math panel on right mouse click
934
935 2002-02-01  André Pönitz <poenitz@gmx.net>
936
937         * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
938
939 2002-02-01  André Pönitz <poenitz@gmx.net>
940
941         * math_xymatrixinset.[Ch]: some support for \xymatrix
942
943 2002-02-01  André Pönitz <poenitz@gmx.net>
944
945         * math_undersetinset.[Ch]: implement direct support for \underset
946
947 2002-01-28  Martin Vermeer <martin.vermeer@hut.fi>
948
949         * math_support.C: removed the arrays latex_mathstyle[] and
950         latex_mathfontcmds[] to the frontends.
951
952 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
953
954         * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
955
956 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
957
958         * math_factory.C (createMathInset): add a default: label in switch
959
960 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
961
962         * formulabase.[Ch] (searchForward, searchBackward): change the
963         bool const & params to bool.
964
965 2002-01-14      Martin Vermeer <martin.vermeer@hut.fi>
966         * math_macrotable.C: added macros for Blackboard Bold,
967         Calligraphic symbols support in mathed. Kludge.
968
969 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
970
971         * math_mathmlstream.C (operator<<): use lyx::count rather than
972         countChar.
973
974         * math_streamstr.C (operator<<): ditto.
975
976 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
977
978         * math_support.C: change latex_mathfontcmds to an array of
979         kb_action.
980
981 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
982
983         * math_exfuncinset.C: remove using std::ostream declaration.
984
985         * math_kerninset.C: whitespace change, consistent with other files.
986
987         * math_mathmlstream.C (operator<<):
988         * math_streamstr.C (operator<<): use countChar rather than std::count.
989
990         * math_parser.C (operator==): comment out. Not used.
991
992 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
993
994         * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
995
996         * math_support.C: separate  string arrays for math style and for
997         font commands.
998
999 2002-01-10  Dekel Tsur  <dekelts@tau.ac.il>
1000
1001         * math_parser.C (parse_normal): Support for \begin{math}
1002
1003 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1004
1005         * math_hullinset.C (validate): rename feature "amsstyle" to
1006         "amsmath".
1007
1008 2002-01-09  Martin Vermeer <martin.vermeer@hut.fi>
1009
1010         * math_support.C: modified to support  a mathed pop-up for math
1011         size "styles" and font types.
1012
1013 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
1014
1015         * math_defs.h: remove trailing comma from enum MathTextCodes.
1016
1017 2002-01-03  André Pönitz <poenitz@gmx.net>
1018
1019         * formulabase.[Ch]: implement simple search
1020
1021         * math_sizeinset.[Ch]: support for \displaystyle etc
1022
1023 2001-12-18  Dekel Tsur  <dekelts@tau.ac.il>
1024
1025         * math_macrotable.C (builtinMacros): Adjust kern values.
1026
1027 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1028
1029         * math_atom.C:
1030         * math_binaryopinset.C:
1031         * math_binominset.C:
1032         * math_casesinset.C:
1033         * math_charinset.C:
1034         * math_data.C:
1035         * math_diminset.C:add missing config.h
1036
1037         * math_cursor.C:
1038         * math_parser.C: move inludes around a bit.
1039
1040         * math_extinset.C: user boost::scoped_ptr
1041
1042         * math_parser.C: user std::fill to fill the catcodes. (please
1043         check this one...), and some consts.
1044
1045 2001-12-11  André Pönitz <poenitz@gmx.net>
1046
1047         * math_cursor.C: allow cut&paste of rectangular regions of cells
1048
1049 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
1050
1051         * math_kerninset.C (metrics): Consider lyxrc.zoom
1052
1053 2001-12-14  Dekel Tsur  <dekelts@tau.ac.il>
1054
1055         * math_support.C: Fix handling of \mathfrak font.
1056
1057 2001-12-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1058
1059         * math_iterator.C (nextInset): compilation fix.
1060
1061 2001-12-11  André Pönitz <poenitz@gmx.net>
1062
1063         * math_defs.h:
1064         * math_parser.C:
1065         * math_hash.C: support for \mathfrak
1066
1067 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
1068
1069         * math_streamstr.C: #include <iostream> to compile with DEC cxx
1070
1071 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1072
1073         * math_arrayinset.C:
1074         * math_boxinset.C:
1075         * math_decorationinset.C:
1076         * math_deliminset.C:
1077         * math_dotsinset.C:
1078         * math_exfuncinset.C:
1079         * math_exintinset.C:
1080         * math_funcinset.C:
1081         * math_funcliminset.C:
1082         * math_hullinset.C:
1083         * math_kerninset.C:
1084         * math_limopinset.C:
1085         * math_sizeinset.C:
1086         * math_stringinset.C:
1087         * math_symbolinset.C:
1088         * math_unknowninset.C: include math_streamstr.h and remove
1089         unneeded c_str()
1090
1091         * math_symbolinset.[Ch]: add constructor taking string
1092
1093         * math_mathmlstream.C: move includes around
1094
1095         * math_streamstr.[Ch]: add operator<<(Stream, string) for
1096         NormalStream, MapleStream, MathMLStream and OctaveStream
1097
1098         * math_gridinset.C: user LyXLength::zero
1099
1100 2001-11-19  Angus Leeming  <a.leeming@ic.ac.uk>
1101
1102         * formula.C:
1103         * math_arrayinset.C: add using std::getline directive.
1104
1105 2001-11-20 André Pönitz  <poenitz@gmx.net>
1106
1107         * formulabase.C: fix mouse positioning using the cursor
1108
1109 2001-11-19  Dekel Tsur  <dekelts@tau.ac.il>
1110
1111         * math_mathmlstream.C (operator<<): Count '\n' chars
1112
1113 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
1114
1115         * math_macro.C
1116         * math_hullinset.C:  Fixes to use the new LaTeXFeatures
1117         correctly.
1118
1119 2001-11-07  André Pönitz  <poenitz@gmx.net>
1120
1121         * math_extern.C: support for integrals, sums, e^x, and d/dx
1122
1123 2001-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1124
1125         * math_extern.C (extractNumber):
1126         (extractDiffExponent): add ugly .c_str()
1127
1128 2001-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1129
1130         * math_arrayinset.C (MathArrayInset):
1131         * formula.C (pipeThroughMaple):
1132         (pipeThroughOctave): add ugly .c_str() to help compile
1133         with lyxstring
1134
1135 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1136
1137         * math_inset.C: compilation fix
1138
1139 2001-11-07  André Pönitz  <poenitz@gmx.net>
1140
1141         * math_*inset.[Ch]:
1142         * array.[Ch]: start native C++ support for Octave, Maple and MathML
1143
1144 2001-10-31  Angus Leeming  <a.leeming@ic.ac.uk>
1145
1146         * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
1147
1148 2001-10-24  Angus Leeming  <a.leeming@ic.ac.uk>
1149
1150         * math_nestinset.C: added using std::max, min directives.
1151         * math_scriptinset.C: added using std::ostream directive.
1152         * math_scriptinset.h: replaced ostream with std::ostream.
1153
1154 2001-10-17  André Pönitz  <poenitz@gmx.net>
1155
1156         * math_*inset.[Ch]: remove MathStyles cache from insets that
1157           don't need it
1158
1159         * support.C:
1160           formulabase.C: fix math font sizes in headings etc
1161
1162         * math_inset.[Ch]:
1163           formula.C: remove unused static member int MathInset::workwidth
1164
1165         * math_gridinset.[Ch]: implement idxHome() and idxEnd()
1166
1167 2001-10-17  André Pönitz  <poenitz@gmx.net>
1168
1169         * math_inset.h:
1170         * *.[Ch]: make output more stream-like
1171
1172 2001-10-17  André Pönitz  <poenitz@gmx.net>
1173
1174         * formula.C:
1175         * array.C: add missing/broken  writeNormal()
1176
1177         * math_lefteqn.[Ch]: some visual support for \lefteqn
1178
1179
1180 2001-10-10  André Pönitz  <poenitz@gmx.net>
1181
1182         * math_cursor.C: introduce dummy "inner" position "between"
1183         nucleus and scripts for smoother cursor movement
1184
1185         * math_cursor.C: use red dot to indicate empty nucleus
1186
1187
1188 2001-10-02  André Pönitz  <poenitz@gmx.net>
1189
1190         * math_cursor.C: leave red backslash as visual clue
1191         in formula when typing macro names
1192
1193         *       math_macrotemplate.C: sanity check
1194
1195 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1196
1197         * math_cursor.C:
1198         * formula.C (localDispatch): fix a few of local variable sizes
1199
1200         * math_fracbase.C: change parameter types to match MathInset
1201
1202 2001-10-01  André Pönitz  <poenitz@gmx.net>
1203
1204         * math_cursor.[Ch]: remove local parInset() method
1205
1206         * math_macro.C: add a static_cast
1207
1208 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1209
1210         * math_cursor.C: fix type mismatches with what was declared in
1211         math_cursor.h.
1212
1213 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
1214
1215         * math_matrixinset.C (header_write): Add \n after \begin{align}
1216
1217 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
1218
1219         * math_macrotable.C (builtinMacros): Add some macros if latex
1220         fonts are available.
1221
1222 2001-09-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1223
1224         * formula.C (insetAllowed): disallow label insertion in inline
1225         formula
1226
1227 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1228
1229         * formulabase.C (mathDispatchCreation): pass second argument
1230         'false' (no label) to selectionAsString
1231
1232 2001-09-11  André Pönitz  <poenitz@gmx.net>
1233
1234         * math_atom.[Ch]: new basic item in the MathArray
1235
1236         * array.[Ch]: move code over to math_atom
1237
1238         * math_scriptinset.[Ch]:
1239           math_parser.C:
1240           math_cursor.C: try to do with super- and subscripts what TeX does
1241
1242 2001-09-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1243
1244         * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
1245
1246 2001-09-04  André Pönitz  <poenitz@gmx.net>
1247
1248         * math_defs.h:
1249         * math_parser.C:
1250         * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
1251             'xxalignt', 'gather' and 'multiline' environments
1252
1253         * math_cursor.C: fix handling of | and \|
1254
1255 2001-09-04  José Matos  <jamatos@fep.up.pt>
1256
1257         * formulabase.C
1258         * formulabase.h
1259         * formula.C
1260         * formula.h
1261         * formulamacro.C
1262         * formulamacro.h (docbook): rename docBook method to docbook.
1263
1264 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
1265
1266         * math_hash.C (ReadSymbols): Check for duplicate symbols
1267
1268 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
1269
1270         * support.C: added a using std::map directive.
1271
1272 2001-08-17  André Pönitz  <poenitz@gmx.net>
1273
1274         * math_hash.C: Use std::map instead of faking it
1275
1276         * symbol_def.h: remove unneeded symbol definitions
1277
1278         *       support.C: use the decorations' name for drawing
1279
1280 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
1281
1282         * math_hash.C (in_word_set): Initialize symbol table even when
1283         symbols file was not found.
1284
1285 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
1286
1287         * math_hash.C: added a using std::endl directive.
1288
1289 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
1290
1291         * support.C (whichFont): Add support for cmr font.
1292         Add support for \mathbb.
1293
1294         * math_notinset.C (draw, metrics): Use cmsy symbol if available.
1295
1296         * math_macrotable.C (builtinMacros): Add 3 builtin macros
1297
1298 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
1299
1300         * math_hash.C: Read symbols information from external file
1301         many files: Add support for latex symbol fonts
1302
1303 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
1304
1305         * math_parser.C (Parser): Eat spaces after \end_inset
1306
1307 2001-08-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1308
1309         * math_parser.C (tokenize): fix typo
1310
1311 2001-08-17  André Pönitz  <poenitz@gmx.net>
1312
1313         * math_parser.C: new "lexxer"
1314
1315         * array.C: write sequences of chars with same code as a unit
1316
1317 2001-08-13  André Pönitz  <poenitz@gmx.net>
1318
1319         * math_factory.[Ch]: new files for the creation of math insets
1320
1321         * math_parser.C:
1322                 math_cursor.C:
1323                 math_hash.C: simplifications
1324
1325         * math_binom.[Ch]: new files for "native" \binom/\choose inset
1326
1327         * math_parser.C:
1328                 math_cursor.C: reading support for TeX style \over and \choose
1329
1330         * formulabase.C: re-enabling the "selected text gets converted to
1331         math when pressing C-m" feature.
1332
1333 2001-08-13  Angus Leeming  <a.leeming@ic.ac.uk>
1334
1335         * math_parser.C (lexArg): remove default argument from the .C file
1336         as it causes DEC cxx to complain about a redefinition.
1337
1338 2001-08-10  André Pönitz  <poenitz@gmx.net>
1339
1340         *       math_scopeinset.[Ch]: new inset for {} blocks
1341
1342         *       math_accentinset.[Ch]: removed unneeded files
1343
1344         * math_grid.[Ch]:
1345           math_matrix.[Ch]: start support for "interrow spacing"
1346
1347         * all over the place: rework of parser stuff
1348
1349 2001-08-08  André Pönitz  <poenitz@gmx.net>
1350
1351         *       math_fracbase.[Ch]:
1352         * math_fracinset.[Ch]: new hierarchy
1353
1354         *       math_stackrelbase.[Ch]: native \stackrel support
1355
1356         * math_inset.[Ch]: removal of the name_ member
1357
1358         * math_deliminset.[Ch]: rework
1359
1360 2001-08-06  André Pönitz  <poenitz@gmx.net>
1361
1362         * formulamacro.C: fix nasty bug due to missing copy constructor
1363
1364         * math_bigopinset.[Ch]: revival for things like \int, \sum
1365
1366         * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
1367
1368         * math_diminset.h: make cache variables mutable, remove const_cast
1369
1370         * formulabase.[Ch]: remove unneeded convertFont()
1371
1372         * math_funcinset.[Ch]: bring red color back
1373
1374         * math_macro*.[Ch]: move ownership of the templates from the formulamacro
1375         inset to the mcaro table
1376
1377 2001-08-01  André Pönitz  <poenitz@gmx.net>
1378
1379         * math_cursor.C:
1380                 formulamacro.C: fix memory leaks
1381
1382         * math_matrixinset.C: fix mis-alignment of eqnarray columns
1383
1384         *       formula*.[Ch]: seperation of the "pimpl" MathInset * into
1385         MathMatrixInset * and MathMacroTemplate * to save a few casts
1386
1387         * all over the place: everything is an inset now
1388
1389         * math_nestinset.[Ch]: new abstract base class for insets containing
1390         other insets.
1391
1392         * math_diminset.[Ch]: new abstract base class for insets that need
1393         the width_/ascent_/descent_ cache
1394
1395 2001-07-25  André Pönitz  <poenitz@gmx.net>
1396
1397         * formulabase.C: re-enable 'space enlargement' feature
1398
1399         * math_scriptinset.C:
1400                 math_bigopinset.C: rework of script insets
1401
1402 2001-07-22  André Pönitz  <poenitz@gmx.net>
1403
1404         * math_cursor.C: fix "pullArg" behaviour
1405
1406         * math_cursor.C: keep empty super/subscript a bit longer
1407
1408         * math_cursor.C: do not move into insets that don't have inner cells yet
1409
1410         * formulabase.C: fix memory leak
1411
1412         * math_cursor.C: ^ now copies selection into new srriptinset
1413
1414         * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
1415           using the mouse
1416
1417         * math_updowninset.C: fix drawing glitches
1418
1419         * math_cursor.C: paste to correct position
1420
1421 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * formula.C (insetAllowed): allow insertion of label
1424
1425 2001-07-20 André Pönitz  <poenitz@gmx.net>
1426
1427         * math_macrotable.C: support for \land and \vee
1428
1429 2001-07-16 André Pönitz  <poenitz@gmx.net>
1430
1431         * math_grid.[Ch] -> math_gridinset.[Ch]
1432           math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
1433
1434         * formulabase.C: fix 'buffer set to (Changed) when moving in math',
1435           fix 'mathed reports wrong width', cosmetics
1436
1437 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1438
1439         * math_cursor.C (operator==): moved ouf of struct
1440         (operator<): ditto
1441         (normalAnchor): reversed one test (but shouldn't it really be >= ?)
1442
1443 2001-07-16 André Pönitz  <poenitz@gmx.net>
1444
1445         * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
1446
1447         * several files: supporting changes
1448
1449 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1450
1451         Consistent use of Lsstream.h:
1452         * formula.C: removed using std::ostringstream directive.
1453
1454         * math_cursor.C: std::istringstream -> istringstream.
1455
1456 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1457
1458         * math_decorationinset.h: add std:: qualifier
1459
1460 2001-07-12 André Pönitz  <poenitz@gmx.net>
1461
1462         * math_updowninset.[hC]: new base class for script and bigop insets
1463                 *.[hC]: subsequent changes to all Metric() functions
1464
1465         * math_parser.C: small changes (\sqrt0 is read properly now)
1466
1467 2001-07-10 André Pönitz  <poenitz@gmx.net>
1468
1469         * math_accentinset.[hC]: rewrite
1470
1471         * math_parser.C:
1472                 math_cursor.C: subsequent changes
1473
1474         * math_grid.C: <Delete> in the first cell of a completely empty row
1475           deletes that row, <C-Return> places the cursor in the first of the
1476           new empty cells.
1477
1478         * math_grid.C: try to split cell nicely when mutating from single-cell
1479           to multi-cell environment
1480
1481 2001-07-09  Dekel Tsur  <dekelts@tau.ac.il>
1482
1483         * math_matrixinset.C (mutate): Use only the first label when
1484         mutating eqnarray to display formula.
1485
1486 2001-07-09  Juergen Vigna  <jug@sad.it>
1487
1488         * formulabase.C (mathDispatchCreation): don't do anything with the
1489         inset if it cannot be inserted!
1490
1491 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1492
1493         * formulabase.C (mathDispatchInsertMath): remove bogus return
1494         statement.
1495
1496 2001-07-09 André Pönitz  <poenitz@gmx.net>
1497
1498         * math_*inset.C: Change order of arguments in MathInset constructor
1499
1500         * math_cursor.C: Remove broken "increase space" feature for a while
1501
1502 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
1503
1504         * formulabase.C (mathDispatchInsertMath): Create an inline formula.
1505
1506 2001-07-04 André Pönitz  <poenitz@gmx.net>
1507
1508         * math_parser.C: fix reading of "unusual" alpha chars
1509
1510         * xarray.[hC]: fix debug output of xarray
1511
1512 2001-07-03 André Pönitz  <poenitz@gmx.net>
1513
1514         * math_parser.C: fix bug where equations did not get their labels
1515
1516         * formulabase.C: new feature: changing font on selection
1517
1518         * several files: subsequent changes
1519
1520         * array.C: fix bug when insets have not been cloned properly
1521         This should fix quite a few "random" crashes...
1522
1523 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1524
1525         * formulabase.C (localDispatch): use .c_str() on istringstream
1526         constructor argument.
1527
1528 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1529
1530         * math_grid.C (addCol): add second argument to cellinfo_.insert.
1531         Cleanup a bit the code.
1532         (appendRow): do not call push_back without argument.
1533
1534         * *.C: remove all "using namespace std" directives (not
1535         good!!) and replaced it with relevant "using" directives.
1536
1537         * math_macrotemplate.C (Clone): change return type to MathInset*
1538
1539 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1540
1541         * math_sizeinset.C: include support/LOstream.h
1542
1543         * math_scriptinset.C (Metrics): std:: qualify max
1544
1545         * math_root.C (Metrics): std:: qualify max
1546         (Write): std:: qualify ostream
1547         (WriteNormal): ditto
1548
1549         * math_matrixinset.C (getLabelList): std:: qualify vector
1550         include vector
1551         (Metrics): std:: qualify max
1552         (header_write): std:: qualify ostream
1553         (footer_write): ditto
1554
1555         * math_macrotemplate.C (Write): std:: qualify ostream
1556
1557         * math_bigopinset.C (Metrics): std:: qualify max, and include
1558         functional
1559
1560         * math_matrixinset.h: include vector and std:: qualify it.
1561
1562         * array.C (GetInset): get a pointer to the first element of bf_
1563         not an iterator.
1564
1565 2001-06-25  The LyX Project  <Asger>
1566
1567         * math_scriptinset.C: Fix for entering with cursor up/down.
1568
1569         * math_fracinset.C: We can enter fractions with cursor up and
1570         down.
1571
1572         * math_cursor.C (Right): Fixes for cursor movement.
1573
1574         * formula.C (draw): New background color for math.
1575
1576         * math_cursor.C: Fixes for toggling labels on/off in math.
1577         Fixes for infinity and other symbols that didn't appear in
1578         LaTeX.
1579
1580 2001-06-24  The LyX Project  <Asger>
1581
1582         * math_inset.C: Cursor movement is better in square roots, among
1583         other things.
1584
1585         * math_cursor.C (Interpret): Improved subscript bullshit. Improved
1586         cursor up/down movement. What not.
1587
1588 2001-06-24  The LyX Project  <Asger>
1589
1590         * math_matrixinset.C: Hidden labels are hidden, unless a small
1591         dragon jumps out of the screen, and pronounce them to the entire
1592         world.
1593
1594 2001-06-24  The LyX Project  <Easter egg>
1595
1596         * math_cursor.C: Cursor improvements after a few dead-ends
1597         in the evolution of cursor movement were tested and scrapped.
1598
1599 2001-06-24  The LyX Project  <Asger>
1600
1601         * math_cursor.C: Renamed stack to path.
1602
1603 2001-06-24  The LyX Project  <André>
1604
1605         * *.[Ch]:
1606           Makefile.am: The Big Patch
1607           (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
1608      new MathScriptInset for up/down stuff;
1609            delete MathIter/MatXIter, MathParInset, MathRowSt
1610      Changes to the inset inheritance tree, reunification of abstract math
1611      inset base classes;
1612      label/numbering handling back to life;
1613      major changes to the parser(s);
1614      new base class FormulaBase for the two math LyXInsets;
1615            general cleanup and cosmetic changes)
1616
1617 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
1618
1619         * math_macro.C:
1620         * math_root.C: removed // -*- C++ -*- as first line.
1621
1622 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1623
1624         * array.C: bring memmove into main namespace if necessary
1625
1626 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1627
1628         * math_parser.C (yylex): use contains instead of strchr
1629         (parse_align): remove last arg, change to take string const & as
1630         first arg.
1631         (mathed_parse): use string for ar2 and ar, adjust
1632
1633         * math_decorationinset.C (Write): use compare instead of strcmp
1634
1635         * formula.C (LocalDispatch): change arg2 to string, adjust for this
1636         (LocalDispatch): add std::
1637         (LocalDispatch): use contains instead of strchr
1638
1639         * array.C (move): add std::
1640
1641 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1642
1643         * matriz.C: add using directives when needed for C functions
1644         declared in std:: namespace.
1645
1646         * math_macrotemplate.h: do not use explicitely std::string, but
1647         string.
1648
1649         * math_macroarg.C: avoid bringing the whole std:: namespace in
1650         global-land. When you do that, there is an ambiguity between
1651         lyxstring and std::string (which may be defined at the same time).
1652
1653         * formula.C (HandleExtern): add .c_str() to .str() (useful when
1654         using lyxtring)
1655
1656 2001-04-27 André Pönitz  <poenitz@gmx.net>
1657
1658         * math_parser.C: fix \frac handling bug introduced on 04-24
1659         * math_xiter.C: hotfix for merging "shared" insets
1660         * formula.C: fixing display after using math-insert
1661
1662 2001-04-25 André Pönitz  <poenitz@gmx.net>
1663
1664         * math_*.[Ch]: WriteNormal
1665         * formula.C: Support for new "math extern" command
1666         * math_parser.C: fix \frac handling bug introduced on 04-24
1667         * math_xiter.C: hotfix for merging "shared" insets
1668
1669 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1670
1671         * math_macrotable.C: include <iostream>
1672
1673 2001-04-24 André Pönitz  <poenitz@gmx.net>
1674
1675         * math_macro.[Ch]:
1676         * math_macrotable.[Ch]:
1677         * math_macroarg.[Ch]: restructuring of macro handling
1678         * several files:
1679
1680 2001-04-25  Angus Leeming  <a.leeming@ic.ac.uk>
1681
1682         * array.h (operator<<):
1683         * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
1684
1685         * math_macrotable.C: added using std::make_pair directive.
1686         (dump): added using std::cerr directive here as I guess that this is
1687         temporary.
1688
1689 2001-04-20  Allan Rae  <rae@lyx.org>
1690
1691         * formula.C (LocalDispatch): fixed another #warning.  Guess who.
1692
1693 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1694
1695         * math_macrotemplate.h: inherit privately from noncopyable
1696
1697         * math_macro.C (Metrics): reindent, use unsigned int as loop var
1698         (setArgumentIdx): change test to avoid unsigned warning
1699
1700         * formula.C (LocalDispatch): use LFUN_MESSAGE
1701
1702 2001-04-16  Allan Rae  <rae@lyx.org>
1703
1704         * formula.C (Latex, getLabelList, LocalDispatch):
1705         * math_parser.C (mathed_parse):
1706         * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
1707         an unrecognised preprocessor directive.  So ensure they're wrapped.
1708
1709 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1710
1711         * formula.C (draw): adjust for cursor_visible
1712         (ToggleInsetCursor): adjust for cursor_visible and constify asc
1713         and desc
1714         (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
1715         (HideInsetCursor): adjust for cursor_visible
1716         (LocalDispatch): constify default_label and res
1717
1718 2001-03-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1719
1720         * math_rowst.C: add missing #include <config.h>.
1721
1722 2001-03-16  André Pönitz  <poenitz@gmx.net>
1723
1724         * math_matrixinset.h:
1725         * math_parinset.[Ch]:
1726         * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
1727
1728 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
1729
1730         * Makefile.am:
1731         * formula.C:
1732         * math_forms.h:
1733         * math_forms.C:
1734         * math_panel.h:
1735         * math_panel.C:
1736         * math_symbols.C: maths panel moved to GUII
1737
1738 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1739
1740         * math_cursor.C: use lyxerr instead of cerr.
1741
1742 2001-03-15  André Pönitz  <poenitz@gmx.net>
1743
1744         * math_cursor.C: fix bug (cursor was leaving two insets at a time
1745            instead of one)
1746
1747 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1748
1749         * math_macrotable.h: noncopyable is in namespace boost
1750         * math_macrotemplate.h: ditto
1751
1752         * math_rowst.h: make MathedRowContainer::iterator public.
1753
1754 2001-03-15  André Pönitz  <poenitz@gmx.net>
1755
1756         * math_parser.C: read '\nonumber' again (was broken)
1757
1758         * math_rowst.C: new file
1759
1760 2001-03-15  Angus Leeming  <a.leeming@ic.ac.uk>
1761
1762         * math_cursor.C: added using directive.
1763
1764 2001-03-15  André Pönitz  <poenitz@gmx.net>
1765
1766         * math_rowst.h: Finally remove MathedRowSt
1767
1768         * math_parser.C:
1769           math_xiter.C: changed accordingly
1770
1771 2001-03-12  André Pönitz  <poenitz@gmx.net>
1772
1773         *       math_rowst.h: replace MathedRowSt with MathedRowStruct,
1774             more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
1775
1776 2001-03-10  André Pönitz  <poenitz@gmx.net>
1777
1778         * math_xiter.[Ch]:
1779           math_matrixinset.C: move adjustVerticalSt to the only place where
1780       it is used. Fix a small bug where the cached row structure and the
1781             actual data get out of sync after the deletion of whole rows
1782
1783 2001-03-09  André Pönitz  <poenitz@gmx.net>
1784
1785         * math_cursor.C: use std::vector<> in MathStackXIter
1786                 change selstk from a pointer to the "real thing"
1787
1788         * math_rowst.h: new MathedRowContainer::erase method
1789
1790         * math_xiter.C: use MathedRowContainer::erase
1791
1792         * math_parser.C: use MathedRowContainer::insert_after
1793
1794 2001-03-08  André Pönitz  <poenitz@gmx.net>
1795
1796         * math_rowst.h: give MathedRowContainer an 'insert' method.
1797
1798         * math_xiter.C: new 'container()' method to encapsulated access to
1799           the MathParInset's MathedRowContainer
1800
1801         * math_rowst.h: proper copy constructor and destructor for
1802           MathedRowContainer
1803
1804         * math_matrixinset.[hC]: remove copy constructr and destructor. Those
1805           automatically created by the compiler are ok now.
1806
1807 2001-03-06  André Pönitz  <poenitz@gmx.net>
1808
1809         * array.[Ch]: factor out deep_copy,
1810           remove third argument from raw_pointer_insert
1811
1812         * math_iter.[Ch]: remove unused function Clear()
1813
1814         * math_cursor.C: change signature of MathStackXIter:push()
1815           whitespace changes
1816
1817         * math_rowst.h: introduction of MathRowContainer
1818           several files: corresponding changes
1819
1820 2001-03-04  André Pönitz  <poenitz@gmx.net>
1821
1822   * math_macrotemplate.[Ch]:
1823     math_macro.C: move update() functionality to the macro
1824
1825         * math_rowst.h: split MathedRowSt into "data" and "list"
1826
1827 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1828
1829         * math_macrotemplate.C (update): use MathMacro::getArg, and
1830         receive a const reference.
1831         (getMacroPar): add an Assert
1832
1833         * math_macrotemplate.h: make MathMacro a friend, make update take
1834         a const reference.
1835
1836         * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
1837         and store a MathMacroArgument in the vector
1838         * math_macro.C: changes because of the above.
1839         (getArg): new method
1840
1841         * math_parser.C (mathed_parse): plug potential leak
1842
1843         * math_iter.h: add comment on virtual destructor
1844
1845         * math_iter.C (Delete): make c const
1846
1847         * math_parinset.C (Metrics): cleanup indent. make one string const.
1848
1849         * math_inset.C (size): move out of line
1850         (incSize): ditto
1851
1852         * math_macroarg.h: remove default constructor
1853
1854         * math_macroarg.C: include Lsstream.h instead of debug.h
1855         (MathMacroArgument): remove default constructor
1856         (Write): add std:: on ostream arg
1857
1858 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
1859
1860         * math_parser.C:
1861         * formula.C: make DEBUG into lyxerr
1862
1863 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1864
1865         * math_macrotemplate.h: make noncopyable, remove last arg to
1866         constructor, remove flags_ add edit_
1867         (flags): remove method
1868
1869         * math_macrotemplate.C (setArgument): delete method
1870         (update): make idx const
1871         (Metrics): use edit_, remove flags_
1872         (draw): use edit_, remove flags_
1873         (setEditMode): set edit_, remove flags_
1874         (MathMacroTemplate): initialize edit_, remove flags_
1875
1876         * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
1877         shared_ptr, let constructor take a shared_ptr
1878
1879         * math_macro.C (MathMacro): take shared_ptr as arg, remove double
1880         initialization.
1881         (draw): remove unneded update, remove removed update of x,y
1882         (GetXY): call tmplates GetMacroXY directly
1883         (SetFocus): call Metrics() instead of update()
1884         (Write): remove support for math macro environments, simplifications.
1885
1886         * math_macrotable.h: make class noncopyable, change getMacro to
1887         createMacro, change vector to map store a
1888         shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
1889
1890         * math_macrotable.C: add pragma
1891         (createMacro): change name from getMacro, use shared_ptr
1892         (getTemplate): Use map lookup to get macro, return shared_ptr
1893         (addTemplate): assert that m containse a valid pointer, use map[]
1894         insert.
1895         (builtinMacros): by using shared_ptr fix the mem leak, remove
1896         commented out unsupported macros
1897
1898         * math_cursor.C: changes because of the above
1899         * math_parser.C: changes because of the abobe
1900
1901         * formulamacro.h: change tmacro_ to be a shared_ptr, remove
1902         default arg on constructor.
1903         * formulamacro.C: changes because of the above
1904
1905         * math_parinset.h: add pragma
1906         (SetAlign): move inline out of class def
1907         (GetColumns): ditto
1908         (GetRows): ditto
1909         (isMatrix): ditto
1910         (setArgumentIdx): ditto
1911         (setNextArgIdx): ditto
1912         (getArgumentIdx): ditto
1913         (getMaxArgumentIdx): ditto
1914         (setRowSt): ditto
1915         (xo): ditto
1916         (yo): ditto
1917
1918         * math_parinset.C: add pragma
1919         (Write): change the else clause, lessen depth
1920
1921         * math_macroarg.h: small whitespace change
1922
1923         * array.C: include support/LOstream.h add using ostream and endl
1924
1925         * array.h (dump): add std:: on ostream
1926
1927 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1928
1929         * math_macrotemplate.h: remove default arg on update
1930
1931         * math_macrotemplate.C (update): add assert and remove noop case.
1932
1933         * formulamacro.C (Read): add comment.
1934         (ascent): remove noop call to MathMacroTemplate
1935         (descent): ditto
1936         (width): ditto
1937         (draw): ditto
1938
1939         * math_parser.C (mathed_parse): fix another potential problem by
1940         passing a freestanding mathedarray.
1941
1942         * math_root.C (GetData): add const version
1943
1944         * math_parinset.C (~MathParInset): delete
1945         (GetData): add const version
1946
1947         * math_matrixinset.C (MathMatrixInset): delete pointer version,
1948         make it a proper copy constructor instead
1949         (Clone): change acc.
1950         (MathMatrixInset): remvoe default val for m and n
1951
1952         * math_macro.C (GetData): add const version
1953
1954         * math_fracinset.C (GetData): add const version
1955
1956         * math_cursor.C (SelCopy): make p1 and p2 const
1957         (SelCut): make p1 and p2 const
1958
1959         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
1960         (LyxCode): move inline out of class
1961         (ConvertFont): ditto
1962         (display): ditto
1963
1964         * array.[Ch] (dump): method added for debugging purposes
1965
1966         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
1967         mathed_parse when reading a matrix.
1968
1969         * math_spaceinset.[Ch]: add pragma, make variables private add
1970         '_', change order of method definitions.
1971
1972         * math_root.h (~MathRootInset): delete
1973         Change uroot_ to be a real object instead of a pointer
1974         * math_root.C: changes because of the above
1975
1976         * math_macro.C (MathMacro(MathMacro*)): delete constructor
1977         (MathMacro(MathMacro const &)): new copy constructor
1978
1979         * math_inset.h: delete constructor taking a pointer to MathedInset
1980         (size, incSize): move inline method
1981
1982         * math_funcinset.h: add pragma, remove class vars ln and fname,
1983         change protected to private, add '_' to priv vars.
1984         (~MathFuncInset): remove
1985
1986         * math_fracinset.h: make MathParInset den_ a real object and not a
1987         pointer.
1988
1989         * math_fracinset.C (MathFracInset): clean up, move initalization
1990         to initialization list
1991         (~MathFracInset): remove
1992         (Clone): remove leak
1993
1994         * math_draw.C: delete file
1995
1996         * math_dotsinset.[Ch]: add pragma
1997
1998         * math_bigopinset.h: make protected variables private add '_' to vars.
1999
2000         * math_bigopinset.C: move methods to follow class definition order
2001
2002         * math_accentinset.h (getAccentCode): move inline here
2003
2004         * math_accentinset.C (MathAccentInset): cleanup
2005         (draw): constify dw
2006
2007 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2008
2009         * math_inset.[Ch] (MathedInset): remove method
2010
2011         * Makefile.am (libmathed_la_SOURCES): correct typo
2012
2013         * math_parinset.C (draw): move MathedXiter data(this) up. and
2014         remove it two other places.
2015
2016         * math_macro.C (MathMacro): use array directly, don't use
2017         setArgumentIdx and GetData
2018
2019 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2020
2021         * math_macroarg.C (MathMacroArgument): delete
2022         * math_macro.C (~MathMacro): delete
2023         * math_macrotemplate.C (~MathMacroTemplate): delete
2024
2025         * math_decorationinset.[Ch]: add pragma
2026         * math_deliminset.[Ch]: likewise
2027         * math_fracinset.[Ch]: likewise
2028         * math_macroarg.[Ch]: likewise
2029         * math_macrotemplate.[Ch]: likewise
2030         * math_matrixinset.[Ch]: likewise
2031
2032         * formulamacro.C (Read): set contents of tmacro_ to ar.
2033
2034         * formulamacro.h: add '_' to private variables.
2035         * formalamacro.C: changes because of this.
2036
2037 2001-02-23  Juergen Vigna  <jug@sad.it>
2038
2039         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
2040         should be) and not an int.
2041
2042         * formulamacro.C (LocalDispatch): ditto.
2043
2044 2001-02-14  André Pönitz  <poenitz@gmx.net>
2045
2046         * math_parinset.[Ch]: make array a real MathArray, not just a
2047           pointer to one.
2048
2049         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
2050
2051         * several files: subsequent changes
2052
2053         * math_cursor.C: make selarray a proper MathArray
2054
2055         * several files: Change "MathedArray *" to "MathedArray &"
2056
2057
2058 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
2059
2060         * array.C (MathedArray): Fix compilation problem.
2061
2062 2001-02-14  André Pönitz  <poenitz@gmx.net>
2063
2064         * array.[Ch]: "deep" copy constructor and assignment operator for
2065         MathArray
2066
2067         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
2068
2069         * math_iter.[Ch]: remove SetData
2070           several files: subsequent changes
2071
2072 2001-02-14  André Pönitz  <poenitz@gmx.net>
2073
2074         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and
2075         ARRAY_STEP
2076
2077         * math_iter.C: default-construct and resize array
2078
2079 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2080
2081         * math_xiter.h: move ipush and ipop to public, add _ on private
2082         variables, move protected var to private, remove friend.
2083
2084         * math_cursor.C (insertInset): rename method from Insert also
2085         remove default arg val. Call the public methods of xiter instead
2086         of private variables.
2087
2088         * changes to several files because of the above.
2089
2090 2001-02-14  André Pönitz  <poenitz@gmx.net>
2091
2092         * math_iter.[Ch]: hide fcode_
2093         * math_xiter.C:
2094         * math_parinset.C: subsequent changes
2095
2096
2097 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2098
2099         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
2100         math_utils.h
2101
2102         * math_write.C: delete file
2103         * math_delim.C: delete file
2104         * marh_sqrtinset.h: delete file
2105
2106         * move funcs to more localized files, more general cleanup.
2107         Constify several local vars. Doxygen changes. Formatting.
2108
2109 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
2110
2111         * support.C: add some consts
2112
2113         * matriz.C: clean up a bit.
2114         (matmat): remove the for loop.
2115
2116         * several files: changes so that several friends can be removed
2117
2118 2001-02-14  André Pönitz  <poenitz@gmx.net>
2119
2120         * formula.C: reformatting
2121
2122         * math_cursor.[Ch]:
2123           math_iter.[Ch]:
2124           math_xiter.[Ch]: remove unneeded members
2125
2126 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2127
2128         * math_parser.C:
2129         * math_panel.C:
2130         * formula.C: remove cruft
2131
2132         * array.C (begin): new method
2133         (end): ditto
2134
2135 2001-02-14  André Pönitz  <poenitz@gmx.net>
2136
2137         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
2138
2139         * math_cursor.C: reformatting
2140
2141 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2142
2143         * math_spaceinset.C:
2144         * math_root.C:
2145         * math_matrixinset.C:
2146         * math_macrotemplate.C:
2147         * math_funcinset.C:
2148         * math_fracinset.C:
2149         * math_dotsinset.C:
2150         * math_deliminset.C:
2151         * math_decorationinset.C:
2152         * math_bigopinset.C:
2153         * math_accentinset.C:
2154         * math_sqrtinset.C: include LOstream.h and add using directive.
2155
2156 2001-02-14  André Pönitz  <poenitz@gmx.net>
2157
2158         * math_iter.C: reformatting
2159
2160 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2161
2162         * math_spaceinset.C (GetSpace): move here
2163
2164         * math_parinset.C: add debug.h, move several prev. inlined methods
2165         here.
2166
2167         * math_macrotable.C math_xiter.C support.C: add debug.h
2168
2169         * math_macro.h: remove debug.h, remove typedefs
2170
2171         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
2172         extern decls.
2173
2174         * math_hash.C: change some defines to int const. change use of
2175         LM_TC_NORMAL to LM_TC_VAR
2176
2177         * math_draw.C: delete file
2178
2179         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
2180         forward decls. remove LM_TC_NORMAL, move inline methods to
2181         support.C (and support.h)
2182
2183         * math_cursor.C: move several previous inlined methods here
2184
2185         * math_bigopinset.h math_dotsinset.h math_funcinset.h
2186         math_parinset.h math_spaceinset.h: add math_defs.h
2187
2188         * math_accentinset.h: add support.h and math_defs.h
2189
2190         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
2191
2192         * formula.h: remove unused func decl: OpenMathInset
2193
2194         * formula.C math_inset.h: get rid of math_defs.h
2195
2196         * array.h: switch to support.h instead of math_defs.h
2197
2198         * array.C: remove one include
2199
2200         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
2201
2202         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
2203
2204         * math_parser.C: include macrotable and macrotemplate
2205
2206         * math_macrotemplate.[Ch]: new files
2207
2208         * math_macrotable.[Ch]: new files
2209
2210         * math_macroarg.[Ch]: new files
2211
2212         * math_macro.C: move stuff to the new files.
2213
2214         * math_cursor.C: include math_macrotable.h
2215
2216         * macro_support.[Ch]: new files
2217
2218         * formulamacro.C: add more includes
2219
2220         * Makefile.am (libmathed_la_SOURCES): add new files.
2221
2222 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2223
2224         * Makefile.am (libmathed_la_SOURCES): remove duplicate
2225         math_sqrtinset.
2226
2227         * support.C:
2228         * math_xiter.C:
2229         * math_parinset.C: add a bunch of "using" directives.
2230
2231         * math_funcinset.h:
2232         * math_decorationinset.h:
2233         * math_bigopinset.h:
2234         * math_spaceinset.h: remove more couples of inline.
2235
2236 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2237
2238         * math_xiter.h: remove a couple of "inline"
2239
2240         * array.C (strange_copy): fix bug (hopefully)
2241         * many files: add a lot of new files and move methods to the class
2242         files they belong to. Only first attempt at cleanup more will
2243         follow.
2244
2245 2001-02-12  André Pönitz  <poenitz@gmx.net>
2246
2247         * math_macro.[hC]: replace MathMacroArgument[] with
2248           std::vector<MathMacroArgument>
2249         * math_defs.h:
2250           math_inset.C: replace int[] with std::vector<int>
2251         * math_panel.h:
2252         * math_symbols.C: replace FL_OBJECTP[] with
2253         std::vector<FL_OBJECT*>
2254
2255 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
2256
2257         * math_defs.h (struct MathedRowSt): make all private variables end
2258         with '_', initialize in initializer list instead of in function
2259         body.
2260
2261 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
2262
2263         * formula.C (LocalDispatch): Change the default action of
2264         break-line to create an align* environment instead of eqnarray*.
2265
2266         * math_inset.C (Metrics): Correct drawing of the multline
2267         environment.
2268
2269 2001-02-12  André Pönitz  <poenitz@gmx.net>
2270
2271         * array.[hC]: replace private variable maxsize_ with call to
2272         bf_.size()
2273         * math_defs.h: replace int[] by std::vector<int> for
2274         MathedRowSt::widths
2275
2276 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2277
2278         * array.h: made all variables private, removed friend, added new
2279         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
2280         non const operator[] added setter for last and getter for maxsize.
2281         changed name from LyxArrayBase to MathedArray.
2282         changed name of some methods to start with lowerchar.
2283         moved inline methods to array.C
2284
2285         * math_iter.C + several file: changes because of the above.
2286
2287         * array.C: new file with the prev inline methods.
2288
2289 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
2290
2291         * Many files: add support for the align environment from amsmath.
2292
2293 2001-02-09  André Pönitz  <poenitz@gmx.net>
2294
2295         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
2296         * several files: subsequent changes
2297         * math_iter.h: remove unused prototype
2298         * array.h: ditto.
2299
2300 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2301
2302         * math_macro.C (draw): add .c_str() to .str() (useful when
2303         compiling with lyxstring, but STL sstream).
2304         (Metrics): ditto.
2305
2306 2001-02-08  André Pönitz  <poenitz@gmx.net>
2307
2308         * several files: get rid of reinterpret_cast.
2309
2310 2001-02-04  Allan Rae  <rae@lyx.org>
2311
2312         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
2313         just casting the variable.
2314
2315 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
2316
2317         * Many files: Add support for multline and alignat environments from
2318         amsmath.
2319
2320 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
2321
2322         * math_symbols.C (math_insert_greek): Move cursor right when
2323         unlocking the math inset.
2324
2325 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
2326
2327         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
2328
2329         * formula.C (LocalDispatch): Before inserting a label in an
2330         eqnarray, move the cursor to the top level.
2331
2332         * math_iter.C (getLabel): Test if crow == 0.
2333
2334 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
2335
2336         * math_draw.C (Metrics): Use the correct GetString.