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