- 22 Nov, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Nov, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
The old size of `struct RBreak` was 56 bytes (`MRB_NO_BOXING`) and it's bigger than other object structures. That increase the size of `RVALUE` thus increase the total amount of memory consumption.
-
Yukihiro "Matz" Matsumoto authored
Now the method tables (in classes/modules and caches) keeps C function pointers without wrapping in `struct RProc` objects. For the sake of portability, `mrb_method_t` is represented by the struct and union, but if the most significant bit of the pointer is not used by the platform, `mrb_method_t` should be packed in `uintptr_t` to reduce memory usage. `MRB_METHOD_TABLE_INLINE` is turned on by default for linux.
-
- 19 Nov, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 18 Nov, 2017 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
It's fixed since 1.3.0
-
Yukihiro "Matz" Matsumoto authored
Since no ISO classes/methods are not provided by mruby, there's no use mentioning `Kernel.binding` here.
-
- 17 Nov, 2017 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Removed useless condition
-
Ukrainskiy Sergey authored
-
Yukihiro "Matz" Matsumoto authored
implement Array.transpose
-
Tomasz Dąbrowski authored
-
Yukihiro "Matz" Matsumoto authored
Cosmetic changes in variable.c
-
Ukrainskiy Sergey authored
-
Ukrainskiy Sergey authored
-
- 16 Nov, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Not from the execution ensure proc; fix #3849
-
- 13 Nov, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
You should not access `mrb->c->ci->argc` directly.
-
- 11 Nov, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 10 Nov, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 08 Nov, 2017 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
The outer class of the class/module definition should be taken from `MRB_TARGET_CLASS(mrb->c->ci->proc)` not `mrb->c->ci->target_class` which is the target of constant lookups.
-
- 07 Nov, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Otherwise half-baked string object will be allocated.
-
Yukihiro "Matz" Matsumoto authored
-
- 04 Nov, 2017 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
https://github.com/pandax381/mrubyYukihiro "Matz" Matsumoto authored
Merge branch 'mrb_without_float' of https://github.com/pandax381/mruby into pandax381-mrb_without_float
-
Yukihiro "Matz" Matsumoto authored
Make `block_given?` to search for the top of the scope first. The top of the scope means either: * the top method body * the enclosing class body * the top-level The special case is the method defined by `define_method` with a block as in #3841. In cases like this, the method body (given by a block) is not considered as the top of the scope. You need to use `&block` in the block parameter if you want to know if a block is given to the method. This commit also changes the behavior of `MRB_PROC_SCOPE` flag. Now it is only set if the `proc` is either a class body or a method body defined in Ruby. It is no longer set for a block that given to `define_method`.
-
- 03 Nov, 2017 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
When `block_given?` is called from a block given to `define_method` as a method body, the `bidx` may not be within `env` saved closure. In this case, it causes heap buffer overflow.
-
YAMAMOTO Masaya authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Also removed the code to normalize NaN value for `MRB_NAN_BOXING`. Tha code was added to fix #1712 but no longer required after 249f05e7.
-
- 02 Nov, 2017 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This strings in `irep` pools may be freed forcefully in `mrb_irep_free`. This commit probably fixes #3817 as well.
-
Yukihiro "Matz" Matsumoto authored
don't strip away backtrace info when an exception is re-thrown
-
Tomoyuki Sahara authored
-
- 31 Oct, 2017 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Unlike method definition, constant reference should start from `MRB_PROC_TARGET_CLASS(ci->proc)`, not `ci->target_class`. In addition, `MRB_PROC_TARGET_CLASS(ci->proc)` is always set.
-
Yukihiro "Matz" Matsumoto authored
The destination `proc` may be an orphan.
-