[MacRuby-devel] experimental branch: status update

Conrad Taylor conradwt at gmail.com
Wed Aug 5 02:00:41 PDT 2009


On Tue, Aug 4, 2009 at 1:59 PM, Laurent Sansonetti <lsansonetti at apple.com>wrote:

> 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


I'm seeing the following warning messages after "sudo rake install":

unknown: warning: File::new() does not take block; use File::open() instead

Also, running "rake spec:ci" generates the following message:

Begin Message:

$ rake spec:ci
(in /Users/conradwt/macruby.dir/projects/macruby-experimental)
./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec  :full
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
.[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/method.m'
.[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/constant.m'
.[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/exception.m'
......[!] Compiling fixture
`/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/object.m'
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................internal
error while reading stream: The operation couldn’t be completed. Bad file
descriptorises an ArgumentError if not given an argument
fails:Integer#lcm raises an ArgumentError if given more than one argument
fails:Integer#lcm raises an ArgumentErro??%?????????????` (RuntimeError)
rake aborted!
Command failed with status (1): [./mspec/bin/mspec ci -I./lib -B
./spec/mac...]

(See full trace by running task with --trace)

End Message:

So, I executed the following:

rake clean
rake
sudo rake install
rake spec:ci

Begin Message:

1540 files, 6265 examples, 18457 expectations, 0 failures, 0 errors

End Message:


>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090805/362e679c/attachment-0001.html>


More information about the MacRuby-devel mailing list