- 25 Jun, 2019 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix complex new on 32 bits mode
-
Yukihiro "Matz" Matsumoto authored
Fix `struct RRange` overflow on 32-bit CPU with `MRB_NAN_BOXING`
-
Yukihiro "Matz" Matsumoto authored
Remove unneeded statement in `SET_OBJ_VALUE` with `boxing_word.h`
-
Yukihiro "Matz" Matsumoto authored
Fix argument specs to `Array`
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4530 from shuujii/compare-obj-pointer-directly-instead-of-using-mrb_obj_eq-in-mrb_gc_unregister Compare obj pointer directly instead of using mrb_obj_eq in mrb_gc_unregister
-
Yukihiro "Matz" Matsumoto authored
The #4520 tried to address the issue, but it changes the type of `mrb_check_frozen` argument; close #4520
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 24 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
Because immediate values are not registered.
-
- 23 Jun, 2019 4 commits
-
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Refine `Hash#rehash` example [ci skip]
-
Yukihiro "Matz" Matsumoto authored
Use stack memory for small name of Struct members
-
Yukihiro "Matz" Matsumoto authored
Fix potential overflow in `utf8len()`
-
- 22 Jun, 2019 5 commits
-
-
KOBAYASHI Shuji authored
Previous example doesn't work because string key (frozen) can't be modified.
-
dearblue authored
For example on 32 bit mode, when `p = 0xfffffffd`, `e = 0xfffffffe` and `len = 4`, the sum of `p` and `len` can be to `1`, and comparison with `e` will to be false. As a result, a segmentation fault occurs by referring to address 0.
-
Yukihiro "Matz" Matsumoto authored
Add ISO section number to `Kernel.#local_variables` [ci skip]
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Move `Kernel#__send__` test to core from `mruby-metaprog`
-
- 21 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 20 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 19 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
`(r).value.bp` and `v` have the same value due to assignment of the line preceding the removed line.
-
- 18 Jun, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove unneeded `mrb_str_dup()` in `Module#name`
-
Yukihiro "Matz" Matsumoto authored
Fix path of `error.h`.
-
KOBAYASHI Shuji authored
-
Hiroshi Mimaki authored
-
- 17 Jun, 2019 8 commits
-
-
KOBAYASHI Shuji authored
`mrb_class_path()` always returns a new string or `nil`.
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4508 from shuujii/fix-cvar-ivar-const-and-method-can-be-removed-to-frozen-object Fix cvar, ivar, const and method can be removed to frozen object
-
Yukihiro "Matz" Matsumoto authored
Fix index in error message of `Struct#[]`
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Adjust allocation size in `mrb_id_attrset()` (`mruby-struct`)
-
- 16 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 15 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
Before this patch: $ bin/mruby -e 'Struct.new(:a,:b).new[-3]' #=> offset -1 too small for struct(size:2) (IndexError) After this patch (same as Ruby): $ bin/mruby -e 'Struct.new(:a,:b).new[-3]' #=> offset -3 too small for struct(size:2) (IndexError)
-
- 14 Jun, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove a meaningless branch condition in `mruby-struct`
-
KOBAYASHI Shuji authored
The following branch condition is always true: // mrbgems/mruby-struct/src/struct.c:187 in make_struct_define_accessors() if (is_local_id(mrb, name) || is_const_id(mrb, name)) {
-
- 13 Jun, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix class name validation in `Struct.new`
-
KOBAYASHI Shuji authored
Before this patch: $ bin/mruby -e 'p Struct.new("A-")' #=> Struct::"A-" After this patch: $ bin/mruby -e 'p Struct.new("A-")' #=> NameError: identifier A- needs to be constant
-