[Rubycocoa-devel 310] Re: 0.5.0 release plan

アーカイブの一覧に戻る

Laurent Sansonetti lsans****@apple*****
Thu Jun 29 21:39:45 JST 2006


Hi Kimura-san, all,

On Jun 27, 2006, at 6:47 PM, kimura wataru wrote:

> Hi,
>
> On Thu, 22 Jun 2006 16:30:32 +0200, Laurent Sansonetti wrote:
>> Hi Kimura-san,
>>
>
>>>  == tasks
>>>
>>>  * make a new branch, from CVS HEAD
>>>  * import some stable features from apple-unstable branch (if i can)
>>>     * retained flag
>>>     * class hierarchy
>>>     * map of Ruby object <=> ObjC object
>>>     * pass by ref
>>>
>>
>> Just one thing, I would not suggest to release the pass by ref
>> support right now. I am currently discussing with the PyObjC guys
>> about the XML files we generate and they would like to use them too,
>> but with more information inside. So I am working on a new format
>> etc... I should have finished in a couple of days, if you can wait
>> this would be cool.
>>
> I see.
>
> btw, I think that packaging the XML files into RubyCocoa.framework
> brings more portability for the framework.
>
> * RubyCocoa.framework/Resources/BridgeSupport - default (AppKit,  
> Foundation)
> * /Library/BridgeSupport, ... - for other frameworks
>
> If other objc bridges (such as PyObjC) will use the same files, to  
> place
> the XML files outside of the framework may be better.

I just finished the new XML format, however I don't have time right  
now to integrate the changes in RubyCocoa, I should have more time in  
2 weeks.

Also, the new XML format adds more description about these pointers  
arguments, like: can nil be given? in case it's an object, who owns  
it? is it a C-array argument, if yes how is it delimited? etc...

The complexity of the new format makes it a bit hard to read a  
runtime. I think it will be better to parse the files at build time  
and generate code, as we already do with functions/constants.

Laurent



More information about the Rubycocoa-devel mailing list
アーカイブの一覧に戻る