]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / ChangeLog
index 9e13ba024e344a7b03aa87ffd3804349ed5c740c..b0f09f656d2fff6f13cab5eddaf0d6883b333c62 100644 (file)
@@ -1,3 +1,370 @@
+2003-06-11  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch]: InsetExternal::Params no longer stores the
+       ExternalTemplate but its name, templatename. This means that a file
+       containing a reference to an External Template not installed on the
+       current machine will be saved retaining this info rather than inserting
+       the first "valid" template from the list of templates.
+
+       As a by product, the visual statement that the Template is missing is
+       now very clear!
+
+2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * insettext.C (appendParagraphs): remove some commented code.
+
+2003-06-10  Angus Leeming  <leeming@lyx.org>
+
+       * graphicinset.[Ch] (view): removed the publicly accessible function to set
+       the cache.
+
+       * insetexternal.[Ch]: move tempname_ into the Params struct.
+       (Params d-tor): new function, to clean-up this temp file.
+       (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
+       (cache): removed.
+       (editExternal, doSubstitution): move out of class.
+
+2003-06-10  Angus Leeming  <leeming@lyx.org>
+
+       * graphicinset.[Ch] (params): removed.
+       * graphicinset.h (operator=): declared private but not defined.
+       (statusMessage): made private.
+
+       * insetexternal.[Ch]: graphic_ renamed as renderer_.
+
+2003-06-07  John Levon  <levon@movementarian.org>
+
+       * insetert.C (latex): make a newline mean just that not
+       a new par
+
+2003-06-07  José Matos  <jamatos@fep.up.pt>
+
+       * insethfill.[Ch] (linuxdoc, docbook): implement output
+       * insetspace.C (linuxdoc, docbook): remove coments as the code
+       is correct.
+
+2003-06-06  José Matos  <jamatos@fep.up.pt>
+
+       * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
+
+2003-06-06  André Pönitz  <poenitz@gmx.net>
+
+       * insetwrap.[Ch]: code compactification
+
+2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
+
+       * mailinset.C (updateDialog): use Dialogs::visible
+
+2003-06-04  Angus Leeming  <leeming@lyx.org>
+
+       * graphicinset.C (draw): add a comment for the #if 0 block.
+
+       * insetexternal.h: remove Params::parameters variable.
+       * insetexternal.C (read, write): rewrite to output new ExternalInset format
+       and read it back making full use of LyXLex.
+
+2003-06-04  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
+
+2003-06-04  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: back out tall table speed up. It was broken
+
+2003-06-03  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
+       Remove ViewCommand and UpdateCommand.
+
+       * graphicinset.C (update): bug fix. Set the params before calling the
+       loader.
+       * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
+       BufferView cache to enable the InsetExternal::editCommand to be invoked
+       from the frontends. Would not be needed if this were dispatched properly.
+       (old_ascent_): variable removed.
+
+       * insetexternal.[Ch]: large clean-up to use the converter mechanism to
+       do any necessary conversions of external material. Also use the
+       new GraphicsInset to display the inset within LyX.
+
+2003-06-03  Angus Leeming  <leeming@lyx.org>
+
+       * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
+       and move it somewhere where InsetExternal can use it too.
+
+       * Makefile.am: add the new files.
+
+       * insetgraphics.[Ch]: make use of the new GraphicInset.
+
+2003-06-03  John Levon  <levon@movementarian.org>
+
+       * inset.h:
+       * insetbibitem.[Ch]:
+       * insetbibtex.h:
+       * insetcite.h:
+       * insetcommand.[Ch]:
+       * insetenv.[Ch]:
+       * inseterror.h:
+       * insetert.[Ch]:
+       * insetexternal.[Ch]:
+       * insetfloat.[Ch]:
+       * insetfloatlist.h:
+       * insetfoot.[Ch]:
+       * insetgraphics.[Ch]:
+       * insethfill.h:
+       * insetinclude.[Ch]:
+       * insetindex.h:
+       * insetlabel.h:
+       * insetlatexaccent.[Ch]:
+       * insetmarginal.[Ch]:
+       * insetminipage.[Ch]:
+       * insetnewline.h:
+       * insetnote.[Ch]:
+       * insetoptarg.[Ch]:
+       * insetquotes.[Ch]:
+       * insetref.[Ch]:
+       * insetspace.[Ch]:
+       * insetspecialchar.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * insetthereom.[Ch]:
+       * insettoc.h:
+       * inseturl.h:
+       * insetwrap.[Ch]: make clone() not take a Buffer * arg
+
+       * insetgraphics.[Ch]:
+       * insetgraphicsParams.[Ch]: always store an absolute
+       path at runtime
+
+2003-06-02  André Pönitz  <poenitz@gmx.net>
+
+       * inseterror.C:
+       * insetgraphics.C:
+       * insetlatexaccent.C: remove duplicated call to metrics()
+
+2003-06-02  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: fix resize of column width
+
+2003-06-02  John Levon  <levon@movementarian.org>
+
+       * Makefile.am:
+       * inset.h:
+       * insetparent.h:
+       * insetparent.C: remove insetparent
+
+2003-06-02  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetbase.h:
+       * insetbibtex.[Ch]:
+       * insetbutton.[Ch]:
+       * insetcaption.C:
+       * insetcollapsable.[Ch]:
+       * inseterror.[Ch]:
+       * insetert.[Ch]:
+       * insetfootlike.C:
+       * insetgraphics.[Ch]:
+       * insetinclude.[Ch]:
+       * insetlatexaccent.[Ch]:
+       * insetminipage.[Ch]:
+       * insetnewline.[Ch]:
+       * insetquotes.[Ch]:
+       * insetspace.[Ch]:
+       * insetspecialchar.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]: unify first drawing phase
+
+       * inset.[Ch]:
+       * insetbase.h: move validate() to the base
+
+2003-05-31  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
+
+2003-05-30  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h:
+       * insetbase.h:
+       * insetbutton.[Ch]:
+       * insetcaption.[Ch]:
+       * insetcollapsable.[Ch]:
+       * inseterror.[Ch]:
+       * insetert.[Ch]:
+       * insetgraphics.[Ch]:
+       * insetinclude.[Ch]:
+       * insetlatexaccent.[Ch]:
+       * insetnewline.[Ch]:
+       * insetquotes.[Ch]:
+       * insetspace.[Ch]:
+       * insetspecialchar.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * updatableinset.[Ch]: unify second drawing phase
+
+2003-05-30  John Levon  <levon@movementarian.org>
+
+       * insetgraphics.C: fix a bformat
+
+2003-05-29  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: remove unused bufferOwner()
+
+2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (lockInsetInInset): adjust
+       (getLabelList): use const_iterator, adjust
+       (getInsetFromID): use const_iterator, adjust
+       (addPreview): use const_iterator, adjust
+
+       * insetwrap.C (clone): remove const_cast
+
+       * insetnote.C (clone): remove const_cast
+
+       * insetminipage.C (clone): remove const_cast
+
+       * insetmarginal.C (clone): remove const_cast
+
+       * insetfoot.C (clone): remove const_cast
+
+       * insetfloat.C (clone): remove const_cast
+
+       * insetert.C (clone): remove const_cast
+
+       * delete commented same_id functions from a lot of files.
+
+2003-05-28  John Levon  <levon@movementarian.org>
+
+       * insetcite.C:
+       * insetinclude.C:
+       * insetindex.C:
+       * insetparent.C:
+       * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
+
+       * insetminipage.C: fix metrics (bug 1144)
+
+2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (saveLyXTextState): adjust
+       (restoreLyXTextState): adjust
+       (init): adjust
+       (lockInset): adjust
+       (unlockInsetInInset): adjust
+       (localDispatch): adjust
+       (getLyXText): adjust
+
+       * insettabular.C (insertAsciiString): adjust
+
+2003-05-27  André Pönitz  <poenitz@gmx.net>
+
+       * insetbutton.C:
+       * insetcollapsable.C:
+       * inseterror.C:
+       * insetgraphics.C:
+       * insetlatexaccent.C:
+       * insetminipage.C:
+       * insetnewline.C:
+       * insetquotes.C:
+       * insetspace.C:
+       * insetspecialchar.C:
+       * insettabular.C:
+       * insettext.C: dim.w -> dim.wid
+
+2003-05-26  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: avoid drawing all of a long table
+       if it's not needed. A big speedup
+
+2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * remove same_id from function signatures, adjust
+
+2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (InsetText): adjust
+       (clear): adjust
+       (setParagraphData): separate same_id cases, adjust
+       (appendParagraphs): adjust
+       (appendParagraphs): adjust
+
+2003-05-23  André Pönitz  <poenitz@gmx.net>
+
+       * insetbutton.h: whitespace
+
+       * insettabular.C: more compact code
+
+       * updatableinset.C: remove const_cast
+
+
+2003-05-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C (write): check how many lines are output.
+       (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
+       if the template has defined it.
+
+2003-05-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
+
+2003-05-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetfoot.C (latex):
+       * inseturl.C (latex): rename fragile as moving_arg.
+
+2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * inseterror.C (localDispatch): comment out unused var.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
+       passed through the LatexRunParams arg.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
+       through the LatexRunParams arg.
+
+       * insetquotes.C (latex): accesses use_babel through the LatexRunParams
+       arg rather than through a global var.
+
+2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetspecialchar.C (dimension): use a string.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibtex.C (latex):
+       * insetgraphics.C (latex):
+       * insetinclude.C (latex): extract the buffer's 'nice'ness from
+       runparams rather than from the buffer itself.
+
+2003-05-22  Angus Leeming  <leeming@lyx.org>
+
+       * inset*.[Ch] (latex):
+       passed a LatexRunParams parameter.
+
+       * insetgraphics.C (latex): actually use it ;-)
+
+2003-05-22  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insetfloat.C (addToToc): trivial compile fix
+
+2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.[Ch] (paragraph): delete unused function
+
+       * insetfloat.C (addToToc): parlist simplfication
+
+2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetspace.[Ch]: added (new space insets)
+       * Makefile.am:
+       * inset.h: handle new space insets
+
+2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetfloat.C (addToToc): adjust
 
 2003-05-21  André Pönitz  <poenitz@gmx.net>
 
        * insetspecialchar.[Ch]:
        * insettabular.[Ch]:
        * insettext.[Ch]: dimensions() instead of ascend/descend/width
-       
+
 2003-05-19  André Pönitz  <poenitz@gmx.net>
 
        * insetenv.[Ch]:
-       * insettext.C: more insetenv 
+       * insettext.C: more insetenv
 
 2003-05-16  André Pönitz  <poenitz@gmx.net>
 
        * insetcommand.C:
        * insetminimpage.[Ch]:
-       * insetcollapsable.[Ch]: fix #832 
+       * insetcollapsable.[Ch]: fix #832
 
 2003-05-16  André Pönitz  <poenitz@gmx.net>
 
        * insettoc.[Ch]:
        * inseturl.[Ch]:
        * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
-       
+
 2003-05-13  André Pönitz <poenitz@gmx.net>
 
        * insetbibitem.C: