aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [rubygems/rubygems] Use better name for variableDavid Rodríguez2022-12-201-3/+3
| | | | | | | | The installed file not always have the `.so` extension. https://github.com/rubygems/rubygems/commit/6f6681bcb9 Co-authored-by: Eloy Espinaco <eloyesp@gmail.com>
* [rubygems/rubygems] Fix tests checking intermediate filesEloy Espinaco2022-12-202-2/+2
| | | | | | | Some tests check that the shared objects are actually installed, but checking an intermediate build file instead of the installed one. https://github.com/rubygems/rubygems/commit/ad526073b0
* [rubygems/rubygems] Fix crash when lockfile is missing dependenciesDavid Rodríguez2022-12-204-66/+65
| | | | | | | | | | | | | We have a check for a corrupt lockfile right before installing. However, the check accounted for locked specs not satisfying locked dependencies, but not for locked specs missing for some locked dependencies. Instead of fixing this check, I decided to remove it in favor of automatically detecting the situation and re-resolve to automatically fix the lockfile rather than printing a warning but leave the problem there. https://github.com/rubygems/rubygems/commit/4a7a584252
* [rubygems/rubygems] Remove unused codeDavid Rodríguez2022-12-201-14/+0
| | | | https://github.com/rubygems/rubygems/commit/b88c43a28c
* [rubygems/rubygems] Detect circular dependency errorsDavid Rodríguez2022-12-202-0/+10
| | | | https://github.com/rubygems/rubygems/commit/a8348d271d
* [rubygems/rubygems] Remove dead logicDavid Rodríguez2022-12-201-6/+0
| | | | https://github.com/rubygems/rubygems/commit/950615405e
* [rubygems/rubygems] Extract a variable for consistencyDavid Rodríguez2022-12-201-1/+2
| | | | https://github.com/rubygems/rubygems/commit/3f4b1c7a01
* Prevent a "method redefined" warningYusuke Endoh2022-12-171-0/+3
|
* Prevent warning "assigned but unused variable - initial_shape"Yusuke Endoh2022-12-171-1/+1
|
* Syntax-highlight scripts in yjit.md [ci skip]Takashi Kokubun2022-12-191-19/+19
| | | | | | Specifically, I wanted to grey out comments in shell scripts. But I just specified a language for blocks without comments as well to avoid forgetting that in the future.
* Fix misfire of compaction read barrierPeter Zhu2022-12-191-1/+1
| | | | | | | | gc_compact_move incorrectly returns false when destination heap is full after sweeping. It returns false even if destination heap is different than source heap (returning false means that the source heap has finished compacting). This causes the source page to get locked, which causes a read barrier fire when we try to compact the source heap again.
* Re-enable test_ractor for YJITTakashi Kokubun2022-12-191-4/+3
| | | | | | This would be still flaky, but we want to make sure there's no YJIT-specific issue when Ruby 3.2 is released. We might skip it again after the release.
* Fix buffer overrun when re-embedding objectsPeter Zhu2022-12-191-4/+2
| | | | | | | | | | | We eagerly set the new shape of an object when moving an object during compaction. This new shape may have a different capacity than the current original shape capacity. This means that we cannot copy from the original buffer using size of the new capacity. Instead, we should use the ivar count (which is less than or equal to both the new and original capacities). Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
* YJIT: skip map in print_sorted_exit_counts (#6954)Mau Magnaguagno2022-12-191-1/+1
| | | Array#sum accepts a block.
* YJIT: Improve the description about --enable-yjit (#6947)Takashi Kokubun2022-12-191-1/+1
|
* YJIT: Make --yjit-stats always visible on --help (#6946)Takashi Kokubun2022-12-191-2/+0
|
* [ruby/irb] PTY module is platform dependentNobuyoshi Nakada2022-12-191-1/+6
| | | | https://github.com/ruby/irb/commit/dbb3dc72ff
* Added news entries for BundlerHiroshi SHIBATA2022-12-191-0/+8
|
* Update default gems list at 1142bc875bc00d492046ecbf781f07 [ci skip]git2022-12-191-1/+1
|
* [ruby/did_you_mean] Bump version to 1.6.3Hiroshi SHIBATA2022-12-191-1/+1
| | | | https://github.com/ruby/did_you_mean/commit/f7703add76
* tool/update-NEWS-refs.rb: Accept non-redmine url linksYusuke Endoh2022-12-191-6/+16
|
* Sort by URL [ci skip]Kazuhiro NISHIYAMA2022-12-191-3/+3
|
* Added notable changes for the default gemsHiroshi SHIBATA2022-12-191-0/+21
|
* Use pthread API if the target platform doesn't support TLS attributeNobuyoshi Nakada2022-12-191-17/+18
|
* Revert "Mentioned https://github.com/ruby/ruby/pull/6086 to NEWS"Takashi Kokubun2022-12-181-5/+0
| | | | | | | | | This reverts commit 6229c02d6b895eda8c73efa8a41c73692d133a65. Nothing has been changed in RubyVM.stat on normal Ruby build. It seems confusing to say that something has been changed there. The flag is supposed to be enabled only by CRuby developers, and it's not efficient enough for public consumption.
* Fix guess_diff typeNobuyoshi Nakada2022-12-191-1/+1
| | | | | | | | `unsigned_time_t` has the same size as `time_t`, but it doesn't mean these types are same except for signedness. For instance, while `long` and `long long` has the same size and `time_t` is defined as the latter on 64bit OpenBSD, `unsigned_time_t` has been defined as `long`.
* Added some changes that are only exists on GitHub to NEWSHiroshi SHIBATA2022-12-191-0/+14
|
* Mentioned https://github.com/ruby/date/pull/80Hiroshi SHIBATA2022-12-191-0/+4
|
* Merge Time class sections on NEWSHiroshi SHIBATA2022-12-191-4/+3
|
* Mentioned https://github.com/ruby/ruby/pull/6086 to NEWSHiroshi SHIBATA2022-12-191-0/+5
|
* Removed empty sectionHiroshi SHIBATA2022-12-191-2/+0
|
* typo in doc [ci skip]卜部昌平2022-12-191-1/+1
|
* Note about Regexp.linera_time? [ci skip]卜部昌平2022-12-191-0/+10
|
* Update default gems list at 08d21b4bd2000596160d62f28b840b [ci skip]git2022-12-191-2/+2
|
* [ruby/net-http] Bump version to 0.3.2Hiroshi SHIBATA2022-12-191-1/+1
| | | | https://github.com/ruby/net-http/commit/b8bdb7248e
* [ruby/date] Bump version to 3.3.3Hiroshi SHIBATA2022-12-191-1/+1
| | | | https://github.com/ruby/date/commit/ea3644a7c4
* Disable SEH workaround on __MINGW64__ only. (#6957)Samuel Williams2022-12-191-1/+1
|
* [rubygems/rubygems] Add bundle lock --update --bundlerAlyssa Ross2022-12-183-2/+27
| | | | | | | | | | | | bundle lock --update can do everything that bundle update can do, but it doesn't actually install gems. This is especially useful for generating a lockfile on a machine that doesn't have the libraries available to be able to build native extensions. But, there was no parallel for bundle update --bundler. So let's add one. https://github.com/rubygems/rubygems/commit/7fc00bd2a5
* [ruby/net-http] Adding links to referencesBurdetteLamar2022-12-181-10/+55
| | | | https://github.com/ruby/net-http/commit/6dfe6f411a
* Suppress cross tool warning for pkg-config [ci skip]Nobuyoshi Nakada2022-12-181-0/+2
| | | | It is used from mkmf.rb on target environments.
* configure.ac: add miniruby to PREP when cross-compiling to darwinMike Dalessio2022-12-181-0/+4
| | | | | | | | miniruby is used to resolve symbols in ext bundles https://bugs.ruby-lang.org/issues/19239 Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
* [ruby/date] Adjust format [ci skip]Nobuyoshi Nakada2022-12-181-4/+8
| | | | https://github.com/ruby/date/commit/71c35b4054
* [ruby/date] Extract `head_match_p` and abbreviated name length constantsNobuyoshi Nakada2022-12-181-4/+13
| | | | https://github.com/ruby/date/commit/3f666fa882
* [ruby/date] Consider the length of string to parseNobuyoshi Nakada2022-12-181-17/+16
| | | | https://github.com/ruby/date/commit/3bfed83ce7
* [ruby/date] Remove `extz_pats` tableNobuyoshi Nakada2022-12-181-12/+5
| | | | https://github.com/ruby/date/commit/945e26e243
* [ruby/date] Remove `merid_names` tableNobuyoshi Nakada2022-12-181-15/+11
| | | | https://github.com/ruby/date/commit/7fe2bd5f94
* [ruby/date] Match abbreviated day and month names with head of full namesNobuyoshi Nakada2022-12-181-10/+10
| | | | https://github.com/ruby/date/commit/a45f8f03c9
* Use FL_TEST_RAW in rb_hash_default_valueJohn Hawthorn2022-12-171-1/+3
| | | | | | | | | We should always have a T_HASH here, so we can use FL_TEST_RAW to avoid checking whether we may have an immediate value. I expect this to be a very small performance improvement (perf stat ./miniruby benchmark/hash_aref_miss.rb shows a ~1% improvement). It also removes 9 instructions from rb_hash_default_value on x86_64.
* Use a BOP for Hash#defaultJohn Hawthorn2022-12-175-22/+42
| | | | | | | | | | | | | | | | | | | | On a hash miss we need to call default if it is redefined in order to return the default value to be used. Previously we checked this with rb_method_basic_definition_p, which avoids the method call but requires a method lookup. This commit replaces the previous check with BASIC_OP_UNREDEFINED_P and a new BOP_DEFAULT. We still need to fall back to rb_method_basic_definition_p when called on a subclasss of hash. | |compare-ruby|built-ruby| |:---------------|-----------:|---------:| |hash_aref_miss | 2.692| 3.531| | | -| 1.31x| Co-authored-by: Daniel Colson <danieljamescolson@gmail.com> Co-authored-by: "Ian C. Anderson" <ian@iancanderson.com> Co-authored-by: Jack McCracken <me@jackmc.xyz>
* MJIT: Refactor BitField dereference byte and bitmask (#6955)Mau Magnaguagno2022-12-171-2/+2
| | | | Prefer Array#unpack1 and Enumerable#sum. I think the bitmask formula ``2 ** @width - 1`` would be clearer, but not faster for such small integers.