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