]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Cruft removal, small clean-up, no functional changes.
[lyx.git] / src / insets / ChangeLog
index aa9a5180d9992facc7003b1e07758447de53576e..c9fcb305a841d01597dfadbdf6ecad83b3d35cda 100644 (file)
@@ -1,6 +1,576 @@
+2003-12-12  Angus Leeming  <leeming@lyx.org>
+
+       * mailinset.C (print_mailer_error): tidy up the output.
+
+2003-12-11  Angus Leeming  <leeming@lyx.org>
+
+       * mailinset.[Ch] (print_mailer_error): new helper function.
+
+       * insetcommand.[Ch]: add a mailer_name_ variable and use it when
+       calling InsetCommandMailer.
+       (InsetCommandMailer::string2params): pass the name of the dialog.
+
+       * insetbibitem.[Ch] (d-tor):
+       * insetbibtex.[Ch] (d-tor):
+       * insetcite.[Ch] (d-tor):
+       * insetfloatlist.[Ch] (d-tor):
+       * insetindex.[Ch] (d-tor):
+       * insetlabel.[Ch] (d-tor):
+       * insetref.[Ch] (d-tor):
+       * insettoc.[Ch] (d-tor):
+       * inseturl.[Ch] (d-tor): removed.
+       Hiding the dialog is handled by InsetCommand.
+       
+       * insetbibtex.[Ch] (draw, metrics):
+       * insetfloatlist.[Ch] (draw, metrics):
+       * insetindex.[Ch] (draw, metrics): removed.
+       Drawing is handled by InsetCommand.
+
+       * insetbibitem.[Ch] (priv_dispatch):
+       * insetbibtex.[Ch] (priv_dispatch):
+       * insetcite.[Ch] (priv_dispatch):
+       * insetfloatlist.[Ch] (priv_dispatch):
+       * insetindex.[Ch] (priv_dispatch):
+       * insetlabel.[Ch] (priv_dispatch):
+       * insettoc.[Ch] (priv_dispatch):
+       * inseturl.[Ch] (priv_dispatch): removed or simplified.
+       let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
+       LFUN_INSET_DIALOG_SHOW.
+
+       * insetbox.C (string2params):
+       * insetbranch.C (string2params):
+       * insetert.C (string2params):
+       * insetexternal.C (string2params):
+       * insetfloat.C (string2params):
+       * insetinclude.C (string2params):
+       * insetminipage.C (string2params):
+       * insetnote.C (string2params):
+       * insetvspace.C (string2params):
+       * insetwrap.C (string2params): over-hauled.
+       
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch]: add a draft option and respect it when
+       outputting LaTeX.
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetbox.C: (read, write): now prepend the inset contents with
+       'Box' to identify the inset as a box inset.
+
+       * insetbox.h: move the translators out of sight.
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetert.C (string2params): clean-up using the new lyxlex interface.
+
+       * insetexternal.C: ensure that InsetExternalParams has a default
+       template, 'RasterImage'.
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetnote.[Ch]: change the storage type of InsetNoteParams::type
+       to an enum. Ensuing clean-ups through out the class.
+       (read, write): now prepend the inset contents with 'Note' to identify
+       the inset as a note inset.
+
+2003-12-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
+       * insetnote.[Ch]: changes to the InsetNoteMailer interface.
+
+2003-12-10  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h:
+       * insetert.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.[Ch]: remove unused insetInset()
+
+       * insetert.C: disable some  LFUNs
+
+       * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
+
+2003-12-04  Martin Vermeer  <martin.vermee@hut.fi>
+
+       * insetcharstyle.[Ch]: Conglomerate-style CharStyles
+
+2003-12-04  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C (draw): update the xo_, yo_ cache.
+
+       * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
+       function.
+       (RotationDataType): new helper struct wrapping the
+       RotationData::OriginType enum.
+
+2003-12-03  André Pönitz  <poenitz@gmx.net>
+
+       * inset.h: remove getParagraphs()
+
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]:
+       * insetnote.[Ch]:
+       * insettabular.[Ch]:
+       * insettext.C: use getText()  instead of getParagraphs()
+
+2003-12-03  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetert.C: fix label text updating bug
+
+2003-12-02  Angus Leeming  <leeming@lyx.org>
+
+       * insetvspace.[Ch] (space): new member function. Make space_ private.
+       (read): use the new, simpler lyxlex syntax.
+
+2003-12-01  André Pönitz  <poenitz@gmx.net>
+
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]: move 'inline' state to InsetCollapsable
+
+2003-12-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * insetvspace.C (read): handle 'end_inset' token.
+
+2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcharstyle.[Ch]: add latexparam to CharStyle inset
+
+2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]:
+       * insetcharstyle.C: place inset content on the button when 
+       collapsed.
+
+2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
+
+       * insetvspace.C: remove VSpace::NONE; increase inset width
+
+2003-12-01  André Pönitz  <poenitz@gmx.net>
+
+       * insetbase.h: whitespace
+
+       * inset.[Ch]: remove latexTextWidth
+       make setBackgroundColor virtual
+
+       * insettext.[Ch]:  move ParagraphList member to LyXText
+
+       * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
+
+       * insetcharstyle.C:
+       * insetenv.C:
+       * insetert.[Ch]:
+       * insetfloat.[Ch]:
+       * insetminipage.[Ch]:
+       * insettabular.C:
+       * insetwrap.[Ch]: adjust paragraphs and background color handling,
+
+2003-11-28  Angus Leeming  <leeming@lyx.org>
+
+       * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
+       hiding and showing the dialog respectively.
+       (priv_dispatch): also actually update the inset contents.
+
+2003-11-28  Angus Leeming  <leeming@lyx.org>
+
+       * insetbox.C (d-tor):
+       * insetbranch.C (d-tor):
+       * insetcite.C (d-tor):
+       * insetfloat.C (d-tor):
+       * insetfloatlist.C (d-tor):
+       * insetinclude.C (d-tor):
+       * insetindex.C (d-tor):
+       simplify the invocation of the Mailer::hideDialog() function.
+
+       * insetminipage.C (showInsetDialog):
+       simplify the invocation of the Mailer::showialog() function.
+
+2003-11-28  André Pönitz  <poenitz@gmx.net>
+
+       * Makefile.am:
+       * insetvspace.[Ch]: new insets
+
+2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * insetcharstyle.C: Syntax change for CharStyles
+
+2003-11-28  André Pönitz  <poenitz@gmx.net>
+
+       * updatableinset.h: remove insetInInsetY
+
+       * insetcollapsable.[Ch]:
+       * insetnewline.C:
+       * insettabular.[Ch]:
+       * insettext.[Ch]: adjust
+
+2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insettext.[Ch]: 
+       * inset.[Ch]:
+       * insetcollapsable.[Ch]:
+       * insetert.[Ch]:
+       * insettabular.[Ch]: remove setFont
+
+2003-11-25  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * render_graphic.[Ch]: adjust comments
+
+2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * insetgraphics.C (draw): cache xo_ & yo_
+
+2003-11-24  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>
 
-w      * insetexternal.[Ch]: add the ability to 'preview' the external file
+       * insetexternal.[Ch]: add the ability to 'preview' the external file
        if so desired.
 
        * insetinclude.C: changes due to the changes in the RenderPreview
@@ -47,7 +617,7 @@ w    * insetexternal.[Ch]: add the ability to 'preview' the external file
 
        * inset.h:
        * insetfloat.h:
-       * insetfootlike.h: re-introduce display() for insets, 
+       * insetfootlike.h: re-introduce display() for insets,
        fixing the various bugs (stretch of line above, math inset
        positioning, ...)