Re: [MacRuby-devel] [MacRuby] #221: rb_objc_ocval_to_rval crashing when returning Modal Panel Return values

2009-02-06 Thread MacRuby
#221: rb_objc_ocval_to_rval crashing when returning Modal Panel Return values
-+--
 Reporter:  parzi...@…   |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  major|   Milestone:   
Component:  MacRuby  |Keywords:   
-+--

Comment(by parzi...@…):

 Sorry about this.

 Close this.  Somehow I mixed up which version I was using or my install
 got corrupted; I found out when I looked at the files in the repository.
 This works in the current trunk (809).

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] Using 'Pointer.new_with_type'

2009-02-06 Thread Michael Winterstein


On Feb 5, 2009, at 10:53 AM, Michael Winterstein wrote:


Hi all,

Is there a particular framework that's required in order to use  
'Pointer.new_with_type'?


I'm using the trunk (build 809) and it's apparently not available in  
either my Xcode project or in macirb.


Is there an alternative method for working with pointers?



My specific case is that I want to call the C function mkstemp.
Is this what I should be doing? :

@tmpfInfo += "/"+"resynch.fileinfo.XX"  
tmptr = Pointer.new_with_type('*')
tmptr.assign(@tmpfInfo)
fd_tmpInfo = mkstemp(tmptr)
tmpInfoFileHandle = NSFileHandle.initWithFileDescriptor(@fd_tmpInfo)

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


Scratch some of that ... I didn't have the right file and now I do  
have Pointer.new_with_type.


But I'm still wondering what's the correct approach.  This code still  
gives me "undefined method" errors on mkstemp.


Michael


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


Re: [MacRuby-devel] Framework callbacks in macirb

2009-02-06 Thread Eloy Duran
I downloaded hotconsole, but can't seem to get it raked / built /  
installed.  I can't find any install instructions.  There is a  
mention that you need the latest branch, so I grabbed the testing  
branch and built it, but still no luck with hotconsole.


The latest code is in trunk. The testing branch was a sort of release  
candidate thing iirc.


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


[MacRuby-devel] presentation slides

2009-02-06 Thread Matt Aimonetti
Tonight I presented MacRuby to the local San Diego Ruby group, here are the
slides:

http://www.slideshare.net/mattetti/macruby-when-objectivec-and-ruby-meet

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


Re: [MacRuby-devel] [MacRuby] #221: rb_objc_ocval_to_rval crashing when returning Modal Panel Return values

2009-02-06 Thread MacRuby
#221: rb_objc_ocval_to_rval crashing when returning Modal Panel Return values
-+--
 Reporter:  parzi...@…   |Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  major|Milestone:   
Component:  MacRuby  |   Resolution:  invalid  
 Keywords:   |  
-+--
Changes (by eloy.de.en...@…):

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


-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] Framework callbacks in macirb

2009-02-06 Thread Barry Walker
>
> I downloaded hotconsole, but can't seem to get it raked / built /
>> installed.  I can't find any install instructions.  There is a mention that
>> you need the latest branch, so I grabbed the testing branch and built it,
>> but still no luck with hotconsole.
>>
>
> The latest code is in trunk. The testing branch was a sort of release
> candidate thing iirc.



Thanks for the help.  I was trying rake and not makrake, but the result is
the same. Seems like I need to put the directory somewhere else.

Macintosh:vincentisambart-hotconsole-cbdd6d06ece482e124516359cd9299294667daeb
barry$ macrake
(in
/Users/barry/dev/vincentisambart-hotconsole-cbdd6d06ece482e124516359cd9299294667daeb)
rake aborted!
no such file to load -- hotcocoa/standard_rake_tasks
/Users/barry/dev/vincentisambart-hotconsole-cbdd6d06ece482e124516359cd9299294667daeb/rakefile:2:in
`require'
(See full trace by running task with --trace)
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel