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