summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-27[rubygems/rubygems] Remove all `syck` traces from `rubygems`David Rodríguez
After reading [this blog post](https://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html), published almost 10 years ago already, my understanding is that this problem could come up in two ways: * Rubygems.org serving corrupted gemspecs". As far as I understand this was fixed in rubygems.org a lot time ago, since https://github.com/rubygems/rubygems.org/pull/331. * Clients having a ten years old gemspec cache with some of these bad gemspecs. In this case, there's no easy solution but I think ten years is enough and rebuilding the cache should do the trick. So, I think it's time we remove this. https://github.com/rubygems/rubygems/commit/afcb15d556
2021-07-27[rubygems/rubygems] Remove `gem install` hint when installing a gem failsDavid Rodríguez
A fresh `gem install` might not reproduce the exact `bundle install` environment that originally caused the error. It also makes it harder for the user to troubleshoot the error since she needs to run a separate command. Instead, show the original error and backtrace directly. https://github.com/rubygems/rubygems/commit/49c2abfec6
2021-07-27[rubygems/rubygems] Show a backtrace in case gem installation failsDavid Rodríguez
For example, due to extension compilation issues. https://github.com/rubygems/rubygems/commit/adbe55bb6a
2021-07-27[rubygems/rubygems] Fix bundler binstub version selectionDavid Rodríguez
To mimic built-in rubygems behaviour, only thing that should be approximated is the lockfile version. Other alternatives like `BUNDLER_VERSION` should be respected exactly. https://github.com/rubygems/rubygems/commit/dbd667d4bc
2021-07-27[rubygems/rubygems] Remove LoadError message in regards to requiring a ↵Daniel Niknam
relative file Ruby 1.9.2 removed "." from LOAD_PATH for robustness and security reasons. This code was introduced by https://github.com/rubygems/rubygems/commit/56fc830e19a573a5905eba7f4714ad1f21ed1927 commit to helping users understand the issue and had a guard condition to include the message for `RUBY_VERSION >= "1.9"`. However, the guard condition was removed as part of the "Ruby version leftover" cleanup by https://github.com/rubygems/rubygems/commit/8c9cf76e419fbd8ba83144d701b24ca388813b14 Ruby 1.9 development was ended a long time ago and this message is not useful anymore. https://github.com/rubygems/rubygems/commit/a23609b15a
2021-07-27[rubygems/rubygems] Fix interrupt handling in Bundler workersAndrew Haines
The existing interrupt handling using `SharedHelpers.trap` fails when the previous handler for a signal is not callable (for example, when it is the string "DEFAULT"). Instead, we now handle interrupts by aborting the process when worker threads are running, and restore the previous handler after worker threads are finished. Fixes #4764. https://github.com/rubygems/rubygems/commit/b9f455d487
2021-07-26rb_iterate is no longer used in ruby/specBenoit Daloze
2021-07-26Prepend DebugSystem to VCS class onlyNobuyoshi Nakada
And revert 24e5f1c982966c379220b1bbb26b4e0320180fa1, pepending to Kernel did not affect the top level methods before 3.0.
2021-07-26Ignore 7z unless availableNobuyoshi Nakada
`DebugSystem#system` is prepended in vcs.rb and defaulted to `exception: true`.
2021-07-26* 2021-07-26 [ci skip]git
2021-07-25Distinguish signal and timeout [Bug #16608]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4256
2021-07-25Update bundled_gemsKazuhiro NISHIYAMA
2021-07-25* 2021-07-25 [ci skip]git
2021-07-24Sort feature index arrays by the priority of file types [Bug #15856]Nobuyoshi Nakada
When looking for libraries to load with a feature name without extension, `.rb` files are given priority. However, since the feature index arrays were not in that order of priority, but in the order in which they were loaded, a lower priority extension library might be returned. In that case, the `.rb` file had to be searched for again from the `$LOAD_PATH`, resulting in poor performance. Notes: Merged: https://github.com/ruby/ruby/pull/4679
2021-07-24* 2021-07-24 [ci skip]git
2021-07-24Escape unprintable chars only, without surrounding quotesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4676
2021-07-23[NEWS] added [Feature #17798] [ci skip]Nobuyoshi Nakada
2021-07-23[NEWS] adjusted formats [ci skip]Nobuyoshi Nakada
2021-07-23Suppress exception message in finalizer [Feature #17798]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4670
2021-07-23Show exception in finalizer [Feature #17798]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4670
2021-07-23Access rb_execution_context_t::errinfo directlyNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4670
2021-07-23Use rb_equalNobuyoshi Nakada
It can be optimized and handles Qnil properly. Notes: Merged: https://github.com/ruby/ruby/pull/4669
2021-07-23Finalizers no longer store the safe levelNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4669
2021-07-23* 2021-07-23 [ci skip]git
2021-07-23[ruby/irb] Fix #256manga_osyo
Support int that follow on symbeg in IRB https://github.com/ruby/irb/commit/90cb27b1bd
2021-07-22Don't recompute the heap pagePeter Zhu
We already page the page of the zombie calculated. Don't recalculate the page. Notes: Merged: https://github.com/ruby/ruby/pull/4668
2021-07-22Don't set flags in finalize_listPeter Zhu
The call after it to `heap_page_add_freeobj` will set the flags. Notes: Merged: https://github.com/ruby/ruby/pull/4668
2021-07-22Sort out quad_t related macrosNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4667
2021-07-22Remove unneeded function declarationsS.H
Notes: Merged: https://github.com/ruby/ruby/pull/4665 Merged-By: nobu <nobu@ruby-lang.org>
2021-07-22[DOC] Fixed the description of regexp alternations [ci skip]Ulysses Zhan
Notes: Merged: https://github.com/ruby/ruby/pull/4661 Merged-By: nobu <nobu@ruby-lang.org>
2021-07-22Refactor rb_proc_call_with_block functionS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4647
2021-07-22Refactor sym_each_i functionS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4644
2021-07-22Remove useless castsNobuyoshi Nakada
2021-07-22Cast to size_t instead of intNobuyoshi Nakada
len and *retlen are size_t since r22957 (commit:4de12b6ae9a7fc1e28ada4b62291a78f28ae7528).
2021-07-21Change GC verification to walk all pagesPeter Zhu
`gc_verify_internal_consistency_` does not walk pages in the tomb heap so numbers were off. This commit changes it to walk all allocated pages. Notes: Merged: https://github.com/ruby/ruby/pull/4666
2021-07-22* 2021-07-22 [ci skip]git
2021-07-21Fix interpolated heredoceileencodes
This fixes https://bugs.ruby-lang.org/issues/18038. The provided reproduction showed that this happens in heredocs with double interpolation. In this case `DSTR` was getting returned but needs to be convered to a `EVSTR` which is what is returned by the function. There may be an additional bug here that we weren't able to produce. It seems odd that `STR` returns `DSTR` while everything else should return `EVSTR` since the function is `new_evstr`. [Bug #18038][ruby-core:104597] Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4664
2021-07-21Update bundled_gemsNobuyoshi Nakada
2021-07-21Drop optional commit hash when updatedNobuyoshi Nakada
2021-07-21Look up ruby_digit36_to_number_tableNobuyoshi Nakada
Instead of scanning ruby_hexdigits.
2021-07-21* 2021-07-21 [ci skip]git
2021-07-21Use typeprof supporting rbs 1.3Nobuyoshi Nakada
2021-07-20Remove meaningless IO#close_on_exec= spec [Feature #17745]Nobuyoshi Nakada
2021-07-20Use RB_INTEGER_TYPE_PNobuyoshi Nakada
2021-07-20[ruby/irb] Support non-English code page messageaycabta
https://github.com/ruby/irb/commit/e7d71fea46
2021-07-20* 2021-07-20 [ci skip]git
2021-07-20Use UNREACHABLE instead of fall throughKazuhiro NISHIYAMA
2021-07-19Add `fall through`Kazuhiro NISHIYAMA
Pointed out by Coverity Scan ``` ** CID 1487522: Control flow issues (MISSING_BREAK) /error.c: 1273 in exc_full_message() ```
2021-07-19Remove unneeded quotes [ci skip]Nobuyoshi Nakada
2021-07-19[ruby/racc] Removed pre-setup from gemspecHiroshi SHIBATA
https://github.com/ruby/racc/commit/2f6f02e5c1