Граф коммитов

1821 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 33d02e6bc7
Skip empty directories to install [Bug #16596] 2020-01-28 10:04:25 +09:00
Hiroshi SHIBATA aacd918340
Do not use `git pull` because origin/master was already fetched. 2020-01-26 07:40:56 +09:00
Hiroshi SHIBATA da2d6ca8f1
Show the repository name before update task 2020-01-26 07:38:20 +09:00
Hiroshi SHIBATA 9e3bfed53c
Added usage documentation for sync_default_gems 2020-01-22 16:02:10 +09:00
aycabta cdaae38f79 Use gem name to specify 2020-01-22 13:44:49 +09:00
Nobuyoshi Nakada 496f295f91
Test bundled gems with timeout 2020-01-19 11:35:10 +09:00
Nobuyoshi Nakada f43940633d
test-bundled-gems.rb: Use real paths for symlinks 2020-01-13 12:27:24 +09:00
Nobuyoshi Nakada b34f39e860
vcs.rb: Allow to empty a part in commit log 2020-01-12 19:43:59 +09:00
Hiroshi SHIBATA 83240f315a Make rss library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA c3ccf23d58 Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA e04366056a
Update the upstream repository of bundler 2020-01-10 22:56:46 +09:00
Nobuyoshi Nakada d254d5563e
vcs.rb: Get rid of Kernel#open 2020-01-09 10:04:22 +09:00
Jun Aruga f132825ffa Disable IPv6 on Travis s390x case. (#2819)
This fixes following error that sometimes happens once in a few times
on Travis s390x environment.

```
$ tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
+ sudo -E apt-add-repository -y ppa:ubuntu-toolchain-r/test
Error: retrieving gpg key timed out.
```
2020-01-07 12:23:04 +09:00
Takashi Kokubun afd3f64f8c
Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master
2019-12-31 22:06:19 -08:00
Nobuyoshi Nakada 26ee0af4b3
Test the bundled version minitest instead of master
Minitest has the released tags now.
2019-12-31 17:49:26 +09:00
Nobuyoshi Nakada d7bef803ac Separate builtin initialization calls 2019-12-29 12:34:55 +09:00
Kazuhiro NISHIYAMA 729b7ce270
Add check_warning_flags to leakchecker 2019-12-27 13:06:31 +09:00
卜部昌平 5e22f873ed decouple internal.h headers
Saves comitters' daily life by avoid #include-ing everything from
internal.h to make each file do so instead.  This would significantly
speed up incremental builds.

We take the following inclusion order in this changeset:

1.  "ruby/config.h", where _GNU_SOURCE is defined (must be the very
    first thing among everything).
2.  RUBY_EXTCONF_H if any.
3.  Standard C headers, sorted alphabetically.
4.  Other system headers, maybe guarded by #ifdef
5.  Everything else, sorted alphabetically.

Exceptions are those win32-related headers, which tend not be self-
containing (headers have inclusion order dependencies).
2019-12-26 20:45:12 +09:00
NARUSE, Yui 1002de58ec fix version regexp 2019-12-25 18:02:53 +09:00
NARUSE, Yui a1018b2c5f fix typo 2019-12-25 17:01:26 +09:00
Nobuyoshi Nakada 5de284ec78
Fixed a typo in an exception class name 2019-12-23 10:37:30 +09:00
Nobuyoshi Nakada 5f18635a80
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
2019-12-23 10:10:23 +09:00
Nobuyoshi Nakada 80d5d220b9
Fix typo in commit logs by log-fix notes 2019-12-23 09:29:05 +09:00
NARUSE, Yui 3a29f05ba5 Move stats under a dict 2019-12-22 02:51:22 +09:00
NARUSE, Yui 216b62aa87 use UTC to use previous day in midnight 2019-12-20 14:10:57 +09:00
Nobuyoshi Nakada db16629008
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
2019-12-20 09:32:42 +09:00
Nobuyoshi Nakada 1b86309b04
Squelch filter-branch warning and sleeping 2019-12-17 23:38:18 +09:00
Kazuhiro NISHIYAMA 6545d5bbb9
Use CDN instead of raw.githubusercontent.com 2019-12-16 16:59:23 +09:00
Kazuhiro NISHIYAMA 8b921813aa
Fix open without close [ci skip] 2019-12-16 16:58:21 +09:00
Yusuke Endoh eeb99fb525 tool/gen-mailmap.rb: odaira is removed as he is added in upstream
ddc83bea6f
2019-12-15 22:19:45 +09:00
Yusuke Endoh 48bab6fe1e tool/gen-mailmap.rb: Added for generating git `.mailmap` file
`.mailmap` can be used To show canonical names and email addresses.
It is helpful for statistics of committers.
2019-12-15 22:06:13 +09:00
Koichi Sasada 97a17a51b8 readable function names for inline functions.
Now, C functions written by __builtin_cexpr!(code) and others are
named as "__builtin_inline#{n}". However, it is difficult to know
what the function is. This patch rename them into
"__builtin_foo_#{lineno}" when cexpr! is in 'foo' method.
2019-12-13 17:55:45 +09:00
卜部昌平 12de92a368 implement make test-all TESTS=--gc-compact
79eb5e1aca implemented
RUBY_TEST_GC_COMPACT=1 so why not make it also possible via the command
line argument.
2019-12-12 11:13:42 +09:00
Koichi Sasada 27ac034f19 support gc_compact_checker on parallel test. 2019-12-12 04:27:06 +09:00
Aaron Patterson 7dbbba38a0
Make sure we don't push MOVED or NONE on the stack 2019-12-11 11:07:15 -08:00
Koichi Sasada 79eb5e1aca call GC.compact after each test.
RUBY_TEST_GC_COMPACT=1 enables GC.compact checker which calls
GC.compact after each test.
2019-12-12 03:32:12 +09:00
Kazuhiro NISHIYAMA 7fa821a80d
Try to use `set-output`
because commit info are not necessary in env.
2019-12-11 14:03:30 +09:00
Koichi Sasada bbbf451bff Update tool/mk_builtin_binary.rb
Co-Authored-By: Sutou Kouhei <kou@cozmixng.org>
2019-12-11 11:24:42 +09:00
Koichi Sasada 40026a408d support cross-compilation.
On cross-compilation, compiled binary can no be created because
compiled binary should be created by same interpreter (on cross-
compilation, host ruby is used to build ruby (BASERUBY)).
So that cross-compilation system loads required scripts in text.
It is same as miniruby.
2019-12-11 11:24:42 +09:00
Koichi Sasada 9c2807b2df remove prelude.c
prelude.c is an automatically generated file by template/prelude.c.tmpl.
However it does not contain any required functions. So remove it from
dependency.

Also miniprelude.c is included by mini_builtin.c and does not need
to make miniprelude.o.
2019-12-11 11:24:42 +09:00
Hiroshi SHIBATA 43544f8617
Added the missing gemspec of racc 2019-12-10 17:03:13 +09:00
aycabta be13b897ea Show failed commits only when exists 2019-12-07 22:02:24 +09:00
Aaron Patterson 2c8d186c6e
Introduce an "Inline IVAR cache" struct
This commit introduces an "inline ivar cache" struct.  The reason we
need this is so compaction can differentiate from an ivar cache and a
regular inline cache.  Regular inline caches contain references to
`VALUE` and ivar caches just contain references to the ivar index.  With
this new struct we can easily update references for inline caches (but
not inline var caches as they just contain an int)
2019-12-05 13:37:02 -08:00
Takashi Kokubun 72cff5f3af
MJIT_CC and MJIT_SUPPORT are not a prefix
0b19e15a12 was also for "MJIT_SUPPORT"
too.
2019-12-04 22:18:43 -08:00
Takashi Kokubun 5fbb4555b4
Prefer using MJIT_CC for JIT support check
because Solaris might have CC=cc and we'd like to check full path
MJIT_CC=/opt/developerstudio12.5/bin/cc instead.
2019-12-04 22:16:08 -08:00
Alan Wu df76f2c577
Make TracePoint.stat a singleton method again (#2726)
[Bug #16399]
2019-12-04 21:02:21 -05:00
Yusuke Endoh 409e4ab740 tool/lib/test/unit/parallel.rb: fail explicitly when failing to get io
`(ulimit -n 30; make test-tool)` fails with unexplicit message:
"undefined method `write' for nil:NilClass" due to lack of stdout.

This change makes it explicit.  [Bug #5577]
2019-12-03 17:26:12 +09:00
Kevin Deisz 171803d5d3 Promote did_you_mean to default gem
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details.
2019-11-30 21:08:19 -05:00
David Rodríguez a2fc6a51dd [ruby/fileutils] Fix test failure under ruby 2.4
`Exception#full_message` is only defined on ruby 2.5.0 and above.

https://github.com/ruby/fileutils/commit/a8968f41ed
2019-12-01 08:23:05 +09:00
David Rodríguez fa0f3eff22 [ruby/fileutils] Fix error printing test failure
`exception_details` is not defined anywhere.

This commit fixes the following test crash in ruby 2.4

```
Error: test_assert_output_lines(TestFileUtils): NoMethodError: undefined method `exception_details' for #<TestFileUtils:0x00005556ef699178>
```

And replaces it with an actual test failure:

```
[Test::Unit::CoreAssertions::MiniTest::Assertion] exception expected, not #<NoMethodError: undefined method `full_message' for #<RuntimeError: ok>
Did you mean?  message>.
```

https://github.com/ruby/fileutils/commit/2f38ba6e82
2019-12-01 08:22:37 +09:00