Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 23, 2012
  1. @ferrous26
Commits on Jan 5, 2012
  1. @Watson1978
Commits on Apr 29, 2011
Commits on Jan 15, 2011
  1. update copyrights to 2011

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5168 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 14, 2011
  1. @Watson1978

    Module#public_method_defined? will return true when was passed name/s…

    Watson1978 authored
    …ymbol of public method.
    
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    class T
      def foo ; end
      def bar ; end
      def baz ; end
    
      protected :baz
      private :bar
    end
    
    assert_equal(true, T.public_method_defined?("foo"))
    assert_equal(true, T.public_method_defined?(:foo))
    
    assert_equal(false, T.public_method_defined?("bar"))
    assert_equal(false, T.public_method_defined?(:bar))
    
    assert_equal(false, T.public_method_defined?("baz"))
    assert_equal(false, T.public_method_defined?(:baz))
    
    puts :ok
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5165 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 13, 2011
  1. @Watson1978

    Module#method_defined? will return false when was passed name of priv…

    Watson1978 authored
    …ate method.
    
    Test Script:
    {{{
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    module Foo
      class Bar
        def public_method ; end
    
        protected
        def protected_method ; end
    
        private
        def private_method ; end
      end
    end
    
    assert_equal(true,  Foo::Bar.method_defined?("public_method"))
    assert_equal(true,  Foo::Bar.method_defined?("protected_method"))
    assert_equal(false, Foo::Bar.method_defined?("private_method"))
    assert_equal(false, Foo::Bar.method_defined?(:private_method))
    
    puts :ok
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5162 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jan 10, 2011
  1. @Watson1978

    Module#public (and some method) with untrusted will not throw a Secur…

    Watson1978 authored
    …ityError.
    
    Test Script:
    {{{
    class T
      def foo ; end
    end
    
    module M
      def bar ; end
    end
    
    T.untrust
    M.untrust
    $SAFE = 4
    
    T.class_eval{ public :foo }
    T.class_eval{ protected :foo }
    T.class_eval{ private :foo }
    
    M.module_eval{ module_function :bar }
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5151 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. @Watson1978

    Module#undef_method with untrusted will not throw a SecurityError.

    Watson1978 authored
    Test Script:
    {{{
    class T
      def foo ; end
    end
    
    T.untrust
    $SAFE = 4
    
    T.class_eval{ undef_method :foo }
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5150 23306eb0-4c56-4727-a40e-e92c0eb68959
  3. @Watson1978

    Module#remove_method with untrusted will not throw a SecurityError.

    Watson1978 authored
    Test Script:
    {{{
    class T
      def foo ; end
    end
    
    T.untrust
    $SAFE = 4
    
    T.class_eval{ remove_method :foo }
    }}}
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@5149 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Sep 27, 2010
  1. fix a bug when changing a method's visibility to public would not be …

    Laurent Sansonetti authored
    …taken into account
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4544 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jul 8, 2010
  1. Move Obj-C related headers around.

    Thibault Martin-Lagardette authored
    Snything that is Obj-C related is now in a separate header. This will avoid "true" to already be defined for example.
    
     - Fixes <rdar://problem/7871199>
     - Fixes #728
    
    
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4330 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Jun 1, 2010
  1. per-vm method cache + misc fixes/improvements

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@4181 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Feb 13, 2010
  1. Kernel#respond_to_missing?: added

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3522 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Feb 10, 2010
  1. cleaning a bit public headers, added support for methods defined for …

    Laurent Sansonetti authored
    …the MRI ABI (using rb_define_method & friends), removed unused code
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3474 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Dec 23, 2009
  1. when changing the visibility of a method and duplicating its entry in…

    Laurent Sansonetti authored
    … the lookup table, be sure to keep the same flags too
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3161 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Nov 23, 2009
  1. fixed Module#method_defined?

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3041 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Nov 5, 2009
  1. moved the removed_method code to the VM + fixed undef_method callbacks

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2960 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Nov 3, 2009
  1. make sure Kernel#respond_to? doesn't call itself stupid^Wrecursively

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2947 23306eb0-4c56-4727-a40e-e92c0eb68959
  2. when changing the visibility of a method that is included in classes,…

    Laurent Sansonetti authored
    … make sure the new flags are recursively applied
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2942 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Oct 21, 2009
  1. @alloy
Commits on Oct 19, 2009
  1. @alloy

    Replace method implementation with a stub when remove_method is used.…

    alloy authored
    … This is later used to check if we should lookup the method in the ancestor chain.
    
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2854 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 25, 2009
  1. fixed Module#method_defined?

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2375 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 22, 2009
  1. fixing and adding several missing ruby method features

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2357 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on Aug 16, 2009
  1. faster respond_to? primitive using the objc cache

    Laurent Sansonetti authored
    git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2332 23306eb0-4c56-4727-a40e-e92c0eb68959
Commits on May 22, 2009
  1. fix a few regressions

    Laurent Sansonetti authored
Commits on May 4, 2009
  1. removing extra fat out of objc.m

    Laurent Sansonetti authored
Commits on Apr 17, 2009
  1. work in progress on the new c/objc dispatcher

    Laurent Sansonetti authored
Commits on Mar 27, 2009
  1. fixed +[NSObject new:] + minor things

    Laurent Sansonetti authored
Commits on Mar 20, 2009
Commits on Mar 11, 2009
  1. committing experimental branch content

    Laurent Sansonetti authored
Something went wrong with that request. Please try again.