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