]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ChangeLog
Alfredo's patches
[lyx.git] / src / insets / ChangeLog
index b0e73fd9e53b5605a1254dfda6e53f1a12730439..42453bd643e0c6b085fd0de727e827bd61588472 100644 (file)
@@ -1,3 +1,605 @@
+2003-04-01  John Levon  <levon@movementarian.org>
+
+       From Alfredo Braunstein
+
+       * insetbutton.h:        
+       * insetbutton.C: add localDispatch()
+
+       * insetcommand.C: return DISPATCHED when edit() called
+
+       * insettext.C: fix bug 967
+
+2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C: adjust
+       
+2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (draw): adjust
+       (crow): return a RowList::iterator not a Row*
+
+       * insetminipage.C (localDispatch): adjust
+
+       * insetert.C (localDispatch): adjust
+
+2003-03-31  John Levon  <levon@movementarian.org>
+
+       * insetgraphics.C:
+       * insetgraphicsParams.C: use_gui moved to lyx_gui
+
+2003-03-31  John Levon  <levon@movementarian.org>
+
+       * insettext.C: Alert fix
+
+2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (ascent): adjust for RowList
+       (descent): ditto
+       (draw): ditto
+       (getLyXText): adjust
+       (toggleSelection): adjust
+
+       * insetminipage.C (localDispatch): adjust for RowList
+
+       * insetert.C (localDispatch): adjust for RowList
+       (getMaxWidth): adjust for RowList
+
+2003-03-29  John Levon  <levon@movementarian.org>
+
+       * insetert.C: Alert cleanup
+
+2003-03-29  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: Alert fix
+
+2003-03-28  John Levon  <levon@movementarian.org>
+
+       * insetfloat.C: reset label on INSET_MODIFY
+
+2003-03-28  John Levon  <levon@movementarian.org>
+
+       * insetgraphicsParams.C: read subcaptionText as a whole line
+       (bug 656)
+
+2003-03-28  John Levon  <levon@movementarian.org>
+
+       * insettext.C: remove unused prototypes
+
+2003-03-25  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C (localDispatch): repaint the view after modifying
+       a bibitem inset in case the maximum InsetBibitem width has changed.
+
+2003-03-25  John Levon  <levon@movementarian.org>
+
+       * insettext.C:
+       * insettabular.C: LyXText renamings
+
+2003-03-24  John Levon  <levon@movementarian.org>
+
+       * insettext.C: remove some dead code. Fix bug 972 and
+         related by posting a repaint in updateLocal(), and making
+         the SEL functions set SELECTION.
+
+2003-03-22  John Levon  <levon@movementarian.org>
+
+       * inset.h:
+       * inset.C: remove no-longer-needed topx_set
+
+       * insetcollapsable.h:
+       * insetcollapsable.C: remove dead code
+
+       * insetminipage.C:
+       * insetert.C: rebreak the rows when a possible
+         change in size is made, and reset the cursor
+         (bug 962, bug 965)
+
+       * insettabular.C: remove topx_set, CHANGED_IN_DRAW
+
+       * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
+         topx_set. Fix drawing errors for clearInset(). Remove
+         some unnecessary uses of topx, which should die.
+
+       * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
+         is no longer needed. Replace it with an ugly hack.
+
+2003-03-20  John Levon  <levon@movementarian.org>
+
+       * inset.h:
+       * insetcollapsable.h:
+       * insetcollapsable.C:
+       * insetert.h:
+       * insetert.C:
+       * insetminipage.C:
+       * insetminipage.C:
+       * insettabular.h:
+       * insettabular.C:
+       * insettext.h:
+       * insettext.C: remove spurious font parameter
+       from update(). Fix drawing of ERT insets inside
+       insets (bug 966). Remove unused mark_dirty from
+       tabular's updateLocal()
+
+2003-03-19  John Levon  <levon@movementarian.org>
+
+       * insetfloat.h:
+       * insetfloat.C:
+       * insetinclude.h:
+       * insetinclude.C:
+       * insetminipage.h:
+       * insetminipage.C:
+       * insetwrap.h:
+       * insetwrap.C: remove unused getter/setters
+
+2003-03-19  John Levon  <levon@movementarian.org>
+
+       * several files: bv->updateInset() doesn't take
+       a bool mark_dirty any more
+
+2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * adjust for BufferView* arg removal from lyxtext.
+
+2003-03-17  John Levon  <levon@movementarian.org>
+
+       * most files: remove the "cleared" parameter
+       to draw in favour of always clearing. Associated
+       code removal.
+
+2003-03-16  John Levon  <levon@movementarian.org>
+
+       * insettext.C: remove unused s.refresh
+
+2003-03-13  Angus Leeming  <leeming@lyx.org>
+
+       * insettext.C (edit): replace Dialogs::updateParagraph with
+       BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
+
+2003-03-13 André Pönitz <poenitz@gmx.net>
+
+       * Makefile.am: insert insetenv
+
+       * insethenv.[Ch]: new files, currently inactive
+
+2003-03-12  John Levon  <levon@movementarian.org>
+
+       * Makefile.am:
+       * inset.h:
+       * inset.C:
+       * insetert.h:
+       * insetert.C:
+       * insetnewline.h:
+       * insetnewline.C:
+       * insetquotes.C:
+       * insettext.C: use new insetnewline
+
+2003-03-12  John Levon  <levon@movementarian.org>
+
+       * insettext.C: readToken became readParagraph
+
+2003-03-12  John Levon  <levon@movementarian.org>
+
+       * insettext.C: use parlist iterator for reading contents
+
+2003-03-12  John Levon  <levon@movementarian.org>
+
+       * insettext.C: name change to readToken()
+
+2003-03-11 André Pönitz <poenitz@gmx.net>
+
+       * Makefile.am: insert insethfill
+
+       * insethfill.[Ch]: new files
+
+2003-03-10  Angus Leeming  <leeming@lyx.org>
+
+       * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
+       BufferView * arg.
+       (hideDialog): calls the new static Dialogs::hide() method.
+
+       * insetbibitem.C (edit):
+       * insetbibtex.C (edit):
+       * insetcite.C (edit):
+       * insetcommand.C (localDispatch):
+       * inseterror.C (d-tor):
+       * insetert.C (showInsetDialog):
+       * insetexternal.C (localDispatch, edit):
+       * insetfloat.C (localDispatch, showInsetDialog):
+       * insetfloatlist.C (edit):
+       * insetgraphics.C (localDispatch, edit):
+       * insetinclude.C (localDispatch, edit):
+       * insetindex.C (edit):
+       * insetlabel.C (edit):
+       * insetminipage.C (localDispatch, showInsetDialog):
+       * insetref.C (edit):
+       * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
+       resetPos, showInsetDialog, openLayoutDialog):
+       * insettoc.C (edit):
+       * inseturl.C (edit):
+       * insetwrap.C (localDispatch, showInsetDialog):
+       changes due to the changed MailInset interface.
+
+2003-03-10  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * insetfloat.h: Set default placement to an empty string.
+
+2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * insettext.C (latex): addjust call to latexParagraphs.
+
+2003-03-10  Angus Leeming  <leeming@lyx.org>
+
+       * mailinset.C: warn the user if the BufferView has not been cached.
+
+2003-03-10  Angus Leeming  <leeming@lyx.org>
+
+       * inset.h, insetbase.h: move cache() and view() into InsetBase.
+
+       * insetcommand.h (inset):
+       * insetert.h (inset):
+       * insetexternal.h (inset):
+       * insetfloat.h (inset):
+       * insetgraphics.h (inset):
+       * insetinclude.h (inset):
+       * insetminipage.h (inset):
+       * insettabular.h (inset):
+       * insetwrap.h (inset):
+       * mailinset.h (inset): return an InsetBase &, not an Inset &.
+
+2003-03-10  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.C (string2params):
+       * insetexternal.C (string2params):
+       * insetfloat.C (string2params):
+       * insetgraphics.C (string2params):
+       * insetinclude.C (string2params):
+       * insetminipage.C (string2params):
+       * insettabular.C (string2params):
+       * insetwrap.C (string2params): cure warning message about missing
+       '\end_inset'.
+
+2003-03-09  Angus Leeming  <leeming@lyx.org>
+
+       * insettabular.[Ch]: define a new class InsetTabularMailer and use
+       it to communicate with the frontend dialogs.
+
+       * mailinset.C (hideDialog): only hide the dialog if it is showing the
+       contents of this inset!
+
+2003-03-07  Angus Leeming  <leeming@lyx.org>
+
+       * inseterror.C (localDispatch): new method; calls edit() on
+       LFUN_MOUSE_RELEASE.
+
+2003-03-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C (localDispatch):
+       * insetbibtex.C (localDispatch):
+       * insetlabel.C (localDispatch):
+       rewrite as a switch.
+
+2003-03-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
+       it to communicate with the frontend dialogs.
+
+cd src2003-03-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.C: remove operator== and operator!= for
+       InsetExternal::Params. They were used only by the old controller
+       scheme.
+
+2003-03-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.C (localDispatch):
+       * insetexternal.C (localDispatch):
+       * insetfloat.C (localDispatch):
+       * insetinclude.C (localDispatch):
+       * insetminipage.C (localDispatch):
+       * insetwrap.C (localDispatch):
+       add LFUN_INSET_DIALOG_UPDATE to the switch.
+
+2003-03-07  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.C (string2params):
+       * insetexternal.C (string2params):
+       * insetfloat.C (string2params):
+       * insetinclude.C (string2params):
+       * insetwrap.C (string2params): use LyXLeX more.
+
+       * insetert.[Ch]:
+       * insetexternal.[Ch]:
+       * insetfloat.[Ch]:
+       * insetinclude.[Ch]:
+       * insetwrap.[Ch]: change Mailer::name_ to be static.
+
+       * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
+       it to communicate with the frontend dialogs.
+
+2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insettext.C:
+       * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
+
+2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (updateLocal): un-const function
+       (updateLocal): adjust
+       (collapseParagraphs): un-const function
+       (collapseParagraphs): adjust
+
+2003-03-05  Angus Leeming  <leeming@lyx.org>
+
+       * insetwrap.[Ch]: define a new class InsetWrapMailer and use
+       it to communicate with the frontend dialogs.
+
+2003-03-05  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.C (draw): cache the BufferView.
+
+       * insetfloat.[Ch]: define a new class InsetFloatMailer and use
+       it to communicate with the frontend dialogs.
+
+2003-03-05  Angus Leeming  <leeming@lyx.org>
+
+       * insetfloat.[Ch]: move the params into a separate InsetFloatParams
+       struct.
+
+2003-03-05  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommandparams.[Ch] (getAsString, setFromString): remove.
+
+       * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
+       it to communicate with the frontend dialogs.
+
+2003-03-05  Angus Leeming  <leeming@lyx.org>
+
+       * insetexternal.[Ch]: define a new class InsetExternalMailer and use
+       it to communicate with the frontend dialogs.
+
+2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (collapseParagraphs): adjust
+       (appendParagraphs): make it take a Buffer* instead of a
+       BufferParams& as arg.
+       (appendParagraphs): adjust
+
+2003-03-04  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C (localDispatch):
+       * insetbibtex.C (localDispatch):
+       * insetcommand.C (localDispatch):
+       * insetert.C (localDispatch):
+       * insetlabel.C (localDispatch):
+       handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
+
+2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insettext.C (latex): adjust for ParagraphList::iterator
+
+2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetbutton.C (view): adjust for boost 1.30.0
+       * insetcollapsable.C (view): ditto
+       * insetgraphics.C (statusChanged): ditto
+
+       * insettext.h: move paragraphs to be public.
+
+2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetnote.[Ch] (InsetNote): remove unused constructor
+
+2003-02-28  Alfredo Braunstein  <abraunst@libero.it>
+
+       * insetgraphics.C: added include "format.h"
+
+2003-02-27  Angus Leeming  <leeming@lyx.org>
+
+       * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
+       thingy.
+
+2003-02-27  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.C (localDispatch):
+       * insetbibtex.C (localDispatch):
+       * insetcommand.C:
+       * insetert:
+       collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * insetbibitem.[Ch] (localDispatch):
+       * insetbibtex.[Ch] (localDispatch):
+       new method. Modify inset on receipt of LFUN_XYZ_APPLY.
+
+       * insetcommand.C (localDispatch):
+       act only on receipt of LFUN_XYZ_APPLY.
+
+       * insetert.C (localDispatch): reformat.
+       add LFUN_XYZ_APPLY to the switch.
+
+2003-02-26  John Levon  <levon@movementarian.org>
+
+       * insettext.C: use RowPainter
+
+       * inset.h: make helpers take const *
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * insetcommand.[Ch] (localDispatch): new method.
+
+2003-02-26  Angus Leeming  <leeming@lyx.org>
+
+       * insetinclude.C (draw): cache the BufferView* using cache not
+       PreviewImpl::setView
+
+2003-02-26  Alfredo Braunstein <abraunst@libero.it>
+
+       * insetgraphics.C (draw)
+       * insetinclude.C (draw): Eliminate also the other argument (owner
+       inset inset) in the call to PreviewImage::image
+
+2003-02-25  Alfredo Braunstein <abraunst@libero.it>
+
+       * insetgraphics.C (draw)
+       * insetinclude.C (draw): Eliminate Buferview argument in call to
+       PreviewImage::image
+
+2003-02-25  John Levon  <levon@movementarian.org>
+
+       * insetgraphicsParams.h:
+       * insetgraphics.C: don't start a load process if
+         the inset is set to NoDisplay (bug #920)
+
+2003-02-22  John Levon  <levon@movementarian.org>
+
+       * insetfloat.C:
+       * insetwrap.C: TocItem changed API (bug 913)
+
+2003-02-21  Angus Leeming  <leeming@lyx.org>
+
+       * insetcollapsable.[Ch] (cache, edit):
+       * insetbutton.[Ch] (cache, edit): new methods to cache the
+       BufferView in the draw method.
+
+       * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
+       simplify comunication between InsetCommand-derived classes and
+       the Dialogs.
+
+       * insetbibitem.[Ch]:
+       * insetbibtex.[Ch]:
+       * insetcite.[Ch]:
+       * inseterror.[Ch]:
+       * insetfloatlist.[Ch]:
+       * insetindex.[Ch]:
+       * insetref.[Ch]:
+       * insettoc.[Ch]:
+       * inseturl.[Ch]: small changes to reflect the new interface to the
+       Dialogs code.
+
+       * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
+       other, similar classes.
+
+       * Makefile.am: add new files.
+
+2003-02-21  Angus Leeming  <leeming@lyx.org>
+
+       * updatableinset.h (setView, view): remove.
+       * inset.h (view, cache): to be replaced by these.
+
+       * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
+       insetbibtex.[Ch]:
+
+       * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
+       insetbibtex.[Ch].
+
+       * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
+
+2003-02-21  Allan Rae  <rae@lyx.org>
+
+       * insetinclude.C (loadIfNeeded): ensure loading also works when
+       child document is under version control.
+
+2003-02-17 André Pönitz <poenitz@gmx.net>
+
+       * insetbib.[Ch]: Adjust access to bibkeys
+
+2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetquotes.C (dispString): remove use of acute accent for "'"
+       right quote.
+
+2003-02-14  John Levon  <levon@movementarian.org>
+
+       * insettabular.C: changed method names in tabular.C
+
+2003-02-14  John Levon  <levon@movementarian.org>
+
+       * inset.h:
+       * inset.C:
+       * insetcollapsable.h:
+       * insetcollapsable.C:
+       * insettabular.h:
+       * insettabular.C:
+       * insettext.h:
+       * insettext.C: remove unused getParFromID()
+
+2003-02-13  John Levon  <levon@movementarian.org>
+
+       * insettext.h:
+       * insettext.C: remove unused beginningofMainBody()
+
+2003-02-08  John Levon  <levon@movementarian.org>
+
+       * inset.h:
+       * inset.C:
+       * insetcollapsable.h:
+       * insetcollapsable.C:
+       * insettabular.h:
+       * insettabular.C:
+       * insettext.h:
+       * insettext.C:
+         add nextChange(). Make allowSpellcheck() const. Add markErased().
+
+       * insetert.C: ignore deleted text
+
+       * insettabular.C: make sure to keep change  tracking working
+         properly.
+
+2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
+
+       * insetert.C:
+       * insetgraphics.C:
+       * insettabular.C:
+       * insettext.C: Use error messages with identical spelling and punctuation
+
+2003-01-12  Michael Schmitt <michael.schmitt@teststep.org>
+
+       * insetgraphics.C (draw, width): Fix spacing around graphics inset
+
+2002-12-17  Juergen Vigna  <jug@lyx.org>
+
+       * insettext.C (localDispatch): hopefully fixed cursor up down
+       movement on leaving other insets.
+
+2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
+
+       * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
+       and the like.
+
+2002-12-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * insetgraphics.C (prepareFile): do not remove the extension of
+       the file name if it is not the default extension for the given
+       format (that is, in latex output, remove extension from foo.eps,
+       but not from foo.epsi)
+
+2002-12-17  Alfredo Braunstein <abraunst@libero.it>
+
+       * insettext.C (lfunMouseRelease): hackish solution to the "double
+       menu open" bug
+
+2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetfloat.C (addToToc): use the floats name not its type
+       * insetwrap.C (addToToc): ditto
+
+2002-12-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * insetnote.C (init): make label font smaller
+
+2002-12-04  John Levon  <levon@movementarian.org>
+
+       * insetinclude.C: ressurect setting of command name
+
+2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * insetquotes.C (dispString): disambiguate insert call
+
+2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * several files: ws changes
+
 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * insetquotes.C (dispString): use string::insert for prepending a