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