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