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