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