]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / ChangeLog
index 4d9eae5ab0fa8e87bd56b2e23b38d612f27f77ba..a9bcff86e455e9aad0b5caa5b22ade642e35b594 100644 (file)
@@ -1,6 +1,447 @@
+2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetcharstyle.C: drawing cosmetics.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * insetcharstyle.C (docbook): a compromisse solution. Don't output
+       paragraph tags inside inline elements.
+
+2004-10-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
+       InsetText methods rather than outputVerbatim (escapes special
+       characters) [bug 1731]
+       * insetcharstyle.C (outputVerbatim): remove this function.
+       * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS, 
+       which caused an infinite loop.
+
+2004-10-29  José Matos  <jamatos@lyx.org>
+
+       * insetgraphics.C (uniqueID): transfered to sgml.C
+
+2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetlabel.C (docbook, linuxdoc):
+       * insetref.C (docbook, linuxdoc): sanitize id.
+
+2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
+       * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
+       * insetgraphics.C (findTargetFormat): reformat
+
+2004-10-28  José Matos  <jamatos@lyx.org>
+
+       * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
+
+2004-10-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalTransforms.C (sanitizeLatexOption): simplify regex
+
+2004-10-27  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
+       "[,,,]" without warning message
+
+2004-10-26  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalSupport.C (updateExternal):
+       * insetgraphics.C (copyFileIfNeeded): use the new Movers to move external
+       files to the temp directory.
+
+2004-10-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
+       layouts. This fixes problems with the memoir class (which does not
+       allow \footnote) [bug 1677]
+
+2004-10-24  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetindex.C (docbook): escape the index, to generate correct sgml.
+
+2004-10-23  José Matos  <jamatos@lyx.org>
+
+       * insettext.C (docbook): rearrange arguments, due to change in the upper
+       code.
+
+2004-10-23  André Pönitz  <poenitz@gmx.net>
+
+       * insettabular.C (cutSelection, tabularFereatures):
+         fix cursor position after cutting selection or table rows
+
+2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetgraphics.C (docbook, writeImageObject): write more than one
+       format of imageobjects in <mediaobject>.
+
+2004-10-17  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
+       DocBook output for this inset ( <citation>content</citation> )
+
+2004-10-05  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetgraphics.C (docbook) : using mediaobject for XML;
+       correcting bug with SGML output (now '>' instead of '/>')
+
+2004-10-05  José Matos  <jamatos@lyx.org>
+
+       * insetfloatlist.C (read):
+       * insetquotes.C (read):
+       * insetspace.C (read):
+       * insetspecialchar.C (read):
+       * insettabular.C (read): replace nextToken by more appropriate lex
+       methods.
+
+2004-09-29  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetgraphics.C (createDocBookAttribute, docbook) :
+       convert scale, width, height and keepaspectratio to Docbook standards)
+
+       * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
+       to Docbook units where possible.
+
+2004-09-29  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
+
+       * insetgraphics.[hC] (createDocBookAttributes): Export parameters
+       as attributes with new method for docbook.
+
+2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * render_preview.h: Use preferred calling of Boost.Signal
+
+       * pch.h: use proper signal include
+
+2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * ExternalTransforms.h: User preferred calling of Boost.Function
+
+2004-09-24  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * insetref.C (docbook): fixing problem where Docbook XML output
+       had unclosed <xref ... >
+
+2004-08-16  José Matos  <jamatos@lyx.org>
+
+       * insethfill.C (write):
+       * insetline.C (write):
+       * insetnewline.C (write):
+       * insetpagebreak.C (write): remove space at end of line.
+
+2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insettabular.C (plaintext): do not use ownerPar to get the
+       paragraph depth
+
+       * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
+       and it calls getParentLanguage (which calls ownerPar)
+       (edit): do not call sanitizeEmptyText
+       (priv_dispatch): remove code resetting font on empty inset, for
+       the same reasons as above.
+
+       * insettabular.C (isRightToLeft): instead of using
+       BufferView::getParentLanguage, use the data from the cursor
+
+2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: new file
+
+       * Makefile.am: support pch
+
+2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insettabular.C (draw): whitespace
+
+       * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
+
+2004-08-14  André Pönitz  <poenitz@gmx.net>
+
+       * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
+
+2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insettabular.C (metrics): when the width of a cell is zero(),
+       let it use as much space as it can
+
+       * insettext.C (editXY): compilation fix
+
+       * insetinclude.C (priv_dispatch): fix showing dialog on mouse
+       release
+       (metrics): the insets is not full width any more.
+       (draw): adjust; fix bad test for PREVIEW_OFF
+       (add_preview): fix bad test for PREVIEW_OFF
+       (display): do not return true when using \input
+
+2004-08-14  José Matos  <jamatos@lyx.org>
+
+       * insetbibitem.[Ch] (plaintext): added.
+
+       * insetcite.[Ch]: fix plaintext export.
+
+2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
+
+       * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
+       DrawFrame enum.
+
+       * insetcaption.C (InsetCaption): modify call to setDrawFrame
+       * insetcollapsable.C (InsetCollapsable): ditto
+       * insetenv.C (InsetEnvironment): ditto
+
+2004-08-14  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetbase.[Ch]:       remove the 'internale' xo, yo position cache
+
+2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetoptarg.C (latexOptional): if the optional argument contains
+       a ']' enclose it in {curly brackets}
+
+       * insettext.C (editXY):
+       * insettabular.C (editXY):
+       * insetcollapsable.C (editXY):
+       * insetbase.C (editXY): constify
+
+       * insetcollapsable.C (priv_dispatch): on a mouse press event, do
+       not ask for an update if we did nothing; on a mouse release, make
+       sure that the cursor is  moved to the right position; on a mouse
+       release, exit from the inset instead of invoking a
+       LFUN_FINISHED_RIGHT.
+
+       * insetbase.C (dispatch): before invoking dispatch, set cursor
+       result to dispatch=update=true.
+
+2004-08-13  José Matos  <jamatos@lyx.org>
+
+       * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
+
+2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetfoot.C (latex): use OutputParams::intitle instead of
+       parOwner() (avoids time consuming lookup)
+
+       * insetquotes.C (latex): same as above with OutputParams::lang.
+       Moreover the code actually works now.
+
+2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
+       * insetinclude.C, insetgraphics.C, insetfloat.C:
+       * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
+       * insetbranch.C, insetbox.C, ExternalTransforms.C: change
+       "support/std_sstream.h" to <sstream>
+
+2004-06-22  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (prepareFile): remove conversion_needed flag.
+       It made the following fail for a .eps graphics file:
+       1) view->ps
+       2) view->pdf (pdflatex)
+       because the .eps file was already in the temp dir when the pdflatex
+       export happened and therefore no .eps -> pdf conversion was done.
+
+2004-06-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C, insettabular.C: s/wether/whether/g
+
+2004-06-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (stripExtension): new
+       * insetgraphics.C (prepareFile): Don't check for nonexisting files,
+       the caller does this
+       * insetgraphics.C (prepareFile): Handle "nice" exports, too
+       * insetgraphics.C (latex): call prepareFile() also for "nice" exports
+
+2004-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetfloatlist.C (latex,getScreenLabel): translate according to
+       the document language (bug #1312)
+
+2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
+       with external_in_tmpdir and compute filename ourself
+       * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
+       use it to store referenced file(s)
+       * ExternalSupport.C (writeExternal): write relative filename if
+       running latex
+       * ExternalTemplate.[Ch]: add ReferencedFile command
+       * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
+       runparams.exportdata
+       * insetgraphics.C (prepareFile): write relative filename if
+       running latex
+       * insetinclude.C (latex, docbook, linuxdoc): add file to
+       runparams.exportdata and write it to the temp dir instead of
+       writing it to the final destination
+       * insetinclude.C (docbook, linuxdoc): don't copy runparams
+
+2004-05-19  Angus Leeming  <leeming@lyx.org>
+
+       * insetcite.[Ch]: small change because namespace biblio is
+       now namespace lyx::biblio.
+
+2004-05-15  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insettabular.[Ch] (buffer): make Buffer * argument const
+
+2004-05-17  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
+       to force the button label to be re-generated.
+
+2004-05-14  José Matos  <jamatos@lyx.org>
+
+       * insetlabel (docbook): do not ouput label, for the moment.
+
+2004-05-14  Angus Leeming  <leeming@lyx.org>
+
+       * insetcite.C (getNatbibLabel, generateLabel, latex): use the
+       new biblio::asValidLatexString function.
+
+2004-05-12  Angus Leeming  <leeming@lyx.org>
+
+       * insetcite.C: use BufferParams::cite_engine rather than the three
+       bools, use_natbib, use_jurabib, use_numerical_citations.
+
+2004-05-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
+       Ditto with getStyle, moved to biblio::getEngine.
+
+2004-05-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (validate): remove pre 233 file format stuff,
+       handle zipped files for "nice" export
+
+2004-05-05  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (prepareFile): copy zipped file and corresponding
+       .bb file to the tmp dir if we don't unzip it (needed for dvi export)
+       * insetgraphics.C (prepareFile): unzip zipped file also if it has
+       changed since the last run
+       * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
+       and copyFileIfNeeded.
+
+2004-04-29  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch]: remove redundant #includes.
+
+2004-04-28  Angus Leeming  <leeming@lyx.org>
+
+       * insettext.C:
+       s/updateToolbar()/updateToolbars()/
+
+2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C: require file extension (file format change!)
+       * insetgraphics.C (latex): handle zipped files for "nice" export
+
+2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetgraphics.C (latex): strip the extension and replace dots in
+       the filename if doing a "nice" export. This is a partial fix for
+       bug 1231 without reintroducing bug 655.
+
+2004-04-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insetoptarg.h: remove the editable() method (InsetCollapsable
+       does it better already)
+
+       * insetbibtex.C (normalize_name): new helper function. Changes the
+       name to be suitable to use in a latex file (relative to master
+       buffer if necessary).
+       (latex): use normalize_name.
+
+2004-04-20  Angus Leeming  <leeming@lyx.org>
+
+       * render_preview.C (startLoading): remove lyxerr statement.
+       (draw): cosmetics.
+       (getPreviewLoader): new helper function.
+
+2004-04-19  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C:
+       * insetinclude.C:
+       * render_preview.[Ch]: changes due to changes to LyXRC::preview.
+
+2004-04-19  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C (priv_dispatch): remove unnecessary invocation of
+       BufferView::update.
+       (add_preview): renamed as add_preview_and_start_loading. Invoke
+       RenderPreview::startLoading.
+
+       * insetinclude.C (metrics, draw): changes due to the changed
+       RenderPreview interface.
+
+       * render_preview.C: remove cached pimage_.
+       (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
+       (draw): don't call startLoading. That's up to the user of
+       RenderPreview.
+
+2004-04-16  Angus Leeming  <leeming@lyx.org>
+
+       * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
+
+2004-04-13  Angus Leeming  <leeming@lyx.org>
+
+       * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
+       the renderer to inform LyX::updateInset that the inset's status
+       has changed and it should be redrawn.
+
+       * render_button.[Ch] (clone):
+       * render_graphic.[Ch] (c-tors, clone):
+       * render_preview.[Ch] (c-tors, clone): ditto.
+
+       * render_graphic.[Ch] (connect):
+       * render_preview.[Ch] (connect): removed, as connection is now
+       made in the constructors.
+
+       * insetexternal.C:
+       * insetgraphics.C:
+       * insetinclude.C: ensuing simplification of the client code.
+       (statusChanged): now superfluous. Removed.
+
+2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalTemplate.[Ch]: remove editCommand
+       * ExternalSupport.C (editExternal): use formats.edit() instead of
+       the removed editCommand template parameter
+       * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
+       * insetgraphics.[Ch] (editGraphics): new method
+
+2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetinclude.C (validate): set/reset features.buffer_ when
+       validating the child
+
+2004-04-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C (priv_dispatch):
+       * insetinclude.C (priv_dispatch): prevent crash by invoking
+       InsetOld::priv_dispatch at the end of the switch, rather than
+       InsetOld::dispatch...
+
+2004-04-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcollapsable.C:
+       * insetbranch.C: 'assign' to open/close branch inset according to
+       selection; also print content on closed branch button
+
+2004-04-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
+       $$RelPath_Master, $$RelPath_Parent, $$Extension,
+       $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
+       of $$Basename
+       * ExternalSupport.C (updateExternal): use absolute and output
+       filename where appropriate
 
 2004-04-05  André Pönitz  <poenitz@gmx.net>
-       
+
        * insetbase.h: use LCursor & in notifyCursorLeave
 
 2004-04-05  Angus Leeming  <leeming@lyx.org>
 
 2004-04-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
-       * insetfloat.C (read): fix reading of float params 
+       * insetfloat.C (read): fix reading of float params
        (recognize "type")
 
 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
        * insettext.C (edit): comment the call to updateLocal (dangling now)
        * insettext.h: add allowSpellCheck() returning true
 
-2004-03-31  Angus Leeming  <angus@localhost.localdomain>
+2004-03-31  Angus Leeming  <leeming@lyx.org>
 
        * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
 
 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * insetbibtex.[Ch]: bibtopic support.
-       
+
        * insetfloat.[Ch]: add param \sideways {true|false}
        (support for sideways floats from rotating.sty).
 
 
 2004-03-09  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open 
+       * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
        submode.
 
 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * insetcite.C: Support second \cite option.
-       
+
        * insetcommand.[Ch]:
        * insetcommandparams.[Ch]: add second optional argument.
 
        * insetbase.C:
        * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
          implicitly assume 'DispatchResult(true, true) with exception of
-         InsetBase::priv_dispatch which does the equivalent of 
+         InsetBase::priv_dispatch which does the equivalent of
          'retrun DispatchResult(false)'
 
        * inset*.[Ch] (priv_dispatch): adjust
 
 2004-02-04  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * insettext.C (edit): 
+       * insettext.C (edit):
        (updateLocal): use the cur argument instead of the global cursor
        * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening