Re: [MacRuby-devel] [MacRuby] #747: DietRB doesn't play nicely with wirble

2010-07-02 Thread MacRuby
#747: DietRB doesn't play nicely with wirble ---+ Reporter: m...@… |Owner: eloy.de.en...@… Type: defect | Status: closed Priority: blocker|Mileston

Re: [MacRuby-devel] [MacRuby] #754: TCP socket is disconnected when used IO#gets and IO#puts.

2010-07-02 Thread MacRuby
#754: TCP socket is disconnected when used IO#gets and IO#puts. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priority: bl

Re: [MacRuby-devel] [MacRuby] #754: TCP socket is disconnected when used IO#gets and IO#puts.

2010-07-02 Thread MacRuby
#754: TCP socket is disconnected when used IO#gets and IO#puts. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priority: bl

[MacRuby-devel] Using the SystemConfiguration framework

2010-07-02 Thread Michael Jackson
How exactly does one go about using the SystemConfiguration framework in MacRuby? http://developer.apple.com/mac/library/documentation/Networking/Reference/SysConfig/index.html When I try "framework 'SystemConfiguration'" it returns true, but none of the inline C functions are available. From the

Re: [MacRuby-devel] Using the SystemConfiguration framework

2010-07-02 Thread Thibault Martin-Lagardette
To use inline C function you need to generate a dylib using gen_bridge_metatada. If you do `man gen_bridge_metadata`, you'll see: > If the custom framework has inline functions and you want to be able to call > them, here is how you can generate a ``dylib'' file: > gen_bridge_metadata -f /Pat

Re: [MacRuby-devel] Using the SystemConfiguration framework

2010-07-02 Thread Michael Jackson
It's complaining that there aren't any inline functions in the SystemConfiguration framework. This is the command I ran and the output I received: $ gen_bridge_metadata -f /System/Library/Frameworks/SystemConfiguration.framework -F dylib -o SystemConfiguration.dylib No inline functions in the give

Re: [MacRuby-devel] Using the SystemConfiguration framework

2010-07-02 Thread Thibault Martin-Lagardette
Which specific inline function are you trying to use? -- Thibault Martin-Lagardette On Jul 2, 2010, at 15:44, Michael Jackson wrote: > It's complaining that there aren't any inline functions in the > SystemConfiguration framework. This is the command I ran and the > output I received: > > $

Re: [MacRuby-devel] Using the SystemConfiguration framework

2010-07-02 Thread Michael Jackson
Not sure yet. The whole framework is a bit of a mess from my point of view. I need to be able to tinker a bit in order to figure out how to use it. ;) I'd probably start with the SCNetworkConfiguration and SCDynamicStore API's. -- Michael Jackson http://mjijackson.com @mjijackson On Fri, Jul 2

Re: [MacRuby-devel] Using the SystemConfiguration framework

2010-07-02 Thread John Labovitz
Depending on what you need to do, you should check out IXSCNotificationManager, an ObjC wrapper around parts of SC. I've used it a few times and it's quite helpful, and obviously an better impedance match to MacRuby code. It's mentioned & linked here: http://www.cocoadev.com/index.pl?