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