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