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