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