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