summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-12-18Bump Bundler version to 2.6.1David Rodríguez
2024-12-18Bump vendored securerandom to 0.4.1David Rodríguez
2024-12-18Bump vendored timeout to 0.4.3David Rodríguez
2024-12-18Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork` (#12366)Misaki Shioi
Wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork` Referencing PR #10864, wrap `do_fast_fallback_getaddrinfo` with `rb_thread_prevent_fork` to avoid fork safety issues. `do_fast_fallback_getaddrinfo` internally uses getaddrinfo(3), leading to fork safety issues, as described in PR #10864. This change ensures that `do_fast_fallback_getaddrinfo` is guarded by `rb_thread_prevent_fork`, preventing fork during its execution and avoiding related issues. Notes: Merged-By: shioimm <shioi.mm@gmail.com>
2024-12-18[DOC] Added references of github releases for bundled gems (#12365)Hiroshi SHIBATA
* Added references of github releases for bundled gems * Removed bundled version of 3.3.0 and maintenance releases * Added history of racc, mutex_m, bigdecimal, drb, syslog and csv * Added test-unit, rss, net-ftp, prime and nkf. * Added power_assert 2.0.4 * Removed unnecessary version of Rake * Update NEWS.md Co-authored-by: Stan Lo <stan001212@gmail.com> --------- Co-authored-by: Stan Lo <stan001212@gmail.com> Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2024-12-17[ruby/rdoc] Enable cross reference in codeNobuyoshi Nakada
(https://github.com/ruby/rdoc/pull/1240) Some people like to mark up method names in MarkDown style block quotes, like this: ruby/ruby#12333. Currently, no links are created in the code in the RDoc, but such words most likely refer to methods. This PR makes a word a code cross-reference if the whole word can be resolved as a reference. https://github.com/ruby/rdoc/commit/7d7efb0709
2024-12-17[DOC] Add note to rb_id2name about GC compactionPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/12376
2024-12-17[ruby/rdoc] Update tests for ruby/rdoc#1247Stan Lo
(https://github.com/ruby/rdoc/pull/1248) https://github.com/ruby/rdoc/commit/94b9858000
2024-12-17[ruby/rdoc] `aligns` may include `:center`Soutaro Matsumoto
(https://github.com/ruby/rdoc/pull/1247) https://github.com/ruby/rdoc/commit/cbbf04d6f8
2024-12-17[DOC] Fix example in Numeric#to_intBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/12372
2024-12-17YJIT: Load registers on JIT entry to reuse blocks (#12355)Takashi Kokubun
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2024-12-17[rubygems/rubygems] Fix missing `Gem::Uri.redact` on some Ruby 3.1 versionsDavid Rodríguez
Our CI did not catch this because it was testing with Ruby 3.1 patch levels that include a RubyGems version that already has `Gem::Uri.redact`. We should make sure the system-rubygems workflow always tests against the oldest supportted Ruby/RubyGems combination. https://github.com/rubygems/rubygems/commit/3b695e3be1
2024-12-17Don't reference update frames with VM_FRAME_MAGIC_DUMMYPeter Zhu
Frames with VM_FRAME_MAGIC_DUMMY pushed by rb_vm_push_frame_fname have allocated iseq, so we should not reference update it. Notes: Merged: https://github.com/ruby/ruby/pull/12371
2024-12-17Fix autoload_table_compactPeter Zhu
The keys are IDs, so we cannot update references on them. Notes: Merged: https://github.com/ruby/ruby/pull/12371
2024-12-17Assert Ruby object in rb_gc_locationPeter Zhu
rb_gc_location doesn't check that the object is actually a Ruby object and only checks if the object looks like a T_MOVED. This may have unexpected outcomes if the object is not a Ruby object (e.g. a piece of malloc memory may be corrupted). Notes: Merged: https://github.com/ruby/ruby/pull/12371
2024-12-17[DOC] Change arg names from n to count (#12288)Burdette Lamar
Notes: Merged-By: peterzhu2118 <peter@peterzhu.ca>
2024-12-17[PRISM] Recurse use_deconstructed_cache in Alternation NodesMatt Valentine-House
This fixes the behavioural difference between Prism and parse.y when evaluating the following code ```ruby 1 in [1 | [1]] ``` Fixes [Bug #20956] Notes: Merged: https://github.com/ruby/ruby/pull/12370
2024-12-17Win32: Add coroutine for mswin on arm64Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12367
2024-12-17Win32: Fix the macro for arm64 on mswinNobuyoshi Nakada
Visual C defines `_M_`-prefixed macros for the target architectures. Notes: Merged: https://github.com/ruby/ruby/pull/12367
2024-12-17Win32: Fix `rbimpl_size_mul_overflow` on arm64Nobuyoshi Nakada
`_umul128` is specific to x86_64 platform, see higher words by `__umulh` on arm64. Notes: Merged: https://github.com/ruby/ruby/pull/12367
2024-12-17Win32: Allow arm64 platformNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12367
2024-12-17Update default gems list at a652d8b6807a9b81a4fe9bad519840 [ci skip]git
2024-12-17Launchable: Start recording test-spec in compilers.yaml (#12364)Naoto Ono
Notes: Merged-By: ono-max <onoto1998@gmail.com>
2024-12-17Update bundled gems list at c5c88def57b580b4e7ec259dc21469 [ci skip]git
2024-12-17Update bundled_gemsHiroshi SHIBATA
2024-12-17Update default gems list at fc38023d4e4f44ce1d4d7c1e792166 [ci skip]git
2024-12-17[ruby/win32ole] Bump up v1.9.1Hiroshi SHIBATA
https://github.com/ruby/win32ole/commit/3e9b3b02e9
2024-12-17[ruby/tmpdir] Bump up v0.3.1Hiroshi SHIBATA
https://github.com/ruby/tmpdir/commit/0245079c24
2024-12-17Move Refinement#refined_class changes to Compatibility issues sectionHiroshi SHIBATA
2024-12-17Added JSON entryHiroshi SHIBATA
2024-12-17Added YJIT entries from draft of release announcementHiroshi SHIBATA
2024-12-17Added changes of RubyGems-3.6.x and Bundler-2.6.x to NEWS.mdHiroshi SHIBATA
2024-12-17Fix constant documents (#12357)Soutaro Matsumoto
Delete duplicated `Document-const:` directives Those directives are attached to `rb_define_const` and `rb_file_const` where we don’t need them because the functions are supported by RDoc.
2024-12-17[Bug #20951] [DOC] UTC offset in `utc_to_local`Nobuyoshi Nakada
2024-12-17Fix coroutine implementaion on Windows-Arm64Lars Kanis
When setjmp/longjmp/exceptions are used on Windows it's necessary to store+restore additional information from the TEB. I didn't find any official documentation about the values to be saved, but found the corresponding boost/context implemenataion: https://github.com/boostorg/context/commit/abf8e04e23cf05a499594e674d1c90db39117662 This is similar to the special TIB handling on x86/x86_64 on Windows. Without this fix an exception in a fiber segfaults without any output: ruby -e "Fiber.new{ raise 'test' }.resume" Notes: Merged: https://github.com/ruby/ruby/pull/12363
2024-12-17Update default gems list at 047a87bd7a8d24afa36cc6533868dc [ci skip]git
2024-12-17Bump Rubygems version to 3.6.0David Rodríguez
2024-12-17Bump Bundler version to 2.6.0David Rodríguez
2024-12-17Fix indent rule by rubygems/bundler copsHiroshi SHIBATA
2024-12-17Bump vendored resolv to 0.6.0David Rodríguez
2024-12-16Export __asan_default_options for GCCAlan Wu
Unlike Clang 15, GCC 11 seems require default symbol visibility.
2024-12-16Detect ASAN when using older GCC versionsAlan Wu
Newer GCCs have __has_feature and older ones have __SANITIZE_ADDRESS__[1]. Relevant since ASAN with GCC 11 on the popular Ubuntu Jammy failed to build previously. [1]: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/cpp/Common-Predefined-Macros.html
2024-12-16Update bundled gems list as of 2024-12-16git
2024-12-16Add back summary table for pack/unpack directives (#12349)Benoit Daloze
* Add back summary table for pack/unpack directives * This concise summary is very helpful e.g. to find the right Integer directive, and is much better at getting an overview than very long text. * From https://github.com/ruby/ruby/pull/6567 * I merged the tables for Array#pack and String#unpack, there were almost the same except for String and Misc. directives. * Tune up the tabular data and moves it to the top. Co-authored-by: Burdette Lamar <BurdetteLamar@Yahoo.com> Co-authored-by: Stan Lo <stan001212@gmail.com> Notes: Merged-By: eregon <eregontp@gmail.com>
2024-12-17Bundle repl_type_completor 0.1.9tompng
Notes: Merged: https://github.com/ruby/ruby/pull/12361
2024-12-16Sync net-http commitsStan Lo
https://github.com/ruby/net-http/commit/9bcf818fd009eafb11107c7457aa56d533d16d94 https://github.com/ruby/net-http/commit/5e34e74261f40f4f10c93d7700761c437117f494 Notes: Merged: https://github.com/ruby/ruby/pull/12362
2024-12-16Exclude irb from documentation generationStan Lo
- IRB has its own documentation in the project readme and https://ruby.github.io/irb/ already. - As a tool, its internal implementation details are not relevant to the user. - Excluding it from the documentation generation reduces the size of the generated documentation and makes search results more relevant. I also checked the there are no references to IRB so it should not break any links. Notes: Merged: https://github.com/ruby/ruby/pull/12325
2024-12-16[rubygems/rubygems] Fix `bundle lock --add-checksums` when gems are already ↵David Rodríguez
installed https://github.com/rubygems/rubygems/commit/a087c452ad
2024-12-16[ruby/rdoc] Print warnings for rdoc-ref links that can't be resolvedStan Lo
(https://github.com/ruby/rdoc/pull/1241) https://github.com/ruby/rdoc/commit/4a5206ae56
2024-12-16Don't directly use rb_gc_impl_location in gc.cPeter Zhu
Use the wrapper gc_location_internal instead that checks for special constants. Notes: Merged: https://github.com/ruby/ruby/pull/12359