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