[Adium-devl] Plugins in Adium 1.2 and Adium 1.3

Patrick B. Gibson patrick at fadeover.org
Fri Aug 22 06:40:06 UTC 2008


Hey Everybody!

A lot of people are noticing that the 1.3 beta crashes on quit if  
you've got my Time Zone plugin installed, which is pretty crappy. I've  
fixed it (all it took was a simple recompile linked to the new  
frameworks), and will post the new version as soon as 1.3 goes live. I  
thought I might mention something that may be worth calling out in the  
release notes, however:

Plugins written for 1.2 probably won't work with 1.3, and vice versa.

When writing plugins for 1.2 and prior, you had to #import "AIAdium.h"  
to the get 'adium' ivar, which let you get into the  
preferenceController, interfaceController, all that good stuff. In 1.3  
and later, you need to #import "AISharedAdium.h" to get that. It might  
be possible to compile plugins against both the 1.2 AND 1.3  
frameworks, ifdef out your imports, then choose the appropriate one at  
run time. Maybe. I really have no idea if that's possible or not, and  
I haven't really spent any time looking into it, but maybe someone  
more experience or with more time than me can let us know.

Either way, I'll be ready when 1.3 launches and hopefully you won't  
have too many people yelling at you from crash-on-quit crashes. Or, as  
David likes to call them, "Express quits."

Yours Awesomely,
Patrick B. Gibson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080821/9137b126/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2534 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080821/9137b126/attachment.p7s>


More information about the devel mailing list