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