]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
speedup latex export a lot
[lyx.git] / src / insets / ChangeLog
index c15f7dd742b374fa6fb030b884446065bc741eec..dc0334bfdc363fe624907c8855ac60e44f08671b 100644 (file)
@@ -1,9 +1,264 @@
+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>
+
+       * insetgraphics.C: remove unused header file "lyxrc.h".
+
+       * render_graphic.C: squash bug 1372: Misleading graphics label when
+       deactivating lyx view.
+
+2004-04-05  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C:
+       * insetcaption.C:
+       * insetgraphics.C:
+       * insetlatexaccent.C:
+       * insetquotes.C:
+       * insettabular.C:
+       * insettext.C:
+       * updatableinset.C:
+       wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
+
+2004-04-02  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetfloat.C (read): fix yesterday's float fix.
+       * insetwrap.C (read): apply the fixed float fix.
+
+2004-04-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * 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