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