Re: [MacRuby-devel] [MacRuby] #768: Timeout is broken. It seems MacRuby does not dispatch the Thread.

2010-07-01 Thread Watson

Hi.

Do you mean that it is a problem to use a MainThread?
I post a patch that do not use a MainThread.

Please check it.


Thank you!

timeout.rb.diff
Description: Binary data


On 2010/07/01, at 10:07, MacRuby wrote:

#768: Timeout is broken. It seems MacRuby does not dispatch the  
Thread.
-- 
+-
Reporter:  watson1...@…  |Owner:   
lsansone...@…

Type:  defect|   Status:  closed
Priority:  blocker   |Milestone:
Component:  MacRuby   |   Resolution:  duplicate
Keywords:|
-- 
+-

Changes (by martinlagarde...@…):

 * status:  new => closed
 * resolution:  => duplicate


Comment:

This is a duplicate of a know bug: #176

The problem is not that the thread is not dispatched. It is actually
dispatched. But the dispatched thread is not the one that does the
operation, it's a thread that sleep for whatever was passed to  
timeout,
and then sends "cancel" to the main thread. However, with the way  
MacRuby
implements threads (with pthread), it's not possible to cancel the  
main

thread without breaking everything :D.

We're working on it, and waiting to find a solution.

--
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #745: README.rdoc has mistake in "Enumerable#p_findall" on "lib/dispach". And p_find_all causes an error.

2010-07-01 Thread MacRuby
#745: README.rdoc has mistake in "Enumerable#p_findall" on "lib/dispach". And
p_find_all causes an error.
--+-
 Reporter:  watson1...@…  |Owner:  lsansone...@…
 Type:  defect|   Status:  closed   
 Priority:  blocker   |Milestone:   
Component:  MacRuby   |   Resolution:  fixed
 Keywords:|  
--+-
Changes (by ernest.prabha...@…):

  * status:  reopened => closed
  * resolution:  => fixed


Comment:

 Doh, sorry about that.  Committed r4315

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] OS version support

2010-07-01 Thread Michael Jackson
Which versions of Mac OSX are able to run MacRuby Cocoa apps? Right
now I'm using MacRuby 0.6 in Xcode 3.

--
Michael Jackson
http://mjijackson.com
@mjijackson
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] OS version support

2010-07-01 Thread Matt Aimonetti
SnowLeopard, MacRuby would also run on Leopard but you would need to compile
MacRuby for 10.5 and embed it with your app. Also none of the team members
are on 10.5 so MacRuby's stability on this OS version isn't guaranteed.

- Matt

On Thu, Jul 1, 2010 at 7:06 PM, Michael Jackson wrote:

> Which versions of Mac OSX are able to run MacRuby Cocoa apps? Right
> now I'm using MacRuby 0.6 in Xcode 3.
>
> --
> Michael Jackson
> http://mjijackson.com
> @mjijackson
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel