summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-30Fix previous commitv2_7_8ruby_2_7NAKAMURA Usaku
2023-03-30Limit header lengthNAKAMURA Usaku
2023-03-30* 2023-03-30 [ci skip]git
2023-03-30Make RFC2822 regexp linearNobuyoshi Nakada
https://hackerone.com/reports/1485501
2023-03-30Test for quadratic backtracking on invalid timeNobuyoshi Nakada
https://hackerone.com/reports/1485501
2023-03-30Fix quadratic backtracking on invalid timeNobuyoshi Nakada
https://hackerone.com/reports/1485501
2023-03-29Ubuntu 18.04 in GHA is retiredHiroshi SHIBATA
2023-03-29Historical timezones of Lisbon in tzdata are unstableNobuyoshi Nakada
2023-03-29Skip test_europe_lisbon on macOSTakashi Kokubun
until we figure out why it's failing.
2023-03-29Removed fetch-depthNobuyoshi Nakada
Only the last commit is used, unless creating the ChangeLog file.
2023-03-29.github: use actions/checkout@v2 again卜部昌平
2023-03-29Use `--depth` on pull requestKazuhiro NISHIYAMA
`--shallow-since=yesterday` for COMMIT_NUMBER_OF_DAY of `tool/actions-commit-info.sh`. COMMIT_NUMBER_OF_DAY is mainly for master branch. And `--shallow-since=yesterday` may fail on pull request. So this revert to `--depth` on pull request.
2023-03-29* 2023-03-29 [ci skip]git
2023-03-29Added assert_linear_performance for URI testsHiroshi SHIBATA
2023-03-29Merge URI-0.10.0.2 for bundlerHiroshi SHIBATA
2023-03-29Merge URI-0.10.0.2Hiroshi SHIBATA
2022-12-08merge revision(s) 58cc3c9f: [Backport #19187]NAKAMURA Usaku
[Bug #19187] Fix for tzdata-2022g --- test/ruby/test_time_tz.rb | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-)
2022-12-08Bump teenyNAKAMURA Usaku
2022-11-24Use %printer directive for Bison 3.8 (used release flow)v2_7_7NAKAMURA Usaku
This is backport of fa05697e4832fbd67a4f91b9bb362471902faab3
2022-11-24Fix GitHub Actions errorNAKAMURA Usaku
2022-11-24Merge openssl-2.1.4Kazuki Yamaguchi
The changes can be found at: https://github.com/ruby/openssl/compare/v2.1.3...v2.1.4
2022-11-24Bump versionNAKAMURA Usaku
2022-11-24* 2022-11-24 [ci skip]git
2022-11-24Removed unnecessary RLIMIT_ASNobuyoshi Nakada
Even without this limit, these assertions almost certainly cause a NoMemoryError by removing the fix in 72ad8595f20.
2022-11-24merge revision(s) 4f1e0bfacd93c28bff549e2f3603c3b4942429a3:nagachika
Followed up CVE-2022-39253 for bundler examples --- spec/bundler/cache/git_spec.rb | 3 +++ spec/bundler/install/gemfile/git_spec.rb | 9 +++++++++ spec/bundler/update/git_spec.rb | 3 +++ 3 files changed, 15 insertions(+)
2022-11-24Use ubuntu-20.04 instead of latest, because Ruby 2.7 didn't support openssl3 ↵Hiroshi SHIBATA
on Ubuntu 22.04
2022-11-24merge revision(s) 36f297e62108072b9377d927321928b994f66a93:nagachika
Use valid tokens as cookie names --- spec/ruby/library/cgi/cookie/name_spec.rb | 12 ++++++------ spec/ruby/library/cgi/cookie/parse_spec.rb | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-)
2022-11-24merge revision(s) ↵nagachika
dae843f6b7502f921a7e66f39e3714a39d860181,86096a91d55f72620e0f8ca8634da5fa342dc35b: Bypass git submodule add/update with git config protocol.file.allow=always option. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> --- test/rubygems/test_gem_source_git.rb | 5 +++++ 1 file changed, 5 insertions(+) [rubygems/rubygems] Use [] instead of double-quotes --- test/rubygems/test_gem_source_git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-11-24Upgrade zlib_version on AppVeyorTakashi Kokubun
They removed https://zlib.net/zlib1212.zip because https://zlib.net/zlib1213.zip was released :thinking_face: Fix CI failures like: https://ci.appveyor.com/project/ruby/ruby/builds/45064876/job/bb9biogolh0u2595
2022-11-24Merge CGI-0.1.0.2Hiroshi SHIBATA
2022-10-01* 2022-10-01 [ci skip]git
2022-10-01Initialize Objective-C classes before fork() for macOS 13Yuta Saito
Since macOS 13, CFString family API used in `rb_str_append_normalized_ospath` may internally use Objective-C classes (`NSTaggedPointerString` and `NSPlaceholderMutableString`) for small strings. On the other hand, Objective-C classes should not be used for the first time in a `fork()`'ed but not `exec()`'ed process. Violations for this rule can result deadlock during class initialization, so Objective-C runtime conservatively crashes on such cases by default. Therefore, we need to use CFString API to initialize Objective-C classes used internally *before* `fork()`. For more details, see https://bugs.ruby-lang.org/issues/18912
2022-10-01[Bug #19005] dynamic_lookup linker option in external librariesNobuyoshi Nakada
The warning against `-undefined dynamic_lookup` is just a warning yet, and many gems seem to pay no attention to warnings. Until it fails actually, keep it as a migration path, except for standard extension libraries and bundled extension gems.
2022-10-01-undefined dynamic_lookup is obsoleteNobuyoshi Nakada
2022-09-20* 2022-09-20 [ci skip]git
2022-09-20update ubuntu 18.04 for github actionsHiroshi SHIBATA
2022-09-20zlib-1.2.11 is removed at zlib.netHiroshi SHIBATA
2022-09-20The tzdata 2022c removed Amsterdam Mean TimeNobuyoshi Nakada
2022-09-20Use autoreconf -i instead of autoconfHiroshi SHIBATA
2022-09-16* 2022-09-16 [ci skip]git
2022-09-16Backport https://github.com/ruby/ruby/pull/6193Hiroshi SHIBATA
Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
2022-04-12Fix dtoa buffer overrunv2_7_6NAKAMURA Usaku
2022-04-07* 2022-04-07 [ci skip]git
2022-03-19merge revision(s) 496591de96b261b8789332c7f8b2bfbd17658955: [Backport #18578]NAKAMURA Usaku
st.c: Do not clear entries_bound when calling Hash#shift for empty hash tab->entries_bound is used to check if the bins are full in rebuild_table_if_necessary. Hash#shift against an empty hash assigned 0 to tab->entries_bound, but didn't clear the bins. Thus, the table is not rebuilt even when the bins are full. Attempting to add a new element into full-bin hash gets stuck. This change stops clearing tab->entries_bound in Hash#shift. [Bug #18578] --- st.c | 1 - test/ruby/test_hash.rb | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-)
2022-03-19merge revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17: [Backport #18562]NAKAMURA Usaku
Fix TAG_THROW through require [Bug #18562] Previously this was being incorrectly swapped with TAG_RAISE in the next line. This would end up checking the T_IMEMO throw_data to the exception handling (which calls Module#===). This happened to not break existing tests because Module#=== returned false when klass is NULL. This commit handles throw from require correctly by jumping to the tag retaining the TAG_THROW state. --- load.c | 2 +- test/ruby/test_exception.rb | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-)
2022-03-19merge revision(s) b555e659c4974acc423083b71b1bd5ec6a926046: [Backport #18388]NAKAMURA Usaku
Do not use `fcopyfile` if appending to non-empty file [Bug #18388] `fcopyfile` appends `src` to `to` and then truncates `to` to it's original size. --- io.c | 7 +++++++ test/ruby/test_io.rb | 12 ++++++++++++ 2 files changed, 19 insertions(+)
2022-03-19merge revision(s) ↵NAKAMURA Usaku
7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d80702bd98a8276243a7fcaa2a158b3bfb659: [Backport #18516] An alias can suppress method redefinition warning --- test/ruby/test_alias.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) Fix memory leak at the same named alias [Bug #18516] When aliasing a method to the same name method, set a separate bit flag on that method definition, instead of the reference count increment. Although this kind of alias has no actual effect at runtime, is used as the hack to suppress the method re-definition warning. --- method.h | 1 + test/ruby/test_alias.rb | 18 ++++++++++++++++++ vm_method.c | 9 ++++++++- 3 files changed, 27 insertions(+), 1 deletion(-)
2022-03-19merge revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221: [Backport #18517]NAKAMURA Usaku
Shifting zero always results in zero [Bug #18517] --- numeric.c | 2 ++ 1 file changed, 2 insertions(+)
2022-03-19merge revision(s) ↵NAKAMURA Usaku
5c7af72304d0ad33cd3f21b24a4bc44e8acd5b2c,d650b17686d49c2ce8e6a87039861154e93d4621: [Backport #18497] Assuming EXIT_SUCCESS equals 0 is not portable --- test/ruby/test_fiber.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) `rb_fiber_terminate` must not return [Bug #18497] In a forked process from a fiber, the fiber becomes the only fiber, `fiber_switch` does nothing as there is no other fibers, `rb_fiber_terminate` does not terminate the fiber. In that case, reaches the end of `fiber_entry` finaly, which is declared as "COROUTINE" and should never return. --- cont.c | 3 ++- eval_intern.h | 2 +- test/fiber/test_process.rb | 15 +++++++++++++++ test/ruby/test_fiber.rb | 5 +++++ 4 files changed, 23 insertions(+), 2 deletions(-) note that only backported a part of above patch because of incompatibility of ruby_2_7.
2022-03-19merge revision(s) ae5458f228a5477383e9c00425d85d50a3867817: [Backport #18475]NAKAMURA Usaku
thread.c: Convert TAG_BREAK to a normal exception at thread top-level [Bug #18475] --- test/ruby/test_enum.rb | 11 +++++++++++ thread.c | 3 +++ 2 files changed, 14 insertions(+)