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