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