summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2016-11-30Regexp supports Unicoe 9.0.0's \Xnaruse
* meta character \X matches Unicode 9.0.0 characters with some workarounds for UTR #51 Unicode Emoji, Version 4.0 emoji zwj sequences. [Feature #12831] [ruby-core:77586] The term "character" can have many meanings bytes, codepoints, combined characters, and so on. "grapheme cluster" is highest one of such words, which means user-perceived characters. Unicode Standard Annex #29 UNICODE TEXT SEGMENTATION specifies how to handle grapheme clusters (extended grapheme cluster). But some specs aren't updated to current situation because Unicode Emoji is rapidly extended without well definition. It breaks the precondition of UTR#29 "Grapheme cluster boundaries can be easily tested by looking at immediately adjacent characters". (the sentence will be removed in the next version) Though some of its detail are described in Unicode Technical Report #51 UNICODE EMOJI but it is not merged into UTR#29 yet. http://unicode.org/reports/tr29/ http://unicode.org/reports/tr51/ http://unicode.org/Public/emoji/4.0/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-29get rid of ambiguous parentheses warningsnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-17mkconfig.rb: add a magic comment to rbconfig.rbshugo
* tool/mkconfig.rb: add a magic comment to rbconfig.rb in case the command line option -K is specified. [ruby-core:78181] [Bug #12949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-11fix a constant name typo in redmine-backporter.rbnagachika
[ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-10make-snapshot: repository optionsnobu
* tool/make-snapshot: add -svn and -git options to direct the repository to export. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-10make-snapshot: program namenobu
* tool/make-snapshot (package): abort with the basename of this script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-08vcs.rb: fix GIT.get_revisionsnobu
* tool/vcs.rb (VCS::GIT.get_revisions): fix for out-of-place build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-08vcs.rb: format from git-lognobu
* tool/vcs.rb (VCS::GIT#export_changelog): re-format from git-log to svn style log, instead of git-svn, because cloned working directory would not have .git/svn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-08vcs.rb: expand srcdirnobu
* tool/vcs.rb (VCS::GIT#initialize): expand srcdir if it is a local path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-08vcs.rb: fix srcdir in VCS::GITnobu
* tool/vcs.rb (VCS::GIT.cmd_args): add chdir option to arguments for IO.popen if srcdir is a local path. unless -srcdir command line option is given, srcdir is the default URL. [ruby-core:78036] [Bug #12908] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07vcs.rb: suppress warningnobu
* tool/vcs.rb (DebugPOpen): suppress refinements warning in 2.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07vcs.rb: exclude beginning revisionnobu
* tool/make-snapshot: pass the last revision in the last ChangeLog file without increment. * tool/vcs.rb (export_changelog): exclude the beginning revision of the range uniformly. svn log includes it, but git log not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07vcs.rb: unnecessary argumentsnobu
* tool/make-snapshot: $srcdir is optional. * tool/vcs.rb (export_changelog): remove unnecessary arguments. VCS should know srcdir and url. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07vcs.rb: use chdir optionnobu
* tool/vcs.rb (export_changelog): for old git, use chdir option instead of git -C option, and set language environmets to C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07make-snapshot: sort globbed resultsnobu
* tool/make-snapshot (package): globbed results order is undefined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07vcs.rb: popen with envnobu
* tool/vcs.rb (IO.popen): support passing environment variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06remove debug sleep & exitnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06* tool/vcs.rb (export_changelog): generate ChangeLog file fromnaruse
vcs's log. [Feature #12283] * tool/make-snapshot (package): overwrite ChangeLog by generated ChangeLog. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05mkconfig.rb: trailing spacenobu
* tool/mkconfig.rb: [DOC] remove trailing space from a generated line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05* tool/mkconfig.rb: [DOC] add rbconfig documentation.sho-h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28transcode-tblgen.rb: dup literal stringnobu
* tool/transcode-tblgen.rb: get rid of modifying frozen literal string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-27* tool/redmine-backporter.rb (rel): check the exception and show rightusa
message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-17install-static-library option [ci skip]nobu
* configure.in (install-static-library): add option to enable/ disable to install static ruby library. defaulted to "no" if enable-shared. [Feature #12845] * tool/rbinstall.rb (local-arch-lib): respect the option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-12* tool/downloader.rb: Removed verification of gem certification.hsbt
Because signed gem is not working on rubygems ecosystem. * tool/gem-unpack.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-06Fix cmd is referenced but not assignedkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-06bisect.sh: improvenobu
* tool/bisect.sh: make srcs before building. * tool/bisect.sh: quote expansions. * tool/bisect.sh: skip build if chdir and Makefile failed. * tool/bisect.sh: fail at unknown command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-26rbinstall.rb: don't install gemspec for skipped librariesrhe
* tool/rbinstall.rb (gem): Don't install gemspec if no files will be installed for the gem. This happens when the extension library is not compiled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-24install extra librariesnobu
* ext/extmk.rb (extract_makefile, extmake, configuration): store extra libraries to be installed. * tool/rbinstall.rb (ext-arch): install extra libraries. * ext/zlib/extconf.rb: install zlib if built. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-23Add support for the `Lk` macro to tool/mdoc2man.rbknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-08rbinstall.rb: gem bindirnobu
* 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
2016-09-05rbinstall.rb: install just one gemspec [ci skip]nobu
* 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
2016-09-04rbinstall.rb: install iff expected platforms [ci skip]nobu
* 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
2016-09-04rbinstall.rb: chdir to gem directory [ci skip]nobu
* 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
2016-09-01rbinstall.rb: prefix with space [ci skip]nobu
* 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
2016-08-31extmk.rb: build_completenobu
* 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
2016-08-17skip failed gemsnobu
* 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
2016-08-17gem extensionsnobu
* 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
2016-08-17make-snapshot: remove $GZIPnobu
* 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
2016-08-16make-snapshot: UNICODE_VERSIONnobu
* 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
2016-08-16open Unicode data in binary modenobu
* 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
2016-08-16common.mk: separate unicode headersnobu
* 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
2016-08-16make-snapshot: save unicode headersnobu
* 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
2016-08-07vcs.rb: suppress warningsnobu
* 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
2016-07-28* vm_core.h: revisit the structure of frame, block and env.ko1
[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
2016-07-15enc/unicode: check Unicode versionsnobu
* 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
2016-07-14enc-unicode.rb: check Unicode versionnobu
* 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
2016-07-14make-snapshot: fix VPATH regexp [ci skip]nobu
* 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
2016-07-09Use keywordnobu
* 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
2016-07-06* tool/redmine-backporter.rb: fixed command alias bug.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-06update-deps: exclude timestampsnobu
* 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