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