1 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4 * insetert.[Ch]: implement getStatus
6 * insetcharstyle.C (draw): visual clue when the cursor is inside
9 2004-11-02 José Matos <jamatos@lyx.org>
11 * insetcharstyle.C (docbook):
12 * insetlabel.C (linuxdoc, docbook):
13 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
16 * insettabular.C (docbook): mixed content no longer belongs to
19 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
23 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
25 * ExternalSupport.C (updateExternal): convert files in the temp dir
27 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * insetcharstyle.C: drawing cosmetics.
31 2004-10-30 José Matos <jamatos@lyx.org>
33 * insetcharstyle.C (docbook): a compromisse solution. Don't output
34 paragraph tags inside inline elements.
36 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
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.
45 2004-10-29 José Matos <jamatos@lyx.org>
47 * insetgraphics.C (uniqueID): transfered to sgml.C
49 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
51 * insetlabel.C (docbook, linuxdoc):
52 * insetref.C (docbook, linuxdoc): sanitize id.
54 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
56 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
57 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
58 * insetgraphics.C (findTargetFormat): reformat
60 2004-10-28 José Matos <jamatos@lyx.org>
62 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
64 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
68 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
71 "[,,,]" without warning message
73 2004-10-26 Angus Leeming <leeming@lyx.org>
75 * ExternalSupport.C (updateExternal):
76 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
77 external files to the temp directory.
79 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
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]
85 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
87 * insetindex.C (docbook): escape the index, to generate correct sgml.
89 2004-10-23 José Matos <jamatos@lyx.org>
91 * insettext.C (docbook): rearrange arguments, due to change in the
94 2004-10-23 André Pönitz <poenitz@gmx.net>
96 * insettabular.C (cutSelection, tabularFereatures):
97 fix cursor position after cutting selection or table rows
99 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
101 * insetgraphics.C (docbook, writeImageObject): write more than one
102 format of imageobjects in <mediaobject>.
104 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
106 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
107 DocBook output for this inset ( <citation>content</citation> )
109 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
111 * insetgraphics.C (docbook) : using mediaobject for XML;
112 correcting bug with SGML output (now '>' instead of '/>')
114 2004-10-05 José Matos <jamatos@lyx.org>
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
123 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
125 * insetgraphics.C (createDocBookAttribute, docbook) :
126 convert scale, width, height and keepaspectratio to Docbook standards)
128 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
129 to Docbook units where possible.
131 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
133 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
135 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
136 as attributes with new method for docbook.
138 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * render_preview.h: Use preferred calling of Boost.Signal
142 * pch.h: use proper signal include
144 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
146 * ExternalTransforms.h: User preferred calling of Boost.Function
148 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
150 * insetref.C (docbook): fixing problem where Docbook XML output
151 had unclosed <xref ... >
153 2004-08-16 José Matos <jamatos@lyx.org>
155 * insethfill.C (write):
156 * insetline.C (write):
157 * insetnewline.C (write):
158 * insetpagebreak.C (write): remove space at end of line.
160 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * insettabular.C (plaintext): do not use ownerPar to get the
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.
171 * insettabular.C (isRightToLeft): instead of using
172 BufferView::getParentLanguage, use the data from the cursor
174 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * Makefile.am: support pch
180 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * insettabular.C (draw): whitespace
184 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
186 2004-08-14 André Pönitz <poenitz@gmx.net>
188 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
190 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * insettabular.C (metrics): when the width of a cell is zero(),
193 let it use as much space as it can
195 * insettext.C (editXY): compilation fix
197 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
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
204 2004-08-14 José Matos <jamatos@lyx.org>
206 * insetbibitem.[Ch] (plaintext): added.
208 * insetcite.[Ch]: fix plaintext export.
210 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
212 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
215 * insetcaption.C (InsetCaption): modify call to setDrawFrame
216 * insetcollapsable.C (InsetCollapsable): ditto
217 * insetenv.C (InsetEnvironment): ditto
219 2004-08-14 André Pönitz <poenitz@gmx.net>
222 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
224 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * insetoptarg.C (latexOptional): if the optional argument contains
227 a ']' enclose it in {curly brackets}
229 * insettext.C (editXY):
230 * insettabular.C (editXY):
231 * insetcollapsable.C (editXY):
232 * insetbase.C (editXY): constify
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
240 * insetbase.C (dispatch): before invoking dispatch, set cursor
241 result to dispatch=update=true.
243 2004-08-13 José Matos <jamatos@lyx.org>
245 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
247 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
249 * insetfoot.C (latex): use OutputParams::intitle instead of
250 parOwner() (avoids time consuming lookup)
252 * insetquotes.C (latex): same as above with OutputParams::lang.
253 Moreover the code actually works now.
255 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
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>
263 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * insetgraphics.C (prepareFile): remove conversion_needed flag.
266 It made the following fail for a .eps graphics file:
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.
272 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
274 * insetgraphics.C, insettabular.C: s/wether/whether/g
276 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * insetgraphics.C (stripExtension): new
279 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
281 * insetgraphics.C (prepareFile): Handle "nice" exports, too
282 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
284 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * insetfloatlist.C (latex,getScreenLabel): translate according to
287 the document language (bug #1312)
289 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
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
297 * ExternalTemplate.[Ch]: add ReferencedFile command
298 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
300 * insetgraphics.C (prepareFile): write relative filename if
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
307 2004-05-19 Angus Leeming <leeming@lyx.org>
309 * insetcite.[Ch]: small change because namespace biblio is
310 now namespace lyx::biblio.
312 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * insettabular.[Ch] (buffer): make Buffer * argument const
316 2004-05-17 Angus Leeming <leeming@lyx.org>
318 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
319 to force the button label to be re-generated.
321 2004-05-14 José Matos <jamatos@lyx.org>
323 * insetlabel (docbook): do not ouput label, for the moment.
325 2004-05-14 Angus Leeming <leeming@lyx.org>
327 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
328 new biblio::asValidLatexString function.
330 2004-05-12 Angus Leeming <leeming@lyx.org>
332 * insetcite.C: use BufferParams::cite_engine rather than the three
333 bools, use_natbib, use_jurabib, use_numerical_citations.
335 2004-05-10 Angus Leeming <leeming@lyx.org>
337 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
338 Ditto with getStyle, moved to biblio::getEngine.
340 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
342 * insetgraphics.C (validate): remove pre 233 file format stuff,
343 handle zipped files for "nice" export
345 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
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.
354 2004-04-29 Angus Leeming <leeming@lyx.org>
356 * ExternalTemplate.[Ch]: remove redundant #includes.
358 2004-04-28 Angus Leeming <leeming@lyx.org>
361 s/updateToolbar()/updateToolbars()/
363 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * insetgraphics.C: require file extension (file format change!)
366 * insetgraphics.C (latex): handle zipped files for "nice" export
368 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
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.
374 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * insetoptarg.h: remove the editable() method (InsetCollapsable
377 does it better already)
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.
384 2004-04-20 Angus Leeming <leeming@lyx.org>
386 * render_preview.C (startLoading): remove lyxerr statement.
388 (getPreviewLoader): new helper function.
390 2004-04-19 Angus Leeming <leeming@lyx.org>
394 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
396 2004-04-19 Angus Leeming <leeming@lyx.org>
398 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
400 (add_preview): renamed as add_preview_and_start_loading. Invoke
401 RenderPreview::startLoading.
403 * insetinclude.C (metrics, draw): changes due to the changed
404 RenderPreview interface.
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
411 2004-04-16 Angus Leeming <leeming@lyx.org>
413 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
415 2004-04-13 Angus Leeming <leeming@lyx.org>
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.
421 * render_button.[Ch] (clone):
422 * render_graphic.[Ch] (c-tors, clone):
423 * render_preview.[Ch] (c-tors, clone): ditto.
425 * render_graphic.[Ch] (connect):
426 * render_preview.[Ch] (connect): removed, as connection is now
427 made in the constructors.
431 * insetinclude.C: ensuing simplification of the client code.
432 (statusChanged): now superfluous. Removed.
434 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
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
442 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
444 * insetinclude.C (validate): set/reset features.buffer_ when
447 2004-04-07 Angus Leeming <leeming@lyx.org>
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...
454 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
456 * insetcollapsable.C:
457 * insetbranch.C: 'assign' to open/close branch inset according to
458 selection; also print content on closed branch button
460 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
463 $$RelPath_Master, $$RelPath_Parent, $$Extension,
464 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
466 * ExternalSupport.C (updateExternal): use absolute and output
467 filename where appropriate
469 2004-04-05 André Pönitz <poenitz@gmx.net>
471 * insetbase.h: use LCursor & in notifyCursorLeave
473 2004-04-05 Angus Leeming <leeming@lyx.org>
475 * insetgraphics.C: remove unused header file "lyxrc.h".
477 * render_graphic.C: squash bug 1372: Misleading graphics label when
478 deactivating lyx view.
480 2004-04-05 Angus Leeming <leeming@lyx.org>
485 * insetlatexaccent.C:
490 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
492 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
494 * insetfloat.C (read): fix yesterday's float fix.
495 * insetwrap.C (read): apply the fixed float fix.
497 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * insetfloat.C (read): fix reading of float params
502 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
504 * insettext.C (edit): comment the call to updateLocal (dangling now)
505 * insettext.h: add allowSpellCheck() returning true
507 2004-03-31 Angus Leeming <leeming@lyx.org>
509 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
511 2004-03-31 Angus Leeming <leeming@lyx.org>
513 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
514 the cursor out of an inset.
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
521 2004-03-30 Angus Leeming <leeming@lyx.org>
523 * insetbase.[Ch] (translate): new static member function, returns
524 an InsetBase::Code corresponding to the input string.
526 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
528 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
529 so that it opens the inset if it refers to the currently active
532 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
534 * insetfloat.C (addToToc): use par_const_iterator_begin and
535 par_const_iterator_end.
537 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
539 * insetbibtex.[Ch]: bibtopic support.
541 * insetfloat.[Ch]: add param \sideways {true|false}
542 (support for sideways floats from rotating.sty).
544 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
546 * insettext.[Ch]: add a default ctor. implement const version of
552 * insetwrap.C: adjust
554 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
556 * insettext.h: add insetAllowed returning true by default (fixing
557 vanishing insets problem)
559 * insettext.C (draw): handle the responsability of adding the
560 ouside offset to collapsable. Clean code a bit.
562 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
563 from insettext correctly, solve a couple of off-by-one drawing
566 2004-03-25 Angus Leeming <leeming@lyx.org>
568 * insetcaption.C (draw): squash warning about unused variable.
570 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
572 * ExternalSupport.C: use the master buffer's temp dir
573 * insetgraphics.C (latex): make relative filename relative to the
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)
580 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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.
589 * insetinclude.C: rename masterFilename to parentFilename (this
590 points to the direct parent)
592 2004-03-25 André Pönitz <poenitz@gmx.net>
594 * inset.[Ch]: remover owner
596 * insetcollapsable.[Ch]: derive from InsetText instead having such a
604 * insetcharstyle.[Ch]:
612 * insetwrap.C: adjust
614 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * insetquote.C: use opening quote after '[' char.
618 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
620 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
623 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * insetcite.[Ch]: support jurabib.
627 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
629 * insetcite.C: Support second \cite option.
632 * insetcommandparams.[Ch]: add second optional argument.
634 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
636 * insetcollapsable.C (lfunMouseRelease): right mouse button only
637 shows the inset dialog.
639 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
641 * insetlabel.[Ch]: remove them
642 * Makefile.am: adjust
644 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
646 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
648 * insetinclude.C (latex): show a GUI warning if textclasses don't
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
654 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
656 * insetquotes.[Ch]: added new member that allows direct access
657 to single/double quotation marks.
659 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
661 2004-02-16 André Pönitz <poenitz@gmx.net>
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)'
669 * inset*.[Ch] (priv_dispatch): adjust
671 * insettabular.[Ch]: remove remains of the 'update' mechanism,
672 simplify cursor moving function,
673 re-enable horizontal scrolling for large tables
675 2004-02-13 André Pönitz <poenitz@gmx.net>
677 * insettabular.[Ch]: some work after IU
679 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
681 * inset.C (setPosCache): switch to absolute coords in insets
682 * insettext.[Ch] (draw, drawFrame): adjust
683 * insetcollapsable.C (draw): adjust
686 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
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
692 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
694 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
696 * insetfloat.C (validate): "H" -> 'H' in call to contains
698 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
700 2004-01-30 André Pönitz <poenitz@gmx.net>
704 * insetcollapsable.[Ch]:
707 * insetgraphics.[Ch]:
712 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
715 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
717 * insettabular.C: add using statement for std::vector, remove
718 std:: where using was already used.
720 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
724 * insetinclude.C (validate): use feautures.nice() instead of
727 2004-01-20 André Pönitz <poenitz@gmx.net>
730 * insetbase.[Ch]: move stuff from mathcursor here.
736 * insetcharstyle.[Ch]:
737 * insetcollapsable.[Ch]:
740 * insetexternal.[Ch]:
742 * insetgraphics.[Ch]:
751 * updatableinset.[Ch]: Adjust to IU changes (see comment in
754 2004-01-15 André Pönitz <poenitz@gmx.net>
761 * insetcharstyle.[Ch]:
762 * insetcollapsable.[Ch]:
765 * insetexternal.[Ch]:
767 * insetgraphics.[Ch]:
776 * updatableinset.[Ch] (priv_dispatch et al): change signature.
778 2004-01-08 André Pönitz <poenitz@gmx.net>
780 * insetcollapsable.[Ch]:
783 * updatableinset.h: use cell index info from global cursor.
785 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
787 * insetnote.C (InsetNoteParams::write): write label only once
789 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
791 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
793 get rid of the SameName functor
795 * insettabular.C: improve the functor.
797 2003-12-29 Angus Leeming <leeming@lyx.org>
799 * insetexternal.C (setParams): update defaultTemplateName.
801 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
803 * insetbox.C: Use term "Box" in button label
805 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
807 * insetcharstyle.C: get getDrawFont working again
809 2003-12-15 André Pönitz <poenitz@gmx.net>
812 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
814 2003-12-12 Angus Leeming <leeming@lyx.org>
816 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
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 ;-)
823 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
825 * insetminipage.[Ch]: remove from repository.
827 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
830 * insetcollapsable.[Ch]: Move all CollapseStatus code from
831 insetert to insetcollapsable; introduce virtual function
832 setButtonLabel and invoke it from collapsable
834 2003-12-12 Angus Leeming <leeming@lyx.org>
836 * insetinclude.C (draw): cache x,y and so enable the
839 2003-12-12 Angus Leeming <leeming@lyx.org>
841 * mailinset.C (print_mailer_error): tidy up the output.
843 2003-12-11 Angus Leeming <leeming@lyx.org>
845 * mailinset.[Ch] (print_mailer_error): new helper function.
847 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
848 calling InsetCommandMailer.
849 (InsetCommandMailer::string2params): pass the name of the dialog.
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.
862 * insetbibtex.[Ch] (draw, metrics):
863 * insetfloatlist.[Ch] (draw, metrics):
864 * insetindex.[Ch] (draw, metrics): removed.
865 Drawing is handled by InsetCommand.
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.
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.
889 2003-12-10 Angus Leeming <leeming@lyx.org>
891 * insetexternal.[Ch]: add a draft option and respect it when
894 2003-12-10 Angus Leeming <leeming@lyx.org>
896 * insetbox.C: (read, write): now prepend the inset contents with
897 'Box' to identify the inset as a box inset.
899 * insetbox.h: move the translators out of sight.
901 2003-12-10 Angus Leeming <leeming@lyx.org>
903 * insetert.C (string2params): clean-up using the new lyxlex interface.
905 * insetexternal.C: ensure that InsetExternalParams has a default
906 template, 'RasterImage'.
908 2003-12-10 Angus Leeming <leeming@lyx.org>
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.
915 2003-12-10 Angus Leeming <leeming@lyx.org>
917 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
918 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
920 2003-12-10 André Pönitz <poenitz@gmx.net>
925 * insettext.[Ch]: remove unused insetInset()
927 * insetert.C: disable some LFUNs
929 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
931 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
933 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
935 2003-12-04 Angus Leeming <leeming@lyx.org>
937 * insetexternal.C (draw): update the xo_, yo_ cache.
939 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
941 (RotationDataType): new helper struct wrapping the
942 RotationData::OriginType enum.
944 2003-12-03 André Pönitz <poenitz@gmx.net>
946 * inset.h: remove getParagraphs()
948 * insetcollapsable.[Ch]:
952 * insettext.C: use getText() instead of getParagraphs()
954 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
956 * insetert.C: fix label text updating bug
958 2003-12-02 Angus Leeming <leeming@lyx.org>
960 * insetvspace.[Ch] (space): new member function. Make space_ private.
961 (read): use the new, simpler lyxlex syntax.
963 2003-12-01 André Pönitz <poenitz@gmx.net>
965 * insetcollapsable.[Ch]:
966 * insetert.[Ch]: move 'inline' state to InsetCollapsable
968 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
970 * insetvspace.C (read): handle 'end_inset' token.
972 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
974 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
976 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
978 * insetcollapsable.[Ch]:
980 * insetcharstyle.C: place inset content on the button when
983 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
985 * insetvspace.C: remove VSpace::NONE; increase inset width
987 2003-12-01 André Pönitz <poenitz@gmx.net>
989 * insetbase.h: whitespace
991 * inset.[Ch]: remove latexTextWidth
992 make setBackgroundColor virtual
994 * insettext.[Ch]: move ParagraphList member to LyXText
996 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1002 * insetminipage.[Ch]:
1004 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1006 2003-11-28 Angus Leeming <leeming@lyx.org>
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.
1012 2003-11-28 Angus Leeming <leeming@lyx.org>
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.
1023 * insetminipage.C (showInsetDialog):
1024 simplify the invocation of the Mailer::showialog() function.
1026 2003-11-28 André Pönitz <poenitz@gmx.net>
1029 * insetvspace.[Ch]: new insets
1031 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1033 * insetcharstyle.C: Syntax change for CharStyles
1035 2003-11-28 André Pönitz <poenitz@gmx.net>
1037 * updatableinset.h: remove insetInInsetY
1039 * insetcollapsable.[Ch]:
1041 * insettabular.[Ch]:
1042 * insettext.[Ch]: adjust
1044 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1048 * insetcollapsable.[Ch]:
1050 * insettabular.[Ch]: remove setFont
1052 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1054 * render_graphic.[Ch]: adjust comments
1056 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1058 * insetgraphics.C (draw): cache xo_ & yo_
1060 2003-11-24 André Pönitz <poenitz@gmx.net>
1062 * insettext.C (setViewCache): don't call LyXText::init() anymore
1064 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1067 * insetcollapsable.[Ch]:
1068 * insetert.[Ch]: remove bufferview parameter in methods
1069 open, close, status, and updateStatus.
1071 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1073 * insetcollapsable.[Ch]:
1074 * insettabular.[Ch]:
1075 * insettext.[Ch] (getCursorDim): squash unused variable
1077 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1079 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1081 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1083 * insettext.C (draw): sets LyXText absolute coordinates
1085 2003-11-20 Angus Leeming <leeming@lyx.org>
1087 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1088 warnings about unused parameters.
1090 * insetcollapsable.C (open):
1091 * insettabular.C (pasteSelection):
1092 * insettoc.C (draw): ditto.
1094 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1096 * insetcollapsable.C:
1098 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1099 remove mouse_x mouse_y etc.
1101 2003-11-17 André Pönitz <poenitz@gmx.net>
1103 * insettext.[Ch] (cx, cy): remove
1105 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1107 2003-11-13 André Pönitz <poenitz@gmx.net>
1110 * insetcollapsable.[Ch]:
1111 * insettabular.[Ch]:
1112 * insettext.[Ch] (deleteLyXText): remove
1114 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1116 * insetcollapsable.[Ch] (fitInsetCursor): remove
1117 * insettabular.[Ch] (fitInsetCursor): remove
1118 * insettext.[Ch] (fitInsetCursor): remove
1119 * updatableinset.[Ch] (fitInsetCursor): remove
1120 (getCursorDIm): add virtual
1122 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
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
1130 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1132 * insettext.C: remove all update calls
1133 * insetcollapsable.C: remove all update calls
1135 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1137 * insettext.C (updateLocal, insertInset, setFont): remove
1140 2003-11-10 André Pönitz <poenitz@gmx.net>
1142 * inset.h: remove Inset::id_
1144 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1149 2003-11-10 André Pönitz <poenitz@gmx.net>
1153 * insetcollapsable.[Ch]:
1157 * insettabular.[Ch]:
1160 * updatableinset.[Ch]: remove inset locking & adjust
1162 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1164 * inset.h (allowSpellCheck): add (return true)
1165 * insetert.h (allowSpellCheck): add (return false)
1167 2003-11-05 José Matos <jamatos@lyx.org>
1173 * insetcaption.[Ch]:
1175 * insetcollapsable.[Ch]:
1176 * insetcommand.[Ch]:
1179 * insetexternal.[Ch]:
1181 * insetfloatlist.[Ch]:
1183 * insetgraphics.[Ch]:
1185 * insetinclude.[Ch]:
1188 * insetlatexaccent.[Ch]:
1191 * insetmarginal.[Ch]:
1192 * insetminipage.[Ch]:
1193 * insetnewline.[Ch]:
1196 * insetpagebreak.[Ch]:
1200 * insetspecialchar.[Ch]:
1201 * insettabular.[Ch]:
1203 * insettheorem.[Ch]:
1206 * insetwrap.[Ch]: rename ascii to plaintext
1207 and LatexRunParams to OutputParams.
1209 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1211 * insetcollapsable.C (edit): add open() all
1212 * insettext.C (edit): add setViewCache call
1214 2003-11-04 André Pönitz <poenitz@gmx.net>
1216 * inset.h (edit): move locking code from dispatch() to edit()
1222 * insetcollapsable.[Ch]:
1225 * insetexternal.[Ch]:
1226 * insetgraphics.[Ch]:
1231 * insettabular.[Ch]:
1232 * insettext.[Ch]: adjust
1234 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1237 * insetcollapsable.[Ch]:
1239 * insettabular.[Ch]:
1241 * updatableinset.[Ch]: remove dead search code
1243 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1246 * insetcollapsable.[Ch]:
1248 * insettabular.[Ch]:
1250 * updatableinset.[Ch]: remove dead spellcheck code
1252 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1254 * insettabular.C (lockInsetInInset): small fix
1256 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
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.
1262 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * Inset::dispatch's: adjust for new DispatchResult semantics.
1266 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
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
1273 * insettheorem.C (clone): return an auto_ptr
1275 * insettext.C (priv_dispatch): exception safety
1277 * insettabular.C: store the file scope variable paste_tabular in a
1278 scoped_ptr, adjust usage.
1280 * insetexternal.C (setParams): exception safety
1282 * insetbibitem.C (clone): exception safety
1284 2003-11-03 André Pönitz <poenitz@gmx.net>
1287 * insetcollapsable.[Ch]:
1288 * insettabular.[Ch]:
1289 * insettext.[Ch]: remove Inset::id and related functions
1291 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * insets: adjust for DispatchResult changes.
1295 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1297 * insetpagebreak.C: fix screen representation & ascii output.
1299 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1303 * insettabular.[Ch]:
1304 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1306 2003-10-31 José Matos <jamatos@lyx.org>
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.
1340 2003-10-30 José Matos <jamatos@lyx.org>
1342 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1344 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
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.
1374 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1376 * insettext.C: small refactoring of docbook stuff
1378 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1381 (priv_dispatch): adjust for operator dispatch_result_t removal
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)
1387 * most insets: dispatch_result -> DispatchResult
1389 * insetbase.h: move DispatchResult out to dispatchresult.h
1391 2003-10-27 André Pönitz <poenitz@gmx.net>
1393 * insetpagebreak.[Ch]: new inset for page breaks
1395 * insetline.[Ch]: new inset for vertical lines
1400 2003-10-25 Angus Leeming <leeming@lyx.org>
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.
1408 * insetexternal.C: use these new functions rather than dynamic_cast.
1409 Various other small simplifications.
1411 2003-10-22 Angus Leeming <leeming@lyx.org>
1413 * insetexternal.[Ch]: add the ability to 'preview' the external file
1416 * insetinclude.C: changes due to the changes in the RenderPreview
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.
1424 2003-10-22 Angus Leeming <leeming@lyx.org>
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.
1432 2003-10-22 Angus Leeming <leeming@lyx.org>
1434 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1435 class and into an anonymous namespace.
1437 2003-10-22 Angus Leeming <leeming@lyx.org>
1439 * insetcommand.h: remove the display method.
1443 * insetindex.h (InsetPrintIndex):
1444 * insettoc.h: add a display method, returning true.
1446 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1448 * insetcollapsable.h:
1452 * insetinclude.h: (1) finish off the inset display() work;
1453 (2) fix the "is a bit silly" bug (accessing char
1456 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1460 * insetfootlike.h: re-introduce display() for insets,
1461 fixing the various bugs (stretch of line above, math inset
1464 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * insetbase.C (dispatch): new func
1467 (priv_dispatch): new func replaces...
1468 (localDispatch): this, deleted.
1470 * all insets with dispatch modified for new code.
1472 2003-10-15 André Pönitz <poenitz@gmx.net>
1474 * insetcollapsable.[Ch]
1476 * inset.h: re-add some edit(bv, index) method called by undo
1478 2003-10-14 Angus Leeming <leeming@lyx.org>
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.
1485 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1486 the BufferView cache.
1488 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1491 2003-10-14 Angus Leeming <leeming@lyx.org>
1493 * insetinclude.C (metrics, draw): only draw the preview when previews
1496 2003-10-14 André Pönitz <poenitz@gmx.net>
1498 * insetcollapsable.[Ch]:
1499 * insettabular.[Ch]:
1501 * inset.h: getText() as alternative to getParagraphs()
1503 2003-10-13 Angus Leeming <leeming@lyx.org>
1506 * insetgraphicsParams.C: displayTranslator is now a function.
1508 2003-10-13 Angus Leeming <leeming@lyx.org>
1510 * insetinclude.C: remove #include "PreviewImage.h".
1512 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * ExternalSupport.C:
1515 * ExternalTransforms.C:
1517 * insetbox.h: ws changes only
1519 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1521 * insetinclude.C (localDispatch): do not call
1522 InsetOld::localDispatch, just return UNDISPATCHED
1523 * insetgraphics.C (localDispatch): ditto
1524 * insetcommand.C (localDispatch): ditto
1526 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * inset.h: get rid of RESULT typedef for dispatch_result
1530 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1531 * insetert.[Ch] (localDispatch): ditto
1532 * insettabular.[Ch] (localDispatch): ditto
1537 * insettext.[Ch] (localDispatch): ditto
1540 (moveRightIntern): ditto
1541 (moveLeftIntern): ditto
1544 * updatableinset.[Ch] (localDispatch): ditto
1546 2003-10-12 Angus Leeming <leeming@lyx.org>
1548 * renderbase.h (view, view_): removed.
1549 * renderbase.C: removed.
1550 * Makefile.am: remove render_base.C. The shortest lived file in
1553 * renderbutton.C (draw):
1554 * render_graphic.C (draw): don't cache the BufferView.
1556 * insetabase.h (cache, view): removed.
1558 * inset.h (generatePreview) removed.
1560 * insetcallapsable.[Ch] (cache, view, view_): removed.
1562 * insetcollapsable.C (draw): don't cache the BufferView.
1564 * insetcommand.[Ch] (view): removed.
1566 * insetexternal.[Ch] (cache, view, view_):
1567 * insetgraphics.[Ch] (cache, view, view_):
1568 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
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.
1573 2003-10-10 Angus Leeming <leeming@lyx.org>
1575 * insetinclude.C (metrics): use preview_->metrics.
1576 (draw): use preview_->draw.
1578 * render_preview.[Ch] (pimage): removed.
1580 2003-10-10 Angus Leeming <leeming@lyx.org>
1582 * renderers.[Ch]: removed.
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.
1591 * Makefile.am: reflect the changed files.
1594 * insetexternal.[Ch]:
1595 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1597 * insetinclude.[Ch]: changes reflecting the change from
1598 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1604 * inseturl.C: add #include "support/std_ostream.h"
1606 2003-10-09 Angus Leeming <leeming@lyx.org>
1608 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1609 to PreviewedInset::previewReady.
1611 2003-10-09 Angus Leeming <leeming@lyx.org>
1613 * insetexternal.[Ch] (statusChanged):
1614 * insetgraphics.[Ch] (statusChanged): make a const member function.
1616 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1619 2003-10-09 Angus Leeming <leeming@lyx.org>
1621 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1622 to PreviewedInset's previewReady and removePreview member functions.
1624 2003-10-08 André Pönitz <poenitz@gmx.net>
1626 * insetcollapsable.C:
1627 * insettext.[Ch]: saner 'init' structure
1629 * updatableinset.[Ch]: remove unneeded code
1631 2003-10-08 Angus Leeming <leeming@lyx.org>
1633 Fix doxygen warnings.
1635 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1636 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1638 2003-10-07 Angus Leeming <leeming@lyx.org>
1640 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1641 be applied to InsetExternal.
1643 * Makefile.am: add these new files.
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.
1649 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1651 * ExternalSupport.C: Add code to replace transform placeholders
1652 with appropriate output.
1654 2003-10-07 Angus Leeming <leeming@lyx.org>
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.
1660 * Makefile.am: add new files.
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].
1668 2003-10-07 Angus Leeming <leeming@lyx.org>
1670 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1671 non-const member function.
1673 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1678 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1680 2003-10-02 André Pönitz <poenitz@gmx.net>
1682 * insettext.C (read): make sure there is at least one par
1683 in the text after reading.
1685 2003-10-01 José Matos <jamatos@lyx.org>
1687 * insetbranch.C (linuxdoc, docbook): minor fix.
1689 2003-10-01 Angus Leeming <leeming@lyx.org>
1691 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1693 * insetexternal.[Ch]: changes due to the introduction of
1694 namespace lyx::external.
1696 2003-09-30 Angus Leeming <leeming@lyx.org>
1698 * insetexternal.[Ch] (Params::read, write): new member functions.
1700 2003-09-25 Angus Leeming <leeming@lyx.org>
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.
1707 2003-09-25 Angus Leeming <leeming@lyx.org>
1709 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1710 function, returning a const pointer.
1712 2003-09-23 Angus Leeming <leeming@lyx.org>
1714 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1715 store them in a vector, preambleNames.
1717 * insetexternal.C (validate): loop over all preambleNames and call
1718 LaTeXFeatures::addExternalPreamble with each.
1720 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1722 * insetbranch.C: bug fix in branches
1724 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1726 * insetnote.C: small clean-up.
1728 2003-09-19 Angus Leeming <leeming@lyx.org>
1730 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1732 * insetcommand.C (string2params): clear params using the default c-tor.
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.
1743 2003-09-18 Angus Leeming <leeming@lyx.org>
1745 * insetcommand.C (setParams): use the params' copy constructor.
1747 2003-09-18 Angus Leeming <leeming@lyx.org>
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.
1757 2003-09-18 Angus Leeming <leeming@lyx.org>
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
1764 2003-09-18 Angus Leeming <leeming@lyx.org>
1766 * insetinclude.C (latexString): add a Buffer const & arg.
1768 2003-09-18 Angus Leeming <leeming@lyx.org>
1773 * insettext.h: rename EnumLColor as LColor_color.
1775 2003-09-18 Angus Leeming <leeming@lyx.org>
1777 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1778 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1780 2003-09-16 Angus Leeming <leeming@lyx.org>
1782 * insetinclude.C (localDispatch): ensure that
1783 params_.masterFilename_ is set before trying to generate a
1784 preview, else we trigger an assert.
1786 2003-09-16 Angus Leeming <leeming@lyx.org>
1788 * insetinclude.C (PreviewImpl::parent): return a const reference.
1790 2003-09-16 Angus Leeming <leeming@lyx.org>
1792 * insetcollapsable.[Ch]: make all member variables, except for
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.
1801 * insetminipage.C (metrics):
1802 * insetnote.C (metrics):
1803 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1804 access collapsed_ directly.
1806 2003-09-16 Angus Leeming <leeming@lyx.org>
1808 * insetbibitem.C: add #include "lyxfont.h".
1810 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * insetbibtex.C: use namespace alias for lyx::support::os
1815 2003-09-16 Angus Leeming <leeming@lyx.org>
1817 * insetcollapsable.h: remove unused framecolor variable.
1818 Remove #include "LColor.h".
1820 * insetcollapsable.C: remove unused framecolor variable.
1823 * insetcollapsable.C:
1831 Add #include "LColor.h".
1833 2003-09-16 Angus Leeming <leeming@lyx.org>
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
1842 add #include "LColor.h".
1844 * insetcollapsable.h: add #include "LColor.h"
1845 (for its framecolor member variable).
1847 2003-09-16 Angus Leeming <leeming@lyx.org>
1849 * insetenv.C (constructor): use accessor functions to access
1850 InsetText variables.
1852 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1853 rename frame_color as frame_color_. Make private.
1855 * insettext.C: associated changes.
1857 2003-09-16 Angus Leeming <leeming@lyx.org>
1859 * inset.h: store background_color_ as an int, not as an
1860 LColor::color to get LColor.h out of the header file.
1863 * insetlatexaccent.C:
1866 * insetspecialchar.C:
1868 add #include "LColor.h".
1870 2003-09-16 Angus Leeming <leeming@lyx.org>
1872 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
1873 cannot string calls together.
1875 2003-09-15 Angus Leeming <leeming@lyx.org>
1877 * inset.[Ch] (setBackgroundColor, backgroundColor):
1878 * insettext.[Ch] (setFrameColor):
1879 pass EnumLColor args, rather than LColor::color ones.
1881 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * insetwrap.C: remove usage of STRCONV
1893 2003-09-15 Angus Leeming <leeming@lyx.org>
1895 * renderers.C (draw):
1896 * insetlatexaccent.C (draw): explicitly define the color passed to
1899 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1901 * insettext.C: remove block causing problems in lockInsetInInset
1902 (mentioned erroneously under Bug #1366)
1904 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1906 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1909 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1911 * several files: change Assert to BOOST_ASSERT
1913 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1915 * insettext.[Ch]: remove drawText[XY]Offset
1917 2003-09-08 Angus Leeming <leeming@lyx.org>
1919 * insetcollapsable.C:
1924 * insetspecialchar.C:
1927 * insettoc.C: remove redundant using directives.
1929 2003-09-07 Angus Leeming <leeming@lyx.org>
1932 * insetspecialchar.h: remove #include "support/std_string.h".
1934 2003-09-06 Angus Leeming <leeming@lyx.org>
1936 * renderers.C: add #include "insets/inset.h"
1938 2003-09-05 Angus Leeming <leeming@lyx.org>
1940 * *.C: strip out redundant #includes. (193 in total.)
1942 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
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.
1954 2003-09-04 Angus Leeming <leeming@lyx.org>
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.
1961 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1962 (validate): Small change due to the changed storage of preamble
1965 2003-09-04 Angus Leeming <leeming@lyx.org>
1967 * insetgraphics.C: #include "support/os.h"
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.
1973 * insetcollapsable.h:
1975 * insetnote.C: move #include "funcrequest.h" out of the header file.
1977 2003-09-03 Angus Leeming <leeming@lyx.org>
1979 * insetexternal.C (updateExternal):
1980 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1983 2003-09-03 Angus Leeming <leeming@lyx.org>
1985 * insetexternal.C: don't bring namespace lyx::support into the global
1988 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1990 * insetbranch.C: Add Branch: to label
1992 2003-09-02 John Levon <levon@movementarian.org>
1995 * insettext.C: remove cursor.i[xy]()
1997 2003-08-28 Angus Leeming <leeming@lyx.org>
1999 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2000 "sh ", enabling the conversion to be carried out even if the script
2003 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * most files: change to use const Buffer refs
2007 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2009 * insetfootlike.C: whitespace.
2011 2003-08-26 John Levon <levon@movementarian.org>
2015 * insetindex.h: remove remaining mentions of needFullRow()
2017 2003-08-26 André Pönitz <poenitz@gmx.net>
2023 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2025 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2027 * insetbranch.C: Small fix to prevent a crash on loading.
2029 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2034 * insetcollapsable.h:
2036 * insetfloatlist.[Ch]:
2037 * insetfootlike.[Ch]:
2038 * insetinclude.[Ch]:
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.
2049 2003-08-19 André Pönitz <poenitz@gmx.net>
2051 * insettext.C: use new RowPainter interface
2053 2003-08-18 John Levon <levon@movementarian.org>
2055 * insetref.C: require amsmath for eqref
2057 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
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.
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.
2074 2003-08-15 André Pönitz <poenitz@gmx.net>
2076 * insettext.[Ch]: adjust after rowlist split
2078 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
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
2084 2003-08-11 André Pönitz <poenitz@gmx.net>
2086 * inset.h: remove resizeLyXText
2089 * insetcollapsable.[Ch]:
2091 * insettabular.[Ch]: adjust
2093 * insettext.[Ch]: remove saveLyXTextState,
2094 restoreLyXTextStat, sstate, reinitLyXText
2096 2003-08-07 André Pönitz <poenitz@gmx.net>
2098 * inset.[Ch]: move non-crucial functions out-of-line
2100 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2101 remove duplicated code.
2103 2003-08-05 André Pönitz <poenitz@gmx.net>
2106 * insetcollapsable.[Ch]:
2116 * insettabular.[Ch]:
2119 * updatableinset.[Ch]: rip out "deep update"
2121 * insettext.C (localDispatch): merge cases with default branch
2123 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2125 * insettabular.[Ch] (updateLocal): simplify logic
2127 2003-08-04 André Pönitz <poenitz@gmx.net>
2129 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2130 is 'FULL' all the time.
2132 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2134 * insetert.C (get_new_label): only add ... to the (closed) label
2135 when the string has been shortened
2137 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2139 * Always use std::endl with lyxerr
2141 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2143 * insetnote.C: update \author list
2145 2003-07-31 André Pönitz <poenitz@gmx.net>
2147 * insetcollapsable.h:
2148 * insettabular.[Ch]:
2149 * insettext.[Ch]: remove toggleSelection
2151 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2153 (with help from Juergen Spitzmueller)
2154 * insetnote.C: add add i18n support. Use Prefs-definable
2155 colours for Comment and Greyedout.
2157 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2159 * insetcollapsable.[Ch]:
2161 * insetert.C: factor out the detection of clicking on the inset
2162 button as 'hitButton'. John Levon contributed.
2164 2003-07-30 André Pönitz <poenitz@gmx.net>
2166 * insetcollapsable.C:
2168 * insettabular.C: parantheses, localize vars etc.
2170 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2172 * insetnote.C: Implement a newenvironment in preamble for
2173 greyedout. Patch provided by Jürgen Spitzmüller.
2175 2003-07-29 Angus Leeming <leeming@lyx.org>
2177 * insetcommand.C (localDispatch): default to
2178 InsetOld::localDispatch.
2180 * insetbibitem.C (localDispatch):
2181 * insetbibtex.C (localDispatch): remove call to
2182 ChangeCitationsIfUnique.
2184 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2186 * insetexternal.C (read): use pushpophelper.
2188 2003-07-28 José Matos <jamatos@lyx.org>
2190 * insetext.C (read): \end_document replaces \the_end.
2192 2003-07-28 José Matos <jamatos@fep.up.pt>
2194 * insetert.C (write): \layout -> \begin_layout.
2195 Add missing \end_layout.
2197 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2199 * insetquotes.C: document a bit the format
2201 * insettabular.C (write): remove extra space
2203 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2204 * insetnote.C: Umpf. Hope I *now* get it right :-(
2206 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2207 *insetnote.C: did the right fix to greyedout: \color
2208 instead of \textcolor.
2210 2003-07-28 Angus Leeming <leeming@lyx.org>
2212 * insetbibtex.h: remove extraneous forward declaration.
2215 * insetbibtex.h: Also remove long-dead Holder member class
2218 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2220 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2223 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2225 * insetwrap.C (addToToc): adjust for lyx::toc
2227 * insetfloatlist.C (ascii): adjust for lyx::toc
2229 * insetfloat.C (addToToc): adjust for lyx::toc
2231 2003-07-27 José Matos <jamatos@fep.up.pt>
2233 * insetnote.h (linuxdoc,docbook): update support.
2235 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2237 * insetfloat.C (wide): add a space to label, for consistency
2239 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * insettext.C (nextChange): adjust for lyx::find
2242 (searchForward): ditto
2243 (searchBackward): ditto
2245 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2247 * insetgraphicsParams.C:
2248 * insetexternal.C: declare extern displayTranslator
2251 * renderers.C: add #include "support/LAssert.h"
2253 2003-07-27 José Matos <jamatos@fep.up.pt>
2255 * insetfloat.[Ch] (linuxdoc):
2256 * insetgraphics.C (linuxdoc):
2257 * insettabular.C (linuxdoc):
2258 * insettext.[Ch] (linuxdoc): add support for tables and figures
2261 2003-07-27 José Matos <jamatos@fep.up.pt>
2263 * insetinclude (latex): comply with makeLaTeXFile argument change.
2265 2003-07-26 Asger Alstrup <alstrup@local>
2267 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2268 the undo crashes. We'll see what problems other places this will
2271 2003-07-26 Angus Leeming <leeming@lyx.org>
2273 * insetgraphics.C: remove unused declaration of system_tempdir.
2275 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * rename Inset to InsetOld
2279 * all inset files (clone): return a auto_ptr<InsetBase>
2281 2003-07-23 Angus Leeming <leeming@lyx.org>
2283 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2285 2003-07-23 Angus Leeming <leeming@lyx.org>
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.
2299 * insetexternal.[Ch]:
2300 * insetgraphics.[Ch]: get rid of the view() function. Associated
2301 changes to the mailers' string2params and params2string functions.
2303 2003-07-23 Angus Leeming <leeming@lyx.org>
2305 * insetexternal.[Ch]: store the external file name in a FileName
2306 member variable rather than a string + associated changes.
2308 2003-07-21 Angus Leeming <leeming@lyx.org>
2310 * insetgraphicsParams.[Ch]: store the graphics file name in
2311 a FileName member variable rather than a string.
2313 * insetgraphics.[Ch]:
2314 * insetgraphicsParams.[Ch]: Associated changes.
2316 2003-07-21 Angus Leeming <leeming@lyx.org>
2318 * insetgraphics.[Ch] (string2params, params2string): passed a
2319 buffer_path argument.
2322 2003-07-21 Angus Leeming <leeming@lyx.org>
2325 * insetgraphicsParams.[Ch]:
2327 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2329 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2331 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2333 2003-07-18 André Pönitz <poenitz@gmx.net>
2336 * insetminipage.[Ch]:
2337 * insettabular.[Ch]:
2340 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2342 2003-07-18 André Pönitz <poenitz@gmx.net>
2346 * insetcollapsable.C:
2350 * insetgraphics.[Ch]:
2351 * insetlatexaccent.[Ch]:
2356 * insetspecialchar.C:
2357 * insettabular.[Ch]:
2359 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2361 2003-07-17 André Pönitz <poenitz@gmx.net>
2363 * insetcollapsable.C:
2365 * insettext.C: don't call Inset::update() anymore
2368 * insettabular.[Ch]: remove unneeded in_update_ members
2370 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2372 2003-07-16 André Pönitz <poenitz@gmx.net>
2374 * insettext.C (selectAll): remove
2376 2003-07-16 John Levon <levon@movementarian.org>
2379 * insetnote.C: implement showInsetDialog()
2381 2003-07-15 André Pönitz <poenitz@gmx.net>
2384 * insettext.C: refresh_status tristate -> need_update bool
2386 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2388 * insettext.C: adjust call to LyXText::init
2390 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2392 * insettext.C: use bufferview_funcs->replaceSelection()
2393 to delete selections in some cases (bugs 441, 673, 702, 954).
2395 2003-07-14 André Pönitz <poenitz@gmx.net>
2397 * insettext.C (draw): use slimmed down rowpainter interface
2399 2003-07-14 André Pönitz <poenitz@gmx.net>
2401 * insetcollapsable.C:
2403 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2404 remove unused BufferView * argument
2406 2003-07-14 André Pönitz <poenitz@gmx.net>
2408 * insettext.[Ch]: used cached metrics a bit more
2410 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2412 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2414 2003-07-10 André Pönitz <poenitz@gmx.net>
2417 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2419 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * introduce namespace lyx::graphics
2423 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * introduce namespace lyx::support
2427 2003-06-30 André Pönitz <poenitz@gmx.net>
2429 * insetcite.C (localDispatch): fix case of missing return value
2431 * insetcite.C (ascii): remove unneeded temporary
2433 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2435 * insetspace.h: fix \file
2437 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2438 * insetinclude.C (fillWithBibKeys): ditto
2440 * insetbibitem.C: fix type const order
2442 * inset.C (getLyXText): add varname for arg
2444 * ExternalTemplate.h: fix type const order
2446 2003-06-27 André Pönitz <poenitz@gmx.net>
2448 * insettext.C: take care of removed LyXCursor::row_ member
2450 * insettext.[Ch]: use new TextCursor struct for sstate
2452 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2454 * inseterror.[Ch]: removed
2456 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2458 * insetinclude.C (docbook): use parseError instead of sgmlError
2460 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2462 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2463 of BufferList::loadLyXFile
2465 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2467 * insettext.C (update): simplify
2468 (updateLocal): remove commented code
2469 (insetUnlock): simplify
2470 (lockInset): simplify
2471 (updateInsetInInset): simplify
2472 (localDispatch): simplify
2474 (resizeLyXText): simplify
2475 (collapseParagraphs): simplify
2477 * insetert.C (get_new_label): simplify
2479 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2481 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2482 pasteSelection with index
2484 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2488 2003-06-16 André Pönitz <poenitz@gmx.net>
2490 * insetbase.h: new virtual base function clone()
2492 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2493 Inset * clone() -> InsetBase * clone()
2495 2003-06-13 André Pönitz <poenitz@gmx.net>
2497 * insettabular.[Ch]: make tabular a proper member
2499 2003-06-12 André Pönitz <poenitz@gmx.net>
2501 * insettabular.[Ch]: some renaming plus whitespace
2503 2003-06-11 Angus Leeming <leeming@lyx.org>
2505 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2508 * insetbutton.[Ch]: removed.
2509 * graphicinset.[Ch]: renamed as renderers.[Ch].
2511 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2512 Create a new class ButtonRenderer using the InsetButton::metrics() and
2514 Derive both from a common RenderedInset base class.
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.
2522 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2523 display its contents as a button or as a graphic.
2525 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2528 2003-06-11 Angus Leeming <leeming@lyx.org>
2530 * insetcite.C (localDispatch): reformat.
2532 * insetref.C (localDispatch): enable dialog to be lauched.
2534 2003-06-11 John Levon <levon@movementarian.org>
2536 * insettabular.C: correctly mark all cells as erased
2538 2003-06-11 Angus Leeming <leeming@lyx.org>
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.
2546 As a by product, the visual statement that the Template is missing is
2549 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2551 * insettext.C (appendParagraphs): remove some commented code.
2553 2003-06-10 Angus Leeming <leeming@lyx.org>
2555 * graphicinset.[Ch] (view): removed the publicly accessible
2556 function to set the cache.
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.
2562 (editExternal, doSubstitution): move out of class.
2564 2003-06-10 Angus Leeming <leeming@lyx.org>
2566 * graphicinset.[Ch] (params): removed.
2567 * graphicinset.h (operator=): declared private but not defined.
2568 (statusMessage): made private.
2570 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2572 2003-06-07 John Levon <levon@movementarian.org>
2574 * insetert.C (latex): make a newline mean just that not
2577 2003-06-07 José Matos <jamatos@fep.up.pt>
2579 * insethfill.[Ch] (linuxdoc, docbook): implement output
2580 * insetspace.C (linuxdoc, docbook): remove coments as the code
2583 2003-06-06 José Matos <jamatos@fep.up.pt>
2585 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2587 2003-06-06 André Pönitz <poenitz@gmx.net>
2589 * insetwrap.[Ch]: code compactification
2591 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2593 * mailinset.C (updateDialog): use Dialogs::visible
2595 2003-06-04 Angus Leeming <leeming@lyx.org>
2597 * graphicinset.C (draw): add a comment for the #if 0 block.
2599 * insetexternal.h: remove Params::parameters variable.
2601 * insetexternal.C (read, write): rewrite to output new ExternalInset
2602 format and read it back making full use of LyXLex.
2604 2003-06-04 André Pönitz <poenitz@gmx.net>
2606 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2608 2003-06-04 John Levon <levon@movementarian.org>
2610 * insettabular.C: back out tall table speed up. It was broken
2612 2003-06-03 Angus Leeming <leeming@lyx.org>
2614 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2615 Remove ViewCommand and UpdateCommand.
2617 * graphicinset.C (update): bug fix. Set the params before calling the
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.
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.
2630 2003-06-03 Angus Leeming <leeming@lyx.org>
2632 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2633 and move it somewhere where InsetExternal can use it too.
2635 * Makefile.am: add the new files.
2637 * insetgraphics.[Ch]: make use of the new GraphicInset.
2639 2003-06-03 John Levon <levon@movementarian.org>
2642 * insetbibitem.[Ch]:
2645 * insetcommand.[Ch]:
2649 * insetexternal.[Ch]:
2653 * insetgraphics.[Ch]:
2655 * insetinclude.[Ch]:
2658 * insetlatexaccent.[Ch]:
2659 * insetmarginal.[Ch]:
2660 * insetminipage.[Ch]:
2667 * insetspecialchar.[Ch]:
2668 * insettabular.[Ch]:
2670 * insetthereom.[Ch]:
2673 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2675 * insetgraphics.[Ch]:
2676 * insetgraphicsParams.[Ch]: always store an absolute
2679 2003-06-02 André Pönitz <poenitz@gmx.net>
2683 * insetlatexaccent.C: remove duplicated call to metrics()
2685 2003-06-02 John Levon <levon@movementarian.org>
2687 * insettabular.C: fix resize of column width
2689 2003-06-02 John Levon <levon@movementarian.org>
2694 * insetparent.C: remove insetparent
2696 2003-06-02 André Pönitz <poenitz@gmx.net>
2703 * insetcollapsable.[Ch]:
2707 * insetgraphics.[Ch]:
2708 * insetinclude.[Ch]:
2709 * insetlatexaccent.[Ch]:
2710 * insetminipage.[Ch]:
2711 * insetnewline.[Ch]:
2714 * insetspecialchar.[Ch]:
2715 * insettabular.[Ch]:
2716 * insettext.[Ch]: unify first drawing phase
2719 * insetbase.h: move validate() to the base
2721 2003-05-31 Angus Leeming <leeming@lyx.org>
2723 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2725 2003-05-30 André Pönitz <poenitz@gmx.net>
2730 * insetcaption.[Ch]:
2731 * insetcollapsable.[Ch]:
2734 * insetgraphics.[Ch]:
2735 * insetinclude.[Ch]:
2736 * insetlatexaccent.[Ch]:
2737 * insetnewline.[Ch]:
2740 * insetspecialchar.[Ch]:
2741 * insettabular.[Ch]:
2743 * updatableinset.[Ch]: unify second drawing phase
2745 2003-05-30 John Levon <levon@movementarian.org>
2747 * insetgraphics.C: fix a bformat
2749 2003-05-29 John Levon <levon@movementarian.org>
2751 * insettabular.C: remove unused bufferOwner()
2753 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * insettext.C (lockInsetInInset): adjust
2756 (getLabelList): use const_iterator, adjust
2757 (getInsetFromID): use const_iterator, adjust
2758 (addPreview): use const_iterator, adjust
2760 * insetwrap.C (clone): remove const_cast
2762 * insetnote.C (clone): remove const_cast
2764 * insetminipage.C (clone): remove const_cast
2766 * insetmarginal.C (clone): remove const_cast
2768 * insetfoot.C (clone): remove const_cast
2770 * insetfloat.C (clone): remove const_cast
2772 * insetert.C (clone): remove const_cast
2774 * delete commented same_id functions from a lot of files.
2776 2003-05-28 John Levon <levon@movementarian.org>
2782 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2784 * insetminipage.C: fix metrics (bug 1144)
2786 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * insettext.C (saveLyXTextState): adjust
2789 (restoreLyXTextState): adjust
2792 (unlockInsetInInset): adjust
2793 (localDispatch): adjust
2794 (getLyXText): adjust
2796 * insettabular.C (insertAsciiString): adjust
2798 2003-05-27 André Pönitz <poenitz@gmx.net>
2801 * insetcollapsable.C:
2804 * insetlatexaccent.C:
2809 * insetspecialchar.C:
2811 * insettext.C: dim.w -> dim.wid
2813 2003-05-26 John Levon <levon@movementarian.org>
2815 * insettabular.C: avoid drawing all of a long table
2816 if it's not needed. A big speedup
2818 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * remove same_id from function signatures, adjust
2822 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * insettext.C (InsetText): adjust
2826 (setParagraphData): separate same_id cases, adjust
2827 (appendParagraphs): adjust
2828 (appendParagraphs): adjust
2830 2003-05-23 André Pönitz <poenitz@gmx.net>
2832 * insetbutton.h: whitespace
2834 * insettabular.C: more compact code
2836 * updatableinset.C: remove const_cast
2839 2003-05-23 Angus Leeming <leeming@lyx.org>
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.
2845 2003-05-23 Angus Leeming <leeming@lyx.org>
2847 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2849 2003-05-23 Angus Leeming <leeming@lyx.org>
2851 * insetfoot.C (latex):
2852 * inseturl.C (latex): rename fragile as moving_arg.
2854 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * inseterror.C (localDispatch): comment out unused var.
2858 2003-05-22 Angus Leeming <leeming@lyx.org>
2860 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2861 passed through the LatexRunParams arg.
2863 2003-05-22 Angus Leeming <leeming@lyx.org>
2865 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2866 through the LatexRunParams arg.
2868 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2869 arg rather than through a global var.
2871 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * insetspecialchar.C (dimension): use a string.
2875 2003-05-22 Angus Leeming <leeming@lyx.org>
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.
2882 2003-05-22 Angus Leeming <leeming@lyx.org>
2884 * inset*.[Ch] (latex):
2885 passed a LatexRunParams parameter.
2887 * insetgraphics.C (latex): actually use it ;-)
2889 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2891 * insetfloat.C (addToToc): trivial compile fix
2893 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2895 * insettext.[Ch] (paragraph): delete unused function
2897 * insetfloat.C (addToToc): parlist simplfication
2899 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2901 * insetspace.[Ch]: added (new space insets)
2903 * inset.h: handle new space insets
2905 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * insetfloat.C (addToToc): adjust
2909 2003-05-21 André Pönitz <poenitz@gmx.net>
2911 * insettext.[Ch]: fix drawing bug introduced earlier
2913 2003-05-19 André Pönitz <poenitz@gmx.net>
2915 * insetspecialchar.C: fix bug introduced yesterday
2917 2003-05-19 André Pönitz <poenitz@gmx.net>
2921 * insetcollapsable.[Ch]:
2925 * insetgraphics.[Ch]:
2926 * insetgraphicsParams.[Ch]:
2927 * insetlatexaccent.[Ch]:
2928 * insetminipage.[Ch]:
2929 * insetnewline.[Ch]:
2931 * insetspecialchar.[Ch]:
2932 * insettabular.[Ch]:
2933 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2935 2003-05-19 André Pönitz <poenitz@gmx.net>
2938 * insettext.C: more insetenv
2940 2003-05-16 André Pönitz <poenitz@gmx.net>
2943 * insetminimpage.[Ch]:
2944 * insetcollapsable.[Ch]: fix #832
2946 2003-05-16 André Pönitz <poenitz@gmx.net>
2949 * insetbibitem.[Ch]:
2953 * insetcollapsable.[Ch]:
2954 * insetcommand.[Ch]:
2957 * insetexternal.[Ch]:
2958 * insetfloatlist.[Ch]:
2959 * insetgraphics.[Ch]:
2960 * insetinclude.[Ch]:
2963 * insetlatexaccent.[Ch]:
2966 * insettabular.[Ch]:
2970 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2972 2003-05-13 André Pönitz <poenitz@gmx.net>
2975 * insetcollapsable.C:
2979 * insetwrap.C: tostr from own header
2991 * insetwrap.C: STRCONV
2994 2003-05-12 André Pönitz <poenitz@gmx.net>
3006 * insetwwrap.C: boost::format -> bformat all over the place
3008 2003-05-05 André Pönitz <poenitz@gmx.net>
3010 * insettext.h: add missing #include <map>
3012 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * insettext.C (InsetText): parlist cleanup
3017 (insetUnlock): ditto
3019 (lockInsetInInset): ditto
3023 (searchBackward): ditto
3024 (collapseParagraphs): ditto
3026 2003-05-06 John Levon <levon@movementarian.org>
3028 * insetcaption.C: don't cast wrap inset to InsetFloat
3031 * insetfloat.C: remove unneeded type() function
3033 2003-05-05 André Pönitz <poenitz@gmx.net>
3037 * insettabular.[Ch]:
3038 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3039 replace getFirstParagraph() by getParagraphs()
3041 2003-05-03 John Levon <levon@movementarian.org>
3043 * insetcollapsable.h:
3044 * insetcollapsable.C:
3050 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3051 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3052 getCursor(). Remove explicit cursor hides.
3054 2003-05-02 André Pönitz <poenitz@gmx.net>
3056 * insettext.C: remove unneeded &*
3058 2003-04-30 John Levon <levon@movementarian.org>
3060 * insettabular.C: fix edit message
3062 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * insettext.C (setFont): do not convert iterator -> pointer
3066 * insettabular.C (localDispatch): do not convert iterator -> pointer
3068 (tabularFeatures): ditto
3070 2003-04-29 André Pönitz <poenitz@gmx.net>
3072 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3074 2003-04-28 André Pönitz <poenitz@gmx.net>
3076 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3079 2003-04-25 André Pönitz <poenitz@gmx.net>
3081 * insetenv.C: derive from InsetText instead of InsetCollapsable
3083 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * insetexternal.C (string2params): dont do anything if the string
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
3096 2003-04-24 André Pönitz <poenitz@gmx.net>
3098 * insetref.C: support for eqref
3100 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * insetert.C (read): use ParagraphList::iterator.
3104 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * insetquotes.C (latex): comment some code and add warnings.
3108 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3110 * insetexternal.C (localDispatch): added a missing DISPATCHED
3112 2003-04-12 John Levon <levon@movementarian.org>
3114 * insetwrap.C (addToToc): fix a crash, conversion
3115 from while to for loop forgot to remove the explicit
3118 2003-04-10 John Levon <levon@movementarian.org>
3120 * insettabular.C (tabularFeature): make sure
3121 to update the dialog when we change something
3124 (getStatus): don't disable some lfuns (bug 939)
3126 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * insettext.C (saveLyXTextState): adjust
3129 (localDispatch): adjust
3135 * insettabular.C (localDispatch): adjust
3137 (tabularFeatures): adjust
3139 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3141 * insettabular.C (searchForward,searchBackward): fix bug 782
3143 2003-04-07 John Levon <levon@movementarian.org>
3146 * insettext.C: clear status message on inset exit
3148 2003-04-03 John Levon <levon@movementarian.org>
3150 * insetcommand.C: return dispatched on DIALOG_UPDATE
3152 2003-04-02 John Levon <levon@movementarian.org>
3154 * insettabular.C: tab lfuns renamed
3156 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * insettext.C (update): move towards ParagraphList
3159 (updateLocal): ditto
3161 (insetUnlock): ditto
3163 (lockInsetInInset): ditto
3164 (updateInsetInInset): ditto
3165 (localDispatch): ditto
3168 (resizeLyXText): ditto
3169 (searchBackward): ditto
3170 (collapseParagraphs): ditto
3173 * insetwrap.C (InsetWrap): adjust
3174 (addToToc): adjust and rewrite loop
3176 * insettext.[Ch] (paragraph): delete function
3178 * insettabular.C (moveNextCell): adjust
3179 (movePrevCell): adjust
3180 (insertAsciiString): adjust
3182 * insetfloat.C (InsetFloat): adjust
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
3193 2003-04-01 John Levon <levon@movementarian.org>
3195 From Alfredo Braunstein
3198 * insetbutton.C: add localDispatch()
3200 * insetcommand.C: return DISPATCHED when edit() called
3202 * insettext.C: fix bug 967
3204 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * insettext.C: adjust
3208 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * insettext.C (draw): adjust
3211 (crow): return a RowList::iterator not a Row*
3213 * insetminipage.C (localDispatch): adjust
3215 * insetert.C (localDispatch): adjust
3217 2003-03-31 John Levon <levon@movementarian.org>
3220 * insetgraphicsParams.C: use_gui moved to lyx_gui
3222 2003-03-31 John Levon <levon@movementarian.org>
3224 * insettext.C: Alert fix
3226 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * insettext.C (ascent): adjust for RowList
3231 (getLyXText): adjust
3232 (toggleSelection): adjust
3234 * insetminipage.C (localDispatch): adjust for RowList
3236 * insetert.C (localDispatch): adjust for RowList
3237 (getMaxWidth): adjust for RowList
3239 2003-03-29 John Levon <levon@movementarian.org>
3241 * insetert.C: Alert cleanup
3243 2003-03-29 John Levon <levon@movementarian.org>
3245 * insettabular.C: Alert fix
3247 2003-03-28 John Levon <levon@movementarian.org>
3249 * insetfloat.C: reset label on INSET_MODIFY
3251 2003-03-28 John Levon <levon@movementarian.org>
3253 * insetgraphicsParams.C: read subcaptionText as a whole line
3256 2003-03-28 John Levon <levon@movementarian.org>
3258 * insettext.C: remove unused prototypes
3260 2003-03-25 Angus Leeming <leeming@lyx.org>
3262 * insetbibitem.C (localDispatch): repaint the view after modifying
3263 a bibitem inset in case the maximum InsetBibitem width has changed.
3265 2003-03-25 John Levon <levon@movementarian.org>
3268 * insettabular.C: LyXText renamings
3270 2003-03-24 John Levon <levon@movementarian.org>
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.
3276 2003-03-22 John Levon <levon@movementarian.org>
3279 * inset.C: remove no-longer-needed topx_set
3281 * insetcollapsable.h:
3282 * insetcollapsable.C: remove dead code
3285 * insetert.C: rebreak the rows when a possible
3286 change in size is made, and reset the cursor
3289 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
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.
3295 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3296 is no longer needed. Replace it with an ugly hack.
3298 2003-03-20 John Levon <levon@movementarian.org>
3301 * insetcollapsable.h:
3302 * insetcollapsable.C:
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()
3315 2003-03-19 John Levon <levon@movementarian.org>
3324 * insetwrap.C: remove unused getter/setters
3326 2003-03-19 John Levon <levon@movementarian.org>
3328 * several files: bv->updateInset() doesn't take
3329 a bool mark_dirty any more
3331 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * adjust for BufferView* arg removal from lyxtext.
3335 2003-03-17 John Levon <levon@movementarian.org>
3337 * most files: remove the "cleared" parameter
3338 to draw in favour of always clearing. Associated
3341 2003-03-16 John Levon <levon@movementarian.org>
3343 * insettext.C: remove unused s.refresh
3345 2003-03-13 Angus Leeming <leeming@lyx.org>
3347 * insettext.C (edit): replace Dialogs::updateParagraph with
3348 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3350 2003-03-13 André Pönitz <poenitz@gmx.net>
3352 * Makefile.am: insert insetenv
3354 * insethenv.[Ch]: new files, currently inactive
3356 2003-03-12 John Levon <levon@movementarian.org>
3366 * insettext.C: use new insetnewline
3368 2003-03-12 John Levon <levon@movementarian.org>
3370 * insettext.C: readToken became readParagraph
3372 2003-03-12 John Levon <levon@movementarian.org>
3374 * insettext.C: use parlist iterator for reading contents
3376 2003-03-12 John Levon <levon@movementarian.org>
3378 * insettext.C: name change to readToken()
3380 2003-03-11 André Pönitz <poenitz@gmx.net>
3382 * Makefile.am: insert insethfill
3384 * insethfill.[Ch]: new files
3386 2003-03-10 Angus Leeming <leeming@lyx.org>
3388 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3390 (hideDialog): calls the new static Dialogs::hide() method.
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.
3414 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3416 * insetfloat.h: Set default placement to an empty string.
3418 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3420 * insettext.C (latex): adjust call to latexParagraphs.
3422 2003-03-10 Angus Leeming <leeming@lyx.org>
3424 * mailinset.C: warn the user if the BufferView has not been cached.
3426 2003-03-10 Angus Leeming <leeming@lyx.org>
3428 * inset.h, insetbase.h: move cache() and view() into InsetBase.
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 &.
3441 2003-03-10 Angus Leeming <leeming@lyx.org>
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
3453 2003-03-09 Angus Leeming <leeming@lyx.org>
3455 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3456 it to communicate with the frontend dialogs.
3458 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3459 contents of this inset!
3461 2003-03-07 Angus Leeming <leeming@lyx.org>
3463 * inseterror.C (localDispatch): new method; calls edit() on
3466 2003-03-07 Angus Leeming <leeming@lyx.org>
3468 * insetbibitem.C (localDispatch):
3469 * insetbibtex.C (localDispatch):
3470 * insetlabel.C (localDispatch):
3471 rewrite as a switch.
3473 2003-03-07 Angus Leeming <leeming@lyx.org>
3475 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3476 it to communicate with the frontend dialogs.
3478 2003-03-07 Angus Leeming <leeming@lyx.org>
3480 * insetexternal.C: remove operator== and operator!= for
3481 InsetExternal::Params. They were used only by the old controller
3484 2003-03-07 Angus Leeming <leeming@lyx.org>
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.
3494 2003-03-07 Angus Leeming <leeming@lyx.org>
3496 * insetcommand.C (string2params):
3497 * insetexternal.C (string2params):
3498 * insetfloat.C (string2params):
3499 * insetinclude.C (string2params):
3500 * insetwrap.C (string2params): use LyXLeX more.
3503 * insetexternal.[Ch]:
3505 * insetinclude.[Ch]:
3506 * insetwrap.[Ch]: change Mailer::name_ to be static.
3508 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3509 it to communicate with the frontend dialogs.
3511 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3514 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3516 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * insettext.C (updateLocal): un-const function
3519 (updateLocal): adjust
3520 (collapseParagraphs): un-const function
3521 (collapseParagraphs): adjust
3523 2003-03-05 Angus Leeming <leeming@lyx.org>
3525 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3526 it to communicate with the frontend dialogs.
3528 2003-03-05 Angus Leeming <leeming@lyx.org>
3530 * insetcollapsable.C (draw): cache the BufferView.
3532 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3533 it to communicate with the frontend dialogs.
3535 2003-03-05 Angus Leeming <leeming@lyx.org>
3537 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3540 2003-03-05 Angus Leeming <leeming@lyx.org>
3542 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3544 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3545 it to communicate with the frontend dialogs.
3547 2003-03-05 Angus Leeming <leeming@lyx.org>
3549 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3550 it to communicate with the frontend dialogs.
3552 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3554 * insettext.C (collapseParagraphs): adjust
3555 (appendParagraphs): make it take a Buffer* instead of a
3556 BufferParams& as arg.
3557 (appendParagraphs): adjust
3559 2003-03-04 Angus Leeming <leeming@lyx.org>
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.
3568 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * insettext.C (latex): adjust for ParagraphList::iterator
3572 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * insetbutton.C (view): adjust for boost 1.30.0
3575 * insetcollapsable.C (view): ditto
3576 * insetgraphics.C (statusChanged): ditto
3578 * insettext.h: move paragraphs to be public.
3580 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * insetnote.[Ch] (InsetNote): remove unused constructor
3584 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3586 * insetgraphics.C: added include "format.h"
3588 2003-02-27 Angus Leeming <leeming@lyx.org>
3590 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3593 2003-02-27 Angus Leeming <leeming@lyx.org>
3595 * insetbibitem.C (localDispatch):
3596 * insetbibtex.C (localDispatch):
3599 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3601 2003-02-26 Angus Leeming <leeming@lyx.org>
3603 * insetbibitem.[Ch] (localDispatch):
3604 * insetbibtex.[Ch] (localDispatch):
3605 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3607 * insetcommand.C (localDispatch):
3608 act only on receipt of LFUN_XYZ_APPLY.
3610 * insetert.C (localDispatch): reformat.
3611 add LFUN_XYZ_APPLY to the switch.
3613 2003-02-26 John Levon <levon@movementarian.org>
3615 * insettext.C: use RowPainter
3617 * inset.h: make helpers take const *
3619 2003-02-26 Angus Leeming <leeming@lyx.org>
3621 * insetcommand.[Ch] (localDispatch): new method.
3623 2003-02-26 Angus Leeming <leeming@lyx.org>
3625 * insetinclude.C (draw): cache the BufferView* using cache not
3626 PreviewImpl::setView
3628 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3630 * insetgraphics.C (draw)
3631 * insetinclude.C (draw): Eliminate also the other argument (owner
3632 inset inset) in the call to PreviewImage::image
3634 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3636 * insetgraphics.C (draw)
3637 * insetinclude.C (draw): Eliminate Buferview argument in call to
3640 2003-02-25 John Levon <levon@movementarian.org>
3642 * insetgraphicsParams.h:
3643 * insetgraphics.C: don't start a load process if
3644 the inset is set to NoDisplay (bug #920)
3646 2003-02-22 John Levon <levon@movementarian.org>
3649 * insetwrap.C: TocItem changed API (bug 913)
3651 2003-02-21 Angus Leeming <leeming@lyx.org>
3653 * insetcollapsable.[Ch] (cache, edit):
3654 * insetbutton.[Ch] (cache, edit): new methods to cache the
3655 BufferView in the draw method.
3657 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3658 simplify comunication between InsetCommand-derived classes and
3661 * insetbibitem.[Ch]:
3665 * insetfloatlist.[Ch]:
3669 * inseturl.[Ch]: small changes to reflect the new interface to the
3672 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3673 other, similar classes.
3675 * Makefile.am: add new files.
3677 2003-02-21 Angus Leeming <leeming@lyx.org>
3679 * updatableinset.h (setView, view): remove.
3680 * inset.h (view, cache): to be replaced by these.
3682 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3685 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3688 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3690 2003-02-21 Allan Rae <rae@lyx.org>
3692 * insetinclude.C (loadIfNeeded): ensure loading also works when
3693 child document is under version control.
3695 2003-02-17 André Pönitz <poenitz@gmx.net>
3697 * insetbib.[Ch]: Adjust access to bibkeys
3699 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3701 * insetquotes.C (dispString): remove use of acute accent for "'"
3704 2003-02-14 John Levon <levon@movementarian.org>
3706 * insettabular.C: changed method names in tabular.C
3708 2003-02-14 John Levon <levon@movementarian.org>
3712 * insetcollapsable.h:
3713 * insetcollapsable.C:
3717 * insettext.C: remove unused getParFromID()
3719 2003-02-13 John Levon <levon@movementarian.org>
3722 * insettext.C: remove unused beginningofMainBody()
3724 2003-02-08 John Levon <levon@movementarian.org>
3728 * insetcollapsable.h:
3729 * insetcollapsable.C:
3734 add nextChange(). Make allowSpellcheck() const. Add markErased().
3736 * insetert.C: ignore deleted text
3738 * insettabular.C: make sure to keep change tracking working
3741 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3746 * insettext.C: Use error messages with identical spelling and
3749 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3751 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3753 2002-12-17 Juergen Vigna <jug@lyx.org>
3755 * insettext.C (localDispatch): hopefully fixed cursor up down
3756 movement on leaving other insets.
3758 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3760 * insettext.C: fix inconsistent usage of spaces, colons,
3761 capitalization, and the like.
3763 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
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)
3770 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3772 * insettext.C (lfunMouseRelease): hackish solution to the "double
3775 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * insetfloat.C (addToToc): use the floats name not its type
3778 * insetwrap.C (addToToc): ditto
3780 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3782 * insetnote.C (init): make label font smaller
3784 2002-12-04 John Levon <levon@movementarian.org>
3786 * insetinclude.C: ressurect setting of command name
3788 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * insetquotes.C (dispString): disambiguate insert call
3792 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * several files: ws changes
3796 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * insetquotes.C (dispString): use string::insert for prepending a
3801 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3803 * insetparent.C (getScreenLabel): use boost::format
3805 * insetgraphics.C (prepareFile): use boost::format
3808 * insetfloatlist.C (latex): use boost::format
3810 * insetcaption.C (draw): use boost::format
3812 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3814 * insettabular.C (tabularFeatures): Support for block alignment in
3815 fixed width columns.
3817 2002-11-20 Juergen Vigna <jug@sad.it>
3819 * insettabular.C (resetPos): temporary fix for endless loop in
3820 this function on a redraw.
3822 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * insettabular.C (copySelection): STRCONV
3826 * insetinclude.C (uniqueID): STRCONV
3827 (latexString): ditto
3829 * insetgraphics.C: put VersionNumber inside anon namespace
3830 (createLatexOptions): STRCONV
3832 * insetcommandparams.C: include config.h
3834 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3836 * insetgraphicsParams.C (Write): use lyx::float_equal.
3837 Write height data correctly.
3838 (Read): zero scale when reading height data.
3840 2002-10-30 John Levon <levon@movementarian.org>
3842 * insetfloat.C (addToTOC): recursively traverse all
3843 contents looking for captions (fix #568)
3845 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3847 * insetexternal.C (doSubstitution): do not try to replace
3848 environment variables, this is done when executing the command
3850 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3852 * insetexternal.C (doSubstitution): change order of substitution
3853 to work around ReplaceEnvironmentPath brokenness
3855 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3857 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3859 * insetgraphicsParams.C (init, Write): associated changes
3860 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3861 InsetGraphicsParams::scale.
3863 2002-10-21 John Levon <levon@movementarian.org>
3865 * inset.h: remove unused DISPATCH_RESULT
3867 * insettext.C: sgml open/close tag now in sgml namespace
3869 2002-10-21 Angus Leeming <leeming@lyx.org>
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
3875 2002-10-16 John Levon <levon@movementarian.org>
3877 * insetspecialchar.C: remove \\protected_separator parsing
3879 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3881 * insetquote.C: fix LaTeX output of quotation marks.
3883 2002-10-14 Juergen Vigna <jug@sad.it>
3885 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3886 Backspace functions which confused the Undo handling.
3888 2002-10-09 Angus Leeming <leeming@lyx.org>
3890 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3891 BufferView::dispatch that turns off this optimisation when a new inset
3894 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3895 reload the BibTeX keys.
3897 2002-10-11 André Pönitz <poenitz@gmx.net>
3899 * insettext.h: handle LFUN_PRIOR/NEXT
3901 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3903 * insetfloat.C: fix bug with float settings
3904 (document default != float default).
3906 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3908 * insetwrap.C (addToToc): New method.
3909 (InsetWrap): Set layout to caption.
3911 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3915 2002-09-16 John Levon <levon@movementarian.org>
3917 * insettabular.h: hasSelection() needs to be public
3919 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3921 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3923 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3925 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3927 2002-09-11 André Pönitz <poenitz@gmx.net>
3929 * insettabular.C: implement LFUN_WORDSEL
3931 2002-09-10 John Levon <levon@movementarian.org>
3933 * insetinclude.h: remove unused param
3935 2002-09-09 John Levon <levon@movementarian.org>
3938 * insetinclude.C: remove noload, default to input
3940 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3942 * insetgraphics.C: disfuscated use of ']' in built output string.
3944 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3948 2002-08-29 Juergen Vigna <jug@sad.it>
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
3955 2002-08-29 André Pönitz <poenitz@gmx.net>
3957 * insetfootlike.h: rename include guard to ALL CAPS
3959 * insettext.C: swap object and first parameter for checkInsetHit calls
3960 as this functions has moved from BufferView to LyXText
3963 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3965 * insetgraphicsParams.C: remove local displayTranslator and use
3966 the one from graphics/GraphicsTypes.h.
3968 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3970 * insetfloat.C (wide): add BufferParams parameter
3972 * insetfloatlist.C (read):
3975 * insetfloat.C (latex):
3977 * insetcaption.C (draw): use LyXTextClass::floats()
3979 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3981 * insetoptarg.h: add std:: qualifier.
3983 2002-08-26 Juergen Vigna <jug@sad.it>
3985 * insettext.C (localDispatch): ditto.
3987 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3989 2002-08-25 John Levon <levon@movementarian.org>
3991 * inseturl.C: elide long URLs (bug 404)
3993 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3995 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3996 remove "Format Version <version_no.>" string from inset header
3999 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4001 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4002 a member of "grfx::Params" anymore.
4004 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4006 2002-08-24 John Levon <levon@movementarian.org>
4009 * insetoptarg.C: ws, pedantry ...
4011 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4013 * insettext.C (collapseParagraphs): pasteParagraph now in global
4015 (appendParagraphs): ditto
4017 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4019 * insetcite.C (latex): Remove spaces only after commmas.
4021 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * insettext.C: remove NO_COMPABILITY stuff
4025 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * insettext.C (edit): use ParagraphList iterators
4029 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4030 (bibitemWidest): ditto
4032 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
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
4052 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * insettext.C (read): assign tmp to paragraphs after return from
4055 call to parseSingleLyXformat2Token
4058 2002-08-13 Angus Leeming <leeming@lyx.org>
4076 * inseturl.C: changes due to the changed LyXView interface that
4077 now returns references to member variables not pointers.
4079 2002-08-13 Angus Leeming <leeming@lyx.org>
4082 * insetcollapsable.h:
4085 * insettext.h: forward-declare WordLangTuple
4086 (selectNextWordToSpellcheck) constify return type.
4089 * insetcollapsable.C:
4092 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4094 2002-08-12 Angus Leeming <leeming@lyx.org>
4096 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4099 2002-08-12 Juergen Vigna <jug@sad.it>
4101 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4104 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4107 (bibitemWidest): ditto
4108 * insettext.[Ch]: ditto
4110 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4114 2002-08-09 Angus Leeming <leeming@lyx.org>
4116 * insetinclude.C (latexString): remove fudge now that I've found out
4117 how to enable LaTeX to find the file using input@path.
4119 2002-08-09 John Levon <levon@movementarian.org>
4122 * insettext.C: remove unused xpos
4124 2002-08-07 Juergen Vigna <jug@lyx.org>
4126 * insettabular.C (localDispatch): make delete not put the stuff
4127 in the clipboard only do this on a cut operation.
4129 * insettext.C (localDispatch): make delete and backspace not put
4130 selected stuff to the clipboard.
4132 2002-08-07 André Pönitz <poenitz@gmx.net>
4135 * insetcollapsable.[Ch]:
4139 * insettabular.[Ch]:
4140 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4142 2002-08-06 John Levon <levon@movementarian.org>
4146 * insetcollapsable.h:
4147 * insetcollapsable.C:
4153 * insettext.C: use WordLangTuple for spellcheck
4155 2002-08-06 Angus Leeming <leeming@lyx.org>
4157 * insetinclude.C: add a monitor to the previewed image, so that the
4158 image is refreshed if the \input-ed file changes.
4160 2002-08-04 John Levon <levon@movementarian.org>
4163 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4165 2002-08-02 Angus Leeming <leeming@lyx.org>
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.
4172 * insetinclude.C (write): output new preview() flag.
4173 (previewWanted): use this flag.
4175 2002-08-02 Angus Leeming <leeming@lyx.org>
4177 * insetcollapsable.[Ch] (addPreview):
4178 * insettabular.[Ch] (addPreview):
4179 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4180 for insets in insets.
4182 2002-08-02 Angus Leeming <leeming@lyx.org>
4184 * insetcite.C: fix typo.
4186 * insetgraphics.C: kill current_view and instead cache the BufferView
4189 * insetinclude.C: kill current_view and pass the BufferView to the
4190 PreviewedInset so that it can cache it.
4192 2002-08-01 Angus Leeming <leeming@lyx.org>
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.
4198 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4199 add previews to the inset when \input-ing LaTeX.
4201 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * several files: strip,frontStrip -> trim,ltrim,rtrim
4205 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * insetbib.C (latex): modify because of strip changes
4209 * insetnote.C (InsetNote): ditto
4211 2002-07-26 Juergen Vigna <jug@sad.it>
4213 * insettabular.C (searchForward): check for lastcell if we
4214 had a locking inset.
4216 2002-07-25 Juergen Vigna <jug@sad.it>
4218 * insettabular.C (insetMotionNotify): Don't update the screen
4219 if we didn't do nothing.
4220 (searchForward): last cell was not checked.
4222 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4224 * insetfloat.C (read, write): Allow default placement
4225 (floatPlacement_ is empty).
4227 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4229 * insetminipage.h (noFontChange):
4230 * insettabular.h (noFontChange):
4231 * insetfootlike.h (noFontChange):
4232 * insetfloat.h (noFontChange): return true
4234 * inset.h (noFontChange): new method, defaulting to false
4236 2002-07-22 Herbert Voss <voss@lyx.org>
4238 * insetgraphicsParams.[Ch]: support size_type for old docs
4240 2002-07-22 Herbert Voss <voss@lyx.org>
4243 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4246 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4248 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4250 * insetlatexaccent.h: do not include "lyxlex.h"
4252 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4255 * insetlatexaccent.C:
4259 * insetbib.C: #include "lyxlex.h"
4265 * insettext.C: use BufferParams::getLyXTextClass
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"
4272 2002-07-21 Herbert Voss <voss@lyx.org>
4274 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4275 image relevant part into graphics/GraphicsImgae.C
4277 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4279 * insettoc.C (ascii):
4280 * insetfloatlist.C (ascii): change to use the new Toc functions
4281 instead of stuff that was in Buffer
4283 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4285 * insettext.C (localDispatch): BufferView::Dispatch has been
4286 renamed to BufferView::dispatch
4288 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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?
4295 2002-05-01 Herbert Voss <voss@lyx.org>
4297 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4299 2002-07-18 Angus Leeming <leeming@lyx.org>
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.
4306 2002-07-17 Angus Leeming <leeming@lyx.org>
4308 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4309 a method rather than to the signal directly.
4311 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4313 * insettext.C: use view_state_changed, switchKeyMap
4315 2002-07-17 Herbert Voss <voss@perce.de>
4317 * insetgraphics.C (prepareFile): keep the extension when
4318 exporting to nice file
4320 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4322 * insetcite.C (getNatbibLabel):
4323 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4325 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4327 * insetgraphics.C: use ->isDrawable()
4329 2002-07-12 Angus Leeming <leeming@lyx.org>
4331 * insetgraphics.C: use the new smart loading capabilities of the image
4334 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4336 * insettabular.C (edit): Move into correct cell when entering a
4339 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4342 2002-07-05 Angus Leeming <leeming@lyx.org>
4344 * inset.h (generatePreview): new virtual method.
4346 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4348 * insetcommandparams.[Ch] (operator=): move out of class
4349 (operator!): move out of class
4351 2002-07-04 André Pönitz <poenitz@gmx.net>
4353 * insetcommandparams.[Ch]: new files
4355 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4357 2002-06-15 Herbert Voss <voss@perce.de>
4359 * insetgraphics.C (prepareFile): bugfix; return always
4360 files without extension
4362 2002-06-28 Angus Leeming <leeming@lyx.org>
4364 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4365 rename asGParams -> as_grfxParams.
4367 * insetgraphics.C: reflect above change.
4369 2002-06-26 Angus Leeming <leeming@lyx.org>
4371 * insetgraphics.h: use boost::scoped_ptr in preference to
4374 2002-06-26 Angus Leeming <leeming@lyx.org>
4376 * insetgraphics.C: moved the image loading stuff into a new class
4377 grfx::Loader. Simplifies this file enormously.
4379 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4381 * insetgraphicsParams.C: changes aassociated with moving
4382 grfx::DisplayType out of grfx::GParams.
4384 2002-06-26 André Pönitz <poenitz@gmx.net>
4386 * insetgraphics.C: use os::external_path where necesaary according to a
4387 patch from Claus Hentschel)
4389 2002-06-25 Angus Leeming <leeming@lyx.org>
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.
4396 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4398 * insettext.C: layout as layout
4400 2002-05-28 André Pönitz <poenitz@gmx.net>
4402 * insetfloatlist.h: remove source of compiler warning
4404 * insetref.C: tiny whitespace
4406 2002-06-15 Herbert Voss <voss@perce.de>
4408 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4409 and take always convert when no userdefined converter was
4411 (latex) small changes in the lyxerr output
4413 2002-06-15 LyX Development team <lyx@rilke>
4415 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4416 mixed content. Small white spaces clean.
4418 2002-06-14 Angus Leeming <leeming@lyx.org>
4420 * inseetexternal.C: remove the using std::difftime declaration.
4422 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4424 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4426 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4428 * insetquotes.C (draw): fix drawing of double quotes
4430 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4432 * insettabular.C: s/scrollCB/scrollDocView/
4434 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4436 * insettext.C: change of topCursorVisible()
4439 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4442 * insettext.C: rename/change of LyXScreen
4444 2002-06-07 Angus Leeming <leeming@lyx.org>
4446 Fixes needed to compile with Compaq cxx 6.5.
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.
4452 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4454 * insetinclude.C (uniqueID):
4455 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4456 conflicted with some AIX headers.
4458 2002-05-31 Juergen Vigna <jug@sad.it>
4460 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4464 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4466 * insetexternal.C (clone): fix () bug when using new
4467 (updateExternal): don't only look for difftime in global scope
4469 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4471 * insettabular.C: add const
4473 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4475 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4476 file name, in case there are weird characters like ',' in there.
4479 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4481 * switch from SigC signals to boost::signals.
4483 2002-05-28 André Pönitz <poenitz@gmx.net>
4485 * insets/insetgraphicsParams.[Ch]:
4486 put in inset related stuff from src/graphic
4488 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4496 * insetcollapsable.C:
4497 * insetcollapsable.h:
4525 * inseturl.h: use mouse_state. Kill insetKeyPress
4527 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4532 * insetcollapsable.C:
4535 * insetlatexaccent.C:
4537 * insetspecialchar.C:
4539 * insettext.C: name change for font metrics
4541 2002-05-24 Juergen Vigna <jug@sad.it>
4543 * insetgraphics.h: include inset.h first (for LString.h)
4545 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4547 * insettext.C: screen moved
4549 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4567 * inseturl.C: LyXView moved into frontends/
4569 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4574 * insetcollapsable.C:
4578 * insetgraphicsParams.C:
4579 * insetlatexaccent.C:
4581 * insetspecialchar.C:
4583 * insettext.C: move Painter to frontends/
4585 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4587 * insettabular.h: use more specific smart_ptr header.
4588 * insettext.h: ditto
4590 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4593 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4595 * insettext.C: clear selection on paste (bug 393)
4597 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4599 * insettext.C (latex): Honor the moving_arg argument.
4601 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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.
4606 2002-05-14 Juergen Vigna <jug@sad.it>
4608 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4611 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4613 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4614 when using options "Full author list" or "Upper case".
4616 2002-05-14 Herbert Voss <voss@perce.de>
4618 * insetgraphics.C (prepareFile): allow files with same name
4620 (readFigInset): set the flags from old figinset in the right
4622 (findTargetFormat): more comments
4624 2002-05-14 Juergen Vigna <jug@sad.it>
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).
4632 2002-05-13 Juergen Vigna <jug@sad.it>
4634 * insetcollapsable.C (insetButtonRelease): returned wrong return
4637 2002-05-09 Juergen Vigna <jug@sad.it>
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.
4644 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4646 * insetfloat.C (latex): Return correct value.
4648 2002-05-04 Herbert Voss <voss@perce.de>
4650 * InsetgraphicsParams.C (read): fix bug with WH
4652 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4654 * insetfloat.C (latex): More sensible latex output
4655 (fix the problem with endfloat).
4657 2002-05-02 José Matos <jamatos@fep.up.pt>
4659 * insetgraphics.C (validate): acess params as everyone else.
4661 2002-05-03 Juergen Vigna <jug@sad.it>
4663 * insettabular.C (fitInsetCursor): recalculate the cursor position
4666 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4668 * InsetgraphicsParams.[Ch]: whitespace.
4670 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4672 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4673 float type do not exist.
4675 2002-04-28 Herbert Voss <voss@perce.de>
4677 * insetgraphics.C (latex): fix bug with missing file-extension.
4678 LaTeX still allows a missing "eps" or "ps".
4680 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4682 * insetfloat.C (c-tor, wide): translate the name of the float.
4684 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
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.
4690 2002-04-23 Herbert Voss <voss@perce.de>
4692 * insetgraphic.C (prepareFile): fix bug with overwriting and
4693 deleting an existing *.eps-file in the doc-dir
4695 2002-04-23 Juergen Vigna <jug@sad.it>
4697 * insettabular.C (drawCellSelection): fix off by 1 error.
4699 2002-04-22 Juergen Vigna <jug@sad.it>
4701 * insettabular.C (setFont): rewoke full selection if it was asked,
4702 after we changed all we had to change.
4704 * insettext.C (insetUnlock): code was uninitialized in some situations.
4706 2002-04-19 Herbert Voss <voss@perce.de>
4708 * insetgraphic.C (prepareFile): return filename without
4709 extension if we only export without compiling
4711 2002-04-19 Juergen Vigna <jug@sad.it>
4713 * insettext.C (draw): call a fullRebreak on the row where we had a
4714 change and reset the cursor and selection-cursors.
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.
4722 2002-04-18 Juergen Vigna <jug@sad.it>
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.
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.
4732 2002-04-17 Juergen Vigna <jug@sad.it>
4734 * insettext.C (checkAndActivateInset): simplified as we now have the
4735 edit(bv, bool) call.
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).
4740 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4742 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4743 not output anything at all!
4745 2002-04-16 Juergen Vigna <jug@sad.it>
4747 * insettabular.C (insetButtonPress):
4748 (insetUnlock): call a redraw on unlocking the cell inset.
4750 * insettext.C (insetButtonPress): same as below.
4751 (lockInset): new function to set initial values when inset should
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!
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!
4761 * inset.h (insetInInsetY): make func const and return an int.
4764 * insetcollapsable.C: adapt the above changed function.
4766 2002-04-15 Juergen Vigna <jug@sad.it>
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.
4774 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4776 * insetbib.C (getKeys): strip leading '\t's from the line too.
4777 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4779 2002-04-12 Juergen Vigna <jug@sad.it>
4781 * insettext.h: added cix() helper function and use it where appropriate
4783 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * insetgraphics.C (prepareFile): fix bug when graphics is a
4788 2002-04-12 Juergen Vigna <jug@sad.it>
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.
4795 2002-04-08 Herbert Voss <voss@perce.de>
4797 * insetgraphic.C (write): write the rotating angle as
4798 a float as is. test only for != 0.0
4800 2002-04-11 Juergen Vigna <jug@sad.it>
4802 * insettext.C: new function ciy() and use it for setting inset_y.
4804 * insetert.C (draw): fix the x return for collapsed version.
4806 2002-04-07 Herbert Voss <voss@perce.de>
4808 * insetgraphic.C (readFigInset): fix bug with subcaption and
4811 2002-04-08 Herbert Voss <voss@lyx.org>
4813 * insetgraphicsparam.C: forgot special option and delete old
4816 2002-04-05 Juergen Vigna <jug@sad.it>
4818 * insettext.C (localDispatch): make a CURSOR update if we inserted
4821 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4823 * insetfloatlist.C (getScreenLabel):
4824 (latex): use Floating::listName
4825 (validate): new method
4827 2002-04-03 José Matos <jamatos@fep.up.pt>
4829 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4831 * insetfoot.[Ch] (docbook): added forgotten method.
4833 2002-04-03 Juergen Vigna <jug@sad.it>
4835 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4836 way as in Bufferview_pimpl.
4838 2002-04-03 Allan Rae <rae@lyx.org>
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.
4843 2002-03-28 Herbert Voss <voss@lyx.org>
4845 * insetgraphic.C (latex): simplify the code for the latex
4846 output when the file doesn't exist
4848 2002-03-29 Juergen Vigna <jug@sad.it>
4850 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4853 * insettabular.C (edit): call fitCursor().
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.
4860 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4862 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4864 2002-03-28 Juergen Vigna <jug@sad.it>
4866 * insettabular.C (insetAllowed): return true as default value otherwise
4867 we're not able to insert insets inside paragraphs of an not locked
4870 2002-03-27 Herbert Voss <voss@lyx.org>
4872 * insetgraphicsparam.C: change c%, p% to col%, page%
4874 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4876 * insetspecialchar.C (isLineSeparator): disable the nice code to
4877 allow linebreaks after hyphenation and menu separators.
4879 2002-03-26 Herbert Voss <voss@lyx.org>
4881 * insetgraphics.C (figinsetRead): set the right lyxview
4883 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
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.
4889 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
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 ;-)
4895 2002-03-26 Juergen Vigna <jug@sad.it>
4897 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4898 (collapseParagraphs): fixed inserting of separator ' '
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!
4904 * insetert.C (close): don't collapse if inlined.
4906 2002-03-25 Herbert Voss <voss@lyx.org>
4908 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4909 graphics file does not exist.
4911 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4913 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4914 path when preparing export.
4916 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4917 no longer MakeRelPath.
4919 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
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.
4927 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4928 make graphics file name absolute if it is stored as a relative path.
4930 * insettext.C (edit): emit an updateParagraph signal on entering a text
4931 inset. Needs to be emitted when leaving the inset also.
4933 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4935 * all files: ws cleanup
4937 * Makefile.am: remove ld -r stuff
4939 2002-03-21 Juergen Vigna <jug@sad.it>
4941 * insettext.C (appendParagraphs): new function added to append
4942 the paragraphs to this insets paragraphs.
4944 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4946 * Makefile.am: special rules if partial linking
4948 2002-03-19 Juergen Vigna <jug@sad.it>
4950 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4952 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
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.
4957 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4960 * insettheorem.C: wrap warnings
4962 * insetgraphics.C: improve messages, move cached_status_
4963 setting to safer place
4965 2002-03-18 Juergen Vigna <jug@sad.it>
4967 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4969 (localDispatch): ditto
4971 * insettext.C (edit): removed unneeded showCursor calls.
4972 (localDispatch): ditto.
4974 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * insetgraphics.h: remove display() method.
4978 2002-03-11 Juergen Vigna <jug@sad.it>
4980 * insetgraphics.C (draw): hack to fix the redrawing bug.
4981 (draw): seems this fixes #268 (force redraw of row if we changed).
4983 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4984 this inset text (don't know why I missed this earlier).
4986 2002-03-08 Juergen Vigna <jug@sad.it>
4988 * insettabular.C (updateLocal): do a FULL update if we're not locked
4989 and only a CELL update is asked.
4991 * insettext.C (updateInsetInInset): update insets inside inset also
4992 if it isn't inside the_locking_inset.
4994 * insettabular.C (updateInsetInInset): ditto.
4996 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4998 * insetexternal.C (doSubstitution): check whether we are using a
4999 temp dir for defining $$FPath
5001 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5004 * insettext.C: remove #include "WorkArea.h".
5006 2002-03-06 Juergen Vigna <jug@sad.it>
5008 * insettext.C (draw): fixed frame redrawing.
5009 (clear): forgot to set the inset_owner of the paragraph.
5011 * insetert.C (status): pay attention the bv can be 0 here!
5012 (getMaxWidth): add the default leftMargin
5014 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5016 * insetert.C (getMaxWidth): make w unsigned int.
5018 2002-03-05 Juergen Vigna <jug@sad.it>
5020 * insetert.C (status): change behaviour of Inlined.
5021 (getMaxWidth): added for new inlined behaviour.
5023 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5025 * insetnote.h (linuxdoc, docbook): add empty methods.
5026 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5027 before being initialized.
5029 2002-03-05 Juergen Vigna <jug@sad.it>
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!
5036 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5038 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5040 * insettext.C (clear): a gross hack to set layout on a newly
5043 2002-03-04 Juergen Vigna <jug@sad.it>
5045 * insettabular.C (localDispatch): inserted handling of
5046 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5047 (insertAsciiString): new helper function.
5049 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5051 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5054 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5056 * insettext.C (InsetText): initalize newly created par with
5057 default layout. add bufferparams parameter
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
5071 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5073 * insettext.C: layout as string
5075 * insetinclude.C: layout as string
5077 * insetert.C: layout as string
5079 * insetbib.C: layout as string
5081 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5084 * insettabular.C: remove #include "lyx_gui_misc.h".
5086 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5091 * inset.h: remove figinset, yahoo !
5093 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5095 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5096 copy c-tor and initialise member variables in the correct order.
5098 2002-02-28 Juergen Vigna <jug@sad.it>
5100 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5102 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5104 * inset.h: ... and add a better one here.
5106 * insetcommand.C (insetButtonRelease): remove that one which was a
5109 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5111 * insetcommand.C (insetButtonRelease): ... and move it here.
5113 * inseturl.h: remove insetButtonRelease from there...
5115 2002-02-26 Juergen Vigna <jug@sad.it>
5117 * inseturl.h: Added a insetButtonRelease call returning true as
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.
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.
5130 2002-02-22 Juergen Vigna <jug@sad.it>
5132 * insettext.C (insetUnlock): set the cursor to the second paragraph
5133 if available and if the first one is empty (fix #191).
5135 2002-02-20 Juergen Vigna <jug@sad.it>
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
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.
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
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.
5154 2002-02-20 José Matos <jamatos@fep.up.pt>
5156 * insetinclude.h: include_label made string const.
5158 * insetinclude.C (InsetInclude): moved include_label initialization.
5161 (validate): fix support for temporary directory, for docbook and
5164 * insetgraphics.h : new private member, graphic_label, that holds
5165 the entity name that defines the graphics location (SGML).
5167 * insetgraphics.C (unique_id): new function to give a unique label
5170 (validate): the file locatation is given by an entity reference.
5172 2002-02-18 Herbert Voss <voss@lyx.org>
5174 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5176 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5178 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5179 as support/systemcall.[Ch] and of class Systemcalls as class
5182 2002-02-18 José Matos <jamatos@fep.up.pt>
5184 * insetinclude.C (validate): some code only applies to latex buffers,
5185 it was made conditional.
5187 2002-02-12 Herbert Voss <voss@lyx.org>
5189 * insetgraphics.C: (prepareFile) do not check at this time
5190 if the file is present.
5192 2002-02-12 Herbert Voss <voss@lyx.org>
5194 * insetgraphics.C: latex(), return the correct newlines
5196 2002-02-13 José Matos <jamatos@fep.up.pt>
5198 * inseturl.C (docbook): escape & in url.
5200 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5202 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5203 after HYPHENATION and MENU_SEPARATOR
5205 * inset.h (isLineSeparator): new method, returns false by default.
5207 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5209 * insetert.C (status): do not update the text inset, but the ERT
5212 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5214 * insetnote.C: use notebg for background
5216 2002-02-08 Herbert Voss <voss@lyx.org>
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.
5224 2002-02-08 Herbert Voss <voss@lyx.org>
5226 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5227 exists, than return filename with extension
5229 2002-02-06 Herbert Voss <voss@lyx.org>
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
5235 2002-02-05 Herbert Voss <voss@lyx.org>
5238 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5239 and adding a rotate bool similiar to subcaption
5241 2002-02-04 Herbert Voss <voss@lyx.org>
5244 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5245 similiar view to the LaTeX one. Get zipped files work.
5247 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5249 * insetgraphicsParams.C (init): set display to DEFAULT.
5250 No longer #include "lyxrc.h".
5252 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5254 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5255 for now (so that the code compiles).
5257 2002-02-02 Herbert Voss <voss@lyx.org>
5259 * insetgraphic.C: delete inVariant() and some minor changes
5260 * insetgraphicsParams.[C]:
5262 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5264 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5265 interogate lyxrc.display_graphics before diaplaying the graphic.
5267 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5268 InsetGraphicsParams::DisplayType.
5270 2002-01-31 Herbert Voss <voss@lyx.org>
5272 * insetgraphic.C: (readfigInset) set display to pref-default
5274 2002-01-30 Herbert Voss <voss@lyx.org>
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
5280 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5282 * figinset.C: added using std::ios directive.
5284 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5286 * figinset.C (runqueue): open translation file in binary mode (for
5289 2002-01-27 Herbert Voss <voss@lyx.org>
5291 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5292 all options and to be sure that the old figinsets are correct
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
5299 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5301 * insetert.h (forceDefaultParagraphs): Added
5303 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5305 * insettabular.C (getMaxWidth):
5306 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5308 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5310 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5311 of LyXLength::inPixels
5313 * inset.C (latexTextWidth):
5314 * insetminipage.C (latexTextWidth): new method, which implements
5315 the equivalent of the LaTeX macro \textwidth
5317 * insetminipage.C (getMaxWidth): use latexTextWidth
5319 2002-01-18 Juergen Vigna <jug@sad.it>
5321 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5323 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5325 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5327 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5330 2002-01-17 Juergen Vigna <jug@sad.it>
5332 * insettabular.C (lockInsetInInset): same change as in insettext.
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.
5341 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * insetbib.C (getFiles): uncomment Path variable.
5345 2002-01-16 Juergen Vigna <jug@sad.it>
5347 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5350 2002-01-16 Allan Rae <rae@lyx.org>
5352 * insetinclude.C (docbook): someone forgot a ";"
5354 2002-01-16 José Matos <jamatos@fep.up.pt>
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.
5364 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5366 * insetparent.C (InsetParent):
5367 * insetgraphicsParams.C (Write):
5369 * insetgraphics.C (prepareFile):
5372 * insetexternal.C (executeCommand):
5373 (doSubstitution): use Buffer::filePath
5375 * insetbib.C (getFiles): add a #warning for Angus
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
5381 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5384 * insetcollapsable.[Ch]:
5385 * insettabular.[Ch] (searchForward, searchBackward): change the
5386 bool const & params to bool.
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.
5392 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5394 * insettext.C (ascii): use lyx::count rather than countChar.
5396 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5398 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5400 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5402 * insetgraphics.C (updateInset): do not try to render image if
5403 lyxrc.use_gui is false (bug #104)
5405 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5406 if file does not exist
5408 * figinset.C (browseFile): add shortcuts to directory buttons
5410 * insettext.C (updateLocal): update menubar and toolbar here too.
5412 2002-01-13 Allan Rae <rae@lyx.org>
5414 * insettabular.C (InsetTabular): Both constructors now initialise
5415 all class variables.
5417 2002-01-11 Juergen Vigna <jug@sad.it>
5419 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5421 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5423 * insettabular.C (getStatus): add forgotten brace around multiline
5426 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * insetfloat.C (validate): require "float" instead of "floats".
5430 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5432 * insettabular.C (getStatus): use FuncStatus
5434 2002-01-08 Juergen Vigna <jug@sad.it>
5436 * insettabular.C (insetButtonRelease): now this should work too
5439 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5440 if the width is a percentage.
5442 * inset.h: added isChar() function and implemented this for
5443 insetspecialchar insetquotes and insetlatexaccent.
5444 added forceDefaultParagraphs() and implemented it for insettabular.
5446 2002-01-07 Juergen Vigna <jug@sad.it>
5448 * insettext.C (getLyXText): Fixed this function. An insert into the
5449 map is only done if we REALLY have a new BufferView.
5451 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5453 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5455 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5457 * insetinclude.C: fix use of FileInfo
5459 2002-01-07 Juergen Vigna <jug@sad.it>
5461 * insettabular.C (draw): fixed clearing of cell around inset.
5463 2002-01-05 Juergen Vigna <jug@sad.it>
5465 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5466 variables are updated.
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.
5472 2002-01-04 Juergen Vigna <jug@sad.it>
5474 * insettext.C (lockInsetInInset): forgot to set a cursor.
5476 2002-01-02 Juergen Vigna <jug@sad.it>
5478 * insettext.C (insertInset): make the correct undo informations on
5479 inserting new insets.
5481 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5483 * insettabular.C: correct single-cell select vertically
5485 2001-12-27 Juergen Vigna <jug@sad.it>
5487 * insettabular.C (ascii): export as tab-separated-values if the
5488 function was not called from export (f.ex.: clipboard).
5490 * insetcollapsable.h: added default support for ascii, linuxdoc and
5491 docbook export (the insettext is exported by default!)
5493 * insettabular.C (copySelection): suff the clipboard with the tabular
5494 data in a tab separated format, seems more naturals then with all the
5497 2001-12-24 Juergen Vigna <jug@sad.it>
5499 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5500 to check for REAL mouseMotion.
5502 2001-12-20 Juergen Vigna <jug@sad.it>
5504 * inset.C (cursor): return the owners cursor if available instead of
5505 always only the bv->text->cursor.
5507 * insettabular.C (checkLongtableSpecial): works now.
5509 2001-12-19 Juergen Vigna <jug@sad.it>
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
5516 * insettext.C (resizeLyXText): reinit the text always also on a
5519 2001-12-18 Juergen Vigna <jug@sad.it>
5521 * insettext.C (updateInsetInInset): look if we have to autocollapse
5522 paragraps and return if the update is requested for ourself.
5524 * insetert.C (status): update the insettext not myself as that is what
5527 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5528 function only return if the update was requested with myself.
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!).
5537 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5539 * insettabular.C: move includes around a bit, add a couple of
5542 * insettext.[Ch]: move includes around a bit, other ws changes and
5545 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5547 * insettext.C (insetButtonRelease): fix compile problem
5549 2001-12-17 Juergen Vigna <jug@sad.it>
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!
5555 * insetert.C (read): removed piece of compatibility code only needed
5558 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5561 * insetcollapsable.C (insetButtonRelease): changed so that it can
5562 open eventual existing popup dialogs on mousebutton==3.
5564 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5566 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5568 * inset.C (insetButtonRelease): return a bool for telling the outer
5569 world that we opened a dialog.
5571 2001-12-07 Juergen Vigna <jug@sad.it>
5573 * insettext.C (paragraph): remove the deleteing of paragraphs as
5574 it was a WRONG move!
5576 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5579 * insettabular.C: use new setSelection(). Allow
5580 selection of single cells.
5582 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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)
5588 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5590 * inset.h: add par_owner_ member variable and parOwner
5593 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5595 * insettabular.C (everywhere): adapt because widths are now real
5596 widths and not strings
5598 * insettext.C (draw): re-introduce the calls to width(), ascent()
5599 and descent() to initialize the caching variables.
5601 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * insettext.C (draw):
5604 (drawFrame): use insetWidth instead of last_width
5606 * insettext.h: remove variable last_width (insetWidth is exactly
5607 the same) and last_height (computed but never used!)
5609 2001-12-10 Allan Rae <rae@lyx.org>
5611 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5613 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5615 * insettext.C (insetAllowed): add comment
5617 2001-12-05 Juergen Vigna <jug@sad.it>
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!
5624 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5628 * insettext.C: change "while(" to "while ("
5630 2001-12-04 Juergen Vigna <jug@sad.it>
5632 * insetert.C (edit): handle Inlined status.
5634 * insettext.C (insertInset): trying John's fix for the trailing cursor
5636 * insetert.C (insetButtonPress): added to handle inlined status
5637 (insetMotionNotify): ditto.
5639 * insettext.C (clearInset): changed Painter & in BufferView * param,
5640 to be able to call ascent,descent methods.
5642 2001-12-03 Juergen Vigna <jug@sad.it>
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!
5648 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5650 * insettabular.C: capture some more functions to prevent
5651 selection drawing problems. Bug #451274
5653 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5656 * insetgraphicsParams.C: fix inverted sense of float_equal
5658 2001-11-30 Juergen Vigna <jug@sad.it>
5660 * insettabular.C (InsetTabular): use the save_id flag to create also
5661 the tabular with the same id's.
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.
5666 2001-11-30 José Matos <jamatos@fep.up.pt>
5669 * insettoc.[Ch]: DocBook -> docbook.
5671 2001-11-29 André Pönitz <poenitz@gmx.net>
5674 * insettext.C: further reduction of header dependencies by using
5675 lyx::layout_type and lyx::textclass_type from support/types.h
5677 2001-11-29 Juergen Vigna <jug@sad.it>
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!
5684 2001-11-28 André Pönitz <poenitz@gmx.net>
5686 * insetnote.C: add pos initialization that I removed without
5689 2001-11-28 Juergen Vigna <jug@sad.it>
5691 * insettabular.C (resetPos): hack to not crash with infinite paints.
5693 * insettabular.h: insert missing function allowSpellcheck()!
5695 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5697 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5700 * insetfloatlist.C: derive from InsetCommand so gui can use it
5703 2001-11-26 André Pönitz <poenitz@gmx.net>
5707 * insetnote.C: reduce header dependencies, introduce type for
5710 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5712 * various: update for Alert.h
5714 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5716 * inset.h: fix comment
5718 * insettext.C: use par->isInset()
5720 2001-11-22 Allan Rae <rae@lyx.org>
5722 * insetcollapsable.h:
5723 * inset.h: Changes to checkInsertChar() behaviour.
5724 Now return value indicates whether chars can be inserted.
5726 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5728 * various: updated to use the new LaTeXFeatures
5730 2001-11-14 José Matos <jamatos@fep.up.pt>
5732 * insetspecialchar.C (linuxdoc):
5733 (docbook): don't give a name to a unused variable.
5735 * insettext.C (docbook): removed unused variable.
5737 2001-11-13 Herbert Voss <voss@perce.de>
5739 * insetgraphic.C: fix scale bug
5741 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5743 * inset.h (isSpace):
5744 (isLetter): new virtual methods.
5746 * insetspecialchar.C (isSpace):
5747 (isLetter): implement here.
5749 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5751 * inset.h: new inline helpers
5753 * insettext.C: use new helpers
5755 2001-11-07 José Matos <jamatos@fep.up.pt>
5757 * insettext.C (docbook): full support for paragraphs inside insettext.
5759 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5761 * insetindex.C: added header file for std::ostream.
5763 2001-11-03 José Matos <jamatos@fep.up.pt>
5765 * insetindex.C: added using std::ostream that I forgot yesterday.
5767 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5769 * insetindex.h (docbook):
5770 * insetindex.C (docbook): added support for docbook export.
5772 2001-11-02 José Matos <jamatos@fep.up.pt>
5774 * insetcaption.C(docbook): added support for docbook export.
5776 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5778 * insetexternal.C (updateExternal): Do not run update command if
5779 result file exists and is up to date.
5781 * ExternalTemplate.C (readFormat): Support the updateresult token.
5783 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
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
5790 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5793 * insetert.C: fix some problems
5795 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5797 * insetexternal.C (doSubstitution): Added $$FPath token
5798 to list of usable substitutions in external inset templates.
5800 2001-10-24 Juergen Vigna <jug@sad.it>
5802 * insettabular.C: use new ltType struct for setting longtable
5803 header and footers also new UNSET enums.
5805 2001-10-24 José Matos <jamatos@fep.up.pt>
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>.
5811 2001-10-23 José Matos <jamatos@fep.up.pt>
5813 * insetref.C (docbook): removed / terminator to conform SGML.
5815 * insetspecialchar.C (linuxdoc):
5816 (docbook): Added support for special chars, more than ascii export.
5818 2001-10-22 Juergen Vigna <jug@sad.it>
5820 * insettext.C (checkInsertChar): added for REALLY checking the
5821 font of the inserted char in the right inset!
5823 2001-10-19 Juergen Vigna <jug@sad.it>
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.
5829 2001-10-18 Juergen Vigna <jug@sad.it>
5831 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5833 2001-10-15 José Matos <jamatos@fep.up.pt>
5835 * insetert.C: allow export for docbook and linuxdoc
5837 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5839 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5841 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5843 * insetquotes.C (dispString): fix handling of latin9 quotes
5845 2001-10-03 Juergen Vigna <jug@sad.it>
5849 * insetcollapsable.C: change updateInset calls to not tell BV that
5850 we have changed status.
5852 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5854 * insettabular.C (deletable): make const
5856 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5858 * insetert.C (latex): Fix the returned value
5860 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5862 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5863 Returns string(), so nothing in an ERT inset is spellchecked.
5865 * insetgraphics.C (draw): print the filename if not displaying the
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
5871 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5873 * various files (selectNextWord): renamed as
5874 selectNextWordToSpellcheck.
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.
5880 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5882 * figinset.C (runqueue):
5883 * insetgraphics.C (draw): set background colour of inset from
5884 background to the user-configurable graphicsbg.
5886 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5888 * insetquotes.C (InsetQuotes): when trying to decide the side of
5889 the quote, choose `left' only after a space or '('
5891 2001-09-04 José Matos <jamatos@fep.up.pt>
5896 * insetcollapsable.h
5914 * insetlatexaccent.C
5915 * insetlatexaccent.h
5920 * insetspecialchar.C
5921 * insetspecialchar.h
5925 * insettext.C (docbook): rename docBook method to docbook.
5927 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5929 * inset.h (getFirstParagraph): New virtual method.
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
5936 If no style is given than there is no tex-output.
5938 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5940 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5944 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
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.
5951 * insetnote.h: Add empty validate method.
5954 * insetnote.C (InsetNote): Set language to the language of the
5957 2001-08-16 Juergen Vigna <jug@sad.it>
5959 * insettext.C: implemented the new FINISHED states.
5961 * insettabular.C: ditto
5963 * inset.h: added more FINISHED states for cursor right,up,down
5965 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5967 * insetfloatlist.C: use "FloatName List"
5969 2001-08-14 Juergen Vigna <jug@sad.it>
5971 * insetert.C (edit): forgot to set status_ in edit calls!
5973 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5975 * insettext.C: Compilation fix
5977 2001-08-13 Juergen Vigna <jug@sad.it>
5979 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5981 * insetcollapsable.C (edit): don't recollapse an already open inset.
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
5986 (searchForward): fixed not unlocking of inset if nothing found.
5987 (edit): set cursor behind right (was set -1 pos).
5989 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5991 * insettabular.C (tabularFeatures): fixed fix where deleting the
5992 last row didn't get the right actcell!
5994 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5996 * insettext.C (localDispatch): Change language only when the inset
5999 2001-08-10 Juergen Vigna <jug@sad.it>
6001 * insettabular.C (selectNextWordInt): use the front using edit call.
6003 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6004 the parameter overwrite class variable inset.
6006 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6008 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6009 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
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.
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.
6020 2001-08-08 Juergen Vigna <jug@sad.it>
6022 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6024 * insettext.C (insetUnlock): remove double-space on inset unlock.
6026 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6028 * insettabular.C (update): fixed cursor positon after an insert.
6029 (insetAllowed): do not allow to insert insets when not inside the
6031 (draw): clear below an inset too as it could have changed height.
6033 * inset.C (getMaxWidth): fixed width for inset in inset.
6035 * insettext.C (update): small fix.
6037 * insettabular.C (tabularFeatures): added selection support to
6038 DELETE_ROW/DELETE_COLUMN.
6040 2001-08-07 Juergen Vigna <jug@sad.it>
6042 * inset.C (getMaxWidth): recoded and all it's implementations!
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.
6049 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6050 (searchBackward): ditto
6051 (selectNextWord): ditto
6053 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6055 * insetlatexaccent.C (checkContents): Add some debug messages
6057 2001-08-07 Juergen Vigna <jug@sad.it>
6059 * insetert.C (read): don't use InsetCollapsable::read as we don't
6060 write the collapsed status anymore only the status.
6063 2001-08-06 Juergen Vigna <jug@sad.it>
6065 * insetert.C (set_latex_font): use LyXText's setFont directly.
6067 * insettext.C (drawFrame): fixed one time more the right position
6068 and size of the frame!
6070 * insetert.C (~InsetERT): hide the dialog.
6071 (showInsetDialog): added implementation
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_.
6078 * insettext.C (edit): small fix of setting the position, which could
6081 * insetert.C (width): implement this function for inlined viewing.
6082 Added minimum width of 10 pixels!
6084 * insetminipage.C (InsetMinipage): just change the colors a bit so
6085 that border/background is a bit more visible. We will remove this
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)
6093 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6095 * inset.C (convertFont): delete method. not used.
6097 2001-08-03 Juergen Vigna <jug@sad.it>
6099 * insettext.C (setFont): don't call for a draw update if we're just
6100 changing the cursor font!
6102 2001-08-02 Juergen Vigna <jug@sad.it>
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.
6108 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6109 inside another inset.
6111 2001-08-01 Juergen Vigna <jug@sad.it>
6113 * insetcollapsable.C (update): added an in_update bool so we avoid
6116 * insettabular.C (update): added an in_update bool so we avoid
6119 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6121 (update): added an in_update bool so we avoid reentering.
6123 * insettabular.C (localDispatch): clear col/row selection when doing
6124 something else inside an inset.
6126 * insettext.C (getLyXText): fixed bug when requesting a recursive
6129 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6131 * insetcite.C (latex): Paranoia check. Make sure that there is no
6132 whitespace between the citation keys.
6134 2001-07-31 Juergen Vigna <jug@sad.it>
6136 * inset.h (nodraw): make the set function also const so that this
6137 can be called from inside other const functions.
6139 * insetcollapsable.h: removed inline variable and moved it over
6140 to the only user InsetERT.
6142 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6143 inset opening immediately therein lying insets dialogs!
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.
6149 (draw): implemented for inline support
6150 (insetButtonRelease): ditto.
6152 2001-07-30 Juergen Vigna <jug@sad.it>
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.
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!)
6162 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6164 * insetert.C: change back to "ERT"
6166 * insetfloat.C: handliign of RMB on label added.
6168 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6170 * insetgraphicsParams.C: #include LOstream.h here.
6172 * insetfoot.h: remove InsetFoot:: qualifier.
6174 2001-07-29 Baruch Even <baruch@lyx.org>
6176 * ChangeLog: Hiding time travel evidence.
6178 * insetgraphicsParams.h:
6179 * insetgraphicsParams.C:
6180 * insetgraphics.C: Added horizontal scale option, it actually
6181 scales both directions since it keeps image proportions.
6183 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6185 2001-07-29 Baruch Even <baruch@lyx.org>
6187 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6188 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6190 HACKY! Will need to add an EPS detection routine like old InsetFig
6193 2001-07-29 Baruch Even <baruch@lyx.org>
6195 * insetgraphics.C: Added EPSI to be an alias of EPS.
6197 2001-07-29 Baruch Even <baruch@lyx.org>
6199 * insetgraphics.C: Change GRAPHICS to Graphics.
6200 Changed image conversion rules (documented at the beginning of file).
6202 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6204 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6207 * insetgraphics.C: added a using std::endl directive.
6209 * insetcommand.h (getScreenLabel): removed pure virtual function,
6210 as it duplicates that in InsetButton.
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.
6226 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6228 (validate): remove check on "cite" when using natbib.
6230 2001-07-26 Baruch Even <baruch@lyx.org>
6232 * insetgraphics.C (draw): changed casting to be in one place
6233 rather than all over the function.
6236 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6238 * insetgraphicsParams.h:
6239 * insetgraphicsParams.C:
6240 * insetgraphics.C: Removed inline option and changed rotateAngle
6243 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6245 * insetfoot.C (validate): Added method to ensure that the
6246 right bit of LaTeX is emitted.
6248 * insetfoot.h: Added validate method to set the correct
6249 LaTeXFeatures bit for the special footnote code.
6251 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6253 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6256 2001-07-27 Juergen Vigna <jug@sad.it>
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.
6262 * insetert.C (checkInsertChar): implementation of function
6265 * inset.h: added new function checkInsertChar.
6267 * various files: added c-tor and clone() function.
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).
6273 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6275 * insetminipage.C (read): handle missing parameters more gracefully
6277 * insetcollapsable.C (read): handel missing collapsed more gracefully
6279 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6281 * insetfloat.C (read): handle missing parameters.
6283 * insettext.C (read): handle old latex end_inset
6285 * insetert.C (setButtonLabel): new method
6286 (init): use it, to set the dynamic label correctly
6289 * Makefile.am (EXTRA_DIST): add files that is not part or the
6292 * insetcollapsable.h: remove autocollapsable (no users), remove
6293 draw_label, change_label_with_text and companion code. Remove args
6295 * insetert.[Ch]: move here instead (only user)
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.
6301 * Makefile.am: don't compile insetlist, insetsection
6304 2001-07-24 Juergen Vigna <jug@sad.it>
6306 * insetert.C (InsetERT): put init after the paragraph initialization,
6307 as otherwise we don't set the draw_label right.
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.
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.).
6319 * inset.h: added default copy-consturctor and implemented this in
6320 various insets with the change to use this in the clone function!
6322 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6324 * insetminipage.C (InsetMinipage): set background color to red :)
6326 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6328 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6329 draw frame mode is LOCKED.
6331 * insetcollapsable.C (edit):
6332 (insetButtonRelease): set update status to full when
6335 * insettext.C (clearInset):
6336 * insettabular.C (draw):
6337 * insetlatexaccent.C (draw): honor background color.
6339 * inset.h: new member background_color_, initialized to
6342 * inset.C (backgroundColor): new method.
6343 (setBackgroundColor): new method.
6345 * insetert.C (init): new method, called by the ctors.
6346 (InsetERT): when inserting contents, make sure the font is
6349 * insetnote.C (InsetNote): when inserting content, remove trailing
6351 (init): set background color to LColor::note
6353 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6355 * insetcollapsable.C: adjust
6357 * insetbutton.C: adjust
6359 2001-07-23 Juergen Vigna <jug@sad.it>
6361 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6362 parameter on the _collapsed function (was not needed) and call
6363 always width_collapsed().
6365 * insetert.C (InsetERT): use setLabel with "true" flag.
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.
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
6379 * insetcollapsable.C (get_new_label): added should get a new label
6380 from the InsetText beginning (for now 10 chars).
6382 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6384 * insetquotes.C (latex): fix the handling of french double quotes
6385 when not using the french pachage.
6387 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6389 * insetcollapsable.h: make WidthCollapsed mutable.
6391 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6392 InsetPrintIndex returns INDEX_PRINT_CODE.
6394 * inset.h: add INDEX_PRINT_CODE
6396 * insetcollapsable.C (draw): init widthCollapsed if necessary
6399 * insetquotes.C (width): use the local language, not the document
6402 (dispString): add additional spacing for all french languages,
6404 (validate): make it work when there is no default language
6406 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6408 * insetnote.C (init): new method, called by the constructors
6409 (InsetNote): new constructor with contents passed as a string
6411 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6413 * insetfootlike.C (insetAllowed): disallow float in footlike.
6415 * insetert.C (InsetERT): add collapsed argument to the constrctor
6418 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6420 * insetindex.h: shut off warning
6422 2001-07-20 Juergen Vigna <jug@sad.it>
6424 * insetcollapsable.C (update): recoded hopefully works now!
6426 2001-07-19 Juergen Vigna <jug@sad.it>
6428 * most files: implemented the below new introduced function.
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.
6435 2001-07-18 Juergen Vigna <jug@sad.it>
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
6443 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6445 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6446 LIGATURE_BREAK, since the name is so stupid.
6448 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
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.
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.
6459 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6461 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6463 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
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.
6471 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6473 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6476 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6478 * figinset.C (RegisterFigure): Print debug message only when
6479 current_view is available.
6481 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6483 * many files: update to match the change below
6485 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6486 implement the version which takes an inset here.
6488 * insetcollapsable.[Ch]: implement open and isOpen
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
6495 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6497 * insetquotes.C (dispString): display french guillemets when using
6500 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * insetcollapsable.h: remove bogus return statements
6504 2001-07-18 Juergen Vigna <jug@sad.it>
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.
6511 2001-07-17 Juergen Vigna <jug@sad.it>
6513 * various files: implemented the below functions.
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!
6521 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * insetert.C (latex): write out all paragraphs.
6525 2001-07-17 Baruch Even <baruch@lyx.org>
6527 * insetgraphics.C (draw): Removed unneeded casts.
6529 2001-07-16 Juergen Vigna <jug@sad.it>
6531 * insettext.C (update): fixed small oversight (reset lt to 0).
6533 2001-07-14 Baruch Even <baruch@lyx.org>
6536 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6538 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6540 Consistent use of Lsstream.h:
6541 * figinset.C: removed using std::ostringstream directive.
6543 * insetgraphics.C (createLatexOptions):
6544 * insetinclude.C (unique_id):
6545 std::ostringstream -> ostringstream.
6546 * insettext.C (localDispatch): std::istringstream -> istringstream.
6548 2001-07-13 Juergen Vigna <jug@sad.it>
6550 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6552 * insetcollapsable.C (getLockingInset): ditto.
6554 2001-07-12 Juergen Vigna <jug@sad.it>
6556 * insetcollapsable.h: added implementation of new function for
6559 * various files: added implementation of new insertInsetAllowed-func
6560 and redone the function a bit more.
6562 * inset.h: added isCollapsable(), bool collapsed(),
6563 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6565 * insetfloat.C (insertInsetAllowed): make a bit more checks.
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!
6570 * insettext.h: added private LyXText * lt to use it to assure we are
6571 not deleting our LyXText while we're using it!
6573 2001-07-11 Juergen Vigna <jug@sad.it>
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!
6579 * insettext.h: added struct InnerCache.
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!
6585 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6587 * insetexternal.C: (*it). -> it->
6588 * insettext.C: ditto
6590 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6592 * insetcollapsable.C (edit): always open collapsed insets (even if
6593 they are not autocollapsable)
6595 * insetcommand.C (operator=): simplify.
6597 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * insetert.C (latex): handle META_NEWLINE
6601 2001-07-09 Juergen Vigna <jug@sad.it>
6603 * insetert.h: a normal InsetText can insert insets, but we won't.
6605 * inset.h: return default "false" on insertInsetAllowed and implement
6606 this function where a returnvalue != "false" is needed.
6608 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6610 * insetert.C (InsetERT): new contructor
6612 2001-07-06 Juergen Vigna <jug@sad.it>
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
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.
6622 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6625 of BufferView * and shared_ptr<LyXText>
6627 2001-07-05 Juergen Vigna <jug@sad.it>
6629 * insettext.C (clear): deleted also the cache not only LyXText.
6630 (setParagraphData): ditto.
6632 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
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.
6638 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * insettext.C (localDispatch): call CutAndPaste::'s static method
6643 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6645 * insetbib.C: no meed to include forms.h here.
6647 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6649 * insettext.C: added using std::make_pair directive.
6651 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6653 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6655 (deleteLyXText): ditto
6656 (resizeLyXText): ditto
6658 2001-07-02 Juergen Vigna <jug@sad.it>
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.
6666 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6668 * insettabular.C (clone): do not copy the LyXTabular twice
6670 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6672 * insettext.h (TEXT): delete method
6674 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6676 * insetmarginal.C (latex):
6677 * insetfoot.C (latex): fix spacing of notes in LaTeX
6679 * insettext.C (localDispatch): use .c_str() on istringstream
6680 constructor argument.
6682 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6687 * inseturl.C: fix method names in these to begin
6688 with small char too, so they inherit
6690 2001-06-28 Juergen Vigna <jug@sad.it>
6692 * insettext.C (setFont): fixed font settings using toggleFree()
6693 instead of setFont().
6695 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6697 * Change a lot of method names to begin with a small char.
6698 Changes to a lot of files because of this.
6700 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6702 * insetfloatlist.C (Write): std:: qualify ostream
6705 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6709 * insetgraphics.C: send debug output to Debug::INFO instead of
6712 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6715 * insettabular.C (getStatus): update to use func_status
6717 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6719 * insetref.C (DocBook): added support for cross-references without
6722 2001-06-26 The LyX Project <jug@sad.it>
6727 * insetlabel.h: removed escape method and moved it to
6730 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6732 * insettabular.C (getMaxWidth): do the speedup in a different way,
6735 2001-06-24 The LyX Project <Asger>
6737 * insettabular.C (getMaxWidth): We cache a mapping from
6738 inset to cell in order to speed this method up.
6740 2001-06-24 The LyX Project <Asger>
6742 * insettext.C: Optimized InsetText::draw or something.
6744 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6746 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6748 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * inset.h: name change from lyxinset.h
6752 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6754 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6756 2001-06-14 Juergen Vigna <jug@sad.it>
6758 * insettext.C (draw): removed warnings.
6760 2001-06-13 Juergen Vigna <jug@sad.it>
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.
6766 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6769 * insetgraphicsParams.C:
6770 * insettext.C: removed // -*- C++ -*- as first line.
6772 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6774 * lyxinset.h (resizeLyXText): shut off warning about unused
6777 2001-06-07 Juergen Vigna <jug@sad.it>
6779 * insettext.C (resizeLyXText): honor the new force flag.
6781 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6783 * insettabular.C (deleteLyXText): new function
6785 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6793 * insetcollapsable.C:
6794 * insetcaption.C: LColor tidy
6796 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6798 * figinset.C: fix typo
6800 2001-06-01 Juergen Vigna <jug@sad.it>
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.
6807 * insettext.C (SetFont): forgot that we can have locking insets ;)
6809 2001-05-31 Juergen Vigna <jug@sad.it>
6811 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6813 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6815 * figinset.C: add using std:: directive for the C functions which
6818 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6820 * insetfloat.C (Write): write out wide info
6821 (Read): read the wide info
6822 (Latex): use the wide info when creating latex.
6824 * insettext.C: adjust
6826 * insetgraphics.[Ch] (statusMessage): change to return string
6830 * figinset.C (runqueue): add std::
6833 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6835 * insetcite.C (Ascii): add std:: qualifier
6837 2001-05-28 Juergen Vigna <jug@sad.it>
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.
6843 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6845 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6847 2001-05-16 Juergen Vigna <jug@sad.it>
6849 * insettext.C (selectAll): added
6850 (clearSelection): added
6852 * insettabular.C (SetFont): now we may set a font on a whole selection!
6853 (getSelection): added helper function.
6855 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6857 * insetcite.C (Ascii): Add method.
6859 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6862 * insetbib.C: fix path for OS/2 & Win32
6864 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6866 * insetfoot.C (Latex): don't use % after footnote.
6868 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6870 * insettext.C (Read): use clear
6871 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6873 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6875 * insetfloatlist.h: add a bunch of std:: qualifiers.
6877 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6879 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6880 FLOAT_LIST_CODE, renumber code list.
6882 * insettoc.C (getScreenLabel): remove support for float lists
6886 * insetfloatlist.[Ch]: new files
6888 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6890 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6892 * insettabular.C (LocalDispatch):
6893 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6896 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6898 * insettext.C: remvoe !NEW_INSETS cruft
6900 * insettabular.C: remove !NEW_INSETS cruft
6902 * insetcollapsable.h: remove !NEW_INSETS cruft
6904 * insetbib.C: remove !NEW_INSETS cruft
6906 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6908 * insettoc.C: hack to make listof algorithm work
6910 2001-04-20 Juergen Vigna <jug@sad.it>
6912 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6914 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
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).
6920 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6922 * insettext.C (init): remvoe leftovers from cursor_visible change
6923 (draw): use c++ cast
6924 (LocalDispatch): dispatch LFUN_MESSAGE
6926 * insettabular.C (InsetTabular): remove leftovers from
6927 cursor_visible, and scoped_ptr changes
6928 (draw): use c++ cast
6930 * insetcollapsable.C (draw): use c++ cast
6932 * ExternalTemplate.h: inherit privaely from noncopyable
6933 * insetcommand.h: ditto
6934 * insetinclude.h: ditto
6936 2001-04-16 Allan Rae <rae@lyx.org>
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.
6947 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6950 * insetexternal.C: set view on Clone. Add _ to private members.
6952 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
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
6959 * insettabular.[Ch] (getLabelList): implement new method
6961 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6963 * lyxinset.h: do not include gettext.h...
6971 * insetlatexaccent.C:
6975 * inseturl.C: ... and do it here instead
6977 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6979 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6981 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6983 * insetcollapsable.[Ch] (getLabelList): implement
6985 * insettext.[Ch] (getLabelList): implement
6987 * insettext.h: reindent
6989 * insettabular.h: make tabular a scoped_ptr
6991 * insettext.C (init): adjust for cursor_visible
6992 (ToggleInsetCursor): constify asc and desc, font, adjust for
6994 (ShowInsetCursor): constify asc and desc, font, adjust for
6996 (HideInsetCursor): adjust for cursor_visible
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
7005 (draw): constify tx, localize loop vars.
7006 some other localization of variables, remove double initilizatons.
7008 * insetfoot.C: remove using std::ostream, add ostream where needed
7010 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7012 * lyxinset.h: some reindentaion, use initializer list for
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
7018 * insettoc.C: remvoe using decl
7019 (getScreenLabel): make cmdname donst
7022 (Ascii): don't use endl
7024 * insetfootlike.C: remove using decl at file scope and add std::
7026 * insetmarginal.C: ditto
7028 * insetfoot.C: some reformatting
7030 * insetfloat.C (InsetButtonRelease): adjust the hit area
7032 * insetert.C (SetFont): some reformatting
7034 * insetcollapsable.C: some reformatting and constification
7035 (Clone): comment out.
7036 * insetcollapsable.h: some reformatting
7037 (Clone): comment out.
7042 2001-03-30 Juergen Vigna <jug@sad.it>
7044 * insetcollapsable.h: changen *inset to be a InsetText inset.
7046 * some files: changed to reflect the above change.
7048 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7050 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7051 InsetExternal::Params.
7052 Added operator==() and operator!=() for the Params struct.
7054 2001-03-29 Juergen Vigna <jug@sad.it>
7056 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7059 * insetminipage.C: removed widthp_ and all it's functions and changed
7060 to use new %-lengths of LyXLength.
7062 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7064 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7066 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7068 * insetgraphicsParams.C (operator!=): new function, needed by the
7069 ControlGraphics class.
7071 2001-03-28 Juergen Vigna <jug@sad.it>
7073 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7074 (checkAndActivateInset): don't use the values returned from
7075 call to bv->checkInsetHit.
7077 * insetminipage.C (Clone): set special minipage values.
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
7085 (InsetButtonPress): ditto
7086 (InsetButtonRelease): ditto
7087 (InsetMotionNotify): ditto
7089 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7091 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7095 2001-03-26 Juergen Vigna <jug@sad.it>
7097 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7099 * insettext.C (ShowInsetDialog): implemented above function.
7101 * insettabular.C (ShowInsetDialog): ditto
7103 * insetminipage.C (ShowInsetDialog): ditto
7105 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7107 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7108 InsetInclude::Params. Don't store a buffer * in Params. Store the
7109 master file name instead.
7111 2001-03-23 Juergen Vigna <jug@sad.it>
7113 * insetcollapsable.C (InsetMotionNotify):
7114 (InsetButtonRelease):
7115 (InsetButtonPress): fixed y-offset (minipages).
7117 * insettext.C (draw): force a FULL update if cleared == true.
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
7124 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7127 * insetfloat.C (DocBook): docbook export code.
7129 2001-03-22 Juergen Vigna <jug@sad.it>
7131 * insetminipage.C (getMaxWidth): added function to set the drawing
7133 (Read): should work now!
7135 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7136 if we create a new inset.
7138 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7140 * figinset.C (fl_set_preemptive_callback): moved definition outside
7143 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7145 * insetminipage.C (Read): prepare for reading of minipage arguments.
7147 2001-03-18 Baruch Even <baruch@lyx.org>
7149 * insetgraphics.C: Minor cleanups of the comments and code.
7151 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7153 * insetminipage.C (InsetMinipage): default to not collapsed
7155 2001-03-16 Juergen Vigna <jug@sad.it>
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.
7162 * insetminipage.h: added hideDialog signal
7164 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7166 * insetminipage.h: change the order or Position to match
7167 LyXParagraph::MINIPAGE_ALIGNMENT
7169 * several files: remvoe CXX_WORKING_NAMESPACES
7171 * ExternalTemplate.h: noncopyable is in namespace boost
7172 * insetinclude.h: ditto
7173 * insetcommand.h: ditto
7175 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7177 * insettext.C (Edit): #else# -> #else.
7178 * insettoc.C: added using directive.
7180 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7182 * insetminipage.h: add pos, inner_pos, width and height. + getters
7183 and setters for all of them.
7185 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7187 * insetinclude.C (Latex): Do not exit when the textclass of the
7188 included file differ from the textclass of the parent file.
7190 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7192 * ExternalTemplate.C (read): the reading of external insets now checks
7193 for \end_inset and removes it form the input stream.
7195 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7197 * ExternalTemplate.h:
7198 * ExternalTemplate.C:
7200 * insetexternal.C: move form to GUII
7202 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7205 * insetinclude.C: add InsetIncludeParams, use
7206 composition rather than derivation of InsetCommand
7208 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7210 * insettoc.C (Ascii): use the Buffer typedefs
7212 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7214 * insettoc.C (Ascii): implement for dynamic number of lists
7216 * insetcaption.[Ch]: update from new_insets branch
7217 * insetfloat.[Ch]: ditto
7219 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7222 * figinset.C: use new File Dialog
7224 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7226 * insettext.C: changes becuase of ParagraphParameters.
7228 2001-02-28 Baruch Even <baruch@ev-en.org>
7230 * insetgraphics.C (updateInset): Changed due to the change in
7233 2001-02-26 Juergen Vigna <jug@sad.it>
7235 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7236 handled in LyXText).
7238 2001-02-23 Juergen Vigna <jug@sad.it>
7240 * insettext.C (draw): some small repainting fixes.
7241 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7243 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7244 should be) and not an int.
7246 * insettabular.C (LocalDispatch): ditto
7248 * insettext.C (LocalDispatch): ditto
7250 * insetcollapsable.C (LocalDispatch): ditto
7252 2001-02-22 Juergen Vigna <jug@sad.it>
7254 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7255 DISPATCH it and we don't have a locking_inset.
7257 2001-02-21 Baruch Even <baruch@ev-en.org>
7259 * insetgraphics.[Ch]: Changed to use
7260 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7262 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7264 * insetcollapsable.C (getLyXText): add const qualifier to second
7267 2001-02-22 Juergen Vigna <jug@sad.it>
7269 * insettext.C (getLyXText): honor the recursive parameter.
7270 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7272 * inset.C (getLyXText): added bool recursive parameter.
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.
7279 * insettext.h: made need_update an int.
7281 2001-02-20 Baruch Even <baruch@ev-en.org>
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.
7287 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7291 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7292 consistent with InsetTabular.
7294 2001-02-19 Juergen Vigna <jug@sad.it>
7296 * insettabular.C (LocalDispatch): implement PAGE up/down.
7298 * insettext.C (draw): clear all of it on need_update==INIT too!
7300 * insettabular.C (InsetUnlock): always clear the selection.
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.
7305 2001-02-14 Juergen Vigna <jug@sad.it>
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.
7312 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7314 * insettext.C (textWidth): constify local var
7316 * insettabular.C: small cleanup.
7318 * insetfoot.C (Latex): constify local var
7320 * insetcollapsable.C: small cleanup.
7322 * figinset.C (runqueue): use compare instead of strcmp
7324 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7327 * insetinfo.C: remove cruft
7329 2001-02-14 Juergen Vigna <jug@sad.it>
7331 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7333 2001-02-13 Juergen Vigna <jug@sad.it>
7335 * insettext.C (InsertInset): don't move left (is this right?)
7337 * insettabular.C (LocalDispatch): use of the no_draw variable
7339 * insettabular.h: new no_draw variable to stop redraw
7341 * insettabular.C (TabularFeatures): fixed update for alignment change
7343 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7347 * insetbib.C: move dialogs to frontends/
7349 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7351 * insettext.C (LocalDispatch): Restore the language if the inset
7354 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7356 * insettext.C (moveRightIntern): Update the selection cursor.
7357 (moveLeftIntern): Ditto.
7359 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7361 * Makefile.am: remove BoundingBox.h
7363 * BoundingBox.h: removed
7365 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
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.
7372 2001-02-05 Baruch Even <baruch.even@writeme.com>
7374 * insetgraphics.C: Updated automatic image conversion, it now goes into
7375 temporary directory instead of with the image itself.
7377 2001-01-21 Baruch Even <baruch@ev-en.org>
7379 * insetgraphics.C: Added Docbook support. Added Automatic image
7380 conversion to EPS or PNG when needed (support bitmap graphics).
7382 2000-11-02 Baruch Even <baruch@ev-en.org>
7385 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7386 to '\n' and removal of commented out code.
7388 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7390 * insetbib.C (callback): Update citations if the key has changed.
7392 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
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.
7399 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7401 * insetref.C (getType, getName): Move methods from
7402 src/frontends/xforms/FormRef.C.
7404 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7406 * insettabular.C: Various improvements (use only one dummy position).
7408 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
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.
7414 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7416 * insetcommand.C (getAsString, setFromString): Cleanup.
7418 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7420 * insetref.C: Add the array InsetRef::types that contains
7421 information about all supported reference types.
7423 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7425 * lyxinset.h: remove trailing comma in enum.
7427 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7429 * insettext.C: kill LyXBell.