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