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