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