]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
3afb7fe56d4f82cb2c8cd6c5ffbf7330caa2c7cc
[lyx.git] / src / insets / ChangeLog
1 2001-11-28  Juergen Vigna  <jug@sad.it>
2
3         * insettabular.h: insert missing function allowSpellcheck()!
4
5         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6
7 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
8
9         * insetfloatlist.h:
10         * insetfloatlist.C: derive from InsetCommand so gui can use it
11           easily
12  
13 2001-11-26  André Pönitz <poenitz@gmx.net>
14         
15         * insettext.[Ch]:
16         * insetert.C:
17         * insetnote.C: reduce header dependencies, introduce type for
18         positions 
19
20 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
21
22         * various: update for Alert.h
23  
24 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
25
26         * inset.h: fix comment
27  
28         * insettext.C: use par->isInset()
29
30 2001-11-22  Allan Rae  <rae@lyx.org>
31
32         * insetcollapsable.h: 
33         * inset.h: Changes to checkInsertChar() behaviour.
34         Now return value indicates whether chars can be inserted.
35
36 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
37
38         * various:  updated to use the new LaTeXFeatures
39
40 2001-11-14  José Matos  <jamatos@fep.up.pt>
41
42         * insetspecialchar.C (linuxdoc): 
43         (docbook): don't give a name to a unused variable.
44
45         * insettext.C (docbook): removed unused variable.
46
47 2001-11-13  Herbert Voss  <voss@perce.de>
48
49         * insetgraphic.C: fix scale bug
50         
51 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
52
53         * inset.h (isSpace): 
54         (isLetter): new virtual methods.
55
56         * insetspecialchar.C (isSpace): 
57         (isLetter): implement here.
58
59 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
60
61         * inset.h: new inline helpers
62
63         * insettext.C: use new helpers
64
65 2001-11-07  José Matos  <jamatos@fep.up.pt>
66
67         * insettext.C (docbook): full support for paragraphs inside insettext.
68
69 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
70
71         * insetindex.C: added header file for std::ostream.
72
73 2001-11-03  José Matos  <jamatos@fep.up.pt>
74
75         * insetindex.C: added using std::ostream that I forgot yesterday.
76
77 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
78
79         * insetindex.h (docbook):
80         * insetindex.C (docbook): added support for docbook export.
81
82 2001-11-02  José Matos  <jamatos@fep.up.pt>
83
84         * insetcaption.C(docbook): added support for docbook export.
85
86 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
87
88         * insetexternal.C (updateExternal): Do not run update command if
89         result file exists and is up to date.
90
91         * ExternalTemplate.C (readFormat): Support the updateresult token.
92
93 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
94
95         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
96         external_templates) to use the buffer->fileName() but only if
97         previewing. Generating a TeX file should make FPath return
98         "".
99
100 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
101
102         * insetert.h:
103         * insetert.C: fix some problems
104  
105 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
106
107         * insetexternal.C (doSubstitution): Added $$FPath token
108         to list of usable substitutions in external inset templates.
109
110 2001-10-24  Juergen Vigna  <jug@sad.it>
111
112         * insettabular.C: use new ltType struct for setting longtable
113         header and footers also new UNSET enums.
114
115 2001-10-24  José Matos  <jamatos@fep.up.pt>
116
117         * insettabular.C (linuxdoc): Now exports the ascii's table version.
118         (docbook): If the table is not inside a float then wrap it inside
119         <informaltable>...</informaltable>.
120
121 2001-10-23  José Matos  <jamatos@fep.up.pt>
122
123         * insetref.C (docbook): removed / terminator to conform SGML.
124
125         * insetspecialchar.C (linuxdoc):
126         (docbook): Added support for special chars, more than ascii export.
127
128 2001-10-22  Juergen Vigna  <jug@sad.it>
129
130         * insettext.C (checkInsertChar): added for REALLY checking the
131         font of the inserted char in the right inset!
132
133 2001-10-19  Juergen Vigna  <jug@sad.it>
134
135         * inset.h: added method allowSpellcheck() so that insets who do
136         not have anything to spellcheck can tell and so they are over-jumped.
137         Implemented for InsetText and co.
138
139 2001-10-18  Juergen Vigna  <jug@sad.it>
140
141         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
142
143 2001-10-15  José Matos  <jamatos@fep.up.pt>
144
145         * insetert.C: allow export for docbook and linuxdoc
146
147 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
148
149         * insetquotes.C (dispString): handles latin3 and latin4 quotes
150
151 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
152
153         * insetquotes.C (dispString): fix handling of latin9 quotes
154
155 2001-10-03  Juergen Vigna  <jug@sad.it>
156
157         * insetert.C: ditto
158
159         * insetcollapsable.C: change updateInset calls to not tell BV that
160         we have changed status.
161
162 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
163
164         * insettabular.C (deletable): make const
165
166 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
167
168         * insetert.C (latex): Fix the returned value
169
170 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
171
172         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
173         Returns string(), so nothing in an ERT inset is spellchecked.
174
175         * insetgraphics.C (draw): print the filename if not displaying the
176         image.
177         (width): make sure that the width and draw methods are consistent.
178         (updateInset): don't even load the image into cache if not displaying
179         it.
180
181 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
182
183         * various files (selectNextWord): renamed as
184         selectNextWordToSpellcheck.
185
186         * insetgraphics.C (draw): remove the previous change. Right place
187         is in imageLoaderXPM.C.
188         (draw): don't display the image if params.display == NONE.
189
190 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
191
192         * figinset.C (runqueue):
193         * insetgraphics.C (draw): set background colour of inset from
194         background to the user-configurable graphicsbg.
195
196 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
197
198         * insetquotes.C (InsetQuotes): when trying to decide the side of
199         the quote, choose `left' only after a space or '('
200
201 2001-09-04  José Matos  <jamatos@fep.up.pt>
202         * figinset.C
203         * figinset.h
204         * insetcaption.C
205         * insetcaption.h
206         * insetcollapsable.h
207         * insetcommand.C
208         * insetcommand.h
209         * inseterror.h
210         * insetert.C
211         * insetert.h
212         * insetexternal.C
213         * insetexternal.h
214         * insetfloat.C
215         * insetfloat.h
216         * insetfloatlist.h
217         * insetgraphics.C
218         * insetgraphics.h
219         * inset.h
220         * insetinclude.C
221         * insetinclude.h
222         * insetlabel.C
223         * insetlabel.h
224         * insetlatexaccent.C
225         * insetlatexaccent.h
226         * insetquotes.C
227         * insetquotes.h
228         * insetref.C
229         * insetref.h
230         * insetspecialchar.C
231         * insetspecialchar.h
232         * insettabular.C
233         * insettabular.h
234         * insettext.C
235         * insettext.C (docbook): rename docBook method to docbook.
236
237 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
238
239         * inset.h (getFirstParagraph): New virtual method.
240
241 2001-08-20  Herbert Voss  <voss@perce.de>
242         * insetbib.C: added a option bibtotoc which is from "BIB to TOC" 
243         in the the bibtex-database-gui for inserting a line
244         \addcontentsline... 
245
246         If no style is given than there is no tex-output.
247         
248 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
249
250         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
251         files as a vector.
252         (getKeys): use it.
253
254 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
255
256         * insetert.C (latex): Fix output for multiple paragraphs.
257         (write): New code for writing paragraph data.
258         (read): Set font after reading the inset.
259         (localDispatch): Call set_latex_font() for more cases.
260
261         * insetnote.h: Add empty validate method.
262         * insetert.h: Ditto
263
264         * insetnote.C (InsetNote): Set language to the language of the 
265         document.
266
267 2001-08-16  Juergen Vigna  <jug@sad.it>
268
269         * insettext.C: implemented the new FINISHED states.
270
271         * insettabular.C: ditto 
272
273         * inset.h: added more FINISHED states for cursor right,up,down
274
275 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
276
277         * insetfloatlist.C: use "FloatName List" 
278  
279 2001-08-14  Juergen Vigna  <jug@sad.it>
280
281         * insetert.C (edit): forgot to set status_ in edit calls!
282
283 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
284
285         * insettext.C: Compilation fix
286
287 2001-08-13  Juergen Vigna  <jug@sad.it>
288
289         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
290
291         * insetcollapsable.C (edit): don't recollapse an already open inset.
292
293         * insettext.C: fixed problem when reinitializing LyXText by not doing
294         it while lt is in use and post this to the next possible time in
295         getLyXText().
296         (searchForward): fixed not unlocking of inset if nothing found.
297         (edit): set cursor behind right (was set -1 pos).
298
299         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
300
301         * insettabular.C (tabularFeatures): fixed fix where deleting the
302         last row didn't get the right actcell!
303
304 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
305
306         * insettext.C (localDispatch): Change language only when the inset 
307         becomes empty.
308
309 2001-08-10  Juergen Vigna  <jug@sad.it>
310
311         * insettabular.C (selectNextWordInt): use the front using edit call.
312
313         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
314         the parameter overwrite class variable inset.
315
316         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
317
318         * insettext.C (saveLyXTextState): check for invalid cursor-par.
319         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
320
321         * insettabular.C (calculate_dimensions_of_cells): let's try to call
322         update only for fixed with cells.
323         (resetPos): try to fix the lockup on spellchecking or s&r.
324
325         * insettext.C (update): comment this out as it seems first wrong
326         and second not needed anymore!
327         (some functions): call reinitLyXText() only in update() in all other
328         positions set only need_update = INIT.
329
330 2001-08-08  Juergen Vigna  <jug@sad.it>
331
332         * insettabular.C (setPos): fixed wrong actrow < rows() check.
333
334         * insettext.C (insetUnlock): remove double-space on inset unlock.
335
336         * insetcollapsable.C (draw): fix returned x when label > inset-width.
337
338         * insettabular.C (update): fixed cursor positon after an insert.
339         (insetAllowed): do not allow to insert insets when not inside the
340         inset!
341         (draw): clear below an inset too as it could have changed height.
342
343         * inset.C (getMaxWidth): fixed width for inset in inset.
344
345         * insettext.C (update): small fix.
346
347         * insettabular.C (tabularFeatures): added selection support to
348         DELETE_ROW/DELETE_COLUMN.
349
350 2001-08-07  Juergen Vigna  <jug@sad.it>
351
352         * inset.C (getMaxWidth): recoded and all it's implementations!
353
354         * insettext.C (init,setParagraph+constructors): cleanups
355         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
356         are new and I want do a save/restore of the cursor position which is
357         not possible anymore.
358
359         * insetcollapsable.C (searchBackward): recollapse inset if not found.
360         (searchBackward): ditto
361         (selectNextWord): ditto
362
363 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
364
365         * insetlatexaccent.C (checkContents): Add some debug messages
366
367 2001-08-07  Juergen Vigna  <jug@sad.it>
368
369         * insetert.C (read): don't use InsetCollapsable::read as we don't
370         write the collapsed status anymore only the status.
371         (write): ditto.
372
373 2001-08-06  Juergen Vigna  <jug@sad.it>
374
375         * insetert.C (set_latex_font): use LyXText's setFont directly.
376
377         * insettext.C (drawFrame): fixed one time more the right position
378         and size of the frame!
379
380         * insetert.C (~InsetERT): hide the dialog.
381         (showInsetDialog): added implementation
382         (open): ditto
383         (close): ditto
384         (status): new function for the status of the ERT inset (3-state).
385         (write): output also the status of the inset for readback!
386         (read): readback the status if available otherwise use collapsed_.
387
388         * insettext.C (edit): small fix of setting the position, which could
389         have gone < 0.
390
391         * insetert.C (width): implement this function for inlined viewing.
392         Added minimum width of 10 pixels!
393
394         * insetminipage.C (InsetMinipage): just change the colors a bit so
395         that border/background is a bit more visible. We will remove this
396         anyway for 1.2.0!
397
398         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
399         function for getting the important widths for drawing in various
400         functions and in LyXText.
401         (draw): fixed up a bit (frame drawing/clearing)
402
403 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
404
405         * inset.C (convertFont): delete method. not used. 
406
407 2001-08-03  Juergen Vigna  <jug@sad.it>
408
409         * insettext.C (setFont): don't call for a draw update if we're just
410         changing the cursor font!
411
412 2001-08-02  Juergen Vigna  <jug@sad.it>
413
414         * insettext.C (draw): clear the background with the right color if
415         needed. Update myself if x&max-width changed and return without doing
416         anything. Let the update code handle the right stuff.
417
418         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
419         inside another inset.
420
421 2001-08-01  Juergen Vigna  <jug@sad.it>
422
423         * insetcollapsable.C (update): added an in_update bool so we avoid
424         reentering.
425
426         * insettabular.C (update): added an in_update bool so we avoid
427         reentering.
428
429         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
430         selection problem.
431         (update): added an in_update bool so we avoid reentering.
432
433         * insettabular.C (localDispatch): clear col/row selection when doing
434         something else inside an inset.
435
436         * insettext.C (getLyXText): fixed bug when requesting a recursive
437         insettext!
438
439 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
440
441         * insetcite.C (latex): Paranoia check. Make sure that there is no
442         whitespace between the citation keys.
443
444 2001-07-31  Juergen Vigna  <jug@sad.it>
445
446         * inset.h (nodraw): make the set function also const so that this
447         can be called from inside other const functions.
448
449         * insetcollapsable.h: removed inline variable and moved it over
450         to the only user InsetERT.
451
452         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
453         inset opening immediately therein lying insets dialogs!
454
455         * insetert.C (localDispatch): set the font also if we don't have any
456         chars in this paragraph, otherwise if we delete all of em and start
457         writing we have the wrong font.
458         (inlined): added
459         (draw): implemented for inline support
460         (insetButtonRelease): ditto.
461
462 2001-07-30  Juergen Vigna  <jug@sad.it>
463
464         * insettext.C (reinitLyXText): new function to reinit the insets
465         text after lot's of paragraph changes. Use this instead of the
466         cache.clear() which is VERY dangerous.
467
468         * insetfloat.C (insetButtonRelease): we should only show the dialog
469         if we press on the label otherwise we have problems to open mouse
470         button 3 dialogs inside this float (f.ex. of a tabular!)
471
472 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
473
474         * insetert.C: change back to "ERT"
475
476         * insetfloat.C: handliign of RMB on label added.
477
478 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
479
480         * insetgraphicsParams.C: #include LOstream.h here.
481
482         * insetfoot.h: remove InsetFoot:: qualifier.
483
484 2001-07-29  Baruch Even  <baruch@lyx.org>
485
486         * ChangeLog: Hiding time travel evidence.
487
488         * insetgraphicsParams.h:
489         * insetgraphicsParams.C: 
490         * insetgraphics.C: Added horizontal scale option, it actually scales both
491         directions since it keeps image proportions.
492
493         * insetgraphics.C: Fixed EPS detection to be non-hacky.
494
495 2001-07-29  Baruch Even  <baruch@lyx.org>
496
497         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
498         convert PNG/GIF/JPG to EPS, assume the rest are EPS already. 
499
500         HACKY! Will need to add an EPS detection routine like old InsetFig does!
501
502 2001-07-29  Baruch Even  <baruch@lyx.org>
503
504         * insetgraphics.C: Added EPSI to be an alias of EPS.
505
506 2001-07-29  Baruch Even  <baruch@lyx.org>
507
508         * insetgraphics.C: Change GRAPHICS to Graphics.
509         Changed image conversion rules (documented at the beginning of file).
510
511 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
512
513         * insetert.C (get_new_label): int -> Paragraph::size_type to get
514         std::min working.
515
516         * insetgraphics.C: added a using std::endl directive.
517
518         * insetcommand.h (getScreenLabel): removed pure virtual function,
519         as it duplicates that in InsetButton.
520
521         * insetbib.[Ch] (getScreenLabel):
522         * insetbutton.[Ch] (getScreenLabel):
523         * insetcite.[Ch] (getScreenLabel):
524         * insetert.[Ch] (getScreenLabel):
525         * insetexternal.[Ch] (getScreenLabel):
526         * insetfloatlist.[Ch] (getScreenLabel):
527         * insetinclude.[Ch] (getScreenLabel):
528         * insetindex.[Ch] (getScreenLabel):
529         * insetlabel.h (getScreenLabel):
530         * insetparent.[Ch] (getScreenLabel):
531         * insetref.[Ch] (getScreenLabel):
532         * insettoc.[Ch] (getScreenLabel):
533         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
534
535         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
536         the label.
537         (validate): remove check on "cite" when using natbib.
538
539 2001-07-26  Baruch Even  <baruch@lyx.org>
540
541         * insetgraphics.C (draw): changed casting to be in one place rather than 
542         all over the function.
543
544         * insetgraphics.h:
545         * insetgraphics.C (read): Added compatibility reads of InsetFig.
546         
547         * insetgraphicsParams.h:
548         * insetgraphicsParams.C: 
549         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
550
551 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
552
553         * insetfoot.C (validate): Added method to ensure that the
554         right bit of LaTeX is emitted.
555
556         * insetfoot.h: Added validate method to set the correct
557         LaTeXFeatures bit for the special footnote code.
558
559 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
560
561         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
562         quotes
563
564 2001-07-27  Juergen Vigna  <jug@sad.it>
565
566         * inset.h: remove not used font variable in parameter.
567         removed checkInsertChar in UpdatableInset as it was equal to
568         the one in Inset and so not needed.
569
570         * insetert.C (checkInsertChar): implementation of function
571         checkInsertChar.
572
573         * inset.h: added new function checkInsertChar.
574
575         * various files: added c-tor and clone() function.
576         
577         * insetcollapsable.h: removed clone function here as this should
578         be only realized in REAL insets and added it to all collapsable
579         insets! (with the copy-constructor).
580
581 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
582
583         * insetminipage.C (read): handle missing parameters more gracefully
584
585         * insetcollapsable.C (read): handel missing collapsed more gracefully
586
587 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
588
589         * insetfloat.C (read): handle missing parameters.
590
591         * insettext.C (read): handle old latex end_inset
592
593         * insetert.C (setButtonLabel): new method
594         (init): use it, to set the dynamic label correctly
595         (read): use it
596
597         * Makefile.am (EXTRA_DIST): add files that is not part or the
598         binary here.
599
600         * insetcollapsable.h: remove autocollapsable (no users), remove
601         draw_label, change_label_with_text and companion code. Remove args
602         from some methods.
603         * insetert.[Ch]: move here instead (only user)
604
605         * inset.h: rename private variable name to name_, make
606         selectNextWord return a const string. make getInsetName return a
607         string const &. Remove bool from open, add close.
608
609         * Makefile.am: don't compile insetlist, insetsection
610         and insettheorem
611
612 2001-07-24  Juergen Vigna  <jug@sad.it>
613
614         * insetert.C (InsetERT): put init after the paragraph initialization,
615         as otherwise we don't set the draw_label right.
616
617         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
618         insets with the mouse without having strange selections.
619         (edit): if the inset was collapsed and we open it here then put the
620         cursor always at the beginning of the inset.
621         (get_new_label): 15 instead of 10 max chars in the label.
622
623         * insetert.C (localDispatch): added and handle various stuff we
624         need to handle here (font setting on paragraph break, not permitted
625         layout setting, etc.).
626
627         * inset.h: added default copy-consturctor and implemented this in
628         various insets with the change to use this in the clone function!
629
630 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * insetminipage.C (InsetMinipage): set background color to red :)
633
634 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
637         draw frame mode is LOCKED.
638
639         * insetcollapsable.C (edit): 
640         (insetButtonRelease): set update status to full when
641         opening inset.
642
643         * insettext.C (clearInset): 
644         * insettabular.C (draw): 
645         * insetlatexaccent.C (draw): honor background color.
646
647         * inset.h: new member background_color_, initialized to
648         LColor::inherit.
649
650         * inset.C (backgroundColor): new method.
651         (setBackgroundColor): new method.
652
653         * insetert.C (init): new method, called by the ctors.
654         (InsetERT): when inserting contents, make sure the font is
655         ALL_INHERIT.
656
657         * insetnote.C (InsetNote): when inserting content, remove trailing
658         newline
659         (init): set background color to LColor::note
660
661 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
662
663         * insetcollapsable.C: adjust
664
665         * insetbutton.C: adjust
666
667 2001-07-23  Juergen Vigna  <jug@sad.it>
668
669         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
670         parameter on the _collapsed function (was not needed) and call
671         always width_collapsed().
672
673         * insetert.C (InsetERT): use setLabel with "true" flag.
674
675         * insetcollapsable.C: modified various functions to set the draw_label
676         string right in any condition.
677         (setLabel): added a bool parameter to set change_label_with_text.
678
679         * insetcollapsable.h: added draw_label string which is set to the
680         actual drawn label-string, while label is the original static label
681         of this collapsable inset. Added bool change_label_with_text to set
682         if we want that the label changes to the start of the InsetText's
683         text when collabpsed. You can set this flag with the setLabel funciton.
684         Added bool inlined for inlined collapsable insets, but not handled
685         yet.
686
687         * insetcollapsable.C (get_new_label): added should get a new label
688         from the InsetText beginning (for now 10 chars).
689
690 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
691
692         * insetquotes.C (latex): fix the handling of french double quotes
693         when not using the french pachage.
694
695 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * insetcollapsable.h: make WidthCollapsed mutable.
698
699         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
700         InsetPrintIndex returns INDEX_PRINT_CODE.
701
702         * inset.h: add INDEX_PRINT_CODE
703
704         * insetcollapsable.C (draw): init widthCollapsed if necessary
705         (width): ditto.
706
707         * insetquotes.C (width): use the local language, not the document
708         language.
709         (draw): ditto.
710         (dispString): add additional spacing for all french languages,
711         like fr_CA.
712         (validate): make it work when there is no default language
713
714         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
715
716         * insetnote.C (init): new method, called by the constructors
717         (InsetNote): new constructor with contents passed as a string
718
719 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
720
721         * insetfootlike.C (insetAllowed): disallow float in footlike.
722
723         * insetert.C (InsetERT): add collapsed argument to the constrctor
724         with contents.
725
726 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
727
728         * insetindex.h: shut off warning
729
730 2001-07-20  Juergen Vigna  <jug@sad.it>
731
732         * insetcollapsable.C (update): recoded hopefully works now!
733
734 2001-07-19  Juergen Vigna  <jug@sad.it>
735
736         * most files: implemented the below new introduced function.
737         
738         * inset.h: added new edit(BufferView *, bool front) method to be able
739         to enter an inset from the front/back without knowing x/y positions
740         and baselines inside the inset. So I just can tell the inset activate
741         me and set the cursor on the front/back of yourself.
742
743 2001-07-18  Juergen Vigna  <jug@sad.it>
744
745         * insetcollapsable.C (edit): fixed hopefully the y parameter which
746         is givven to the InsetText.
747         (insetButtonPress): ditto
748         (insetButtonRelease): ditto
749         (insetMotionNotify): ditto
750
751 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
752
753         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
754         LIGATURE_BREAK, since the name is so stupid.
755
756 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
757
758         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
759         the default InsetCollapsable methods. I.e., it can insert anything.
760         (write) output the name of the inset, not some silly hack for
761         compatability with the old InsetInfo.
762         
763         * insetinfo.[Ch]: removed.
764         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
765         now collapsable, but functionality is otherwise identical to InsetInfo.
766
767         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
768
769 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
770
771         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
772         reformatting
773
774         * insetquotes.C: general cleanup
775         (dispString): add spaces inside french double quotes.
776         (latex): ditto. Moreover, treat first the case where the frenchb
777         or french options have been given.
778
779 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
780
781         * insetcite.[Ch] (latex, validate): new methods, required for natbib
782         support.
783
784 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
785
786         * figinset.C (RegisterFigure): Print debug message only when
787         current_view is available.
788
789 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * many files: update to match the change below
792
793         * inset.h (insetAllowed): renamed from insertInsetAllowed;
794         implement the version which takes an inset here.
795
796         * insetcollapsable.[Ch]: implement open and isOpen
797
798         * inset.h: remove insertInsetAllowed from Inset
799         (open): new method, to open or close an inset
800         (isOpen): returns the status of an inset
801         (isCollapsable, colapse): removed
802
803 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
804
805         * insetquotes.C (dispString): display french guillemets when using
806         ISO8859-15.
807
808 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
809
810         * insetcollapsable.h: remove bogus return statements
811
812 2001-07-18  Juergen Vigna  <jug@sad.it>
813
814         * insettabular.C (selectNextWord): fixed spellchecking for the
815         first cell of a tabular (wasn't entered!)
816         (getLyXText): changed to enter automatically insettext and return
817         it's LyXText if we're locked.
818
819 2001-07-17  Juergen Vigna  <jug@sad.it>
820
821         * various files: implemented the below functions.
822         
823         * inset.h: added functions
824         - virtual string selectNextWord(BufferView *, float & value) const;
825         - virtual void selectSelectedWord(BufferView *) { return; }
826         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
827         needed for spellchecking correctly!
828
829 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
830
831         * insetert.C (latex): write out all paragraphs.
832
833 2001-07-17  Baruch Even  <baruch@lyx.org>
834
835         * insetgraphics.C (draw): Removed unneeded casts.
836
837 2001-07-16  Juergen Vigna  <jug@sad.it>
838
839         * insettext.C (update): fixed small oversight (reset lt to 0).
840
841 2001-07-14  Baruch Even  <baruch@lyx.org>
842
843         * insetgraphics.h:
844         * insetgraphics.C: Added a copy c-tor and handled the same_id case. 
845
846 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
847
848         Consistent use of Lsstream.h:
849         * figinset.C: removed using std::ostringstream directive.
850
851         * insetgraphics.C (createLatexOptions):
852         * insetinclude.C (unique_id):
853         std::ostringstream -> ostringstream.
854         * insettext.C (localDispatch): std::istringstream -> istringstream.
855
856 2001-07-13  Juergen Vigna  <jug@sad.it>
857
858         * insetfloat.C (insertInsetAllowed): added missing const_cast.
859
860         * insetcollapsable.C (getLockingInset): ditto.
861
862 2001-07-12  Juergen Vigna  <jug@sad.it>
863
864         * insetcollapsable.h: added implementation of new function for
865         collapsable status.
866
867         * various files: added implementation of new insertInsetAllowed-func
868         and redone the function a bit more.
869         
870         * inset.h: added isCollapsable(), bool collapsed(),
871         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
872
873         * insetfloat.C (insertInsetAllowed): make a bit more checks.
874
875         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
876         LyXText which is marked for removal while we're using it!
877
878         * insettext.h: added private LyXText * lt to use it to assure we are
879         not deleting our LyXText while we're using it!
880
881 2001-07-11  Juergen Vigna  <jug@sad.it>
882
883         * insettext.C (insertInset): check if we are before the inset after
884         inserting it! This check IS needed. Remove the Undo-Call as it is
885         called in LyXText::insertInset!
886
887         * insettext.h: added struct InnerCache.
888
889         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
890         that we ONLY delete the LyXText in the getLyXText() routine. So we
891         are sure we don't delete LyXText while someone is working with it!
892
893 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
894
895         * insetexternal.C: (*it). -> it->
896         * insettext.C: ditto
897
898 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
899
900         * insetcollapsable.C (edit): always open collapsed insets (even if
901         they are not autocollapsable)
902
903         * insetcommand.C (operator=): simplify.
904
905 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
906
907         * insetert.C (latex): handle META_NEWLINE
908
909 2001-07-09  Juergen Vigna  <jug@sad.it>
910
911         * insetert.h: a normal InsetText can insert insets, but we won't.
912
913         * inset.h: return default "false" on insertInsetAllowed and implement
914         this function where a returnvalue != "false" is needed.
915
916 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
917
918         * insetert.C (InsetERT): new contructor
919
920 2001-07-06  Juergen Vigna  <jug@sad.it>
921
922         * a lot of files: added implementation of the below new functions
923         and the change to clone(). Also the call of the new undo-functions
924         where needed.
925         
926         * inset.h: added an inset_id, added functions getParFromID,
927         getInsetFromID, firstParagraph, cursor and id functions, added
928         bool same_ids to clone function.
929
930 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
931
932         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
933         of BufferView * and shared_ptr<LyXText>
934
935 2001-07-05  Juergen Vigna  <jug@sad.it>
936
937         * insettext.C (clear): deleted also the cache not only LyXText.
938         (setParagraphData): ditto.
939
940 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
941
942         * insetfloat.C (latex): let the specific placement take presedence
943         if set, otherwise choose document placement if set, otherwise just
944         use float default placement.
945
946 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
947
948         * insettext.C (localDispatch): call CutAndPaste::'s static method
949         directly. 
950
951 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
952
953         * insetbib.C: no meed to include forms.h here.
954
955 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
956
957         * insettext.C: added using std::make_pair directive.
958
959 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
960
961         * insettext.C (getLyXText): avoid multiple lookups, and simplify
962         slightly
963         (deleteLyXText): ditto
964         (resizeLyXText): ditto
965
966 2001-07-02  Juergen Vigna  <jug@sad.it>
967
968         * insettext.C (getLyXText): introduce a cache in getLyXText so that
969         following calls are only returned the right pointer without the over
970         head to search in the map.
971         (various funcs): reset the cached_bview variable as this signs that
972         the cache is not valid anymore.
973
974 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
975
976         * insettabular.C (clone): do not copy the LyXTabular twice
977
978 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
979
980         * insettext.h (TEXT): delete method
981
982 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
983
984         * insetmarginal.C (latex): 
985         * insetfoot.C (latex): fix spacing of notes in LaTeX
986
987         * insettext.C (localDispatch): use .c_str() on istringstream
988         constructor argument.
989
990 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
991
992         * insettoc.h:
993         * insettoc.C:
994         * inseturl.h:
995         * inseturl.C: fix method names in these to begin
996           with small char too, so they inherit
997  
998 2001-06-28  Juergen Vigna  <jug@sad.it>
999
1000         * insettext.C (setFont): fixed font settings using toggleFree()
1001         instead of setFont().
1002
1003 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1004
1005         * Change a lot of method names to begin with a small char.
1006         Changes to a lot of files because of this.
1007
1008 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1009
1010         * insetfloatlist.C (Write): std:: qualify ostream
1011         (Latex): ditto
1012
1013 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
1014
1015         * figinset.C:
1016         * inset.C:
1017         * insetgraphics.C: send debug output to Debug::INFO instead of
1018         Debug::ANY.
1019
1020 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
1021
1022         * insettabular.h:
1023         * insettabular.C (getStatus): update to use func_status
1024
1025 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
1026
1027         * insetref.C (DocBook): added support for cross-references without
1028         a name.
1029
1030 2001-06-26  The LyX Project  <jug@sad.it>
1031
1032         * insetref.C:
1033         * insetref.h:
1034         * insetlabel.C:
1035         * insetlabel.h: removed escape method and moved it to
1036         support/lstrings.h.
1037
1038 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1039
1040         * insettabular.C (getMaxWidth): do the speedup in a different way,
1041         remove dead code
1042
1043 2001-06-24  The LyX Project  <Asger>
1044
1045         * insettabular.C (getMaxWidth): We cache a mapping from
1046         inset to cell in order to speed this method up.
1047
1048 2001-06-24  The LyX Project  <Asger>
1049
1050         * insettext.C: Optimized InsetText::draw or something.
1051
1052 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
1053
1054         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
1055
1056 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1057
1058         * inset.h: name change from lyxinset.h
1059
1060 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
1061
1062         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
1063
1064 2001-06-14  Juergen Vigna  <jug@sad.it>
1065
1066         * insettext.C (draw): removed warnings.
1067
1068 2001-06-13  Juergen Vigna  <jug@sad.it>
1069
1070         * insettabular.C (nodraw): only go down the tree if we don't have
1071         that flag set otherwise it's obvious that we don't want to draw.
1072         (LocalDispatch): do also an update if we have an undispached result.
1073
1074 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
1075
1076         * insetcite.C:
1077         * insetgraphicsParams.C:
1078         * insettext.C: removed // -*- C++ -*- as first line.
1079
1080 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1081
1082         * lyxinset.h (resizeLyXText): shut off warning about unused
1083         parameter "force" 
1084
1085 2001-06-07  Juergen Vigna  <jug@sad.it>
1086
1087         * insettext.C (resizeLyXText): honor the new force flag.
1088
1089         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
1090
1091         * insettabular.C (deleteLyXText): new function
1092
1093 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
1094
1095         * insettheorem.C:
1096         * insetminipage.C:
1097         * insetlist.C:
1098         * insetfootlike.C:
1099         * insetfloat.C:
1100         * insetert.C:
1101         * insetcollapsable.C:
1102         * insetcaption.C: LColor tidy
1103          
1104 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1105
1106         * figinset.C: fix typo
1107
1108 2001-06-01  Juergen Vigna  <jug@sad.it>
1109
1110         * insettabular.C (resetPos): small hack so that scroll is not set to
1111         0 when we are in the last column of a tabular. This is a problem we
1112         have because of constats 20 offset on both directions, so this can
1113         cause on the limit an endless loop.
1114
1115         * insettext.C (SetFont): forgot that we can have locking insets ;)
1116
1117 2001-05-31  Juergen Vigna  <jug@sad.it>
1118
1119         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1120
1121 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1122
1123         * figinset.C: add using std:: directive for the C functions which
1124         need that.
1125
1126 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1127
1128         * insetfloat.C (Write): write out wide info
1129         (Read): read the wide info
1130         (Latex): use the wide info when creating latex.
1131
1132         * insettext.C: adjust
1133
1134         * insetgraphics.[Ch] (statusMessage): change to return string
1135         (width): adjust
1136         (draw): adjust
1137
1138         * figinset.C (runqueue): add std::
1139         (Recompute): ditto
1140
1141 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1142
1143         * insetcite.C (Ascii): add std:: qualifier
1144
1145 2001-05-28  Juergen Vigna  <jug@sad.it>
1146
1147         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1148         a endless-width inset (maxWidth < 0).
1149         (Edit): change language only if not equal.
1150
1151         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1152
1153         * insettext.C (draw): fixed draw/clear of InsetText-Frame
1154
1155 2001-05-16  Juergen Vigna  <jug@sad.it>
1156
1157         * insettext.C (selectAll): added
1158         (clearSelection): added
1159
1160         * insettabular.C (SetFont): now we may set a font on a whole selection!
1161         (getSelection): added helper function.
1162
1163 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
1164
1165         * insetcite.C (Ascii): Add method.
1166
1167 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
1168
1169         * figinset.C:
1170         * insetbib.C: fix path for OS/2 & Win32
1171
1172 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1173
1174         * insetfoot.C (Latex): don't use % after footnote.
1175
1176 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1177
1178         * insettext.C (Read): use clear
1179         (SetParagraphData): use LyXParagraph copy constructor instead of clone
1180
1181 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1182
1183         * insetfloatlist.h: add a bunch of std:: qualifiers.
1184
1185 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1186
1187         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1188         FLOAT_LIST_CODE, renumber code list.
1189
1190         * insettoc.C (getScreenLabel): remove support for float lists
1191         (LyxCode): ditto
1192         (Ascii): ditto
1193
1194         * insetfloatlist.[Ch]: new files
1195
1196         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1197
1198 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
1199
1200         * insettabular.C (LocalDispatch):
1201         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1202         method 
1203
1204 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1205
1206         * insettext.C: remvoe !NEW_INSETS cruft
1207
1208         * insettabular.C: remove !NEW_INSETS cruft
1209
1210         * insetcollapsable.h: remove !NEW_INSETS cruft
1211
1212         * insetbib.C: remove !NEW_INSETS cruft
1213
1214 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1215
1216         * insettoc.C: hack to make listof algorithm work
1217
1218 2001-04-20  Juergen Vigna  <jug@sad.it>
1219
1220         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1221
1222 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1223
1224         * insetquotes.C (Latex): improve the guard against
1225         unwanted !` and ?` ligatures. This should really be done in
1226         another place (to catch all this ligatures at low-level).
1227
1228 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1229
1230         * insettext.C (init): remvoe leftovers from cursor_visible change
1231         (draw): use c++ cast
1232         (LocalDispatch): dispatch LFUN_MESSAGE
1233
1234         * insettabular.C (InsetTabular): remove leftovers from
1235         cursor_visible, and scoped_ptr changes
1236         (draw): use c++ cast
1237
1238         * insetcollapsable.C (draw): use c++ cast
1239
1240         * ExternalTemplate.h: inherit privaely from noncopyable
1241         * insetcommand.h: ditto
1242         * insetinclude.h: ditto
1243
1244 2001-04-16  Allan Rae  <rae@lyx.org>
1245
1246         * insettoc.C (Ascii): 
1247         * insettext.C (draw): 
1248         * insettabular.C (setPos): 
1249         * insetminipage.C (Read): 
1250         * insetfloat.C (placement): 
1251         * insetcaption.C (Ascii, DocBook): 
1252         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1253         an unrecognised preprocessor directive.  So ensure they're wrapped. 
1254
1255 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
1256
1257         * insetexternal.h:
1258         * insetexternal.C: set view on Clone. Add _ to private members.
1259
1260 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1261
1262         * insettext.C (InsetText): fix new
1263         (InsetText): reindent some, simplify deletion of par list 
1264         (clear): simplify deletion of par list, fix new
1265         (SetParagraphData): simplify deletion of par list
1266
1267         * insettabular.[Ch] (getLabelList): implement new method
1268
1269 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1270
1271         * lyxinset.h: do not include gettext.h...
1272
1273         * inset.C:
1274         * insetcaption.C:
1275         * insetexternal.C:
1276         * insetgraphics.C:
1277         * insetindex.C:
1278         * insetlabel.C:
1279         * insetlatexaccent.C:
1280         * insetminipage.C:
1281         * insetquotes.C:
1282         * insettabular.C:
1283         * inseturl.C: ... and do it here instead
1284
1285 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1286
1287         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1288
1289         * insettext.[Ch] (getLabelList): add std:: on vector<string> 
1290
1291         * insetcollapsable.[Ch] (getLabelList): implement
1292
1293         * insettext.[Ch] (getLabelList): implement
1294
1295         * insettext.h: reindent
1296
1297         * insettabular.h: make tabular a scoped_ptr
1298
1299         * insettext.C (init): adjust for cursor_visible
1300         (ToggleInsetCursor): constify asc and desc, font, adjust for
1301         cursor_visible
1302         (ShowInsetCursor): constify asc and desc, font, adjust for
1303         cursor_visible
1304         (HideInsetCursor): adjust for cursor_visible
1305
1306         * insettabular.C: reindent some
1307         (InsetTabular): adjust for scoped_ptr and cursor_visible
1308         (InsetTabular): ditto
1309         (~InsetTabular): delete delete
1310         (Clone): adjust for scoped_ptr
1311         (Read): constify old_format, adjust for scoped_ptr, move init of
1312         token
1313         (draw): constify tx, localize loop vars.
1314         some other localization of variables, remove double initilizatons.
1315         
1316         * insetfoot.C: remove using std::ostream, add ostream where needed
1317
1318 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1319
1320         * lyxinset.h: some reindentaion, use initializer list for
1321         constructro.
1322         UpdatableInset: make cursor_visible a private var add
1323         public isCursorVisible(), add protected toggleCursorVisible() and
1324         proctected setCursorVisible(bool), make scroll call the Inset::scroll
1325
1326         * insettoc.C: remvoe using decl
1327         (getScreenLabel): make cmdname donst
1328         (LyxCode): ditto
1329         (Ascii): ditto
1330         (Ascii): don't use endl
1331
1332         * insetfootlike.C: remove using decl at file scope and add std::
1333         where needed
1334         * insetmarginal.C: ditto
1335
1336         * insetfoot.C: some reformatting
1337
1338         * insetfloat.C (InsetButtonRelease): adjust the hit area
1339
1340         * insetert.C (SetFont): some reformatting
1341
1342         * insetcollapsable.C: some reformatting and constification
1343         (Clone): comment out.
1344         * insetcollapsable.h: some reformatting
1345         (Clone): comment out.
1346         
1347         * inset.C: reindent
1348         (scroll): simplify
1349
1350 2001-03-30  Juergen Vigna  <jug@sad.it>
1351
1352         * insetcollapsable.h: changen *inset to be a InsetText inset.
1353         
1354         * some files: changed to reflect the above change.
1355
1356 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
1357
1358         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1359         InsetExternal::Params.
1360         Added operator==() and operator!=() for the Params struct.
1361
1362 2001-03-29  Juergen Vigna  <jug@sad.it>
1363
1364         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1365         BufferView *.
1366
1367         * insetminipage.C: removed widthp_ and all it's functions and changed
1368         to use new %-lengths of LyXLength.
1369
1370 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
1371
1372         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1373
1374 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1375
1376         * insetgraphicsParams.C (operator!=): new function, needed by the
1377         ControlGraphics class.
1378
1379 2001-03-28  Juergen Vigna  <jug@sad.it>
1380
1381         * insettext.C (InsetButtonPress): only enter !inset if button == 2
1382         (checkAndActivateInset): don't use the values returned from
1383         call to bv->checkInsetHit.
1384
1385         * insetminipage.C (Clone): set special minipage values.
1386
1387         * insetcollapsable.C (draw): changed to draw the button in the
1388         upper left corner outside the textinset.
1389         (ascent): changed because of different drawing 
1390         (descent): ditto
1391         (width): ditto
1392         (Edit): ditto
1393         (InsetButtonPress): ditto
1394         (InsetButtonRelease): ditto
1395         (InsetMotionNotify): ditto
1396
1397 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
1398
1399         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1400         contain a suffix.
1401         (Clone): ditto
1402
1403 2001-03-26  Juergen Vigna  <jug@sad.it>
1404
1405         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1406
1407         * insettext.C (ShowInsetDialog): implemented above function.
1408
1409         * insettabular.C (ShowInsetDialog): ditto
1410
1411         * insetminipage.C (ShowInsetDialog): ditto
1412
1413 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1414
1415         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1416         InsetInclude::Params. Don't store a buffer * in Params. Store the
1417         master file name instead.
1418
1419 2001-03-23  Juergen Vigna  <jug@sad.it>
1420
1421         * insetcollapsable.C (InsetMotionNotify):
1422         (InsetButtonRelease): 
1423         (InsetButtonPress): fixed y-offset (minipages).
1424
1425         * insettext.C (draw): force a FULL update if cleared == true.
1426
1427         * insetcollapsable.C (draw): Lars forgotten entry for changing this
1428         routine to draw the minipages on its position-flag.
1429         (InsetInInsetY): give back the right y position, because of minipage
1430         position-flag.
1431
1432 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1433
1434         * insetfloat.h
1435         * insetfloat.C (DocBook): docbook export code.
1436
1437 2001-03-22  Juergen Vigna  <jug@sad.it>
1438
1439         * insetminipage.C (getMaxWidth): added function to set the drawing
1440         width!
1441         (Read): should work now!
1442
1443         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1444         if we create a new inset.
1445
1446 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1447
1448         * figinset.C (fl_set_preemptive_callback): moved definition outside
1449         of namespace anon.
1450
1451 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1452
1453         * insetminipage.C (Read): prepare for reading of minipage arguments.
1454
1455 2001-03-18  Baruch Even  <baruch@lyx.org>
1456
1457         * insetgraphics.C: Minor cleanups of the comments and code.
1458
1459 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1460
1461         * insetminipage.C (InsetMinipage): default to not collapsed
1462
1463 2001-03-16  Juergen Vigna  <jug@sad.it>
1464
1465         * insetminipage.C (width): modified with to be a string
1466         (widthp): added widthp (for % width) support functions.
1467         (InsetButtonRelease): added to open the options dialog on button==3.
1468         (~InsetMinipage): added to hide the dialog.
1469
1470         * insetminipage.h: added hideDialog signal
1471
1472 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1473
1474         * insetminipage.h: change the order or Position to match
1475         LyXParagraph::MINIPAGE_ALIGNMENT
1476
1477         * several files: remvoe CXX_WORKING_NAMESPACES
1478
1479         * ExternalTemplate.h: noncopyable is in namespace boost
1480         * insetinclude.h: ditto
1481         * insetcommand.h: ditto
1482
1483 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1484
1485         * insettext.C (Edit): #else# -> #else.
1486         * insettoc.C: added using directive.
1487
1488 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1489
1490         * insetminipage.h: add pos, inner_pos, width and height. + getters
1491         and setters for all of them.
1492
1493 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1494
1495         * insetinclude.C (Latex): Do not exit when the textclass of the
1496         included file differ from the textclass of the parent file.
1497
1498 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
1499
1500         * ExternalTemplate.C (read): the reading of external insets now checks
1501         for \end_inset and removes it form the input stream.
1502
1503 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1504
1505         * ExternalTemplate.h:
1506         * ExternalTemplate.C:
1507         * insetexternal.h:
1508         * insetexternal.C: move form to GUII
1509
1510 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1511
1512         * insetinclude.h:
1513         * insetinclude.C: add InsetIncludeParams, use
1514         composition rather than derivation of InsetCommand
1515
1516 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1517
1518         * insettoc.C (Ascii): use the Buffer typedefs
1519
1520 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1521
1522         * insettoc.C (Ascii): implement for dynamic number of lists
1523
1524         * insetcaption.[Ch]: update from new_insets branch
1525         * insetfloat.[Ch]: ditto
1526         
1527 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1528
1529         * insetexternal.C:
1530         * figinset.C: use new File Dialog
1531
1532 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1533
1534         * insettext.C: changes becuase of ParagraphParameters.
1535
1536 2001-02-28  Baruch Even  <baruch@ev-en.org>
1537
1538         * insetgraphics.C (updateInset): Changed due to the change in
1539         GraphicsCache.
1540
1541 2001-02-26  Juergen Vigna  <jug@sad.it>
1542
1543         * insettext.C (SetFont): Set Undo only if we have selection (as it is
1544         handled in LyXText).
1545
1546 2001-02-23  Juergen Vigna  <jug@sad.it>
1547
1548         * insettext.C (draw): some small repainting fixes.
1549         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1550
1551         * inset.C (LocalDispatch): changed action to be a kb_action (as it
1552         should be) and not an int.
1553         
1554         * insettabular.C (LocalDispatch): ditto
1555
1556         * insettext.C (LocalDispatch): ditto
1557
1558         * insetcollapsable.C (LocalDispatch): ditto
1559
1560 2001-02-22  Juergen Vigna  <jug@sad.it>
1561
1562         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1563         DISPATCH it and we don't have a locking_inset.
1564
1565 2001-02-21  Baruch Even  <baruch@ev-en.org>
1566
1567         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1568         instead of GraphicsCacheItem *.
1569
1570 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1571
1572         * insetcollapsable.C (getLyXText): add const qualifier to second
1573         parameter. 
1574
1575 2001-02-22  Juergen Vigna  <jug@sad.it>
1576
1577         * insettext.C (getLyXText): honor the recursive parameter.
1578         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1579
1580         * inset.C (getLyXText): added bool recursive parameter.
1581
1582         * insettext.C (SetUpdateStatus): or the update codes.
1583         (draw): check need_update with &.
1584         (InsetButtonPress): set no_selection to not put a selection when
1585         entering an inset and it is redraws in another spot.
1586
1587         * insettext.h: made need_update an int.
1588
1589 2001-02-20  Baruch Even  <baruch@ev-en.org>
1590
1591         * insetgraphics.h:
1592         * insetgraphisc.C: Changed to use better semantics when loading images
1593         for inline view. Now it doesn't keep the pixmap itself but it's holder.
1594
1595 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1596
1597         * insetcommand.h:
1598         * inseterror.h:
1599         * insetgraphics.C: change name of "hide" signal to "hideDialog",
1600         consistent with InsetTabular.
1601         
1602 2001-02-19  Juergen Vigna  <jug@sad.it>
1603
1604         * insettabular.C (LocalDispatch): implement PAGE up/down.
1605
1606         * insettext.C (draw): clear all of it on need_update==INIT too!
1607
1608         * insettabular.C (InsetUnlock): always clear the selection.
1609
1610         * inset.C (scroll): normally we only want to scroll the inset until
1611         it is fully visible so if top_x + offset > 20 then just set scx to 0.
1612
1613 2001-02-14  Juergen Vigna  <jug@sad.it>
1614
1615         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1616         (resetPos): fixed scroll behaviour.
1617         (LocalDispatch): do an update if moving cursor inside a table cell
1618         requests a scroll of the tabular.
1619
1620 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1621
1622         * insettext.C (textWidth): constify local var
1623
1624         * insettabular.C: small cleanup.
1625
1626         * insetfoot.C (Latex): constify local var
1627
1628         * insetcollapsable.C: small cleanup.
1629
1630         * figinset.C (runqueue): use compare instead of strcmp
1631
1632 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1633
1634         * insettext.C:
1635         * insetinfo.C: remove cruft
1636
1637 2001-02-14  Juergen Vigna  <jug@sad.it>
1638
1639         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1640
1641 2001-02-13  Juergen Vigna  <jug@sad.it>
1642
1643         * insettext.C (InsertInset): don't move left (is this right?)
1644
1645         * insettabular.C (LocalDispatch): use of the no_draw variable
1646
1647         * insettabular.h: new no_draw variable to stop redraw
1648
1649         * insettabular.C (TabularFeatures): fixed update for alignment change
1650
1651 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1652
1653         * insetinclude.C:
1654         * insetbib.h:
1655         * insetbib.C: move dialogs to frontends/
1656
1657 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1658
1659         * insettext.C (LocalDispatch): Restore the language if the inset
1660         becomes empty.
1661
1662 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1663
1664         * insettext.C (moveRightIntern): Update the selection cursor.
1665         (moveLeftIntern): Ditto.
1666
1667 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1668
1669         * Makefile.am: remove BoundingBox.h
1670
1671         * BoundingBox.h: removed
1672
1673 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
1674         
1675         * insettext.C (LocalDispatch): Update selection cursor when moving 
1676         cursor to the right.
1677         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1678         (moveLeftIntern): Ditto.
1679
1680 2001-02-05  Baruch Even  <baruch.even@writeme.com>
1681
1682         * insetgraphics.C: Updated automatic image conversion, it now goes into
1683         temporary directory instead of with the image itself.
1684
1685 2001-01-21  Baruch Even  <baruch@ev-en.org>
1686
1687         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1688         to EPS or PNG when needed (support bitmap graphics).
1689
1690 2000-11-02  Baruch Even  <baruch@ev-en.org>
1691
1692         * insetgraphics.C:
1693         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1694         and removal of commented out code.
1695
1696 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1697
1698         * insetbib.C (callback): Update citations if the key has changed.
1699
1700 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1701
1702         * insetbib.C (InsetBibKey): Better computation of default key.
1703         (getScreenLabel) Show both the key and the label.
1704         (getBibLabel): New method.
1705         (callback): Force a redraw if the inset have been changed.
1706
1707 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1708
1709         * insetref.C (getType, getName): Move methods from 
1710         src/frontends/xforms/FormRef.C.
1711
1712 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
1713
1714         * insettabular.C: Various improvements (use only one dummy position).
1715
1716 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
1717
1718         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1719         par->bibkey->width. This fixes the crashes when running without
1720         gui or when having included documents.
1721
1722 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
1723
1724         * insetcommand.C (getAsString, setFromString): Cleanup.
1725
1726 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
1727
1728         * insetref.C: Add the array InsetRef::types that contains
1729         information about all supported reference types.
1730
1731 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1732
1733         * lyxinset.h: remove trailing comma in enum.
1734
1735 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
1736
1737         * insettext.C: kill LyXBell.