Permalink
Commits on May 31, 2012
  1. Merge pull request #91 from macrotis/struct-use-block-attr-accessors

    Use blocks for attribute accessors in Struct to facilitate proper aliasing behavior
    ferrous26 committed May 31, 2012
  2. Bump version to 0.13

    Given the likelihood (and timing) of needing a release for Mountain Lion,
    I do not think we should jump to 1.0 just yet. @lrz can have the honour of
    bumping the version to 1.0.
    honour of @lrz to perform.
    ferrous26 committed May 31, 2012
  3. Make macri parse all relevant source files (GH-85)

    
    This fix causes the Pointer class to show up in macri. However, it shows up without methods,
    so more investigation is still required into what is missing.
    ferrous26 committed May 31, 2012
Commits on May 30, 2012
Commits on May 28, 2012
  1. update rdoc's test to v3.5.3

    Watson1978 committed May 28, 2012
Commits on May 26, 2012
  1. Pass block environments to pl_imp_implementationWithBlock() directly …

    …instead of copying to heap
    macrotis committed May 26, 2012
Commits on May 25, 2012
Commits on May 23, 2012
  1. Update master to 69434c9

    macrotis committed May 23, 2012
  2. Replace MRI Struct attribute accessors with IMP-wrapped blocks, givin…

    …g each attr_accessor its own implementation in Objective-C
    macrotis committed May 23, 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 …

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

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

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

    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))
    Watson1978 committed May 15, 2012
  2. should not raise an exception, so implement vm_fast_mod(). fix #1471

    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
    Watson1978 committed May 15, 2012
Commits on Apr 24, 2012
  1. Merge pull request #64 from ferrous26/master

    Begin a new era for MacRuby
    ferrous26 committed Apr 24, 2012
Commits on Apr 23, 2012