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