summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-01merge revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221: [Backport #18517]NARUSE, Yui
Shifting zero always results in zero [Bug #18517] --- numeric.c | 2 ++ 1 file changed, 2 insertions(+)
2022-01-31merge revision(s) ↵NARUSE, Yui
5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621: [Backport #18497] Assuming EXIT_SUCCESS equals 0 is not portable --- test/ruby/test_fiber.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) `rb_fiber_terminate` must not return [Bug #18497] In a forked process from a fiber, the fiber becomes the only fiber, `fiber_switch` does nothing as there is no other fibers, `rb_fiber_terminate` does not terminate the fiber. In that case, reaches the end of `fiber_entry` finaly, which is declared as "COROUTINE" and should never return. --- cont.c | 3 ++- eval_intern.h | 2 +- test/fiber/test_process.rb | 15 +++++++++++++++ test/ruby/test_fiber.rb | 5 +++++ 4 files changed, 23 insertions(+), 2 deletions(-)
2022-01-31merge revision(s) f3c77bd480834f2835fe6fef5c0475336248dbde: [Backport #18489]NARUSE, Yui
Fix the placeholder subclass entry skipping [Bug #18489] --- class.c | 3 +-- test/ruby/test_module.rb | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-)
2022-01-31Prefer `wait_readable` rather than `IO.select`.Samuel Williams
2022-01-31Fix incorrect minimum read length.Samuel Williams
2022-01-31Fix console.c usage of `rb_io_wait`.Samuel Williams
2022-01-31merge revision(s) ae5458f228a5477383e9c00425d85d50a3867817: [Backport #18475]NARUSE, Yui
thread.c: Convert TAG_BREAK to a normal exception at thread top-level [Bug #18475] --- test/ruby/test_enum.rb | 11 +++++++++++ thread.c | 3 +++ 2 files changed, 14 insertions(+)
2022-01-31merge revision(s) 92630e2346a221fdfeaa484632938a06765bc6e5: [Backport #18468]NARUSE, Yui
[ruby/optparse] Fix links to the page directory files [Bug #18468] https://github.com/ruby/optparse/commit/dab72c543d --- doc/optparse/creates_option.rdoc | 4 ++-- doc/optparse/option_params.rdoc | 2 +- doc/optparse/tutorial.rdoc | 4 ++-- lib/optparse.rb | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-)
2022-01-30merge revision(s) a79c59472df38297c246b27713c277f2edaefa7a: [Backport #18292]NARUSE, Yui
Allow include before calling Module#initialize This is to allow Module subclasses that include modules before calling super in the subclass's initialize. Remove rb_module_check_initializable from Module#initialize. Module#initialize only calls module_exec if a block is passed, it doesn't have other issues that would cause problems if called multiple times or with an already initialized module. Move initialization of super to Module#allocate, though I'm not sure it is required there. However, it's needed to be removed from Module#initialize for this to work. Fixes [Bug #18292] --- class.c | 1 + object.c | 1 - test/ruby/test_module.rb | 10 ++++++++++ 3 files changed, 11 insertions(+), 1 deletion(-)
2022-01-30merge revision(s) c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5: [Backport #18469]NARUSE, Yui
Fix default --jit-max-cache in `ruby --help` changed at 028f1887c2bfa50dcfc1b623470d6ab1b880fdde --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-01-30merge revision(s) 5917f49ad03cd3b2c13d3eea85c969a113b83bf8: [Backport #18436]NARUSE, Yui
Fix documentation for Dir.glob Dir.glob("*", File::FNM_DOTMATCH) no longer includes ".." in the returned array as of Ruby 3.1. Fixes [Bug #18436] --- dir.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-01-30merge revision(s) 9e0a91d0640600f2dfd7fc1d5fae6667019c9ca5: [Backport #18458]NARUSE, Yui
Don't segfault if Warning.warn is undefined Check that there is a method entry for the method before passing it to rb_method_entry_arity. Fixes [Bug #18458] --- error.c | 3 ++- test/ruby/test_exception.rb | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)
2022-01-30merge revision(s) 5414de4b6e4372af832e338f8eb7a9fe8de17c84: [Backport #18453]NARUSE, Yui
YJIT: Fix SP index with optarg and unordered kwarg 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 --- bootstraptest/test_yjit.rb | 16 ++++++++++++++++ yjit_codegen.c | 7 +++++-- 2 files changed, 21 insertions(+), 2 deletions(-)
2022-01-30merge revision(s) 0dc7816c4350683ccd020f5759eee4914de0085d: [Backport #18434]NARUSE, Yui
Make RubyVM::AST.of work with code written in `-e` command-line option [Bug #18434] --- ast.c | 11 +++++++---- test/ruby/test_ast.rb | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-)
2021-12-25Revert "Do not include external library sources into packages"v3_1_0NARUSE, Yui
This reverts commit a042043487eb4c7d39307b8e784ede1856455c3e. (cherry picked from commit 8325094177de60d365b2b5507488f0b53d11c736)
2021-12-25Prevent installing zlib libraryNARUSE, Yui
(cherry picked from commit 82c8acbcfd3197e19620dc6024d08c85ea99a05b)
2021-12-25Revert "make-snapshot: add -extlibs option"NARUSE, Yui
This reverts commit afa9d65d61857792508b1405835b07b78e24449c. It prevents installing libffi. (cherry picked from commit 1cc02078e503a18f6d1fcbd3e4d29c574895957d)
2021-12-25fix tool/format-releaseNARUSE, Yui
Pass ruby directory path (cherry picked from commit 05faa36028a0a00788e2416a91e0bba21bd6f6ad)
2021-12-25Update default gems list at 8247b193c0dd06db9ea56812954dda [ci skip]Nobuyoshi Nakada
(cherry picked from commit 1ad42f8a761b1f22464d5b15aac7ce994ecffc4b)
2021-12-25[ruby/io-console] bump up to 0.5.10Nobuyoshi Nakada
https://github.com/ruby/io-console/commit/806c65e22b (cherry picked from commit 8247b193c0dd06db9ea56812954dda8fed89458d)
2021-12-25[ruby/io-console] No longer support dead versionsNobuyoshi Nakada
https://github.com/ruby/io-console/commit/e9478509e9 (cherry picked from commit 9368fa6c3073d5fe4380a5e84eb59f7cec2ce62c)
2021-12-25NEWS: mention Time.new argument error moreNobuyoshi Nakada
Show an example of Time.new with perhaps unexpected results in earlier versions. (cherry picked from commit 14e550052be73ed35bfcbb0b6be696519ad7e092)
2021-12-25Suppress undef warnings for USE_RUBY_DEBUG_LOGNobuyoshi Nakada
(cherry picked from commit 975a6efd7ea144275d4774d18ff0f568c1a1dc97)
2021-12-25Define fallback RUBY_DEVEL to suppress undef warningsNobuyoshi Nakada
(cherry picked from commit 566bdaef318674c416494786da551021afb1b5d7)
2021-12-25Raise proper exception when month argument is not a nameNobuyoshi Nakada
https://bugs.ruby-lang.org/issues/17485#change-89871 (cherry picked from commit 0867b638aff9ec192ca420a44ffa5a77c892e8f2)
2021-12-25Fix the names of Thread::Queue and method for the cross-referenceNobuyoshi Nakada
(cherry picked from commit 42eb9bf37ac42cc792d619e28d153c164a5e6604)
2021-12-25NEWS: Put spaces to make Method and UnboundMethod linksNobuyoshi Nakada
(cherry picked from commit 30374b4fb77a1407e5ba8e98be03a92c4a317495)
2021-12-25Add IRB Improvements section to NEWS.mdaycabta
(cherry picked from commit dba24e6a1ae0d7dba313bb5f65a4be927bd6f236)
2021-12-25v3.1.0p0NARUSE, Yui
2021-12-25NEWS: Mention about more strict conversions for [Feature #17485]Nobuyoshi Nakada
2021-12-25Update default gems list at 0f1fbc6421641d80a03f0b72e3d775 [ci skip]git
2021-12-25[ruby/irb] Version 1.4.1aycabta
https://github.com/ruby/irb/commit/b1d9c34441
2021-12-25[ruby/irb] Support showing doc by dialog in iTerm2aycabta
https://github.com/ruby/irb/commit/a4b95d6634
2021-12-25Update default gems list at 40c20110d5791e26e5edaddb6a77cf [ci skip]git
2021-12-25[ruby/reline] Version 0.3.0aycabta
https://github.com/ruby/reline/commit/3f6ea92268
2021-12-25Fix typos [ci skip]Kazuhiro NISHIYAMA
2021-12-24Update default gems list at da6a5e3ed16ab0cdda7546dd9caf55 [ci skip]git
2021-12-25Merge RubyGems-3.3.3 and Bundler-2.3.3Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5342
2021-12-24Update default gems list at efce9ecf72842fd2109a34a89b4293 [ci skip]git
2021-12-25[ruby/openssl] Ruby/OpenSSL 3.0.0Kazuki Yamaguchi
https://github.com/ruby/openssl/commit/bff4080091
2021-12-25[ruby/openssl] Add tast cases to OpenSSL::BN using ractorYusuke Nakamura
OpenSSL::BN has been make ractor-safed in 9e7cf9e , but there was no test. And to use 'ractor' annotation, update test-unit to v3.4.6 or higher. https://github.com/ruby/openssl/commit/7541a66911
2021-12-24NEWS: Adapt YJIT support status to include OpenBSDAlan Wu
We don't run YJIT CI checks on OpenBSD so can't claim that we provide first-class maintenance support. However, as of 3b2b28d035c9635b9473c7a03ede04fa6ac57a34, YJIT can at least boot on OpenBSD.
2021-12-24Less bravado in YJIT performance claimsAlan Wu
YJIT can't improve performance of non Ruby software of course.
2021-12-24Update default gems list at 90239c4163e0a9aec7add714eb5ad6 [ci skip]git
2021-12-25[ruby/irb] Version 1.4.0aycabta
https://github.com/ruby/irb/commit/b80ec5821e
2021-12-25[ruby/irb] Update dependency, reline >= 0.3.0aycabta
https://github.com/ruby/irb/commit/f36ad549c4
2021-12-25[ruby/reline] Escape newline(s) in dynamic promptaycabta
https://github.com/ruby/reline/commit/9b209ee1ea
2021-12-25[ruby/reline] Escape newline(s) in promptaycabta
https://github.com/ruby/reline/commit/b545459fca
2021-12-25[ruby/reline] Remove unnecessary parameteraycabta
https://github.com/ruby/reline/commit/20fcd22564
2021-12-25Increase wait timeaycabta