1 2001-03-01 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * math_parinset.h: add pragma
4 (SetAlign): move inline out of class def
8 (setArgumentIdx): ditto
10 (getArgumentIdx): ditto
11 (getMaxArgumentIdx): ditto
16 * math_parinset.C: add pragma
17 (Write): change the else clause, lessen depth
19 * math_macroarg.h: small whitespace change
21 * array.C: include support/LOstream.h add using ostream and endl
23 * array.h (dump): add std:: on ostream
25 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
27 * math_macrotemplate.h: remove default arg on update
29 * math_macrotemplate.C (update): add assert and remove noop case.
31 * formulamacro.C (Read): add comment.
32 (ascent): remove noop call to MathMacroTemplate
37 * math_parser.C (mathed_parse): fix another potential problem by
38 passing a freestanding mathedarray.
40 * math_root.C (GetData): add const version
42 * math_parinset.C (~MathParInset): delete
43 (GetData): add const version
45 * math_matrixinset.C (MathMatrixInset): delete pointer version,
46 make it a proper copy constructor instead
48 (MathMatrixInset): remvoe default val for m and n
50 * math_macro.C (GetData): add const version
52 * math_fracinset.C (GetData): add const version
54 * math_cursor.C (SelCopy): make p1 and p2 const
55 (SelCut): make p1 and p2 const
57 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
58 (LyxCode): move inline out of class
62 * array.[Ch] (dump): method added for debugging purposes
64 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
65 mathed_parse when reading a matrix.
67 * math_spaceinset.[Ch]: add pragma, make variables private add
68 '_', change order of method definitions.
70 * math_root.h (~MathRootInset): delete
71 Change uroot_ to be a real object instead of a pointer
72 * math_root.C: changes because of the above
74 * math_macro.C (MathMacro(MathMacro*)): delete constructor
75 (MathMacro(MathMacro const &)): new copy constructor
77 * math_inset.h: delete constructor taking a pointer to MathedInset
78 (size, incSize): move inline method
80 * math_funcinset.h: add pragma, remove class vars ln and fname,
81 change protected to private, add '_' to priv vars.
82 (~MathFuncInset): remove
84 * math_fracinset.h: make MathParInset den_ a real object and not a
87 * math_fracinset.C (MathFracInset): clean up, move initalization
88 to initialization list
89 (~MathFracInset): remove
92 * math_draw.C: delete file
94 * math_dotsinset.[Ch]: add pragma
96 * math_bigopinset.h: make protected variables private add '_' to vars.
98 * math_bigopinset.C: move methods to follow class definition order
100 * math_accentinset.h (getAccentCode): move inline here
102 * math_accentinset.C (MathAccentInset): cleanup
105 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
107 * math_inset.[Ch] (MathedInset): remove method
109 * Makefile.am (libmathed_la_SOURCES): correct typo
111 * math_parinset.C (draw): move MathedXiter data(this) up. and
112 remove it two other places.
114 * math_macro.C (MathMacro): use array directly, don't use
115 setArgumentIdx and GetData
117 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
119 * math_macroarg.C (MathMacroArgument): delete
120 * math_macro.C (~MathMacro): delete
121 * math_macrotemplate.C (~MathMacroTemplate): delete
123 * math_decorationinset.[Ch]: add pragma
124 * math_deliminset.[Ch]: likewise
125 * math_fracinset.[Ch]: likewise
126 * math_macroarg.[Ch]: likewise
127 * math_macrotemplate.[Ch]: likewise
128 * math_matrixinset.[Ch]: likewise
130 * formulamacro.C (Read): set contents of tmacro_ to ar.
132 * formulamacro.h: add '_' to private variables.
133 * formalamacro.C: changes because of this.
135 2001-02-23 Juergen Vigna <jug@sad.it>
137 * formula.C (LocalDispatch): changed action to be a kb_action (as it
138 should be) and not an int.
140 * formulamacro.C (LocalDispatch): ditto.
142 2001-02-14 André Pönitz <poenitz@htwm.de>
144 * math_parinset.[Ch]: make array a real MathArray, not just a
147 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
149 * several files: subsequent changes
151 * math_cursor.C: make selarray a proper MathArray
153 * several files: Change "MathedArray *" to "MathedArray &"
156 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
158 * array.C (MathedArray): Fix compilation problem.
160 2001-02-14 André Pönitz <poenitz@htwm.de>
162 * array.[Ch]: "deep" copy constructor and assignment operator for MathArray
164 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
166 * math_iter.[Ch]: remove SetData
167 several files: subsequent changes
169 2001-02-14 André Pönitz <poenitz@htwm.de>
171 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and ARRAY_STEP
173 * math_iter.C: default-construct and resize array
175 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
177 * math_xiter.h: move ipush and ipop to public, add _ on private
178 variables, move protected var to private, remove friend.
180 * math_cursor.C (insertInset): rename method from Insert also
181 remove default arg val. Call the public methods of xiter instead
182 of private variables.
184 * changes to several files because of the above.
186 2001-02-14 André Pönitz <poenitz@htwm.de>
188 * math_iter.[Ch]: hide fcode_
190 * math_parinset.C: subsequent changes
193 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
195 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
198 * math_write.C: delete file
199 * math_delim.C: delete file
200 * marh_sqrtinset.h: delete file
202 * move funcs to more localized files, more general cleanup.
203 Constify several local vars. Doxygen changes. Formatting.
205 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
207 * support.C: add some consts
209 * matriz.C: clean up a bit.
210 (matmat): remove the for loop.
212 * several files: changes so that several friends can be removed
214 2001-02-14 André Pönitz <poenitz@htwm.de>
216 * formula.C: reformatting
220 math_xiter.[Ch]: remove unneeded members
222 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
226 * formula.C: remove cruft
228 * array.C (begin): new method
231 2001-02-14 André Pönitz <poenitz@htwm.de>
233 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
235 * math_cursor.C: reformatting
237 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
241 * math_matrixinset.C:
242 * math_macrotemplate.C:
247 * math_decorationinset.C:
249 * math_accentinset.C:
250 * math_sqrtinset.C: include LOstream.h and add using directive.
252 2001-02-14 André Pönitz <poenitz@htwm.de>
254 * math_iter.C: reformatting
256 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
258 * math_spaceinset.C (GetSpace): move here
260 * math_parinset.C: add debug.h, move several prev. inlined methods
263 * math_macrotable.C math_xiter.C support.C: add debug.h
265 * math_macro.h: remove debug.h, remove typedefs
267 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
270 * math_hash.C: change some defines to int const. change use of
271 LM_TC_NORMAL to LM_TC_VAR
273 * math_draw.C: delete file
275 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
276 forward decls. remove LM_TC_NORMAL, move inline methods to
277 support.C (and support.h)
279 * math_cursor.C: move several previous inlined methods here
281 * math_bigopinset.h math_dotsinset.h math_funcinset.h
282 math_parinset.h math_spaceinset.h: add math_defs.h
284 * math_accentinset.h: add support.h and math_defs.h
286 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
288 * formula.h: remove unused func decl: OpenMathInset
290 * formula.C math_inset.h: get rid of math_defs.h
292 * array.h: switch to support.h instead of math_defs.h
294 * array.C: remove one include
296 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
298 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
300 * math_parser.C: include macrotable and macrotemplate
302 * math_macrotemplate.[Ch]: new files
304 * math_macrotable.[Ch]: new files
306 * math_macroarg.[Ch]: new files
308 * math_macro.C: move stuff to the new files.
310 * math_cursor.C: include math_macrotable.h
312 * macro_support.[Ch]: new files
314 * formulamacro.C: add more includes
316 * Makefile.am (libmathed_la_SOURCES): add new files.
318 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
320 * Makefile.am (libmathed_la_SOURCES): remove duplicate
325 * math_parinset.C: add a bunch of "using" directives.
328 * math_decorationinset.h:
330 * math_spaceinset.h: remove more couples of inline.
332 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
334 * math_xiter.h: remove a couple of "inline"
336 * array.C (strange_copy): fix bug (hopefully)
337 * many files: add a lot of new files and move methods to the class
338 files they belong to. Only first attempt at cleanup more will
341 2001-02-12 André Pönitz <poenitz@htwm.de>
343 * math_macro.[hC]: replace MathMacroArgument[] with
344 std::vector<MathMacroArgument>
346 math_inset.C: replace int[] with std::vector<int>
348 * math_symbols.C: replace FL_OBJECTP[] with
349 std::vector<FL_OBJECT*>
351 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
353 * math_defs.h (struct MathedRowSt): make all private variables end
354 with '_', initialize in initializer list instead of in function
357 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
359 * formula.C (LocalDispatch): Change the default action of
360 break-line to create an align* environment instead of eqnarray*.
362 * math_inset.C (Metrics): Correct drawing of the multline
365 2001-02-12 André Pönitz <poenitz@htwm.de>
367 * array.[hC]: replace private variable maxsize_ with call to
369 * math_defs.h: replace int[] by std::vector<int> for
372 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
374 * array.h: made all variables private, removed friend, added new
375 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
376 non const operator[] added setter for last and getter for maxsize.
377 changed name from LyxArrayBase to MathedArray.
378 changed name of some methods to start with lowerchar.
379 moved inline methods to array.C
381 * math_iter.C + several file: changes because of the above.
383 * array.C: new file with the prev inline methods.
385 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
387 * Many files: add support for the align environment from amsmath.
389 2001-02-09 André Pönitz <poenitz@htwm.de>
391 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
392 * several files: subsequent changes
393 * math_iter.h: remove unused prototype
396 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
398 * math_macro.C (draw): add .c_str() to .str() (useful when
399 compiling with lyxstring, but STL sstream).
402 2001-02-08 André Pönitz <poenitz@htwm.de>
404 * several files: get rid of reinterpret_cast.
406 2001-02-04 Allan Rae <rae@lyx.org>
408 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
409 just casting the variable.
411 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
413 * Many files: Add support for multline and alignat environments from
416 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
418 * math_symbols.C (math_insert_greek): Move cursor right when
419 unlocking the math inset.
421 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
423 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
425 * formula.C (LocalDispatch): Before inserting a label in an
426 eqnarray, move the cursor to the top level.
428 * math_iter.C (getLabel): Test if crow == 0.
430 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
432 * math_draw.C (Metrics): Use the correct GetString.