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