]> 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 9e964591429a2d6ff181ed8d50a4604d176e21bb..b0f09f656d2fff6f13cab5eddaf0d6883b333c62 100644 (file)
@@ -1,3 +1,618 @@
+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>
+
+       * insettext.[Ch]: fix drawing bug introduced earlier
+
+2003-05-19  André Pönitz  <poenitz@gmx.net>
+
+       * insetspecialchar.C: fix bug introduced yesterday
+
+2003-05-19  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetbutton.[Ch]:
+       * insetcollapsable.[Ch]:
+       * inseterror.[Ch]:
+       * insetert.[Ch]:
+       * insetfoot.[Ch]:
+       * insetgraphics.[Ch]:
+       * insetgraphicsParams.[Ch]:
+       * insetlatexaccent.[Ch]:
+       * insetminipage.[Ch]:
+       * insetnewline.[Ch]:
+       * insetquotes.[Ch]:
+       * 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
+
+2003-05-16  André Pönitz  <poenitz@gmx.net>
+
+       * insetcommand.C:
+       * insetminimpage.[Ch]:
+       * insetcollapsable.[Ch]: fix #832
+
+2003-05-16  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetbibitem.[Ch]:
+       * insetbibtex.[Ch]:
+       * insetbutton.[Ch]:
+       * insetcite.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insetcommand.[Ch]:
+       * inseterror.[Ch]:
+       * insetert.[Ch]:
+       * insetexternal.[Ch]:
+       * insetfloatlist.[Ch]:
+       * insetgraphics.[Ch]:
+       * insetinclude.[Ch]:
+       * insetindex.[Ch]:
+       * insetlabel.[Ch]:
+       * insetlatexaccent.[Ch]:
+       * insetparent.[Ch]:
+       * insetref.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * insettoc.[Ch]:
+       * inseturl.[Ch]:
+       * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
+
+2003-05-13  André Pönitz <poenitz@gmx.net>
+
+       * insetbibitem.C:
+       * insetcollapsable.C:
+       * insetert.C:
+       * insetfloat.C:
+       * insetinclude.C:
+       * insetwrap.C: tostr from own header
+
+       * insetcommand.C:
+       * insetexternal.C:
+       * insetfloat.C:
+       * insetfloat.h:
+       * insetgraphics.C:
+       * insetinclude.C:
+       * insetminipage.C:
+       * insetparent.C:
+       * insettabular.C:
+       * insettext.C:
+       * insetwrap.C: STRCONV
+
+
+2003-05-12  André Pönitz <poenitz@gmx.net>
+
+       * insetcaption.C:
+       * insetexternal.C:
+       * insetfloat.C:
+       * insetfloatlist.C:
+       * insetgraphics.C:
+       * insetinclude.C:
+       * insetminipage.C:
+       * insetminipage.C:
+       * insettabular.C:
+       * insettext.C:
+       * insetwwrap.C:  boost::format -> bformat  all over the place
+
+2003-05-05  André Pönitz <poenitz@gmx.net>
+
+       * insettext.h: add missing #include <map>
+
+2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (InsetText): parlist cleanup
+       (clear): ditto
+       (edit): ditto
+       (insetUnlock): ditto
+       (lockInset): ditto
+       (lockInsetInInset): ditto
+       (cx): ditto
+       (cix): ditto
+       (getLyXText): ditto
+       (searchBackward): ditto
+       (collapseParagraphs): ditto
+
+2003-05-06  John Levon  <levon@movementarian.org>
+
+       * insetcaption.C: don't cast wrap inset to InsetFloat
+
+       * insetfloat.h:
+       * insetfloat.C: remove unneeded type() function
+
+2003-05-05  André Pönitz <poenitz@gmx.net>
+
+       * inset.h:
+       * insettext.[Ch]:
+       * insettabular.[Ch]:
+       * insetcollapsable.[Ch]: remove unused function firstParagraph()
+       replace getFirstParagraph() by getParagraphs()
+
+2003-05-03  John Levon  <levon@movementarian.org>
+
+       * insetcollapsable.h:
+       * insetcollapsable.C:
+       * insettabular.h:
+       * insettabular.C:
+       * insettext.h:
+       * insettext.C:
+       * updatableinset.h:
+       * updatableinset.C: remove cursor_visible_, showInsetCursor(),
+       hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
+       getCursor(). Remove explicit cursor hides.
+
+2003-05-02  André Pönitz <poenitz@gmx.net>
+
+       * insettext.C: remove unneeded &*
+
+2003-04-30  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: fix edit message
+
+2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (setFont): do not convert iterator -> pointer
+
+       * insettabular.C (localDispatch): do not convert iterator -> pointer
+       (setFont): ditto
+       (tabularFeatures): ditto
+
+2003-04-29  André Pönitz <poenitz@gmx.net>
+
+       * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
+
+2003-04-28  André Pönitz <poenitz@gmx.net>
+
+       * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
+         Changes
+
+2003-04-25 André Pönitz <poenitz@gmx.net>
+
+       * insetenv.C: derive from InsetText instead of InsetCollapsable
+
+2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetexternal.C (string2params): dont do anything if the string
+       is empty.
+       * insetgraphics.C (string2params): ditto
+       * insetcommand.C (string2params): ditto
+       * insetert.C (string2params): ditto
+       * insetfloat.C (string2params): ditto
+       * insetinclude.C (string2params): ditto
+       * insetminipage.C (string2params): ditto
+       * insettabular.C (string2params): ditto
+       * insetwrap.C (string2params): ditto
+
+2003-04-24  André Pönitz <poenitz@gmx.net>
+
+       * insetref.C: support for eqref
+
+2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetert.C (read): use ParagraphList::iterator.
+
+2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetquotes.C (latex): comment some code and add warnings.
+
+2003-04-14   Alfredo Braunstein  <abraunst@libero.it>
+
+       * insetexternal.C (localDispatch): added a missing DISPATCHED
+
+2003-04-12  John Levon  <levon@movementarian.org>
+
+       * insetwrap.C (addToToc): fix a crash, conversion
+       from while to for loop forgot to remove the explicit
+       increment
+
+2003-04-10  John Levon  <levon@movementarian.org>
+
+       * insettabular.C (tabularFeature): make sure
+       to update the dialog when we change something
+       (bug 1036).
+
+       (getStatus): don't disable some lfuns (bug 939)
+
+2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (saveLyXTextState): adjust
+       (localDispatch): adjust
+       (setFont): adjust
+       (cx): adjust
+       (cix): adjust
+       (cpar): adjust
+
+       * insettabular.C (localDispatch): adjust
+       (setFont): adjust
+       (tabularFeatures): adjust
+
+2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insettabular.C (searchForward,searchBackward): fix bug 782
+
+2003-04-07  John Levon  <levon@movementarian.org>
+
+       * insettabular.C:
+       * insettext.C: clear status message on inset exit
+
+2003-04-03  John Levon  <levon@movementarian.org>
+
+       * insetcommand.C: return dispatched on DIALOG_UPDATE
+
+2003-04-02  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: tab lfuns renamed
+
 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * insettext.C (update): move towards ParagraphList
        * insettext.C (edit): replace Dialogs::updateParagraph with
        BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
 
-2003-03-13 André Pönitz <poenitz@gmx.net>
+2003-03-13  André Pönitz <poenitz@gmx.net>
 
        * Makefile.am: insert insetenv
 
 
        * insettext.C: name change to readToken()
 
-2003-03-11 André Pönitz <poenitz@gmx.net>
+2003-03-11  André Pönitz <poenitz@gmx.net>
 
        * Makefile.am: insert insethfill
 
 
 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
-       * insettext.C (latex): addjust call to latexParagraphs.
+       * insettext.C (latex): adjust call to latexParagraphs.
 
 2003-03-10  Angus Leeming  <leeming@lyx.org>
 
        * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
        it to communicate with the frontend dialogs.
 
-cd src2003-03-07  Angus Leeming  <leeming@lyx.org>
+2003-03-07  Angus Leeming  <leeming@lyx.org>
 
        * insetexternal.C: remove operator== and operator!= for
        InsetExternal::Params. They were used only by the old controller
@@ -537,7 +1152,7 @@ cd src2003-03-07  Angus Leeming  <leeming@lyx.org>
        * insetinclude.C (loadIfNeeded): ensure loading also works when
        child document is under version control.
 
-2003-02-17 André Pönitz <poenitz@gmx.net>
+2003-02-17  André Pönitz <poenitz@gmx.net>
 
        * insetbib.[Ch]: Adjust access to bibkeys
 
@@ -738,7 +1353,7 @@ cd src2003-03-07  Angus Leeming  <leeming@lyx.org>
        * insetcite.C (getNatbibLabel): correct logic of when and when not to
        reload the BibTeX keys.
 
-2002-10-11 André Pönitz <poenitz@gmx.net>
+2002-10-11  André Pönitz <poenitz@gmx.net>
 
        * insettext.h: handle LFUN_PRIOR/NEXT