summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [DOC] Separated Method#[] from Method#call [Bug #16813] [ci skip]Nobuyoshi Nakada2020-04-241-1/+13
|
* [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]Nobuyoshi Nakada2020-04-241-2/+2
|
* Fixed inverted current thread condition [Bug #16808]Nobuyoshi Nakada2020-04-231-1/+1
|
* Truncate too long thread name before setting [Bug #16808]Nobuyoshi Nakada2020-04-231-6/+30
|
* Skip the initialization of XDG_DATA_HOME with Permission deniedHiroshi SHIBATA2020-04-231-5/+8
|
* Support XDG_* (#2174)Hiroshi SHIBATA2020-04-2320-76/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support XDG_CONFIG_HOME for gemrc. * Support XDG_DATA_HOME for .gem * Added test for XDG_DATA_HOME * Do not reuse environmental variable. * Unify .rdoc path to RDoc.home. * Support XDG_DATA_HOME for .rdoc * Ignore exists? * Extracted config_home path * Use XDG_CONFIG_HOME for default credential path * Fixed inconsistency location. * Fixed the broken tests. * Support XDG_CONFIG_HOME for irbrc * Introduce Gem.cache_home as XDG_CACHE_HOME * Use Gem.cache_home instead of Gem.config_home for the credential file of RubyGems. * Initialized the old configurations * Fixed test failure related the configuration initialization * restore XDG_DATA_HOME * Fixed the broken examples of bundler with XDG_* * Do not modify environmental variable on test file * Use XDG_DATA_HOME insted of XDG_CACHE_HOME for credential file * stub out Gem.data_home * Move dir accessor to defaults.rb file * Use XDG_DATA_HOME for signed gem features * Use XDG_DATA_HOME for spec cache * Do not rely on Gem.user_home * Gem.user_home is always exists. Don't need to use FileUitls.mkdir_p * Bump support version to RubyGems 3.2.0+ * Removed the needless fallback configuration * Fixed the inconsistency methods that are find_config_file and config_file * Use Gem.configuration.credentials_path instead of hard-coded path * gem_path is always provided * Removed the duplicated code of find_home * Also removed the duplicated code of user_home * use Gem::UNTAINT instead of untaint for surpressing the warnings * Use File.directory * Restore XDG_DATA_HOME * Use File.write
* RDoc enhancements for Hash[].Burdette Lamar2020-04-232-12/+262
|
* [ruby/rdoc] Drop old rubiesNobuyoshi Nakada2020-04-231-14/+3
| | | | | | | | | * `RbConfig::CONFIG['ridir']` has been set since 1.9.2 * `ENV["HOME"]` has been defaulted to `USERPROFILE` since 1.9.0, and backported to 1.8.5 or later. https://github.com/ruby/rdoc/commit/a3a614e676
* Initialize the class variable for Minitest::Unit.current_repeat_countNobuyoshi Nakada2020-04-231-0/+1
|
* Expand retrying test file names to realpathNobuyoshi Nakada2020-04-231-1/+1
| | | | As well as worker processes do in Test::Unit::Worker#run.
* Just call search_method_protect [Bug #16669]Nobuyoshi Nakada2020-04-231-7/+1
|
* Test for [Bug #16669]Nobuyoshi Nakada2020-04-231-0/+8
|
* Split test_definedNobuyoshi Nakada2020-04-231-2/+16
|
* rb_method_entry() returns valid me.Koichi Sasada2020-04-231-1/+7
| | | | | | | | | | search_method() can return invalid method, but vm_defined() checks it as valid method entry. This is why defined?(foo) if foo is undef'ed. To solve this problem, check invalidation and return NULL. [Bug #16669] https://twitter.com/kamipo/status/1252881930103558144 Tests will be merged by nobu soon.
* * 2020-04-23 [ci skip]git2020-04-231-1/+1
|
* Fix permission of PATHKazuhiro NISHIYAMA2020-04-232-2/+4
| | | | | https://github.com/ruby/actions/runs/608526685?check_suite_focus=true `warning: Insecure world writable dir /home/runner/.config in PATH, mode 040777`
* Made parentheses mandatory in endless method defitionNobuyoshi Nakada2020-04-222-17/+11
| | | | | Even for empty argument list, not to be confusing with a writer method name.
* Disallow R-assign in endless defNobuyoshi Nakada2020-04-221-0/+2
|
* Revert "Allow simple R-assign in endless def"Nobuyoshi Nakada2020-04-222-18/+3
| | | | This reverts commit 67bcac879a2e0ddfb4e7bbd7cb5e5401422de76a.
* Update benchmark-driver versionNobuyoshi Nakada2020-04-221-1/+1
|
* Revert "* remove trailing spaces. [ci skip]"Nobuyoshi Nakada2020-04-221-19/+19
| | | | | This reverts commit 6b04c480487ab64d73e1254be2412e722b7b8bd8. Trailing spaces separate paragraphs in RDoc format.
* Update benchmark-driver versionNobuyoshi Nakada2020-04-221-1/+1
|
* support builtin for Kernel#FloatS.H2020-04-223-25/+32
| | | | | | | | | | | | | # Iteration per second (i/s) | |compare-ruby|built-ruby| |:------------|-----------:|---------:| |float | 30.395M| 38.314M| | | -| 1.26x| |float_true | 3.833M| 27.322M| | | -| 7.13x| |float_false | 4.182M| 24.938M| | | -| 5.96x|
* .github/workflows/mingw.yml: add `shell: bash` for PR checkoutYusuke Endoh2020-04-221-0/+1
| | | | as well as e62aead26909e83f2c8b940186047f0a88b9f2d6
* configure.ac: Automatically add -D__ANDROID_API=ver on AndroidYusuke Endoh2020-04-221-0/+24
|
* * 2020-04-22 [ci skip]git2020-04-221-1/+1
|
* test/ruby/test_fiber.rb: Skip the problematic test_stack_size on riscvYusuke Endoh2020-04-221-0/+1
| | | | | | | Since it is impossible to detect stack overflow of C functions robustly, the test is a bit unreasonable. https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20200421T120018Z.fail.html.gz
* LEGAL: fixed links to the old-style BSD license [ci skip]Nobuyoshi Nakada2020-04-211-3/+3
|
* * remove trailing spaces. [ci skip]git2020-04-211-19/+19
|
* LEGAL: moved the old-style BSD license and linked [ci skip]Nobuyoshi Nakada2020-04-211-83/+34
|
* LEGAL: moved the MIT license and linked [ci skip]Nobuyoshi Nakada2020-04-211-23/+6
|
* LEGAL: made license names themselves links [ci skip]Nobuyoshi Nakada2020-04-211-8/+2
|
* eval_error.c: default nil as "reverse" is now false [Feature #8661]Nobuyoshi Nakada2020-04-212-6/+4
|
* NEWS.md: the order of backtrace [Feature #8661] [ci skip]Nobuyoshi Nakada2020-04-211-0/+5
|
* eval_error.c: revert the "reversed" backtrace [Feature #8661]Yusuke Endoh2020-04-211-1/+1
| | | | | | | | | | | | | | | | | | Now, the order is good, old-fashioned style: ``` $ ./local/bin/ruby -e 'def foo; raise; end def bar; foo; end def baz; bar; end def qux; baz; end qux ' -e:1:in `foo': unhandled exception from -e:2:in `bar' from -e:3:in `baz' from -e:4:in `qux' from -e:5:in `<main>' ```
* rb_memerror: abort immediately卜部昌平2020-04-211-0/+3
| | | | | Ditto for adab82b9a71f60ad1c7f4f8c134a5ae9198ab32a. TRY_WITH_GC was found innocent.
* Fixed a typo [ci skip]Nobuyoshi Nakada2020-04-211-1/+1
|
* reroute redefinition of NDEBUG卜部昌平2020-04-214-0/+4
| | | | | NDEBUG can be defined via a command-line argument. Should take care of such situations.
* __GNUC__ is too lax卜部昌平2020-04-212-3/+3
| | | | Ditto for 4b853932eaa7fa4acf8a0f0c9b7c695bb4f5e76d
* TRY_WITH_GC: abort immediately卜部昌平2020-04-211-4/+36
| | | | | NoMemoryError is observed on icc but I fail to reproduce so far. Let me see the backtrace on CI.
* Fix typos [ci skip]Kazuhiro NISHIYAMA2020-04-213-3/+3
|
* Fixed incorrect man path with ruby installation pathHiroshi SHIBATA2020-04-211-0/+2
| | | | [Bug #15359][ruby-core:90164]
* test/ruby/test_refinement.rb: extend the timeoutYusuke Endoh2020-04-211-1/+1
| | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20200420T083601Z.fail.html.gz
* * 2020-04-21 [ci skip]git2020-04-211-1/+1
|
* vm_dump.c: Do not show C backtrace on riscvYusuke Endoh2020-04-201-1/+1
| | | | | Currently, objdump -W miniruby emits some errors on riscv, so I guess that DWARF is corrupted.
* Skip JIT tests on riscv64 due to SEGV of cc1Yusuke Endoh2020-04-201-0/+2
|
* [sync_default_gems.rb] Force reset conflict files to be ignoredNobuyoshi Nakada2020-04-201-3/+6
| | | | [ci skip]
* Revert irrelevant change [ci skip]Nobuyoshi Nakada2020-04-201-7/+3
|
* Removed phony atomic operations for void* and VALUENobuyoshi Nakada2020-04-202-35/+11
|
* * 2020-04-20 [ci skip]git2020-04-201-1/+1
|