]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / ChangeLog
index 90fd6d0003d8215824576f8087441ba56a37265d..08d9b0fd971999c493c79953cf658746a9fe2f5e 100644 (file)
@@ -1,3 +1,485 @@
+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
        * 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
 
        * 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
 
        * 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