aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mkmf: unify duplicate code in pkg_configNobuyoshi Nakada2022-01-291-8/+3
|
* mkmf: pkg_config accepts multiple optionsMike Dalessio2022-01-292-23/+32
|
* test: backfill coverage for MakeMakefile.pkg_configMike Dalessio2022-01-291-0/+61
|
* * 2022-01-29 [ci skip]git2022-01-291-1/+1
|
* Remove assert_equal that will never be runPeter Zhu2022-01-281-1/+1
| | | | `@s1.set_len(3)` will raise so the `assert_equal` will never be ran.
* * 2022-01-28 [ci skip]git2022-01-281-1/+1
|
* Update to ruby/spec@902ab83Benoit Daloze2022-01-2856-137/+531
|
* Update to ruby/mspec@49adc2fBenoit Daloze2022-01-284-18/+37
|
* [ruby/reline] Add a comment for VK_MENUaycabta2022-01-271-1/+1
| | | | https://github.com/ruby/reline/commit/ee307c2b01
* [ruby/reline] The AltGr behaves exactly the same as Ctrl+Altaycabta2022-01-271-1/+1
| | | | | | On European keyboards. https://github.com/ruby/reline/commit/75fe9759a4
* [ruby/yaml] Add JRuby-specific warning when psych failsCharles Oliver Nutter2022-01-271-3/+11
| | | | | | | | | | | | 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
* Fix memory leak at the same named alias [Bug #18516]Nobuyoshi Nakada2022-01-273-1/+27
| | | | | | | | 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.
* An alias can suppress method redefinition warningNobuyoshi Nakada2022-01-271-0/+11
|
* Shifting zero always results in zero [Bug #18517]Nobuyoshi Nakada2022-01-271-0/+2
|
* [ruby/logger] Fix log rotation inter-process lock failed.Jesse Chavez2022-01-274-3/+5
| | | | | | | | | | | | 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
* [lldb] Handle MacOS 64Kb heap pages in the lldb helpersMatt Valentine-House2022-01-261-1/+6
|
* Streamline cached attr reader / writer indexesJemma Issroff2022-01-262-10/+25
| | | | | | | 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.
* * 2022-01-27 [ci skip]git2022-01-271-1/+1
|
* [ruby/irb] Changed to call Kernel.printmanga_osyo2022-01-271-1/+1
| | | | | | | | 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
* Fix typo in assertion in gc.cPeter Zhu2022-01-261-1/+1
|
* Check if `execv` is available for ruby/missing.hNobuyoshi Nakada2022-01-261-0/+2
| | | | | | | | | | | 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 []); | ^~~~~ ```
* Use the prefixed pkg-config commandNobuyoshi Nakada2022-01-261-4/+4
|
* Unpoison the cached object in the exact sizeNobuyoshi Nakada2022-01-261-1/+7
|
* [rubygems/rubygems] Fix `force_ruby_platform` ignored when lockfile includes ↵David Rodríguez2022-01-262-0/+15
| | | | | | the current specific platform https://github.com/rubygems/rubygems/commit/9ca371adf8
* Do not need to print to stderrKoichi Sasada2022-01-261-1/+1
|
* refactoring btest outputKoichi Sasada2022-01-261-6/+5
| | | | | don't duplicate the message, but prepare `out` var to choose stdout/err.
* add `--stderr-on-failure` option to test-allKoichi Sasada2022-01-261-1/+7
| | | | | Now all failure messages are printed to stdout. This option makes all failure messages printed into stderr.
* Support ID_TABLE_STOP for replace functionPeter Zhu2022-01-251-1/+2
| | | | Iteration should top if the replace function returns ID_TABLE_STOP.
* Call rb_id_table_foreach_values insteadPeter Zhu2022-01-251-2/+2
| | | | | These places never replace the value, so call rb_id_table_foreach_values instead of rb_id_table_foreach_values_with_replace.
* Rename rb_id_table_foreach_with_replacePeter Zhu2022-01-253-30/+30
| | | | | | | 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.
* Revert "`ID` in `rb_id_table_foreach_with_replace` [Feature #18253]"Nobuyoshi Nakada2022-01-261-5/+3
| | | | | | 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 [ci skip]git2022-01-261-1/+1
|
* [rubygems/rubygems] Use Gem::Platform.local instead of RUBY_PLATFORMNgan Pham2022-01-263-6/+6
| | | | | | | | | 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
* Remove redundant if statement in try_movePeter Zhu2022-01-251-6/+1
| | | | | The if statement is redundant since if `index == 0` then `BITS_BITLENGTH * index == 0`.
* NEWS: `Fixnum` and `Bignum` are removed finally [Feature #12005]Nobuyoshi Nakada2022-01-251-0/+2
|
* [rubygems/rubygems] Fix spec to not touch the networkDavid Rodríguez2022-01-251-1/+3
| | | | | | | 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
* [rubygems/rubygems] Remove unnecessary commentDavid Rodríguez2022-01-251-3/+0
| | | | https://github.com/rubygems/rubygems/commit/ef4e5c6169
* enable `RUBY_ON_BUG` on release buildKoichi Sasada2022-01-251-2/+0
| | | | [Feature #18483]
* [ruby/pathname] Officially drop support for ruby 2.6 or olderDavid Rodríguez2022-01-252-2/+2
| | | | | | | | | | | | | | | | | 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
* `ID` in `rb_id_table_foreach_with_replace` [Feature #18253]Nobuyoshi Nakada2022-01-241-3/+5
| | | | | Pass the `ID` from `rb_id_table_foreach_with_replace` to callback functions.
* Keep right operand within width when right shiftingPeter Zhu2022-01-241-1/+1
| | | | | | | | | | | | 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.
* * 2022-01-25 [ci skip]git2022-01-251-1/+1
|
* [rubygems/rubygems] Forbid downgrading past the originally shipped version ↵David Rodríguez2022-01-251-1/+3
| | | | | | on Ruby 3.1 https://github.com/rubygems/rubygems/commit/68bef90339
* [wasm] Disallow compactionPeter Zhu2022-01-242-12/+27
| | | | | WebAssembly doesn't support signals so we can't use read barriers so we can't use compaction.
* Fixed an missing percent in the batch fileNobuyoshi Nakada2022-01-241-1/+1
|
* [ruby/io-wait] [DOC] Fix the return values [ci skip]Nobuyoshi Nakada2022-01-241-19/+20
| | | | | | Even since 0.1.0, other than +true+ or +false+ may be returned. https://github.com/ruby/io-wait/commit/d0721e300a
* [ruby/io-wait] Document mandatory require for using io/wait methodsapatniv2022-01-241-0/+12
| | | | https://github.com/ruby/io-wait/commit/2beb05bd48
* Update default gems list at 328e6bf3b3a167529e5c64a281e773 [ci skip]git2022-01-241-0/+1
|
* [ruby/bigdecimal] Version 3.1.2Kenta Murata2022-01-241-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/57e2194135
* [ruby/bigdecimal] Fix the maximum precision of the quotientKenta Murata2022-01-242-8/+14
| | | | | | Fixes https://github.com/ruby/bigdecimal/pull/220 https://github.com/ruby/bigdecimal/commit/127a1b5a31