kvc_accessor is gone...
Ultimately pure Ruby accessors will work in this case.
Don't you have to do the willChangeValueForKey, etc. stuff then?
Hmmm.. No:
objc_method
Not necessary I guess.
I will introduce a way to retype a given Ruby method in the runtime, but in theory this shouldn't be needed by most (all?) developers.
All Ruby methods are currently registered in the runtime.
Ah, ok. I had to have this for some reason in RC, because the objc side didn't know about something I'd added.
Hmmm... Can't find a Framework I copied into Resources?
(i.e. framework 'ILCrashReporter') isn't working.
That's an annoying bug, could you file it in the tracker?
Will do.
Ok, removing that for now...
Doh! Roadblock:
/Library/Frameworks/MacRuby.framework/Versions/0.2/usr/lib/ruby/ 1.9.0/openssl.rb:17:in `require': can't freeze pure objc object ` [:TLSv1 , :TLSv1_server , :TLSv1_client , :SSLv2 , :SSLv2_server , :SSLv2_client , :SSLv3 , :SSLv3_server , :SSLv3_client , :SSLv23, :SSLv23_server, :SSLv23_client]' (RuntimeError) from /Library/Frameworks/MacRuby.framework/Versions/0.2/usr/lib/ ruby/1.9.0/openssl.rb:17:in `<top (required)>' from /Library/Frameworks/MacRuby.framework/Versions/0.2/usr/lib/ ruby/1.9.0/net/https.rb:102:in `require' from /Library/Frameworks/MacRuby.framework/Versions/0.2/usr/lib/ ruby/1.9.0/net/https.rb:102:in `<top (required)>' from /Users/pierce/svnProjects/build/Debug/Frictionless.app/ Contents/Resources/toodledo/session.rb:6:in `require'
Should be fixed in trunk/r127 :-)
Confirmed. Next up: Reading defaults #<#<Class:0x1aa2c60>:0x1aa2c50> 2008-04-01 12:37:43.873 Frictionless[58071:813] fetching password www.twitter.com obastard 2008-04-01 12:37:44.043 Frictionless[58071:813] fetchedpassword 2008-04-01 12:37:44.553 Frictionless[58071:813] SyncServices assertion failure (nil != pDefaultManager) in [ISyncManager sharedManager], / SourceCache/SyncServices2/SyncServices2-389.1/SyncServices/ ISyncManager.m:2602 ObjC runtime error: ISyncManager was never initialized /Users/pierce/svnProjects/build/Debug/Frictionless.app/Contents/ Resources/RubyFrictionlessAppDelegate-mr.rb:163:in `sharedManager': NSInvalidArgumentException: [ISyncManager sharedManager]: ObjC runtime error: ISyncManager was never initialized (RuntimeError) Mini script to reproduce: rb(main):001:0> framework 'SyncServices' => true irb(main):002:0> print ISyncManager.sharedManager #<ISyncConcreteManager:0x12baed0>=> nil i.e.: framework 'SyncServices' print ISyncManager.sharedManager I'm guessing the framework isn't initializing? Pierce