summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix previous commitv2_7_8ruby_2_7NAKAMURA Usaku2023-03-302-3/+3
|
* Limit header lengthNAKAMURA Usaku2023-03-302-1/+9
|
* * 2023-03-30 [ci skip]git2023-03-301-1/+1
|
* Make RFC2822 regexp linearNobuyoshi Nakada2023-03-301-1/+1
| | | | https://hackerone.com/reports/1485501
* Test for quadratic backtracking on invalid timeNobuyoshi Nakada2023-03-301-0/+9
| | | | https://hackerone.com/reports/1485501
* Fix quadratic backtracking on invalid timeNobuyoshi Nakada2023-03-301-2/+2
| | | | https://hackerone.com/reports/1485501
* Ubuntu 18.04 in GHA is retiredHiroshi SHIBATA2023-03-291-1/+1
|
* Historical timezones of Lisbon in tzdata are unstableNobuyoshi Nakada2023-03-291-2/+1
|
* Skip test_europe_lisbon on macOSTakashi Kokubun2023-03-291-0/+1
| | | | until we figure out why it's failing.
* Removed fetch-depthNobuyoshi Nakada2023-03-294-4/+0
| | | | Only the last commit is used, unless creating the ChangeLog file.
* .github: use actions/checkout@v2 again卜部昌平2023-03-294-45/+16
|
* Use `--depth` on pull requestKazuhiro NISHIYAMA2023-03-294-4/+4
| | | | | | | `--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 [ci skip]git2023-03-291-3/+3
|
* Added assert_linear_performance for URI testsHiroshi SHIBATA2023-03-291-0/+33
|
* Merge URI-0.10.0.2 for bundlerHiroshi SHIBATA2023-03-292-3/+3
|
* Merge URI-0.10.0.2Hiroshi SHIBATA2023-03-294-3/+21
|
* merge revision(s) 58cc3c9f: [Backport #19187]NAKAMURA Usaku2022-12-082-7/+16
| | | | | | | | [Bug #19187] Fix for tzdata-2022g --- test/ruby/test_time_tz.rb | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-)
* Bump teenyNAKAMURA Usaku2022-12-081-4/+4
|
* Use %printer directive for Bison 3.8 (used release flow)v2_7_7NAKAMURA Usaku2022-11-242-46/+30
| | | | This is backport of fa05697e4832fbd67a4f91b9bb362471902faab3
* Fix GitHub Actions errorNAKAMURA Usaku2022-11-241-0/+1
|
* Merge openssl-2.1.4Kazuki Yamaguchi2022-11-244-5/+15
| | | | | | The changes can be found at: https://github.com/ruby/openssl/compare/v2.1.3...v2.1.4
* Bump versionNAKAMURA Usaku2022-11-241-2/+2
|
* * 2022-11-24 [ci skip]git2022-11-241-2/+2
|
* Removed unnecessary RLIMIT_ASNobuyoshi Nakada2022-11-241-10/+3
| | | | | Even without this limit, these assertions almost certainly cause a NoMemoryError by removing the fix in 72ad8595f20.
* merge revision(s) 4f1e0bfacd93c28bff549e2f3603c3b4942429a3:nagachika2022-11-243-0/+12
| | | | | | | | | | 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(+)
* Use ubuntu-20.04 instead of latest, because Ruby 2.7 didn't support openssl3 ↵Hiroshi SHIBATA2022-11-243-3/+3
| | | | on Ubuntu 22.04
* merge revision(s) 36f297e62108072b9377d927321928b994f66a93:nagachika2022-11-242-11/+11
| | | | | | | | | 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(-)
* merge revision(s) ↵nagachika2022-11-241-0/+5
| | | | | | | | | | | | | | | | | | 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(-)
* Upgrade zlib_version on AppVeyorTakashi Kokubun2022-11-241-1/+1
| | | | | | | | 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
* Merge CGI-0.1.0.2Hiroshi SHIBATA2022-11-245-26/+155
|
* * 2022-10-01 [ci skip]git2022-10-011-2/+2
|
* Initialize Objective-C classes before fork() for macOS 13Yuta Saito2022-10-011-0/+44
| | | | | | | | | | | | | | | | 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
* [Bug #19005] dynamic_lookup linker option in external librariesNobuyoshi Nakada2022-10-012-5/+18
| | | | | | | 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.
* -undefined dynamic_lookup is obsoleteNobuyoshi Nakada2022-10-011-1/+0
|
* * 2022-09-20 [ci skip]git2022-09-201-1/+1
|
* update ubuntu 18.04 for github actionsHiroshi SHIBATA2022-09-201-1/+1
|
* zlib-1.2.11 is removed at zlib.netHiroshi SHIBATA2022-09-201-1/+1
|
* The tzdata 2022c removed Amsterdam Mean TimeNobuyoshi Nakada2022-09-201-0/+2
|
* Use autoreconf -i instead of autoconfHiroshi SHIBATA2022-09-203-3/+3
|
* * 2022-09-16 [ci skip]git2022-09-161-2/+2
|
* Backport https://github.com/ruby/ruby/pull/6193Hiroshi SHIBATA2022-09-167-6/+44
| | | | Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
* Fix dtoa buffer overrunv2_7_6NAKAMURA Usaku2022-04-123-3/+22
|
* * 2022-04-07 [ci skip]git2022-04-071-2/+2
|
* merge revision(s) 496591de96b261b8789332c7f8b2bfbd17658955: [Backport #18578]NAKAMURA Usaku2022-03-193-2/+14
| | | | | | | | | | | | | | | | | | | 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(-)
* merge revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17: [Backport #18562]NAKAMURA Usaku2022-03-193-2/+23
| | | | | | | | | | | | | | | | 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(-)
* merge revision(s) b555e659c4974acc423083b71b1bd5ec6a926046: [Backport #18388]NAKAMURA Usaku2022-03-193-1/+20
| | | | | | | | | | | 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(+)
* merge revision(s) ↵NAKAMURA Usaku2022-03-194-2/+39
| | | | | | | | | | | | | | | | | | | | | | | 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(-)
* merge revision(s) 6a6227e0168b059c3ed34c9f0ace2e5dc2364221: [Backport #18517]NAKAMURA Usaku2022-03-192-1/+3
| | | | | | | | Shifting zero always results in zero [Bug #18517] --- numeric.c | 2 ++ 1 file changed, 2 insertions(+)
* merge revision(s) ↵NAKAMURA Usaku2022-03-193-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* merge revision(s) ae5458f228a5477383e9c00425d85d50a3867817: [Backport #18475]NAKAMURA Usaku2022-03-193-2/+17
| | | | | | | | | | 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(+)