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