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