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