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