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