summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-26* 2022-05-26 [ci skip]git
2022-05-26[ruby/fileutils] [DOC] Enhanced RDoc for copy_entry ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/76) https://github.com/ruby/fileutils/commit/27a3c376c7
2022-05-26Fix GC race condition in autoload.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5941
2022-05-25[ruby/timeout] Set the flag surely before returnNobuyoshi Nakada
https://github.com/ruby/timeout/commit/f3a31abdfb
2022-05-25Remove unexpected rakelib [ci skip]Nobuyoshi Nakada
2022-05-25[ruby/timeout] Add epoch.rake [ci skip]Nobuyoshi Nakada
https://github.com/ruby/timeout/commit/5153ae9cad
2022-05-25[ruby/timeout] Update spec files not to include unused files [ci skip]Nobuyoshi Nakada
https://github.com/ruby/timeout/commit/01c44b591f
2022-05-25Fix out of bounds read.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5940
2022-05-25Ensure we retain the main fiber stack bounds.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5940
2022-05-25Hack to avoid leak checkerNobuyoshi Nakada
2022-05-25[ruby/timeout] Hack to avoid leak checkerNobuyoshi Nakada
https://github.com/ruby/timeout/commit/9a9b03b44c
2022-05-25Run find in PATH [ci skip]Nobuyoshi Nakada
2022-05-25Update default gems list at fde4519af8762fccc8488d1972d984 [ci skip]git
2022-05-25[ruby/timeout] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/timeout/commit/f69f954a94
2022-05-25Clean intermediate files for update-deps [ci skip]Nobuyoshi Nakada
2022-05-25Tidy up redundant returns.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5926
2022-05-25Retain reference to blocking fibers.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5926
2022-05-25Add support for address sanitizer for amd64 and arm64.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5926
2022-05-25[ruby/reline] Workaround libncurses.so as a linker scriptnicholas a. evans
This maybe isn't probably isn't the best approach, but it will allow `Fiddle::Terminfo.curses_dl` to work. I documented more details about this in an issue on fiddle: https://github.com/ruby/fiddle/issues/107 It is probably better to deal with it there. But this is workaround is simpler. FYI: `reline` itself seems to be working just fine for me _without_ loading ncurses. But I wanted to be able to use `Reline::Terminfo` for my own projects. :) https://github.com/ruby/reline/commit/fd4bdb35e2
2022-05-24Define unsupported GC compaction methods as rb_f_notimplementMike Dalessio
Fixes [Bug #18779] Define the following methods as `rb_f_notimplement` on unsupported platforms: - GC.compact - GC.auto_compact - GC.auto_compact= - GC.latest_compact_info - GC.verify_compaction_references This change allows users to call `GC.respond_to?(:compact)` to properly test for compaction support. Previously, it was necessary to invoke `GC.compact` or `GC.verify_compaction_references` and check if those methods raised `NotImplementedError` to determine if compaction was supported. This follows the precedent set for other platform-specific methods. For example, in `process.c` for methods such as `Process.fork`, `Process.setpgid`, and `Process.getpriority`. Notes: Merged: https://github.com/ruby/ruby/pull/5934
2022-05-24Move compaction-related methods into gc.cMike Dalessio
These methods are removed from gc.rb and added to gc.c: - GC.compact - GC.auto_compact - GC.auto_compact= - GC.latest_compact_info - GC.verify_compaction_references This is a prefactor to allow setting these methods to `rb_f_notimplement` in a followup commit. Notes: Merged: https://github.com/ruby/ruby/pull/5934
2022-05-25[rubygems/rubygems] Show exception cause in bug report templateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/84b163e804
2022-05-25* 2022-05-25 [ci skip]git
2022-05-25[ruby/fileutils] [DOC] Enhanced RDoc for ::cp_r ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/75) https://github.com/ruby/fileutils/commit/a4da433443
2022-05-24[rubygems/rubygems] Fix crash when printing resolution conflicts on metadata ↵David Rodríguez
requirements https://github.com/rubygems/rubygems/commit/b69e1e9374
2022-05-24altstack is native thread's attrKoichi Sasada
Move th->altstack to th->nt->altstack. Notes: Merged: https://github.com/ruby/ruby/pull/5936
2022-05-24[ruby/date] Constify gperf-generated tableNobuyoshi Nakada
https://github.com/ruby/date/commit/6d7ab08ffc
2022-05-24remove `DEBUG_OUT()` macroKoichi Sasada
This macro is no longer used ([GH-5933]). Notes: Merged: https://github.com/ruby/ruby/pull/5935
2022-05-24[WASM] System initialization has no stack rewinding code to AsyncifyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5929 Merged-By: nobu <nobu@ruby-lang.org>
2022-05-24remove `-DTHREAD_DEBUG` ruleKoichi Sasada
(but it was already commented out) Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-24use `RUBY_DEBUG_LOG` instead of `thread_debug`Koichi Sasada
`thread_debug()` was introduced to print debug messages on `THREAD_DEBUG > 0` but `RUBY_DEBUG_LOG()` is more controllable. Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-24add `rb_th_serial()`Koichi Sasada
`rb_th_serial(th)` returns th's serial for debug print purpose. Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-24remove `NON_SCALAR_THREAD_ID` supportKoichi Sasada
`NON_SCALAR_THREAD_ID` shows `pthread_t` is non-scalar (non-pointer) and only s390x is known platform. However, the supporting code is very complex and it is only used for deubg print information. So this patch removes the support of `NON_SCALAR_THREAD_ID` and make the code simple. Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-24`native_tls_get()`' should not check resultsKoichi Sasada
caller should check the result of `native_tls_get()`. Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-24[ruby/fileutils] [DOC] Enhanced RDoc for ::cp ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/74) https://github.com/ruby/fileutils/commit/956b345ceb
2022-05-23Remove unnecessary module flag, add module assertions to other module flagsJemma Issroff
Notes: Merged: https://github.com/ruby/ruby/pull/5930
2022-05-24cleanup by `RUBY_DEBUG_LOG2` and `VM_ASSERT`Koichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/5931
2022-05-24* 2022-05-24 [ci skip]git
2022-05-24[ruby/fileutils] Enhanced RDoc for ::ln_sf and ::link_entry ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/73) https://github.com/ruby/fileutils/commit/ff49055f8a
2022-05-23Make internal function `rb_main` staticNobuyoshi Nakada
2022-05-23[ruby/fileutils] [DOC] Enhanced RDoc for ::ln_s ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/72) https://github.com/ruby/fileutils/commit/db612c5e22
2022-05-23[rubygems/rubygems] Support the change of did_you_mean about ↵Yusuke Endoh
Exception#detailed_message I am asking did_you_mean to use Exception#detailed_message to add "Did you mean?" suggestion instead of overriding #message method. https://github.com/ruby/did_you_mean/pull/177 Unfortunately, the change will affect Gem::UnknownCommandError, which excepts did_you_mean to override #message method. This PR absorbs the change of did_you_mean. Gem::CommandManager now calls #detailed_message method to get a message string with "Did you mean?" suggestion from an exception. https://github.com/rubygems/rubygems/commit/8f104228d3
2022-05-23[ruby/net-http] [DOC] Get rid of a RDoc bugNobuyoshi Nakada
RDoc overrides class name by the assigned name unexpectedly when assigned using a qualified class path. https://github.com/ruby/net-http/commit/a7bded0407
2022-05-23Prevent a warning: `*' interpreted as argument prefixYusuke Endoh
2022-05-23* 2022-05-23 [ci skip]git
2022-05-23Support old Mac OS XNobuyoshi Nakada
`pthread_threadid_np` is available since Mac OS X 10.6, use `pthread_mach_thread_np` on older systems.
2022-05-22Disable usage of TLS unless availableNobuyoshi Nakada
Thread-local storage is supported since Mac OS X 10.7. Enable TLS only when the target version is enough.
2022-05-22Check if thread-local storage is supported on macOSNobuyoshi Nakada
We need thread-local storage on Clang, since 319afed20fba.
2022-05-22Revert broken thread_pthread.c in 539459abda3Nobuyoshi Nakada
2022-05-22Ruby31: add support for Darwin ppc/ppc64 (#5927)Sergey Fedorov
* add coroutines for ppc & ppc64 * fix universal coroutine to include ppc & ppc64 * add powerpc*-darwin to configure.ac * fix thread_pthread for older systems Notes: Merged-By: ioquatix <samuel@codeotaku.com>