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