Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-12 | Prohibit setter method names in all kinds of endless methods | Nobuyoshi Nakada | |
Also unwrap NODE_RIPPER to check the method name. Notes: Merged: https://github.com/ruby/ruby/pull/3649 | |||
2020-10-09 | Refactored lex_context management | Nobuyoshi Nakada | |
Save and restore `lex_context` as-is wholely, and save in `k_class` and `k_module` to workaround look-ahead reading. | |||
2020-09-30 | Unfreeze string-literal-only interpolated string-literal | Nobuyoshi Nakada | |
[Feature #17104] | |||
2020-09-03 | Introduce Ractor mechanism for parallel execution | Koichi Sasada | |
This commit introduces Ractor mechanism to run Ruby program in parallel. See doc/ractor.md for more details about Ractor. See ticket [Feature #17100] to see the implementation details and discussions. [Feature #17100] This commit does not complete the implementation. You can find many bugs on using Ractor. Also the specification will be changed so that this feature is experimental. You will see a warning when you make the first Ractor with `Ractor.new`. I hope this feature can help programmers from thread-safety issues. Notes: Merged: https://github.com/ruby/ruby/pull/3365 | |||
2020-09-02 | new_dstr: hoisted out from literal_concat and evstr2dstr | Nobuyoshi Nakada | |
2020-08-31 | Prohibit setter method names in endless method definition | Yusuke Endoh | |
https://bugs.ruby-lang.org/issues/16746#note-26 Notes: Merged: https://github.com/ruby/ruby/pull/3479 | |||
2020-08-26 | Fixed error messages at non-ascii %string terminator | Nobuyoshi Nakada | |
2020-08-26 | Removed a never-true condition | Nobuyoshi Nakada | |
2020-08-02 | rb_{ary,fnd}_pattern_info: Remove imemo member to reduce memory usage | Kazuki Tsujimoto | |
This is a partial revert commit of 8f096226e1b76f95f4d853d3dea2bc75eeeb5244. NODE layout: Before: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | pconst | pconst | pconst u2 | unused | unused | pkwargs u3 | apinfo | fpinfo | pkwrestarg After: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | imemo | imemo | pkwargs u2 | pconst | pconst | pconst u3 | apinfo | fpinfo | pkwrestarg | |||
2020-07-27 | Use a linked list to eliminate imemo tmp bufs for managing local tables | Aaron Patterson | |
This patch changes local table memory to be managed by a linked list rather than via the garbage collector. It reduces allocations from the GC and also fixes a use-after-free bug in the concurrent-with-sweep compactor I'm working on. Notes: Merged: https://github.com/ruby/ruby/pull/3360 | |||
2020-07-22 | Switch reserved for numbered parameter warning to SyntaxError | Jeremy Evans | |
Notes: Merged: https://github.com/ruby/ruby/pull/3163 | |||
2020-06-25 | Drop token info for endless method definition | Nobuyoshi Nakada | |
Because it does not have closing `end`. | |||
2020-06-25 | AST.of needs SCRIPT_LINES__ filled with a newline | Nobuyoshi Nakada | |
2020-06-24 | [ripper] fix mismatched indentations warning [Bug #16981] | Nobuyoshi Nakada | |
The scanner location has to be set from `lex.ptok` before it is flushed by dispatching the scanner event. | |||
2020-06-14 | apinfo/fpinfo should always be non-NULL | Kazuki Tsujimoto | |
2020-06-14 | Introduce find pattern [Feature #16828] | Kazuki Tsujimoto | |
2020-06-14 | push_pktbl is needed for hash pattern, not for array pattern | Kazuki Tsujimoto | |
2020-06-13 | Extracted argument forwarding staffs | Nobuyoshi Nakada | |
2020-06-13 | [ripper] use Ripper DSL | Nobuyoshi Nakada | |
2020-06-07 | Differentiate `...` in lambda arguments | Nobuyoshi Nakada | |
2020-06-06 | Add leading arguments support to arguments forwarding | Jeremy Evans | |
The idFWD_KWREST sections may be wrong. However, the existing idFWD_KWREST sections for ... without leading arguments are already broken. Implements [Feature #16378] Notes: Merged: https://github.com/ruby/ruby/pull/3190 | |||
2020-06-02 | Include the entire lambda expression in lambda rule | Nobuyoshi Nakada | |
2020-06-01 | Extracted `excessed_comma` to unify ripper and make the order stable | Nobuyoshi Nakada | |
2020-05-15 | Fixed argument forwarding in reserved word method [Bug #16854] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/3112 | |||
2020-05-14 | Endless method definition including `rescue` modifier | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/3108 | |||
2020-05-11 | sed -i 's|ruby/impl|ruby/internal|' | 卜部昌平 | |
To fix build failures. Notes: Merged: https://github.com/ruby/ruby/pull/3079 | |||
2020-05-11 | sed -i s|ruby/3|ruby/impl|g | 卜部昌平 | |
This shall fix compile errors. Notes: Merged: https://github.com/ruby/ruby/pull/3079 | |||
2020-05-04 | Bison 3.5.91 now defaults parse.error to "simple" | Nobuyoshi Nakada | |
2020-04-22 | Made parentheses mandatory in endless method defition | Nobuyoshi Nakada | |
Even for empty argument list, not to be confusing with a writer method name. Notes: Merged: https://github.com/ruby/ruby/pull/3051 | |||
2020-04-22 | Revert "Allow simple R-assign in endless def" | Nobuyoshi Nakada | |
This reverts commit 67bcac879a2e0ddfb4e7bbd7cb5e5401422de76a. Notes: Merged: https://github.com/ruby/ruby/pull/3051 | |||
2020-04-15 | Disallow line-continuation before R-assign | Nobuyoshi Nakada | |
2020-04-14 | Removed duplicate value_expr checks | Nobuyoshi Nakada | |
`arg_rhs` has the same check and is always a non-void value expression. | |||
2020-04-13 | Allow simple R-assign in endless def | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/3025 | |||
2020-04-12 | Relaxed of R-assign value to arg | Nobuyoshi Nakada | |
2020-04-10 | Endless method definition [Feature #16746] | Nobuyoshi Nakada | |
Notes: Merged: https://github.com/ruby/ruby/pull/2996 | |||
2020-04-10 | Rightward-assign by ASSOC | Nobuyoshi Nakada | |
[Feature #15921] Notes: Merged: https://github.com/ruby/ruby/pull/3012 | |||
2020-04-08 | Merge pull request #2991 from shyouhei/ruby.h | 卜部昌平 | |
Split ruby.h Notes: Merged-By: shyouhei <shyouhei@ruby-lang.org> | |||
2020-04-03 | New macro `NEW_RIPPER` instead of `NEW_CDECL` | Nobuyoshi Nakada | |
2020-03-11 | parse.y: hoisted out new_nil_at | Nobuyoshi Nakada | |
new_nil_at: create NEW_NIL node with zero-width location. | |||
2020-03-11 | parse.y: unified kwrest and no-kwrest | Nobuyoshi Nakada | |
2020-03-05 | Renamed `lex_flags` as `lex_context` | Nobuyoshi Nakada | |
2020-03-03 | Preserve `kwarg` flag and fix up f5c904c2a9 | Nobuyoshi Nakada | |
2020-03-02 | Reduced parser stack usage by merging non-result actions | Nobuyoshi Nakada | |
2020-03-02 | Packed stacked bit flags into one struct | Nobuyoshi Nakada | |
2020-03-02 | Allow newlines inside braced pattern | Nobuyoshi Nakada | |
2020-03-01 | Allow trailing comma in hash pattern | Kazuki Tsujimoto | |
2020-02-29 | Named `tLABEL` token | Nobuyoshi Nakada | |
2020-02-28 | Refined argument name | Nobuyoshi Nakada | |
2020-02-10 | Fixed duplicated warning | Nobuyoshi Nakada | |
As `command_rhs` is always a "value expression", `command_asgn` does not need the same check. Notes: Merged: https://github.com/ruby/ruby/pull/2897 | |||
2020-02-04 | Do not warn CR inside string literal | Nobuyoshi Nakada | |