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