- 23 Jun, 2019 3 commits
-
-
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
-
- 18 Jun, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove unneeded `mrb_str_dup()` in `Module#name`
-
Yukihiro "Matz" Matsumoto authored
Fix path of `error.h`.
-
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 4 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
-
Yukihiro "Matz" Matsumoto authored
`Kernel#global_variables` should not include undefined `$1`-`$9`
-
Yukihiro "Matz" Matsumoto authored
Fix typo in `String#setbyte` error message
-
- 12 Jun, 2019 2 commits
-
-
KOBAYASHI Shuji authored
-
KOBAYASHI Shuji authored
-
- 11 Jun, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove redundant colon in `Proc#inspect` (`mruby-proc-ext`)
-
KOBAYASHI Shuji authored
Before this patch: $ bin/mruby -e 'p proc{}' #=> #<Proc:0x7fd5eb8206d0@-e::1> After this patch: $ bin/mruby -e 'p proc{}' #=> #<Proc:0x7fd5eb8206d0@-e:1>
-
Yukihiro "Matz" Matsumoto authored
Replace obsolete macros
-
- 10 Jun, 2019 4 commits
-
-
KOBAYASHI Shuji authored
- They are not include in Ruby. - Appear in duplicate when `$1`-`$9` are defined.
-
Yukihiro "Matz" Matsumoto authored
Remove `Kernel#global_variables` from core
-
Yukihiro "Matz" Matsumoto authored
Clarify `mruby-(kernel|object)-ext` gem summary; ref 8e637bdd [ci skip]
-
Yukihiro "Matz" Matsumoto authored
Fix missing assertions in `test/t/syntax.rb`
-
- 09 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 08 Jun, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Remove "Check the usage of a NUL character" test
-