Permalink
Commits on Jul 21, 2017
  1. Fix url

    matsumotory committed Jul 21, 2017
  2. Squashed 'mruby_test/' changes from 964a02f..5fee3f5

    matsumotory committed Jul 21, 2017
    5fee3f5 Move NULL check to `mrb_env_unshare()`; ref #3750
    e2c9a30 Should not raise `LocalJumpError` on funcall'ed frame; fix #3750
    04c21d9 Merge pull request #3749 from christopheraue/fix_spec_rbfiles
    25a0a6b Need to patch `OP_GETUPVAR` and `OP_SETUPVAR`; fix #3732
    5a9eedf Fixed setting custom rbfiles in gemspec
    aa3cb04 Avoid C undefined behavior of division by zero; close #3745
    ca2cfc6 Merge pull request #3746 from christopheraue/mod_singleton_class_p
    645b0fb Merge branch 'christopheraue-const_set_mod_to_s'
    14a72b0 Avoid constant-set duplication; ref #3747
    a8bffda Merge branch 'const_set_mod_to_s' of https://github.com/christopheraue/mruby into christopheraue-const_set_mod_to_s
    468cc34 Fixed Module#to_s and #name for #const_set modules
    dd52b88 implemented Module#singleton_class?
    329938e Simplify `mrb_gc_arena_restore()` to reduce overhead.
    52aafcd Merge pull request #3743 from christopheraue/sprintf_d_tests
    59eaad9 Merge pull request #3742 from christopheraue/iter_exp_tests
    2730231 added tests for #3736
    8fe2a6c added basic tests for while/until/break/next
    515a093 Add `Hash#transform_keys!` and `Hash#transform_values`.
    d7fef24 Use `keys.each` instead of unstable `each_keys`.
    460d628 Remove duplication in `mruby-hash-ext` test.
    1c02b85 Avoid duplicated width filling for sprintf `%d` specifier; fix #3736
    de3edcc Add `Hash#transform_{keys,values}` to `mruby-hash-ext`.
    bad807e Use `floor()` to implement `round()` on WIN32 platform.
    70e99d6 Define `round()` only on WIN32 platform; fix #3741
    7fa9321 `while`|`until` should have the value from `break`; fix #3735
    e5fbe35 Avoid float operation to shrink arena buffer size.
    9501b18 Add `inline` modifier to `cipush()` and `cipop()` functions.
    a18904a Use "$!" specifier of `mrb_get_args`.
    e9b5712 Update `mrb_get_args()` document.
    adf453a Add "*!" argument specifier to avoid stack copying.
    059d707 Add `ary_modify_check()` to `Array#unshift`; ref #3737
    e1de861 Merge pull request #3740 from christopheraue/fix_test_output
    495a2e6 fixed printing failed assertions
    fc666bf `POSFIXABLE` and `NEGFIXABLE` should take one argument.
    46dee57 Resurrect `POSFIXABLE` and `NEGFIXABLE`; ref 9186828
    01fce3d Merge pull request #3739 from ksss/array-shift
    bf48473 Should only check frozen for Array#pop
    c76dc33 Add frozen test for Array#shift
    e581f2e Should only check frozen fix #3737
    ce6c056 Add fallback definitions of `DBL_EPSILPN` and `LDBL_EPSILON`; fix #3733
    718a9ce Reduce allocation size of backtrace arrays.
    542f0f7 Avoid out-of-bounds access of the backtrace array.
    9186828 `FIXABLE_FLOAT()` fails sometimes in `MRB_INT64` environment.
    cc04f03 `print("%d", 0)` should not print `-0`; fix #3731
    2ef5d22 Put a space between error position and error message.
    b68e7a6 Negation was not a good way to handle negative integers; fix #3729
    b643a1a In Ruby, `sprintf` specifier `%u` should behave as `%d`; fix #3730
    bd66c5d Check stack size before accessing env stack; fix #3727
    cc01ded Avoid undefined behavior of left shifting negative integer; #3728
    c377d50 Avoid undefined behavior of signed integer overflow; fix #3728
    c6bd8ce Merge pull request #3726 from mruby/stable
    277391e Set the mruby-1.3.0 release date to `2017-7-4`.
    e9cdc88 Refactor `sprintf()` code.
    31bc2b0 Initialize `flags` for each loop.
    ba1cd56 Fixed an unit test to work on Cygwin.
    9b8956c `break` should not cross fiber-context boundary; fix #3724
    7d99830 `super` may be called from a block; fix #3723
    466a18b Remove redundant use of `Object#to_s` in interpolation.
    aee1476 Provide better way to check compile errors.
    15945e1 Revert "Make `mrb_load_exec` a static function."
    f0abd42 Avoid `mrb_funcall()` unless absolutely necessary; ref #3722
    3554a41 Remove unnecessary initialization of a local variable.
    877e165 No longer need to copy `argv` from `mrb_get_args`; ref #3722
    1a3b323 Copy argv from VM stack to avoid use-after-free; fix #3722
    b30eba6 Make `LocalJumpError` a subclass of `ScriptError`.
    d0717ef Should raise an exception if `break` called in ensure; fix #3721
    7944d9a Make `mrb_load_exec` a static function.
    9a59cd7 Silence `mrbmemcpy` and `mrbmemset` warnings.
    b200c74 No need to mark stacks of terminated fibers; fix #3720
    c41e262 Add write barrier to protect singleton class from GC; fix #3717
    af0bef6 Silence rubocop warnings.
    e8a4e42 Add write barrier to protect proc reference from fiber; fix #3719
    464d3fc Use `alias enum_for to_enum` instead of `alias :enum_for :to_enum`.
    057be5f use `unless` instead of `if not`.
    d0a7e01 Should call `ecall()` before callinfo adjustment; fix #3715
    bf1cb87 Array size can be cause integer overflow; fix #3710
    39779b3 Merge pull request #3718 from miura1729/original
    0fa94f9 #3711 fix
    615e7e4 Avoid using `snprintf(3)` in case `MRB_DISABLE_STDIO`; fix #3714
    455f395 Merge pull request #3713 from Asmod4n/patch-2
    abca63c Save gc_arena after buffer got allocated
    0de7eec Fixed disclosure of local variables by `eval`; ref #3710
    4d3027b Increment the version number to `1.3.0`.
    ea250d5 Increment `RITE_BINARY_FORMAT_VER`.
    667e788 Use `mrb_int` instead of `int` as argument to `mrb_hash_new_capa`.
    b0f918d Use `mrb_int` instead of `int`.
    4b55174 Merge pull request #3706 from MasahikoSawada/fix_typo
    08c385f Mark the GC arena in `final_marking_phase`.
    819ccd3 Mark the root context in `final_marking_phase`.
    8daabe7 Mark global variables in `final_marking_phase`; fix #3704
    a985847 Store operands to local variables.
    497a0a7 Correct comments in gc.c
    aa8121c Use `mrb_int` instead of `size_t` for array capacity and length.
    4f0900e Fix a typo in gc.c.
    0411cea Use `MRB_PRId` instead of `d` for mrb_int decimal specifier; ref #3701
    6fdf2b0 Merge branch 'ksss-string-upto'
    e96f254 Use `mrb_str_new()` instead of `malloc()`; ref #3701
    473b2bb Should not use `sizeof(buf)` when `buf` is `char*`; #3701
    a7770a3 Merge branch 'string-upto' of https://github.com/ksss/mruby into ksss-string-upto
    d4d99dd Allow `break` from a block called by `mrb_yield`; close #3359
    9e6a3f6 Use `MRB_THROW` instead of `mrb_exc_raise`.
    6a66ce1 Need to unshare env from top callinfo; fix #3685
    ebd6636 Call write barriers for stack-modified fibers; fix #3699
    d7e09ff Print the file name along with line number on syntax errors; fix #3698
    47bd44f Prevent Fiber#initialize to be called twice; fix #3705
    b298e24 Protect the last exception object from GC in `ecall`; fix #3702
    357e478 Mark the exception object in the final marking phase; ref #3702
    52443c8 Save the register value in a local variable for ease of debugging.
    988e2ce Ensure size of the stack before handling exceptions; fix #3693
    af6041f Ensure size of the stack in OP_CALL.
    bb1bfaa Add helper functions to use gdb reverse-next.
    4d9ca27 Use malloc instead of dynamic allocation
    432a813 Fix arena overflow error
    19785f4 Reimplement String#upto
    b979226 Clear stack in OP_CALL; fix #3694
    7830b84 Fixed uninitialized local variable bug; ref #3692
    b32ad13 The out-of-memory error should not be an instance of RuntimeError.
    edb5b36 Avoid out-of-bound access of VM stack in OP_SENDB; fix #3692
    b9f771d Handles exceptions from code generation phase; fix #3695
    fc7096f Limit recursion level of `codegen()`; fix #3690
    788cea2 Revert "Simplify rescue stack management; ref #3683"
    c9a4f8a Prohibit changing generational mode during GC disabled; fix #3689
    935649b Check if a block is a lambda before marking it orphan; ref #3640
    c041206 Add checks for `break from proc-closure`; fix #3640
    ab85d3c Make `break` in lambdas work as `return` according to CRuby behavior.
    7f417ad Revert "Update NODE_BLOCK check logic in `void_expr_error`."
    a8bf374 Fixed a bug that make a loop in singleton_class clone; fix #3687
    31e3068 Update NODE_BLOCK check logic in `void_expr_error`.
    563036e Restore `test/t/codegen.rb`
    0f2f021 Fixed a bug in `void_expr_error`.
    b59d244 Add more precise void expression checks; ref #3686
    e0fbf25 Remove tests which can not be compiled on CRuby.
    079f310 Adjust ridx if `mrb_yield` terminated by `break`; fix #3686
    51e0e69 Avoid invoking GC when disabled or iterating; fix #3681
    87cc034 Call `stack_clear()` after `stack_extend()`; fix #3682
    eb5a606 Simplify rescue stack management; ref #3683
    7ff90b5 Simplify ensure stack management; fix #3683
    72b635f Hide OP_EXEC lambda body from `ObjectSpace#each_object`; fix #3680
    90fb4dd Print most recent call last as CPython does.
    a893877 Check for super using OP_ARGARY; fix #3678
    b0f2bc3 Clear VM stack in OP_EXEC; ref #3678
    eb69eeb Simplify code since OP_EXEC never takes CFUNC Proc; #3678
    ff7df93 Restore MRB_API function `mrb_exc_backtrace(mrb, exc)`; ref 9644ad5
    2837de9 Prevent splicing big recursive arrrays; ref #3679
    b4a4e3c Simplify the logic in `mrb_realloc`; ref #3679
    7dbbd77 Revert 4566c80; fix #3679
    877f9d0 Avoid infinite loop on negative exponent; fix #3677
    acd3ac6 Reduce the size of VM stack clear window; ref #3676
    2599c19 Clear VM stack for top level; fix #3676
    ef11584 Check env context before jump from OP_RETURN; fix #3673
    27a5e10 Avoid using C++ style comments (//).
    4b15d5d Initialize String before Exception; fix #3672
    650cfb9 Exceptions in fibers must be re-raised via `#resume`; fix #3675
    cbd4aae Mark the proc object representing top-level as an internal object; #3621
    abed375 Mark proc objects representing methods as internal objects; fix #3621
    02670ff Protect the returning value in OP_RETURN; fix #3669
    9f634a6 Mark the current context (not root) in final marking.
    8e390cc Fixed rounding functions (round,ceil,floor,truncate) in MRB_INT64.
    34dd258 Unwind callinfo (mrb->c->ci) when a fiber termitates with error.
    57ffa1c Avoid unsharing env when context (mrb->c) differs; ref #3668
    54b45f6 Use RData instead of String to represent backtrace.
    f269d1e Distinguish OP_R_NORMAL and OP_R_RETURN.
    e3438f4 Invoke ensure clauses on Fiber termination; fix #3666
    83fc915 Add new range check macro FIXABLE_FLOAT(); ref #3652
    3c31278 Fix indentation in mrb_init_numeric()
    535f13f fixup! Let Fixnum#{ceil,floor,round,truncate} to return itself; #3652
    c80696f Let Fixnum#{ceil,floor,round,truncate} to return itself; #3652
    06c4933 Try our own `ipow()` if both base and exp are fixnums; fix #3652
    9e40586 Add cast to `mrb_int` in `mrb_fixnum()` when MRB_WORD_BOXING.
    7e47316 Fixed off-by-one error in `fiber_switch()`; ref #3641
    f75f506 Revert 01f7825; fix #3650
    ac442bc Raise an exception when transfer arguments are too many; fix #3641
    de48d95 Avoid marking possibly freed stack; #3550 #3612
    c53747d Revert "Use env preserved in Proc structure in ecall(); fix #3612"
    517cd51 Invoke ensure clauses before switching context from fibers; fix #3662
    ed16535 Clear top level env in `mrb_top_run()`; fix #3643
    f88cb88 Avoid unsharing stack if env refers top-level; ref #3643
    e093112 Check env stack length before `OP_SETUPVAR`; ref #3643
    e969229 Check backtrace info may not be set (esp. NoMemError); fix #3663
    5e1a6a2 Make `gen_assignment()` to support `NODE_SCALL`; ref #3658
    4566c80 Free given pointer if `realloc()` fails; fix #3658
    ff46957 Avoid using `mrb_raise()` in `mrb_vm_exec()`; ref #3660
    3ef97e3 Under MRB_INT64, width may be bigger than INT_MAX; fix #3665
    9bca887 Preserve the current pc before `method_missing()`; fix #3660
    9644ad5 Simplify backtrace mechanism; fix #3633 #3634 #3644
    d2458e6 Remove class info from backtrace lines.
    497b19c Support the case when the backtrace is not an array.
    a1ea2a6 Use index in `each_object`.
    24a24a4 Type check before `print_backtrace()`
    bb0b52a Update comments regarding Exception#to_str
    1bb6964 Merge pull request #3661 from ksss/string-concat
    98f9c33 String#concat: Try to convert when not string
    78add72 Merge pull request #3659 from craiglrock/master
    3de2da4 Avoid call to_s during backtrace traversal
    82bc036 Merge pull request #3657 from ksss/str-embed
    bdb36b3 Make string embad from shared
    171e732 Merge pull request #3656 from clayton-shopify/fix-codegen-default
    bf30b8e Change return back to break in the default case.
    011e0bb Merge pull request #3649 from ksss/sprintf
    30df7c8 Fix segmentation fault ref: #3648
    ef30530 Merge pull request #3647 from ksss/split
    8cba9a9 Adjust to the optimum type
    
    git-subtree-dir: mruby_test
    git-subtree-split: 5fee3f5869fae54cf5be70989942c0b43301d10b
  3. Squashed 'mruby/' changes from 964a02f..5fee3f5

    matsumotory committed Jul 21, 2017
    5fee3f5 Move NULL check to `mrb_env_unshare()`; ref #3750
    e2c9a30 Should not raise `LocalJumpError` on funcall'ed frame; fix #3750
    04c21d9 Merge pull request #3749 from christopheraue/fix_spec_rbfiles
    25a0a6b Need to patch `OP_GETUPVAR` and `OP_SETUPVAR`; fix #3732
    5a9eedf Fixed setting custom rbfiles in gemspec
    aa3cb04 Avoid C undefined behavior of division by zero; close #3745
    ca2cfc6 Merge pull request #3746 from christopheraue/mod_singleton_class_p
    645b0fb Merge branch 'christopheraue-const_set_mod_to_s'
    14a72b0 Avoid constant-set duplication; ref #3747
    a8bffda Merge branch 'const_set_mod_to_s' of https://github.com/christopheraue/mruby into christopheraue-const_set_mod_to_s
    468cc34 Fixed Module#to_s and #name for #const_set modules
    dd52b88 implemented Module#singleton_class?
    329938e Simplify `mrb_gc_arena_restore()` to reduce overhead.
    52aafcd Merge pull request #3743 from christopheraue/sprintf_d_tests
    59eaad9 Merge pull request #3742 from christopheraue/iter_exp_tests
    2730231 added tests for #3736
    8fe2a6c added basic tests for while/until/break/next
    515a093 Add `Hash#transform_keys!` and `Hash#transform_values`.
    d7fef24 Use `keys.each` instead of unstable `each_keys`.
    460d628 Remove duplication in `mruby-hash-ext` test.
    1c02b85 Avoid duplicated width filling for sprintf `%d` specifier; fix #3736
    de3edcc Add `Hash#transform_{keys,values}` to `mruby-hash-ext`.
    bad807e Use `floor()` to implement `round()` on WIN32 platform.
    70e99d6 Define `round()` only on WIN32 platform; fix #3741
    7fa9321 `while`|`until` should have the value from `break`; fix #3735
    e5fbe35 Avoid float operation to shrink arena buffer size.
    9501b18 Add `inline` modifier to `cipush()` and `cipop()` functions.
    a18904a Use "$!" specifier of `mrb_get_args`.
    e9b5712 Update `mrb_get_args()` document.
    adf453a Add "*!" argument specifier to avoid stack copying.
    059d707 Add `ary_modify_check()` to `Array#unshift`; ref #3737
    e1de861 Merge pull request #3740 from christopheraue/fix_test_output
    495a2e6 fixed printing failed assertions
    fc666bf `POSFIXABLE` and `NEGFIXABLE` should take one argument.
    46dee57 Resurrect `POSFIXABLE` and `NEGFIXABLE`; ref 9186828
    01fce3d Merge pull request #3739 from ksss/array-shift
    bf48473 Should only check frozen for Array#pop
    c76dc33 Add frozen test for Array#shift
    e581f2e Should only check frozen fix #3737
    ce6c056 Add fallback definitions of `DBL_EPSILPN` and `LDBL_EPSILON`; fix #3733
    718a9ce Reduce allocation size of backtrace arrays.
    542f0f7 Avoid out-of-bounds access of the backtrace array.
    9186828 `FIXABLE_FLOAT()` fails sometimes in `MRB_INT64` environment.
    cc04f03 `print("%d", 0)` should not print `-0`; fix #3731
    2ef5d22 Put a space between error position and error message.
    b68e7a6 Negation was not a good way to handle negative integers; fix #3729
    b643a1a In Ruby, `sprintf` specifier `%u` should behave as `%d`; fix #3730
    bd66c5d Check stack size before accessing env stack; fix #3727
    cc01ded Avoid undefined behavior of left shifting negative integer; #3728
    c377d50 Avoid undefined behavior of signed integer overflow; fix #3728
    c6bd8ce Merge pull request #3726 from mruby/stable
    277391e Set the mruby-1.3.0 release date to `2017-7-4`.
    e9cdc88 Refactor `sprintf()` code.
    31bc2b0 Initialize `flags` for each loop.
    ba1cd56 Fixed an unit test to work on Cygwin.
    9b8956c `break` should not cross fiber-context boundary; fix #3724
    7d99830 `super` may be called from a block; fix #3723
    466a18b Remove redundant use of `Object#to_s` in interpolation.
    aee1476 Provide better way to check compile errors.
    15945e1 Revert "Make `mrb_load_exec` a static function."
    f0abd42 Avoid `mrb_funcall()` unless absolutely necessary; ref #3722
    3554a41 Remove unnecessary initialization of a local variable.
    877e165 No longer need to copy `argv` from `mrb_get_args`; ref #3722
    1a3b323 Copy argv from VM stack to avoid use-after-free; fix #3722
    b30eba6 Make `LocalJumpError` a subclass of `ScriptError`.
    d0717ef Should raise an exception if `break` called in ensure; fix #3721
    7944d9a Make `mrb_load_exec` a static function.
    9a59cd7 Silence `mrbmemcpy` and `mrbmemset` warnings.
    b200c74 No need to mark stacks of terminated fibers; fix #3720
    c41e262 Add write barrier to protect singleton class from GC; fix #3717
    af0bef6 Silence rubocop warnings.
    e8a4e42 Add write barrier to protect proc reference from fiber; fix #3719
    464d3fc Use `alias enum_for to_enum` instead of `alias :enum_for :to_enum`.
    057be5f use `unless` instead of `if not`.
    d0a7e01 Should call `ecall()` before callinfo adjustment; fix #3715
    bf1cb87 Array size can be cause integer overflow; fix #3710
    39779b3 Merge pull request #3718 from miura1729/original
    0fa94f9 #3711 fix
    615e7e4 Avoid using `snprintf(3)` in case `MRB_DISABLE_STDIO`; fix #3714
    455f395 Merge pull request #3713 from Asmod4n/patch-2
    abca63c Save gc_arena after buffer got allocated
    0de7eec Fixed disclosure of local variables by `eval`; ref #3710
    4d3027b Increment the version number to `1.3.0`.
    ea250d5 Increment `RITE_BINARY_FORMAT_VER`.
    667e788 Use `mrb_int` instead of `int` as argument to `mrb_hash_new_capa`.
    b0f918d Use `mrb_int` instead of `int`.
    4b55174 Merge pull request #3706 from MasahikoSawada/fix_typo
    08c385f Mark the GC arena in `final_marking_phase`.
    819ccd3 Mark the root context in `final_marking_phase`.
    8daabe7 Mark global variables in `final_marking_phase`; fix #3704
    a985847 Store operands to local variables.
    497a0a7 Correct comments in gc.c
    aa8121c Use `mrb_int` instead of `size_t` for array capacity and length.
    4f0900e Fix a typo in gc.c.
    0411cea Use `MRB_PRId` instead of `d` for mrb_int decimal specifier; ref #3701
    6fdf2b0 Merge branch 'ksss-string-upto'
    e96f254 Use `mrb_str_new()` instead of `malloc()`; ref #3701
    473b2bb Should not use `sizeof(buf)` when `buf` is `char*`; #3701
    a7770a3 Merge branch 'string-upto' of https://github.com/ksss/mruby into ksss-string-upto
    d4d99dd Allow `break` from a block called by `mrb_yield`; close #3359
    9e6a3f6 Use `MRB_THROW` instead of `mrb_exc_raise`.
    6a66ce1 Need to unshare env from top callinfo; fix #3685
    ebd6636 Call write barriers for stack-modified fibers; fix #3699
    d7e09ff Print the file name along with line number on syntax errors; fix #3698
    47bd44f Prevent Fiber#initialize to be called twice; fix #3705
    b298e24 Protect the last exception object from GC in `ecall`; fix #3702
    357e478 Mark the exception object in the final marking phase; ref #3702
    52443c8 Save the register value in a local variable for ease of debugging.
    988e2ce Ensure size of the stack before handling exceptions; fix #3693
    af6041f Ensure size of the stack in OP_CALL.
    bb1bfaa Add helper functions to use gdb reverse-next.
    4d9ca27 Use malloc instead of dynamic allocation
    432a813 Fix arena overflow error
    19785f4 Reimplement String#upto
    b979226 Clear stack in OP_CALL; fix #3694
    7830b84 Fixed uninitialized local variable bug; ref #3692
    b32ad13 The out-of-memory error should not be an instance of RuntimeError.
    edb5b36 Avoid out-of-bound access of VM stack in OP_SENDB; fix #3692
    b9f771d Handles exceptions from code generation phase; fix #3695
    fc7096f Limit recursion level of `codegen()`; fix #3690
    788cea2 Revert "Simplify rescue stack management; ref #3683"
    c9a4f8a Prohibit changing generational mode during GC disabled; fix #3689
    935649b Check if a block is a lambda before marking it orphan; ref #3640
    c041206 Add checks for `break from proc-closure`; fix #3640
    ab85d3c Make `break` in lambdas work as `return` according to CRuby behavior.
    7f417ad Revert "Update NODE_BLOCK check logic in `void_expr_error`."
    a8bf374 Fixed a bug that make a loop in singleton_class clone; fix #3687
    31e3068 Update NODE_BLOCK check logic in `void_expr_error`.
    563036e Restore `test/t/codegen.rb`
    0f2f021 Fixed a bug in `void_expr_error`.
    b59d244 Add more precise void expression checks; ref #3686
    e0fbf25 Remove tests which can not be compiled on CRuby.
    079f310 Adjust ridx if `mrb_yield` terminated by `break`; fix #3686
    51e0e69 Avoid invoking GC when disabled or iterating; fix #3681
    87cc034 Call `stack_clear()` after `stack_extend()`; fix #3682
    eb5a606 Simplify rescue stack management; ref #3683
    7ff90b5 Simplify ensure stack management; fix #3683
    72b635f Hide OP_EXEC lambda body from `ObjectSpace#each_object`; fix #3680
    90fb4dd Print most recent call last as CPython does.
    a893877 Check for super using OP_ARGARY; fix #3678
    b0f2bc3 Clear VM stack in OP_EXEC; ref #3678
    eb69eeb Simplify code since OP_EXEC never takes CFUNC Proc; #3678
    ff7df93 Restore MRB_API function `mrb_exc_backtrace(mrb, exc)`; ref 9644ad5
    2837de9 Prevent splicing big recursive arrrays; ref #3679
    b4a4e3c Simplify the logic in `mrb_realloc`; ref #3679
    7dbbd77 Revert 4566c80; fix #3679
    877f9d0 Avoid infinite loop on negative exponent; fix #3677
    acd3ac6 Reduce the size of VM stack clear window; ref #3676
    2599c19 Clear VM stack for top level; fix #3676
    ef11584 Check env context before jump from OP_RETURN; fix #3673
    27a5e10 Avoid using C++ style comments (//).
    4b15d5d Initialize String before Exception; fix #3672
    650cfb9 Exceptions in fibers must be re-raised via `#resume`; fix #3675
    cbd4aae Mark the proc object representing top-level as an internal object; #3621
    abed375 Mark proc objects representing methods as internal objects; fix #3621
    02670ff Protect the returning value in OP_RETURN; fix #3669
    9f634a6 Mark the current context (not root) in final marking.
    8e390cc Fixed rounding functions (round,ceil,floor,truncate) in MRB_INT64.
    34dd258 Unwind callinfo (mrb->c->ci) when a fiber termitates with error.
    57ffa1c Avoid unsharing env when context (mrb->c) differs; ref #3668
    54b45f6 Use RData instead of String to represent backtrace.
    f269d1e Distinguish OP_R_NORMAL and OP_R_RETURN.
    e3438f4 Invoke ensure clauses on Fiber termination; fix #3666
    83fc915 Add new range check macro FIXABLE_FLOAT(); ref #3652
    3c31278 Fix indentation in mrb_init_numeric()
    535f13f fixup! Let Fixnum#{ceil,floor,round,truncate} to return itself; #3652
    c80696f Let Fixnum#{ceil,floor,round,truncate} to return itself; #3652
    06c4933 Try our own `ipow()` if both base and exp are fixnums; fix #3652
    9e40586 Add cast to `mrb_int` in `mrb_fixnum()` when MRB_WORD_BOXING.
    7e47316 Fixed off-by-one error in `fiber_switch()`; ref #3641
    f75f506 Revert 01f7825; fix #3650
    ac442bc Raise an exception when transfer arguments are too many; fix #3641
    de48d95 Avoid marking possibly freed stack; #3550 #3612
    c53747d Revert "Use env preserved in Proc structure in ecall(); fix #3612"
    517cd51 Invoke ensure clauses before switching context from fibers; fix #3662
    ed16535 Clear top level env in `mrb_top_run()`; fix #3643
    f88cb88 Avoid unsharing stack if env refers top-level; ref #3643
    e093112 Check env stack length before `OP_SETUPVAR`; ref #3643
    e969229 Check backtrace info may not be set (esp. NoMemError); fix #3663
    5e1a6a2 Make `gen_assignment()` to support `NODE_SCALL`; ref #3658
    4566c80 Free given pointer if `realloc()` fails; fix #3658
    ff46957 Avoid using `mrb_raise()` in `mrb_vm_exec()`; ref #3660
    3ef97e3 Under MRB_INT64, width may be bigger than INT_MAX; fix #3665
    9bca887 Preserve the current pc before `method_missing()`; fix #3660
    9644ad5 Simplify backtrace mechanism; fix #3633 #3634 #3644
    d2458e6 Remove class info from backtrace lines.
    497b19c Support the case when the backtrace is not an array.
    a1ea2a6 Use index in `each_object`.
    24a24a4 Type check before `print_backtrace()`
    bb0b52a Update comments regarding Exception#to_str
    1bb6964 Merge pull request #3661 from ksss/string-concat
    98f9c33 String#concat: Try to convert when not string
    78add72 Merge pull request #3659 from craiglrock/master
    3de2da4 Avoid call to_s during backtrace traversal
    82bc036 Merge pull request #3657 from ksss/str-embed
    bdb36b3 Make string embad from shared
    171e732 Merge pull request #3656 from clayton-shopify/fix-codegen-default
    bf30b8e Change return back to break in the default case.
    011e0bb Merge pull request #3649 from ksss/sprintf
    30df7c8 Fix segmentation fault ref: #3648
    ef30530 Merge pull request #3647 from ksss/split
    8cba9a9 Adjust to the optimum type
    
    git-subtree-dir: mruby
    git-subtree-split: 5fee3f5869fae54cf5be70989942c0b43301d10b
  4. Update apache httpd version

    matsumotory committed Jul 21, 2017
Commits on May 1, 2017
  1. Bump up version 1.14.0

    matsumotory committed May 1, 2017
  2. Squashed 'mruby_test/' changes from 5e3077c..964a02f

    matsumotory committed May 1, 2017
    964a02f Merge pull request #3645 from nobu/sprintf-refactor
    ef6e14e Better error message
    e05c307 Use `FILL` and `PUSH`
    3c10783 Merge pull request #3639 from Asmod4n/patch-1
    9057a3f Add macOS support to mrb_ro_data_p
    cef523c Avoid duplicated `envadjust()` of env stacks; fix #3637
    a3d80e8 Merge pull request #3637 from dabroz/fix-32-bit
    3e07a2d Silence warnings caused by implicit type casting.
    92dcfba Add explicit cast from double to long.
    b08dced Stop invoking GC before `each_object` to avoid test failure; #3616
    aa8e490 Prevent GC during `each_object`; fix #3616
    88cd807 Avoid use of `snprintf()` when DISABLE_STDIO is set; fix #3632
    03cdb8e Should terminate nested iterations in each_object; ref #3359
    058da1f Revert "Disable GC during `gc_each_objects()`; fix #3616"
    01f7825 Use fiber marking instead of `mark_context`.
    b112046 Revert "Simplify pointer calculation in `envadjust`."
    6088276 Merge pull request #3630 from nobu/bug/sprintf-sp3inf
    72bdb6a Merge pull request #3631 from nobu/bug/embeddoc-terminator-word
    d54f9f8 Fix embedded document with unterminated terminator
    cd4e9a0 Refactor "%f" % Inf/NaN
    7314423 Fix space flag when Inf/NaN and width==3
    809b7ca Merge pull request #3628 from yyamano/libmruby-path
    a4dfaaf Small cosmetic changes.
    e26e118 Use env preserved in Proc structure in ecall(); fix #3612
    5513fce Keep reference to mrb_context from env; fix #3619
    52a0380 Add --libmruby-path support to mruby-bin-mruby-config.
    3b0a36d Alias should `push()` extra stack space for blocks.
    a1d32af Simplify pointer calculation in `envadjust`.
    ad3b61f Revert e8dca6b03; fix #3550
    5d67d9b Fixed a possible memory leak.
    15fba69 Revert ae4217e81; fix #3619
    95229ee Assign to local variable first; cosmetic change.
    c900fff Merge pull request #3623 from take-cheeze/struct_freeze
    c73da29 Merge pull request #3624 from yyamano/fix-typo
    00770e2 Merge pull request #3625 from take-cheeze/pool_64bit
    02df253 Merge pull request #3626 from take-cheeze/string_get_args_bug
    3ce42a0 Add missing `arg_i++` to fix bug of `s!` in mrb_get_args.
    b2dc043 Align pool allocator with 8 byte in 64-bit environment.
    33d09e4 Fix typo in usage message.
    da5b7fa Support freeze in `Struct`.
    94bcdca VM stack may be reallocated in `mrb_convert_type()`; fix #3622
    262fbaf `mrb_int` may overflow in bit-shifting; fix #3620
    3567b26 Bit-shifting zero should be zero; ref #3620
    d2cad9a Disable GC during `gc_each_objects()`; fix #3616
    62dae09 Allow `mrb_objspace_each_objects()` to break iteration; ref #3359
    edd9fc6 Do not raise an exception for living closure; ref #3359
    6a0b68f Use trampoline technique for `instance_exec`; ref #3359
    77c2aa7 Need to raise "break from proc-closure" error; fix #3359 fix #3495
    283d145 Fixed a bug caused by last minute change; fix #3610
    fe3fe8f Merge pull request #3615 from clayton-shopify/fix-copy-class-null-pointer-deref
    de96994 Check if sc->mt is initialized before copying it.
    79e0314 Call envadjust() before updating VM stack.
    ae4217e Fixed a wrong condition; fix #3550
    e8dca6b Revert 6dd1a57; fix #3612; ref #3550
    a0143e1 Make `mrb_codedump_all()` to print type of Proc.
    f4119f5 Changed evaluation order of `yield`; ref #3613
    f6c70bc `super` may call context switching method like `send`; fix #3611
    05fceb5 Call exc_debug_info() in mrb_exc_set(); ref #3610
    82ab461 Add "no super" check to OP_ARGARY; fix #3610
    c396184 Hash#dup didn't check if internal khash is initialized; fix #3609
    7614939 Mark whole root objects in final_marking_phase(); fix #3603
    3231219 Merge pull request #3608 from clayton-shopify/fix-mirb-off-by-one
    8e2279d Fix an off-by-one causing a buffer overflow in mirb.
    045e78c Proc#call needs to reserve at least 2 registers; fix #3606
    17377af Struct may not be initialized in #to_h; fix #3607
    aec121f Update NODE_XSTR, NODE_DSXTR tests; ref #3605
    c0a4b1a Merge pull request #3604 from keizo042/fix_issue3598
    3123549 Fixed a bug in NODE_XSTR code generation; fix #3605
    d4205c9 Use while statement instead of for statement
    4fca570 Find Class/Module in nested singleton class; fix #3598
    4e84bdb Let 'mrb_vm_run()` to restore the calling fiber; ref #3537
    0fb05eb Should not unshare env stack repeatedly; fix #3601
    2a4db1a `method_missing` might have updated stack beyond boundary; fix #3599
    326e043 Exceptions may be raised in yyparse(); fix #3600
    918e7bb Refactor check before `mrb_class_ptr()`; ref #3602
    a25404c The attached object may not be a class; fix #3602
    6dd1a57 Shared TT_ENV may need to be marked; fix #3550
    fff4a4e OP_LAMBDA generation should honor VAL/NOVAL; fix #3580
    db47ae5 Fixed a bug in `mrb_convert_to_integer()`; fix #3581
    03c8493 Fiber#yield should check C function boundary; fix #3582
    9094415 An object attached to a singleton class may not be a class; fix #3587
    0048dd1 Protect arguments from GC; fix #3597
    a55b237 Callinfo may be changed in `ecall()`; fix #3589
    ab25eae Avoid clearing VM stack every time to gain performance.
    5c114c9 Clear unused stack region that may refer freed objects; fix #3596
    491d68b Skip stack marking at all if c->stack is NULL.
    0cb5015 Fill omitted arguments by nil for non-strict Proc.
    c063641 Clear local (but non-argument) variables in OP_ENTER.
    47f1815 Avoid updating regs[] from function calls; ref #3588
    1fd3cc9 Merge pull request #3595 from keizo042/name_stack_size
    15b55c3 Attach a name to  embbeded value of rescue/ensure stack size
    7e28510 Merge pull request #3594 from keizo042/fix_isssue_3575
    fd0f79c Get constant of parent class even if child class is defined in signleton class; fix #3575
    e5b61d3 Fixed possible SEGV in `Kernel#block_given?`; ref #3593
    5e79bc9 Make String#replace to check equality before modifying flags.
    a7b0ab3 Save block argument position in e->cioff; fix #3593
    d9fb8b6 Fixed a bug in OP_SUPER block conversion; fix #3590
    bd7bf26 Should specify instance type of Structs; fix #3591
    2daebfb Fixed a bug when method_missing take 126 args; fix #3592
    60d20e1 Should restore to the root fiber for each interaction; fix #3537
    7f37c2f Use stderr for debug prints in DEBUG(); fix #3584
    74712c7 Need to insert write barriers in struct updates; fix #3547
    bdeb803 Merge pull request #3579 from clayton-shopify/fix-time-alloc-usec
    dc4fba2 Correctly handle large negative usec value.
    e2e2eda Merge pull request #3578 from bggd/appveyor_clone_depth
    de114eb Change AppVeyor's clone_depth
    12f6496 Revert "Adjust VM stack window size; fix #3547"
    6dabb33 Adjust VM stack window size; fix #3547
    ab63ee6 Fixed out-of-bounds access of `ensure[]`; ref #3491
    b8461c8 Protect ensure clause lambdas from GC; fix #3491
    6a992a2 Merge pull request #3577 from okkez/fix-return-value-of-each-slice
    fea8d00 Merge pull request #3576 from okkez/fix-return-value-of-each-cons
    0a1f15e Insert ` mrb_field_write_barrier()` for GC; fix #3534
    246db71 Add `struct REnv` to union `RVALUE`; ref #3534
    77331d1 Unify `else` clause style
    fbf4089 Remove spaces around parens
    cff54ab Change return value of Enumerable#each_slice
    4975aa4 Change return value of Enumberable#each_cons
    666787b Adjust exit point in `loop_pop()`; fix #3541
    d35fcf1 NODE_SPLAT to pass VAL/NOVAL; fix #3532
    f5632f2 Restrict recursion levels in method_missing(); fix #3556
    d27a3d4 String#initialize to make a string empty; ref #3574
    a14a930 Remove unnecessary indirection; ref #3557
    8193c0b Check before generating special operators (e.g. OP_ADD); fix #3557
    a49c9f8 Update callinfo->target_class in mrb_exec_irep(); fix #3543
    081535b Merge pull request #3573 from ksss/parameters
    7f98392 Reduce object allocation
    be5c304 Fix parameters when noname rest
    5d00e85 Fixed out of bounds access; fix #3572, ref #3553
    5a445f0 Add alias "append" to Array#push, and "prepend" to Array#unshift.
    93d8029 Extend VM stack just in case; ref #3551
    071164b Should not shrink VM stack; fix #3551
    56322cd Pacify signed warning; ref #3565
    dcbfe71 NODE_ASGN arguments may be 127 (CALL_MAXARGS) accidentally; fix #3559
    e22f37a Argument order of __case_eqq was wrong; fix #3567
    1e87dfd The stack may be reallocated in the func call; fix #3560
    8d9d7c9 Improve Time.new() performance using division; fix #3561
    195af52 Expand stack for method_missing; fix #3528
    9eb2ed0 Merge pull request #3571 from keizo042/fix_get_constant_of_module_from_sigleton
    507e00e Modify to get constant of parent module in singleton class; fix #3568
    39ca4ef Avoid crash if hv.n is greater than kh_size(h); fix #3565
    952207d small cosmetic change; ref #3570
    669b183 Merge pull request #3570 from keizo042/fix_cv_definition_in_singleton
    5efe77f Modify class variable definition in singleton class; fix #3539
    898077a Merge pull request #3566 from okkez/fix-enumerator-each-with-index
    d93a5c1 Fix Enumerator#each_with_index with block
    905f46a Merge pull request #3558 from ksss/domain
    db3573e Should raise FloatDomainError
    1f6bf0e Merge pull request #3563 from clayton-shopify/dup-renumber-keys
    506c05f Merge pull request #3564 from okkez/set-proper-class-to-subclass-of-array
    6dbe227 Set proper class to subclass of Array
    a6e25f7 Renumber hash keys during dup since there may be duplicates.
    5ec051f Avoid inline local variable declarations; fix #3554
    1bdaf9c Merge pull request #3553 from okkez/add-array-slice-bang
    33f77fe Implement Array#slice!
    0f52893 Merge pull request #3552 from ksss/time
    397f1fc Fix infinity loop
    6698049 Merge pull request #3544 from ksss/lineno
    f688de5 Merge pull request #3545 from keizo042/ignore_tags
    d0e42ef Ignore file generated by ctags
    b1c5c3b Fix lost lineno
    051e40c Use MRB_PRId for NODE_NTH_REF; ref #3530
    9eb0c11 Cast to mrb_int to silence a warning; fix #3530
    41f5c5b Merge pull request #3529 from kou/hash-ext-sub-class
    8ca9823 Merge pull request #3536 from ksss/string-sub
    63c0044 Fix result if pattern is empty
    e72e50b Hash sub class creates new sub class objects instead of Hash
    3703aed Use `snprintf()` to stringify fixnum numbers; ref #3492
    339c6ae Add explicit cast from float to mrb_int.
    631de65 Merge pull request #3527 from ksss/string-gsub
    dcf6a41 Use `snprintf()` to stringify fixnum numbers; fix #3492
    cea6a16 Fixed some compiler errors regarding PRId.
    7a74a61 Callback should yield with pattern every time
    67a6982 Support to return Enumerator for String#gsub,gsub!
    0957492 Should not check/call `to_str` for immediate objects; ref #3515
    527dcd5 `super class error` formats the superclass by `inspect`; rerf #3515
    ef105b5 Use MRB_PRId instead of "%d"; fix #3515
    4cf38eb Fixed OP_RESCUE code generation bug; fix #3519
    d01118d OP_RESCUE refactored; ref #3519
    8d1468e Remove cname duplication from exc_inspect().
    e6b5c75 Avoid possible infinite recursion in mrb_print_error(); ref #3517
    2cbbeba Check call depth when mrb_yield_class() is called; ref #3521
    75c374c Update stack only when callinfo is popped; fix #3521
    6db38c3 Need not to call mrb_obj_as_string() is sep is nil.
    ce86975 Merge pull request #3526 from ksss/sprintf
    2005bf9 Should use mrb_int for any object
    fa502b4 Need to setup singleton_class chain; fix #3509
    38a3b89 Small cosmetic change ("* " -> "*").
    6ea26aa Save/restore GC arena index to avoid arena overflow error.
    00427d4 Fixed access of uninitialized C local variable; fix #3525
    b2916f1 Avoid mrb_check_string_type() in raising exception; fix #3506
    27fc76f Merge pull request #3524 from ksss/timestamp
    fca17b4 Avoid trampoline when #eval is called from mrb_funcall(); fix #3522
    f99e100 MiniRake::Task#timestamp should use Time.now only
    9ecebeb Merge pull request #3510 from ksss/string-each_line
    47cc5d6 Singleton classes do not have outer class set; fix #3505
    b64f087 Protect stack region before calling mrb_convert_type(); fix #3504
    4ee79a8 Support to return enumerator when no block given
    673ce23 Suuport custom separator
    6eb02a8 Use duplicated object for block args
    f8b31a0 `instance_eval` method does not introduce C function boundary; fix #3508
    4b1e5d4 Merge pull request #3503 from nobu/bug/sprintf-oob
    d8c4fe7 Fix out-of-bound access
    191ee25 Need to copy argv since it may be reallocated; fix #3500
    877f43b OP_BLKPUSH is invalid outside of methods; fix #3501
    916b8ed Generate new OP_RESCUE; fix #3487
    92f5bec Update VM to support new OP_RESCUE behavior; ref #3487
    26169f9 Enhance OP_RESCUE to take B operand fas matching exception; ref #3487
    000c68d OP_RETRUN to take B as matching exception; ref #3487
    4ab7029 Revert 642ab8e; ref #3422
    94395e8 The width printf specifier may be negative; fix #3498
    f30ec2d fixup! Check return value from snprintf(); ref #3498
    e392231 Check return value from snprintf(); ref #3498
    f9ed15d Merge pull request #3496 from ksss/string-gsub
    7590482 Merge branch 'master' into string-gsub
    431f474 Merge pull request #3497 from ksss/subreplace
    b56ad8d \1 sequences as empty strings
    4b3e6cf Avoid infinity loop when empty string pattern
    ff262f2 Update ci->mid according to surrounding scope; fix #3490
    2f299cf Simplify expression; ref #3490
    e8f09f9 Raise special Exception when exception class is redefined; fix #3493
    c6e5659 Use string#upto() if available; fix #3489
    4763312 Terminate loop if generated string longer than the last; ref #3489
    63dbed0 `__FILE__` should not update `p->filename`; fix #3485
    513f4fb Merge pull request #3484 from ksss/string-frozen
    8a15abd Avoid trampoline code if mrb_f_send is called from funcall; fix #3383
    eba4b1f Check modifiable for String `bang' methods
    d050694 Merge pull request #3483 from ksss/string-index
    76e1035 String#index shouldn't return nil when "".index ""
    4f43db8 Unshare popped TT_ENV objects.
    3b40a2f Limit ecall() recursion levels; fix #3466
    ecee8c5 Avoid tracing shared TT_ENV object.
    c789acb Save/restore arena index in the loop.
    ffdf7be Define jmpbuf_id outside of `extern "C"`; ref #3470
    2d858ca Use C++ ABI only when MRB_ENABLE_CXX_ABI is set; ref #3470
    1ab7e7e Fixed a bug in register size calculation; fix #3479
    3390020 The method_missing removal condition in a76dc04a was wrong.
    27ec243 Fix possible stack overflow for `method_missing`; fix #3478
    0bcf9e2 Reorganize C++ exceptions; ref #3470
    fdd9275 Create NoMethodError instance using `mrb_obj_new()`.
    9b176a1 Avoid using <mruby/throw.h> in mruby.c
    eca35df `ci` may be moved during `mrb_convert_type()`; ref #3474
    8b089c0 Keep space for safe navigation operator; fix #3475
    cd0ac59 Newlines in strings should be counted; fix #3477
    1a1f834 Compile C files by C compiler when C++ files mixed.
    dc56bbe Ignore empty ensure clause.
    fb3243e `return` (and `break`) should handle splat correctly; fix #3472
    22eb41a Fix NODE_DREGX dump; ref #3471
    c52bbe1 Fixed a bug in dregex option generation; fix #3471
    89eac4f Update codegen.c comments
    7db0786 Fix integer overflow; fix #3473
    405f5a2 Add type check by mrb_get_args(); ref #3476
    74dbee8 Add check before calling str_substr(); ref #3476
    bdac7df Check if the value is fixnum before mrb_funcall(); fix #3476
    a76dc04 Remove default Kernel#method_missing.
    b563bcb Check if OP_RETURN cross C function boundary; fix #3462
    50bbdbb Fixed ecall() invoked too early; fix #3464
    3fc9bf3 Update local variable only after the value is checked.
    d219e63 Clear block arg when method_missing takes *args.
    9e93d5d Stack may be reallocated in mrb_run(); fix #3465
    736be0e Always keep block argument space in stack; fix #3469
    83a6c0e Merge pull request #3458 from dabroz/gitlab-ci
    fecbde3 Merge pull request #3461 from iij/build-with-byacc
    da4f8e1 replace "yylval" with "pylval" to make it compile with byacc.
    a9f7b41 Merge pull request #3460 from AltimitSystems/android.rake-ndk-clang
    fd08e0e Added example build script for Android armeabi-v7a NEON hardware FPU
    324231a Android toolchain separated target architecture compile flags (ctarget) from shared compile flags (cflags). Added support for custom mfpu and float-abi switches for the armeabi-v7a target.
    73e5a19 Configure callinfo target_class as CRuby; ref #3429
    4dae285 Merge pull request #3457 from dabroz/fix-clang-32-64
    097da23 Avoid executing OP_STOP in eval(); fix #3429
    5e3c329 Adjust callinfo env and target_class; ref #3429
    d83aad8 Merge branch 'master' into android.rake-ndk-clang
    bc721ec Gitlab tests for multiple configurations
    bd2b76e Build fix for 32-bit clang 3.8/3.9 with MRB_INT64
    b165708 Move #instance_exec to Kernel module
    517e931 Move #__id__ to BasicObject; ref #3417
    612d636 Move #instance_eval to BasicObject; ref #3417
    3dbda91 Move #__send__ to BasicObject; ref #3417
    8b4bd31 Move #== and #!= to BasicObject; ref #3417
    3f9450e Move BasicObject#method_missing to Kernel#method_missing; ref #3417
    1e5b5b1 Prohibit too deep `mrb_funcall()` recursion; ref #3421
    1e57fef Do not funcall() Exception#set_backtrace from runtime.
    8efa7b0 Preallocate SystemStackError; ref #3421
    0376d4d Merge pull request #3455 from crimsonwoods/fix-android-build-script
    dd24f9f Avoid calling hook methods if they are not overridden.
    0429692 Use mrb_funcall_argv() instead of mrb_funcall()
    5395dbf Add new two build config files.
    a6b1e96 Modify default cflags.
    838fa69 Add '-Wl,--fix-cortex-a8' linker option for 'armeabi-v7a' architecture.
    83a3da4 Set default linker 'flags' and 'flags_before_libraries'.
    ba812d2 Merge pull request #3453 from palkan/fix/test-gems-setup
    1315667 Separate compilers setup from config setup
    30aa521 Do not use mrb_funcall() if Hash#default is not overridden; ref #3421
    719f700 Extend mruby stack when keep is bigger than room; fix #3421
    ecb6ac8 Fixed codegen error of redo in rescue; fix #3422
    c2ddcd4 Should handle `break` from funcall(); fix #3434
    f198530 Fixed too much value_copy() when block is not given; fix #3440
    b238747 Merge pull request #3452 from dabroz/fix-kernel-caller-aspec
    e4fa59f Fixed aspec for Kernel#caller
    6066482 Merge pull request #3451 from dabroz/revert-string-mul
    1f2d786 Avoid direct return from ecall(); fix #3441
    90f262f Revert "Optimization for String#* for 1-byte strings"
    ff03a9a Avoid integer overflow in sprintf(); fix #3439
    642ab8e `ecall()` should preserve stack address referenced from ci[1].
    0b14389 Remove historical comment; ref #3450 #3448
    0ef51d8 Merge pull request #3450 from r-obert/patch-1
    b130f43 remove skip that shouldn't be necessary anymore.
    8f4a929 String#replace should update s->flags for MRB_STR_NO_UTF.
    6cb7aef Add type cast to pacify warning
    b36495b Merge pull request #3449 from dabroz/fix-ljust-ruby
    d1bc7ca Optimization for String#* for 1-byte strings
    ac9d04f String#ljust and String#rjust reimplemented with optimized Ruby
    24048cd Tests for UTF-8 String#ljust and String#rjust
    c802cd0 Merge pull request #3446 from ksss/minirake
    0dc26f5 Merge pull request #3447 from dabroz/fix-ljust
    981105b String#ljust and String#rjust reimplementation (fix #3445)
    cd8284f Fix build error when trace mode
    d0ecf86 Fixed mixture of signed/unsigned integers
    4b32e65 Check if irep is NULL before print_backtrace()
    af4d74f Add MRB_TT_PROC check to OP_SUPER as well; fix #3432
    76135e7 Check if m->env is NULL before dereferencing it; fix #3436
    b277c58 Mark classes referenced from saved backtrace.
    f3d4ff1 Fixed a bug in ci address shifting; fix #3423
    be550f0 codedump.c: OP_POPERR does not have register access.
    7eebbce Merge pull request #3437 from eboda/master
    46e4e34 Fix interpolation escaping in String.inspect
    794de33 Merge pull request #3430 from ksss/local_variables
    bd72dba Kernel#local_variables: Make result array unique
    f2b18a6 Check maximum number of formal arguments.
    48e0bbb Make `eval` to use trampoline technique; fix #3415
    bf4e79c `argv` may be modified when `mrb_funcall()` is called; fix #3419
    8f52b88 No need to make env unshared in the finalization; fix #3425
    8e0f231 Mark `mrb->backtrace.exc` as GC root; fix #3388
    6e0ba00 Jump address should fit in 16 bits range; fix #3426
    a746ebe Merge pull request #3420 from udzura/patch-1
    e0323df Merge pull request #3427 from clayton-shopify/fix-mrb-random-init
    a8ccda5 Fetch arguments earlier to avoid a crash.
    ab5812d Use standard Module(Class)#to_s
    6420951 Update example lines of mrbgems in build_config.rb; ref #3414
    ac88f85 Copy mrb_float values from pool when MRB_WORD_BOXING; ref #3396
    51d7a69 Clear (o).w first for MRB_WORD_BOXING; ref #3396
    b3ce364 Outer class may be same as the class; fix #3382
    72bff29 Use size_t to avoid integer overflow in mrb_ary_splice(); fix #3413
    28cf7a5 Change return type of mrb_range_beg_len() from `int` to `mrb_int`.
    f0f095b Fix a double free problem in codegen.c; fix #3378
    3ce8260 Fix memory leak; ref #3378
    ffb5e5a The ensure clause should keep its ci after its execution; fix #3406
    324887d Backtrace list must be an array of strings; fix #3408
    28b7b9e Skip non string values in backtraces; ref #3408
    40ec03c Merge pull request #3412 from ksss/mrb_ary_splice
    78a395d Refactoring: Use array_copy instead of for loop
    4d38cad Add MRB_API to mrb_range_beg_len(); ref #3411
    5e1d923 Changed the behavior of mrb_range_beg_len(); close #3411
    708088c Should not make empty strings shared; fix #3407
    49fd759 Use mrb_write_barrier() instead of mrb_field_write_barrier_value()
    fdec607 Remove unnecessary inline declaration; ref #3409
    9d0f07e Merge pull request #3409 from ksss/mrb_ary_splice
    39ce9fe Merge pull request #3410 from ksss/mrb_ary_aset
    b49bd70 Should raise RuntimeError when object frozen
    65c9baa Rewrite mrb_ary_splice
    bd50273 Merge pull request #3404 from clayton-shopify/fix-block-params
    797ff62 Fix incorrect parsing of block parameters.
    c48aef0 Stack position may be bigger than stack bottom; fix #3401
    873b96b Merge pull request #3402 from clayton-shopify/fix-masgn-optimization
    2c0f8f1 Remove problematic optimization.
    b23fb45 Integral#step without arg should loop forever as CRuby does.
    fe0e455 Initialize callinfo->acc; ref #3243
    c8536d9 Merge pull request #3362 from ksss/proc
    c830698 Dots is not needed for base 10 negative numbers; fix #3400
    c59ef59 Merge pull request #3399 from ksss/caller
    59d9f31 Skip when backtrace doesn't get
    6f9cb74 Implement Kernel.#caller
    8d61f21 Add proper given argument number in the wrong-number-argument error.
    a357124 Add proper stack size calculation; fix #3398
    38acb9e Kernel#initialize should not break existing mt; fix #3397
    41eff63 Merge pull request #3393 from clayton-shopify/fix-exc-initialize
    fb1dad8 Merge pull request #3394 from clayton-shopify/really-fix-nme
    a69d92e Merge pull request #3395 from hhc0null/fix-typo
    af4f6e8 Fix a typo.
    6be5160 Fix 36fc1f14 not checking in the right location
    bc4c90d Use mrb_int for argc.
    db1bd07 Use temporary variable to avoid potential crash; fix #3387
    e1ff710 String#replace should check replacing string; fix #3374
    06b2e6a Check if ci->target_class is NULL before dereferencing
    44edc51 Raises Exception if raising exception class is redefined
    7523cdf Exception#initialize to take arbitrary number of args; ref #3384
    c4491e4 Validate tm values before timegm(); close #3368
    d3a8ebf Merge pull request #3381 from sorah/asn
    ee7fc56 Put package's libs flag after %{objs}
    147c5c5 Merge pull request #3380 from syucream/fix-assert
    f085baa Pass when assert returns a false value
    392d7fb Add ary_modify() checks; close #3379
    8c11b04 Merge pull request #3377 from ksss/respond_to
    3c2f101 Merge pull request #3376 from bovi/2017-copyright
    ddcb30d Check intern object returned by mrb_check_string_type
    2c77dfa Update Copyright to 2017
    885d929 Improve capacity enhancing conditions
    c6a1172 Add pointer cast to pacify warnings.
    9a76a0b Move mrb_assert() position.
    5d0b945 Merge pull request #3371 from takjn/removed_unnecessary_escape_charcter
    f53f73f Should not deallocate shared string referring static; fix #3373
    fe0884f Removed ununnecessary escape character '\' for MRUBY_XXX in libmruby.flags.mak
    36f5b44 Add new method Kernel#frozen?; ref #3370
    a10f85f Merge pull request #3369 from ksss/fix-str-prepend
    2e0c2b5 Add mrb_hash_modify() to Hash#{delete,clear}; ref #3370
    eeca6ec Rewrite String#prepend with Ruby
    bc1259d add explicit casts
    f388b6d use size_t instead of int
    158a6ab Merge pull request #3367 from ksss/str-modify
    8a9a241 Fix memory error on str_buf_cat
    30b6648 Small refactoring: should use RSTR_CAPA
    07167b8 Initialize potentially uninitialized variable tsec.
    8b77979 Initialize potentially uninitialized variable z
    1ed4de5 str_buf_cat(): better size check added; ref #3342
    342b1de str_buf_cat(): should allocate at least  RSTRING_EMBED_LEN_MAX+1.
    cfdd1e3 ary_expand_capa(): refine conditions to avoid infinite loop; ref #3353
    9d84f0d ary_expand_capa(): size calculation by size_t; fix #3353
    270ea41 method_missing() may have CALL_MAXARGS-1 arguments; fix #3351
    803bf01 save/restore arena index around yield; ref #3359
    6af8cc3 Merge pull request #3366 from ksss/splice
    caba1a1 Check array max size
    30d5424 Merge pull request #3365 from ksss/freeze
    5c1c002 Fix segv when primitive value
    000a311 Merge pull request #3364 from ksss/string2
    ede04d6 Merge pull request #3363 from ksss/string
    c626b82 Check overflow string length
    0de65a8 Do nothing when empty string
    a68b568 Should call initialize method if defined
    3cba13c Proc shouldn't have `initialize` method
    70aa6dc Merge branch 'master' into android.rake-ndk-clang
    
    git-subtree-dir: mruby_test
    git-subtree-split: 964a02f1fa1eee2a977cada9f95315e4f8ce5e7a
  3. Squashed 'mruby/' changes from 5e3077c..964a02f

    matsumotory committed May 1, 2017
    964a02f Merge pull request #3645 from nobu/sprintf-refactor
    ef6e14e Better error message
    e05c307 Use `FILL` and `PUSH`
    3c10783 Merge pull request #3639 from Asmod4n/patch-1
    9057a3f Add macOS support to mrb_ro_data_p
    cef523c Avoid duplicated `envadjust()` of env stacks; fix #3637
    a3d80e8 Merge pull request #3637 from dabroz/fix-32-bit
    3e07a2d Silence warnings caused by implicit type casting.
    92dcfba Add explicit cast from double to long.
    b08dced Stop invoking GC before `each_object` to avoid test failure; #3616
    aa8e490 Prevent GC during `each_object`; fix #3616
    88cd807 Avoid use of `snprintf()` when DISABLE_STDIO is set; fix #3632
    03cdb8e Should terminate nested iterations in each_object; ref #3359
    058da1f Revert "Disable GC during `gc_each_objects()`; fix #3616"
    01f7825 Use fiber marking instead of `mark_context`.
    b112046 Revert "Simplify pointer calculation in `envadjust`."
    6088276 Merge pull request #3630 from nobu/bug/sprintf-sp3inf
    72bdb6a Merge pull request #3631 from nobu/bug/embeddoc-terminator-word
    d54f9f8 Fix embedded document with unterminated terminator
    cd4e9a0 Refactor "%f" % Inf/NaN
    7314423 Fix space flag when Inf/NaN and width==3
    809b7ca Merge pull request #3628 from yyamano/libmruby-path
    a4dfaaf Small cosmetic changes.
    e26e118 Use env preserved in Proc structure in ecall(); fix #3612
    5513fce Keep reference to mrb_context from env; fix #3619
    52a0380 Add --libmruby-path support to mruby-bin-mruby-config.
    3b0a36d Alias should `push()` extra stack space for blocks.
    a1d32af Simplify pointer calculation in `envadjust`.
    ad3b61f Revert e8dca6b03; fix #3550
    5d67d9b Fixed a possible memory leak.
    15fba69 Revert ae4217e81; fix #3619
    95229ee Assign to local variable first; cosmetic change.
    c900fff Merge pull request #3623 from take-cheeze/struct_freeze
    c73da29 Merge pull request #3624 from yyamano/fix-typo
    00770e2 Merge pull request #3625 from take-cheeze/pool_64bit
    02df253 Merge pull request #3626 from take-cheeze/string_get_args_bug
    3ce42a0 Add missing `arg_i++` to fix bug of `s!` in mrb_get_args.
    b2dc043 Align pool allocator with 8 byte in 64-bit environment.
    33d09e4 Fix typo in usage message.
    da5b7fa Support freeze in `Struct`.
    94bcdca VM stack may be reallocated in `mrb_convert_type()`; fix #3622
    262fbaf `mrb_int` may overflow in bit-shifting; fix #3620
    3567b26 Bit-shifting zero should be zero; ref #3620
    d2cad9a Disable GC during `gc_each_objects()`; fix #3616
    62dae09 Allow `mrb_objspace_each_objects()` to break iteration; ref #3359
    edd9fc6 Do not raise an exception for living closure; ref #3359
    6a0b68f Use trampoline technique for `instance_exec`; ref #3359
    77c2aa7 Need to raise "break from proc-closure" error; fix #3359 fix #3495
    283d145 Fixed a bug caused by last minute change; fix #3610
    fe3fe8f Merge pull request #3615 from clayton-shopify/fix-copy-class-null-pointer-deref
    de96994 Check if sc->mt is initialized before copying it.
    79e0314 Call envadjust() before updating VM stack.
    ae4217e Fixed a wrong condition; fix #3550
    e8dca6b Revert 6dd1a57; fix #3612; ref #3550
    a0143e1 Make `mrb_codedump_all()` to print type of Proc.
    f4119f5 Changed evaluation order of `yield`; ref #3613
    f6c70bc `super` may call context switching method like `send`; fix #3611
    05fceb5 Call exc_debug_info() in mrb_exc_set(); ref #3610
    82ab461 Add "no super" check to OP_ARGARY; fix #3610
    c396184 Hash#dup didn't check if internal khash is initialized; fix #3609
    7614939 Mark whole root objects in final_marking_phase(); fix #3603
    3231219 Merge pull request #3608 from clayton-shopify/fix-mirb-off-by-one
    8e2279d Fix an off-by-one causing a buffer overflow in mirb.
    045e78c Proc#call needs to reserve at least 2 registers; fix #3606
    17377af Struct may not be initialized in #to_h; fix #3607
    aec121f Update NODE_XSTR, NODE_DSXTR tests; ref #3605
    c0a4b1a Merge pull request #3604 from keizo042/fix_issue3598
    3123549 Fixed a bug in NODE_XSTR code generation; fix #3605
    d4205c9 Use while statement instead of for statement
    4fca570 Find Class/Module in nested singleton class; fix #3598
    4e84bdb Let 'mrb_vm_run()` to restore the calling fiber; ref #3537
    0fb05eb Should not unshare env stack repeatedly; fix #3601
    2a4db1a `method_missing` might have updated stack beyond boundary; fix #3599
    326e043 Exceptions may be raised in yyparse(); fix #3600
    918e7bb Refactor check before `mrb_class_ptr()`; ref #3602
    a25404c The attached object may not be a class; fix #3602
    6dd1a57 Shared TT_ENV may need to be marked; fix #3550
    fff4a4e OP_LAMBDA generation should honor VAL/NOVAL; fix #3580
    db47ae5 Fixed a bug in `mrb_convert_to_integer()`; fix #3581
    03c8493 Fiber#yield should check C function boundary; fix #3582
    9094415 An object attached to a singleton class may not be a class; fix #3587
    0048dd1 Protect arguments from GC; fix #3597
    a55b237 Callinfo may be changed in `ecall()`; fix #3589
    ab25eae Avoid clearing VM stack every time to gain performance.
    5c114c9 Clear unused stack region that may refer freed objects; fix #3596
    491d68b Skip stack marking at all if c->stack is NULL.
    0cb5015 Fill omitted arguments by nil for non-strict Proc.
    c063641 Clear local (but non-argument) variables in OP_ENTER.
    47f1815 Avoid updating regs[] from function calls; ref #3588
    1fd3cc9 Merge pull request #3595 from keizo042/name_stack_size
    15b55c3 Attach a name to  embbeded value of rescue/ensure stack size
    7e28510 Merge pull request #3594 from keizo042/fix_isssue_3575
    fd0f79c Get constant of parent class even if child class is defined in signleton class; fix #3575
    e5b61d3 Fixed possible SEGV in `Kernel#block_given?`; ref #3593
    5e79bc9 Make String#replace to check equality before modifying flags.
    a7b0ab3 Save block argument position in e->cioff; fix #3593
    d9fb8b6 Fixed a bug in OP_SUPER block conversion; fix #3590
    bd7bf26 Should specify instance type of Structs; fix #3591
    2daebfb Fixed a bug when method_missing take 126 args; fix #3592
    60d20e1 Should restore to the root fiber for each interaction; fix #3537
    7f37c2f Use stderr for debug prints in DEBUG(); fix #3584
    74712c7 Need to insert write barriers in struct updates; fix #3547
    bdeb803 Merge pull request #3579 from clayton-shopify/fix-time-alloc-usec
    dc4fba2 Correctly handle large negative usec value.
    e2e2eda Merge pull request #3578 from bggd/appveyor_clone_depth
    de114eb Change AppVeyor's clone_depth
    12f6496 Revert "Adjust VM stack window size; fix #3547"
    6dabb33 Adjust VM stack window size; fix #3547
    ab63ee6 Fixed out-of-bounds access of `ensure[]`; ref #3491
    b8461c8 Protect ensure clause lambdas from GC; fix #3491
    6a992a2 Merge pull request #3577 from okkez/fix-return-value-of-each-slice
    fea8d00 Merge pull request #3576 from okkez/fix-return-value-of-each-cons
    0a1f15e Insert ` mrb_field_write_barrier()` for GC; fix #3534
    246db71 Add `struct REnv` to union `RVALUE`; ref #3534
    77331d1 Unify `else` clause style
    fbf4089 Remove spaces around parens
    cff54ab Change return value of Enumerable#each_slice
    4975aa4 Change return value of Enumberable#each_cons
    666787b Adjust exit point in `loop_pop()`; fix #3541
    d35fcf1 NODE_SPLAT to pass VAL/NOVAL; fix #3532
    f5632f2 Restrict recursion levels in method_missing(); fix #3556
    d27a3d4 String#initialize to make a string empty; ref #3574
    a14a930 Remove unnecessary indirection; ref #3557
    8193c0b Check before generating special operators (e.g. OP_ADD); fix #3557
    a49c9f8 Update callinfo->target_class in mrb_exec_irep(); fix #3543
    081535b Merge pull request #3573 from ksss/parameters
    7f98392 Reduce object allocation
    be5c304 Fix parameters when noname rest
    5d00e85 Fixed out of bounds access; fix #3572, ref #3553
    5a445f0 Add alias "append" to Array#push, and "prepend" to Array#unshift.
    93d8029 Extend VM stack just in case; ref #3551
    071164b Should not shrink VM stack; fix #3551
    56322cd Pacify signed warning; ref #3565
    dcbfe71 NODE_ASGN arguments may be 127 (CALL_MAXARGS) accidentally; fix #3559
    e22f37a Argument order of __case_eqq was wrong; fix #3567
    1e87dfd The stack may be reallocated in the func call; fix #3560
    8d9d7c9 Improve Time.new() performance using division; fix #3561
    195af52 Expand stack for method_missing; fix #3528
    9eb2ed0 Merge pull request #3571 from keizo042/fix_get_constant_of_module_from_sigleton
    507e00e Modify to get constant of parent module in singleton class; fix #3568
    39ca4ef Avoid crash if hv.n is greater than kh_size(h); fix #3565
    952207d small cosmetic change; ref #3570
    669b183 Merge pull request #3570 from keizo042/fix_cv_definition_in_singleton
    5efe77f Modify class variable definition in singleton class; fix #3539
    898077a Merge pull request #3566 from okkez/fix-enumerator-each-with-index
    d93a5c1 Fix Enumerator#each_with_index with block
    905f46a Merge pull request #3558 from ksss/domain
    db3573e Should raise FloatDomainError
    1f6bf0e Merge pull request #3563 from clayton-shopify/dup-renumber-keys
    506c05f Merge pull request #3564 from okkez/set-proper-class-to-subclass-of-array
    6dbe227 Set proper class to subclass of Array
    a6e25f7 Renumber hash keys during dup since there may be duplicates.
    5ec051f Avoid inline local variable declarations; fix #3554
    1bdaf9c Merge pull request #3553 from okkez/add-array-slice-bang
    33f77fe Implement Array#slice!
    0f52893 Merge pull request #3552 from ksss/time
    397f1fc Fix infinity loop
    6698049 Merge pull request #3544 from ksss/lineno
    f688de5 Merge pull request #3545 from keizo042/ignore_tags
    d0e42ef Ignore file generated by ctags
    b1c5c3b Fix lost lineno
    051e40c Use MRB_PRId for NODE_NTH_REF; ref #3530
    9eb0c11 Cast to mrb_int to silence a warning; fix #3530
    41f5c5b Merge pull request #3529 from kou/hash-ext-sub-class
    8ca9823 Merge pull request #3536 from ksss/string-sub
    63c0044 Fix result if pattern is empty
    e72e50b Hash sub class creates new sub class objects instead of Hash
    3703aed Use `snprintf()` to stringify fixnum numbers; ref #3492
    339c6ae Add explicit cast from float to mrb_int.
    631de65 Merge pull request #3527 from ksss/string-gsub
    dcf6a41 Use `snprintf()` to stringify fixnum numbers; fix #3492
    cea6a16 Fixed some compiler errors regarding PRId.
    7a74a61 Callback should yield with pattern every time
    67a6982 Support to return Enumerator for String#gsub,gsub!
    0957492 Should not check/call `to_str` for immediate objects; ref #3515
    527dcd5 `super class error` formats the superclass by `inspect`; rerf #3515
    ef105b5 Use MRB_PRId instead of "%d"; fix #3515
    4cf38eb Fixed OP_RESCUE code generation bug; fix #3519
    d01118d OP_RESCUE refactored; ref #3519
    8d1468e Remove cname duplication from exc_inspect().
    e6b5c75 Avoid possible infinite recursion in mrb_print_error(); ref #3517
    2cbbeba Check call depth when mrb_yield_class() is called; ref #3521
    75c374c Update stack only when callinfo is popped; fix #3521
    6db38c3 Need not to call mrb_obj_as_string() is sep is nil.
    ce86975 Merge pull request #3526 from ksss/sprintf
    2005bf9 Should use mrb_int for any object
    fa502b4 Need to setup singleton_class chain; fix #3509
    38a3b89 Small cosmetic change ("* " -> "*").
    6ea26aa Save/restore GC arena index to avoid arena overflow error.
    00427d4 Fixed access of uninitialized C local variable; fix #3525
    b2916f1 Avoid mrb_check_string_type() in raising exception; fix #3506
    27fc76f Merge pull request #3524 from ksss/timestamp
    fca17b4 Avoid trampoline when #eval is called from mrb_funcall(); fix #3522
    f99e100 MiniRake::Task#timestamp should use Time.now only
    9ecebeb Merge pull request #3510 from ksss/string-each_line
    47cc5d6 Singleton classes do not have outer class set; fix #3505
    b64f087 Protect stack region before calling mrb_convert_type(); fix #3504
    4ee79a8 Support to return enumerator when no block given
    673ce23 Suuport custom separator
    6eb02a8 Use duplicated object for block args
    f8b31a0 `instance_eval` method does not introduce C function boundary; fix #3508
    4b1e5d4 Merge pull request #3503 from nobu/bug/sprintf-oob
    d8c4fe7 Fix out-of-bound access
    191ee25 Need to copy argv since it may be reallocated; fix #3500
    877f43b OP_BLKPUSH is invalid outside of methods; fix #3501
    916b8ed Generate new OP_RESCUE; fix #3487
    92f5bec Update VM to support new OP_RESCUE behavior; ref #3487
    26169f9 Enhance OP_RESCUE to take B operand fas matching exception; ref #3487
    000c68d OP_RETRUN to take B as matching exception; ref #3487
    4ab7029 Revert 642ab8e; ref #3422
    94395e8 The width printf specifier may be negative; fix #3498
    f30ec2d fixup! Check return value from snprintf(); ref #3498
    e392231 Check return value from snprintf(); ref #3498
    f9ed15d Merge pull request #3496 from ksss/string-gsub
    7590482 Merge branch 'master' into string-gsub
    431f474 Merge pull request #3497 from ksss/subreplace
    b56ad8d \1 sequences as empty strings
    4b3e6cf Avoid infinity loop when empty string pattern
    ff262f2 Update ci->mid according to surrounding scope; fix #3490
    2f299cf Simplify expression; ref #3490
    e8f09f9 Raise special Exception when exception class is redefined; fix #3493
    c6e5659 Use string#upto() if available; fix #3489
    4763312 Terminate loop if generated string longer than the last; ref #3489
    63dbed0 `__FILE__` should not update `p->filename`; fix #3485
    513f4fb Merge pull request #3484 from ksss/string-frozen
    8a15abd Avoid trampoline code if mrb_f_send is called from funcall; fix #3383
    eba4b1f Check modifiable for String `bang' methods
    d050694 Merge pull request #3483 from ksss/string-index
    76e1035 String#index shouldn't return nil when "".index ""
    4f43db8 Unshare popped TT_ENV objects.
    3b40a2f Limit ecall() recursion levels; fix #3466
    ecee8c5 Avoid tracing shared TT_ENV object.
    c789acb Save/restore arena index in the loop.
    ffdf7be Define jmpbuf_id outside of `extern "C"`; ref #3470
    2d858ca Use C++ ABI only when MRB_ENABLE_CXX_ABI is set; ref #3470
    1ab7e7e Fixed a bug in register size calculation; fix #3479
    3390020 The method_missing removal condition in a76dc04a was wrong.
    27ec243 Fix possible stack overflow for `method_missing`; fix #3478
    0bcf9e2 Reorganize C++ exceptions; ref #3470
    fdd9275 Create NoMethodError instance using `mrb_obj_new()`.
    9b176a1 Avoid using <mruby/throw.h> in mruby.c
    eca35df `ci` may be moved during `mrb_convert_type()`; ref #3474
    8b089c0 Keep space for safe navigation operator; fix #3475
    cd0ac59 Newlines in strings should be counted; fix #3477
    1a1f834 Compile C files by C compiler when C++ files mixed.
    dc56bbe Ignore empty ensure clause.
    fb3243e `return` (and `break`) should handle splat correctly; fix #3472
    22eb41a Fix NODE_DREGX dump; ref #3471
    c52bbe1 Fixed a bug in dregex option generation; fix #3471
    89eac4f Update codegen.c comments
    7db0786 Fix integer overflow; fix #3473
    405f5a2 Add type check by mrb_get_args(); ref #3476
    74dbee8 Add check before calling str_substr(); ref #3476
    bdac7df Check if the value is fixnum before mrb_funcall(); fix #3476
    a76dc04 Remove default Kernel#method_missing.
    b563bcb Check if OP_RETURN cross C function boundary; fix #3462
    50bbdbb Fixed ecall() invoked too early; fix #3464
    3fc9bf3 Update local variable only after the value is checked.
    d219e63 Clear block arg when method_missing takes *args.
    9e93d5d Stack may be reallocated in mrb_run(); fix #3465
    736be0e Always keep block argument space in stack; fix #3469
    83a6c0e Merge pull request #3458 from dabroz/gitlab-ci
    fecbde3 Merge pull request #3461 from iij/build-with-byacc
    da4f8e1 replace "yylval" with "pylval" to make it compile with byacc.
    a9f7b41 Merge pull request #3460 from AltimitSystems/android.rake-ndk-clang
    fd08e0e Added example build script for Android armeabi-v7a NEON hardware FPU
    324231a Android toolchain separated target architecture compile flags (ctarget) from shared compile flags (cflags). Added support for custom mfpu and float-abi switches for the armeabi-v7a target.
    73e5a19 Configure callinfo target_class as CRuby; ref #3429
    4dae285 Merge pull request #3457 from dabroz/fix-clang-32-64
    097da23 Avoid executing OP_STOP in eval(); fix #3429
    5e3c329 Adjust callinfo env and target_class; ref #3429
    d83aad8 Merge branch 'master' into android.rake-ndk-clang
    bc721ec Gitlab tests for multiple configurations
    bd2b76e Build fix for 32-bit clang 3.8/3.9 with MRB_INT64
    b165708 Move #instance_exec to Kernel module
    517e931 Move #__id__ to BasicObject; ref #3417
    612d636 Move #instance_eval to BasicObject; ref #3417
    3dbda91 Move #__send__ to BasicObject; ref #3417
    8b4bd31 Move #== and #!= to BasicObject; ref #3417
    3f9450e Move BasicObject#method_missing to Kernel#method_missing; ref #3417
    1e5b5b1 Prohibit too deep `mrb_funcall()` recursion; ref #3421
    1e57fef Do not funcall() Exception#set_backtrace from runtime.
    8efa7b0 Preallocate SystemStackError; ref #3421
    0376d4d Merge pull request #3455 from crimsonwoods/fix-android-build-script
    dd24f9f Avoid calling hook methods if they are not overridden.
    0429692 Use mrb_funcall_argv() instead of mrb_funcall()
    5395dbf Add new two build config files.
    a6b1e96 Modify default cflags.
    838fa69 Add '-Wl,--fix-cortex-a8' linker option for 'armeabi-v7a' architecture.
    83a3da4 Set default linker 'flags' and 'flags_before_libraries'.
    ba812d2 Merge pull request #3453 from palkan/fix/test-gems-setup
    1315667 Separate compilers setup from config setup
    30aa521 Do not use mrb_funcall() if Hash#default is not overridden; ref #3421
    719f700 Extend mruby stack when keep is bigger than room; fix #3421
    ecb6ac8 Fixed codegen error of redo in rescue; fix #3422
    c2ddcd4 Should handle `break` from funcall(); fix #3434
    f198530 Fixed too much value_copy() when block is not given; fix #3440
    b238747 Merge pull request #3452 from dabroz/fix-kernel-caller-aspec
    e4fa59f Fixed aspec for Kernel#caller
    6066482 Merge pull request #3451 from dabroz/revert-string-mul
    1f2d786 Avoid direct return from ecall(); fix #3441
    90f262f Revert "Optimization for String#* for 1-byte strings"
    ff03a9a Avoid integer overflow in sprintf(); fix #3439
    642ab8e `ecall()` should preserve stack address referenced from ci[1].
    0b14389 Remove historical comment; ref #3450 #3448
    0ef51d8 Merge pull request #3450 from r-obert/patch-1
    b130f43 remove skip that shouldn't be necessary anymore.
    8f4a929 String#replace should update s->flags for MRB_STR_NO_UTF.
    6cb7aef Add type cast to pacify warning
    b36495b Merge pull request #3449 from dabroz/fix-ljust-ruby
    d1bc7ca Optimization for String#* for 1-byte strings
    ac9d04f String#ljust and String#rjust reimplemented with optimized Ruby
    24048cd Tests for UTF-8 String#ljust and String#rjust
    c802cd0 Merge pull request #3446 from ksss/minirake
    0dc26f5 Merge pull request #3447 from dabroz/fix-ljust
    981105b String#ljust and String#rjust reimplementation (fix #3445)
    cd8284f Fix build error when trace mode
    d0ecf86 Fixed mixture of signed/unsigned integers
    4b32e65 Check if irep is NULL before print_backtrace()
    af4d74f Add MRB_TT_PROC check to OP_SUPER as well; fix #3432
    76135e7 Check if m->env is NULL before dereferencing it; fix #3436
    b277c58 Mark classes referenced from saved backtrace.
    f3d4ff1 Fixed a bug in ci address shifting; fix #3423
    be550f0 codedump.c: OP_POPERR does not have register access.
    7eebbce Merge pull request #3437 from eboda/master
    46e4e34 Fix interpolation escaping in String.inspect
    794de33 Merge pull request #3430 from ksss/local_variables
    bd72dba Kernel#local_variables: Make result array unique
    f2b18a6 Check maximum number of formal arguments.
    48e0bbb Make `eval` to use trampoline technique; fix #3415
    bf4e79c `argv` may be modified when `mrb_funcall()` is called; fix #3419
    8f52b88 No need to make env unshared in the finalization; fix #3425
    8e0f231 Mark `mrb->backtrace.exc` as GC root; fix #3388
    6e0ba00 Jump address should fit in 16 bits range; fix #3426
    a746ebe Merge pull request #3420 from udzura/patch-1
    e0323df Merge pull request #3427 from clayton-shopify/fix-mrb-random-init
    a8ccda5 Fetch arguments earlier to avoid a crash.
    ab5812d Use standard Module(Class)#to_s
    6420951 Update example lines of mrbgems in build_config.rb; ref #3414
    ac88f85 Copy mrb_float values from pool when MRB_WORD_BOXING; ref #3396
    51d7a69 Clear (o).w first for MRB_WORD_BOXING; ref #3396
    b3ce364 Outer class may be same as the class; fix #3382
    72bff29 Use size_t to avoid integer overflow in mrb_ary_splice(); fix #3413
    28cf7a5 Change return type of mrb_range_beg_len() from `int` to `mrb_int`.
    f0f095b Fix a double free problem in codegen.c; fix #3378
    3ce8260 Fix memory leak; ref #3378
    ffb5e5a The ensure clause should keep its ci after its execution; fix #3406
    324887d Backtrace list must be an array of strings; fix #3408
    28b7b9e Skip non string values in backtraces; ref #3408
    40ec03c Merge pull request #3412 from ksss/mrb_ary_splice
    78a395d Refactoring: Use array_copy instead of for loop
    4d38cad Add MRB_API to mrb_range_beg_len(); ref #3411
    5e1d923 Changed the behavior of mrb_range_beg_len(); close #3411
    708088c Should not make empty strings shared; fix #3407
    49fd759 Use mrb_write_barrier() instead of mrb_field_write_barrier_value()
    fdec607 Remove unnecessary inline declaration; ref #3409
    9d0f07e Merge pull request #3409 from ksss/mrb_ary_splice
    39ce9fe Merge pull request #3410 from ksss/mrb_ary_aset
    b49bd70 Should raise RuntimeError when object frozen
    65c9baa Rewrite mrb_ary_splice
    bd50273 Merge pull request #3404 from clayton-shopify/fix-block-params
    797ff62 Fix incorrect parsing of block parameters.
    c48aef0 Stack position may be bigger than stack bottom; fix #3401
    873b96b Merge pull request #3402 from clayton-shopify/fix-masgn-optimization
    2c0f8f1 Remove problematic optimization.
    b23fb45 Integral#step without arg should loop forever as CRuby does.
    fe0e455 Initialize callinfo->acc; ref #3243
    c8536d9 Merge pull request #3362 from ksss/proc
    c830698 Dots is not needed for base 10 negative numbers; fix #3400
    c59ef59 Merge pull request #3399 from ksss/caller
    59d9f31 Skip when backtrace doesn't get
    6f9cb74 Implement Kernel.#caller
    8d61f21 Add proper given argument number in the wrong-number-argument error.
    a357124 Add proper stack size calculation; fix #3398
    38acb9e Kernel#initialize should not break existing mt; fix #3397
    41eff63 Merge pull request #3393 from clayton-shopify/fix-exc-initialize
    fb1dad8 Merge pull request #3394 from clayton-shopify/really-fix-nme
    a69d92e Merge pull request #3395 from hhc0null/fix-typo
    af4f6e8 Fix a typo.
    6be5160 Fix 36fc1f14 not checking in the right location
    bc4c90d Use mrb_int for argc.
    db1bd07 Use temporary variable to avoid potential crash; fix #3387
    e1ff710 String#replace should check replacing string; fix #3374
    06b2e6a Check if ci->target_class is NULL before dereferencing
    44edc51 Raises Exception if raising exception class is redefined
    7523cdf Exception#initialize to take arbitrary number of args; ref #3384
    c4491e4 Validate tm values before timegm(); close #3368
    d3a8ebf Merge pull request #3381 from sorah/asn
    ee7fc56 Put package's libs flag after %{objs}
    147c5c5 Merge pull request #3380 from syucream/fix-assert
    f085baa Pass when assert returns a false value
    392d7fb Add ary_modify() checks; close #3379
    8c11b04 Merge pull request #3377 from ksss/respond_to
    3c2f101 Merge pull request #3376 from bovi/2017-copyright
    ddcb30d Check intern object returned by mrb_check_string_type
    2c77dfa Update Copyright to 2017
    885d929 Improve capacity enhancing conditions
    c6a1172 Add pointer cast to pacify warnings.
    9a76a0b Move mrb_assert() position.
    5d0b945 Merge pull request #3371 from takjn/removed_unnecessary_escape_charcter
    f53f73f Should not deallocate shared string referring static; fix #3373
    fe0884f Removed ununnecessary escape character '\' for MRUBY_XXX in libmruby.flags.mak
    36f5b44 Add new method Kernel#frozen?; ref #3370
    a10f85f Merge pull request #3369 from ksss/fix-str-prepend
    2e0c2b5 Add mrb_hash_modify() to Hash#{delete,clear}; ref #3370
    eeca6ec Rewrite String#prepend with Ruby
    bc1259d add explicit casts
    f388b6d use size_t instead of int
    158a6ab Merge pull request #3367 from ksss/str-modify
    8a9a241 Fix memory error on str_buf_cat
    30b6648 Small refactoring: should use RSTR_CAPA
    07167b8 Initialize potentially uninitialized variable tsec.
    8b77979 Initialize potentially uninitialized variable z
    1ed4de5 str_buf_cat(): better size check added; ref #3342
    342b1de str_buf_cat(): should allocate at least  RSTRING_EMBED_LEN_MAX+1.
    cfdd1e3 ary_expand_capa(): refine conditions to avoid infinite loop; ref #3353
    9d84f0d ary_expand_capa(): size calculation by size_t; fix #3353
    270ea41 method_missing() may have CALL_MAXARGS-1 arguments; fix #3351
    803bf01 save/restore arena index around yield; ref #3359
    6af8cc3 Merge pull request #3366 from ksss/splice
    caba1a1 Check array max size
    30d5424 Merge pull request #3365 from ksss/freeze
    5c1c002 Fix segv when primitive value
    000a311 Merge pull request #3364 from ksss/string2
    ede04d6 Merge pull request #3363 from ksss/string
    c626b82 Check overflow string length
    0de65a8 Do nothing when empty string
    a68b568 Should call initialize method if defined
    3cba13c Proc shouldn't have `initialize` method
    70aa6dc Merge branch 'master' into android.rake-ndk-clang
    
    git-subtree-dir: mruby
    git-subtree-split: 964a02f1fa1eee2a977cada9f95315e4f8ce5e7a
  4. Merge pull request #73 from matsumotory/support-custom-timeout

    matsumotory committed May 1, 2017
    Support custom timeout
  5. Apache2.2 use mod_cgid for travis

    matsumotory committed May 1, 2017
  6. Add Apache::Server#timeout= for custom timeout

    matsumotory committed May 1, 2017
  7. Add test for custom timeout

    matsumotory committed May 1, 2017
Commits on Jan 25, 2017
  1. Bump up version 1.13.13

    matsumotory committed Jan 25, 2017
  2. Merge pull request #72 from matsumotory/add-response-time-method

    matsumotory committed Jan 25, 2017
    Add response time method
  3. oops, mistake handler name

    matsumotory committed Jan 25, 2017
  4. Update httpd version for test

    matsumotory committed Jan 25, 2017
  5. Add test for response time method

    matsumotory committed Jan 25, 2017
  6. Add response time method

    matsumotory committed Jan 25, 2017
Commits on Dec 23, 2016
  1. Update httpd version

    matsumotory committed Dec 23, 2016
  2. Squashed 'mruby_test/' changes from 36fc1f1..5e3077c

    matsumotory committed Dec 23, 2016
    5e3077c One less argument for raisef(); fix #3355
    987daa6 Merge pull request #3358 from takjn/add-example-rx630
    76eb714 Added example for cross-compiling for Renesas RX630
    4325707 Check if width is zero or negative before fill; fix #3347
    2edf15b Prohibit mixture of posarg and nextarg; ref #3347
    9781f7f Add "not reached" mark in mrb_ary_concat()
    c2bbfa5 NODE_NEGATE cdr may not be code-node; fix #3348 ref #3324
    b0886d5 Zero length heredoc still crashed; ref Shopify/mruby-internal#81
    5289b4b Merge pull request #3346 from clayton-shopify/fix-float-read
    868d2e5 Fix crash when exponent is -2147483648
    73cc087 remove debug code; ref #3344
    eb2a52a Merge pull request #3345 from clayton-shopify/fix-range-beg-len
    73ad739 Check type before calling mrb_range_ptr.
    fead715 tLABEL should not come after conditional ternary; fix #3344
    df35076 Restore callinfo offset in mrb_yield_with_class()
    d196e4d void_expr_error(): n may be NULL.
    3bedd22 Add assertion to make sure new capacity does not overflow.
    3a7c369 Make sure str->capa is under MRB_INT_MAX; fix #3342
    647ad29 Fixed wrong condition in new_sym() that breaks symbol data.
    a4ae22a Failed to realloc irep->syms in certain condition.
    9cef265 should not try to set classpath for frozen classes; ref #3340
    6ac5473 Merge pull request #3341 from kou/support-pkg-config-in-mrbgem-rake
    1164463 freeze classes/modules; ref #3340
    761562b freeze instance variables; ref #3340
    92c843d rename prefix RBASIC_ to MRB_; ref #3340
    1fbad32 Merge pull request #3340 from k0kubun/object-freeze
    237d26f Support pkg-config in mrbgem.rake
    10bb7ad Implement Object#freeze
    3cc9134 Merge pull request #3329 from bouk/reuse
    d934223 Merge branch 'bouk-negate'
    13979a4 Merge pull request #3324 from bouk/mruby/bouk-negate
    0af170f gc.c: dead_slot is boolean; ref #3339
    965690c Merge pull request #3339 from kazuho/kazuho/retain-page-with-tt-env
    2ef634e do not destroy a page with an active TT_ENV (e.g. an env referred from TT_FIBER)
    7b968ca Clear parsing_heredoc at the end of file
    8c26efd Merge pull request #3338 from bouk/break-127
    1264219 Fix segfault in gen_values with NOVAL and more than 127 args
    c85feae Merge pull request #3337 from bouk/undef-127
    c8da3c4 Fix segfault when undef is called with exactly 127 arguments
    db6b6ff Merge pull request #3336 from AltimitSystems/string.const.macro
    2827655 Removed unnecessary const macro - const keyword is already a dependency
    b84e005 Merge pull request #3335 from mattn/fix-vs2013
    c27dbfe disable define const on VS
    eda6c1d fix build on vs2013-vs2015
    bcd9185 Merge pull request #3331 from dabroz/feature-load-exec
    0d38ede Merge pull request #3333 from kazuho/kazuho/mrb_gc_unregister
    c2e749f fix issues of mrb_gc_unregister introduced in 09b1185
    0360a74 Promote load_exec to mruby API as mrb_load_exec (fixes #3248)
    d56a19c Don't generate code for NODE_NEGATE if the result isn't used
    f7a891f Mark all the built-in classes during GC sweep
    5930a6e Merge pull request #3328 from shugo/hash-dup-default_proc
    edf26d4 Merge pull request #3327 from AltimitSystems/errno.macro
    fe86cf4 Removed the errno declaration from string.c
    338e0ff Copy default_proc by Hash#dup.
    6187c21 Wrapped string.c errno with ifndef macro for platforms that use inbuilt errno macro
    2b0dd1f Merge pull request #3325 from kazuho/kazuho/detect-64bit
    b491f4b set `MRB_64BIT` if the sizeof(size_t) is 8
    dffb4d8 Add type check for cls before allocation
    3623a83 Protect exceptions within main() function
    9a962ed Raise an exception in time_update_datetime().
    6ec14a2 Merge pull request #3318 from bouk/splat-stack
    43512cc Reorganize heredoc rules; fix #3273
    ac561a5 Add symbol type check for Module#undef_method
    5c651d6 add MRB_API to mrb_float_read(); ref #3270
    a0fbc46 Import locale insensitive strtod() from Ruby1.8; fix #3270
    802e396 Merge branch 'bouk-method-missing-segfault'
    144006a update NoMethodError tests; ref #3291
    8f510be Merge branch 'method-missing-segfault' of https://github.com/bouk/mruby into bouk-method-missing-segfault
    f6d1999 Needed to apply block from safe-navigation operators; fix #3310
    6b84ff4 Print NODE_SCALL (&.) from mrb_parser_dump()
    c029c6c codegen: avoid unnecessary OP_MOVE after CASE
    23c4ad0 Merge pull request #3319 from bouk/apost-splatt
    79a621d Check before retrieving struct RRange pointer; fix #3320
    9776150 Merge pull request #3317 from bouk/missing-to-s
    d89cfca Merge pull request #3315 from ksss/enumerator-with_index
    e673fbb Merge pull request #3321 from clayton-shopify/fix-proc-crash-upstream
    d7589b1 Merge pull request #3316 from clayton-shopify/fix-array-size-3
    1ff4b3f Fix segfault in mrb_proc_copy.
    fe362c1 Fix segfault when using result of rest assignment
    9c61e1c Use mrb_ptr instead of mrb_cptr in Kernel#to_s
    7d07466 Fix stack move segfaulting in OP_ARYCAT
    2bc3a5f Fix more integer overflows.
    2cca9d3 avoid comparison between signed and unsigned integer; ref #3312
    f1cf6ef Merge pull request #3312 from nobu/feature/multi-unicode-escape
    4d807fc Merge pull request #3313 from yhara/add-test
    ab4ab7c Fix compile error by #3309
    0f08914 Support multiple elements \u syntax
    fed40b4 Extract read_escape_unicode from read_escape
    bd9bc77 Fix assertion argument orders
    e4086d4 Fix compile error by #3309
    2718fed Support svalue
    0f774ff Support nil argument as no argument
    3f83ec6 Add test for recently fixed bugs
    61ac564 Merge pull request #3309 from clayton-shopify/fix-array-size-2
    c37c255 Merge pull request #3311 from ksss/enum-generator
    31f0ffe Support Enumerable methods
    acdddb4 Prevent array size calculation overflows.
    8461a31 Fixed too much void_expr_error(); fix #3307
    0e9c9ac Merge branch 'ksss-enumerator-lazy'
    779c262 resolve conflict; ref #3306
    3cf66a8 Merge pull request #3305 from ksss/lazy-to_enum
    0f90227 Change Lazy class outer
    8675975 Implement Enumerable::Lazy#to_enum and enum_for
    2bb47ad Prohibit instantiation of immediate objects
    f7c0024 Merge pull request #3278 from bouk/dup-class
    5771c97 add a test for #3296
    3774311 should not refer Struct class by name; fix #3296
    630733f check ttype before object allocation; fix #3294
    27d166d Merge pull request #3304 from clayton-shopify/fix-array-size
    66f64d4 Merge pull request #3303 from bouk/empty-nil
    b633aa9 Use size_t to calculate bytes needed for array.
    523c267 Interpret argument in 'f ()' as nil instead of nothing
    246a9a8 ary_concat: support self concatenation; fix #3302
    9fc62d2 pre-allocate arena overflow error
    27ceb84 parse.y: use opt_paren_args to simplify yield rule
    a384bcc Fix instances where return value of mrb_method_search_vm is unchecked
    73bb30c Copy over INSTANCE_TT when duping class
    
    git-subtree-dir: mruby_test
    git-subtree-split: 5e3077c00da721ede78c07d2f2e261aded74e7b6
  3. Squashed 'mruby/' changes from 36fc1f1..5e3077c

    matsumotory committed Dec 23, 2016
    5e3077c One less argument for raisef(); fix #3355
    987daa6 Merge pull request #3358 from takjn/add-example-rx630
    76eb714 Added example for cross-compiling for Renesas RX630
    4325707 Check if width is zero or negative before fill; fix #3347
    2edf15b Prohibit mixture of posarg and nextarg; ref #3347
    9781f7f Add "not reached" mark in mrb_ary_concat()
    c2bbfa5 NODE_NEGATE cdr may not be code-node; fix #3348 ref #3324
    b0886d5 Zero length heredoc still crashed; ref Shopify/mruby-internal#81
    5289b4b Merge pull request #3346 from clayton-shopify/fix-float-read
    868d2e5 Fix crash when exponent is -2147483648
    73cc087 remove debug code; ref #3344
    eb2a52a Merge pull request #3345 from clayton-shopify/fix-range-beg-len
    73ad739 Check type before calling mrb_range_ptr.
    fead715 tLABEL should not come after conditional ternary; fix #3344
    df35076 Restore callinfo offset in mrb_yield_with_class()
    d196e4d void_expr_error(): n may be NULL.
    3bedd22 Add assertion to make sure new capacity does not overflow.
    3a7c369 Make sure str->capa is under MRB_INT_MAX; fix #3342
    647ad29 Fixed wrong condition in new_sym() that breaks symbol data.
    a4ae22a Failed to realloc irep->syms in certain condition.
    9cef265 should not try to set classpath for frozen classes; ref #3340
    6ac5473 Merge pull request #3341 from kou/support-pkg-config-in-mrbgem-rake
    1164463 freeze classes/modules; ref #3340
    761562b freeze instance variables; ref #3340
    92c843d rename prefix RBASIC_ to MRB_; ref #3340
    1fbad32 Merge pull request #3340 from k0kubun/object-freeze
    237d26f Support pkg-config in mrbgem.rake
    10bb7ad Implement Object#freeze
    3cc9134 Merge pull request #3329 from bouk/reuse
    d934223 Merge branch 'bouk-negate'
    13979a4 Merge pull request #3324 from bouk/mruby/bouk-negate
    0af170f gc.c: dead_slot is boolean; ref #3339
    965690c Merge pull request #3339 from kazuho/kazuho/retain-page-with-tt-env
    2ef634e do not destroy a page with an active TT_ENV (e.g. an env referred from TT_FIBER)
    7b968ca Clear parsing_heredoc at the end of file
    8c26efd Merge pull request #3338 from bouk/break-127
    1264219 Fix segfault in gen_values with NOVAL and more than 127 args
    c85feae Merge pull request #3337 from bouk/undef-127
    c8da3c4 Fix segfault when undef is called with exactly 127 arguments
    db6b6ff Merge pull request #3336 from AltimitSystems/string.const.macro
    2827655 Removed unnecessary const macro - const keyword is already a dependency
    b84e005 Merge pull request #3335 from mattn/fix-vs2013
    c27dbfe disable define const on VS
    eda6c1d fix build on vs2013-vs2015
    bcd9185 Merge pull request #3331 from dabroz/feature-load-exec
    0d38ede Merge pull request #3333 from kazuho/kazuho/mrb_gc_unregister
    c2e749f fix issues of mrb_gc_unregister introduced in 09b1185
    0360a74 Promote load_exec to mruby API as mrb_load_exec (fixes #3248)
    d56a19c Don't generate code for NODE_NEGATE if the result isn't used
    f7a891f Mark all the built-in classes during GC sweep
    5930a6e Merge pull request #3328 from shugo/hash-dup-default_proc
    edf26d4 Merge pull request #3327 from AltimitSystems/errno.macro
    fe86cf4 Removed the errno declaration from string.c
    338e0ff Copy default_proc by Hash#dup.
    6187c21 Wrapped string.c errno with ifndef macro for platforms that use inbuilt errno macro
    2b0dd1f Merge pull request #3325 from kazuho/kazuho/detect-64bit
    b491f4b set `MRB_64BIT` if the sizeof(size_t) is 8
    dffb4d8 Add type check for cls before allocation
    3623a83 Protect exceptions within main() function
    9a962ed Raise an exception in time_update_datetime().
    6ec14a2 Merge pull request #3318 from bouk/splat-stack
    43512cc Reorganize heredoc rules; fix #3273
    ac561a5 Add symbol type check for Module#undef_method
    5c651d6 add MRB_API to mrb_float_read(); ref #3270
    a0fbc46 Import locale insensitive strtod() from Ruby1.8; fix #3270
    802e396 Merge branch 'bouk-method-missing-segfault'
    144006a update NoMethodError tests; ref #3291
    8f510be Merge branch 'method-missing-segfault' of https://github.com/bouk/mruby into bouk-method-missing-segfault
    f6d1999 Needed to apply block from safe-navigation operators; fix #3310
    6b84ff4 Print NODE_SCALL (&.) from mrb_parser_dump()
    c029c6c codegen: avoid unnecessary OP_MOVE after CASE
    23c4ad0 Merge pull request #3319 from bouk/apost-splatt
    79a621d Check before retrieving struct RRange pointer; fix #3320
    9776150 Merge pull request #3317 from bouk/missing-to-s
    d89cfca Merge pull request #3315 from ksss/enumerator-with_index
    e673fbb Merge pull request #3321 from clayton-shopify/fix-proc-crash-upstream
    d7589b1 Merge pull request #3316 from clayton-shopify/fix-array-size-3
    1ff4b3f Fix segfault in mrb_proc_copy.
    fe362c1 Fix segfault when using result of rest assignment
    9c61e1c Use mrb_ptr instead of mrb_cptr in Kernel#to_s
    7d07466 Fix stack move segfaulting in OP_ARYCAT
    2bc3a5f Fix more integer overflows.
    2cca9d3 avoid comparison between signed and unsigned integer; ref #3312
    f1cf6ef Merge pull request #3312 from nobu/feature/multi-unicode-escape
    4d807fc Merge pull request #3313 from yhara/add-test
    ab4ab7c Fix compile error by #3309
    0f08914 Support multiple elements \u syntax
    fed40b4 Extract read_escape_unicode from read_escape
    bd9bc77 Fix assertion argument orders
    e4086d4 Fix compile error by #3309
    2718fed Support svalue
    0f774ff Support nil argument as no argument
    3f83ec6 Add test for recently fixed bugs
    61ac564 Merge pull request #3309 from clayton-shopify/fix-array-size-2
    c37c255 Merge pull request #3311 from ksss/enum-generator
    31f0ffe Support Enumerable methods
    acdddb4 Prevent array size calculation overflows.
    8461a31 Fixed too much void_expr_error(); fix #3307
    0e9c9ac Merge branch 'ksss-enumerator-lazy'
    779c262 resolve conflict; ref #3306
    3cf66a8 Merge pull request #3305 from ksss/lazy-to_enum
    0f90227 Change Lazy class outer
    8675975 Implement Enumerable::Lazy#to_enum and enum_for
    2bb47ad Prohibit instantiation of immediate objects
    f7c0024 Merge pull request #3278 from bouk/dup-class
    5771c97 add a test for #3296
    3774311 should not refer Struct class by name; fix #3296
    630733f check ttype before object allocation; fix #3294
    27d166d Merge pull request #3304 from clayton-shopify/fix-array-size
    66f64d4 Merge pull request #3303 from bouk/empty-nil
    b633aa9 Use size_t to calculate bytes needed for array.
    523c267 Interpret argument in 'f ()' as nil instead of nothing
    246a9a8 ary_concat: support self concatenation; fix #3302
    9fc62d2 pre-allocate arena overflow error
    27ceb84 parse.y: use opt_paren_args to simplify yield rule
    a384bcc Fix instances where return value of mrb_method_search_vm is unchecked
    73bb30c Copy over INSTANCE_TT when duping class
    
    git-subtree-dir: mruby
    git-subtree-split: 5e3077c00da721ede78c07d2f2e261aded74e7b6
Commits on Nov 29, 2016
  1. Bump up version 1.13.12

    matsumotory committed Nov 29, 2016
  2. Squashed 'mruby_test/' changes from 08a1dd2..36fc1f1

    matsumotory committed Nov 29, 2016
    36fc1f1 Added Exception check in mrb_exc_set(); close #3292
    5ea1bb0 Merge pull request #3301 from dabroz/feature-64-bit-word
    f9f19f3 replace _cstr by _lit for litral C strings; ref #3300
    3fdfd8c Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit mode
    3d9aa46 Add NULL checks for Time data retrieval
    c70e206 Merge pull request #3300 from herwinw/doc
    afee618 Added documentation on function for globals
    72915ca Merge pull request #3299 from dabroz/feature-16-bit-nan
    626648d Fixed NaN boxing when MRB_INT16 is set
    277e81a removed failing test for Time#initialize; ref #3295
    4256130 Merge pull request #3293 from ksss/enum-first
    f666350 Merge pull request #3295 from bouk/time-seg
    0ee58a0 Merge pull request #3298 from dabroz/patch-1
    be52233 Fix typo in istruct.h
    b7f9a58 Fix null pointer dereference in mrb_time_initialize
    1bf565e Argument more strictly
    c28a963 Like a Enumerable#take
    743c1e7 stop warnings in the test; ref #3280
    1329529 Merge branch 'bouk-nested-empty-heredoc'
    55842c5 resolve conflict; ref #3279
    d3ff9d3 Merge branch 'bouk-struct-array-members'
    79e3980 resolve conflict; ref #3281
    7f05ba8 Merge branch 'bouk-127-segfaults'
    30f12ba resolve conflict; ref #3283
    9f7701e Merge branch 'bouk-retry-codegen-misalign'
    cc2786c resolve conflict; ref #3285
    0d48a97 Merge branch 'bouk-empty-ternary'
    0b4017f resolve conflict; ref #3286
    d77b254 Merge pull request #3287 from bouk/proc-arity
    6905597 Merge pull request #3284 from bouk/remove-method-segfault
    a28fa35 Merge pull request #3282 from bouk/fix-break-instance-class
    1e892c0 Merge pull request #3280 from bouk/struct-redefine
    b4d5017 Merge pull request #3288 from bouk/chomp-bang-len
    54921aa Merge pull request #3289 from bouk/setbyte-len
    99f6de5 Merge pull request #3290 from bouk/unsafe-peep
    964427f Fix unsafe peephole optimization
    83005d8 Read length after args in String#setbyte
    76a1bdf Get String length after args in String#chomp!
    1ec5994 Fix calling .arity on Proc with undefined `initialize`
    71641bb Fix segfault caused by empty condition in ternary
    1253982 Fix codegen issue causing misaligned register
    22f5504 Fix segfault on remove_method with invalid argument
    75b31d7 Fix segfault on method call with exactly 127 arguments
    4523aae Fix segfault when defining class inside instance_exec on primitive
    b60d6c4 Don't allow array parameter in Struct.new
    82731d9 Remove constant when a struct is redefined.
    73e4f06 Fix nested empty heredoc causing segfault
    a630c4f use MRB_PRId instead of %d for mrb_int
    8602789 Merge pull request #3277 from dabroz/feature-float-tolerance
    e289ba3 Merge pull request #3276 from dabroz/author
    22f7325 redo should work well in for statement; fix #3275
    72ed7ee Fixed Range.size to use proper floating point tolerance
    a8b8abb Fixed float tolerance in tests when MRB_USE_FLOAT is set
    3943ab5 Update AUTHORS
    0c924b9 fixed a bug in self modifying Array#[]=; fix #3274
    cb5c9d3 always call Hash#default if no key found; fix #3272
    23c73ff Time#initialize_copy: Check if source time is initialized.
    cef7bd5 Merge pull request #3271 from ksss/enum-take
    227daa8 Relax 'void value expression' check that was too strict
    5134734 Shouldn't call `each` method if size is 0
    9e2faec Support object does'n have `<` method
    1c95939 Add "void value expression" check to the parser.
    dc4be19 Add forgotten loop_pop() in NODE_OP_ASGN codegen
    f5a86ca Add pointer casting from mrb_malloc(); ref #3267
    798c69d Avoid casting from int to unsigned char for C++; ref #3267
    d7a6070 Fixed language standard mode for GCC (cannot use gnu99 with C++, c++03 used instead)
    c2a60eb Fix for Windows-specific mruby C++ issues
    44c3859 Fix for compiling mruby as C++ on Visual Studio toolchain
    18757c8 Different method of compiling C as C++ (-x c++)
    00e6121 Safeguard against trying to use C++ exception handling in C code
    401ad45 Add constant export declaration for MRBC output compiled as C++
    1af9e36 Fixes for compiling mruby as C++
    477e12c Merge pull request #3269 from bouk/fix-printf-segfault
    2c28d00 Merge pull request #3268 from bouk/fix-random-segfault
    9bf1c0e Fix segfault when Fixnum#chr doesn't return a string
    c7262be Fix segfault in Array#sample
    669bbc7 codegen_scope should not keep old iseq ptr from irep
    bfbc6b9 local_variables() should not touch unshared env
    efebbbb Implement Float shift methods in C
    f414ed0 Merge pull request #3265 from dabroz/feature-fixexternc
    52b40cb Fixed extern "C" to use MRB_BEGIN/END_DECL in re.h
    8cba708 int64_value(): use FIXABLE()
    fb77765 hash value may be overflown from Integer
    be73905 accept floats as bit operator operands; fix #3260
    8112295 Removed fix_shift_get_width()
    740bf09 add bit operators ~,&,|,^ to Float class (mruby special)
    a701047 remove unnecessary ".!"; ref #3261
    bbaf3c2 Merge pull request #3261 from ksss/range-first
    03e399a Merge pull request #3262 from dabroz/feature-nanbox64fix
    de415b7 Merge pull request #3264 from naclyhara/patch-1
    aaa86a1 Fix typo in test
    b21b024 asserts checking validity of pointer and TT added for mrb_obj_value
    c385782 mrb_assert definition moved to the beggining of mruby.h
    8cdaf1e Fixed NaN boxing for 64-bit configrations on platforms that use full 48-bit usermode pointers
    d86f5d2 mruby architecture detection
    682237b Reimplements Range#first
    a3f8206 Merge pull request #3259 from dabroz/feature-16bitfix1
    4289e0c Fix for sprintf test exceeding bounds with MRB_INT16
    3ce51cb Merge pull request #3257 from ksss/range-size
    22390aa Use mrb_float instead of double
    a2fbd80 Fix Range#size results
    0ff3ae1 Range#include?: simplify condition; ref #3255
    b03b1e3 Merge pull request #3255 from ksss/range-include
    4ef591c Fix condition of Range#include?
    2a38bf9 Merge pull request #3254 from herwinw/doc
    18d6994 Documented most methods in mruby/hash.h
    d20c56c Documented most methods in mruby/array.h
    c043dc6 Typo fix: poped => popped
    57900d8 String#include? does not take integers
    92be276 String#{strip,lstrip,rstrip} may cause OOB access
    2e8ed95 Removed mruby-inline-struct gem from default.gembox; ref #3251
    8438792 renamed "inline" to "istruct" to represent inline struct; ref #3251
    4cca8ba inline structures data type for mruby (MRB_TT_INLINE) (fix #3237)
    784e07f Merge pull request #3252 from BanzaiMan/patch-1
    c8b0280 Merge pull request #3253 from ksss/range
    176d93d Ranges should not rewrite
    1ba61f0 Remove webhook notification for Travis CI
    5208ee5 Merge pull request #3250 from dabroz/feature-correct-aspec
    8e0dc6f Correct argument specifications for few methods:  - Struct#values_at  - Module#define_method  - String#chop  - String#chop!
    1685eff Fixed off-by-one error in String#[]= with Ranges
    1f554ff Fixed rindex calling into mrb_equal bug
    242b219 Fixed memory disclosure in String#lines
    92f72c7 make String#[]= to take Ranges as position argument
    739dad6 Fixed a memory problem in Array#to_h
    4f6cce0 class/module statement should re-open; fix #3225
    1422e57 move mrb_str_dup() to mrb_class_path; ref #2470
    01dddaf rename mruby-module-ext to mruby-class-ext; ref #2470
    451985d Implement Module#name. Solves #2132.
    88604e3 Hash#[] to call Hash#default
    feb9b3d Merge pull request #3224 from ksss/define_method
    752ca51 do not dump_node if parser failed
    185dad3 node_dump() to print NODE_HEREDOC terminator
    45aadd7 HEREDOC could fail with NUL terminated lines; fix#3244
    e86ead4 Merge pull request #3246 from ksss/cycle
    7685783 Add regression test for Enumerable#cycle
    126d554 Reimplement Enumerable#cycle
    3d946a8 Merge pull request #3240 from dabroz/feature-fixtest
    570cbbd Merge pull request #3234 from AltimitSystems/mrb.class_under_defined
    1788166 Merge branch 'mrb.class_under_defined'
    e3c8092 Renamed class_under_defined to class_defined_under
    3f002b6 fixed a bug when number of LHS and RHS differs; fix #3239
    6170504 test/assert.rb should not use puts
    872517d class variables in higher order have a priority; fix #3235
    1142cf2 fixed a bug with [] in RHS of multiple assignments; fix #3236
    6c299aa fixed wrong stack adjustment for ensure clauses; fix #3175
    cc5f40b mrb_class_under_defined docs renamed parent and child to outer and inner
    8d6aa06 Added mrb_class_under_defined
    0b8d8dd associate REnv to the executing block; fix #3214
    46995c3 add quoted symbol tests; ref #3231
    2960c69 Merge pull request #3232 from lukaselmer/patch-1
    f02694e Update documentation of fetch
    cc3f1b7 allow single quoted labels in hashes; ref #3231
    13d0832 allow quoted labels in hashes; fix #3231
    9a12627 should not unshare() reclaimed env objects; fix #3230
    c45ed46 macro mrb_bool() may evaluate arg multiple times; ref #3228
    7061658 Merge pull request #3228 from ksss/respond_to_missing
    022e147 Kernel#respond_to? should return true|false only
    6fd0e60 Move to_proc conversion from OP_ENTER to OP_SENDB; fix #3227
    efe4f30 Module#define_method supports proc argument
    8488425 Merge pull request #3223 from AltimitSystems/android.rake-ndk-clang
    c3f271a Merge branch 'master' of github.com:mruby/mruby
    b83bcd1 Removed GCC TODO
    3e9fe81 Android GCC support re-added
    364761f Merge pull request #3222 from AltimitSystems/android.rake-ndk-clang
    5d2795c Fixed mips and mips64: GCC Toolchain now points to GCC.
    5fd068e Android task: NDK default search paths now favour ndk-bundle. Added macOS NDK search paths.
    2d335da Merge pull request #3218 from nobu/trailing-space
    6511bfd Removed trailing spaces
    9d3167c Merge pull request #3217 from ksss/break
    afbe211 mrb_str_strlen() should be MRB_API; ref #3216
    6bc4b47 Merge pull request #3216 from kou/remove-needless-mrbapi
    b1fa180 Fix unexpected behavior with break
    91bd3eb Remove needless MRB_API
    7a382e8 Remove unnecessary MRB_API from read_irep related functions; ref #3215
    77d004e Merge pull request #3213 from unak/print-visualc
    36c0847 Use non-underscore'ed names
    37d2d57 Use underbar'ed name to get rid of warnings
    e5fedaf Not only for MINGW but also for Visual C++
    cb29c9b Fix return value type of bytecode_decoder
    968ebac Bytecode decoder support, MRB_BYTECODE_DECODE_OPTION
    c698c67 Merge pull request #3211 from eregon/fix_limitation_typos
    5f37d8b Fix a couple typos in limitations.md
    6498970 Merge pull request #3210 from AltimitSystems/android.rake-ndk-clang
    04ae296 Fixed regex order falling early in arch cases, causing x86_64 and arm-v7a to use wrong target.
    07e905e Merge pull request #3209 from AltimitSystems/master
    18662ff Re-written android.rake task for latest Android NDK clang. Currently loses support for GCC and mips, mips64. Addresses issue #3208
    
    git-subtree-dir: mruby_test
    git-subtree-split: 36fc1f1431d9aa85c167f91ef30abe0953c56400
  3. Squashed 'mruby/' changes from 08a1dd2..36fc1f1

    matsumotory committed Nov 29, 2016
    36fc1f1 Added Exception check in mrb_exc_set(); close #3292
    5ea1bb0 Merge pull request #3301 from dabroz/feature-64-bit-word
    f9f19f3 replace _cstr by _lit for litral C strings; ref #3300
    3fdfd8c Safeguard against using MRB_INT64 with MRB_WORD_BOXING in 32-bit mode
    3d9aa46 Add NULL checks for Time data retrieval
    c70e206 Merge pull request #3300 from herwinw/doc
    afee618 Added documentation on function for globals
    72915ca Merge pull request #3299 from dabroz/feature-16-bit-nan
    626648d Fixed NaN boxing when MRB_INT16 is set
    277e81a removed failing test for Time#initialize; ref #3295
    4256130 Merge pull request #3293 from ksss/enum-first
    f666350 Merge pull request #3295 from bouk/time-seg
    0ee58a0 Merge pull request #3298 from dabroz/patch-1
    be52233 Fix typo in istruct.h
    b7f9a58 Fix null pointer dereference in mrb_time_initialize
    1bf565e Argument more strictly
    c28a963 Like a Enumerable#take
    743c1e7 stop warnings in the test; ref #3280
    1329529 Merge branch 'bouk-nested-empty-heredoc'
    55842c5 resolve conflict; ref #3279
    d3ff9d3 Merge branch 'bouk-struct-array-members'
    79e3980 resolve conflict; ref #3281
    7f05ba8 Merge branch 'bouk-127-segfaults'
    30f12ba resolve conflict; ref #3283
    9f7701e Merge branch 'bouk-retry-codegen-misalign'
    cc2786c resolve conflict; ref #3285
    0d48a97 Merge branch 'bouk-empty-ternary'
    0b4017f resolve conflict; ref #3286
    d77b254 Merge pull request #3287 from bouk/proc-arity
    6905597 Merge pull request #3284 from bouk/remove-method-segfault
    a28fa35 Merge pull request #3282 from bouk/fix-break-instance-class
    1e892c0 Merge pull request #3280 from bouk/struct-redefine
    b4d5017 Merge pull request #3288 from bouk/chomp-bang-len
    54921aa Merge pull request #3289 from bouk/setbyte-len
    99f6de5 Merge pull request #3290 from bouk/unsafe-peep
    964427f Fix unsafe peephole optimization
    83005d8 Read length after args in String#setbyte
    76a1bdf Get String length after args in String#chomp!
    1ec5994 Fix calling .arity on Proc with undefined `initialize`
    71641bb Fix segfault caused by empty condition in ternary
    1253982 Fix codegen issue causing misaligned register
    22f5504 Fix segfault on remove_method with invalid argument
    75b31d7 Fix segfault on method call with exactly 127 arguments
    4523aae Fix segfault when defining class inside instance_exec on primitive
    b60d6c4 Don't allow array parameter in Struct.new
    82731d9 Remove constant when a struct is redefined.
    73e4f06 Fix nested empty heredoc causing segfault
    a630c4f use MRB_PRId instead of %d for mrb_int
    8602789 Merge pull request #3277 from dabroz/feature-float-tolerance
    e289ba3 Merge pull request #3276 from dabroz/author
    22f7325 redo should work well in for statement; fix #3275
    72ed7ee Fixed Range.size to use proper floating point tolerance
    a8b8abb Fixed float tolerance in tests when MRB_USE_FLOAT is set
    3943ab5 Update AUTHORS
    0c924b9 fixed a bug in self modifying Array#[]=; fix #3274
    cb5c9d3 always call Hash#default if no key found; fix #3272
    23c73ff Time#initialize_copy: Check if source time is initialized.
    cef7bd5 Merge pull request #3271 from ksss/enum-take
    227daa8 Relax 'void value expression' check that was too strict
    5134734 Shouldn't call `each` method if size is 0
    9e2faec Support object does'n have `<` method
    1c95939 Add "void value expression" check to the parser.
    dc4be19 Add forgotten loop_pop() in NODE_OP_ASGN codegen
    f5a86ca Add pointer casting from mrb_malloc(); ref #3267
    798c69d Avoid casting from int to unsigned char for C++; ref #3267
    d7a6070 Fixed language standard mode for GCC (cannot use gnu99 with C++, c++03 used instead)
    c2a60eb Fix for Windows-specific mruby C++ issues
    44c3859 Fix for compiling mruby as C++ on Visual Studio toolchain
    18757c8 Different method of compiling C as C++ (-x c++)
    00e6121 Safeguard against trying to use C++ exception handling in C code
    401ad45 Add constant export declaration for MRBC output compiled as C++
    1af9e36 Fixes for compiling mruby as C++
    477e12c Merge pull request #3269 from bouk/fix-printf-segfault
    2c28d00 Merge pull request #3268 from bouk/fix-random-segfault
    9bf1c0e Fix segfault when Fixnum#chr doesn't return a string
    c7262be Fix segfault in Array#sample
    669bbc7 codegen_scope should not keep old iseq ptr from irep
    bfbc6b9 local_variables() should not touch unshared env
    efebbbb Implement Float shift methods in C
    f414ed0 Merge pull request #3265 from dabroz/feature-fixexternc
    52b40cb Fixed extern "C" to use MRB_BEGIN/END_DECL in re.h
    8cba708 int64_value(): use FIXABLE()
    fb77765 hash value may be overflown from Integer
    be73905 accept floats as bit operator operands; fix #3260
    8112295 Removed fix_shift_get_width()
    740bf09 add bit operators ~,&,|,^ to Float class (mruby special)
    a701047 remove unnecessary ".!"; ref #3261
    bbaf3c2 Merge pull request #3261 from ksss/range-first
    03e399a Merge pull request #3262 from dabroz/feature-nanbox64fix
    de415b7 Merge pull request #3264 from naclyhara/patch-1
    aaa86a1 Fix typo in test
    b21b024 asserts checking validity of pointer and TT added for mrb_obj_value
    c385782 mrb_assert definition moved to the beggining of mruby.h
    8cdaf1e Fixed NaN boxing for 64-bit configrations on platforms that use full 48-bit usermode pointers
    d86f5d2 mruby architecture detection
    682237b Reimplements Range#first
    a3f8206 Merge pull request #3259 from dabroz/feature-16bitfix1
    4289e0c Fix for sprintf test exceeding bounds with MRB_INT16
    3ce51cb Merge pull request #3257 from ksss/range-size
    22390aa Use mrb_float instead of double
    a2fbd80 Fix Range#size results
    0ff3ae1 Range#include?: simplify condition; ref #3255
    b03b1e3 Merge pull request #3255 from ksss/range-include
    4ef591c Fix condition of Range#include?
    2a38bf9 Merge pull request #3254 from herwinw/doc
    18d6994 Documented most methods in mruby/hash.h
    d20c56c Documented most methods in mruby/array.h
    c043dc6 Typo fix: poped => popped
    57900d8 String#include? does not take integers
    92be276 String#{strip,lstrip,rstrip} may cause OOB access
    2e8ed95 Removed mruby-inline-struct gem from default.gembox; ref #3251
    8438792 renamed "inline" to "istruct" to represent inline struct; ref #3251
    4cca8ba inline structures data type for mruby (MRB_TT_INLINE) (fix #3237)
    784e07f Merge pull request #3252 from BanzaiMan/patch-1
    c8b0280 Merge pull request #3253 from ksss/range
    176d93d Ranges should not rewrite
    1ba61f0 Remove webhook notification for Travis CI
    5208ee5 Merge pull request #3250 from dabroz/feature-correct-aspec
    8e0dc6f Correct argument specifications for few methods:  - Struct#values_at  - Module#define_method  - String#chop  - String#chop!
    1685eff Fixed off-by-one error in String#[]= with Ranges
    1f554ff Fixed rindex calling into mrb_equal bug
    242b219 Fixed memory disclosure in String#lines
    92f72c7 make String#[]= to take Ranges as position argument
    739dad6 Fixed a memory problem in Array#to_h
    4f6cce0 class/module statement should re-open; fix #3225
    1422e57 move mrb_str_dup() to mrb_class_path; ref #2470
    01dddaf rename mruby-module-ext to mruby-class-ext; ref #2470
    451985d Implement Module#name. Solves #2132.
    88604e3 Hash#[] to call Hash#default
    feb9b3d Merge pull request #3224 from ksss/define_method
    752ca51 do not dump_node if parser failed
    185dad3 node_dump() to print NODE_HEREDOC terminator
    45aadd7 HEREDOC could fail with NUL terminated lines; fix#3244
    e86ead4 Merge pull request #3246 from ksss/cycle
    7685783 Add regression test for Enumerable#cycle
    126d554 Reimplement Enumerable#cycle
    3d946a8 Merge pull request #3240 from dabroz/feature-fixtest
    570cbbd Merge pull request #3234 from AltimitSystems/mrb.class_under_defined
    1788166 Merge branch 'mrb.class_under_defined'
    e3c8092 Renamed class_under_defined to class_defined_under
    3f002b6 fixed a bug when number of LHS and RHS differs; fix #3239
    6170504 test/assert.rb should not use puts
    872517d class variables in higher order have a priority; fix #3235
    1142cf2 fixed a bug with [] in RHS of multiple assignments; fix #3236
    6c299aa fixed wrong stack adjustment for ensure clauses; fix #3175
    cc5f40b mrb_class_under_defined docs renamed parent and child to outer and inner
    8d6aa06 Added mrb_class_under_defined
    0b8d8dd associate REnv to the executing block; fix #3214
    46995c3 add quoted symbol tests; ref #3231
    2960c69 Merge pull request #3232 from lukaselmer/patch-1
    f02694e Update documentation of fetch
    cc3f1b7 allow single quoted labels in hashes; ref #3231
    13d0832 allow quoted labels in hashes; fix #3231
    9a12627 should not unshare() reclaimed env objects; fix #3230
    c45ed46 macro mrb_bool() may evaluate arg multiple times; ref #3228
    7061658 Merge pull request #3228 from ksss/respond_to_missing
    022e147 Kernel#respond_to? should return true|false only
    6fd0e60 Move to_proc conversion from OP_ENTER to OP_SENDB; fix #3227
    efe4f30 Module#define_method supports proc argument
    8488425 Merge pull request #3223 from AltimitSystems/android.rake-ndk-clang
    c3f271a Merge branch 'master' of github.com:mruby/mruby
    b83bcd1 Removed GCC TODO
    3e9fe81 Android GCC support re-added
    364761f Merge pull request #3222 from AltimitSystems/android.rake-ndk-clang
    5d2795c Fixed mips and mips64: GCC Toolchain now points to GCC.
    5fd068e Android task: NDK default search paths now favour ndk-bundle. Added macOS NDK search paths.
    2d335da Merge pull request #3218 from nobu/trailing-space
    6511bfd Removed trailing spaces
    9d3167c Merge pull request #3217 from ksss/break
    afbe211 mrb_str_strlen() should be MRB_API; ref #3216
    6bc4b47 Merge pull request #3216 from kou/remove-needless-mrbapi
    b1fa180 Fix unexpected behavior with break
    91bd3eb Remove needless MRB_API
    7a382e8 Remove unnecessary MRB_API from read_irep related functions; ref #3215
    77d004e Merge pull request #3213 from unak/print-visualc
    36c0847 Use non-underscore'ed names
    37d2d57 Use underbar'ed name to get rid of warnings
    e5fedaf Not only for MINGW but also for Visual C++
    cb29c9b Fix return value type of bytecode_decoder
    968ebac Bytecode decoder support, MRB_BYTECODE_DECODE_OPTION
    c698c67 Merge pull request #3211 from eregon/fix_limitation_typos
    5f37d8b Fix a couple typos in limitations.md
    6498970 Merge pull request #3210 from AltimitSystems/android.rake-ndk-clang
    04ae296 Fixed regex order falling early in arch cases, causing x86_64 and arm-v7a to use wrong target.
    07e905e Merge pull request #3209 from AltimitSystems/master
    18662ff Re-written android.rake task for latest Android NDK clang. Currently loses support for GCC and mips, mips64. Addresses issue #3208
    
    git-subtree-dir: mruby
    git-subtree-split: 36fc1f1431d9aa85c167f91ef30abe0953c56400
Commits on Sep 9, 2016
  1. Squashed 'mruby_test/' changes from cd5133c..08a1dd2

    matsumotory committed Sep 9, 2016
    08a1dd2 Merge pull request #3207 from ksss/splat
    d467022 Add testing for regression
    d265c03 Fix SEGV when splat object
    
    git-subtree-dir: mruby_test
    git-subtree-split: 08a1dd2ac89333bd928a3300f712d1a7fb57e8ff