summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-04* 2022-07-04 [ci skip]git
2022-07-03Fix rb_fix_mul_fix on OpenBSD/mips64Jeremy Evans
This fixes invalid and inconsistent results for the Fixnum*Fixnum case where the result of the multiplication does not fit in 64-bit on OpenBSD/mips64. For example: $ for x in 1 23; do ruby31 -e 'p(54306000000000*86400)'; done 14409380628474329524 11410664325873689790 Cases where an argument was Bignum, as well as cases where the result of the multiplication fits in 64-bit are fine: $ for x in 1 23; do ruby31 -e 'p(54306000*86400)'; done 4692038400000 4692038400000 $ for x in 1 23; do ruby31 -e 'p(5430600000000000000000*86400)'; done 469203840000000000000000000 469203840000000000000000000 This was originally discovered by running the tests for the openssl gem on OpenBSD/mips64 and having one test fail for a date far in the future. I eventually traced this to the generic multiplication issue. The underlying cause is using the int128_t type. This avoids use of the int128_t type in this case, falling back to the slower conversion code, which in the overflow case, turns the Fixnums into Bignums, then performs the multiplication.
2022-07-03* 2022-07-03 [ci skip]git
2022-07-03Disable USE_DEBUG_COUNTER test for now [ci skip]Nobuyoshi Nakada
2022-07-03Fix leaked global symbols for debug counterNobuyoshi Nakada
2022-07-03Fix empty call cache check for debug counterNobuyoshi Nakada
2022-07-03Suppress -Wstring-concatenationNobuyoshi Nakada
This concatenation of string literals is to not empty the array initialization even if no counter is declared, but warned by clang as suspicious.
2022-07-03Add check for USE_DEBUG_COUNTERNobuyoshi Nakada
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/cb2b9dc9a9
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/7e56730689
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/23a7f5468f
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/c12560e59a
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/117177c226
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/8f9843ef19
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/8de41c1eed
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/c59d4a063e
2022-07-02[ruby/pstore] Enhanced RDocBurdetteLamar
https://github.com/ruby/pstore/commit/81a266d88c
2022-07-02[rubygems/rubygems] Account for default gems not having remote when cachingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b93d4de2ff
2022-07-02[rubygems/rubygems] Move rubygems source specific logic to rubygems sourceDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6aa4c422a7
2022-07-02Relax `not_before` limitNobuyoshi Nakada
Use the value as similar as other tests below. Trying to fix sporadic “not yet valid” failures on some CIs. Notes: Merged: https://github.com/ruby/ruby/pull/6085
2022-07-02Fallback to the default JIT only when no JIT is enabledNobuyoshi Nakada
Usually, command line options are given precedence first, environment variables next, and fall back to configuration options at last. Notes: Merged: https://github.com/ruby/ruby/pull/6080
2022-07-02[ruby/bigdecimal] Correct indentation in Kernel#BigDecimalBurdetteLamar
https://github.com/ruby/bigdecimal/commit/3ede8860a6
2022-07-02* 2022-07-02 [ci skip]git
2022-07-01[DOC] New page for strftime formats (#6074)Burdette Lamar
This new page would be linked from method strftime in Time, Date, and DateTime, replacing the text there. Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-07-01CI: Add conditions for `test_task` on MinGWNobuyoshi Nakada
2022-07-01Update bundled gems list at e0c6e288f0fe4c285dd4e16283835f [ci skip]git
2022-07-01Specify RBS commit hash to fix test failure on test-bundled-gems (#6082)Masataka Pocke Kuwabara
Update RBS to v2.6.0 and specify RBS commit hash to fix test failure on test-bundled-gems Notes: Merged-By: pocke <p.ck.t22@gmail.com>
2022-07-01Remove redundant parentheses [ci skip]Nobuyoshi Nakada
2022-07-01Fix TODO in stringio/truncate_spec.rbNobuyoshi Nakada
2022-07-01stop CI failures.Koichi Sasada
302f353fd9223d020e48495eaa7a03ce5d539409 seems break the rubyspec. @nobu please check it.
2022-07-01* 2022-07-01 [ci skip]git
2022-07-01[ruby/stringio] Fix the result of `StringIO#truncate` so compatible with `File`Nobuyoshi Nakada
https://github.com/ruby/stringio/commit/16847fea32
2022-06-30YJIT: Refactor gen_opt_mod (#6078)Dave Schwantes
Refactor gen_opt_mod in YJIT Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-06-30YJIT: Handle 0 total_exits YJIT Status Display (#6079)Dave Schwantes
handle case in YJIT stats where 0 exits causes NaN in the display Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-06-30[rubygems/rubygems] Fix unintended double spaces in DSL documentationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b1826876d0
2022-06-30[rubygems/rubygems] Prevent a warning: `*' interpreted as argument prefixYusuke Endoh
http://rubyci.s3.amazonaws.com/ubuntu2004-arm/ruby-master/log/20220630T063003Z.log.html.gz ``` [19606/21662] TestAst#test_not_cared:test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb(none):18: warning: `*' interpreted as argument prefix (none):19: warning: `*' interpreted as argument prefix = 0.00 s ``` https://github.com/rubygems/rubygems/commit/c98f9326e8
2022-06-30Use `matrix.arch` separated from `matrix.configure`Nobuyoshi Nakada
Statically determined value should be set statically.
2022-06-30Make `FEATURE_SET_P` macro to include `FEATURE_BIT`Nobuyoshi Nakada
2022-06-30[Bug #18877] Let `lex_ctxt` not to eat escaped whitespaceNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6065
2022-06-30Add more check to debug failuresKazuhiro NISHIYAMA
2022-06-30use latest debug.gemKoichi Sasada
If `XDG_RUNTIME_DIR` is available, test-bundled-gems fails with old debug.gem tests. Notes: Merged: https://github.com/ruby/ruby/pull/6081
2022-06-30Adjust indent [ci skip]Nobuyoshi Nakada
2022-06-29Use iseq bitmap when updating referencesAaron Patterson
This allows us to delete the disassembly code path for reference updating. Notes: Merged: https://github.com/ruby/ruby/pull/6062
2022-06-29Move function to `static inline` so we don't have leaked globalsAaron Patterson
This function shouldn't leak and is only needed during instruction assembly Notes: Merged: https://github.com/ruby/ruby/pull/6069
2022-06-29Fix ISeq dump / load in array casesAaron Patterson
We need to dump relative offsets for inline storage entries so that loading iseqs as an array works as well. This commit also has some minor refactoring to make computing relative ISE information easier. This should fix the iseq dump / load as array tests we're seeing fail in CI. Co-Authored-By: John Hawthorn <john@hawthorn.email> Notes: Merged: https://github.com/ruby/ruby/pull/6069
2022-06-29Refactor tests for moving strings with compactionPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/6077
2022-06-30[rubygems/rubygems] Use modern style hashes in Gemfile DSL docsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3f83236c02
2022-06-29Add a check-yjit-bindgen-unused target. Add to CI. (#6066)Noah Gibbs
This fails if there are any unused rust-bindgen "allow" entries. For that target we turn on Rust warnings (there are a lot) and grep for the ones that correspond to unused allow entries. I've added check-yjit-bindgen-unused as a dependency of check-yjit-bindings, so unused allow entries will now fail CI. This change also removes our single unused allow entry (VM_CALL.*) which was known to be bad. Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-06-30* 2022-06-30 [ci skip]git
2022-06-29Do not call `exit()` directlyNobuyoshi Nakada