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