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