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