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