Age | Commit message (Collapse) | Author |
|
Instead of raising a new exception with a modified message, just
use the correct message to begin with. This avoids the issue with
both exceptions being displayed at error exit.
https://github.com/ruby/ipaddr/commit/09edfd4a7f
|
|
Also adding test for ntop
https://github.com/ruby/ipaddr/commit/0ba16cca10
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4939
|
|
The test gets stuck on Solaris CI.
http://rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20211006T050007Z.fail.html.gz#test-all
```
[14558/21042] TestProcess#test_no_curdirtimeout: output interval exceeds 1800.0 seconds.
timeout: the process group 3857 is alive.
```
Related to ee89543e09a2d4e4c503267c248ba7bfffa668cb
|
|
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Treated:
#sum
#uniq
#compact
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
env_copy() uses rb_ary_delete_at() with a loop counting up while
iterating through the list of read only locals. rb_ary_delete_at() can
shift elements in the array to an index lesser than the loop index,
causing locals to be missed and set to Qfalse in the returned
environment.
Iterate through the locals in reverse instead, this way the shifting
never happens for locals that are yet to be visited and we process all
the locals in the array.
[Bug #18023]
Notes:
Merged: https://github.com/ruby/ruby/pull/4940
Merged-By: XrXr
|
|
|
|
`rb_encoding` is defined as `const OnigEncodingType`.
Fix lots of C4114 warnings for each files by MSVC.
|
|
|
|
Ruby cannot guarantee the resolutions of underlying filesystems.
|
|
Treats:
#slice_after
#slice_when
#chunk_while
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
Fixes [Feature #18148]
When set, all the loaded objects are returned as frozen.
If a proc is provided, it is called with the objects already frozen.
|
|
* Enhanced RDoc for Enumerable#slice_before
* Enhanced RDoc for Enumerable#slice_before
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
|
|
|
|
These methods mutate and return the receiver, they don't create
and return a new string.
Fixes [Bug #18241]
|
|
This version fixes test failures on MacOS enviornment.
Notes:
Merged: https://github.com/ruby/ruby/pull/4937
|
|
https://github.com/ruby/reline/commit/22359d50ab
|
|
https://github.com/ruby/reline/commit/5f4a75c7a0
|
|
Windows
So testing is no longer necessary.
https://github.com/ruby/reline/commit/c59589548b
|
|
https://github.com/ruby/reline/commit/df2a1b4e08
|
|
|
|
I dislike unnatural casts.
|
|
The former uses the current location, while the latter takes a
non-null location.
|
|
|
|
|
|
When Bison reports "memory exhausted", it means the parser stack
depth reached the limit `YYMAXDEPTH` which is defaulted to 10_000,
but not memory allocation failed.
|
|
This version uses tempdir instead of homedir to store UNIX domain
socket.
Notes:
Merged: https://github.com/ruby/ruby/pull/4936
|
|
Nobu doesn't like (char*) cast.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
These functions assume ASCII compatibility. That has to be ensured in
their caller.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
Less macros == huge win.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
2,291 lines are too much! include/ruby/encoding.h became the biggest
header file once it had doxygen comments. Let us split it into smaller
parts, so that we can better organise their contents.
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
My bad. The document is clearly broken. Maybe I pressed my delete key
too much. [ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
Why did they even exist?
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
After the change to use realpath on loaded features, Solaris CI
started failing in test_no_curdir (which tests behavior for running
ruby without a working directory).
I was able to trace the problem to the following call chain:
rb_call_inits->Init_Thread->Init_thread_sync->rb_provide->
get_loaded_features_index->rb_check_realpath->rb_dir_getwd_ospath->
ruby_getcwd
This will throw an exception, but because Ruby hasn't been fully
initialized at the point the exception is thrown, it just exits
with a status of 1.
The bug here is that rb_check_realpath should not raise an
exception, it should return nil. This bug is hit on Solaris
because Solaris uses the realpath emulation instead of native
realpath, and the realpath emualation raised instead of
returning nil if the mode was RB_REALPATH_CHECK. Use rb_rescue
in the realpath emulation if the mode is RB_REALPATH_CHECK, and
swallow any exceptions raised and return nil.
Notes:
Merged: https://github.com/ruby/ruby/pull/4935
|
|
|
|
Solaris CI still has a problem even with these commits, so it doesn't
appear to fix the issue. Reverting both 84e8e2a39bba874433b661bd378165bd03c9d6aa
and bfd2f159f0c60ef8ac5bce6042edd25a571769b7.
|
|
For the `test-bundled-gems`, make `debug.so` with extconf.rb and
`make` command directly because `rake-compiler` assume ruby is
installed (but `test-bundled-gems` can run without installation).
Notes:
Merged: https://github.com/ruby/ruby/pull/4804
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4804
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4804
|
|
Remove temporary skip of test_no_curdir to see if this fixes the
problem.
Notes:
Merged: https://github.com/ruby/ruby/pull/4931
|
|
This appears to be only necessary on Solaris, but this commit
enables it unconditionally to test breakage. The following
commit will switch to only enabling it on Solaris.
Notes:
Merged: https://github.com/ruby/ruby/pull/4931
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4633
|
|
|
|
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
* Split the sorting types into classes.
* Apply the same sorting to method sorting under the parallel
test.
Notes:
Merged: https://github.com/ruby/ruby/pull/4862
|