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