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