]> git.lyx.org Git - lyx.git/blob - src/mathed/ChangeLog
ab4b783cebfb1738f933ff5106b1ae21631faccf
[lyx.git] / src / mathed / ChangeLog
1 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2
3         * math_macrotemplate.h: remove default arg on update
4
5         * math_macrotemplate.C (update): add assert and remove noop case.
6
7         * formulamacro.C (Read): add comment.
8         (ascent): remove noop call to MathMacroTemplate
9         (descent): ditto
10         (width): ditto
11         (draw): ditto
12
13         * math_parser.C (mathed_parse): fix another potential problem by
14         passing a freestanding mathedarray.
15
16         * math_root.C (GetData): add const version
17
18         * math_parinset.C (~MathParInset): delete
19         (GetData): add const version
20
21         * math_matrixinset.C (MathMatrixInset): delete pointer version,
22         make it a proper copy constructor instead
23         (Clone): change acc.
24         (MathMatrixInset): remvoe default val for m and n
25
26         * math_macro.C (GetData): add const version
27
28         * math_fracinset.C (GetData): add const version
29
30         * math_cursor.C (SelCopy): make p1 and p2 const
31         (SelCut): make p1 and p2 const
32
33         * formula.h: add '_' on priv vars. Cnages in formula.C acc. to this
34         (LyxCode): move inline out of class
35         (ConvertFont): ditto
36         (display): ditto
37
38         * array.[Ch] (dump): method added for debugging purposes
39
40         * math_parser.C (mathed_parse): pass a freestanding mathedarray to
41         mathed_parse when reading a matrix.
42
43         * math_spaceinset.[Ch]: add pragma, make variables private add
44         '_', change order of method definitions.
45
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
49
50         * math_macro.C (MathMacro(MathMacro*)): delete constructor
51         (MathMacro(MathMacro const &)): new copy constructor
52
53         * math_inset.h: delete constructor taking a pointer to MathedInset
54         (size, incSize): move inline method
55
56         * math_funcinset.h: add pragma, remove class vars ln and fname,
57         change protected to private, add '_' to priv vars.
58         (~MathFuncInset): remove
59
60         * math_fracinset.h: make MathParInset den_ a real object and not a
61         pointer. 
62
63         * math_fracinset.C (MathFracInset): clean up, move initalization
64         to initialization list
65         (~MathFracInset): remove
66         (Clone): remove leak
67
68         * math_draw.C: delete file
69         
70         * math_dotsinset.[Ch]: add pragma
71
72         * math_bigopinset.h: make protected variables private add '_' to vars.
73
74         * math_bigopinset.C: move methods to follow class definition order
75
76         * math_accentinset.h (getAccentCode): move inline here
77
78         * math_accentinset.C (MathAccentInset): cleanup
79         (draw): constify dw
80
81 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
82
83         * math_inset.[Ch] (MathedInset): remove method
84
85         * Makefile.am (libmathed_la_SOURCES): correct typo
86
87         * math_parinset.C (draw): move MathedXiter data(this) up. and
88         remove it two other places.
89
90         * math_macro.C (MathMacro): use array directly, don't use
91         setArgumentIdx and GetData
92
93 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
94
95         * math_macroarg.C (MathMacroArgument): delete
96         * math_macro.C (~MathMacro): delete
97         * math_macrotemplate.C (~MathMacroTemplate): delete
98         
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
105         
106         * formulamacro.C (Read): set contents of tmacro_ to ar.
107
108         * formulamacro.h: add '_' to private variables.
109         * formalamacro.C: changes because of this.
110
111 2001-02-23  Juergen Vigna  <jug@sad.it>
112
113         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
114         should be) and not an int.
115
116         * formulamacro.C (LocalDispatch): ditto.
117
118 2001-02-14  André Pönitz  <poenitz@htwm.de>
119
120         * math_parinset.[Ch]: make array a real MathArray, not just a
121           pointer to one.
122
123         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
124
125         * several files: subsequent changes
126         
127         * math_cursor.C: make selarray a proper MathArray
128
129         * several files: Change "MathedArray *" to "MathedArray &"
130
131
132 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
133
134         * array.C (MathedArray): Fix compilation problem.
135
136 2001-02-14  André Pönitz  <poenitz@htwm.de>
137
138         * array.[Ch]: "deep" copy constructor and assignment operator for MathArray
139
140         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
141
142         * math_iter.[Ch]: remove SetData
143           several files: subsequent changes
144
145 2001-02-14  André Pönitz  <poenitz@htwm.de>
146
147         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and ARRAY_STEP
148
149         * math_iter.C: default-construct and resize array
150
151 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
152
153         * math_xiter.h: move ipush and ipop to public, add _ on private
154         variables, move protected var to private, remove friend.
155
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.
159
160         * changes to several files because of the above.
161         
162 2001-02-14  André Pönitz  <poenitz@htwm.de>
163
164         * math_iter.[Ch]: hide fcode_
165         * math_xiter.C:
166         * math_parinset.C: subsequent changes
167
168
169 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
170
171         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
172         math_utils.h
173
174         * math_write.C: delete file
175         * math_delim.C: delete file
176         * marh_sqrtinset.h: delete file
177
178         * move funcs to more localized files, more general cleanup.
179         Constify several local vars. Doxygen changes. Formatting.
180         
181 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
182
183         * support.C: add some consts
184
185         * matriz.C: clean up a bit.
186         (matmat): remove the for loop.
187
188         * several files: changes so that several friends can be removed
189
190 2001-02-14  André Pönitz  <poenitz@htwm.de>
191
192         * formula.C: reformatting 
193
194         * math_cursor.[Ch]:
195           math_iter.[Ch]:
196           math_xiter.[Ch]: remove unneeded members
197
198 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
199
200         * math_parser.C: 
201         * math_panel.C: 
202         * formula.C: remove cruft
203
204         * array.C (begin): new method
205         (end): ditto
206
207 2001-02-14  André Pönitz  <poenitz@htwm.de>
208         
209         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
210
211         * math_cursor.C: reformatting 
212
213 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
214
215         * math_spaceinset.C: 
216         * math_root.C: 
217         * math_matrixinset.C: 
218         * math_macrotemplate.C: 
219         * math_funcinset.C: 
220         * math_fracinset.C: 
221         * math_dotsinset.C: 
222         * math_deliminset.C: 
223         * math_decorationinset.C: 
224         * math_bigopinset.C: 
225         * math_accentinset.C: 
226         * math_sqrtinset.C: include LOstream.h and add using directive.
227
228 2001-02-14  André Pönitz  <poenitz@htwm.de>
229
230         * math_iter.C: reformatting 
231
232 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
233
234         * math_spaceinset.C (GetSpace): move here
235
236         * math_parinset.C: add debug.h, move several prev. inlined methods
237         here. 
238
239         * math_macrotable.C math_xiter.C support.C: add debug.h
240
241         * math_macro.h: remove debug.h, remove typedefs
242
243         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
244         extern decls.
245
246         * math_hash.C: change some defines to int const. change use of
247         LM_TC_NORMAL to LM_TC_VAR
248
249         * math_draw.C: delete file
250
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)
254
255         * math_cursor.C: move several previous inlined methods here
256
257         * math_bigopinset.h math_dotsinset.h math_funcinset.h
258         math_parinset.h math_spaceinset.h: add math_defs.h
259
260         * math_accentinset.h: add support.h and math_defs.h
261
262         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
263
264         * formula.h: remove unused func decl: OpenMathInset
265
266         * formula.C math_inset.h: get rid of math_defs.h
267
268         * array.h: switch to support.h instead of math_defs.h
269
270         * array.C: remove one include
271
272         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
273
274         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
275
276         * math_parser.C: include macrotable and macrotemplate
277
278         * math_macrotemplate.[Ch]: new files
279
280         * math_macrotable.[Ch]: new files
281
282         * math_macroarg.[Ch]: new files
283
284         * math_macro.C: move stuff to the new files.
285
286         * math_cursor.C: include math_macrotable.h
287
288         * macro_support.[Ch]: new files
289
290         * formulamacro.C: add more includes
291
292         * Makefile.am (libmathed_la_SOURCES): add new files.
293
294 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
295
296         * Makefile.am (libmathed_la_SOURCES): remove duplicate
297         math_sqrtinset. 
298
299         * support.C: 
300         * math_xiter.C: 
301         * math_parinset.C: add a bunch of "using" directives.
302
303         * math_funcinset.h: 
304         * math_decorationinset.h: 
305         * math_bigopinset.h: 
306         * math_spaceinset.h: remove more couples of inline.
307
308 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
309
310         * math_xiter.h: remove a couple of "inline"
311
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
315         follow.
316         
317 2001-02-12  André Pönitz  <poenitz@htwm.de>
318         
319         * math_macro.[hC]: replace MathMacroArgument[] with
320           std::vector<MathMacroArgument>
321         * math_defs.h:
322           math_inset.C: replace int[] with std::vector<int>
323         * math_panel.h:
324         * math_symbols.C: replace FL_OBJECTP[] with
325         std::vector<FL_OBJECT*>
326         
327 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
328
329         * math_defs.h (struct MathedRowSt): make all private variables end
330         with '_', initialize in initializer list instead of in function
331         body.
332
333 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
334
335         * formula.C (LocalDispatch): Change the default action of
336         break-line to create an align* environment instead of eqnarray*.
337
338         * math_inset.C (Metrics): Correct drawing of the multline
339         environment.
340
341 2001-02-12  André Pönitz  <poenitz@htwm.de>
342         
343         * array.[hC]: replace private variable maxsize_ with call to
344         bf_.size()
345         * math_defs.h: replace int[] by std::vector<int> for
346         MathedRowSt::widths
347
348 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
349
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
356         
357         * math_iter.C + several file: changes because of the above.
358
359         * array.C: new file with the prev inline methods.
360         
361 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
362
363         * Many files: add support for the align environment from amsmath.
364
365 2001-02-09  André Pönitz  <poenitz@htwm.de>
366
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
370         * array.h: ditto.
371
372 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
373
374         * math_macro.C (draw): add .c_str() to .str() (useful when
375         compiling with lyxstring, but STL sstream).
376         (Metrics): ditto.
377
378 2001-02-08  André Pönitz  <poenitz@htwm.de>
379
380         * several files: get rid of reinterpret_cast.
381
382 2001-02-04  Allan Rae  <rae@lyx.org>
383
384         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
385         just casting the variable.
386
387 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
388
389         * Many files: Add support for multline and alignat environments from 
390         amsmath.
391
392 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
393
394         * math_symbols.C (math_insert_greek): Move cursor right when
395         unlocking the math inset.
396
397 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
398
399         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
400
401         * formula.C (LocalDispatch): Before inserting a label in an
402         eqnarray, move the cursor to the top level.
403
404         * math_iter.C (getLabel): Test if crow == 0.
405
406 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
407
408         * math_draw.C (Metrics): Use the correct GetString.
409