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