[crossfire] Re: [CF-Devel] Questions about plugin code

Yann Chachkoff yann.chachkoff at myrealbox.com
Sun Mar 20 13:52:45 CST 2005


Le Dimanche 20 Mars 2005 19:34, Todd Mitchell a écrit :
>
     
      Hmmm,
     
     >
     
      I think you are asking this:
     
     >
     
      If you drop an applied item it does not call the unapply hook for the
     
     >
     
      plugin.  If you unapply an applied item it does.  This causes problems
     
     >
     
      as scripts which run when an item is unapplied do not run when the item
     
     >
     
      is dropped directly.  I wrote a patch for this but it runs the apply
     
     >
     
      hook twice when items are dropped (still seemed to work properly
     
     >
     
      however).
     
     >
     
     
      http://sourceforge.net/tracker/?group_id=13833&atid=113833&func=detail&aid=
      
      
     >
     
     878949
     
     >
     
     
     >
     
      On Sun, 2005-20-03 at 19:17 +0100, Andreas Kirschbaum wrote:
     
     >
     
      > Now there is this problem with dropping applied items... :)
     
     
Work on "refurbishing" of the plugin interface is under way, including 
correction for this bug, which has been reported some time ago, as Todd 
Mitchell said.

A cleaner plugin management (including previous remarks about inconsistencies 
in the even handling WhoAmI/WhoIsActivator/WhoIsOther and runtime binding 
problems) should come soon for approval on the mailing list. This is not yet 
the case, as I want to try every CFPython function currently implemented on 
both *NIX and Win32 platforms before submitting the work for testing. It 
takes a long time, given the amount of CFPython functions to check out.

So no panic, work is under way. If you have specific concerns (or wishes) 
about either the plugin interface or the CFPython plugin that weren't yet 
reported as a bug on sourceforge, please state them on this mailing list, so 
I can take them into account.

Yours,
-- 
Yann Chachkoff
-----------------------
Garden Dwarf's Best Friend
-----------------------
GPG Key    : 
     
     http://pgp.dtype.org:11371/pks/lookup?op=get&search=0x844D25E0
     
     
Fingerprint: 6616 2E02 BAD2 4AEF C90A  F1EB 7E03 AAB9 844D 25E0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : 
     
     http://shadowknight.real-time.com/pipermail/crossfire/attachments/20050320/07a8f0de/attachment.pgp
     
     
    


More information about the crossfire mailing list