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