summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-02-04`argv` may be modified when `mrb_funcall()` is called; fix #3419Yukihiro "Matz" Matsumoto
Calling `mrb_funcall()` and `mrb_yield()` (and their related functions) are discouraged unless absolutely necessary, because it can cause this kind of issues very easily.
2017-02-04No need to make env unshared in the finalization; fix #3425Yukihiro "Matz" Matsumoto
2017-02-04Mark `mrb->backtrace.exc` as GC root; fix #3388Yukihiro "Matz" Matsumoto
2017-02-04Jump address should fit in 16 bits range; fix #3426Yukihiro "Matz" Matsumoto
2017-02-03Merge pull request #3420 from udzura/patch-1Yukihiro "Matz" Matsumoto
Fix usage of Class#name in mruby-bin-mruby's bintest
2017-02-03Merge pull request #3427 from clayton-shopify/fix-mrb-random-initYukihiro "Matz" Matsumoto
Fetch arguments earlier in mrb_random_init to avoid a crash.
2017-02-02Fetch arguments earlier to avoid a crash.Clayton Smith
2017-02-02Use standard Module(Class)#to_sUchio KONDO
2017-01-25Update example lines of mrbgems in build_config.rb; ref #3414Yukihiro "Matz" Matsumoto
2017-01-25Copy mrb_float values from pool when MRB_WORD_BOXING; ref #3396Yukihiro "Matz" Matsumoto
2017-01-25Clear (o).w first for MRB_WORD_BOXING; ref #3396Yukihiro "Matz" Matsumoto
2017-01-24Outer class may be same as the class; fix #3382Yukihiro "Matz" Matsumoto
2017-01-24Use size_t to avoid integer overflow in mrb_ary_splice(); fix #3413Yukihiro "Matz" Matsumoto
2017-01-23Change return type of mrb_range_beg_len() from `int` to `mrb_int`.Yukihiro "Matz" Matsumoto
ref #3411
2017-01-23Fix a double free problem in codegen.c; fix #3378Yukihiro "Matz" Matsumoto
This issue was first reported by https://hackerone.com/geeknik The fix was proposed by @titanous
2017-01-23Fix memory leak; ref #3378Yukihiro "Matz" Matsumoto
The fix was proposed by @titanous
2017-01-23The ensure clause should keep its ci after its execution; fix #3406Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/ston3
2017-01-23Backtrace list must be an array of strings; fix #3408Yukihiro "Matz" Matsumoto
2017-01-23Skip non string values in backtraces; ref #3408Yukihiro "Matz" Matsumoto
2017-01-23Merge pull request #3412 from ksss/mrb_ary_spliceYukihiro "Matz" Matsumoto
Refactoring: Use array_copy instead of for loop
2017-01-23Refactoring: Use array_copy instead of for loopksss
2017-01-23Add MRB_API to mrb_range_beg_len(); ref #3411Yukihiro "Matz" Matsumoto
2017-01-23Changed the behavior of mrb_range_beg_len(); close #3411Yukihiro "Matz" Matsumoto
The new API is: int mrb_range_beg_len(mrb, range, &beg, &len, len, trunc) The new argument `trunc` is a boolean value that specifies whether the function truncates the range. The new return value is an integer instead of a boolean, that is: 0: not a range 1: range with proper edges 2: out of range To get the old behavior, you have to rewrite: mrb_range_beg_len(mrb, range, &beg, &len, len) to: mrn_range_beg_len(mrb, range, &beg, &len, len, TRUE) == 1 [Breaking Change]
2017-01-23Should not make empty strings shared; fix #3407Yukihiro "Matz" Matsumoto
2017-01-23Use mrb_write_barrier() instead of mrb_field_write_barrier_value()Yukihiro "Matz" Matsumoto
ref #3409
2017-01-23Remove unnecessary inline declaration; ref #3409Yukihiro "Matz" Matsumoto
2017-01-23Merge pull request #3409 from ksss/mrb_ary_spliceYukihiro "Matz" Matsumoto
Rewrite mrb_ary_splice
2017-01-23Merge pull request #3410 from ksss/mrb_ary_asetYukihiro "Matz" Matsumoto
Should raise RuntimeError when object frozen
2017-01-22Should raise RuntimeError when object frozenksss
2017-01-22Rewrite mrb_ary_spliceksss
Referenced to CRuby's array.c(rb_ary_splice) fix #3405
2017-01-21Merge pull request #3404 from clayton-shopify/fix-block-paramsYukihiro "Matz" Matsumoto
Fix incorrect parsing of block parameters.
2017-01-21Fix incorrect parsing of block parameters.Clayton Smith
2017-01-21Stack position may be bigger than stack bottom; fix #3401Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/titanous
2017-01-21Merge pull request #3402 from clayton-shopify/fix-masgn-optimizationYukihiro "Matz" Matsumoto
Remove problematic optimization from NODE_MASGN codegen
2017-01-20Remove problematic optimization.Clayton Smith
2017-01-20Integral#step without arg should loop forever as CRuby does.Yukihiro "Matz" Matsumoto
2017-01-18Initialize callinfo->acc; ref #3243Yukihiro "Matz" Matsumoto
2017-01-18Merge pull request #3362 from ksss/procYukihiro "Matz" Matsumoto
Proc shouldn't have `initialize` method
2017-01-16Dots is not needed for base 10 negative numbers; fix #3400Yukihiro "Matz" Matsumoto
2017-01-16Merge pull request #3399 from ksss/callerYukihiro "Matz" Matsumoto
Implement Kernel.#caller
2017-01-14Skip when backtrace doesn't getksss
2017-01-14Implement Kernel.#callerksss
2017-01-12Add proper given argument number in the wrong-number-argument error.Yukihiro "Matz" Matsumoto
2017-01-12Add proper stack size calculation; fix #3398Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/ssarong
2017-01-12Kernel#initialize should not break existing mt; fix #3397Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/icanthack The solution is suggested by @clayton-shopify.
2017-01-12Merge pull request #3393 from clayton-shopify/fix-exc-initializeYukihiro "Matz" Matsumoto
Fix broken MRB_INT64
2017-01-12Merge pull request #3394 from clayton-shopify/really-fix-nmeYukihiro "Matz" Matsumoto
Fix 36fc1f14 not checking in the right location
2017-01-12Merge pull request #3395 from hhc0null/fix-typoYukihiro "Matz" Matsumoto
Fix a typo in string.h.
2017-01-12Fix a typo.hhc0null
2017-01-11Fix 36fc1f14 not checking in the right locationBouke van der Bijl