[MacRuby-devel] Problem with MacGem install

2009-05-26 Thread Jonathan Waddilove
Matt, Thank you. It hadn't occured to me that the 'C' dependency would  
upset the MacGem process! I'll think about the issues of Ruby OpenGL  
v. Cocoa OpenGl.


John, Thank you for sharing the examples... More reading to do :)

Jonathan


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


Re: [MacRuby-devel] [MacRuby] #258: [HotCocoa] Add autohide_scrollers method to scroll_view

2009-05-26 Thread MacRuby
#258: [HotCocoa] Add autohide_scrollers method to scroll_view
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  enhancement  |   Status:  closed   
 Priority:  minor|Milestone:   
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by r...@…):

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


Comment:

 committed

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #259: [HotCocoa] add frame_color method and drawing to layout_view

2009-05-26 Thread MacRuby
#259: [HotCocoa] add frame_color method and drawing to layout_view
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  enhancement  |   Status:  closed   
 Priority:  minor|Milestone:   
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by r...@…):

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


Comment:

 committed.  this will always have the method defined now. this is slight
 overhead, but not much.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #260: [HotCocoa] table_view additions

2009-05-26 Thread MacRuby
#260: [HotCocoa] table_view additions
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  enhancement  |   Status:  closed   
 Priority:  minor|Milestone:   
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by r...@…):

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


Comment:

 committed.  should we change data=(value) to data_source=(value) ? just to
 align with def data_source; dataSource; end

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #261: [HotCocoa] add size= to layout_view

2009-05-26 Thread MacRuby
#261: [HotCocoa] add size= to layout_view
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  enhancement  |   Status:  closed   
 Priority:  minor|Milestone:   
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by r...@…):

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


Comment:

 committed

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #263: HotCocoa column additions

2009-05-26 Thread MacRuby
#263: HotCocoa column additions
-+--
 Reporter:  d...@…|   Owner:  lsansone...@…
 Type:  enhancement  |  Status:  new  
 Priority:  minor|   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 Attached patch adds:
   data_cell=
   max_width=
   min_width=

 to the column class.

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #264: HotCocoa table_view additions

2009-05-26 Thread MacRuby
#264: HotCocoa table_view additions
-+--
 Reporter:  d...@…|   Owner:  lsansone...@…
 Type:  enhancement  |  Status:  new  
 Priority:  minor|   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 The attached patch adds:
   delegate=
   row_height=
   on_double_action=
   on_double_action {}

 to the table_view.

 The on_double_action is copied from the TargetActionConvenience. I'm not
 sure if it should go into a convenience or just in the table_view as I'm
 not sure if anything else has a setDoubleAction.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #263: HotCocoa column additions

2009-05-26 Thread MacRuby
#263: HotCocoa column additions
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  enhancement  |   Status:  closed   
 Priority:  minor|Milestone:   
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by r...@…):

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


Comment:

 committed

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] MacGem and C FFI recap for newbie?

2009-05-26 Thread Charles Turner

Hi all-

I poked around the MacRuby wiki and mailing list, and think I have  
this straight. Could someone confirm, deny or clarify:


The current MacGem app works with pure Ruby Gems, but not those with  
compiled C components?


So the FFI Gem currently won't work with MacGem?

If I want to use a C dylib like libsndfile with MacRuby, the easiest  
way to go is to create an Objective-C Framework to wrap around the  
dylib?


Thanks!

Charles

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


Re: [MacRuby-devel] MacGem and C FFI recap for newbie?

2009-05-26 Thread Matt Aimonetti
That's correct, FFI support is expected in MacRuby 0.5 and eventually C
extension support.
Personally, I use obj-c dynlibs instead of frameworks but it shouldn't
matter.

- Matt

On Tue, May 26, 2009 at 4:01 PM, Charles Turner wrote:

> Hi all-
>
> I poked around the MacRuby wiki and mailing list, and think I have this
> straight. Could someone confirm, deny or clarify:
>
> The current MacGem app works with pure Ruby Gems, but not those with
> compiled C components?
>
> So the FFI Gem currently won't work with MacGem?
>
> If I want to use a C dylib like libsndfile with MacRuby, the easiest way to
> go is to create an Objective-C Framework to wrap around the dylib?
>
> Thanks!
>
> Charles
>
> ___
> 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


[MacRuby-devel] [MacRuby] #265: 'include' on 'class Class' doesn't define methods on future classes

2009-05-26 Thread MacRuby
#265: 'include' on 'class Class' doesn't define methods on future classes
-+--
 Reporter:  n...@…   |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  blocker  |   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 Greetings, the following code sample works on ruby 1.8 and 1.9 but is
 giving an error in MacRuby 0.0.4.

 {{{
 module B
   def whisper(a)
 puts a.downcase
   end
 end

 class Class
   include B
   def say(a)
 puts a
   end
 end

 class A
   say("hi")
   whisper("BYE")
 end

 # ruby 1.8.* & 1.9.* =>
 # hi
 # bye
 #
 # macruby 0.0.4 =>
 # hi
 # class.rb:16:in `': undefined method `whisper' for A:Class
 (NoMethodError)
 #  from class.rb:14:in `'
 }}}

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #265: 'include' on 'class Class' doesn't define methods on future classes

2009-05-26 Thread MacRuby
#265: 'include' on 'class Class' doesn't define methods on future classes
-+--
 Reporter:  n...@…   |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  blocker  |   Milestone:   
Component:  MacRuby  |Keywords:   
-+--

Comment(by n...@…):

 An interesting note is that if you change {{{class Class}}} to {{{class
 Object}}} it works in both mri and macruby.

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] Using performRubySelector

2009-05-26 Thread Mike Laurence
Hello,

I'm trying to get some obj-c code to talk back to my ruby. After
encountering some "EXC_BAD_ACCESS" messages and scouring the web, I've
concluded that I'm probably supposed to use performRubySelector
instead of just expecting selectors to work when overridden by ruby
subclasses, etc.

What is the preferred way to get this to work? I looked through some
of Elysium's old code (which used performRubySelector), but I'm having
trouble wrapping my head around how you're supposed to use the MacRuby
sharedRuntime to get things to happen. If someone could give me a
quick example of how to call arbitrary ruby methods, I would highly
appreciate it.

Of course, if I'm completely off base and there's some other way to
call ruby code, please let me know!

Thanks!

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


[MacRuby-devel] [MacRuby] #266: HotCocoa Add descriptions to standard rake tasks

2009-05-26 Thread MacRuby
#266: HotCocoa Add descriptions to standard rake tasks
-+--
 Reporter:  d...@…|   Owner:  lsansone...@…
 Type:  enhancement  |  Status:  new  
 Priority:  minor|   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 The attached patch adds desc entries to the standard rake tasks. This
 allows macrake -T to list the available tasks.

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #267: Change permissions on Info.plist and InfoPlist.strings

2009-05-26 Thread MacRuby
#267: Change permissions on Info.plist and InfoPlist.strings
-+--
 Reporter:  d...@…|   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  minor|   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 Both Info.plist and InfoPlist.strings have permissions of 600. This causes
 problems with the Hotcocoa deploy command if run as a regular user. The
 attached patch changes the permissions to be 644 so users can copy the
 files

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #262: require 'json/pure' crashes macruby due to missing encoding function

2009-05-26 Thread MacRuby
#262: require 'json/pure' crashes macruby due to missing encoding function
-+--
 Reporter:  d...@…|   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  major|   Milestone:   
Component:  MacRuby  |Keywords:   
-+--

Comment(by d...@…):

 This is a duplicate of bug #66

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #262: require 'json/pure' crashes macruby due to missing encoding function

2009-05-26 Thread MacRuby
#262: require 'json/pure' crashes macruby due to missing encoding function
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  major|Milestone:   
Component:  MacRuby  |   Resolution:  duplicate
 Keywords:   |  
-+--
Changes (by mattaimone...@…):

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


-- 
Ticket URL: 
MacRuby 

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