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