Permalink
Commits on Jun 9, 2012
  1. Do not futz with framework versions during deployment [GH-101]

    ferrous26 committed Jun 6, 2012
    We are receiving reports that apps are being rejected from the app store
    now because of the file organization of MacRuby.framework when embedded
    into applications.
    
    Simply retaining the original version number and referring to the
    Current symlink may fix things, but if it doesn't then we'll have a lot
    more work to do...
Commits on Jun 5, 2012
  1. fix the buffer allocation in zstream_expand_buffer_into() since rb_bs…

    Watson1978 committed Jun 5, 2012
    …tr_new() does not allocate buffer to store the binary strings
Commits on Jun 4, 2012
  1. update copyright in BSDL

    Watson1978 committed Jun 4, 2012
Commits on May 28, 2012
Commits on May 22, 2012
Commits on May 17, 2012
Commits on May 16, 2012
  1. [fix #74] should not define the method into special constant objects …

    Watson1978 committed May 16, 2012
    …and symbols via instance_{eval, exec}
  2. [fix #73] should not remove the method from special constant objects …

    Watson1978 committed May 16, 2012
    …and symbols via instance_{eval, exec}
  3. Revert "does not get the information of included module recursively i…

    Watson1978 committed May 16, 2012
    …n Module#included_modules"
    
    This reverts commit 677f704.
    
    Sequel gem need this revert (#66)
Commits on May 15, 2012
  1. fix an overflow by multiplying

    Watson1978 committed May 15, 2012
    if multiply Fixnum value between about half of max of long type (32bit), calculated value is broken.
    
    Test Script
    ----
    require 'test/unit/assertions.rb'
    include Test::Unit::Assertions
    
    a = 2147483648
    b = 2147483647
    
    assert_equal(4611686016279904256, a * b)
    assert_equal(-4611686016279904256, (-a) * b)
    assert_equal(-4611686016279904256, a * (-b))
    assert_equal(4611686016279904256, (-a) * (-b))
  2. should not raise an exception, so implement vm_fast_mod(). fix #1471

    Watson1978 committed May 15, 2012
    The modulo between the Fixnum/Float is improved the performance by this patch.
    
    * before
          user     system      total        real
      1.000000   0.000000   1.000000 (  1.000743)
      1.030000   0.000000   1.030000 (  1.030479)
      1.090000   0.000000   1.090000 (  1.097021)
    
    * after
          user     system      total        real
      0.570000   0.000000   0.570000 (  0.577238)
      1.040000   0.000000   1.040000 (  1.031634)
      0.540000   0.000000   0.540000 (  0.539968)
    
    Test Script:
    ----
    require 'benchmark'
    
    Benchmark.bm do |x|
      x.report do
        10_000_000.times do
          42 % 1
        end
      end
    
      x.report do
        10_000_000.times do
          42 % 1.0
        end
      end
    
      x.report do
        10_000_000.times do
          42.0 % 1.0
        end
      end
    end
Commits on Apr 24, 2012
  1. Merge pull request #64 from ferrous26/master

    ferrous26 committed Apr 24, 2012
    Begin a new era for MacRuby
Commits on Apr 23, 2012
Commits on Apr 17, 2012
  1. sample-macruby/RoundTransparentWindow: remove InfoPlist.strings from …

    Watson1978 committed Apr 17, 2012
    …Project, because it does not exist
Commits on Apr 14, 2012
  1. Don't JIT rubyc during stdlib compilation

    ferrous26 committed Apr 14, 2012
    This cuts about 1/3 of the stdlib time for me.
Commits on Apr 13, 2012
  1. sample-macruby/MarkdownViewer: Change the Markdown engine to support …

    Watson1978 committed Apr 13, 2012
    …the GitHub Flavored Markdown
Commits on Apr 11, 2012