Thanks to visit codestin.com
Credit goes to github.com

Skip to content

backport 20172 #9796

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

Closed
wants to merge 14 commits into from
Closed

backport 20172 #9796

wants to merge 14 commits into from

Conversation

nurse
Copy link
Member

@nurse nurse commented Feb 1, 2024

  • fix regexp pattern of diff
  • [rubygems/rubygems] Ensure that the lockfile mtime is not altered on frozen install
  • Initialize interrupt queue before signal handlers (Initialize interrupt queue before signal handlers #9196)
  • Make Dir#chdir never yield args, and return block return value
  • [ruby/securerandom] [DOC] Improve the document about reproducibility of uuid_v7
  • [ruby/securerandom] [DOC] Add documents of methods and constants
  • [ruby/securerandom] [DOC] Satisfy RDoc coverage
  • Update bundled gems list as of 2023-12-12
  • Partially revert "Set AI_ADDRCONFIG when making getaddrinfo(3) calls"
  • [ruby/irb] [DOC] RDoc for module IRB ([DOC] RDoc for module IRB irb#738)
  • [ruby/irb] Remove trailing space
  • [rubygems/rubygems] Resolve ruby file: ".ruby-version" relative to Gemfile
  • [ruby/prism] Add STATIC_KEYS flag for KeywordHashNode
  • [ruby/prism] Start KeywordHashNodes with STATIC_KEYS set, until hit an element that should clear it
  • [ruby/prism] Update tests and snapshots
  • Make WeakMap safe for compaction during allocation
  • Make WeakKeyMap safe for compaction during allocation
  • [PRISM] Do not hide syntactically required parentheses within macros
  • [rubygems/rubygems] Make RubyDsl a little easier to read; avoid a Hash sometimes
  • Fix op asgn calls with keywords
  • [ruby/prism] Flag for attribute write on calls
  • [rubygems/rubygems] Bump rake version used by tests
  • [ruby/prism] Add methods for setting/unsetting and macros for testing a flags
  • [ruby/prism] Start using flag macros/methods exclusively
  • [Bug #19114] Fix for multiple calls of TracePoint#enable
  • [ruby/prism] Use new flag setters for attribute write
  • [PRISM] Allow rest parameter to be *
  • [PRISM] Implementing forwarding of args for ForwardingSuperNode
  • [ruby/irb] Remove documents about deprecated/WIP features and some slight adjustments (Remove documents about deprecated/WIP features and some slight adjustments irb#811)
  • [PRISM] Compile NextNode arguments
  • Allow syncing tool/bundler
  • Remove a duplicated job
  • Sync with upstream rubygems (Sync with upstream rubygems #9206)
  • [PRISM] Fix segv with regex once flag
  • Move --repeat-count=2 job to macos-arm-oss (Move --repeat-count=2 job to macos-arm-oss #9208)
  • YJIT: Fix off-by-one in Kernel#send type handling (YJIT: Fix off-by-one in Kernel#send type handling #9212)
  • Remove unused macros
  • [DOC] RDoc for Complex
  • Use xfree for IO::Buffer
  • [ruby/prism] Fix hash deopt based on contents
  • Small doc improvements for rb_postponed_job API
  • Refactor local variable names in postponed_job methods
  • Simplify implementation of tracepoint tests
  • Add a test case for preregistering with different data
  • Add changelog entry for [Feature #20057]
  • [PRISM] Correctly parse non-base 10 integers in Prism
  • [rubygems/rubygems] Require rubygems/request where it's used
  • [rubygems/rubygems] Load hax.rb before anything when BUNDLER_IGNORE_DEFAULT_GEM set
  • [rubygems/rubygems] Avoid loading artifice when not necessary
  • [rubygems/rubygems] Vendor net-http and net-protocol in RubyGems
  • [rubygems/rubygems] Use vendored net-http in Bundler
  • [rubygems/rubygems] Vendor timeout in RubyGems too
  • [rubygems/rubygems] Use vendored timeout from RubyGems
  • [rubygems/rubygems] Resolv needs vendoring too
  • [rubygems/rubygems] Remove no longer needed gem install during test
  • [rubygems/rubygems] Add a spec to cover what vendoring timeout fixes
  • [rubygems/rubygems] Make sure --no-user-install is respected for auto user installation
  • [rubygems/rubygems] Test if the user dir is used for auto user installation
  • [rubygems/rubygems] Explain the 3 states options[:user_install] can have.
  • Removed duplicated LICENSE file
  • RubyGems 3.5+ will use vendored net-http
  • Normalize bundler bindir
  • [rubygems/rubygems] Remove dead code
  • [rubygems/rubygems] Refactor bundle info
  • [rubygems/rubygems] Improve default gem handling
  • [ruby/etc] Bump up 1.4.3
  • Update default gems list at 12c775c [ci skip]
  • [ruby/io-wait] Bump up 0.3.1
  • Update default gems list at 5cabe1e [ci skip]
  • [ruby/io-nonblock] Bump up 0.3.0
  • Update default gems list at 06edde2 [ci skip]
  • [ruby/io-console] Bump up 0.7.0
  • Update default gems list at 3902379 [ci skip]
  • [ruby/resolv] Bump up 0.3.0
  • Update default gems list at 5f5f8db [ci skip]
  • Skip a GC test for RJIT
  • Fix a typo for RJIT_TARGET_OK (Fix a typo for RJIT_TARGET_OK #8222)
  • Avoid warning --jit when only YJIT is enabled
  • We need only one line for detecting caller gem name
  • [ruby/irb] Warn and do nothing if block is passed to measure command (Warn and do nothing if block is passed to measure command irb#813)
  • [ruby/prism] fix typo in docs
  • [PRISM] Fix attrset edge cases
  • [PRISM] If receiver on CallNode is SelfNode, use FCALL flags
  • [PRISM] Use PM_KEYWORD_HASH_NODE_FLAGS_STATIC_KEYS flag in compiler
  • [PRISM] Generate instruction for when redo_label is set
  • [PRISM] Remove errant NOP when redo_label is set
  • [PRISM] Break nodes should add an entry to the parent catch table
  • Fix tool/ln_sr.rb passing 2 arguments to String#chomp!
  • Make String#chomp! raise ArgumentError for 2+ arguments if string is empty
  • [Bug #20061] Clear mark bits when rb_free_on_exit
  • [rubygems/rubygems] Add missing resolv, timeout, and net-protocol licenses
  • [ruby/irb] Remove unused lvar in mesure command test (Remove unused lvar in mesure command test irb#814)
  • RJIT: Just skip generating code for aarch64/arm64 (RJIT: Just skip generating code for aarch64/arm64 #9221)
  • Skip an unstable test on MinGW
  • Fix memory leak in Hash#compare_by_identity
  • [PRISM] Fix st_table memory leak
  • [PRISM] Use xcalloc for iseq id table
  • [PRISM] Fix a -Wformat-zero-length warning
  • [Prism] Fix InterpolatedMatchLastLine Instructions
  • [rubygems/rubygems] Add 3.4 as a supported ruby version
  • [PRISM] Add a test with a non-static-literal hash key
  • Fix a typo in yjit.md
  • [rubygems/rubygems] Store Checksum::Store indexed by spec.lock_name
  • YJIT: Add --yjit-disable to help and reorder it (YJIT: Add --yjit-disable to help and reorder it #9230)
  • [rubygems/rubygems] Use match? when regexp match data is unused
  • [Bug #20060] Properly return matched gem name in case of EXACT
  • Skip warning feature with Bootsnap
  • Detect bootsnap from all frames
  • [rubygems/rubygems] Revert "Merge pull request YJIT: Add splat optimized_send #7167 from nevinera/add-json-output-option-to-bundle-outdated"
  • Unlock freelist before assigning
  • [rubygems/rubygems] Warn for duplicate meta data links
  • Fold a long line [ci skip]
  • [ruby/prism] Fix hash pattern rest
  • Bump up bundled net-ftp gem version to 0.3.1
  • Update bundled gems list at 26145a2 [ci skip]
  • Bump up bundled net-ftp gem version to 0.3.2
  • Update bundled gems list at 1b1d5e7 [ci skip]
  • dln_symbol: make dln_sym accessible Ruby internally
  • rb_ext_resolve_symbol: C API to resolve and return externed symbols [Feature #20005]
  • [PRISM] Add anon KW args to the block local table
  • [rubygems/rubygems] Revert "Improve default gem handling"
  • [rubygems/rubygems] Gem::Specification.find_all_by_name is always defined now
  • [rubygems/rubygems] This patch should be no longer needed
  • [rubygems/rubygems] Remove check only necessary for ancient RubyGems
  • [rubygems/rubygems] Remove more methods now defined in all RubyGems versions
  • [rubygems/rubygems] Gem::Specification always has default_stubs now
  • [rubygems/rubygems] RubyGems > 3.2.0.rc.1 is now always provided
  • [rubygems/rubygems] Remove extension building sync stuff no longer present in RubyGems
  • [rubygems/rubygems] Improve install advice when some gems are not found
  • [rubygems/rubygems] Allow "default_user_install" to be overridden.
  • Removed duplicated LICENSE files
  • Call obj_free for T_DATA, T_FILE objects on exit
  • [rubygems/rubygems] Upgrade vendored libraries
  • [DOC] RDoc for Complex ([DOC] RDoc for Complex #9231)
  • Fix op asgn method calls passing mutable keyword splats
  • [PRISM] Use frozen flag on StringNode
  • [ruby/prism] Make equality operators non-associative
  • [PRISM] Fix bugs in compiling optional keyword parameters
  • [PRISM] Check for static literal, excluding array, hash, range
  • Implement Write Barriers on IO::Buffer
  • [ruby/prism] Fix the implementation of the flag on keyword hash nodes
  • [PRISM] Account for multiple anonymous locals
  • [Prism] Fix cvar or assignment instructions
  • [ruby/prism] Fix parse result for nesting pattern matching
  • Pattern matching
  • [PRISM] Fix keyword hash handling in method calls
  • Bump prism to version 0.19.0
  • Update default gems list at 8bbe835 [ci skip]
  • [prism] Fix build with no asserts
  • [DOC] Adjust some new features wording/examples. ([DOC] Adjust some new features wording/examples. #9183)
  • [DOC] Enhance docs for WeakMap and WeakKeyMap ([DOC] Enhance docs for WeakMap and WeakKeyMap #9160)
  • [PRISM] Implement safe navigation in CallNodes
  • [DOC] Reverse-merge YJIT release notes to NEWS
  • Trigger auto-request-review only for master branch
  • stop warnings from running the test case requiring .so twice
  • Remove unused variables in test_call_op_asgn_keywords_mutable
  • check modifcation whil ar->st
  • add a test
  • Bump up bundled net-ftp gem version to 0.3.3
  • Update bundled gems list at b562efd [ci skip]
  • Fix gem detection for names with dash
  • Added basic test case of bundled gems warning
  • Added test case of bundled gems dependencies
  • Added test case of bundle exec
  • Added test case of bootsnap
  • Added test case of dash gem like net-smtp
    • append newline at EOF. [ci skip]
  • Revert "[Bug #20060] Properly return matched gem name in case of EXACT"
  • Explained about test_for_warn_bundled_gems
  • Fix ARCH_FLAG when --with-arch with single CPU
  • Fix ARCH_FLAG when cross-compiling on macOS
  • Ignore the spcial case of target_cpu
  • [rubygems/rubygems] Fix ruby setup.rb leaving traces in source folder
  • loading/testing in different processes for multiple runs
  • [ruby/prism] Add an error for in keyword in arguments
  • [ruby/prism] Add TODO comment
  • Follow removed conflict files
  • [DOC] RDoc for Complex ([DOC] RDoc for Complex #9243)
  • [rubygems/rubygems] Refactor vendoring to allow validating vendoring is reproducible
  • [rubygems/rubygems] Save array allocation for every dependency in Gemfile
  • [ruby/prism] Invalid pinned locals in pattern matching
  • [ruby/prism] Fix eval parsing depth
  • [ruby/rdoc] Remove unused method RDoc::Encoding.remove_frozen_string_literal
  • [ruby/rdoc] Require fileutils before using it
  • [ruby/rdoc] [DOC] Add missing documents
  • [ruby/rdoc] [DOC] nodoc for probably internal methods
  • [PRISM] Fix compile_prism when src is a file
  • free ractors with ractor_free
  • [rubygems/rubygems] Use mkdir_p helper in bundler.rb
  • support skip in bootstraptest
  • remove Ractor::Selector from Ruby level
  • rb_bug_for_fatal_signal: exit with the right signal
  • [Bug #20062] Fixed numbered parameter syntax error
  • [DOC] RDoc for Complex ([DOC] RDoc for Complex #9254)
  • Introduce --parser runtime flag
  • update message to clarify compiler, not parser
  • Update error message in test_rubyoptions
  • [ruby/prism] Finish keyword hash node flag refactor by renaming flag
  • [rubygems/rubygems] Remove test-only & unused methods from Checksum::Store
  • [rubygems/rubygems] Use a mutex around Checksum::Store @store access
  • [rubygems/rubygems] Let the guards have some space to breathe
  • [DOC] NEWS entries for C APIs
  • [ruby/prism] String literal hash keys should be frozen
  • [ruby/prism] Fix majority of RBS type mismatches
  • [PRISM] Compile IndexTargetNode
  • [PRISM] Compile CallTargetNode
  • [PRISM] Fix incorrect instructions for default_proc=
  • [rubygems/rubygems] Fix Ruby DSL no longer working as expected
  • [rubygems/rubygems] Improve command suggestion when gems are missing
  • [rubygems/rubygems] More improves to default gem home selection for installation
  • [rubygems/rubygems] Fix Bundler daily CI
  • Fix Sinatra warning during specs
  • Partly pick commit from Refactor vendoring to allow validating vendoring is reproducible rubygems/rubygems#7285
  • Pin versions that are RubyGems 2.5.1 and Bundler 2.5.1
  • Update default gems list at 711e856 [ci skip]
  • Revert all of commits after Prism 0.19.0 release
  • [ruby/rdoc] Bump up v6.6.2
  • Update default gems list at 6c7c4ac [ci skip]
  • [ruby/open3] Bump up v0.2.1
  • Update default gems list at 1a24473 [ci skip]
  • Rollback to released version numbers of stringio and strscan
  • Update default gems list at 6a79e53 [ci skip]
  • [ruby/securerandom] Bump up v0.3.1
  • Update default gems list at 2b3fc04 [ci skip]
  • [ruby/syslog] Bump up v0.1.2
  • [ruby/abbrev] Bump up v0.1.2
  • Update default gems list at 8936bb7 [ci skip]
  • [ruby/ipaddr] Bump up v1.2.6
  • Update default gems list at 4fd3c85 [ci skip]
  • [ruby/reline] Bump version to 0.4.1 (Bump version to 0.4.1 reline#612)
  • [ruby/readline] Fix readline-ext gem loading in non Unix-like environments
  • [ruby/readline] Bump up v0.0.4
  • [ruby/io-console] Bump up v0.7.1
  • Update default gems list at 5828627 [ci skip]
  • Use minimum arguments for Bootsnap
  • [Bug #20068] Encoding does not matter to empty strings
  • Added test for sub-feature like bigdecimal/util
  • Avoid warning when requiring bigdecimal/util when bigdecimal is in gemfile
  • Added simple test script
  • We don't use tracked_files in before(:suite). It breaks with release package.
  • Use regex instead of hard coded paths
  • Adjust styles [ci skip]
  • Stir the hash value more with encoding index
  • Restore tracked_files for ruby core repo
  • Adjust rubygems style
  • Add undocumnted target [ci skip]
  • Fix ext/socket/constdefs.c dependency [ci skip]
  • [DOC] Utilize COMMENTS.default_proc to add fallback documents
  • [DOC] Make undocumented socket constans nodoc
  • [DOC] Fix Travis-CI condition
  • Revert "[DOC] Make undocumented socket constans nodoc"
  • [DOC] Stop unintentional references to builtin or standard names
  • [DOC] Correct the location of Addrinfo document
  • [DOC] Add Socket::ResolutionError documentation
  • Tweak NEWS.md
  • Improve YJIT documentation for Ruby 3.3 (Improve YJIT documentation for Ruby 3.3 #9263)
  • Make the check_misc job name more descriptive
  • Shorten the workflow name
  • Make the SHAPE_TOO_COMPLEX performance warning more actionable
  • [DOC] documents of aliased methods
  • [DOC] Added notes regarding :nodoc: in C code
  • [DOC] Add links from File::Constants to File constants
  • [DOC] Add links from File::Constants in dir.c to File constants
  • [DOC] Add documents of constants for IO#wait event mask
  • [DOC] Add document of IO::Buffer#hexdump
  • [DOC] Show PTY.getpty as an alias of PTY.spawn
  • [DOC] No document for internal or debug methods
  • Update BasicSocket#recv documentation on return value
  • Use #initialize instead of initialize in shape perf warning
  • Reset pinned_slots at the beginning of GC
  • clear sched->lock_onwer at fork
  • [DOC] Note about yjit_alloc_size in NEWS
  • [DOC] Clarify what is 3.2
  • [DOC] Copy Prism release notes to NEWS
  • [PRISM] Fix crash when --parser=prism called with stdin
  • compare_by_identity: remove alloc for empty Hash
  • compare_by_identity: remove alloc for non-empty Hash
  • Unmask signal before re-raising fatal signal
  • Fix flaky test test_stat_heap
  • [DOC] No ducuments for internal library
  • [ruby/psych] Use compare_by_identity instead of object_id
  • [ruby/psych] Use assert_same in tests where applicable
  • [ruby/psych] Bump up 5.1.2
  • Update default gems list at 5ea862f [ci skip]
  • [wasm] dln.c: Guard dladdr use in symbol incompatibility check
  • [DOC] RDoc for Complex ([DOC] RDoc for Complex #9260)
  • signal.c: Fix undefined reset_sigmask use on Emscripten
  • [DOC] State MatchData#[] when multiple captures with the same name
  • RJIT: Share rb_vm_insns_count for vm_insns_count
  • RJIT: Declare rb_vm_insns_count
  • RJIT: Correct the type of rb_vm_insns_count
  • RJIT: Avoid retaining comments unless --rjit-dump-disasm
  • RJIT: Correct the macro that defines rb_vm_insns_count
  • restore the stack pointer on finalizer
  • [DOC] remove reference to pre-3.0 splat operator behavior
  • Implement IO::Buffer on VWA
  • We need to load builtins so that they work
  • RDoc for Complex
  • YJIT: Add stats option to RubyVM::YJIT.enable (YJIT: Add stats option to RubyVM::YJIT.enable #9297)
  • Use RICLASS_OWNS_M_TBL_P
  • Set m_tbl right after allocation
  • setup waiting_fd for thread_sched_wait_events()
  • declare rb_thread_io_blocking_call
  • use rb_thread_io_blocking_call() more
  • moved object should not have a shape ID
  • RDoc for Complex
  • [PRISM] Fix parameter numbering in For Node
  • [PRISM] Correct the jump target for redo in FOR_NODE
  • Support GC.auto_compact = :empty on debug builds
  • Revert "[Bug #19831] Remove duplicate library options"
  • Add tool/missing-baseruby.bat, used when BASERUBY not available
  • Correct free_on_exit env var to free_at_exit
  • KQueue support for M:N threads
  • Hand thread into thread_sched_wait_events_timeval
  • skip MAP_STACK on FreeBSD
  • Fix a grammar issue in the shape performance warning message
  • [ruby/irb] Warn users about errors in loading RC files (Warn users about errors in loading RC files irb#817)
  • [ruby/irb] [DOC] Change indexes.rdoc to indexes.md ([DOC] Change indexes.rdoc to indexes.md irb#812)
  • [ruby/irb] Bump version to v1.11.0 (Bump version to v1.11.0 irb#818)
  • Update default gems list at 31959f1 [ci skip]
  • RJIT: Print an error message first
  • Bundle RBS 3.4.0 (Bundle RBS 3.4.0 #9293)
  • Update bundled gems list at d587852 [ci skip]
  • Added limitation of bundled gems warning feature with bootsnap
  • Fix a typo in NEWS.md
  • Fix ary_make_partial_step for compaction
  • [DOC] Fix rb_postponed_job_register_once typo
  • Use main_thread->ec from rb_vm_main_ractor_ec
  • [DOC] Fix NoMethodError example of rendering ([DOC] Fix NoMethodError example of rendering #9309)
  • [DOC] Improve NEWS.md rendering and add missing features ([DOC] Improve NEWS.md rendering and add missing features #9308)
  • Merge RubyGems-3.5.2 and Bundler-2.5.2
  • Update default gems list at 82496f2 [ci skip]
  • RJIT: Rename pause/resume to disable/enable
  • RJIT: Streamline RJIT enablement check
  • Make rb_profile_frames return 0 for NULL ec
  • RJIT: Fix unwanted shadowing in set_local_type
  • RJIT: Fix a wrong comparison in set_local_type
  • RJIT: Clean up unnecessary documentation
  • RJIT: Avoid incrementing vm_insns_count
  • Typo fixes for public headers [ci skip]
  • RJIT: Convert opt_case_dispatch keys with #to_value
  • coroutine/arm64: Sign return address if PAC enabled
  • coroutine/arm64/Context.S: Insert bti c as BTI landing pad
  • coroutine/arm64/Context.S: Append PAC/BTI note section if needed
  • coroutine/arm64: Skip saving/restoring x30 twice and use autiasp
  • debug.gem v1.9.1
  • Avoid underflow of rb_yjit_live_iseq_count
  • RJIT: Add --rjit-trace to allow TracePoint during JIT
  • RJIT: Update bindgen
  • RJIT: Make --rjit-trace actually work
  • RJIT: Minimize string allocations in InsnCompiler
  • [DOC] NEWS entries for Parser
  • Add Regexp updates to NEWS.md
  • [DOC] Fix NEWS markup
  • RJIT: Avoid retaining unrelated local variables in memory
  • [Bug #19977] Fix (nil..nil) === x not to raise TypeError
  • .travis.yml: Try another way to be notified.
  • Extract arg_splat nonterminal symbol
  • Extract forwarding_arg_check function
  • RJIT: Distinguish Pointer with Array
  • MN: fix "raise on close"
  • ensure to restart antoher thread
  • MN: ceil timeout milli seconds
  • MN: skip RUBY_DESCRIPTION spec on MN enabled
  • MN: skip waiting on `read_nonblock'
  • MN: skip waiting on fiber schedulers
  • Merge RubyGems-3.5.3 and Bundler-2.5.3
  • Update default gems list at 7d7a84e [ci skip]
  • Remove EC argument from clean_hooks_check
  • Free default_rand_key after freeing Ractors
  • FREE_AT_EXIT: Don't free main stack post-fork
  • [DOC] RDoc for Complex ([DOC] RDoc for Complex #9307)
  • Get rid of obsoleted RJITFirst
  • RJIT: Prefer STDERR over $stderr
  • RJIT: Rewind $! after compilation
  • [ruby/set] Drop support for Ruby 2
  • [ruby/set] The arity of initialize_clone is -1 in Ruby >= 3
  • [ruby/set] Use the pattern argument instead of a block
  • [ruby/set] Bump version to 1.1.0
  • Set 1.1.0 has been imported
  • Control the precheck for test-all by PRECHECK_TEST_ALL
  • Make rbconfig.rb loadable from exe/ruby
  • Set 1.1 now checks subclass-ness stricter
  • Fix for older set versions
  • Adjust indent [ci skip]
  • Remove useless #if 1 in array.c
  • [DOC] Clean up doc for File#flock ([DOC] Clean up doc for File#flock #9332)
  • Fix Regexp#to_s for GC compaction
  • Replicate EEXIST epoll_ctl behavior in kqueue
  • Fix String#sub for GC compaction
  • Use native_thread_init_stack on cygwin
  • MN: access timer_th.waiting with lock
  • [DOC] Fix markup in HTML
  • accept RB_WAITFD_IN | RB_WAITFD_OUT for waiting events
  • Use noinline version of accessing current ec
  • Update bundled gems list as of 2023-12-24
  • Initialize loop variable of ccan_list_for_each
  • IO::Buffer improvements and documentation. (IO::Buffer improvements and documentation. #9329)
  • Fix Regexp#match for GC compaction
  • RDoc for Complex
  • Fix Regexp#inspect for GC compaction
  • RDoc for complex.c
  • Fix Enumerator#with_index for GC compaction
  • Correctly release the underlying file mapping. (Correctly release the underlying file mapping. #9340)
  • Fix off-by-one error for declarative marking
  • Typofix under doc directory
  • Partly reverted c903cdd
  • Fix Symbol#inspect for GC compaction
  • Typofix under lib and test, tool directories
  • Removed empty sections
  • Don't copy RUBY_FL_PROMOTED flag in rb_obj_setup
  • Do not leave test file
  • Typofix under bootstraptest, spec and yjit directories
  • Move non-portable pragmas to rubyspec.h
  • [Feature #19370] Prohibit nesting anonymous parameter forwarding
  • [DOC] Add NEWS for [Feature #19370]
  • v3.3.0
  • Update net-* gems for Ruby 3.3 (Update net-* gems for Ruby 3.3 #9418)
  • merge revision(s) e5a4f75: [Backport #20086]
  • merge revision(s) d8702dd: [Backport #20083]
  • merge revision(s) bc00297: [Backport #20094]
  • Revert "merge revision(s) bc00297: [Backport #20094]"
  • merge revision(s) 3d19409: [Backport #20090]
  • merge revision(s) e12d4c6: [Backport #20104]
  • merge revision(s) 6c25291: [Backport #20145]
  • merge revision(s) 6aacbd6: [Backport #20149]
  • Backport #20157 to Ruby 3.3 (Backport #20157 to Ruby 3.3 #9428)
  • Backport bundled_gems.rb for Ruby 3.3 (Backport bundled_gems.rb for Ruby 3.3 #9457)
  • merge revision(s) 597955a,8b65d15: [Backport #20173] (merge revision(s) 597955a,8b65d15: [Backport #20173] #9794)
  • merge revision(s) 1bd98c8: [Backport #20172]

nurse and others added 14 commits December 25, 2023 14:59
* Bump up net-ftp to 0.3.4

* Bump up net-smtp to 0.4.0.1

* Bump up net-imap to 0.4.9.1

* [ruby/net-http] Renew test certificates

The private key is replaced with a public known test key published at
[RFC 9500].

Also lifetime has been extended to 10 years from 4 years.

[RFC 9500]: https://www.rfc-editor.org/rfc/rfc9500.html

ruby/net-http@4ab6c4a500

* Bump up net-http to 0.4.1

---------

Co-authored-by: Sorah Fukumori <[email protected]>
	Fix Window private file mapping unlink EACCES issue. (#9358)

	* Don't return early.

	* Add missing `mapping` assignment.

	* Make debug logs conditional.
	---
	 io_buffer.c                 | 18 ++++++++++++------
	 test/ruby/test_io_buffer.rb | 32 ++++++++++++++------------------
	 2 files changed, 26 insertions(+), 24 deletions(-)
	Fix [Bug #20083]: correct a cache point size for atomic groups
	 (#9367)

	---
	 regexec.c                | 2 +-
	 test/ruby/test_regexp.rb | 8 ++++++++
	 2 files changed, 9 insertions(+), 1 deletion(-)
	[Bug #20094] Distinguish `begin` and parentheses

	---
	 compile.c                    |  1 +
	 parse.y                      | 36 +++++++++++++++++++++---------------
	 test/ruby/test_whileuntil.rb | 18 ++++++++++++++++++
	 3 files changed, 40 insertions(+), 15 deletions(-)
	Use index for referring to symbols in `args` rule instead of named
	 references

	In `args: args ',' arg_splat`, `args` is not unique name.
	Currently the associated rule is interpreted as
	`$$ = rest_arg_append(p, $$, $3, &@$);`.
	The action works as expected because `$$` is initialized with
	`$1` before each action is executed.
	However it's misleading then change to use index.
	---
	 parse.y | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)
	Don't create T_MATCH object if /regexp/.match(string) doesn't match

	Fixes [Bug #20104]
	---
	 re.c                     |  9 ++++++---
	 test/ruby/test_regexp.rb | 12 ++++++++++++
	 tool/lib/envutil.rb      |  8 ++++++++
	 3 files changed, 26 insertions(+), 3 deletions(-)
	Memory leak when duplicating identhash

	[Bug #20145]

	Before this commit, both copy_compare_by_id and hash_copy will create a
	copy of the ST table, so the ST table created in copy_compare_by_id will
	be leaked.

	    h = { 1 => 2 }.compare_by_identity

	    10.times do
	      1_000_000.times do
	        h.select { false }
	      end

	      puts `ps -o rss= -p #{$$}`
	    end

	Before:

	    110736
	    204352
	    300272
	    395520
	    460704
	    476736
	    542000
	    604704
	    682624
	    770528

	After:

	    15504
	    16048
	    16144
	    16256
	    16320
	    16320
	    16752
	    16752
	    16752
	    16752
	---
	 hash.c                 | 10 +++++++++-
	 test/ruby/test_hash.rb | 10 ++++++++++
	 2 files changed, 19 insertions(+), 1 deletion(-)
	Free pthread_attr after setting up the thread

	[bug #20149]
	---
	 ext/socket/raddrinfo.c | 12 +++++++++++-
	 1 file changed, 11 insertions(+), 1 deletion(-)
* Fix GC.measure_total_time regression

Commit 93ac740 introduced a regression
where measurements would still be taken after setting
GC.measure_total_time = false.

Fixes [Bug #20157]

* Add test case for GC.measure_total_time

---------

Co-authored-by: Rian McGuire <[email protected]>
racc is extracted at Ruby 3.3, not 3.4
Fix to work match cache with peek next optimization (#9459)

	---
	 regexec.c                | 3 ++-
	 test/ruby/test_regexp.rb | 9 +++++++++
	 2 files changed, 11 insertions(+), 1 deletion(-)

	Fix test case for `test_match_cache_with_peek_optimization` (#9466)

	---
	 test/ruby/test_regexp.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
	Remove setaffinity of pthread for getaddrinfo

	It looks like `sched_getcpu(3)` returns a strange number on some
	(virtual?) environments.

	I decided to remove the setaffinity mechanism because the performance
	does not appear to degrade on a quick benchmark even if removed.

	[Bug #20172]
	---
	 ext/socket/extconf.rb  |  2 --
	 ext/socket/raddrinfo.c | 48 ++++--------------------------------------------
	 2 files changed, 4 insertions(+), 46 deletions(-)
@nurse nurse closed this Feb 1, 2024
@nurse nurse deleted the backport-20172 branch February 1, 2024 08:02
@nurse nurse restored the backport-20172 branch February 1, 2024 08:10
@nurse nurse deleted the backport-20172 branch February 1, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants