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