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