]> git.lyx.org Git - lyx.git/blob - src/mathed/ChangeLog
2cdd809a06e9e259aa6c2d0cd5b7fd110ea2ba0a
[lyx.git] / src / mathed / ChangeLog
1 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2
3         * math_parinset.C (draw): move MathedXiter data(this) up. and
4         remove it two other places.
5
6         * math_macro.C (MathMacro): use array directly, don't use
7         setArgumentIdx and GetData
8
9 2001-02-26  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10
11         * math_macroarg.C (MathMacroArgument): delete
12         * math_macro.C (~MathMacro): delete
13         * math_macrotemplate.C (~MathMacroTemplate): delete
14         
15         * math_decorationinset.[Ch]: add pragma
16         * math_deliminset.[Ch]: likewise
17         * math_fracinset.[Ch]: likewise
18         * math_macroarg.[Ch]: likewise
19         * math_macrotemplate.[Ch]: likewise
20         * math_matrixinset.[Ch]: likewise
21         
22         * formulamacro.C (Read): set contents of tmacro_ to ar.
23
24         * formulamacro.h: add '_' to private variables.
25         * formalamacro.C: changes because of this.
26
27 2001-02-23  Juergen Vigna  <jug@sad.it>
28
29         * formula.C (LocalDispatch):  changed action to be a kb_action (as it
30         should be) and not an int.
31
32         * formulamacro.C (LocalDispatch): ditto.
33
34 2001-02-14  André Pönitz  <poenitz@htwm.de>
35
36         * math_parinset.[Ch]: make array a real MathArray, not just a
37           pointer to one.
38
39         * move MathIter::Copy(int, int) to MathArray::shrink(pos, pos)
40
41         * several files: subsequent changes
42         
43         * math_cursor.C: make selarray a proper MathArray
44
45         * several files: Change "MathedArray *" to "MathedArray &"
46
47
48 2001-02-19  Dekel Tsur  <dekelts@tau.ac.il>
49
50         * array.C (MathedArray): Fix compilation problem.
51
52 2001-02-14  André Pönitz  <poenitz@htwm.de>
53
54         * array.[Ch]: "deep" copy constructor and assignment operator for MathArray
55
56         * math_iter.[Ch]: seperate Copy() from Copy(int, int)
57
58         * math_iter.[Ch]: remove SetData
59           several files: subsequent changes
60
61 2001-02-14  André Pönitz  <poenitz@htwm.de>
62
63         * array.[Ch]: remove constructor and  enums ARRAY_MIN_SIZE and ARRAY_STEP
64
65         * math_iter.C: default-construct and resize array
66
67 2001-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
68
69         * math_xiter.h: move ipush and ipop to public, add _ on private
70         variables, move protected var to private, remove friend.
71
72         * math_cursor.C (insertInset): rename method from Insert also
73         remove default arg val. Call the public methods of xiter instead
74         of private variables.
75
76         * changes to several files because of the above.
77         
78 2001-02-14  André Pönitz  <poenitz@htwm.de>
79
80         * math_iter.[Ch]: hide fcode_
81         * math_xiter.C:
82         * math_parinset.C: subsequent changes
83
84
85 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
86
87         * Makefile.am (libmathed_la_SOURCES): remove math_write.C, add
88         math_utils.h
89
90         * math_write.C: delete file
91         * math_delim.C: delete file
92         * marh_sqrtinset.h: delete file
93
94         * move funcs to more localized files, more general cleanup.
95         Constify several local vars. Doxygen changes. Formatting.
96         
97 2001-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
98
99         * support.C: add some consts
100
101         * matriz.C: clean up a bit.
102         (matmat): remove the for loop.
103
104         * several files: changes so that several friends can be removed
105
106 2001-02-14  André Pönitz  <poenitz@htwm.de>
107
108         * formula.C: reformatting 
109
110         * math_cursor.[Ch]:
111           math_iter.[Ch]:
112           math_xiter.[Ch]: remove unneeded members
113
114 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
115
116         * math_parser.C: 
117         * math_panel.C: 
118         * formula.C: remove cruft
119
120         * array.C (begin): new method
121         (end): ditto
122
123 2001-02-14  André Pönitz  <poenitz@htwm.de>
124         
125         * math_iter.[Ch]: remove 'insert', 'maxsize' and 'ARRAY_SIZE'
126
127         * math_cursor.C: reformatting 
128
129 2001-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
130
131         * math_spaceinset.C: 
132         * math_root.C: 
133         * math_matrixinset.C: 
134         * math_macrotemplate.C: 
135         * math_funcinset.C: 
136         * math_fracinset.C: 
137         * math_dotsinset.C: 
138         * math_deliminset.C: 
139         * math_decorationinset.C: 
140         * math_bigopinset.C: 
141         * math_accentinset.C: 
142         * math_sqrtinset.C: include LOstream.h and add using directive.
143
144 2001-02-14  André Pönitz  <poenitz@htwm.de>
145
146         * math_iter.C: reformatting 
147
148 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
149
150         * math_spaceinset.C (GetSpace): move here
151
152         * math_parinset.C: add debug.h, move several prev. inlined methods
153         here. 
154
155         * math_macrotable.C math_xiter.C support.C: add debug.h
156
157         * math_macro.h: remove debug.h, remove typedefs
158
159         * math_macro.C: remove FORMS_H_LOCATION, and LString.h, remove
160         extern decls.
161
162         * math_hash.C: change some defines to int const. change use of
163         LM_TC_NORMAL to LM_TC_VAR
164
165         * math_draw.C: delete file
166
167         * math_defs.h (MATH_DEFS): dont define byte here, remove unneded
168         forward decls. remove LM_TC_NORMAL, move inline methods to
169         support.C (and support.h)
170
171         * math_cursor.C: move several previous inlined methods here
172
173         * math_bigopinset.h math_dotsinset.h math_funcinset.h
174         math_parinset.h math_spaceinset.h: add math_defs.h
175
176         * math_accentinset.h: add support.h and math_defs.h
177
178         * formulamacro.C math_cursor.C math_iter.h math_write.C: add support.h
179
180         * formula.h: remove unused func decl: OpenMathInset
181
182         * formula.C math_inset.h: get rid of math_defs.h
183
184         * array.h: switch to support.h instead of math_defs.h
185
186         * array.C: remove one include
187
188         * Makefile.am (libmathed_la_SOURCES): remove math_draw.C
189
190         * math_panel.C (deco_cb): move the sizeof/sizeof to a const int.
191
192         * math_parser.C: include macrotable and macrotemplate
193
194         * math_macrotemplate.[Ch]: new files
195
196         * math_macrotable.[Ch]: new files
197
198         * math_macroarg.[Ch]: new files
199
200         * math_macro.C: move stuff to the new files.
201
202         * math_cursor.C: include math_macrotable.h
203
204         * macro_support.[Ch]: new files
205
206         * formulamacro.C: add more includes
207
208         * Makefile.am (libmathed_la_SOURCES): add new files.
209
210 2001-02-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
211
212         * Makefile.am (libmathed_la_SOURCES): remove duplicate
213         math_sqrtinset. 
214
215         * support.C: 
216         * math_xiter.C: 
217         * math_parinset.C: add a bunch of "using" directives.
218
219         * math_funcinset.h: 
220         * math_decorationinset.h: 
221         * math_bigopinset.h: 
222         * math_spaceinset.h: remove more couples of inline.
223
224 2001-02-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
225
226         * math_xiter.h: remove a couple of "inline"
227
228         * array.C (strange_copy): fix bug (hopefully) 
229         * many files: add a lot of new files and move methods to the class
230         files they belong to. Only first attempt at cleanup more will
231         follow.
232         
233 2001-02-12  André Pönitz  <poenitz@htwm.de>
234         
235         * math_macro.[hC]: replace MathMacroArgument[] with
236           std::vector<MathMacroArgument>
237         * math_defs.h:
238           math_inset.C: replace int[] with std::vector<int>
239         * math_panel.h:
240         * math_symbols.C: replace FL_OBJECTP[] with
241         std::vector<FL_OBJECT*>
242         
243 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
244
245         * math_defs.h (struct MathedRowSt): make all private variables end
246         with '_', initialize in initializer list instead of in function
247         body.
248
249 2001-02-12  Dekel Tsur  <dekelts@tau.ac.il>
250
251         * formula.C (LocalDispatch): Change the default action of
252         break-line to create an align* environment instead of eqnarray*.
253
254         * math_inset.C (Metrics): Correct drawing of the multline
255         environment.
256
257 2001-02-12  André Pönitz  <poenitz@htwm.de>
258         
259         * array.[hC]: replace private variable maxsize_ with call to
260         bf_.size()
261         * math_defs.h: replace int[] by std::vector<int> for
262         MathedRowSt::widths
263
264 2001-02-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
265
266         * array.h: made all variables private, removed friend, added new
267         methods: raw_pointer_insert, raw_pointer_copy, strange_copy, added
268         non const operator[] added setter for last and getter for maxsize.
269         changed name from LyxArrayBase to MathedArray.
270         changed name of some methods to start with lowerchar.
271         moved inline methods to array.C
272         
273         * math_iter.C + several file: changes because of the above.
274
275         * array.C: new file with the prev inline methods.
276         
277 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
278
279         * Many files: add support for the align environment from amsmath.
280
281 2001-02-09  André Pönitz  <poenitz@htwm.de>
282
283         * array.h: replace array buffer  'byte bf[]'  by 'std::vector<byte> bf'
284         * several files: subsequent changes         
285         * math_iter.h: remove unused prototype
286         * array.h: ditto.
287
288 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
289
290         * math_macro.C (draw): add .c_str() to .str() (useful when
291         compiling with lyxstring, but STL sstream).
292         (Metrics): ditto.
293
294 2001-02-08  André Pönitz  <poenitz@htwm.de>
295
296         * several files: get rid of reinterpret_cast.
297
298 2001-02-04  Allan Rae  <rae@lyx.org>
299
300         * math_parser.C (mathed_parse): I'm sure Lars has a better fix than
301         just casting the variable.
302
303 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
304
305         * Many files: Add support for multline and alignat environments from 
306         amsmath.
307
308 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
309
310         * math_symbols.C (math_insert_greek): Move cursor right when
311         unlocking the math inset.
312
313 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
314
315         * math_parser.C (LexGetArg): Fix crash when loading corrupt files.
316
317         * formula.C (LocalDispatch): Before inserting a label in an
318         eqnarray, move the cursor to the top level.
319
320         * math_iter.C (getLabel): Test if crow == 0.
321
322 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
323
324         * math_draw.C (Metrics): Use the correct GetString.
325