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