summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-01Prefer RBOOLNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5385
2022-01-01Negative RBOOL usageNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5385
2022-01-01Make the internal predict `int_zero_p` return a boolNobuyoshi Nakada
2022-01-01Fix incorrect minimum read length. (#5353)Samuel Williams
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2021-12-31YJIT: Fix SP index with optarg and unordered kwargJohn Hawthorn
Previously when we were calling a method with an optional argument and multiple keywords arguments which weren't in the order the receiver expected we would use the wrong SP index to rearrange them. Fixes Bug #18453 Notes: Merged: https://github.com/ruby/ruby/pull/5379
2022-01-01* 2022-01-01 [ci skip]git
2021-12-31NEWS: Removed methodsNobuyoshi Nakada
2021-12-31NEWS: Removed C APIsNobuyoshi Nakada
2021-12-31re-enabled YJIT on x64-mswin64NAKAMURA Usaku
note that YJIT does not work correctly on the platform now.
2021-12-31Use rb_cObject instead of rb_cDataNobuyoshi Nakada
2021-12-30Enhanced RDoc for IO (#5367)Burdette Lamar
Adds sections to class RDoc: Lines Line Separator Line Limit Line Number Revises example text file t.txt to: Include paragraphs (separated by double line separator). Avoid being too long. Revises examples that use the changed example file. There are several other methods that will point to the added sections. Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-12-31* 2021-12-31 [ci skip]git
2021-12-30Add support for anonymous rest and keyword rest argument forwardingJeremy Evans
This allows for the following syntax: ```ruby def foo(*) bar(*) end def baz(**) quux(**) end ``` This is a natural addition after the introduction of anonymous block forwarding. Anonymous rest and keyword rest arguments were already supported in method parameters, this just allows them to be used as arguments to other methods. The same advantages of anonymous block forwarding apply to rest and keyword rest argument forwarding. This has some minor changes to #parameters output. Now, instead of `[:rest], [:keyrest]`, you get `[:rest, :*], [:keyrest, :**]`. These were already used for `...` forwarding, so I think it makes it more consistent to include them in other cases. If we want to use `[:rest], [:keyrest]` in both cases, that is also possible. I don't think the previous behavior of `[:rest], [:keyrest]` in the non-... case and `[:rest, :*], [:keyrest, :**]` in the ... case makes sense, but if we did want that behavior, we'll have to make more substantial changes, such as using a different ID in the ... forwarding case. Implements [Feature #18351] Notes: Merged: https://github.com/ruby/ruby/pull/5148
2021-12-30YJIT: Avoid pointer size assumption with intptr_tAlan Wu
Cast to `void *` first to use the definition of `intptr_t`. Notes: Merged: https://github.com/ruby/ruby/pull/5376
2021-12-30win32/win32.c Fix PROT_EXEC bit flag check for FlushInstrucitonCache()nagachika
Notes: Merged: https://github.com/ruby/ruby/pull/5372
2021-12-30[ruby/win32ole] Undefine allocator of WIN32OLE_VARIABLE to get rid of warningNobuyoshi Nakada
https://github.com/ruby/win32ole/commit/27d0fdc622
2021-12-30[ruby/reline] windows fix scrollYO4
https://github.com/ruby/reline/commit/c559d0f7a9
2021-12-30[ruby/reline] Omit a test on Ruby 2.6aycabta
Some tokens in Ruby 2.6 have difference information than in 2.7 and later, but 2.6 will soon be out of support. https://github.com/ruby/reline/commit/f3bc698385
2021-12-30[ruby/reline] Use ripper_lex_without_warningaycabta
https://github.com/ruby/reline/commit/b7536dc224
2021-12-30[ruby/reline] Use unix_line_discard when Ctrl-u is enteredima1zumi
The kill-line was called when C-u was entered, so it is now called unix-line-discard. In readline(3): > unix-line-discard (C-u) > Kill backward from point to the beginning of the line. > The killed text is saved on the kill-ring. https://github.com/ruby/reline/commit/27570d195e
2021-12-30Flush deprecation declarations for versions older than 3.0Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5378
2021-12-30Remove declarations of deprecated functionsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5377
2021-12-30[rubygems/rubygems] Better way to join path componentsDavid Rodríguez
The current way works, but error messages show duplicate "/" in paths, which is weird. https://github.com/rubygems/rubygems/commit/9123deb4fa
2021-12-30* 2021-12-30 [ci skip]git
2021-12-29[Bug #18451] [ci skip] Update documentation for GC.statPeter Zhu
Adds documentation for keys `time`, `compact_count`, `read_barrier_faults`, `total_moved_objects`. Notes: Merged: https://github.com/ruby/ruby/pull/5375
2021-12-29On 64bit macOS, enlarge heap pages to reduce mmap calls [Bug #18447]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5371
2021-12-29[ruby/reline] Use omit instead of skipHiroshi SHIBATA
https://github.com/ruby/reline/commit/a538de421f
2021-12-29Use omit instead of skip: test/ruby/enc/**/*.rbHiroshi SHIBATA
2021-12-29Update bundled gems list at 2021-12-29git
2021-12-29YJIT: Use proper size prefix and conversion where IL32LLP64Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5369 Merged-By: nobu <nobu@ruby-lang.org>
2021-12-29[DOC] Integer#coerce deals with also FloatNobuyoshi Nakada
2021-12-29Fix the warning in rb_big2dbl, Bignum is no longer definedNobuyoshi Nakada
2021-12-29`ioctl_narg_len` is used only when ioctl(2) is availableNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5368
2021-12-29Update default gems list at d75f7078c831d45ab5ba2fae4fbb30 [ci skip]git
2021-12-29[ruby/io-console] bump up to 0.5.11Nobuyoshi Nakada
https://github.com/ruby/io-console/commit/ad3805200c
2021-12-29[ruby/irb] Prefer `IO#wait_readable` over `IO#select`. ↵Samuel Williams
(https://github.com/ruby/irb/pull/323) https://github.com/ruby/irb/commit/1c03bd3373
2021-12-29Sync io-console gem.Samuel Williams
2021-12-29YJIT: Fix warning in iface.cJohn Hawthorn
Fixes warning: <internal:yjit>:16: warning: undefining the allocator of T_DATA class RubyVM::YJIT::Block Notes: Merged: https://github.com/ruby/ruby/pull/5361
2021-12-29* 2021-12-29 [ci skip]git
2021-12-29`USE_RUBY_DEBUG_LOG` doesn't check `RUBY_DEVEL`Koichi Sasada
`USE_RUBY_DEBUG_LOG` was only defined when `RUBY_DEVEL` is defined. This patch removes this dependency (`USE_RUBY_DEBUG_LOG` is defined independently from `RUBY_DEVEL`). Do not commit a patch which enables `USE_RUBY_DEBUG_LOG`. Notes: Merged: https://github.com/ruby/ruby/pull/5366
2021-12-28Use omit instead of skip: test/-ext-/**/*.rbHiroshi SHIBATA
2021-12-28Use omit instead of skip: test/socket/**/*.rbHiroshi SHIBATA
2021-12-28The `include`d set should be expanded values [ci skip]Nobuyoshi Nakada
While the `matrix` level values are expanded from the production of each arrays, `include`d set should be consist from expanded single values.
2021-12-28Removed deprecated Dir.exists? and File.exists?Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5352
2021-12-28s/an Bignum/a Bignum/ [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3927
2021-12-28Remove obsolete Fixnum and BignumNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3927
2021-12-28Fix RBS test failures of taint/trust (#5364)Masataka Pocke Kuwabara
Notes: Merged-By: pocke <p.ck.t22@gmail.com>
2021-12-27Fix weird MinGW failure notificationsTakashi Kokubun
It's been "MinGW / Array", but it will be "MinGW MINGW64 / check" or "MinGW UCRT64 / check" by this.
2021-12-27Skip testing --enable-all in MinGW for nowTakashi Kokubun
If we don't intend to support this platform, we should probably enable MJIT for MinGW. However, since the code for https://bugs.ruby-lang.org/issues/18439 is in place, I'm adjusting the test for it in the meantime. following up https://github.com/ruby/ruby/pull/5363
2021-12-27Fix test_rubyoptions for MinGW (#5363)Takashi Kokubun
* Fix test_rubyoptions for MinGW follows up a74a2f456ad549025861be80f50cc3f0dd6646dd * Require jit_support * Fix MinGW platform * Handle MinGW UCRT and fix the prefix * Make it more robust Notes: Merged-By: k0kubun <takashikkbn@gmail.com>