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