summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2020-01-13test-bundled-gems.rb: Use real paths for symlinksNobuyoshi Nakada
2020-01-12vcs.rb: Allow to empty a part in commit logNobuyoshi Nakada
2020-01-12Make rss library to the bundle gemsHiroshi SHIBATA
[Feature #16485][ruby-core:96683] Notes: Merged: https://github.com/ruby/ruby/pull/2832
2020-01-12Make rexml library to the bundle gemsHiroshi SHIBATA
[Feature #16485][ruby-core:96683] Notes: Merged: https://github.com/ruby/ruby/pull/2832
2020-01-10Update the upstream repository of bundlerHiroshi SHIBATA
2020-01-09vcs.rb: Get rid of Kernel#openNobuyoshi Nakada
2020-01-07Disable IPv6 on Travis s390x case. (#2819)Jun Aruga
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. ```
2019-12-31Redmine /projects/ruby-trunk is now redirectedTakashi Kokubun
to /projects/ruby-master
2019-12-31Test the bundled version minitest instead of masterNobuyoshi Nakada
Minitest has the released tags now. Notes: Merged: https://github.com/ruby/ruby/pull/2801
2019-12-29Separate builtin initialization callsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2792
2019-12-27Add check_warning_flags to leakcheckerKazuhiro NISHIYAMA
2019-12-26decouple 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). Notes: Merged: https://github.com/ruby/ruby/pull/2711
2019-12-25fix version regexpNARUSE, Yui
2019-12-25fix typoNARUSE, Yui
2019-12-23Fixed a typo in an exception class nameNobuyoshi Nakada
2019-12-23make-snapshot: fixed modeNobuyoshi Nakada
"X" must be used in conjunction with "+".
2019-12-23Fix typo in commit logs by log-fix notesNobuyoshi Nakada
2019-12-22Move stats under a dictNARUSE, Yui
2019-12-20use UTC to use previous day in midnightNARUSE, Yui
2019-12-20Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
2019-12-17Squelch filter-branch warning and sleepingNobuyoshi Nakada
2019-12-16Use CDN instead of raw.githubusercontent.comKazuhiro NISHIYAMA
2019-12-16Fix open without close [ci skip]Kazuhiro NISHIYAMA
2019-12-15tool/gen-mailmap.rb: odaira is removed as he is added in upstreamYusuke Endoh
https://github.com/ruby/ruby-commit-hook/commit/ddc83bea6fe6f4696e140b605db10ef0c922bba6
2019-12-15tool/gen-mailmap.rb: Added for generating git `.mailmap` fileYusuke Endoh
`.mailmap` can be used To show canonical names and email addresses. It is helpful for statistics of committers.
2019-12-13readable function names for inline functions.Koichi Sasada
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-12implement make test-all TESTS=--gc-compact卜部昌平
79eb5e1acac2339c6ec71db723298bdfcd92b233 implemented RUBY_TEST_GC_COMPACT=1 so why not make it also possible via the command line argument.
2019-12-12support gc_compact_checker on parallel test.Koichi Sasada
2019-12-11Make sure we don't push MOVED or NONE on the stackAaron Patterson
2019-12-12call GC.compact after each test.Koichi Sasada
RUBY_TEST_GC_COMPACT=1 enables GC.compact checker which calls GC.compact after each test.
2019-12-11Try to use `set-output`Kazuhiro NISHIYAMA
because commit info are not necessary in env.
2019-12-11Update tool/mk_builtin_binary.rbKoichi Sasada
Co-Authored-By: Sutou Kouhei <kou@cozmixng.org> Notes: Merged: https://github.com/ruby/ruby/pull/2735
2019-12-11support cross-compilation.Koichi Sasada
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. Notes: Merged: https://github.com/ruby/ruby/pull/2735
2019-12-11remove prelude.cKoichi Sasada
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. Notes: Merged: https://github.com/ruby/ruby/pull/2735
2019-12-10Added the missing gemspec of raccHiroshi SHIBATA
2019-12-07Show failed commits only when existsaycabta
2019-12-05Introduce an "Inline IVAR cache" structAaron Patterson
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-04MJIT_CC and MJIT_SUPPORT are not a prefixTakashi Kokubun
0b19e15a1239bff9ae854f522f954206ec910cf8 was also for "MJIT_SUPPORT" too.
2019-12-04Prefer using MJIT_CC for JIT support checkTakashi Kokubun
because Solaris might have CC=cc and we'd like to check full path MJIT_CC=/opt/developerstudio12.5/bin/cc instead.
2019-12-04Make TracePoint.stat a singleton method again (#2726)Alan Wu
[Bug #16399] Notes: Merged-By: XrXr
2019-12-03tool/lib/test/unit/parallel.rb: fail explicitly when failing to get ioYusuke Endoh
`(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-11-30Promote did_you_mean to default gemKevin Deisz
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. Notes: Merged: https://github.com/ruby/ruby/pull/2689
2019-12-01[ruby/fileutils] Fix test failure under ruby 2.4David Rodríguez
`Exception#full_message` is only defined on ruby 2.5.0 and above. https://github.com/ruby/fileutils/commit/a8968f41ed
2019-12-01[ruby/fileutils] Fix error printing test failureDavid Rodríguez
`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-11-30Add to support the single commit for sync_default_gems.rbHiroshi SHIBATA
2019-11-30Remove e2mmap from sync_default_gems.rbHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699
2019-11-28Use more template feature of w.r-l.oNARUSE, Yui
2019-11-27rename __builtin_inline!(code) and introduce others.Koichi Sasada
rename __builtin_inline!(code) to __builtin_cstmt(code). Also this commit introduce the following inlining C code features. * __builtin_cstmt!(STMT) (renamed from __builtin_inline!) Define a function which run STMT implicitly and call this function at evatuation time. Note that you need to return some value in STMT. If there is a local variables (includes method parameters), you can read these values. static VALUE func(ec, self) { VALUE x = ...; STMT } Usage: def double a # a is readable from C code. __builtin_cstmt! 'return INT2FIX(FIX2INT(a) * 2);' end * __builtin_cexpr!(EXPR) Define a function which invoke EXPR implicitly like `__builtin_cstmt!`. Different from cstmt!, which compiled with `return EXPR;`. (`return` and `;` are added implicitly) static VALUE func(ec, self) { VALUE x = ...; return EXPPR; } Usage: def double a __builtin_cexpr! 'INT2FIX(FIX2INT(a) * 2)' end * __builtin_cconst!(EXPR) Define a function which invoke EXPR implicitly like cexpr!. However, the function is called once at compile time, not evaluated time. Any local variables are not accessible (because there is no local variable at compile time). Usage: GCC = __builtin_cconst! '__GNUC__' * __builtin_cinit!(STMT) STMT are writtein in auto-generated code. This code does not return any value. Usage: __builtin_cinit! '#include <zlib.h>' def no_compression? __builtin_cconst! 'Z_NO_COMPRESSION ? Qtrue : Qfalse' end
2019-11-26Write rbinc files to the source directoryNobuyoshi Nakada
Update the target file itself of the dependency on this script. Fall back to the current working directory if unwritable.
2019-11-26Add sync task for ruby/opensslHiroshi SHIBATA