卜部昌平
122f96c362
sed -i s/ruby3/rbimpl/g
2020-05-11 09:24:08 +09:00
卜部昌平
97672f669a
sed -i s/RUBY3/RBIMPL/g
...
Devs do not love "3". The only exception is RUBY3_KEYWORDS in parse.y,
which seems unrelated to our interests.
2020-05-11 09:24:08 +09:00
卜部昌平
d7f4d732c1
sed -i s|ruby/3|ruby/impl|g
...
This shall fix compile errors.
2020-05-11 09:24:08 +09:00
卜部昌平
dca234a5dc
mv include/ruby/{3,impl}
...
Devs do not love "3".
2020-05-11 09:24:08 +09:00
Nobuyoshi Nakada
c89c3801b9
BASERUBY have to be 1.9 or later at least [Bug #16845 ]
...
Many tools under tool directory haven't worked with ruby 1.8.
2020-05-11 03:19:36 +09:00
Nobuyoshi Nakada
4a24cd8eb3
Suppress probably impossible maybe-uninitialized warning
2020-05-11 02:41:41 +09:00
Nobuyoshi Nakada
5d430c1b34
Added more NORETURN declarations
2020-05-11 00:40:14 +09:00
Nobuyoshi Nakada
a1e1fdca09
Fallback MAKE to make
2020-05-11 00:40:14 +09:00
git
27efe3f728
* 2020-05-11 [ci skip]
2020-05-11 00:19:47 +09:00
Nobuyoshi Nakada
3fa4fd4780
Pass MAKE value to configure for non-default name case
...
GNU make does not export it by default.
2020-05-11 00:18:06 +09:00
Nobuyoshi Nakada
f169931414
win32ole: separate global variable declarations and definitions
...
https://gcc.gnu.org/gcc-10/changes.html#c
> * GCC now defaults to `-fno-common`. As a result, global
> variable accesses are more efficient on various targets. In
> C, global variables with multiple tentative definitions now
> result in linker errors. With `-fcommon` such definitions are
> silently merged during linking.
2020-05-10 21:37:59 +09:00
Nobuyoshi Nakada
dd830fab69
Fixed a typo
2020-05-10 18:40:47 +09:00
Nobuyoshi Nakada
42e8de8db9
Fix for cross_compiling
...
`RubyVM.each_builtin` is not defined when cross compiling.
2020-05-10 17:28:03 +09:00
Takashi Kokubun
967ae6278f
Run rb_syswait on exec failure
...
not only when !w but also when w == WAITPID_LOCK_ONLY.
See also: f7c0cc3692
and a226434206
.
We thought this change was an oversight in the latter commit.
Without this change, the test fails like:
$ make test-all TESTS="../test/ruby/test_process.rb -n test_exec_failure_leaves_no_child" RUN_OPTS="--jit"
...
1) Failure:
TestProcess#test_exec_failure_leaves_no_child [/home/k0kubun/src/github.com/ruby/ruby/test/ruby/test_process.rb:2493]:
Expected [[26799, #<Process::Status: pid 26799 exit 127>]] to be empty.
Co-Authored-By: Yusuke Endoh <mame@ruby-lang.org>
2020-05-10 00:59:55 -07:00
卜部昌平
50a6d292c0
nmake doesn't understand $<
...
Fix MSVC build error.
2020-05-10 16:51:10 +09:00
卜部昌平
4fca592e8c
delete mk_builtin_binary.rb
...
To generate what is necessary via generic_erb.rb instead.
2020-05-10 16:51:10 +09:00
卜部昌平
191cfcc407
delete mk_call_iseq_optimized.rb
...
To generate what is necessary via generic_erb.rb instead.
2020-05-10 16:51:10 +09:00
Takashi Kokubun
a6f8589914
Workaround a zombie process created by Open3
...
with MJIT worker enabled
The problem:
```
$ ruby -ropen3 --jit -e 'Open3.capture2e("cmake") rescue nil;binding.irb'
irb(main)[01:0]> Process.waitall
=> [[10656, #<Process::Status: pid 10656 exit 127>]]
$ ruby -ropen3 -e 'Open3.capture2e("cmake") rescue nil;binding.irb'
irb(main)[01:0]> Process.waitall
=> []
```
Not sure why it's happening yet, but first I'd like to prevent trunk-mjit-wait
from failing like http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2929075 .
2020-05-09 22:36:34 -07:00
git
18f22490e8
* 2020-05-10 [ci skip]
2020-05-10 14:19:58 +09:00
Yusuke Endoh
3bf0d2bb92
test/rubygems/test_gem_ext_cmake_builder.rb: make sure cmake available
...
just for a case. In addition, this change suppresses unused variable
warning.
2020-05-10 14:18:25 +09:00
卜部昌平
889b0fe46f
.github/workflows/compilers.yml: GCC 10.1 released
2020-05-09 22:24:57 +09:00
Nobuyoshi Nakada
883214f8e9
Use %w instead of %i not to create unused IDs
2020-05-09 20:13:30 +09:00
Yusuke Endoh
595e74ae4b
test/io/console/test_io_console.rb: Rescue Errno::ENXIO for Solaris
...
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20200509T100003Z.fail.html.gz
```
1) Failure:
TestIO_Console#test_failed_path [/export/home/users/chkbuild/cb-gcc/tmp/build/20200509T100003Z/ruby/test/io/console/test_io_console.rb:40]:
[Errno::ENODEV, Errno::ENOTTY, Errno::EBADF] exception expected, not #<Errno::ENXIO: No such device or address - /dev/null>.
```
2020-05-09 20:07:38 +09:00
Nobuyoshi Nakada
be575a6eef
[ruby/io-console] Use sys_fail_fptr macro
...
https://github.com/ruby/io-console/commit/2b8ba023c8
2020-05-09 17:05:14 +09:00
Hiroshi SHIBATA
7df6eaf29e
Addeed missing RSpec namespace
2020-05-09 16:58:21 +09:00
Nobuyoshi Nakada
581763d14c
[ruby/io-console] Fails with EBADF on mingw
...
https://github.com/ruby/io-console/commit/530cec574c
2020-05-09 14:51:43 +09:00
Nobuyoshi Nakada
d7a59e2ffe
[ruby/io-console] Expanded expected errors
...
May fail with ENOTTY instead of ENODEV.
https://github.com/ruby/io-console/commit/fe117b89e0
2020-05-09 14:46:08 +09:00
Kazuhiro NISHIYAMA
0a86679a7b
Fix a typo [ci skip]
2020-05-09 14:22:33 +09:00
Kazuhiro NISHIYAMA
4314c05377
Fix typos
2020-05-09 14:22:04 +09:00
Nobuyoshi Nakada
cc9bc14530
[ruby/io-console] Added test for failed path
...
https://github.com/ruby/io-console/commit/06a540f9b4
2020-05-09 13:57:04 +09:00
Nobuyoshi Nakada
0ce45db115
[ruby/io-console] Show path name at error
...
https://github.com/ruby/io-console/commit/6a4b1c1a6d
2020-05-09 13:56:55 +09:00
Nobuyoshi Nakada
5eb446d12f
mjit_worker.c: compile_compact_jit_code is not used on mingw
2020-05-09 13:46:47 +09:00
Nobuyoshi Nakada
1181edd54c
rbuninstall.rb: show paths without destdir as well as rbinstall.rb
2020-05-09 13:45:50 +09:00
Nobuyoshi Nakada
e88bb6a2f7
rbuninstall.rb: get rid of errors when prefix ends with "/."
2020-05-09 01:43:53 +09:00
Nobuyoshi Nakada
8830d60dae
rbuninstall.rb: print output record separator instead of $\
2020-05-09 01:40:40 +09:00
git
721060388e
* 2020-05-09 [ci skip]
2020-05-09 01:25:26 +09:00
Nobuyoshi Nakada
3333d02357
rbinstall.rb: get rid of installing duplicate files
...
Should not overwrite ext/rubyvm/lib/forwardable/impl.rb by
lib/forwardable/impl.rb.
2020-05-09 01:22:16 +09:00
Nobuyoshi Nakada
cc3352cc41
rbinstall.rb: record bundled gem files
2020-05-09 00:55:55 +09:00
Nobuyoshi Nakada
8a504b224f
Added GC guard for splatted array
2020-05-08 21:23:21 +09:00
Marc-Andre Lafortune
adf709a785
Classes made from Struct should have default `new` singleton method.
...
[Bug #16465 ] [Bug #16801 ]
[Fix GH-2795] [Fix GH-2944] [Fix GH-3045] [Fix GH-3093]
Note: Backporting shouldn't modify object.h and instead can use
struct_new_kw which is basically a duplicate implementation of
rb_class_new_instance_pass_kw
Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
Co-authored-by: John Hawthorn <john@hawthorn.email>
Co-authored-by: Adam Hess <HParker@github.com>
Co-authored-by: Jose Cortinas <jacortinas@gmail.com>
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2020-05-08 04:18:45 -04:00
Hiroshi SHIBATA
da345adc1c
`Open3.capture2e` raises exception when the command is not present.
2020-05-08 14:27:41 +09:00
Hiroshi SHIBATA
ac2c07e983
Revert "[rubygems/rubygems] Remove unneeded global teardown"
...
This reverts commit 93d1588c782ab9d61699f98b6c64d7f0ab8121c0.
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
ceacb06311
Revert "[rubygems/rubygems] Remove unneeded teardown"
...
This reverts commit 0da416ab170dbe1cbd530a5a7c5e8128910014b2.
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
20971d0df4
Revert "[rubygems/rubygems] Use a local temporary directory"
...
This reverts commit e98455f289047c43a733e61ac6317fb74b68de82.
2020-05-08 14:13:29 +09:00
David Rodríguez
07d4ad935d
[rubygems/rubygems] Remove unneeded teardown
...
Tests using credentials shouldn't be leaving side effects.
https://github.com/rubygems/rubygems/commit/975bcafdfc
2020-05-08 14:13:29 +09:00
David Rodríguez
93293043f1
[rubygems/rubygems] Remove unneeded global teardown
...
Instead, make each test cleanup after itself.
https://github.com/rubygems/rubygems/commit/e0aba9d64f
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
b9031b1043
[rubygems/rubygems] Restore the old .gemrc example for compatible tests
...
https://github.com/rubygems/rubygems/commit/c45d65a06d
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
4e436e605c
[rubygems/rubygems] Removed needless setup to clear credential
...
https://github.com/rubygems/rubygems/commit/4f694f4fb7
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
ab1b31ffe0
[rubygems/rubygems] Also added credential_setup to the some of tests
...
https://github.com/rubygems/rubygems/commit/2ac557d008
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
58af4c0a1f
[rubygems/rubygems] Split credential helper as credential_setup and use it
...
https://github.com/rubygems/rubygems/commit/b0c55c76ca
2020-05-08 14:13:29 +09:00