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