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