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