Re: [MacRuby-devel] Blog post: Accessing the Keychain with MacRuby

2010-02-05 Thread Carlo Zottmann
On 4 February 2010 19:30, Matt Aimonetti  wrote:
> Great stuff Carlo, I wrote something a bit similar a while back:
> http://www.macruby.org/recipes/create-an-objective-c-bundle.html

I know, I've referenced your recipe in my article. :)

> Would you mind converting your article into a recipe for the macruby site?

Absolutely not, I'd be happy to! I'll get to it in the next few days.
Fame and glory, here I come…

C.


-- 
Carlo Zottmann
Munich, Germany.  --  http://carlo.zottmann.org

TwerpScan -- Anti-Fool Twitter Contact Management Tool. http://twerpscan.com/
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Blog post: Accessing the Keychain with MacRuby

2010-02-05 Thread Matt Aimonetti

Feel free to ping me on gtalk if you have questions/comments.

-Matt

Sent from my iPhone

On Feb 5, 2010, at 0:06, Carlo Zottmann  wrote:

On 4 February 2010 19:30, Matt Aimonetti   
wrote:

Great stuff Carlo, I wrote something a bit similar a while back:
http://www.macruby.org/recipes/create-an-objective-c-bundle.html


I know, I've referenced your recipe in my article. :)

Would you mind converting your article into a recipe for the  
macruby site?


Absolutely not, I'd be happy to! I'll get to it in the next few days.
Fame and glory, here I come…

C.


--
Carlo Zottmann
Munich, Germany.  --  http://carlo.zottmann.org

TwerpScan -- Anti-Fool Twitter Contact Management Tool. http://twerpscan.com/
___
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] #602: File.dirname cuts string at wrong index with unicode strings

2010-02-05 Thread MacRuby
#602: File.dirname cuts string at wrong index with unicode strings
+---
 Reporter:  mark.hubb...@…  |   Owner:  vincent.isamb...@…  
  
 Type:  defect  |  Status:  new 
  
 Priority:  major   |   Milestone:  
  
Component:  MacRuby |Keywords:  string path dirname unicode 
encoding utf-8
+---
Changes (by eloy.de.en...@…):

  * owner:  lsansone...@… => vincent.isamb...@…


Comment:

 String is being worked on. For now, as a workaround, you could use the
 Cocoa API like:

 {{{
 p = "/αλφα/βετα.txt"
 puts p.stringByDeletingLastPathComponent # => "/αλφα"
 }}}

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #604: EXC_BAD_ACCESS while opening stream

2010-02-05 Thread MacRuby
#604: EXC_BAD_ACCESS while opening stream
---+
 Reporter:  jakub.su...@…  |   Owner:  lsansone...@…
 Type:  defect |  Status:  new  
 Priority:  critical   |   Milestone:   
Component:  MacRuby|Keywords:   
---+
 I've recently started a new project using MacRuby 0.5, in which I have
 some classes in ObjC brought from another project. These classes are used
 for connecting to a web service, and they use the ASIHTTPRequest library
 to make HTTP requests.

 Now, as long as I'm only sending GET requests everything is fine, but once
 I send a POST request with non-empty body, I get a EXC_BAD_ACCESS error.
 The error appears when I call ASIHTTPRequest and it in turn calls
 CFReadStreamOpen, but in the end the backtrace leads to internal Ruby
 methods:

 {{{
 #0  0x100080dba in rb_scan_args
 #1  0x1000aed31 in rb_file_open
 #2  0x1001b5316 in rb_vm_call_with_cache2
 #3  0x1000c9652 in rb_class_new_instance
 #4  0x1000ac32d in rb_f_open
 #5  0x7fff851187ea in CFReadStreamOpen
 #6  0x7fff853b026e in HTTPNetConnection::prepareTransmission
 #7  0x7fff853af530 in NetConnection::enqueue
 #8  0x7fff853af409 in _CFNetConnectionEnqueue
 #9  0x7fff853af392 in HTTPNetStreamInfo::streamOpen
 #10 0x7fff853af354 in CFNetworkReadStream::httpStreamOpen
 #11 0x7fff85108036 in _CFStreamOpen
 #12 0x7fff851187c6 in CFReadStreamOpen
 #13 0x7fff85404421 in HTTPReadStream::startRequest
 #14 0x7fff85405814 in HTTPReadStream::streamOpen
 #15 0x7fff853af354 in CFNetworkReadStream::httpStreamOpen
 #16 0x7fff85108036 in _CFStreamOpen
 #17 0x7fff851187c6 in CFReadStreamOpen
 #18 0x1a2e1 in -[ASIHTTPRequest startRequest] at
 ASIHTTPRequest.m:975
 #19 0x180f8 in -[ASIHTTPRequest main] at ASIHTTPRequest.m:620
 #20 0x17ae0 in -[ASIHTTPRequest startAsynchronous] at
 ASIHTTPRequest.m:542
 (...)
 }}}

 The same code works perfectly well if I replace the macruby_main line in
 main.c with one that runs the ObjC version of NSApplication.

 I've tried the nightly version of Macruby but no change...

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #605: Crash when unpacking a string

2010-02-05 Thread MacRuby
#605: Crash when unpacking a string
+---
 Reporter:  jens.nock...@…  |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  minor   |   Milestone:   
Component:  MacRuby |Keywords:   
+---
 Executing something like `p ByteString.new("").unpack('a8')`
 crashes MacRuby.

 I attached a simple patch that seems to fix the problem.

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #606: Zlib::Inflate crashing

2010-02-05 Thread MacRuby
#606: Zlib::Inflate crashing
+---
 Reporter:  jens.nock...@…  |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  minor   |   Milestone:   
Component:  MacRuby |Keywords:   
+---
 Executing `require 'zlib'; Zlib::Inflate.inflate("Test")` on trunk (As of
 20100206) crashes macruby. (It also crashes on valid data.)

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #604: EXC_BAD_ACCESS while opening stream

2010-02-05 Thread MacRuby
#604: EXC_BAD_ACCESS while opening stream
---+
 Reporter:  jakub.su...@…  |   Owner:  lsansone...@…
 Type:  defect |  Status:  new  
 Priority:  critical   |   Milestone:   
Component:  MacRuby|Keywords:   
---+

Comment(by lsansone...@…):

 It's kind of hard to know what's happening here, I don't know why
 rb_f_open() is suddenly called. Would it be possible to reduce the problem
 to a sample project?

-- 
Ticket URL: 
MacRuby 

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