]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
no need for three calls to update() in a row...
[lyx.git] / src / insets / ChangeLog
index c8fe12abc03a5172d1655a2871a166c8b3a23047..5d42c9bdf94a0e675d78410556bef3450b4c452a 100644 (file)
@@ -1,3 +1,386 @@
+
+2003-11-13  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h: 
+       * insetcollapsable.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch] (deleteLyXText): remove
+
+2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insetcollapsable.[Ch] (fitInsetCursor): remove
+       * insettabular.[Ch] (fitInsetCursor): remove
+       * insettext.[Ch] (fitInsetCursor): remove
+       * updatableinset.[Ch] (fitInsetCursor): remove
+       (getCursorDIm): add virtual
+
+2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * src/insets/Makefile.am:
+       * src/insets/inset.h:
+       * src/insets/insetcharstyle.C:
+       * src/insets/insetcharstyle.h: The Character Style /XML short
+       element patch.
+
+2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettext.C: remove all update calls
+       * insetcollapsable.C: remove all update calls
+
+2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insettext.C (updateLocal, insertInset, setFont): remove 
+       fitCursor calls
+
+2003-11-10  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h: remove Inset::id_
+
+       * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
+       * *.[Ch]: adjust
+
+2003-11-10  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetbox.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insetert.C:
+       * insetfloat.C:
+       * insetminipage.C:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * insetwrap.C:
+       * updatableinset.[Ch]: remove inset locking & adjust
+
+2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
+
+       * inset.h (allowSpellCheck): add (return true)
+       * insetert.h (allowSpellCheck): add (return false)
+       
+2003-11-05  José Matos  <jamatos@lyx.org>
+
+       * inset.h:
+       * insetbibtex.[Ch]:
+       * insetbox.[Ch]:
+       * insetbranch.[Ch]:
+       * insetcaption.[Ch]:
+       * insetcite.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insetcommand.[Ch]:
+       * insetenv.[Ch]:
+       * insetert.[Ch]:
+       * insetexternal.[Ch]:
+       * insetfloat.[Ch]:
+       * insetfloatlist.[Ch]:
+       * insetfoot.[Ch]:
+       * insetgraphics.[Ch]:
+       * insethfill.[Ch]:
+       * insetinclude.[Ch]:
+       * insetindex.[Ch]:
+       * insetlabel.[Ch]:
+       * insetlatexaccent.[Ch]:
+       * insetline.[Ch]:
+       * insetlist.[Ch]:
+       * insetmarginal.[Ch]:
+       * insetminipage.[Ch]:
+       * insetnewline.[Ch]:
+       * insetnote.[Ch]:
+       * insetoptarg.[Ch]:
+       * insetpagebreak.[Ch]:
+       * insetquotes.[Ch]:
+       * insetref.[Ch]:
+       * insetspace.[Ch]:
+       * insetspecialchar.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * insettheorem.[Ch]:
+       * insettoc.[Ch]:
+       * inseturl.[Ch]:
+       * insetwrap.[Ch]: rename ascii to plaintext
+       and LatexRunParams to OutputParams.
+
+2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insetcollapsable.C (edit): add open() all
+       * insettext.C (edit): add setViewCache call
+
+2003-11-04  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h (edit): move locking code from dispatch() to edit()
+
+       * insetbase.[Ch]:
+       * insetbibitem.C:
+       * insetbranch.[Ch]:
+       * insetcite.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insetcommand.C:
+       * insetert.[Ch]:
+       * insetexternal.[Ch]:
+       * insetgraphics.[Ch]:
+       * insetindex.[Ch]:
+       * insetlabel.C:
+       * insetnote.[Ch]:
+       * insetref.C:
+       * insettabular.[Ch]:
+       * insettext.[Ch]: adjust
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * inset.h:
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * updatableinset.[Ch]: remove dead search code
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * inset.h:
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * updatableinset.[Ch]: remove dead spellcheck code
+
+2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insettabular.C (lockInsetInInset): small fix
+
+2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (priv_dispatch): some DispatchResult type cleanup,
+       don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
+       from here. Be stricter on DispatchResult returned.
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * Inset::dispatch's: adjust for new DispatchResult semantics.
+
+2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * render_base.h: make clone return an auto_ptr
+       * render_button.C (clone): adjust
+       * render_graphic.C (clone): adjust
+       * render_preview.C (clone): adjust
+
+       * insettheorem.C (clone): return an auto_ptr
+
+       * insettext.C (priv_dispatch): exception safety
+
+       * insettabular.C: store the file scope variable paste_tabular in a
+       scoped_ptr, adjust usage.
+
+       * insetexternal.C (setParams): exception safety
+
+       * insetbibitem.C (clone): exception safety
+
+2003-11-03  André Pönitz  <poenitz@gmx.net>
+
+       * inset.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]: remove Inset::id and related functions
+
+2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insets: adjust for DispatchResult changes.
+
+2003-11-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * insetpagebreak.C: fix screen representation & ascii output.
+
+2003-11-01  Alfredo Braunstein  <abraunst@libero.it>
+
+       * inset.[Ch]:
+       * insettext.[Ch]:
+       * insettabular.[Ch]:
+       * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
+
+2003-10-31  José Matos  <jamatos@lyx.org>
+
+       * inset.h (ascii, linuxdoc, docbook):
+       * insetbox.[Ch] (ascii, linuxdoc, docbook):
+       * insetbranch.[Ch] (ascii, linuxdoc, docbook):
+       * insetcaption.[Ch] (ascii, docbook):
+       * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
+       * insetcommand.[Ch] (ascii, linuxdoc, docbook):
+       * insetert.[Ch] (ascii, linuxdoc, docbook):
+       * insetexternal.[Ch] (ascii, linuxdoc, docbook):
+       * insetfloat.[Ch] (linuxdoc, docbook):
+       * insetfloatlist.[Ch] (ascii):
+       * insetfoot.[Ch] (docbook):
+       * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
+       * insethfill.[Ch] (ascii, linuxdoc, docbook):
+       * insetinclude.[Ch] (ascii, linuxdoc, docbook):
+       * insetindex.[Ch] (docbook):
+       * insetlabel.[Ch] (ascii, linuxdoc, docbook):
+       * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
+       * insetline.[Ch] (ascii, linuxdoc, docbook):
+       * insetnewline.[Ch] (ascii, linuxdoc, docbook):
+       * insetnote.[Ch] (ascii, linuxdoc, docbook):
+       * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
+       * insetquotes.[Ch] (ascii, linuxdoc, docbook):
+       * insetref.[Ch] (ascii, linuxdoc, docbook):
+       * insetspace.[Ch] (ascii, linuxdoc, docbook):
+       * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
+       * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
+       * insettext.[Ch] (ascii, linuxdoc, docbook):
+       * insettoc.[Ch] (ascii, linuxdoc, docbook):
+       * inseturl.[Ch] (ascii, linuxdoc, docbook):
+       * insetwrap.[Ch] (docbook):
+       add LatexRunParams argument.
+
+2003-10-30  José Matos  <jamatos@lyx.org>
+
+       * insettext.C (linuxdoc, docbook): use new pagraph generation code.
+
+2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * updatableinset.C (priv_dispatch):
+       * insetwrap.C (priv_dispatch):
+       * inseturl.C (priv_dispatch):
+       * insettoc.C (priv_dispatch):
+       * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
+       (moveLeftIntern, moveUp, moveDown):
+       * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
+       (moveLeft, moveUp, moveDown):
+       * insetref.C (priv_dispatch):
+       * insetnote.C (priv_dispatch):
+       * insetminipage.C (priv_dispatch):
+       * insetlabel.C (priv_dispatch):
+       * insetindex.C (priv_dispatch):
+       * insetinclude.C (priv_dispatch):
+       * insetgraphics.C (priv_dispatch):
+       * insetfloatlist.C (priv_dispatch):
+       * insetfloat.C (priv_dispatch):
+       * insetexternal.C (priv_dispatch):
+       * insetert.C (priv_dispatch):
+       * insetcommand.C (priv_dispatch):
+       * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
+       * insetcite.C (priv_dispatch):
+       * insetbranch.C (priv_dispatch):
+       * insetbox.C (priv_dispatch):
+       * insetbibtex.C (priv_dispatch):
+       * insetbibitem.C (priv_dispatch):
+       * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
+
+2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
+
+    * insettext.C: small refactoring of docbook stuff
+
+2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
+       (priv_dispatch): adjust for operator dispatch_result_t removal
+
+       * insettabular.C (lfunMouseRelease): put the result of a dispatch
+       in a DispatchResult, adjust accordingly.
+       (priv_dispatch): use strange >= construct... (will be removed later)
+
+       * most insets: dispatch_result -> DispatchResult
+
+       * insetbase.h: move DispatchResult out to dispatchresult.h
+
+2003-10-27  André Pönitz  <poenitz@gmx.net>
+
+       * insetpagebreak.[Ch]: new inset for page breaks
+
+       * insetline.[Ch]: new inset for vertical lines
+
+       * Makefile.am:
+       * inset.h: adjust
+
+2003-10-25  Angus Leeming  <leeming@lyx.org>
+
+       * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
+       new virtual member functions, specialised...
+       * render_button.h (asButton):
+       * render_graphic.h (asGraphic):
+       * render_preview.h (asPreview, asMonitoredPreview): ... here.
+
+       * insetexternal.C: use these new functions rather than dynamic_cast.
+       Various other small simplifications.
+
+2003-10-22  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch]: add the ability to 'preview' the external file
+       if so desired.
+
+       * insetinclude.C: changes due to the changes in the RenderPreview
+       interface.
+
+       * render_preview.[Ch]: Lots of small changes. Display a diagnostic
+       message if the preview image is not available. Only initiate the
+       loading of the preview from draw(). Ditto, start the monitoring
+       of an external file from RenderMonitoredPreview::draw.
+
+2003-10-22  Angus Leeming  <leeming@lyx.org>
+
+       * insetcite.[Ch] (setLoadingBuffer): removed.
+       (getNatbibLabel): use the new Buffer::fully_loaded member function to
+       ascertain whether to proceed with the (expensive) task of computing
+       the natbib-style label. Remove the home-grown hack providing
+       similar functionality.
+
+2003-10-22  Angus Leeming  <leeming@lyx.org>
+
+       * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
+       class and into an anonymous namespace.
+
+2003-10-22  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.h: remove the display method.
+
+       * insetbibtex.h:
+       * insetfloatlist.h:
+       * insetindex.h (InsetPrintIndex):
+       * insettoc.h: add a display method, returning true.
+
+2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcollapsable.h:
+       * insetcommand.h:
+       * insetfloat.h:
+       * insetfootlike.h:
+       * insetinclude.h: (1) finish off the inset display() work;
+       (2) fix the "is a bit silly" bug (accessing char
+       past end of par).
+
+2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * inset.h:
+       * insetfloat.h:
+       * insetfootlike.h: re-introduce display() for insets,
+       fixing the various bugs (stretch of line above, math inset
+       positioning, ...)
+
+2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetbase.C (dispatch): new func
+       (priv_dispatch): new func replaces...
+       (localDispatch): this, deleted.
+
+       * all insets with dispatch modified for new code.
+
+2003-10-15  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.[Ch]
+       * insettabular.[Ch]
+       * inset.h: re-add some edit(bv, index) method called by undo
+
+2003-10-14  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch] (view, cache, view_):
+       * insetgraphics.[Ch] (view, cache, view_):
+       * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
+       (statusChanged): call LyX::cref().updateInset.
+
+       * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
+       the BufferView cache.
+
+       * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
+       earlier clean-up.
+
 2003-10-14  Angus Leeming  <leeming@lyx.org>
 
        * insetinclude.C (metrics, draw): only draw the preview when previews