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