Koichi Sasada
4414031735
extend timeout of rbs test on rbs tests
2020-10-21 17:59:03 +09:00
Hiroshi SHIBATA
3f97940252
Followed up with 708413807a
...
* Added sync task for digest
* Update doc/* for default gems
* Update the latest version of gemspec
2020-10-19 18:56:19 +09:00
Koichi Sasada
f6661f5085
sync RClass::ext::iv_index_tbl
...
iv_index_tbl manages instance variable indexes (ID -> index).
This data structure should be synchronized with other ractors
so introduce some VM locks.
This patch also introduced atomic ivar cache used by
set/getinlinecache instructions. To make updating ivar cache (IVC),
we changed iv_index_tbl data structure to manage (ID -> entry)
and an entry points serial and index. IVC points to this entry so
that cache update becomes atomically.
2020-10-17 08:18:04 +09:00
Koichi Sasada
fad97f1f96
sync generic_ivtbl
...
generic_ivtbl is a process global table to maintain instance variables
for non T_OBJECT/T_CLASS/... objects. So we need to protect them
for multi-Ractor exection.
Hint: we can make them Ractor local for unshareable objects, but
now it is premature optimization.
2020-10-14 16:36:55 +09:00
Hiroshi SHIBATA
9aab916990
Promote pathname to default gems
2020-10-14 14:42:53 +09:00
Hiroshi SHIBATA
1e316edf60
Promote drb to the default gems
2020-10-14 14:42:53 +09:00
Soutaro Matsumoto
02e17d473a
Let bundled_gems specify commits to test ( #3641 )
2020-10-09 18:41:20 +09:00
Hiroshi SHIBATA
533bca57e0
Expose assert, assert_respond_to and assert_not_respond_to for default gems.
2020-10-08 16:40:46 +09:00
Hiroshi SHIBATA
0f9edf2f48
Promote prettyprint to default gems
2020-10-08 16:40:46 +09:00
Hiroshi SHIBATA
2711e3bab9
Promote pp to default gems
2020-10-08 16:40:46 +09:00
Kazuhiro NISHIYAMA
f9df340a6a
Remove unused commit_info
2020-10-06 11:41:17 +09:00
Nobuyoshi Nakada
82f496a84b
Put an empty line before the original URL
...
Even if the raw commit log does not end with a newline.
Suggested to use `grep` by znz.
Co-Authored-By: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2020-10-05 17:32:36 +09:00
Nobuyoshi Nakada
ef4ba517e4
Adjusted default gems paths
...
* sync_default_gems.rb (sync_lib): sync from the same directory as
sync_default_gems.
2020-10-04 22:55:27 +09:00
Aaron Patterson
0767d387ec
Pass ASAN options to child environments
...
I want to work with ASAN, but some child environments are not inheriting
the ASAN options I'm using. This commit passes them to child
environments if specified
2020-09-28 09:45:04 -07:00
Nobuyoshi Nakada
996af2ce08
Disable deprecation warning by the default [Feature #16345 ]
...
And `-w` option turns it on.
2020-09-25 09:50:33 +09:00
Hiroshi SHIBATA
ba889100d8
Bundle rbs gem as bundled gems ( #3496 )
...
* Added rbs as bundled gems
* Added the missing dependencies for rbs gem
2020-09-23 10:59:49 +09:00
Hiroshi SHIBATA
6dd257ed1e
Added sync task for bigdecimal
2020-09-18 18:47:52 +09:00
Hiroshi SHIBATA
3d86f7a37c
The executable file of erb is under the libexec on ruby/erb repo
2020-09-18 18:44:46 +09:00
Nobuyoshi Nakada
9fbbbadc96
Added just working Test::Unit::CoreAssertions#diff
...
This is not "diff", but show expected and actual results both,
just to get rid of `NoMethodError` when an assertion failed.
2020-09-14 18:19:40 +09:00
Hiroshi SHIBATA
6042b7433d
Promote time.rb to default gems
2020-09-12 08:29:06 +09:00
Hiroshi SHIBATA
01e0d74965
Promote resolv-replace to default gems
2020-09-11 22:01:08 +09:00
Hiroshi SHIBATA
e0675b1c76
Promote resolv to default gems
2020-09-11 21:50:07 +09:00
Hiroshi SHIBATA
d1851ba5b9
Promote securerandom to default gems
2020-09-11 21:15:25 +09:00
Hiroshi SHIBATA
2f24818319
Promote open-uri to default gems
2020-09-11 20:38:18 +09:00
Nobuyoshi Nakada
0d78390bfb
rbinstall.rb: OpenStruct has not been needed for years
...
Since 6f3e8df133
in 2014.
2020-09-11 13:26:20 +09:00
Hiroshi SHIBATA
867204c4a5
Promote syslog to default gems
2020-09-10 20:42:53 +09:00
Hiroshi SHIBATA
cf76a4a5c2
Promote base64 to default gems
2020-09-10 18:56:17 +09:00
Hiroshi SHIBATA
cf681038d6
Promote shellwords to default gems
2020-09-10 18:56:17 +09:00
Hiroshi SHIBATA
cee8e95761
Promote abbrev to default gems
2020-09-10 18:56:16 +09:00
Hiroshi SHIBATA
01828a955a
Promote tsort to default gems
2020-09-09 21:53:09 +09:00
Hiroshi SHIBATA
b194973dcd
Revert the related commits about `Tempfile.open` change.
...
Start with fa21985a7a
to d7492a0be8
2020-09-09 21:10:48 +09:00
Nobuyoshi Nakada
dd83d0c599
update-deps: ruby-runner is not a target
2020-09-05 23:16:23 +09:00
Koichi Sasada
79df14c04b
Introduce Ractor mechanism for parallel execution
...
This commit introduces Ractor mechanism to run Ruby program in
parallel. See doc/ractor.md for more details about Ractor.
See ticket [Feature #17100 ] to see the implementation details
and discussions.
[Feature #17100 ]
This commit does not complete the implementation. You can find
many bugs on using Ractor. Also the specification will be changed
so that this feature is experimental. You will see a warning when
you make the first Ractor with `Ractor.new`.
I hope this feature can help programmers from thread-safety issues.
2020-09-03 21:11:06 +09:00
Alan Wu
4c3f0597de
Remove the pc argument of vm_trace()
...
This makes the binary 272 bytes smaller on -O3 GCC 10.2.0.
2020-09-01 22:02:29 -04:00
David Rodríguez
6b43200948
Fix syncing bundler man pages
...
`rm_rf` does not support globbing, so not all files get deleted.
2020-09-01 21:18:15 +09:00
Benoit Daloze
e8c3872555
Simplify Tempfile.open calls with a block as they now unlink the file automatically
2020-08-29 12:23:23 +02:00
Benoit Daloze
232d6c4077
Use a constant instead of a global variable in sync_default_gems.rb
2020-08-29 11:51:05 +02:00
Hiroshi SHIBATA
2e3a7f70ae
Promote nkf to default gems
2020-08-25 21:17:19 +09:00
Hiroshi SHIBATA
8c97883b73
Promote erb to default gems
2020-08-21 20:18:44 +09:00
Hiroshi SHIBATA
bc374e5cea
Promote rinda to default gems
2020-08-21 18:10:03 +09:00
Hiroshi SHIBATA
dfda2f739b
Promote find to default gems
2020-08-20 21:00:53 +09:00
Hiroshi SHIBATA
8a40e9b5a2
Promote set to default gems
2020-08-20 12:39:11 +09:00
Nobuyoshi Nakada
7806b2e28b
Use colorize.rb for non-capable terminals
2020-08-11 18:35:08 +09:00
Nobuyoshi Nakada
2e7fe3b687
Add default color for each instance
2020-08-11 18:35:07 +09:00
卜部昌平
acd8ee8dbc
tool/prelude.c.tmpl: use RubyVM::CEscape
...
Do not repeat yourself.
2020-08-11 16:51:07 +09:00
卜部昌平
b0eb5aa344
RubyVM::CEscape#rstring2cstr: do not escape '
...
A single quote "is representable either by itself or by the escape
sequence", according to ISO/IEC 9899 (checked all versions). So this is
not a bug fix. But the generated output is a bit readable without
backslashes.
2020-08-11 16:51:07 +09:00
Hiroshi SHIBATA
8f71bb0e4f
Fixed the inconsistency gemspec location with net-* gems.
2020-08-05 20:01:03 +09:00
Hiroshi SHIBATA
2346e2f0db
Followed up b2d96abb42
for net-ftp.
2020-08-03 17:40:05 +09:00
Hiroshi SHIBATA
2bd1f827f1
Promote io-nonblock to the default gems.
2020-07-30 21:21:08 +09:00
Hiroshi SHIBATA
d75b42a70a
Promote io-wait to the default gems
2020-07-30 21:10:28 +09:00