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