[MacRuby-devel] [MacRuby] #339: YAML error with UTF-16 string

2009-09-18 Thread MacRuby
#339: YAML error with UTF-16 string
+---
 Reporter:  d...@…   |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  critical|   Milestone:  MacRuby 0.5  
Component:  MacRuby |Keywords:  YAML encoding
+---
 {{{
 macruby -e 'require "yaml"; puts "Rübe".to_yaml'
 }}}

 produces

 {{{
 --- ! "R\xFCb"
 }}}

 with the last character missing!

 BTW, I googled that  "YAML streams must be UTF-8 or UTF-16", so why is a
 escape sequence visible in the above puts statement?

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #339: YAML error with UTF-16 string

2009-09-18 Thread MacRuby
#339: YAML error with UTF-16 string
+---
 Reporter:  d...@…   |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  critical|   Milestone:  MacRuby 0.5  
Component:  MacRuby |Keywords:  YAML encoding
+---

Comment(by lsansone...@…):

 It's simply a bug :) Thanks for reporting it.

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] [MacRuby] #340: http.get failing with the error "not in gzip format"

2009-09-18 Thread MacRuby
#340: http.get failing with the error "not in gzip format"
+---
 Reporter:  bobsteven...@…  |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  blocker |   Milestone:  MacRuby 0.5  
Component:  MacRuby |Keywords:  http get 
+---
 http.get is causing a error that says
 "not in gzip format"

 require 'net/http'
 require 'rexml/document'
 require 'uri'

 @@token ='mCHpMz2L_a_OrEkz3FSiDg'
 @@hostname = 'api.kayak.com'
 @@port = 80

 Net::HTTP.start(@@hostname, @@port) do |http|
 response = http.get("/k/ident/apisession?token=#{token}")
 end

-- 
Ticket URL: 
MacRuby 

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


[MacRuby-devel] super brief glimpse of trunk progress

2009-09-18 Thread Matt Aimonetti
As you know, we are getting close to releasing 0.5 RC1 so I figured you
might wonder about the latest progress happening in trunk.

If you really want to give 0.5 trunk a spin and don't want to compile from
source, Snow Leopard users with 64bit CPU can download the nightly builds:
http://macruby.icoretech.org/  (the nightly web app has been put on GitHub
by Claudio if you care to look at the source code).

So what's new?  Lots of bug fixes, macgem is getting closer to be ready.
It's still slow but now you can require your gems by doing require
'game_name' instead of gem 'gem_name'; require 'gem_name'. The performance
should be improved greatly once we know everything works well. Feel free to
give it a try and report bugs in the tracker.

Also, backtraces are almost back :) As of this morning, uncaught exceptions
don't print the backtrace but if you want to give it a try, catch your
exception and print its backtrace. Example:

begin
  raise 'this is just a test'
rescue Exception => e
 raise "#{e}\n backtrace: #{e.backtrace}"
end

However, as of next nightly build, macruby should have uncaught exceptions
printing the backtrace.

Exciting time coming up, get ready to test MacRuby 0.5 RC1 :)
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #332: MacRuby, Macirb crash on Snow Leopard

2009-09-18 Thread MacRuby
#332: MacRuby, Macirb crash on Snow Leopard
-+--
 Reporter:  rwa...@… |Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  blocker  |Milestone:  MacRuby 0.4  
Component:  MacRuby  |   Resolution:  wontfix  
 Keywords:  crash abort trap |  
-+--
Changes (by lsansone...@…):

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


Comment:

 MacRuby 0.4 will not work on Snow Leopard. We recommend trying one of the
 0.5 pre-release builds instead. http://macruby.icoretech.org/

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #310: eval throws an exception with backtrace nil

2009-09-18 Thread MacRuby
#310: eval throws an exception with backtrace nil
--+-
 Reporter:  d...@… |Owner:  lsansone...@…
 Type:  defect|   Status:  closed   
 Priority:  major |Milestone:  MacRuby 0.5  
Component:  MacRuby   |   Resolution:  fixed
 Keywords:  eval exception backtrace  |  
--+-
Changes (by lsansone...@…):

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


Comment:

 Thanks for the report, it should be fixed in r2565.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #337: Bug in rb_source_new_timer in gcd.c

2009-09-18 Thread MacRuby
#337: Bug in rb_source_new_timer  in gcd.c
+---
 Reporter:  ernest.prabha...@…  |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  minor   |   Milestone:  MacRuby 0.5  
Component:  MacRuby |Keywords:   
+---

Comment(by lsansone...@…):

 You're right, looks like Patrick missed that one. Now, I'm not familiar
 with this GCD API so I don't know if it should be before or after leeway.
 Any suggestion?

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #320: irb aborts on syntax error

2009-09-18 Thread MacRuby
#320: irb aborts on syntax error
--+-
 Reporter:  rwsch...@…|Owner:  lsansone...@…
 Type:  defect|   Status:  closed   
 Priority:  minor |Milestone:  MacRuby 0.5  
Component:  MacRuby   |   Resolution:  fixed
 Keywords:  irb abort syntax  |  
--+-
Changes (by lsansone...@…):

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


Comment:

 This should be fixed in trunk (as of r2565).

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #338: Typo in rb_source_on_cancellation in gcd.c

2009-09-18 Thread MacRuby
#338: Typo in rb_source_on_cancellation in gcd.c
+---
 Reporter:  ernest.prabha...@…  |Owner:  lsansone...@…
 Type:  defect  |   Status:  closed   
 Priority:  trivial |Milestone:  MacRuby 0.5  
Component:  MacRuby |   Resolution:  fixed
 Keywords:  |  
+---
Changes (by lsansone...@…):

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


Comment:

 Thanks for the report, fixed in r2566.

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #304: in irb: defin ing a local variable in a method doesn´t work

2009-09-18 Thread MacRuby
#304: in irb: defining a local variable in a method doesn´t work
+---
 Reporter:  d...@…   |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  minor   |   Milestone:  MacRuby 0.5  
Component:  MacRuby |Keywords:  irb  
+---

Comment(by lsansone...@…):

 {{{
 $ ./miniruby -e "eval('def test; a=42; p a; end'); test"
 (eval):1:in `test': undefined local variable or method `a' for
 main:TopLevel (NameError)
 -e:1:in `'
 }}}

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] [MacRuby] #337: Bug in rb_source_new_timer in gcd.c

2009-09-18 Thread MacRuby
#337: Bug in rb_source_new_timer  in gcd.c
+---
 Reporter:  ernest.prabha...@…  |   Owner:  lsansone...@…
 Type:  defect  |  Status:  new  
 Priority:  minor   |   Milestone:  MacRuby 0.5  
Component:  MacRuby |Keywords:   
+---

Comment(by ernest.prabha...@…):

 The relevant GCD API is:
  dispatch_source_set_timer(dispatch_source_t source,
  dispatch_time_t start, uint64_t interval, uint64_t leeway);

 Which maps into delay, interval, leeway.  So, if you were following that
 convention it would be:

  &queue, &delay, &interval, &leeway)

-- 
Ticket URL: 
MacRuby 

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


Re: [MacRuby-devel] define_method (was: Nib issues on Snow Leopard)

2009-09-18 Thread Bjoern Paschen

Hi ...

Am 17.09.2009 um 20:51 schrieb Matt Aimonetti:


The incomplete CGI implementation seems to be causing the issue:

$ macruby -e "require 'CGI'; puts CGI.escape('foo bar')"
wrong number of arguments (1 for 0) (ArgumentError)

I'll look into it tonight.


The app works now. Thank you guys :)

Cheers, Bjoern.

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


Re: [MacRuby-devel] define_method (was: Nib issues on Snow Leopard)

2009-09-18 Thread Matt Aimonetti
Sorry I forgot to mention it was fixed :) Props to Vincent for fixing the
define_method bug in a module.

- Matt

On Fri, Sep 18, 2009 at 11:54 PM, Bjoern Paschen wrote:

> Hi ...
>
> Am 17.09.2009 um 20:51 schrieb Matt Aimonetti:
>
>  The incomplete CGI implementation seems to be causing the issue:
>>
>> $ macruby -e "require 'CGI'; puts CGI.escape('foo bar')"
>> wrong number of arguments (1 for 0) (ArgumentError)
>>
>> I'll look into it tonight.
>>
>
> The app works now. Thank you guys :)
>
> Cheers, Bjoern.
>
> ___
> 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