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