summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-10Add Method Documentation Guide (#3399)Jeremy Evans
This documents how methods for core classes and classes in the standard library should be documented. Co-authored-by: Eric Hodel <drbrain@segment7.net> Notes: Merged-By: jeremyevans <code@jeremyevans.net>
2020-08-11* 2020-08-11 [ci skip]git
2020-08-10Enhanced RDoc for Array (#3400)Burdette Lamar
Methods: drop drop_while any? all? none? one? Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2020-08-10Removed non-ASCII code to suppress warnings by localized compilersNobuyoshi Nakada
2020-08-10Check if C-sources are US-ASCIINobuyoshi Nakada
Encoding of C-sources can not be determined, and non-ASCII code are often warned by localized compilers.
2020-08-10Suppress unused-variable warningNobuyoshi Nakada
`key` is not used outside this assertion.
2020-08-10Suppress unused-function warningsNobuyoshi Nakada
Calls with a constant argument should be optimized away.
2020-08-10* 2020-08-10 [ci skip]git
2020-08-10Adjust indentNobuyoshi Nakada
2020-08-08* 2020-08-08 [ci skip]git
2020-08-07Enhanced RDoc for Array#take and Array#take_while (#3398)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2020-08-07Enhanced RDoc for Array#product (#3395)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2020-08-07sync NDEBUG, RUBY_DEBUG, and RUBY_NDEBUG (#3327)卜部昌平
- When NDEBUG is defined that shall be honoured. - When RUBY_DEBUG is defined that shall be honoured. - When both are defined and they conflict, warnings shall be rendered. - When nothing is specified, nothing shall happen. Notes: Merged-By: shyouhei <shyouhei@ruby-lang.org>
2020-08-07Use zlib provided by vcpkg in mswin CI (#3397)Hiroshi SHIBATA
* Revert "mswin build - install src zlib files after checkout" This reverts commit b6175c9e4fe25b978252d8998fe791d65d998fc5. * Revert "mswin build - install src zlib files" This reverts commit bf758ef8b4e2895bf71a611a7ab2a4f236e260ea. Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2020-08-07* 2020-08-07 [ci skip]git
2020-08-07Add more debug info to test_verifyKazuhiro NISHIYAMA
http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/3111684
2020-08-06Add verbose message to random failed assertionKazuhiro NISHIYAMA
for example: http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/3111251 http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/3109195
2020-08-06[Feature #16513] TracePoint#inspect returns "... file:line" (#3391)Nguyễn Quang Minh
* Fix debug documents to match Thread#to_s change (Feature #16412 ticket) * TracePoint#inspect returns "... file:line" (Feature #16513) * Guard older version of Ruby in Tracepoint inspection tests * Focus on current thread only when running TracePoint inspection test Notes: Merged-By: ko1 <ko1@atdot.net>
2020-08-06Apply timeout-scale to test_thr_kill.Jun Aruga
Notes: Merged: https://github.com/ruby/ruby/pull/3380
2020-08-06* 2020-08-06 [ci skip]git
2020-08-05Enhanced documentation for Array#repeated_combination (#3392)Burdette Lamar
* Enhanced documentation for Array#repeated_combination * Enhanced documentation for Array#repeated_combination Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2020-08-05Enhanced documentation for Array#repeated_permutation (#3390)Burdette Lamar
* Enhanced documentation for Array#repeated_permutation * Enhanced documentation for Array#repeated_permutation Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2020-08-05Fixed the inconsistency gemspec location with net-* gems.Hiroshi SHIBATA
2020-08-05* 2020-08-05 [ci skip]git
2020-08-05[DOC] Use oracle url instead of sun urlS-H-GAMELINKS
[ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/3389
2020-08-03Remove unused struct memberAaron Patterson
I accidentally added this in 35ba2783fe6b3316a6bbc6f00bf975ad7185d6e0, and it's making the size of RVALUE be too big. I'm sorry! orz Notes: Merged: https://github.com/ruby/ruby/pull/3388
2020-08-04* 2020-08-04 [ci skip]git
2020-08-03Don't pin objects if we're just walking the heapAaron Patterson
Walking the heap can inadvertently pin objects. Only mark the object's pin bit if the mark_func_data pointer is NULL (similar to the mark bits) Notes: Merged: https://github.com/ruby/ruby/pull/3387
2020-08-03[ruby/weakref] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency. https://github.com/ruby/weakref/commit/10d547ba12
2020-08-03[ruby/ostruct] Drop to Ruby 2.4Hiroshi SHIBATA
https://github.com/ruby/ostruct/commit/00e8fe3df2
2020-08-03[ruby/net-http] Fix SSL session reuse test with LibreSSL 3.2+Jeremy Evans
https://github.com/ruby/net-http/commit/5ae9620fbc
2020-08-03[ruby/net-http] Switch invalid server name formatJeremy Evans
invalid_servername is not a valid name in an SSL request due to the use of the underscore, and LibreSSL 3.2.0 will raise an exception for this. These tests are not testing the allowed characters in the server name, but how net/http handles cases where the server name provided does not match the IP address you are trying to connect to, so I think it's better to just modify the tests to use a correct format. While here, fix a typo in a test name, and use better code in the ensure block so the same test doesn't issue both a failure and an error. https://github.com/ruby/net-http/commit/0e8dc91120
2020-08-03[ruby/cgi] Drop to Ruby 2.4Hiroshi SHIBATA
https://github.com/ruby/cgi/commit/8a86536e94
2020-08-03net-ftp is under `lib/net` instead of `lib/net/ftp`Hiroshi SHIBATA
2020-08-03Followed up b2d96abb42abbe2e01f010ffc9ac51f0f9a50002 for net-ftp.Hiroshi SHIBATA
2020-08-03* 2020-08-03 [ci skip]git
2020-08-02Improve docs for Module#remove_class_variable [ci skip]Alan Wu
2020-08-01Enable an assert on all configs for debuggingAlan Wu
I'm trying to get a better understanding for rare crashes that happen on ci: - http://ci.rvm.jp/results/trunk_clang_10@silicon-docker/3101898 - http://ci.rvm.jp/results/trunk-test@ruby-sky1/2777695 Looking at the stack trace it looks like a type confusion possibly induced by heap corruption. I'm hoping to verify this theory.
2020-08-02remove accidentally introduced debug codeKoichi Sasada
2020-08-02support multiple filters by RUBY_DEBUG_LOG_FILTERKoichi Sasada
Now you can specify multiple filters for RUBY_DEBUG_LOG output by RUBY_DEBUG_LOG_FILTER=a,b,c (in this case, logs that the function name contains a, b or c).
2020-08-02fix mark bit operation.Koichi Sasada
To optimize the sweep phase, there is bit operation to set mark bits for out-of-range bits in the last bit_t. However, if there is no out-of-ragnge bits, it set all last bit_t as mark bits and it braek the assumption (unmarked objects will be swept). GC_DEBUG=1 makes sizeof(RVALUE)=64 on my machine and this condition happens. It took me one Saturday to debug this.
2020-08-02* 2020-08-02 [ci skip]git
2020-08-02rb_{ary,fnd}_pattern_info: Remove imemo member to reduce memory usageKazuki Tsujimoto
This is a partial revert commit of 8f096226e1b76f95f4d853d3dea2bc75eeeb5244. NODE layout: Before: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | pconst | pconst | pconst u2 | unused | unused | pkwargs u3 | apinfo | fpinfo | pkwrestarg After: | ARYPTN | FNDPTN | HSHPTN ---+--------+--------+----------- u1 | imemo | imemo | pkwargs u2 | pconst | pconst | pconst u3 | apinfo | fpinfo | pkwrestarg
2020-08-01mswin build - install src zlib files after checkoutNobuyoshi Nakada
actions/checkout deletes the contents of the source directory.
2020-08-01mswin build - install src zlib filesMSP-Greg
Notes: Merged: https://github.com/ruby/ruby/pull/3376
2020-08-01`rb_encoding` is defined as `const`Nobuyoshi Nakada
Duplicate type qualifier is not needed.
2020-08-01Initialize memo pointer and use it consistently to silence gcc 7+Nobuyoshi Nakada
2020-08-01Remove obsolete rubygems fileNobuyoshi Nakada
Fixes a weird error in CodeQL autobuild.
2020-08-01* 2020-08-01 [ci skip]git
2020-07-31Enhanced RDoc for ArrayBurdette Lamar
Notes: Merged: https://github.com/ruby/ruby/pull/3381 Merged-By: jeremyevans <code@jeremyevans.net>