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