aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Super TestJIT#setup to skip unsupported envsTakashi Kokubun2020-04-181-3/+1
| | | | Slightly simplifying 8d6aa06620b316904fd10d0cab1b85e07f2fbf67
* Skip a too-unstable test on s390x-linuxTakashi Kokubun2020-04-181-0/+1
| | | | | | | | | | | | | In the last 26-ish hours, it has failed 5 times: https://travis-ci.org/github/ruby/ruby/jobs/676497718 https://travis-ci.org/github/ruby/ruby/jobs/676480295 https://travis-ci.org/github/ruby/ruby/jobs/676103216 https://travis-ci.org/github/ruby/ruby/jobs/676057967 https://travis-ci.org/github/ruby/ruby/jobs/676055113 and I don't think anybody has been working on it right now. To make CI result report of s390x-linux useful, let's skip it until the test is improved to be more stable.
* test/ruby/test_jit_debug.rb: Skip unsupported platformsYusuke Endoh2020-04-181-0/+3
|
* power_assert repository is transferred to ruby/power_assertKazuki Tsujimoto2020-04-181-1/+1
|
* Remove invalid webhook configTakashi Kokubun2020-04-171-1/+0
| | | | | According to warnings on Travis, there's no such key. We handle this on webhook side anyway.
* * 2020-04-18 [ci skip]git2020-04-181-1/+1
|
* Compilation error does not impact exit statusTakashi Kokubun2020-04-171-2/+2
| | | | | We failed to ignore https://ci.appveyor.com/project/ruby/ruby/builds/32245902/job/xcfxw67uexxysvni
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2020-04-171-1/+1
|
* NEWS.md: Mentioned the removal of NIL/TRUE/FALSE [ci skip]Nobuyoshi Nakada2020-04-171-0/+2
|
* Removed NIL/TRUE/FALSE from documents tooKazuhiro NISHIYAMA2020-04-172-6/+0
| | | | This is follow up of 62554ca97812b454e78a0a9daf6e962ff7a2f589
* Removed NIL/TRUE/FALSENobuyoshi Nakada2020-04-172-39/+0
| | | | Deprerecated constants which had been warned since 2.4.
* Rescue EPIPE in _reportNobuyoshi Nakada2020-04-171-21/+13
| | | | Instead of letting callers rescue the error always.
* Refactored rb_readwrite_syserr_failNobuyoshi Nakada2020-04-171-18/+20
| | | | | | * renamed argument `writable` as `waiting` * hosited out creating and raising exception * turned into a `switch`
* fileutils now depends on rbconfig.rb due to JRuby supportNobuyoshi Nakada2020-04-171-1/+1
|
* Suppress C4267 "possible loss of data" warningsNobuyoshi Nakada2020-04-171-1/+1
| | | | Just cast down explicitly.
* test/ruby/test_process.rb: Skip GID.from_name on AndroidYusuke Endoh2020-04-171-1/+1
| | | | | | The user management on Android seems very different https://rubyci.org/logs/rubyci.s3.amazonaws.com/android28-x86_64/ruby-master/log/20200416T234122Z.fail.html.gz
* Remove lib/rss.rbSutou Kouhei2020-04-171-94/+0
| | | | This is a follow-up of 83240f315a10b42b53c3b62c1fbc428f97912665 .
* Suppress C4267 "possible loss of data" warningsNobuyoshi Nakada2020-04-171-1/+1
|
* * 2020-04-17 [ci skip]git2020-04-171-1/+1
|
* core_assertions.rb: fixed fd leak at timeoutNobuyoshi Nakada2020-04-171-0/+2
|
* envutil.rb: not try to close pipes twiceNobuyoshi Nakada2020-04-171-2/+4
|
* Preserve encoding in error messages for invalid user/group nameNobuyoshi Nakada2020-04-162-2/+8
|
* Added tests for Process::UID.from_name and Process::GID.from_nameNobuyoshi Nakada2020-04-161-0/+16
|
* Preserve encoding in error message for invalid env exec optionNobuyoshi Nakada2020-04-162-1/+4
|
* Added test for invalid env exec optionNobuyoshi Nakada2020-04-161-0/+4
|
* Moved noreturn call to end of noreturn functionNobuyoshi Nakada2020-04-161-1/+1
|
* Use UNREACHABLE_RETURN for non-void functionNobuyoshi Nakada2020-04-161-2/+1
|
* fix compiler error on gcc 4.x卜部昌平2020-04-162-20/+19
| | | | | | | | | | | | | | | | | | It seems gcc prior to 5 suffered from preprocessor bug. We have to provide workarounds. See https://github.com/ruby/ruby/runs/591138012 ---- Here is something interesting. According to C99, strictly speaking, the gcc behaviour was in fact legal(!) and everything else were wrong. This was not a bug of gcc, rather a bug of the ISO C Standard. This defect was reported to the committee as DR#412, and fixed accordingly. All tested compilers now conform C17's updated preprocessor description. See http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_412.htm
* * 2020-04-16 [ci skip]git2020-04-161-1/+1
|
* Support for FreeBSD <sys/cdefs.h>卜部昌平2020-04-162-3/+24
| | | | | | | | | FreeBSD's <sys/cdefs.h> is broken. Cygwin is also affected by that. We need to avoid using them. See also: https://github.com/freebsd/freebsd/commit/d1c67819db000c02d3a9c79f3651c10aeedad1a0 https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;f=newlib/libc/include/sys/cdefs.h;h=44d6d53977e6bc82c2b1e6dbe8ae7f310b260604
* Raise EPIPE at broken pipe for the backward compatibilityNobuyoshi Nakada2020-04-154-9/+23
| | | | | | Instead of SignalException for SIGPIPE, raise `Errno::EPIPE` with instance variable `signo` and re-send that signal at exit. [Feature #14413]
* Added rb_syserr_new_pathNobuyoshi Nakada2020-04-152-1/+10
| | | | | Similar to rb_syserr_fail_path, but just returns the created exception instance instead of raising it.
* Create succ_index_table as a part of `iseq_setup`Nobuyoshi Nakada2020-04-152-7/+8
| | | | | | With compiling `CPDEBUG >= 2`, `rb_iseq_disasm` segfaults if this table has not been created. Also `ibf_load_iseq_each` calls `rb_iseq_insns_info_encode_positions`.
* Added test for `debug_level:` option of `RubyVM::InstructionSequence.compile`Nobuyoshi Nakada2020-04-152-0/+13
|
* This test is not testing attr_writerTakashi Kokubun2020-04-141-5/+5
|
* Invalidate fastpath when calling attr_reader by superTakashi Kokubun2020-04-142-3/+30
| | | | The same bug as 8355a99883 existed in attr_reader too.
* Invalidate fastpath when calling attr_writer by superTakashi Kokubun2020-04-142-3/+42
| | | | | | | | | | | | | | We started to use fastpath on invokesuper when a method is not refinements since 5c27681813, but we shouldn't have used fastpath for attr_writer either. `cc->aux_.attr_index` is for an actual receiver class, while we store its superclass in `cc->klass` and therefore there's no way to properly invalidate attr_writer's inline cache when it's called by super. [Bug #16785] I suspect the same bug also exists in attr_reader. I'll address that in another commit.
* Disassemble nop-inserted listNobuyoshi Nakada2020-04-151-0/+2
|
* Show heading for update_catch_except_flagsNobuyoshi Nakada2020-04-151-0/+1
|
* Shrink diassembled result stringNobuyoshi Nakada2020-04-151-1/+3
|
* * 2020-04-15 [ci skip]git2020-04-151-1/+1
|
* Disallow line-continuation before R-assignNobuyoshi Nakada2020-04-152-3/+1
|
* Removed duplicate value_expr checksNobuyoshi Nakada2020-04-141-4/+0
| | | | | `arg_rhs` has the same check and is always a non-void value expression.
* Fix logic to detect vs120Takashi Kokubun2020-04-131-2/+2
| | | | | MJIT_CC seems not defined https://ci.appveyor.com/project/ruby/ruby/builds/32161572/job/u5sw8yn4in87heki
* [ruby/date] Suppress -Wchar-subscripts warnings by Cygwin gcc 9.3.0Nobuyoshi Nakada2020-04-141-11/+11
| | | | https://github.com/ruby/date/commit/9968eb69f0
* Add missing call in 70b7304f03Takashi Kokubun2020-04-131-1/+1
|
* Ignore AppVeyor vs120's pdb corruptionTakashi Kokubun2020-04-131-0/+12
| | | | | | | | We tried to fix this like https://github.com/ruby/ruby/pull/3029, but it didn't work. The failure has never been helpful for developing MJIT, and currently it's not prioritized to be fixed. Until we try to figure out the root cause on AppVeyor vs120, let's optionally disable testing when the random corruption happens.
* Unify vm benchmark prefixes to vm_ (#3028)Takashi Kokubun2020-04-1380-78/+78
| | | | | | | | | | The vm1_ prefix and vm2_ had had special meaning until 820ad9cb1d72d0897b73dae282df3793814b27e8 and 12068aa4e980ab32a0438408a519030e65dabf5e. AFAIK there's no special meaning in vm3_ prefix. As they have confused people (like "In `benchmark` what is difference between `vm1_`, `vm2_` and `vm3_`"), I'd like to remove the obsoleted prefix as we obviated that two years ago.
* Make y.output in ripper unlocalized [ci skip]Nobuyoshi Nakada2020-04-141-1/+1
| | | | | Often it is easy to search, grep, etc from command line, for debugging purpose.
* Add {Regexp,String}#match with block to call-seq [ci skip]Kazuhiro NISHIYAMA2020-04-142-4/+4
|