[Adium-devl] Adium plug-ins and xtras site

Colin Barrett timber at lava.net
Mon Nov 13 09:31:52 UTC 2006


On Nov 12, 2006, at 11:27 PM, Peter Hosey wrote:

> On Nov 12, 2006, at 18:12:17, Andre-John Mas wrote:
>> This make me wonder whether we should take a leaf out of Mozilla's  
>> book and have plugins explicity specify what version of Adium its  
>> has been tested with?
>
> I suggest we add two methods to AIPluginInfo:
>
> 	-pluginAPIMajorVersion
> 	-pluginAPIMinorVersion
>
> If we add anything to the plug-in API, we bump the minor version.
> If we remove or change anything such that existing plug-ins will  
> break, we bump the major version.
>
> Either way, no version of Adium would run a plug-in that requested a  
> higher major version, or a higher minor version with a lower or  
> equal major version.

And if a plugin doesn't respond, we shouldn't allow it to load.

WoW does something interesting with the plugins -- they only work with  
a specific version of WoW. i.e. you need to release a new version of  
the plugin when the new WoW patch comes out. This works out well, as  
there are about 4 or 5 patches a year, and usually there are fairly  
major changes each time, anyway.

Just something to keep in mind.

-Colin




More information about the devel mailing list