1 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * math_macrotemplate.h: remove default arg on update
5 * math_macrotemplate.C (update): add assert and remove noop case.
7 * formulamacro.C (Read): add comment.
8 (ascent): remove noop call to MathMacroTemplate
13 * math_parser.C (mathed_parse): fix another potential problem by
14 passing a freestanding mathedarray.
16 * math_root.C (GetData): add const version
18 * math_parinset.C (~MathParInset): delete
19 (GetData): add const version
21 * math_matrixinset.C (MathMatrixInset): delete pointer version,
22 make it a proper copy constructor instead
24 (MathMatrixInset): remvoe default val for m and n
26 * math_macro.C (GetData): add const version
28 * math_fracinset.C (GetData): add const version
30 * math_cursor.C (SelCopy): make p1 and p2 const
31 (SelCut): make p1 and p2 const
33 * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
34 (LyxCode): move inline out of class
38 * array.[Ch] (dump): method added for debugging purposes
40 * math_parser.C (mathed_parse): pass a freestanding mathedarray to
41 mathed_parse when reading a matrix.
43 * math_spaceinset.[Ch]: add pragma, make variables private add
44 '_', change order of method definitions.
46 * math_root.h (~MathRootInset): delete
47 Change uroot_ to be a real object instead of a pointer
48 * math_root.C: changes because of the above
50 * math_macro.C (MathMacro(MathMacro*)): delete constructor
51 (MathMacro(MathMacro const &)): new copy constructor
53 * math_inset.h: delete constructor taking a pointer to MathedInset
54 (size, incSize): move inline method
56 * math_funcinset.h: add pragma, remove class vars ln and fname,
57 change protected to private, add '_' to priv vars.
58 (~MathFuncInset): remove
60 * math_fracinset.h: make MathParInset den_ a real object and not a
63 * math_fracinset.C (MathFracInset): clean up, move initalization
64 to initialization list
65 (~MathFracInset): remove
68 * math_draw.C: delete file
70 * math_dotsinset.[Ch]: add pragma
72 * math_bigopinset.h: make protected variables private add '_' to vars.
74 * math_bigopinset.C: move methods to follow class definition order
76 * math_accentinset.h (getAccentCode): move inline here
78 * math_accentinset.C (MathAccentInset): cleanup
81 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
83 * math_inset.[Ch] (MathedInset): remove method
85 * Makefile.am (libmathed_la_SOURCES): correct typo
87 * math_parinset.C (draw): move MathedXiter data(this) up. and
88 remove it two other places.
90 * math_macro.C (MathMacro): use array directly, don't use
91 setArgumentIdx and GetData
93 2001-02-26 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
95 * math_macroarg.C (MathMacroArgument): delete
96 * math_macro.C (~MathMacro): delete
97 * math_macrotemplate.C (~MathMacroTemplate): delete
99 * math_decorationinset.[Ch]: add pragma
100 * math_deliminset.[Ch]: likewise
101 * math_fracinset.[Ch]: likewise
102 * math_macroarg.[Ch]: likewise
103 * math_macrotemplate.[Ch]: likewise
104 * math_matrixinset.[Ch]: likewise
106 * formulamacro.C (Read): set contents of tmacro_ to ar.
108 * formulamacro.h: add '_' to private variables.
109 * formalamacro.C: changes because of this.
111 2001-02-23 Juergen Vigna <jug@sad.it>
113 * formula.C (LocalDispatch): changed action to be a kb_action (as it
114 should be) and not an int.
116 * formulamacro.C (LocalDispatch): ditto.
118 2001-02-14 André Pönitz <poenitz@htwm.de>
120 * math_parinset.[Ch]: make array a real MathArray, not just a
123 * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
125 * several files: subsequent changes
127 * math_cursor.C: make selarray a proper MathArray
129 * several files: Change "MathedArray *" to "MathedArray &"
132 2001-02-19 Dekel Tsur <dekelts@tau.ac.il>
134 * array.C (MathedArray): Fix compilation problem.
136 2001-02-14 André Pönitz <poenitz@htwm.de>
138 * array.[Ch]: "deep" copy constructor and assignment operator for MathArray
140 * math_iter.[Ch]: seperate Copy() from Copy(int, int)
142 * math_iter.[Ch]: remove SetData
143 several files: subsequent changes
145 2001-02-14 André Pönitz <poenitz@htwm.de>
147 * array.[Ch]: remove constructor and enums ARRAY_MIN_SIZE and ARRAY_STEP
149 * math_iter.C: default-construct and resize array
151 2001-02-17 Lars Gullik Bjønnes <larsbj@lyx.org>
153 * math_xiter.h: move ipush and ipop to public, add _ on private
154 variables, move protected var to private, remove friend.
156 * math_cursor.C (insertInset): rename method from Insert also
157 remove default arg val. Call the public methods of xiter instead
158 of private variables.
160 * changes to several files because of the above.
162 2001-02-14 André Pönitz <poenitz@htwm.de>
164 * math_iter.[Ch]: hide fcode_
166 * math_parinset.C: subsequent changes
169 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
171 * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
174 * math_write.C: delete file
175 * math_delim.C: delete file
176 * marh_sqrtinset.h: delete file
178 * move funcs to more localized files, more general cleanup.
179 Constify several local vars. Doxygen changes. Formatting.
181 2001-02-15 Lars Gullik Bjønnes <larsbj@lyx.org>
183 * support.C: add some consts
185 * matriz.C: clean up a bit.
186 (matmat): remove the for loop.
188 * several files: changes so that several friends can be removed
190 2001-02-14 André Pönitz <poenitz@htwm.de>
192 * formula.C: reformatting
196 math_xiter.[Ch]: remove unneeded members
198 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
202 * formula.C: remove cruft
204 * array.C (begin): new method
207 2001-02-14 André Pönitz <poenitz@htwm.de>
209 * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
211 * math_cursor.C: reformatting
213 2001-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
217 * math_matrixinset.C:
218 * math_macrotemplate.C:
223 * math_decorationinset.C:
225 * math_accentinset.C:
226 * math_sqrtinset.C: include LOstream.h and add using directive.
228 2001-02-14 André Pönitz <poenitz@htwm.de>
230 * math_iter.C: reformatting
232 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
234 * math_spaceinset.C (GetSpace): move here
236 * math_parinset.C: add debug.h, move several prev. inlined methods
239 * math_macrotable.C math_xiter.C support.C: add debug.h
241 * math_macro.h: remove debug.h, remove typedefs
243 * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
246 * math_hash.C: change some defines to int const. change use of
247 LM_TC_NORMAL to LM_TC_VAR
249 * math_draw.C: delete file
251 * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
252 forward decls. remove LM_TC_NORMAL, move inline methods to
253 support.C (and support.h)
255 * math_cursor.C: move several previous inlined methods here
257 * math_bigopinset.h math_dotsinset.h math_funcinset.h
258 math_parinset.h math_spaceinset.h: add math_defs.h
260 * math_accentinset.h: add support.h and math_defs.h
262 * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
264 * formula.h: remove unused func decl: OpenMathInset
266 * formula.C math_inset.h: get rid of math_defs.h
268 * array.h: switch to support.h instead of math_defs.h
270 * array.C: remove one include
272 * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
274 * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
276 * math_parser.C: include macrotable and macrotemplate
278 * math_macrotemplate.[Ch]: new files
280 * math_macrotable.[Ch]: new files
282 * math_macroarg.[Ch]: new files
284 * math_macro.C: move stuff to the new files.
286 * math_cursor.C: include math_macrotable.h
288 * macro_support.[Ch]: new files
290 * formulamacro.C: add more includes
292 * Makefile.am (libmathed_la_SOURCES): add new files.
294 2001-02-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
296 * Makefile.am (libmathed_la_SOURCES): remove duplicate
301 * math_parinset.C: add a bunch of "using" directives.
304 * math_decorationinset.h:
306 * math_spaceinset.h: remove more couples of inline.
308 2001-02-13 Lars Gullik Bjønnes <larsbj@lyx.org>
310 * math_xiter.h: remove a couple of "inline"
312 * array.C (strange_copy): fix bug (hopefully)
313 * many files: add a lot of new files and move methods to the class
314 files they belong to. Only first attempt at cleanup more will
317 2001-02-12 André Pönitz <poenitz@htwm.de>
319 * math_macro.[hC]: replace MathMacroArgument[] with
320 std::vector<MathMacroArgument>
322 math_inset.C: replace int[] with std::vector<int>
324 * math_symbols.C: replace FL_OBJECTP[] with
325 std::vector<FL_OBJECT*>
327 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
329 * math_defs.h (struct MathedRowSt): make all private variables end
330 with '_', initialize in initializer list instead of in function
333 2001-02-12 Dekel Tsur <dekelts@tau.ac.il>
335 * formula.C (LocalDispatch): Change the default action of
336 break-line to create an align* environment instead of eqnarray*.
338 * math_inset.C (Metrics): Correct drawing of the multline
341 2001-02-12 André Pönitz <poenitz@htwm.de>
343 * array.[hC]: replace private variable maxsize_ with call to
345 * math_defs.h: replace int[] by std::vector<int> for
348 2001-02-09 Lars Gullik Bjønnes <larsbj@lyx.org>
350 * array.h: made all variables private, removed friend, added new
351 methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
352 non const operator[] added setter for last and getter for maxsize.
353 changed name from LyxArrayBase to MathedArray.
354 changed name of some methods to start with lowerchar.
355 moved inline methods to array.C
357 * math_iter.C + several file: changes because of the above.
359 * array.C: new file with the prev inline methods.
361 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
363 * Many files: add support for the align environment from amsmath.
365 2001-02-09 André Pönitz <poenitz@htwm.de>
367 * array.h: replace array buffer 'byte bf[]' by 'std::vector<byte> bf'
368 * several files: subsequent changes
369 * math_iter.h: remove unused prototype
372 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
374 * math_macro.C (draw): add .c_str() to .str() (useful when
375 compiling with lyxstring, but STL sstream).
378 2001-02-08 André Pönitz <poenitz@htwm.de>
380 * several files: get rid of reinterpret_cast.
382 2001-02-04 Allan Rae <rae@lyx.org>
384 * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
385 just casting the variable.
387 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
389 * Many files: Add support for multline and alignat environments from
392 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
394 * math_symbols.C (math_insert_greek): Move cursor right when
395 unlocking the math inset.
397 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
399 * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
401 * formula.C (LocalDispatch): Before inserting a label in an
402 eqnarray, move the cursor to the top level.
404 * math_iter.C (getLabel): Test if crow == 0.
406 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
408 * math_draw.C (Metrics): Use the correct GetString.