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