]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
reformatting and remove using delc
[lyx.git] / src / insets / ChangeLog
1 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2
3         * insetfootlike.C: remove using decl at file scope and add std::
4         where needed
5         * insetmarginal.C: ditto
6
7         * insetfoot.C: some reformatting
8
9         * insetfloat.C (InsetButtonRelease): adjust the hit area
10
11         * insetert.C (SetFont): some reformatting
12
13         * insetcollapsable.C: some reformatting and constification
14         (Clone): comment out.
15         * insetcollapsable.h: some reformatting
16         (Clone): comment out.
17         
18         * inset.C: reindent
19         (scroll): simplify
20
21 2001-03-30  Juergen Vigna  <jug@sad.it>
22
23         * insetcollapsable.h: changen *inset to be a InsetText inset.
24         
25         * some files: changed to reflect the above change.
26
27 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
28
29         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
30         InsetExternal::Params.
31         Added operator==() and operator!=() for the Params struct.
32
33 2001-03-29  Juergen Vigna  <jug@sad.it>
34
35         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
36         BufferView *.
37
38         * insetminipage.C: removed widthp_ and all it's functions and changed
39         to use new %-lengths of LyXLength.
40
41 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
42
43         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
44
45 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
46
47         * insetgraphicsParams.C (operator!=): new function, needed by the
48         ControlGraphics class.
49
50 2001-03-28  Juergen Vigna  <jug@sad.it>
51
52         * insettext.C (InsetButtonPress): only enter !inset if button == 2
53         (checkAndActivateInset): don't use the values returned from
54         call to bv->checkInsetHit.
55
56         * insetminipage.C (Clone): set special minipage values.
57
58         * insetcollapsable.C (draw): changed to draw the button in the
59         upper left corner outside the textinset.
60         (ascent): changed because of different drawing 
61         (descent): ditto
62         (width): ditto
63         (Edit): ditto
64         (InsetButtonPress): ditto
65         (InsetButtonRelease): ditto
66         (InsetMotionNotify): ditto
67
68 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
69
70         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
71         contain a suffix.
72         (Clone): ditto
73
74 2001-03-26  Juergen Vigna  <jug@sad.it>
75
76         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
77
78         * insettext.C (ShowInsetDialog): implemented above function.
79
80         * insettabular.C (ShowInsetDialog): ditto
81
82         * insetminipage.C (ShowInsetDialog): ditto
83
84 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
85
86         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
87         InsetInclude::Params. Don't store a buffer * in Params. Store the
88         master file name instead.
89
90 2001-03-23  Juergen Vigna  <jug@sad.it>
91
92         * insetcollapsable.C (InsetMotionNotify):
93         (InsetButtonRelease): 
94         (InsetButtonPress): fixed y-offset (minipages).
95
96         * insettext.C (draw): force a FULL update if cleared == true.
97
98         * insetcollapsable.C (draw): Lars forgotten entry for changing this
99         routine to draw the minipages on its position-flag.
100         (InsetInInsetY): give back the right y position, because of minipage
101         position-flag.
102
103 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
104
105         * insetfloat.h
106         * insetfloat.C (DocBook): docbook export code.
107
108 2001-03-22  Juergen Vigna  <jug@sad.it>
109
110         * insetminipage.C (getMaxWidth): added function to set the drawing
111         width!
112         (Read): should work now!
113
114         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
115         if we create a new inset.
116
117 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
118
119         * figinset.C (fl_set_preemptive_callback): moved definition outside
120         of namespace anon.
121
122 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
123
124         * insetminipage.C (Read): prepare for reading of minipage arguments.
125
126 2001-03-18  Baruch Even  <baruch@lyx.org>
127
128         * insetgraphics.C: Minor cleanups of the comments and code.
129
130 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
131
132         * insetminipage.C (InsetMinipage): default to not collapsed
133
134 2001-03-16  Juergen Vigna  <jug@sad.it>
135
136         * insetminipage.C (width): modified with to be a string
137         (widthp): added widthp (for % width) support functions.
138         (InsetButtonRelease): added to open the options dialog on button==3.
139         (~InsetMinipage): added to hide the dialog.
140
141         * insetminipage.h: added hideDialog signal
142
143 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
144
145         * insetminipage.h: change the order or Position to match
146         LyXParagraph::MINIPAGE_ALIGNMENT
147
148         * several files: remvoe CXX_WORKING_NAMESPACES
149
150         * ExternalTemplate.h: noncopyable is in namespace boost
151         * insetinclude.h: ditto
152         * insetcommand.h: ditto
153
154 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
155
156         * insettext.C (Edit): #else# -> #else.
157         * insettoc.C: added using directive.
158
159 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
160
161         * insetminipage.h: add pos, inner_pos, width and height. + getters
162         and setters for all of them.
163
164 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
165
166         * insetinclude.C (Latex): Do not exit when the textclass of the
167         included file differ from the textclass of the parent file.
168
169 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
170
171         * ExternalTemplate.C (read): the reading of external insets now checks
172         for \end_inset and removes it form the input stream.
173
174 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
175
176         * ExternalTemplate.h:
177         * ExternalTemplate.C:
178         * insetexternal.h:
179         * insetexternal.C: move form to GUII
180
181 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
182
183         * insetinclude.h:
184         * insetinclude.C: add InsetIncludeParams, use
185         composition rather than derivation of InsetCommand
186
187 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
188
189         * insettoc.C (Ascii): use the Buffer typedefs
190
191 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
192
193         * insettoc.C (Ascii): implement for dynamic number of lists
194
195         * insetcaption.[Ch]: update from new_insets branch
196         * insetfloat.[Ch]: ditto
197         
198 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
199
200         * insetexternal.C:
201         * figinset.C: use new File Dialog
202
203 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
204
205         * insettext.C: changes becuase of ParagraphParameters.
206
207 2001-02-28  Baruch Even  <baruch@ev-en.org>
208
209         * insetgraphics.C (updateInset): Changed due to the change in
210         GraphicsCache.
211
212 2001-02-26  Juergen Vigna  <jug@sad.it>
213
214         * insettext.C (SetFont): Set Undo only if we have selection (as it is
215         handled in LyXText).
216
217 2001-02-23  Juergen Vigna  <jug@sad.it>
218
219         * insettext.C (draw): some small repainting fixes.
220         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
221
222         * inset.C (LocalDispatch): changed action to be a kb_action (as it
223         should be) and not an int.
224         
225         * insettabular.C (LocalDispatch): ditto
226
227         * insettext.C (LocalDispatch): ditto
228
229         * insetcollapsable.C (LocalDispatch): ditto
230
231 2001-02-22  Juergen Vigna  <jug@sad.it>
232
233         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
234         DISPATCH it and we don't have a locking_inset.
235
236 2001-02-21  Baruch Even  <baruch@ev-en.org>
237
238         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
239         instead of GraphicsCacheItem *.
240
241 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
242
243         * insetcollapsable.C (getLyXText): add const qualifier to second
244         parameter. 
245
246 2001-02-22  Juergen Vigna  <jug@sad.it>
247
248         * insettext.C (getLyXText): honor the recursive parameter.
249         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
250
251         * inset.C (getLyXText): added bool recursive parameter.
252
253         * insettext.C (SetUpdateStatus): or the update codes.
254         (draw): check need_update with &.
255         (InsetButtonPress): set no_selection to not put a selection when
256         entering an inset and it is redraws in another spot.
257
258         * insettext.h: made need_update an int.
259
260 2001-02-20  Baruch Even  <baruch@ev-en.org>
261
262         * insetgraphics.h:
263         * insetgraphisc.C: Changed to use better semantics when loading images
264         for inline view. Now it doesn't keep the pixmap itself but it's holder.
265
266 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
267
268         * insetcommand.h:
269         * inseterror.h:
270         * insetgraphics.C: change name of "hide" signal to "hideDialog",
271         consistent with InsetTabular.
272         
273 2001-02-19  Juergen Vigna  <jug@sad.it>
274
275         * insettabular.C (LocalDispatch): implement PAGE up/down.
276
277         * insettext.C (draw): clear all of it on need_update==INIT too!
278
279         * insettabular.C (InsetUnlock): always clear the selection.
280
281         * inset.C (scroll): normally we only want to scroll the inset until
282         it is fully visible so if top_x + offset > 20 then just set scx to 0.
283
284 2001-02-14  Juergen Vigna  <jug@sad.it>
285
286         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
287         (resetPos): fixed scroll behaviour.
288         (LocalDispatch): do an update if moving cursor inside a table cell
289         requests a scroll of the tabular.
290
291 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
292
293         * insettext.C (textWidth): constify local var
294
295         * insettabular.C: small cleanup.
296
297         * insetfoot.C (Latex): constify local var
298
299         * insetcollapsable.C: small cleanup.
300
301         * figinset.C (runqueue): use compare instead of strcmp
302
303 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
304
305         * insettext.C:
306         * insetinfo.C: remove cruft
307
308 2001-02-14  Juergen Vigna  <jug@sad.it>
309
310         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
311
312 2001-02-13  Juergen Vigna  <jug@sad.it>
313
314         * insettext.C (InsertInset): don't move left (is this right?)
315
316         * insettabular.C (LocalDispatch): use of the no_draw variable
317
318         * insettabular.h: new no_draw variable to stop redraw
319
320         * insettabular.C (TabularFeatures): fixed update for alignment change
321
322 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
323
324         * insetinclude.C:
325         * insetbib.h:
326         * insetbib.C: move dialogs to frontends/
327
328 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
329
330         * insettext.C (LocalDispatch): Restore the language if the inset
331         becomes empty.
332
333 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
334
335         * insettext.C (moveRightIntern): Update the selection cursor.
336         (moveLeftIntern): Ditto.
337
338 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
339
340         * Makefile.am: remove BoundingBox.h
341
342         * BoundingBox.h: removed
343
344 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
345         
346         * insettext.C (LocalDispatch): Update selection cursor when moving 
347         cursor to the right.
348         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
349         (moveLeftIntern): Ditto.
350
351 2001-02-05  Baruch Even  <baruch.even@writeme.com>
352
353         * insetgraphics.C: Updated automatic image conversion, it now goes into
354         temporary directory instead of with the image itself.
355
356 2001-01-21  Baruch Even  <baruch@ev-en.org>
357
358         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
359         to EPS or PNG when needed (support bitmap graphics).
360
361 2000-11-02  Baruch Even  <baruch@ev-en.org>
362
363         * insetgraphics.C:
364         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
365         and removal of commented out code.
366
367 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
368
369         * insetbib.C (callback): Update citations if the key has changed.
370
371 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
372
373         * insetbib.C (InsetBibKey): Better computation of default key.
374         (getScreenLabel) Show both the key and the label.
375         (getBibLabel): New method.
376         (callback): Force a redraw if the inset have been changed.
377
378 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
379
380         * insetref.C (getType, getName): Move methods from 
381         src/frontends/xforms/FormRef.C.
382
383 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
384
385         * insettabular.C: Various improvements (use only one dummy position).
386
387 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
388
389         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
390         par->bibkey->width. This fixes the crashes when running without
391         gui or when having included documents.
392
393 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
394
395         * insetcommand.C (getAsString, setFromString): Cleanup.
396
397 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
398
399         * insetref.C: Add the array InsetRef::types that contains
400         information about all supported reference types.
401
402 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
403
404         * lyxinset.h: remove trailing comma in enum.
405
406 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
407
408         * insettext.C: kill LyXBell.