]> git.lyx.org Git - features.git/blob - src/mathed/ChangeLog
d0bb6cea5434b9b77ac75a37b132a8e96f2d269c
[features.git] / src / mathed / ChangeLog
1 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * math_nestinset.C (doDispatch): Don't record undo steps when
4         inserting characters of a macro name (see comment)
5
6 2005-10-04  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * math_macro.C (editXY): new, fix crash (bug 2060)
9         * math_macro.C (cursorPos): new, fix potential crash
10         * math_macro.C (drawSelection): new, fix potential crash
11         * math_nestinset.C (doDispatch): fix crash when inserting math macros
12         with 0 arguments
13
14 2005-09-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * math_nestinset.C (doDispatch): do not leave the inset after
17         LFUN_DELETE. (part of bug 2057)
18
19 2005-10-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * math_kerninset.C (write): write width, not 0 (fixes bug 2050)
22
23 2005-10-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * math_nestinset.C (doDispatch): use recordUndoInset when deleting
26         whole cell via LFUN_BACKSPACE (fixes bug 2058).
27
28 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
29
30         * math_nestinset.C (doDispatch): leave inset to the right when
31         hitting ESC.
32
33 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * math_nestinset.C (doDispatch): record LFUN_CUT in undo stack
36         (fixes bug 2041).
37         
38         * math_data.C (draw): add nested insets to the coord cache
39         (fixes the major part of bug 1918).
40
41 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * math_nestinset.C (cursorPos): parameter `boundary' is unused.
44
45 2005-09-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * math_nestinset.C (doDispatch): use cur.normalize() to prevent crash
48         when cutting in math array (bugs 1960, 1981).
49
50 2005-08-19  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * math_nestinset.C (doDispatch): fix crash when deleting across rows
53         in math array, and block multi-cell cut/copy leading to data loss
54
55 2005-07-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * math_factory.C (initSymbols): Don't require wasysym for the wasy
58         font (bug 1942)
59
60 2005-07-15  Stephan Witt <stephan.witt@beusen.de>
61
62         * math_nestinset.C (getStatus): handle font change requests
63
64 2005-07-15  Stephan Witt <stephan.witt@beusen.de>
65
66         * math_hullinset.C (getStatus): don't allow insert of label for
67         inlined eq
68
69 2005-07-15  André Pönitz  <poenitz@lyx.org>
70
71         * math_inset.C (write): don't output too many spaces
72
73 2005-07-15  Andreas Vox  <vox@arcor.de>
74
75         * math_hullinset.C (editXY): partial fix for #622
76
77 2005-07-14  André Pönitz  <poenitz@lyx.org>
78
79         * math_hullinset.C (BREAKLINE): choose between eqnarray and
80         align according to user preference
81
82 2005-07-14  André Pönitz  <poenitz@lyx.org>
83
84         * math_charinset.C (mathmlize): escape <, >, and & on export
85
86 2005-07-14  André Pönitz  <poenitz@lyx.org>
87
88         * math_gridinset.C (doDispatch): cur.undispatched on LFUN_ESCAPE
89
90 2005-07-14  André Pönitz  <poenitz@lyx.org>
91
92         * math_gridinset.C (doDispatch): cur.undispatched on LFUN_NEXT/PRIOR
93
94 2005-07-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
95
96         * math_gridinset.C (doDispatch): add comment about jumping cursor
97
98 2005-07-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
99
100         * math_gridinset.C (doDispatch): use recordUndoInset when more than
101         one cell is changed
102
103 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * math_gridinset.C (doDispatch): better fix for the assertion
106
107 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * math_gridinset.C (doDispatch): fix assert copying row or
110         column in math
111
112 2005-06-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * math_nestinset.C (doDispatch): use text font attributes in text mode.
115         * math_nestinset.C (getStatus): allow text font attributes in math mode.
116
117 2005-06-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
118
119         * math_fontinset.C (validate): require amsmath for \text
120
121 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
122
123         * math_colorinset.C (normalcolor): remove ...
124         * math_colorinset.C (latexcolor): ... and use this new function instead
125         * math_colorinset.C (metrics, draw): Don't draw cell(0), because it
126         is horrible UI
127         * math_colorinset.C (write): Don't write invalid colors
128         * math_colorinset.C: Store always the LaTeXName in cell(0)
129         * math_hullinset.C (handleFont2): adjust to the change above
130         * math_nestinset.C (handleFont2): ditto
131         * math_parser.C (parse): handle \textcolor and \normalcolor
132         * math_factory.C (createMathInset): ditto
133
134 2005-06-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * math_hullinset.C (label): avoid warning when assertions are
137         disabled. 
138
139 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
140
141         * math_parser.h (latexkeys): new member requires
142         * math_factory.C (initSymbols): fill the requires field for fonts
143         * math_symbolinset.C (validate): use sym_->requires instead of
144         sym_->inset (fixes bug 1665)
145
146 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
147
148         * ref_inset.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
149
150 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
151
152         * math_nestinset.C (getStatus): suppress math/text fonts,
153         subscripts etc. to prevent lyx access to latex-illegal stuff
154         in text-inside-math (mbox)
155
156 2005-04-25  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * math_gridinset.C (doDispatch):
159         * math_hullInset.C (doDispatch):
160         * math_nestInset.C (doDispatch): fix handling of alignment
161
162 2005-04-11  Martin Vermeer  <martin.vermeer@hut.fi>
163
164         * math_nestinset.C (doDispatch): make insert-around-selection
165         of root inset take the base, not the exponent
166
167 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
168
169         * math_deliminset.Ci (isParenthesis):
170         * math_extern.C: Spelling
171
172 2005-04-09  Martin Vermeer  <martin.vermeer@hut.fi>
173
174         * math_gridinset.C (doDispatch):
175         * math_nestinset.C (doDispatch): enable HOME/END keys to skip
176         out of inset (adding cur.undispatched())
177
178 2005-04-09  Martin Vermeer  <martin.vermeer@hut.fi>
179
180         * math_colorinset.C (draw): fix crash and cursor positioning.
181
182 2005-04-07  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * math_nestinset.C (doDispatch): Fix arrow up/down inside
185         macro crashing bug (Helge Hafting report)
186
187 2005-04-07  Martin Vermeer  <martin.vermeer@hut.fi>
188
189         * math_gridinset.C (getStatus): allow C-Tab to split cell
190
191 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * math_nestinset.C (doDispatch): fix cursor positioning in
194         non-grid nestinsets, and selection enclosure when inserting
195         font or deco insets.
196
197 2005-04-05  Martin Vermeer  <martin.vermeer@hut.fi>
198
199         * math_amsarrayinset.C:
200         * math__arrayinset.C:
201         * math_decorationinset.C:
202         * math_deliminset.C:
203         * math_nestinset.C:
204         * math_tabularinset.C: Final touch on various corner marker
205         positions and inset clickability in math
206
207 2005-04-04  Martin Vermeer  <martin.vermeer@hut.fi>
208
209         * math_splitinset.[Ch]: add draw method calling setPosCache,
210         to make split-type insets clickable.
211
212 2005-04-04  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * math_amsarrayinset.C:
215         * math_casesinset.C:
216         * math_gridinset.C:
217         * math_gridinset.h: Add drawWithMargin method for use by
218         AMSArray and Cases, to position corner markers right
219
220 2005-03-31  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
221
222         * math_amsarrayinset.[Ch], math_tabularinset.[Ch],
223         math_splitinset.[Ch] (infoize): implement
224         * math_casesinset.C (getStatus, doDispatch): use cmd.argument directly
225         * math_gridinset.C (getStatus): ditto
226         * math_arrayinset.C (infoize): generalize
227
228 2005-03-30  Martin Vermeer  <martin.vermeer@hut.fi>
229
230         * math_amsarrayinset.[Ch] (getStatus):
231         * math_splitinset.[Ch] (getStatus):
232         * math_substackinset.[Ch]: suppress output of vertical gridlines
233         where appropriate
234
235 2005-04-03  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * math_fontinset.[Ch] (draw): add call to setPosCache,
238         fixes bug 1796
239
240 2005-04-01  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * math_data.C (x2pos): fix math cursor positioning bug
243
244 2005-03-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
245
246         * math_amsarrayinset.[Ch] (validate): new, require amsmath
247         * math_substackinset.[Ch] (validate): ditto
248         * math_arrayinset.[Ch] (validate): ditto (in the case of subarray)
249
250 2005-03-24  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * math_hullinset.C:
253         * math_casesinset.[Ch]: more precise conditioning of
254         output of vertical grid lines
255
256 2005-03-22  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * math_hullinset.C (getStatus): intercept and suppress the
259         adding of grid lines in case of a plain equation hull
260
261 2005-03-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
262
263         * math_nestinset.C (doDispatch): create a MathBoxInset for mbox
264         rather than a MathMBoxInset, since the latter is not usable yet.
265         Fixes bug 1823.
266         * math_factory.C (createMathInset): Don't hardwire mbox, but read it
267         from lib/symbols again. This makes it possible to create other
268         "mbox-like" boxes.
269
270 2005-03-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
271
272         * math_parser.C (parse1): Don't parse "\|" following a "\left" or
273         "\right" as "|"
274
275 2005-02-28  André Pönitz  <poenitz@lyx.org>
276
277         * math_nestinset.C (lfunMouseRelease, lfunMouseMotion, lfunMousePress):
278         remove ancient hack and get mouse actions inside nested mathed insets
279         working again.
280
281 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
282
283         * math_parinset.[Ch] (doClone): Implement, avoids triggering the
284         assert in InsetBase::clone()
285         * ref_inset.[Ch] (clone): rename to doClone
286
287 2005-02-14  Angus Leeming  <leeming@lyx.org>
288
289         * math_rootinset.C (idxUpDown): Silence an MSVC compiler warning
290         by making the code more transparent.
291
292 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
293
294         * math_gridinset.C (halign): fix '|' to the right of the last column
295         * math_gridinset.[Ch]: remove unused leftline_ and rightline_
296         * math_gridinset.[Ch]: change type of lines_ to unsigned int to
297         prevent check for <= 0
298         * math_gridinset.C: add more facilities for adding/deleting
299         partition lines in matrix.
300         * math_gridinset.C (getStatus): implement missing LFUN_TABULAR_FEATURE
301         * math_parser.C (delEmptyLastRow): new
302         * math_parser.C (parse1): Store active environment and use it to
303         detect nonmatching \end{} and removing superflous rows with
304         delEmptyLastRow()
305         * math_hullinset.C (getStatus): remove now superflous tests
306
307 2005-02-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * math_nestinset.C (doDispatch): normalize() cursor after moving up/down
310         (fixes assert and bug 1598).
311
312 2005-02-10  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * math_gridinset.[hC]: add facilities for drawing/deleting partition
315         lines in matrix.
316
317 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
318
319         * math_data.C (isInside): size() -> depth()
320
321 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
322
323         * math_data.C:
324         * math_diminset.C:
325         * math_nestinset.C: Use new cursor accessors.
326
327 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
328
329         * math_parser.C,math_sizeinset.C: use convert<> instead of
330         atoi,strToXXX and friends
331
332 2005-01-20  Angus Leeming  <leeming@lyx.org>
333
334         * math_spaceinset.C (validate):
335         latex_mathspace[space_] == "negmedspace" is unsafe because both
336         operands are of type "char const *". Performing comparison on
337         the address of the string literal therefore. Fix is to explicitly
338         convert one operand to a string.
339         With thanks to MSVC ;-)
340
341 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * math_symbolinset.C (validate): require wasysym as needed
344
345         * math_decorationinset.C (ams): remove again \overleftarrow and
346         \overrightarrow, which do not require amslatex (although amslatex
347         redefines them).
348
349 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
350
351         * math_parser.C (parse1): handle style commands that are not inside
352         a {} pair, fixes bug 1459 (from André)
353
354 2005-01-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * math_decorationinset.C (ams, validate): new methods. Require
357         amsmath when using AMS-LaTeX over and under arrows.
358
359 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
360
361         * math_nestinset.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
362         * math_colorinset.C: fix handling of color "none".
363
364 2004-12-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
365
366         * math_parser.C (addRow, addCol): new, try to add a row or column to
367         a MathGridInset
368         * math_parser.C (parse1): use addRow and addCol, fixes bug 1542
369
370 2004-12-14  Angus Leeming  <leeming@lyx.org>
371
372         * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
373         to overcome bug in the MinGW port of g++ 3.4.2.
374
375 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * math_charinset.C: use support::contains instead of strchr
378
379 2004-11-26    André Pönitz  <poenitz@gmx.net>
380
381         * math_nestinset.C (getCursorPos): implement.
382
383 2004-11-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
384
385         * math_hullinset.C (getStatus): add status messages
386
387 2004-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
388
389         * Most insets: rename priv_dispatch to doDispatch
390
391 2004-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
392
393         * math_hullinset.C (operator): use common semantics
394
395 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
396
397         * math_atom.C (operator): use common semantics
398
399         * Adjust for clone changes
400
401 2004-11-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
402
403         * math_hullinset.[Ch] (rowChangeOK): new
404         * math_hullinset.C (addRow, delRow): check wether rows can be changed
405         * math_hullinset.C (addCol, delCol): remove lyxerr warning since we
406         should never come here if colChangeOK() is false
407         * math_hullinset.C (delCol): don't delete if this is the only column
408         * math_hullinset.C (getStatus): fix LFUN_TABULAR_FEATURE
409
410 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
411
412         * math_inset.h: include math_data.h to satisfy concept checks.
413
414 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * math_hullinset.C (getStatus): typo in lfun argument
417
418 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * Makefile.am: add math_tfracinset.[Ch]
421
422 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
423
424         * math_parser.C (parse1): change to use lyx::support::atoi
425         * math_sizeinset.C (MathSizeInset): ditto
426
427 2004-08-12  André Pönitz  <poenitz@gmx.net>
428
429         * math_overset.[Ch] (validate):
430         * math_underset.[Ch] (validate): require ams
431
432         * math_tfracinset.[Ch]: new \tfrac support
433
434 2004-11-02  José Matos  <jamatos@lyx.org>
435
436         * ref_inset.[Ch] (docbook):
437         * math_hullinset.C (docbook): remove useless comment. Escape the
438         id to always be valid.
439
440 2004-10-29  Andreas Vox  <vox@isp.uni-luebeck.de>
441
442         * math_hullinset.C (docbook):
443         * ref_inset.C (docbook): sanitize ids, clean exported docbook.
444
445 2004-10-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
446
447         * math_hullinset.C (mutate): fix endless loop for unknown types
448
449 2004-10-05  Andreas Vox  <vox@isp.uni-luebeck.de>
450
451         * math_hullinset.C (docbook): write additional <alt role="tex" >
452         tag for Docbook XML
453
454 2004-09-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * math_hullinset.C (plaintext): remove extraneous spaces
457
458 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
459
460         * math_parser.C (tokenize): c_str fix
461         (mathed_parse_cell): c_str fix
462         (mathed_parse_normal): c_str fix
463
464         * math_nestinset.C (priv_dispatch): c_str fix
465         (priv_dispatch): c_str fix
466
467         * math_hullinset.C (doExtern): c_str fix
468
469         * math_extern.C (extractNumber): c_str fix
470         (pipeThroughMaxima): c_str fix
471         (pipeThroughMaple): c_str fix
472         (pipeThroughOctave): c_str fix
473
474 2004-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
475
476         * math_binominset.h (MATH_BINOMINSET_H): fix include guard.
477
478 2004-09-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
479
480         * math_hullinset.[C,h] (splitTo2Cols): new
481         * math_hullinset.[C,h] (splitTo3Cols): new
482         * math_hullinset.[C,h] (changeCols): new
483         * math_hullinset.C (mutate): implement missing mutations
484
485 2004-08-16  José Matos  <jamatos@lyx.org>
486
487         * formulamacro.C (write):
488         * math_macrotemplate.C (write): remove space at end of line.
489
490 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
491
492         * pch.h: new file
493
494         * Makefile.am: support pch
495
496 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * math_nestinset.C (editXY): constify
499
500 2004-08-13  José Matos  <jamatos@lyx.org>
501
502         * math_hullinset.C (docbook): add awareness of the distinction
503         between the sgml and xml versions of docbook.
504
505 2004-08-12  André Pönitz  <poenitz@gmx.net>
506
507         * math_nestinset.C: Fix #1249
508
509         * math_parser.C: Fix: #928
510
511 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
512
513         * math_support.C, math_parser.C, math_nestinset.C, math_macrotable.C:
514         * math_hullinset.C, math_gridinset.C, math_factory.C: math_extern.C,
515         * math_autocorrect.C, math_arrayinset.C: formulamacro.C,
516         * command_inset.C: change "support/std_sstream.h"
517         to <sstream>
518
519 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
520
521         * math_macrotable.C (expand): n is now size_t
522
523         * math_macroarg.h (number): return size_t
524         (number_): make it a size_t
525
526         * math_macroarg.[Ch] (MathMacroArgument): take size_t as arg
527
528 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
529
530         * Makefile.am (EXTRA_DIST): add formulamacro.C
531
532 2004-05-17  José Matos  <jamatos@lyx.org>
533
534         * math_hullinset.C (docbook): add support for label.
535
536 2004-04-29  Angus Leeming  <leeming@lyx.org>
537
538         * math_hullinset.C:
539         * math_kerninset.C:
540         * math_nestinset.C: wrap a bunch of #warning statements
541         inside #ifdef WITH_WARNINGS blocks.
542
543 2004-04-20  Angus Leeming  <leeming@lyx.org>
544
545         * math_nestinset.C (notifyCursorLeaves): squash warning about
546         unused var.
547
548 2004-04-20  Angus Leeming  <leeming@lyx.org>
549
550         * math_hullinset.C (addPreview): Add the preview only if
551         previewing of math insets is active.
552
553 2004-04-19  Angus Leeming  <leeming@lyx.org>
554
555         * math_hullinset.C: changes due to changes to LyXRC::preview.
556
557 2004-04-19  Angus Leeming  <leeming@lyx.org>
558
559         * math_hullinset.C (metrics, draw): changes due to the changed
560         RenderPreview interface.
561
562 2004-04-13  Angus Leeming  <leeming@lyx.org>
563
564         * math_hullinset.[Ch]: add a RenderPreview variable.
565         (copy c-tor, copy assignment operator, d-tor, notifyCursorLeaves,
566         addPreview): new member functions. The copy c-tor and assignment op
567         could be replaced by the compiler-generated defaults if preview_
568         was stored as a RenderPreview var rather than a scoped pointer.
569         (metrics, draw): use the preview renderer if previewing is turned on.
570
571 2004-04-05  Angus Leeming  <leeming@lyx.org>
572
573         * math_scriptinset.C (up, down, notifyCursorLeaves): ensure that
574         accessor index is valid.
575
576 2004-04-05  Angus Leeming  <leeming@lyx.org>
577
578         * formulamacro.C:
579         * math_binaryopinset.C:
580         * math_nestinset.C:
581         wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
582
583 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * math_hullinset.C: s/DocumentIterator/DocIterator/g
586
587 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * math_nestinset.C: workaround gcc 2.95 pointer comparison bug,
590         reverse below
591
592 2004-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
593
594         * math_nestinset.C: use const_cast to get to compile for stlport
595
596 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
597
598         * math_hullinset.C: add using statements for std::ostream,
599         std::swap and std::vector
600
601         * math_gridinset.C (idxDelete): remove std:: from swap.
602         (priv_dispatch): ditto
603
604         * math_extern.C: add using statement for std::swap and std::vector
605
606         * math_cursor.C: remove std:: from string
607         (openable): use nucleus instead of operator->
608
609         * math_atom.h: add a const variant of nucleus
610
611         * math_atom.C: add using statement for std::swap
612
613 2004-01-15  André Pönitz  <poenitz@gmx.net>
614
615         * *.[Ch]: Part of IU. Shift stuff from MathCursor and InsetFormula
616         to LCursor and InsetBase.
617
618 2004-01-15  André Pönitz  <poenitz@gmx.net>
619
620         * *.[Ch]: change signature of priv_dispatch to prepare
621         inset unification
622
623 2003-12-15  Ronald Florence <ron@18james.com>
624
625         * math_symbolinset.C: fixed "ugly" patch for Qt/Mac fonts.
626
627 2003-12-15  André Pönitz  <poenitz@gmx.net>
628
629         * math_pos.[Ch]: remove (it's now cursor_slice.[Ch])
630
631         * Makefile.am:
632         * math_cursor.[Ch]:
633         * math_iterator.[Ch]: adjust
634
635 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
636
637         * formulabase.C (getCursorDim): squash unused variable
638
639 2003-11-20  Angus Leeming  <leeming@lyx.org>
640
641         * formulabase.C (getCursorDim): squash warning about unused variable.
642
643 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
644
645         * formulabase.[Ch] (getCursorDim): add
646
647 2003-11-10  André Pönitz  <poenitz@gmx.net>
648
649         * formula.C:
650         * formulabase.C:  adjust to removed inset locking
651
652 2003-11-05  José Matos  <jamatos@lyx.org>
653
654         * formula.[Ch] (ascii, linuxdoc, docbook):
655         * formulamacro.[Ch] (ascii, linuxdoc, docbook):
656         * math_inset.[Ch] (ascii, linuxdoc, docbook):
657         * ref_inset.[Ch] (ascii, linuxdoc, docbook):
658         rename ascii to plaintext and LatexRunParams to OutputParams.
659
660 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
661
662         * Adjust for new DispatchResult semantics.
663
664 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
665
666         * math_parser.C (parse1): exception safety
667
668         * math_extern.C (splitScripts): exception safety
669         (extractFunctions): exception safety
670         (extractIntegrals): exception safety
671         (extractSums): exception safety
672         (extractDiff): exception safety
673
674         * formulamacro.C (read): exception safety
675
676 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
677
678         * adjust for DispatchResult changes
679
680 2003-10-31  José Matos  <jamatos@lyx.org>
681
682         * formula.[Ch] (ascii, linuxdoc, docbook):
683         * formulamacro.[Ch] (ascii, linuxdoc, docbook):
684         * math_inset.[Ch] (ascii, linuxdoc, docbook):
685         * ref_inset.[Ch] (ascii, linuxdoc, docbook):
686         add LatexRunParams argument.
687
688 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
689
690         * math_scriptinset.C (priv_dispatch):
691         * math_nestinset.C (priv_dispatch):
692         * math_hullinset.C (priv_dispatch):
693         * math_gridinset.C (priv_dispatch):
694         * math_cursor.C (dispatch):
695         * formulabase.C (lfunMouseRelease, lfunMousePress)
696         (lfunMouseMotion, priv_dispatch):
697         * command_inset.C (priv_dispatch): explict DispatchResult ctor fallout.
698
699 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
700
701         * math_hullinset.C (priv_dispatch):
702         * math_gridinset.C (priv_dispatch):
703         * math_cursor.C (dispatch): FINISHED_POP -> FINISHED
704
705 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
706
707         * math_hullinset.C (priv_dispatch):
708         * math_gridinset.C (priv_dispatch):
709         * math_cursor.C (dispatch): DISPATCHED_POP -> FINISHED_POP
710         (dispatch):
711
712         * math_scriptinset.h: change dispatch to priv_dispatch and make it
713         protected
714
715         * math_nestinset.h: make priv_dispatch protected
716
717         * math_hullinset.h: make priv_dispatch protected
718
719         * math_gridinset.h: make priv_dispatch protected
720
721         * command_inset.[Ch]: change dispatch to priv_dispatch and make it
722         protected.
723
724         * several files: dispatch_result -> DispatchResult
725
726 2003-10-22  Angus Leeming  <leeming@lyx.org>
727
728         * formula.C (generatePreview): changes due to the changed
729         RenderPreview interface.
730
731 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
732
733         * formula.[Ch]: re-introduce display() for insets, fixing the
734         various bugs (stretch of line above, math inset
735         positioning, ...)
736
737 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
738
739         * ref_inset.C (priv_dispatch): take the code from localDispatch
740         into this
741         (localDispatch): delete
742
743         * math_nestinset.C (dispatch):
744         * math_hullinset.C (dispatch):
745         * math_gridinset.C (dispatch):
746         * formulabase.C (openNewInset, priv_dispatch, mathDispatch):
747         * command_inset.C (dispatch): adjust for localDispatch -> dispatch and
748         priv_dispatch
749
750 2003-10-14  Angus Leeming  <leeming@lyx.org>
751
752         * insetformulabase.[Ch] (view, cache, view_): remove the BufferView cache.
753
754         * insetformula.C (statusChanged): call LyX::cref().updateInset.
755
756 2003-10-14  Angus Leeming  <leeming@lyx.org>
757
758         * formula.C (metrics, draw): only draw the preview when previews
759         are activated.
760
761 2003-10-13  Angus Leeming  <leeming@lyx.org>
762
763         * formula.C (editing_inset): pass a pointer rather than a reference.
764
765 2003-10-13  Angus Leeming  <leeming@lyx.org>
766
767         * formula.C: remove #include "PreviewImage.h".
768         (draw, metrics): some simplification of the editing_inset check.
769         Also make it compile with g++2.95.
770
771 2003-10-12  Angus Leeming  <leeming@lyx.org>
772
773         * formulabase.[Ch] (cache): added.
774         (view): make protected.
775         (view_): store as a boost::weak_ptr.
776         (generatePreview): added this virtual function. Moved from inset.h.
777
778         * math_inset.[Ch] (view): removed.
779
780 2003-10-10  Angus Leeming  <leeming@lyx.org>
781
782         * command_inset.h:trivial changes ButtonRenderer -> RenderButton.
783
784         * formula.[Ch]: get rid of InsetFormula::PreviewImpl entirely. Use
785         RenderPreview and some free-standing functions in its place.
786
787 2003-10-10  Angus Leeming  <leeming@lyx.org>
788
789         * formula.C (draw): don't try and generate the previews from draw.
790         insetUnlock is already doing a fine job...
791
792 2003-10-09  Angus Leeming  <leeming@lyx.org>
793
794         * formula.C (metrics, draw): no longer need to pass a Buffer arg
795         to PreviewedInset::previewReady because it no longer has the side
796         effect of secretly starting preview generation.
797         (draw): call PreviewedInset::generatePreview explicitly if the
798         inset is no longer being edited.
799
800 2003-10-09  Angus Leeming  <leeming@lyx.org>
801
802         * formula.[Ch]: mods to PreviewImpl due to the changes to
803         PreviewedInset.
804
805 2003-10-09  Angus Leeming  <leeming@lyx.org>
806
807         * formula.C (metrics, draw): pass a buffer arg to PreviewedInset's
808         previewReady and removePreview member functions.
809
810 2003-10-07  André Pönitz  <poenitz@gmx.net>
811
812         * math_dfracinset.[Ch]: support for \dfrac
813         * math_colorinset.[Ch]: support for colors in formulas
814
815 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * math_macrotable.h: add <string> and other small fixes to make
818         Lars' std::string patch compile with STLport.
819
820 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
821
822         * math_cursor.C:
823         * math_parser.C:
824         * math_sizeinset.C:
825         * math_streamstr.C: Small fixes to build using STLport
826
827 2003-09-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * math_symbolinset.C (metrics): apply a different hack to metrics
830         when running under OSX. Hopefully this will not break the X11
831         version under darwin (or hopefully nobody cares :)
832
833 2003-09-19  Angus Leeming  <leeming@lyx.org>
834
835         * formula.[Ch] (previewWanted, generatePreview): now passed a
836         'Bufer const &' arg.
837
838         * formalabase.C (insetUnlock): pass a buffer arg to generatePreview.
839
840 2003-09-18  Angus Leeming  <leeming@lyx.org>
841
842         * matheformula.[Ch] (getLabelList):
843         * mathemath_hullinset.[Ch] (getLabelList):
844         receive a Buffer const & arg.
845
846 2003-09-18  Angus Leeming  <leeming@lyx.org>
847
848         * formula.C (latexString): add a Buffer const & arg.
849
850 2003-09-16  Angus Leeming  <leeming@lyx.org>
851
852         * formula.C (PreviewImpl::parent): return a const reference.
853
854 2003-09-16  Angus Leeming  <leeming@lyx.org>
855
856         * formula.C:
857         * formulamacro.C:
858         add #include "LColor.h".
859
860         * math_cursor.C: add #include <boost/assert.hpp>.
861
862 2003-09-16  Angus Leeming  <leeming@lyx.org>
863
864         * math_braceinset.C, math_data.C, math_fboxinset.C, math_frameboxinset.C,
865         math_gridinset.C, math_hullinset.C, math_macrotemplate.C, math_nestinset.C,
866         math_rootinset.C, math_spaceinset.C, math_sqrtinset.C, math_support.C:
867         add #include "LColor.h".
868         * math_data.C, math_scriptinset.C: add #include <boost/assert.hpp>
869         * math_exintinset.C: add #include <boost/scoped_ptr.hpp>
870
871 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
872
873         * command_inset.C
874         * formula.C
875         * formulabase.C
876         * formulamacro.C
877         * math_arrayinset.C
878         * math_autocorrect.C
879         * math_cursor.C
880         * math_extern.C
881         * math_factory.C
882         * math_gridinset.C
883         * math_support.C: remove usage of STRCONV
884
885 2003-09-15  Angus Leeming  <leeming@lyx.org>
886
887         * math_gridinset.C (draw): explicitly define the color to draw the
888         line.
889
890 2003-09-12  André Pönitz  <poenitz@gmx.net>
891
892         * math_boldsymbolinset.[Ch]: preliminary support
893
894         * Makefile.am: adjust
895
896 2003-09-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * math_kerninset.h:
899         * math_gridinset.h: include "lyxlength.h", not "vspace.h"
900
901         * math_cursor.C: "lyxrc.h", not <lyxrc.h>
902
903 2003-09-08  Angus Leeming  <leeming@lyx.org>
904
905         * formulabase.C:
906         * formulamacro.C:
907         * math_charinset.C:
908         * math_cursor.C:
909         * math_data.C:
910         * math_diminset.C:
911         * math_hullinset.C:
912         * math_support.C:
913         * math_tabularinset.C: remove redundant using directives.
914
915 2003-09-07  Angus Leeming  <leeming@lyx.org>
916
917         * formulabase.h: remove #includes "dimension.h", <boost/weak_ptr.hpp>,
918         <iosfwd>.
919
920         * math_decorationinset.h: remove #include "support/std_string.h".
921
922         * math_envinset.h:
923         * math_fboxinset.h: remove #include "metricsinfo.h".
924
925         * math_kerninset.h: remove #include "math_nestinset.h".
926
927         * math_macro.h: remove #include "math_macroarg.h".
928
929         * math_nestinset.h: remove #include "math_data.h".
930
931         Ensuing changes to .C files.
932
933 2003-09-05  Angus Leeming  <leeming@lyx.org>
934
935         * math_binaryopinset.[Ch]:
936         * math_gridinfo.h:
937         * math_xyarrowinset.[Ch]:
938         ensure that the header file can be compiled stand-alone.
939
940 2003-09-05  Angus Leeming  <leeming@lyx.org>
941
942         * *.C: strip out redundant #includes. (168 in total.)
943
944 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
945
946         * formulamacro.C (prefix): replace %s by %1$s to make bformat happy
947
948 2003-09-01  Alfredo Braunstein  <abraunst@libero.it>
949
950         * formulabase.C (InsetFormulaBase): initialize view_
951
952 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
953
954         * most files: change to use const buffer refs
955
956 2003-08-19  Angus Leeming  <leeming@lyx.org>
957
958         * most files: 'standardise' the header blurb.
959
960 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
961
962         * math_gridinset.C: rename valign-center to valign-middle
963
964 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
965
966         * always use std::endl with lyxerr, and <config.h> in some places.
967
968 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
969
970         * rename Inset to InsetOld
971
972         * all inset files (clone) return a auto_ptr<InsetBase>
973
974 2003-07-21  Angus Leeming  <leeming@lyx.org>
975
976         * formula.C (c-tor, addPreview): use namespace lyx::graphics rather
977         than grfx shortcut.
978
979 2003-07-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
980
981         * math_parser.C (catInit): dont use unprintable control chars in
982         source.
983
984 2003-07-17  Angus Leeming  <leeming@lyx.org>
985
986         * formulabase.C (localDispatch): return UNDISPATCHED for all
987         LFUN_DIALOG_SHOW.
988
989 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
990
991         * introduce namespace lyx::graphics
992
993 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
994
995         * introduce namespace lyx::support
996
997 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
998
999         * math_symbolinset.C (MathSymbolInset): fix type const order
1000
1001         * math_support.C (mathed_draw_deco): fix type const order
1002
1003         * math_gridinset.C (GrinInsetMailer::name): fix type const order
1004
1005         * math_extern.C (testString): fix type const order
1006
1007         * math_data.C (operator[]): fix arg type
1008
1009         * math_binaryopinset.C (metrics): comment out
1010
1011         * formula.h: fix type const order
1012
1013 2003-06-19  Angus Leeming  <leeming@lyx.org>
1014
1015         * formulabase.C (localDiapatch): replace LFUN_MATH_PANEL with
1016         LFUN_DIALOG_SHOW "mathpanel".
1017
1018 2003-06-17  Angus Leeming  <leeming@lyx.org>
1019
1020         * formulabase.C (lfunMouseRelease): s/showMathPanel/show("mathpanel")/
1021
1022 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * formulabase.C (mathDispatchCreation): fix call to cutSelection
1025
1026 2003-06-16  André Pönitz  <poenitz@gmx.net>
1027
1028         * math_*inset.[Ch]: IU of clone()
1029
1030         * math_cursorpos.[Ch]:
1031         * math_cursor.[Ch]: rename MathCursorPos -> CursorPos, par_ -> inset_
1032
1033 2003-05-28  André Pönitz  <poenitz@gmx.net>
1034
1035         * math_*.[Ch]: prepare unified two-stage drawing
1036
1037 2003-05-27  André Pönitz  <poenitz@gmx.net>
1038
1039         * *.C: dim.w -> dim.wid etc
1040
1041 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1042
1043         * remove same_id from function signatures, adjust
1044
1045 2003-05-19  André Pönitz  <poenitz@gmx.net>
1046
1047         * formulamacro.C: avoid multiple metrics computation
1048
1049 2003-05-23  Angus Leeming  <leeming@lyx.org>
1050
1051         * formula.C (latex):
1052         * formulamacro.C (latex): rename fragile as moving_arg.
1053
1054 2003-05-22  Angus Leeming  <leeming@lyx.org>
1055
1056         * formula.[Ch] (latex):
1057         * formulamacro.[Ch] (latex):
1058         no longer have a free_spacing arg. Data is now passed through the
1059         LatexRunParams arg.
1060
1061 2003-05-22  Angus Leeming  <leeming@lyx.org>
1062
1063         * formula.[Ch] (latex):
1064         * formulamacro.[Ch] (latex):
1065          no longer has a fragile arg. Data is now passed through the
1066          LatexRunParams arg.
1067
1068 2003-05-22  Angus Leeming  <leeming@lyx.org>
1069
1070         * formula.[Ch] (latex):
1071         * formulamacro.[Ch] (latex):
1072         passed a LatexRunParams parameter.
1073
1074 2003-05-19  André Pönitz  <poenitz@gmx.net>
1075
1076         * Makefile.am:
1077         * dimension.[Ch]: promote files to src/dimension.[Ch[
1078
1079         * formula.[Ch]:
1080         * formulamacro.[Ch]:
1081         * formulamacro.h:
1082         * math_inset.h: replace ascents/descent/witdh with dimension()
1083
1084 2003-05-14 André Pönitz <poenitz@gmx.net>
1085
1086         * math_substack.[Ch]: add markers
1087
1088 2003-05-12 André Pönitz <poenitz@gmx.net>
1089
1090         * formula.C:
1091         * math_parser.C:
1092         * math_cursor.C: boost::format -> bformat  all over the place
1093
1094 2003-05-06  Ling Li  <ling@caltech.edu>
1095
1096         * Makefile, math_makeboxinset.[Ch]:
1097         * math_factory.C (createMathInset):
1098         * math_parser.C (parse1): New support for \makebox.
1099
1100         * math_nestinset.C (drawMarkers, drawMarkers2):
1101         * math_boxinset.C, math_frameboxinset.C (draw):
1102         Fix spacing and marker length.
1103
1104 2003-05-03  John Levon  <levon@movementarian.org>
1105
1106         * formula.C:
1107         * formulabase.C:
1108         * formulabase.h:
1109         * formulamacro.C:
1110         * math_cursor.C: remove showInsetCursor(),
1111         isCursorVisible(), hideInsetCursor(), toggleInsetCursor(),
1112         explicit cursor hides. Add getCursor()
1113
1114 2003-05-02  André Pönitz <poenitz@gmx.net>
1115
1116         * math_arrayinset.[Ch]: add markers
1117
1118 2003-04-30  André Pönitz <poenitz@gmx.net>
1119
1120         * math_gridinset.C: fix transition to new Col/Row/CellInfo scheme
1121
1122 2003-04-14  Angus Leeming  <leeming@lyx.org>
1123
1124         * math_fboxinset.C:
1125         * math_frameboxinset.C: s/\(LColor::\)black/\1foreground/
1126         * math_macrotemplate.C: s/\(LColor::\)blue/\1mathline/
1127         * math_support.C: s/\(LColor::\)mathcursor/\1cursor/
1128
1129 2003-04-02  John Levon  <levon@movementarian.org>
1130
1131         * formulabase.C:
1132         * math_gridinset.C: tab lfuns changed name
1133
1134 2003-03-28  John Levon  <levon@movementarian.org>
1135
1136         * formulabase.C: remove LFUN_GREEK - does nothing
1137
1138 2003-03-19  John Levon  <levon@movementarian.org>
1139
1140         * formulabase.h:
1141         * formulabase.C:
1142         * math_gridinset.C:
1143         * math_hullinset.C:
1144         * ref_inset.C: updateInset() doesn't take a bool
1145         anymore
1146
1147 2003-03-17  John Levon  <levon@movementarian.org>
1148
1149         * formula.h:
1150         * formula.C:
1151         * formulabase.h:
1152         * formulamacro.h:
1153         * formulamacro.C: draw() prototype changed
1154
1155 2003-03-10  Angus Leeming  <leeming@lyx.org>
1156
1157         * math_gridinset.[Ch] (d-tor): added to ensure that the tabular
1158         dialog is hidden when the inset is deleted and the two are connected.
1159
1160 2003-03-05  Ling Li <ling@caltech.edu>
1161
1162         * math_casesinset.[Ch] (validate): request feature "amsmath"
1163
1164 2003-03-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1165
1166         * math_braceinset.C (metrics): fix computation of descent
1167
1168 2003-03-04  Angus Leeming  <leeming@lyx.org>
1169
1170         * command_inset.[Ch] (createDialogStr): a new function to generate
1171         something that the frontend Dialogs will understand.
1172         (c-tor): the string passed to the c-tor is now understood to be
1173         simply the inset's name, not some strange beast containing "|++|".
1174
1175         * math_factory.[Ch] (createMathInset_fromDialogStr): new function
1176         parses the string passed from the frontends.
1177
1178         * formulabase.C (localDiapatch):
1179         * ref_inset.C (dispatch): use createDialogStr and
1180         createMathInset_fromDialogStr rather than the current hard-coded
1181         stuff.
1182
1183         * ref_inset.[Ch] (string2RefInset): goes the way of the dodo.
1184
1185 2003-03-04  Angus Leeming  <leeming@lyx.org>
1186
1187         * formulabase.C (localDispatch): if an inset is found on
1188         LFUN_INSET_APPLY, send LFUN_INSET_MODIFY to the inset's localDispatch.
1189
1190         * ref_inset.C (localDispatch): handle LFUN_INSET_MODIFY, not
1191         LFUN_INSET_APPLY.
1192
1193 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1194
1195         * formulabase.h: adjust for boost 1.30.0
1196
1197 2003-02-27  Angus Leeming  <leeming@lyx.org>
1198
1199         * formulabase.C (localDispatch): collapse LFUN_REF_APPLY to
1200         LFUN_INSET_APPLY.
1201
1202         * ref_inset.C (changes due to the change to LFUN_INSET_APPLY.
1203
1204 2003-02-26  Angus Leeming  <leeming@lyx.org>
1205
1206         * ref_inset.C (localDispatch): act only on receipt of LFUN_REF_APPLY.
1207
1208 2003-02-26  Angus Leeming  <leeming@lyx.org>
1209
1210         * formula.C (draw): cache the BufferView* using cache not
1211         PreviewImpl::setView
1212
1213 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
1214
1215         * formula.C (draw): strip also the other argument (the owner inset) in
1216         the call to PreviewImage::image
1217
1218 2003-02-26  Angus Leeming  <leeming@lyx.org>
1219
1220         * ref_inset.[Ch]: add a localDispatch method to RefInset.
1221         add a string2RefInset function to 'translate' the string passed to the
1222         LyX core from the Reference dialog.
1223
1224         * formulabase.C (localDispatch): factor the code for LFUN_REF_APPLY
1225         to use these new functions and so avoid a dynamic cast.
1226
1227 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
1228
1229         * formula.C (draw): eliminate BufferView argument in call to
1230         PreviewImage::image
1231
1232 2003-02-25  Angus Leeming  <leeming@lyx.org>
1233
1234         * ref_inset.C (dispatch): add an '\end_inset' to the string passed to
1235         the dialog.
1236
1237         * math_inset.h:
1238         * ref_inset.h (asRefInset): new method, replacing asInsetRef.
1239
1240 2003-02-21  Angus Leeming  <leeming@lyx.org>
1241
1242         * formulabase.C (localDispatch): retire LFUN_REF_INSERT. Add
1243         LFUN_DIALOG_SHOW_NEW_INSET "ref" and LFUN_REF_APPLY. The latter
1244         is not yet safe. Posted some ideas to the list for further discussion.
1245
1246         * ref_inset.C (dispatch): a first stab at activating the code
1247         to display the reference dialog from within mathed. Not yet working.
1248
1249 2003-02-14  Dekel Tsur  <dekelts@tau.ac.il>
1250
1251         * math_parser.C (parse1): Do not remove braces for {<expr>}^
1252
1253 2003-02-13  Bo Peng <bpeng@rice.edu>
1254
1255         * math_cursor.h:
1256         * math_cursor.C (backspace, erase): return false for empty mathboxes.
1257
1258         * formulabase.C: When LFUN_DELETE, LFUN_BACKSPACE return false, delete
1259                 the empty mathbox. Fix Bug 686.
1260
1261 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
1262
1263         * formula.C (draw, width): Fix spacing around previewed formula.
1264
1265 2003-01-13  Michael Schmitt <Michael.Schmitt@teststep.org>
1266
1267         * formulabse.C (localDispatch): make CTRL-Pos1/End behave a little
1268         bit more intuitive. (Patch suggested by André.)
1269
1270 2003-01-07  João Luis Meloni Assirati <assirati@fma.if.usp.br>
1271
1272         * math_hullinset.C: fix numbering problem of AMS gather and
1273           multline environments. Treat gather the same
1274           way as eqnarray and multline as a special case.
1275
1276 2002-12-18  John Levon  <levon@movementarian.org>
1277
1278         * math_factory.C: do not assume symbol font is present
1279
1280 2002-12-17  Dekel Tsur  <dekelts@tau.ac.il>
1281
1282         * math_parser.C (tokenize): Fix macro reading.
1283
1284 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1285
1286         * several files: ws changes
1287
1288 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1289
1290         * math_inferinset.C: remove unused "using std::max"
1291
1292 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1293
1294         * formulamacro.C (prefix): use boost::format
1295
1296 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
1297
1298         * formulabase.C (lfunMouseRelease): Do not make the buffer dirty
1299         when releasing the first mouse button.
1300
1301 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1302
1303         * math_inset.C (asString): STRCONV
1304
1305         * math_factory.C (initSymbols): do not std:: qualify getline, use
1306         empty() to check for empty string, STRCONV
1307
1308         * math_extern.C: STRCONV
1309
1310         * math_diminset.C (drawT): STRCONV
1311
1312         * math_cursor.C (info): STRCONV
1313
1314         * math_autocorrect.C (initAutoCorrect): STRCONV
1315
1316         * formulamacro.C (InsetFormulaMacro): STRCONV
1317
1318         * formulabase.C (localDispatch): STRCONV
1319
1320         * formula.C (latexString): STRCONV
1321
1322         * math_factory.C: add using std::endl
1323         (math_font_available): use it
1324         (initSymbols): use it
1325         (createMathInset): use it
1326
1327         * math_cursor.C (MathCursor): reindent
1328
1329 2002-10-28  Dekel Tsur  <dekelts@tau.ac.il>
1330
1331         * many files: Add support for Maxima.
1332
1333         * math_scriptinset.C (dispatch): Change handling of LFUN_MATH_LIMITS.
1334
1335         * math_symbolinset.C (metrics): Compute em with the default font.
1336
1337         * math_charinset.C (draw): Use math symbol fonts for <,> & =
1338
1339 2002-10-21  Dekel Tsur  <dekelts@tau.ac.il>
1340
1341         * math_factory.C (initSymbols): Support "else" token.
1342
1343         * math_symbolinset.C (metrics): Remove special case for \not.
1344
1345 2002-10-18  Angus Leeming  <leeming@lyx.org>
1346
1347         * formula.C (latexString): Revert yesterday's change. It's going to
1348         be too complicated to deal with nasty surprises.
1349
1350 2002-10-17  Angus Leeming  <leeming@lyx.org>
1351
1352         * formula.C (latexString): change "\[ ... \]" to "$ \displaystyle ... $"
1353         for nicer previews.
1354
1355 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
1356
1357         * math_kerninset.C (metrics): Use LyXLength::inPixels.
1358
1359 2002-10-14  Dekel Tsur  <dekelts@tau.ac.il>
1360
1361         * math_factory.C (initSymbols): iffont.
1362
1363 2002-10-14  André Pönitz <poenitz@gmx.net>
1364
1365         * math_cursor.C: remove code to fix crash
1366
1367 2002-10-14  André Pönitz <poenitz@gmx.net>
1368
1369         * formulabase.C: support pasting stuff into formulas using button3
1370
1371         * math_parser.C:
1372           math_hullinset.C: Herbert's patch to support flalign
1373
1374 2002-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1375
1376         * formulabase.C (localDispatch): make LFUN_WORDLEFTSEL and
1377         LFUN_WORDRIGHTSEL coherent with their non-SEL counterparts
1378
1379 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1380
1381         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1382
1383 2002-09-11  John Levon  <levon@movementarian.org>
1384
1385         * dimension.C: compile fix
1386
1387 2002-09-11  Angus Leeming  <leeming@lyx.org>
1388
1389         * preview.[Ch]: cruft. Removed.
1390
1391 2002-08-29  André Pönitz <poenitz@gmx.net>
1392
1393         * math_framboxinset.[Ch]: new (partial) support for \framebox
1394
1395         * math_parser.C: generalization for reading optional arguments
1396
1397 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1398
1399         * math_parinset.C: add support/LOstream.h and config.h
1400
1401 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1402
1403         * math_hullinset.C: add using std::pair
1404
1405 2002-08-13  Angus Leeming  <leeming@lyx.org>
1406
1407         * formulabase.C:
1408         * ref_inset.C:
1409         changes due to the changed LyXView interface that now returns references
1410         to member variables not pointers.
1411
1412         * math_inset.[Ch] (getDialogs, getLyXFunc): return a reference, not a
1413         pointer, reflecting this change.
1414
1415 2002-08-02  Angus Leeming  <leeming@lyx.org>
1416
1417         * formula.C: pass the BufferView to the PreviewedInset so that it can
1418         cache it.
1419
1420 2002-08-02  Angus Leeming  <leeming@lyx.org>
1421
1422         * formulabase.[Ch]: store the BufferView as a weak_ptr.
1423         (updatePreview): removed.
1424         (insetUnlock): invoke generatePreview().
1425
1426         * formula.C (InsetFormula): pass the shared_ptr to view_, not the raw
1427         BufferView.
1428         (read, localDispatch): remove those calls to updatePreview().
1429
1430         * math_metricsinfo.[Ch]: store the BufferView as a weak_ptr.
1431
1432         * math_nestinset.C (notifyCursorLeaves): empty, because
1433         generatePreview() is now called from InsetFormulaBase::insetUnlock.
1434
1435 2002-08-01  Angus Leeming  <leeming@lyx.org>
1436
1437         * formula.C: move code into the new PreviewedInset class.
1438
1439         * formula.[Ch] (generatePreview): renamed as addPreview.
1440         (generatePreview): new method invoking PreviewedInset::generatePreview.
1441
1442         * math_nestinset.C (notifyCursorLeaves): simplify. Now just calls
1443         Inset::generatePreview.
1444
1445 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1446
1447         * formula.C (localDispatch): strip,frontStrip -> trim,ltrim,rtrim
1448
1449 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1450
1451         * math_nestinset.C: add using std::vector
1452
1453 2002-07-23  Angus Leeming  <leeming@lyx.org>
1454
1455         * formula.C (descent): add an arbitrary 12 pixels to the descent when
1456         previewing a display mode equation, analogous to André's code elsewhere.
1457
1458         * math_nestinset.C (notifyCursorLeaves): generate the preview only
1459         when leaving an inset with depth() == 1.
1460
1461 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1462
1463         * math_support.C (mathed_draw_deco): fix rounding bug for rotated
1464         decorations
1465
1466 2002-07-17  Angus Leeming  <leeming@lyx.org>
1467
1468         * math_parboxinset.C: add using std::vector directive.
1469
1470         * formula.C (PreviewImpl's generate): bind to the PreviewLoader
1471         through a method rather than to the signal directly.
1472
1473 2002-07-16  Angus Leeming  <leeming@lyx.org>
1474
1475         * formula.C (ascent, descent, draw): remove the extra pixels
1476         required to accommodate the mathed active frame when in Preview mode.
1477
1478 2002-07-12  Angus Leeming  <leeming@lyx.org>
1479
1480         * formula.C: use the new smart loading capabilities of the image
1481         loader.
1482
1483 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
1484
1485         * mathformula.C: use Lsstream.h not sstream
1486
1487 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
1488
1489         * math_support.C:
1490         * math_factory.C: use lyx_gui::font_available()
1491
1492 2002-07-09  Angus Leeming  <leeming@lyx.org>
1493
1494         * math_braceinset.h:
1495         * math_scriptinset.h: remove class:: from method declaration.
1496
1497         * math_braceinset.C:
1498         * math_envinset.C: #include "LOstream.h"
1499
1500 2002-07-05  Angus Leeming  <leeming@lyx.org>
1501
1502         * formula.[Ch] (generatePreview): instantiate new virtual method.
1503         Strip out the preliminary preview code and replace with code that
1504         makes full use of the graphics/Preview* files. Hide all the
1505         shenanigans behind a PreviewImpl firewall.
1506
1507         * math_nestinset.C (notifyCursorLeaves): update the preview using the
1508         new graphics/Preview* code.
1509
1510 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1511
1512         * formulabase.C: ws changes
1513         * formula.C: ws changes
1514
1515 2002-07-01  Geof Piroux
1516
1517         * math_ex*.[Ch] et al: support for Mathematica as CAS backend
1518
1519 2002-06-28  Angus Leeming  <leeming@lyx.org>
1520
1521         * preview.h (preview): don't pass grfx::GraphicPtr & anymore.
1522
1523 2002-06-24  André Pönitz <poenitz@gmx.net>
1524
1525         * math_parser.C: remove "remove seemingly unneeded {} hack"
1526
1527 2002-06-26  Angus Leeming  <leeming@lyx.org>
1528
1529         * formula.C: use lyxerr, not cerr.
1530
1531 2002-06-24  André Pönitz <poenitz@gmx.net>
1532
1533         * *.[Ch]: left over changes from Porto
1534
1535         * math_gridinset.C (eolString): fix #456
1536
1537 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
1538
1539         * formula.C: use repaint()
1540
1541 2002-06-16  André Pönitz <poenitz@gmx.net>
1542
1543         * math_factory.C:
1544         * math_support.C: fix font fall-back
1545
1546         * math_specialcharinset.[Ch]:
1547         * math_funcliminset.[Ch]: remove, it's now done by MathSymbolInset
1548
1549         * math_funcinset.[Ch]: remove, it's not used
1550
1551 2002-06-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1552
1553         * math_extern.C: add using std::endl
1554
1555 2002-06-15  LyX Development team <lyx@rilke>
1556
1557         * formula.[Ch]:
1558         * macroformula.[Ch] (docbook): Added argument to care about the
1559         pernicious mixed content.
1560
1561 2002-05-30  André Pönitz <poenitz@gmx.net>
1562
1563         * math_parser.C:
1564         * formulabase.C: parser changes to 'everything might be a table'
1565
1566 2002-05-31  Dekel Tsur  <dekelts@tau.ac.il>
1567
1568         * math_hullinset.C (ams): Do a real check.
1569
1570 2002-05-30  André Pönitz <poenitz@gmx.net>
1571
1572         * *.[Ch]: "fonts as inset"
1573
1574 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1575
1576         * switch from SigC signals to boost::signals.
1577
1578 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1579
1580         * formulabase.C:
1581         * formulabase.h:
1582         * math_inset.h: use mouse_state. Kill insetKeyPress
1583
1584 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1585
1586         * math_support.C: font loader moved
1587
1588 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1589
1590         * formulabase.C:
1591         * formulamacro.C:
1592         * math_charinset.C:
1593         * math_funcinset.C:
1594         * math_support.C:
1595         * math_unknowninset.C: new name for font metrics
1596
1597 2002-05-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1598
1599         * math_autocorrect.C: include vector and add a using statement.
1600
1601 2002-05-23  André Pönitz <poenitz@gmx.net>
1602
1603         * math_autocorrect.[Ch]: new "auto correction" feature
1604         * math_cursor.[Ch]: subsequent changes
1605         * math_parser.C: somewhat better error reporting
1606
1607 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1608
1609         * formula.C:
1610         * formulabase.C: LyXView moved into frontends/
1611
1612 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1613
1614         * formula.C:
1615         * formulabase.C:
1616         * formulamacro.C:
1617         * math_binaryopinset.C:
1618         * math_casesinset.C:
1619         * math_charinset.C:
1620         * math_cursor.C:
1621         * math_fracinset.C:
1622         * math_funcinset.C:
1623         * math_gridinset.C:
1624         * math_hullinset.C:
1625         * math_macro.C:
1626         * math_macrotemplate.C:
1627         * math_rootinset.C:
1628         * math_spaceinset.C:
1629         * math_sqrtinset.C:
1630         * math_stringinset.C:
1631         * math_support.C:
1632         * math_unknowninset.C:
1633         * math_xdata.C:
1634         * math_xyarrowinset.C: move Painter to frontends/
1635
1636 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1637
1638         * math_exintinset.C: use more specific smart_ptr header.
1639
1640 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
1641
1642         * math_cursor.C: clear selection on paste (bug 393)
1643
1644 2002-05-15  André Pönitz <poenitz@gmx.net>
1645
1646         * formulabase.[Ch]: mark buffer as (Changed) after font changes
1647
1648 2002-05-13  André Pönitz <poenitz@gmx.net>
1649
1650         * math_cursor.[Ch]: honor lyxrc setting for auto_delete_region
1651
1652 2002-05-13  André Pönitz <poenitz@gmx.net>
1653
1654         * math_cursor.C: fix crash on paste as reported by Piroux Geoffroy
1655
1656 2002-04-24  Juergen Vigna  <jug@sad.it>
1657
1658         * formulabase.C (insetButtonPress): set the mathcursor in case we
1659         don't have one. This happens when clicking on a non locked mathed
1660         inset with any button != 1.
1661         (insetButtonPress): Forgot about this the Panel should NEVER be
1662         opened in a Press event ONLY in the Release event!
1663
1664 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1665
1666         * formulabase.C (localDispatch): merge the cases for
1667         LFUN_PROTECTEDSPACE and LFUN_MATH_SPACE, since they were identical.
1668
1669 2002-04-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1670
1671         * formulabase.C (localDispatch): handle arguments of
1672         LFUN_MATH_DELIM better.
1673
1674 2002-04-04 Angus Leeming  <a.leeming@ic.ac.uk>
1675
1676         * formulabase.C: remove unused variables hack_x, hack_y, hack_button.
1677
1678 2002-04-02  Allan Rae  <rae@lyx.org>
1679
1680         * math_cursor.C (info): make it work with lyxstring and std::string
1681
1682 2002-03-12  André Pönitz <poenitz@gmx.net>
1683
1684         * math_cursor.C: fix some Up/Down "issues"
1685
1686 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1687
1688         * most files: ws cleanup
1689
1690         * Makefile.am: remove ld -r stuff
1691
1692 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1693
1694         * Makefile.am: special rules if partial linking
1695
1696 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
1697
1698         * math_charinset.C: wrap the std::strchr declaration inside a
1699         check for CXX_GLOBAL_CSTD.
1700
1701 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
1702
1703         * math_biginset.[Ch] (size): return size_type, not int.
1704
1705         * math_inset.C (metrics): parameter "mi" is never referenced. Removed.
1706         * math_hullinset.C (metrics): ditto.
1707
1708
1709 2002-03-12  André Pönitz <poenitz@gmx.net>
1710
1711         * math_xarray.[Ch] et al: really use metrics cache if possible...
1712
1713 2002-03-07  Martin Vermeer <martin.vermeer@hut.fi>
1714
1715         * math_decorationinset.C: add leftrightarrows to the displayable
1716         symbols.
1717
1718 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1719
1720         * formula.C Changes due to the renaming of support/syscall.[Ch] as
1721         support/systemcall.[Ch] and of class Systemcalls as class
1722         SystemCall.
1723
1724 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1725
1726         * formula.C: change Systemcalls::System to Systemcalls::Wait and
1727         No change of functionality, just reflects the stripped down
1728         Systemcalls class.
1729
1730 2002-02-08  André Pönitz <poenitz@gmx.net>
1731
1732         * math_support.[Ch]: some support for \dddot
1733
1734 2002-02-08  Otto Tronarp <otttr440@student.liu.se>
1735
1736         * math_decorationinset.C:
1737
1738         * math_support.C:
1739
1740         * math_hash.C: Added \underrightarrow and \underleftarrow
1741
1742 2002-02-08  Martin Vermeer <martin.vermeer@hut.fi>
1743
1744         * formulabase.C (localDispatch): fix umlaut handling
1745
1746         * formulabase.C: pop up math panel on right mouse click
1747
1748 2002-02-01  André Pönitz <poenitz@gmx.net>
1749
1750         * math_xarrowinset.[Ch]: support for \xrightarrow and \xleftarrow
1751
1752 2002-02-01  André Pönitz <poenitz@gmx.net>
1753
1754         * math_xymatrixinset.[Ch]: some support for \xymatrix
1755
1756 2002-02-01  André Pönitz <poenitz@gmx.net>
1757
1758         * math_undersetinset.[Ch]: implement direct support for \underset
1759
1760 2002-01-28  Martin Vermeer <martin.vermeer@hut.fi>
1761
1762         * math_support.C: removed the arrays latex_mathstyle[] and
1763         latex_mathfontcmds[] to the frontends.
1764
1765 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1766
1767         * math_macrotable.C (builtinMacros): Add macros for \models and \Join.
1768
1769 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1770
1771         * math_factory.C (createMathInset): add a default: label in switch
1772
1773 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1774
1775         * formulabase.[Ch] (searchForward, searchBackward): change the
1776         bool const & params to bool.
1777
1778 2002-01-14      Martin Vermeer <martin.vermeer@hut.fi>
1779         * math_macrotable.C: added macros for Blackboard Bold,
1780         Calligraphic symbols support in mathed. Kludge.
1781
1782 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
1783
1784         * math_mathmlstream.C (operator<<): use lyx::count rather than
1785         countChar.
1786
1787         * math_streamstr.C (operator<<): ditto.
1788
1789 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1790
1791         * math_support.C: change latex_mathfontcmds to an array of
1792         kb_action.
1793
1794 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
1795
1796         * math_exfuncinset.C: remove using std::ostream declaration.
1797
1798         * math_kerninset.C: whitespace change, consistent with other files.
1799
1800         * math_mathmlstream.C (operator<<):
1801         * math_streamstr.C (operator<<): use countChar rather than std::count.
1802
1803         * math_parser.C (operator==): comment out. Not used.
1804
1805 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
1806
1807         * formulabase.C (localDispatch): handle LFUN_FRAK and LFUN_ITAL.
1808
1809         * math_support.C: separate  string arrays for math style and for
1810         font commands.
1811
1812 2002-01-10  Dekel Tsur  <dekelts@tau.ac.il>
1813
1814         * math_parser.C (parse_normal): Support for \begin{math}
1815
1816 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1817
1818         * math_hullinset.C (validate): rename feature "amsstyle" to
1819         "amsmath".
1820
1821 2002-01-09  Martin Vermeer <martin.vermeer@hut.fi>
1822
1823         * math_support.C: modified to support  a mathed pop-up for math
1824         size "styles" and font types.
1825
1826 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
1827
1828         * math_defs.h: remove trailing comma from enum MathTextCodes.
1829
1830 2002-01-03  André Pönitz <poenitz@gmx.net>
1831
1832         * formulabase.[Ch]: implement simple search
1833
1834         * math_sizeinset.[Ch]: support for \displaystyle etc
1835
1836 2001-12-18  Dekel Tsur  <dekelts@tau.ac.il>
1837
1838         * math_macrotable.C (builtinMacros): Adjust kern values.
1839
1840 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1841
1842         * math_atom.C:
1843         * math_binaryopinset.C:
1844         * math_binominset.C:
1845         * math_casesinset.C:
1846         * math_charinset.C:
1847         * math_data.C:
1848         * math_diminset.C:add missing config.h
1849
1850         * math_cursor.C:
1851         * math_parser.C: move inludes around a bit.
1852
1853         * math_extinset.C: user boost::scoped_ptr
1854
1855         * math_parser.C: user std::fill to fill the catcodes. (please
1856         check this one...), and some consts.
1857
1858 2001-12-11  André Pönitz <poenitz@gmx.net>
1859
1860         * math_cursor.C: allow cut&paste of rectangular regions of cells
1861
1862 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
1863
1864         * math_kerninset.C (metrics): Consider lyxrc.zoom
1865
1866 2001-12-14  Dekel Tsur  <dekelts@tau.ac.il>
1867
1868         * math_support.C: Fix handling of \mathfrak font.
1869
1870 2001-12-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1871
1872         * math_iterator.C (nextInset): compilation fix.
1873
1874 2001-12-11  André Pönitz <poenitz@gmx.net>
1875
1876         * math_defs.h:
1877         * math_parser.C:
1878         * math_hash.C: support for \mathfrak
1879
1880 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
1881
1882         * math_streamstr.C: #include <iostream> to compile with DEC cxx
1883
1884 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1885
1886         * math_arrayinset.C:
1887         * math_boxinset.C:
1888         * math_decorationinset.C:
1889         * math_deliminset.C:
1890         * math_dotsinset.C:
1891         * math_exfuncinset.C:
1892         * math_exintinset.C:
1893         * math_funcinset.C:
1894         * math_funcliminset.C:
1895         * math_hullinset.C:
1896         * math_kerninset.C:
1897         * math_limopinset.C:
1898         * math_sizeinset.C:
1899         * math_stringinset.C:
1900         * math_symbolinset.C:
1901         * math_unknowninset.C: include math_streamstr.h and remove
1902         unneeded c_str()
1903
1904         * math_symbolinset.[Ch]: add constructor taking string
1905
1906         * math_mathmlstream.C: move includes around
1907
1908         * math_streamstr.[Ch]: add operator<<(Stream, string) for
1909         NormalStream, MapleStream, MathMLStream and OctaveStream
1910
1911         * math_gridinset.C: user LyXLength::zero
1912
1913 2001-11-19  Angus Leeming  <a.leeming@ic.ac.uk>
1914
1915         * formula.C:
1916         * math_arrayinset.C: add using std::getline directive.
1917
1918 2001-11-20 André Pönitz  <poenitz@gmx.net>
1919
1920         * formulabase.C: fix mouse positioning using the cursor
1921
1922 2001-11-19  Dekel Tsur  <dekelts@tau.ac.il>
1923
1924         * math_mathmlstream.C (operator<<): Count '\n' chars
1925
1926 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
1927
1928         * math_macro.C
1929         * math_hullinset.C:  Fixes to use the new LaTeXFeatures
1930         correctly.
1931
1932 2001-11-07  André Pönitz  <poenitz@gmx.net>
1933
1934         * math_extern.C: support for integrals, sums, e^x, and d/dx
1935
1936 2001-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1937
1938         * math_extern.C (extractNumber):
1939         (extractDiffExponent): add ugly .c_str()
1940
1941 2001-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1942
1943         * math_arrayinset.C (MathArrayInset):
1944         * formula.C (pipeThroughMaple):
1945         (pipeThroughOctave): add ugly .c_str() to help compile
1946         with lyxstring
1947
1948 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1949
1950         * math_inset.C: compilation fix
1951
1952 2001-11-07  André Pönitz  <poenitz@gmx.net>
1953
1954         * math_*inset.[Ch]:
1955         * array.[Ch]: start native C++ support for Octave, Maple and MathML
1956
1957 2001-10-31  Angus Leeming  <a.leeming@ic.ac.uk>
1958
1959         * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
1960
1961 2001-10-24  Angus Leeming  <a.leeming@ic.ac.uk>
1962
1963         * math_nestinset.C: added using std::max, min directives.
1964         * math_scriptinset.C: added using std::ostream directive.
1965         * math_scriptinset.h: replaced ostream with std::ostream.
1966
1967 2001-10-17  André Pönitz  <poenitz@gmx.net>
1968
1969         * math_*inset.[Ch]: remove MathStyles cache from insets that
1970           don't need it
1971
1972         * support.C:
1973           formulabase.C: fix math font sizes in headings etc
1974
1975         * math_inset.[Ch]:
1976           formula.C: remove unused static member int MathInset::workwidth
1977
1978         * math_gridinset.[Ch]: implement idxHome() and idxEnd()
1979
1980 2001-10-17  André Pönitz  <poenitz@gmx.net>
1981
1982         * math_inset.h:
1983         * *.[Ch]: make output more stream-like
1984
1985 2001-10-17  André Pönitz  <poenitz@gmx.net>
1986
1987         * formula.C:
1988         * array.C: add missing/broken  writeNormal()
1989
1990         * math_lefteqn.[Ch]: some visual support for \lefteqn
1991
1992
1993 2001-10-10  André Pönitz  <poenitz@gmx.net>
1994
1995         * math_cursor.C: introduce dummy "inner" position "between"
1996         nucleus and scripts for smoother cursor movement
1997
1998         * math_cursor.C: use red dot to indicate empty nucleus
1999
2000
2001 2001-10-02  André Pönitz  <poenitz@gmx.net>
2002
2003         * math_cursor.C: leave red backslash as visual clue
2004         in formula when typing macro names
2005
2006         *       math_macrotemplate.C: sanity check
2007
2008 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2009
2010         * math_cursor.C:
2011         * formula.C (localDispatch): fix a few of local variable sizes
2012
2013         * math_fracbase.C: change parameter types to match MathInset
2014
2015 2001-10-01  André Pönitz  <poenitz@gmx.net>
2016
2017         * math_cursor.[Ch]: remove local parInset() method
2018
2019         * math_macro.C: add a static_cast
2020
2021 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2022
2023         * math_cursor.C: fix type mismatches with what was declared in
2024         math_cursor.h.
2025
2026 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
2027
2028         * math_matrixinset.C (header_write): Add \n after \begin{align}
2029
2030 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
2031
2032         * math_macrotable.C (builtinMacros): Add some macros if latex
2033         fonts are available.
2034
2035 2001-09-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2036
2037         * formula.C (insetAllowed): disallow label insertion in inline
2038         formula
2039
2040 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2041
2042         * formulabase.C (mathDispatchCreation): pass second argument
2043         'false' (no label) to selectionAsString
2044
2045 2001-09-11  André Pönitz  <poenitz@gmx.net>
2046
2047         * math_atom.[Ch]: new basic item in the MathArray
2048
2049         * array.[Ch]: move code over to math_atom
2050
2051         * math_scriptinset.[Ch]:
2052           math_parser.C:
2053           math_cursor.C: try to do with super- and subscripts what TeX does
2054
2055 2001-09-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2056
2057         * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
2058
2059 2001-09-04  André Pönitz  <poenitz@gmx.net>
2060
2061         * math_defs.h:
2062         * math_parser.C:
2063         * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
2064             'xxalignt', 'gather' and 'multiline' environments
2065
2066         * math_cursor.C: fix handling of | and \|
2067
2068 2001-09-04  José Matos  <jamatos@fep.up.pt>
2069
2070         * formulabase.C
2071         * formulabase.h
2072         * formula.C
2073         * formula.h
2074         * formulamacro.C
2075         * formulamacro.h (docbook): rename docBook method to docbook.
2076
2077 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
2078
2079         * math_hash.C (ReadSymbols): Check for duplicate symbols
2080
2081 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
2082
2083         * support.C: added a using std::map directive.
2084
2085 2001-08-17  André Pönitz  <poenitz@gmx.net>
2086
2087         * math_hash.C: Use std::map instead of faking it
2088
2089         * symbol_def.h: remove unneeded symbol definitions
2090
2091         *       support.C: use the decorations' name for drawing
2092
2093 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
2094
2095         * math_hash.C (in_word_set): Initialize symbol table even when
2096         symbols file was not found.
2097
2098 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
2099
2100         * math_hash.C: added a using std::endl directive.
2101
2102 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
2103
2104         * support.C (whichFont): Add support for cmr font.
2105         Add support for \mathbb.
2106
2107         * math_notinset.C (draw, metrics): Use cmsy symbol if available.
2108
2109         * math_macrotable.C (builtinMacros): Add 3 builtin macros
2110
2111 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
2112
2113         * math_hash.C: Read symbols information from external file
2114         many files: Add support for latex symbol fonts
2115
2116 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
2117
2118         * math_parser.C (Parser): Eat spaces after \end_inset
2119
2120 2001-08-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2121
2122         * math_parser.C (tokenize): fix typo
2123
2124 2001-08-17  André Pönitz  <poenitz@gmx.net>
2125
2126         * math_parser.C: new "lexxer"
2127
2128         * array.C: write sequences of chars with same code as a unit
2129
2130 2001-08-13  André Pönitz  <poenitz@gmx.net>
2131
2132         * math_factory.[Ch]: new files for the creation of math insets
2133
2134         * math_parser.C:
2135                 math_cursor.C:
2136                 math_hash.C: simplifications
2137
2138         * math_binom.[Ch]: new files for "native" \binom/\choose inset
2139
2140         * math_parser.C:
2141                 math_cursor.C: reading support for TeX style \over and \choose
2142
2143         * formulabase.C: re-enabling the "selected text gets converted to
2144         math when pressing C-m" feature.
2145
2146 2001-08-13  Angus Leeming  <a.leeming@ic.ac.uk>
2147
2148         * math_parser.C (lexArg): remove default argument from the .C file
2149         as it causes DEC cxx to complain about a redefinition.
2150
2151 2001-08-10  André Pönitz  <poenitz@gmx.net>
2152
2153         *       math_scopeinset.[Ch]: new inset for {} blocks
2154
2155         *       math_accentinset.[Ch]: removed unneeded files
2156
2157         * math_grid.[Ch]:
2158           math_matrix.[Ch]: start support for "interrow spacing"
2159
2160         * all over the place: rework of parser stuff
2161
2162 2001-08-08  André Pönitz  <poenitz@gmx.net>
2163
2164         *       math_fracbase.[Ch]:
2165         * math_fracinset.[Ch]: new hierarchy
2166
2167         *       math_stackrelbase.[Ch]: native \stackrel support
2168
2169         * math_inset.[Ch]: removal of the name_ member
2170
2171         * math_deliminset.[Ch]: rework
2172
2173 2001-08-06  André Pönitz  <poenitz@gmx.net>
2174
2175         * formulamacro.C: fix nasty bug due to missing copy constructor
2176
2177         * math_bigopinset.[Ch]: revival for things like \int, \sum
2178
2179         * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
2180
2181         * math_diminset.h: make cache variables mutable, remove const_cast
2182
2183         * formulabase.[Ch]: remove unneeded convertFont()
2184
2185         * math_funcinset.[Ch]: bring red color back
2186
2187         * math_macro*.[Ch]: move ownership of the templates from the formulamacro
2188         inset to the mcaro table
2189
2190 2001-08-01  André Pönitz  <poenitz@gmx.net>
2191
2192         * math_cursor.C:
2193                 formulamacro.C: fix memory leaks
2194
2195         * math_matrixinset.C: fix mis-alignment of eqnarray columns
2196
2197         *       formula*.[Ch]: seperation of the "pimpl" MathInset * into
2198         MathMatrixInset * and MathMacroTemplate * to save a few casts
2199
2200         * all over the place: everything is an inset now
2201
2202         * math_nestinset.[Ch]: new abstract base class for insets containing
2203         other insets.
2204
2205         * math_diminset.[Ch]: new abstract base class for insets that need
2206         the width_/ascent_/descent_ cache
2207
2208 2001-07-25  André Pönitz  <poenitz@gmx.net>
2209
2210         * formulabase.C: re-enable 'space enlargement' feature
2211
2212         * math_scriptinset.C:
2213                 math_bigopinset.C: rework of script insets
2214
2215 2001-07-22  André Pönitz  <poenitz@gmx.net>
2216
2217         * math_cursor.C: fix "pullArg" behaviour
2218
2219         * math_cursor.C: keep empty super/subscript a bit longer
2220
2221         * math_cursor.C: do not move into insets that don't have inner cells yet
2222
2223         * formulabase.C: fix memory leak
2224
2225         * math_cursor.C: ^ now copies selection into new srriptinset
2226
2227         * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
2228           using the mouse
2229
2230         * math_updowninset.C: fix drawing glitches
2231
2232         * math_cursor.C: paste to correct position
2233
2234 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2235
2236         * formula.C (insetAllowed): allow insertion of label
2237
2238 2001-07-20 André Pönitz  <poenitz@gmx.net>
2239
2240         * math_macrotable.C: support for \land and \vee
2241
2242 2001-07-16 André Pönitz  <poenitz@gmx.net>
2243
2244         * math_grid.[Ch] -> math_gridinset.[Ch]
2245           math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
2246
2247         * formulabase.C: fix 'buffer set to (Changed) when moving in math',
2248           fix 'mathed reports wrong width', cosmetics
2249
2250 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2251
2252         * math_cursor.C (operator==): moved ouf of struct
2253         (operator<): ditto
2254         (normalAnchor): reversed one test (but shouldn't it really be >= ?)
2255
2256 2001-07-16 André Pönitz  <poenitz@gmx.net>
2257
2258         * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
2259
2260         * several files: supporting changes
2261
2262 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
2263
2264         Consistent use of Lsstream.h:
2265         * formula.C: removed using std::ostringstream directive.
2266
2267         * math_cursor.C: std::istringstream -> istringstream.
2268
2269 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2270
2271         * math_decorationinset.h: add std:: qualifier
2272
2273 2001-07-12 André Pönitz  <poenitz@gmx.net>
2274
2275         * math_updowninset.[hC]: new base class for script and bigop insets
2276                 *.[hC]: subsequent changes to all Metric() functions
2277
2278         * math_parser.C: small changes (\sqrt0 is read properly now)
2279
2280 2001-07-10 André Pönitz  <poenitz@gmx.net>
2281
2282         * math_accentinset.[hC]: rewrite
2283
2284         * math_parser.C:
2285                 math_cursor.C: subsequent changes
2286
2287         * math_grid.C: <Delete> in the first cell of a completely empty row
2288           deletes that row, <C-Return> places the cursor in the first of the
2289           new empty cells.
2290
2291         * math_grid.C: try to split cell nicely when mutating from single-cell
2292           to multi-cell environment
2293
2294 2001-07-09  Dekel Tsur  <dekelts@tau.ac.il>
2295
2296         * math_matrixinset.C (mutate): Use only the first label when
2297         mutating eqnarray to display formula.
2298
2299 2001-07-09  Juergen Vigna  <jug@sad.it>
2300
2301         * formulabase.C (mathDispatchCreation): don't do anything with the
2302         inset if it cannot be inserted!
2303
2304 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2305
2306         * formulabase.C (mathDispatchInsertMath): remove bogus return
2307         statement.
2308
2309 2001-07-09 André Pönitz  <poenitz@gmx.net>
2310
2311         * math_*inset.C: Change order of arguments in MathInset constructor
2312
2313         * math_cursor.C: Remove broken "increase space" feature for a while
2314
2315 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
2316
2317         * formulabase.C (mathDispatchInsertMath): Create an inline formula.
2318
2319 2001-07-04 André Pönitz  <poenitz@gmx.net>
2320
2321         * math_parser.C: fix reading of "unusual" alpha chars
2322
2323         * xarray.[hC]: fix debug output of xarray
2324
2325 2001-07-03 André Pönitz  <poenitz@gmx.net>
2326
2327         * math_parser.C: fix bug where equations did not get their labels
2328
2329         * formulabase.C: new feature: changing font on selection
2330
2331         * several files: subsequent changes
2332
2333         * array.C: fix bug when insets have not been cloned properly
2334         This should fix quite a few "random" crashes...
2335
2336 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2337
2338         * formulabase.C (localDispatch): use .c_str() on istringstream
2339         constructor argument.
2340
2341 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2342
2343         * math_grid.C (addCol): add second argument to cellinfo_.insert.
2344         Cleanup a bit the code.
2345         (appendRow): do not call push_back without argument.
2346
2347         * *.C: remove all "using namespace std" directives (not
2348         good!!) and replaced it with relevant "using" directives.
2349
2350         * math_macrotemplate.C (Clone): change return type to MathInset*
2351
2352 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2353
2354         * math_sizeinset.C: include support/LOstream.h
2355
2356         * math_scriptinset.C (Metrics): std:: qualify max
2357
2358         * math_root.C (Metrics): std:: qualify max
2359         (Write): std:: qualify ostream
2360         (WriteNormal): ditto
2361
2362         * math_matrixinset.C (getLabelList): std:: qualify vector
2363         include vector
2364         (Metrics): std:: qualify max
2365         (header_write): std:: qualify ostream
2366         (footer_write): ditto
2367
2368         * math_macrotemplate.C (Write): std:: qualify ostream
2369
2370         * math_bigopinset.C (Metrics): std:: qualify max, and include
2371         functional
2372
2373         * math_matrixinset.h: include vector and std:: qualify it.
2374
2375         * array.C (GetInset): get a pointer to the first element of bf_
2376         not an iterator.
2377
2378 2001-06-25  The LyX Project  <Asger>
2379
2380         * math_scriptinset.C: Fix for entering with cursor up/down.
2381
2382         * math_fracinset.C: We can enter fractions with cursor up and
2383         down.
2384
2385         * math_cursor.C (Right): Fixes for cursor movement.
2386
2387         * formula.C (draw): New background color for math.
2388
2389         * math_cursor.C: Fixes for toggling labels on/off in math.
2390         Fixes for infinity and other symbols that didn't appear in
2391         LaTeX.
2392
2393 2001-06-24  The LyX Project  <Asger>
2394
2395         * math_inset.C: Cursor movement is better in square roots, among
2396         other things.
2397
2398         * math_cursor.C (Interpret): Improved subscript bullshit. Improved
2399         cursor up/down movement. What not.
2400
2401 2001-06-24  The LyX Project  <Asger>
2402
2403         * math_matrixinset.C: Hidden labels are hidden, unless a small
2404         dragon jumps out of the screen, and pronounce them to the entire
2405         world.
2406
2407 2001-06-24  The LyX Project  <Easter egg>
2408
2409         * math_cursor.C: Cursor improvements after a few dead-ends
2410         in the evolution of cursor movement were tested and scrapped.
2411
2412 2001-06-24  The LyX Project  <Asger>
2413
2414         * math_cursor.C: Renamed stack to path.
2415
2416 2001-06-24  The LyX Project  <André>
2417
2418         * *.[Ch]:
2419           Makefile.am: The Big Patch
2420           (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
2421      new MathScriptInset for up/down stuff;
2422            delete MathIter/MatXIter, MathParInset, MathRowSt
2423      Changes to the inset inheritance tree, reunification of abstract math
2424      inset base classes;
2425      label/numbering handling back to life;
2426      major changes to the parser(s);
2427      new base class FormulaBase for the two math LyXInsets;
2428            general cleanup and cosmetic changes)
2429
2430 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
2431
2432         * math_macro.C:
2433         * math_root.C: removed // -*- C++ -*- as first line.
2434
2435 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2436
2437         * array.C: bring memmove into main namespace if necessary
2438
2439 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2440
2441         * math_parser.C (yylex): use contains instead of strchr
2442         (parse_align): remove last arg, change to take string const & as
2443         first arg.
2444         (mathed_parse): use string for ar2 and ar, adjust
2445
2446         * math_decorationinset.C (Write): use compare instead of strcmp
2447
2448         * formula.C (LocalDispatch): change arg2 to string, adjust for this
2449         (LocalDispatch): add std::
2450         (LocalDispatch): use contains instead of strchr
2451
2452         * array.C (move): add std::
2453
2454 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2455
2456         * matriz.C: add using directives when needed for C functions
2457         declared in std:: namespace.
2458
2459         * math_macrotemplate.h: do not use explicitely std::string, but
2460         string.
2461
2462         * math_macroarg.C: avoid bringing the whole std:: namespace in
2463         global-land. When you do that, there is an ambiguity between
2464         lyxstring and std::string (which may be defined at the same time).
2465
2466         * formula.C (HandleExtern): add .c_str() to .str() (useful when
2467         using lyxtring)
2468
2469 2001-04-27 André Pönitz  <poenitz@gmx.net>
2470
2471         * math_parser.C: fix \frac handling bug introduced on 04-24
2472         * math_xiter.C: hotfix for merging "shared" insets
2473         * formula.C: fixing display after using math-insert
2474
2475 2001-04-25 André Pönitz  <poenitz@gmx.net>
2476
2477         * math_*.[Ch]: WriteNormal
2478         * formula.C: Support for new "math extern" command
2479         * math_parser.C: fix \frac handling bug introduced on 04-24
2480         * math_xiter.C: hotfix for merging "shared" insets
2481
2482 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2483
2484         * math_macrotable.C: include <iostream>
2485
2486 2001-04-24 André Pönitz  <poenitz@gmx.net>
2487
2488         * math_macro.[Ch]:
2489         * math_macrotable.[Ch]:
2490         * math_macroarg.[Ch]: restructuring of macro handling
2491         * several files:
2492
2493 2001-04-25  Angus Leeming  <a.leeming@ic.ac.uk>
2494
2495         * array.h (operator<<):
2496         * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
2497
2498         * math_macrotable.C: added using std::make_pair directive.
2499         (dump): added using std::cerr directive here as I guess that this is
2500         temporary.
2501
2502 2001-04-20  Allan Rae  <rae@lyx.org>
2503
2504         * formula.C (LocalDispatch): fixed another #warning.  Guess who.
2505
2506 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2507
2508         * math_macrotemplate.h: inherit privately from noncopyable
2509
2510         * math_macro.C (Metrics): reindent, use unsigned int as loop var
2511         (setArgumentIdx): change test to avoid unsigned warning
2512
2513         * formula.C (LocalDispatch): use LFUN_MESSAGE
2514
2515 2001-04-16  Allan Rae  <rae@lyx.org>
2516
2517         * formula.C (Latex, getLabelList, LocalDispatch):
2518         * math_parser.C (mathed_parse):
2519         * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
2520         an unrecognised preprocessor directive.  So ensure they're wrapped.
2521
2522 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2523
2524         * formula.C (draw): adjust for cursor_visible
2525         (ToggleInsetCursor): adjust for cursor_visible and constify asc
2526         and desc
2527         (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
2528         (HideInsetCursor): adjust for cursor_visible
2529         (LocalDispatch): constify default_label and res
2530
2531 2001-03-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2532
2533         * math_rowst.C: add missing #include <config.h>.
2534
2535 2001-03-16  André Pönitz  <poenitz@gmx.net>
2536
2537         * math_matrixinset.h:
2538         * math_parinset.[Ch]:
2539         * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
2540
2541 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
2542
2543         * Makefile.am:
2544         * formula.C:
2545         * math_forms.h:
2546         * math_forms.C:
2547         * math_panel.h:
2548         * math_panel.C:
2549         * math_symbols.C: maths panel moved to GUII
2550
2551 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2552
2553         * math_cursor.C: use lyxerr instead of cerr.
2554
2555 2001-03-15  André Pönitz  <poenitz@gmx.net>
2556
2557         * math_cursor.C: fix bug (cursor was leaving two insets at a time
2558            instead of one)
2559
2560 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2561
2562         * math_macrotable.h: noncopyable is in namespace boost
2563         * math_macrotemplate.h: ditto
2564
2565         * math_rowst.h: make MathedRowContainer::iterator public.
2566
2567 2001-03-15  André Pönitz  <poenitz@gmx.net>
2568
2569         * math_parser.C: read '\nonumber' again (was broken)
2570
2571         * math_rowst.C: new file
2572
2573 2001-03-15  Angus Leeming  <a.leeming@ic.ac.uk>
2574
2575         * math_cursor.C: added using directive.
2576
2577 2001-03-15  André Pönitz  <poenitz@gmx.net>
2578
2579         * math_rowst.h: Finally remove MathedRowSt
2580
2581         * math_parser.C:
2582           math_xiter.C: changed accordingly
2583
2584 2001-03-12  André Pönitz  <poenitz@gmx.net>
2585
2586         *       math_rowst.h: replace MathedRowSt with MathedRowStruct,
2587             more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
2588
2589 2001-03-10  André Pönitz  <poenitz@gmx.net>
2590
2591         * math_xiter.[Ch]:
2592           math_matrixinset.C: move adjustVerticalSt to the only place where
2593       it is used. Fix a small bug where the cached row structure and the
2594             actual data get out of sync after the deletion of whole rows
2595
2596 2001-03-09  André Pönitz  <poenitz@gmx.net>
2597
2598         * math_cursor.C: use std::vector<> in MathStackXIter
2599                 change selstk from a pointer to the "real thing"
2600
2601         * math_rowst.h: new MathedRowContainer::erase method
2602
2603         * math_xiter.C: use MathedRowContainer::erase
2604
2605         * math_parser.C: use MathedRowContainer::insert_after
2606
2607 2001-03-08  André Pönitz  <poenitz@gmx.net>
2608
2609         * math_rowst.h: give MathedRowContainer an 'insert' method.
2610
2611         * math_xiter.C: new 'container()' method to encapsulated access to
2612           the MathParInset's MathedRowContainer
2613
2614         * math_rowst.h: proper copy constructor and destructor for
2615           MathedRowContainer
2616
2617         * math_matrixinset.[hC]: remove copy constructr and destructor. Those
2618           automatically created by the compiler are ok now.
2619
2620 2001-03-06  André Pönitz  <poenitz@gmx.net>
2621
2622         * array.[Ch]: factor out deep_copy,
2623           remove third argument from raw_pointer_insert
2624
2625         * math_iter.[Ch]: remove unused function Clear()
2626
2627         * math_cursor.C: change signature of MathStackXIter:push()
2628           whitespace changes
2629
2630         * math_rowst.h: introduction of MathRowContainer
2631           several files: corresponding changes
2632
2633 2001-03-04  André Pönitz  <poenitz@gmx.net>
2634
2635   * math_macrotemplate.[Ch]:
2636     math_macro.C: move update() functionality to the macro
2637
2638         * math_rowst.h: split MathedRowSt into "data" and "list"
2639
2640 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2641
2642         * math_macrotemplate.C (update): use MathMacro::getArg, and
2643         receive a const reference.
2644         (getMacroPar): add an Assert
2645
2646         * math_macrotemplate.h: make MathMacro a friend, make update take
2647         a const reference.
2648
2649         * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
2650         and store a MathMacroArgument in the vector
2651         * math_macro.C: changes because of the above.
2652         (getArg): new method
2653
2654         * math_parser.C (mathed_parse): plug potential leak
2655
2656         * math_iter.h: add comment on virtual destructor
2657
2658         * math_iter.C (Delete): make c const
2659
2660         * math_parinset.C (Metrics): cleanup indent. make one string const.
2661
2662         * math_inset.C (size): move out of line
2663         (incSize): ditto
2664
2665         * math_macroarg.h: remove default constructor
2666
2667         * math_macroarg.C: include Lsstream.h instead of debug.h
2668         (MathMacroArgument): remove default constructor
2669         (Write): add std:: on ostream arg
2670
2671 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
2672
2673         * math_parser.C:
2674         * formula.C: make DEBUG into lyxerr
2675
2676 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2677
2678         * math_macrotemplate.h: make noncopyable, remove last arg to
2679         constructor, remove flags_ add edit_
2680         (flags): remove method
2681
2682         * math_macrotemplate.C (setArgument): delete method
2683         (update): make idx const
2684         (Metrics): use edit_, remove flags_
2685         (draw): use edit_, remove flags_
2686         (setEditMode): set edit_, remove flags_
2687         (MathMacroTemplate): initialize edit_, remove flags_
2688
2689         * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
2690         shared_ptr, let constructor take a shared_ptr
2691
2692         * math_macro.C (MathMacro): take shared_ptr as arg, remove double
2693         initialization.
2694         (draw): remove unneded update, remove removed update of x,y
2695         (GetXY): call tmplates GetMacroXY directly
2696         (SetFocus): call Metrics() instead of update()
2697         (Write): remove support for math macro environments, simplifications.
2698
2699         * math_macrotable.h: make class noncopyable, change getMacro to
2700         createMacro, change vector to map store a
2701         shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
2702
2703         * math_macrotable.C: add pragma
2704         (createMacro): change name from getMacro, use shared_ptr
2705         (getTemplate): Use map lookup to get macro, return shared_ptr
2706         (addTemplate): assert that m containse a valid pointer, use map[]
2707         insert.
2708         (builtinMacros): by using shared_ptr fix the mem leak, remove
2709         commented out unsupported macros
2710
2711         * math_cursor.C: changes because of the above
2712         * math_parser.C: changes because of the abobe
2713
2714         * formulamacro.h: change tmacro_ to be a shared_ptr, remove
2715         default arg on constructor.
2716         * formulamacro.C: changes because of the above
2717
2718         * math_parinset.h: add pragma
2719         (SetAlign): move inline out of class def
2720         (GetColumns): ditto
2721         (GetRows): ditto
2722         (isMatrix): ditto
2723         (setArgumentIdx): ditto
2724         (setNextArgIdx): ditto
2725         (getArgumentIdx): ditto
2726         (getMaxArgumentIdx): ditto
2727         (setRowSt): ditto
2728         (xo): ditto
2729         (yo): ditto
2730
2731         * math_parinset.C: add pragma
2732         (Write): change the else clause, lessen depth
2733
2734         * math_macroarg.h: small whitespace change
2735
2736         * array.C: include support/LOstream.h add using ostream and endl
2737
2738         * array.h (dump): add std:: on ostream
2739
2740 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2741
2742         * math_macrotemplate.h: remove default arg on update
2743
2744         * math_macrotemplate.C (update): add assert and remove noop case.
2745
2746         * formulamacro.C (Read): add comment.
2747         (ascent): remove noop call to MathMacroTemplate
2748         (descent): ditto
2749         (width): ditto
2750         (draw): ditto
2751
2752         * math_parser.C (mathed_parse): fix another potential problem by
2753         passing a freestanding mathedarray.
2754
2755         * math_root.C (GetData): add const version
2756
2757         * math_parinset.C (~MathParInset): delete
2758         (GetData): add const version
2759
2760         * math_matrixinset.C (MathMatrixInset): delete pointer version,
2761         make it a proper copy constructor instead
2762         (Clone): change acc.
2763         (MathMatrixInset): remvoe default val for m and n
2764
2765         * math_macro.C (GetData): add const version
2766
2767         * math_fracinset.C (GetData): add const version
2768
2769         * math_cursor.C (SelCopy): make p1 and p2 const
2770         (SelCut): make p1 and p2 const
2771
2772         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
2773         (LyxCode): move inline out of class
2774         (ConvertFont): ditto
2775         (display): ditto
2776
2777         * array.[Ch] (dump): method added for debugging purposes
2778
2779         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
2780         mathed_parse when reading a matrix.
2781
2782         * math_spaceinset.[Ch]: add pragma, make variables private add
2783         '_', change order of method definitions.
2784
2785         * math_root.h (~MathRootInset): delete
2786         Change uroot_ to be a real object instead of a pointer
2787         * math_root.C: changes because of the above
2788
2789         * math_macro.C (MathMacro(MathMacro*)): delete constructor
2790         (MathMacro(MathMacro const &)): new copy constructor
2791
2792         * math_inset.h: delete constructor taking a pointer to MathedInset
2793         (size, incSize): move inline method
2794
2795         * math_funcinset.h: add pragma, remove class vars ln and fname,
2796         change protected to private, add '_' to priv vars.
2797         (~MathFuncInset): remove
2798
2799         * math_fracinset.h: make MathParInset den_ a real object and not a
2800         pointer.
2801
2802         * math_fracinset.C (MathFracInset): clean up, move initalization
2803         to initialization list
2804         (~MathFracInset): remove
2805         (Clone): remove leak
2806
2807         * math_draw.C: delete file
2808
2809         * math_dotsinset.[Ch]: add pragma
2810
2811         * math_bigopinset.h: make protected variables private add '_' to vars.
2812
2813         * math_bigopinset.C: move methods to follow class definition order
2814
2815         * math_accentinset.h (getAccentCode): move inline here
2816
2817         * math_accentinset.C (MathAccentInset): cleanup
2818         (draw): constify dw
2819
2820 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2821
2822         * math_inset.[Ch] (MathedInset): remove method
2823
2824         * Makefile.am (libmathed_la_SOURCES): correct typo
2825
2826         * math_parinset.C (draw): move MathedXiter data(this) up. and
2827         remove it two other places.
2828
2829         * math_macro.C (MathMacro): use array directly, don't use
2830         setArgumentIdx and GetData
2831
2832 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2833
2834         * math_macroarg.C (MathMacroArgument): delete
2835         * math_macro.C (~MathMacro): delete
2836         * math_macrotemplate.C (~MathMacroTemplate): delete
2837
2838         * math_decorationinset.[Ch]: add pragma
2839         * math_deliminset.[Ch]: likewise
2840         * math_fracinset.[Ch]: likewise
2841         * math_macroarg.[Ch]: likewise
2842         * math_macrotemplate.[Ch]: likewise
2843         * math_matrixinset.[Ch]: likewise
2844
2845         * formulamacro.C (Read): set contents of tmacro_ to ar.
2846
2847         * formulamacro.h: add '_' to private variables.
2848         * formalamacro.C: changes because of this.
2849
2850 2001-02-23  Juergen Vigna  <jug@sad.it>
2851
2852         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
2853         should be) and not an int.
2854
2855         * formulamacro.C (LocalDispatch): ditto.
2856
2857 2001-02-14  André Pönitz  <poenitz@gmx.net>
2858
2859         * math_parinset.[Ch]: make array a real MathArray, not just a
2860           pointer to one.
2861
2862         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
2863
2864         * several files: subsequent changes
2865
2866         * math_cursor.C: make selarray a proper MathArray
2867
2868         * several files: Change "MathedArray *" to "MathedArray &"
2869
2870
2871 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
2872
2873         * array.C (MathedArray): Fix compilation problem.
2874
2875 2001-02-14  André Pönitz  <poenitz@gmx.net>
2876
2877         * array.[Ch]: "deep" copy constructor and assignment operator for
2878         MathArray
2879
2880         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
2881
2882         * math_iter.[Ch]: remove SetData
2883           several files: subsequent changes
2884
2885 2001-02-14  André Pönitz  <poenitz@gmx.net>
2886
2887         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and
2888         ARRAY_STEP
2889
2890         * math_iter.C: default-construct and resize array
2891
2892 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2893
2894         * math_xiter.h: move ipush and ipop to public, add _ on private
2895         variables, move protected var to private, remove friend.
2896
2897         * math_cursor.C (insertInset): rename method from Insert also
2898         remove default arg val. Call the public methods of xiter instead
2899         of private variables.
2900
2901         * changes to several files because of the above.
2902
2903 2001-02-14  André Pönitz  <poenitz@gmx.net>
2904
2905         * math_iter.[Ch]: hide fcode_
2906         * math_xiter.C:
2907         * math_parinset.C: subsequent changes
2908
2909
2910 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2911
2912         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
2913         math_utils.h
2914
2915         * math_write.C: delete file
2916         * math_delim.C: delete file
2917         * marh_sqrtinset.h: delete file
2918
2919         * move funcs to more localized files, more general cleanup.
2920         Constify several local vars. Doxygen changes. Formatting.
2921
2922 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
2923
2924         * support.C: add some consts
2925
2926         * matriz.C: clean up a bit.
2927         (matmat): remove the for loop.
2928
2929         * several files: changes so that several friends can be removed
2930
2931 2001-02-14  André Pönitz  <poenitz@gmx.net>
2932
2933         * formula.C: reformatting
2934
2935         * math_cursor.[Ch]:
2936           math_iter.[Ch]:
2937           math_xiter.[Ch]: remove unneeded members
2938
2939 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2940
2941         * math_parser.C:
2942         * math_panel.C:
2943         * formula.C: remove cruft
2944
2945         * array.C (begin): new method
2946         (end): ditto
2947
2948 2001-02-14  André Pönitz  <poenitz@gmx.net>
2949
2950         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
2951
2952         * math_cursor.C: reformatting
2953
2954 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2955
2956         * math_spaceinset.C:
2957         * math_root.C:
2958         * math_matrixinset.C:
2959         * math_macrotemplate.C:
2960         * math_funcinset.C:
2961         * math_fracinset.C:
2962         * math_dotsinset.C:
2963         * math_deliminset.C:
2964         * math_decorationinset.C:
2965         * math_bigopinset.C:
2966         * math_accentinset.C:
2967         * math_sqrtinset.C: include LOstream.h and add using directive.
2968
2969 2001-02-14  André Pönitz  <poenitz@gmx.net>
2970
2971         * math_iter.C: reformatting
2972
2973 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2974
2975         * math_spaceinset.C (GetSpace): move here
2976
2977         * math_parinset.C: add debug.h, move several prev. inlined methods
2978         here.
2979
2980         * math_macrotable.C math_xiter.C support.C: add debug.h
2981
2982         * math_macro.h: remove debug.h, remove typedefs
2983
2984         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
2985         extern decls.
2986
2987         * math_hash.C: change some defines to int const. change use of
2988         LM_TC_NORMAL to LM_TC_VAR
2989
2990         * math_draw.C: delete file
2991
2992         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
2993         forward decls. remove LM_TC_NORMAL, move inline methods to
2994         support.C (and support.h)
2995
2996         * math_cursor.C: move several previous inlined methods here
2997
2998         * math_bigopinset.h math_dotsinset.h math_funcinset.h
2999         math_parinset.h math_spaceinset.h: add math_defs.h
3000
3001         * math_accentinset.h: add support.h and math_defs.h
3002
3003         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
3004
3005         * formula.h: remove unused func decl: OpenMathInset
3006
3007         * formula.C math_inset.h: get rid of math_defs.h
3008
3009         * array.h: switch to support.h instead of math_defs.h
3010
3011         * array.C: remove one include
3012
3013         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
3014
3015         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
3016
3017         * math_parser.C: include macrotable and macrotemplate
3018
3019         * math_macrotemplate.[Ch]: new files
3020
3021         * math_macrotable.[Ch]: new files
3022
3023         * math_macroarg.[Ch]: new files
3024
3025         * math_macro.C: move stuff to the new files.
3026
3027         * math_cursor.C: include math_macrotable.h
3028
3029         * macro_support.[Ch]: new files
3030
3031         * formulamacro.C: add more includes
3032
3033         * Makefile.am (libmathed_la_SOURCES): add new files.
3034
3035 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3036
3037         * Makefile.am (libmathed_la_SOURCES): remove duplicate
3038         math_sqrtinset.
3039
3040         * support.C:
3041         * math_xiter.C:
3042         * math_parinset.C: add a bunch of "using" directives.
3043
3044         * math_funcinset.h:
3045         * math_decorationinset.h:
3046         * math_bigopinset.h:
3047         * math_spaceinset.h: remove more couples of inline.
3048
3049 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
3050
3051         * math_xiter.h: remove a couple of "inline"
3052
3053         * array.C (strange_copy): fix bug (hopefully)
3054         * many files: add a lot of new files and move methods to the class
3055         files they belong to. Only first attempt at cleanup more will
3056         follow.
3057
3058 2001-02-12  André Pönitz  <poenitz@gmx.net>
3059
3060         * math_macro.[hC]: replace MathMacroArgument[] with
3061           std::vector<MathMacroArgument>
3062         * math_defs.h:
3063           math_inset.C: replace int[] with std::vector<int>
3064         * math_panel.h:
3065         * math_symbols.C: replace FL_OBJECTP[] with
3066         std::vector<FL_OBJECT*>
3067
3068 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
3069
3070         * math_defs.h (struct MathedRowSt): make all private variables end
3071         with '_', initialize in initializer list instead of in function
3072         body.
3073
3074 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
3075
3076         * formula.C (LocalDispatch): Change the default action of
3077         break-line to create an align* environment instead of eqnarray*.
3078
3079         * math_inset.C (Metrics): Correct drawing of the multline
3080         environment.
3081
3082 2001-02-12  André Pönitz  <poenitz@gmx.net>
3083
3084         * array.[hC]: replace private variable maxsize_ with call to
3085         bf_.size()
3086         * math_defs.h: replace int[] by std::vector<int> for
3087         MathedRowSt::widths
3088
3089 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3090
3091         * array.h: made all variables private, removed friend, added new
3092         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
3093         non const operator[] added setter for last and getter for maxsize.
3094         changed name from LyxArrayBase to MathedArray.
3095         changed name of some methods to start with lowerchar.
3096         moved inline methods to array.C
3097
3098         * math_iter.C + several file: changes because of the above.
3099
3100         * array.C: new file with the prev inline methods.
3101
3102 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
3103
3104         * Many files: add support for the align environment from amsmath.
3105
3106 2001-02-09  André Pönitz  <poenitz@gmx.net>
3107
3108         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
3109         * several files: subsequent changes
3110         * math_iter.h: remove unused prototype
3111         * array.h: ditto.
3112
3113 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3114
3115         * math_macro.C (draw): add .c_str() to .str() (useful when
3116         compiling with lyxstring, but STL sstream).
3117         (Metrics): ditto.
3118
3119 2001-02-08  André Pönitz  <poenitz@gmx.net>
3120
3121         * several files: get rid of reinterpret_cast.
3122
3123 2001-02-04  Allan Rae  <rae@lyx.org>
3124
3125         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
3126         just casting the variable.
3127
3128 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
3129
3130         * Many files: Add support for multline and alignat environments from
3131         amsmath.
3132
3133 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
3134
3135         * math_symbols.C (math_insert_greek): Move cursor right when
3136         unlocking the math inset.
3137
3138 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
3139
3140         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
3141
3142         * formula.C (LocalDispatch): Before inserting a label in an
3143         eqnarray, move the cursor to the top level.
3144
3145         * math_iter.C (getLabel): Test if crow == 0.
3146
3147 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3148
3149         * math_draw.C (Metrics): Use the correct GetString.