]> git.lyx.org Git - features.git/blob - src/insets/ChangeLog
* inset.h:
[features.git] / src / insets / ChangeLog
1
2 2003-12-10  André Pönitz  <poenitz@gmx.net>
3
4         * inset.h:
5         * insetert.[Ch]:
6         * insettabular.[Ch]:
7         * insettext.[Ch]: remove unused insetInset()
8
9         * insetert.C: disable some  LFUNs
10
11         * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
12
13 2003-12-04  Martin Vermeer  <martin.vermee@hut.fi>
14
15         * insetcharstyle.[Ch]: Conglomerate-style CharStyles
16
17 2003-12-04  Angus Leeming  <leeming@lyx.org>
18
19         * insetexternal.C (draw): update the xo_, yo_ cache.
20
21         * ExternalTransforms.[Ch] (ResizeData): add a usingScale member function.
22         (RotationDataType): new helper struct wrapping the
23         RotationData::OriginType enum.
24
25 2003-12-03  André Pönitz  <poenitz@gmx.net>
26
27         * inset.h: remove getParagraphs()
28
29         * insetcollapsable.[Ch]:
30         * insetert.[Ch]:
31         * insetnote.[Ch]:
32         * insettabular.[Ch]:
33         * insettext.C: use getText()  instead of getParagraphs()
34
35 2003-12-03  Martin Vermeer  <martin.vermeer@hut.fi>
36
37         * insetert.C: fix label text updating bug
38
39 2003-12-02  Angus Leeming  <leeming@lyx.org>
40
41         * insetvspace.[Ch] (space): new member function. Make space_ private.
42         (read): use the new, simpler lyxlex syntax.
43
44 2003-12-01  André Pönitz  <poenitz@gmx.net>
45
46         * insetcollapsable.[Ch]:
47         * insetert.[Ch]: move 'inline' state to InsetCollapsable
48
49 2003-12-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
50
51         * insetvspace.C (read): handle 'end_inset' token.
52
53 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * insetcharstyle.[Ch]: add latexparam to CharStyle inset
56
57 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * insetcollapsable.[Ch]:
60         * insetert.[Ch]:
61         * insetcharstyle.C: place inset content on the button when 
62         collapsed.
63
64 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
65
66         * insetvspace.C: remove VSpace::NONE; increase inset width
67
68 2003-12-01  André Pönitz  <poenitz@gmx.net>
69
70         * insetbase.h: whitespace
71
72         * inset.[Ch]: remove latexTextWidth
73         make setBackgroundColor virtual
74
75         * insettext.[Ch]:  move ParagraphList member to LyXText
76
77         * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
78
79         * insetcharstyle.C:
80         * insetenv.C:
81         * insetert.[Ch]:
82         * insetfloat.[Ch]:
83         * insetminipage.[Ch]:
84         * insettabular.C:
85         * insetwrap.[Ch]: adjust paragraphs and background color handling,
86
87 2003-11-28  Angus Leeming  <leeming@lyx.org>
88
89         * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
90         hiding and showing the dialog respectively.
91         (priv_dispatch): also actually update the inset contents.
92
93 2003-11-28  Angus Leeming  <leeming@lyx.org>
94
95         * insetbox.C (d-tor):
96         * insetbranch.C (d-tor):
97         * insetcite.C (d-tor):
98         * insetfloat.C (d-tor):
99         * insetfloatlist.C (d-tor):
100         * insetinclude.C (d-tor):
101         * insetindex.C (d-tor):
102         simplify the invocation of the Mailer::hideDialog() function.
103
104         * insetminipage.C (showInsetDialog):
105         simplify the invocation of the Mailer::showialog() function.
106
107 2003-11-28  André Pönitz  <poenitz@gmx.net>
108
109         * Makefile.am:
110         * insetvspace.[Ch]: new insets
111
112 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * insetcharstyle.C: Syntax change for CharStyles
115
116 2003-11-28  André Pönitz  <poenitz@gmx.net>
117
118         * updatableinset.h: remove insetInInsetY
119
120         * insetcollapsable.[Ch]:
121         * insetnewline.C:
122         * insettabular.[Ch]:
123         * insettext.[Ch]: adjust
124
125 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
126
127         * insettext.[Ch]: 
128         * inset.[Ch]:
129         * insetcollapsable.[Ch]:
130         * insetert.[Ch]:
131         * insettabular.[Ch]: remove setFont
132
133 2003-11-25  Alfredo Braunstein  <abraunst@lyx.org>
134
135         * render_graphic.[Ch]: adjust comments
136
137 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * insetgraphics.C (draw): cache xo_ & yo_
140
141 2003-11-24  André Pönitz  <poenitz@gmx.net>
142
143         * insettext.C (setViewCache): don't call LyXText::init() anymore
144
145 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
146
147         * inset.h:
148         * insetcollapsable.[Ch]:
149         * insetert.[Ch]: remove bufferview parameter in methods 
150         open, close, status, and updateStatus.
151
152 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
153
154         * insetcollapsable.[Ch]:
155         * insettabular.[Ch]:
156         * insettext.[Ch] (getCursorDim): squash unused variable
157
158 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
159
160         * insettext.C (edit): x0_,y0_ -> xo_,yo_
161
162 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
163
164         * insettext.C (draw): sets LyXText absolute coordinates
165
166 2003-11-20  Angus Leeming  <leeming@lyx.org>
167
168         * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
169         about unused parameters.
170
171         * insetcollapsable.C (open):
172         * insettabular.C (pasteSelection):
173         * insettoc.C (draw): ditto.
174
175 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
176
177         * insetcollapsable.C: 
178         * insettext.C:
179         * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
180         remove mouse_x mouse_y etc.
181
182 2003-11-17  André Pönitz  <poenitz@gmx.net>
183
184         * insettext.[Ch] (cx, cy): remove
185
186         * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
187
188 2003-11-13  André Pönitz  <poenitz@gmx.net>
189
190         * inset.h: 
191         * insetcollapsable.[Ch]:
192         * insettabular.[Ch]:
193         * insettext.[Ch] (deleteLyXText): remove
194
195 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * insetcollapsable.[Ch] (fitInsetCursor): remove
198         * insettabular.[Ch] (fitInsetCursor): remove
199         * insettext.[Ch] (fitInsetCursor): remove
200         * updatableinset.[Ch] (fitInsetCursor): remove
201         (getCursorDIm): add virtual
202
203 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * src/insets/Makefile.am:
206         * src/insets/inset.h:
207         * src/insets/insetcharstyle.C:
208         * src/insets/insetcharstyle.h: The Character Style /XML short
209         element patch.
210
211 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
212
213         * insettext.C: remove all update calls
214         * insetcollapsable.C: remove all update calls
215
216 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
217
218         * insettext.C (updateLocal, insertInset, setFont): remove 
219         fitCursor calls
220
221 2003-11-10  André Pönitz  <poenitz@gmx.net>
222
223         * inset.h: remove Inset::id_
224
225         * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
226         * *.[Ch]: adjust
227
228 2003-11-10  André Pönitz  <poenitz@gmx.net>
229
230         * inset.[Ch]:
231         * insetbox.[Ch]:
232         * insetcollapsable.[Ch]:
233         * insetert.C:
234         * insetfloat.C:
235         * insetminipage.C:
236         * insettabular.[Ch]:
237         * insettext.[Ch]:
238         * insetwrap.C:
239         * updatableinset.[Ch]: remove inset locking & adjust
240
241 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
242
243         * inset.h (allowSpellCheck): add (return true)
244         * insetert.h (allowSpellCheck): add (return false)
245         
246 2003-11-05  José Matos  <jamatos@lyx.org>
247
248         * inset.h:
249         * insetbibtex.[Ch]:
250         * insetbox.[Ch]:
251         * insetbranch.[Ch]:
252         * insetcaption.[Ch]:
253         * insetcite.[Ch]:
254         * insetcollapsable.[Ch]:
255         * insetcommand.[Ch]:
256         * insetenv.[Ch]:
257         * insetert.[Ch]:
258         * insetexternal.[Ch]:
259         * insetfloat.[Ch]:
260         * insetfloatlist.[Ch]:
261         * insetfoot.[Ch]:
262         * insetgraphics.[Ch]:
263         * insethfill.[Ch]:
264         * insetinclude.[Ch]:
265         * insetindex.[Ch]:
266         * insetlabel.[Ch]:
267         * insetlatexaccent.[Ch]:
268         * insetline.[Ch]:
269         * insetlist.[Ch]:
270         * insetmarginal.[Ch]:
271         * insetminipage.[Ch]:
272         * insetnewline.[Ch]:
273         * insetnote.[Ch]:
274         * insetoptarg.[Ch]:
275         * insetpagebreak.[Ch]:
276         * insetquotes.[Ch]:
277         * insetref.[Ch]:
278         * insetspace.[Ch]:
279         * insetspecialchar.[Ch]:
280         * insettabular.[Ch]:
281         * insettext.[Ch]:
282         * insettheorem.[Ch]:
283         * insettoc.[Ch]:
284         * inseturl.[Ch]:
285         * insetwrap.[Ch]: rename ascii to plaintext
286         and LatexRunParams to OutputParams.
287
288 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
289
290         * insetcollapsable.C (edit): add open() all
291         * insettext.C (edit): add setViewCache call
292
293 2003-11-04  André Pönitz  <poenitz@gmx.net>
294
295         * inset.h (edit): move locking code from dispatch() to edit()
296
297         * insetbase.[Ch]:
298         * insetbibitem.C:
299         * insetbranch.[Ch]:
300         * insetcite.[Ch]:
301         * insetcollapsable.[Ch]:
302         * insetcommand.C:
303         * insetert.[Ch]:
304         * insetexternal.[Ch]:
305         * insetgraphics.[Ch]:
306         * insetindex.[Ch]:
307         * insetlabel.C:
308         * insetnote.[Ch]:
309         * insetref.C:
310         * insettabular.[Ch]:
311         * insettext.[Ch]: adjust
312
313 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
314
315         * inset.h:
316         * insetcollapsable.[Ch]:
317         * insetert.[Ch]:
318         * insettabular.[Ch]:
319         * insettext.[Ch]:
320         * updatableinset.[Ch]: remove dead search code
321
322 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
323
324         * inset.h:
325         * insetcollapsable.[Ch]:
326         * insetert.[Ch]:
327         * insettabular.[Ch]:
328         * insettext.[Ch]:
329         * updatableinset.[Ch]: remove dead spellcheck code
330
331 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
332
333         * insettabular.C (lockInsetInInset): small fix
334
335 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
336
337         * insettext.C (priv_dispatch): some DispatchResult type cleanup,
338         don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
339         from here. Be stricter on DispatchResult returned.
340
341 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
342
343         * Inset::dispatch's: adjust for new DispatchResult semantics.
344
345 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
346
347         * render_base.h: make clone return an auto_ptr
348         * render_button.C (clone): adjust
349         * render_graphic.C (clone): adjust
350         * render_preview.C (clone): adjust
351
352         * insettheorem.C (clone): return an auto_ptr
353
354         * insettext.C (priv_dispatch): exception safety
355
356         * insettabular.C: store the file scope variable paste_tabular in a
357         scoped_ptr, adjust usage.
358
359         * insetexternal.C (setParams): exception safety
360
361         * insetbibitem.C (clone): exception safety
362
363 2003-11-03  André Pönitz  <poenitz@gmx.net>
364
365         * inset.[Ch]:
366         * insetcollapsable.[Ch]:
367         * insettabular.[Ch]:
368         * insettext.[Ch]: remove Inset::id and related functions
369
370 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
371
372         * insets: adjust for DispatchResult changes.
373
374 2003-11-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
375
376         * insetpagebreak.C: fix screen representation & ascii output.
377
378 2003-11-01  Alfredo Braunstein  <abraunst@libero.it>
379
380         * inset.[Ch]:
381         * insettext.[Ch]:
382         * insettabular.[Ch]:
383         * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
384
385 2003-10-31  José Matos  <jamatos@lyx.org>
386
387         * inset.h (ascii, linuxdoc, docbook):
388         * insetbox.[Ch] (ascii, linuxdoc, docbook):
389         * insetbranch.[Ch] (ascii, linuxdoc, docbook):
390         * insetcaption.[Ch] (ascii, docbook):
391         * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
392         * insetcommand.[Ch] (ascii, linuxdoc, docbook):
393         * insetert.[Ch] (ascii, linuxdoc, docbook):
394         * insetexternal.[Ch] (ascii, linuxdoc, docbook):
395         * insetfloat.[Ch] (linuxdoc, docbook):
396         * insetfloatlist.[Ch] (ascii):
397         * insetfoot.[Ch] (docbook):
398         * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
399         * insethfill.[Ch] (ascii, linuxdoc, docbook):
400         * insetinclude.[Ch] (ascii, linuxdoc, docbook):
401         * insetindex.[Ch] (docbook):
402         * insetlabel.[Ch] (ascii, linuxdoc, docbook):
403         * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
404         * insetline.[Ch] (ascii, linuxdoc, docbook):
405         * insetnewline.[Ch] (ascii, linuxdoc, docbook):
406         * insetnote.[Ch] (ascii, linuxdoc, docbook):
407         * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
408         * insetquotes.[Ch] (ascii, linuxdoc, docbook):
409         * insetref.[Ch] (ascii, linuxdoc, docbook):
410         * insetspace.[Ch] (ascii, linuxdoc, docbook):
411         * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
412         * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
413         * insettext.[Ch] (ascii, linuxdoc, docbook):
414         * insettoc.[Ch] (ascii, linuxdoc, docbook):
415         * inseturl.[Ch] (ascii, linuxdoc, docbook):
416         * insetwrap.[Ch] (docbook):
417         add LatexRunParams argument.
418
419 2003-10-30  José Matos  <jamatos@lyx.org>
420
421         * insettext.C (linuxdoc, docbook): use new pagraph generation code.
422
423 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
424
425         * updatableinset.C (priv_dispatch):
426         * insetwrap.C (priv_dispatch):
427         * inseturl.C (priv_dispatch):
428         * insettoc.C (priv_dispatch):
429         * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
430         (moveLeftIntern, moveUp, moveDown):
431         * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
432         (moveLeft, moveUp, moveDown):
433         * insetref.C (priv_dispatch):
434         * insetnote.C (priv_dispatch):
435         * insetminipage.C (priv_dispatch):
436         * insetlabel.C (priv_dispatch):
437         * insetindex.C (priv_dispatch):
438         * insetinclude.C (priv_dispatch):
439         * insetgraphics.C (priv_dispatch):
440         * insetfloatlist.C (priv_dispatch):
441         * insetfloat.C (priv_dispatch):
442         * insetexternal.C (priv_dispatch):
443         * insetert.C (priv_dispatch):
444         * insetcommand.C (priv_dispatch):
445         * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
446         * insetcite.C (priv_dispatch):
447         * insetbranch.C (priv_dispatch):
448         * insetbox.C (priv_dispatch):
449         * insetbibtex.C (priv_dispatch):
450         * insetbibitem.C (priv_dispatch):
451         * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
452
453 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
454
455     * insettext.C: small refactoring of docbook stuff
456
457 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
458
459         * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
460         (priv_dispatch): adjust for operator dispatch_result_t removal
461
462         * insettabular.C (lfunMouseRelease): put the result of a dispatch
463         in a DispatchResult, adjust accordingly.
464         (priv_dispatch): use strange >= construct... (will be removed later)
465
466         * most insets: dispatch_result -> DispatchResult
467
468         * insetbase.h: move DispatchResult out to dispatchresult.h
469
470 2003-10-27  André Pönitz  <poenitz@gmx.net>
471
472         * insetpagebreak.[Ch]: new inset for page breaks
473
474         * insetline.[Ch]: new inset for vertical lines
475
476         * Makefile.am:
477         * inset.h: adjust
478
479 2003-10-25  Angus Leeming  <leeming@lyx.org>
480
481         * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
482         new virtual member functions, specialised...
483         * render_button.h (asButton):
484         * render_graphic.h (asGraphic):
485         * render_preview.h (asPreview, asMonitoredPreview): ... here.
486
487         * insetexternal.C: use these new functions rather than dynamic_cast.
488         Various other small simplifications.
489
490 2003-10-22  Angus Leeming  <leeming@lyx.org>
491
492         * insetexternal.[Ch]: add the ability to 'preview' the external file
493         if so desired.
494
495         * insetinclude.C: changes due to the changes in the RenderPreview
496         interface.
497
498         * render_preview.[Ch]: Lots of small changes. Display a diagnostic
499         message if the preview image is not available. Only initiate the
500         loading of the preview from draw(). Ditto, start the monitoring
501         of an external file from RenderMonitoredPreview::draw.
502
503 2003-10-22  Angus Leeming  <leeming@lyx.org>
504
505         * insetcite.[Ch] (setLoadingBuffer): removed.
506         (getNatbibLabel): use the new Buffer::fully_loaded member function to
507         ascertain whether to proceed with the (expensive) task of computing
508         the natbib-style label. Remove the home-grown hack providing
509         similar functionality.
510
511 2003-10-22  Angus Leeming  <leeming@lyx.org>
512
513         * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
514         class and into an anonymous namespace.
515
516 2003-10-22  Angus Leeming  <leeming@lyx.org>
517
518         * insetcommand.h: remove the display method.
519
520         * insetbibtex.h:
521         * insetfloatlist.h:
522         * insetindex.h (InsetPrintIndex):
523         * insettoc.h: add a display method, returning true.
524
525 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * insetcollapsable.h:
528         * insetcommand.h:
529         * insetfloat.h:
530         * insetfootlike.h:
531         * insetinclude.h: (1) finish off the inset display() work;
532         (2) fix the "is a bit silly" bug (accessing char
533         past end of par).
534
535 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
536
537         * inset.h:
538         * insetfloat.h:
539         * insetfootlike.h: re-introduce display() for insets,
540         fixing the various bugs (stretch of line above, math inset
541         positioning, ...)
542
543 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
544
545         * insetbase.C (dispatch): new func
546         (priv_dispatch): new func replaces...
547         (localDispatch): this, deleted.
548
549         * all insets with dispatch modified for new code.
550
551 2003-10-15  André Pönitz  <poenitz@gmx.net>
552
553         * insetcollapsable.[Ch]
554         * insettabular.[Ch]
555         * inset.h: re-add some edit(bv, index) method called by undo
556
557 2003-10-14  Angus Leeming  <leeming@lyx.org>
558
559         * insetexternal.[Ch] (view, cache, view_):
560         * insetgraphics.[Ch] (view, cache, view_):
561         * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
562         (statusChanged): call LyX::cref().updateInset.
563
564         * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
565         the BufferView cache.
566
567         * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
568         earlier clean-up.
569
570 2003-10-14  Angus Leeming  <leeming@lyx.org>
571
572         * insetinclude.C (metrics, draw): only draw the preview when previews
573         are activated.
574
575 2003-10-14  André Pönitz  <poenitz@gmx.net>
576
577         * insetcollapsable.[Ch]:
578         * insettabular.[Ch]:
579         * insettext.[Ch]:
580         * inset.h: getText() as alternative to getParagraphs()
581
582 2003-10-13  Angus Leeming  <leeming@lyx.org>
583
584         * insetexternal.C:
585         * insetgraphicsParams.C: displayTranslator is now a function.
586
587 2003-10-13  Angus Leeming  <leeming@lyx.org>
588
589         * insetinclude.C: remove #include "PreviewImage.h".
590
591 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
592
593         * ExternalSupport.C:
594         * ExternalTransforms.C:
595         * insetbox.C:
596         * insetbox.h: ws changes only
597
598 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
599
600         * insetinclude.C (localDispatch): do not call
601         InsetOld::localDispatch, just return UNDISPATCHED
602         * insetgraphics.C (localDispatch): ditto
603         * insetcommand.C (localDispatch): ditto
604
605 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
606
607         * inset.h: get rid of RESULT typedef for dispatch_result
608
609         * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
610         * insetert.[Ch] (localDispatch): ditto
611         * insettabular.[Ch] (localDispatch): ditto
612         (moveRight): ditto
613         (moveLeft): ditto
614         (moveUp): ditto
615         (moveDown): ditto
616         * insettext.[Ch] (localDispatch): ditto
617         (moveRight): ditto
618         (moveLeft): ditto
619         (moveRightIntern): ditto
620         (moveLeftIntern): ditto
621         (moveUp): ditto
622         (moveDown): ditto
623         * updatableinset.[Ch] (localDispatch): ditto
624
625 2003-10-12  Angus Leeming  <leeming@lyx.org>
626
627         * renderbase.h (view, view_): removed.
628         * renderbase.C: removed.
629         * Makefile.am: remove render_base.C. The shortest lived file in
630         history?
631
632         * renderbutton.C (draw):
633         * render_graphic.C (draw): don't cache the BufferView.
634
635         * insetabase.h (cache, view): removed.
636
637         * inset.h (generatePreview) removed.
638
639         * insetcallapsable.[Ch] (cache, view, view_): removed.
640
641         * insetcollapsable.C (draw): don't cache the BufferView.
642
643         * insetcommand.[Ch] (view): removed.
644
645         * insetexternal.[Ch] (cache, view, view_):
646         * insetgraphics.[Ch] (cache, view, view_):
647         * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
648
649         * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
650         when you have direct access to it. In fact, don't use the cache at all.
651
652 2003-10-10  Angus Leeming  <leeming@lyx.org>
653
654         * insetinclude.C (metrics): use preview_->metrics.
655         (draw): use preview_->draw.
656
657         * render_preview.[Ch] (pimage): removed.
658
659 2003-10-10  Angus Leeming  <leeming@lyx.org>
660
661         * renderers.[Ch]: removed.
662
663         * render_base.[Ch]:
664         * render_button.[Ch]:
665         * render_graphic.[Ch]:
666         * render_preview.[Ch]: new files. The first three are split out of
667         renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
668         contains a re-worked InsetInclude::PreviewImpl also.
669
670         * Makefile.am: reflect the changed files.
671
672         * insetcommand.h:
673         * insetexternal.[Ch]:
674         * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
675
676         * insetinclude.[Ch]: changes reflecting the change from
677         InsetInclude::PreviewImpl to RenderMonitoredPreview.
678
679         * insethfill.C:
680         * insetindex.C:
681         * insetlabel.C:
682         * insettoc.C:
683         * inseturl.C: add #include "support/std_ostream.h"
684
685 2003-10-09  Angus Leeming  <leeming@lyx.org>
686
687         * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
688         to PreviewedInset::previewReady.
689
690 2003-10-09  Angus Leeming  <leeming@lyx.org>
691
692         * insetexternal.[Ch] (statusChanged):
693         * insetgraphics.[Ch] (statusChanged): make a const member function.
694
695         * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
696         PreviewedInset.
697
698 2003-10-09  Angus Leeming  <leeming@lyx.org>
699
700         * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
701         to PreviewedInset's previewReady and removePreview member functions.
702
703 2003-10-08  André Pönitz  <poenitz@gmx.net>
704
705         * insetcollapsable.C:
706         * insettext.[Ch]: saner 'init' structure
707
708         * updatableinset.[Ch]: remove unneeded code
709
710 2003-10-08  Angus Leeming  <leeming@lyx.org>
711
712         Fix doxygen warnings.
713
714         * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
715         * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
716
717 2003-10-07  Angus Leeming  <leeming@lyx.org>
718
719         * ExternalTransforms.[Ch]: new files, detailing transforms that can
720         be applied to InsetExternal.
721
722         * Makefile.am: add these new files.
723
724         * ExternalTemplate.[Ch]: add a list of available transforms to
725         class Template and a list of factory functions for transformer classes
726         that can act on this data to class Format.
727
728         * insetexternal.[Ch]: add transform data to InsetExternal::Params.
729
730         * ExternalSupport.C: Add code to replace transform placeholders
731         with appropriate output.
732
733 2003-10-07  Angus Leeming  <leeming@lyx.org>
734
735         * ExternalSupport.[Ch]: new files, moving the private member functions
736         and namespace anon functions out of insetexternal.C to here, so making
737         it easier to understand what is going on in insetexternal itself.
738
739         * Makefile.am: add new files.
740
741         * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
742         allowing the class to be forward declared. (Also consistent with
743         all other Params classes.)
744         (write): moved out of the class. Move this function and those in
745         namespace anon to ExternalSupport.[Ch].
746
747 2003-10-07  Angus Leeming  <leeming@lyx.org>
748
749         * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
750         non-const member function.
751
752 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
753
754         * Makefile.am:
755         * inset.h:
756         * insetbox.C:
757         * insetbox.h: The Box patch. Fancybox support, minipage, parbox
758
759 2003-10-02  André Pönitz  <poenitz@gmx.net>
760
761         * insettext.C (read): make sure there is at least one par
762           in the text after reading.
763
764 2003-10-01  José Matos  <jamatos@lyx.org>
765
766         * insetbranch.C (linuxdoc, docbook): minor fix.
767
768 2003-10-01  Angus Leeming  <leeming@lyx.org>
769
770         * ExternalTemplace.[Ch]: introduce namespace lyx::external.
771
772         * insetexternal.[Ch]: changes due to the introduction of
773         namespace lyx::external.
774
775 2003-09-30  Angus Leeming  <leeming@lyx.org>
776
777         * insetexternal.[Ch] (Params::read, write): new member functions.
778
779 2003-09-25  Angus Leeming  <leeming@lyx.org>
780
781         * insetexternal.[Ch] (TempName): new (private) nested struct with
782         fake copy semantics. Enables us to use the generated copy c-tor
783         in the Params struct.
784         (Params::templatename, Params::tempname): use accessor functions.
785
786 2003-09-25  Angus Leeming  <leeming@lyx.org>
787
788         * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
789         function, returning a const pointer.
790
791 2003-09-23  Angus Leeming  <leeming@lyx.org>
792
793         * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
794         store them in a vector, preambleNames.
795
796         * insetexternal.C (validate): loop over all preambleNames and call
797         LaTeXFeatures::addExternalPreamble with each.
798
799 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * insetbranch.C: bug fix in branches
802
803 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * insetnote.C: small clean-up.
806
807 2003-09-19  Angus Leeming  <leeming@lyx.org>
808
809         * inset.h (generatePreview): passed a 'Buffer const &' arg.
810
811         * insetcommand.C (string2params): clear params using the default c-tor.
812
813         * insetinclude[Ch]: get rid of the masterFilename_ parameter in
814         InsetInclude::Params. No more data in this struct than in
815         InsetCommandParams, so get rid of it and use InsetCommandParams instead.
816         (c-tor): no need to pass a 'Buffer const &' arg anymore.
817         (clone): remove #warning as it's now redundant.
818         (set): add a 'Buffer const &' arg. Make private.
819         (loadIfNeeded) move out of the class definition and into namespace anon.
820         (getMasterFilename, getFileName): ditto.
821
822 2003-09-18  Angus Leeming  <leeming@lyx.org>
823
824         * insetcommand.C (setParams): use the params' copy constructor.
825
826 2003-09-18  Angus Leeming  <leeming@lyx.org>
827
828         * insetinsetbase.h (getLabelList):
829         * insetinsetcollapsable.[Ch] (getLabelList):
830         * insetinsetinclude.[Ch] (getLabelList):
831         * insetinsetlabel.[Ch] (getLabelList):
832         * insetinsettabular.[Ch] (getLabelList):
833         * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
834         * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
835
836 2003-09-18  Angus Leeming  <leeming@lyx.org>
837
838         * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
839         redundant baggage from yesteryear.
840         Remove Params::flag as it is redundant; the info is present in
841         getCmdName.
842
843 2003-09-18  Angus Leeming  <leeming@lyx.org>
844
845         * insetinclude.C (latexString): add a Buffer const & arg.
846
847 2003-09-18  Angus Leeming  <leeming@lyx.org>
848
849         * inset.C:
850         * inset.h:
851         * insettext.C:
852         * insettext.h: rename EnumLColor as LColor_color.
853
854 2003-09-18  Angus Leeming  <leeming@lyx.org>
855
856         * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
857         * insetbase.h: add the dispatch_result wrapper class DispatchResult.
858
859 2003-09-16  Angus Leeming  <leeming@lyx.org>
860
861         * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
862         set before trying to generate a preview, else we trigger an assert.
863
864 2003-09-16  Angus Leeming  <leeming@lyx.org>
865
866         * insetinclude.C (PreviewImpl::parent): return a const reference.
867
868 2003-09-16  Angus Leeming  <leeming@lyx.org>
869
870         * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
871
872         * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
873         labelfont directly.
874         (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
875         InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
876
877         * insetminipage.C (metrics):
878         * insetnote.C (metrics):
879         * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
880         access collapsed_ directly.
881
882 2003-09-16  Angus Leeming  <leeming@lyx.org>
883
884         * insetbibitem.C: add #include "lyxfont.h".
885
886 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
887
888         * insetgraphics.C:
889         * insetbibtex.C: use namespace alias for lyx::support::os
890
891 2003-09-16  Angus Leeming  <leeming@lyx.org>
892
893         * insetcollapsable.h: remove unused framecolor variable.
894         Remove #include "LColor.h".
895
896         * insetcollapsable.C: remove unused framecolor variable.
897
898         * insetcaption.C:
899         * insetcollapsable.C:
900         * insetert.C:
901         * insetfloat.C:
902         * insetfootlike.C:
903         * insetminipage.C:
904         * insetnote.C:
905         * insetoptarg.C:
906         * insetwrap.C:
907         Add #include "LColor.h".
908
909 2003-09-16  Angus Leeming  <leeming@lyx.org>
910
911         * insettext.[Ch] (frameColor): new accessor function.
912         (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
913         insettext.h
914
915         * insetbranch.C:
916         * insettabular.C:
917         * insettext.C:
918         add #include "LColor.h".
919
920         * insetcollapsable.h: add #include "LColor.h"
921         (for its framecolor member variable).
922
923 2003-09-16  Angus Leeming  <leeming@lyx.org>
924
925         * insetenv.C (constructor): use accessor functions to access InsetText variables.
926
927         * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
928         rename frame_color as frame_color_. Make private.
929
930         * insettext.C: associated changes.
931
932 2003-09-16  Angus Leeming  <leeming@lyx.org>
933
934         * inset.h: store background_color_ as an int, not as an LColor::color to
935         get LColor.h out of the header file.
936
937         * inset.C:
938         * insetlatexaccent.C:
939         * insetnewline.C:
940         * insetspace.C:
941         * insetspecialchar.C:
942         * renderers.C:
943         add #include "LColor.h".
944
945 2003-09-16  Angus Leeming  <leeming@lyx.org>
946
947         * renderers.C:  LyXFont::setColor no longer return a LyXFont &, so cannot string
948         calls together.
949
950 2003-09-15  Angus Leeming  <leeming@lyx.org>
951
952         * inset.[Ch] (setBackgroundColor, backgroundColor):
953         * insettext.[Ch] (setFrameColor):
954         pass EnumLColor args, rather than LColor::color ones.
955
956 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
957
958         * insetcommand.C
959         * insetexternal.C
960         * insetfloat.C
961         * insetgraphics.C
962         * insetinclude.C
963         * insetminipage.C
964         * insetnote.C
965         * insettabular.C
966         * insetwrap.C: remove usage of STRCONV
967
968 2003-09-15  Angus Leeming  <leeming@lyx.org>
969
970         * renderers.C (draw):
971         * insetlatexaccent.C (draw): explicitly define the color passed to
972         the painter.
973
974 2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
975
976         * insettext.C: remove block causing problems in lockInsetInInset
977         (mentioned erroneously under Bug #1366)
978
979 2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
980
981         * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
982         in the process
983
984 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
985
986         * several files: change Assert to BOOST_ASSERT
987
988 2003-09-09  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * insettext.[Ch]: remove drawText[XY]Offset
991
992 2003-09-08  Angus Leeming  <leeming@lyx.org>
993
994         * insetcollapsable.C:
995         * insetenv.C:
996         * insetinclude.C:
997         * insetlabel.C:
998         * insetoptarg.C:
999         * insetspecialchar.C:
1000         * insettabular.C:
1001         * insettext.C:
1002         * insettoc.C: remove redundant using directives.
1003
1004 2003-09-07  Angus Leeming  <leeming@lyx.org>
1005
1006         * insetspace.h:
1007         * insetspecialchar.h: remove #include "support/std_string.h".
1008
1009 2003-09-06  Angus Leeming  <leeming@lyx.org>
1010
1011         * renderers.C: add #include "insets/inset.h"
1012
1013 2003-09-05  Angus Leeming  <leeming@lyx.org>
1014
1015         * *.C: strip out redundant #includes. (193 in total.)
1016
1017 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1018
1019         * insets/insetbibtex.[Ch]:
1020         * insets/insetcommand.h:
1021         * insets/insetfloatlist.[Ch]:
1022         * insets/insetinclude.[Ch]:
1023         * insets/insettoc.[Ch]: Restricts the mouse click functionality
1024         of insets like bibtex, include, toc and floatlist to the visible
1025         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1026         up the dialogs. Cursor has to be in front of the inset (i.e.
1027         start of row) for this to function.
1028
1029 2003-09-04  Angus Leeming  <leeming@lyx.org>
1030
1031         * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1032         structure outside of the Format struct. Format::preambleName refers to
1033         an item in the map of all preamble snippets.
1034         Make use of the new Debug::EXTERNAL flag.
1035
1036         * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1037         (validate): Small change due to the changed storage of preamble snippets.
1038
1039 2003-09-04  Angus Leeming  <leeming@lyx.org>
1040
1041         * insetgraphics.C: #include "support/os.h"
1042
1043         * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1044         * insettabular.h: move #include "FuncStatus.h" out of the header file.
1045         * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1046
1047         * insetcollapsable.h:
1048         * insetbranch.C:
1049         * insetnote.C: move #include "funcrequest.h" out of the header file.
1050
1051 2003-09-03  Angus Leeming  <leeming@lyx.org>
1052
1053         * insetexternal.C (updateExternal):
1054         * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1055         latex.
1056
1057 2003-09-03  Angus Leeming  <leeming@lyx.org>
1058
1059         * insetexternal.C: don't bring namespace lyx::support into the global
1060         namespace.
1061
1062 2003-09-02  Martin Vermeer  <martin.vermeer@hut.fi>
1063
1064         * insetbranch.C: Add Branch: to label
1065
1066 2003-09-02  John Levon  <levon@movementarian.org>
1067
1068         * insettext.h:
1069         * insettext.C: remove cursor.i[xy]()
1070
1071 2003-08-28  Angus Leeming  <leeming@lyx.org>
1072
1073         * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1074         "sh ", enabling the conversion to be carried out even if the script
1075         is not executable.
1076
1077 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1078
1079         * most files: change to use const Buffer refs
1080
1081 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * insetfootlike.C: whitespace.
1084
1085 2003-08-26  John Levon  <levon@movementarian.org>
1086
1087         * insetenv.h:
1088         * insetcaption.h:
1089         * insetindex.h: remove remaining mentions of needFullRow()
1090
1091 2003-08-26  André Pönitz  <poenitz@gmx.net>
1092
1093         * insetfoot.C:
1094         * insetnewline.C:
1095         * insetquotes.C:
1096         * insettabular.C:
1097         * inset.[Ch]: remove InsetOld::par_owner_ & handling
1098
1099 2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
1100
1101         * insetbranch.C: Small fix to prevent a crash on loading.
1102
1103 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1104
1105         * inset.h:
1106         * insetbibtex.[Ch]:
1107         * insetbranch.[Ch]:
1108         * insetcollapsable.h:
1109         * insetert.[Ch]:
1110         * insetfloatlist.[Ch]:
1111         * insetfootlike.[Ch]:
1112         * insetinclude.[Ch]:
1113         * insetindex.[Ch]:
1114         * insetindex.h:
1115         * insetminipage.h:
1116         * insetnote.[Ch]:
1117         * insettext.C:
1118         * insettheorem.[Ch]:
1119         * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1120         altogether, putting the logic in metrics/draw in the insets.=20
1121         Draws short single row insets with more or less realistic metrics.
1122
1123 2003-08-19  André Pönitz  <poenitz@gmx.net>
1124
1125         * insettext.C: use new RowPainter interface
1126
1127 2003-08-18  John Levon  <levon@movementarian.org>
1128
1129         * insetref.C: require amsmath for eqref
1130
1131 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1132
1133         * Makefile.am:
1134         * inset.h:
1135         * insetbranch.[Ch]: implements the 'branch inset'
1136         idea. This allows the output of various versions of a document
1137         from a single source version, selectively outputing or suppressing
1138         output of parts of the text.
1139         This implementation contains a 'branch list editor' in a separate
1140         tab of the document settings dialog. Branches are user definable
1141         and have a "display colour" to distinguish them on-screen.
1142
1143         ColorHandler was somewhat cleaned up.
1144         (1) make possible a dynamically growing LColor list by allowing
1145         the graphic context cache to grow along (vector);
1146         (2) eliminate an IMHO unnecessary step in colour allocation.
1147
1148 2003-08-15  André Pönitz  <poenitz@gmx.net>
1149
1150         * insettext.[Ch]: adjust after rowlist split
1151
1152 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1153
1154         * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1155           rename valign-center to valign-middle;
1156           rename VALIGN_CENTER to VALIGN_MIDDLE
1157
1158 2003-08-11  André Pönitz  <poenitz@gmx.net>
1159
1160         * inset.h: remove resizeLyXText
1161
1162         * insetcaption.C:
1163         * insetcollapsable.[Ch]:
1164         * insetminipage.C:
1165         * insettabular.[Ch]: adjust
1166
1167         * insettext.[Ch]: remove saveLyXTextState,
1168          restoreLyXTextStat, sstate, reinitLyXText
1169
1170 2003-08-07  André Pönitz  <poenitz@gmx.net>
1171
1172         * inset.[Ch]: move non-crucial functions out-of-line
1173
1174         * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1175         remove duplicated code.
1176
1177 2003-08-05  André Pönitz  <poenitz@gmx.net>
1178
1179         * insetbibitem.C:
1180         * insetcollapsable.[Ch]:
1181         * insetcommand.C:
1182         * insetert.C:
1183         * insetexternal.C:
1184         * insetfloat.C:
1185         * insetgraphics.C:
1186         * insetinclude.C:
1187         * insetlabel.C:
1188         * insetminipage.C:
1189         * insetnote.C:
1190         * insettabular.[Ch]:
1191         * insettext.[Ch]:
1192         * insetwrap.C:
1193         * updatableinset.[Ch]: rip out "deep update"
1194
1195         * insettext.C (localDispatch): merge cases with default branch
1196
1197         * insettext.C (frame_x,y,w,h): replace member with automatic variables
1198
1199         * insettabular.[Ch] (updateLocal): simplify logic
1200
1201 2003-08-04  André Pönitz  <poenitz@gmx.net>
1202
1203         * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1204   is 'FULL' all the time.
1205
1206 2003-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * insetert.C (get_new_label): only add ... to the (closed) label
1209         when the string has been shortened
1210
1211 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1212
1213         * Always use std::endl with lyxerr
1214
1215 2003-08-01      Martin Vermeer  <martin.vermeer@hut.fi>
1216
1217         * insetnote.C: update \author list
1218
1219 2003-07-31  André Pönitz  <poenitz@gmx.net>
1220
1221         * insetcollapsable.h:
1222         * insettabular.[Ch]:
1223         * insettext.[Ch]: remove toggleSelection
1224
1225 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         (with help from Juergen Spitzmueller)
1228         * insetnote.C: add add i18n support. Use Prefs-definable
1229         colours for Comment and Greyedout.
1230
1231 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1232
1233         * insetcollapsable.[Ch]:
1234         * insetnote.C:
1235         * insetert.C: factor out the detection of clicking on the inset
1236       button as 'hitButton'. John Levon contributed.
1237
1238 2003-07-30  André Pönitz  <poenitz@gmx.net>
1239
1240         * insetcollapsable.C:
1241         * insetfootlike.C:
1242         * insettabular.C: parantheses, localize vars etc.
1243
1244 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1245
1246         * insetnote.C: Implement a newenvironment in preamble for
1247         greyedout. Patch provided by Jürgen Spitzmüller.
1248
1249 2003-07-29  Angus Leeming  <leeming@lyx.org>
1250
1251         * insetcommand.C (localDispatch): default to
1252         InsetOld::localDispatch.
1253
1254         * insetbibitem.C (localDispatch):
1255         * insetbibtex.C (localDispatch): remove call to
1256         ChangeCitationsIfUnique.
1257
1258         * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1259
1260         * insetexternal.C (read): use pushpophelper.
1261
1262 2003-07-28  José Matos  <jamatos@lyx.org>
1263
1264         * insetext.C (read): \end_document replaces \the_end.
1265
1266 2003-07-28  José Matos  <jamatos@fep.up.pt>
1267
1268         * insetert.C (write): \layout -> \begin_layout.
1269         Add missing \end_layout.
1270
1271 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1272
1273         * insetquotes.C: document a bit the format
1274
1275         * insettabular.C (write): remove extra space
1276
1277 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
1278         * insetnote.C: Umpf. Hope I *now* get it right :-(
1279
1280 2003-07-28  Martin Vermeer  <martin.vermeer@hut.fi>
1281         *insetnote.C: did the right fix to greyedout: \color
1282         instead of \textcolor.
1283
1284 2003-07-28  Angus Leeming  <leeming@lyx.org>
1285
1286         * insetbibtex.h: remove extraneous forward declaration.
1287
1288         * insetbibitem.h:
1289         * insetbibtex.h: Also remove long-dead Holder member class
1290         and variable.
1291
1292 2003-07-27  Martin Vermeer  <martin.vermeer@hut.fi>
1293
1294         * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1295         least.
1296
1297 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1298
1299         * insetwrap.C (addToToc): adjust for lyx::toc
1300
1301         * insetfloatlist.C (ascii): adjust for lyx::toc
1302
1303         * insetfloat.C (addToToc): adjust for lyx::toc
1304
1305 2003-07-27  José Matos  <jamatos@fep.up.pt>
1306
1307         * insetnote.h (linuxdoc,docbook): update support.
1308
1309 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1310
1311         * insetfloat.C (wide): add a space to label, for consistency
1312
1313 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1314
1315         * insettext.C (nextChange): adjust for lyx::find
1316         (searchForward): ditto
1317         (searchBackward): ditto
1318
1319 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * insetgraphicsParams.C:
1322         * insetexternal.C: declare extern displayTranslator
1323
1324         * insetexternal.C:
1325         * renderers.C: add #include "support/LAssert.h"
1326
1327 2003-07-27  José Matos  <jamatos@fep.up.pt>
1328
1329         * insetfloat.[Ch] (linuxdoc):
1330         * insetgraphics.C (linuxdoc):
1331         * insettabular.C (linuxdoc):
1332         * insettext.[Ch] (linuxdoc): add support for tables and figures
1333         (linuxdoc).
1334
1335 2003-07-27  José Matos  <jamatos@fep.up.pt>
1336
1337         * insetinclude (latex): comply with makeLaTeXFile argument change.
1338
1339 2003-07-26  Asger Alstrup  <alstrup@local>
1340
1341         * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1342         the undo crashes. We'll see what problems other places this will
1343         cause.
1344
1345 2003-07-26  Angus Leeming  <leeming@lyx.org>
1346
1347         * insetgraphics.C: remove unused declaration of system_tempdir.
1348
1349 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1350
1351         * rename Inset to InsetOld
1352
1353         * all inset files (clone): return a auto_ptr<InsetBase>
1354
1355 2003-07-23  Angus Leeming  <leeming@lyx.org>
1356
1357         * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1358
1359 2003-07-23  Angus Leeming  <leeming@lyx.org>
1360
1361         * mailinset.[Ch] (inset2string):
1362         * insetcommand.[Ch] (inset2string):
1363         * insetert.[Ch] (inset2string):
1364         * insetexternal.[Ch] (inset2string):
1365         * insetfloat.[Ch] (inset2string):
1366         * insetgraphics.[Ch] (inset2string):
1367         * insetinclude.[Ch] (inset2string):
1368         * insetminipage.[Ch] (inset2string):
1369         * insetnote.[Ch] (inset2string):
1370         * insettabular.[Ch] (inset2string):
1371         * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1372
1373         * insetexternal.[Ch]:
1374         * insetgraphics.[Ch]: get rid of the view() function. Associated
1375         changes to the mailers' string2params and params2string functions.
1376
1377 2003-07-23  Angus Leeming  <leeming@lyx.org>
1378
1379         * insetexternal.[Ch]: store the external file name in a FileName
1380         member variable rather than a string + associated changes.
1381
1382 2003-07-21  Angus Leeming  <leeming@lyx.org>
1383
1384         * insetgraphicsParams.[Ch]: store the graphics file name in
1385         a FileName member variable rather than a string.
1386
1387         * insetgraphics.[Ch]:
1388         * insetgraphicsParams.[Ch]: Associated changes.
1389
1390 2003-07-21  Angus Leeming  <leeming@lyx.org>
1391
1392         * insetgraphics.[Ch] (string2params, params2string): passed a
1393         buffer_path argument.
1394         (view): new method.
1395
1396 2003-07-21  Angus Leeming  <leeming@lyx.org>
1397
1398         * insetexternal.C:
1399         * insetgraphicsParams.[Ch]:
1400         * insetinclude.C:
1401         * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1402
1403 2003-07-21  Martin Vermeer  <martin.vermeer@hut.fi>
1404
1405         * insetnote.C: fixed greyout and conditionals layout foul-ups.
1406
1407 2003-07-18  André Pönitz  <poenitz@gmx.net>
1408
1409         * insetert.[Ch]:
1410         * insetminipage.[Ch]:
1411         * insettabular.[Ch]:
1412         * insettext.[Ch]:
1413         * insetwrap.[Ch]:
1414         * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1415
1416 2003-07-18  André Pönitz  <poenitz@gmx.net>
1417
1418         * inset.[Ch]:
1419         * insetbibitem.C:
1420         * insetcollapsable.C:
1421         * insetcommand.C:
1422         * insetert.C:
1423         * insetexternal.C:
1424         * insetgraphics.[Ch]:
1425         * insetlatexaccent.[Ch]:
1426         * insetminipage.C:
1427         * insetnewline.C:
1428         * insetquotes.C:
1429         * insetspace.C:
1430         * insetspecialchar.C:
1431         * insettabular.[Ch]:
1432         * insettext.[Ch]:
1433         * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1434
1435 2003-07-17  André Pönitz  <poenitz@gmx.net>
1436
1437         * insetcollapsable.C:
1438         * insettabular.C:
1439         * insettext.C: don't call Inset::update() anymore
1440
1441         * insettext.[Ch]:
1442         * insettabular.[Ch]: remove unneeded in_update_ members
1443
1444         * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1445
1446 2003-07-16  André Pönitz  <poenitz@gmx.net>
1447
1448         * insettext.C (selectAll): remove
1449
1450 2003-07-16  John Levon  <levon@movementarian.org>
1451
1452         * insetnote.h:
1453         * insetnote.C: implement showInsetDialog()
1454
1455 2003-07-15  André Pönitz  <poenitz@gmx.net>
1456
1457         * insettabular.C:
1458         * insettext.C: refresh_status tristate -> need_update bool
1459
1460 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1461
1462         * insettext.C: adjust call to LyXText::init
1463
1464 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1465
1466         * insettext.C: use bufferview_funcs->replaceSelection()
1467         to delete selections in some cases (bugs 441, 673, 702, 954).
1468
1469 2003-07-14  André Pönitz  <poenitz@gmx.net>
1470
1471         * insettext.C (draw): use slimmed down rowpainter interface
1472
1473 2003-07-14  André Pönitz  <poenitz@gmx.net>
1474
1475         * insetcollapsable.C:
1476         * insetert.C:
1477         * insettext.[Ch] (cy, ciy, setUpdateStatus):
1478         remove unused BufferView * argument
1479
1480 2003-07-14  André Pönitz  <poenitz@gmx.net>
1481
1482         * insettext.[Ch]: used cached metrics a bit more
1483
1484 2003-07-10  Alfredo Brauntein  <abraunst@libero.it>
1485
1486         * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1487
1488 2003-07-10  André Pönitz  <poenitz@gmx.net>
1489
1490         * insettabular.C:
1491         * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1492
1493 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1494
1495         * introduce namespace lyx::graphics
1496
1497 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1498
1499         * introduce namespace lyx::support
1500
1501 2003-06-30  André Pönitz  <poenitz@gmx.net>
1502
1503         * insetcite.C (localDispatch): fix case of missing return value
1504
1505         * insetcite.C (ascii): remove unneeded temporary
1506
1507 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * insetspace.h: fix \file
1510
1511         * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1512         * insetinclude.C (fillWithBibKeys): ditto
1513
1514         * insetbibitem.C: fix type const order
1515
1516         * inset.C (getLyXText): add varname for arg
1517
1518         * ExternalTemplate.h: fix type const order
1519
1520 2003-06-27  André Pönitz  <poenitz@gmx.net>
1521
1522         * insettext.C: take care of removed LyXCursor::row_ member
1523
1524         * insettext.[Ch]: use new TextCursor struct for sstate
1525
1526 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1527
1528         * inseterror.[Ch]: removed
1529
1530 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1531
1532         * insetinclude.C (docbook): use parseError instead of sgmlError
1533
1534 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1535
1536         * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1537         of BufferList::loadLyXFile
1538
1539 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1540
1541         * insettext.C (update): simplify
1542         (updateLocal): remove commented code
1543         (insetUnlock): simplify
1544         (lockInset): simplify
1545         (updateInsetInInset): simplify
1546         (localDispatch): simplify
1547         (setFont): simplify
1548         (resizeLyXText): simplify
1549         (collapseParagraphs): simplify
1550
1551         * insetert.C (get_new_label): simplify
1552
1553 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1554
1555         * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1556         pasteSelection with index
1557
1558 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1561
1562 2003-06-16  André Pönitz  <poenitz@gmx.net>
1563
1564         * insetbase.h: new virtual base function clone()
1565
1566         * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1567           Inset * clone()  ->  InsetBase * clone()
1568
1569 2003-06-13  André Pönitz  <poenitz@gmx.net>
1570
1571         * insettabular.[Ch]: make tabular a proper member
1572
1573 2003-06-12  André Pönitz  <poenitz@gmx.net>
1574
1575         * insettabular.[Ch]: some renaming plus whitespace
1576
1577 2003-06-11  Angus Leeming  <leeming@lyx.org>
1578
1579         * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1580         Add renderers.[Ch].
1581
1582         * insetbutton.[Ch]: removed.
1583         * graphicinset.[Ch]: renamed as renderers.[Ch].
1584
1585         * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1586         Create a new class ButtonRenderer using the InsetButton::metrics() and
1587         draw() functions.
1588         Derive both from a common RenderedInset base class.
1589
1590         * insetcommand.[Ch]:
1591         * insetinclude.[Ch]: derive from Inset, not InsetButton.
1592         Give it a ButtonRenderer member variable. Use it.
1593         Give the classes working copy c-tors.
1594         No longer derive from boost::noncopyable.
1595
1596         * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1597         display its contents as a button or as a graphic.
1598
1599         * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1600         GraphicRenderer.
1601
1602 2003-06-11  Angus Leeming  <leeming@lyx.org>
1603
1604         * insetcite.C (localDispatch): reformat.
1605
1606         * insetref.C (localDispatch): enable dialog to be lauched.
1607
1608 2003-06-11  John Levon  <levon@movementarian.org>
1609
1610         * insettabular.C: correctly mark all cells as erased
1611
1612 2003-06-11  Angus Leeming  <leeming@lyx.org>
1613
1614         * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1615         ExternalTemplate but its name, templatename. This means that a file
1616         containing a reference to an External Template not installed on the
1617         current machine will be saved retaining this info rather than inserting
1618         the first "valid" template from the list of templates.
1619
1620         As a by product, the visual statement that the Template is missing is
1621         now very clear!
1622
1623 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1624
1625         * insettext.C (appendParagraphs): remove some commented code.
1626
1627 2003-06-10  Angus Leeming  <leeming@lyx.org>
1628
1629         * graphicinset.[Ch] (view): removed the publicly accessible function to set
1630         the cache.
1631
1632         * insetexternal.[Ch]: move tempname_ into the Params struct.
1633         (Params d-tor): new function, to clean-up this temp file.
1634         (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1635         (cache): removed.
1636         (editExternal, doSubstitution): move out of class.
1637
1638 2003-06-10  Angus Leeming  <leeming@lyx.org>
1639
1640         * graphicinset.[Ch] (params): removed.
1641         * graphicinset.h (operator=): declared private but not defined.
1642         (statusMessage): made private.
1643
1644         * insetexternal.[Ch]: graphic_ renamed as renderer_.
1645
1646 2003-06-07  John Levon  <levon@movementarian.org>
1647
1648         * insetert.C (latex): make a newline mean just that not
1649         a new par
1650
1651 2003-06-07  José Matos  <jamatos@fep.up.pt>
1652
1653         * insethfill.[Ch] (linuxdoc, docbook): implement output
1654         * insetspace.C (linuxdoc, docbook): remove coments as the code
1655         is correct.
1656
1657 2003-06-06  José Matos  <jamatos@fep.up.pt>
1658
1659         * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1660
1661 2003-06-06  André Pönitz  <poenitz@gmx.net>
1662
1663         * insetwrap.[Ch]: code compactification
1664
1665 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1666
1667         * mailinset.C (updateDialog): use Dialogs::visible
1668
1669 2003-06-04  Angus Leeming  <leeming@lyx.org>
1670
1671         * graphicinset.C (draw): add a comment for the #if 0 block.
1672
1673         * insetexternal.h: remove Params::parameters variable.
1674         * insetexternal.C (read, write): rewrite to output new ExternalInset format
1675         and read it back making full use of LyXLex.
1676
1677 2003-06-04  André Pönitz  <poenitz@gmx.net>
1678
1679         * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1680
1681 2003-06-04  John Levon  <levon@movementarian.org>
1682
1683         * insettabular.C: back out tall table speed up. It was broken
1684
1685 2003-06-03  Angus Leeming  <leeming@lyx.org>
1686
1687         * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1688         Remove ViewCommand and UpdateCommand.
1689
1690         * graphicinset.C (update): bug fix. Set the params before calling the
1691         loader.
1692         * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1693         BufferView cache to enable the InsetExternal::editCommand to be invoked
1694         from the frontends. Would not be needed if this were dispatched properly.
1695         (old_ascent_): variable removed.
1696
1697         * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1698         do any necessary conversions of external material. Also use the
1699         new GraphicsInset to display the inset within LyX.
1700
1701 2003-06-03  Angus Leeming  <leeming@lyx.org>
1702
1703         * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1704         and move it somewhere where InsetExternal can use it too.
1705
1706         * Makefile.am: add the new files.
1707
1708         * insetgraphics.[Ch]: make use of the new GraphicInset.
1709
1710 2003-06-03  John Levon  <levon@movementarian.org>
1711
1712         * inset.h:
1713         * insetbibitem.[Ch]:
1714         * insetbibtex.h:
1715         * insetcite.h:
1716         * insetcommand.[Ch]:
1717         * insetenv.[Ch]:
1718         * inseterror.h:
1719         * insetert.[Ch]:
1720         * insetexternal.[Ch]:
1721         * insetfloat.[Ch]:
1722         * insetfloatlist.h:
1723         * insetfoot.[Ch]:
1724         * insetgraphics.[Ch]:
1725         * insethfill.h:
1726         * insetinclude.[Ch]:
1727         * insetindex.h:
1728         * insetlabel.h:
1729         * insetlatexaccent.[Ch]:
1730         * insetmarginal.[Ch]:
1731         * insetminipage.[Ch]:
1732         * insetnewline.h:
1733         * insetnote.[Ch]:
1734         * insetoptarg.[Ch]:
1735         * insetquotes.[Ch]:
1736         * insetref.[Ch]:
1737         * insetspace.[Ch]:
1738         * insetspecialchar.[Ch]:
1739         * insettabular.[Ch]:
1740         * insettext.[Ch]:
1741         * insetthereom.[Ch]:
1742         * insettoc.h:
1743         * inseturl.h:
1744         * insetwrap.[Ch]: make clone() not take a Buffer * arg
1745
1746         * insetgraphics.[Ch]:
1747         * insetgraphicsParams.[Ch]: always store an absolute
1748         path at runtime
1749
1750 2003-06-02  André Pönitz  <poenitz@gmx.net>
1751
1752         * inseterror.C:
1753         * insetgraphics.C:
1754         * insetlatexaccent.C: remove duplicated call to metrics()
1755
1756 2003-06-02  John Levon  <levon@movementarian.org>
1757
1758         * insettabular.C: fix resize of column width
1759
1760 2003-06-02  John Levon  <levon@movementarian.org>
1761
1762         * Makefile.am:
1763         * inset.h:
1764         * insetparent.h:
1765         * insetparent.C: remove insetparent
1766
1767 2003-06-02  André Pönitz  <poenitz@gmx.net>
1768
1769         * inset.[Ch]:
1770         * insetbase.h:
1771         * insetbibtex.[Ch]:
1772         * insetbutton.[Ch]:
1773         * insetcaption.C:
1774         * insetcollapsable.[Ch]:
1775         * inseterror.[Ch]:
1776         * insetert.[Ch]:
1777         * insetfootlike.C:
1778         * insetgraphics.[Ch]:
1779         * insetinclude.[Ch]:
1780         * insetlatexaccent.[Ch]:
1781         * insetminipage.[Ch]:
1782         * insetnewline.[Ch]:
1783         * insetquotes.[Ch]:
1784         * insetspace.[Ch]:
1785         * insetspecialchar.[Ch]:
1786         * insettabular.[Ch]:
1787         * insettext.[Ch]: unify first drawing phase
1788
1789         * inset.[Ch]:
1790         * insetbase.h: move validate() to the base
1791
1792 2003-05-31  Angus Leeming  <leeming@lyx.org>
1793
1794         * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1795
1796 2003-05-30  André Pönitz  <poenitz@gmx.net>
1797
1798         * inset.h:
1799         * insetbase.h:
1800         * insetbutton.[Ch]:
1801         * insetcaption.[Ch]:
1802         * insetcollapsable.[Ch]:
1803         * inseterror.[Ch]:
1804         * insetert.[Ch]:
1805         * insetgraphics.[Ch]:
1806         * insetinclude.[Ch]:
1807         * insetlatexaccent.[Ch]:
1808         * insetnewline.[Ch]:
1809         * insetquotes.[Ch]:
1810         * insetspace.[Ch]:
1811         * insetspecialchar.[Ch]:
1812         * insettabular.[Ch]:
1813         * insettext.[Ch]:
1814         * updatableinset.[Ch]: unify second drawing phase
1815
1816 2003-05-30  John Levon  <levon@movementarian.org>
1817
1818         * insetgraphics.C: fix a bformat
1819
1820 2003-05-29  John Levon  <levon@movementarian.org>
1821
1822         * insettabular.C: remove unused bufferOwner()
1823
1824 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * insettext.C (lockInsetInInset): adjust
1827         (getLabelList): use const_iterator, adjust
1828         (getInsetFromID): use const_iterator, adjust
1829         (addPreview): use const_iterator, adjust
1830
1831         * insetwrap.C (clone): remove const_cast
1832
1833         * insetnote.C (clone): remove const_cast
1834
1835         * insetminipage.C (clone): remove const_cast
1836
1837         * insetmarginal.C (clone): remove const_cast
1838
1839         * insetfoot.C (clone): remove const_cast
1840
1841         * insetfloat.C (clone): remove const_cast
1842
1843         * insetert.C (clone): remove const_cast
1844
1845         * delete commented same_id functions from a lot of files.
1846
1847 2003-05-28  John Levon  <levon@movementarian.org>
1848
1849         * insetcite.C:
1850         * insetinclude.C:
1851         * insetindex.C:
1852         * insetparent.C:
1853         * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1854
1855         * insetminipage.C: fix metrics (bug 1144)
1856
1857 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * insettext.C (saveLyXTextState): adjust
1860         (restoreLyXTextState): adjust
1861         (init): adjust
1862         (lockInset): adjust
1863         (unlockInsetInInset): adjust
1864         (localDispatch): adjust
1865         (getLyXText): adjust
1866
1867         * insettabular.C (insertAsciiString): adjust
1868
1869 2003-05-27  André Pönitz  <poenitz@gmx.net>
1870
1871         * insetbutton.C:
1872         * insetcollapsable.C:
1873         * inseterror.C:
1874         * insetgraphics.C:
1875         * insetlatexaccent.C:
1876         * insetminipage.C:
1877         * insetnewline.C:
1878         * insetquotes.C:
1879         * insetspace.C:
1880         * insetspecialchar.C:
1881         * insettabular.C:
1882         * insettext.C: dim.w -> dim.wid
1883
1884 2003-05-26  John Levon  <levon@movementarian.org>
1885
1886         * insettabular.C: avoid drawing all of a long table
1887         if it's not needed. A big speedup
1888
1889 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * remove same_id from function signatures, adjust
1892
1893 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1894
1895         * insettext.C (InsetText): adjust
1896         (clear): adjust
1897         (setParagraphData): separate same_id cases, adjust
1898         (appendParagraphs): adjust
1899         (appendParagraphs): adjust
1900
1901 2003-05-23  André Pönitz  <poenitz@gmx.net>
1902
1903         * insetbutton.h: whitespace
1904
1905         * insettabular.C: more compact code
1906
1907         * updatableinset.C: remove const_cast
1908
1909
1910 2003-05-23  Angus Leeming  <leeming@lyx.org>
1911
1912         * insetexternal.C (write): check how many lines are output.
1913         (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1914         if the template has defined it.
1915
1916 2003-05-23  Angus Leeming  <leeming@lyx.org>
1917
1918         * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1919
1920 2003-05-23  Angus Leeming  <leeming@lyx.org>
1921
1922         * insetfoot.C (latex):
1923         * inseturl.C (latex): rename fragile as moving_arg.
1924
1925 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * inseterror.C (localDispatch): comment out unused var.
1928
1929 2003-05-22  Angus Leeming  <leeming@lyx.org>
1930
1931         * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1932         passed through the LatexRunParams arg.
1933
1934 2003-05-22  Angus Leeming  <leeming@lyx.org>
1935
1936         * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1937         through the LatexRunParams arg.
1938
1939         * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1940         arg rather than through a global var.
1941
1942 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1943
1944         * insetspecialchar.C (dimension): use a string.
1945
1946 2003-05-22  Angus Leeming  <leeming@lyx.org>
1947
1948         * insetbibtex.C (latex):
1949         * insetgraphics.C (latex):
1950         * insetinclude.C (latex): extract the buffer's 'nice'ness from
1951         runparams rather than from the buffer itself.
1952
1953 2003-05-22  Angus Leeming  <leeming@lyx.org>
1954
1955         * inset*.[Ch] (latex):
1956         passed a LatexRunParams parameter.
1957
1958         * insetgraphics.C (latex): actually use it ;-)
1959
1960 2003-05-22  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * insetfloat.C (addToToc): trivial compile fix
1963
1964 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1965
1966         * insettext.[Ch] (paragraph): delete unused function
1967
1968         * insetfloat.C (addToToc): parlist simplfication
1969
1970 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1971
1972         * insetspace.[Ch]: added (new space insets)
1973         * Makefile.am:
1974         * inset.h: handle new space insets
1975
1976 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * insetfloat.C (addToToc): adjust
1979
1980 2003-05-21  André Pönitz  <poenitz@gmx.net>
1981
1982         * insettext.[Ch]: fix drawing bug introduced earlier
1983
1984 2003-05-19  André Pönitz  <poenitz@gmx.net>
1985
1986         * insetspecialchar.C: fix bug introduced yesterday
1987
1988 2003-05-19  André Pönitz  <poenitz@gmx.net>
1989
1990         * inset.[Ch]:
1991         * insetbutton.[Ch]:
1992         * insetcollapsable.[Ch]:
1993         * inseterror.[Ch]:
1994         * insetert.[Ch]:
1995         * insetfoot.[Ch]:
1996         * insetgraphics.[Ch]:
1997         * insetgraphicsParams.[Ch]:
1998         * insetlatexaccent.[Ch]:
1999         * insetminipage.[Ch]:
2000         * insetnewline.[Ch]:
2001         * insetquotes.[Ch]:
2002         * insetspecialchar.[Ch]:
2003         * insettabular.[Ch]:
2004         * insettext.[Ch]: dimensions() instead of ascend/descend/width
2005
2006 2003-05-19  André Pönitz  <poenitz@gmx.net>
2007
2008         * insetenv.[Ch]:
2009         * insettext.C: more insetenv
2010
2011 2003-05-16  André Pönitz  <poenitz@gmx.net>
2012
2013         * insetcommand.C:
2014         * insetminimpage.[Ch]:
2015         * insetcollapsable.[Ch]: fix #832
2016
2017 2003-05-16  André Pönitz  <poenitz@gmx.net>
2018
2019         * inset.[Ch]:
2020         * insetbibitem.[Ch]:
2021         * insetbibtex.[Ch]:
2022         * insetbutton.[Ch]:
2023         * insetcite.[Ch]:
2024         * insetcollapsable.[Ch]:
2025         * insetcommand.[Ch]:
2026         * inseterror.[Ch]:
2027         * insetert.[Ch]:
2028         * insetexternal.[Ch]:
2029         * insetfloatlist.[Ch]:
2030         * insetgraphics.[Ch]:
2031         * insetinclude.[Ch]:
2032         * insetindex.[Ch]:
2033         * insetlabel.[Ch]:
2034         * insetlatexaccent.[Ch]:
2035         * insetparent.[Ch]:
2036         * insetref.[Ch]:
2037         * insettabular.[Ch]:
2038         * insettext.[Ch]:
2039         * insettoc.[Ch]:
2040         * inseturl.[Ch]:
2041         * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2042
2043 2003-05-13  André Pönitz <poenitz@gmx.net>
2044
2045         * insetbibitem.C:
2046         * insetcollapsable.C:
2047         * insetert.C:
2048         * insetfloat.C:
2049         * insetinclude.C:
2050         * insetwrap.C: tostr from own header
2051
2052         * insetcommand.C:
2053         * insetexternal.C:
2054         * insetfloat.C:
2055         * insetfloat.h:
2056         * insetgraphics.C:
2057         * insetinclude.C:
2058         * insetminipage.C:
2059         * insetparent.C:
2060         * insettabular.C:
2061         * insettext.C:
2062         * insetwrap.C: STRCONV
2063
2064
2065 2003-05-12  André Pönitz <poenitz@gmx.net>
2066
2067         * insetcaption.C:
2068         * insetexternal.C:
2069         * insetfloat.C:
2070         * insetfloatlist.C:
2071         * insetgraphics.C:
2072         * insetinclude.C:
2073         * insetminipage.C:
2074         * insetminipage.C:
2075         * insettabular.C:
2076         * insettext.C:
2077         * insetwwrap.C:  boost::format -> bformat  all over the place
2078
2079 2003-05-05  André Pönitz <poenitz@gmx.net>
2080
2081         * insettext.h: add missing #include <map>
2082
2083 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * insettext.C (InsetText): parlist cleanup
2086         (clear): ditto
2087         (edit): ditto
2088         (insetUnlock): ditto
2089         (lockInset): ditto
2090         (lockInsetInInset): ditto
2091         (cx): ditto
2092         (cix): ditto
2093         (getLyXText): ditto
2094         (searchBackward): ditto
2095         (collapseParagraphs): ditto
2096
2097 2003-05-06  John Levon  <levon@movementarian.org>
2098
2099         * insetcaption.C: don't cast wrap inset to InsetFloat
2100
2101         * insetfloat.h:
2102         * insetfloat.C: remove unneeded type() function
2103
2104 2003-05-05  André Pönitz <poenitz@gmx.net>
2105
2106         * inset.h:
2107         * insettext.[Ch]:
2108         * insettabular.[Ch]:
2109         * insetcollapsable.[Ch]: remove unused function firstParagraph()
2110         replace getFirstParagraph() by getParagraphs()
2111
2112 2003-05-03  John Levon  <levon@movementarian.org>
2113
2114         * insetcollapsable.h:
2115         * insetcollapsable.C:
2116         * insettabular.h:
2117         * insettabular.C:
2118         * insettext.h:
2119         * insettext.C:
2120         * updatableinset.h:
2121         * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2122         hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2123         getCursor(). Remove explicit cursor hides.
2124
2125 2003-05-02  André Pönitz <poenitz@gmx.net>
2126
2127         * insettext.C: remove unneeded &*
2128
2129 2003-04-30  John Levon  <levon@movementarian.org>
2130
2131         * insettabular.C: fix edit message
2132
2133 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2134
2135         * insettext.C (setFont): do not convert iterator -> pointer
2136
2137         * insettabular.C (localDispatch): do not convert iterator -> pointer
2138         (setFont): ditto
2139         (tabularFeatures): ditto
2140
2141 2003-04-29  André Pönitz <poenitz@gmx.net>
2142
2143         * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2144
2145 2003-04-28  André Pönitz <poenitz@gmx.net>
2146
2147         * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2148           Changes
2149
2150 2003-04-25 André Pönitz <poenitz@gmx.net>
2151
2152         * insetenv.C: derive from InsetText instead of InsetCollapsable
2153
2154 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2155
2156         * insetexternal.C (string2params): dont do anything if the string
2157         is empty.
2158         * insetgraphics.C (string2params): ditto
2159         * insetcommand.C (string2params): ditto
2160         * insetert.C (string2params): ditto
2161         * insetfloat.C (string2params): ditto
2162         * insetinclude.C (string2params): ditto
2163         * insetminipage.C (string2params): ditto
2164         * insettabular.C (string2params): ditto
2165         * insetwrap.C (string2params): ditto
2166
2167 2003-04-24  André Pönitz <poenitz@gmx.net>
2168
2169         * insetref.C: support for eqref
2170
2171 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2172
2173         * insetert.C (read): use ParagraphList::iterator.
2174
2175 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * insetquotes.C (latex): comment some code and add warnings.
2178
2179 2003-04-14   Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * insetexternal.C (localDispatch): added a missing DISPATCHED
2182
2183 2003-04-12  John Levon  <levon@movementarian.org>
2184
2185         * insetwrap.C (addToToc): fix a crash, conversion
2186         from while to for loop forgot to remove the explicit
2187         increment
2188
2189 2003-04-10  John Levon  <levon@movementarian.org>
2190
2191         * insettabular.C (tabularFeature): make sure
2192         to update the dialog when we change something
2193         (bug 1036).
2194
2195         (getStatus): don't disable some lfuns (bug 939)
2196
2197 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * insettext.C (saveLyXTextState): adjust
2200         (localDispatch): adjust
2201         (setFont): adjust
2202         (cx): adjust
2203         (cix): adjust
2204         (cpar): adjust
2205
2206         * insettabular.C (localDispatch): adjust
2207         (setFont): adjust
2208         (tabularFeatures): adjust
2209
2210 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2211
2212         * insettabular.C (searchForward,searchBackward): fix bug 782
2213
2214 2003-04-07  John Levon  <levon@movementarian.org>
2215
2216         * insettabular.C:
2217         * insettext.C: clear status message on inset exit
2218
2219 2003-04-03  John Levon  <levon@movementarian.org>
2220
2221         * insetcommand.C: return dispatched on DIALOG_UPDATE
2222
2223 2003-04-02  John Levon  <levon@movementarian.org>
2224
2225         * insettabular.C: tab lfuns renamed
2226
2227 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2228
2229         * insettext.C (update): move towards ParagraphList
2230         (updateLocal): ditto
2231         (edit): ditto
2232         (insetUnlock): ditto
2233         (lockInset): ditto
2234         (lockInsetInInset): ditto
2235         (updateInsetInInset): ditto
2236         (localDispatch): ditto
2237         (docbook): ditto
2238         (setFont): ditto
2239         (resizeLyXText): ditto
2240         (searchBackward): ditto
2241         (collapseParagraphs): ditto
2242         (addPreview): ditto
2243
2244         * insetwrap.C (InsetWrap): adjust
2245         (addToToc): adjust and rewrite loop
2246
2247         * insettext.[Ch] (paragraph): delete function
2248
2249         * insettabular.C (moveNextCell): adjust
2250         (movePrevCell): adjust
2251         (insertAsciiString): adjust
2252
2253         * insetfloat.C (InsetFloat): adjust
2254         (addToToc): adjust
2255
2256         * insetert.C (InsetERT): adjust
2257         (write): adjust, and rewrite loop
2258         (latex): adjust, and rewrite loop
2259         (linuxdoc): adjust, and rewrite loop
2260         (docbook): adjust, and rewrite loop
2261         (localDispatch): adjust
2262         (get_new_label): adjust
2263
2264 2003-04-01  John Levon  <levon@movementarian.org>
2265
2266         From Alfredo Braunstein
2267
2268         * insetbutton.h:
2269         * insetbutton.C: add localDispatch()
2270
2271         * insetcommand.C: return DISPATCHED when edit() called
2272
2273         * insettext.C: fix bug 967
2274
2275 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * insettext.C: adjust
2278
2279 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * insettext.C (draw): adjust
2282         (crow): return a RowList::iterator not a Row*
2283
2284         * insetminipage.C (localDispatch): adjust
2285
2286         * insetert.C (localDispatch): adjust
2287
2288 2003-03-31  John Levon  <levon@movementarian.org>
2289
2290         * insetgraphics.C:
2291         * insetgraphicsParams.C: use_gui moved to lyx_gui
2292
2293 2003-03-31  John Levon  <levon@movementarian.org>
2294
2295         * insettext.C: Alert fix
2296
2297 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2298
2299         * insettext.C (ascent): adjust for RowList
2300         (descent): ditto
2301         (draw): ditto
2302         (getLyXText): adjust
2303         (toggleSelection): adjust
2304
2305         * insetminipage.C (localDispatch): adjust for RowList
2306
2307         * insetert.C (localDispatch): adjust for RowList
2308         (getMaxWidth): adjust for RowList
2309
2310 2003-03-29  John Levon  <levon@movementarian.org>
2311
2312         * insetert.C: Alert cleanup
2313
2314 2003-03-29  John Levon  <levon@movementarian.org>
2315
2316         * insettabular.C: Alert fix
2317
2318 2003-03-28  John Levon  <levon@movementarian.org>
2319
2320         * insetfloat.C: reset label on INSET_MODIFY
2321
2322 2003-03-28  John Levon  <levon@movementarian.org>
2323
2324         * insetgraphicsParams.C: read subcaptionText as a whole line
2325         (bug 656)
2326
2327 2003-03-28  John Levon  <levon@movementarian.org>
2328
2329         * insettext.C: remove unused prototypes
2330
2331 2003-03-25  Angus Leeming  <leeming@lyx.org>
2332
2333         * insetbibitem.C (localDispatch): repaint the view after modifying
2334         a bibitem inset in case the maximum InsetBibitem width has changed.
2335
2336 2003-03-25  John Levon  <levon@movementarian.org>
2337
2338         * insettext.C:
2339         * insettabular.C: LyXText renamings
2340
2341 2003-03-24  John Levon  <levon@movementarian.org>
2342
2343         * insettext.C: remove some dead code. Fix bug 972 and
2344           related by posting a repaint in updateLocal(), and making
2345           the SEL functions set SELECTION.
2346
2347 2003-03-22  John Levon  <levon@movementarian.org>
2348
2349         * inset.h:
2350         * inset.C: remove no-longer-needed topx_set
2351
2352         * insetcollapsable.h:
2353         * insetcollapsable.C: remove dead code
2354
2355         * insetminipage.C:
2356         * insetert.C: rebreak the rows when a possible
2357           change in size is made, and reset the cursor
2358           (bug 962, bug 965)
2359
2360         * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2361
2362         * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2363           topx_set. Fix drawing errors for clearInset(). Remove
2364           some unnecessary uses of topx, which should die.
2365
2366         * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2367           is no longer needed. Replace it with an ugly hack.
2368
2369 2003-03-20  John Levon  <levon@movementarian.org>
2370
2371         * inset.h:
2372         * insetcollapsable.h:
2373         * insetcollapsable.C:
2374         * insetert.h:
2375         * insetert.C:
2376         * insetminipage.C:
2377         * insetminipage.C:
2378         * insettabular.h:
2379         * insettabular.C:
2380         * insettext.h:
2381         * insettext.C: remove spurious font parameter
2382         from update(). Fix drawing of ERT insets inside
2383         insets (bug 966). Remove unused mark_dirty from
2384         tabular's updateLocal()
2385
2386 2003-03-19  John Levon  <levon@movementarian.org>
2387
2388         * insetfloat.h:
2389         * insetfloat.C:
2390         * insetinclude.h:
2391         * insetinclude.C:
2392         * insetminipage.h:
2393         * insetminipage.C:
2394         * insetwrap.h:
2395         * insetwrap.C: remove unused getter/setters
2396
2397 2003-03-19  John Levon  <levon@movementarian.org>
2398
2399         * several files: bv->updateInset() doesn't take
2400         a bool mark_dirty any more
2401
2402 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * adjust for BufferView* arg removal from lyxtext.
2405
2406 2003-03-17  John Levon  <levon@movementarian.org>
2407
2408         * most files: remove the "cleared" parameter
2409         to draw in favour of always clearing. Associated
2410         code removal.
2411
2412 2003-03-16  John Levon  <levon@movementarian.org>
2413
2414         * insettext.C: remove unused s.refresh
2415
2416 2003-03-13  Angus Leeming  <leeming@lyx.org>
2417
2418         * insettext.C (edit): replace Dialogs::updateParagraph with
2419         BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2420
2421 2003-03-13  André Pönitz <poenitz@gmx.net>
2422
2423         * Makefile.am: insert insetenv
2424
2425         * insethenv.[Ch]: new files, currently inactive
2426
2427 2003-03-12  John Levon  <levon@movementarian.org>
2428
2429         * Makefile.am:
2430         * inset.h:
2431         * inset.C:
2432         * insetert.h:
2433         * insetert.C:
2434         * insetnewline.h:
2435         * insetnewline.C:
2436         * insetquotes.C:
2437         * insettext.C: use new insetnewline
2438
2439 2003-03-12  John Levon  <levon@movementarian.org>
2440
2441         * insettext.C: readToken became readParagraph
2442
2443 2003-03-12  John Levon  <levon@movementarian.org>
2444
2445         * insettext.C: use parlist iterator for reading contents
2446
2447 2003-03-12  John Levon  <levon@movementarian.org>
2448
2449         * insettext.C: name change to readToken()
2450
2451 2003-03-11  André Pönitz <poenitz@gmx.net>
2452
2453         * Makefile.am: insert insethfill
2454
2455         * insethfill.[Ch]: new files
2456
2457 2003-03-10  Angus Leeming  <leeming@lyx.org>
2458
2459         * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2460         BufferView * arg.
2461         (hideDialog): calls the new static Dialogs::hide() method.
2462
2463         * insetbibitem.C (edit):
2464         * insetbibtex.C (edit):
2465         * insetcite.C (edit):
2466         * insetcommand.C (localDispatch):
2467         * inseterror.C (d-tor):
2468         * insetert.C (showInsetDialog):
2469         * insetexternal.C (localDispatch, edit):
2470         * insetfloat.C (localDispatch, showInsetDialog):
2471         * insetfloatlist.C (edit):
2472         * insetgraphics.C (localDispatch, edit):
2473         * insetinclude.C (localDispatch, edit):
2474         * insetindex.C (edit):
2475         * insetlabel.C (edit):
2476         * insetminipage.C (localDispatch, showInsetDialog):
2477         * insetref.C (edit):
2478         * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2479         resetPos, showInsetDialog, openLayoutDialog):
2480         * insettoc.C (edit):
2481         * inseturl.C (edit):
2482         * insetwrap.C (localDispatch, showInsetDialog):
2483         changes due to the changed MailInset interface.
2484
2485 2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
2486
2487         * insetfloat.h: Set default placement to an empty string.
2488
2489 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2490
2491         * insettext.C (latex): adjust call to latexParagraphs.
2492
2493 2003-03-10  Angus Leeming  <leeming@lyx.org>
2494
2495         * mailinset.C: warn the user if the BufferView has not been cached.
2496
2497 2003-03-10  Angus Leeming  <leeming@lyx.org>
2498
2499         * inset.h, insetbase.h: move cache() and view() into InsetBase.
2500
2501         * insetcommand.h (inset):
2502         * insetert.h (inset):
2503         * insetexternal.h (inset):
2504         * insetfloat.h (inset):
2505         * insetgraphics.h (inset):
2506         * insetinclude.h (inset):
2507         * insetminipage.h (inset):
2508         * insettabular.h (inset):
2509         * insetwrap.h (inset):
2510         * mailinset.h (inset): return an InsetBase &, not an Inset &.
2511
2512 2003-03-10  Angus Leeming  <leeming@lyx.org>
2513
2514         * insetcommand.C (string2params):
2515         * insetexternal.C (string2params):
2516         * insetfloat.C (string2params):
2517         * insetgraphics.C (string2params):
2518         * insetinclude.C (string2params):
2519         * insetminipage.C (string2params):
2520         * insettabular.C (string2params):
2521         * insetwrap.C (string2params): cure warning message about missing
2522         '\end_inset'.
2523
2524 2003-03-09  Angus Leeming  <leeming@lyx.org>
2525
2526         * insettabular.[Ch]: define a new class InsetTabularMailer and use
2527         it to communicate with the frontend dialogs.
2528
2529         * mailinset.C (hideDialog): only hide the dialog if it is showing the
2530         contents of this inset!
2531
2532 2003-03-07  Angus Leeming  <leeming@lyx.org>
2533
2534         * inseterror.C (localDispatch): new method; calls edit() on
2535         LFUN_MOUSE_RELEASE.
2536
2537 2003-03-07  Angus Leeming  <leeming@lyx.org>
2538
2539         * insetbibitem.C (localDispatch):
2540         * insetbibtex.C (localDispatch):
2541         * insetlabel.C (localDispatch):
2542         rewrite as a switch.
2543
2544 2003-03-07  Angus Leeming  <leeming@lyx.org>
2545
2546         * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2547         it to communicate with the frontend dialogs.
2548
2549 2003-03-07  Angus Leeming  <leeming@lyx.org>
2550
2551         * insetexternal.C: remove operator== and operator!= for
2552         InsetExternal::Params. They were used only by the old controller
2553         scheme.
2554
2555 2003-03-07  Angus Leeming  <leeming@lyx.org>
2556
2557         * insetcommand.C (localDispatch):
2558         * insetexternal.C (localDispatch):
2559         * insetfloat.C (localDispatch):
2560         * insetinclude.C (localDispatch):
2561         * insetminipage.C (localDispatch):
2562         * insetwrap.C (localDispatch):
2563         add LFUN_INSET_DIALOG_UPDATE to the switch.
2564
2565 2003-03-07  Angus Leeming  <leeming@lyx.org>
2566
2567         * insetcommand.C (string2params):
2568         * insetexternal.C (string2params):
2569         * insetfloat.C (string2params):
2570         * insetinclude.C (string2params):
2571         * insetwrap.C (string2params): use LyXLeX more.
2572
2573         * insetert.[Ch]:
2574         * insetexternal.[Ch]:
2575         * insetfloat.[Ch]:
2576         * insetinclude.[Ch]:
2577         * insetwrap.[Ch]: change Mailer::name_ to be static.
2578
2579         * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2580         it to communicate with the frontend dialogs.
2581
2582 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
2583
2584         * insettext.C:
2585         * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2586
2587 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * insettext.C (updateLocal): un-const function
2590         (updateLocal): adjust
2591         (collapseParagraphs): un-const function
2592         (collapseParagraphs): adjust
2593
2594 2003-03-05  Angus Leeming  <leeming@lyx.org>
2595
2596         * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2597         it to communicate with the frontend dialogs.
2598
2599 2003-03-05  Angus Leeming  <leeming@lyx.org>
2600
2601         * insetcollapsable.C (draw): cache the BufferView.
2602
2603         * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2604         it to communicate with the frontend dialogs.
2605
2606 2003-03-05  Angus Leeming  <leeming@lyx.org>
2607
2608         * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2609         struct.
2610
2611 2003-03-05  Angus Leeming  <leeming@lyx.org>
2612
2613         * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2614
2615         * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2616         it to communicate with the frontend dialogs.
2617
2618 2003-03-05  Angus Leeming  <leeming@lyx.org>
2619
2620         * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2621         it to communicate with the frontend dialogs.
2622
2623 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * insettext.C (collapseParagraphs): adjust
2626         (appendParagraphs): make it take a Buffer* instead of a
2627         BufferParams& as arg.
2628         (appendParagraphs): adjust
2629
2630 2003-03-04  Angus Leeming  <leeming@lyx.org>
2631
2632         * insetbibitem.C (localDispatch):
2633         * insetbibtex.C (localDispatch):
2634         * insetcommand.C (localDispatch):
2635         * insetert.C (localDispatch):
2636         * insetlabel.C (localDispatch):
2637         handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2638
2639 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2640
2641         * insettext.C (latex): adjust for ParagraphList::iterator
2642
2643 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * insetbutton.C (view): adjust for boost 1.30.0
2646         * insetcollapsable.C (view): ditto
2647         * insetgraphics.C (statusChanged): ditto
2648
2649         * insettext.h: move paragraphs to be public.
2650
2651 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * insetnote.[Ch] (InsetNote): remove unused constructor
2654
2655 2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * insetgraphics.C: added include "format.h"
2658
2659 2003-02-27  Angus Leeming  <leeming@lyx.org>
2660
2661         * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2662         thingy.
2663
2664 2003-02-27  Angus Leeming  <leeming@lyx.org>
2665
2666         * insetbibitem.C (localDispatch):
2667         * insetbibtex.C (localDispatch):
2668         * insetcommand.C:
2669         * insetert:
2670         collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2671
2672 2003-02-26  Angus Leeming  <leeming@lyx.org>
2673
2674         * insetbibitem.[Ch] (localDispatch):
2675         * insetbibtex.[Ch] (localDispatch):
2676         new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2677
2678         * insetcommand.C (localDispatch):
2679         act only on receipt of LFUN_XYZ_APPLY.
2680
2681         * insetert.C (localDispatch): reformat.
2682         add LFUN_XYZ_APPLY to the switch.
2683
2684 2003-02-26  John Levon  <levon@movementarian.org>
2685
2686         * insettext.C: use RowPainter
2687
2688         * inset.h: make helpers take const *
2689
2690 2003-02-26  Angus Leeming  <leeming@lyx.org>
2691
2692         * insetcommand.[Ch] (localDispatch): new method.
2693
2694 2003-02-26  Angus Leeming  <leeming@lyx.org>
2695
2696         * insetinclude.C (draw): cache the BufferView* using cache not
2697         PreviewImpl::setView
2698
2699 2003-02-26  Alfredo Braunstein <abraunst@libero.it>
2700
2701         * insetgraphics.C (draw)
2702         * insetinclude.C (draw): Eliminate also the other argument (owner
2703         inset inset) in the call to PreviewImage::image
2704
2705 2003-02-25  Alfredo Braunstein <abraunst@libero.it>
2706
2707         * insetgraphics.C (draw)
2708         * insetinclude.C (draw): Eliminate Buferview argument in call to
2709         PreviewImage::image
2710
2711 2003-02-25  John Levon  <levon@movementarian.org>
2712
2713         * insetgraphicsParams.h:
2714         * insetgraphics.C: don't start a load process if
2715           the inset is set to NoDisplay (bug #920)
2716
2717 2003-02-22  John Levon  <levon@movementarian.org>
2718
2719         * insetfloat.C:
2720         * insetwrap.C: TocItem changed API (bug 913)
2721
2722 2003-02-21  Angus Leeming  <leeming@lyx.org>
2723
2724         * insetcollapsable.[Ch] (cache, edit):
2725         * insetbutton.[Ch] (cache, edit): new methods to cache the
2726         BufferView in the draw method.
2727
2728         * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2729         simplify comunication between InsetCommand-derived classes and
2730         the Dialogs.
2731
2732         * insetbibitem.[Ch]:
2733         * insetbibtex.[Ch]:
2734         * insetcite.[Ch]:
2735         * inseterror.[Ch]:
2736         * insetfloatlist.[Ch]:
2737         * insetindex.[Ch]:
2738         * insetref.[Ch]:
2739         * insettoc.[Ch]:
2740         * inseturl.[Ch]: small changes to reflect the new interface to the
2741         Dialogs code.
2742
2743         * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2744         other, similar classes.
2745
2746         * Makefile.am: add new files.
2747
2748 2003-02-21  Angus Leeming  <leeming@lyx.org>
2749
2750         * updatableinset.h (setView, view): remove.
2751         * inset.h (view, cache): to be replaced by these.
2752
2753         * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2754         insetbibtex.[Ch]:
2755
2756         * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2757         insetbibtex.[Ch].
2758
2759         * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2760
2761 2003-02-21  Allan Rae  <rae@lyx.org>
2762
2763         * insetinclude.C (loadIfNeeded): ensure loading also works when
2764         child document is under version control.
2765
2766 2003-02-17  André Pönitz <poenitz@gmx.net>
2767
2768         * insetbib.[Ch]: Adjust access to bibkeys
2769
2770 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2771
2772         * insetquotes.C (dispString): remove use of acute accent for "'"
2773         right quote.
2774
2775 2003-02-14  John Levon  <levon@movementarian.org>
2776
2777         * insettabular.C: changed method names in tabular.C
2778
2779 2003-02-14  John Levon  <levon@movementarian.org>
2780
2781         * inset.h:
2782         * inset.C:
2783         * insetcollapsable.h:
2784         * insetcollapsable.C:
2785         * insettabular.h:
2786         * insettabular.C:
2787         * insettext.h:
2788         * insettext.C: remove unused getParFromID()
2789
2790 2003-02-13  John Levon  <levon@movementarian.org>
2791
2792         * insettext.h:
2793         * insettext.C: remove unused beginningofMainBody()
2794
2795 2003-02-08  John Levon  <levon@movementarian.org>
2796
2797         * inset.h:
2798         * inset.C:
2799         * insetcollapsable.h:
2800         * insetcollapsable.C:
2801         * insettabular.h:
2802         * insettabular.C:
2803         * insettext.h:
2804         * insettext.C:
2805           add nextChange(). Make allowSpellcheck() const. Add markErased().
2806
2807         * insetert.C: ignore deleted text
2808
2809         * insettabular.C: make sure to keep change  tracking working
2810           properly.
2811
2812 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
2813
2814         * insetert.C:
2815         * insetgraphics.C:
2816         * insettabular.C:
2817         * insettext.C: Use error messages with identical spelling and punctuation
2818
2819 2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
2820
2821         * insetgraphics.C (draw, width): Fix spacing around graphics inset
2822
2823 2002-12-17  Juergen Vigna  <jug@lyx.org>
2824
2825         * insettext.C (localDispatch): hopefully fixed cursor up down
2826         movement on leaving other insets.
2827
2828 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
2829
2830         * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2831         and the like.
2832
2833 2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2834
2835         * insetgraphics.C (prepareFile): do not remove the extension of
2836         the file name if it is not the default extension for the given
2837         format (that is, in latex output, remove extension from foo.eps,
2838         but not from foo.epsi)
2839
2840 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
2841
2842         * insettext.C (lfunMouseRelease): hackish solution to the "double
2843         menu open" bug
2844
2845 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * insetfloat.C (addToToc): use the floats name not its type
2848         * insetwrap.C (addToToc): ditto
2849
2850 2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2851
2852         * insetnote.C (init): make label font smaller
2853
2854 2002-12-04  John Levon  <levon@movementarian.org>
2855
2856         * insetinclude.C: ressurect setting of command name
2857
2858 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * insetquotes.C (dispString): disambiguate insert call
2861
2862 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * several files: ws changes
2865
2866 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * insetquotes.C (dispString): use string::insert for prepending a
2869         char.
2870
2871 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2872
2873         * insetparent.C (getScreenLabel): use boost::format
2874
2875         * insetgraphics.C (prepareFile): use boost::format
2876         (ascii): ditto
2877
2878         * insetfloatlist.C (latex): use boost::format
2879
2880         * insetcaption.C (draw): use boost::format
2881
2882 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
2883
2884         * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2885         columns.
2886
2887 2002-11-20  Juergen Vigna  <jug@sad.it>
2888
2889         * insettabular.C (resetPos): temporary fix for endless loop in
2890         this function on a redraw.
2891
2892 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * insettabular.C (copySelection): STRCONV
2895
2896         * insetinclude.C (uniqueID): STRCONV
2897         (latexString): ditto
2898
2899         * insetgraphics.C: put VersionNumber inside anon namespace
2900         (createLatexOptions): STRCONV
2901
2902         * insetcommandparams.C: include config.h
2903
2904 2002-10-31  Rob Lahaye  <lahaye@snu.ac.kr>
2905
2906         * insetgraphicsParams.C (Write): use lyx::float_equal.
2907         Write height data correctly.
2908         (Read): zero scale when reading height data.
2909
2910 2002-10-30  John Levon  <levon@movementarian.org>
2911
2912         * insetfloat.C (addToTOC): recursively traverse all
2913           contents looking for captions (fix #568)
2914
2915 2002-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2916
2917         * insetexternal.C (doSubstitution): do not try to replace
2918         environment variables, this is done when executing the command
2919
2920 2002-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2921
2922         * insetexternal.C (doSubstitution): change order of substitution
2923         to work around ReplaceEnvironmentPath brokenness
2924
2925 2002-10-24  Rob Lahaye  <lahaye@snu.ac.kr>
2926
2927         * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2928
2929         * insetgraphicsParams.C (init, Write): associated changes
2930         * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2931         InsetGraphicsParams::scale.
2932
2933 2002-10-21  John Levon  <levon@movementarian.org>
2934
2935         * inset.h: remove unused DISPATCH_RESULT
2936
2937         * insettext.C: sgml open/close tag now in sgml namespace
2938
2939 2002-10-21  Angus Leeming  <leeming@lyx.org>
2940
2941         * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2942         file path subdir/fig.eps when pasting it into a buffer in a different
2943         directory.
2944
2945 2002-10-16  John Levon  <levon@movementarian.org>
2946
2947         * insetspecialchar.C: remove \\protected_separator parsing
2948
2949 2002-09-25  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2950
2951         * insetquote.C: fix LaTeX output of quotation marks.
2952
2953 2002-10-14  Juergen Vigna  <jug@sad.it>
2954
2955         * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2956         Backspace functions which confused the Undo handling.
2957
2958 2002-10-09  Angus Leeming  <leeming@lyx.org>
2959
2960         * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2961         BufferView::dispatch that turns off this optimisation when a new inset
2962         is inserted.
2963
2964         * insetcite.C (getNatbibLabel): correct logic of when and when not to
2965         reload the BibTeX keys.
2966
2967 2002-10-11  André Pönitz <poenitz@gmx.net>
2968
2969         * insettext.h: handle LFUN_PRIOR/NEXT
2970
2971 2002-07-30  Juergen Spitzmueller <j.spitzmueller@gmx.de>
2972
2973         * insetfloat.C: fix bug with float settings
2974         (document default != float default).
2975
2976 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
2977
2978         * insetwrap.C (addToToc): New method.
2979         (InsetWrap): Set layout to caption.
2980
2981 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2982
2983         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2984
2985 2002-09-16  John Levon  <levon@movementarian.org>
2986
2987         * insettabular.h: hasSelection() needs to be public
2988
2989 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
2990
2991         * insetgraphicsParams.C: use empty string as default for rotateOrigin
2992
2993 2002-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2994
2995         * insetgraphicsParams.C: use empty string as default for rotateOrigin
2996
2997 2002-09-11  André Pönitz <poenitz@gmx.net>
2998
2999         * insettabular.C: implement LFUN_WORDSEL
3000
3001 2002-09-10  John Levon  <levon@movementarian.org>
3002
3003         * insetinclude.h: remove unused param
3004
3005 2002-09-09  John Levon  <levon@movementarian.org>
3006
3007         * insetinclude.h:
3008         * insetinclude.C: remove noload, default to input
3009
3010 2002-09-29  Martin Vermeer  <martin.vermeer@hut.fi>
3011
3012         * insetgraphics.C: disfuscated use of ']' in built output string.
3013
3014 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3017
3018 2002-08-29  Juergen Vigna  <jug@sad.it>
3019
3020         * insettabular.C (lfunMousePress): Pay attention where you set
3021         the x/y values as they depend on which inset in the tabular is
3022         actually locked. So you surely have to reset them if you (un)lock
3023         a inset!
3024
3025 2002-08-29  André Pönitz <poenitz@gmx.net>
3026
3027         * insetfootlike.h: rename include guard to ALL CAPS
3028
3029         * insettext.C: swap object and first parameter for checkInsetHit calls
3030           as this functions has moved from BufferView to LyXText
3031
3032
3033 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
3034
3035         * insetgraphicsParams.C: remove local displayTranslator and use
3036         the one from graphics/GraphicsTypes.h.
3037
3038 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3039
3040         * insetfloat.C (wide): add BufferParams parameter
3041
3042         * insetfloatlist.C (read):
3043         (latex):
3044         (getScreenLabel):
3045         * insetfloat.C (latex):
3046         (floatname):
3047         * insetcaption.C (draw): use LyXTextClass::floats()
3048
3049 2002-08-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3050
3051         * insetoptarg.h: add std:: qualifier.
3052
3053 2002-08-26  Juergen Vigna  <jug@sad.it>
3054
3055         * insettext.C (localDispatch): ditto.
3056
3057         * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3058
3059 2002-08-25  John Levon  <levon@movementarian.org>
3060
3061         * inseturl.C: elide long URLs (bug 404)
3062
3063 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
3064
3065         * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3066         remove "Format Version <version_no.>" string from inset header
3067
3068         * insetgraphics.C:
3069         * insetgraphicsParams.[Ch]: Implement new graphics dialog
3070
3071         * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3072         a member of "grfx::Params" anymore.
3073
3074         * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3075
3076 2002-08-24  John Levon  <levon@movementarian.org>
3077
3078         * insetoptarg.h:
3079         * insetoptarg.C: ws, pedantry ...
3080
3081 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3082
3083         * insettext.C (collapseParagraphs): pasteParagraph now in global
3084         scope
3085         (appendParagraphs): ditto
3086
3087 2002-08-21  Dekel Tsur  <dekelts@tau.ac.il>
3088
3089         * insetcite.C (latex): Remove spaces only after commmas.
3090
3091 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * insettext.C: remove NO_COMPABILITY stuff
3094
3095 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * insettext.C (edit): use ParagraphList iterators
3098
3099         * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3100         (bibitemWidest): ditto
3101
3102 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * insettext.C: include <boost/bind.hpp>
3105         add using std::for_each
3106         (saveLyXTextState): use ParagraphsList::iterator
3107         (init): use for_each on paragraphlist iterators
3108         (InsetText): remove superflous setting cached_bview to 0
3109         (latex): reformat a bit
3110         (ascii): use paragraphlist iterators
3111         (validate): use for_each + boost bind
3112         (getLabelList): use paragraphlist iterators
3113         (deleteLyXText): use for_each + boost::bind
3114         (resizeLyXText): ditto
3115         (reinitLyXText): ditto
3116         (removeNewlines): use paragraphlist iterators
3117         (getParFromID): ditto
3118         (paragraph): use for_each + boost::bind
3119         (getInsetFromID): use paragraphlist iterators
3120         (getLabelList): typo fix
3121
3122 2002-08-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * insettext.C (read): assign tmp to paragraphs after return from
3125         call to parseSingleLyXformat2Token
3126
3127
3128 2002-08-13  Angus Leeming  <leeming@lyx.org>
3129
3130         * insetbib.C:
3131         * insetcite.C:
3132         * inseterror.C:
3133         * insetert.C:
3134         * insetexternal.C:
3135         * insetfloat.C:
3136         * insetfloatlist.C:
3137         * insetgraphics.C:
3138         * insetinclude.C:
3139         * insetindex.C:
3140         * insetminipage.C:
3141         * insetparent.C:
3142         * insetref.C:
3143         * insettabular.C:
3144         * insettext.C:
3145         * insettoc.C:
3146         * inseturl.C:
3147         changes due to the changed LyXView interface that now returns references
3148         to member variables not pointers.
3149
3150 2002-08-13  Angus Leeming  <leeming@lyx.org>
3151
3152         * inset.h:
3153         * insetcollapsable.h:
3154         * insetert.h:
3155         * insettabular.h:
3156         * insettext.h: forward-declare WordLangTuple
3157         (selectNextWordToSpellcheck) constify return type.
3158
3159         * inset.C:
3160         * insetcollapsable.C:
3161         * insetert.C:
3162         * insettabular.C:
3163         * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3164
3165 2002-08-12  Angus Leeming  <leeming@lyx.org>
3166
3167         * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3168
3169 2002-08-12  Juergen Vigna  <jug@sad.it>
3170
3171         * insetcollapsable.C (edit): ignore if entered when pressing mouse
3172         button 3.
3173
3174 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3175
3176         * insetbib.C (bibitemMaxWidth): ParagraphList changes
3177         (bibitemWidest): ditto
3178         * insettext.[Ch]: ditto
3179
3180 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * insettext.C, insetert.C: use Paragraph::empty where appropriate
3183
3184 2002-08-09  Angus Leeming  <leeming@lyx.org>
3185
3186         * insetinclude.C (latexString): remove fudge now that I've found out
3187         how to enable LaTeX to find the file using input@path.
3188
3189 2002-08-09  John Levon  <levon@movementarian.org>
3190
3191         * insettext.h:
3192         * insettext.C: remove unused xpos
3193
3194 2002-08-07  Juergen Vigna  <jug@lyx.org>
3195
3196         * insettabular.C (localDispatch): make delete not put the stuff
3197         in the clipboard only do this on a cut operation.
3198
3199         * insettext.C (localDispatch): make delete and backspace not put
3200         selected stuff to the clipboard.
3201
3202 2002-08-07  André Pönitz <poenitz@gmx.net>
3203
3204         * inset.[Ch]:
3205         * insetcollapsable.[Ch]:
3206         * insetert.[Ch]:
3207         * insetparent.[Ch]:
3208         * insetref.[Ch]:
3209         * insettabular.[Ch]:
3210         * insettext.[Ch]:  change (kb_action, arg) pair into a FuncRequest
3211
3212 2002-08-06  John Levon  <levon@movementarian.org>
3213
3214         * inset.h:
3215         * inset.C:
3216         * insetcollapsable.h:
3217         * insetcollapsable.C:
3218         * insetert.h:
3219         * insetert.C:
3220         * insettabular.h:
3221         * insettabular.C:
3222         * insettext.h:
3223         * insettext.C: use WordLangTuple for spellcheck
3224
3225 2002-08-06  Angus Leeming  <leeming@lyx.org>
3226
3227         * insetinclude.C: add a monitor to the previewed image, so that the
3228         image is refreshed if the \input-ed file changes.
3229
3230 2002-08-04  John Levon  <levon@movementarian.org>
3231
3232         * inset.h:
3233         * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3234
3235 2002-08-02  Angus Leeming  <leeming@lyx.org>
3236
3237         * insetcommandparams.[Ch] (preview): new methods returning and setting
3238         a new bool preview_ flag.
3239         (read): read this flag.
3240         (operator==): add flag to check.
3241
3242         * insetinclude.C (write): output new preview() flag.
3243         (previewWanted): use this flag.
3244
3245 2002-08-02  Angus Leeming  <leeming@lyx.org>
3246
3247         * insetcollapsable.[Ch] (addPreview):
3248         * insettabular.[Ch] (addPreview):
3249         * insettext.[Ch] (addPreview): new methods. Can now generate previews
3250         for insets in insets.
3251
3252 2002-08-02  Angus Leeming  <leeming@lyx.org>
3253
3254         * insetcite.C: fix typo.
3255
3256         * insetgraphics.C: kill current_view and instead cache the BufferView
3257         as a weak_ptr.
3258
3259         * insetinclude.C: kill current_view and pass the BufferView to the
3260         PreviewedInset so that it can cache it.
3261
3262 2002-08-01  Angus Leeming  <leeming@lyx.org>
3263
3264         * inset.h (generatePreview): renamed as addPreview.
3265         (generatePreview): new method. Allows code to be moved out of
3266         math_nestinset.C and into the new PreviewedInset class.
3267
3268         * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3269         add previews to the inset when \input-ing LaTeX.
3270
3271 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * several files: strip,frontStrip -> trim,ltrim,rtrim
3274
3275 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * insetbib.C (latex): modify because of strip changes
3278         (getKeys): ditto
3279         * insetnote.C (InsetNote): ditto
3280
3281 2002-07-26  Juergen Vigna  <jug@sad.it>
3282
3283         * insettabular.C (searchForward): check for lastcell if we
3284         had a locking inset.
3285
3286 2002-07-25  Juergen Vigna  <jug@sad.it>
3287
3288         * insettabular.C (insetMotionNotify): Don't update the screen
3289         if we didn't do nothing.
3290         (searchForward): last cell was not checked.
3291
3292 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
3293
3294         * insetfloat.C (read, write): Allow default placement
3295         (floatPlacement_ is empty).
3296
3297 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3298
3299         * insetminipage.h (noFontChange):
3300         * insettabular.h (noFontChange):
3301         * insetfootlike.h (noFontChange):
3302         * insetfloat.h (noFontChange): return true
3303
3304         * inset.h (noFontChange): new method, defaulting to false
3305
3306 2002-07-22  Herbert Voss  <voss@lyx.org>
3307
3308         * insetgraphicsParams.[Ch]: support size_type for old docs
3309
3310 2002-07-22  Herbert Voss  <voss@lyx.org>
3311
3312         * insetgraphics.C:
3313         * insetgraphicsParams.[Ch]: change size_type to size_kind and
3314         other small changes
3315
3316 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3317
3318         * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3319
3320         * insetlatexaccent.h: do not include "lyxlex.h"
3321
3322         * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3323
3324         * insetquotes.C:
3325         * insetlatexaccent.C:
3326         * insetgraphics.C:
3327         * insetexternal.C:
3328         * insetert.C:
3329         * insetbib.C: #include "lyxlex.h"
3330
3331         * insetinclude.C:
3332         * insetfloat.C:
3333         * insetert.C:
3334         * insetbib.C:
3335         * insettext.C: use BufferParams::getLyXTextClass
3336
3337
3338         * insetfloat.C (addToToc): new method. Add to toclist the entries
3339         corresponding to Caption layouts
3340         (InsetFloat): when creating a new float, set the layout to "Caption"
3341
3342 2002-07-21  Herbert Voss  <voss@lyx.org>
3343
3344         * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3345         image relevant part into graphics/GraphicsImgae.C
3346
3347 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3348
3349         * insettoc.C (ascii):
3350         * insetfloatlist.C (ascii): change to use the new Toc functions
3351         instead of stuff that was in Buffer
3352
3353 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3354
3355         * insettext.C (localDispatch): BufferView::Dispatch has been
3356         renamed to BufferView::dispatch
3357
3358 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3359
3360         * insetgraphicsParams.C (as_grfxParams): use the new
3361         keepLyXAspectRatio parameter. Note that this is an adaptation of a
3362         1.2.0 patch, and I do not really know how to adapt it to the new
3363         grfx::Cache world. Angus, please could you have a look?
3364
3365 2002-05-01  Herbert Voss  <voss@lyx.org>
3366
3367         * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3368
3369 2002-07-18  Angus Leeming  <leeming@lyx.org>
3370
3371         * insetgraphics.C: clean-up comments (from Herbert).
3372         add a new checksum variable to the cache. Use it in PrepareFile.
3373         (draw): start monitoring the file for a change.
3374         (prepareFile): re-arrange a little to avoid unnecessary steps.
3375
3376 2002-07-17  Angus Leeming  <leeming@lyx.org>
3377
3378         * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3379         a method rather than to the signal directly.
3380
3381 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
3382
3383         * insettext.C: use view_state_changed, switchKeyMap
3384
3385 2002-07-17  Herbert Voss  <voss@perce.de>
3386
3387         * insetgraphics.C (prepareFile): keep the extension when
3388         exporting to nice file
3389
3390 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3391
3392         * insetcite.C (getNatbibLabel):
3393         * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3394
3395 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
3396
3397         * insetgraphics.C: use ->isDrawable()
3398
3399 2002-07-12  Angus Leeming  <leeming@lyx.org>
3400
3401         * insetgraphics.C: use the new smart loading capabilities of the image
3402         loader.
3403
3404 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
3405
3406         * insettabular.C (edit): Move into correct cell when entering a
3407         tabular in
3408
3409         * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3410         RTL paragraphs.
3411
3412 2002-07-05  Angus Leeming  <leeming@lyx.org>
3413
3414         * inset.h (generatePreview): new virtual method.
3415
3416 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3417
3418         * insetcommandparams.[Ch] (operator=): move out of class
3419         (operator!): move out of class
3420
3421 2002-07-04  André Pönitz <poenitz@gmx.net>
3422
3423         * insetcommandparams.[Ch]: new files
3424
3425         * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3426
3427 2002-06-15  Herbert Voss  <voss@perce.de>
3428
3429         * insetgraphics.C (prepareFile): bugfix; return always
3430         files without extension
3431
3432 2002-06-28  Angus Leeming  <leeming@lyx.org>
3433
3434         * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3435         rename asGParams -> as_grfxParams.
3436
3437         * insetgraphics.C: reflect above change.
3438
3439 2002-06-26  Angus Leeming  <leeming@lyx.org>
3440
3441         * insetgraphics.h: use boost::scoped_ptr in preference to
3442         std::auto_ptr.
3443
3444 2002-06-26  Angus Leeming  <leeming@lyx.org>
3445
3446         * insetgraphics.C: moved the image loading stuff into a new class
3447         grfx::Loader. Simplifies this file enormously.
3448
3449         * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3450
3451         * insetgraphicsParams.C: changes aassociated with moving
3452         grfx::DisplayType out of grfx::GParams.
3453
3454 2002-06-26  André Pönitz <poenitz@gmx.net>
3455
3456         * insetgraphics.C: use os::external_path where necesaary according to a
3457         patch from Claus Hentschel)
3458
3459 2002-06-25  Angus Leeming  <leeming@lyx.org>
3460
3461         * insetgraphics.[Ch]: The inset now assumes the responsibility for
3462         generating a pixmap once the graphics file is loaded into memory.
3463         The current_view ugliness that was in grfx::ModifiedImage has been
3464         moved here now that grfx::ModifiedImage is no more.
3465
3466 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3467
3468         * insettext.C: layout as layout
3469
3470 2002-05-28  André Pönitz <poenitz@gmx.net>
3471
3472         * insetfloatlist.h: remove source of compiler warning
3473
3474         * insetref.C: tiny whitespace
3475
3476 2002-06-15  Herbert Voss  <voss@perce.de>
3477
3478         * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3479         and take always convert when no userdefined converter was
3480         found
3481         (latex) small changes in the lyxerr output
3482
3483 2002-06-15  LyX Development team <lyx@rilke>
3484
3485         * inset*.[Ch] (docbook): Added new argument to take the pernicious
3486         mixed content. Small white spaces clean.
3487
3488 2002-06-14  Angus Leeming  <leeming@lyx.org>
3489
3490         * inseetexternal.C: remove the using std::difftime declaration.
3491
3492 2002-06-13  Edwin Leuven  <leuven@fee.uva.nl>
3493
3494         * insetquotes.C: change lyxfont::draw to font_metrics::draw
3495
3496 2002-06-12  Vitaly Lipatov  <LAV@VL3143.spb.edu>
3497
3498         * insetquotes.C (draw): fix drawing of double quotes
3499
3500 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3501
3502         * insettabular.C: s/scrollCB/scrollDocView/
3503
3504 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3505
3506         * insettext.C: change of topCursorVisible()
3507           prototype
3508
3509 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3510
3511         * insettext.h:
3512         * insettext.C: rename/change of LyXScreen
3513
3514 2002-06-07  Angus Leeming  <leeming@lyx.org>
3515
3516         Fixes needed to compile with Compaq cxx 6.5.
3517         * insetexternal.C:
3518         all c-library variables have been moved into namespace std.
3519         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3520
3521 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3522
3523         * insetinclude.C (uniqueID):
3524         * insetgraphics.C (uniqueID): renamed from unique_id, since this
3525         conflicted with some AIX headers.
3526
3527 2002-05-31  Juergen Vigna  <jug@sad.it>
3528
3529         * insetert.C (get_new_label): add '...' for multi-paragraph ert
3530         insets too
3531         (update) new method
3532
3533 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3534
3535         * insetexternal.C (clone): fix () bug when using new
3536         (updateExternal): don't only look for difftime in global scope
3537
3538 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3539
3540         * insettabular.C: add const
3541
3542 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3543
3544         * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3545         file name, in case there are weird characters like ',' in there.
3546         (bug #407)
3547
3548 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3549
3550         * switch from SigC signals to boost::signals.
3551
3552 2002-05-28  André Pönitz <poenitz@gmx.net>
3553
3554         * insets/insetgraphicsParams.[Ch]:
3555           put in inset related stuff from src/graphic
3556
3557 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3558
3559         * inset.C:
3560         * inset.h:
3561         * insetbib.C:
3562         * insetbib.h:
3563         * insetcite.h:
3564         * insetcite.C:
3565         * insetcollapsable.C:
3566         * insetcollapsable.h:
3567         * inseterror.C:
3568         * inseterror.h:
3569         * insetert.C:
3570         * insetert.h:
3571         * insetexternal.C:
3572         * insetexternal.h:
3573         * insetfloatlist.C:
3574         * insetfloatlist.h:
3575         * insetgraphics.C:
3576         * insetgraphics.h:
3577         * insetinclude.C:
3578         * insetinclude.h:
3579         * insetindex.C:
3580         * insetindex.h:
3581         * insetlabel.C:
3582         * insetlabel.h:
3583         * insetparent.C:
3584         * insetparent.h:
3585         * insetref.C:
3586         * insetref.h:
3587         * insettabular.C:
3588         * insettabular.h:
3589         * insettext.C:
3590         * insettext.h:
3591         * insettoc.C:
3592         * insettoc.h:
3593         * inseturl.C:
3594         * inseturl.h: use mouse_state. Kill insetKeyPress
3595
3596 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3597
3598         * insetbib.C:
3599         * insetbutton.C:
3600         * insetcaption.C:
3601         * insetcollapsable.C:
3602         * inseterror.C:
3603         * insetgraphics.C:
3604         * insetlatexaccent.C:
3605         * insetquotes.C:
3606         * insetspecialchar.C:
3607         * insettabular.C:
3608         * insettext.C: name change for font metrics
3609
3610 2002-05-24  Juergen Vigna  <jug@sad.it>
3611
3612         * insetgraphics.h: include inset.h first (for LString.h)
3613
3614 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3615
3616         * insettext.C: screen moved
3617
3618 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3619
3620         * insetbib.C:
3621         * insetcite.C:
3622         * inseterror.C:
3623         * insetert.C:
3624         * insetexternal.C:
3625         * insetfloat.C:
3626         * insetfloatlist.C:
3627         * insetgraphics.C:
3628         * insetinclude.C:
3629         * insetindex.C:
3630         * insetminipage.C:
3631         * insetparent.C:
3632         * insetref.C:
3633         * insettabular.C:
3634         * insettext.C:
3635         * insettoc.C:
3636         * inseturl.C: LyXView moved into frontends/
3637
3638 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3639
3640         * inset.C:
3641         * insetbutton.C:
3642         * insetcaption.C:
3643         * insetcollapsable.C:
3644         * insetcommand.C:
3645         * inseterror.C:
3646         * insetgraphics.C:
3647         * insetgraphicsParams.C:
3648         * insetlatexaccent.C:
3649         * insetquotes.C:
3650         * insetspecialchar.C:
3651         * insettabular.C:
3652         * insettext.C: move Painter to frontends/
3653
3654 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3655
3656         * insettabular.h: use more specific smart_ptr header.
3657         * insettext.h: ditto
3658
3659         * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3660         (draw): ditto
3661
3662 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
3663
3664         * insettext.C: clear selection on paste (bug 393)
3665
3666 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
3667
3668         * insettext.C (latex): Honor the moving_arg argument.
3669
3670 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3671
3672         * insetfoot.C (latex): if a footnote is in a title layout, then it
3673         is a \thanks. And then, its contents is a moving argument.
3674
3675 2002-05-14  Juergen Vigna  <jug@sad.it>
3676
3677         * insetcollapsable.C (InsetCollapsable): forgot to initialize
3678         first_after_edit.
3679
3680 2002-05-09  Angus Leeming  <a.leeming@ic.ac.uk>
3681
3682         * Insetcite.C (getNatbibLabel): don't disable natbib label support
3683         when using options "Full author list" or "Upper case".
3684
3685 2002-05-14  Herbert Voss  <voss@perce.de>
3686
3687         * insetgraphics.C (prepareFile): allow files with same name
3688         in different dirs
3689         (readFigInset): set the flags from old figinset in the right
3690         manner
3691         (findTargetFormat): more comments
3692
3693 2002-05-14  Juergen Vigna  <jug@sad.it>
3694
3695         * insettext.C (edit): tell checkAndActivateInset() that we don't
3696         have a button press.
3697         (checkAndActivateInset): if button < 0 we don't have a button press
3698         on the inset and os we won't call edit on it if it's not a Highly
3699         editable inset (then we have to enter it).
3700
3701 2002-05-13  Juergen Vigna  <jug@sad.it>
3702
3703         * insetcollapsable.C (insetButtonRelease): returned wrong return
3704         value.
3705
3706 2002-05-09  Juergen Vigna  <jug@sad.it>
3707
3708         * insetcollapsable.C (edit): first_after_edit should only be
3709         set to true if we enter this inset and it was collapsed so we
3710         open it up. This is needed to reclose it after a search/replace
3711         or spellcheck function opened it and was negative.
3712
3713 2002-05-09  Dekel Tsur  <dekelts@tau.ac.il>
3714
3715         * insetfloat.C (latex): Return correct value.
3716
3717 2002-05-04  Herbert Voss  <voss@perce.de>
3718
3719         * InsetgraphicsParams.C (read): fix bug with WH
3720
3721 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
3722
3723         * insetfloat.C (latex): More sensible latex output
3724         (fix the problem with endfloat).
3725
3726 2002-05-02  José Matos  <jamatos@fep.up.pt>
3727
3728         * insetgraphics.C (validate): acess params as everyone else.
3729
3730 2002-05-03  Juergen Vigna  <jug@sad.it>
3731
3732         * insettabular.C (fitInsetCursor): recalculate the cursor position
3733         if I request it.
3734
3735 2002-05-01  Angus Leeming  <a.leeming@ic.ac.uk>
3736
3737         * InsetgraphicsParams.[Ch]: whitespace.
3738
3739 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
3740
3741         * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3742         float type do not exist.
3743
3744 2002-04-28  Herbert Voss  <voss@perce.de>
3745
3746         * insetgraphics.C (latex): fix bug with missing file-extension.
3747         LaTeX still allows a missing "eps" or "ps".
3748
3749 2002-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
3750
3751         * insetfloat.C (c-tor, wide): translate the name of the float.
3752
3753 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
3754
3755         * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3756         when using natbib and make it work efficiently. Must emphasise that the
3757         real work is Herbert's.
3758
3759 2002-04-23  Herbert Voss  <voss@perce.de>
3760
3761         * insetgraphic.C (prepareFile): fix bug with overwriting and
3762         deleting an existing *.eps-file in the doc-dir
3763
3764 2002-04-23  Juergen Vigna  <jug@sad.it>
3765
3766         * insettabular.C (drawCellSelection): fix off by 1 error.
3767
3768 2002-04-22  Juergen Vigna  <jug@sad.it>
3769
3770         * insettabular.C (setFont): rewoke full selection if it was asked,
3771         after we changed all we had to change.
3772
3773         * insettext.C (insetUnlock): code was uninitialized in some situations.
3774
3775 2002-04-19  Herbert Voss  <voss@perce.de>
3776
3777         * insetgraphic.C (prepareFile): return filename without
3778         extension if we only export without compiling
3779
3780 2002-04-19  Juergen Vigna  <jug@sad.it>
3781
3782         * insettext.C (draw): call a fullRebreak on the row where we had a
3783         change and reset the cursor and selection-cursors.
3784
3785         * insettabular.C (insetUnlock):
3786         (insetButtonPress): call an update before setting the_locking_inset = 0
3787         as otherwise we don't repaint!
3788         (update): reset the cursor position when we changed dimensions as
3789         otherwise our cursor may be on the wrong spot.
3790
3791 2002-04-18  Juergen Vigna  <jug@sad.it>
3792
3793         * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3794         (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3795         redraw otherwise we won't redraw.
3796
3797         * insettext.C (draw): fixed the setting of LyXText::first_y it was
3798         not really right before, but I only discovered this with the last
3799         changes to Page up/down.
3800
3801 2002-04-17  Juergen Vigna  <jug@sad.it>
3802
3803         * insettext.C (checkAndActivateInset): simplified as we now have the
3804         edit(bv, bool) call.
3805
3806         * insettext.h: changed behind variables to front variables to be
3807         equal to the one in the edit call (as it is for that they are used).
3808
3809 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
3810
3811         * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3812         not output anything at all!
3813
3814 2002-04-16  Juergen Vigna  <jug@sad.it>
3815
3816         * insettabular.C (insetButtonPress):
3817         (insetUnlock): call a redraw on unlocking the cell inset.
3818
3819         * insettext.C (insetButtonPress): same as below.
3820         (lockInset): new function to set initial values when inset should
3821         be locked.
3822         (insetButtonPress): use above function.
3823         (insetUnlock): don't force a repaint only set the updateStatus. The
3824         outside world should repaint if it thinks it should be done!
3825
3826         * insettabular.C (insetButtonPress): init values if not set as locked
3827         as we are locked if someone presses on us and don't call the edit()
3828         call of the InsetText to lock it do it as BufferView does it!
3829
3830         * inset.h (insetInInsetY): make func const and return an int.
3831         * insettext.C:
3832         * insettabular.C:
3833         * insetcollapsable.C: adapt the above changed function.
3834
3835 2002-04-15  Juergen Vigna  <jug@sad.it>
3836
3837         * insettext.C (getCursorPos): return relative position as to be able
3838         to give them directly to the edit() call.
3839         (edit): we have to set also x_fix as it is not set inside the
3840         setCursorFromCoordinates call!
3841         (insetMotionNotify): ditto.
3842
3843 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
3844
3845         * insetbib.C (getKeys): strip leading '\t's from the line too.
3846         With thanks to Henry Pfister <hpfister@ucsd.edu>.
3847
3848 2002-04-12  Juergen Vigna  <jug@sad.it>
3849
3850         * insettext.h: added cix() helper function and use it where appropriate
3851
3852 2002-04-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3853
3854         * insetgraphics.C (prepareFile): fix bug when graphics is a
3855         relative path
3856
3857 2002-04-12  Juergen Vigna  <jug@sad.it>
3858
3859         * insettext.C (insertInset): remove unneeded code!
3860         (updateLocal): fitCursor() fixes.
3861         (collapseParagraphs): fix a possible problem when having a selection
3862         and collapsing the paragraphs.
3863
3864 2002-04-08  Herbert Voss  <voss@perce.de>
3865
3866         * insetgraphic.C (write): write the rotating angle as
3867         a float as is. test only for != 0.0
3868
3869 2002-04-11  Juergen Vigna  <jug@sad.it>
3870
3871         * insettext.C: new function ciy() and use it for setting inset_y.
3872
3873         * insetert.C (draw): fix the x return for collapsed version.
3874
3875 2002-04-07  Herbert Voss  <voss@perce.de>
3876
3877         * insetgraphic.C (readFigInset): fix bug with subcaption and
3878         rotating
3879
3880 2002-04-08  Herbert Voss  <voss@lyx.org>
3881
3882         * insetgraphicsparam.C: forgot special option and delete old
3883         1.2.0 stuff
3884
3885 2002-04-05  Juergen Vigna  <jug@sad.it>
3886
3887         * insettext.C (localDispatch): make a CURSOR update if we inserted
3888         a character.
3889
3890 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3891
3892         * insetfloatlist.C (getScreenLabel):
3893         (latex): use Floating::listName
3894         (validate): new method
3895
3896 2002-04-03  José Matos  <jamatos@fep.up.pt>
3897
3898         * insetlabel.C (docbook): the anchor is an empty element in docbook.
3899
3900         * insetfoot.[Ch] (docbook): added forgotten method.
3901
3902 2002-04-03  Juergen Vigna  <jug@sad.it>
3903
3904         * insettext.C (insetButtonPress): fix insetButtonPress events the same
3905         way as in Bufferview_pimpl.
3906
3907 2002-04-03  Allan Rae  <rae@lyx.org>
3908
3909         * insetgraphics.C (latex): one % too many makes living on the bleeding
3910         edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3911
3912 2002-03-28  Herbert Voss  <voss@lyx.org>
3913
3914         * insetgraphic.C (latex): simplify the code for the latex
3915         output when the file doesn't exist
3916
3917 2002-03-29  Juergen Vigna  <jug@sad.it>
3918
3919         * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3920         unlocking inset.
3921
3922         * insettabular.C (edit): call fitCursor().
3923
3924         * insettext.C (insetButtonPress): change behaviour of no_selection
3925         to the one in the BufferView selection_possible and fix the spurious
3926         selection bug with it.
3927         (localDispatch): revoke selection on BREAK... functions.
3928
3929 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3930
3931         * insetfloatlist.C (getScreenLabel): translate the GUI label.
3932
3933 2002-03-28  Juergen Vigna  <jug@sad.it>
3934
3935         * insettabular.C (insetAllowed): return true as default value otherwise
3936         we're not able to insert insets inside paragraphs of an not locked
3937         insettext!
3938
3939 2002-03-27  Herbert Voss  <voss@lyx.org>
3940
3941         * insetgraphicsparam.C: change c%, p% to col%, page%
3942
3943 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3944
3945         * insetspecialchar.C (isLineSeparator): disable the nice code to
3946         allow linebreaks after hyphenation and menu separators.
3947
3948 2002-03-26  Herbert Voss  <voss@lyx.org>
3949
3950         * insetgraphics.C (figinsetRead): set the right lyxview
3951
3952 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
3953
3954         * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3955         $\backslash$ and pass a "string const &" to the function.
3956         (prepareFile, latex): use Path rather than MakeAbsPath.
3957
3958 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
3959
3960         * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3961         proper fix to the graphics cache.
3962         (latex): "really" nice output if the file is not found ;-)
3963
3964 2002-03-26  Juergen Vigna  <jug@sad.it>
3965
3966         * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3967         (collapseParagraphs): fixed inserting of separator ' '
3968
3969         * insettabular.C (insertAsciiString): only check for buffer lenght
3970         not if we have \t or \n inside the buffer as if we don't have we only
3971         have 1 cell and that's it!
3972
3973         * insetert.C (close): don't collapse if inlined.
3974
3975 2002-03-25  Herbert Voss  <voss@lyx.org>
3976
3977         * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3978         graphics file does not exist.
3979
3980 2002-03-25  Angus Leeming  <a.leeming@ic.ac.uk>
3981
3982         * insetgraphics.C (prepareFile): ensure that the file has an absolute
3983         path when preparing export.
3984
3985         * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3986         no longer MakeRelPath.
3987
3988 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
3989
3990         * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3991         Used to determine the absolute path to the graphics file in the
3992         graphics cache and only in the graphics cache.
3993         (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3994         make graphics file name absolute if it is stored as a relative path.
3995
3996         * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3997         make graphics file name absolute if it is stored as a relative path.
3998
3999         * insettext.C (edit): emit an updateParagraph signal on entering a text
4000         inset. Needs to be emitted when leaving the inset also.
4001
4002 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4003
4004         * all files: ws cleanup
4005
4006         * Makefile.am: remove ld -r stuff
4007
4008 2002-03-21  Juergen Vigna  <jug@sad.it>
4009
4010         * insettext.C (appendParagraphs): new function added to append
4011         the paragraphs to this insets paragraphs.
4012
4013 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4014
4015         * Makefile.am: special rules if partial linking
4016
4017 2002-03-19  Juergen Vigna  <jug@sad.it>
4018
4019         * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4020
4021 2002-03-18  Angus Leeming  <a.leeming@ic.ac.uk>
4022
4023         * insetgraphics.C: Clean up Baruch's comments a little.
4024         (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4025
4026 2002-03-14  John Levon  <moz@compsoc.man.ac.uk>
4027
4028         * insettabular.C:
4029         * insettheorem.C: wrap warnings
4030
4031         * insetgraphics.C: improve messages, move cached_status_
4032           setting to safer place
4033
4034 2002-03-18  Juergen Vigna  <jug@sad.it>
4035
4036         * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4037         calls.
4038         (localDispatch): ditto
4039
4040         * insettext.C (edit): removed unneeded showCursor calls.
4041         (localDispatch): ditto.
4042
4043 2002-03-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4044
4045         * insetgraphics.h: remove display() method.
4046
4047 2002-03-11  Juergen Vigna  <jug@sad.it>
4048
4049         * insetgraphics.C (draw): hack to fix the redrawing bug.
4050         (draw): seems this fixes #268 (force redraw of row if we changed).
4051
4052         * insettext.C (updateInsetInInset): fixed for updates in insets inside
4053         this inset text (don't know why I missed this earlier).
4054
4055 2002-03-08  Juergen Vigna  <jug@sad.it>
4056
4057         * insettabular.C (updateLocal): do a FULL update if we're not locked
4058         and only a CELL update is asked.
4059
4060         * insettext.C (updateInsetInInset): update insets inside inset also
4061         if it isn't inside the_locking_inset.
4062
4063         * insettabular.C (updateInsetInInset): ditto.
4064
4065 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4066
4067         * insetexternal.C (doSubstitution): check whether we are using a
4068         temp dir for defining $$FPath
4069
4070 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
4071
4072         * insettabular.C:
4073         * insettext.C: remove #include "WorkArea.h".
4074
4075 2002-03-06  Juergen Vigna  <jug@sad.it>
4076
4077         * insettext.C (draw): fixed frame redrawing.
4078         (clear): forgot to set the inset_owner of the paragraph.
4079
4080         * insetert.C (status): pay attention the bv can be 0 here!
4081         (getMaxWidth): add the default leftMargin
4082
4083 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4084
4085         * insetert.C (getMaxWidth): make w unsigned int.
4086
4087 2002-03-05  Juergen Vigna  <jug@sad.it>
4088
4089         * insetert.C (status): change behaviour of Inlined.
4090         (getMaxWidth): added for new inlined behaviour.
4091
4092 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4093
4094         * insetnote.h (linuxdoc, docbook): add empty methods.
4095         * insetinclude.C (validate): fix a case where buffer->niceFile was used
4096         before being initialized.
4097
4098 2002-03-05  Juergen Vigna  <jug@sad.it>
4099
4100         * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4101         only that one in the inset. Should be enough.
4102         (updateLocal): set the selection cursor always if we don't have a
4103         selection to be sure it's set!
4104
4105         * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4106
4107 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4108
4109         * insettext.C (clear): a gross hack to set layout on a newly
4110         created paragraph.
4111
4112 2002-03-04  Juergen Vigna  <jug@sad.it>
4113
4114         * insettabular.C (localDispatch): inserted handling of
4115         LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4116         (insertAsciiString): new helper function.
4117
4118 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4119
4120         * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4121         argument.
4122
4123 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4124
4125         * insettext.C (InsetText): initalize newly created par with
4126         default layout. add bufferparams parameter
4127         first -> first_y
4128
4129         * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4130         * insetcollapsable.[Ch] (InsetCollapsable): ditto
4131         * insetert.[Ch] (InsetERT): ditto
4132         * insetfloat.[Ch] (InsetFloat): ditto
4133         * insetfoot.[Ch] (InsetFoot): ditto
4134         * insetfootlike.[Ch] (InsetFootLike): ditto
4135         * insetmarginal.[Ch] (InsetMarginal): ditto
4136         * insetminipage.[Ch] (InsetMinipage): ditto
4137         * insetnote.[Ch] (InsetNote): ditto
4138         * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4139
4140 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4141
4142         * insettext.C: layout as string
4143
4144         * insetinclude.C: layout as string
4145
4146         * insetert.C: layout as string
4147
4148         * insetbib.C: layout as string
4149
4150 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4151
4152         * insetert.C:
4153         * insettabular.C: remove #include "lyx_gui_misc.h".
4154
4155 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4156
4157         * Makefile.am:
4158         * figinset.h:
4159         * figinset.C:
4160         * inset.h: remove figinset, yahoo !
4161
4162 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4163
4164         * insetgraphics.C (c-tors): initialise parent classes explicitly in
4165         copy c-tor and initialise member variables in the correct order.
4166
4167 2002-02-28  Juergen Vigna  <jug@sad.it>
4168
4169         * insettabular.C (localDispatch): clear selection on PgUp/Down.
4170
4171 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4172
4173         * inset.h: ... and add a better one here.
4174
4175         * insetcommand.C (insetButtonRelease): remove that one which was a
4176         bit broken...
4177
4178 2002-02-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4179
4180         * insetcommand.C (insetButtonRelease): ... and move it here.
4181
4182         * inseturl.h: remove insetButtonRelease from there...
4183
4184 2002-02-26  Juergen Vigna  <jug@sad.it>
4185
4186         * inseturl.h: Added a insetButtonRelease call returning true as
4187         prove of concept.
4188
4189         * insetlabel.C (edit): Fixed wrong update handling after change I
4190         leave in the wrong code for the one who wrote it to remove and have
4191         a look what he did wrong.
4192
4193         * insettabular.C (localDispatch): force a SELECTION update if we
4194         had a selection and we passed the event down to the inset (fix #213)
4195         (localDispatch): handle font changing stuff when we have a cell
4196         selection so that the selection is not rewoked. I don't really like
4197         this fix, but it's the only way I see to do it right now.
4198
4199 2002-02-22  Juergen Vigna  <jug@sad.it>
4200
4201         * insettext.C (insetUnlock): set the cursor to the second paragraph
4202         if available and if the first one is empty (fix #191).
4203
4204 2002-02-20  Juergen Vigna  <jug@sad.it>
4205
4206         * insettext.C (getDrawFont): implemented this function to call the
4207         one of the owner if present as the owner normally knows what to do
4208         with us.
4209
4210         * insetert.C: implement getDrawFont() function and comment out all
4211         the crap for setting a special latex font inside this inset.
4212         (InsetERT): added a Lanugage parameter to this constructor.
4213
4214         * inset.h: added function getDrawFont(LyXFont & font) to be able to
4215         change the font for being drawn on screen (used only in InsetERT for
4216         now).
4217
4218         * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4219         and also above (was missing).
4220         (updateLocal): don't remove the cell selection if we have one this
4221         should be done where we really want to remove it.
4222
4223 2002-02-20  José Matos  <jamatos@fep.up.pt>
4224
4225         * insetinclude.h: include_label made string const.
4226
4227         * insetinclude.C (InsetInclude): moved include_label initialization.
4228         (linuxdoc):
4229         (docbook):
4230         (validate): fix support for temporary directory, for docbook and
4231         linuxdoc.
4232
4233         * insetgraphics.h : new private member, graphic_label, that holds
4234         the entity name that defines the graphics location (SGML).
4235
4236         * insetgraphics.C (unique_id): new function to give a unique label
4237         for graphic.
4238         (docbook):
4239         (validate): the file locatation is given by an entity reference.
4240
4241 2002-02-18  Herbert Voss  <voss@lyx.org>
4242
4243         * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4244
4245 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
4246
4247         * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4248         as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4249
4250 2002-02-18  José Matos  <jamatos@fep.up.pt>
4251
4252         * insetinclude.C (validate): some code only applies to latex buffers,
4253         it was made conditional.
4254
4255 2002-02-12  Herbert Voss  <voss@lyx.org>
4256
4257         * insetgraphics.C: (prepareFile) do not check at this time
4258         if the file is present.
4259
4260 2002-02-12  Herbert Voss  <voss@lyx.org>
4261
4262         * insetgraphics.C: latex(), return the correct newlines
4263
4264 2002-02-13  José Matos  <jamatos@fep.up.pt>
4265
4266         * inseturl.C (docbook): escape & in url.
4267
4268 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4269
4270         * insetspecialchar.C (isLineSeparator): line breaking is allowed
4271         after HYPHENATION and MENU_SEPARATOR
4272
4273         * inset.h (isLineSeparator): new method, returns false by default.
4274
4275 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4276
4277         * insetert.C (status): do not update the text inset, but the ERT
4278         inset.
4279
4280 2002-02-11  John Levon  <moz@compsoc.man.ac.uk>
4281
4282         * insetnote.C: use notebg for background
4283
4284 2002-02-08  Herbert Voss  <voss@lyx.org>
4285
4286         * insetgraphic.C:
4287         * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4288         prevent LyX from unzipping when this should be handled
4289         by latex vis the graphic.cfg.
4290         clean up the code
4291
4292 2002-02-08  Herbert Voss  <voss@lyx.org>
4293
4294         * insetgraphic.C: prepareFile(): fix bug when file doesn't
4295         exists, than return filename with extension
4296
4297 2002-02-06  Herbert Voss  <voss@lyx.org>
4298
4299         * insetgraphic.C: prepareFile(): don't convert the file, when
4300         it's not viewed in LyX. Saves a lot of time when opening a
4301         document!
4302
4303 2002-02-05  Herbert Voss  <voss@lyx.org>
4304
4305         * insetgraphic.C:
4306         * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4307         and adding a rotate bool similiar to subcaption
4308
4309 2002-02-04  Herbert Voss  <voss@lyx.org>
4310
4311         * insetgraphic.C:
4312         * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4313         similiar view to the LaTeX one. Get zipped files work.
4314
4315 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
4316
4317         * insetgraphicsParams.C (init): set display to DEFAULT.
4318         No longer #include "lyxrc.h".
4319
4320 2002-02-04  Angus Leeming  <a.leeming@ic.ac.uk>
4321
4322         * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4323         for now (so that the code compiles).
4324
4325 2002-02-02  Herbert Voss  <voss@lyx.org>
4326
4327         * insetgraphic.C: delete inVariant() and some minor changes
4328         * insetgraphicsParams.[C]:
4329
4330 2002-02-01  Angus Leeming  <a.leeming@ic.ac.uk>
4331
4332         * insetgraphics.C (updateInset): if params.display == DEFAULT,
4333         interogate lyxrc.display_graphics before diaplaying the graphic.
4334
4335         * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4336         InsetGraphicsParams::DisplayType.
4337
4338 2002-01-31  Herbert Voss  <voss@lyx.org>
4339
4340         * insetgraphic.C: (readfigInset) set display to pref-default
4341
4342 2002-01-30  Herbert Voss  <voss@lyx.org>
4343
4344         * insetgraphic.C: get the filetyp from it's contents
4345         * insetgraphicparams.C: add token scale and lyxrc.display when
4346         creating a new inset
4347
4348 2002-01-30  Angus Leeming  <a.leeming@ic.ac.uk>
4349
4350         * figinset.C: added using std::ios directive.
4351
4352 2002-01-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4353
4354         * figinset.C (runqueue): open translation file in binary mode (for
4355         cygwin).
4356
4357 2002-01-27  Herbert Voss  <voss@lyx.org>
4358
4359         * insetgraphic.[Ch]: mostly newritten to support graphicx with
4360         all options and to be sure that the old figinsets are correct
4361         converted.
4362         * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4363         structure and to support all lengths as LyXLength. The Parameter
4364         structure changed again, but reading of "old" 1.2 graphic insets
4365         is no problem.
4366
4367 2002-01-20  Dekel Tsur  <dekelts@tau.ac.il>
4368
4369         * insetert.h (forceDefaultParagraphs): Added
4370
4371 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4372
4373         * insettabular.C (getMaxWidth):
4374         (forceDefaultParagraphs): use Tabular::GetCellFromInset
4375
4376 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4377
4378         * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4379         of LyXLength::inPixels
4380
4381         * inset.C (latexTextWidth):
4382         * insetminipage.C (latexTextWidth): new method, which implements
4383         the equivalent of the LaTeX macro \textwidth
4384
4385         * insetminipage.C (getMaxWidth): use latexTextWidth
4386
4387 2002-01-18  Juergen Vigna  <jug@sad.it>
4388
4389         * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4390
4391 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4392
4393         * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4394
4395         * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4396         instead of string
4397
4398 2002-01-17  Juergen Vigna  <jug@sad.it>
4399
4400         * insettabular.C (lockInsetInInset): same change as in insettext.
4401
4402         * insettext.C (draw): width() function was called without setting
4403         the right top_x which could lead to wrong insetWidth setting!
4404         (lockInsetInInset): call edit instead of calling lockInset if we
4405         have to lock an inset inside!
4406         (edit): we have to also tell the inset that we have to redraw the
4407         frame on an edit call if this inset draws a frame only if locked.
4408
4409 2002-01-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4410
4411         * insetbib.C (getFiles): uncomment Path variable.
4412
4413 2002-01-16  Juergen Vigna  <jug@sad.it>
4414
4415         * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4416         of wrong cell.
4417
4418 2002-01-16  Allan Rae  <rae@lyx.org>
4419
4420         * insetinclude.C (docbook): someone forgot a ";"
4421
4422 2002-01-16  José Matos  <jamatos@fep.up.pt>
4423
4424         * figinset.C (docbook): removed a old place holder "@".
4425         * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4426         * insetinclude.C (linuxdoc): if include is verbatim, then export the
4427         ascii text version, clearly guarded inside a CDATA section.
4428         (docbook): in docbook 4, inlinegraphics is empty.
4429         * insettabular.C (linuxdoc): export the ascii version of the table
4430         inside a CDATA section.
4431
4432 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4433
4434         * insetparent.C (InsetParent):
4435         * insetgraphicsParams.C (Write):
4436         (Read):
4437         * insetgraphics.C (prepareFile):
4438         (readFigInset):
4439         (docbook):
4440         * insetexternal.C (executeCommand):
4441         (doSubstitution): use Buffer::filePath
4442
4443         * insetbib.C (getFiles): add a #warning for Angus
4444
4445         * insetgraphics.C: Add a remark about how filenames should be
4446         considered to be relative to buffer (but absolute is still allowed)
4447         (draw): do not try to get status if lyxrc.use_gui is false
4448
4449 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4450
4451         * inset.[Ch]:
4452         * insetcollapsable.[Ch]:
4453         * insettabular.[Ch] (searchForward, searchBackward): change the
4454         bool const & params to bool.
4455
4456         * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4457         to avoid the name clash with InsetCollapsable's methods of the same
4458         names but different functionality.
4459
4460 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
4461
4462         * insettext.C (ascii): use lyx::count rather than countChar.
4463
4464 2002-01-14  John Levon  <moz@compsoc.man.ac.uk>
4465
4466         * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4467
4468 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4469
4470         * insetgraphics.C (updateInset): do not try to render image if
4471         lyxrc.use_gui is false (bug #104)
4472
4473         * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4474         if file does not exist
4475
4476         * figinset.C (browseFile): add shortcuts to directory buttons
4477
4478         * insettext.C (updateLocal): update menubar and toolbar here too.
4479
4480 2002-01-13  Allan Rae  <rae@lyx.org>
4481
4482         * insettabular.C (InsetTabular): Both constructors now initialise
4483         all class variables.
4484
4485 2002-01-11  Juergen Vigna  <jug@sad.it>
4486
4487         * insettext.C (insetButtonPress): set the_locking_inset to 0.
4488
4489 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4490
4491         * insettabular.C (getStatus): add forgotten brace around multiline
4492         if statement.
4493
4494 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4495
4496         * insetfloat.C (validate): require "float" instead of "floats".
4497
4498 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
4499
4500         * insettabular.C (getStatus): use FuncStatus
4501
4502 2002-01-08  Juergen Vigna  <jug@sad.it>
4503
4504         * insettabular.C (insetButtonRelease): now this should work too
4505         correctly.
4506
4507         * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4508         if the width is a percentage.
4509
4510         * inset.h: added isChar() function and implemented this for
4511         insetspecialchar insetquotes and insetlatexaccent.
4512         added forceDefaultParagraphs() and implemented it for insettabular.
4513
4514 2002-01-07  Juergen Vigna  <jug@sad.it>
4515
4516         * insettext.C (getLyXText): Fixed this function. An insert into the
4517         map is only done if we REALLY have a new BufferView.
4518
4519 2002-01-07  Martin Vermeer  <martin.vermeer@hut.fi>
4520
4521         * insettext.C: fix bug illustrated by attachment #37 of bug #59
4522
4523 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
4524
4525         * insetinclude.C: fix use of FileInfo
4526
4527 2002-01-07  Juergen Vigna  <jug@sad.it>
4528
4529         * insettabular.C (draw): fixed clearing of cell around inset.
4530
4531 2002-01-05  Juergen Vigna  <jug@sad.it>
4532
4533         * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4534         variables are updated.
4535
4536         * insettabular.C (resetPos): set always the inset_y as it may be
4537         needed in another function.
4538         (searchBackward): don't draw while searching.
4539
4540 2002-01-04  Juergen Vigna  <jug@sad.it>
4541
4542         * insettext.C (lockInsetInInset): forgot to set a cursor.
4543
4544 2002-01-02  Juergen Vigna  <jug@sad.it>
4545
4546         * insettext.C (insertInset): make the correct undo informations on
4547         inserting new insets.
4548
4549 2001-12-31  John Levon  <moz@compsoc.man.ac.uk>
4550
4551         * insettabular.C: correct single-cell select vertically
4552
4553 2001-12-27  Juergen Vigna  <jug@sad.it>
4554
4555         * insettabular.C (ascii): export as tab-separated-values if the
4556         function was not called from export (f.ex.: clipboard).
4557
4558         * insetcollapsable.h: added default support for ascii, linuxdoc and
4559         docbook export (the insettext is exported by default!)
4560
4561         * insettabular.C (copySelection): suff the clipboard with the tabular
4562         data in a tab separated format, seems more naturals then with all the
4563         formating.
4564
4565 2001-12-24  Juergen Vigna  <jug@sad.it>
4566
4567         * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4568         to check for REAL mouseMotion.
4569
4570 2001-12-20  Juergen Vigna  <jug@sad.it>
4571
4572         * inset.C (cursor): return the owners cursor if available instead of
4573         always only the bv->text->cursor.
4574
4575         * insettabular.C (checkLongtableSpecial): works now.
4576
4577 2001-12-19  Juergen Vigna  <jug@sad.it>
4578
4579         * insettabular.C (tabularFeatures): fix the row setting of ltt as
4580         this has to be always row + 1 as 0 means not selected!
4581         (checkLongtableSpecial): added
4582         (tabularFeatures): better longtable options support
4583
4584         * insettext.C (resizeLyXText): reinit the text always also on a
4585         empty insettext!
4586
4587 2001-12-18  Juergen Vigna  <jug@sad.it>
4588
4589         * insettext.C (updateInsetInInset): look if we have to autocollapse
4590         paragraps and return if the update is requested for ourself.
4591
4592         * insetert.C (status): update the insettext not myself as that is what
4593         we need.
4594
4595         * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4596         function only return if the update was requested with myself.
4597
4598         * insettext.C (insetButtonPress): fixed stupid bug.
4599         (various functions): pay attention that lt is cleared BEFORE calling
4600         updateLocal() and try to use it in the right manner (don't use it
4601         if it's not really neccessary!)
4602         (collapseParagraphs): insert a blank between collapsing paragraphs
4603         if neccessary (not already there!).
4604
4605 2001-12-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4606
4607         * insettabular.C: move includes around a bit, add a couple of
4608         consts.
4609
4610         * insettext.[Ch]: move includes around a bit, other ws changes and
4611         small stuff.
4612
4613 2001-12-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4614
4615         * insettext.C (insetButtonRelease): fix compile problem
4616
4617 2001-12-17  Juergen Vigna  <jug@sad.it>
4618
4619         * insettext.C (insetButtonPress): set the selection cursor!
4620         (insetButtonPress): clear the selection (and set with that the
4621         selection.cursor) if we only hit an inset!
4622
4623         * insetert.C (read): removed piece of compatibility code only needed
4624         for 1.2.0.
4625
4626         * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4627         can be opened.
4628
4629         * insetcollapsable.C (insetButtonRelease): changed so that it can
4630         open eventual existing popup dialogs on mousebutton==3.
4631
4632         * insetfloat.C (insetButtonRelease): removed not needed anymore!
4633
4634         * insetminipage.C (insetButtonRelease): removed not needed anymore!
4635
4636         * inset.C (insetButtonRelease): return a bool for telling the outer
4637         world that we opened a dialog.
4638
4639 2001-12-07  Juergen Vigna  <jug@sad.it>
4640
4641         * insettext.C (paragraph): remove the deleteing of paragraphs as
4642         it was a WRONG move!
4643
4644 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
4645
4646         * insettabular.h:
4647         * insettabular.C: use new setSelection(). Allow
4648           selection of single cells.
4649
4650 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4651
4652         * insetquotes.C (latex): fix to use the local language setting at
4653         the point where the inset is inserted (different macros for
4654         different french packages)
4655
4656 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4657
4658         * inset.h: add par_owner_ member variable and parOwner
4659         setter/accessor.
4660
4661 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4662
4663         * insettabular.C (everywhere): adapt because widths are now real
4664         widths and not strings
4665
4666         * insettext.C (draw): re-introduce the calls to width(), ascent()
4667         and descent() to initialize the caching variables.
4668
4669 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4670
4671         * insettext.C (draw):
4672         (drawFrame): use insetWidth instead of last_width
4673
4674         * insettext.h: remove variable last_width (insetWidth is exactly
4675         the same) and last_height (computed but never used!)
4676
4677 2001-12-10  Allan Rae  <rae@lyx.org>
4678
4679         * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4680
4681 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
4682
4683         * insettext.C (insetAllowed): add comment
4684
4685 2001-12-05  Juergen Vigna  <jug@sad.it>
4686
4687         * insettext.C (insetAllowed): fixed for the case that we directly
4688         ask the insettext from its LyXText.
4689         (paragraph): fixed the crash when assigning the par->next() from
4690         the EmptyParagraphMechanism!
4691
4692 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4693
4694         * insetbib.C:
4695         * insettabular.C:
4696         * insettext.C: change "while(" to "while ("
4697
4698 2001-12-04  Juergen Vigna  <jug@sad.it>
4699
4700         * insetert.C (edit): handle Inlined status.
4701
4702         * insettext.C (insertInset): trying John's fix for the trailing cursor
4703
4704         * insetert.C (insetButtonPress): added to handle inlined status
4705         (insetMotionNotify): ditto.
4706
4707         * insettext.C (clearInset): changed Painter & in BufferView * param,
4708         to be able to call ascent,descent methods.
4709
4710 2001-12-03  Juergen Vigna  <jug@sad.it>
4711
4712         * insettext.C (updateInsetInInset): use lt variable to forbid
4713         changes of LyXText in an update call.
4714         (updateInsetInInset): fixed updating of non locked insets!
4715
4716 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
4717
4718         * insettabular.C: capture some more functions to prevent
4719         selection drawing problems. Bug #451274
4720
4721 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
4722
4723         * insetgraphics.C:
4724         * insetgraphicsParams.C: fix inverted sense of float_equal
4725
4726 2001-11-30  Juergen Vigna  <jug@sad.it>
4727
4728         * insettabular.C (InsetTabular): use the save_id flag to create also
4729         the tabular with the same id's.
4730
4731         * insettext.C (setParagraphData): added a same_id function for undo
4732         to set the same paragraph id's as of the paragraph we are setting.
4733
4734 2001-11-30  José Matos <jamatos@fep.up.pt>
4735
4736         * inseturl.[Ch]:
4737         * insettoc.[Ch]: DocBook -> docbook.
4738
4739 2001-11-29  André Pönitz <poenitz@gmx.net>
4740
4741         * inseterror.C:
4742         * insettext.C: further reduction of header dependencies by using
4743         lyx::layout_type and lyx::textclass_type from support/types.h
4744
4745 2001-11-29  Juergen Vigna  <jug@sad.it>
4746
4747         * insettext.C: inserted a reinitLyXText function everywhere I delete
4748         the paragraphs! This should fixe the crashes we had.
4749         Also use the new function firstRow() instead of getRowNearY(dummy_y)
4750         (paragraph): set the InsetOwner() of the new paragraphs!
4751
4752 2001-11-28  André Pönitz <poenitz@gmx.net>
4753
4754         * insetnote.C: add pos initialization that I removed without
4755           knowing what I did.
4756
4757 2001-11-28  Juergen Vigna  <jug@sad.it>
4758
4759         * insettabular.C (resetPos): hack to not crash with infinite paints.
4760
4761         * insettabular.h: insert missing function allowSpellcheck()!
4762
4763         * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4764
4765 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
4766
4767         * insetfloatlist.h:
4768         * insetfloatlist.C: derive from InsetCommand so gui can use it
4769           easily
4770
4771 2001-11-26  André Pönitz <poenitz@gmx.net>
4772
4773         * insettext.[Ch]:
4774         * insetert.C:
4775         * insetnote.C: reduce header dependencies, introduce type for
4776         positions
4777
4778 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
4779
4780         * various: update for Alert.h
4781
4782 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
4783
4784         * inset.h: fix comment
4785
4786         * insettext.C: use par->isInset()
4787
4788 2001-11-22  Allan Rae  <rae@lyx.org>
4789
4790         * insetcollapsable.h:
4791         * inset.h: Changes to checkInsertChar() behaviour.
4792         Now return value indicates whether chars can be inserted.
4793
4794 2001-11-11  Michael A. Koziarski <michael@koziarski.org>
4795
4796         * various:  updated to use the new LaTeXFeatures
4797
4798 2001-11-14  José Matos  <jamatos@fep.up.pt>
4799
4800         * insetspecialchar.C (linuxdoc):
4801         (docbook): don't give a name to a unused variable.
4802
4803         * insettext.C (docbook): removed unused variable.
4804
4805 2001-11-13  Herbert Voss  <voss@perce.de>
4806
4807         * insetgraphic.C: fix scale bug
4808
4809 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4810
4811         * inset.h (isSpace):
4812         (isLetter): new virtual methods.
4813
4814         * insetspecialchar.C (isSpace):
4815         (isLetter): implement here.
4816
4817 2001-11-04  John Levon  <moz@compsoc.man.ac.uk>
4818
4819         * inset.h: new inline helpers
4820
4821         * insettext.C: use new helpers
4822
4823 2001-11-07  José Matos  <jamatos@fep.up.pt>
4824
4825         * insettext.C (docbook): full support for paragraphs inside insettext.
4826
4827 2001-11-06  José Matos  <jamatos@novalis.fc.up.pt>
4828
4829         * insetindex.C: added header file for std::ostream.
4830
4831 2001-11-03  José Matos  <jamatos@fep.up.pt>
4832
4833         * insetindex.C: added using std::ostream that I forgot yesterday.
4834
4835 2001-11-02  Ben Guillon  <nicolas.marsgui@libertysurf.fr>
4836
4837         * insetindex.h (docbook):
4838         * insetindex.C (docbook): added support for docbook export.
4839
4840 2001-11-02  José Matos  <jamatos@fep.up.pt>
4841
4842         * insetcaption.C(docbook): added support for docbook export.
4843
4844 2001-11-02  Dekel Tsur  <dekelts@tau.ac.il>
4845
4846         * insetexternal.C (updateExternal): Do not run update command if
4847         result file exists and is up to date.
4848
4849         * ExternalTemplate.C (readFormat): Support the updateresult token.
4850
4851 2001-10-31  Kayvan A. Sylvan  <kayvan@sylvan.com>
4852
4853         * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4854         external_templates) to use the buffer->fileName() but only if
4855         previewing. Generating a TeX file should make FPath return
4856         "".
4857
4858 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
4859
4860         * insetert.h:
4861         * insetert.C: fix some problems
4862
4863 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
4864
4865         * insetexternal.C (doSubstitution): Added $$FPath token
4866         to list of usable substitutions in external inset templates.
4867
4868 2001-10-24  Juergen Vigna  <jug@sad.it>
4869
4870         * insettabular.C: use new ltType struct for setting longtable
4871         header and footers also new UNSET enums.
4872
4873 2001-10-24  José Matos  <jamatos@fep.up.pt>
4874
4875         * insettabular.C (linuxdoc): Now exports the ascii's table version.
4876         (docbook): If the table is not inside a float then wrap it inside
4877         <informaltable>...</informaltable>.
4878
4879 2001-10-23  José Matos  <jamatos@fep.up.pt>
4880
4881         * insetref.C (docbook): removed / terminator to conform SGML.
4882
4883         * insetspecialchar.C (linuxdoc):
4884         (docbook): Added support for special chars, more than ascii export.
4885
4886 2001-10-22  Juergen Vigna  <jug@sad.it>
4887
4888         * insettext.C (checkInsertChar): added for REALLY checking the
4889         font of the inserted char in the right inset!
4890
4891 2001-10-19  Juergen Vigna  <jug@sad.it>
4892
4893         * inset.h: added method allowSpellcheck() so that insets who do
4894         not have anything to spellcheck can tell and so they are over-jumped.
4895         Implemented for InsetText and co.
4896
4897 2001-10-18  Juergen Vigna  <jug@sad.it>
4898
4899         * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4900
4901 2001-10-15  José Matos  <jamatos@fep.up.pt>
4902
4903         * insetert.C: allow export for docbook and linuxdoc
4904
4905 2001-10-07  Adrien Rebollo <adrien.rebollo@gmx.fr>
4906
4907         * insetquotes.C (dispString): handles latin3 and latin4 quotes
4908
4909 2001-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4910
4911         * insetquotes.C (dispString): fix handling of latin9 quotes
4912
4913 2001-10-03  Juergen Vigna  <jug@sad.it>
4914
4915         * insetert.C: ditto
4916
4917         * insetcollapsable.C: change updateInset calls to not tell BV that
4918         we have changed status.
4919
4920 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4921
4922         * insettabular.C (deletable): make const
4923
4924 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
4925
4926         * insetert.C (latex): Fix the returned value
4927
4928 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
4929
4930         * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4931         Returns string(), so nothing in an ERT inset is spellchecked.
4932
4933         * insetgraphics.C (draw): print the filename if not displaying the
4934         image.
4935         (width): make sure that the width and draw methods are consistent.
4936         (updateInset): don't even load the image into cache if not displaying
4937         it.
4938
4939 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
4940
4941         * various files (selectNextWord): renamed as
4942         selectNextWordToSpellcheck.
4943
4944         * insetgraphics.C (draw): remove the previous change. Right place
4945         is in imageLoaderXPM.C.
4946         (draw): don't display the image if params.display == NONE.
4947
4948 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
4949
4950         * figinset.C (runqueue):
4951         * insetgraphics.C (draw): set background colour of inset from
4952         background to the user-configurable graphicsbg.
4953
4954 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4955
4956         * insetquotes.C (InsetQuotes): when trying to decide the side of
4957         the quote, choose `left' only after a space or '('
4958
4959 2001-09-04  José Matos  <jamatos@fep.up.pt>
4960         * figinset.C
4961         * figinset.h
4962         * insetcaption.C
4963         * insetcaption.h
4964         * insetcollapsable.h
4965         * insetcommand.C
4966         * insetcommand.h
4967         * inseterror.h
4968         * insetert.C
4969         * insetert.h
4970         * insetexternal.C
4971         * insetexternal.h
4972         * insetfloat.C
4973         * insetfloat.h
4974         * insetfloatlist.h
4975         * insetgraphics.C
4976         * insetgraphics.h
4977         * inset.h
4978         * insetinclude.C
4979         * insetinclude.h
4980         * insetlabel.C
4981         * insetlabel.h
4982         * insetlatexaccent.C
4983         * insetlatexaccent.h
4984         * insetquotes.C
4985         * insetquotes.h
4986         * insetref.C
4987         * insetref.h
4988         * insetspecialchar.C
4989         * insetspecialchar.h
4990         * insettabular.C
4991         * insettabular.h
4992         * insettext.C
4993         * insettext.C (docbook): rename docBook method to docbook.
4994
4995 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
4996
4997         * inset.h (getFirstParagraph): New virtual method.
4998
4999 2001-08-20  Herbert Voss  <voss@perce.de>
5000         * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5001         in the the bibtex-database-gui for inserting a line
5002         \addcontentsline...
5003
5004         If no style is given than there is no tex-output.
5005
5006 2001-08-18  Angus Leeming  <a.leeming@ic.ac.uk>
5007
5008         * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5009         files as a vector.
5010         (getKeys): use it.
5011
5012 2001-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5013
5014         * insetert.C (latex): Fix output for multiple paragraphs.
5015         (write): New code for writing paragraph data.
5016         (read): Set font after reading the inset.
5017         (localDispatch): Call set_latex_font() for more cases.
5018
5019         * insetnote.h: Add empty validate method.
5020         * insetert.h: Ditto
5021
5022         * insetnote.C (InsetNote): Set language to the language of the
5023         document.
5024
5025 2001-08-16  Juergen Vigna  <jug@sad.it>
5026
5027         * insettext.C: implemented the new FINISHED states.
5028
5029         * insettabular.C: ditto
5030
5031         * inset.h: added more FINISHED states for cursor right,up,down
5032
5033 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
5034
5035         * insetfloatlist.C: use "FloatName List"
5036
5037 2001-08-14  Juergen Vigna  <jug@sad.it>
5038
5039         * insetert.C (edit): forgot to set status_ in edit calls!
5040
5041 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
5042
5043         * insettext.C: Compilation fix
5044
5045 2001-08-13  Juergen Vigna  <jug@sad.it>
5046
5047         * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5048
5049         * insetcollapsable.C (edit): don't recollapse an already open inset.
5050
5051         * insettext.C: fixed problem when reinitializing LyXText by not doing
5052         it while lt is in use and post this to the next possible time in
5053         getLyXText().
5054         (searchForward): fixed not unlocking of inset if nothing found.
5055         (edit): set cursor behind right (was set -1 pos).
5056
5057         * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5058
5059         * insettabular.C (tabularFeatures): fixed fix where deleting the
5060         last row didn't get the right actcell!
5061
5062 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
5063
5064         * insettext.C (localDispatch): Change language only when the inset
5065         becomes empty.
5066
5067 2001-08-10  Juergen Vigna  <jug@sad.it>
5068
5069         * insettabular.C (selectNextWordInt): use the front using edit call.
5070
5071         * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5072         the parameter overwrite class variable inset.
5073
5074         * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5075
5076         * insettext.C (saveLyXTextState): check for invalid cursor-par.
5077         (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5078
5079         * insettabular.C (calculate_dimensions_of_cells): let's try to call
5080         update only for fixed with cells.
5081         (resetPos): try to fix the lockup on spellchecking or s&r.
5082
5083         * insettext.C (update): comment this out as it seems first wrong
5084         and second not needed anymore!
5085         (some functions): call reinitLyXText() only in update() in all other
5086         positions set only need_update = INIT.
5087
5088 2001-08-08  Juergen Vigna  <jug@sad.it>
5089
5090         * insettabular.C (setPos): fixed wrong actrow < rows() check.
5091
5092         * insettext.C (insetUnlock): remove double-space on inset unlock.
5093
5094         * insetcollapsable.C (draw): fix returned x when label > inset-width.
5095
5096         * insettabular.C (update): fixed cursor positon after an insert.
5097         (insetAllowed): do not allow to insert insets when not inside the
5098         inset!
5099         (draw): clear below an inset too as it could have changed height.
5100
5101         * inset.C (getMaxWidth): fixed width for inset in inset.
5102
5103         * insettext.C (update): small fix.
5104
5105         * insettabular.C (tabularFeatures): added selection support to
5106         DELETE_ROW/DELETE_COLUMN.
5107
5108 2001-08-07  Juergen Vigna  <jug@sad.it>
5109
5110         * inset.C (getMaxWidth): recoded and all it's implementations!
5111
5112         * insettext.C (init,setParagraph+constructors): cleanups
5113         (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5114         are new and I want do a save/restore of the cursor position which is
5115         not possible anymore.
5116
5117         * insetcollapsable.C (searchBackward): recollapse inset if not found.
5118         (searchBackward): ditto
5119         (selectNextWord): ditto
5120
5121 2001-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
5122
5123         * insetlatexaccent.C (checkContents): Add some debug messages
5124
5125 2001-08-07  Juergen Vigna  <jug@sad.it>
5126
5127         * insetert.C (read): don't use InsetCollapsable::read as we don't
5128         write the collapsed status anymore only the status.
5129         (write): ditto.
5130
5131 2001-08-06  Juergen Vigna  <jug@sad.it>
5132
5133         * insetert.C (set_latex_font): use LyXText's setFont directly.
5134
5135         * insettext.C (drawFrame): fixed one time more the right position
5136         and size of the frame!
5137
5138         * insetert.C (~InsetERT): hide the dialog.
5139         (showInsetDialog): added implementation
5140         (open): ditto
5141         (close): ditto
5142         (status): new function for the status of the ERT inset (3-state).
5143         (write): output also the status of the inset for readback!
5144         (read): readback the status if available otherwise use collapsed_.
5145
5146         * insettext.C (edit): small fix of setting the position, which could
5147         have gone < 0.
5148
5149         * insetert.C (width): implement this function for inlined viewing.
5150         Added minimum width of 10 pixels!
5151
5152         * insetminipage.C (InsetMinipage): just change the colors a bit so
5153         that border/background is a bit more visible. We will remove this
5154         anyway for 1.2.0!
5155
5156         * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5157         function for getting the important widths for drawing in various
5158         functions and in LyXText.
5159         (draw): fixed up a bit (frame drawing/clearing)
5160
5161 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5162
5163         * inset.C (convertFont): delete method. not used.
5164
5165 2001-08-03  Juergen Vigna  <jug@sad.it>
5166
5167         * insettext.C (setFont): don't call for a draw update if we're just
5168         changing the cursor font!
5169
5170 2001-08-02  Juergen Vigna  <jug@sad.it>
5171
5172         * insettext.C (draw): clear the background with the right color if
5173         needed. Update myself if x&max-width changed and return without doing
5174         anything. Let the update code handle the right stuff.
5175
5176         * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5177         inside another inset.
5178
5179 2001-08-01  Juergen Vigna  <jug@sad.it>
5180
5181         * insetcollapsable.C (update): added an in_update bool so we avoid
5182         reentering.
5183
5184         * insettabular.C (update): added an in_update bool so we avoid
5185         reentering.
5186
5187         * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5188         selection problem.
5189         (update): added an in_update bool so we avoid reentering.
5190
5191         * insettabular.C (localDispatch): clear col/row selection when doing
5192         something else inside an inset.
5193
5194         * insettext.C (getLyXText): fixed bug when requesting a recursive
5195         insettext!
5196
5197 2001-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
5198
5199         * insetcite.C (latex): Paranoia check. Make sure that there is no
5200         whitespace between the citation keys.
5201
5202 2001-07-31  Juergen Vigna  <jug@sad.it>
5203
5204         * inset.h (nodraw): make the set function also const so that this
5205         can be called from inside other const functions.
5206
5207         * insetcollapsable.h: removed inline variable and moved it over
5208         to the only user InsetERT.
5209
5210         * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5211         inset opening immediately therein lying insets dialogs!
5212
5213         * insetert.C (localDispatch): set the font also if we don't have any
5214         chars in this paragraph, otherwise if we delete all of em and start
5215         writing we have the wrong font.
5216         (inlined): added
5217         (draw): implemented for inline support
5218         (insetButtonRelease): ditto.
5219
5220 2001-07-30  Juergen Vigna  <jug@sad.it>
5221
5222         * insettext.C (reinitLyXText): new function to reinit the insets
5223         text after lot's of paragraph changes. Use this instead of the
5224         cache.clear() which is VERY dangerous.
5225
5226         * insetfloat.C (insetButtonRelease): we should only show the dialog
5227         if we press on the label otherwise we have problems to open mouse
5228         button 3 dialogs inside this float (f.ex. of a tabular!)
5229
5230 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5231
5232         * insetert.C: change back to "ERT"
5233
5234         * insetfloat.C: handliign of RMB on label added.
5235
5236 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5237
5238         * insetgraphicsParams.C: #include LOstream.h here.
5239
5240         * insetfoot.h: remove InsetFoot:: qualifier.
5241
5242 2001-07-29  Baruch Even  <baruch@lyx.org>
5243
5244         * ChangeLog: Hiding time travel evidence.
5245
5246         * insetgraphicsParams.h:
5247         * insetgraphicsParams.C:
5248         * insetgraphics.C: Added horizontal scale option, it actually scales both
5249         directions since it keeps image proportions.
5250
5251         * insetgraphics.C: Fixed EPS detection to be non-hacky.
5252
5253 2001-07-29  Baruch Even  <baruch@lyx.org>
5254
5255         * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5256         convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5257
5258         HACKY! Will need to add an EPS detection routine like old InsetFig does!
5259
5260 2001-07-29  Baruch Even  <baruch@lyx.org>
5261
5262         * insetgraphics.C: Added EPSI to be an alias of EPS.
5263
5264 2001-07-29  Baruch Even  <baruch@lyx.org>
5265
5266         * insetgraphics.C: Change GRAPHICS to Graphics.
5267         Changed image conversion rules (documented at the beginning of file).
5268
5269 2001-07-28  Angus Leeming  <a.leeming@ic.ac.uk>
5270
5271         * insetert.C (get_new_label): int -> Paragraph::size_type to get
5272         std::min working.
5273
5274         * insetgraphics.C: added a using std::endl directive.
5275
5276         * insetcommand.h (getScreenLabel): removed pure virtual function,
5277         as it duplicates that in InsetButton.
5278
5279         * insetbib.[Ch] (getScreenLabel):
5280         * insetbutton.[Ch] (getScreenLabel):
5281         * insetcite.[Ch] (getScreenLabel):
5282         * insetert.[Ch] (getScreenLabel):
5283         * insetexternal.[Ch] (getScreenLabel):
5284         * insetfloatlist.[Ch] (getScreenLabel):
5285         * insetinclude.[Ch] (getScreenLabel):
5286         * insetindex.[Ch] (getScreenLabel):
5287         * insetlabel.h (getScreenLabel):
5288         * insetparent.[Ch] (getScreenLabel):
5289         * insetref.[Ch] (getScreenLabel):
5290         * insettoc.[Ch] (getScreenLabel):
5291         * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5292
5293         * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5294         the label.
5295         (validate): remove check on "cite" when using natbib.
5296
5297 2001-07-26  Baruch Even  <baruch@lyx.org>
5298
5299         * insetgraphics.C (draw): changed casting to be in one place rather than
5300         all over the function.
5301
5302         * insetgraphics.h:
5303         * insetgraphics.C (read): Added compatibility reads of InsetFig.
5304
5305         * insetgraphicsParams.h:
5306         * insetgraphicsParams.C:
5307         * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5308
5309 2001-07-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
5310
5311         * insetfoot.C (validate): Added method to ensure that the
5312         right bit of LaTeX is emitted.
5313
5314         * insetfoot.h: Added validate method to set the correct
5315         LaTeXFeatures bit for the special footnote code.
5316
5317 2001-07-26  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5318
5319         * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5320         quotes
5321
5322 2001-07-27  Juergen Vigna  <jug@sad.it>
5323
5324         * inset.h: remove not used font variable in parameter.
5325         removed checkInsertChar in UpdatableInset as it was equal to
5326         the one in Inset and so not needed.
5327
5328         * insetert.C (checkInsertChar): implementation of function
5329         checkInsertChar.
5330
5331         * inset.h: added new function checkInsertChar.
5332
5333         * various files: added c-tor and clone() function.
5334
5335         * insetcollapsable.h: removed clone function here as this should
5336         be only realized in REAL insets and added it to all collapsable
5337         insets! (with the copy-constructor).
5338
5339 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5340
5341         * insetminipage.C (read): handle missing parameters more gracefully
5342
5343         * insetcollapsable.C (read): handel missing collapsed more gracefully
5344
5345 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5346
5347         * insetfloat.C (read): handle missing parameters.
5348
5349         * insettext.C (read): handle old latex end_inset
5350
5351         * insetert.C (setButtonLabel): new method
5352         (init): use it, to set the dynamic label correctly
5353         (read): use it
5354
5355         * Makefile.am (EXTRA_DIST): add files that is not part or the
5356         binary here.
5357
5358         * insetcollapsable.h: remove autocollapsable (no users), remove
5359         draw_label, change_label_with_text and companion code. Remove args
5360         from some methods.
5361         * insetert.[Ch]: move here instead (only user)
5362
5363         * inset.h: rename private variable name to name_, make
5364         selectNextWord return a const string. make getInsetName return a
5365         string const &. Remove bool from open, add close.
5366
5367         * Makefile.am: don't compile insetlist, insetsection
5368         and insettheorem
5369
5370 2001-07-24  Juergen Vigna  <jug@sad.it>
5371
5372         * insetert.C (InsetERT): put init after the paragraph initialization,
5373         as otherwise we don't set the draw_label right.
5374
5375         * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5376         insets with the mouse without having strange selections.
5377         (edit): if the inset was collapsed and we open it here then put the
5378         cursor always at the beginning of the inset.
5379         (get_new_label): 15 instead of 10 max chars in the label.
5380
5381         * insetert.C (localDispatch): added and handle various stuff we
5382         need to handle here (font setting on paragraph break, not permitted
5383         layout setting, etc.).
5384
5385         * inset.h: added default copy-consturctor and implemented this in
5386         various insets with the change to use this in the clone function!
5387
5388 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5389
5390         * insetminipage.C (InsetMinipage): set background color to red :)
5391
5392 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5393
5394         * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5395         draw frame mode is LOCKED.
5396
5397         * insetcollapsable.C (edit):
5398         (insetButtonRelease): set update status to full when
5399         opening inset.
5400
5401         * insettext.C (clearInset):
5402         * insettabular.C (draw):
5403         * insetlatexaccent.C (draw): honor background color.
5404
5405         * inset.h: new member background_color_, initialized to
5406         LColor::inherit.
5407
5408         * inset.C (backgroundColor): new method.
5409         (setBackgroundColor): new method.
5410
5411         * insetert.C (init): new method, called by the ctors.
5412         (InsetERT): when inserting contents, make sure the font is
5413         ALL_INHERIT.
5414
5415         * insetnote.C (InsetNote): when inserting content, remove trailing
5416         newline
5417         (init): set background color to LColor::note
5418
5419 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5420
5421         * insetcollapsable.C: adjust
5422
5423         * insetbutton.C: adjust
5424
5425 2001-07-23  Juergen Vigna  <jug@sad.it>
5426
5427         * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5428         parameter on the _collapsed function (was not needed) and call
5429         always width_collapsed().
5430
5431         * insetert.C (InsetERT): use setLabel with "true" flag.
5432
5433         * insetcollapsable.C: modified various functions to set the draw_label
5434         string right in any condition.
5435         (setLabel): added a bool parameter to set change_label_with_text.
5436
5437         * insetcollapsable.h: added draw_label string which is set to the
5438         actual drawn label-string, while label is the original static label
5439         of this collapsable inset. Added bool change_label_with_text to set
5440         if we want that the label changes to the start of the InsetText's
5441         text when collabpsed. You can set this flag with the setLabel funciton.
5442         Added bool inlined for inlined collapsable insets, but not handled
5443         yet.
5444
5445         * insetcollapsable.C (get_new_label): added should get a new label
5446         from the InsetText beginning (for now 10 chars).
5447
5448 2001-07-21  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5449
5450         * insetquotes.C (latex): fix the handling of french double quotes
5451         when not using the french pachage.
5452
5453 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5454
5455         * insetcollapsable.h: make WidthCollapsed mutable.
5456
5457         * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5458         InsetPrintIndex returns INDEX_PRINT_CODE.
5459
5460         * inset.h: add INDEX_PRINT_CODE
5461
5462         * insetcollapsable.C (draw): init widthCollapsed if necessary
5463         (width): ditto.
5464
5465         * insetquotes.C (width): use the local language, not the document
5466         language.
5467         (draw): ditto.
5468         (dispString): add additional spacing for all french languages,
5469         like fr_CA.
5470         (validate): make it work when there is no default language
5471
5472         * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5473
5474         * insetnote.C (init): new method, called by the constructors
5475         (InsetNote): new constructor with contents passed as a string
5476
5477 2001-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5478
5479         * insetfootlike.C (insetAllowed): disallow float in footlike.
5480
5481         * insetert.C (InsetERT): add collapsed argument to the constrctor
5482         with contents.
5483
5484 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5485
5486         * insetindex.h: shut off warning
5487
5488 2001-07-20  Juergen Vigna  <jug@sad.it>
5489
5490         * insetcollapsable.C (update): recoded hopefully works now!
5491
5492 2001-07-19  Juergen Vigna  <jug@sad.it>
5493
5494         * most files: implemented the below new introduced function.
5495
5496         * inset.h: added new edit(BufferView *, bool front) method to be able
5497         to enter an inset from the front/back without knowing x/y positions
5498         and baselines inside the inset. So I just can tell the inset activate
5499         me and set the cursor on the front/back of yourself.
5500
5501 2001-07-18  Juergen Vigna  <jug@sad.it>
5502
5503         * insetcollapsable.C (edit): fixed hopefully the y parameter which
5504         is given to the InsetText.
5505         (insetButtonPress): ditto
5506         (insetButtonRelease): ditto
5507         (insetMotionNotify): ditto
5508
5509 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5510
5511         * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5512         LIGATURE_BREAK, since the name is so stupid.
5513
5514 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
5515
5516         * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5517         the default InsetCollapsable methods. I.e., it can insert anything.
5518         (write) output the name of the inset, not some silly hack for
5519         compatability with the old InsetInfo.
5520
5521         * insetinfo.[Ch]: removed.
5522         * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5523         now collapsable, but functionality is otherwise identical to InsetInfo.
5524
5525         * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5526
5527 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5528
5529         * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5530         reformatting
5531
5532         * insetquotes.C: general cleanup
5533         (dispString): add spaces inside french double quotes.
5534         (latex): ditto. Moreover, treat first the case where the frenchb
5535         or french options have been given.
5536
5537 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
5538
5539         * insetcite.[Ch] (latex, validate): new methods, required for natbib
5540         support.
5541
5542 2001-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5543
5544         * figinset.C (RegisterFigure): Print debug message only when
5545         current_view is available.
5546
5547 2001-07-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5548
5549         * many files: update to match the change below
5550
5551         * inset.h (insetAllowed): renamed from insertInsetAllowed;
5552         implement the version which takes an inset here.
5553
5554         * insetcollapsable.[Ch]: implement open and isOpen
5555
5556         * inset.h: remove insertInsetAllowed from Inset
5557         (open): new method, to open or close an inset
5558         (isOpen): returns the status of an inset
5559         (isCollapsable, colapse): removed
5560
5561 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
5562
5563         * insetquotes.C (dispString): display french guillemets when using
5564         ISO8859-15.
5565
5566 2001-07-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5567
5568         * insetcollapsable.h: remove bogus return statements
5569
5570 2001-07-18  Juergen Vigna  <jug@sad.it>
5571
5572         * insettabular.C (selectNextWord): fixed spellchecking for the
5573         first cell of a tabular (wasn't entered!)
5574         (getLyXText): changed to enter automatically insettext and return
5575         it's LyXText if we're locked.
5576
5577 2001-07-17  Juergen Vigna  <jug@sad.it>
5578
5579         * various files: implemented the below functions.
5580
5581         * inset.h: added functions
5582         - virtual string selectNextWord(BufferView *, float & value) const;
5583         - virtual void selectSelectedWord(BufferView *) { return; }
5584         - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5585         needed for spellchecking correctly!
5586
5587 2001-07-16  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5588
5589         * insetert.C (latex): write out all paragraphs.
5590
5591 2001-07-17  Baruch Even  <baruch@lyx.org>
5592
5593         * insetgraphics.C (draw): Removed unneeded casts.
5594
5595 2001-07-16  Juergen Vigna  <jug@sad.it>
5596
5597         * insettext.C (update): fixed small oversight (reset lt to 0).
5598
5599 2001-07-14  Baruch Even  <baruch@lyx.org>
5600
5601         * insetgraphics.h:
5602         * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5603
5604 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
5605
5606         Consistent use of Lsstream.h:
5607         * figinset.C: removed using std::ostringstream directive.
5608
5609         * insetgraphics.C (createLatexOptions):
5610         * insetinclude.C (unique_id):
5611         std::ostringstream -> ostringstream.
5612         * insettext.C (localDispatch): std::istringstream -> istringstream.
5613
5614 2001-07-13  Juergen Vigna  <jug@sad.it>
5615
5616         * insetfloat.C (insertInsetAllowed): added missing const_cast.
5617
5618         * insetcollapsable.C (getLockingInset): ditto.
5619
5620 2001-07-12  Juergen Vigna  <jug@sad.it>
5621
5622         * insetcollapsable.h: added implementation of new function for
5623         collapsable status.
5624
5625         * various files: added implementation of new insertInsetAllowed-func
5626         and redone the function a bit more.
5627
5628         * inset.h: added isCollapsable(), bool collapsed(),
5629         collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5630
5631         * insetfloat.C (insertInsetAllowed): make a bit more checks.
5632
5633         * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5634         LyXText which is marked for removal while we're using it!
5635
5636         * insettext.h: added private LyXText * lt to use it to assure we are
5637         not deleting our LyXText while we're using it!
5638
5639 2001-07-11  Juergen Vigna  <jug@sad.it>
5640
5641         * insettext.C (insertInset): check if we are before the inset after
5642         inserting it! This check IS needed. Remove the Undo-Call as it is
5643         called in LyXText::insertInset!
5644
5645         * insettext.h: added struct InnerCache.
5646
5647         * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5648         that we ONLY delete the LyXText in the getLyXText() routine. So we
5649         are sure we don't delete LyXText while someone is working with it!
5650
5651 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5652
5653         * insetexternal.C: (*it). -> it->
5654         * insettext.C: ditto
5655
5656 2001-07-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5657
5658         * insetcollapsable.C (edit): always open collapsed insets (even if
5659         they are not autocollapsable)
5660
5661         * insetcommand.C (operator=): simplify.
5662
5663 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5664
5665         * insetert.C (latex): handle META_NEWLINE
5666
5667 2001-07-09  Juergen Vigna  <jug@sad.it>
5668
5669         * insetert.h: a normal InsetText can insert insets, but we won't.
5670
5671         * inset.h: return default "false" on insertInsetAllowed and implement
5672         this function where a returnvalue != "false" is needed.
5673
5674 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5675
5676         * insetert.C (InsetERT): new contructor
5677
5678 2001-07-06  Juergen Vigna  <jug@sad.it>
5679
5680         * a lot of files: added implementation of the below new functions
5681         and the change to clone(). Also the call of the new undo-functions
5682         where needed.
5683
5684         * inset.h: added an inset_id, added functions getParFromID,
5685         getInsetFromID, firstParagraph, cursor and id functions, added
5686         bool same_ids to clone function.
5687
5688 2001-07-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5689
5690         * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5691         of BufferView * and shared_ptr<LyXText>
5692
5693 2001-07-05  Juergen Vigna  <jug@sad.it>
5694
5695         * insettext.C (clear): deleted also the cache not only LyXText.
5696         (setParagraphData): ditto.
5697
5698 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5699
5700         * insetfloat.C (latex): let the specific placement take presedence
5701         if set, otherwise choose document placement if set, otherwise just
5702         use float default placement.
5703
5704 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5705
5706         * insettext.C (localDispatch): call CutAndPaste::'s static method
5707         directly.
5708
5709 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5710
5711         * insetbib.C: no meed to include forms.h here.
5712
5713 2001-07-03  Angus Leeming  <a.leeming@ic.ac.uk>
5714
5715         * insettext.C: added using std::make_pair directive.
5716
5717 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5718
5719         * insettext.C (getLyXText): avoid multiple lookups, and simplify
5720         slightly
5721         (deleteLyXText): ditto
5722         (resizeLyXText): ditto
5723
5724 2001-07-02  Juergen Vigna  <jug@sad.it>
5725
5726         * insettext.C (getLyXText): introduce a cache in getLyXText so that
5727         following calls are only returned the right pointer without the over
5728         head to search in the map.
5729         (various funcs): reset the cached_bview variable as this signs that
5730         the cache is not valid anymore.
5731
5732 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5733
5734         * insettabular.C (clone): do not copy the LyXTabular twice
5735
5736 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5737
5738         * insettext.h (TEXT): delete method
5739
5740 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5741
5742         * insetmarginal.C (latex):
5743         * insetfoot.C (latex): fix spacing of notes in LaTeX
5744
5745         * insettext.C (localDispatch): use .c_str() on istringstream
5746         constructor argument.
5747
5748 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
5749
5750         * insettoc.h:
5751         * insettoc.C:
5752         * inseturl.h:
5753         * inseturl.C: fix method names in these to begin
5754           with small char too, so they inherit
5755
5756 2001-06-28  Juergen Vigna  <jug@sad.it>
5757
5758         * insettext.C (setFont): fixed font settings using toggleFree()
5759         instead of setFont().
5760
5761 2001-06-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5762
5763         * Change a lot of method names to begin with a small char.
5764         Changes to a lot of files because of this.
5765
5766 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5767
5768         * insetfloatlist.C (Write): std:: qualify ostream
5769         (Latex): ditto
5770
5771 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
5772
5773         * figinset.C:
5774         * inset.C:
5775         * insetgraphics.C: send debug output to Debug::INFO instead of
5776         Debug::ANY.
5777
5778 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
5779
5780         * insettabular.h:
5781         * insettabular.C (getStatus): update to use func_status
5782
5783 2001-06-26  ben <nicolas.marsgui@libertysurf.fr>
5784
5785         * insetref.C (DocBook): added support for cross-references without
5786         a name.
5787
5788 2001-06-26  The LyX Project  <jug@sad.it>
5789
5790         * insetref.C:
5791         * insetref.h:
5792         * insetlabel.C:
5793         * insetlabel.h: removed escape method and moved it to
5794         support/lstrings.h.
5795
5796 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5797
5798         * insettabular.C (getMaxWidth): do the speedup in a different way,
5799         remove dead code
5800
5801 2001-06-24  The LyX Project  <Asger>
5802
5803         * insettabular.C (getMaxWidth): We cache a mapping from
5804         inset to cell in order to speed this method up.
5805
5806 2001-06-24  The LyX Project  <Asger>
5807
5808         * insettext.C: Optimized InsetText::draw or something.
5809
5810 2001-06-23  The LyX Project  <lyx@rose.home.sad.it>
5811
5812         * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5813
5814 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5815
5816         * inset.h: name change from lyxinset.h
5817
5818 2001-06-22  Dekel Tsur  <dekelts@tau.ac.il>
5819
5820         * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5821
5822 2001-06-14  Juergen Vigna  <jug@sad.it>
5823
5824         * insettext.C (draw): removed warnings.
5825
5826 2001-06-13  Juergen Vigna  <jug@sad.it>
5827
5828         * insettabular.C (nodraw): only go down the tree if we don't have
5829         that flag set otherwise it's obvious that we don't want to draw.
5830         (LocalDispatch): do also an update if we have an undispached result.
5831
5832 2001-06-19  Angus Leeming  <a.leeming@ic.ac.uk>
5833
5834         * insetcite.C:
5835         * insetgraphicsParams.C:
5836         * insettext.C: removed // -*- C++ -*- as first line.
5837
5838 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5839
5840         * lyxinset.h (resizeLyXText): shut off warning about unused
5841         parameter "force"
5842
5843 2001-06-07  Juergen Vigna  <jug@sad.it>
5844
5845         * insettext.C (resizeLyXText): honor the new force flag.
5846
5847         * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5848
5849         * insettabular.C (deleteLyXText): new function
5850
5851 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
5852
5853         * insettheorem.C:
5854         * insetminipage.C:
5855         * insetlist.C:
5856         * insetfootlike.C:
5857         * insetfloat.C:
5858         * insetert.C:
5859         * insetcollapsable.C:
5860         * insetcaption.C: LColor tidy
5861
5862 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5863
5864         * figinset.C: fix typo
5865
5866 2001-06-01  Juergen Vigna  <jug@sad.it>
5867
5868         * insettabular.C (resetPos): small hack so that scroll is not set to
5869         0 when we are in the last column of a tabular. This is a problem we
5870         have because of constats 20 offset on both directions, so this can
5871         cause on the limit an endless loop.
5872
5873         * insettext.C (SetFont): forgot that we can have locking insets ;)
5874
5875 2001-05-31  Juergen Vigna  <jug@sad.it>
5876
5877         * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5878
5879 2001-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5880
5881         * figinset.C: add using std:: directive for the C functions which
5882         need that.
5883
5884 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5885
5886         * insetfloat.C (Write): write out wide info
5887         (Read): read the wide info
5888         (Latex): use the wide info when creating latex.
5889
5890         * insettext.C: adjust
5891
5892         * insetgraphics.[Ch] (statusMessage): change to return string
5893         (width): adjust
5894         (draw): adjust
5895
5896         * figinset.C (runqueue): add std::
5897         (Recompute): ditto
5898
5899 2001-05-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5900
5901         * insetcite.C (Ascii): add std:: qualifier
5902
5903 2001-05-28  Juergen Vigna  <jug@sad.it>
5904
5905         * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5906         a endless-width inset (maxWidth < 0).
5907         (Edit): change language only if not equal.
5908
5909         * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5910
5911         * insettext.C (draw): fixed draw/clear of InsetText-Frame
5912
5913 2001-05-16  Juergen Vigna  <jug@sad.it>
5914
5915         * insettext.C (selectAll): added
5916         (clearSelection): added
5917
5918         * insettabular.C (SetFont): now we may set a font on a whole selection!
5919         (getSelection): added helper function.
5920
5921 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
5922
5923         * insetcite.C (Ascii): Add method.
5924
5925 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
5926
5927         * figinset.C:
5928         * insetbib.C: fix path for OS/2 & Win32
5929
5930 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5931
5932         * insetfoot.C (Latex): don't use % after footnote.
5933
5934 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5935
5936         * insettext.C (Read): use clear
5937         (SetParagraphData): use LyXParagraph copy constructor instead of clone
5938
5939 2001-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5940
5941         * insetfloatlist.h: add a bunch of std:: qualifiers.
5942
5943 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5944
5945         * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5946         FLOAT_LIST_CODE, renumber code list.
5947
5948         * insettoc.C (getScreenLabel): remove support for float lists
5949         (LyxCode): ditto
5950         (Ascii): ditto
5951
5952         * insetfloatlist.[Ch]: new files
5953
5954         * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5955
5956 2001-04-27  Angus Leeming  <a.leeming@ic.ac.uk>
5957
5958         * insettabular.C (LocalDispatch):
5959         * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5960         method
5961
5962 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5963
5964         * insettext.C: remvoe !NEW_INSETS cruft
5965
5966         * insettabular.C: remove !NEW_INSETS cruft
5967
5968         * insetcollapsable.h: remove !NEW_INSETS cruft
5969
5970         * insetbib.C: remove !NEW_INSETS cruft
5971
5972 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5973
5974         * insettoc.C: hack to make listof algorithm work
5975
5976 2001-04-20  Juergen Vigna  <jug@sad.it>
5977
5978         * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5979
5980 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5981
5982         * insetquotes.C (Latex): improve the guard against
5983         unwanted !` and ?` ligatures. This should really be done in
5984         another place (to catch all this ligatures at low-level).
5985
5986 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5987
5988         * insettext.C (init): remvoe leftovers from cursor_visible change
5989         (draw): use c++ cast
5990         (LocalDispatch): dispatch LFUN_MESSAGE
5991
5992         * insettabular.C (InsetTabular): remove leftovers from
5993         cursor_visible, and scoped_ptr changes
5994         (draw): use c++ cast
5995
5996         * insetcollapsable.C (draw): use c++ cast
5997
5998         * ExternalTemplate.h: inherit privaely from noncopyable
5999         * insetcommand.h: ditto
6000         * insetinclude.h: ditto
6001
6002 2001-04-16  Allan Rae  <rae@lyx.org>
6003
6004         * insettoc.C (Ascii):
6005         * insettext.C (draw):
6006         * insettabular.C (setPos):
6007         * insetminipage.C (Read):
6008         * insetfloat.C (placement):
6009         * insetcaption.C (Ascii, DocBook):
6010         * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6011         an unrecognised preprocessor directive.  So ensure they're wrapped.
6012
6013 2001-04-06  John Levon  <moz@compsoc.man.ac.uk>
6014
6015         * insetexternal.h:
6016         * insetexternal.C: set view on Clone. Add _ to private members.
6017
6018 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6019
6020         * insettext.C (InsetText): fix new
6021         (InsetText): reindent some, simplify deletion of par list
6022         (clear): simplify deletion of par list, fix new
6023         (SetParagraphData): simplify deletion of par list
6024
6025         * insettabular.[Ch] (getLabelList): implement new method
6026
6027 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * lyxinset.h: do not include gettext.h...
6030
6031         * inset.C:
6032         * insetcaption.C:
6033         * insetexternal.C:
6034         * insetgraphics.C:
6035         * insetindex.C:
6036         * insetlabel.C:
6037         * insetlatexaccent.C:
6038         * insetminipage.C:
6039         * insetquotes.C:
6040         * insettabular.C:
6041         * inseturl.C: ... and do it here instead
6042
6043 2001-04-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6044
6045         * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6046
6047         * insettext.[Ch] (getLabelList): add std:: on vector<string>
6048
6049         * insetcollapsable.[Ch] (getLabelList): implement
6050
6051         * insettext.[Ch] (getLabelList): implement
6052
6053         * insettext.h: reindent
6054
6055         * insettabular.h: make tabular a scoped_ptr
6056
6057         * insettext.C (init): adjust for cursor_visible
6058         (ToggleInsetCursor): constify asc and desc, font, adjust for
6059         cursor_visible
6060         (ShowInsetCursor): constify asc and desc, font, adjust for
6061         cursor_visible
6062         (HideInsetCursor): adjust for cursor_visible
6063
6064         * insettabular.C: reindent some
6065         (InsetTabular): adjust for scoped_ptr and cursor_visible
6066         (InsetTabular): ditto
6067         (~InsetTabular): delete delete
6068         (Clone): adjust for scoped_ptr
6069         (Read): constify old_format, adjust for scoped_ptr, move init of
6070         token
6071         (draw): constify tx, localize loop vars.
6072         some other localization of variables, remove double initilizatons.
6073
6074         * insetfoot.C: remove using std::ostream, add ostream where needed
6075
6076 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6077
6078         * lyxinset.h: some reindentaion, use initializer list for
6079         constructro.
6080         UpdatableInset: make cursor_visible a private var add
6081         public isCursorVisible(), add protected toggleCursorVisible() and
6082         proctected setCursorVisible(bool), make scroll call the Inset::scroll
6083
6084         * insettoc.C: remvoe using decl
6085         (getScreenLabel): make cmdname donst
6086         (LyxCode): ditto
6087         (Ascii): ditto
6088         (Ascii): don't use endl
6089
6090         * insetfootlike.C: remove using decl at file scope and add std::
6091         where needed
6092         * insetmarginal.C: ditto
6093
6094         * insetfoot.C: some reformatting
6095
6096         * insetfloat.C (InsetButtonRelease): adjust the hit area
6097
6098         * insetert.C (SetFont): some reformatting
6099
6100         * insetcollapsable.C: some reformatting and constification
6101         (Clone): comment out.
6102         * insetcollapsable.h: some reformatting
6103         (Clone): comment out.
6104
6105         * inset.C: reindent
6106         (scroll): simplify
6107
6108 2001-03-30  Juergen Vigna  <jug@sad.it>
6109
6110         * insetcollapsable.h: changen *inset to be a InsetText inset.
6111
6112         * some files: changed to reflect the above change.
6113
6114 2001-03-29  Angus Leeming  <a.leeming@ic.ac.uk>
6115
6116         * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6117         InsetExternal::Params.
6118         Added operator==() and operator!=() for the Params struct.
6119
6120 2001-03-29  Juergen Vigna  <jug@sad.it>
6121
6122         * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6123         BufferView *.
6124
6125         * insetminipage.C: removed widthp_ and all it's functions and changed
6126         to use new %-lengths of LyXLength.
6127
6128 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
6129
6130         * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6131
6132 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
6133
6134         * insetgraphicsParams.C (operator!=): new function, needed by the
6135         ControlGraphics class.
6136
6137 2001-03-28  Juergen Vigna  <jug@sad.it>
6138
6139         * insettext.C (InsetButtonPress): only enter !inset if button == 2
6140         (checkAndActivateInset): don't use the values returned from
6141         call to bv->checkInsetHit.
6142
6143         * insetminipage.C (Clone): set special minipage values.
6144
6145         * insetcollapsable.C (draw): changed to draw the button in the
6146         upper left corner outside the textinset.
6147         (ascent): changed because of different drawing
6148         (descent): ditto
6149         (width): ditto
6150         (Edit): ditto
6151         (InsetButtonPress): ditto
6152         (InsetButtonRelease): ditto
6153         (InsetMotionNotify): ditto
6154
6155 2001-03-27  Dekel Tsur  <dekelts@tau.ac.il>
6156
6157         * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6158         contain a suffix.
6159         (Clone): ditto
6160
6161 2001-03-26  Juergen Vigna  <jug@sad.it>
6162
6163         * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6164
6165         * insettext.C (ShowInsetDialog): implemented above function.
6166
6167         * insettabular.C (ShowInsetDialog): ditto
6168
6169         * insetminipage.C (ShowInsetDialog): ditto
6170
6171 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
6172
6173         * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6174         InsetInclude::Params. Don't store a buffer * in Params. Store the
6175         master file name instead.
6176
6177 2001-03-23  Juergen Vigna  <jug@sad.it>
6178
6179         * insetcollapsable.C (InsetMotionNotify):
6180         (InsetButtonRelease):
6181         (InsetButtonPress): fixed y-offset (minipages).
6182
6183         * insettext.C (draw): force a FULL update if cleared == true.
6184
6185         * insetcollapsable.C (draw): Lars forgotten entry for changing this
6186         routine to draw the minipages on its position-flag.
6187         (InsetInInsetY): give back the right y position, because of minipage
6188         position-flag.
6189
6190 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
6191
6192         * insetfloat.h
6193         * insetfloat.C (DocBook): docbook export code.
6194
6195 2001-03-22  Juergen Vigna  <jug@sad.it>
6196
6197         * insetminipage.C (getMaxWidth): added function to set the drawing
6198         width!
6199         (Read): should work now!
6200
6201         * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6202         if we create a new inset.
6203
6204 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
6205
6206         * figinset.C (fl_set_preemptive_callback): moved definition outside
6207         of namespace anon.
6208
6209 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6210
6211         * insetminipage.C (Read): prepare for reading of minipage arguments.
6212
6213 2001-03-18  Baruch Even  <baruch@lyx.org>
6214
6215         * insetgraphics.C: Minor cleanups of the comments and code.
6216
6217 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6218
6219         * insetminipage.C (InsetMinipage): default to not collapsed
6220
6221 2001-03-16  Juergen Vigna  <jug@sad.it>
6222
6223         * insetminipage.C (width): modified with to be a string
6224         (widthp): added widthp (for % width) support functions.
6225         (InsetButtonRelease): added to open the options dialog on button==3.
6226         (~InsetMinipage): added to hide the dialog.
6227
6228         * insetminipage.h: added hideDialog signal
6229
6230 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6231
6232         * insetminipage.h: change the order or Position to match
6233         LyXParagraph::MINIPAGE_ALIGNMENT
6234
6235         * several files: remvoe CXX_WORKING_NAMESPACES
6236
6237         * ExternalTemplate.h: noncopyable is in namespace boost
6238         * insetinclude.h: ditto
6239         * insetcommand.h: ditto
6240
6241 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
6242
6243         * insettext.C (Edit): #else# -> #else.
6244         * insettoc.C: added using directive.
6245
6246 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6247
6248         * insetminipage.h: add pos, inner_pos, width and height. + getters
6249         and setters for all of them.
6250
6251 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
6252
6253         * insetinclude.C (Latex): Do not exit when the textclass of the
6254         included file differ from the textclass of the parent file.
6255
6256 2001-03-12  Angus Leeming  <a.leeming@ic.ac.uk>
6257
6258         * ExternalTemplate.C (read): the reading of external insets now checks
6259         for \end_inset and removes it form the input stream.
6260
6261 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
6262
6263         * ExternalTemplate.h:
6264         * ExternalTemplate.C:
6265         * insetexternal.h:
6266         * insetexternal.C: move form to GUII
6267
6268 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
6269
6270         * insetinclude.h:
6271         * insetinclude.C: add InsetIncludeParams, use
6272         composition rather than derivation of InsetCommand
6273
6274 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6275
6276         * insettoc.C (Ascii): use the Buffer typedefs
6277
6278 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6279
6280         * insettoc.C (Ascii): implement for dynamic number of lists
6281
6282         * insetcaption.[Ch]: update from new_insets branch
6283         * insetfloat.[Ch]: ditto
6284
6285 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
6286
6287         * insetexternal.C:
6288         * figinset.C: use new File Dialog
6289
6290 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6291
6292         * insettext.C: changes becuase of ParagraphParameters.
6293
6294 2001-02-28  Baruch Even  <baruch@ev-en.org>
6295
6296         * insetgraphics.C (updateInset): Changed due to the change in
6297         GraphicsCache.
6298
6299 2001-02-26  Juergen Vigna  <jug@sad.it>
6300
6301         * insettext.C (SetFont): Set Undo only if we have selection (as it is
6302         handled in LyXText).
6303
6304 2001-02-23  Juergen Vigna  <jug@sad.it>
6305
6306         * insettext.C (draw): some small repainting fixes.
6307         (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6308
6309         * inset.C (LocalDispatch): changed action to be a kb_action (as it
6310         should be) and not an int.
6311
6312         * insettabular.C (LocalDispatch): ditto
6313
6314         * insettext.C (LocalDispatch): ditto
6315
6316         * insetcollapsable.C (LocalDispatch): ditto
6317
6318 2001-02-22  Juergen Vigna  <jug@sad.it>
6319
6320         * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6321         DISPATCH it and we don't have a locking_inset.
6322
6323 2001-02-21  Baruch Even  <baruch@ev-en.org>
6324
6325         * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6326         instead of GraphicsCacheItem *.
6327
6328 2001-02-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6329
6330         * insetcollapsable.C (getLyXText): add const qualifier to second
6331         parameter.
6332
6333 2001-02-22  Juergen Vigna  <jug@sad.it>
6334
6335         * insettext.C (getLyXText): honor the recursive parameter.
6336         (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6337
6338         * inset.C (getLyXText): added bool recursive parameter.
6339
6340         * insettext.C (SetUpdateStatus): or the update codes.
6341         (draw): check need_update with &.
6342         (InsetButtonPress): set no_selection to not put a selection when
6343         entering an inset and it is redraws in another spot.
6344
6345         * insettext.h: made need_update an int.
6346
6347 2001-02-20  Baruch Even  <baruch@ev-en.org>
6348
6349         * insetgraphics.h:
6350         * insetgraphisc.C: Changed to use better semantics when loading images
6351         for inline view. Now it doesn't keep the pixmap itself but it's holder.
6352
6353 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
6354
6355         * insetcommand.h:
6356         * inseterror.h:
6357         * insetgraphics.C: change name of "hide" signal to "hideDialog",
6358         consistent with InsetTabular.
6359
6360 2001-02-19  Juergen Vigna  <jug@sad.it>
6361
6362         * insettabular.C (LocalDispatch): implement PAGE up/down.
6363
6364         * insettext.C (draw): clear all of it on need_update==INIT too!
6365
6366         * insettabular.C (InsetUnlock): always clear the selection.
6367
6368         * inset.C (scroll): normally we only want to scroll the inset until
6369         it is fully visible so if top_x + offset > 20 then just set scx to 0.
6370
6371 2001-02-14  Juergen Vigna  <jug@sad.it>
6372
6373         * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6374         (resetPos): fixed scroll behaviour.
6375         (LocalDispatch): do an update if moving cursor inside a table cell
6376         requests a scroll of the tabular.
6377
6378 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6379
6380         * insettext.C (textWidth): constify local var
6381
6382         * insettabular.C: small cleanup.
6383
6384         * insetfoot.C (Latex): constify local var
6385
6386         * insetcollapsable.C: small cleanup.
6387
6388         * figinset.C (runqueue): use compare instead of strcmp
6389
6390 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
6391
6392         * insettext.C:
6393         * insetinfo.C: remove cruft
6394
6395 2001-02-14  Juergen Vigna  <jug@sad.it>
6396
6397         * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6398
6399 2001-02-13  Juergen Vigna  <jug@sad.it>
6400
6401         * insettext.C (InsertInset): don't move left (is this right?)
6402
6403         * insettabular.C (LocalDispatch): use of the no_draw variable
6404
6405         * insettabular.h: new no_draw variable to stop redraw
6406
6407         * insettabular.C (TabularFeatures): fixed update for alignment change
6408
6409 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
6410
6411         * insetinclude.C:
6412         * insetbib.h:
6413         * insetbib.C: move dialogs to frontends/
6414
6415 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
6416
6417         * insettext.C (LocalDispatch): Restore the language if the inset
6418         becomes empty.
6419
6420 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
6421
6422         * insettext.C (moveRightIntern): Update the selection cursor.
6423         (moveLeftIntern): Ditto.
6424
6425 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6426
6427         * Makefile.am: remove BoundingBox.h
6428
6429         * BoundingBox.h: removed
6430
6431 2001-02-08  Dekel Tsur  <dekelts@tau.ac.il>
6432
6433         * insettext.C (LocalDispatch): Update selection cursor when moving
6434         cursor to the right.
6435         (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6436         (moveLeftIntern): Ditto.
6437
6438 2001-02-05  Baruch Even  <baruch.even@writeme.com>
6439
6440         * insetgraphics.C: Updated automatic image conversion, it now goes into
6441         temporary directory instead of with the image itself.
6442
6443 2001-01-21  Baruch Even  <baruch@ev-en.org>
6444
6445         * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6446         to EPS or PNG when needed (support bitmap graphics).
6447
6448 2000-11-02  Baruch Even  <baruch@ev-en.org>
6449
6450         * insetgraphics.C:
6451         * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6452         and removal of commented out code.
6453
6454 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
6455
6456         * insetbib.C (callback): Update citations if the key has changed.
6457
6458 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
6459
6460         * insetbib.C (InsetBibKey): Better computation of default key.
6461         (getScreenLabel) Show both the key and the label.
6462         (getBibLabel): New method.
6463         (callback): Force a redraw if the inset have been changed.
6464
6465 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
6466
6467         * insetref.C (getType, getName): Move methods from
6468         src/frontends/xforms/FormRef.C.
6469
6470 2001-01-12  Dekel Tsur  <dekelts@tau.ac.il>
6471
6472         * insettabular.C: Various improvements (use only one dummy position).
6473
6474 2001-01-25  Dekel Tsur  <dekelts@tau.ac.il>
6475
6476         * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6477         par->bibkey->width. This fixes the crashes when running without
6478         gui or when having included documents.
6479
6480 2001-01-22  Dekel Tsur  <dekelts@tau.ac.il>
6481
6482         * insetcommand.C (getAsString, setFromString): Cleanup.
6483
6484 2001-01-21  Dekel Tsur  <dekelts@tau.ac.il>
6485
6486         * insetref.C: Add the array InsetRef::types that contains
6487         information about all supported reference types.
6488
6489 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6490
6491         * lyxinset.h: remove trailing comma in enum.
6492
6493 2001-01-17  John Levon  <moz@compsoc.man.ac.uk>
6494
6495         * insettext.C: kill LyXBell.