| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-18 | Fix `super` from aliased methods to work correctly; fix #4718 | Yukihiro "Matz" Matsumoto | |
| We needed to preserve the original method name somewhere. We kept it in the `env` structure pointed from aliased methods. #1457 and #1531 tried to address this issue. But this patch is more memory efficient. Limitation: this fix does not support `super` from methods defined by `define_method`. This limitation may be addressed in the future, but it's low priority. | |||
| 2019-09-17 | Merge pull request #4717 from shuujii/fix-Fixnum-to_s-inspect-argument-specs | Yukihiro "Matz" Matsumoto | |
| Fix `Fixnum#(to_s|inspect)` argument specs | |||
| 2019-09-17 | Fix `Fixnum#(to_s|inspect)` argument specs | KOBAYASHI Shuji | |
| Before this patch: $ bin/mruby -e 'p 3.to_s(2)' trace (most recent call last): [0] -e:1 -e:1: 'to_s': wrong number of arguments (1 for 0) (ArgumentError) After this patch: $ bin/mruby -e 'p 3.to_s(2)' "11" | |||
| 2019-09-17 | Merge pull request #4714 from dearblue/shrink-mrb_get_args | Yukihiro "Matz" Matsumoto | |
| Shrink `mrb_get_args()` | |||
| 2019-09-17 | Merge pull request #4715 from dearblue/need-block | Yukihiro "Matz" Matsumoto | |
| Entrust "no block given" error to `mrb_get_args()` | |||
| 2019-09-17 | Merge pull request #4713 from shuujii/fix-argument-specs-to-Enumerable | Yukihiro "Matz" Matsumoto | |
| Fix argument specs to `Enumerable` | |||
| 2019-09-16 | Entrust "no block given" error to `mrb_get_args()` | dearblue | |
| Some error messages will be changed. | |||
| 2019-09-16 | Shrink `mrb_get_args()` | dearblue | |
| As a side effect, all specifiers now accept the `!` modifier. | |||
| 2019-09-16 | Cache argv first in each specifiers for `mrb_get_args()`; ref #3090 | dearblue | |
| In terms of specifiers, argv is never referenced after a method call as shown in #3090. Reduction of object code can be expected. If you need to refer to argv after a method call in the same loop, update argv after the method call. | |||
| 2019-09-16 | Merge pull request #4255 from shuujii/enumerator-size-is-not-supported | Yukihiro "Matz" Matsumoto | |
| `Enumerator#size` is not supported [ci skip] | |||
| 2019-09-16 | Fix argument specs to `Enumerable` | KOBAYASHI Shuji | |
| 2019-09-16 | Remove `MRB_METHOD_TABLE_INLINE`. | Yukihiro "Matz" Matsumoto | |
| `MRB_METHOD_TABLE_INLINE` was fragile. It requires `-falign-functions=n`. On platform that uses higher bits of function pointers, you can use new `MRB_METHOD_T_STRUCT` configuration macro. | |||
| 2019-09-16 | Raise `ArgumentError` by `aspec` check; ref #4688 | Yukihiro "Matz" Matsumoto | |
| This is partial `aspec` check that only checks `MRB_ARGS_NONE()`. | |||
| 2019-09-16 | Share common definition of `MRB_METHOD_FUNC_FL`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Use bit shifting to pack function pointers to `mrb_method_t`. | Yukihiro "Matz" Matsumoto | |
| So you don't need `-falign-functions=2` anymore. Instead your platform must not use higher bits of the pointer (true for most platforms). If not, you have to use `struct mrb_method_t` version. | |||
| 2019-09-16 | Refactor `mrb_method_t`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Implement `Enumerable` tally from Ruby2.7. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Implement `filter_map` from Ruby2.6. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Add `filter` aliases for `Enumerable` and `Hash`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Add `Array#difference` method from Ruby2.6. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Implement `bind_call` method from Ruby2.7. | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Merge branch 'dearblue-mruby-io' | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Add small fix over #4712 | Yukihiro "Matz" Matsumoto | |
| 2019-09-16 | Fix broken UTF-8 characters by `IO#getc` | dearblue | |
| Character (multi-byte UTF-8) is destroyed when character spanning `IO::BUF_SIZE` (4096 bytes) exist. - Prepare file: ```ruby File.open("sample", "wb") { |f| f << "●" * 1370 } ``` - Before patched: ```ruby File.open("sample") { |f| a = []; while ch = f.getc; a << ch; end; p a } # => ["●", "●", ..., "●", "\xe2", "\x97", "\x8f", "●", "●", "●", "●"] - After patched: ```ruby File.open("sample") { |f| a = []; while ch = f.getc; a << ch; end; p a } # => ["●", "●", ..., "●", "●", "●", "●", "●", "●"] | |||
| 2019-09-16 | Small improvement for mruby-io | dearblue | |
| 2019-09-16 | Fix `IO#pos` | dearblue | |
| 2019-09-16 | Revert part of 8c90b5fc6 | dearblue | |
| `IO#readline` and `IO#readchar` process in character units. | |||
| 2019-09-15 | Merge pull request #4512 from lopopolo/patch-1 | Yukihiro "Matz" Matsumoto | |
| Support parsing a Regexp literal with 'o' option | |||
| 2019-09-15 | Merge pull request #4710 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/refactor-mrb_type-in-include-mruby-boxing_word.h Refactor `mrb_type` in `include/mruby/boxing_word.h` | |||
| 2019-09-15 | Refactor `mrb_type` in `include/mruby/boxing_word.h` | KOBAYASHI Shuji | |
| 2019-09-14 | Add unavailability of declaration form of visibility methods; #4708 | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Add argument names to C function prototypes. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Add a macro `mrb_frozen_p` that points to `MRB_FROZEN_P`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Replace `String#byteslice` by custom `IO._bufread`. | Yukihiro "Matz" Matsumoto | |
| `byteslice` creates 2 string objects. `_bufread` creates one, and modifies the original buffer string, that is more efficient. | |||
| 2019-09-14 | Merge pull request #4707 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-%C-to-mrb_name_error-in-mrb_method_search Use `%C` to `mrb_name_error` in `mrb_method_search`; ref 5890c7d5 | |||
| 2019-09-14 | Use `%C` to `mrb_name_error` in `mrb_method_search`; ref 5890c7d5 | KOBAYASHI Shuji | |
| 2019-09-14 | Revert "Update `%pure-parser` to `%define api.pure` for newer `bison`; fix ↵ | Yukihiro "Matz" Matsumoto | |
| #4706" The `bison` on MacOS does not support `%define api.pure`. This reverts commit f7c9f1f796d83b9316917681ea068ff648248425. | |||
| 2019-09-14 | Update `%pure-parser` to `%define api.pure` for newer `bison`; fix #4706 | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Remove `mrb_funcall` from `<=>` operations. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Raise an error from `String#<=>` with a non string operand. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Use `mrb_equal` instead of `mrb_funcall`. | Yukihiro "Matz" Matsumoto | |
| In the typical case, `mrb_funcall` invocation would be skipped. | |||
| 2019-09-14 | Remove `mrb_funcall` from `mrb_method_search`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-14 | Replace `loop` method with `while true` loop to gain performance. | Yukihiro "Matz" Matsumoto | |
| 2019-09-13 | Merge pull request #4705 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/revert-part-of-Refine-tasks-toolchains-gcc-clang.rake Revert part of "Refine `tasks/toolchains/(gcc|clang).rake`" (07c6b7f0) | |||
| 2019-09-13 | Revert part of "Refine `tasks/toolchains/(gcc|clang).rake`" (07c6b7f0) | KOBAYASHI Shuji | |
| `-Wzero-length-array` is not a mandatory option, so the original is better. | |||
| 2019-09-13 | Merge pull request #4704 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-warnings-for-invalid-C++-option-with-enable_cxx_abi Fix warnings for invalid C++ option with `enable_cxx_abi`; ref #3618, #4703 | |||
| 2019-09-13 | Fix warnings for invalid C++ option with `enable_cxx_abi`; ref #3618, #4703 | KOBAYASHI Shuji | |
| 2019-09-13 | Update `assert_take` for zero size take. | Yukihiro "Matz" Matsumoto | |
| 2019-09-13 | Add `Enumerator.produce` from Ruby2.7 | Yukihiro "Matz" Matsumoto | |
| 2019-09-13 | Remove `-std=gnu99` when `enable_cxx_abi`; ref #4703 | Yukihiro "Matz" Matsumoto | |
| To stop warnings since C++ do not accept `-std=gnu99` option. | |||
