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