| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
|
| |
|
|
|
|
|
|
|
|
| |
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].
|
|
|
|
|
| |
As final path name includes the namespace prefix, so expand room
for it in path name buffer.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
I confirmed that libvterm supports only which are UTF-8, US ASCII, UK, and
DEC graphics by reading source code, so can't test this patch by
yamatanoorogi gem through vterm gem for now.
This fixes ruby/irb#190.
https://github.com/ruby/reline/commit/44596c0cc7
|
|
|
|
|
|
| |
processing
https://github.com/ruby/reline/commit/3535676689
|
|
|
|
|
|
|
|
| |
Revert "Support for change in Windows-specific behavior at eol"
This reverts commit cad4de6ee841b43f3f0e441626f9415c3eda0f82.
https://github.com/ruby/reline/commit/646587fc2c
|
|
|
|
|
|
| |
ref. https://github.com/ruby/reline/pull/262
https://github.com/ruby/reline/commit/b98bc3c329
|
|
|
|
| |
https://github.com/ruby/reline/commit/03031b885d
|
|
|
|
| |
https://github.com/ruby/reline/commit/d4d9d3e3d4
|
|
|
|
|
|
| |
This fixes ruby/reline#261.
https://github.com/ruby/reline/commit/3cf1213014
|
| |
|
| |
|
|
|
|
|
| |
Output preprocessed files under the corresponding directory to the
source files.
|
|
|
|
|
|
|
|
|
|
|
| |
The documentation already specifies that they strip whitespace
and defines whitespace to include null.
This wraps the new behavior in the appropriate guards in the specs,
but does not specify behavior for previous versions, because this
is a bug that could be backported.
Fixes [Bug #17467]
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Move section on internal details out of the class-level documentation,
since users do not need to know that. Update it to use
Integer(T_BIGNUM) instead of Bignum.
Fixes [Misc #17580]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, frames with iseq but no pc were skipped (even before
the refactoring in 3b24b7914c16930bfadc89d6aff6326a51c54295).
Because the entire backtrace was procesed before the refactoring,
this was handled by using later frames instead. However, after
the refactoring, we need to handle those frames or they get
lost.
Keep two iteration counters when iterating, one for the desired
backtrace size (so we generate the desired number of frames), and
one for the actual backtrace size (so we don't process off the end
of the stack). When skipping over an iseq frame with no pc,
decrement the counter for the desired backtrace, so it will
continue to process the expected number of backtrace frames.
Fixes [Bug #17581]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
negative cache on a class which does not have subclasses was not
invalidated, but it should be invalidated because other classes
can cache this negative cache.
[Bug #17553]
|
|
|
|
|
| |
rb_obj_info(obj) (rp(obj)) doesn't show enough information for
non-iseq methods, so this patch shows more.
|
| |
|
| |
|
|
|
|
|
| |
Ractor.allocate and Ractor#dup should not be allowed like Thread.
[Bug #17642]
|
|
|
|
|
|
| |
Fixes https://bugs.ruby-lang.org/issues/17629
https://github.com/ruby/readline-ext/commit/250d6787ed
|
|
|
|
| |
https://github.com/ruby/readline-ext/commit/f6dff0a9f6
|
|
|
|
|
|
| |
check_rvalue_consistency_force() uses is_pointer_to_heap() and
it should be synchronized with other ractors.
[Bug #17636]
|
|
|
|
|
|
| |
NEWOBJ event is called without clearing RVALUE values (v1, v2, v3).
This patch clear them before NEWOBJ tracepoint internal hook.
[Bug #17599]
|
| |
|
| |
|
|
|
|
|
|
| |
marking requires a barrier (stop all Ractors) and gc_enter() does it.
However, it doesn't check rest event which can start marking.
[Bug #17599]
|
| |
|
|
|
|
| |
This if statement is not reachable because `was_compacting` cannot be true when `heap->compact_cursor` is NULL.
|
| |
|