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