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