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