Age | Commit message (Collapse) | Author |
---|
| |
| non-existent parent dirs https://.com/rubygems/rubygems/commit/4701123601 |
| As showed by the unskiped spec, on Windows trying to use the 0.0.0.0 interface raises this error, and it's raised as a generic system error when trying to create a `bundler.lock` file. Here's is a better place to handle that. https://.com/rubygems/rubygems/commit/e32c5a9e5c |
| https://.com/rubygems/rubygems/commit/bfa6770e39 |
| https://.com/rubygems/rubygems/commit/627a7615f2 |
| https://.com/rubygems/rubygems/commit/57e8ae7aa6 |
| https://.com/rubygems/rubygems/commit/380c95ce05 |
| https://.com/rubygems/rubygems/commit/b556167793 |
| The mirror probing spec file was moved to our regular suite, which runs in parallel, recently. These specs rely on starting and stopping actual servers in localhost, but this does not play nice with parallelization, because a spec may kill the webserver another spec has created. This commit moves mirror probing specs to not need to start servers in localhost and do something more similar to what the other specs do. https://.com/rubygems/rubygems/commit/ca9a19706f |
| If all nodes in the array are safe, then it is safe to avoid allocation for the positional splat: ```ruby m(*a, kw: [:a]) # Safe m(*a, kw: [meth]) # Unsafe ``` This avoids an unnecessary allocation in a Rails method call. Details: https://.com/rails/rails/pull/54949/files#r2052645431 |
| First try dedicated system calls, such as `getrandom` or `getentropy`, next possible libraries, then fallback to `/dev/urandom`. |
| - `ractor_sync_terminate_atfork` is unused unless fork is working - `cr` in `vm_lock_leave` is only for debugging |
| [Bug #21445] |
| This is a follow-up to commit b120f5e38d9c (avoid fork-unsafe arc4random implementations, 2018-09-04). Avoid defining a no-op fill_random_bytes_syscall() if arc4random_buf(3) exists, but we are unsure if it is fork-safe. Check for other options instead. IOW, see if getrandom(2) is available. glibc 2.36, released in 2022, started to provide arc4random_buf(3) on Linux. This causes fill_random_bytes_syscall() to use neither of them and makes Random.urandom solely rely on getentropy(3) via fill_random_bytes_urandom(). While the glibc implementation is safe, I did not add it to the list because using getrandom(2) directly is preferable on Linux. |
| If this is not a system call, then it is using getrandom (which would have been tried already), and cannot be used as a replacement for the random devices. |
| |
| Don't confuse them with other nearby instructions. |
| This was handled correctly in parse.y (NODE_COLON2), but not in prism. This wasn't caught earlier, because I only added tests for the optimized case and not the unoptimized case. Add tests for the unoptimized case. In code terms: ```ruby m(*a, kw: lvar::X) # Does not require allocation for *a m(*a, kw: method()::X) # Requires allocation for *a ``` This commit fixes the second case when prism is used. |
| Add methods for setting supported signature algorithms, corresponding to SSL_CTX_set1_sigalgs_list() and SSL_CTX_set1_client_sigalgs_list(), respectively. https://.com/ruby/openssl/commit/6bbe58c492 Co-authored-by: Markus Jung <[email protected]> |
| https://.com/ruby/openssl/commit/54f22395e7 |
| https://.com/ruby/openssl/commit/9c9333c07d |
| |
| |
| It's something we don't expect and might be coming from somewhere else. https://.com/ruby/io-console/commit/f0646b2b6a |
| v1.245.0 is not working with the following issue: https://.com/ruby/ruby/actions/runs/15769771616/job/44464179119?pr=13661 ``` D:/a/ruby/ruby/src/test/rubygems/mock_gem_ui.rb:83:in 'Gem::MockGemUi#terminate_interaction': Gem::MockGemUi::TermError (Gem::MockGemUi::TermError) D:/a/ruby/ruby/src/lib/rubygems/user_interaction.rb:157:in 'Gem::UserInteraction#terminate_interaction' D:/a/ruby/ruby/src/lib/rubygems/commands/exec_command.rb:175:in 'Gem::Commands::ExecCommand#install' D:/a/ruby/ruby/src/lib/rubygems/commands/exec_command.rb:70:in 'Gem::Commands::ExecCommand#execute' D:/a/ruby/ruby/src/lib/rubygems/command.rb:326:in 'Gem::Command#invoke_with_build_args' D:/a/ruby/ruby/src/lib/rubygems/command.rb:304:in 'Gem::Command#invoke' D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb:43:in 'TestGemCommandsExecCommand#invoke' D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb:274:in 'block in TestGemCommandsExecCommand#test_gem_with_platform_and_platform_dependencies' D:/a/ruby/ruby/src/lib/rubygems/user_interaction.rb:46:in 'Gem::DefaultUserInteraction.use_ui' D:/a/ruby/ruby/src/lib/rubygems/user_interaction.rb:69:in 'Gem::DefaultUserInteraction#use_ui' D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb:272:in 'TestGemCommandsExecCommand#test_gem_with_platform_and_platform_dependencies' D:/a/ruby/ruby/src/tool/lib/test/unit/testcase.rb:202:in 'Test::Unit::TestCase#run_test' D:/a/ruby/ruby/src/tool/lib/test/unit/testcase.rb:170:in 'Test::Unit::TestCase#run' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1683:in 'block in Test::Unit::Runner#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1670:in 'Array#map' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1670:in 'Test::Unit::Runner#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit.rb:1374:in 'Test::Unit::ExcludesOption#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:52:in 'Test::Unit::Worker#_run_suite' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:24:in 'block in Test::Unit::Worker#_run_suites' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:23:in 'Array#map' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:23:in 'Test::Unit::Worker#_run_suites' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:122:in 'Test::Unit::Worker#run' D:/a/ruby/ruby/src/tool/lib/test/unit/parallel.rb:220:in '<main>' running file: D:/a/ruby/ruby/src/test/rubygems/test_gem_commands_exec_command.rb ``` |
| |
| As well as compilers/entrypoint.sh. |
| |
| |
| |
| |
| |
| Notes: Merged: https://.com/ruby/ruby/pull/13660 |
| |
| |
| |
| We can fuse linked lists of blocks. This can be run any time, improves future analyses, improves codegen, and also makes the HIR output look nicer. Inspired by my implementation of CleanCFG for Cinder, which was itself inspired by Brett Simmers' implementation in HHVM. Notes: Merged-By: tekknolagi <[email protected]> |
| |
| Add a fast path for known strings at compile time, otherwise calls method id to_s using Insn::SendWithoutBlock Co-authored-by: composerinteralia <[email protected]> More specific test name in zjit/src/hir.rs Co-authored-by: Max Bernstein <[email protected]> Notes: Merged: https://.com/ruby/ruby/pull/13627 |
| Notes: Merged: https://.com/ruby/ruby/pull/13641 |
| Notes: Merged: https://.com/ruby/ruby/pull/13623 |
| Notes: Merged: https://.com/ruby/ruby/pull/13623 |
| Notes: Merged: https://.com/ruby/ruby/pull/13623 |
| Notes: Merged: https://.com/ruby/ruby/pull/13653 |
| |
| - Send outputs from debugger to stderr - Use `%W` to interpolate the pid Notes: Merged: https://.com/ruby/ruby/pull/13656 |
| https://.com/ruby/ruby/actions/runs/15751511003/job/44397451542?pr=13649 ``` 1) Failure: TestLastThread#test_last_thread [/Users/runner/work/ruby/ruby/src/test/-ext-/gvl/test_last_thread.rb:18]: Expected |1.0 - 1.167141| (0.16714099999999998) to be <= 0.16. ``` |
| |
| |
| Found by wbcheck klass = Class.new 200.times do |iv| klass.instance_variable_set("@_iv_#{iv}", Object.new) end Notes: Merged: https://.com/ruby/ruby/pull/13654 |