Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 29, 2011
  1. @Watson1978

    IO#reopen will accept an object that has a #to_path method.

    Watson1978 authored
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    FILE1 = "tmp.xxxxxx"
    FILE2 = "tmp.reopen.xxxxx"
    
    io = File.open(FILE1, "w")
    
    obj = Object.new
    def obj.to_path
      FILE2
    end
    
    io.reopen(obj, "w")
    io.puts "hello world"
    io.close
    
    File.open(FILE2, "r") { |f|
      assert_equal("hello world\n", f.gets)
    }
    
    File.unlink(FILE1)
    File.unlink(FILE2)
    
    puts :ok
    }}}
  2. @Watson1978

    Object#instance_eval will raise a TypeError when defining/alias metho…

    Watson1978 authored
    …ds on numerics.
    
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    assert_raise(TypeError){ 1.instance_eval { def foo; end } }
    assert_raise(TypeError){ 1.instance_eval { alias :foo :to_s} }
    
    puts :ok
    }}}
  3. @Watson1978

    Object#instance_exec will raise a TypeError when defining/alias metho…

    Watson1978 authored
    …ds on numerics.
    
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    assert_raise(TypeError){ 1.instance_exec { def foo; end } }
    assert_raise(TypeError){ 1.instance_exec { alias :foo :to_s} }
    
    puts :ok
    }}}
  4. @lrz
  5. @lrz
  6. @lrz
  7. @Watson1978

    enumerator_allocate() needs sel argument because "alloc" method is de…

    Watson1978 authored
    …fined with rb_objc_define_method().
Commits on Mar 28, 2011
  1. @ferrous26 @lrz

    Use rsync instead of cp for embedding MacRuby in ruby_deploy

    ferrous26 authored lrz committed
    This allows the use of path exclusion instead of copying
    everything and then removing what is not needed.
  2. @alloy @lrz

    Add contribute section to README.

    alloy authored lrz committed
Commits on Mar 25, 2011
  1. better git command

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5308 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. auto-detect if we run from a git repository

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5307 23306eb0-4c56-4727-a40e-e92c0eb68959
  3. @Watson1978

    Hash#{clone, dup} will copy status of untrust.

    Watson1978 authored
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    a = { 1 => 'one', 2 => 'two', 3 => 'three' }
    a.untrust
    a.taint
    a.freeze
    
    b = a.clone
    assert_equal(a.untrusted?, b.untrusted?)
    assert_equal(a.tainted?, b.tainted?)
    assert_equal(a.frozen?, b.frozen?)
    
    c = a.dup
    assert_equal(a.untrusted?, c.untrusted?)
    assert_equal(a.tainted?, c.tainted?)
    assert_equal(false, c.frozen?)
    
    puts :ok
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5306 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Mar 24, 2011
  1. fix a bug in the build system when some header files would not be loc…

    Laurent Sansonetti authored
    …ated (patch by kouji at takao7.net)
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5305 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Mar 23, 2011
  1. update installer with better warning message

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5299 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. trunk is now 0.11

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5298 23306eb0-4c56-4727-a40e-e92c0eb68959
  3. the framewokr

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5296 23306eb0-4c56-4727-a40e-e92c0eb68959
  4. @Watson1978

    Hash#[]= will not duplicate already frozen string key.

    Watson1978 authored
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    key = "foo".freeze
    h = {}
    h[key] = 42
    
    assert_equal( h.keys[0].object_id, key.object_id )
    
    puts :ok
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5295 23306eb0-4c56-4727-a40e-e92c0eb68959
  5. @Watson1978

    convert_type() should be passed value of boolean with 4th argument be…

    Watson1978 authored
    …cause its value is checked with "if (raise) " in convert_type().
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5294 23306eb0-4c56-4727-a40e-e92c0eb68959
  6. @mattetti

    slight cleanup of the Core Data template

    mattetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5293 23306eb0-4c56-4727-a40e-e92c0eb68959
  7. install the xcode4 templates one directory above the tree

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5292 23306eb0-4c56-4727-a40e-e92c0eb68959
  8. add basic Ruby file template

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5291 23306eb0-4c56-4727-a40e-e92c0eb68959
  9. oops

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5290 23306eb0-4c56-4727-a40e-e92c0eb68959
  10. move

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5289 23306eb0-4c56-4727-a40e-e92c0eb68959
  11. move

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5288 23306eb0-4c56-4727-a40e-e92c0eb68959
  12. create subdirectories for templates

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5287 23306eb0-4c56-4727-a40e-e92c0eb68959
  13. add a Deployment target

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5286 23306eb0-4c56-4727-a40e-e92c0eb68959
  14. retrieve the app bundle path from the xcode environment because xcode…

    Laurent Sansonetti authored
    …4 is too buggy to actually pass it properly
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5285 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Mar 21, 2011
  1. @mattetti
  2. @mattetti
  3. @mattetti

    removed rb_nibtool.old

    mattetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5282 23306eb0-4c56-4727-a40e-e92c0eb68959
  4. @mattetti
Commits on Mar 20, 2011
  1. @mattetti

    changed the Xcode4 templates to not use a dynamic app delegate class …

    mattetti authored
    …and therefore avoid issues when the project isn't named according to expectations.
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5280 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. add Xcode4 templates (contributed by Thibault)

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5279 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Mar 15, 2011
  1. fix a bug where converting a NULL pointer as an opaque type value to …

    Laurent Sansonetti authored
    …Ruby would not give nil (as in RubyCocoa)
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5278 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Mar 14, 2011
  1. fix a jit compilation error that could happen with the new llvm

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5277 23306eb0-4c56-4727-a40e-e92c0eb68959
Something went wrong with that request. Please try again.