]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
ws changes only
[lyx.git] / src / insets / ChangeLog
index 9907a26789b39c5eef51d71f3fa035e186ec52de..b4bb50ed243a86b7ffd2315f1a4837e3c2366904 100644 (file)
@@ -1,3 +1,534 @@
+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-22  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetnote.C: small clean-up.
+
+2003-09-19  Angus Leeming  <leeming@lyx.org>
+
+       * inset.h (generatePreview): passed a 'Buffer const &' arg.
+
+       * insetcommand.C (string2params): clear params using the default c-tor.
+
+       * insetinclude[Ch]: get rid of the masterFilename_ parameter in
+       InsetInclude::Params. No more data in this struct than in
+       InsetCommandParams, so get rid of it and use InsetCommandParams instead.
+       (c-tor): no need to pass a 'Buffer const &' arg anymore.
+       (clone): remove #warning as it's now redundant.
+       (set): add a 'Buffer const &' arg. Make private.
+       (loadIfNeeded) move out of the class definition and into namespace anon.
+       (getMasterFilename, getFileName): ditto.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.C (setParams): use the params' copy constructor.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * insetinsetbase.h (getLabelList):
+       * insetinsetcollapsable.[Ch] (getLabelList):
+       * insetinsetinclude.[Ch] (getLabelList):
+       * insetinsetlabel.[Ch] (getLabelList):
+       * insetinsettabular.[Ch] (getLabelList):
+       * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
+       * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
+       redundant baggage from yesteryear.
+       Remove Params::flag as it is redundant; the info is present in
+       getCmdName.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (latexString): add a Buffer const & arg.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * inset.C:
+       * inset.h:
+       * insettext.C:
+       * insettext.h: rename EnumLColor as LColor_color.
+
+2003-09-18  Angus Leeming  <leeming@lyx.org>
+
+       * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
+       * insetbase.h: add the dispatch_result wrapper class DispatchResult.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
+       set before trying to generate a preview, else we trigger an assert.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (PreviewImpl::parent): return a const reference.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
+
+       * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
+       labelfont directly.
+       (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
+       InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
+
+       * insetminipage.C (metrics):
+       * insetnote.C (metrics):
+       * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
+       access collapsed_ directly.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C: add #include "lyxfont.h".
+
+2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetgraphics.C:
+       * insetbibtex.C: use namespace alias for lyx::support::os
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.h: remove unused framecolor variable.
+       Remove #include "LColor.h".
+
+       * insetcollapsable.C: remove unused framecolor variable.
+
+       * insetcaption.C:
+       * insetcollapsable.C:
+       * insetert.C:
+       * insetfloat.C:
+       * insetfootlike.C:
+       * insetminipage.C:
+       * insetnote.C:
+       * insetoptarg.C:
+       * insetwrap.C:
+       Add #include "LColor.h".
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insettext.[Ch] (frameColor): new accessor function.
+       (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
+       insettext.h
+
+       * insetbranch.C:
+       * insettabular.C:
+       * insettext.C:
+       add #include "LColor.h".
+
+       * insetcollapsable.h: add #include "LColor.h"
+       (for its framecolor member variable).
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * insetenv.C (constructor): use accessor functions to access InsetText variables.
+
+       * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
+       rename frame_color as frame_color_. Make private.
+
+       * insettext.C: associated changes.
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * inset.h: store background_color_ as an int, not as an LColor::color to
+       get LColor.h out of the header file.
+
+       * inset.C:
+       * insetlatexaccent.C:
+       * insetnewline.C:
+       * insetspace.C:
+       * insetspecialchar.C:
+       * renderers.C:
+       add #include "LColor.h".
+
+2003-09-16  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.C:  LyXFont::setColor no longer return a LyXFont &, so cannot string
+       calls together.
+
+2003-09-15  Angus Leeming  <leeming@lyx.org>
+
+       * inset.[Ch] (setBackgroundColor, backgroundColor):
+       * insettext.[Ch] (setFrameColor):
+       pass EnumLColor args, rather than LColor::color ones.
+
+2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetcommand.C
+       * insetexternal.C
+       * insetfloat.C
+       * insetgraphics.C
+       * insetinclude.C
+       * insetminipage.C
+       * insetnote.C
+       * insettabular.C
+       * insetwrap.C: remove usage of STRCONV
+
+2003-09-15  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.C (draw):
+       * insetlatexaccent.C (draw): explicitly define the color passed to
+       the painter.
+
+2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insettext.C: remove block causing problems in lockInsetInInset
+       (mentioned erroneously under Bug #1366)
+
+2003-09-10  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
+       in the process
+
+2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * several files: change Assert to BOOST_ASSERT
+
+2003-09-09  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insettext.[Ch]: remove drawText[XY]Offset
+
+2003-09-08  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.C:
+       * insetenv.C:
+       * insetinclude.C:
+       * insetlabel.C:
+       * insetoptarg.C:
+       * insetspecialchar.C:
+       * insettabular.C:
+       * insettext.C:
+       * insettoc.C: remove redundant using directives.
+
+2003-09-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetspace.h:
+       * insetspecialchar.h: remove #include "support/std_string.h".
+
+2003-09-06  Angus Leeming  <leeming@lyx.org>
+
+       * renderers.C: add #include "insets/inset.h"
+
+2003-09-05  Angus Leeming  <leeming@lyx.org>
+
+       * *.C: strip out redundant #includes. (193 in total.)
+
+2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insets/insetbibtex.[Ch]:
+       * insets/insetcommand.h:
+       * insets/insetfloatlist.[Ch]:
+       * insets/insetinclude.[Ch]:
+       * insets/insettoc.[Ch]: Restricts the mouse click functionality
+       of insets like bibtex, include, toc and floatlist to the visible
+       button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
+       up the dialogs. Cursor has to be in front of the inset (i.e.
+       start of row) for this to function.
+
+2003-09-04  Angus Leeming  <leeming@lyx.org>
+
+       * ExternalTemplate.[Ch]: store the preamble snippets in a separate
+       structure outside of the Format struct. Format::preambleName refers to
+       an item in the map of all preamble snippets.
+       Make use of the new Debug::EXTERNAL flag.
+
+       * insetexternal.C: make use of the new Debug::EXTERNAL flag.
+       (validate): Small change due to the changed storage of preamble snippets.
+
+2003-09-04  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphics.C: #include "support/os.h"
+
+       * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
+       * insettabular.h: move #include "FuncStatus.h" out of the header file.
+       * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
+
+       * insetcollapsable.h:
+       * insetbranch.C:
+       * insetnote.C: move #include "funcrequest.h" out of the header file.
+
+2003-09-03  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C (updateExternal):
+       * insetgraphics.C (prepareFile): Fix the conversion when exporting to
+       latex.
+
+2003-09-03  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C: don't bring namespace lyx::support into the global
+       namespace.
+
+2003-09-02  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetbranch.C: Add Branch: to label
+
+2003-09-02  John Levon  <levon@movementarian.org>
+
+       * insettext.h:
+       * insettext.C: remove cursor.i[xy]()
+
+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.
+
+2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * most files: change to use const Buffer refs
+
+2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetfootlike.C: whitespace.
+
+2003-08-26  John Levon  <levon@movementarian.org>
+
+       * insetenv.h:
+       * insetcaption.h:
+       * insetindex.h: remove remaining mentions of needFullRow()
+
+2003-08-26  André Pönitz  <poenitz@gmx.net>
+
+       * insetfoot.C:
+       * insetnewline.C:
+       * insetquotes.C:
+       * insettabular.C:
+       * inset.[Ch]: remove InsetOld::par_owner_ & handling
+
+2003-08-26  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetbranch.C: Small fix to prevent a crash on loading.
+
+2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * inset.h:
+       * insetbibtex.[Ch]:
+       * insetbranch.[Ch]:
+       * insetcollapsable.h:
+       * insetert.[Ch]:
+       * insetfloatlist.[Ch]:
+       * insetfootlike.[Ch]:
+       * insetinclude.[Ch]:
+       * insetindex.[Ch]:
+       * insetindex.h:
+       * insetminipage.h:
+       * insetnote.[Ch]:
+       * insettext.C:
+       * insettheorem.[Ch]:
+       * insettoc.[Ch]: eliminates the needFullRow/display() stuff
+       altogether, putting the logic in metrics/draw in the insets.=20
+       Draws short single row insets with more or less realistic metrics.
 
 2003-08-19  André Pönitz  <poenitz@gmx.net>
 
@@ -7,7 +538,7 @@
 
        * insetref.C: require amsmath for eqref
 
-2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>    
+2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * Makefile.am:
        * inset.h:
        * insetfootlike.C:
        * insettabular.C: parantheses, localize vars etc.
 
-2003-07-29     Martin Vermeer  <martin.vermeer@hut.fi>
+2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * insetnote.C: Implement a newenvironment in preamble for
-    greyedout. Patch provided by Jürgen Spitzmüller.
+       greyedout. Patch provided by Jürgen Spitzmüller.
 
 2003-07-29  Angus Leeming  <leeming@lyx.org>