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