[MacRuby-devel] On the MacRuby web site

2010-06-03 Thread Scott Thompson
An item of curiosity more than anything else...

I note that on the MacRuby.org web site, under the heading of "Why MacRuby?" 
the subheading of "Interpreter Performance"... it makes the claim that MacRuby 
is using YARV.  Is this still the case?  I was under the (perhaps mistaken) 
impression that LLVM was used as a replacement for YARV.

Scott

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


[MacRuby-devel] Using HotCocoa inside a MacRuby project?

2010-06-03 Thread Gabriel Gilder
Hi all,
I'm currently working on a MacRuby project and wanted to use HotCocoa for
the window layout features (i.e. circumvent Interface Builder).

However, if I include the following lines in rb_main.rb:
require 'rubygems'
require 'hotcocoa'

I get this error:
rb_main.rb:9:in `': uninitialized constant
MRAReferenceRenderer::KASTargetCurrent (NameError)

I'm using MacRuby 0.6 and HotCocoa 0.5.1.

Anybody know if it is possible to use HotCocoa within a MacRuby project?

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


Re: [MacRuby-devel] [MacRuby] #592: No such file to load -- ubygems (LoadError)

2010-06-03 Thread MacRuby
#592: No such file to load -- ubygems (LoadError)
-+--
 Reporter:  lasse.kosk...@…  |Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  minor|Milestone:  MacRuby 0.7  
Component:  MacRuby  |   Resolution:  fixed
 Keywords:  LoadError|  
-+--
Changes (by martinlagarde...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  MacRuby 0.5 => MacRuby 0.7


Comment:

 This is fixed with r4200:

 {{{
 $> RUBYOPT="-rzzz" macruby -v
 MacRuby 0.7 (ruby 1.9.0) [universal-darwin10.0, x86_64]
 no such file to load -- zzz (LoadError)
 $> RUBYOPT="-rzzz" ./miniruby -v
 MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64]
 }}}

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #736: Unpack inconsistencies (possibly related to issue #605?)

2010-06-03 Thread MacRuby
#736: Unpack inconsistencies (possibly related to issue #605?)
-+--
 Reporter:  babs.d...@…  |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  major|   Milestone:   
Component:  MacRuby  |Keywords:  Grit, unpack 
-+--
 I am attempting to use the Grit(http://github.com/mojombo/grit) gem (after
 various patches to work w/ macruby), but there seems to be some
 inconsistency between unpacking strings w ruby 1.9 and MacRuby (nightly as
 of 6/3/10).

 Specifically with this method:
 {{{
 def init_pack
   with_idx do |idx|
 @offsets = [0]
 FanOutCount.times do |i|
   //MacRuby vs Ruby assign VERY different values to pos
   pos = idx[i * IdxOffsetSize,IdxOffsetSize].unpack('N')[0]
   if pos < @offsets[i]
 raise PackFormatError, "pack #...@name has discontinuous
 index #{i}"
   end
   @offsets << pos
 end
 @size = @offsets[-1]
   end
 end
 }}}
 In MacRuby the var 'pos' evaluates to [0, 4285812579] in every other
 block.

 In Ruby 1.9 'pos' evaluates correctly (ex. after 7 blocks: [0, 11, 24, 39,
 48, 56, 63])

 This bug may be invalid, and/or related to the Grit gem, but at first
 glance appears to be MacRuby related.

 @see also: http://www.macruby.org/trac/ticket/605

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #737: Unpack inconsistencies (possibly related to issue #605?)

2010-06-03 Thread MacRuby
#737: Unpack inconsistencies (possibly related to issue #605?)
-+--
 Reporter:  babs.d...@…  |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  major|   Milestone:   
Component:  MacRuby  |Keywords:  Grit, unpack 
-+--
 I am attempting to use the Grit(http://github.com/mojombo/grit) gem (after
 various patches to work w/ macruby), but there seems to be some
 inconsistency between unpacking strings w ruby 1.9 and MacRuby (nightly as
 of 6/3/10).

 Specifically with this method:
 {{{
 def init_pack
   with_idx do |idx|
 @offsets = [0]
 FanOutCount.times do |i|
   //MacRuby vs Ruby assign VERY different values to pos
   pos = idx[i * IdxOffsetSize,IdxOffsetSize].unpack('N')[0]
   if pos < @offsets[i]
 raise PackFormatError, "pack #...@name has discontinuous
 index #{i}"
   end
   @offsets << pos
 end
 @size = @offsets[-1]
   end
 end
 }}}
 In MacRuby the var 'pos' evaluates to [0, 4285812579] in every other
 block.

 In Ruby 1.9 'pos' evaluates correctly (ex. after 7 blocks: [0, 11, 24, 39,
 48, 56, 63])

 This bug may be invalid, and/or related to the Grit gem, but at first
 glance appears to be MacRuby related.

 @see also: http://www.macruby.org/trac/ticket/605

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #736: Unpack inconsistencies (possibly related to issue #605?)

2010-06-03 Thread MacRuby
#736: Unpack inconsistencies (possibly related to issue #605?)
-+--
 Reporter:  babs.d...@…  |Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  major|Milestone:   
Component:  MacRuby  |   Resolution:  duplicate
 Keywords:  Grit, unpack |  
-+--
Changes (by martinlagarde...@…):

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


Comment:

 Closing as duplicate of #737 (apparently the report was double posted)

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #736: Unpack inconsistencies (possibly related to issue #605?)

2010-06-03 Thread MacRuby
#736: Unpack inconsistencies (possibly related to issue #605?)
-+--
 Reporter:  babs.d...@…  |Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  major|Milestone:   
Component:  MacRuby  |   Resolution:  duplicate
 Keywords:  Grit, unpack |  
-+--

Comment(by babs.d...@…):

 Replying to [comment:1 martinlagarde...@…]:
 > Closing as duplicate of #737 (apparently the report was double posted)
 Sorry 'bout that.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] On the MacRuby web site

2010-06-03 Thread Matt Aimonetti
You are correct, the website would need an update.

- Matt

On Thu, Jun 3, 2010 at 2:53 PM, Scott Thompson  wrote:

> An item of curiosity more than anything else...
>
> I note that on the MacRuby.org web site, under the heading of "Why
> MacRuby?" the subheading of "Interpreter Performance"... it makes the claim
> that MacRuby is using YARV.  Is this still the case?  I was under the
> (perhaps mistaken) impression that LLVM was used as a replacement for YARV.
>
> Scott
>
> ___
> 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] On the MacRuby web site

2010-06-03 Thread Scott Thompson

On Jun 3, 2010, at 9:17 PM, Matt Aimonetti wrote:

> You are correct, the website would need an update.

Thanks.

I'm giving a presentation on an Introduction to Ruby tomorrow at work and I 
wanted to make sure I didn't misunderstand and pass on incorrect info.

Scott

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