-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge commits from ruby/master
into yjit_backend_ir
#406
Commits on Aug 10, 2022
-
Only allow procs created by Symbol#to_proc to call public methods
Fixes [Bug #18826] Co-authored-by: Nobuyoshi Nakada <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfa6a8d - Browse repository at this point
Copy the full SHA bfa6a8dView commit details -
Revert "Add {Method,UnboundMethod}#{public?,private?,protected?}"
Configuration menu - View commit details
-
Copy full SHA for ff42e23 - Browse repository at this point
Copy the full SHA ff42e23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fc401b - Browse repository at this point
Copy the full SHA 9fc401bView commit details
Commits on Aug 11, 2022
-
Add
--enable-devel
configure optionSince `RUBY_DEVEL` in cppflags has no effect in the configure script and makefiles.
Configuration menu - View commit details
-
Copy full SHA for 74d9574 - Browse repository at this point
Copy the full SHA 74d9574View commit details -
exts.mk files are one level under the top of extension directories.
Configuration menu - View commit details
-
Copy full SHA for 26054c7 - Browse repository at this point
Copy the full SHA 26054c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c9803b - Browse repository at this point
Copy the full SHA 0c9803bView commit details -
Fix race conditions when cleaning extensions
Clean built directories by `make distclean`, and then clean leftover makefiles for skipped extensions.
Configuration menu - View commit details
-
Copy full SHA for 32d1ce9 - Browse repository at this point
Copy the full SHA 32d1ce9View commit details -
Fix Array#[] with ArithmeticSequence with negative steps (ruby#5739)
* Fix Array#[] with ArithmeticSequence with negative steps Previously, Array#[] when called with an ArithmeticSequence with a negative step did not handle all cases correctly, especially cases involving infinite ranges, inverted ranges, and/or exclusive ends. Fixes [Bug #18247] * Add Array#slice tests for ArithmeticSequence with negative step to test_array Add tests of rb_arithmetic_sequence_beg_len_step C-API function. * Fix ext/-test-/arith_seq/beg_len_step/depend * Rename local variables * Fix a variable name Co-authored-by: Kenta Murata <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cfb9624 - Browse repository at this point
Copy the full SHA cfb9624View commit details -
Configuration menu - View commit details
-
Copy full SHA for c361cf4 - Browse repository at this point
Copy the full SHA c361cf4View commit details -
Fix inspect for unicode codepoint 0x85
This is an inelegant hack, by manually checking for this specific code point in rb_str_inspect. Some testing indicates that this is the only code point affected. It's possible a better fix would be inside of lower-level encoding code, such that rb_enc_isprint would return false and not true for codepoint 0x85. Fixes [Bug #16842]
Configuration menu - View commit details
-
Copy full SHA for 49517b3 - Browse repository at this point
Copy the full SHA 49517b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a677aa0 - Browse repository at this point
Copy the full SHA a677aa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3f401 - Browse repository at this point
Copy the full SHA 8a3f401View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e3e4bc - Browse repository at this point
Copy the full SHA 5e3e4bcView commit details
Commits on Aug 12, 2022
-
[ruby/error_highlight] Add a note about the current limitation of Err…
…orHighlight.spot ruby/error_highlight@489ce80a62
Configuration menu - View commit details
-
Copy full SHA for d9f1b8b - Browse repository at this point
Copy the full SHA d9f1b8bView commit details -
All extensions in bundled gems are built by build-ext now
`RbInstall::GemInstaller#build_extensions` has nothing to do.
Configuration menu - View commit details
-
Copy full SHA for 04815ea - Browse repository at this point
Copy the full SHA 04815eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3a6d2d - Browse repository at this point
Copy the full SHA a3a6d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a11d50 - Browse repository at this point
Copy the full SHA 9a11d50View commit details -
Configuration menu - View commit details
-
Copy full SHA for a201cfd - Browse repository at this point
Copy the full SHA a201cfdView commit details -
Stop defining
RUBY_ABI_VERSION
if released versionsAs commented in include/ruby/internal/abi.h, since teeny versions of Ruby should guarantee ABI compatibility, `RUBY_ABI_VERSION` has no role in released versions of Ruby.
Configuration menu - View commit details
-
Copy full SHA for cd1a0b3 - Browse repository at this point
Copy the full SHA cd1a0b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4165fd0 - Browse repository at this point
Copy the full SHA 4165fd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24e33b8 - Browse repository at this point
Copy the full SHA 24e33b8View commit details -
Improve performance of Integer#ceildiv
This patch is suggested by nobu. Benchmark result: ``` require 'benchmark' n = 10 ** 7 Benchmark.bm do |x| x.report("Fixnum/Fixnum") { a, b = 5, 2; n.times { a.ceildiv(b) } } x.report("Bignum/Bignum") { a, b = 10**100, 10**99 - 1; n.times { a.ceildiv(b) } } x.report("Bignum/Fixnum") { a, b = 10**100, 3; n.times { a.ceildiv(b) } } end ``` Original: ``` user system total real Fixnum/Fixnum 3.340009 0.043029 3.383038 ( 3.384022) Bignum/Bignum 8.229500 0.118543 8.348043 ( 8.349574) Bignum/Fixnum 8.328971 0.097842 8.426813 ( 8.426952) ``` Improved: ``` user system total real Fixnum/Fixnum 0.699140 0.000961 0.700101 ( 0.700199) Bignum/Bignum 5.076165 0.083160 5.159325 ( 5.159360) Bignum/Fixnum 5.548684 0.115372 5.664056 ( 5.666735) ```
Configuration menu - View commit details
-
Copy full SHA for 803a072 - Browse repository at this point
Copy the full SHA 803a072View commit details -
[Bug #18962] Do not read again once reached EOF
`Ripper::Lexer#parse` re-parses the source code with syntax errors when `raise_errors: false`. Co-Authored-By: tompng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 844a0ed - Browse repository at this point
Copy the full SHA 844a0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2205cd - Browse repository at this point
Copy the full SHA b2205cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77fdb3a - Browse repository at this point
Copy the full SHA 77fdb3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b179926 - Browse repository at this point
Copy the full SHA b179926View commit details -
Configuration menu - View commit details
-
Copy full SHA for e444455 - Browse repository at this point
Copy the full SHA e444455View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6405d - Browse repository at this point
Copy the full SHA 3a6405dView commit details
Commits on Aug 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fa65800 - Browse repository at this point
Copy the full SHA fa65800View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9382a3 - Browse repository at this point
Copy the full SHA f9382a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1d1c9b - Browse repository at this point
Copy the full SHA d1d1c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0617cba - Browse repository at this point
Copy the full SHA 0617cbaView commit details
Commits on Aug 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a58a429 - Browse repository at this point
Copy the full SHA a58a429View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9abf60 - Browse repository at this point
Copy the full SHA a9abf60View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb12d7c - Browse repository at this point
Copy the full SHA cb12d7cView commit details
Commits on Aug 15, 2022
-
[ruby/rinda] Handle situations where IPv4 multicast is not available
Fixes [Bug #13864] ruby/rinda@3cd620f38c
Configuration menu - View commit details
-
Copy full SHA for 89aa09a - Browse repository at this point
Copy the full SHA 89aa09aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbcf2da - Browse repository at this point
Copy the full SHA cbcf2daView commit details -
[rubygems/rubygems] Fix Ruby platform incorrectly removed on `bundle …
…update` rubygems/rubygems@0d321c9e3a
Configuration menu - View commit details
-
Copy full SHA for e77c839 - Browse repository at this point
Copy the full SHA e77c839View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d40ede - Browse repository at this point
Copy the full SHA 8d40edeView commit details -
Add test for GC thrashing of young object creation
This test will prevent performance regressions like [Bug #18929].
Configuration menu - View commit details
-
Copy full SHA for 0264424 - Browse repository at this point
Copy the full SHA 0264424View commit details -
Simplify around
USE_YJIT
macro (ruby#6240)* Simplify around `USE_YJIT` macro - Use `USE_YJIT` macro only instead of `YJIT_BUILD`. - An intermediate macro `YJIT_SUPPORTED_P` is no longer used. * Bail out if YJIT is enabled on unsupported platforms
Configuration menu - View commit details
-
Copy full SHA for ee864be - Browse repository at this point
Copy the full SHA ee864beView commit details -
Configuration menu - View commit details
-
Copy full SHA for e34720d - Browse repository at this point
Copy the full SHA e34720dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e66b3f - Browse repository at this point
Copy the full SHA 4e66b3fView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9aa3532 - Browse repository at this point
Copy the full SHA 9aa3532View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 0e74ffe - Browse repository at this point
Copy the full SHA 0e74ffeView commit details