1 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * formulamacro.C (Read): add comment.
5 * math_parser.C (mathed_parse): fix another potential problem by
6 passing a freestanding mathedarray.
8 * math_root.C (GetData): add const version
10 * math_parinset.C (~MathParInset): delete
11 (GetData): add const version
13 * math_matrixinset.C (MathMatrixInset): delete pointer version,
14 make it a proper copy constructor instead
16 (MathMatrixInset): remvoe default val for m and n
18 * math_macro.C (GetData): add const version
20 * math_fracinset.C (GetData): add const version
22 * math_cursor.C (SelCopy): make p1 and p2 const
23 (SelCut): make p1 and p2 const
25 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
26 (LyxCode): move inline out of class
30 * array.[Ch] (dump): method added for debugging purposes
32 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
33 mathed_parse when reading a matrix.
35 * math_spaceinset.[Ch]: add pragma, make variables private add
36 '_', change order of method definitions.
38 * math_root.h (~MathRootInset): delete
39 Change uroot_ to be a real object instead of a pointer
40 * math_root.C: changes because of the above
42 * math_macro.C (MathMacro(MathMacro*)): delete constructor
43 (MathMacro(MathMacro const &)): new copy constructor
45 * math_inset.h: delete constructor taking a pointer to MathedInset
46 (size, incSize): move inline method
48 * math_funcinset.h: add pragma, remove class vars ln and fname,
49 change protected to private, add '_' to priv vars.
50 (~MathFuncInset): remove
52 * math_fracinset.h: make MathParInset den_ a real object and not a
55 * math_fracinset.C (MathFracInset): clean up, move initalization
56 to initialization list
57 (~MathFracInset): remove
60 * math_draw.C: delete file
62 * math_dotsinset.[Ch]: add pragma
64 * math_bigopinset.h: make protected variables private add '_' to vars.
66 * math_bigopinset.C: move methods to follow class definition order
68 * math_accentinset.h (getAccentCode): move inline here
70 * math_accentinset.C (MathAccentInset): cleanup
73 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
75 * math_inset.[Ch] (MathedInset): remove method
77 * Makefile.am (libmathed_la_SOURCES): correct typo
79 * math_parinset.C (draw): move MathedXiter data(this) up. and
80 remove it two other places.
82 * math_macro.C (MathMacro): use array directly, don't use
83 setArgumentIdx and GetData
85 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
87 * math_macroarg.C (MathMacroArgument): delete
88 * math_macro.C (~MathMacro): delete
89 * math_macrotemplate.C (~MathMacroTemplate): delete
91 * math_decorationinset.[Ch]: add pragma
92 * math_deliminset.[Ch]: likewise
93 * math_fracinset.[Ch]: likewise
94 * math_macroarg.[Ch]: likewise
95 * math_macrotemplate.[Ch]: likewise
96 * math_matrixinset.[Ch]: likewise
98 * formulamacro.C (Read): set contents of tmacro_ to ar.
100 * formulamacro.h: add '_' to private variables.
101 * formalamacro.C: changes because of this.
103 2001-02-23 Juergen Vigna <jug@sad.it>
105 * formula.C (LocalDispatch): changed action to be a kb_action (as it
106 should be) and not an int.
108 * formulamacro.C (LocalDispatch): ditto.
110 2001-02-14 André Pönitz <poenitz@htwm.de>
112 * math_parinset.[Ch]: make array a real MathArray, not just a
115 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
117 * several files: subsequent changes
119 * math_cursor.C: make selarray a proper MathArray
121 * several files: Change "MathedArray *" to "MathedArray &"
124 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
126 * array.C (MathedArray): Fix compilation problem.
128 2001-02-14 André Pönitz <poenitz@htwm.de>
130 * array.[Ch]: "deep" copy constructor and assignment operator for MathArray
132 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
134 * math_iter.[Ch]: remove SetData
135 several files: subsequent changes
137 2001-02-14 André Pönitz <poenitz@htwm.de>
139 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and ARRAY_STEP
141 * math_iter.C: default-construct and resize array
143 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
145 * math_xiter.h: move ipush and ipop to public, add _ on private
146 variables, move protected var to private, remove friend.
148 * math_cursor.C (insertInset): rename method from Insert also
149 remove default arg val. Call the public methods of xiter instead
150 of private variables.
152 * changes to several files because of the above.
154 2001-02-14 André Pönitz <poenitz@htwm.de>
156 * math_iter.[Ch]: hide fcode_
158 * math_parinset.C: subsequent changes
161 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
163 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
166 * math_write.C: delete file
167 * math_delim.C: delete file
168 * marh_sqrtinset.h: delete file
170 * move funcs to more localized files, more general cleanup.
171 Constify several local vars. Doxygen changes. Formatting.
173 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
175 * support.C: add some consts
177 * matriz.C: clean up a bit.
178 (matmat): remove the for loop.
180 * several files: changes so that several friends can be removed
182 2001-02-14 André Pönitz <poenitz@htwm.de>
184 * formula.C: reformatting
188 math_xiter.[Ch]: remove unneeded members
190 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
194 * formula.C: remove cruft
196 * array.C (begin): new method
199 2001-02-14 André Pönitz <poenitz@htwm.de>
201 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
203 * math_cursor.C: reformatting
205 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * math_matrixinset.C:
210 * math_macrotemplate.C:
215 * math_decorationinset.C:
217 * math_accentinset.C:
218 * math_sqrtinset.C: include LOstream.h and add using directive.
220 2001-02-14 André Pönitz <poenitz@htwm.de>
222 * math_iter.C: reformatting
224 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
226 * math_spaceinset.C (GetSpace): move here
228 * math_parinset.C: add debug.h, move several prev. inlined methods
231 * math_macrotable.C math_xiter.C support.C: add debug.h
233 * math_macro.h: remove debug.h, remove typedefs
235 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
238 * math_hash.C: change some defines to int const. change use of
239 LM_TC_NORMAL to LM_TC_VAR
241 * math_draw.C: delete file
243 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
244 forward decls. remove LM_TC_NORMAL, move inline methods to
245 support.C (and support.h)
247 * math_cursor.C: move several previous inlined methods here
249 * math_bigopinset.h math_dotsinset.h math_funcinset.h
250 math_parinset.h math_spaceinset.h: add math_defs.h
252 * math_accentinset.h: add support.h and math_defs.h
254 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
256 * formula.h: remove unused func decl: OpenMathInset
258 * formula.C math_inset.h: get rid of math_defs.h
260 * array.h: switch to support.h instead of math_defs.h
262 * array.C: remove one include
264 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
266 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
268 * math_parser.C: include macrotable and macrotemplate
270 * math_macrotemplate.[Ch]: new files
272 * math_macrotable.[Ch]: new files
274 * math_macroarg.[Ch]: new files
276 * math_macro.C: move stuff to the new files.
278 * math_cursor.C: include math_macrotable.h
280 * macro_support.[Ch]: new files
282 * formulamacro.C: add more includes
284 * Makefile.am (libmathed_la_SOURCES): add new files.
286 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
288 * Makefile.am (libmathed_la_SOURCES): remove duplicate
293 * math_parinset.C: add a bunch of "using" directives.
296 * math_decorationinset.h:
298 * math_spaceinset.h: remove more couples of inline.
300 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
302 * math_xiter.h: remove a couple of "inline"
304 * array.C (strange_copy): fix bug (hopefully)
305 * many files: add a lot of new files and move methods to the class
306 files they belong to. Only first attempt at cleanup more will
309 2001-02-12 André Pönitz <poenitz@htwm.de>
311 * math_macro.[hC]: replace MathMacroArgument[] with
312 std::vector<MathMacroArgument>
314 math_inset.C: replace int[] with std::vector<int>
316 * math_symbols.C: replace FL_OBJECTP[] with
317 std::vector<FL_OBJECT*>
319 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
321 * math_defs.h (struct MathedRowSt): make all private variables end
322 with '_', initialize in initializer list instead of in function
325 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
327 * formula.C (LocalDispatch): Change the default action of
328 break-line to create an align* environment instead of eqnarray*.
330 * math_inset.C (Metrics): Correct drawing of the multline
333 2001-02-12 André Pönitz <poenitz@htwm.de>
335 * array.[hC]: replace private variable maxsize_ with call to
337 * math_defs.h: replace int[] by std::vector<int> for
340 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
342 * array.h: made all variables private, removed friend, added new
343 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
344 non const operator[] added setter for last and getter for maxsize.
345 changed name from LyxArrayBase to MathedArray.
346 changed name of some methods to start with lowerchar.
347 moved inline methods to array.C
349 * math_iter.C + several file: changes because of the above.
351 * array.C: new file with the prev inline methods.
353 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
355 * Many files: add support for the align environment from amsmath.
357 2001-02-09 André Pönitz <poenitz@htwm.de>
359 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
360 * several files: subsequent changes
361 * math_iter.h: remove unused prototype
364 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
366 * math_macro.C (draw): add .c_str() to .str() (useful when
367 compiling with lyxstring, but STL sstream).
370 2001-02-08 André Pönitz <poenitz@htwm.de>
372 * several files: get rid of reinterpret_cast.
374 2001-02-04 Allan Rae <rae@lyx.org>
376 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
377 just casting the variable.
379 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
381 * Many files: Add support for multline and alignat environments from
384 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
386 * math_symbols.C (math_insert_greek): Move cursor right when
387 unlocking the math inset.
389 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
391 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
393 * formula.C (LocalDispatch): Before inserting a label in an
394 eqnarray, move the cursor to the top level.
396 * math_iter.C (getLabel): Test if crow == 0.
398 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
400 * math_draw.C (Metrics): Use the correct GetString.