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