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