[Vm-dev] what to do with old carbon based plugins?

Esteban Lorenzano estebanlm at gmail.com
Sat Mar 26 18:07:15 UTC 2011


yes... I was building those plugins for you :)
the problem with "carbon" is that it is a legacy library for osx, and it will be discontinued some time soon (now you have to use "cocoa"). 
Right now, I'm having a bunch of "deprecated" warnings, but I'm afraid in next version of osx (lion), maybe carbon will not be ready (not that they said something, it is just my fear). 
Also, for compatibility reasons, is not good to keep "carbon" plugins into a "cocoa" vm. 
So... the "keep all as is" is not an option. I can keep the plugins for awhile, but they need to be rewritten using cocoa sometime soon. Of course, I can help there, but with my time and knowledge limitations :)

Finally, the new vms and plugins are been built in pharo hudson server http://ci.pharo-project,org... you can test all Cocoa Cog X projects :)

Cheers,
Esteban 

pd: a test on the Mpeg3Plugin would be cool, I'm suspicious the plugin is built, but it wont work properly... 

El 26/03/2011, a las 2:23p.m., Matthew Fulmer escribió:

> 
> On Sat, Mar 26, 2011 at 01:21:18PM -0400, Matthew Fulmer wrote:
>> 
>> On Sat, Mar 26, 2011 at 12:39:06PM -0300, Esteban Lorenzano wrote:
>>> 
>>> Hi, 
>>> I started to build some needed external plugins (they are being build with Cocoa CogMT)... but I found some plugins still using carbon lib (SerialPlugin, MIDIPlugin)... and also, there are some others (B3DAcceleratorPlugin) who I didn't include it because uses carbon very intensively. 
>>> 
>>> So, I wonder how to proceed with this plugins? 
>>> I would like to have a "carbon clean vm", so I prefer to gently ask to the plugin owners to rewrite their sources to not use carbon. 
>>> 
>>> What do you think?
>>> 
>>> Cheers,
>>> Esteban
>>> 
>>> pd: if someone want to test the already included plugins, they are: 
>>> 		
>>> 		FloatMathPlugin
>>> 		AsynchFilePlugin
>>> 		SerialPlugin
>>> 		Mpeg3Plugin
>>> 		CroquetPlugin
>>> 		JoystickTabletPlugin
>>> 		MIDIPlugin
>>> 
>>> (Mpeg3Plugin looks very suspicious right now: ) 
>> 
>> FloatMathPlugin, Mpeg3Plugin, and CroquetPlugin are very core to
>> Cobalt, and I really don't want to see them broken. I don't know
>> what Carbon is, but I'd prefer you make a VM with the plugins as
>> they currently exist before changing them, so we can have a
>> working, cog-compatable VM to fall back on.
> 
> That said, I'll be more than happy to throw the cobalt testers
> against the refactored plugins if you can provide a prebuilt VM
> 
> -- 
> Matthew Fulmer (a.k.a. Tapple)



More information about the Vm-dev mailing list