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