aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Fix symlink RubyGems test problems for non-admin user.Josef Šimánek2020-05-083-19/+26
| | | | https://github.com/rubygems/rubygems/commit/75f672ff0e
* [rubygems/rubygems] Fix race condition on bundler's parallel installerDavid Rodríguez2020-05-081-1/+1
| | | | | | | | | | | | | | | | | When installing in parallel, bundler creates several `Gem::Installer` instances that run in parallel. These installers access the `@@all` class variable of `Gem::Specification` concurrently. If a concurrent thread calls `Gem::Specification.reset` (resetting `@all` to `nil`) while another thread is running `Gem::Specification._all` or another method that expects `@@all` to be loaded and not `nil`, that can result in `Enumerable` methods being called on `nil`, resulting in crashes. I fix it by protecting the other concurrent access to the `@all` variable. https://github.com/rubygems/rubygems/commit/58b343c530
* [rubygems/rubygems] Allow spaces in file headers during octal checkDmytro Shyrshov2020-05-082-1/+21
| | | | https://github.com/rubygems/rubygems/commit/e9e25731d8
* Add T_IMEMO support to lldbAaron Patterson2020-05-071-0/+6
| | | | | I'm trying to find why a reference to an IMEMO object isn't being updated
* Fix typo in test namePeter Zhu2020-05-081-1/+1
|
* [rubygems/rubygems] Remove unnecessary DIR constantDavid Rodríguez2020-05-081-13/+9
| | | | | | We have `__dir__` which is the same thing. https://github.com/rubygems/rubygems/commit/f89776427f
* [rubygems/rubygems] Move stuff to the instance levelDavid Rodríguez2020-05-081-139/+135
| | | | | | | | | I don't know why it was living at the class level. At first I thought it would be to reuse some server instances between tests, but they seem to be cleaned up after every test anyways, so I don't think any of it is needed. https://github.com/rubygems/rubygems/commit/04bee71216
* Normalize heredoc case in rubygems code baseDavid Rodríguez2020-05-087-28/+28
|
* Normalize heredoc delimitersDavid Rodríguez2020-05-081-2/+2
|
* [rubygems/rubygems] These specs seem to work just fine on jrubyBenoit Daloze2020-05-082-10/+0
| | | | https://github.com/rubygems/rubygems/commit/a0219b9f27
* [rubygems/rubygems] Fix platform comparison bug in #contains_requirable_file?Benoit Daloze2020-05-081-1/+1
| | | | | | | * One should not compare RUBY_ENGINE and Gem::Platform. * Introduced in https://github.com/rubygems/rubygems/pull/2672 https://github.com/rubygems/rubygems/commit/0e62c3be91
* [rubygems/rubygems] Only run the $SAFE test on MRI < 2.7Benoit Daloze2020-05-081-1/+1
| | | | | | * Other Ruby implementations don't support $SAFE. https://github.com/rubygems/rubygems/commit/9a4ba16efa
* [rubygems/rubygems] Autoload name_tuple.rb before useOlle Jonsson2020-05-082-0/+16
| | | | | | | | - Resolver asked Molinillo to resolve-then-activate, which led to using Gem::NameTuple before any require had been passed Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/rubygems/rubygems/commit/e11782b0c8
* [rubygems/rubygems] Do not use set.Josef Šimánek2020-05-081-2/+1
| | | | https://github.com/rubygems/rubygems/commit/1a72c8796f
* [rubygems/rubygems] Add gem build test to check for removed methods.Josef Šimánek2020-05-084-1/+33
| | | | https://github.com/rubygems/rubygems/commit/c07b9cf4f1
* [rubygems/rubygems] Track removed methods calls and warn during build time.Josef Šimánek2020-05-083-23/+22
| | | | | | move rubyforge_project= to removed methods https://github.com/rubygems/rubygems/commit/223f7fd470
* [rubygems/rubygems] Deprecate rubyforge_project attribute only during build ↵Josef Šimánek2020-05-083-3/+32
| | | | | | time. https://github.com/rubygems/rubygems/commit/c44eb21648
* [rubygems/rubygems] Revert deprecation of deprecate method for now.Josef Šimánek2020-05-082-2/+0
| | | | https://github.com/rubygems/rubygems/commit/965eee1741
* [rubygems/rubygems] Restore and deprecate old deprecate methodbronzdoc2020-05-082-0/+51
| | | | https://github.com/rubygems/rubygems/commit/024267fa60
* [rubygems/rubygems] Rename version horizon deprecation methodsbronzdoc2020-05-088-17/+17
| | | | https://github.com/rubygems/rubygems/commit/6afd914fda
* [rubygems/rubygems] Avoid "ambiguous first argument" warningbronzdoc2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/984bb9b815
* [rubygems/rubygems] Add next_rubygems_major_version methodbronzdoc2020-05-081-8/+6
| | | | https://github.com/rubygems/rubygems/commit/db5bb65baf
* [rubygems/rubygems] Modify files to use new version horizon deprecationsbronzdoc2020-05-088-16/+16
| | | | https://github.com/rubygems/rubygems/commit/4fe5bb5bf3
* [rubygems/rubygems] Use the next major version as default for deprecationsbronzdoc2020-05-081-4/+9
| | | | https://github.com/rubygems/rubygems/commit/b679ab27af
* [rubygems/rubygems] Remove deprecation methods by datebronzdoc2020-05-081-44/+5
| | | | https://github.com/rubygems/rubygems/commit/3a14635cf5
* [rubygems/rubygems] Make the deprecate_command method recieve a Rubygems ↵bronzdoc2020-05-081-0/+17
| | | | | | version instead of a date https://github.com/rubygems/rubygems/commit/bf95b1de78
* [rubygems/rubygems] Make the deprecate method recieve a Rubygems version ↵bronzdoc2020-05-081-0/+24
| | | | | | instead of a date https://github.com/rubygems/rubygems/commit/f0e098a1b7
* Workaround for Minitest5Hiroshi SHIBATA2020-05-082-0/+5
|
* [rubygems/rubygems] Removed deprecated methods for Minitest5Hiroshi SHIBATA2020-05-081-10/+0
| | | | | | | | It was migrated on ruby core repository too. https://github.com/ruby/ruby/commit/e5db3da9d34f0a7595208863301c044b612adbed https://github.com/rubygems/rubygems/commit/848bbe3c76
* [rubygems/rubygems] Minitest::Test is works fine with the ruby core repositoryHiroshi SHIBATA2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/afa01a29a3
* [rubygems/rubygems] Revert https://github.com/rubygems/rubygems/pull/3445Hiroshi SHIBATA2020-05-081-2/+15
| | | | | | These changes completely broke the test suite on ruby core repository. https://github.com/rubygems/rubygems/commit/84b0bea3e1
* [rubygems/rubygems] Don't swallow gem activation exceptionDavid Rodríguez2020-05-081-4/+1
| | | | | | | | | Our tests are now guaranteed to not work on older versions of minitest, so I don't think we should swallow this activation error because it will make it very clear for the user what the problem is if she has a minitest version not satisfying the requirement. https://github.com/rubygems/rubygems/commit/a291b65369
* [rubygems/rubygems] Update minitest version in `Gem.install` docsDavid Rodríguez2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/aec3887d9c
* [rubygems/rubygems] Remove minitest compatibility codeDavid Rodríguez2020-05-082-6/+2
| | | | https://github.com/rubygems/rubygems/commit/24213b97d8
* [rubygems/rubygems] [rubygems/rubygems] Require minitest `~> 5.13`David Rodríguez2020-05-081-1/+1
| | | | | | https://github.com/rubygems/rubygems/commit/f2cc5d7033 https://github.com/rubygems/rubygems/commit/ae5b4e2043
* [rubygems/rubygems] Use newer module Minitest nameDavid Rodríguez2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/2890622479
* Add T_MOVED support to lldbAaron Patterson2020-05-071-0/+4
|
* Add compaction support for backtrace objectsAaron Patterson2020-05-071-4/+32
| | | | This just introduces compaction support for backtrace objects.
* Allow global variables to moveAaron Patterson2020-05-073-1/+45
| | | | | | | | | | This patch allows global variables that have been assigned in Ruby to move. I added a new function for the GC to call that will update global references and introduced a new callback in the global variable struct for updating references. Only pure Ruby global variables are supported right now, other references will be pinned.
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2020-05-081-1/+1
|
* Fix rb_profile_frame_classpath to handle module singletonsJean Boussier2020-05-072-7/+35
| | | | | | Right now `SomeClass.method` is properly named, but `SomeModule.method` is displayed as `#<Module:0x000055eb5d95adc8>.method` which makes profiling annoying.
* `T_MOVED` should never be pushed on the mark stackAaron Patterson2020-05-071-0/+1
| | | | | | | No objects should ever reference a `T_MOVED` slot. If they do, it's absolutely a bug. If we kill the process when `T_MOVED` is pushed on the mark stack it will make it easier to identify which object holds a reference that hasn't been updated.
* Restore the external and internal encodings of STDIN, STDOUT, and STDERRYusuke Endoh2020-05-081-0/+4
| | | | IRB::ReadlineInputMethod#initialize changes them via IRB.set_encoding.
* test/irb/test_cmd.rb: clear IRB.@CONF on setupYusuke Endoh2020-05-081-0/+1
| | | | | | | | | | | | | | | | | It caches a path to .irbrc file, which has caused random failure: ``` 1) Failure: TestIRB::ExtendCommand#test_irb_info_multiline [/home/mame/work/ruby/test/irb/test_cmd.rb:49]: Expected / Ruby\sversion: .+\n IRB\sversion:\sirb .+\n InputMethod:\sReidlineInputMethod\swith\sReline .+ and .+\n \.irbrc\spath: .+ /x to match "Ruby version: 2.8.0\n" + "IRB version: irb 1.2.3 (2020-02-15)\n" + "InputMethod: ReidlineInputMethod with Reline 0.1.4 and /tmp/test_reline_config_155659/.inputrc\n". ```
* * 2020-05-08 [ci skip]git2020-05-081-1/+1
|
* Check encodings of STDIN,STDOUT,STDERR tooKazuhiro NISHIYAMA2020-05-081-12/+19
|
* LEGAL: add legal situation of parse.h [ci skip]卜部昌平2020-05-071-1/+2
| | | | There is parse.h apart from parse.c these days.
* LEGAL: add legal situation of ext/pty/pty.c [ci skip]卜部昌平2020-05-071-0/+14
| | | | This file is not under Ruby's license.
* LEGAL: add legal situation of enc/trans/ucm [ci skip]卜部昌平2020-05-071-0/+15
| | | | | IBM holds their copyrights. Whether they are free software or not is uncler. But arguably they are, given we have copied them from glibc.
* LEGAL: win32/win32.h no longer exists [ci skip]卜部昌平2020-05-071-1/+2
| | | | The file was moved.