Re: [MacRuby-devel] symbol not found: _rb_str_freeze

2011-11-17 Thread Rob Ista
Well Jean-Denis .. thank you so much for a few solutions for questions that i posted but remained unanswered until now ;-) … one thing still left though : do you (or somebody else) have a solution for automatic code-signing of the private frameworks and "loose" dylibs too? (and with that may be

Re: [MacRuby-devel] Mail Preference

2011-11-17 Thread Perry E. Metzger
On Thu, 17 Nov 2011 16:08:50 -0500 Arron Mabrey wrote: > Hey guys, > > A bit off topic I'm trying to change my list preference to do a > daily batch instead of real time. I can't seem to figure it out. > Don't know where to sign-in at. > > Thanks > > Arron Mabrey At the bottom of the mail you

[MacRuby-devel] Mail Preference

2011-11-17 Thread Arron Mabrey
Hey guys, A bit off topic I'm trying to change my list preference to do a daily batch instead of real time. I can't seem to figure it out. Don't know where to sign-in at. Thanks Arron Mabrey ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge

[MacRuby-devel] Key-Value Compliance & valueForKey:

2011-11-17 Thread Patrick Rogers
Hi everyone, I'm trying to automatically generate the KVC-compliant methods for indexed to-many relationships. Here's my current attempt, https://gist.github.com/1374142, which borrows from hotcocoa's kvo_array (I couldn't get `kvo_array` to work and I wanted something that could just automa

Re: [MacRuby-devel] rubyfying Cocoa iterators

2011-11-17 Thread Matt Aimonetti
you could also create a module and mix it in with the objects you want have the custom methods defined in. - Matt On Thu, Nov 17, 2011 at 3:21 PM, Kam Dahlin wrote: > If you didn't want to use a category, you could do: > > orderedSet = NSOrderedSet.orderedSetWithArray(["1", "2", "3"]) > ordered

Re: [MacRuby-devel] rubyfying Cocoa iterators

2011-11-17 Thread Kam Dahlin
If you didn't want to use a category, you could do: orderedSet = NSOrderedSet.orderedSetWithArray(["1", "2", "3"]) orderedSet.class.send(:define_method, :each) do self.array.each do |item| yield item end end orderedSet.each do |item| puts item end This method also has the advant

[MacRuby-devel] Is this possible in MacRuby?

2011-11-17 Thread az...@gmx.net
Hi All, Is it possible to make a Lion app(/option) with MacRuby which allows you to change the opacity (alpha value) of other apps/windows via the View menu? So say I have a PDF open in Preview, I'd go to: view menu > transparency, and then set it to 50% Is this possible? Would it be a pain to

Re: [MacRuby-devel] rubyfying Cocoa iterators

2011-11-17 Thread techzen
The Cbjective-C way to handle this would be to put a category that provided an `each` method on NSOrderedSet. Then when you called `each` it would just work. Ruby has a similar functionality but I can't remember right now what it's called. Using a category would be optimal in the case of Core

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 45, Issue 26

2011-11-17 Thread Jean-Denis MUYS
Thanks for your answer. I followed your advice, and indeed, it works quite nicely. However, in the meantime, I filed a ticket reporting the bug to the MacRuby project. And the bug is already fixed (thanks Watson1978). A commit has been added today with the fix. The latest nightly doesn't yet inc