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