aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* rbinstall.rb: gem bindirnobu2016-09-081-1/+1
| | | | | | | * tool/rbinstall.rb (gem): use the bindir of each gemspec instead of hardcoded 'bin', since rdoc 5.0.0 overrides it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: install just one gemspec [ci skip]nobu2016-09-051-0/+1
| | | | | | | | * tool/rbinstall.rb (gem): install gemspec match with the directory only. some gems, (e.g., json) have multiple gemspec files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: install iff expected platforms [ci skip]nobu2016-09-041-0/+1
| | | | | | | * tool/rbinstall.rb (gem): install only gemspecs for expected platforms. e.g., ignore json-java.gemspec in json gem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: chdir to gem directory [ci skip]nobu2016-09-041-1/+5
| | | | | | | * tool/rbinstall.rb (gem): load gemspec files under each directories, since some gemspecs read files there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: prefix with space [ci skip]nobu2016-09-011-4/+4
| | | | | | | | * tool/rbinstall.rb (bin): exec via /bin/sh if the prefix contains space charaters, because shebang does not support that case in general. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: build_completenobu2016-08-311-1/+0
| | | | | | | | * ext/extmk.rb (create_makefile): make gem.build_complete file under TARGET_SO_DIR and install it only when the gem build succeeded. [ruby-core:77057] [Bug #12681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip failed gemsnobu2016-08-171-1/+8
| | | | | | | * tool/rbinstall.rb: skip gems which failed to build extensions. [ruby-dev:49764] [Bug #12683] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gem extensionsnobu2016-08-171-0/+13
| | | | | | | | * ext/extmk.rb: build gem extensions into separate directories * tool/rbinstall.rb: install pre-built gem extension files gem extension directories. [ruby-core:76931] [Bug #12681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: remove $GZIPnobu2016-08-171-0/+4
| | | | | | | * tool/make-snapshot: remove deprecated environment variable GZIP to its command line arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: UNICODE_VERSIONnobu2016-08-161-0/+2
| | | | | | | * tool/make-snapshot (package): propagate UNICODE_VERSION to make snapshot from the parent make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* open Unicode data in binary modenobu2016-08-161-1/+1
| | | | | | | | | * tool/enc-unicode.rb (data_foreach): open in binary mode because Unicode 9.0.0 contains non-ascii characters. * template/unicode_norm_gen.tmpl: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: separate unicode headersnobu2016-08-161-7/+0
| | | | | | | * common.mk (UNICODE_HDR_DIR): separate unicode header files from unicode data files. [ruby-core:76879] [Bug #12677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: save unicode headersnobu2016-08-161-0/+7
| | | | | | | * tool/make-snapshot (package): save generated header files from unicode data. [ruby-core:76879] [Bug #12677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: suppress warningsnobu2016-08-071-1/+1
| | | | | | * tool/vcs.rb (VCS#modified): get rid of set but unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: revisit the structure of frame, block and env.ko12016-07-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | [Bug #12628] This patch introduce many changes. * Introduce concept of "Block Handler (BH)" to represent passed blocks. * move rb_control_frame_t::flag to ep[0] (as a special local variable). This flags represents not only frame type, but also env flags such as escaped. * rename `rb_block_t` to `struct rb_block`. * Make Proc, Binding and RubyVM::Env objects wb-protected. Check [Bug #12628] for more details. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/unicode: check Unicode versionsnobu2016-07-151-0/+12
| | | | | | | * enc/unicode/case-folding.rb, tool/enc-unicode.rb: check if Unicode versions are consistent with each other. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc-unicode.rb: check Unicode versionnobu2016-07-141-7/+25
| | | | | | | * tool/enc-unicode.rb (data_foreach): check Unicode version in data files, and yield each lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: fix VPATH regexp [ci skip]nobu2016-07-141-1/+1
| | | | | | | | * tool/make-snapshot (package): replace nmake style VPATH in common.mk by regexp same as one for uncommon.mk, not to replace too much, BEGIN and END in awk and ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use keywordnobu2016-07-091-1/+1
| | | | | | | * tool/mkconfig.rb: use keyword true, instead of the toplevel constant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: fixed command alias bug.usa2016-07-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update-deps: exclude timestampsnobu2016-07-061-0/+2
| | | | | | | * tool/update-deps (concentrate): exclude timestamps for directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update-deps: for clangnobu2016-07-061-7/+15
| | | | | | | * tool/update-deps (read_single_cc_deps): clang may not include the current working directory name in .i files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* probes.dmyh: remove preprocessor directivesnobu2016-07-061-2/+2
| | | | | | | | | | * tool/gen_dummy_probes.rb: remove include and conditional directives from probes.dmyh which are removed by preprocessing. * common.mk: remove unnecessary dependencies on vm_opts.h via probes.dmyh. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool: add descriptions and fix typosnormal2016-07-0232-5/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tool/asm_parse.rb: add description * tool/change_maker.rb: ditto * tool/downloader.rb: ditto * tool/eval.rb: ditto * tool/expand-config.rb: ditto * tool/extlibs.rb: ditto * tool/fake.rb: ditto * tool/file2lastrev.rb: ditto * tool/gem-unpack.rb: ditto * tool/gen_dummy_probes.rb: ditto * tool/gen_ruby_tapset.rb: ditto * tool/generic_erb.rb: ditto * tool/id2token.rb: ditto * tool/ifchange: ditto * tool/insns2vm.rb: ditto * tool/instruction.rb: ditto * tool/jisx0208.rb: ditto * tool/merger.rb: ditto * tool/mkrunnable.rb: ditto * tool/node_name.rb: ditto * tool/parse.rb: ditto * tool/rbinstall.rb: ditto * tool/rbuninstall.rb: ditto * tool/rmdirs: ditto * tool/runruby.rb: ditto * tool/strip-rdoc.rb: ditto * tool/vcs.rb: ditto * tool/vtlh.rb: ditto * tool/ytab.sed: ditto * tool/enc-unicode.rb: fix typo * tool/mk_call_iseq_optimized.rb: ditto * tool/update-deps: ditto [ruby-core:76215] [Bug #12539] by Noah Gibbs <the.codefolio.guy@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Unicode Version in RbConfignobu2016-06-141-0/+4
| | | | | | | | * tool/mkconfig.rb: provide Unicode Version information as RbConfig::CONFIG['UNICODE_VERSION']. [ruby-core:75845] [Feature #12460] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ifchange: fix timestamp error when target without directory.kazu2016-06-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: ifchange for mkconfig.rbnobu2016-06-091-28/+0
| | | | | | | | * common.mk (RBCONFIG): use ifchange tool to see if the content is changed and update the timestamp file. * tool/mkconfig.rb: remove ifchange features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ifchange: make target directorynobu2016-06-091-9/+9
| | | | | | | * tool/ifchange: make target directory if it does not exist with its parent directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fake.rb: buildlibdirnobu2016-05-251-1/+2
| | | | | | | * tool/fake.rb: set "buildlibdir" to the build directory, instead of "builddir" which is filterd by MakeMakefile#configuration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: disable verify if rubygems is oldnobu2016-05-181-6/+14
| | | | | | | | * tool/downloader.rb (Downloader::RubyGems.download): verify gems only if RubyGems is 2.4 or later. old RubyGems fails to verify almost all of bundled gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/instruction.rb: fix to follow current implementation.naruse2016-04-271-10/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb (rel): should not raise exceptions even ifusa2016-04-261-1/+1
| | | | | | | the user input is wrong. only reports the error and continue process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: use FileUtile.rm_f to fix an error on missing temporary file.nagachika2016-04-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: the fullpath of merger.rb is too long tousa2016-04-221-1/+1
| | | | | | | | copy&paste on Windows. show shorter name instead on the platform. I'm sure that the user of this command on Windows is only me. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: remove temporary file.usa2016-04-221-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ifchange: ignore unmatch TEST_COLORSnobu2016-04-211-3/+3
| | | | | | | | | * configure.in: check if succeeded in creating config.h. * tool/ifchange: ignore failures when TEST_COLORS unmatched. just use the default value if expected name is not contained in it. [ruby-core:75046] [Bug #12303] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: revisions are strings.nagachika2016-04-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: sort revisions.nagachika2016-04-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fake.rb: set extoutnobu2016-04-071-0/+2
| | | | | | | * tool/fake.rb (prehook): set "extout" in RbConfig to configure extension libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/downloader.rb (RubyGems.download): follow the change of theusa2016-04-061-1/+1
| | | | | | | rubygems ssl_certs directory tree introduced by previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* improve git repository detectionnobu2016-04-012-10/+16
| | | | | | | | | | | | | | * configure.in (AC_CONFIG_FILES): $srcdir/.git can be a file pointing the real git_dir, such as when the git working tree is a "linked working tree" (a working tree created by git-worktree). So use git-rev-parse --git-dir to check if $srcdir is the top-level of a git repository, not just checking if the $srcdir/.git directory does exist or not. [ruby-core:74759] [Bug #12239] * tool/change_maker.rb: use tool/vcs.rb to detect VCS. This used to have its own VCS detection code, while we have tool/vcs.rb. * tool/vcs.rb (detect): remove code duplication git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/release.sh: BRE accepts \{m,\} expression. use it for future many-digitsusa2016-04-011-1/+1
| | | | | | | version numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/release.sh: two-digit version number support.usa2016-03-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb (version): version number may be two-digit.usa2016-03-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb: add given revision to current changestsnaruse2016-03-291-2/+3
| | | | | | on associating the revision to the related ticket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: update revision.h before merge.naruse2016-03-291-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb (backport): show merger.rb's path.naruse2016-03-291-5/+20
| | | | | | | | | | * tool/redmine-backporter.rb (show): show current issue again if no ticket number is given. * tool/redmine-backporter.rb (rel): show error message if current bugs.ruby-lang.org doesn't support the API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/merger.rb: support to backport header as backport identifier.naruse2016-03-291-4/+8
| | | | | | Now you can specify by 'merge revision(s) 49254: [Backport #10738]'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gen_dummy_probes.rb: argument namesnobu2016-03-271-8/+9
| | | | | | * tool/gen_dummy_probes.rb: preserve macro argument names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: explicit addressnobu2016-03-261-5/+5
| | | | | | | * compile.c (prepare_compile_error): add & to explicit address of functions to suppress warnings by old VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e