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