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