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