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