- 13 Feb, 2017 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
This change reduces the recursion level, but does not solve the stack overflow issue entirely.
-
Yukihiro "Matz" Matsumoto authored
But #3421 still cause stack overflow error due to infinite recursion. To prevent overflow, we need to add different stack depth check.
-
Yukihiro "Matz" Matsumoto authored
The issue (and the fix) was reported by https://hackerone.com/dgaletic
-
Yukihiro "Matz" Matsumoto authored
This issue was reported by https://hackerone.com/d4nny
-
Yukihiro "Matz" Matsumoto authored
The issue was reported by https://hackerone.com/titanous
-
- 12 Feb, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fixed aspec for Kernel#caller
-
Tomasz Dabrowski authored
-
- 11 Feb, 2017 11 commits
-
-
Yukihiro "Matz" Matsumoto authored
Revert "Optimization for String#* for 1-byte strings"
-
Yukihiro "Matz" Matsumoto authored
There's incompatibility left for mruby. When you return from `ensure` clause, mruby simply ignores the return value. CRuby returns from the method squashing the exception raised. ``` def f no_such_method() # NoMethodError ensure return 22 end p f() # CRuby prints `22` ```
-
Tomasz Dabrowski authored
This reverts commit d1bc7cae.
-
Yukihiro "Matz" Matsumoto authored
This issue was reported by https://hackerone.com/aerodudrizzt
-
Yukihiro "Matz" Matsumoto authored
OP_RETURN accesses ci[1]->stackent that might be broken; fix #3442
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
remove skip that shouldn't be necessary anymore.
-
robert authored
the test should pass after https://github.com/mruby/mruby/commit/8f4a929e1a01c8d6176fb53a9ef5dff6de632959.
-
Yukihiro "Matz" Matsumoto authored
Otherwise String#size may return wrong length; fix #3448
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
String#ljust and String#rjust reimplemented with optimized Ruby
-
- 10 Feb, 2017 7 commits
-
-
Tomasz Dabrowski authored
-
Tomasz Dabrowski authored
-
Tomasz Dabrowski authored
-
Yukihiro "Matz" Matsumoto authored
Fix build error when trace mode
-
Yukihiro "Matz" Matsumoto authored
String#ljust and String#rjust reimplementation (fix #3445)
-
Tomasz Dabrowski authored
- String#ljust and String#rjust are now C functions to improve performance - infinite loop because of an empty padding argument is now prevented (ArgumentError is raised) - extra tests for ljust/rjust added
-
ksss authored
Rakefile ``` file "a.txt" do system "echo hello > a.txt" end file "b.txt" => "a.txt" do system "cp a.txt b.txt" end task :default => "b.txt" ``` ``` $ touch b.txt $ ruby minirake --trace Invoke default (already=[], needed=[true]) rake aborted! No such file or directory @ rb_file_s_stat - a.txt minirake:241:in `stat' minirake:241:in `timestamp' minirake:233:in `block in needed?' minirake:233:in `collect' minirake:233:in `needed?' minirake:91:in `invoke' minirake:95:in `block in invoke' minirake:95:in `each' minirake:95:in `invoke' minirake:467:in `block in run' minirake:466:in `each' minirake:466:in `run' minirake:484:in `<main>' ```
-
- 08 Feb, 2017 7 commits
-
-
Yukihiro "Matz" Matsumoto authored
in mrbgems/mruby-bin-debugger.
-
Yukihiro "Matz" Matsumoto authored
According to the valgrind log attached to #3438, proc->body.irep may be NULL in some cases.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Maybe related to #3438
-
Yukihiro "Matz" Matsumoto authored
Dinko Galetic and Denis Kasak reported the issue and the fix. (via https://hackerone.com/dgaletic).
-
Yukihiro "Matz" Matsumoto authored
-
- 07 Feb, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix interpolation escaping in String.inspect
-
Edgar Boda-Majer authored
-
- 06 Feb, 2017 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Kernel#local_variables: Make result array unique
-
ksss authored
-
Yukihiro "Matz" Matsumoto authored
http://hkdnet.hatenablog.com/entry/2017/02/06/080000 (Japanese)
-
- 04 Feb, 2017 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Now `eval()` can call Fiber.yield etc.
-
Yukihiro "Matz" Matsumoto authored
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.
-
Yukihiro "Matz" Matsumoto authored
-