]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
Minor code shuffle.
[lyx.git] / src / insets / ChangeLog
1 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2
3         * insetert.C (latex): write out all paragraphs.
4
5 2001-07-17  Baruch Even  <baruch@lyx.org>
6
7         * insetgraphics.C (draw): Removed unneeded casts.
8
9 2001-07-16  Juergen Vigna  <jug@sad.it>
10
11         * insettext.C (update): fixed small oversight (reset lt to 0).
12
13 2001-07-14  Baruch Even  <baruch@lyx.org>
14
15         * insetgraphics.h:
16         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
17
18 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
19
20         Consistent use of Lsstream.h:
21         * figinset.C: removed using std::ostringstream directive.
22
23         * insetgraphics.C (createLatexOptions):
24         * insetinclude.C (unique_id):
25         std::ostringstream -> ostringstream.
26         * insettext.C (localDispatch): std::istringstream -> istringstream.
27
28 2001-07-13  Juergen Vigna  <jug@sad.it>
29
30         * insetfloat.C (insertInsetAllowed): added missing const_cast.
31
32         * insetcollapsable.C (getLockingInset): ditto.
33
34 2001-07-12  Juergen Vigna  <jug@sad.it>
35
36         * insetcollapsable.h: added implementation of new function for
37         collapsable status.
38
39         * various files: added implementation of new insertInsetAllowed-func
40         and redone the function a bit more.
41         
42         * inset.h: added isCollapsable(), bool collapsed(),
43         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
44
45         * insetfloat.C (insertInsetAllowed): make a bit more checks.
46
47         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
48         LyXText which is marked for removal while we're using it!
49
50         * insettext.h: added private LyXText * lt to use it to assure we are
51         not deleting our LyXText while we're using it!
52
53 2001-07-11  Juergen Vigna  <jug@sad.it>
54
55         * insettext.C (insertInset): check if we are before the inset after
56         inserting it! This check IS needed. Remove the Undo-Call as it is
57         called in LyXText::insertInset!
58
59         * insettext.h: added struct InnerCache.
60
61         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
62         that we ONLY delete the LyXText in the getLyXText() routine. So we
63         are sure we don't delete LyXText while someone is working with it!
64
65 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
66
67         * insetexternal.C: (*it). -> it->
68         * insettext.C: ditto
69
70 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
71
72         * insetcollapsable.C (edit): always open collapsed insets (even if
73         they are not autocollapsable)
74
75         * insetcommand.C (operator=): simplify.
76
77 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
78
79         * insetert.C (latex): handle META_NEWLINE
80
81 2001-07-09  Juergen Vigna  <jug@sad.it>
82
83         * insetert.h: a normal InsetText can insert insets, but we won't.
84
85         * inset.h: return default "false" on insertInsetAllowed and implement
86         this function where a returnvalue != "false" is needed.
87
88 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
89
90         * insetert.C (InsetERT): new contructor
91
92 2001-07-06  Juergen Vigna  <jug@sad.it>
93
94         * a lot of files: added implementation of the below new functions
95         and the change to clone(). Also the call of the new undo-functions
96         where needed.
97         
98         * inset.h: added an inset_id, added functions getParFromID,
99         getInsetFromID, firstParagraph, cursor and id functions, added
100         bool same_ids to clone function.
101
102 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
103
104         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
105         of BufferView * and shared_ptr<LyXText>
106
107 2001-07-05  Juergen Vigna  <jug@sad.it>
108
109         * insettext.C (clear): deleted also the cache not only LyXText.
110         (setParagraphData): ditto.
111
112 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
113
114         * insetfloat.C (latex): let the specific placement take presedence
115         if set, otherwise choose document placement if set, otherwise just
116         use float default placement.
117
118 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
119
120         * insettext.C (localDispatch): call CutAndPaste::'s static method
121         directly. 
122
123 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
124
125         * insetbib.C: no meed to include forms.h here.
126
127 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
128
129         * insettext.C: added using std::make_pair directive.
130
131 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
132
133         * insettext.C (getLyXText): avoid multiple lookups, and simplify
134         slightly
135         (deleteLyXText): ditto
136         (resizeLyXText): ditto
137
138 2001-07-02  Juergen Vigna  <jug@sad.it>
139
140         * insettext.C (getLyXText): introduce a cache in getLyXText so that
141         following calls are only returned the right pointer without the over
142         head to search in the map.
143         (various funcs): reset the cached_bview variable as this signs that
144         the cache is not valid anymore.
145
146 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
147
148         * insettabular.C (clone): do not copy the LyXTabular twice
149
150 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
151
152         * insettext.h (TEXT): delete method
153
154 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
155
156         * insetmarginal.C (latex): 
157         * insetfoot.C (latex): fix spacing of notes in LaTeX
158
159         * insettext.C (localDispatch): use .c_str() on istringstream
160         constructor argument.
161
162 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
163
164         * insettoc.h:
165         * insettoc.C:
166         * inseturl.h:
167         * inseturl.C: fix method names in these to begin
168           with small char too, so they inherit
169  
170 2001-06-28  Juergen Vigna  <jug@sad.it>
171
172         * insettext.C (setFont): fixed font settings using toggleFree()
173         instead of setFont().
174
175 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
176
177         * Change a lot of method names to begin with a small char.
178         Changes to a lot of files because of this.
179
180 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
181
182         * insetfloatlist.C (Write): std:: qualify ostream
183         (Latex): ditto
184
185 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
186
187         * figinset.C:
188         * inset.C:
189         * insetgraphics.C: send debug output to Debug::INFO instead of
190         Debug::ANY.
191
192 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
193
194         * insettabular.h:
195         * insettabular.C (getStatus): update to use func_status
196
197 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
198
199         * insetref.C (DocBook): added support for cross-references without
200         a name.
201
202 2001-06-26  The LyX Project  <jug@sad.it>
203
204         * insetref.C:
205         * insetref.h:
206         * insetlabel.C:
207         * insetlabel.h: removed escape method and moved it to
208         support/lstrings.h.
209
210 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
211
212         * insettabular.C (getMaxWidth): do the speedup in a different way,
213         remove dead code
214
215 2001-06-24  The LyX Project  <Asger>
216
217         * insettabular.C (getMaxWidth): We cache a mapping from
218         inset to cell in order to speed this method up.
219
220 2001-06-24  The LyX Project  <Asger>
221
222         * insettext.C: Optimized InsetText::draw or something.
223
224 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
225
226         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
227
228 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
229
230         * inset.h: name change from lyxinset.h
231
232 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
233
234         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
235
236 2001-06-14  Juergen Vigna  <jug@sad.it>
237
238         * insettext.C (draw): removed warnings.
239
240 2001-06-13  Juergen Vigna  <jug@sad.it>
241
242         * insettabular.C (nodraw): only go down the tree if we don't have
243         that flag set otherwise it's obvious that we don't want to draw.
244         (LocalDispatch): do also an update if we have an undispached result.
245
246 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
247
248         * insetcite.C:
249         * insetgraphicsParams.C:
250         * insettext.C: removed // -*- C++ -*- as first line.
251
252 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
253
254         * lyxinset.h (resizeLyXText): shut off warning about unused
255         parameter "force" 
256
257 2001-06-07  Juergen Vigna  <jug@sad.it>
258
259         * insettext.C (resizeLyXText): honor the new force flag.
260
261         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
262
263         * insettabular.C (deleteLyXText): new function
264
265 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
266
267         * insettheorem.C:
268         * insetminipage.C:
269         * insetlist.C:
270         * insetfootlike.C:
271         * insetfloat.C:
272         * insetert.C:
273         * insetcollapsable.C:
274         * insetcaption.C: LColor tidy
275          
276 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
277
278         * figinset.C: fix typo
279
280 2001-06-01  Juergen Vigna  <jug@sad.it>
281
282         * insettabular.C (resetPos): small hack so that scroll is not set to
283         0 when we are in the last column of a tabular. This is a problem we
284         have because of constats 20 offset on both directions, so this can
285         cause on the limit an endless loop.
286
287         * insettext.C (SetFont): forgot that we can have locking insets ;)
288
289 2001-05-31  Juergen Vigna  <jug@sad.it>
290
291         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
292
293 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
294
295         * figinset.C: add using std:: directive for the C functions which
296         need that.
297
298 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
299
300         * insetfloat.C (Write): write out wide info
301         (Read): read the wide info
302         (Latex): use the wide info when creating latex.
303
304         * insettext.C: adjust
305
306         * insetgraphics.[Ch] (statusMessage): change to return string
307         (width): adjust
308         (draw): adjust
309
310         * figinset.C (runqueue): add std::
311         (Recompute): ditto
312
313 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
314
315         * insetcite.C (Ascii): add std:: qualifier
316
317 2001-05-28  Juergen Vigna  <jug@sad.it>
318
319         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
320         a endless-width inset (maxWidth < 0).
321         (Edit): change language only if not equal.
322
323         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
324
325         * insettext.C (draw): fixed draw/clear of InsetText-Frame
326
327 2001-05-16  Juergen Vigna  <jug@sad.it>
328
329         * insettext.C (selectAll): added
330         (clearSelection): added
331
332         * insettabular.C (SetFont): now we may set a font on a whole selection!
333         (getSelection): added helper function.
334
335 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
336
337         * insetcite.C (Ascii): Add method.
338
339 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
340
341         * figinset.C:
342         * insetbib.C: fix path for OS/2 & Win32
343
344 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
345
346         * insetfoot.C (Latex): don't use % after footnote.
347
348 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
349
350         * insettext.C (Read): use clear
351         (SetParagraphData): use LyXParagraph copy constructor instead of clone
352
353 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
354
355         * insetfloatlist.h: add a bunch of std:: qualifiers.
356
357 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
358
359         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
360         FLOAT_LIST_CODE, renumber code list.
361
362         * insettoc.C (getScreenLabel): remove support for float lists
363         (LyxCode): ditto
364         (Ascii): ditto
365
366         * insetfloatlist.[Ch]: new files
367
368         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
369
370 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
371
372         * insettabular.C (LocalDispatch):
373         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
374         method 
375
376 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
377
378         * insettext.C: remvoe !NEW_INSETS cruft
379
380         * insettabular.C: remove !NEW_INSETS cruft
381
382         * insetcollapsable.h: remove !NEW_INSETS cruft
383
384         * insetbib.C: remove !NEW_INSETS cruft
385
386 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
387
388         * insettoc.C: hack to make listof algorithm work
389
390 2001-04-20  Juergen Vigna  <jug@sad.it>
391
392         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
393
394 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
395
396         * insetquotes.C (Latex): improve the guard against
397         unwanted !` and ?` ligatures. This should really be done in
398         another place (to catch all this ligatures at low-level).
399
400 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
401
402         * insettext.C (init): remvoe leftovers from cursor_visible change
403         (draw): use c++ cast
404         (LocalDispatch): dispatch LFUN_MESSAGE
405
406         * insettabular.C (InsetTabular): remove leftovers from
407         cursor_visible, and scoped_ptr changes
408         (draw): use c++ cast
409
410         * insetcollapsable.C (draw): use c++ cast
411
412         * ExternalTemplate.h: inherit privaely from noncopyable
413         * insetcommand.h: ditto
414         * insetinclude.h: ditto
415
416 2001-04-16  Allan Rae  <rae@lyx.org>
417
418         * insettoc.C (Ascii): 
419         * insettext.C (draw): 
420         * insettabular.C (setPos): 
421         * insetminipage.C (Read): 
422         * insetfloat.C (placement): 
423         * insetcaption.C (Ascii, DocBook): 
424         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
425         an unrecognised preprocessor directive.  So ensure they're wrapped. 
426
427 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
428
429         * insetexternal.h:
430         * insetexternal.C: set view on Clone. Add _ to private members.
431
432 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
433
434         * insettext.C (InsetText): fix new
435         (InsetText): reindent some, simplify deletion of par list 
436         (clear): simplify deletion of par list, fix new
437         (SetParagraphData): simplify deletion of par list
438
439         * insettabular.[Ch] (getLabelList): implement new method
440
441 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
442
443         * lyxinset.h: do not include gettext.h...
444
445         * inset.C:
446         * insetcaption.C:
447         * insetexternal.C:
448         * insetgraphics.C:
449         * insetindex.C:
450         * insetlabel.C:
451         * insetlatexaccent.C:
452         * insetminipage.C:
453         * insetquotes.C:
454         * insettabular.C:
455         * inseturl.C: ... and do it here instead
456
457 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
458
459         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
460
461         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
462
463         * insetcollapsable.[Ch] (getLabelList): implement
464
465         * insettext.[Ch] (getLabelList): implement
466
467         * insettext.h: reindent
468
469         * insettabular.h: make tabular a scoped_ptr
470
471         * insettext.C (init): adjust for cursor_visible
472         (ToggleInsetCursor): constify asc and desc, font, adjust for
473         cursor_visible
474         (ShowInsetCursor): constify asc and desc, font, adjust for
475         cursor_visible
476         (HideInsetCursor): adjust for cursor_visible
477
478         * insettabular.C: reindent some
479         (InsetTabular): adjust for scoped_ptr and cursor_visible
480         (InsetTabular): ditto
481         (~InsetTabular): delete delete
482         (Clone): adjust for scoped_ptr
483         (Read): constify old_format, adjust for scoped_ptr, move init of
484         token
485         (draw): constify tx, localize loop vars.
486         some other localization of variables, remove double initilizatons.
487         
488         * insetfoot.C: remove using std::ostream, add ostream where needed
489
490 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
491
492         * lyxinset.h: some reindentaion, use initializer list for
493         constructro.
494         UpdatableInset: make cursor_visible a private var add
495         public isCursorVisible(), add protected toggleCursorVisible() and
496         proctected setCursorVisible(bool), make scroll call the Inset::scroll
497
498         * insettoc.C: remvoe using decl
499         (getScreenLabel): make cmdname donst
500         (LyxCode): ditto
501         (Ascii): ditto
502         (Ascii): don't use endl
503
504         * insetfootlike.C: remove using decl at file scope and add std::
505         where needed
506         * insetmarginal.C: ditto
507
508         * insetfoot.C: some reformatting
509
510         * insetfloat.C (InsetButtonRelease): adjust the hit area
511
512         * insetert.C (SetFont): some reformatting
513
514         * insetcollapsable.C: some reformatting and constification
515         (Clone): comment out.
516         * insetcollapsable.h: some reformatting
517         (Clone): comment out.
518         
519         * inset.C: reindent
520         (scroll): simplify
521
522 2001-03-30  Juergen Vigna  <jug@sad.it>
523
524         * insetcollapsable.h: changen *inset to be a InsetText inset.
525         
526         * some files: changed to reflect the above change.
527
528 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
529
530         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
531         InsetExternal::Params.
532         Added operator==() and operator!=() for the Params struct.
533
534 2001-03-29  Juergen Vigna  <jug@sad.it>
535
536         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
537         BufferView *.
538
539         * insetminipage.C: removed widthp_ and all it's functions and changed
540         to use new %-lengths of LyXLength.
541
542 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
543
544         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
545
546 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
547
548         * insetgraphicsParams.C (operator!=): new function, needed by the
549         ControlGraphics class.
550
551 2001-03-28  Juergen Vigna  <jug@sad.it>
552
553         * insettext.C (InsetButtonPress): only enter !inset if button == 2
554         (checkAndActivateInset): don't use the values returned from
555         call to bv->checkInsetHit.
556
557         * insetminipage.C (Clone): set special minipage values.
558
559         * insetcollapsable.C (draw): changed to draw the button in the
560         upper left corner outside the textinset.
561         (ascent): changed because of different drawing 
562         (descent): ditto
563         (width): ditto
564         (Edit): ditto
565         (InsetButtonPress): ditto
566         (InsetButtonRelease): ditto
567         (InsetMotionNotify): ditto
568
569 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
570
571         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
572         contain a suffix.
573         (Clone): ditto
574
575 2001-03-26  Juergen Vigna  <jug@sad.it>
576
577         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
578
579         * insettext.C (ShowInsetDialog): implemented above function.
580
581         * insettabular.C (ShowInsetDialog): ditto
582
583         * insetminipage.C (ShowInsetDialog): ditto
584
585 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
586
587         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
588         InsetInclude::Params. Don't store a buffer * in Params. Store the
589         master file name instead.
590
591 2001-03-23  Juergen Vigna  <jug@sad.it>
592
593         * insetcollapsable.C (InsetMotionNotify):
594         (InsetButtonRelease): 
595         (InsetButtonPress): fixed y-offset (minipages).
596
597         * insettext.C (draw): force a FULL update if cleared == true.
598
599         * insetcollapsable.C (draw): Lars forgotten entry for changing this
600         routine to draw the minipages on its position-flag.
601         (InsetInInsetY): give back the right y position, because of minipage
602         position-flag.
603
604 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
605
606         * insetfloat.h
607         * insetfloat.C (DocBook): docbook export code.
608
609 2001-03-22  Juergen Vigna  <jug@sad.it>
610
611         * insetminipage.C (getMaxWidth): added function to set the drawing
612         width!
613         (Read): should work now!
614
615         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
616         if we create a new inset.
617
618 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
619
620         * figinset.C (fl_set_preemptive_callback): moved definition outside
621         of namespace anon.
622
623 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
624
625         * insetminipage.C (Read): prepare for reading of minipage arguments.
626
627 2001-03-18  Baruch Even  <baruch@lyx.org>
628
629         * insetgraphics.C: Minor cleanups of the comments and code.
630
631 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
632
633         * insetminipage.C (InsetMinipage): default to not collapsed
634
635 2001-03-16  Juergen Vigna  <jug@sad.it>
636
637         * insetminipage.C (width): modified with to be a string
638         (widthp): added widthp (for % width) support functions.
639         (InsetButtonRelease): added to open the options dialog on button==3.
640         (~InsetMinipage): added to hide the dialog.
641
642         * insetminipage.h: added hideDialog signal
643
644 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
645
646         * insetminipage.h: change the order or Position to match
647         LyXParagraph::MINIPAGE_ALIGNMENT
648
649         * several files: remvoe CXX_WORKING_NAMESPACES
650
651         * ExternalTemplate.h: noncopyable is in namespace boost
652         * insetinclude.h: ditto
653         * insetcommand.h: ditto
654
655 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
656
657         * insettext.C (Edit): #else# -> #else.
658         * insettoc.C: added using directive.
659
660 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
661
662         * insetminipage.h: add pos, inner_pos, width and height. + getters
663         and setters for all of them.
664
665 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
666
667         * insetinclude.C (Latex): Do not exit when the textclass of the
668         included file differ from the textclass of the parent file.
669
670 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
671
672         * ExternalTemplate.C (read): the reading of external insets now checks
673         for \end_inset and removes it form the input stream.
674
675 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
676
677         * ExternalTemplate.h:
678         * ExternalTemplate.C:
679         * insetexternal.h:
680         * insetexternal.C: move form to GUII
681
682 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
683
684         * insetinclude.h:
685         * insetinclude.C: add InsetIncludeParams, use
686         composition rather than derivation of InsetCommand
687
688 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
689
690         * insettoc.C (Ascii): use the Buffer typedefs
691
692 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
693
694         * insettoc.C (Ascii): implement for dynamic number of lists
695
696         * insetcaption.[Ch]: update from new_insets branch
697         * insetfloat.[Ch]: ditto
698         
699 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
700
701         * insetexternal.C:
702         * figinset.C: use new File Dialog
703
704 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
705
706         * insettext.C: changes becuase of ParagraphParameters.
707
708 2001-02-28  Baruch Even  <baruch@ev-en.org>
709
710         * insetgraphics.C (updateInset): Changed due to the change in
711         GraphicsCache.
712
713 2001-02-26  Juergen Vigna  <jug@sad.it>
714
715         * insettext.C (SetFont): Set Undo only if we have selection (as it is
716         handled in LyXText).
717
718 2001-02-23  Juergen Vigna  <jug@sad.it>
719
720         * insettext.C (draw): some small repainting fixes.
721         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
722
723         * inset.C (LocalDispatch): changed action to be a kb_action (as it
724         should be) and not an int.
725         
726         * insettabular.C (LocalDispatch): ditto
727
728         * insettext.C (LocalDispatch): ditto
729
730         * insetcollapsable.C (LocalDispatch): ditto
731
732 2001-02-22  Juergen Vigna  <jug@sad.it>
733
734         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
735         DISPATCH it and we don't have a locking_inset.
736
737 2001-02-21  Baruch Even  <baruch@ev-en.org>
738
739         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
740         instead of GraphicsCacheItem *.
741
742 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
743
744         * insetcollapsable.C (getLyXText): add const qualifier to second
745         parameter. 
746
747 2001-02-22  Juergen Vigna  <jug@sad.it>
748
749         * insettext.C (getLyXText): honor the recursive parameter.
750         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
751
752         * inset.C (getLyXText): added bool recursive parameter.
753
754         * insettext.C (SetUpdateStatus): or the update codes.
755         (draw): check need_update with &.
756         (InsetButtonPress): set no_selection to not put a selection when
757         entering an inset and it is redraws in another spot.
758
759         * insettext.h: made need_update an int.
760
761 2001-02-20  Baruch Even  <baruch@ev-en.org>
762
763         * insetgraphics.h:
764         * insetgraphisc.C: Changed to use better semantics when loading images
765         for inline view. Now it doesn't keep the pixmap itself but it's holder.
766
767 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
768
769         * insetcommand.h:
770         * inseterror.h:
771         * insetgraphics.C: change name of "hide" signal to "hideDialog",
772         consistent with InsetTabular.
773         
774 2001-02-19  Juergen Vigna  <jug@sad.it>
775
776         * insettabular.C (LocalDispatch): implement PAGE up/down.
777
778         * insettext.C (draw): clear all of it on need_update==INIT too!
779
780         * insettabular.C (InsetUnlock): always clear the selection.
781
782         * inset.C (scroll): normally we only want to scroll the inset until
783         it is fully visible so if top_x + offset > 20 then just set scx to 0.
784
785 2001-02-14  Juergen Vigna  <jug@sad.it>
786
787         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
788         (resetPos): fixed scroll behaviour.
789         (LocalDispatch): do an update if moving cursor inside a table cell
790         requests a scroll of the tabular.
791
792 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
793
794         * insettext.C (textWidth): constify local var
795
796         * insettabular.C: small cleanup.
797
798         * insetfoot.C (Latex): constify local var
799
800         * insetcollapsable.C: small cleanup.
801
802         * figinset.C (runqueue): use compare instead of strcmp
803
804 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
805
806         * insettext.C:
807         * insetinfo.C: remove cruft
808
809 2001-02-14  Juergen Vigna  <jug@sad.it>
810
811         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
812
813 2001-02-13  Juergen Vigna  <jug@sad.it>
814
815         * insettext.C (InsertInset): don't move left (is this right?)
816
817         * insettabular.C (LocalDispatch): use of the no_draw variable
818
819         * insettabular.h: new no_draw variable to stop redraw
820
821         * insettabular.C (TabularFeatures): fixed update for alignment change
822
823 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
824
825         * insetinclude.C:
826         * insetbib.h:
827         * insetbib.C: move dialogs to frontends/
828
829 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
830
831         * insettext.C (LocalDispatch): Restore the language if the inset
832         becomes empty.
833
834 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
835
836         * insettext.C (moveRightIntern): Update the selection cursor.
837         (moveLeftIntern): Ditto.
838
839 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
840
841         * Makefile.am: remove BoundingBox.h
842
843         * BoundingBox.h: removed
844
845 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
846         
847         * insettext.C (LocalDispatch): Update selection cursor when moving 
848         cursor to the right.
849         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
850         (moveLeftIntern): Ditto.
851
852 2001-02-05  Baruch Even  <baruch.even@writeme.com>
853
854         * insetgraphics.C: Updated automatic image conversion, it now goes into
855         temporary directory instead of with the image itself.
856
857 2001-01-21  Baruch Even  <baruch@ev-en.org>
858
859         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
860         to EPS or PNG when needed (support bitmap graphics).
861
862 2000-11-02  Baruch Even  <baruch@ev-en.org>
863
864         * insetgraphics.C:
865         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
866         and removal of commented out code.
867
868 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
869
870         * insetbib.C (callback): Update citations if the key has changed.
871
872 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
873
874         * insetbib.C (InsetBibKey): Better computation of default key.
875         (getScreenLabel) Show both the key and the label.
876         (getBibLabel): New method.
877         (callback): Force a redraw if the inset have been changed.
878
879 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
880
881         * insetref.C (getType, getName): Move methods from 
882         src/frontends/xforms/FormRef.C.
883
884 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
885
886         * insettabular.C: Various improvements (use only one dummy position).
887
888 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
889
890         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
891         par->bibkey->width. This fixes the crashes when running without
892         gui or when having included documents.
893
894 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
895
896         * insetcommand.C (getAsString, setFromString): Cleanup.
897
898 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
899
900         * insetref.C: Add the array InsetRef::types that contains
901         information about all supported reference types.
902
903 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
904
905         * lyxinset.h: remove trailing comma in enum.
906
907 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
908
909         * insettext.C: kill LyXBell.