Re: [MacRuby-devel] NSNumber boolean spec

2009-08-04 Thread Eloy Duran

Applied and removed tag, thanks!

Eloy

On Aug 4, 2009, at 4:15 AM, dan sinclair wrote:

The attached patch gets the NSNumber boolean conversion spec  
working.  I'm not sure if the change is correct but I changed the  
spec from should != to should_not == and it appears to be working  
correctly now.


dan


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #281: Bundles pointing to local MacRuby installation instead of embedded

2009-08-04 Thread MacRuby
#281: Bundles pointing to local MacRuby installation instead of embedded
---+
 Reporter:  reb...@…   |   Owner:  lsansone...@…

 Type:  defect |  Status:  new  

 Priority:  major  |   Milestone:   

Component:  MacRuby|Keywords:  
embedded,deploy,installation,distribution
---+

Comment(by reb...@…):

 Thanks Laurent for the hint, I got it working with:

 {{{
 cd /Contents
 install_name_tool -change
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/libmacruby.dylib
 
@executable_path/../Frameworks/MacRuby.framework/Versions/0.4/usr/lib/libmacruby.dylib
 Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/universal-
 darwin9.5/.bundle
 }}}

 where BundleName in my case were socket, fcntl, stringio, syck. I'm going
 to rake this on all .bundle(s) as part of the deploy build along with a
 clean-up of unnecessary MacRuby files (for distribution).

 Renzo

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] experimental branch: status update

2009-08-04 Thread Laurent Sansonetti

Headlines:

- macirb should work as before. The local variable bug has been fixed.

- macrake should work as before. Running HotCocoa projects should  
work, you can even build MacRuby with macrake.


- new YAML module, API compatible with syck, was added. It is still  
under development, but it's currently good enough for most uses,  
including HotCocoa rakefile tasks.


This is the last experimental branch status update, we accomplished I  
think all the goals required to merge the branch into trunk. There  
will be more status updates after, but they will focus on trunk and  
the 0.5 release objectives :)


I will proceed with the merge tomorrow at 3PM California time  
(midnight Amsterdam time, 7AM Tokyo time). Feel free to commit before,  
but please hold off your commits at that time :)


Changes:

- fixed an incompatibility that showed up in switching between libedit  
and GNU readline


- added support to delete environment variables using ENV[]=nil

- fixed the clean task to remove binary build producfs too.

- fixed GC problems in oniguruma: make sure st.c tables are retained/ 
released appropriately since they use GC memory


- fixed a problem in IO#gets where the stream wasn't marked as EOF  
after reading the last separator-terminated line


- implemented Thread.start/fork

- added support for creation of Binding local variables

- fixed a bug in the way we compile return-from-block handlers

- fixed a bug in IO#reopen

- #fork is now raising a "not yet supported" exception, because it  
doesn't work well with CF and libauto. We will try to support it, but  
later.


- fixed String#inspect to escape some characters

- ported Rational and Complex to the new runtime APIs

- various unicode/bytestring fixes

- fixed AOT compilation of keep locals.

- fixed bytestring -> path conversion

- keep IO streams that should never be closed into a static array to  
avoid them being collected


- fixed a bug in the fast aref primitive: convert fixnum argument to  
long and not int


- fix a bug in the dispatcher where calling a method with an empty  
splat array wasn't dispatching a zero arity method


- optimize numeric coerce dispatch calls

- overwrite -[NSObject description] in every new subclass that calls  
#to_s + optimized other overloaded methods


- changed the way %s is implemented to behave like the ruby spec and  
send #to_s


- updated the stringscanner specs to be 1.9.2 compatible

- updated the stringio specs to be 1.9.2 compatible

- RubySpec was updated from upstream

- implemented conditional assignment of class variables

- work around a crash while raising an objc exception from a ruby one

- ported the compiler to 32-bit (including the floating point  
optimization)


- removed the negative-index feature of Readline::HISTORY (of libedit)  
to behave like readline


- optimized Math.sqrt

- fixed super within a method that has a splat argument

- added Integer#ord

- a YAML module has been written, based on the libyaml C library. It  
is still under development but load and dump should work. See the  
previous e-mail on the mailing-list for more information.


- a pure Ruby stringio module is under development

Laurent
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Base64 specs

2009-08-04 Thread dan sinclair

Hello,

The attached patch marks some specs that don't execute on Ruby 1.9.2  
for me.  The other Base64 specs that are broken are due to the TODO in  
vm_method.c,  rb_mod_modfunc to do with changing scope.


dan



base64.diff
Description: Binary data


___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel