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