Re: [MacRuby-devel] [MacRuby] #359: Project Templates Not Installed By Nightly Installer

2009-09-30 Thread MacRuby
#359: Project Templates Not Installed By Nightly Installer
-+--
 Reporter:  dy...@…  |   Owner:  mattaimone...@…
 Type:  enhancement  |  Status:  assigned   
 Priority:  major|   Milestone:  MacRuby 0.5
Component:  MacRuby  |Keywords: 
-+--

Comment(by masterk...@…):

 using macruby_nightly-2009-09-30-1155.pkg, wiped the entire folder and
 then installed this is /Library/Application Support/

 [[Image(http://img.skitch.com/20090930-rmwa1ucywnybwapm6ehm9f8rug.jpg)]]

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/359#comment:6>
MacRuby <http://macruby.org/>

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


[MacRuby-devel] [MacRuby] #360: Embed MacRuby Target Fails If $TARGET_BUILD_DIR contains spaces

2009-09-30 Thread MacRuby
#360: Embed MacRuby Target Fails If $TARGET_BUILD_DIR contains spaces
-+--
 Reporter:  dy...@…  |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  blocker  |   Milestone:   
Component:  MacRuby  |Keywords:   
-+--
 The fix is to put quotes around the last argument in the script.

 I've attached a fixed version of the target template file.

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] Objective-C SDL bindings accessible from Ruby?

2009-09-30 Thread Timothy McDowell
I'm fairly new to objective-c, xcode, and the whole compiling/linking
process altogether. But I was wondering if I link my SDL library to my xcode
macruby project, can I access the SDL from both the Obj-C side and Ruby?

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


Re: [MacRuby-devel] Objective-C SDL bindings accessible from Ruby?

2009-09-30 Thread Laurent Sansonetti

On Sep 30, 2009, at 11:07 AM, Timothy McDowell wrote:

I'm fairly new to objective-c, xcode, and the whole compiling/ 
linking process altogether. But I was wondering if I link my SDL  
library to my xcode macruby project, can I access the SDL from both  
the Obj-C side and Ruby?


Yep :) Pure Objective-C APIs should be callable from MacRuby  
automagically.


A side note, if your Objective-C SDL bindings framework exposes C APIs  
or C-based symbols, you may want to generate a BridgeSupport file for  
it, because MacRuby has no way to know that. The gen_bridge_metadata 
(1) man page has information.


Good luck,

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


Re: [MacRuby-devel] Objective-C SDL bindings accessible from Ruby?

2009-09-30 Thread Timothy McDowell
I was thinking of just using the C (C++? I'm not sure) prebuilt SDL
frameworks I have on this computer... I know the Objective-C side can handle
all of it fine, but can the ruby?

On Wed, Sep 30, 2009 at 2:18 PM, Laurent Sansonetti
wrote:

> On Sep 30, 2009, at 11:07 AM, Timothy McDowell wrote:
>
>  I'm fairly new to objective-c, xcode, and the whole compiling/linking
>> process altogether. But I was wondering if I link my SDL library to my xcode
>> macruby project, can I access the SDL from both the Obj-C side and Ruby?
>>
>
> Yep :) Pure Objective-C APIs should be callable from MacRuby automagically.
>
> A side note, if your Objective-C SDL bindings framework exposes C APIs or
> C-based symbols, you may want to generate a BridgeSupport file for it,
> because MacRuby has no way to know that. The gen_bridge_metadata(1) man page
> has information.
>
> Good luck,
>
> Laurent
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>



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


Re: [MacRuby-devel] [MacRuby] #306: NSPredicate.predicateWithFormat crashes with Segmentation fault

2009-09-30 Thread MacRuby
#306: NSPredicate.predicateWithFormat crashes with Segmentation fault
-+--
 Reporter:  d...@…|Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  major|Milestone:  MacRuby 0.5  
Component:  MacRuby  |   Resolution:  fixed
 Keywords:  NSPredicate  |  
-+--
Changes (by lsansone...@…):

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


Comment:

 Should be fixed in r2694.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #357: NSLog causes "BAD_EAX_ACCESS" on 10.6

2009-09-30 Thread MacRuby
#357: NSLog causes "BAD_EAX_ACCESS" on 10.6
--+-
 Reporter:  mitchell.hashim...@…  |Owner:  lsansone...@…
 Type:  defect|   Status:  closed   
 Priority:  blocker   |Milestone:  MacRuby 0.5  
Component:  MacRuby   |   Resolution:  fixed
 Keywords:|  
--+-
Changes (by lsansone...@…):

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


Comment:

 Should be fixed in r2694.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] Objective-C SDL bindings accessible from Ruby?

2009-09-30 Thread Laurent Sansonetti
It's not going to work as easily. Bridging C APis to MacRuby involve  
the creation of a BridgeSupport project which is not trivial. We are  
working on a new version of the BridgeSupport generator which should  
be all automatic, but it's still under development.


I would recommend wrapping your SDL calls into an Objective-C class  
then use it from MacRuby. Or use a core system API like CoreGraphics :)


Laurent

On Sep 30, 2009, at 2:10 PM, Timothy McDowell wrote:

I was thinking of just using the C (C++? I'm not sure) prebuilt SDL  
frameworks I have on this computer... I know the Objective-C side  
can handle all of it fine, but can the ruby?


On Wed, Sep 30, 2009 at 2:18 PM, Laurent Sansonetti > wrote:

On Sep 30, 2009, at 11:07 AM, Timothy McDowell wrote:

I'm fairly new to objective-c, xcode, and the whole compiling/ 
linking process altogether. But I was wondering if I link my SDL  
library to my xcode macruby project, can I access the SDL from both  
the Obj-C side and Ruby?


Yep :) Pure Objective-C APIs should be callable from MacRuby  
automagically.


A side note, if your Objective-C SDL bindings framework exposes C  
APIs or C-based symbols, you may want to generate a BridgeSupport  
file for it, because MacRuby has no way to know that. The  
gen_bridge_metadata(1) man page has information.


Good luck,

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



--
--Brains.
___
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