- 22 Jun, 2019 4 commits
-
-
dearblue authored
Reverses UTF-8 strings without allocated heap for working memory. 1. String before reversing: ``` "!yburmの界世" # byte unit [33, 121, 98, 117, 114, 109, 227, 129, 174, 231, 149, 140, 228, 184, 150] ``` 2. Reverse the byte order of each character: ``` [33, 121, 98, 117, 114, 109, 174, 129, 227, 140, 149, 231, 150, 184, 228] ``` 3. Reverse the whole byte order and complete: ``` [228, 184, 150, 231, 149, 140, 227, 129, 174, 109, 114, 117, 98, 121, 33] # string "世界のmruby!" ```
-
dearblue authored
-
Yukihiro "Matz" Matsumoto authored
Add ISO section number to `Kernel.#local_variables` [ci skip]
-
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 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove "Check the usage of a NUL character" test
-
KOBAYASHI Shuji authored
Because there is not assertion in this test and NUL character literal is used in other tests.
-
- 07 Jun, 2019 2 commits
-
-
dearblue authored
-
KOBAYASHI Shuji authored
This method is defined in `mruby-metaprog` gem.
-
- 06 Jun, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-