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