]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Small refactoring of DocBook stuff
[lyx.git] / src / insets / ChangeLog
index 9137244341b23a3261a9bfc1d0dbab7b8101bb7a..bfa50b00d7d23ba77ae8c2ff497a1aaea64a6d6f 100644 (file)
@@ -1,3 +1,349 @@
+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?
+
+       * renderbutton.C (draw):
+       * render_graphic.C (draw): don't cache the BufferView.
+
+       * insetabase.h (cache, view): removed.
+
+       * inset.h (generatePreview) removed.
+
+       * insetcallapsable.[Ch] (cache, view, view_): removed.
+
+       * insetcollapsable.C (draw): don't cache the BufferView.
+
+       * insetcommand.[Ch] (view): removed.
+
+       * insetexternal.[Ch] (cache, view, view_):
+       * insetgraphics.[Ch] (cache, view, view_):
+       * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
+
+       * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
+       when you have direct access to it. In fact, don't use the cache at all.
+
+2003-10-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (metrics): use preview_->metrics.
+       (draw): use preview_->draw.
+
+       * render_preview.[Ch] (pimage): removed.
+
+2003-10-10  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.[Ch]: removed.
+
+       * render_base.[Ch]:
+       * render_button.[Ch]:
+       * render_graphic.[Ch]:
+       * render_preview.[Ch]: new files. The first three are split out of
+       renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
+       contains a re-worked InsetInclude::PreviewImpl also.
+
+       * Makefile.am: reflect the changed files.
+
+       * insetcommand.h:
+       * insetexternal.[Ch]:
+       * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
+
+       * insetinclude.[Ch]: changes reflecting the change from
+       InsetInclude::PreviewImpl to RenderMonitoredPreview.
+
+       * insethfill.C:
+       * insetindex.C:
+       * insetlabel.C:
+       * insettoc.C:
+       * inseturl.C: add #include "support/std_ostream.h"
+
+2003-10-09  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
+       to PreviewedInset::previewReady.
+
+2003-10-09  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch] (statusChanged):
+       * insetgraphics.[Ch] (statusChanged): make a const member function.
+
+       * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
+       PreviewedInset.
+
+2003-10-09  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
+       to PreviewedInset's previewReady and removePreview member functions.
+
+2003-10-08  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.C:
+       * insettext.[Ch]: saner 'init' structure
+
+       * updatableinset.[Ch]: remove unneeded code
+
+2003-10-08  Angus Leeming  <leeming@lyx.org>
+
+       Fix doxygen warnings.
+
+       * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
+       * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
+
+2003-10-07  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTransforms.[Ch]: new files, detailing transforms that can
+       be applied to InsetExternal.
+
+       * Makefile.am: add these new files.
+
+       * ExternalTemplate.[Ch]: add a list of available transforms to
+       class Template and a list of factory functions for transformer classes
+       that can act on this data to class Format.
+
+       * insetexternal.[Ch]: add transform data to InsetExternal::Params.
+
+       * ExternalSupport.C: Add code to replace transform placeholders
+       with appropriate output.
+
+2003-10-07  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalSupport.[Ch]: new files, moving the private member functions
+       and namespace anon functions out of insetexternal.C to here, so making
+       it easier to understand what is going on in insetexternal itself.
+
+       * 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].
+
+2003-10-07  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
+       non-const member function.
+
+2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * Makefile.am:
+       * inset.h:
+       * insetbox.C:
+       * insetbox.h: The Box patch. Fancybox support, minipage, parbox
+
+2003-10-02  André Pönitz  <poenitz@gmx.net>
+
+       * insettext.C (read): make sure there is at least one par
+         in the text after reading.
+
+2003-10-01  José Matos  <jamatos@lyx.org>
+
+       * insetbranch.C (linuxdoc, docbook): minor fix.
+
+2003-10-01  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplace.[Ch]: introduce namespace lyx::external.
+
+       * insetexternal.[Ch]: changes due to the introduction of
+       namespace lyx::external.
+
+2003-09-30  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch] (Params::read, write): new member functions.
+
+2003-09-25  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch] (TempName): new (private) nested struct with
+       fake copy semantics. Enables us to use the generated copy c-tor
+       in the Params struct.
+       (Params::templatename, Params::tempname): use accessor functions.
+
+2003-09-25  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
+       function, returning a const pointer.
+
+2003-09-23  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
+       store them in a vector, preambleNames.
+
+       * insetexternal.C (validate): loop over all preambleNames and call
+       LaTeXFeatures::addExternalPreamble with each.
+
 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * insetbranch.C: bug fix in branches
 
 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
-       * insetgraphics.C: 
+       * insetgraphics.C:
        * insetbibtex.C: use namespace alias for lyx::support::os
 
 2003-09-16  Angus Leeming  <leeming@lyx.org>
 
 2003-08-28  Angus Leeming  <leeming@lyx.org>
 
-        * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
-        "sh ", enabling the conversion to be carried out even if the script
-        is not executable.
+       * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
+       "sh ", enabling the conversion to be carried out even if the script
+       is not executable.
 
 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>