]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Replace occurances of system_tempdir with os::getTmpDir().
[lyx.git] / src / insets / ChangeLog
index 3ca4cff9b50333c9bf14c1955e09ba3ac3c181e9..976f4059770c9cf933a9bf5645aaa85d3a4995c2 100644 (file)
@@ -1,3 +1,634 @@
+2003-07-26  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphics.C: remove unused declaration of system_tempdir.
+
+2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * rename Inset to InsetOld
+
+       * all inset files (clone): return a auto_ptr<InsetBase>
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch] (setParams): pass it a Buffer const *.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * mailinset.[Ch] (inset2string):
+       * insetcommand.[Ch] (inset2string):
+       * insetert.[Ch] (inset2string):
+       * insetexternal.[Ch] (inset2string):
+       * insetfloat.[Ch] (inset2string):
+       * insetgraphics.[Ch] (inset2string):
+       * insetinclude.[Ch] (inset2string):
+       * insetminipage.[Ch] (inset2string):
+       * insetnote.[Ch] (inset2string):
+       * insettabular.[Ch] (inset2string):
+       * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
+
+       * insetexternal.[Ch]:
+       * insetgraphics.[Ch]: get rid of the view() function. Associated
+       changes to the mailers' string2params and params2string functions.
+
+2003-07-23  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch]: store the external file name in a FileName
+       member variable rather than a string + associated changes.
+
+2003-07-21  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphicsParams.[Ch]: store the graphics file name in
+       a FileName member variable rather than a string.
+
+       * insetgraphics.[Ch]:
+       * insetgraphicsParams.[Ch]: Associated changes.
+
+2003-07-21  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphics.[Ch] (string2params, params2string): passed a
+       buffer_path argument.
+       (view): new method.
+
+2003-07-21  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C:
+       * insetgraphicsParams.[Ch]:
+       * insetinclude.C:
+       * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
+
+2003-07-21  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetnote.C: fixed greyout and conditionals layout foul-ups.
+
+2003-07-18  André Pönitz  <poenitz@gmx.net>
+
+       * insetert.[Ch]:
+       * insetminipage.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * insetwrap.[Ch]:
+       * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
+
+2003-07-18  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetbibitem.C:
+       * insetcollapsable.C:
+       * insetcommand.C:
+       * insetert.C:
+       * insetexternal.C:
+       * insetgraphics.[Ch]:
+       * insetlatexaccent.[Ch]:
+       * insetminipage.C:
+       * insetnewline.C:
+       * insetquotes.C:
+       * insetspace.C:
+       * insetspecialchar.C:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
+
+2003-07-17  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.C:
+       * insettabular.C:
+       * insettext.C: don't call Inset::update() anymore
+
+       * insettext.[Ch]:
+       * insettabular.[Ch]: remove unneeded in_update_ members
+
+       * insettext.[Ch]: remove unneeded InsetText::old_max_width member
+
+2003-07-16  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.C (selectAll): remove
+
+2003-07-16  John Levon  <levon@movementarian.org>
+
+       * insetnote.h:
+       * insetnote.C: implement showInsetDialog()
+
+2003-07-15  André Pönitz  <poenitz@gmx.net>
+
+       * insettabular.C:
+       * insettext.C: refresh_status tristate -> need_update bool
+
+2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insettext.C: adjust call to LyXText::init
+
+2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * insettext.C: use bufferview_funcs->replaceSelection()
+       to delete selections in some cases (bugs 441, 673, 702, 954).
+
+2003-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.C (draw): use slimmed down rowpainter interface
+
+2003-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.C:
+       * insetert.C:
+       * insettext.[Ch] (cy, ciy, setUpdateStatus):
+       remove unused BufferView * argument
+
+2003-07-14  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.[Ch]: used cached metrics a bit more
+
+2003-07-10  Alfredo Brauntein  <abraunst@libero.it>
+
+       * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
+
+2003-07-10  André Pönitz  <poenitz@gmx.net>
+
+       * insettabular.C:
+       * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
+
+2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * introduce namespace lyx::graphics
+
+2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * introduce namespace lyx::support
+
+2003-06-30  André Pönitz  <poenitz@gmx.net>
+
+       * insetcite.C (localDispatch): fix case of missing return value
+
+       * insetcite.C (ascii): remove unneeded temporary
+
+2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetspace.h: fix \file
+
+       * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
+       * insetinclude.C (fillWithBibKeys): ditto
+
+       * insetbibitem.C: fix type const order
+
+       * inset.C (getLyXText): add varname for arg
+
+       * ExternalTemplate.h: fix type const order
+
+2003-06-27  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.C: take care of removed LyXCursor::row_ member
+
+       * insettext.[Ch]: use new TextCursor struct for sstate
+
+2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
+
+       * inseterror.[Ch]: removed
+
+2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insetinclude.C (docbook): use parseError instead of sgmlError
+
+2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
+       of BufferList::loadLyXFile
+
+2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (update): simplify
+       (updateLocal): remove commented code
+       (insetUnlock): simplify
+       (lockInset): simplify
+       (updateInsetInInset): simplify
+       (localDispatch): simplify
+       (setFont): simplify
+       (resizeLyXText): simplify
+       (collapseParagraphs): simplify
+
+       * insetert.C (get_new_label): simplify
+
+2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
+       pasteSelection with index
+
+2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
+
+2003-06-16  André Pönitz  <poenitz@gmx.net>
+
+       * insetbase.h: new virtual base function clone()
+
+       * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
+         Inset * clone()  ->  InsetBase * clone()
+
+2003-06-13  André Pönitz  <poenitz@gmx.net>
+
+       * insettabular.[Ch]: make tabular a proper member
+
+2003-06-12  André Pönitz  <poenitz@gmx.net>
+
+       * insettabular.[Ch]: some renaming plus whitespace
+
+2003-06-11  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
+       Add renderers.[Ch].
+
+       * insetbutton.[Ch]: removed.
+       * graphicinset.[Ch]: renamed as renderers.[Ch].
+
+       * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
+       Create a new class ButtonRenderer using the InsetButton::metrics() and
+       draw() functions.
+       Derive both from a common RenderedInset base class.
+
+       * insetcommand.[Ch]:
+       * insetinclude.[Ch]: derive from Inset, not InsetButton.
+       Give it a ButtonRenderer member variable. Use it.
+       Give the classes working copy c-tors.
+       No longer derive from boost::noncopyable.
+
+       * insetexternal.[Ch]: enable the inset to choose dynamically whether to
+       display its contents as a button or as a graphic.
+
+       * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
+       GraphicRenderer.
+
+2003-06-11  Angus Leeming  <leeming@lyx.org>
+
+       * insetcite.C (localDispatch): reformat.
+
+       * insetref.C (localDispatch): enable dialog to be lauched.
+
+2003-06-11  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: correctly mark all cells as erased
+
+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