summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-29Ignore warnings at reading debug info for nowNobuyoshi Nakada
Something seems changed on FreeBSD 13.
2022-01-29[Bug#18556] Fallback `MAP_ ANONYMOUS`Nobuyoshi Nakada
Define `MAP_ANONYMOUS` to `MAP_ANON` if undefined on old systems. Notes: Merged: https://github.com/ruby/ruby/pull/5506 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-29Add a NEWS entry about [Feature #16806]Takashi Kokubun
2022-01-29Remove a typo hash [ci skip]Nobuyoshi Nakada
2022-01-29mkmf: unify duplicate code in pkg_configNobuyoshi Nakada
2022-01-29mkmf: pkg_config accepts multiple optionsMike Dalessio
Notes: Merged: https://github.com/ruby/ruby/pull/5436
2022-01-29test: backfill coverage for MakeMakefile.pkg_configMike Dalessio
Notes: Merged: https://github.com/ruby/ruby/pull/5436
2022-01-29* 2022-01-29 [ci skip]git
2022-01-28Remove assert_equal that will never be runPeter Zhu
`@s1.set_len(3)` will raise so the `assert_equal` will never be ran.
2022-01-28* 2022-01-28 [ci skip]git
2022-01-28Update to ruby/spec@902ab83Benoit Daloze
2022-01-28Update to ruby/mspec@49adc2fBenoit Daloze
2022-01-27[ruby/reline] Add a comment for VK_MENUaycabta
https://github.com/ruby/reline/commit/ee307c2b01
2022-01-27[ruby/reline] The AltGr behaves exactly the same as Ctrl+Altaycabta
On European keyboards. https://github.com/ruby/reline/commit/75fe9759a4
2022-01-27[ruby/yaml] Add JRuby-specific warning when psych failsCharles Oliver Nutter
The error here is confusing for users because JRuby does not use libyaml and installing it will not help. Instead, JRuby directs them to a wiki page that describes an issue when multiple conflicting versions of SnakeYAML are installed. This change allows us to use the yaml gem and delete our local sources. https://github.com/ruby/yaml/commit/8122087ffb
2022-01-27Fix memory leak at the same named alias [Bug #18516]Nobuyoshi Nakada
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. Notes: Merged: https://github.com/ruby/ruby/pull/5493
2022-01-27An alias can suppress method redefinition warningNobuyoshi Nakada
2022-01-27Shifting zero always results in zero [Bug #18517]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5494
2022-01-27[ruby/logger] Fix log rotation inter-process lock failed.Jesse Chavez
Issue only occurs in JRuby 9.3.0.0 and Windows and the full console output is: log rotation inter-process lock failed. D:\log.txt -> D:\log.txt.0: The process cannot access the file because it is being used by another process. log writing failed. closed stream log writing failed. closed stream ... https://github.com/ruby/logger/commit/19fc734638
2022-01-26[lldb] Handle MacOS 64Kb heap pages in the lldb helpersMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/5495
2022-01-26Streamline cached attr reader / writer indexesJemma Issroff
This commit removes the need to increment and decrement the indexes used by vm_cc_attr_index getters and setters. It also introduces a vm_cc_attr_index_p predicate function, and a vm_cc_attr_index_initalize function. Notes: Merged: https://github.com/ruby/ruby/pull/5485
2022-01-27* 2022-01-27 [ci skip]git
2022-01-27[ruby/irb] Changed to call Kernel.printmanga_osyo
If you call `binding.irb` on a class defined `#print`, it will crash, so call `Kernel.print`. Fix [Bug #18389] `binding.irb` can fail in some classes that implement `context` and `print` methods. https://github.com/ruby/irb/commit/d54b271984
2022-01-26Fix typo in assertion in gc.cPeter Zhu
2022-01-26Check if `execv` is available for ruby/missing.hNobuyoshi Nakada
As MinGW has the declaration, the `dllimport` attribute difference is warned when compiling missing/*.c without including ruby/win32.h. ``` ../src/include/ruby/missing.h:316:17: warning: 'execv' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 316 | RUBY_EXTERN int execv(const char *, char *const []); | ^~~~~ ``` Notes: Merged: https://github.com/ruby/ruby/pull/5491 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-26Use the prefixed pkg-config commandNobuyoshi Nakada
2022-01-26Unpoison the cached object in the exact sizeNobuyoshi Nakada
2022-01-26[rubygems/rubygems] Fix `force_ruby_platform` ignored when lockfile includes ↵David Rodríguez
the current specific platform https://github.com/rubygems/rubygems/commit/9ca371adf8
2022-01-26Do not need to print to stderrKoichi Sasada
2022-01-26refactoring btest outputKoichi Sasada
don't duplicate the message, but prepare `out` var to choose stdout/err. Notes: Merged: https://github.com/ruby/ruby/pull/5484
2022-01-26add `--stderr-on-failure` option to test-allKoichi Sasada
Now all failure messages are printed to stdout. This option makes all failure messages printed into stderr. Notes: Merged: https://github.com/ruby/ruby/pull/5483
2022-01-25Support ID_TABLE_STOP for replace functionPeter Zhu
Iteration should top if the replace function returns ID_TABLE_STOP. Notes: Merged: https://github.com/ruby/ruby/pull/5486
2022-01-25Call rb_id_table_foreach_values insteadPeter Zhu
These places never replace the value, so call rb_id_table_foreach_values instead of rb_id_table_foreach_values_with_replace. Notes: Merged: https://github.com/ruby/ruby/pull/5486
2022-01-25Rename rb_id_table_foreach_with_replacePeter Zhu
Renames rb_id_table_foreach_with_replace to rb_id_table_foreach_values_with_replace and passes only the value to the callback. We can use this in GC compaction when we cannot access the global symbol array. Notes: Merged: https://github.com/ruby/ruby/pull/5486
2022-01-26Revert "`ID` in `rb_id_table_foreach_with_replace` [Feature #18253]"Nobuyoshi Nakada
This reverts commit 530e485265dac6e2aea1d587a4a79a314cc772cf. `rb_id_table_foreach_with_replace` is used during GC compaction, and the global symbols array can have been moved at that time.
2022-01-26* 2022-01-26 [ci skip]git
2022-01-26[rubygems/rubygems] Use Gem::Platform.local instead of RUBY_PLATFORMNgan Pham
In certain places, we want to display the platform name with `Gem::Platform.local` instead of `RUBY_PLATFORM`. Fixes https://github.com/rubygems/rubygems/issues/5264 https://github.com/rubygems/rubygems/commit/bdd1848ae8
2022-01-25Remove redundant if statement in try_movePeter Zhu
The if statement is redundant since if `index == 0` then `BITS_BITLENGTH * index == 0`. Notes: Merged: https://github.com/ruby/ruby/pull/5479
2022-01-25NEWS: `Fixnum` and `Bignum` are removed finally [Feature #12005]Nobuyoshi Nakada
2022-01-25[rubygems/rubygems] Fix spec to not touch the networkDavid Rodríguez
And not depend on the state of rack's master branch, in particular, on their Ruby support range. https://github.com/rubygems/rubygems/commit/9ea4baffac
2022-01-25[rubygems/rubygems] Remove unnecessary commentDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ef4e5c6169
2022-01-25enable `RUBY_ON_BUG` on release buildKoichi Sasada
[Feature #18483] Notes: Merged: https://github.com/ruby/ruby/pull/5481
2022-01-25[ruby/pathname] Officially drop support for ruby 2.6 or olderDavid Rodríguez
The gem doesn't even install on old rubies, but since the gemspec claims it's supported, `gem install pathname` will try to install it and print an error. This commit doesn't fix the above issue. The only way to fix it would be to restore support and release a new version that actually supports old rubies. However, such a change has been proposed and ignored for a long time. So this issue proposes to leave that broken but at least bring the gemspec manifest and the CI matrix in sync to hopefully avoid this issue from happening again in the future. https://github.com/ruby/pathname/commit/3ee010b538
2022-01-24`ID` in `rb_id_table_foreach_with_replace` [Feature #18253]Nobuyoshi Nakada
Pass the `ID` from `rb_id_table_foreach_with_replace` to callback functions. Notes: Merged: https://github.com/ruby/ruby/pull/5458
2022-01-24Keep right operand within width when right shiftingPeter Zhu
NUM_IN_PAGE could return a value much larger than 64. According to the C11 spec 6.5.7 paragraph 3 this is undefined behavior: > If the value of the right operand is negative or is greater than or > equal to the width of the promoted left operand, the behavior is > undefined. On most platforms, this is usually not a problem as the architecture will mask off all out-of-range bits. Notes: Merged: https://github.com/ruby/ruby/pull/5478
2022-01-25* 2022-01-25 [ci skip]git
2022-01-25[rubygems/rubygems] Forbid downgrading past the originally shipped version ↵David Rodríguez
on Ruby 3.1 https://github.com/rubygems/rubygems/commit/68bef90339
2022-01-24[wasm] Disallow compactionPeter Zhu
WebAssembly doesn't support signals so we can't use read barriers so we can't use compaction. Notes: Merged: https://github.com/ruby/ruby/pull/5475
2022-01-24Fixed an missing percent in the batch fileNobuyoshi Nakada
2022-01-24[ruby/io-wait] [DOC] Fix the return values [ci skip]Nobuyoshi Nakada
Even since 0.1.0, other than +true+ or +false+ may be returned. https://github.com/ruby/io-wait/commit/d0721e300a