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