summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-15* 2021-11-15 [ci skip]git
2021-11-15`rb_vm_lvar_exposed()` is PUREFUNCKoichi Sasada
This function is used in `rb_vm_lvar()` and this function can be unsed (generated into *.rbinc files automatically). `rb_vm_lvar()` is already declared as a PUREFUNC, but `rb_vm_lvar_exposed()` is not a PUREFUNC, so `rb_vm_lvar_exposed()` is remained even if it is unused. Notes: Merged: https://github.com/ruby/ruby/pull/5113
2021-11-13Enhanced RDoc for Integer (#5099)Burdette Lamar
Treats: #allbits? #anybits? #nobits? #succ #pred #chr` #to_s #+ #- Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-11-14show encoding for each pathKoichi Sasada
2021-11-14* 2021-11-14 [ci skip]git
2021-11-14test/io/console/test_io_console.rb: dump debug output to stderrYusuke Endoh
make test-all in parallel mode seems to hide stdout
2021-11-12parse.y: Fix memory leak at parse errorYusuke Endoh
Local variable tables might leak at the parse error. Notes: Merged: https://github.com/ruby/ruby/pull/5111
2021-11-12test/ruby/test_jit.rb: suppress a false-positive warningYusuke Endoh
It reports "opt_regexpmatch2 insn is not included", but actually it is included. This is due to a known bug of ISeq#to_a on which this check depends. https://bugs.ruby-lang.org/issues/18269
2021-11-12test/io/console/test_io_console.rb: add debug codeYusuke Endoh
to debug the following failure http://ci.rvm.jp/results/trunk-test@ruby-sky1/3708240 ``` /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `===': incompatible encoding regexp match (US-ASCII regexp with UTF-16BE string) (Encoding::CompatibilityError) /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `each' /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `grep' /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:10:in `<class:TestIO_Console>' /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb:9:in `<top (required)>' <internal:/tmp/ruby/v3/src/trunk-test/lib/rubygems/core_ext/kernel_require.rb>:85:in `require' <internal:/tmp/ruby/v3/src/trunk-test/lib/rubygems/core_ext/kernel_require.rb>:85:in `require' /tmp/ruby/v3/src/trunk-test/tool/lib/test/unit/parallel.rb:122:in `run' /tmp/ruby/v3/src/trunk-test/tool/lib/test/unit/parallel.rb:211:in `<main>' running file: /tmp/ruby/v3/src/trunk-test/test/io/console/test_io_console.rb ```
2021-11-12Update bundled_gems at 2021-11-12git
2021-11-12Rework implementation of `IO::Buffer.for(string)` to use string locking.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5109
2021-11-12More immutability and locking tests.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5109
2021-11-12Update vcvars on windows-2022 [ci skip]Kazuhiro NISHIYAMA
https://github.com/ruby/actions/commit/875a056af0fb2f26fed20c32263ea840c293e2da https://github.com/actions/virtual-environments/commit/d6a789cbef30e0681d6667b1c91cb7a9bd9184bd#diff-a1f67f5c4a583bf90c239743379ad9473fbf1fa9d11c5cb7739c8012404dcc7aR229
2021-11-12[rubygems/rubygems] Remove duplicated specDavid Rodríguez
https://github.com/rubygems/rubygems/commit/86b874ed24
2021-11-12[rubygems/rubygems] Remove `gemfile_should_be` helper as wellDavid Rodríguez
https://github.com/rubygems/rubygems/commit/79f3c00caa
2021-11-12[rubygems/rubygems] Remove `have_lockfile` matcher tooDavid Rodríguez
https://github.com/rubygems/rubygems/commit/635f3f2605
2021-11-12[rubygems/rubygems] Remove `lockfile_should_be` helperDavid Rodríguez
It doesn't add anything. https://github.com/rubygems/rubygems/commit/ece3c864df
2021-11-11[Bug #18329] Fix crash when calling non-existent super methodPeter Zhu
The cme is NULL when a method does not exist, so check it before accessing the callcache. Notes: Merged: https://github.com/ruby/ruby/pull/5108
2021-11-11Remove RCLASS(obj)->ptr when RVARGC is enabledMatt Valentine-House
With RVARGC we always store the rb_classext_t in the same slot as the RClass struct that refers to it. So we don't need to store the pointer or access through the pointer anymore and can switch the RCLASS_EXT macro to use an offset Notes: Merged: https://github.com/ruby/ruby/pull/5101
2021-11-12* 2021-11-12 [ci skip]git
2021-11-12Bundle RBS 1.7.0 (#5105)Soutaro Matsumoto
* Bundle RBS 1.7.0 * tool/test-bundled-gems.rb: Use a correct path to Check if rbs is built * tool/test-bundled-gems.rb: lib/rbs/parse.y is no longer created Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2021-11-11fix a memory leak introduced in 8bbd319Matt Valentine-House
This commit fixes a memory leak introduced in an early part of the variable width allocation project that would prevent the rb_classext_t struct from being free'd when the class is swept. Notes: Merged: https://github.com/ruby/ruby/pull/5103
2021-11-11quick fix for `test_initialize_HEAD`Koichi Sasada
https://github.com/ruby/ruby/commit/52ab9bbee918c63faad32e3851b162691b984d40 makes a failure. ``` 1) Failure: HTTPRequestTest#test_initialize_HEAD [/tmp/ruby/v3/src/trunk/test/net/http/test_http_request.rb:53]: <{"accept"=>["*/*"], "user-agent"=>["Ruby"]}> expected but was <{"accept-encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], "accept"=>["*/*"], "user-agent"=>["Ruby"]}>. ``` I'm not sure it is correct, so please review later.
2021-11-11test/openssl/test_ssl: adjust certificate expiry dateKazuki Yamaguchi
test_connect_certificate_verify_failed_exception_message occasionally fails. Is it possible that OpenSSL sees a different clock from Ruby by more than 10 seconds? http://ci.rvm.jp/logfiles/brlog.trunk-random0.20211111-072828 Let's give more time after the certificate expiration date to see if this fixes the flakiness. We had similar occasional failures in test_x509store.rb before, which disappeared after ruby/ruby commit 7930a352a57c and ruby/openssl commit fb2fcbb13734.
2021-11-11[ruby/net-http] Send Accept-Encoding header on HEAD methodShohei Maeda
https://github.com/ruby/net-http/commit/9d95c5e3e6
2021-11-11revival of must_not_null()卜部昌平
Presence of RBIMPL_ATTR_NONNULL let C compilers to eliminate must_not_null(). Because null pointers are not allowed to exist there are no reason to call the function. In reality null pointers are still passed to those functions in a number of ways. Runtime check for them are definitely nice to have. fix [Feature#18280] Notes: Merged: https://github.com/ruby/ruby/pull/5068
2021-11-11[ruby/getoptlong] fixup 5f57f47572502173e2e8880f83ef7b3e2659f974Hiroshi SHIBATA
https://github.com/ruby/getoptlong/commit/5683297853
2021-11-11[ruby/getoptlong] Save the copy of `ARGV`Nobuyoshi Nakada
It refers the same object and will be replaced. https://github.com/ruby/getoptlong/commit/5f57f47572
2021-11-11rb_file_size: add doxygen卜部昌平
Must not be a bad idea to improve documents. [ci skip]
2021-11-11rb_enc_code_to_mbclen: fix doxygen卜部昌平
Wrong parameter name. [ci skip]
2021-11-11RB_ENCODING_SET_INLINED: fix doxygen卜部昌平
Wrong parameter name. [ci skip]
2021-11-11ENCODING_MASK: fix doxygen link [ci skip]卜部昌平
2021-11-11io/buffer.h: C linkage卜部昌平
Because `make install` installs this header to target systems, it must be ready to be `#include`d form a C++ program.
2021-11-11[ruby/getoptlong] Write a first test of getoptlong.rbBurdette Lamar
https://github.com/ruby/getoptlong/commit/18cdb03fd4
2021-11-11[ruby/tmpdir] [DOC] Fix syntax in example code [ci skip]Nobuyoshi Nakada
RDoc expects example code to be valid syntax. https://github.com/ruby/tmpdir/commit/ee42540ebb
2021-11-11Don't allow `fd == -1` to propagate to system calls.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/5100
2021-11-10[ci skip] Fix typo in test namePeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5102
2021-11-11* 2021-11-11 [ci skip]git
2021-11-10Use Primitive. in timev.rb for consistency with all other .rb filesBenoit Daloze
2021-11-10Tentative fix of subsec to `Time.at` [Bug #18293]Nobuyoshi Nakada
2021-11-10Install pkg-config on 32-bit Ubuntu [ci skip]Nobuyoshi Nakada
2021-11-10Commit miss [ci skip]Nobuyoshi Nakada
2021-11-10Simplify default values of `Time.at` [Bug #18293]Nobuyoshi Nakada
2021-11-10Disable experimental warnings in test/runner.rbNobuyoshi Nakada
2021-11-10Fix format specifierNobuyoshi Nakada
2021-11-10size_t is not for file sizeNobuyoshi Nakada
2021-11-10Mark IO::Buffer as experimental.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4621
2021-11-10IO::Buffer for scheduler interface.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4621
2021-11-10Fix a typo and add `IO.` [ci skip]Kazuhiro NISHIYAMA
2021-11-10* 2021-11-10 [ci skip]git