| Age | Commit message (Collapse) | Author |
|
Security/Authorization.h defines AuthorizationExternalForm by
using clang extension which allows variably modified types in a
file scope. As we just need high-level accessors only, include
Security/SecRandom.h instead.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4235
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4235
|
|
Instead of rather euphemistic struct cast, just reomve the const
qualifier and assign directly. According to ISO/IEC 9899:2018 section
6.5 paragraph 7, `VALUE` and `const VALUE` are allowed to alias (but two
distinct structs are not, even when their structures are the same).
[Bug #17540]
Notes:
Merged: https://github.com/ruby/ruby/pull/4232
|
|
|
|
|
|
* https://github.com/ruby/ruby/runs/1994688198
ruby 3.1.0dev (2021-02-27T16:42:17Z master 8305a48413) [x64-mingw32]
C-API Thread function rb_thread_call_without_gvl runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO
Example took longer than the configured timeout of 60.0s
|
|
|
|
|
|
|
|
While here, fixing tab/space issues in help message, and sync
rdoc for IRB class to match the help message.
https://github.com/ruby/irb/commit/ef8e3901cc
|
|
|
|
|
|
This lets us cast a Fiddle::Function to a block, allowing is to write
things like:
```ruby
f = Fiddle::Function.new(@libc['strcpy'], [TYPE_VOIDP, TYPE_VOIDP], TYPE_VOIDP)
define_method :strcpy, &f
```
|
|
This reverts commit a9920e7782f225b97e173a88640fe9e116b9964f.
|
|
https://github.com/ruby/reline/commit/462f971bd3
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4227
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4227
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4227
|
|
https://github.com/ruby/irb/commit/ab9852ccc5
|
|
It existed since f3d022543ef2afde3d53e7f6b3028eafe39d0ef4 until
96760236079b15674a6322a2ca41b1528b51afbd. No official releases included
the actual function. The declaration shall be deleted.
|
|
It seems this breaks tests on Solaris, so I'm reverting it until we
figure out the right fix.
http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20210224T210007Z.fail.html.gz
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4221
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4221
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4221
|
|
|
|
|
|
|
|
19cc24b34b0490b7c2779eec521fe0089e05f183 and fixups.
|
|
As ruby_set_debug_option() is called before ruby_sysinit(),
CRITICAL_SECTIONs are not initialized yet.
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4214
|
|
https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
|
|
Now that GitHub Actions always skips any job if [ci skip] is given
regardless of our CI config, we cannot merge such PRs like https://github.com/ruby/ruby/pull/4211
unless you're an admin.
https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
To avoid letting us spend time to ask contributors to remove [ci skip]
before merging PRs, I removed the "check_branch" requirement from
protected branches.
Because the main purpose of this job was to prevent (non-admin)
committers from directly pushing commits to the GitHub mirror, this job
is now useless.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4212
|
|
It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
Notes:
Merged: https://github.com/ruby/ruby/pull/4211
|
|
|
|
It's important to only make the origin when the prepend goes
through, as the precense of the origin informs whether to do an
origin backfill.
This plus 2d877327e fix [Bug #17590].
Notes:
Merged: https://github.com/ruby/ruby/pull/4181
|
|
As final path name includes the namespace prefix, so expand room
for it in path name buffer.
Notes:
Merged: https://github.com/ruby/ruby/pull/4210
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4209
|
|
use double quotes to properly convert the \000 escape sequence.
https://github.com/ruby/reline/commit/236dfe5683
|
|
rb_cData is deprecated and the characteristic alloc_func was already
removed in ruby-3.0. So this updates the recommendation accordingly.
It also adds fdbm_alloc() in order to show the allocation process
and to gives TypedData_Make_Struct() more context.
Moreover it describes fdbm_aref(), so that the relation to
rb_define_method() is shown.
And fdbm_aref() makes use of GetDBM() now, to show how this macro
might be used.
Notes:
Merged: https://github.com/ruby/ruby/pull/4208
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
With this patch, TracePoint receives a `:fiber_switch` event for
_almost_ every fiber switch. Previously, it would not be sent when an
exception was going to be raised. Now the event should only be blockable
by an interrupt (including `Thread#raise`) or a fatal error.
Additionally, interrupts will now be checked on the return fiber
_before_ re-raising the terminating unhandled exception. And a fiber
that terminates with an unhandled exception no longer creates a pending
interrupt on its thread. The exception will be raised in the return
fiber the same way as `Fiber#raise`: using `cont.value` with `cont.argc
== -1`
I moved `rb_exc_raise` from `fiber_store` to the end of `fiber_switch`
after _all_ of the other cleanup code: `fiber_stack_release`,
`th->blocking` increment, `RUBY_VM_CHECK_INTS`, and `EXEC_EVENT_HOOK`.
It seems to me that skipping those other cleanup steps may have also
resulted in other bugs.
Notes:
Merged-By: ioquatix <samuel@codeotaku.com>
|