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