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