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