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