Age | Commit message (Collapse) | Author |
|
Follow up of https://github.com/ruby/ruby/pull/5927
`pthread_threadid_np()` is not even be declared in outdated SDKs.
Also, the `__API_AVAILABLE` macro does not work on gcc, which does not
support the [availability] attribute of clang, so an additional weak
symbol declaration is required to check for weakly linked symbols.
[availability]: https://clang.llvm.org/docs/AttributeReference.html#availability
|
|
|
|
This reverts commit 2f5edfa47d06c9605a5a0aa3ad72d7fef4d44fa3.
|
|
Notes:
Merged-By: k0kubun <[email protected]>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5932
|
|
Notes:
Merged-By: jhawthorn <[email protected]>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5948
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5950
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5937
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5947
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5945
|
|
|
|
(https://github.com/ruby/fileutils/pull/76)
https://github.com/ruby/fileutils/commit/27a3c376c7
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5941
|
|
https://github.com/ruby/timeout/commit/f3a31abdfb
|
|
|
|
https://github.com/ruby/timeout/commit/5153ae9cad
|
|
https://github.com/ruby/timeout/commit/01c44b591f
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5940
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5940
|
|
|
|
https://github.com/ruby/timeout/commit/9a9b03b44c
|
|
|
|
|
|
https://github.com/ruby/timeout/commit/f69f954a94
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5926
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5926
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5926
|
|
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
|
|
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
|
|
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
|
|
https://github.com/rubygems/rubygems/commit/84b163e804
|
|
|
|
(https://github.com/ruby/fileutils/pull/75)
https://github.com/ruby/fileutils/commit/a4da433443
|
|
requirements
https://github.com/rubygems/rubygems/commit/b69e1e9374
|
|
Move th->altstack to th->nt->altstack.
Notes:
Merged: https://github.com/ruby/ruby/pull/5936
|
|
https://github.com/ruby/date/commit/6d7ab08ffc
|
|
This macro is no longer used ([GH-5933]).
Notes:
Merged: https://github.com/ruby/ruby/pull/5935
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5929
Merged-By: nobu <[email protected]>
|
|
(but it was already commented out)
Notes:
Merged: https://github.com/ruby/ruby/pull/5933
|
|
`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
|
|
`rb_th_serial(th)` returns th's serial for debug print purpose.
Notes:
Merged: https://github.com/ruby/ruby/pull/5933
|
|
`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
|
|
caller should check the result of `native_tls_get()`.
Notes:
Merged: https://github.com/ruby/ruby/pull/5933
|
|
(https://github.com/ruby/fileutils/pull/74)
https://github.com/ruby/fileutils/commit/956b345ceb
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5930
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5931
|