| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-10-01 | Support `NODE_SYMBOLS` in `mrb_parser_dump` | KOBAYASHI Shuji | |
| #### Before this patch: ```terminal $ bin/mruby -v -e '%i[1]; %I[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 node type: 87 (0x57) 00001 node type: 87 (0x57) (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e '%i[1]; %I[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_SYMBOLS: 00001 NODE_STR "1" len 1 00001 NODE_SYMBOLS: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 2 base 10 00001 NODE_STR "" len 0 (snip) ``` | |||
| 2019-10-01 | Support `NODE_WORDS` in `mrb_parser_dump` | KOBAYASHI Shuji | |
| #### Before this patch: ```terminal $ bin/mruby -v -e '%w[1]; %W[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 node type: 86 (0x56) 00001 node type: 86 (0x56) (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e '%w[1]; %W[#{2}]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_WORDS: 00001 NODE_STR "1" len 1 00001 NODE_WORDS: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 2 base 10 00001 NODE_STR "" len 0 (snip) ``` | |||
| 2019-09-30 | Support `NODE_DSYM` in `mrb_parser_dump` | KOBAYASHI Shuji | |
| #### Before this patch: ```terminal $ bin/mruby -v -e ':"#{1}"; ["#{2}": 0]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 node type: 83 (0x53) 00001 NODE_ARRAY: 00001 NODE_KW_HASH: 00001 key: 00001 node type: 83 (0x53) 00001 value: 00001 NODE_INT 0 base 10 (snip) ``` #### After this patch: ```terminal $ bin/mruby -v -e ':"#{1}"; ["#{2}": 0]' mruby 2.0.1 (2019-04-04) 00001 NODE_SCOPE: 00001 NODE_BEGIN: 00001 NODE_DSYM: 00001 NODE_DSTR: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 1 base 10 00001 NODE_STR "" len 0 00001 NODE_ARRAY: 00001 NODE_KW_HASH: 00001 key: 00001 NODE_DSYM: 00001 NODE_DSTR: 00001 NODE_STR "" len 0 00001 NODE_BEGIN: 00001 NODE_INT 2 base 10 00001 NODE_STR "" len 0 00001 value: 00001 NODE_INT 0 base 10 (snip) ``` | |||
| 2019-09-29 | Print missing `:` before newline in `mrb_parser_dump` | KOBAYASHI Shuji | |
| 2019-09-29 | Merge pull request #4739 from dearblue/restore-arena | Yukihiro "Matz" Matsumoto | |
| Restore GC arena frequently | |||
| 2019-09-29 | Further refactoring over #4738 | Yukihiro "Matz" Matsumoto | |
| 2019-09-29 | Restore GC arena frequently | dearblue | |
| 2019-09-29 | Remove unnecessary assignments | dearblue | |
| 2019-09-29 | Escape the AST string | dearblue | |
| 2019-09-28 | Remove unused node type in `codegen()` | KOBAYASHI Shuji | |
| 2019-09-28 | Replace `mrb_sym_name` with `mrb_sym_dump`; ref #4684 | Yukihiro "Matz" Matsumoto | |
| 2019-09-26 | Use type predicate macros instead of `mrb_type` if possible | KOBAYASHI Shuji | |
| For efficiency with `MRB_WORD_BOXING` (implement type predicate macros for all `enum mrb_vtype`). | |||
| 2019-09-26 | Use proper type specifier for `mrb_raisef()`; ref #4731 | Yukihiro "Matz" Matsumoto | |
| The following two may be different: * `%d` for `int` * `%i` for `mrb_int` | |||
| 2019-09-26 | Merge pull request #4732 from dearblue/inttypes | Yukihiro "Matz" Matsumoto | |
| Use inttypes for `snprintf()` | |||
| 2019-09-26 | Merge pull request #4731 from dearblue/consistent-type | Yukihiro "Matz" Matsumoto | |
| Keep the type of `posarg` consistent | |||
| 2019-09-25 | Merge pull request #4729 from dearblue/fix-4598 | Yukihiro "Matz" Matsumoto | |
| Fix `MRB_WITHOUT_FLOAT` reversal; fix #4598 | |||
| 2019-09-25 | Merge pull request #4730 from dearblue/fall-through | Yukihiro "Matz" Matsumoto | |
| Add "fall through" | |||
| 2019-09-25 | Rename symbol-to-string functions; close #4684 | Yukihiro "Matz" Matsumoto | |
| * mrb_sym2name -> mrb_sym_name * mrb_sym2name_len -> mrb_sym_name_len * mrb_sym2str -> mrb_sym_str | |||
| 2019-09-25 | Use inttypes for `snprintf()` | dearblue | |
| 2019-09-25 | Keep the type of `posarg` consistent | dearblue | |
| Match the type with the caller and related functions. | |||
| 2019-09-25 | Add "fall through" | dearblue | |
| 2019-09-25 | Fix `MRB_WITHOUT_FLOAT` reversal; fix #4598 | dearblue | |
| 2019-09-21 | Merge pull request #4724 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/use-mrb_define_method-instead-of-mrb_define_alias Use `mrb_define_method` instead of `mrb_define_alias` | |||
| 2019-09-21 | Use `mrb_define_method` instead of `mrb_define_alias` | KOBAYASHI Shuji | |
| 2019-09-20 | Add optional argument to `Module#class_variables`. | Yukihiro "Matz" Matsumoto | |
| 2019-09-20 | Fix typo in `Array#difference` document [ci skip] | KOBAYASHI Shuji | |
| 2019-09-18 | Fix `Enumerable#filter_map` without block; ref d380c7d2 | KOBAYASHI Shuji | |
| 2019-09-18 | Remove `mrb_get_args(mrb, "")`; ref 30f37872 | KOBAYASHI Shuji | |
| 2019-09-16 | Entrust "no block given" error to `mrb_get_args()` | dearblue | |
| Some error messages will be changed. | |||
| 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 | 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 | 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-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 | 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 | Replace `loop` method with `while true` loop to gain performance. | Yukihiro "Matz" Matsumoto | |
| 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 unnecessary files from `mruby-{io,pack,socket}`. | Yukihiro "Matz" Matsumoto | |
