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