| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-29 | Remove not used fields from DOT2, DOT3, FLIP2, FLIP3 | yui-knk | |
| 2023-09-29 | Merge RNode_OP_ASGN2 and RNode_OP_ASGN22 | yui-knk | |
| 2023-09-29 | Remove not used fields from SELF, NIL, TRUE, FALSE | yui-knk | |
| 2023-09-28 | [ruby/open3] [DOC] RDoc for Open3 | BurdetteLamar | |
| https://github.com/ruby/open3/commit/457cae3a51 | |||
| 2023-09-28 | More documentation for pattern matching compilation | Kevin Newton | |
| 2023-09-28 | Support if and unless guards on patterns | Kevin Newton | |
| 2023-09-28 | Support local variable targeting in pattern matching | Kevin Newton | |
| 2023-09-28 | Support the AlternationPatternNode | Kevin Newton | |
| 2023-09-28 | Fill in other missing pattern matching expression types | Kevin Newton | |
| 2023-09-28 | Compile basic pattern matching expressions | Kevin Newton | |
| 2023-09-28 | [ruby/prism] Self should not be marked as static literal | Kevin Newton | |
| https://github.com/ruby/prism/commit/81265ed8a7 | |||
| 2023-09-28 | [ruby/open3] [DOC] RDoc for Open3 | Peter Zhu | |
| 2023-09-28 | [ruby/prism] Turn on static literal for assoc, hash, and array nodes | Kevin Newton | |
| https://github.com/ruby/prism/commit/80c2c931b5 | |||
| 2023-09-29 | Fix `retry` in nested `rescue` blocks | Nobuyoshi Nakada | |
| Restore `rescue`-context from the outer context. `retry` targets the next outer block except for between `rescue` and `else` or `ensure`, otherwise, if there is no enclosing block, it should be syntax error. | |||
| 2023-09-28 | Consolidate regexp options, interpolated match last line | Kevin Newton | |
| 2023-09-28 | Move IO#readline to Ruby | Aaron Patterson | |
| This commit moves IO#readline to Ruby. In order to call C functions, keyword arguments must be converted to hashes. Prior to this commit, code like `io.readline(chomp: true)` would allocate a hash. This commits moves the keyword "denaturing" to Ruby, allowing us to send positional arguments to the C API and avoiding the hash allocation. Here is an allocation benchmark for the method: ``` x = GC.stat(:total_allocated_objects) File.open("/usr/share/dict/words") do |f| f.readline(chomp: true) until f.eof? end p ALLOCATIONS: GC.stat(:total_allocated_objects) - x ``` Before this commit, the output was this: ``` $ make run ./miniruby -I./lib -I. -I.ext/common -r./arm64-darwin22-fake ./test.rb {:ALLOCATIONS=>707939} ``` Now it is this: ``` $ make run ./miniruby -I./lib -I. -I.ext/common -r./arm64-darwin22-fake ./test.rb {:ALLOCATIONS=>471962} ``` [Bug #19890] [ruby-core:114803] | |||
| 2023-09-29 | [DOC] Add link | Nobuyoshi Nakada | |
| 2023-09-28 | Add a mention about Socket#recv in NEWS.md | Jean Boussier | |
| [Misc #19012] | |||
| 2023-09-29 | Add indentation to ignore revs [ci skip] | Nobuyoshi Nakada | |
| 2023-09-29 | Fix up indentation [ci skip] | Nobuyoshi Nakada | |
| 2023-09-28 | [YARP] Implement MatchWriteNode | Matt Valentine-House | |
| 2023-09-28 | Fix order-dependent tests in test_compile_prism | Kevin Newton | |
| 2023-09-28 | [ruby/reline] Properly restore Reline::IOGate in test teardown | tomoya ishida | |
| (https://github.com/ruby/reline/pull/593) * Properly restore Reline::IOGate in test teardown * GeneralIO.reset should reset class variable existence https://github.com/ruby/reline/commit/c16d33dae5 | |||
| 2023-09-28 | Add indentation to ignore revs | Kevin Newton | |
| 2023-09-28 | Fix up indentation in prism_compile.c | Kevin Newton | |
| 2023-09-28 | Move CRuby-specific prism files to top level | Kevin Newton | |
| 2023-09-28 | [ruby/prism] Check whether the predicate is closed for conditionals | Haldun Bayhantopcu | |
| https://github.com/ruby/prism/commit/bf43006d0a | |||
| 2023-09-28 | [ruby/prism] Check for a semicolon or a newline after the inheritance operator | Haldun Bayhantopcu | |
| https://github.com/ruby/prism/commit/0326ba6775 | |||
| 2023-09-28 | [ruby/prism] Fix assertion failure for fwd params after rest | Haldun Bayhantopcu | |
| https://github.com/ruby/prism/commit/f86bff6dd7 | |||
| 2023-09-28 | Requires ruby/rbs#1550 | Nobuyoshi Nakada | |
| 2023-09-28 | Syntax check of `yield` in the parser | Nobuyoshi Nakada | |
| 2023-09-28 | Jumps are possible in the top-level loop | Nobuyoshi Nakada | |
| 2023-09-28 | Suppress void context warnings in verbose mode | Nobuyoshi Nakada | |
| 2023-09-27 | [DOC] RDoc for Open3.popen3 (#8521) | Burdette Lamar | |
| 2023-09-28 | Change RNode structure from union to struct | yui-knk | |
| All kind of AST nodes use same struct RNode, which has u1, u2, u3 union members for holding different kind of data. This has two problems. 1. Low flexibility of data structure Some nodes, for example NODE_TRUE, don’t use u1, u2, u3. On the other hand, NODE_OP_ASGN2 needs more than three union members. However they use same structure definition, need to allocate three union members for NODE_TRUE and need to separate NODE_OP_ASGN2 into another node. This change removes the restriction so make it possible to change data structure by each node type. 2. No compile time check for union member access It’s developer’s responsibility for using correct member for each node type when it’s union. This change clarifies which node has which type of fields and enables compile time check. This commit also changes node_buffer_elem_struct buf management to handle different size data with alignment. | |||
| 2023-09-28 | Update bundled gems list at 2023-09-28 | git | |
| 2023-09-28 | Bundle RBS 3.2.2 | Soutaro Matsumoto | |
| 2023-09-28 | [CI] Fix conditional for `RUBYOPT` | Nobuyoshi Nakada | |
| Since GitHub has no real ternary [operator], the second expression must be "truthy" value instead of an empty string which is evaluated as `0`. - Some bundler tests seem trying to install old Rack where `Rack::Utils.byte_ranges` method has been deprecated once. - Racc tests do not seem aware about warnings very well. [operator]: https://docs.github.com/actions/learn-github-actions/expressions#operators | |||
| 2023-09-28 | [CI] Fix indentation to concatenate the lines and pass the options | Nobuyoshi Nakada | |
| 2023-09-28 | Suppress void context warnings | Nobuyoshi Nakada | |
| 2023-09-27 | [PRISM] Implement MatchLastLineNode | eileencodes | |
| This PR implements `MatchLastLineNode` for Prism. Related: ruby/prism#1335 | |||
| 2023-09-27 | Use new constant pool layout for prism | Kevin Newton | |
| 2023-09-27 | [ruby/prism] rearrange the constant pool so IDs can be used for indexing | Nathan Froyd | |
| https://github.com/ruby/prism/commit/6f243de0c7 | |||
| 2023-09-27 | [ruby/prism] shrink `yp_constant_t` by 8 bytes | Nathan Froyd | |
| https://github.com/ruby/prism/commit/5c01eb5e6f | |||
| 2023-09-27 | Make {Queue,SizedQueue}#freeze raise TypeError | Jeremy Evans | |
| Fixes [Bug #17146] | |||
| 2023-09-27 | [DOC] Fix minor inconsistencies | BurdetteLamar | |
| 2023-09-27 | Include recently added parse_test code in rename | Kevin Newton | |
| 2023-09-27 | Rename YARP symbols to prism | Kevin Newton | |
| 2023-09-27 | Sync to prism rename commits | Kevin Newton | |
| 2023-09-27 | Rename YARP filepaths to prism filepaths | Kevin Newton | |
