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