]> git.lyx.org Git - lyx.git/blob - src/insets/ChangeLog
tab funcs changed
[lyx.git] / src / insets / ChangeLog
1 2003-04-02  John Levon  <levon@movementarian.org>
2
3         * insettabular.C: tab lfuns renamed
4
5 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6
7         * insettext.C (update): move towards ParagraphList
8         (updateLocal): ditto
9         (edit): ditto
10         (insetUnlock): ditto
11         (lockInset): ditto
12         (lockInsetInInset): ditto
13         (updateInsetInInset): ditto
14         (localDispatch): ditto
15         (docbook): ditto
16         (setFont): ditto
17         (resizeLyXText): ditto
18         (searchBackward): ditto
19         (collapseParagraphs): ditto
20         (addPreview): ditto
21
22         * insetwrap.C (InsetWrap): adjust
23         (addToToc): adjust and rewrite loop
24
25         * insettext.[Ch] (paragraph): delete function
26
27         * insettabular.C (moveNextCell): adjust
28         (movePrevCell): adjust
29         (insertAsciiString): adjust
30
31         * insetfloat.C (InsetFloat): adjust
32         (addToToc): adjust
33
34         * insetert.C (InsetERT): adjust
35         (write): adjust, and rewrite loop
36         (latex): adjust, and rewrite loop
37         (linuxdoc): adjust, and rewrite loop
38         (docbook): adjust, and rewrite loop
39         (localDispatch): adjust
40         (get_new_label): adjust
41
42 2003-04-01  John Levon  <levon@movementarian.org>
43
44         From Alfredo Braunstein
45
46         * insetbutton.h:
47         * insetbutton.C: add localDispatch()
48
49         * insetcommand.C: return DISPATCHED when edit() called
50
51         * insettext.C: fix bug 967
52
53 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
54
55         * insettext.C: adjust
56
57 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
58
59         * insettext.C (draw): adjust
60         (crow): return a RowList::iterator not a Row*
61
62         * insetminipage.C (localDispatch): adjust
63
64         * insetert.C (localDispatch): adjust
65
66 2003-03-31  John Levon  <levon@movementarian.org>
67
68         * insetgraphics.C:
69         * insetgraphicsParams.C: use_gui moved to lyx_gui
70
71 2003-03-31  John Levon  <levon@movementarian.org>
72
73         * insettext.C: Alert fix
74
75 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
76
77         * insettext.C (ascent): adjust for RowList
78         (descent): ditto
79         (draw): ditto
80         (getLyXText): adjust
81         (toggleSelection): adjust
82
83         * insetminipage.C (localDispatch): adjust for RowList
84
85         * insetert.C (localDispatch): adjust for RowList
86         (getMaxWidth): adjust for RowList
87
88 2003-03-29  John Levon  <levon@movementarian.org>
89
90         * insetert.C: Alert cleanup
91
92 2003-03-29  John Levon  <levon@movementarian.org>
93
94         * insettabular.C: Alert fix
95
96 2003-03-28  John Levon  <levon@movementarian.org>
97
98         * insetfloat.C: reset label on INSET_MODIFY
99
100 2003-03-28  John Levon  <levon@movementarian.org>
101
102         * insetgraphicsParams.C: read subcaptionText as a whole line
103         (bug 656)
104
105 2003-03-28  John Levon  <levon@movementarian.org>
106
107         * insettext.C: remove unused prototypes
108
109 2003-03-25  Angus Leeming  <leeming@lyx.org>
110
111         * insetbibitem.C (localDispatch): repaint the view after modifying
112         a bibitem inset in case the maximum InsetBibitem width has changed.
113
114 2003-03-25  John Levon  <levon@movementarian.org>
115
116         * insettext.C:
117         * insettabular.C: LyXText renamings
118
119 2003-03-24  John Levon  <levon@movementarian.org>
120
121         * insettext.C: remove some dead code. Fix bug 972 and
122           related by posting a repaint in updateLocal(), and making
123           the SEL functions set SELECTION.
124
125 2003-03-22  John Levon  <levon@movementarian.org>
126
127         * inset.h:
128         * inset.C: remove no-longer-needed topx_set
129
130         * insetcollapsable.h:
131         * insetcollapsable.C: remove dead code
132
133         * insetminipage.C:
134         * insetert.C: rebreak the rows when a possible
135           change in size is made, and reset the cursor
136           (bug 962, bug 965)
137
138         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
139
140         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
141           topx_set. Fix drawing errors for clearInset(). Remove
142           some unnecessary uses of topx, which should die.
143
144         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
145           is no longer needed. Replace it with an ugly hack.
146
147 2003-03-20  John Levon  <levon@movementarian.org>
148
149         * inset.h:
150         * insetcollapsable.h:
151         * insetcollapsable.C:
152         * insetert.h:
153         * insetert.C:
154         * insetminipage.C:
155         * insetminipage.C:
156         * insettabular.h:
157         * insettabular.C:
158         * insettext.h:
159         * insettext.C: remove spurious font parameter
160         from update(). Fix drawing of ERT insets inside
161         insets (bug 966). Remove unused mark_dirty from
162         tabular's updateLocal()
163
164 2003-03-19  John Levon  <levon@movementarian.org>
165
166         * insetfloat.h:
167         * insetfloat.C:
168         * insetinclude.h:
169         * insetinclude.C:
170         * insetminipage.h:
171         * insetminipage.C:
172         * insetwrap.h:
173         * insetwrap.C: remove unused getter/setters
174
175 2003-03-19  John Levon  <levon@movementarian.org>
176
177         * several files: bv->updateInset() doesn't take
178         a bool mark_dirty any more
179
180 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
181
182         * adjust for BufferView* arg removal from lyxtext.
183
184 2003-03-17  John Levon  <levon@movementarian.org>
185
186         * most files: remove the "cleared" parameter
187         to draw in favour of always clearing. Associated
188         code removal.
189
190 2003-03-16  John Levon  <levon@movementarian.org>
191
192         * insettext.C: remove unused s.refresh
193
194 2003-03-13  Angus Leeming  <leeming@lyx.org>
195
196         * insettext.C (edit): replace Dialogs::updateParagraph with
197         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
198
199 2003-03-13 André Pönitz <poenitz@gmx.net>
200
201         * Makefile.am: insert insetenv
202
203         * insethenv.[Ch]: new files, currently inactive
204
205 2003-03-12  John Levon  <levon@movementarian.org>
206
207         * Makefile.am:
208         * inset.h:
209         * inset.C:
210         * insetert.h:
211         * insetert.C:
212         * insetnewline.h:
213         * insetnewline.C:
214         * insetquotes.C:
215         * insettext.C: use new insetnewline
216
217 2003-03-12  John Levon  <levon@movementarian.org>
218
219         * insettext.C: readToken became readParagraph
220
221 2003-03-12  John Levon  <levon@movementarian.org>
222
223         * insettext.C: use parlist iterator for reading contents
224
225 2003-03-12  John Levon  <levon@movementarian.org>
226
227         * insettext.C: name change to readToken()
228
229 2003-03-11 André Pönitz <poenitz@gmx.net>
230
231         * Makefile.am: insert insethfill
232
233         * insethfill.[Ch]: new files
234
235 2003-03-10  Angus Leeming  <leeming@lyx.org>
236
237         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
238         BufferView * arg.
239         (hideDialog): calls the new static Dialogs::hide() method.
240
241         * insetbibitem.C (edit):
242         * insetbibtex.C (edit):
243         * insetcite.C (edit):
244         * insetcommand.C (localDispatch):
245         * inseterror.C (d-tor):
246         * insetert.C (showInsetDialog):
247         * insetexternal.C (localDispatch, edit):
248         * insetfloat.C (localDispatch, showInsetDialog):
249         * insetfloatlist.C (edit):
250         * insetgraphics.C (localDispatch, edit):
251         * insetinclude.C (localDispatch, edit):
252         * insetindex.C (edit):
253         * insetlabel.C (edit):
254         * insetminipage.C (localDispatch, showInsetDialog):
255         * insetref.C (edit):
256         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
257         resetPos, showInsetDialog, openLayoutDialog):
258         * insettoc.C (edit):
259         * inseturl.C (edit):
260         * insetwrap.C (localDispatch, showInsetDialog):
261         changes due to the changed MailInset interface.
262
263 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
264
265         * insetfloat.h: Set default placement to an empty string.
266
267 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
268
269         * insettext.C (latex): addjust call to latexParagraphs.
270
271 2003-03-10  Angus Leeming  <leeming@lyx.org>
272
273         * mailinset.C: warn the user if the BufferView has not been cached.
274
275 2003-03-10  Angus Leeming  <leeming@lyx.org>
276
277         * inset.h, insetbase.h: move cache() and view() into InsetBase.
278
279         * insetcommand.h (inset):
280         * insetert.h (inset):
281         * insetexternal.h (inset):
282         * insetfloat.h (inset):
283         * insetgraphics.h (inset):
284         * insetinclude.h (inset):
285         * insetminipage.h (inset):
286         * insettabular.h (inset):
287         * insetwrap.h (inset):
288         * mailinset.h (inset): return an InsetBase &, not an Inset &.
289
290 2003-03-10  Angus Leeming  <leeming@lyx.org>
291
292         * insetcommand.C (string2params):
293         * insetexternal.C (string2params):
294         * insetfloat.C (string2params):
295         * insetgraphics.C (string2params):
296         * insetinclude.C (string2params):
297         * insetminipage.C (string2params):
298         * insettabular.C (string2params):
299         * insetwrap.C (string2params): cure warning message about missing
300         '\end_inset'.
301
302 2003-03-09  Angus Leeming  <leeming@lyx.org>
303
304         * insettabular.[Ch]: define a new class InsetTabularMailer and use
305         it to communicate with the frontend dialogs.
306
307         * mailinset.C (hideDialog): only hide the dialog if it is showing the
308         contents of this inset!
309
310 2003-03-07  Angus Leeming  <leeming@lyx.org>
311
312         * inseterror.C (localDispatch): new method; calls edit() on
313         LFUN_MOUSE_RELEASE.
314
315 2003-03-07  Angus Leeming  <leeming@lyx.org>
316
317         * insetbibitem.C (localDispatch):
318         * insetbibtex.C (localDispatch):
319         * insetlabel.C (localDispatch):
320         rewrite as a switch.
321
322 2003-03-07  Angus Leeming  <leeming@lyx.org>
323
324         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
325         it to communicate with the frontend dialogs.
326
327 cd src2003-03-07  Angus Leeming  <leeming@lyx.org>
328
329         * insetexternal.C: remove operator== and operator!= for
330         InsetExternal::Params. They were used only by the old controller
331         scheme.
332
333 2003-03-07  Angus Leeming  <leeming@lyx.org>
334
335         * insetcommand.C (localDispatch):
336         * insetexternal.C (localDispatch):
337         * insetfloat.C (localDispatch):
338         * insetinclude.C (localDispatch):
339         * insetminipage.C (localDispatch):
340         * insetwrap.C (localDispatch):
341         add LFUN_INSET_DIALOG_UPDATE to the switch.
342
343 2003-03-07  Angus Leeming  <leeming@lyx.org>
344
345         * insetcommand.C (string2params):
346         * insetexternal.C (string2params):
347         * insetfloat.C (string2params):
348         * insetinclude.C (string2params):
349         * insetwrap.C (string2params): use LyXLeX more.
350
351         * insetert.[Ch]:
352         * insetexternal.[Ch]:
353         * insetfloat.[Ch]:
354         * insetinclude.[Ch]:
355         * insetwrap.[Ch]: change Mailer::name_ to be static.
356
357         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
358         it to communicate with the frontend dialogs.
359
360 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
361
362         * insettext.C:
363         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
364
365 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
366
367         * insettext.C (updateLocal): un-const function
368         (updateLocal): adjust
369         (collapseParagraphs): un-const function
370         (collapseParagraphs): adjust
371
372 2003-03-05  Angus Leeming  <leeming@lyx.org>
373
374         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
375         it to communicate with the frontend dialogs.
376
377 2003-03-05  Angus Leeming  <leeming@lyx.org>
378
379         * insetcollapsable.C (draw): cache the BufferView.
380
381         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
382         it to communicate with the frontend dialogs.
383
384 2003-03-05  Angus Leeming  <leeming@lyx.org>
385
386         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
387         struct.
388
389 2003-03-05  Angus Leeming  <leeming@lyx.org>
390
391         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
392
393         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
394         it to communicate with the frontend dialogs.
395
396 2003-03-05  Angus Leeming  <leeming@lyx.org>
397
398         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
399         it to communicate with the frontend dialogs.
400
401 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
402
403         * insettext.C (collapseParagraphs): adjust
404         (appendParagraphs): make it take a Buffer* instead of a
405         BufferParams& as arg.
406         (appendParagraphs): adjust
407
408 2003-03-04  Angus Leeming  <leeming@lyx.org>
409
410         * insetbibitem.C (localDispatch):
411         * insetbibtex.C (localDispatch):
412         * insetcommand.C (localDispatch):
413         * insetert.C (localDispatch):
414         * insetlabel.C (localDispatch):
415         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
416
417 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
418
419         * insettext.C (latex): adjust for ParagraphList::iterator
420
421 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
422
423         * insetbutton.C (view): adjust for boost 1.30.0
424         * insetcollapsable.C (view): ditto
425         * insetgraphics.C (statusChanged): ditto
426
427         * insettext.h: move paragraphs to be public.
428
429 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
430
431         * insetnote.[Ch] (InsetNote): remove unused constructor
432
433 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
434
435         * insetgraphics.C: added include "format.h"
436
437 2003-02-27  Angus Leeming  <leeming@lyx.org>
438
439         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
440         thingy.
441
442 2003-02-27  Angus Leeming  <leeming@lyx.org>
443
444         * insetbibitem.C (localDispatch):
445         * insetbibtex.C (localDispatch):
446         * insetcommand.C:
447         * insetert:
448         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
449
450 2003-02-26  Angus Leeming  <leeming@lyx.org>
451
452         * insetbibitem.[Ch] (localDispatch):
453         * insetbibtex.[Ch] (localDispatch):
454         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
455
456         * insetcommand.C (localDispatch):
457         act only on receipt of LFUN_XYZ_APPLY.
458
459         * insetert.C (localDispatch): reformat.
460         add LFUN_XYZ_APPLY to the switch.
461
462 2003-02-26  John Levon  <levon@movementarian.org>
463
464         * insettext.C: use RowPainter
465
466         * inset.h: make helpers take const *
467
468 2003-02-26  Angus Leeming  <leeming@lyx.org>
469
470         * insetcommand.[Ch] (localDispatch): new method.
471
472 2003-02-26  Angus Leeming  <leeming@lyx.org>
473
474         * insetinclude.C (draw): cache the BufferView* using cache not
475         PreviewImpl::setView
476
477 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
478
479         * insetgraphics.C (draw)
480         * insetinclude.C (draw): Eliminate also the other argument (owner
481         inset inset) in the call to PreviewImage::image
482
483 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
484
485         * insetgraphics.C (draw)
486         * insetinclude.C (draw): Eliminate Buferview argument in call to
487         PreviewImage::image
488
489 2003-02-25  John Levon  <levon@movementarian.org>
490
491         * insetgraphicsParams.h:
492         * insetgraphics.C: don't start a load process if
493           the inset is set to NoDisplay (bug #920)
494
495 2003-02-22  John Levon  <levon@movementarian.org>
496
497         * insetfloat.C:
498         * insetwrap.C: TocItem changed API (bug 913)
499
500 2003-02-21  Angus Leeming  <leeming@lyx.org>
501
502         * insetcollapsable.[Ch] (cache, edit):
503         * insetbutton.[Ch] (cache, edit): new methods to cache the
504         BufferView in the draw method.
505
506         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
507         simplify comunication between InsetCommand-derived classes and
508         the Dialogs.
509
510         * insetbibitem.[Ch]:
511         * insetbibtex.[Ch]:
512         * insetcite.[Ch]:
513         * inseterror.[Ch]:
514         * insetfloatlist.[Ch]:
515         * insetindex.[Ch]:
516         * insetref.[Ch]:
517         * insettoc.[Ch]:
518         * inseturl.[Ch]: small changes to reflect the new interface to the
519         Dialogs code.
520
521         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
522         other, similar classes.
523
524         * Makefile.am: add new files.
525
526 2003-02-21  Angus Leeming  <leeming@lyx.org>
527
528         * updatableinset.h (setView, view): remove.
529         * inset.h (view, cache): to be replaced by these.
530
531         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
532         insetbibtex.[Ch]:
533
534         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
535         insetbibtex.[Ch].
536
537         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
538
539 2003-02-21  Allan Rae  <rae@lyx.org>
540
541         * insetinclude.C (loadIfNeeded): ensure loading also works when
542         child document is under version control.
543
544 2003-02-17 André Pönitz <poenitz@gmx.net>
545
546         * insetbib.[Ch]: Adjust access to bibkeys
547
548 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
549
550         * insetquotes.C (dispString): remove use of acute accent for "'"
551         right quote.
552
553 2003-02-14  John Levon  <levon@movementarian.org>
554
555         * insettabular.C: changed method names in tabular.C
556
557 2003-02-14  John Levon  <levon@movementarian.org>
558
559         * inset.h:
560         * inset.C:
561         * insetcollapsable.h:
562         * insetcollapsable.C:
563         * insettabular.h:
564         * insettabular.C:
565         * insettext.h:
566         * insettext.C: remove unused getParFromID()
567
568 2003-02-13  John Levon  <levon@movementarian.org>
569
570         * insettext.h:
571         * insettext.C: remove unused beginningofMainBody()
572
573 2003-02-08  John Levon  <levon@movementarian.org>
574
575         * inset.h:
576         * inset.C:
577         * insetcollapsable.h:
578         * insetcollapsable.C:
579         * insettabular.h:
580         * insettabular.C:
581         * insettext.h:
582         * insettext.C:
583           add nextChange(). Make allowSpellcheck() const. Add markErased().
584
585         * insetert.C: ignore deleted text
586
587         * insettabular.C: make sure to keep change  tracking working
588           properly.
589
590 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
591
592         * insetert.C:
593         * insetgraphics.C:
594         * insettabular.C:
595         * insettext.C: Use error messages with identical spelling and punctuation
596
597 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
598
599         * insetgraphics.C (draw, width): Fix spacing around graphics inset
600
601 2002-12-17  Juergen Vigna  <jug@lyx.org>
602
603         * insettext.C (localDispatch): hopefully fixed cursor up down
604         movement on leaving other insets.
605
606 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
607
608         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
609         and the like.
610
611 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
612
613         * insetgraphics.C (prepareFile): do not remove the extension of
614         the file name if it is not the default extension for the given
615         format (that is, in latex output, remove extension from foo.eps,
616         but not from foo.epsi)
617
618 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
619
620         * insettext.C (lfunMouseRelease): hackish solution to the "double
621         menu open" bug
622
623 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
624
625         * insetfloat.C (addToToc): use the floats name not its type
626         * insetwrap.C (addToToc): ditto
627
628 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
629
630         * insetnote.C (init): make label font smaller
631
632 2002-12-04  John Levon  <levon@movementarian.org>
633
634         * insetinclude.C: ressurect setting of command name
635
636 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
637
638         * insetquotes.C (dispString): disambiguate insert call
639
640 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
641
642         * several files: ws changes
643
644 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
645
646         * insetquotes.C (dispString): use string::insert for prepending a
647         char.
648
649 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
650
651         * insetparent.C (getScreenLabel): use boost::format
652
653         * insetgraphics.C (prepareFile): use boost::format
654         (ascii): ditto
655
656         * insetfloatlist.C (latex): use boost::format
657
658         * insetcaption.C (draw): use boost::format
659
660 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
661
662         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
663         columns.
664
665 2002-11-20  Juergen Vigna  <jug@sad.it>
666
667         * insettabular.C (resetPos): temporary fix for endless loop in
668         this function on a redraw.
669
670 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
671
672         * insettabular.C (copySelection): STRCONV
673
674         * insetinclude.C (uniqueID): STRCONV
675         (latexString): ditto
676
677         * insetgraphics.C: put VersionNumber inside anon namespace
678         (createLatexOptions): STRCONV
679
680         * insetcommandparams.C: include config.h
681
682 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
683
684         * insetgraphicsParams.C (Write): use lyx::float_equal.
685         Write height data correctly.
686         (Read): zero scale when reading height data.
687
688 2002-10-30  John Levon  <levon@movementarian.org>
689
690         * insetfloat.C (addToTOC): recursively traverse all
691           contents looking for captions (fix #568)
692
693 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
694
695         * insetexternal.C (doSubstitution): do not try to replace
696         environment variables, this is done when executing the command
697
698 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
699
700         * insetexternal.C (doSubstitution): change order of substitution
701         to work around ReplaceEnvironmentPath brokenness
702
703 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
704
705         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
706
707         * insetgraphicsParams.C (init, Write): associated changes
708         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
709         InsetGraphicsParams::scale.
710
711 2002-10-21  John Levon  <levon@movementarian.org>
712
713         * inset.h: remove unused DISPATCH_RESULT
714
715         * insettext.C: sgml open/close tag now in sgml namespace
716
717 2002-10-21  Angus Leeming  <leeming@lyx.org>
718
719         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
720         file path subdir/fig.eps when pasting it into a buffer in a different
721         directory.
722
723 2002-10-16  John Levon  <levon@movementarian.org>
724
725         * insetspecialchar.C: remove \\protected_separator parsing
726
727 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
728
729         * insetquote.C: fix LaTeX output of quotation marks.
730
731 2002-10-14  Juergen Vigna  <jug@sad.it>
732
733         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
734         Backspace functions which confused the Undo handling.
735
736 2002-10-09  Angus Leeming  <leeming@lyx.org>
737
738         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
739         BufferView::dispatch that turns off this optimisation when a new inset
740         is inserted.
741
742         * insetcite.C (getNatbibLabel): correct logic of when and when not to
743         reload the BibTeX keys.
744
745 2002-10-11 André Pönitz <poenitz@gmx.net>
746
747         * insettext.h: handle LFUN_PRIOR/NEXT
748
749 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
750
751         * insetfloat.C: fix bug with float settings
752         (document default != float default).
753
754 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
755
756         * insetwrap.C (addToToc): New method.
757         (InsetWrap): Set layout to caption.
758
759 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
760
761         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
762
763 2002-09-16  John Levon  <levon@movementarian.org>
764
765         * insettabular.h: hasSelection() needs to be public
766
767 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
768
769         * insetgraphicsParams.C: use empty string as default for rotateOrigin
770
771 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
772
773         * insetgraphicsParams.C: use empty string as default for rotateOrigin
774
775 2002-09-11  André Pönitz <poenitz@gmx.net>
776
777         * insettabular.C: implement LFUN_WORDSEL
778
779 2002-09-10  John Levon  <levon@movementarian.org>
780
781         * insetinclude.h: remove unused param
782
783 2002-09-09  John Levon  <levon@movementarian.org>
784
785         * insetinclude.h:
786         * insetinclude.C: remove noload, default to input
787
788 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * insetgraphics.C: disfuscated use of ']' in built output string.
791
792 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
795
796 2002-08-29  Juergen Vigna  <jug@sad.it>
797
798         * insettabular.C (lfunMousePress): Pay attention where you set
799         the x/y values as they depend on which inset in the tabular is
800         actually locked. So you surely have to reset them if you (un)lock
801         a inset!
802
803 2002-08-29  André Pönitz <poenitz@gmx.net>
804
805         * insetfootlike.h: rename include guard to ALL CAPS
806
807         * insettext.C: swap object and first parameter for checkInsetHit calls
808           as this functions has moved from BufferView to LyXText
809
810
811 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
812
813         * insetgraphicsParams.C: remove local displayTranslator and use
814         the one from graphics/GraphicsTypes.h.
815
816 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
817
818         * insetfloat.C (wide): add BufferParams parameter
819
820         * insetfloatlist.C (read):
821         (latex):
822         (getScreenLabel):
823         * insetfloat.C (latex):
824         (floatname):
825         * insetcaption.C (draw): use LyXTextClass::floats()
826
827 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
828
829         * insetoptarg.h: add std:: qualifier.
830
831 2002-08-26  Juergen Vigna  <jug@sad.it>
832
833         * insettext.C (localDispatch): ditto.
834
835         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
836
837 2002-08-25  John Levon  <levon@movementarian.org>
838
839         * inseturl.C: elide long URLs (bug 404)
840
841 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
842
843         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
844         remove "Format Version <version_no.>" string from inset header
845
846         * insetgraphics.C:
847         * insetgraphicsParams.[Ch]: Implement new graphics dialog
848
849         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
850         a member of "grfx::Params" anymore.
851
852         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
853
854 2002-08-24  John Levon  <levon@movementarian.org>
855
856         * insetoptarg.h:
857         * insetoptarg.C: ws, pedantry ...
858
859 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
860
861         * insettext.C (collapseParagraphs): pasteParagraph now in global
862         scope
863         (appendParagraphs): ditto
864
865 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
866
867         * insetcite.C (latex): Remove spaces only after commmas.
868
869 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
870
871         * insettext.C: remove NO_COMPABILITY stuff
872
873 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
874
875         * insettext.C (edit): use ParagraphList iterators
876
877         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
878         (bibitemWidest): ditto
879
880 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
881
882         * insettext.C: include <boost/bind.hpp>
883         add using std::for_each
884         (saveLyXTextState): use ParagraphsList::iterator
885         (init): use for_each on paragraphlist iterators
886         (InsetText): remove superflous setting cached_bview to 0
887         (latex): reformat a bit
888         (ascii): use paragraphlist iterators
889         (validate): use for_each + boost bind
890         (getLabelList): use paragraphlist iterators
891         (deleteLyXText): use for_each + boost::bind
892         (resizeLyXText): ditto
893         (reinitLyXText): ditto
894         (removeNewlines): use paragraphlist iterators
895         (getParFromID): ditto
896         (paragraph): use for_each + boost::bind
897         (getInsetFromID): use paragraphlist iterators
898         (getLabelList): typo fix
899
900 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
901
902         * insettext.C (read): assign tmp to paragraphs after return from
903         call to parseSingleLyXformat2Token
904
905
906 2002-08-13  Angus Leeming  <leeming@lyx.org>
907
908         * insetbib.C:
909         * insetcite.C:
910         * inseterror.C:
911         * insetert.C:
912         * insetexternal.C:
913         * insetfloat.C:
914         * insetfloatlist.C:
915         * insetgraphics.C:
916         * insetinclude.C:
917         * insetindex.C:
918         * insetminipage.C:
919         * insetparent.C:
920         * insetref.C:
921         * insettabular.C:
922         * insettext.C:
923         * insettoc.C:
924         * inseturl.C:
925         changes due to the changed LyXView interface that now returns references
926         to member variables not pointers.
927
928 2002-08-13  Angus Leeming  <leeming@lyx.org>
929
930         * inset.h:
931         * insetcollapsable.h:
932         * insetert.h:
933         * insettabular.h:
934         * insettext.h: forward-declare WordLangTuple
935         (selectNextWordToSpellcheck) constify return type.
936
937         * inset.C:
938         * insetcollapsable.C:
939         * insetert.C:
940         * insettabular.C:
941         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
942
943 2002-08-12  Angus Leeming  <leeming@lyx.org>
944
945         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
946
947 2002-08-12  Juergen Vigna  <jug@sad.it>
948
949         * insetcollapsable.C (edit): ignore if entered when pressing mouse
950         button 3.
951
952 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
953
954         * insetbib.C (bibitemMaxWidth): ParagraphList changes
955         (bibitemWidest): ditto
956         * insettext.[Ch]: ditto
957
958 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
959
960         * insettext.C, insetert.C: use Paragraph::empty where appropriate
961
962 2002-08-09  Angus Leeming  <leeming@lyx.org>
963
964         * insetinclude.C (latexString): remove fudge now that I've found out
965         how to enable LaTeX to find the file using input@path.
966
967 2002-08-09  John Levon  <levon@movementarian.org>
968
969         * insettext.h:
970         * insettext.C: remove unused xpos
971
972 2002-08-07  Juergen Vigna  <jug@lyx.org>
973
974         * insettabular.C (localDispatch): make delete not put the stuff
975         in the clipboard only do this on a cut operation.
976
977         * insettext.C (localDispatch): make delete and backspace not put
978         selected stuff to the clipboard.
979
980 2002-08-07  André Pönitz <poenitz@gmx.net>
981
982         * inset.[Ch]:
983         * insetcollapsable.[Ch]:
984         * insetert.[Ch]:
985         * insetparent.[Ch]:
986         * insetref.[Ch]:
987         * insettabular.[Ch]:
988         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
989
990 2002-08-06  John Levon  <levon@movementarian.org>
991
992         * inset.h:
993         * inset.C:
994         * insetcollapsable.h:
995         * insetcollapsable.C:
996         * insetert.h:
997         * insetert.C:
998         * insettabular.h:
999         * insettabular.C:
1000         * insettext.h:
1001         * insettext.C: use WordLangTuple for spellcheck
1002
1003 2002-08-06  Angus Leeming  <leeming@lyx.org>
1004
1005         * insetinclude.C: add a monitor to the previewed image, so that the
1006         image is refreshed if the \input-ed file changes.
1007
1008 2002-08-04  John Levon  <levon@movementarian.org>
1009
1010         * inset.h:
1011         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1012
1013 2002-08-02  Angus Leeming  <leeming@lyx.org>
1014
1015         * insetcommandparams.[Ch] (preview): new methods returning and setting
1016         a new bool preview_ flag.
1017         (read): read this flag.
1018         (operator==): add flag to check.
1019
1020         * insetinclude.C (write): output new preview() flag.
1021         (previewWanted): use this flag.
1022
1023 2002-08-02  Angus Leeming  <leeming@lyx.org>
1024
1025         * insetcollapsable.[Ch] (addPreview):
1026         * insettabular.[Ch] (addPreview):
1027         * insettext.[Ch] (addPreview): new methods. Can now generate previews
1028         for insets in insets.
1029
1030 2002-08-02  Angus Leeming  <leeming@lyx.org>
1031
1032         * insetcite.C: fix typo.
1033
1034         * insetgraphics.C: kill current_view and instead cache the BufferView
1035         as a weak_ptr.
1036
1037         * insetinclude.C: kill current_view and pass the BufferView to the
1038         PreviewedInset so that it can cache it.
1039
1040 2002-08-01  Angus Leeming  <leeming@lyx.org>
1041
1042         * inset.h (generatePreview): renamed as addPreview.
1043         (generatePreview): new method. Allows code to be moved out of
1044         math_nestinset.C and into the new PreviewedInset class.
1045
1046         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1047         add previews to the inset when \input-ing LaTeX.
1048
1049 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1050
1051         * several files: strip,frontStrip -> trim,ltrim,rtrim
1052
1053 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1054
1055         * insetbib.C (latex): modify because of strip changes
1056         (getKeys): ditto
1057         * insetnote.C (InsetNote): ditto
1058
1059 2002-07-26  Juergen Vigna  <jug@sad.it>
1060
1061         * insettabular.C (searchForward): check for lastcell if we
1062         had a locking inset.
1063
1064 2002-07-25  Juergen Vigna  <jug@sad.it>
1065
1066         * insettabular.C (insetMotionNotify): Don't update the screen
1067         if we didn't do nothing.
1068         (searchForward): last cell was not checked.
1069
1070 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
1071
1072         * insetfloat.C (read, write): Allow default placement
1073         (floatPlacement_ is empty).
1074
1075 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1076
1077         * insetminipage.h (noFontChange):
1078         * insettabular.h (noFontChange):
1079         * insetfootlike.h (noFontChange):
1080         * insetfloat.h (noFontChange): return true
1081
1082         * inset.h (noFontChange): new method, defaulting to false
1083
1084 2002-07-22  Herbert Voss  <voss@lyx.org>
1085
1086         * insetgraphicsParams.[Ch]: support size_type for old docs
1087
1088 2002-07-22  Herbert Voss  <voss@lyx.org>
1089
1090         * insetgraphics.C:
1091         * insetgraphicsParams.[Ch]: change size_type to size_kind and
1092         other small changes
1093
1094 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1095
1096         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
1097
1098         * insetlatexaccent.h: do not include "lyxlex.h"
1099
1100         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
1101
1102         * insetquotes.C:
1103         * insetlatexaccent.C:
1104         * insetgraphics.C:
1105         * insetexternal.C:
1106         * insetert.C:
1107         * insetbib.C: #include "lyxlex.h"
1108
1109         * insetinclude.C:
1110         * insetfloat.C:
1111         * insetert.C:
1112         * insetbib.C:
1113         * insettext.C: use BufferParams::getLyXTextClass
1114
1115
1116         * insetfloat.C (addToToc): new method. Add to toclist the entries
1117         corresponding to Caption layouts
1118         (InsetFloat): when creating a new float, set the layout to "Caption"
1119
1120 2002-07-21  Herbert Voss  <voss@lyx.org>
1121
1122         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
1123         image relevant part into graphics/GraphicsImgae.C
1124
1125 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1126
1127         * insettoc.C (ascii):
1128         * insetfloatlist.C (ascii): change to use the new Toc functions
1129         instead of stuff that was in Buffer
1130
1131 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1132
1133         * insettext.C (localDispatch): BufferView::Dispatch has been
1134         renamed to BufferView::dispatch
1135
1136 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1137
1138         * insetgraphicsParams.C (as_grfxParams): use the new
1139         keepLyXAspectRatio parameter. Note that this is an adaptation of a
1140         1.2.0 patch, and I do not really know how to adapt it to the new
1141         grfx::Cache world. Angus, please could you have a look?
1142
1143 2002-05-01  Herbert Voss  <voss@lyx.org>
1144
1145         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
1146
1147 2002-07-18  Angus Leeming  <leeming@lyx.org>
1148
1149         * insetgraphics.C: clean-up comments (from Herbert).
1150         add a new checksum variable to the cache. Use it in PrepareFile.
1151         (draw): start monitoring the file for a change.
1152         (prepareFile): re-arrange a little to avoid unnecessary steps.
1153
1154 2002-07-17  Angus Leeming  <leeming@lyx.org>
1155
1156         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
1157         a method rather than to the signal directly.
1158
1159 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
1160
1161         * insettext.C: use view_state_changed, switchKeyMap
1162
1163 2002-07-17  Herbert Voss  <voss@perce.de>
1164
1165         * insetgraphics.C (prepareFile): keep the extension when
1166         exporting to nice file
1167
1168 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1169
1170         * insetcite.C (getNatbibLabel):
1171         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
1172
1173 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
1174
1175         * insetgraphics.C: use ->isDrawable()
1176
1177 2002-07-12  Angus Leeming  <leeming@lyx.org>
1178
1179         * insetgraphics.C: use the new smart loading capabilities of the image
1180         loader.
1181
1182 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1183
1184         * insettabular.C (edit): Move into correct cell when entering a
1185         tabular in
1186
1187         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
1188         RTL paragraphs.
1189
1190 2002-07-05  Angus Leeming  <leeming@lyx.org>
1191
1192         * inset.h (generatePreview): new virtual method.
1193
1194 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1195
1196         * insetcommandparams.[Ch] (operator=): move out of class
1197         (operator!): move out of class
1198
1199 2002-07-04  André Pönitz <poenitz@gmx.net>
1200
1201         * insetcommandparams.[Ch]: new files
1202
1203         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
1204
1205 2002-06-15  Herbert Voss  <voss@perce.de>
1206
1207         * insetgraphics.C (prepareFile): bugfix; return always
1208         files without extension
1209
1210 2002-06-28  Angus Leeming  <leeming@lyx.org>
1211
1212         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
1213         rename asGParams -> as_grfxParams.
1214
1215         * insetgraphics.C: reflect above change.
1216
1217 2002-06-26  Angus Leeming  <leeming@lyx.org>
1218
1219         * insetgraphics.h: use boost::scoped_ptr in preference to
1220         std::auto_ptr.
1221
1222 2002-06-26  Angus Leeming  <leeming@lyx.org>
1223
1224         * insetgraphics.C: moved the image loading stuff into a new class
1225         grfx::Loader. Simplifies this file enormously.
1226
1227         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
1228
1229         * insetgraphicsParams.C: changes aassociated with moving
1230         grfx::DisplayType out of grfx::GParams.
1231
1232 2002-06-26  André Pönitz <poenitz@gmx.net>
1233
1234         * insetgraphics.C: use os::external_path where necesaary according to a
1235         patch from Claus Hentschel)
1236
1237 2002-06-25  Angus Leeming  <leeming@lyx.org>
1238
1239         * insetgraphics.[Ch]: The inset now assumes the responsibility for
1240         generating a pixmap once the graphics file is loaded into memory.
1241         The current_view ugliness that was in grfx::ModifiedImage has been
1242         moved here now that grfx::ModifiedImage is no more.
1243
1244 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1245
1246         * insettext.C: layout as layout
1247
1248 2002-05-28  André Pönitz <poenitz@gmx.net>
1249
1250         * insetfloatlist.h: remove source of compiler warning
1251
1252         * insetref.C: tiny whitespace
1253
1254 2002-06-15  Herbert Voss  <voss@perce.de>
1255
1256         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
1257         and take always convert when no userdefined converter was
1258         found
1259         (latex) small changes in the lyxerr output
1260
1261 2002-06-15  LyX Development team <lyx@rilke>
1262
1263         * inset*.[Ch] (docbook): Added new argument to take the pernicious
1264         mixed content. Small white spaces clean.
1265
1266 2002-06-14  Angus Leeming  <leeming@lyx.org>
1267
1268         * inseetexternal.C: remove the using std::difftime declaration.
1269
1270 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
1271
1272         * insetquotes.C: change lyxfont::draw to font_metrics::draw
1273
1274 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
1275
1276         * insetquotes.C (draw): fix drawing of double quotes
1277
1278 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1279
1280         * insettabular.C: s/scrollCB/scrollDocView/
1281
1282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1283
1284         * insettext.C: change of topCursorVisible()
1285           prototype
1286
1287 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
1288
1289         * insettext.h:
1290         * insettext.C: rename/change of LyXScreen
1291
1292 2002-06-07  Angus Leeming  <leeming@lyx.org>
1293
1294         Fixes needed to compile with Compaq cxx 6.5.
1295         * insetexternal.C:
1296         all c-library variables have been moved into namespace std.
1297         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1298
1299 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1300
1301         * insetinclude.C (uniqueID):
1302         * insetgraphics.C (uniqueID): renamed from unique_id, since this
1303         conflicted with some AIX headers.
1304
1305 2002-05-31  Juergen Vigna  <jug@sad.it>
1306
1307         * insetert.C (get_new_label): add '...' for multi-paragraph ert
1308         insets too
1309         (update) new method
1310
1311 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1312
1313         * insetexternal.C (clone): fix () bug when using new
1314         (updateExternal): don't only look for difftime in global scope
1315
1316 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
1317
1318         * insettabular.C: add const
1319
1320 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1321
1322         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
1323         file name, in case there are weird characters like ',' in there.
1324         (bug #407)
1325
1326 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1327
1328         * switch from SigC signals to boost::signals.
1329
1330 2002-05-28  André Pönitz <poenitz@gmx.net>
1331
1332         * insets/insetgraphicsParams.[Ch]:
1333           put in inset related stuff from src/graphic
1334
1335 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
1336
1337         * inset.C:
1338         * inset.h:
1339         * insetbib.C:
1340         * insetbib.h:
1341         * insetcite.h:
1342         * insetcite.C:
1343         * insetcollapsable.C:
1344         * insetcollapsable.h:
1345         * inseterror.C:
1346         * inseterror.h:
1347         * insetert.C:
1348         * insetert.h:
1349         * insetexternal.C:
1350         * insetexternal.h:
1351         * insetfloatlist.C:
1352         * insetfloatlist.h:
1353         * insetgraphics.C:
1354         * insetgraphics.h:
1355         * insetinclude.C:
1356         * insetinclude.h:
1357         * insetindex.C:
1358         * insetindex.h:
1359         * insetlabel.C:
1360         * insetlabel.h:
1361         * insetparent.C:
1362         * insetparent.h:
1363         * insetref.C:
1364         * insetref.h:
1365         * insettabular.C:
1366         * insettabular.h:
1367         * insettext.C:
1368         * insettext.h:
1369         * insettoc.C:
1370         * insettoc.h:
1371         * inseturl.C:
1372         * inseturl.h: use mouse_state. Kill insetKeyPress
1373
1374 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
1375
1376         * insetbib.C:
1377         * insetbutton.C:
1378         * insetcaption.C:
1379         * insetcollapsable.C:
1380         * inseterror.C:
1381         * insetgraphics.C:
1382         * insetlatexaccent.C:
1383         * insetquotes.C:
1384         * insetspecialchar.C:
1385         * insettabular.C:
1386         * insettext.C: name change for font metrics
1387
1388 2002-05-24  Juergen Vigna  <jug@sad.it>
1389
1390         * insetgraphics.h: include inset.h first (for LString.h)
1391
1392 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1393
1394         * insettext.C: screen moved
1395
1396 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1397
1398         * insetbib.C:
1399         * insetcite.C:
1400         * inseterror.C:
1401         * insetert.C:
1402         * insetexternal.C:
1403         * insetfloat.C:
1404         * insetfloatlist.C:
1405         * insetgraphics.C:
1406         * insetinclude.C:
1407         * insetindex.C:
1408         * insetminipage.C:
1409         * insetparent.C:
1410         * insetref.C:
1411         * insettabular.C:
1412         * insettext.C:
1413         * insettoc.C:
1414         * inseturl.C: LyXView moved into frontends/
1415
1416 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
1417
1418         * inset.C:
1419         * insetbutton.C:
1420         * insetcaption.C:
1421         * insetcollapsable.C:
1422         * insetcommand.C:
1423         * inseterror.C:
1424         * insetgraphics.C:
1425         * insetgraphicsParams.C:
1426         * insetlatexaccent.C:
1427         * insetquotes.C:
1428         * insetspecialchar.C:
1429         * insettabular.C:
1430         * insettext.C: move Painter to frontends/
1431
1432 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1433
1434         * insettabular.h: use more specific smart_ptr header.
1435         * insettext.h: ditto
1436
1437         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
1438         (draw): ditto
1439
1440 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
1441
1442         * insettext.C: clear selection on paste (bug 393)
1443
1444 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
1445
1446         * insettext.C (latex): Honor the moving_arg argument.
1447
1448 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1449
1450         * insetfoot.C (latex): if a footnote is in a title layout, then it
1451         is a \thanks. And then, its contents is a moving argument.
1452
1453 2002-05-14  Juergen Vigna  <jug@sad.it>
1454
1455         * insetcollapsable.C (InsetCollapsable): forgot to initialize
1456         first_after_edit.
1457
1458 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
1459
1460         * Insetcite.C (getNatbibLabel): don't disable natbib label support
1461         when using options "Full author list" or "Upper case".
1462
1463 2002-05-14  Herbert Voss  <voss@perce.de>
1464
1465         * insetgraphics.C (prepareFile): allow files with same name
1466         in different dirs
1467         (readFigInset): set the flags from old figinset in the right
1468         manner
1469         (findTargetFormat): more comments
1470
1471 2002-05-14  Juergen Vigna  <jug@sad.it>
1472
1473         * insettext.C (edit): tell checkAndActivateInset() that we don't
1474         have a button press.
1475         (checkAndActivateInset): if button < 0 we don't have a button press
1476         on the inset and os we won't call edit on it if it's not a Highly
1477         editable inset (then we have to enter it).
1478
1479 2002-05-13  Juergen Vigna  <jug@sad.it>
1480
1481         * insetcollapsable.C (insetButtonRelease): returned wrong return
1482         value.
1483
1484 2002-05-09  Juergen Vigna  <jug@sad.it>
1485
1486         * insetcollapsable.C (edit): first_after_edit should only be
1487         set to true if we enter this inset and it was collapsed so we
1488         open it up. This is needed to reclose it after a search/replace
1489         or spellcheck function opened it and was negative.
1490
1491 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
1492
1493         * insetfloat.C (latex): Return correct value.
1494
1495 2002-05-04  Herbert Voss  <voss@perce.de>
1496
1497         * InsetgraphicsParams.C (read): fix bug with WH
1498
1499 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
1500
1501         * insetfloat.C (latex): More sensible latex output
1502         (fix the problem with endfloat).
1503
1504 2002-05-02  José Matos  <jamatos@fep.up.pt>
1505
1506         * insetgraphics.C (validate): acess params as everyone else.
1507
1508 2002-05-03  Juergen Vigna  <jug@sad.it>
1509
1510         * insettabular.C (fitInsetCursor): recalculate the cursor position
1511         if I request it.
1512
1513 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
1514
1515         * InsetgraphicsParams.[Ch]: whitespace.
1516
1517 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
1518
1519         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
1520         float type do not exist.
1521
1522 2002-04-28  Herbert Voss  <voss@perce.de>
1523
1524         * insetgraphics.C (latex): fix bug with missing file-extension.
1525         LaTeX still allows a missing "eps" or "ps".
1526
1527 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
1528
1529         * insetfloat.C (c-tor, wide): translate the name of the float.
1530
1531 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
1532
1533         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
1534         when using natbib and make it work efficiently. Must emphasise that the
1535         real work is Herbert's.
1536
1537 2002-04-23  Herbert Voss  <voss@perce.de>
1538
1539         * insetgraphic.C (prepareFile): fix bug with overwriting and
1540         deleting an existing *.eps-file in the doc-dir
1541
1542 2002-04-23  Juergen Vigna  <jug@sad.it>
1543
1544         * insettabular.C (drawCellSelection): fix off by 1 error.
1545
1546 2002-04-22  Juergen Vigna  <jug@sad.it>
1547
1548         * insettabular.C (setFont): rewoke full selection if it was asked,
1549         after we changed all we had to change.
1550
1551         * insettext.C (insetUnlock): code was uninitialized in some situations.
1552
1553 2002-04-19  Herbert Voss  <voss@perce.de>
1554
1555         * insetgraphic.C (prepareFile): return filename without
1556         extension if we only export without compiling
1557
1558 2002-04-19  Juergen Vigna  <jug@sad.it>
1559
1560         * insettext.C (draw): call a fullRebreak on the row where we had a
1561         change and reset the cursor and selection-cursors.
1562
1563         * insettabular.C (insetUnlock):
1564         (insetButtonPress): call an update before setting the_locking_inset = 0
1565         as otherwise we don't repaint!
1566         (update): reset the cursor position when we changed dimensions as
1567         otherwise our cursor may be on the wrong spot.
1568
1569 2002-04-18  Juergen Vigna  <jug@sad.it>
1570
1571         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
1572         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
1573         redraw otherwise we won't redraw.
1574
1575         * insettext.C (draw): fixed the setting of LyXText::first_y it was
1576         not really right before, but I only discovered this with the last
1577         changes to Page up/down.
1578
1579 2002-04-17  Juergen Vigna  <jug@sad.it>
1580
1581         * insettext.C (checkAndActivateInset): simplified as we now have the
1582         edit(bv, bool) call.
1583
1584         * insettext.h: changed behind variables to front variables to be
1585         equal to the one in the edit call (as it is for that they are used).
1586
1587 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
1588
1589         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
1590         not output anything at all!
1591
1592 2002-04-16  Juergen Vigna  <jug@sad.it>
1593
1594         * insettabular.C (insetButtonPress):
1595         (insetUnlock): call a redraw on unlocking the cell inset.
1596
1597         * insettext.C (insetButtonPress): same as below.
1598         (lockInset): new function to set initial values when inset should
1599         be locked.
1600         (insetButtonPress): use above function.
1601         (insetUnlock): don't force a repaint only set the updateStatus. The
1602         outside world should repaint if it thinks it should be done!
1603
1604         * insettabular.C (insetButtonPress): init values if not set as locked
1605         as we are locked if someone presses on us and don't call the edit()
1606         call of the InsetText to lock it do it as BufferView does it!
1607
1608         * inset.h (insetInInsetY): make func const and return an int.
1609         * insettext.C:
1610         * insettabular.C:
1611         * insetcollapsable.C: adapt the above changed function.
1612
1613 2002-04-15  Juergen Vigna  <jug@sad.it>
1614
1615         * insettext.C (getCursorPos): return relative position as to be able
1616         to give them directly to the edit() call.
1617         (edit): we have to set also x_fix as it is not set inside the
1618         setCursorFromCoordinates call!
1619         (insetMotionNotify): ditto.
1620
1621 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
1622
1623         * insetbib.C (getKeys): strip leading '\t's from the line too.
1624         With thanks to Henry Pfister <hpfister@ucsd.edu>.
1625
1626 2002-04-12  Juergen Vigna  <jug@sad.it>
1627
1628         * insettext.h: added cix() helper function and use it where appropriate
1629
1630 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1631
1632         * insetgraphics.C (prepareFile): fix bug when graphics is a
1633         relative path
1634
1635 2002-04-12  Juergen Vigna  <jug@sad.it>
1636
1637         * insettext.C (insertInset): remove unneeded code!
1638         (updateLocal): fitCursor() fixes.
1639         (collapseParagraphs): fix a possible problem when having a selection
1640         and collapsing the paragraphs.
1641
1642 2002-04-08  Herbert Voss  <voss@perce.de>
1643
1644         * insetgraphic.C (write): write the rotating angle as
1645         a float as is. test only for != 0.0
1646
1647 2002-04-11  Juergen Vigna  <jug@sad.it>
1648
1649         * insettext.C: new function ciy() and use it for setting inset_y.
1650
1651         * insetert.C (draw): fix the x return for collapsed version.
1652
1653 2002-04-07  Herbert Voss  <voss@perce.de>
1654
1655         * insetgraphic.C (readFigInset): fix bug with subcaption and
1656         rotating
1657
1658 2002-04-08  Herbert Voss  <voss@lyx.org>
1659
1660         * insetgraphicsparam.C: forgot special option and delete old
1661         1.2.0 stuff
1662
1663 2002-04-05  Juergen Vigna  <jug@sad.it>
1664
1665         * insettext.C (localDispatch): make a CURSOR update if we inserted
1666         a character.
1667
1668 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1669
1670         * insetfloatlist.C (getScreenLabel):
1671         (latex): use Floating::listName
1672         (validate): new method
1673
1674 2002-04-03  José Matos  <jamatos@fep.up.pt>
1675
1676         * insetlabel.C (docbook): the anchor is an empty element in docbook.
1677
1678         * insetfoot.[Ch] (docbook): added forgotten method.
1679
1680 2002-04-03  Juergen Vigna  <jug@sad.it>
1681
1682         * insettext.C (insetButtonPress): fix insetButtonPress events the same
1683         way as in Bufferview_pimpl.
1684
1685 2002-04-03  Allan Rae  <rae@lyx.org>
1686
1687         * insetgraphics.C (latex): one % too many makes living on the bleeding
1688         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
1689
1690 2002-03-28  Herbert Voss  <voss@lyx.org>
1691
1692         * insetgraphic.C (latex): simplify the code for the latex
1693         output when the file doesn't exist
1694
1695 2002-03-29  Juergen Vigna  <jug@sad.it>
1696
1697         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
1698         unlocking inset.
1699
1700         * insettabular.C (edit): call fitCursor().
1701
1702         * insettext.C (insetButtonPress): change behaviour of no_selection
1703         to the one in the BufferView selection_possible and fix the spurious
1704         selection bug with it.
1705         (localDispatch): revoke selection on BREAK... functions.
1706
1707 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1708
1709         * insetfloatlist.C (getScreenLabel): translate the GUI label.
1710
1711 2002-03-28  Juergen Vigna  <jug@sad.it>
1712
1713         * insettabular.C (insetAllowed): return true as default value otherwise
1714         we're not able to insert insets inside paragraphs of an not locked
1715         insettext!
1716
1717 2002-03-27  Herbert Voss  <voss@lyx.org>
1718
1719         * insetgraphicsparam.C: change c%, p% to col%, page%
1720
1721 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1722
1723         * insetspecialchar.C (isLineSeparator): disable the nice code to
1724         allow linebreaks after hyphenation and menu separators.
1725
1726 2002-03-26  Herbert Voss  <voss@lyx.org>
1727
1728         * insetgraphics.C (figinsetRead): set the right lyxview
1729
1730 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
1731
1732         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
1733         $\backslash$ and pass a "string const &" to the function.
1734         (prepareFile, latex): use Path rather than MakeAbsPath.
1735
1736 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
1737
1738         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
1739         proper fix to the graphics cache.
1740         (latex): "really" nice output if the file is not found ;-)
1741
1742 2002-03-26  Juergen Vigna  <jug@sad.it>
1743
1744         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
1745         (collapseParagraphs): fixed inserting of separator ' '
1746
1747         * insettabular.C (insertAsciiString): only check for buffer lenght
1748         not if we have \t or \n inside the buffer as if we don't have we only
1749         have 1 cell and that's it!
1750
1751         * insetert.C (close): don't collapse if inlined.
1752
1753 2002-03-25  Herbert Voss  <voss@lyx.org>
1754
1755         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
1756         graphics file does not exist.
1757
1758 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
1759
1760         * insetgraphics.C (prepareFile): ensure that the file has an absolute
1761         path when preparing export.
1762
1763         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
1764         no longer MakeRelPath.
1765
1766 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
1767
1768         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
1769         Used to determine the absolute path to the graphics file in the
1770         graphics cache and only in the graphics cache.
1771         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
1772         make graphics file name absolute if it is stored as a relative path.
1773
1774         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
1775         make graphics file name absolute if it is stored as a relative path.
1776
1777         * insettext.C (edit): emit an updateParagraph signal on entering a text
1778         inset. Needs to be emitted when leaving the inset also.
1779
1780 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1781
1782         * all files: ws cleanup
1783
1784         * Makefile.am: remove ld -r stuff
1785
1786 2002-03-21  Juergen Vigna  <jug@sad.it>
1787
1788         * insettext.C (appendParagraphs): new function added to append
1789         the paragraphs to this insets paragraphs.
1790
1791 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1792
1793         * Makefile.am: special rules if partial linking
1794
1795 2002-03-19  Juergen Vigna  <jug@sad.it>
1796
1797         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
1798
1799 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
1800
1801         * insetgraphics.C: Clean up Baruch's comments a little.
1802         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
1803
1804 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
1805
1806         * insettabular.C:
1807         * insettheorem.C: wrap warnings
1808
1809         * insetgraphics.C: improve messages, move cached_status_
1810           setting to safer place
1811
1812 2002-03-18  Juergen Vigna  <jug@sad.it>
1813
1814         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
1815         calls.
1816         (localDispatch): ditto
1817
1818         * insettext.C (edit): removed unneeded showCursor calls.
1819         (localDispatch): ditto.
1820
1821 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1822
1823         * insetgraphics.h: remove display() method.
1824
1825 2002-03-11  Juergen Vigna  <jug@sad.it>
1826
1827         * insetgraphics.C (draw): hack to fix the redrawing bug.
1828         (draw): seems this fixes #268 (force redraw of row if we changed).
1829
1830         * insettext.C (updateInsetInInset): fixed for updates in insets inside
1831         this inset text (don't know why I missed this earlier).
1832
1833 2002-03-08  Juergen Vigna  <jug@sad.it>
1834
1835         * insettabular.C (updateLocal): do a FULL update if we're not locked
1836         and only a CELL update is asked.
1837
1838         * insettext.C (updateInsetInInset): update insets inside inset also
1839         if it isn't inside the_locking_inset.
1840
1841         * insettabular.C (updateInsetInInset): ditto.
1842
1843 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1844
1845         * insetexternal.C (doSubstitution): check whether we are using a
1846         temp dir for defining $$FPath
1847
1848 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
1849
1850         * insettabular.C:
1851         * insettext.C: remove #include "WorkArea.h".
1852
1853 2002-03-06  Juergen Vigna  <jug@sad.it>
1854
1855         * insettext.C (draw): fixed frame redrawing.
1856         (clear): forgot to set the inset_owner of the paragraph.
1857
1858         * insetert.C (status): pay attention the bv can be 0 here!
1859         (getMaxWidth): add the default leftMargin
1860
1861 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1862
1863         * insetert.C (getMaxWidth): make w unsigned int.
1864
1865 2002-03-05  Juergen Vigna  <jug@sad.it>
1866
1867         * insetert.C (status): change behaviour of Inlined.
1868         (getMaxWidth): added for new inlined behaviour.
1869
1870 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1871
1872         * insetnote.h (linuxdoc, docbook): add empty methods.
1873         * insetinclude.C (validate): fix a case where buffer->niceFile was used
1874         before being initialized.
1875
1876 2002-03-05  Juergen Vigna  <jug@sad.it>
1877
1878         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
1879         only that one in the inset. Should be enough.
1880         (updateLocal): set the selection cursor always if we don't have a
1881         selection to be sure it's set!
1882
1883         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
1884
1885 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1886
1887         * insettext.C (clear): a gross hack to set layout on a newly
1888         created paragraph.
1889
1890 2002-03-04  Juergen Vigna  <jug@sad.it>
1891
1892         * insettabular.C (localDispatch): inserted handling of
1893         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
1894         (insertAsciiString): new helper function.
1895
1896 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1897
1898         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
1899         argument.
1900
1901 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1902
1903         * insettext.C (InsetText): initalize newly created par with
1904         default layout. add bufferparams parameter
1905         first -> first_y
1906
1907         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
1908         * insetcollapsable.[Ch] (InsetCollapsable): ditto
1909         * insetert.[Ch] (InsetERT): ditto
1910         * insetfloat.[Ch] (InsetFloat): ditto
1911         * insetfoot.[Ch] (InsetFoot): ditto
1912         * insetfootlike.[Ch] (InsetFootLike): ditto
1913         * insetmarginal.[Ch] (InsetMarginal): ditto
1914         * insetminipage.[Ch] (InsetMinipage): ditto
1915         * insetnote.[Ch] (InsetNote): ditto
1916         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
1917
1918 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1919
1920         * insettext.C: layout as string
1921
1922         * insetinclude.C: layout as string
1923
1924         * insetert.C: layout as string
1925
1926         * insetbib.C: layout as string
1927
1928 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1929
1930         * insetert.C:
1931         * insettabular.C: remove #include "lyx_gui_misc.h".
1932
1933 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1934
1935         * Makefile.am:
1936         * figinset.h:
1937         * figinset.C:
1938         * inset.h: remove figinset, yahoo !
1939
1940 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1941
1942         * insetgraphics.C (c-tors): initialise parent classes explicitly in
1943         copy c-tor and initialise member variables in the correct order.
1944
1945 2002-02-28  Juergen Vigna  <jug@sad.it>
1946
1947         * insettabular.C (localDispatch): clear selection on PgUp/Down.
1948
1949 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1950
1951         * inset.h: ... and add a better one here.
1952
1953         * insetcommand.C (insetButtonRelease): remove that one which was a
1954         bit broken...
1955
1956 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1957
1958         * insetcommand.C (insetButtonRelease): ... and move it here.
1959
1960         * inseturl.h: remove insetButtonRelease from there...
1961
1962 2002-02-26  Juergen Vigna  <jug@sad.it>
1963
1964         * inseturl.h: Added a insetButtonRelease call returning true as
1965         prove of concept.
1966
1967         * insetlabel.C (edit): Fixed wrong update handling after change I
1968         leave in the wrong code for the one who wrote it to remove and have
1969         a look what he did wrong.
1970
1971         * insettabular.C (localDispatch): force a SELECTION update if we
1972         had a selection and we passed the event down to the inset (fix #213)
1973         (localDispatch): handle font changing stuff when we have a cell
1974         selection so that the selection is not rewoked. I don't really like
1975         this fix, but it's the only way I see to do it right now.
1976
1977 2002-02-22  Juergen Vigna  <jug@sad.it>
1978
1979         * insettext.C (insetUnlock): set the cursor to the second paragraph
1980         if available and if the first one is empty (fix #191).
1981
1982 2002-02-20  Juergen Vigna  <jug@sad.it>
1983
1984         * insettext.C (getDrawFont): implemented this function to call the
1985         one of the owner if present as the owner normally knows what to do
1986         with us.
1987
1988         * insetert.C: implement getDrawFont() function and comment out all
1989         the crap for setting a special latex font inside this inset.
1990         (InsetERT): added a Lanugage parameter to this constructor.
1991
1992         * inset.h: added function getDrawFont(LyXFont & font) to be able to
1993         change the font for being drawn on screen (used only in InsetERT for
1994         now).
1995
1996         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
1997         and also above (was missing).
1998         (updateLocal): don't remove the cell selection if we have one this
1999         should be done where we really want to remove it.
2000
2001 2002-02-20  José Matos  <jamatos@fep.up.pt>
2002
2003         * insetinclude.h: include_label made string const.
2004
2005         * insetinclude.C (InsetInclude): moved include_label initialization.
2006         (linuxdoc):
2007         (docbook):
2008         (validate): fix support for temporary directory, for docbook and
2009         linuxdoc.
2010
2011         * insetgraphics.h : new private member, graphic_label, that holds
2012         the entity name that defines the graphics location (SGML).
2013
2014         * insetgraphics.C (unique_id): new function to give a unique label
2015         for graphic.
2016         (docbook):
2017         (validate): the file locatation is given by an entity reference.
2018
2019 2002-02-18  Herbert Voss  <voss@lyx.org>
2020
2021         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2022
2023 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
2024
2025         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2026         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2027
2028 2002-02-18  José Matos  <jamatos@fep.up.pt>
2029
2030         * insetinclude.C (validate): some code only applies to latex buffers,
2031         it was made conditional.
2032
2033 2002-02-12  Herbert Voss  <voss@lyx.org>
2034
2035         * insetgraphics.C: (prepareFile) do not check at this time
2036         if the file is present.
2037
2038 2002-02-12  Herbert Voss  <voss@lyx.org>
2039
2040         * insetgraphics.C: latex(), return the correct newlines
2041
2042 2002-02-13  José Matos  <jamatos@fep.up.pt>
2043
2044         * inseturl.C (docbook): escape & in url.
2045
2046 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2047
2048         * insetspecialchar.C (isLineSeparator): line breaking is allowed
2049         after HYPHENATION and MENU_SEPARATOR
2050
2051         * inset.h (isLineSeparator): new method, returns false by default.
2052
2053 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2054
2055         * insetert.C (status): do not update the text inset, but the ERT
2056         inset.
2057
2058 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
2059
2060         * insetnote.C: use notebg for background
2061
2062 2002-02-08  Herbert Voss  <voss@lyx.org>
2063
2064         * insetgraphic.C:
2065         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2066         prevent LyX from unzipping when this should be handled
2067         by latex vis the graphic.cfg.
2068         clean up the code
2069
2070 2002-02-08  Herbert Voss  <voss@lyx.org>
2071
2072         * insetgraphic.C: prepareFile(): fix bug when file doesn't
2073         exists, than return filename with extension
2074
2075 2002-02-06  Herbert Voss  <voss@lyx.org>
2076
2077         * insetgraphic.C: prepareFile(): don't convert the file, when
2078         it's not viewed in LyX. Saves a lot of time when opening a
2079         document!
2080
2081 2002-02-05  Herbert Voss  <voss@lyx.org>
2082
2083         * insetgraphic.C:
2084         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2085         and adding a rotate bool similiar to subcaption
2086
2087 2002-02-04  Herbert Voss  <voss@lyx.org>
2088
2089         * insetgraphic.C:
2090         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2091         similiar view to the LaTeX one. Get zipped files work.
2092
2093 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
2094
2095         * insetgraphicsParams.C (init): set display to DEFAULT.
2096         No longer #include "lyxrc.h".
2097
2098 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
2099
2100         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
2101         for now (so that the code compiles).
2102
2103 2002-02-02  Herbert Voss  <voss@lyx.org>
2104
2105         * insetgraphic.C: delete inVariant() and some minor changes
2106         * insetgraphicsParams.[C]:
2107
2108 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
2109
2110         * insetgraphics.C (updateInset): if params.display == DEFAULT,
2111         interogate lyxrc.display_graphics before diaplaying the graphic.
2112
2113         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
2114         InsetGraphicsParams::DisplayType.
2115
2116 2002-01-31  Herbert Voss  <voss@lyx.org>
2117
2118         * insetgraphic.C: (readfigInset) set display to pref-default
2119
2120 2002-01-30  Herbert Voss  <voss@lyx.org>
2121
2122         * insetgraphic.C: get the filetyp from it's contents
2123         * insetgraphicparams.C: add token scale and lyxrc.display when
2124         creating a new inset
2125
2126 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
2127
2128         * figinset.C: added using std::ios directive.
2129
2130 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2131
2132         * figinset.C (runqueue): open translation file in binary mode (for
2133         cygwin).
2134
2135 2002-01-27  Herbert Voss  <voss@lyx.org>
2136
2137         * insetgraphic.[Ch]: mostly newritten to support graphicx with
2138         all options and to be sure that the old figinsets are correct
2139         converted.
2140         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
2141         structure and to support all lengths as LyXLength. The Parameter
2142         structure changed again, but reading of "old" 1.2 graphic insets
2143         is no problem.
2144
2145 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
2146
2147         * insetert.h (forceDefaultParagraphs): Added
2148
2149 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2150
2151         * insettabular.C (getMaxWidth):
2152         (forceDefaultParagraphs): use Tabular::GetCellFromInset
2153
2154 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2155
2156         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
2157         of LyXLength::inPixels
2158
2159         * inset.C (latexTextWidth):
2160         * insetminipage.C (latexTextWidth): new method, which implements
2161         the equivalent of the LaTeX macro \textwidth
2162
2163         * insetminipage.C (getMaxWidth): use latexTextWidth
2164
2165 2002-01-18  Juergen Vigna  <jug@sad.it>
2166
2167         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
2168
2169 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2170
2171         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
2172
2173         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
2174         instead of string
2175
2176 2002-01-17  Juergen Vigna  <jug@sad.it>
2177
2178         * insettabular.C (lockInsetInInset): same change as in insettext.
2179
2180         * insettext.C (draw): width() function was called without setting
2181         the right top_x which could lead to wrong insetWidth setting!
2182         (lockInsetInInset): call edit instead of calling lockInset if we
2183         have to lock an inset inside!
2184         (edit): we have to also tell the inset that we have to redraw the
2185         frame on an edit call if this inset draws a frame only if locked.
2186
2187 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2188
2189         * insetbib.C (getFiles): uncomment Path variable.
2190
2191 2002-01-16  Juergen Vigna  <jug@sad.it>
2192
2193         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
2194         of wrong cell.
2195
2196 2002-01-16  Allan Rae  <rae@lyx.org>
2197
2198         * insetinclude.C (docbook): someone forgot a ";"
2199
2200 2002-01-16  José Matos  <jamatos@fep.up.pt>
2201
2202         * figinset.C (docbook): removed a old place holder "@".
2203         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
2204         * insetinclude.C (linuxdoc): if include is verbatim, then export the
2205         ascii text version, clearly guarded inside a CDATA section.
2206         (docbook): in docbook 4, inlinegraphics is empty.
2207         * insettabular.C (linuxdoc): export the ascii version of the table
2208         inside a CDATA section.
2209
2210 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2211
2212         * insetparent.C (InsetParent):
2213         * insetgraphicsParams.C (Write):
2214         (Read):
2215         * insetgraphics.C (prepareFile):
2216         (readFigInset):
2217         (docbook):
2218         * insetexternal.C (executeCommand):
2219         (doSubstitution): use Buffer::filePath
2220
2221         * insetbib.C (getFiles): add a #warning for Angus
2222
2223         * insetgraphics.C: Add a remark about how filenames should be
2224         considered to be relative to buffer (but absolute is still allowed)
2225         (draw): do not try to get status if lyxrc.use_gui is false
2226
2227 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2228
2229         * inset.[Ch]:
2230         * insetcollapsable.[Ch]:
2231         * insettabular.[Ch] (searchForward, searchBackward): change the
2232         bool const & params to bool.
2233
2234         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
2235         to avoid the name clash with InsetCollapsable's methods of the same
2236         names but different functionality.
2237
2238 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2239
2240         * insettext.C (ascii): use lyx::count rather than countChar.
2241
2242 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
2243
2244         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
2245
2246 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2247
2248         * insetgraphics.C (updateInset): do not try to render image if
2249         lyxrc.use_gui is false (bug #104)
2250
2251         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
2252         if file does not exist
2253
2254         * figinset.C (browseFile): add shortcuts to directory buttons
2255
2256         * insettext.C (updateLocal): update menubar and toolbar here too.
2257
2258 2002-01-13  Allan Rae  <rae@lyx.org>
2259
2260         * insettabular.C (InsetTabular): Both constructors now initialise
2261         all class variables.
2262
2263 2002-01-11  Juergen Vigna  <jug@sad.it>
2264
2265         * insettext.C (insetButtonPress): set the_locking_inset to 0.
2266
2267 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2268
2269         * insettabular.C (getStatus): add forgotten brace around multiline
2270         if statement.
2271
2272 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2273
2274         * insetfloat.C (validate): require "float" instead of "floats".
2275
2276 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
2277
2278         * insettabular.C (getStatus): use FuncStatus
2279
2280 2002-01-08  Juergen Vigna  <jug@sad.it>
2281
2282         * insettabular.C (insetButtonRelease): now this should work too
2283         correctly.
2284
2285         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
2286         if the width is a percentage.
2287
2288         * inset.h: added isChar() function and implemented this for
2289         insetspecialchar insetquotes and insetlatexaccent.
2290         added forceDefaultParagraphs() and implemented it for insettabular.
2291
2292 2002-01-07  Juergen Vigna  <jug@sad.it>
2293
2294         * insettext.C (getLyXText): Fixed this function. An insert into the
2295         map is only done if we REALLY have a new BufferView.
2296
2297 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
2298
2299         * insettext.C: fix bug illustrated by attachment #37 of bug #59
2300
2301 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
2302
2303         * insetinclude.C: fix use of FileInfo
2304
2305 2002-01-07  Juergen Vigna  <jug@sad.it>
2306
2307         * insettabular.C (draw): fixed clearing of cell around inset.
2308
2309 2002-01-05  Juergen Vigna  <jug@sad.it>
2310
2311         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
2312         variables are updated.
2313
2314         * insettabular.C (resetPos): set always the inset_y as it may be
2315         needed in another function.
2316         (searchBackward): don't draw while searching.
2317
2318 2002-01-04  Juergen Vigna  <jug@sad.it>
2319
2320         * insettext.C (lockInsetInInset): forgot to set a cursor.
2321
2322 2002-01-02  Juergen Vigna  <jug@sad.it>
2323
2324         * insettext.C (insertInset): make the correct undo informations on
2325         inserting new insets.
2326
2327 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
2328
2329         * insettabular.C: correct single-cell select vertically
2330
2331 2001-12-27  Juergen Vigna  <jug@sad.it>
2332
2333         * insettabular.C (ascii): export as tab-separated-values if the
2334         function was not called from export (f.ex.: clipboard).
2335
2336         * insetcollapsable.h: added default support for ascii, linuxdoc and
2337         docbook export (the insettext is exported by default!)
2338
2339         * insettabular.C (copySelection): suff the clipboard with the tabular
2340         data in a tab separated format, seems more naturals then with all the
2341         formating.
2342
2343 2001-12-24  Juergen Vigna  <jug@sad.it>
2344
2345         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
2346         to check for REAL mouseMotion.
2347
2348 2001-12-20  Juergen Vigna  <jug@sad.it>
2349
2350         * inset.C (cursor): return the owners cursor if available instead of
2351         always only the bv->text->cursor.
2352
2353         * insettabular.C (checkLongtableSpecial): works now.
2354
2355 2001-12-19  Juergen Vigna  <jug@sad.it>
2356
2357         * insettabular.C (tabularFeatures): fix the row setting of ltt as
2358         this has to be always row + 1 as 0 means not selected!
2359         (checkLongtableSpecial): added
2360         (tabularFeatures): better longtable options support
2361
2362         * insettext.C (resizeLyXText): reinit the text always also on a
2363         empty insettext!
2364
2365 2001-12-18  Juergen Vigna  <jug@sad.it>
2366
2367         * insettext.C (updateInsetInInset): look if we have to autocollapse
2368         paragraps and return if the update is requested for ourself.
2369
2370         * insetert.C (status): update the insettext not myself as that is what
2371         we need.
2372
2373         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
2374         function only return if the update was requested with myself.
2375
2376         * insettext.C (insetButtonPress): fixed stupid bug.
2377         (various functions): pay attention that lt is cleared BEFORE calling
2378         updateLocal() and try to use it in the right manner (don't use it
2379         if it's not really neccessary!)
2380         (collapseParagraphs): insert a blank between collapsing paragraphs
2381         if neccessary (not already there!).
2382
2383 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2384
2385         * insettabular.C: move includes around a bit, add a couple of
2386         consts.
2387
2388         * insettext.[Ch]: move includes around a bit, other ws changes and
2389         small stuff.
2390
2391 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2392
2393         * insettext.C (insetButtonRelease): fix compile problem
2394
2395 2001-12-17  Juergen Vigna  <jug@sad.it>
2396
2397         * insettext.C (insetButtonPress): set the selection cursor!
2398         (insetButtonPress): clear the selection (and set with that the
2399         selection.cursor) if we only hit an inset!
2400
2401         * insetert.C (read): removed piece of compatibility code only needed
2402         for 1.2.0.
2403
2404         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
2405         can be opened.
2406
2407         * insetcollapsable.C (insetButtonRelease): changed so that it can
2408         open eventual existing popup dialogs on mousebutton==3.
2409
2410         * insetfloat.C (insetButtonRelease): removed not needed anymore!
2411
2412         * insetminipage.C (insetButtonRelease): removed not needed anymore!
2413
2414         * inset.C (insetButtonRelease): return a bool for telling the outer
2415         world that we opened a dialog.
2416
2417 2001-12-07  Juergen Vigna  <jug@sad.it>
2418
2419         * insettext.C (paragraph): remove the deleteing of paragraphs as
2420         it was a WRONG move!
2421
2422 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2423
2424         * insettabular.h:
2425         * insettabular.C: use new setSelection(). Allow
2426           selection of single cells.
2427
2428 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2429
2430         * insetquotes.C (latex): fix to use the local language setting at
2431         the point where the inset is inserted (different macros for
2432         different french packages)
2433
2434 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2435
2436         * inset.h: add par_owner_ member variable and parOwner
2437         setter/accessor.
2438
2439 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2440
2441         * insettabular.C (everywhere): adapt because widths are now real
2442         widths and not strings
2443
2444         * insettext.C (draw): re-introduce the calls to width(), ascent()
2445         and descent() to initialize the caching variables.
2446
2447 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2448
2449         * insettext.C (draw):
2450         (drawFrame): use insetWidth instead of last_width
2451
2452         * insettext.h: remove variable last_width (insetWidth is exactly
2453         the same) and last_height (computed but never used!)
2454
2455 2001-12-10  Allan Rae  <rae@lyx.org>
2456
2457         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
2458
2459 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2460
2461         * insettext.C (insetAllowed): add comment
2462
2463 2001-12-05  Juergen Vigna  <jug@sad.it>
2464
2465         * insettext.C (insetAllowed): fixed for the case that we directly
2466         ask the insettext from its LyXText.
2467         (paragraph): fixed the crash when assigning the par->next() from
2468         the EmptyParagraphMechanism!
2469
2470 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2471
2472         * insetbib.C:
2473         * insettabular.C:
2474         * insettext.C: change "while(" to "while ("
2475
2476 2001-12-04  Juergen Vigna  <jug@sad.it>
2477
2478         * insetert.C (edit): handle Inlined status.
2479
2480         * insettext.C (insertInset): trying John's fix for the trailing cursor
2481
2482         * insetert.C (insetButtonPress): added to handle inlined status
2483         (insetMotionNotify): ditto.
2484
2485         * insettext.C (clearInset): changed Painter & in BufferView * param,
2486         to be able to call ascent,descent methods.
2487
2488 2001-12-03  Juergen Vigna  <jug@sad.it>
2489
2490         * insettext.C (updateInsetInInset): use lt variable to forbid
2491         changes of LyXText in an update call.
2492         (updateInsetInInset): fixed updating of non locked insets!
2493
2494 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
2495
2496         * insettabular.C: capture some more functions to prevent
2497         selection drawing problems. Bug #451274
2498
2499 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
2500
2501         * insetgraphics.C:
2502         * insetgraphicsParams.C: fix inverted sense of float_equal
2503
2504 2001-11-30  Juergen Vigna  <jug@sad.it>
2505
2506         * insettabular.C (InsetTabular): use the save_id flag to create also
2507         the tabular with the same id's.
2508
2509         * insettext.C (setParagraphData): added a same_id function for undo
2510         to set the same paragraph id's as of the paragraph we are setting.
2511
2512 2001-11-30  José Matos <jamatos@fep.up.pt>
2513
2514         * inseturl.[Ch]:
2515         * insettoc.[Ch]: DocBook -> docbook.
2516
2517 2001-11-29  André Pönitz <poenitz@gmx.net>
2518
2519         * inseterror.C:
2520         * insettext.C: further reduction of header dependencies by using
2521         lyx::layout_type and lyx::textclass_type from support/types.h
2522
2523 2001-11-29  Juergen Vigna  <jug@sad.it>
2524
2525         * insettext.C: inserted a reinitLyXText function everywhere I delete
2526         the paragraphs! This should fixe the crashes we had.
2527         Also use the new function firstRow() instead of getRowNearY(dummy_y)
2528         (paragraph): set the InsetOwner() of the new paragraphs!
2529
2530 2001-11-28  André Pönitz <poenitz@gmx.net>
2531
2532         * insetnote.C: add pos initialization that I removed without
2533           knowing what I did.
2534
2535 2001-11-28  Juergen Vigna  <jug@sad.it>
2536
2537         * insettabular.C (resetPos): hack to not crash with infinite paints.
2538
2539         * insettabular.h: insert missing function allowSpellcheck()!
2540
2541         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
2542
2543 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
2544
2545         * insetfloatlist.h:
2546         * insetfloatlist.C: derive from InsetCommand so gui can use it
2547           easily
2548
2549 2001-11-26  André Pönitz <poenitz@gmx.net>
2550
2551         * insettext.[Ch]:
2552         * insetert.C:
2553         * insetnote.C: reduce header dependencies, introduce type for
2554         positions
2555
2556 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
2557
2558         * various: update for Alert.h
2559
2560 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
2561
2562         * inset.h: fix comment
2563
2564         * insettext.C: use par->isInset()
2565
2566 2001-11-22  Allan Rae  <rae@lyx.org>
2567
2568         * insetcollapsable.h:
2569         * inset.h: Changes to checkInsertChar() behaviour.
2570         Now return value indicates whether chars can be inserted.
2571
2572 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
2573
2574         * various:  updated to use the new LaTeXFeatures
2575
2576 2001-11-14  José Matos  <jamatos@fep.up.pt>
2577
2578         * insetspecialchar.C (linuxdoc):
2579         (docbook): don't give a name to a unused variable.
2580
2581         * insettext.C (docbook): removed unused variable.
2582
2583 2001-11-13  Herbert Voss  <voss@perce.de>
2584
2585         * insetgraphic.C: fix scale bug
2586
2587 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2588
2589         * inset.h (isSpace):
2590         (isLetter): new virtual methods.
2591
2592         * insetspecialchar.C (isSpace):
2593         (isLetter): implement here.
2594
2595 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
2596
2597         * inset.h: new inline helpers
2598
2599         * insettext.C: use new helpers
2600
2601 2001-11-07  José Matos  <jamatos@fep.up.pt>
2602
2603         * insettext.C (docbook): full support for paragraphs inside insettext.
2604
2605 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
2606
2607         * insetindex.C: added header file for std::ostream.
2608
2609 2001-11-03  José Matos  <jamatos@fep.up.pt>
2610
2611         * insetindex.C: added using std::ostream that I forgot yesterday.
2612
2613 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
2614
2615         * insetindex.h (docbook):
2616         * insetindex.C (docbook): added support for docbook export.
2617
2618 2001-11-02  José Matos  <jamatos@fep.up.pt>
2619
2620         * insetcaption.C(docbook): added support for docbook export.
2621
2622 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
2623
2624         * insetexternal.C (updateExternal): Do not run update command if
2625         result file exists and is up to date.
2626
2627         * ExternalTemplate.C (readFormat): Support the updateresult token.
2628
2629 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
2630
2631         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
2632         external_templates) to use the buffer->fileName() but only if
2633         previewing. Generating a TeX file should make FPath return
2634         "".
2635
2636 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
2637
2638         * insetert.h:
2639         * insetert.C: fix some problems
2640
2641 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
2642
2643         * insetexternal.C (doSubstitution): Added $$FPath token
2644         to list of usable substitutions in external inset templates.
2645
2646 2001-10-24  Juergen Vigna  <jug@sad.it>
2647
2648         * insettabular.C: use new ltType struct for setting longtable
2649         header and footers also new UNSET enums.
2650
2651 2001-10-24  José Matos  <jamatos@fep.up.pt>
2652
2653         * insettabular.C (linuxdoc): Now exports the ascii's table version.
2654         (docbook): If the table is not inside a float then wrap it inside
2655         <informaltable>...</informaltable>.
2656
2657 2001-10-23  José Matos  <jamatos@fep.up.pt>
2658
2659         * insetref.C (docbook): removed / terminator to conform SGML.
2660
2661         * insetspecialchar.C (linuxdoc):
2662         (docbook): Added support for special chars, more than ascii export.
2663
2664 2001-10-22  Juergen Vigna  <jug@sad.it>
2665
2666         * insettext.C (checkInsertChar): added for REALLY checking the
2667         font of the inserted char in the right inset!
2668
2669 2001-10-19  Juergen Vigna  <jug@sad.it>
2670
2671         * inset.h: added method allowSpellcheck() so that insets who do
2672         not have anything to spellcheck can tell and so they are over-jumped.
2673         Implemented for InsetText and co.
2674
2675 2001-10-18  Juergen Vigna  <jug@sad.it>
2676
2677         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
2678
2679 2001-10-15  José Matos  <jamatos@fep.up.pt>
2680
2681         * insetert.C: allow export for docbook and linuxdoc
2682
2683 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
2684
2685         * insetquotes.C (dispString): handles latin3 and latin4 quotes
2686
2687 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2688
2689         * insetquotes.C (dispString): fix handling of latin9 quotes
2690
2691 2001-10-03  Juergen Vigna  <jug@sad.it>
2692
2693         * insetert.C: ditto
2694
2695         * insetcollapsable.C: change updateInset calls to not tell BV that
2696         we have changed status.
2697
2698 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2699
2700         * insettabular.C (deletable): make const
2701
2702 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
2703
2704         * insetert.C (latex): Fix the returned value
2705
2706 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
2707
2708         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
2709         Returns string(), so nothing in an ERT inset is spellchecked.
2710
2711         * insetgraphics.C (draw): print the filename if not displaying the
2712         image.
2713         (width): make sure that the width and draw methods are consistent.
2714         (updateInset): don't even load the image into cache if not displaying
2715         it.
2716
2717 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
2718
2719         * various files (selectNextWord): renamed as
2720         selectNextWordToSpellcheck.
2721
2722         * insetgraphics.C (draw): remove the previous change. Right place
2723         is in imageLoaderXPM.C.
2724         (draw): don't display the image if params.display == NONE.
2725
2726 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
2727
2728         * figinset.C (runqueue):
2729         * insetgraphics.C (draw): set background colour of inset from
2730         background to the user-configurable graphicsbg.
2731
2732 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2733
2734         * insetquotes.C (InsetQuotes): when trying to decide the side of
2735         the quote, choose `left' only after a space or '('
2736
2737 2001-09-04  José Matos  <jamatos@fep.up.pt>
2738         * figinset.C
2739         * figinset.h
2740         * insetcaption.C
2741         * insetcaption.h
2742         * insetcollapsable.h
2743         * insetcommand.C
2744         * insetcommand.h
2745         * inseterror.h
2746         * insetert.C
2747         * insetert.h
2748         * insetexternal.C
2749         * insetexternal.h
2750         * insetfloat.C
2751         * insetfloat.h
2752         * insetfloatlist.h
2753         * insetgraphics.C
2754         * insetgraphics.h
2755         * inset.h
2756         * insetinclude.C
2757         * insetinclude.h
2758         * insetlabel.C
2759         * insetlabel.h
2760         * insetlatexaccent.C
2761         * insetlatexaccent.h
2762         * insetquotes.C
2763         * insetquotes.h
2764         * insetref.C
2765         * insetref.h
2766         * insetspecialchar.C
2767         * insetspecialchar.h
2768         * insettabular.C
2769         * insettabular.h
2770         * insettext.C
2771         * insettext.C (docbook): rename docBook method to docbook.
2772
2773 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
2774
2775         * inset.h (getFirstParagraph): New virtual method.
2776
2777 2001-08-20  Herbert Voss  <voss@perce.de>
2778         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
2779         in the the bibtex-database-gui for inserting a line
2780         \addcontentsline...
2781
2782         If no style is given than there is no tex-output.
2783
2784 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
2785
2786         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
2787         files as a vector.
2788         (getKeys): use it.
2789
2790 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
2791
2792         * insetert.C (latex): Fix output for multiple paragraphs.
2793         (write): New code for writing paragraph data.
2794         (read): Set font after reading the inset.
2795         (localDispatch): Call set_latex_font() for more cases.
2796
2797         * insetnote.h: Add empty validate method.
2798         * insetert.h: Ditto
2799
2800         * insetnote.C (InsetNote): Set language to the language of the
2801         document.
2802
2803 2001-08-16  Juergen Vigna  <jug@sad.it>
2804
2805         * insettext.C: implemented the new FINISHED states.
2806
2807         * insettabular.C: ditto
2808
2809         * inset.h: added more FINISHED states for cursor right,up,down
2810
2811 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
2812
2813         * insetfloatlist.C: use "FloatName List"
2814
2815 2001-08-14  Juergen Vigna  <jug@sad.it>
2816
2817         * insetert.C (edit): forgot to set status_ in edit calls!
2818
2819 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
2820
2821         * insettext.C: Compilation fix
2822
2823 2001-08-13  Juergen Vigna  <jug@sad.it>
2824
2825         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
2826
2827         * insetcollapsable.C (edit): don't recollapse an already open inset.
2828
2829         * insettext.C: fixed problem when reinitializing LyXText by not doing
2830         it while lt is in use and post this to the next possible time in
2831         getLyXText().
2832         (searchForward): fixed not unlocking of inset if nothing found.
2833         (edit): set cursor behind right (was set -1 pos).
2834
2835         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
2836
2837         * insettabular.C (tabularFeatures): fixed fix where deleting the
2838         last row didn't get the right actcell!
2839
2840 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
2841
2842         * insettext.C (localDispatch): Change language only when the inset
2843         becomes empty.
2844
2845 2001-08-10  Juergen Vigna  <jug@sad.it>
2846
2847         * insettabular.C (selectNextWordInt): use the front using edit call.
2848
2849         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
2850         the parameter overwrite class variable inset.
2851
2852         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
2853
2854         * insettext.C (saveLyXTextState): check for invalid cursor-par.
2855         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
2856
2857         * insettabular.C (calculate_dimensions_of_cells): let's try to call
2858         update only for fixed with cells.
2859         (resetPos): try to fix the lockup on spellchecking or s&r.
2860
2861         * insettext.C (update): comment this out as it seems first wrong
2862         and second not needed anymore!
2863         (some functions): call reinitLyXText() only in update() in all other
2864         positions set only need_update = INIT.
2865
2866 2001-08-08  Juergen Vigna  <jug@sad.it>
2867
2868         * insettabular.C (setPos): fixed wrong actrow < rows() check.
2869
2870         * insettext.C (insetUnlock): remove double-space on inset unlock.
2871
2872         * insetcollapsable.C (draw): fix returned x when label > inset-width.
2873
2874         * insettabular.C (update): fixed cursor positon after an insert.
2875         (insetAllowed): do not allow to insert insets when not inside the
2876         inset!
2877         (draw): clear below an inset too as it could have changed height.
2878
2879         * inset.C (getMaxWidth): fixed width for inset in inset.
2880
2881         * insettext.C (update): small fix.
2882
2883         * insettabular.C (tabularFeatures): added selection support to
2884         DELETE_ROW/DELETE_COLUMN.
2885
2886 2001-08-07  Juergen Vigna  <jug@sad.it>
2887
2888         * inset.C (getMaxWidth): recoded and all it's implementations!
2889
2890         * insettext.C (init,setParagraph+constructors): cleanups
2891         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
2892         are new and I want do a save/restore of the cursor position which is
2893         not possible anymore.
2894
2895         * insetcollapsable.C (searchBackward): recollapse inset if not found.
2896         (searchBackward): ditto
2897         (selectNextWord): ditto
2898
2899 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
2900
2901         * insetlatexaccent.C (checkContents): Add some debug messages
2902
2903 2001-08-07  Juergen Vigna  <jug@sad.it>
2904
2905         * insetert.C (read): don't use InsetCollapsable::read as we don't
2906         write the collapsed status anymore only the status.
2907         (write): ditto.
2908
2909 2001-08-06  Juergen Vigna  <jug@sad.it>
2910
2911         * insetert.C (set_latex_font): use LyXText's setFont directly.
2912
2913         * insettext.C (drawFrame): fixed one time more the right position
2914         and size of the frame!
2915
2916         * insetert.C (~InsetERT): hide the dialog.
2917         (showInsetDialog): added implementation
2918         (open): ditto
2919         (close): ditto
2920         (status): new function for the status of the ERT inset (3-state).
2921         (write): output also the status of the inset for readback!
2922         (read): readback the status if available otherwise use collapsed_.
2923
2924         * insettext.C (edit): small fix of setting the position, which could
2925         have gone < 0.
2926
2927         * insetert.C (width): implement this function for inlined viewing.
2928         Added minimum width of 10 pixels!
2929
2930         * insetminipage.C (InsetMinipage): just change the colors a bit so
2931         that border/background is a bit more visible. We will remove this
2932         anyway for 1.2.0!
2933
2934         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
2935         function for getting the important widths for drawing in various
2936         functions and in LyXText.
2937         (draw): fixed up a bit (frame drawing/clearing)
2938
2939 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2940
2941         * inset.C (convertFont): delete method. not used.
2942
2943 2001-08-03  Juergen Vigna  <jug@sad.it>
2944
2945         * insettext.C (setFont): don't call for a draw update if we're just
2946         changing the cursor font!
2947
2948 2001-08-02  Juergen Vigna  <jug@sad.it>
2949
2950         * insettext.C (draw): clear the background with the right color if
2951         needed. Update myself if x&max-width changed and return without doing
2952         anything. Let the update code handle the right stuff.
2953
2954         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
2955         inside another inset.
2956
2957 2001-08-01  Juergen Vigna  <jug@sad.it>
2958
2959         * insetcollapsable.C (update): added an in_update bool so we avoid
2960         reentering.
2961
2962         * insettabular.C (update): added an in_update bool so we avoid
2963         reentering.
2964
2965         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
2966         selection problem.
2967         (update): added an in_update bool so we avoid reentering.
2968
2969         * insettabular.C (localDispatch): clear col/row selection when doing
2970         something else inside an inset.
2971
2972         * insettext.C (getLyXText): fixed bug when requesting a recursive
2973         insettext!
2974
2975 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
2976
2977         * insetcite.C (latex): Paranoia check. Make sure that there is no
2978         whitespace between the citation keys.
2979
2980 2001-07-31  Juergen Vigna  <jug@sad.it>
2981
2982         * inset.h (nodraw): make the set function also const so that this
2983         can be called from inside other const functions.
2984
2985         * insetcollapsable.h: removed inline variable and moved it over
2986         to the only user InsetERT.
2987
2988         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
2989         inset opening immediately therein lying insets dialogs!
2990
2991         * insetert.C (localDispatch): set the font also if we don't have any
2992         chars in this paragraph, otherwise if we delete all of em and start
2993         writing we have the wrong font.
2994         (inlined): added
2995         (draw): implemented for inline support
2996         (insetButtonRelease): ditto.
2997
2998 2001-07-30  Juergen Vigna  <jug@sad.it>
2999
3000         * insettext.C (reinitLyXText): new function to reinit the insets
3001         text after lot's of paragraph changes. Use this instead of the
3002         cache.clear() which is VERY dangerous.
3003
3004         * insetfloat.C (insetButtonRelease): we should only show the dialog
3005         if we press on the label otherwise we have problems to open mouse
3006         button 3 dialogs inside this float (f.ex. of a tabular!)
3007
3008 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3009
3010         * insetert.C: change back to "ERT"
3011
3012         * insetfloat.C: handliign of RMB on label added.
3013
3014 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3015
3016         * insetgraphicsParams.C: #include LOstream.h here.
3017
3018         * insetfoot.h: remove InsetFoot:: qualifier.
3019
3020 2001-07-29  Baruch Even  <baruch@lyx.org>
3021
3022         * ChangeLog: Hiding time travel evidence.
3023
3024         * insetgraphicsParams.h:
3025         * insetgraphicsParams.C:
3026         * insetgraphics.C: Added horizontal scale option, it actually scales both
3027         directions since it keeps image proportions.
3028
3029         * insetgraphics.C: Fixed EPS detection to be non-hacky.
3030
3031 2001-07-29  Baruch Even  <baruch@lyx.org>
3032
3033         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3034         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3035
3036         HACKY! Will need to add an EPS detection routine like old InsetFig does!
3037
3038 2001-07-29  Baruch Even  <baruch@lyx.org>
3039
3040         * insetgraphics.C: Added EPSI to be an alias of EPS.
3041
3042 2001-07-29  Baruch Even  <baruch@lyx.org>
3043
3044         * insetgraphics.C: Change GRAPHICS to Graphics.
3045         Changed image conversion rules (documented at the beginning of file).
3046
3047 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
3048
3049         * insetert.C (get_new_label): int -> Paragraph::size_type to get
3050         std::min working.
3051
3052         * insetgraphics.C: added a using std::endl directive.
3053
3054         * insetcommand.h (getScreenLabel): removed pure virtual function,
3055         as it duplicates that in InsetButton.
3056
3057         * insetbib.[Ch] (getScreenLabel):
3058         * insetbutton.[Ch] (getScreenLabel):
3059         * insetcite.[Ch] (getScreenLabel):
3060         * insetert.[Ch] (getScreenLabel):
3061         * insetexternal.[Ch] (getScreenLabel):
3062         * insetfloatlist.[Ch] (getScreenLabel):
3063         * insetinclude.[Ch] (getScreenLabel):
3064         * insetindex.[Ch] (getScreenLabel):
3065         * insetlabel.h (getScreenLabel):
3066         * insetparent.[Ch] (getScreenLabel):
3067         * insetref.[Ch] (getScreenLabel):
3068         * insettoc.[Ch] (getScreenLabel):
3069         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3070
3071         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3072         the label.
3073         (validate): remove check on "cite" when using natbib.
3074
3075 2001-07-26  Baruch Even  <baruch@lyx.org>
3076
3077         * insetgraphics.C (draw): changed casting to be in one place rather than
3078         all over the function.
3079
3080         * insetgraphics.h:
3081         * insetgraphics.C (read): Added compatibility reads of InsetFig.
3082
3083         * insetgraphicsParams.h:
3084         * insetgraphicsParams.C:
3085         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3086
3087 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
3088
3089         * insetfoot.C (validate): Added method to ensure that the
3090         right bit of LaTeX is emitted.
3091
3092         * insetfoot.h: Added validate method to set the correct
3093         LaTeXFeatures bit for the special footnote code.
3094
3095 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3096
3097         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
3098         quotes
3099
3100 2001-07-27  Juergen Vigna  <jug@sad.it>
3101
3102         * inset.h: remove not used font variable in parameter.
3103         removed checkInsertChar in UpdatableInset as it was equal to
3104         the one in Inset and so not needed.
3105
3106         * insetert.C (checkInsertChar): implementation of function
3107         checkInsertChar.
3108
3109         * inset.h: added new function checkInsertChar.
3110
3111         * various files: added c-tor and clone() function.
3112
3113         * insetcollapsable.h: removed clone function here as this should
3114         be only realized in REAL insets and added it to all collapsable
3115         insets! (with the copy-constructor).
3116
3117 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3118
3119         * insetminipage.C (read): handle missing parameters more gracefully
3120
3121         * insetcollapsable.C (read): handel missing collapsed more gracefully
3122
3123 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3124
3125         * insetfloat.C (read): handle missing parameters.
3126
3127         * insettext.C (read): handle old latex end_inset
3128
3129         * insetert.C (setButtonLabel): new method
3130         (init): use it, to set the dynamic label correctly
3131         (read): use it
3132
3133         * Makefile.am (EXTRA_DIST): add files that is not part or the
3134         binary here.
3135
3136         * insetcollapsable.h: remove autocollapsable (no users), remove
3137         draw_label, change_label_with_text and companion code. Remove args
3138         from some methods.
3139         * insetert.[Ch]: move here instead (only user)
3140
3141         * inset.h: rename private variable name to name_, make
3142         selectNextWord return a const string. make getInsetName return a
3143         string const &. Remove bool from open, add close.
3144
3145         * Makefile.am: don't compile insetlist, insetsection
3146         and insettheorem
3147
3148 2001-07-24  Juergen Vigna  <jug@sad.it>
3149
3150         * insetert.C (InsetERT): put init after the paragraph initialization,
3151         as otherwise we don't set the draw_label right.
3152
3153         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
3154         insets with the mouse without having strange selections.
3155         (edit): if the inset was collapsed and we open it here then put the
3156         cursor always at the beginning of the inset.
3157         (get_new_label): 15 instead of 10 max chars in the label.
3158
3159         * insetert.C (localDispatch): added and handle various stuff we
3160         need to handle here (font setting on paragraph break, not permitted
3161         layout setting, etc.).
3162
3163         * inset.h: added default copy-consturctor and implemented this in
3164         various insets with the change to use this in the clone function!
3165
3166 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3167
3168         * insetminipage.C (InsetMinipage): set background color to red :)
3169
3170 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3171
3172         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
3173         draw frame mode is LOCKED.
3174
3175         * insetcollapsable.C (edit):
3176         (insetButtonRelease): set update status to full when
3177         opening inset.
3178
3179         * insettext.C (clearInset):
3180         * insettabular.C (draw):
3181         * insetlatexaccent.C (draw): honor background color.
3182
3183         * inset.h: new member background_color_, initialized to
3184         LColor::inherit.
3185
3186         * inset.C (backgroundColor): new method.
3187         (setBackgroundColor): new method.
3188
3189         * insetert.C (init): new method, called by the ctors.
3190         (InsetERT): when inserting contents, make sure the font is
3191         ALL_INHERIT.
3192
3193         * insetnote.C (InsetNote): when inserting content, remove trailing
3194         newline
3195         (init): set background color to LColor::note
3196
3197 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3198
3199         * insetcollapsable.C: adjust
3200
3201         * insetbutton.C: adjust
3202
3203 2001-07-23  Juergen Vigna  <jug@sad.it>
3204
3205         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
3206         parameter on the _collapsed function (was not needed) and call
3207         always width_collapsed().
3208
3209         * insetert.C (InsetERT): use setLabel with "true" flag.
3210
3211         * insetcollapsable.C: modified various functions to set the draw_label
3212         string right in any condition.
3213         (setLabel): added a bool parameter to set change_label_with_text.
3214
3215         * insetcollapsable.h: added draw_label string which is set to the
3216         actual drawn label-string, while label is the original static label
3217         of this collapsable inset. Added bool change_label_with_text to set
3218         if we want that the label changes to the start of the InsetText's
3219         text when collabpsed. You can set this flag with the setLabel funciton.
3220         Added bool inlined for inlined collapsable insets, but not handled
3221         yet.
3222
3223         * insetcollapsable.C (get_new_label): added should get a new label
3224         from the InsetText beginning (for now 10 chars).
3225
3226 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3227
3228         * insetquotes.C (latex): fix the handling of french double quotes
3229         when not using the french pachage.
3230
3231 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3232
3233         * insetcollapsable.h: make WidthCollapsed mutable.
3234
3235         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
3236         InsetPrintIndex returns INDEX_PRINT_CODE.
3237
3238         * inset.h: add INDEX_PRINT_CODE
3239
3240         * insetcollapsable.C (draw): init widthCollapsed if necessary
3241         (width): ditto.
3242
3243         * insetquotes.C (width): use the local language, not the document
3244         language.
3245         (draw): ditto.
3246         (dispString): add additional spacing for all french languages,
3247         like fr_CA.
3248         (validate): make it work when there is no default language
3249
3250         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
3251
3252         * insetnote.C (init): new method, called by the constructors
3253         (InsetNote): new constructor with contents passed as a string
3254
3255 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3256
3257         * insetfootlike.C (insetAllowed): disallow float in footlike.
3258
3259         * insetert.C (InsetERT): add collapsed argument to the constrctor
3260         with contents.
3261
3262 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3263
3264         * insetindex.h: shut off warning
3265
3266 2001-07-20  Juergen Vigna  <jug@sad.it>
3267
3268         * insetcollapsable.C (update): recoded hopefully works now!
3269
3270 2001-07-19  Juergen Vigna  <jug@sad.it>
3271
3272         * most files: implemented the below new introduced function.
3273
3274         * inset.h: added new edit(BufferView *, bool front) method to be able
3275         to enter an inset from the front/back without knowing x/y positions
3276         and baselines inside the inset. So I just can tell the inset activate
3277         me and set the cursor on the front/back of yourself.
3278
3279 2001-07-18  Juergen Vigna  <jug@sad.it>
3280
3281         * insetcollapsable.C (edit): fixed hopefully the y parameter which
3282         is given to the InsetText.
3283         (insetButtonPress): ditto
3284         (insetButtonRelease): ditto
3285         (insetMotionNotify): ditto
3286
3287 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3288
3289         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
3290         LIGATURE_BREAK, since the name is so stupid.
3291
3292 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
3293
3294         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
3295         the default InsetCollapsable methods. I.e., it can insert anything.
3296         (write) output the name of the inset, not some silly hack for
3297         compatability with the old InsetInfo.
3298
3299         * insetinfo.[Ch]: removed.
3300         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
3301         now collapsable, but functionality is otherwise identical to InsetInfo.
3302
3303         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
3304
3305 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3306
3307         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
3308         reformatting
3309
3310         * insetquotes.C: general cleanup
3311         (dispString): add spaces inside french double quotes.
3312         (latex): ditto. Moreover, treat first the case where the frenchb
3313         or french options have been given.
3314
3315 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
3316
3317         * insetcite.[Ch] (latex, validate): new methods, required for natbib
3318         support.
3319
3320 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
3321
3322         * figinset.C (RegisterFigure): Print debug message only when
3323         current_view is available.
3324
3325 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3326
3327         * many files: update to match the change below
3328
3329         * inset.h (insetAllowed): renamed from insertInsetAllowed;
3330         implement the version which takes an inset here.
3331
3332         * insetcollapsable.[Ch]: implement open and isOpen
3333
3334         * inset.h: remove insertInsetAllowed from Inset
3335         (open): new method, to open or close an inset
3336         (isOpen): returns the status of an inset
3337         (isCollapsable, colapse): removed
3338
3339 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
3340
3341         * insetquotes.C (dispString): display french guillemets when using
3342         ISO8859-15.
3343
3344 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3345
3346         * insetcollapsable.h: remove bogus return statements
3347
3348 2001-07-18  Juergen Vigna  <jug@sad.it>
3349
3350         * insettabular.C (selectNextWord): fixed spellchecking for the
3351         first cell of a tabular (wasn't entered!)
3352         (getLyXText): changed to enter automatically insettext and return
3353         it's LyXText if we're locked.
3354
3355 2001-07-17  Juergen Vigna  <jug@sad.it>
3356
3357         * various files: implemented the below functions.
3358
3359         * inset.h: added functions
3360         - virtual string selectNextWord(BufferView *, float & value) const;
3361         - virtual void selectSelectedWord(BufferView *) { return; }
3362         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
3363         needed for spellchecking correctly!
3364
3365 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3366
3367         * insetert.C (latex): write out all paragraphs.
3368
3369 2001-07-17  Baruch Even  <baruch@lyx.org>
3370
3371         * insetgraphics.C (draw): Removed unneeded casts.
3372
3373 2001-07-16  Juergen Vigna  <jug@sad.it>
3374
3375         * insettext.C (update): fixed small oversight (reset lt to 0).
3376
3377 2001-07-14  Baruch Even  <baruch@lyx.org>
3378
3379         * insetgraphics.h:
3380         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
3381
3382 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
3383
3384         Consistent use of Lsstream.h:
3385         * figinset.C: removed using std::ostringstream directive.
3386
3387         * insetgraphics.C (createLatexOptions):
3388         * insetinclude.C (unique_id):
3389         std::ostringstream -> ostringstream.
3390         * insettext.C (localDispatch): std::istringstream -> istringstream.
3391
3392 2001-07-13  Juergen Vigna  <jug@sad.it>
3393
3394         * insetfloat.C (insertInsetAllowed): added missing const_cast.
3395
3396         * insetcollapsable.C (getLockingInset): ditto.
3397
3398 2001-07-12  Juergen Vigna  <jug@sad.it>
3399
3400         * insetcollapsable.h: added implementation of new function for
3401         collapsable status.
3402
3403         * various files: added implementation of new insertInsetAllowed-func
3404         and redone the function a bit more.
3405
3406         * inset.h: added isCollapsable(), bool collapsed(),
3407         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
3408
3409         * insetfloat.C (insertInsetAllowed): make a bit more checks.
3410
3411         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
3412         LyXText which is marked for removal while we're using it!
3413
3414         * insettext.h: added private LyXText * lt to use it to assure we are
3415         not deleting our LyXText while we're using it!
3416
3417 2001-07-11  Juergen Vigna  <jug@sad.it>
3418
3419         * insettext.C (insertInset): check if we are before the inset after
3420         inserting it! This check IS needed. Remove the Undo-Call as it is
3421         called in LyXText::insertInset!
3422
3423         * insettext.h: added struct InnerCache.
3424
3425         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
3426         that we ONLY delete the LyXText in the getLyXText() routine. So we
3427         are sure we don't delete LyXText while someone is working with it!
3428
3429 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3430
3431         * insetexternal.C: (*it). -> it->
3432         * insettext.C: ditto
3433
3434 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3435
3436         * insetcollapsable.C (edit): always open collapsed insets (even if
3437         they are not autocollapsable)
3438
3439         * insetcommand.C (operator=): simplify.
3440
3441 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3442
3443         * insetert.C (latex): handle META_NEWLINE
3444
3445 2001-07-09  Juergen Vigna  <jug@sad.it>
3446
3447         * insetert.h: a normal InsetText can insert insets, but we won't.
3448
3449         * inset.h: return default "false" on insertInsetAllowed and implement
3450         this function where a returnvalue != "false" is needed.
3451
3452 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3453
3454         * insetert.C (InsetERT): new contructor
3455
3456 2001-07-06  Juergen Vigna  <jug@sad.it>
3457
3458         * a lot of files: added implementation of the below new functions
3459         and the change to clone(). Also the call of the new undo-functions
3460         where needed.
3461
3462         * inset.h: added an inset_id, added functions getParFromID,
3463         getInsetFromID, firstParagraph, cursor and id functions, added
3464         bool same_ids to clone function.
3465
3466 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3467
3468         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
3469         of BufferView * and shared_ptr<LyXText>
3470
3471 2001-07-05  Juergen Vigna  <jug@sad.it>
3472
3473         * insettext.C (clear): deleted also the cache not only LyXText.
3474         (setParagraphData): ditto.
3475
3476 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3477
3478         * insetfloat.C (latex): let the specific placement take presedence
3479         if set, otherwise choose document placement if set, otherwise just
3480         use float default placement.
3481
3482 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3483
3484         * insettext.C (localDispatch): call CutAndPaste::'s static method
3485         directly.
3486
3487 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3488
3489         * insetbib.C: no meed to include forms.h here.
3490
3491 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
3492
3493         * insettext.C: added using std::make_pair directive.
3494
3495 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3496
3497         * insettext.C (getLyXText): avoid multiple lookups, and simplify
3498         slightly
3499         (deleteLyXText): ditto
3500         (resizeLyXText): ditto
3501
3502 2001-07-02  Juergen Vigna  <jug@sad.it>
3503
3504         * insettext.C (getLyXText): introduce a cache in getLyXText so that
3505         following calls are only returned the right pointer without the over
3506         head to search in the map.
3507         (various funcs): reset the cached_bview variable as this signs that
3508         the cache is not valid anymore.
3509
3510 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3511
3512         * insettabular.C (clone): do not copy the LyXTabular twice
3513
3514 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3515
3516         * insettext.h (TEXT): delete method
3517
3518 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3519
3520         * insetmarginal.C (latex):
3521         * insetfoot.C (latex): fix spacing of notes in LaTeX
3522
3523         * insettext.C (localDispatch): use .c_str() on istringstream
3524         constructor argument.
3525
3526 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
3527
3528         * insettoc.h:
3529         * insettoc.C:
3530         * inseturl.h:
3531         * inseturl.C: fix method names in these to begin
3532           with small char too, so they inherit
3533
3534 2001-06-28  Juergen Vigna  <jug@sad.it>
3535
3536         * insettext.C (setFont): fixed font settings using toggleFree()
3537         instead of setFont().
3538
3539 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3540
3541         * Change a lot of method names to begin with a small char.
3542         Changes to a lot of files because of this.
3543
3544 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3545
3546         * insetfloatlist.C (Write): std:: qualify ostream
3547         (Latex): ditto
3548
3549 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
3550
3551         * figinset.C:
3552         * inset.C:
3553         * insetgraphics.C: send debug output to Debug::INFO instead of
3554         Debug::ANY.
3555
3556 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
3557
3558         * insettabular.h:
3559         * insettabular.C (getStatus): update to use func_status
3560
3561 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
3562
3563         * insetref.C (DocBook): added support for cross-references without
3564         a name.
3565
3566 2001-06-26  The LyX Project  <jug@sad.it>
3567
3568         * insetref.C:
3569         * insetref.h:
3570         * insetlabel.C:
3571         * insetlabel.h: removed escape method and moved it to
3572         support/lstrings.h.
3573
3574 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3575
3576         * insettabular.C (getMaxWidth): do the speedup in a different way,
3577         remove dead code
3578
3579 2001-06-24  The LyX Project  <Asger>
3580
3581         * insettabular.C (getMaxWidth): We cache a mapping from
3582         inset to cell in order to speed this method up.
3583
3584 2001-06-24  The LyX Project  <Asger>
3585
3586         * insettext.C: Optimized InsetText::draw or something.
3587
3588 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
3589
3590         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
3591
3592 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3593
3594         * inset.h: name change from lyxinset.h
3595
3596 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
3597
3598         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
3599
3600 2001-06-14  Juergen Vigna  <jug@sad.it>
3601
3602         * insettext.C (draw): removed warnings.
3603
3604 2001-06-13  Juergen Vigna  <jug@sad.it>
3605
3606         * insettabular.C (nodraw): only go down the tree if we don't have
3607         that flag set otherwise it's obvious that we don't want to draw.
3608         (LocalDispatch): do also an update if we have an undispached result.
3609
3610 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
3611
3612         * insetcite.C:
3613         * insetgraphicsParams.C:
3614         * insettext.C: removed // -*- C++ -*- as first line.
3615
3616 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3617
3618         * lyxinset.h (resizeLyXText): shut off warning about unused
3619         parameter "force"
3620
3621 2001-06-07  Juergen Vigna  <jug@sad.it>
3622
3623         * insettext.C (resizeLyXText): honor the new force flag.
3624
3625         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
3626
3627         * insettabular.C (deleteLyXText): new function
3628
3629 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
3630
3631         * insettheorem.C:
3632         * insetminipage.C:
3633         * insetlist.C:
3634         * insetfootlike.C:
3635         * insetfloat.C:
3636         * insetert.C:
3637         * insetcollapsable.C:
3638         * insetcaption.C: LColor tidy
3639
3640 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3641
3642         * figinset.C: fix typo
3643
3644 2001-06-01  Juergen Vigna  <jug@sad.it>
3645
3646         * insettabular.C (resetPos): small hack so that scroll is not set to
3647         0 when we are in the last column of a tabular. This is a problem we
3648         have because of constats 20 offset on both directions, so this can
3649         cause on the limit an endless loop.
3650
3651         * insettext.C (SetFont): forgot that we can have locking insets ;)
3652
3653 2001-05-31  Juergen Vigna  <jug@sad.it>
3654
3655         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
3656
3657 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3658
3659         * figinset.C: add using std:: directive for the C functions which
3660         need that.
3661
3662 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3663
3664         * insetfloat.C (Write): write out wide info
3665         (Read): read the wide info
3666         (Latex): use the wide info when creating latex.
3667
3668         * insettext.C: adjust
3669
3670         * insetgraphics.[Ch] (statusMessage): change to return string
3671         (width): adjust
3672         (draw): adjust
3673
3674         * figinset.C (runqueue): add std::
3675         (Recompute): ditto
3676
3677 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3678
3679         * insetcite.C (Ascii): add std:: qualifier
3680
3681 2001-05-28  Juergen Vigna  <jug@sad.it>
3682
3683         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
3684         a endless-width inset (maxWidth < 0).
3685         (Edit): change language only if not equal.
3686
3687         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
3688
3689         * insettext.C (draw): fixed draw/clear of InsetText-Frame
3690
3691 2001-05-16  Juergen Vigna  <jug@sad.it>
3692
3693         * insettext.C (selectAll): added
3694         (clearSelection): added
3695
3696         * insettabular.C (SetFont): now we may set a font on a whole selection!
3697         (getSelection): added helper function.
3698
3699 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
3700
3701         * insetcite.C (Ascii): Add method.
3702
3703 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
3704
3705         * figinset.C:
3706         * insetbib.C: fix path for OS/2 & Win32
3707
3708 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3709
3710         * insetfoot.C (Latex): don't use % after footnote.
3711
3712 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3713
3714         * insettext.C (Read): use clear
3715         (SetParagraphData): use LyXParagraph copy constructor instead of clone
3716
3717 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3718
3719         * insetfloatlist.h: add a bunch of std:: qualifiers.
3720
3721 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3722
3723         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
3724         FLOAT_LIST_CODE, renumber code list.
3725
3726         * insettoc.C (getScreenLabel): remove support for float lists
3727         (LyxCode): ditto
3728         (Ascii): ditto
3729
3730         * insetfloatlist.[Ch]: new files
3731
3732         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
3733
3734 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
3735
3736         * insettabular.C (LocalDispatch):
3737         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
3738         method
3739
3740 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3741
3742         * insettext.C: remvoe !NEW_INSETS cruft
3743
3744         * insettabular.C: remove !NEW_INSETS cruft
3745
3746         * insetcollapsable.h: remove !NEW_INSETS cruft
3747
3748         * insetbib.C: remove !NEW_INSETS cruft
3749
3750 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3751
3752         * insettoc.C: hack to make listof algorithm work
3753
3754 2001-04-20  Juergen Vigna  <jug@sad.it>
3755
3756         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
3757
3758 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3759
3760         * insetquotes.C (Latex): improve the guard against
3761         unwanted !` and ?` ligatures. This should really be done in
3762         another place (to catch all this ligatures at low-level).
3763
3764 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3765
3766         * insettext.C (init): remvoe leftovers from cursor_visible change
3767         (draw): use c++ cast
3768         (LocalDispatch): dispatch LFUN_MESSAGE
3769
3770         * insettabular.C (InsetTabular): remove leftovers from
3771         cursor_visible, and scoped_ptr changes
3772         (draw): use c++ cast
3773
3774         * insetcollapsable.C (draw): use c++ cast
3775
3776         * ExternalTemplate.h: inherit privaely from noncopyable
3777         * insetcommand.h: ditto
3778         * insetinclude.h: ditto
3779
3780 2001-04-16  Allan Rae  <rae@lyx.org>
3781
3782         * insettoc.C (Ascii):
3783         * insettext.C (draw):
3784         * insettabular.C (setPos):
3785         * insetminipage.C (Read):
3786         * insetfloat.C (placement):
3787         * insetcaption.C (Ascii, DocBook):
3788         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
3789         an unrecognised preprocessor directive.  So ensure they're wrapped.
3790
3791 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
3792
3793         * insetexternal.h:
3794         * insetexternal.C: set view on Clone. Add _ to private members.
3795
3796 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3797
3798         * insettext.C (InsetText): fix new
3799         (InsetText): reindent some, simplify deletion of par list
3800         (clear): simplify deletion of par list, fix new
3801         (SetParagraphData): simplify deletion of par list
3802
3803         * insettabular.[Ch] (getLabelList): implement new method
3804
3805 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3806
3807         * lyxinset.h: do not include gettext.h...
3808
3809         * inset.C:
3810         * insetcaption.C:
3811         * insetexternal.C:
3812         * insetgraphics.C:
3813         * insetindex.C:
3814         * insetlabel.C:
3815         * insetlatexaccent.C:
3816         * insetminipage.C:
3817         * insetquotes.C:
3818         * insettabular.C:
3819         * inseturl.C: ... and do it here instead
3820
3821 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3822
3823         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
3824
3825         * insettext.[Ch] (getLabelList): add std:: on vector<string>
3826
3827         * insetcollapsable.[Ch] (getLabelList): implement
3828
3829         * insettext.[Ch] (getLabelList): implement
3830
3831         * insettext.h: reindent
3832
3833         * insettabular.h: make tabular a scoped_ptr
3834
3835         * insettext.C (init): adjust for cursor_visible
3836         (ToggleInsetCursor): constify asc and desc, font, adjust for
3837         cursor_visible
3838         (ShowInsetCursor): constify asc and desc, font, adjust for
3839         cursor_visible
3840         (HideInsetCursor): adjust for cursor_visible
3841
3842         * insettabular.C: reindent some
3843         (InsetTabular): adjust for scoped_ptr and cursor_visible
3844         (InsetTabular): ditto
3845         (~InsetTabular): delete delete
3846         (Clone): adjust for scoped_ptr
3847         (Read): constify old_format, adjust for scoped_ptr, move init of
3848         token
3849         (draw): constify tx, localize loop vars.
3850         some other localization of variables, remove double initilizatons.
3851
3852         * insetfoot.C: remove using std::ostream, add ostream where needed
3853
3854 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3855
3856         * lyxinset.h: some reindentaion, use initializer list for
3857         constructro.
3858         UpdatableInset: make cursor_visible a private var add
3859         public isCursorVisible(), add protected toggleCursorVisible() and
3860         proctected setCursorVisible(bool), make scroll call the Inset::scroll
3861
3862         * insettoc.C: remvoe using decl
3863         (getScreenLabel): make cmdname donst
3864         (LyxCode): ditto
3865         (Ascii): ditto
3866         (Ascii): don't use endl
3867
3868         * insetfootlike.C: remove using decl at file scope and add std::
3869         where needed
3870         * insetmarginal.C: ditto
3871
3872         * insetfoot.C: some reformatting
3873
3874         * insetfloat.C (InsetButtonRelease): adjust the hit area
3875
3876         * insetert.C (SetFont): some reformatting
3877
3878         * insetcollapsable.C: some reformatting and constification
3879         (Clone): comment out.
3880         * insetcollapsable.h: some reformatting
3881         (Clone): comment out.
3882
3883         * inset.C: reindent
3884         (scroll): simplify
3885
3886 2001-03-30  Juergen Vigna  <jug@sad.it>
3887
3888         * insetcollapsable.h: changen *inset to be a InsetText inset.
3889
3890         * some files: changed to reflect the above change.
3891
3892 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
3893
3894         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
3895         InsetExternal::Params.
3896         Added operator==() and operator!=() for the Params struct.
3897
3898 2001-03-29  Juergen Vigna  <jug@sad.it>
3899
3900         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
3901         BufferView *.
3902
3903         * insetminipage.C: removed widthp_ and all it's functions and changed
3904         to use new %-lengths of LyXLength.
3905
3906 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
3907
3908         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
3909
3910 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
3911
3912         * insetgraphicsParams.C (operator!=): new function, needed by the
3913         ControlGraphics class.
3914
3915 2001-03-28  Juergen Vigna  <jug@sad.it>
3916
3917         * insettext.C (InsetButtonPress): only enter !inset if button == 2
3918         (checkAndActivateInset): don't use the values returned from
3919         call to bv->checkInsetHit.
3920
3921         * insetminipage.C (Clone): set special minipage values.
3922
3923         * insetcollapsable.C (draw): changed to draw the button in the
3924         upper left corner outside the textinset.
3925         (ascent): changed because of different drawing
3926         (descent): ditto
3927         (width): ditto
3928         (Edit): ditto
3929         (InsetButtonPress): ditto
3930         (InsetButtonRelease): ditto
3931         (InsetMotionNotify): ditto
3932
3933 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
3934
3935         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
3936         contain a suffix.
3937         (Clone): ditto
3938
3939 2001-03-26  Juergen Vigna  <jug@sad.it>
3940
3941         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
3942
3943         * insettext.C (ShowInsetDialog): implemented above function.
3944
3945         * insettabular.C (ShowInsetDialog): ditto
3946
3947         * insetminipage.C (ShowInsetDialog): ditto
3948
3949 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
3950
3951         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
3952         InsetInclude::Params. Don't store a buffer * in Params. Store the
3953         master file name instead.
3954
3955 2001-03-23  Juergen Vigna  <jug@sad.it>
3956
3957         * insetcollapsable.C (InsetMotionNotify):
3958         (InsetButtonRelease):
3959         (InsetButtonPress): fixed y-offset (minipages).
3960
3961         * insettext.C (draw): force a FULL update if cleared == true.
3962
3963         * insetcollapsable.C (draw): Lars forgotten entry for changing this
3964         routine to draw the minipages on its position-flag.
3965         (InsetInInsetY): give back the right y position, because of minipage
3966         position-flag.
3967
3968 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
3969
3970         * insetfloat.h
3971         * insetfloat.C (DocBook): docbook export code.
3972
3973 2001-03-22  Juergen Vigna  <jug@sad.it>
3974
3975         * insetminipage.C (getMaxWidth): added function to set the drawing
3976         width!
3977         (Read): should work now!
3978
3979         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
3980         if we create a new inset.
3981
3982 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
3983
3984         * figinset.C (fl_set_preemptive_callback): moved definition outside
3985         of namespace anon.
3986
3987 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3988
3989         * insetminipage.C (Read): prepare for reading of minipage arguments.
3990
3991 2001-03-18  Baruch Even  <baruch@lyx.org>
3992
3993         * insetgraphics.C: Minor cleanups of the comments and code.
3994
3995 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3996
3997         * insetminipage.C (InsetMinipage): default to not collapsed
3998
3999 2001-03-16  Juergen Vigna  <jug@sad.it>
4000
4001         * insetminipage.C (width): modified with to be a string
4002         (widthp): added widthp (for % width) support functions.
4003         (InsetButtonRelease): added to open the options dialog on button==3.
4004         (~InsetMinipage): added to hide the dialog.
4005
4006         * insetminipage.h: added hideDialog signal
4007
4008 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4009
4010         * insetminipage.h: change the order or Position to match
4011         LyXParagraph::MINIPAGE_ALIGNMENT
4012
4013         * several files: remvoe CXX_WORKING_NAMESPACES
4014
4015         * ExternalTemplate.h: noncopyable is in namespace boost
4016         * insetinclude.h: ditto
4017         * insetcommand.h: ditto
4018
4019 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
4020
4021         * insettext.C (Edit): #else# -> #else.
4022         * insettoc.C: added using directive.
4023
4024 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4025
4026         * insetminipage.h: add pos, inner_pos, width and height. + getters
4027         and setters for all of them.
4028
4029 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
4030
4031         * insetinclude.C (Latex): Do not exit when the textclass of the
4032         included file differ from the textclass of the parent file.
4033
4034 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
4035
4036         * ExternalTemplate.C (read): the reading of external insets now checks
4037         for \end_inset and removes it form the input stream.
4038
4039 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
4040
4041         * ExternalTemplate.h:
4042         * ExternalTemplate.C:
4043         * insetexternal.h:
4044         * insetexternal.C: move form to GUII
4045
4046 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
4047
4048         * insetinclude.h:
4049         * insetinclude.C: add InsetIncludeParams, use
4050         composition rather than derivation of InsetCommand
4051
4052 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4053
4054         * insettoc.C (Ascii): use the Buffer typedefs
4055
4056 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4057
4058         * insettoc.C (Ascii): implement for dynamic number of lists
4059
4060         * insetcaption.[Ch]: update from new_insets branch
4061         * insetfloat.[Ch]: ditto
4062
4063 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
4064
4065         * insetexternal.C:
4066         * figinset.C: use new File Dialog
4067
4068 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
4069
4070         * insettext.C: changes becuase of ParagraphParameters.
4071
4072 2001-02-28  Baruch Even  <baruch@ev-en.org>
4073
4074         * insetgraphics.C (updateInset): Changed due to the change in
4075         GraphicsCache.
4076
4077 2001-02-26  Juergen Vigna  <jug@sad.it>
4078
4079         * insettext.C (SetFont): Set Undo only if we have selection (as it is
4080         handled in LyXText).
4081
4082 2001-02-23  Juergen Vigna  <jug@sad.it>
4083
4084         * insettext.C (draw): some small repainting fixes.
4085         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4086
4087         * inset.C (LocalDispatch): changed action to be a kb_action (as it
4088         should be) and not an int.
4089
4090         * insettabular.C (LocalDispatch): ditto
4091
4092         * insettext.C (LocalDispatch): ditto
4093
4094         * insetcollapsable.C (LocalDispatch): ditto
4095
4096 2001-02-22  Juergen Vigna  <jug@sad.it>
4097
4098         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
4099         DISPATCH it and we don't have a locking_inset.
4100
4101 2001-02-21  Baruch Even  <baruch@ev-en.org>
4102
4103         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
4104         instead of GraphicsCacheItem *.
4105
4106 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4107
4108         * insetcollapsable.C (getLyXText): add const qualifier to second
4109         parameter.
4110
4111 2001-02-22  Juergen Vigna  <jug@sad.it>
4112
4113         * insettext.C (getLyXText): honor the recursive parameter.
4114         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
4115
4116         * inset.C (getLyXText): added bool recursive parameter.
4117
4118         * insettext.C (SetUpdateStatus): or the update codes.
4119         (draw): check need_update with &.
4120         (InsetButtonPress): set no_selection to not put a selection when
4121         entering an inset and it is redraws in another spot.
4122
4123         * insettext.h: made need_update an int.
4124
4125 2001-02-20  Baruch Even  <baruch@ev-en.org>
4126
4127         * insetgraphics.h:
4128         * insetgraphisc.C: Changed to use better semantics when loading images
4129         for inline view. Now it doesn't keep the pixmap itself but it's holder.
4130
4131 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
4132
4133         * insetcommand.h:
4134         * inseterror.h:
4135         * insetgraphics.C: change name of "hide" signal to "hideDialog",
4136         consistent with InsetTabular.
4137
4138 2001-02-19  Juergen Vigna  <jug@sad.it>
4139
4140         * insettabular.C (LocalDispatch): implement PAGE up/down.
4141
4142         * insettext.C (draw): clear all of it on need_update==INIT too!
4143
4144         * insettabular.C (InsetUnlock): always clear the selection.
4145
4146         * inset.C (scroll): normally we only want to scroll the inset until
4147         it is fully visible so if top_x + offset > 20 then just set scx to 0.
4148
4149 2001-02-14  Juergen Vigna  <jug@sad.it>
4150
4151         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
4152         (resetPos): fixed scroll behaviour.
4153         (LocalDispatch): do an update if moving cursor inside a table cell
4154         requests a scroll of the tabular.
4155
4156 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4157
4158         * insettext.C (textWidth): constify local var
4159
4160         * insettabular.C: small cleanup.
4161
4162         * insetfoot.C (Latex): constify local var
4163
4164         * insetcollapsable.C: small cleanup.
4165
4166         * figinset.C (runqueue): use compare instead of strcmp
4167
4168 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
4169
4170         * insettext.C:
4171         * insetinfo.C: remove cruft
4172
4173 2001-02-14  Juergen Vigna  <jug@sad.it>
4174
4175         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
4176
4177 2001-02-13  Juergen Vigna  <jug@sad.it>
4178
4179         * insettext.C (InsertInset): don't move left (is this right?)
4180
4181         * insettabular.C (LocalDispatch): use of the no_draw variable
4182
4183         * insettabular.h: new no_draw variable to stop redraw
4184
4185         * insettabular.C (TabularFeatures): fixed update for alignment change
4186
4187 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
4188
4189         * insetinclude.C:
4190         * insetbib.h:
4191         * insetbib.C: move dialogs to frontends/
4192
4193 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
4194
4195         * insettext.C (LocalDispatch): Restore the language if the inset
4196         becomes empty.
4197
4198 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
4199
4200         * insettext.C (moveRightIntern): Update the selection cursor.
4201         (moveLeftIntern): Ditto.
4202
4203 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4204
4205         * Makefile.am: remove BoundingBox.h
4206
4207         * BoundingBox.h: removed
4208
4209 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
4210
4211         * insettext.C (LocalDispatch): Update selection cursor when moving
4212         cursor to the right.
4213         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
4214         (moveLeftIntern): Ditto.
4215
4216 2001-02-05  Baruch Even  <baruch.even@writeme.com>
4217
4218         * insetgraphics.C: Updated automatic image conversion, it now goes into
4219         temporary directory instead of with the image itself.
4220
4221 2001-01-21  Baruch Even  <baruch@ev-en.org>
4222
4223         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
4224         to EPS or PNG when needed (support bitmap graphics).
4225
4226 2000-11-02  Baruch Even  <baruch@ev-en.org>
4227
4228         * insetgraphics.C:
4229         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
4230         and removal of commented out code.
4231
4232 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
4233
4234         * insetbib.C (callback): Update citations if the key has changed.
4235
4236 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
4237
4238         * insetbib.C (InsetBibKey): Better computation of default key.
4239         (getScreenLabel) Show both the key and the label.
4240         (getBibLabel): New method.
4241         (callback): Force a redraw if the inset have been changed.
4242
4243 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
4244
4245         * insetref.C (getType, getName): Move methods from
4246         src/frontends/xforms/FormRef.C.
4247
4248 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
4249
4250         * insettabular.C: Various improvements (use only one dummy position).
4251
4252 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
4253
4254         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
4255         par->bibkey->width. This fixes the crashes when running without
4256         gui or when having included documents.
4257
4258 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
4259
4260         * insetcommand.C (getAsString, setFromString): Cleanup.
4261
4262 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
4263
4264         * insetref.C: Add the array InsetRef::types that contains
4265         information about all supported reference types.
4266
4267 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4268
4269         * lyxinset.h: remove trailing comma in enum.
4270
4271 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
4272
4273         * insettext.C: kill LyXBell.