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