Permalink
Commits on Aug 16, 2016
  1. Correct method name

    committed Aug 16, 2016
Commits on Aug 13, 2016
  1. Merge pull request #3194 from nobu/chained-rhs

    parse.y: fix chained assignments
    matz committed on GitHub Aug 13, 2016
  2. parse.y: fix chained assignments

    fix syntax errors with chained assignment with op assign.
    reported [Bug:12669] in bugs.ruby-lang.org fixed in CRuby 2.4.
    nobu committed Aug 13, 2016
Commits on Aug 12, 2016
  1. Merge pull request #3193 from nobu/rhs-rescue

    parse.y: simplify 90e8ce5
    matz committed on GitHub Aug 12, 2016
  2. parse.y: simplify 90e8ce5

    simplify tOP_ASGN rules by command_rhs and arg_rhs rules with
    %prec.
    nobu committed Aug 12, 2016
Commits on Aug 11, 2016
  1. parse.y: rescue modifiers for OP_ASGN should protect rhs only

    reported in [Bug:12402] in bugs.ruby-lang.org fixed in CRuby 2.4
    matz committed Aug 11, 2016
Commits on Aug 8, 2016
  1. update copyright notice and license description for mt19937ar.[ch]

    despite the fact original authors agreed to distribute their work
    under MIT license, it does not mean mt19937ar.[ch] became the work
    of mruby developers. To clarify, we updated copyright and license
    notice of the source files.
    matz committed Aug 8, 2016
Commits on Aug 2, 2016
  1. Merge pull request #3189 from wrl/public-hash-values

    make mrb_hash_values() a public API function
    matz committed on GitHub Aug 2, 2016
Commits on Aug 1, 2016
Commits on Jul 31, 2016
  1. Merge pull request #3188 from guoxiao/warning

    intptr_t should be used instead of uint32_t to hold a pointer.
    matz committed on GitHub Jul 31, 2016
  2. intptr_t should be used instead of uint32_t to hold a pointer.

    Fix warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    guoxiao committed Jul 31, 2016
Commits on Jul 28, 2016
  1. Merge pull request #3186 from rmalizia44/patch-2

    Update mirb.c
    matz committed on GitHub Jul 28, 2016
Commits on Jul 27, 2016
  1. Update mirb.c

    rmalizia44 committed on GitHub Jul 27, 2016
  2. Merge pull request #3185 from kou/string-reduce-needless-array

    Reduce needless Array generation in some String methods
    matz committed on GitHub Jul 27, 2016
  3. Reduce needless Array generation in some String methods

    Here are some benchmarks:
    
    each_char:
    
        # /tmp/each_char.rb
        a = "a" * 1000000
        a.each_char do |x|
        end
    
    Without this change:
    
        % time bin/mruby /tmp/each_char.rb
        bin/mruby /tmp/each_char.rb  1.07s user 0.02s system 99% cpu 1.088 total
    
    With this change:
    
        % time bin/mruby /tmp/each_char.rb
        bin/mruby /tmp/each_char.rb  0.52s user 0.01s system 99% cpu 0.530 total
    
    2 times faster with this change.
    
    codepoints:
    
        # /tmp/codepoints.rb
        a = "a" * 1000000
        a.codepoints do |x|
        end
    
    Without this change:
    
        % time bin/mruby /tmp/codepoints.rb
        bin/mruby /tmp/codepoints.rb  1.16s user 0.05s system 99% cpu 1.216 total
    
    With this change:
    
        % time bin/mruby /tmp/codepoints.rb
        bin/mruby /tmp/codepoints.rb  0.56s user 0.02s system 99% cpu 0.589 total
    kou committed Jul 27, 2016
Commits on Jul 26, 2016
  1. Merge pull request #3184 from ksss/each_char

    Support to call without block to String#each_char
    matz committed on GitHub Jul 26, 2016
Commits on Jul 25, 2016
  1. Merge pull request #3182 from sdottaka/fix-broken-msvc-build

    Fix broken msvc build
    matz committed on GitHub Jul 25, 2016
  2. Merge pull request #3181 from sdottaka/fix-crash-on-mrb_parser_free

    Fix crash in mrb_parser_free() due to freed memory access
    matz committed on GitHub Jul 25, 2016
  3. Merge pull request #3183 from Mav7/mav7/docs

    yard docs for string.h
    matz committed on GitHub Jul 25, 2016
  4. Merge pull request #3179 from ksss/struct

    Should not define to `Struct` class
    matz committed on GitHub Jul 25, 2016
  5. Fixed crash error when #initialize is redefined for Struct; fix #3177

    refactored redundant functions; removed optimized accessors for safety
    this fix also close #3178
    matz committed Jul 25, 2016
Commits on Jul 23, 2016
  1. yard docs for string.h

    Mav7 committed Jul 23, 2016
  2. Fix broken msvc build

    sdottaka committed Jul 23, 2016
Commits on Jul 22, 2016
  1. Add regression test

    ksss committed Jul 22, 2016
  2. Should not define to `Struct` class

    ksss committed Jul 22, 2016
Commits on Jul 14, 2016
  1. Merge pull request #3176 from ksss/string-insert

    String#insert should be destructive
    matz committed on GitHub Jul 14, 2016
  2. String#insert should be destructive

    ksss committed Jul 14, 2016
  3. Merge pull request #3174 from ksss/local-jump-error

    Should raise LocalJumpError when no block given
    matz committed on GitHub Jul 14, 2016
Commits on Jul 12, 2016
Commits on Jul 8, 2016
  1. Merge pull request #3171 from kjunichi/c-has-no-try

    C doesn't have try-catch
    matz committed on GitHub Jul 8, 2016