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