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