summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-07[ruby/ipaddr] Avoid reraising exceptionsJeremy Evans
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
2021-10-07[ruby/ipaddr] Removing superfluos assingments & returnEspartaco Palma
Also adding test for ntop https://github.com/ruby/ipaddr/commit/0ba16cca10
2021-10-07Merge if statementS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4939
2021-10-07test/ruby/test_process (test_no_curdir): tentatively skipped on SolarisYusuke Endoh
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
2021-10-06Accommondate earlier reviews of RDoc for Enumerable (#4943)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-10-06Enhanced RDoc for Enumerable (#4941)Burdette Lamar
Treated: #sum #uniq #compact Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-10-07* 2021-10-07 [ci skip]git
2021-10-06Fix Ractor.make_shareable changing locals for ProcsAlan Wu
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
2021-10-06Add the dependency of GNUmakefile itself [ci skip]Nobuyoshi Nakada
2021-10-06Remove duplicate type qualifiersNobuyoshi Nakada
`rb_encoding` is defined as `const OnigEncodingType`. Fix lots of C4114 warnings for each files by MSVC.
2021-10-06Remove the useless platform guardNobuyoshi Nakada
2021-10-06Fix filesystem dependent testsNobuyoshi Nakada
Ruby cannot guarantee the resolutions of underlying filesystems.
2021-10-05Enhanced RDoc for Enumerable (#4938)Burdette Lamar
Treats: #slice_after #slice_when #chunk_while Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-10-05Update to ruby/spec@ccf0d85Benoit Daloze
2021-10-05marshal.c Marshal.load accepts a freeze: true option.Jean Boussier
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.
2021-10-05Enhanced RDoc for Enumerable#slice_before (#4932)Burdette Lamar
* Enhanced RDoc for Enumerable#slice_before * Enhanced RDoc for Enumerable#slice_before Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-10-06* 2021-10-06 [ci skip]git
2021-10-06* remove trailing spaces. [ci skip]git
2021-10-05Fix documentation for String#{<<,concat,prepend}Jeremy Evans
These methods mutate and return the receiver, they don't create and return a new string. Fixes [Bug #18241]
2021-10-05debug.gem v1.2.4Koichi Sasada
This version fixes test failures on MacOS enviornment. Notes: Merged: https://github.com/ruby/ruby/pull/4937
2021-10-05[ruby/reline] Reduce window size so that it can be displayed in my desktopaycabta
https://github.com/ruby/reline/commit/22359d50ab
2021-10-05[ruby/reline] The width of block elements is 1 on Windowsaycabta
https://github.com/ruby/reline/commit/5f4a75c7a0
2021-10-05[ruby/reline] Cyrillic chars are now forced to be displayed in full-width on ↵aycabta
Windows So testing is no longer necessary. https://github.com/ruby/reline/commit/c59589548b
2021-10-05[ruby/reline] Change struct size correctlyaycabta
https://github.com/ruby/reline/commit/df2a1b4e08
2021-10-05Fix a typo since 688f2e1a893e04457a1a5aa3577b13f74b2bc080Nobuyoshi Nakada
2021-10-05Adjust types to rb_enc_left_char_headNobuyoshi Nakada
I dislike unnatural casts.
2021-10-05Split parser_yyerror0 from parser_yyerrorNobuyoshi Nakada
The former uses the current location, while the latter takes a non-null location.
2021-10-05Show the last line at unexpected end-of-input errorNobuyoshi Nakada
2021-10-05Remove a redundant cast between the exact same typesNobuyoshi Nakada
2021-10-05Replace inaccurate error messagesNobuyoshi Nakada
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.
2021-10-05debug.gem 1.2.3Koichi Sasada
This version uses tempdir instead of homedir to store UNIX domain socket. Notes: Merged: https://github.com/ruby/ruby/pull/4936
2021-10-05rb_enc_left_char_head(): take void*卜部昌平
Nobu doesn't like (char*) cast. Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-10-05downcase_single/upcase_single: assume ASCII卜部昌平
These functions assume ASCII compatibility. That has to be ensured in their caller. Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-10-05ruby tool/update-deps --fix卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-10-05include/ruby/encoding.h: convert macros into inline functions卜部昌平
Less macros == huge win. Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-10-05split include/ruby/encoding.h卜部昌平
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
2021-10-05rb_ractor_shareable_p(): fix doxygen卜部昌平
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
2021-10-05add undeclared variables卜部昌平
Why did they even exist? Notes: Merged: https://github.com/ruby/ruby/pull/4909
2021-10-04Fix regression on Solaris after change to use realpath on loaded featuresJeremy Evans
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
2021-10-04Enable inline assembly of SET_MACHINE_STACK_END on AIXRei Odaira
2021-10-04Revert rescue around internal realpath call on SolarisJeremy Evans
Solaris CI still has a problem even with these commits, so it doesn't appear to fix the issue. Reverting both 84e8e2a39bba874433b661bd378165bd03c9d6aa and bfd2f159f0c60ef8ac5bce6042edd25a571769b7.
2021-10-05introduce debug.gemKoichi Sasada
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
2021-10-05remove lib/debug.rbKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/4804
2021-10-05Enabled to build extensions with the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4804
2021-10-04Only rescue realpath calls during require on SolarisJeremy Evans
Remove temporary skip of test_no_curdir to see if this fixes the problem. Notes: Merged: https://github.com/ruby/ruby/pull/4931
2021-10-04Use a rescue around the internal realpath call for each loaded featureJeremy Evans
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
2021-10-04Expose instruction information for debuggers [Feature #18026]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4633
2021-10-05* 2021-10-05 [ci skip]git
2021-10-04Enhanced RDoc for Enumerable#chunk (#4930)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-10-04Refactor ordering of testsNobuyoshi Nakada
* 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