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