[MacRuby-devel] Stream of Consciousness Testing Log

Pierce T. Wetter III pierce at twinforces.com
Mon Mar 31 17:34:14 PDT 2008


Ok, rewriting things as I go to use the new call syntax. Not as bad as  
I thought it would be because there are a lot of single parameter or  
zero-parameter methods I use.

Hmmm...

  framework 'PDFKit"

doesn't work, have to use

framework "Quartz"

kvc_accessor is gone...

ib_outlets is now ib_outlet

Hmmm.. NSRect has changed:

/Users/pierce/svnProjects/build/Debug/Frictionless.app/Contents/ 
Resources/NoteTitleBarView.rb:19:in `new': wrong number of arguments  
(4 for 2) (ArgumentError)
	from /Users/pierce/svnProjects/build/Debug/Frictionless.app/Contents/ 
Resources/NoteTitleBarView.rb:19:in `<class:NoteTitleBarView>'


   CLOSE_BOX = NSRect.new(3, 2, 8, 8)

Ok, Wiki says I have to make a Point and a Size now I guess:

   CLOSE_BOX = NSRect.new(NSPoint.new(3, 2_), NSSize.new(8, 8))

Hmmm.. No:

	objc_method

Not necessary I guess.

Can't find 'CoreGraphics'

Hmmm... Can't find a Framework I copied into Resources?

(i.e. framework 'ILCrashReporter') isn't working.

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'





More information about the MacRuby-devel mailing list