| Age | Commit message (Collapse) | Author |
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6415
|
|
This page provides an overview of IO streams. It's meant to be linked to from many other doc spots. In particular it will be linked to from many places in ARGF, File, IO, and StringIO.
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
https://github.com/ruby/irb/commit/da54e7f081
|
|
https://github.com/ruby/irb/commit/52446eb77f
|
|
https://github.com/ruby/irb/commit/d14e56a65d
|
|
Make the job names more understandable and avoid testing too many
duplicated things.
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
https://github.com/ruby/irb/commit/eb1691f636
|
|
In addition to String values, $LOAD_PATH can also take objects that
respond_to the `to_path` method, like Pathname objects. So `irb` should
be able to handle those objects too.
And if $LOAD_PATH contains objects that can't be converted into String,
`irb` should simply ignore it.
https://github.com/ruby/irb/commit/b2f562176b
|
|
Visual Studio 2019 GitHub Actions has been super unstable. Somehow nmake
test-spec triggers rebuilding the interpreter and fails.
usa suggested a possibility of test-all leaving something impacting
test-spec. I'd like to try this patch and see what happens.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4377
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5764
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4635
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4206
|
|
mspec tries to load ~/.mspecrc, but some platforms (e.g. WASI) doesn't
have HOME concept, so `~` cannot be expanded and `File.expand_path` can
fail.
Notes:
Merged: https://github.com/ruby/ruby/pull/5566
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5871
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5917
|
|
Replacing `...` with `*pids` seems to clarify the expected variadic arguments.
Note that the expected arguments are two or more with a signal and pids.
That is, the method must have at least one pid, which cannot be omitted:
```console
% ruby -e 'Process.kill(0)'
-e:1:in `kill': wrong number of arguments (given 1, expected 2+) (ArgumentError)
from -e:1:in `<main>'
```
Notes:
Merged: https://github.com/ruby/ruby/pull/5928
|
|
Fix missing dot and replace error with ArgumentError.
Notes:
Merged: https://github.com/ruby/ruby/pull/6302
|
|
defined.
Notes:
Merged: https://github.com/ruby/ruby/pull/6411
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6411
|
|
The matrix doesn't have `os`.
|
|
Just to reroute compiler warnings.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
getenv is a very basic function that has been in stdlib.h since
ISO/IEC 9899:1990. There is absolutely zero need for us to redeclare.
pty.c already includes stdlib.h out of the box so we need nothing.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
The reason why this was commented out was because of gperf 3.0 vs 3.1
differences (see [Feature #13883]). Five years passed, I am pretty
confident that we can drop support of old versions here.
Ditto for uniname2ctype_p(), onig_jis_property(), and zonetab().
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Don't pass boolean.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Other functions are already type-punned elsewhere. rb_f_notimplement is
the only exceptional function that appear literally. We have to take
care of it by hand.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
ANYARGS-ed function prototypes are basically prohibited in C23.
Use __attribute__((__transparent_union__)) instead.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Why use FALSE here?
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
rb_f_notimplement was type-compatible with VALUE(*)(ANYARGS), but not
any longer in C23. Provide a dedicated path for it.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Use macro instead of a static functon. This isn't very amusing but
doing this wihtout a macro (is possibe but) seems just too much.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Why they have not been at the first place? Siblings have proper casts.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
Clang says "warning: variable 'pcnt' set but not used" here. In fact it
doesn't. The intention is clear that we want to increment cnt, not pcnt.
Adding a * mark solves everything.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
This line issues a warning on clang. strerror is of course a part of
ISO C since its dawn. We practically have never needed it.
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
See https://discourse.llvm.org/t/llvm-15-0-0-release/65099
Notes:
Merged: https://github.com/ruby/ruby/pull/6358
|
|
* Guard --yjit-stats behind #[cfg(feature = "stats")]
* Only ask for --yjit-stats with dev builds on cirrus CI
* Revert "Only ask for --yjit-stats with dev builds on cirrus CI"
This reverts commit cfb5ddfa4b9394ca240447eee02637788435b02a.
* Make it so the --yjit-stats option works for non-release builds
* Revert accidental changes
Notes:
Merged-By: maximecb <maximecb@ruby-lang.org>
|
|
This add support for bmake, which should allow building with
`configure --enable-yjit` for the BSDs. Tested on FreeBSD 13 and
on macOS with `configure MAKE=bmake` on a case-sensitive file system.
It works by including a fragment into the Makefile through the configure
script, similar to common.mk. It uses the always rebuild approach to
keep build system changes minimal.
Notes:
Merged: https://github.com/ruby/ruby/pull/6408
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6405
|
|
IPv6 link local address is fe80::/10 not ff80::/10:
https://www.rfc-editor.org/rfc/rfc4291.html
Link-Local unicast 1111111010 FE80::/10 2.5.6
IPv6 (deprecated) site local address is fec0::/10 not ffc0::/10:
https://www.rfc-editor.org/rfc/rfc3513.html
Site-local unicast 1111111011 FEC0::/10 2.5.6
Notes:
Merged-By: kou <kou@clear-code.com>
|
|
|
|
|
|
so that it's clear why not args.last but args[1]
|
|
`foo(Primitive.cexpr!('Qnil'),)` causes SEGV without this change.
|
|
* YJIT: Show --yjit-stats of railsbench on CI
* YJIT: Use --enable-yjit=dev to see ratio_in_yjit
* YJIT: Show master GitHub URL for quick comparison
* YJIT: Avoid making CI red by a yjit-bench failure
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
This commit just converts some of the parse method to Ruby
https://github.com/ruby/psych/commit/bca7d2c549
|
|
Commit 2885514 added these to support Ruby 2.1. The rb_sym2str function
is defined since Ruby 2.2.
https://github.com/ruby/bigdecimal/commit/be366c9cf2
|
|
Commit 02b6053 added these to support Ruby 2.0.0. The rb_array_const_ptr
function is defined since Ruby 2.3.
https://github.com/ruby/bigdecimal/commit/678699ca1b
|
|
* YJIT: Add asm comment for incr_counter
* YJIT: Check if the processor supports --yjit-stats
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
The forked child process is a grandchild process from the viewpoint of
the process which invoked the caller process. That means the child is
detached at that point, and it does not need to fork twice.
Notes:
Merged: https://github.com/ruby/ruby/pull/6402
|
|
Check for that the daemon process is detached, that means it is not a
child and not waitable.
Notes:
Merged: https://github.com/ruby/ruby/pull/6402
|