[MacRuby-devel] MacRuby Graphics

2010-07-13 Thread Matt Aimonetti
For those interested, I extracted HotCocoa::Graphics, started cleaning it up, added some specs and examples so you can enjoy the nice DSL built on top of Core Graphics. Feel free to fork and play with the repo: http://github.com/mattetti/macruby_graphics Examples and output in the readme. If you d

[MacRuby-devel] [MacRuby] #785: Thread.join(limit) is brocken.

2010-07-13 Thread MacRuby
#785: Thread.join(limit) is brocken. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priority: blocker | Mil

[MacRuby-devel] [MacRuby] #786: MacRuby does not finish when more exceptions is generated on same Thread almost at the same time.

2010-07-13 Thread MacRuby
#786: MacRuby does not finish when more exceptions is generated on same Thread almost at the same time. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Statu

[MacRuby-devel] Document-Based Application Issues

2010-07-13 Thread Mike Leonard
Hello all, Apologies if this is really obvious; my background is mainly in Ruby, though I do have some experience developing a Cocoa document-based app. Anyway, I'm trying to create a document-based application from the MacRuby template. Things started out well, but I hit a snag when I tried to

Re: [MacRuby-devel] When is a String not an NSString?

2010-07-13 Thread Michael Jackson
This sounds like a bug to me. Have you filed a ticket? http://trac.macosforge.org/projects/ruby/newticket -- Michael Jackson http://mjijackson.com @mjijackson On Mon, Jul 12, 2010 at 6:02 PM, Henry Maddocks wrote: > With respect to the following code > >     1  require 'test/unit' >     2 >  

[MacRuby-devel] Presenting on MacRuby this evening

2010-07-13 Thread Michael Jackson
I'll be giving a presentation on MacRuby tonight at the Utah Ruby User's Group. It's a pretty good group and has some very capable Rubyists, so it should be a fun time. If you're in the area, you might want to check it out. http://groups.google.com/group/urug/browse_thread/thread/292609271853115b#

Re: [MacRuby-devel] Presenting on MacRuby this evening

2010-07-13 Thread Ernest N. Prabhakar, Ph.D.
Hi Michael, For what its worth, I've updated the Grand Central Dispatch README.rdoc, and fixed the github formatting: http://github.com/MacRuby/MacRuby/tree/master/lib/dispatch/ Good luck! -- Ernie P. On Jul 13, 2010, at 11:23 AM, Michael Jackson wrote: > I'll be giving a presentation on Mac

Re: [MacRuby-devel] When is a String not an NSString?

2010-07-13 Thread Laurent Sansonetti
Hi, I believe this has been discussed on trac already, although I can't seem to find the ticket. In short, this is expected behavior. A method added to the String class will only be available to strings created from Ruby. If you want a method to be available to all strings, add it to the NSStr

Re: [MacRuby-devel] Document-Based Application Issues

2010-07-13 Thread Laurent Sansonetti
Hi Mike, It's hard to tell at the first glance, could you post your code somewhere so that we can have a look? Laurent On Jul 13, 2010, at 9:32 AM, Mike Leonard wrote: > Hello all, > > Apologies if this is really obvious; my background is mainly in Ruby, though > I do have some experience de

Re: [MacRuby-devel] Document-Based Application Issues

2010-07-13 Thread Mike Leonard
This is peculiar. I created a minimal example for the purpose of responding to your request using just the document-based application template. I added public.plain-text as a document type in my application's properties and a single line of code to MyDocument.rb: def readFromData(data,

Re: [MacRuby-devel] [MacRuby] #783: Patch for builder.rb error: invalid byte sequence in US-ASCII

2010-07-13 Thread MacRuby
#783: Patch for builder.rb error: invalid byte sequence in US-ASCII ---+ Reporter: slew...@… | Owner: lsansone...@… Type: defect | Status: new Priority: majo

Re: [MacRuby-devel] [MacRuby] #784: Exception is generated when change Hash's key.

2010-07-13 Thread MacRuby
#784: Exception is generated when change Hash's key. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priority: blocker

Re: [MacRuby-devel] When is a String not an NSString?

2010-07-13 Thread Thibault Martin-Lagardette
In fact, there's already a track ticket for that (and I think that's the discussion Laurent was looking for): http://www.macruby.org/trac/ticket/726 :-) -- Thibault Martin-Lagardette On Jul 13, 2010, at 13:02, Laurent Sansonetti wrote: > Hi, > > I believe this has been discussed on trac a

Re: [MacRuby-devel] [MacRuby] #785: Thread.join(limit) is brocken.

2010-07-13 Thread MacRuby
#785: Thread.join(limit) is brocken. --+- Reporter: watson1...@… |Owner: lsansone...@… Type: defect| Status: closed Priority: blocker |

Re: [MacRuby-devel] Document-Based Application Issues

2010-07-13 Thread Laurent Sansonetti
Hi Mike, Glad to know it works with the template. I suspect you were missing some wirings in IB in your first attempt. Laurent On Jul 13, 2010, at 1:23 PM, Mike Leonard wrote: > This is peculiar. I created a minimal example for the purpose of responding > to your request using just the docum

Re: [MacRuby-devel] When is a String not an NSString?

2010-07-13 Thread Henry Maddocks
On 14/07/2010, at 9:10 AM, Thibault Martin-Lagardette wrote: > In fact, there's already a track ticket for that (and I think that's the > discussion Laurent was looking for): > > http://www.macruby.org/trac/ticket/726 Should I add my two cents here or on the trac ticket? Henry _

Re: [MacRuby-devel] Document-Based Application Issues

2010-07-13 Thread Mike Leonard
Could be, but I don't think I did anything differently, wiring wise, the second time. At any rate, if the same thing happens again I'll have a better idea of where exactly things went south. Thanks for your assistance. On Jul 13, 2010, at 3:26 PM, Laurent Sansonetti wrote: > Hi Mike, > > Glad

Re: [MacRuby-devel] When is a String not an NSString?

2010-07-13 Thread Laurent Sansonetti
On Jul 13, 2010, at 3:32 PM, Henry Maddocks wrote: > > On 14/07/2010, at 9:10 AM, Thibault Martin-Lagardette wrote: > >> In fact, there's already a track ticket for that (and I think that's the >> discussion Laurent was looking for): >> >> http://www.macruby.org/trac/ticket/726 > > Should I

Re: [MacRuby-devel] [MacRuby] #634: Dispatch::Job fails with macirb

2010-07-13 Thread MacRuby
#634: Dispatch::Job fails with macirb +--- Reporter: igor.evsu...@… | Owner: ernest.prabha...@… Type: defect | Status: new Priority: blocker

Re: [MacRuby-devel] [MacRuby] #446: Dispatch::TIME_FOREVER too big for signed long long

2010-07-13 Thread MacRuby
#446: Dispatch::TIME_FOREVER too big for signed long long ---+ Reporter: nik...@… | Owner: ernest.prabha...@… Type: defect | Status: new

[MacRuby-devel] [MacRuby] #787: MacRuby Initializers only claim a single arity

2010-07-13 Thread MacRuby
#787: MacRuby Initializers only claim a single arity +--- Reporter: ernest.prabha...@… | Owner: lsansone...@… Type: defect | Status: new Priority: m

Re: [MacRuby-devel] [MacRuby] #446: Dispatch::TIME_FOREVER too big for signed long long

2010-07-13 Thread MacRuby
#446: Dispatch::TIME_FOREVER too big for signed long long --+- Reporter: nik...@… |Owner: ernest.prabha...@… Type: defect| Status: cl

[MacRuby-devel] [MacRuby] #788: "rake clean" should ensure no cruft in MacRuby.framework search path

2010-07-13 Thread MacRuby
#788: "rake clean" should ensure no cruft in MacRuby.framework search path +--- Reporter: ernest.prabha...@… | Owner: lsansone...@… Type: defect | Status: new

Re: [MacRuby-devel] [MacRuby] #784: Exception is generated when change Hash's key.

2010-07-13 Thread MacRuby
#784: Exception is generated when change Hash's key. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priority: blocker

Re: [MacRuby-devel] [MacRuby] #784: Exception is generated when change Hash's key.

2010-07-13 Thread MacRuby
#784: Exception is generated when change Hash's key. --+- Reporter: watson1...@… |Owner: lsansone...@… Type: defect| Status: closed Priority: blocker

Re: [MacRuby-devel] MacRuby Graphics

2010-07-13 Thread Jordan K. Hubbard
Hi Matt, Seems to work very nicely (now all we need are some routines for audio, 3D and video and a demo-driver and we can give Processing some reasonable competition! :-). I do notice some interesting error messages that get output on any of the examples though: j...@il0102a-dhcp70-> macruby

Re: [MacRuby-devel] MacRuby Graphics

2010-07-13 Thread Laurent Sansonetti
Hi Jordan, This is a bug in QuickLook (they have a hidden unused class using inexistent resource files). A radar has been filed already about that. You can safely ignore the warnings for now. Laurent On Jul 13, 2010, at 5:05 PM, Jordan K. Hubbard wrote: > Hi Matt, > > Seems to work very nice

Re: [MacRuby-devel] [MacRuby] #753: An error occurs when access to Webrick's HTTPServer.

2010-07-13 Thread MacRuby
#753: An error occurs when access to Webrick's HTTPServer. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priority: blocker

[MacRuby-devel] [MacRuby] #789: An Error does not occur when DeadLock occurred in Thread/Mutex.

2010-07-13 Thread MacRuby
#789: An Error does not occur when DeadLock occurred in Thread/Mutex. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new Priorit

[MacRuby-devel] [MacRuby] #790: Exception is not generated when calls Thread.stop with only one thread.

2010-07-13 Thread MacRuby
#790: Exception is not generated when calls Thread.stop with only one thread. --+- Reporter: watson1...@… | Owner: lsansone...@… Type: defect| Status: new