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