]> git.lyx.org Git - lyx.git/blob - src/mathed/ChangeLog
whitespace
[lyx.git] / src / mathed / ChangeLog
1 2002-01-09  Martin Vermeer <martin.vermeer@hut.fi>
2
3         * math_support.C: modified to support  a mathed pop-up for math 
4         size "styles" and font types.
5
6 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7
8         * math_defs.h: remove trailing comma from enum MathTextCodes.
9
10 2002-01-03  André Pönitz <poenitz@gmx.net>
11
12         * formulabase.[Ch]: implement simple search
13
14         * math_sizeinset.[Ch]: support for \displaystyle etc
15
16
17 2001-12-18  Dekel Tsur  <dekelts@tau.ac.il>
18
19         * math_macrotable.C (builtinMacros): Adjust kern values.
20
21 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
22
23         * math_atom.C:
24         * math_binaryopinset.C:
25         * math_binominset.C:
26         * math_casesinset.C:
27         * math_charinset.C:
28         * math_data.C:
29         * math_diminset.C:add missing config.h
30
31         * math_cursor.C:
32         * math_parser.C: move inludes around a bit.
33
34         * math_extinset.C: user boost::scoped_ptr
35
36         * math_parser.C: user std::fill to fill the catcodes. (please
37         check this one...), and some consts.
38         
39 2001-12-11  André Pönitz <poenitz@gmx.net>
40
41         * math_cursor.C: allow cut&paste of rectangular regions of cells
42
43 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
44
45         * math_kerninset.C (metrics): Consider lyxrc.zoom
46
47 2001-12-14  Dekel Tsur  <dekelts@tau.ac.il>
48
49         * math_support.C: Fix handling of \mathfrak font.
50
51 2001-12-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
52
53         * math_iterator.C (nextInset): compilation fix.
54
55 2001-12-11  André Pönitz <poenitz@gmx.net>
56
57         * math_defs.h:
58         * math_parser.C:
59         * math_hash.C: support for \mathfrak
60
61 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
62
63         * math_streamstr.C: #include <iostream> to compile with DEC cxx
64
65 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
66
67         * math_arrayinset.C:
68         * math_boxinset.C:
69         * math_decorationinset.C:
70         * math_deliminset.C:
71         * math_dotsinset.C:
72         * math_exfuncinset.C:
73         * math_exintinset.C:
74         * math_funcinset.C:
75         * math_funcliminset.C:
76         * math_hullinset.C:
77         * math_kerninset.C:
78         * math_limopinset.C:
79         * math_sizeinset.C:
80         * math_stringinset.C:
81         * math_symbolinset.C:
82         * math_unknowninset.C: include math_streamstr.h and remove
83         unneeded c_str()
84         
85         * math_symbolinset.[Ch]: add constructor taking string
86         
87         * math_mathmlstream.C: move includes around
88
89         * math_streamstr.[Ch]: add operator<<(Stream, string) for
90         NormalStream, MapleStream, MathMLStream and OctaveStream
91         
92         * math_gridinset.C: user LyXLength::zero
93         
94 2001-11-19  Angus Leeming  <a.leeming@ic.ac.uk>
95
96         * formula.C:
97         * math_arrayinset.C: add using std::getline directive.
98
99 2001-11-20 André Pönitz  <poenitz@gmx.net>
100         
101         * formulabase.C: fix mouse positioning using the cursor
102
103 2001-11-19  Dekel Tsur  <dekelts@tau.ac.il>
104
105         * math_mathmlstream.C (operator<<): Count '\n' chars
106
107 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
108
109         * math_macro.C
110         * math_hullinset.C:  Fixes to use the new LaTeXFeatures
111         correctly.
112
113 2001-11-07  André Pönitz  <poenitz@gmx.net>
114
115         * math_extern.C: support for integrals, sums, e^x, and d/dx
116
117 2001-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
118
119         * math_extern.C (extractNumber): 
120         (extractDiffExponent): add ugly .c_str()
121
122 2001-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
123
124         * math_arrayinset.C (MathArrayInset): 
125         * formula.C (pipeThroughMaple): 
126         (pipeThroughOctave): add ugly .c_str() to help compile
127         with lyxstring
128
129 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
130
131         * math_inset.C: compilation fix
132
133 2001-11-07  André Pönitz  <poenitz@gmx.net>
134
135         * math_*inset.[Ch]:
136         * array.[Ch]: start native C++ support for Octave, Maple and MathML
137
138 2001-10-31  Angus Leeming  <a.leeming@ic.ac.uk>
139
140         * math_defs.h: remove non-standard trailing comma from MathSymbolTypes.
141
142 2001-10-24  Angus Leeming  <a.leeming@ic.ac.uk>
143
144         * math_nestinset.C: added using std::max, min directives.
145         * math_scriptinset.C: added using std::ostream directive.
146         * math_scriptinset.h: replaced ostream with std::ostream.
147
148 2001-10-17  André Pönitz  <poenitz@gmx.net>
149
150         * math_*inset.[Ch]: remove MathStyles cache from insets that
151           don't need it
152
153         * support.C: 
154           formulabase.C: fix math font sizes in headings etc
155
156         * math_inset.[Ch]:
157           formula.C: remove unused static member int MathInset::workwidth
158
159         * math_gridinset.[Ch]: implement idxHome() and idxEnd()
160
161 2001-10-17  André Pönitz  <poenitz@gmx.net>
162
163         * math_inset.h:
164         * *.[Ch]: make output more stream-like
165
166 2001-10-17  André Pönitz  <poenitz@gmx.net>
167
168         * formula.C:
169         * array.C: add missing/broken  writeNormal()
170
171         * math_lefteqn.[Ch]: some visual support for \lefteqn
172
173
174 2001-10-10  André Pönitz  <poenitz@gmx.net>
175
176         * math_cursor.C: introduce dummy "inner" position "between"
177         nucleus and scripts for smoother cursor movement
178
179         * math_cursor.C: use red dot to indicate empty nucleus
180
181
182 2001-10-02  André Pönitz  <poenitz@gmx.net>
183
184         * math_cursor.C: leave red backslash as visual clue
185         in formula when typing macro names
186
187         *       math_macrotemplate.C: sanity check
188
189 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
190
191         * math_cursor.C:
192         * formula.C (localDispatch): fix a few of local variable sizes
193
194         * math_fracbase.C: change parameter types to match MathInset
195
196 2001-10-01  André Pönitz  <poenitz@gmx.net>
197
198         * math_cursor.[Ch]: remove local parInset() method
199
200         * math_macro.C: add a static_cast
201
202 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
203
204         * math_cursor.C: fix type mismatches with what was declared in
205         math_cursor.h. 
206
207 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
208
209         * math_matrixinset.C (header_write): Add \n after \begin{align}
210
211 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
212
213         * math_macrotable.C (builtinMacros): Add some macros if latex
214         fonts are available.
215
216 2001-09-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
217
218         * formula.C (insetAllowed): disallow label insertion in inline
219         formula
220
221 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
222
223         * formulabase.C (mathDispatchCreation): pass second argument
224         'false' (no label) to selectionAsString
225
226 2001-09-11  André Pönitz  <poenitz@gmx.net>
227
228         * math_atom.[Ch]: new basic item in the MathArray
229
230         * array.[Ch]: move code over to math_atom
231
232         * math_scriptinset.[Ch]:
233           math_parser.C:
234           math_cursor.C: try to do with super- and subscripts what TeX does
235
236 2001-09-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
237
238         * math_parser.C (tokenize): add a .c_str() (needed with lyxstring)
239
240 2001-09-04  André Pönitz  <poenitz@gmx.net>
241
242         * math_defs.h:
243         * math_parser.C:
244         * math_matrixinset.C: some support for the AMS 'alignat', 'xalignat',
245             'xxalignt', 'gather' and 'multiline' environments
246
247         * math_cursor.C: fix handling of | and \|
248         
249 2001-09-04  José Matos  <jamatos@fep.up.pt>
250
251         * formulabase.C
252         * formulabase.h
253         * formula.C
254         * formula.h
255         * formulamacro.C
256         * formulamacro.h (docbook): rename docBook method to docbook.
257
258 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
259
260         * math_hash.C (ReadSymbols): Check for duplicate symbols
261
262 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
263
264         * support.C: added a using std::map directive.
265
266 2001-08-17  André Pönitz  <poenitz@gmx.net>
267
268         * math_hash.C: Use std::map instead of faking it
269         
270         * symbol_def.h: remove unneeded symbol definitions
271
272         *       support.C: use the decorations' name for drawing
273
274 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
275
276         * math_hash.C (in_word_set): Initialize symbol table even when
277         symbols file was not found.
278
279 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
280
281         * math_hash.C: added a using std::endl directive.
282
283 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
284
285         * support.C (whichFont): Add support for cmr font.
286         Add support for \mathbb.
287
288         * math_notinset.C (draw, metrics): Use cmsy symbol if available.
289
290         * math_macrotable.C (builtinMacros): Add 3 builtin macros
291
292 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
293
294         * math_hash.C: Read symbols information from external file
295         many files: Add support for latex symbol fonts
296
297 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
298
299         * math_parser.C (Parser): Eat spaces after \end_inset
300
301 2001-08-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
302
303         * math_parser.C (tokenize): fix typo
304
305 2001-08-17  André Pönitz  <poenitz@gmx.net>
306
307         * math_parser.C: new "lexxer"
308
309         * array.C: write sequences of chars with same code as a unit
310
311 2001-08-13  André Pönitz  <poenitz@gmx.net>
312
313         * math_factory.[Ch]: new files for the creation of math insets
314
315         * math_parser.C:
316                 math_cursor.C:
317                 math_hash.C: simplifications
318
319         * math_binom.[Ch]: new files for "native" \binom/\choose inset
320
321         * math_parser.C:
322                 math_cursor.C: reading support for TeX style \over and \choose
323
324         * formulabase.C: re-enabling the "selected text gets converted to
325         math when pressing C-m" feature.
326
327 2001-08-13  Angus Leeming  <a.leeming@ic.ac.uk>
328
329         * math_parser.C (lexArg): remove default argument from the .C file
330         as it causes DEC cxx to complain about a redefinition.
331
332 2001-08-10  André Pönitz  <poenitz@gmx.net>
333
334         *       math_scopeinset.[Ch]: new inset for {} blocks
335
336         *       math_accentinset.[Ch]: removed unneeded files
337
338         * math_grid.[Ch]:
339           math_matrix.[Ch]: start support for "interrow spacing"
340
341         * all over the place: rework of parser stuff
342
343 2001-08-08  André Pönitz  <poenitz@gmx.net>
344
345         *       math_fracbase.[Ch]:
346         * math_fracinset.[Ch]: new hierarchy
347
348         *       math_stackrelbase.[Ch]: native \stackrel support
349
350         * math_inset.[Ch]: removal of the name_ member
351
352         * math_deliminset.[Ch]: rework
353
354 2001-08-06  André Pönitz  <poenitz@gmx.net>
355
356         * formulamacro.C: fix nasty bug due to missing copy constructor
357
358         * math_bigopinset.[Ch]: revival for things like \int, \sum
359
360         * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min...
361         
362         * math_diminset.h: make cache variables mutable, remove const_cast
363
364         * formulabase.[Ch]: remove unneeded convertFont()
365
366         * math_funcinset.[Ch]: bring red color back
367
368         * math_macro*.[Ch]: move ownership of the templates from the formulamacro
369         inset to the mcaro table
370
371 2001-08-01  André Pönitz  <poenitz@gmx.net>
372
373         * math_cursor.C:
374                 formulamacro.C: fix memory leaks
375
376         * math_matrixinset.C: fix mis-alignment of eqnarray columns
377
378         *       formula*.[Ch]: seperation of the "pimpl" MathInset * into
379         MathMatrixInset * and MathMacroTemplate * to save a few casts
380
381         * all over the place: everything is an inset now
382
383         * math_nestinset.[Ch]: new abstract base class for insets containing
384         other insets.
385
386         * math_diminset.[Ch]: new abstract base class for insets that need
387         the width_/ascent_/descent_ cache
388
389 2001-07-25  André Pönitz  <poenitz@gmx.net>
390         
391         * formulabase.C: re-enable 'space enlargement' feature
392
393         * math_scriptinset.C:
394                 math_bigopinset.C: rework of script insets
395
396 2001-07-22  André Pönitz  <poenitz@gmx.net>
397
398         * math_cursor.C: fix "pullArg" behaviour
399
400         * math_cursor.C: keep empty super/subscript a bit longer
401
402         * math_cursor.C: do not move into insets that don't have inner cells yet
403
404         * formulabase.C: fix memory leak
405
406         * math_cursor.C: ^ now copies selection into new srriptinset
407         
408         * xarray.C: less crude MathXArray::x2pos for preciser cursor positioning
409           using the mouse
410
411         * math_updowninset.C: fix drawing glitches
412
413         * math_cursor.C: paste to correct position
414
415 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * formula.C (insetAllowed): allow insertion of label
418
419 2001-07-20 André Pönitz  <poenitz@gmx.net>
420
421         * math_macrotable.C: support for \land and \vee
422
423 2001-07-16 André Pönitz  <poenitz@gmx.net>
424
425         * math_grid.[Ch] -> math_gridinset.[Ch]
426           math_root.[Ch] -> math_rootinset.[Ch]: more consistent names
427
428         * formulabase.C: fix 'buffer set to (Changed) when moving in math',
429           fix 'mathed reports wrong width', cosmetics
430
431 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
432
433         * math_cursor.C (operator==): moved ouf of struct
434         (operator<): ditto
435         (normalAnchor): reversed one test (but shouldn't it really be >= ?)
436
437 2001-07-16 André Pönitz  <poenitz@gmx.net>
438
439         * math_cursor.[hC]: multicell selection (multicell pasete still defunct)
440
441         * several files: supporting changes
442
443 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
444
445         Consistent use of Lsstream.h:
446         * formula.C: removed using std::ostringstream directive.
447
448         * math_cursor.C: std::istringstream -> istringstream.
449
450 2001-07-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
451
452         * math_decorationinset.h: add std:: qualifier
453
454 2001-07-12 André Pönitz  <poenitz@gmx.net>
455
456         * math_updowninset.[hC]: new base class for script and bigop insets
457                 *.[hC]: subsequent changes to all Metric() functions
458         
459         * math_parser.C: small changes (\sqrt0 is read properly now)
460         
461 2001-07-10 André Pönitz  <poenitz@gmx.net>
462         
463         * math_accentinset.[hC]: rewrite
464
465         * math_parser.C:
466                 math_cursor.C: subsequent changes
467
468         * math_grid.C: <Delete> in the first cell of a completely empty row
469           deletes that row, <C-Return> places the cursor in the first of the
470           new empty cells.
471
472         * math_grid.C: try to split cell nicely when mutating from single-cell
473           to multi-cell environment
474
475 2001-07-09  Dekel Tsur  <dekelts@tau.ac.il>
476
477         * math_matrixinset.C (mutate): Use only the first label when
478         mutating eqnarray to display formula.
479
480 2001-07-09  Juergen Vigna  <jug@sad.it>
481
482         * formulabase.C (mathDispatchCreation): don't do anything with the
483         inset if it cannot be inserted!
484
485 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
486
487         * formulabase.C (mathDispatchInsertMath): remove bogus return
488         statement. 
489
490 2001-07-09 André Pönitz  <poenitz@gmx.net>
491
492         * math_*inset.C: Change order of arguments in MathInset constructor 
493
494         * math_cursor.C: Remove broken "increase space" feature for a while
495
496 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
497
498         * formulabase.C (mathDispatchInsertMath): Create an inline formula.
499
500 2001-07-04 André Pönitz  <poenitz@gmx.net>
501
502         * math_parser.C: fix reading of "unusual" alpha chars
503
504         * xarray.[hC]: fix debug output of xarray
505
506 2001-07-03 André Pönitz  <poenitz@gmx.net>
507
508         * math_parser.C: fix bug where equations did not get their labels
509
510         * formulabase.C: new feature: changing font on selection
511
512         * several files: subsequent changes
513
514         * array.C: fix bug when insets have not been cloned properly
515         This should fix quite a few "random" crashes...
516
517 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
518
519         * formulabase.C (localDispatch): use .c_str() on istringstream
520         constructor argument.
521
522 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
523
524         * math_grid.C (addCol): add second argument to cellinfo_.insert.
525         Cleanup a bit the code.
526         (appendRow): do not call push_back without argument.
527
528         * *.C: remove all "using namespace std" directives (not
529         good!!) and replaced it with relevant "using" directives.
530         
531         * math_macrotemplate.C (Clone): change return type to MathInset*
532
533 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
534
535         * math_sizeinset.C: include support/LOstream.h
536
537         * math_scriptinset.C (Metrics): std:: qualify max
538
539         * math_root.C (Metrics): std:: qualify max
540         (Write): std:: qualify ostream
541         (WriteNormal): ditto
542
543         * math_matrixinset.C (getLabelList): std:: qualify vector
544         include vector
545         (Metrics): std:: qualify max
546         (header_write): std:: qualify ostream
547         (footer_write): ditto
548
549         * math_macrotemplate.C (Write): std:: qualify ostream
550
551         * math_bigopinset.C (Metrics): std:: qualify max, and include
552         functional 
553
554         * math_matrixinset.h: include vector and std:: qualify it.
555
556         * array.C (GetInset): get a pointer to the first element of bf_
557         not an iterator.
558
559 2001-06-25  The LyX Project  <Asger>
560
561         * math_scriptinset.C: Fix for entering with cursor up/down.
562
563         * math_fracinset.C: We can enter fractions with cursor up and
564         down.
565
566         * math_cursor.C (Right): Fixes for cursor movement.
567
568         * formula.C (draw): New background color for math.
569         
570         * math_cursor.C: Fixes for toggling labels on/off in math.
571         Fixes for infinity and other symbols that didn't appear in
572         LaTeX.
573
574 2001-06-24  The LyX Project  <Asger>
575
576         * math_inset.C: Cursor movement is better in square roots, among
577         other things.
578
579         * math_cursor.C (Interpret): Improved subscript bullshit. Improved
580         cursor up/down movement. What not.
581
582 2001-06-24  The LyX Project  <Asger>
583
584         * math_matrixinset.C: Hidden labels are hidden, unless a small
585         dragon jumps out of the screen, and pronounce them to the entire
586         world.
587
588 2001-06-24  The LyX Project  <Easter egg>
589
590         * math_cursor.C: Cursor improvements after a few dead-ends
591         in the evolution of cursor movement were tested and scrapped.
592         
593 2001-06-24  The LyX Project  <Asger>
594
595         * math_cursor.C: Renamed stack to path.
596
597 2001-06-24  The LyX Project  <André>
598
599         * *.[Ch]:
600           Makefile.am: The Big Patch
601           (rewrite of MathArray, MathCursor, MathMatrixInset, MathBigopInset;
602      new MathScriptInset for up/down stuff;
603            delete MathIter/MatXIter, MathParInset, MathRowSt
604      Changes to the inset inheritance tree, reunification of abstract math
605      inset base classes;
606      label/numbering handling back to life;
607      major changes to the parser(s);
608      new base class FormulaBase for the two math LyXInsets;
609            general cleanup and cosmetic changes)
610
611 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
612
613         * math_macro.C:
614         * math_root.C: removed // -*- C++ -*- as first line.
615
616 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
617
618         * array.C: bring memmove into main namespace if necessary
619
620 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
621
622         * math_parser.C (yylex): use contains instead of strchr
623         (parse_align): remove last arg, change to take string const & as
624         first arg.
625         (mathed_parse): use string for ar2 and ar, adjust
626
627         * math_decorationinset.C (Write): use compare instead of strcmp
628
629         * formula.C (LocalDispatch): change arg2 to string, adjust for this
630         (LocalDispatch): add std::
631         (LocalDispatch): use contains instead of strchr
632
633         * array.C (move): add std::
634
635 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
636
637         * matriz.C: add using directives when needed for C functions
638         declared in std:: namespace.
639
640         * math_macrotemplate.h: do not use explicitely std::string, but
641         string. 
642
643         * math_macroarg.C: avoid bringing the whole std:: namespace in
644         global-land. When you do that, there is an ambiguity between
645         lyxstring and std::string (which may be defined at the same time).
646
647         * formula.C (HandleExtern): add .c_str() to .str() (useful when
648         using lyxtring)
649
650 2001-04-27 André Pönitz  <poenitz@gmx.net>
651
652         * math_parser.C: fix \frac handling bug introduced on 04-24
653         * math_xiter.C: hotfix for merging "shared" insets
654         * formula.C: fixing display after using math-insert
655
656 2001-04-25 André Pönitz  <poenitz@gmx.net>
657
658         * math_*.[Ch]: WriteNormal
659         * formula.C: Support for new "math extern" command
660         * math_parser.C: fix \frac handling bug introduced on 04-24
661         * math_xiter.C: hotfix for merging "shared" insets
662
663 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
664
665         * math_macrotable.C: include <iostream>
666
667 2001-04-24 André Pönitz  <poenitz@gmx.net>
668
669         * math_macro.[Ch]:
670         * math_macrotable.[Ch]:
671         * math_macroarg.[Ch]: restructuring of macro handling
672         * several files: 
673
674 2001-04-25  Angus Leeming  <a.leeming@ic.ac.uk>
675
676         * array.h (operator<<):
677         * math_macro.h (dump, operator<<): added std:: qualifier to ostream.
678
679         * math_macrotable.C: added using std::make_pair directive.
680         (dump): added using std::cerr directive here as I guess that this is
681         temporary.
682
683 2001-04-20  Allan Rae  <rae@lyx.org>
684
685         * formula.C (LocalDispatch): fixed another #warning.  Guess who.
686
687 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
688
689         * math_macrotemplate.h: inherit privately from noncopyable
690
691         * math_macro.C (Metrics): reindent, use unsigned int as loop var
692         (setArgumentIdx): change test to avoid unsigned warning
693
694         * formula.C (LocalDispatch): use LFUN_MESSAGE
695
696 2001-04-16  Allan Rae  <rae@lyx.org>
697
698         * formula.C (Latex, getLabelList, LocalDispatch): 
699         * math_parser.C (mathed_parse): 
700         * math_parinset.C (Write): #warning triggers an error on Sun CC 6.0 as
701         an unrecognised preprocessor directive.  So ensure they're wrapped.
702
703 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
704
705         * formula.C (draw): adjust for cursor_visible
706         (ToggleInsetCursor): adjust for cursor_visible and constify asc
707         and desc
708         (ShowInsetCursor): adjust for cursor_visible and constify asc and desc
709         (HideInsetCursor): adjust for cursor_visible
710         (LocalDispatch): constify default_label and res
711
712 2001-03-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
713
714         * math_rowst.C: add missing #include <config.h>.
715
716 2001-03-16  André Pönitz  <poenitz@gmx.net>
717
718         * math_matrixinset.h:
719         * math_parinset.[Ch]:
720         * math_rowst.[Ch]: move MathedRowContainer::row_ to the base
721       
722 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
723
724         * Makefile.am:
725         * formula.C:
726         * math_forms.h:
727         * math_forms.C:
728         * math_panel.h:
729         * math_panel.C:
730         * math_symbols.C: maths panel moved to GUII
731
732 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
733
734         * math_cursor.C: use lyxerr instead of cerr.
735
736 2001-03-15  André Pönitz  <poenitz@gmx.net>
737
738         * math_cursor.C: fix bug (cursor was leaving two insets at a time
739            instead of one)
740
741 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
742
743         * math_macrotable.h: noncopyable is in namespace boost
744         * math_macrotemplate.h: ditto
745
746         * math_rowst.h: make MathedRowContainer::iterator public.
747
748 2001-03-15  André Pönitz  <poenitz@gmx.net>
749
750         * math_parser.C: read '\nonumber' again (was broken)
751
752         * math_rowst.C: new file
753
754 2001-03-15  Angus Leeming  <a.leeming@ic.ac.uk>
755
756         * math_cursor.C: added using directive.
757
758 2001-03-15  André Pönitz  <poenitz@gmx.net>
759
760         * math_rowst.h: Finally remove MathedRowSt
761
762         * math_parser.C:
763           math_xiter.C: changed accordingly
764
765 2001-03-12  André Pönitz  <poenitz@gmx.net>
766
767         *       math_rowst.h: replace MathedRowSt with MathedRowStruct,
768             more robust MathedRowSt::[gs]etTab (to get rid of the constructor arg)
769
770 2001-03-10  André Pönitz  <poenitz@gmx.net>
771
772         * math_xiter.[Ch]:
773           math_matrixinset.C: move adjustVerticalSt to the only place where
774       it is used. Fix a small bug where the cached row structure and the
775             actual data get out of sync after the deletion of whole rows
776
777 2001-03-09  André Pönitz  <poenitz@gmx.net>
778
779         * math_cursor.C: use std::vector<> in MathStackXIter
780                 change selstk from a pointer to the "real thing"
781
782         * math_rowst.h: new MathedRowContainer::erase method
783
784         * math_xiter.C: use MathedRowContainer::erase
785
786         * math_parser.C: use MathedRowContainer::insert_after
787
788 2001-03-08  André Pönitz  <poenitz@gmx.net>
789
790         * math_rowst.h: give MathedRowContainer an 'insert' method. 
791
792         * math_xiter.C: new 'container()' method to encapsulated access to
793           the MathParInset's MathedRowContainer
794
795         * math_rowst.h: proper copy constructor and destructor for
796           MathedRowContainer
797
798         * math_matrixinset.[hC]: remove copy constructr and destructor. Those
799           automatically created by the compiler are ok now.
800         
801 2001-03-06  André Pönitz  <poenitz@gmx.net>
802
803         * array.[Ch]: factor out deep_copy,
804           remove third argument from raw_pointer_insert 
805
806         * math_iter.[Ch]: remove unused function Clear()        
807
808         * math_cursor.C: change signature of MathStackXIter:push()
809           whitespace changes
810
811         * math_rowst.h: introduction of MathRowContainer
812           several files: corresponding changes
813
814 2001-03-04  André Pönitz  <poenitz@gmx.net>
815
816   * math_macrotemplate.[Ch]:
817     math_macro.C: move update() functionality to the macro
818
819         * math_rowst.h: split MathedRowSt into "data" and "list"
820
821 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
822
823         * math_macrotemplate.C (update): use MathMacro::getArg, and
824         receive a const reference.
825         (getMacroPar): add an Assert
826
827         * math_macrotemplate.h: make MathMacro a friend, make update take
828         a const reference.
829
830         * math_macro.[hC]: get rid of getRowSt, remove MacroArgumentBase
831         and store a MathMacroArgument in the vector
832         * math_macro.C: changes because of the above.
833         (getArg): new method
834
835         * math_parser.C (mathed_parse): plug potential leak
836
837         * math_iter.h: add comment on virtual destructor
838
839         * math_iter.C (Delete): make c const
840
841         * math_parinset.C (Metrics): cleanup indent. make one string const.
842
843         * math_inset.C (size): move out of line
844         (incSize): ditto
845
846         * math_macroarg.h: remove default constructor
847
848         * math_macroarg.C: include Lsstream.h instead of debug.h
849         (MathMacroArgument): remove default constructor
850         (Write): add std:: on ostream arg
851
852 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
853
854         * math_parser.C:
855         * formula.C: make DEBUG into lyxerr
856
857 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
858
859         * math_macrotemplate.h: make noncopyable, remove last arg to
860         constructor, remove flags_ add edit_
861         (flags): remove method
862
863         * math_macrotemplate.C (setArgument): delete method
864         (update): make idx const
865         (Metrics): use edit_, remove flags_
866         (draw): use edit_, remove flags_
867         (setEditMode): set edit_, remove flags_
868         (MathMacroTemplate): initialize edit_, remove flags_
869
870         * math_macro.h: remove x,y from MacroArgumentBase, make tmplate_ a
871         shared_ptr, let constructor take a shared_ptr
872
873         * math_macro.C (MathMacro): take shared_ptr as arg, remove double
874         initialization. 
875         (draw): remove unneded update, remove removed update of x,y
876         (GetXY): call tmplates GetMacroXY directly
877         (SetFocus): call Metrics() instead of update()
878         (Write): remove support for math macro environments, simplifications.
879
880         * math_macrotable.h: make class noncopyable, change getMacro to
881         createMacro, change vector to map store a
882         shared_ptr<MathMacroTemplate> in it., remove unneeded typedef
883
884         * math_macrotable.C: add pragma
885         (createMacro): change name from getMacro, use shared_ptr
886         (getTemplate): Use map lookup to get macro, return shared_ptr
887         (addTemplate): assert that m containse a valid pointer, use map[]
888         insert.
889         (builtinMacros): by using shared_ptr fix the mem leak, remove
890         commented out unsupported macros
891
892         * math_cursor.C: changes because of the above
893         * math_parser.C: changes because of the abobe
894         
895         * formulamacro.h: change tmacro_ to be a shared_ptr, remove
896         default arg on constructor.
897         * formulamacro.C: changes because of the above
898
899         * math_parinset.h: add pragma
900         (SetAlign): move inline out of class def
901         (GetColumns): ditto
902         (GetRows): ditto
903         (isMatrix): ditto
904         (setArgumentIdx): ditto
905         (setNextArgIdx): ditto
906         (getArgumentIdx): ditto
907         (getMaxArgumentIdx): ditto
908         (setRowSt): ditto
909         (xo): ditto
910         (yo): ditto
911
912         * math_parinset.C: add pragma
913         (Write): change the else clause, lessen depth
914
915         * math_macroarg.h: small whitespace change
916
917         * array.C: include support/LOstream.h add using ostream and endl
918
919         * array.h (dump): add std:: on ostream
920
921 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
922
923         * math_macrotemplate.h: remove default arg on update
924
925         * math_macrotemplate.C (update): add assert and remove noop case.
926
927         * formulamacro.C (Read): add comment.
928         (ascent): remove noop call to MathMacroTemplate
929         (descent): ditto
930         (width): ditto
931         (draw): ditto
932
933         * math_parser.C (mathed_parse): fix another potential problem by
934         passing a freestanding mathedarray.
935
936         * math_root.C (GetData): add const version
937
938         * math_parinset.C (~MathParInset): delete
939         (GetData): add const version
940
941         * math_matrixinset.C (MathMatrixInset): delete pointer version,
942         make it a proper copy constructor instead
943         (Clone): change acc.
944         (MathMatrixInset): remvoe default val for m and n
945
946         * math_macro.C (GetData): add const version
947
948         * math_fracinset.C (GetData): add const version
949
950         * math_cursor.C (SelCopy): make p1 and p2 const
951         (SelCut): make p1 and p2 const
952
953         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
954         (LyxCode): move inline out of class
955         (ConvertFont): ditto
956         (display): ditto
957
958         * array.[Ch] (dump): method added for debugging purposes
959
960         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
961         mathed_parse when reading a matrix.
962
963         * math_spaceinset.[Ch]: add pragma, make variables private add
964         '_', change order of method definitions.
965
966         * math_root.h (~MathRootInset): delete
967         Change uroot_ to be a real object instead of a pointer
968         * math_root.C: changes because of the above
969
970         * math_macro.C (MathMacro(MathMacro*)): delete constructor
971         (MathMacro(MathMacro const &)): new copy constructor
972
973         * math_inset.h: delete constructor taking a pointer to MathedInset
974         (size, incSize): move inline method
975
976         * math_funcinset.h: add pragma, remove class vars ln and fname,
977         change protected to private, add '_' to priv vars.
978         (~MathFuncInset): remove
979
980         * math_fracinset.h: make MathParInset den_ a real object and not a
981         pointer. 
982
983         * math_fracinset.C (MathFracInset): clean up, move initalization
984         to initialization list
985         (~MathFracInset): remove
986         (Clone): remove leak
987
988         * math_draw.C: delete file
989         
990         * math_dotsinset.[Ch]: add pragma
991
992         * math_bigopinset.h: make protected variables private add '_' to vars.
993
994         * math_bigopinset.C: move methods to follow class definition order
995
996         * math_accentinset.h (getAccentCode): move inline here
997
998         * math_accentinset.C (MathAccentInset): cleanup
999         (draw): constify dw
1000
1001 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1002
1003         * math_inset.[Ch] (MathedInset): remove method
1004
1005         * Makefile.am (libmathed_la_SOURCES): correct typo
1006
1007         * math_parinset.C (draw): move MathedXiter data(this) up. and
1008         remove it two other places.
1009
1010         * math_macro.C (MathMacro): use array directly, don't use
1011         setArgumentIdx and GetData
1012
1013 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1014
1015         * math_macroarg.C (MathMacroArgument): delete
1016         * math_macro.C (~MathMacro): delete
1017         * math_macrotemplate.C (~MathMacroTemplate): delete
1018         
1019         * math_decorationinset.[Ch]: add pragma
1020         * math_deliminset.[Ch]: likewise
1021         * math_fracinset.[Ch]: likewise
1022         * math_macroarg.[Ch]: likewise
1023         * math_macrotemplate.[Ch]: likewise
1024         * math_matrixinset.[Ch]: likewise
1025         
1026         * formulamacro.C (Read): set contents of tmacro_ to ar.
1027
1028         * formulamacro.h: add '_' to private variables.
1029         * formalamacro.C: changes because of this.
1030
1031 2001-02-23  Juergen Vigna  <jug@sad.it>
1032
1033         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
1034         should be) and not an int.
1035
1036         * formulamacro.C (LocalDispatch): ditto.
1037
1038 2001-02-14  André Pönitz  <poenitz@gmx.net>
1039
1040         * math_parinset.[Ch]: make array a real MathArray, not just a
1041           pointer to one.
1042
1043         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
1044
1045         * several files: subsequent changes
1046         
1047         * math_cursor.C: make selarray a proper MathArray
1048
1049         * several files: Change "MathedArray *" to "MathedArray &"
1050
1051
1052 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
1053
1054         * array.C (MathedArray): Fix compilation problem.
1055
1056 2001-02-14  André Pönitz  <poenitz@gmx.net>
1057
1058         * array.[Ch]: "deep" copy constructor and assignment operator for
1059         MathArray 
1060
1061         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
1062
1063         * math_iter.[Ch]: remove SetData
1064           several files: subsequent changes
1065
1066 2001-02-14  André Pönitz  <poenitz@gmx.net>
1067
1068         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and
1069         ARRAY_STEP 
1070
1071         * math_iter.C: default-construct and resize array
1072
1073 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1074
1075         * math_xiter.h: move ipush and ipop to public, add _ on private
1076         variables, move protected var to private, remove friend.
1077
1078         * math_cursor.C (insertInset): rename method from Insert also
1079         remove default arg val. Call the public methods of xiter instead
1080         of private variables.
1081
1082         * changes to several files because of the above.
1083         
1084 2001-02-14  André Pönitz  <poenitz@gmx.net>
1085
1086         * math_iter.[Ch]: hide fcode_
1087         * math_xiter.C:
1088         * math_parinset.C: subsequent changes
1089
1090
1091 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1092
1093         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
1094         math_utils.h
1095
1096         * math_write.C: delete file
1097         * math_delim.C: delete file
1098         * marh_sqrtinset.h: delete file
1099
1100         * move funcs to more localized files, more general cleanup.
1101         Constify several local vars. Doxygen changes. Formatting.
1102         
1103 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
1104
1105         * support.C: add some consts
1106
1107         * matriz.C: clean up a bit.
1108         (matmat): remove the for loop.
1109
1110         * several files: changes so that several friends can be removed
1111
1112 2001-02-14  André Pönitz  <poenitz@gmx.net>
1113
1114         * formula.C: reformatting 
1115
1116         * math_cursor.[Ch]:
1117           math_iter.[Ch]:
1118           math_xiter.[Ch]: remove unneeded members
1119
1120 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1121
1122         * math_parser.C: 
1123         * math_panel.C: 
1124         * formula.C: remove cruft
1125
1126         * array.C (begin): new method
1127         (end): ditto
1128
1129 2001-02-14  André Pönitz  <poenitz@gmx.net>
1130         
1131         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
1132
1133         * math_cursor.C: reformatting 
1134
1135 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1136
1137         * math_spaceinset.C: 
1138         * math_root.C: 
1139         * math_matrixinset.C: 
1140         * math_macrotemplate.C: 
1141         * math_funcinset.C: 
1142         * math_fracinset.C: 
1143         * math_dotsinset.C: 
1144         * math_deliminset.C: 
1145         * math_decorationinset.C: 
1146         * math_bigopinset.C: 
1147         * math_accentinset.C: 
1148         * math_sqrtinset.C: include LOstream.h and add using directive.
1149
1150 2001-02-14  André Pönitz  <poenitz@gmx.net>
1151
1152         * math_iter.C: reformatting 
1153
1154 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1155
1156         * math_spaceinset.C (GetSpace): move here
1157
1158         * math_parinset.C: add debug.h, move several prev. inlined methods
1159         here. 
1160
1161         * math_macrotable.C math_xiter.C support.C: add debug.h
1162
1163         * math_macro.h: remove debug.h, remove typedefs
1164
1165         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
1166         extern decls.
1167
1168         * math_hash.C: change some defines to int const. change use of
1169         LM_TC_NORMAL to LM_TC_VAR
1170
1171         * math_draw.C: delete file
1172
1173         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
1174         forward decls. remove LM_TC_NORMAL, move inline methods to
1175         support.C (and support.h)
1176
1177         * math_cursor.C: move several previous inlined methods here
1178
1179         * math_bigopinset.h math_dotsinset.h math_funcinset.h
1180         math_parinset.h math_spaceinset.h: add math_defs.h
1181
1182         * math_accentinset.h: add support.h and math_defs.h
1183
1184         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
1185
1186         * formula.h: remove unused func decl: OpenMathInset
1187
1188         * formula.C math_inset.h: get rid of math_defs.h
1189
1190         * array.h: switch to support.h instead of math_defs.h
1191
1192         * array.C: remove one include
1193
1194         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
1195
1196         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
1197
1198         * math_parser.C: include macrotable and macrotemplate
1199
1200         * math_macrotemplate.[Ch]: new files
1201
1202         * math_macrotable.[Ch]: new files
1203
1204         * math_macroarg.[Ch]: new files
1205
1206         * math_macro.C: move stuff to the new files.
1207
1208         * math_cursor.C: include math_macrotable.h
1209
1210         * macro_support.[Ch]: new files
1211
1212         * formulamacro.C: add more includes
1213
1214         * Makefile.am (libmathed_la_SOURCES): add new files.
1215
1216 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1217
1218         * Makefile.am (libmathed_la_SOURCES): remove duplicate
1219         math_sqrtinset. 
1220
1221         * support.C: 
1222         * math_xiter.C: 
1223         * math_parinset.C: add a bunch of "using" directives.
1224
1225         * math_funcinset.h: 
1226         * math_decorationinset.h: 
1227         * math_bigopinset.h: 
1228         * math_spaceinset.h: remove more couples of inline.
1229
1230 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
1231
1232         * math_xiter.h: remove a couple of "inline"
1233
1234         * array.C (strange_copy): fix bug (hopefully) 
1235         * many files: add a lot of new files and move methods to the class
1236         files they belong to. Only first attempt at cleanup more will
1237         follow.
1238         
1239 2001-02-12  André Pönitz  <poenitz@gmx.net>
1240         
1241         * math_macro.[hC]: replace MathMacroArgument[] with
1242           std::vector<MathMacroArgument>
1243         * math_defs.h:
1244           math_inset.C: replace int[] with std::vector<int>
1245         * math_panel.h:
1246         * math_symbols.C: replace FL_OBJECTP[] with
1247         std::vector<FL_OBJECT*>
1248         
1249 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1250
1251         * math_defs.h (struct MathedRowSt): make all private variables end
1252         with '_', initialize in initializer list instead of in function
1253         body.
1254
1255 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
1256
1257         * formula.C (LocalDispatch): Change the default action of
1258         break-line to create an align* environment instead of eqnarray*.
1259
1260         * math_inset.C (Metrics): Correct drawing of the multline
1261         environment.
1262
1263 2001-02-12  André Pönitz  <poenitz@gmx.net>
1264         
1265         * array.[hC]: replace private variable maxsize_ with call to
1266         bf_.size()
1267         * math_defs.h: replace int[] by std::vector<int> for
1268         MathedRowSt::widths
1269
1270 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1271
1272         * array.h: made all variables private, removed friend, added new
1273         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
1274         non const operator[] added setter for last and getter for maxsize.
1275         changed name from LyxArrayBase to MathedArray.
1276         changed name of some methods to start with lowerchar.
1277         moved inline methods to array.C
1278         
1279         * math_iter.C + several file: changes because of the above.
1280
1281         * array.C: new file with the prev inline methods.
1282         
1283 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1284
1285         * Many files: add support for the align environment from amsmath.
1286
1287 2001-02-09  André Pönitz  <poenitz@gmx.net>
1288
1289         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
1290         * several files: subsequent changes         
1291         * math_iter.h: remove unused prototype
1292         * array.h: ditto.
1293
1294 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1295
1296         * math_macro.C (draw): add .c_str() to .str() (useful when
1297         compiling with lyxstring, but STL sstream).
1298         (Metrics): ditto.
1299
1300 2001-02-08  André Pönitz  <poenitz@gmx.net>
1301
1302         * several files: get rid of reinterpret_cast.
1303
1304 2001-02-04  Allan Rae  <rae@lyx.org>
1305
1306         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
1307         just casting the variable.
1308
1309 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1310
1311         * Many files: Add support for multline and alignat environments from 
1312         amsmath.
1313
1314 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1315
1316         * math_symbols.C (math_insert_greek): Move cursor right when
1317         unlocking the math inset.
1318
1319 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1320
1321         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
1322
1323         * formula.C (LocalDispatch): Before inserting a label in an
1324         eqnarray, move the cursor to the top level.
1325
1326         * math_iter.C (getLabel): Test if crow == 0.
1327
1328 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1329
1330         * math_draw.C (Metrics): Use the correct GetString.
1331