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