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