]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
* insettext.C (setViewCache): don't call LyXText::init() anymore
[lyx.git] / src / insets / ChangeLog
index 761f360f582b5014a2e6d0d2a11228635d6ba6de..c7e0ffaa3b1b374a6e541e78b3efa3ce37b67d65 100644 (file)
@@ -1,8 +1,494 @@
+
+2003-11-17  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.C (setViewCache): don't call LyXText::init() anymore
+
+2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * inset.h:
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]: remove bufferview parameter in methods 
+       open, close, status, and updateStatus.
+
+2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * insetcollapsable.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch] (getCursorDim): squash unused variable
+
+2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettext.C (edit): x0_,y0_ -> xo_,yo_
+
+2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettext.C (draw): sets LyXText absolute coordinates
+
+2003-11-20  Angus Leeming  <leeming@lyx.org>
+
+       * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
+       about unused parameters.
+
+       * insetcollapsable.C (open):
+       * insettabular.C (pasteSelection):
+       * insettoc.C (draw): ditto.
+
+2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insetcollapsable.C: 
+       * insettext.C:
+       * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
+       remove mouse_x mouse_y etc.
+
+2003-11-17  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.[Ch] (cx, cy): remove
+
+       * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
+
+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
+       are activated.
+
+2003-10-14  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]:
+       * inset.h: getText() as alternative to getParagraphs()
+
+2003-10-13  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C:
+       * insetgraphicsParams.C: displayTranslator is now a function.
+
+2003-10-13  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C: remove #include "PreviewImage.h".
+
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * ExternalSupport.C:
+       * ExternalTransforms.C:
+       * insetbox.C:
+       * insetbox.h: ws changes only
+
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetinclude.C (localDispatch): do not call
+       InsetOld::localDispatch, just return UNDISPATCHED
+       * insetgraphics.C (localDispatch): ditto
+       * insetcommand.C (localDispatch): ditto
+
+2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * inset.h: get rid of RESULT typedef for dispatch_result
+
+       * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
+       * insetert.[Ch] (localDispatch): ditto
+       * insettabular.[Ch] (localDispatch): ditto
+       (moveRight): ditto
+       (moveLeft): ditto
+       (moveUp): ditto
+       (moveDown): ditto
+       * insettext.[Ch] (localDispatch): ditto
+       (moveRight): ditto
+       (moveLeft): ditto
+       (moveRightIntern): ditto
+       (moveLeftIntern): ditto
+       (moveUp): ditto
+       (moveDown): ditto
+       * updatableinset.[Ch] (localDispatch): ditto
+
 2003-10-12  Angus Leeming  <leeming@lyx.org>
 
        * renderbase.h (view, view_): removed.
        * renderbase.C: removed.
-       * Makefile.am: remove render_base.C. The shortest lived file in history?
+       * Makefile.am: remove render_base.C. The shortest lived file in
+       history?
 
        * renderbutton.C (draw):
        * render_graphic.C (draw): don't cache the BufferView.
 
        * Makefile.am: add new files.
 
-       * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
-       allowing the class to be forward declared. (Also consistent with
-       all other Params classes.)
-       (write): moved out of the class. Move this function and those in
-       namespace anon to ExternalSupport.[Ch].
+       * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
+       allowing the class to be forward declared. (Also consistent with
+       all other Params classes.)
+       (write): moved out of the class. Move this function and those in
+       namespace anon to ExternalSupport.[Ch].
 
 2003-10-07  Angus Leeming  <leeming@lyx.org>