Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 16, 2012
  1. @Watson1978

    [fix #74] should not define the method into special constant objects …

    Watson1978 authored
    …and symbols via instance_{eval, exec}
  2. @Watson1978

    [fix #73] should not remove the method from special constant objects …

    Watson1978 authored
    …and symbols via instance_{eval, exec}
  3. @Watson1978
  4. @Watson1978
  5. @Watson1978
  6. @Watson1978
  7. @Watson1978
  8. @Watson1978
  9. @Watson1978

    Revert "does not get the information of included module recursively i…

    Watson1978 authored
    …n Module#included_modules"
    
    This reverts commit 677f704.
    
    Sequel gem need this revert (#66)
Commits on May 15, 2012
  1. @Watson1978
  2. @Watson1978
  3. @Watson1978
  4. @Watson1978

    fix an overflow by multiplying

    Watson1978 authored
    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))
  5. @Watson1978

    should not raise an exception, so implement vm_fast_mod(). fix #1471

    Watson1978 authored
    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. @ferrous26
  2. @ferrous26

    Merge pull request #64 from ferrous26/master

    ferrous26 authored
    Begin a new era for MacRuby
  3. @ferrous26
Commits on Apr 23, 2012
  1. @ferrous26
Commits on Apr 17, 2012
  1. @Watson1978
  2. @Watson1978

    sample-macruby/RoundTransparentWindow: remove InfoPlist.strings from …

    Watson1978 authored
    …Project, because it does not exist
Commits on Apr 14, 2012
  1. @ferrous26

    Don't JIT rubyc during stdlib compilation

    ferrous26 authored
    This cuts about 1/3 of the stdlib time for me.
Commits on Apr 13, 2012
  1. @Watson1978

    sample-macruby/MarkdownViewer: Change the Markdown engine to support …

    Watson1978 authored
    …the GitHub Flavored Markdown
  2. @ferrous26
  3. @ferrous26
Commits on Apr 11, 2012
  1. @Watson1978
  2. @Watson1978
  3. @ferrous26
Commits on Apr 10, 2012
  1. @ferrous26
Commits on Apr 9, 2012
  1. @Watson1978
Commits on Apr 6, 2012
  1. @Watson1978

    add an Enumeration process in String#upto

    Watson1978 authored
    This commit supports following:
    	"9".upto("11").to_a  # => ["9", "10", "11"]
  2. @Watson1978
  3. @Watson1978

    trim a colon from method name which is returned by Enumerator#inspector

    Watson1978 authored
    before:
    #<Enumerator: "1":upto:("10")>
    
    after:
    #<Enumerator: "1":upto("10")>
  4. @Watson1978
  5. @Watson1978

    return from first i() if n is equal and less than zero, because rb_it…

    Watson1978 authored
    …er_break() does not return like CRuby. fix #1496
Commits on Apr 5, 2012
  1. @Watson1978
Something went wrong with that request. Please try again.