Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2020-01-17 | Make RATIONAL_SET_{NUM,DEN} static inline functions | Kenta Murata | |
2020-01-16 | Separate numbered parameter scope in eval | Nobuyoshi Nakada | |
[Feature #16432] | |||
2020-01-16 | Fixed the location of args node with numbered parameter | Nobuyoshi Nakada | |
2020-01-05 | parse.y: fix a wrong sizeof argument for ruby_sized_xfree | Yusuke Endoh | |
2020-01-03 | Make eval(code, binding) use (eval) as __FILE__ and 1 as __LINE__ | Jeremy Evans | |
This removes the warning that was added in 3802fb92ff8c83eed3e867db20f72c53932f542d, and switches the behavior so that the eval does not use the binding's __FILE__ and __LINE__ implicitly. Fixes [Bug #4352] Notes: Merged: https://github.com/ruby/ruby/pull/2816 | |||
2019-12-26 | decouple internal.h headers | 卜部昌平 | |
Saves comitters' daily life by avoid #include-ing everything from internal.h to make each file do so instead. This would significantly speed up incremental builds. We take the following inclusion order in this changeset: 1. "ruby/config.h", where _GNU_SOURCE is defined (must be the very first thing among everything). 2. RUBY_EXTCONF_H if any. 3. Standard C headers, sorted alphabetically. 4. Other system headers, maybe guarded by #ifdef 5. Everything else, sorted alphabetically. Exceptions are those win32-related headers, which tend not be self- containing (headers have inclusion order dependencies). Notes: Merged: https://github.com/ruby/ruby/pull/2711 | |||
2019-12-25 | Show the error line only when same as the current | Nobuyoshi Nakada | |
2019-12-20 | Added `experimental` warning category | Nobuyoshi Nakada | |
[Feature #16420] |