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