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

826 Коммитов

Автор SHA1 Сообщение Дата
naruse 84a4125471 * tool/redmine-backporter.rb: support adding related revisions
to issues.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-16 09:48:57 +00:00
nobu 983cbb1aed common.mk: extract-gems
* common.mk (extract-gems): extract gem files to install them even
  if zlib is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-16 04:52:59 +00:00
nobu d0cf23b57e rbinstall.rb: install unpacked gems
* tool/rbinstall.rb (gem): install gems from unpacked directories
  for platforms where zlib is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-16 04:48:56 +00:00
nobu 51e7d0efb2 rbinstall.rb: always make gem directories
* tool/rbinstall.rb (gem): always make gem directories regardless
  of zlib.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-16 04:35:18 +00:00
nobu 9e32277356 rbinstall.rb: use DLEXT
* tool/rbinstall.rb (RbInstall::Specs::FileCollector#built_libraries):
  use configured value DLEXT instead of hardcoded suffix. shared
  object suffix is system dependent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-16 04:12:58 +00:00
nobu 218029f06d make-snapshot: add fake values
* tool/make-snapshot (package): add fake values, rubylibprefix and
  ruby_version which are necessary for Gem.default_dir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-15 09:09:14 +00:00
nobu a9e033b104 downloader.rb: verify gems
* tool/downloader.rb (RubyGems.download): verify downloaded gem
  packages.  LowSecurity to allow untrusted certificates now.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-14 07:45:28 +00:00
nobu ec171c4597 rbinstall.rb: fix bundled gems location
* tool/rbinstall.rb (gem): fix changing permissions of installed
  bundled gems.  [Fix GH-812]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-13 12:59:26 +00:00
nobu 79cd3c3757 rbinstall.rb: reuse options hash
* tool/rbinstall.rb (gem): reuse options hash, which is invariant
  for all gems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-13 08:21:51 +00:00
nobu a28e2ac46b rbinstall.rb: suppress warnings
* tool/rbinstall.rb (install): get rid of shadowing outer local
  variables.

* tool/rbinstall.rb: remove unused variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-13 08:21:44 +00:00
naruse 57a0021095 add bold to headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-06 01:19:01 +00:00
nobu 34fbf57aaa rbinstall.rb: fix bundled gems location
* rbinstall.rb: fix target location for installing bundled gems.
  install to the prepared directory instead of default Gem.dir,
  not to be affected GEM_HOME environment variable.  [Fix GH-798]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-28 14:49:39 +00:00
hsbt 6dd302ada9 * tool/make-snapshot: show sha1 digest when making packages.
it's request from https://github.com/ruby/www.ruby-lang.org/issues/921
  [fix GH-794]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-27 01:03:50 +00:00
zzak 2dd66e0d84 Fix typo for LoadError constant
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-25 17:15:39 +00:00
usa 4eaa327852 * tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-25 16:48:32 +00:00
usa e7011a3ec9 * tool/downloader.rb: support old versions of ruby.
* tool/downloader.rb: now can download gems by http if openssl is not
  available (this may be danger!)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-25 16:25:57 +00:00
naruse a64443987c * tool/redmine-backporter.rb: require view_changesets permission.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 04:26:18 +00:00
nobu 5b4ff7d6f9 downloader.rb: fix exception arguments
* tool/downloader.rb (Downloader.download): fix the exception to
  re-raise.  initialize methods of subclasses of Exception may
  have different parameters.  [ruby-core:67086] [Bug #10639]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 04:00:27 +00:00
naruse a270e96a14 * tool/downloader.rb: use config.guess in gcc repo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 03:07:14 +00:00
naruse 7979a5ad08 url is not required here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 03:06:59 +00:00
usa 84c39fb2fa * tool/downloader.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 01:44:51 +00:00
naruse 943a05d234 support ruby 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 01:29:03 +00:00
naruse 7a0676e8a5 * tool/downloader.rb: support ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 20:41:51 +00:00
nobu 730c941728 make-snapshot: fix stable snapshot
* tool/make-snapshot (package): VCS#branch_list expects glob a
  pattern string but not a regexp.  based on the patch by Vit
  Ondruch.  in [ruby-core:67064].  [Bug #10636]
* tool/vcs.rb (VCS::SVN#branch_list): strip newlines.
* tool/vcs.rb (VCS::GIT.get_revisions): retrieve modified time
  from toplevel log too.
* tool/vcs.rb (VCS::GIT#branch_list): yield for each lines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 17:12:25 +00:00
usa b1186bf39f * tool/extlibs.rb (do_extract): decompress!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 15:32:37 +00:00
usa 694185bf7f * tool/extlibs.rb (do_extract): the pipe should be binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 15:24:07 +00:00
usa 7e9175e3d9 * lib/open-uri.rb (OpenURI.open_http): accept multiple certs path in
ssl_ca_certs.

* tool/downloader.rb: use certs of rubygems for downloading gems.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 15:06:40 +00:00
nobu e8c22d746b extlibs.rb: separate commands
* tool/extlibs.rb (do_extract): separate expansion and extraction
  processes to each commands.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 14:14:27 +00:00
nobu 38938ccaad extlibs.rb: external libraries
* tool/extlibs.rb: download, extract, and patch external libraries.

* ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 13:24:33 +00:00
naruse 429537310e avoid a bug of the latest redmine
even if call ?include=changesets, latest redmine doesn't return
changesets.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 13:04:06 +00:00
akr 7317392a38 * tool/update-deps: Use $(hdrdir) if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-19 13:34:37 +00:00
normal 9aeb74d0de tool/vcs.rb: fix Ruby 1.8 compatibility harder
Arguments after splat do not work under 1.8, either.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-16 00:08:14 +00:00
normal 5559e75ea5 tool/vcs.rb: fix Ruby 1.8 compatibility
Symbol#to_proc is not standard in Ruby 1.8

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 20:44:54 +00:00
naruse 4527b18a6b VCS::SVN#url was buggy and recent commits exposed it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 06:02:58 +00:00
nobu 825680a106 make-snapshot: reuse downloaded files
* tool/make-snapshot (package): reuse already downloaded files if
  existing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:30:30 +00:00
nobu 238d8586df make-snapshot: use srcdir
* tool/make-snapshot: use srcdir as checked out working directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:28:58 +00:00
nobu fff1128281 vcs.rb: abstract
* tool/vcs.rb: abstract VCS interfaces from make-snapshot.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:02:52 +00:00
nobu 81ac745846 vcs.rb: non-string path
* tool/vcs.rb (VCS#get_revisions, VCS::SVN.get_revisions): allow
  path to be other than a string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:02:46 +00:00
nobu 251869bc11 vcs.rb: IO.pread
* tool/vcs.rb (IO.pread): method to read command output without
  shell.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:02:41 +00:00
nobu e0bcfdd931 make-snapshot: suppress warnings
* tool/make-snapshot: suppress warnings for uninitialized global
  variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:02:32 +00:00
nobu db4e9d5eb3 vcs.rb: srcdir parameter
* tool/vcs.rb (VCS#get_revisions): add srcdir optional parameter
  to SVN.get_revisions and GIT.get_revisions, instead of change
  working directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 23:55:33 +00:00
akr 20b93fffdf store make output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 14:42:05 +00:00
akr fcb1280e53 * tool/update-deps: List up files built always in the source directory
and source files built always in the build directory.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 12:51:04 +00:00
nobu 2092561366 generic_erb.rb: read in binary mode
* tool/generic_erb.rb: read existing file in binary mode to
  convert nothing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-27 03:42:54 +00:00
akr 5af1a10d7c * tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 17:12:03 +00:00
nobu f20f84d60a vcs.rb: make Time with proper offset
* tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
  which does not accept UTC offset, and offset manually for older
  versions than 1.9.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 06:26:26 +00:00
akr 3ca77ee9f8 * tool/make-snapshot: Specify PWD macro for make.
PWD environment variable may not exist.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 00:54:33 +00:00
akr 2aaba598d6 * tool/update-deps: Refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 09:12:56 +00:00
akr 8d7f9b0e38 * tool/update-deps (in_makefile): Use FILES_NEED_VPATH and
FILES_CONFUSING.

* ext/objspace/extconf.rb: Add VPATH for id.h



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 03:04:10 +00:00
akr 0dc240e782 Fix a variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20 14:27:44 +00:00
akr 1b2109f629 * tool/update-deps: Insert all dependencies found by compiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20 14:18:37 +00:00
nobu 4daa0fce20 common.mk: ims=nil option
* common.mk (update-gems): use ims=nil option.

* tool/downloader.rb (Downloader.download): show the message if no
  need to download in verbose mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-19 15:06:04 +00:00
naruse 501656c4d8 * tool/downloader.rb (RubyGems.download): Don't download gem if the
version is already downloaded. A gem file is versioned and
  it must be identical if the version is the same.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-19 09:15:04 +00:00
nobu 16ba360423 prelude.c.tmpl: strip prefix
* template/prelude.c.tmpl (Prelude#translate): strip VPATH prefix
  from prelude names, so that srcdir diffrences do not make the
  generated code diffrent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-19 01:08:00 +00:00
akr 196c869024 * tool/update-deps: Sort dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-18 15:26:44 +00:00
normal 5b85fbd95b tool/update-deps: warning to disable ccache
I spent several minutes wondering why -save-temps=obj was
not taking effect, hopefully this saves somebody else the
trouble.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-16 09:22:43 +00:00
akr a895babbff Modify parts only marked as autogenerated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-15 11:30:59 +00:00
akr 8727eb77be * tool/update-deps: Extend to fix dependencies.
* common.mk: Dependencies updated by tool/update-deps.

* enc/depend: Ditto.

* ext/**/depend: Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-15 05:15:49 +00:00
akr a73d8cd103 * tool/update-deps: Support GNU Make 4.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-14 08:37:47 +00:00
nobu df4c772724 make-snapshot: no wait unless needed
* tool/make-snapshot (package): no wait when using already
  exported source without modification, assuming exported 2
  seconds (the lowest timestamp resolution) ago or more.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11 09:10:03 +00:00
nobu 8e677dc443 template/prelude.c.tmpl
* template/prelude.c.tmpl: move from tool/compile_prelude.rb and
  expand by generic_erb.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11 09:09:14 +00:00
nobu 1ae1164eb0 generic_erb.rb: explicit_trim_line
* tool/generic_erb.rb: enable explicit_trim_line mode

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-06 14:54:39 +00:00
nobu 1b7bb04e1c make-snapshot: HAVE_BASERUBY
* tool/make-snapshot: set HAVE_BASERUBY to download Unicode data
  files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-06 10:53:17 +00:00
nobu c291516f14 tool/instruction.rb: remove extra blank lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-02 01:06:50 +00:00
nobu 862c62b4e2 tool/instruction.rb: remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-02 00:47:25 +00:00
nobu 39713bd927 common.mk: separate Unicode files directory
* common.mk: download Unicode files into separate directory for the
  version.

* tool/downloader.rb (Downloader::Unicode.download): strip version
  directory.

* tool/downloader.rb (Downloader.download): strip directory name
  if download directory is given.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30 07:39:51 +00:00
duerst bd38e0c4f2 tool/downloader.rb: changed Unicode data download location
from latest Unicode version to Unicode 7.0.0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-30 04:23:27 +00:00
nobu 9b581e0d0b template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rb
* template/unicode_norm_gen.tmpl: use generic_erb.rb to update if
  changed and manage timestamp, so that source tree on read-only
  filesystem works.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25 07:20:15 +00:00
nobu 0b9aac597f make-snapshot: fix gems update
* tool/make-snapshot (package): call system and IO.popen with
  arguments array, add macros NULLCMD and RUNRUBY to update gems,
  and not subsitute string interpolations which are used in
  update-gems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24 08:16:52 +00:00
duerst 71c534c962 tool/unicode_norm_gen.rb: Fixed escaping of backslash and
double quote ('\\\&' -> "\\\\\\\&"; double quoted string
is needed to make \& mean last match; double double
backslashes are needed because of two layers of escaping).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22 10:18:20 +00:00
nobu 5643b42881 make-snapshot: download by after-update
* tool/make-snapshot (package): download config files, bundled
  gems, and Unicode data by after-update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 03:33:18 +00:00
nobu a1cd284033 common.mk: disable force download of unicode files by default
* tool/downloader.rb: add -a option to always download regardless
  existing files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 14:58:06 +00:00
nobu c7e1545cea common.mk: update unicode files every times
* common.mk (update-unicode): remove -e option to force update
  every builds.

* tool/downloader.rb (Downloader.download): return if ims is nil
  and target file is existing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 13:43:45 +00:00
duerst 10cb4ca0c4 tool/downloader.rb: Make sure we update to latest version
if network connection is available, but we don't fail if
there is no network connection but option -e is set and
we already have a version of the file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 10:48:52 +00:00
nobu 8b99ce9656 unicode_norm_gen.rb: get rid of hard coded paths
* common.mk (lib/unicode_normalize/tables.rb): run at top srcdir.

* tool/unicode_norm_gen.rb: add -input and -output options to set
  InputDataDir and OuputDataDir respectively.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 03:42:44 +00:00
nobu f61265746e tool/unicode_norm_gen.rb: for 1.8.5 BASERUBY
* tool/unicode_norm_gen.rb: get rid of new features for 1.8.5
  BASERUBY.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 03:42:42 +00:00
nobu 07c9ad1d18 tool/unicode_norm_gen.rb: fix for 1.8 BASERUBY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-20 00:53:14 +00:00
duerst 982f0de141 tool/unicode_norm_gen.rb, lib/unicode_normalize.rb:
File name change from lib/unicode_normalize/normalize_tables.rb
to lib/unicode_normalize/tables.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-19 02:09:13 +00:00
duerst deeb1313bc tool/unicode_norm_gen.rb: Changed module name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-19 00:56:58 +00:00
nobu 3958ba3cbe rbinstall.rb: fix .gemspec permissions
* tool/rbinstall.rb (gem): Fix permissions of bundled gems
  specification files.  [ruby-core:65700] [Bug #10383]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-14 12:39:17 +00:00
nobu e14440e544 unicode_norm_gen.rb: freeze
* tool/unicode_norm_gen.rb: freeze strings and tables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 03:08:25 +00:00
nobu 2b6fa9eb0d unicode_norm_gen.rb: us-ascii
* tool/unicode_norm_gen.rb (Integer#to_UTF8): escape non-ascii
  code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 03:08:13 +00:00
nobu 240b12c6fc unicode_norm_gen.rb: optimize concatenation
* tool/unicode_norm_gen.rb: optimization by string literal
  concatenation instead of runtime concatenation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 03:08:09 +00:00
duerst daea1a5f3a tool/unicode_norm_gen.rb: Adding/tweaking comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 02:21:23 +00:00
duerst 42b382841c tool/unicode_norm_gen.rb: Adjusted directory paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 01:58:01 +00:00
svn cc8a255d25 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 01:27:43 +00:00
duerst 33447b80d5 tool/unicode_norm_gen.rb: Data generation script imported from
https://github.com/duerst/eprun/blob/master/lib/generate.rb

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 01:27:34 +00:00
duerst 0fb67d59b2 tool/downloader.rb: Adjust example in documentation for Downloader.download.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-06 01:15:23 +00:00
nobu a05330f4b9 tool/downloader.rb: fix for old ruby on old CentOS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-28 21:47:59 +00:00
nobu ae7eb5fe83 downloader.rb: compatibility with old BASERUBY
* tool/downloader.rb (Downloader.download): get rid of post
  arguments for compatibility with old BASERUBY.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-28 15:26:21 +00:00
nobu 1c01280d17 downloader.rb
* configure.in: use tool/downloader.rb directly.

* tool/get-config_files: no longer used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-28 11:27:22 +00:00
nobu 3bbea8ed37 tool/downloader.rb: split particular sites
* tool/downloader.rb (Downloader): split particular sites from the
  main class.

* tool/downloader.rb (Downloader.download): show messages if
  verbose mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-28 02:54:59 +00:00
nobu 4d2aef1e45 rbinstall.rb: header targets
* tool/rbinstall.rb: separate header targets, comm-hdr for
  architecture independent headers, arch-hdr for architecture
  dependent headers, and hdr for both.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-27 08:17:43 +00:00
duerst f508efdb9b tool/downloader.rb: Adjusting example for
Downloader.download to implementation changes in r47693.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 10:00:09 +00:00
duerst b6f2f67cc9 tool/downloader.rb: Removing unused method
Downloader.download_if_modified_since.
(if ever used, just replace with Downloader.download)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 09:07:06 +00:00
duerst d081032d6b tool/downloader.rb: Fixing raise after return.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 08:59:13 +00:00
duerst d2172c8d19 tool/downloader.rb: Made Unicode data file location available
via :unicode Symbol.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 08:55:09 +00:00
duerst 9c0f09dae0 tool/downloader.rb: Small fix to documentation comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-24 01:43:44 +00:00
nobu 0b5227b8bd downloader.rb: shorthands for usual URI
* tool/downloader.rb (Downloader.uri_to_download): add shorthands
  for commonly used URI.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 11:56:30 +00:00
nobu c7cdc549ff downloader.rb: integrate with download_if_modified_since
* tool/downloader.rb (Downloader.download): integrate with
  download_if_modified_since and allow to use `since` parameter if it
  is not true/false.  also set last-modified time and permission.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 11:52:23 +00:00
svn f10a2f43a3 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 07:08:16 +00:00
duerst 96245d6dd3 tool/downloader.rb: added Downloader.download_if_modified_since
to reduce downloads of large files that change only rarely.
[ruby-core:65164] [CommonRuby - Feature #10084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 07:08:03 +00:00
naruse 0ad72caa65 add .tar.xz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-18 01:30:09 +00:00
hsbt b14afd8fde * tool/rbinstall.rb: fixed invalid options with latest rubygems.
https://github.com/rubygems/rubygems/issues/1013

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-17 02:09:27 +00:00
normal 7b09deef51 vm.inc.tmpl + instruction.rb: typo fixes
* template/vm.inc.tmpl: "insns.c" => "insns.def"
* tool/instruction.rb: typo fix

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-14 07:58:25 +00:00
nobu 8322ca8a21 * tool/make-snapshot (usage): X.Y means the head of a branch now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 06:05:01 +00:00
nobu cf08cf97fa * tool/make-snapshot (package): no teeny means a branch since 2.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 05:47:31 +00:00
hsbt 4032c76ab7 * tool/rbinstall.rb: fixed error of local installation.
[Bug #10192][ruby-core:64702]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-02 08:02:59 +00:00
nobu f024d46f11 tool/vcs.rb: no time.rb
* common.mk (Doxyfile): revert r43888, not to require preinstalled
  ruby.  [ruby-core:64488] [Bug #10161]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:46 +00:00
nobu 3229456d40 rbinstall.rb: remove unused variable
* tool/rbinstall.rb: $vcs is no longer used since r46513.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:09 +00:00
naruse 64c81e40d4 * regcomp.c: Merge Onigmo 5.14.1 25a8a69fc05ae3b56a09.
this includes Support for Unicode 7.0 [Bug #9092].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-16 03:27:25 +00:00
nobu ee5edc5950 rbinstall.rb: fix directory permissions
* tool/rbinstall.rb (gem): fix permissions of bundle gems
  directories.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-15 08:42:49 +00:00
nobu a7f03a4659 rbinstall.rb: respect DESTDIR
* lib/rubygems.rb (Gem.install): pass optinos to
  Gem::DependencyInstaller.

* tool/rbinstall.rb (gem): respect DESTDIR.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-15 08:24:39 +00:00
naruse 011b74b748 * tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb.
* lib/rbconfig/obsolete.rb: removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-07 02:07:01 +00:00
nobu ad92b09e82 split tool/fake.rb
* tool/fake.rb: split from template/fake.rb.in.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-06 05:20:10 +00:00
nobu d21c35ca6a compile_prelude.rb: remove comments
* tool/compile_prelude.rb (translate): remove comments which are
  not used in compiled sources.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-04 05:17:04 +00:00
usa 60a5a85da2 * tool/redmine-backporter.rb: support new status 'WONTFIX'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-02 06:39:06 +00:00
nobu 76bb597728 mkconfig.rb: fix empty prefix
* tool/mkconfig.rb: vars["prefix"] may not set.  [fix GH-643]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 22:52:46 +00:00
nobu bffd6395d6 mkconfig.rb: fix empty prefix
* tool/mkconfig.rb: fix empty RbConfig::CONFIG["prefix"] when
  configured --with-rubyarchprefix, remove prefix from rubyarchdir
  after expansion for the case it does not start with '$(prefix)'.
  [fix GH-643]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 15:35:15 +00:00
hone 94a6e6f6e1 set top level folder to same as archname of tarball
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 00:46:30 +00:00
hsbt 4c58cdc9a1 * tool/downloader.rb: fix wrong variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 05:41:20 +00:00
hsbt 27d345dff4 * tool/make-snapshot: download bundle gems when package making.
[Feature #9852][ruby-core:62676]
* gems/bundled_gems: listed bundled gems for Ruby 2.2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:45:41 +00:00
hsbt 204a83f5f3 * tool/downloader.rb: make Downloader class to general download utility.
It can be used without config.guess and configu.sub.
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:26:21 +00:00
hsbt 7a05e0ae9f * tool/config_files.rb: rename class ConfigFiles to Downloader.
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 09:49:42 +00:00
hsbt 6f3e8df133 * tool/rbinstall.rb: support to install bundle gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 09:13:14 +00:00
usa abd92f0dec * tool/merger.rb: unlink temporary file explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-27 10:34:43 +00:00
usa 25b2a21b31 * tool/release.sh: need -f option because this overwrite the previous links if they exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-16 15:35:50 +00:00
nobu 9fd859b860 make-snapshot: -digests option
* tool/make-snapshot (package): add -digests option to select
  digest algorithms to be shown.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 15:47:36 +00:00
nobu bebbbc393a make-snapshot: -package option
* tool/make-snapshot (package): add -package option to select
  packages to be made.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 15:47:33 +00:00
nobu 26db9bb27c make-snapshot: unused variables
* tool/make-snapshot (package): remove variables no longer used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 15:47:31 +00:00
nobu f67864636d make-snapshot: SHA512
* tool/make-snapshot (package): add SHA512.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 10:09:43 +00:00
nobu 944ff17f8a make-snapshot: support xz
* tool/make-snapshot (package): support xz.  no longer runs with
  1.8 or earlier.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 10:09:41 +00:00
usa 48a9d17105 * tool/release.sh: fix for neon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-09 03:58:09 +00:00
naruse 86034eafb2 fix the example of failed URI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-01 10:55:10 +00:00
nobu 0b57f67531 config_files.rb: show failure
* tool/config_files.rb (ConfigFiles.download): show failed URI.
  [ruby-core:61792] [Bug #9690]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-01 08:29:36 +00:00
naruse 9db0dd7bb9 find_svn_log may return blank xml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-01 11:07:15 +00:00
nobu 68e6d3f1d5 tool/vcs.rb: discard error messages
* tool/vcs.rb (VCS#get_revisions): discard error messages for all
  VCS not only SVN.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-28 01:23:31 +00:00
naruse 488b8befc2 X:Y doesn't include X in svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-27 14:31:24 +00:00
naruse 1ebf8916b2 tool/merger.rb: normalize the merged revision string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-27 04:10:03 +00:00
naruse 295e4bfd04 tool/redmine-backporter.rb: scroll 1 lind on Enter key
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-27 04:10:00 +00:00
naruse 7322a22816 add backport commit detection
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22 13:43:16 +00:00
usa 7662937cab * tool/redmine-backporter.rb: should add the value after checking error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22 11:50:56 +00:00
usa 358d800232 * tool/redmine-backporter.rb: fixed bug of background color.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22 11:46:22 +00:00
usa 82336d1f25 * tool/redmine-backporter.rb: more friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22 11:29:21 +00:00
naruse 6337bf7588 * tool/redmine-backporter.rb: added to handle redmine tickets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21 14:10:06 +00:00
sorah 7c030a5ded * lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependency
* tool/rbinstall.rb: Add empty implementations for `add_dependency`,
  `add_runtime_dependency`, `add_development_dependency` for
  Gem::Specification.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-18 05:27:58 +00:00
nobu d1cc0ebb38 mkrunnable.rb: fix DLL path on Windows
* tool/mkrunnable.rb: DLL needs placed at same directory as
  executables on Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-02 02:41:06 +00:00
nobu f0c310c609 mkconfig.rb: pass version numbers
* tool/mkconfig.rb (RbConfig): version numbers are also needed by
  RUBY_SO_NAME.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-31 06:34:35 +00:00
eban 5b59832c6a * tool/make-snapshot: needs CXXFLAGS. [ruby-core:59393][Bug #9320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-30 07:14:43 +00:00
nobu bb4a1ac9b0 expand-config.rb: expand config values
* tool/expand-config.rb: expand config values, extracted from
  win32/Makefile.sub.

* win32/Makefile.sub (ruby_pc): use tool/expand-config.rb script.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-27 05:46:10 +00:00
nobu 07dcd43a0a mkconfig.rb: prefer unexpanded values
* tool/mkconfig.rb: prefer configured values than overriding
  values for RUBY_INSTALL_NAME and RUBY_SO_NAME when expanded
  results are same.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-27 05:46:06 +00:00
usa 71d3a294d4 * tool/merger.rb (tag): support 2.1.1 semi-automatic tagging and 2.2.0 explicit tagging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-26 01:28:18 +00:00
usa ab93604365 * tool/release.sh: fixed small bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 16:24:53 +00:00
nobu 3da2f01e30 tool/release.sh: executable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 16:19:03 +00:00
usa 52668960c5 * tool/release.sh: make symbolic links.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 16:10:21 +00:00
usa 213d2aa629 * tool/make-snapshot: support new version scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 15:46:02 +00:00
naruse 934546eb0b add release script on ftp.r-l.o
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 15:43:36 +00:00
usa 0abe1fee13 * tool/make-snapshot: replace RUBY_PATCHLEVEL_STR in version.h to
show users that this ruby is a preview/rc version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20 20:46:21 +00:00
a_matsuda adb1ee65b7 [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]
* doc/ChangeLog-YARV:  Correct a typo in comment
* lib/rubygems/specification.rb:  ditto.
* test/rexml/data/tutorial.xml:  ditto.
* test/ruby/test_settracefunc.rb:  ditto.
* tool/instruction.rb:  ditto.

https://github.com/ruby/ruby/pull/482
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 10:54:54 +00:00
nobu 007f35ba89 strip-rdoc.rb: binmode
* tool/strip-rdoc.rb: read in binary mode to get rid of errors by
  non-ascii characters.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-05 13:02:48 +00:00
tarui 4b13015447 * tool/instruction.rb : fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-20 11:56:36 +00:00
nobu e72ca2e044 rbinstall.rb: fix for non-working directory
* tool/rbinstall.rb (Gem::Specification.last_date): skip if failed to
  get info from VCS, for example, in the case circumstance sharing working
  directory with another machine and run vcs tools cannot work.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 16:37:46 +00:00
nobu 1ce82d510c rbinstall.rb: spec date from VCS
* tool/rbinstall.rb (Gem::Specification.load): obtain spec date from
  VCS for the case using git, RUBY_RELEASE_DATE is the last resort.
  probably fixes [Bug #9085].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 13:35:39 +00:00
nobu ae6f7929bd vcs.rb: split
* tool/vcs.rb: split from file2lastrev.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-09 06:20:57 +00:00
nobu 6458bfcc69 rbinstall.rb: indent
* tool/rbinstall.rb (Gem::Specification#to_ruby): adjust indent.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-08 22:40:56 +00:00
nobu 2238f11d1a rbinstall.rb: make stable files in .gemspec
* tool/rbinstall.rb (Gem::Specification#collect): make stable
  Gem::Specification.files in default .gemspecs the different order of
  "files" in .gemspec files makes them different therefore possibly
  conflicting in multilib scenario.  patch by vo.x (Vit Ondruch) at
  [ruby-core:57544] [Bug #8623].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-08 21:11:27 +00:00
nobu bcfb4569aa ifchange: no overwrite with an empty file
* tool/ifchange, win32/ifchange.bat: do not overwrite with an empty
  file by default, and add --empty option to force it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-03 12:40:24 +00:00
nobu b4f7bf86f1 rbinstall.rb: reorder
* tool/rbinstall.rb: install default targets (:local, :ext) first,
  very time consuming tasks later.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-02 18:37:52 +00:00
nobu 8be7ad2b6d common.mk: RUN_OPTS to tests
* common.mk (btest, btest-ruby, test-knownbug): add $(RUN_OPTS) to
  ruby to be run, so that tests are runnable before making exts.
* common.mk (test-sample): ditto, and use $(MINIRUBY) as rubytest.rb
  does not need extension libraries.
* tool/rubytest.rb: pass $(RUN_OPTS) to testing ruby using --run-opt.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-20 14:24:10 +00:00
nobu 24833587d3 rbuninstall.rb: tty
* tool/rbuninstall.rb: show progress if tty and add --tty option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-13 07:28:23 +00:00
nobu 6217307f43 rbuninstall.rb: rmdir -p
* tool/rbuninstall.rb: remove parent directories.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-13 07:24:48 +00:00
nobu 55291545c2 rbinstall.rb: add date
* tool/rbinstall.rb (Gem::Specification#initialize): default date to
  RUBY_RELEASE_DATE.  [ruby-core:57072] [Bug #8878]
* tool/rbinstall.rb (Gem::Specification#to_ruby): add date.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-09 00:15:03 +00:00
hsbt a62d6e64bf * tool/make-snapshot: Fix order of priority for option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-09 05:05:15 +00:00
naruse a9a4da925c * common.mk (mini): portable target to build miniruby
* common.mk (bisect): run git-bisect with miniruby

* common.mk (bisect-ruby): run git-bisect with ruby

* tool/bisect.sh: script for git-bisect

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-08 05:54:08 +00:00
ko1 621da98309 * vm_exec.h, tool/instruction.rb: not an error, but a BUG if stack
overflow checking failed just before/after the beginning of an
  instruction. It should be treated as a BUG.
  Please tell us if your code cause BUG with this problem.
  This check will removed soon (for performance).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-26 10:28:26 +00:00
nobu 9e2fc969e2 probes_to_wiki.rb: fix comment and reduce unnecessary array
* tool/probes_to_wiki.rb: fix usage comment.  use Enumerable#grep
  which yields each elements to reduce unnecessary array.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-11 01:46:40 +00:00
tenderlove 4580394abb * tool/probes_to_wiki.rb: adding a script to convert probes.d to wiki
format for easy wiki updates.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10 18:22:52 +00:00
naruse 1734e481af * tool/rbinstall.rb: always require rubygems to stabilize rubygems
related status like whether Gem::Specification is defined or not.

* tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10 01:21:44 +00:00
akr 2e44efd4d9 * tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-04 11:40:11 +00:00
ko1 99b10ff471 * benchmark/gc: create a directory to store GC related benchmark.
* benchmark/gc/gcbench.rb: moved from tool/gcbench.rb.
* benchmark/gc/hash(1|2).rb: ditto.
* benchmark/gc/rdoc.rb: ditto.
* benchmark/gc/null.rb: added.
* common.mk: fix rule.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-20 06:18:09 +00:00
ko1 ab7e459210 * tool/hashbench1.rb: fix paramter too. Increase temporary objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-20 05:10:36 +00:00
ko1 800103e40a * tool/hashbench1.rb: fix parameters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-20 05:01:56 +00:00
ko1 fcd5d8fd33 * tool/gcbench.rb: Summary in one line.
* common.mk: separete gcbench-hash to gcbench-hash1 and gcbench-hash2.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-19 23:15:56 +00:00
ko1 57bb153456 * common.mk: add new rules `gcbench-rdoc', `gcbench-hash'.
* tool/gcbench.rb: separate GC bench framework and process.
* tool/hashbench1.rb, tool/hashbench2.rb: add two types GC bench.
  hashbench1: many temporal objects (GC by newobj)
  hashbench2: hash size becomes bigger and bigger (GC by malloc)
  Two benchs are executed by `gcbench-hash' rule.
* tool/rdocbench.rb: separated.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-19 22:33:02 +00:00
ko1 55ae2402f4 * tool/rdocbench.rb: add summary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-19 21:26:13 +00:00
knu 4c68aa718d * tool/ifchange (until): Fix the condition, although harmless in
this case.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-17 04:33:52 +00:00
naruse a70a7ea2fe fix typo of r41331
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-16 08:24:09 +00:00
naruse 3f7647f9c2 * tool/config_files.rb: use URI.read to allow it runs with Ruby 1.8.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-16 07:10:17 +00:00
nobu 78963f8e8c * tool/get-config_files: show downloading message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-14 05:10:12 +00:00
nobu a53cb1a05d update config files
* .travis.yml (before_script): update config files.
* common.mk ($(srcdir)/tool/config.{guess,sub}): use get-config_files.
* tool/config_files.rb: split get-config_files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-14 04:40:32 +00:00
nobu bbe047d4c7 download config files
* common.mk (update-config_files): rule to download config files.
* tool/config.guess, tool/config.sub: remove and download from the
  upstream.
* tool/get-config_files: download config files from GNU.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-14 04:01:54 +00:00
nobu f28ec8da8c no alternate value expansion
* configure.in (opt-dir), tool/ifchange: get rid of "alternate value"
  expansion for legacy sh.  [ruby-dev:47420] [Bug #8524]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-13 12:30:24 +00:00
tarui b1bbe884cd * tool/rdocbench.rb: add gc total time infomation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-07 02:18:05 +00:00
nobu 2ae30c3fa2 * tool/mkrunnable.rb: fix for native mswin compile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-05 01:43:09 +00:00
ktsj 166d8dc2d6 * enc/trans/japanese_euc.trans, test/ruby/test_transcode.rb,
tool/transcode-tblgen.rb: change EUC-JP-2004 to EUC-JIS-2004.
  This is follow up to changes in r41024.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-02 14:36:41 +00:00
nobu 14f6c8ca8a rbinstall.rb: reject empty files
* tool/rbinstall.rb (install_recursive): add maxdepth option.
* tool/rbinstall.rb (bin-comm): limit depth of bindir and reject empty
  files.  [ruby-core:55101] [Bug #8432]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-27 08:33:47 +00:00
naruse 22415d4ff9 * tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
literal "autoconf".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-26 15:51:13 +00:00
ko1 6f7c9e2ecb * common.mk (rdoc-bench): add a benchmark rule
using RDoc. Generate all rdoc related files
  (same as `make rdoc') in temporary directory
  and remove them. Excecution time, GC::Profiler
  and results of GC.stat are printed.
* tool/rdocbench.rb: added for `rdoc-bench'.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-21 07:36:34 +00:00
nobu 434f0abd02 verconf.h.in: template for verconf.h
* template/verconf.h.in: generate verconf.h from the template and
  rbconfig.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 04:13:40 +00:00
nobu ae9dbb6ce1 generic_erb.rb: --source option
* tool/generic_erb.rb: -x, --source option for debug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 04:13:36 +00:00
nobu b38e3f953c configure.in: shvar_to_cpp in ruby
* configure.in: save configured load path values into verconf.in.
* common.mk (verconf.h): create from verconf.in with shvar_to_cpp.rb.
* tool/shvar_to_cpp.rb: turn shell variables into C macros.
  [Bug #7959]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-15 07:58:28 +00:00
nobu 262529fdfb ifchange: --keep option
* tool/ifchange (--keep=suffix): new option for debug.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-15 07:51:32 +00:00
akr 96d811efac * common.mk: Add dependencies for include/ruby.h
* tool/update-deps: Use "make -p all miniruby ruby golf" to extract
  deendencies in makefiles.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11 14:42:33 +00:00
akr 639356eacd * tool/update-deps: Use "make -p all golf" to extract deendencies in
makefiles.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11 14:22:04 +00:00
akr 28c8e57ca4 * common.mk: Dependency updated.
* tool/update-deps: Rewritten.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11 12:03:23 +00:00
nobu 8825a084eb win32/configure.bat: option arguments
* win32/configure.bat: try to fix option arguments split by commas and
  equals here.  this batch file no longer run with old command.com.
* tool/mkconfig.rb: no hacks for cmd.exe.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-31 06:40:37 +00:00
naruse e8f9b6647a Remove unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 16:05:47 +00:00
nobu ee2884ff3d rbuninstall.rb: fix for symlink to directory
* tool/rbuninstall.rb: fix for symlink to directory by removing
  trailing slash which let File.symlink?  return false.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13 02:09:18 +00:00
nobu a82d24aa82 gen_dummy_probes.rb
* tool/gen_dummy_probes.rb: remove empty lines and compact.

* tool/gen_dummy_probes.rb: allow arbitrary number of arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11 05:25:06 +00:00
naruse 407bcb4bc6 * Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.
fix lookbehind assertion fails with /m mode enabled. [Bug #8023]
  fix \Z matches where it shouldn't. [Bug #8001]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11 03:46:55 +00:00
kosaki 0b1ff93945 * tool/change_maker.rb (#diff2index): check Encoding::BINARY.
BASERUBY may still be 1.8.x.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 23:01:07 +00:00
kosaki d71a8880b4 * tool/gen_ruby_tapset.rb: add tapset generator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 05:12:09 +00:00
nobu 5ebffacf17 * tool/rbuninstall.rb: remove symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08 05:24:23 +00:00
nobu 1a71b8718a rbinstall.rb: gem subdirectories
* tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories now has mode
  option since r39607.  refix of r38870.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 01:39:13 +00:00
naruse 78dbaa1648 * Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
v5.13.3 [Bug#7972] [Bug#7974]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01 16:36:37 +00:00
nobu b3d2b56d2b mkconfig.rb: reconstruct comma separated list values
* tool/mkconfig.rb: reconstruct comma separated list values.  a
  command line to Windows batch file is splitted not only by spaces
  and equals sign but also by commas and semicolons.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-26 06:12:17 +00:00
nobu 593ffbcf71 mkmf.rb: default libdirname
* lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir.
* tool/rbinstall.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25 05:41:16 +00:00
nobu de697194c2 merger.rb: runnable
* tool/merger.rb: make runnable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 04:51:12 +00:00
nobu 0ac71e725c merger.rb: suppress warnings
* tool/merger.rb (version_up, tag, default_merge_branch): suppress
  syntax warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 04:49:16 +00:00
nobu 839ae05e0c * tool/mkrunnable.rb: refactor and multiarch support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 02:37:51 +00:00
naruse 45dcceaa71 * tool/merger.rb: add interaction when only ChangeLog is modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 08:31:45 +00:00
nobu e908adc12a common.mk: uninstall
* common.mk (uninstall): uninstall installed file listed in
  $(INSTALLED_LIST) file.

* tool/rbuninstall.rb: simple uninstallation tool.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 12:49:43 +00:00
nobu fc50b60cb7 * tool/rbinstall.rb (libdir): fix typo. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 12:34:20 +00:00
nobu 67ab6e3d9b configure.in: adjust libdirname
* configure.in (libdirname): adjust library path name which libruby
  files will be installed.  [Bug #7874]
* tool/rbinstall.rb (libdir): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20 09:01:17 +00:00
nobu 1955ac9e82 * tool/mkconfig.rb: exclude variables to just build libruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 03:49:37 +00:00
nobu a168db1cb2 * tool/mkrunnable.rb: needs rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19 03:49:35 +00:00
nobu 3f1a334504 mkconfig.rb: clear exec_prefix
* tool/mkconfig.rb: clear exec_prefix which may differ from prefix,
  before expanding rubyarchdir to remove prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18 01:49:11 +00:00
naruse 16d775d94e * tool/mkconfig.rb: remove prefix from rubyarchdir.
r39267 expands variables, it changes expansion timing,
  breaks RbConfig::CONFIG["includedir"] and building
  extension libraries with installed ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-16 16:10:55 +00:00
nobu 16f6500cb2 make-snapshot: fix typo
* tool/make-snapshot (package): fix typo, liburyb, in fake
  config.status.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 02:09:32 +00:00
nobu cc9a5a4089 make-snapshot: File.join
* tool/make-snapshot (package): use File.join to get rid of continuous
  slashes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 02:09:30 +00:00
nobu b3cd19971b make-snapshot: rubyarchdir
* tool/make-snapshot (package): fake rubyarchdir too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 02:09:27 +00:00
nobu ba7a0b4643 vpath.rb: no rbconfig.rb
* tool/vpath.rb (VPath#list): no rbconfig.rb, to get rid of cyclic
  dependency.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07 12:20:56 +00:00
nobu 67e0767204 rbinstall.rb: CONFIG['arch'] not $arch
* tool/rbinstall.rb: use CONFIG['arch'] instead of $arch which was not
  added finally.  fix r39108.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07 08:02:31 +00:00
nobu 26aae7740f mkconfig.rb: fix concatenated lines
* tool/mkconfig.rb: see if a variable is set before setting it to fix
  concatenated lines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07 07:21:30 +00:00
nobu 67db06ba97 configure.in: arch dependent header directory options
* configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add
  options to customize architecture dependent header directories.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 08:32:58 +00:00
nobu 29c214e4a0 configure.in: arch dependent library directory options
* configure.in (rubyarchprefix, sitearchdir, vendorarchdir): add
  options to customize architecture dependent library directories.
* template/ruby.pc.in, tool/mkconfig.rb, tool/rbinstall.rb: use
  configured values.
* tool/mkconfig.rb: expand rubyarchdir to extract prefix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 08:32:53 +00:00
nobu b99c3e74a1 mkconfig.rb: fix anchor
* tool/mkconfig.rb: should match whole word.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 07:47:45 +00:00
nobu 385ef8e5c2 mkconfig.rb: no BASERUBY
* tool/mkconfig.rb: BASERUBY is transient at core build.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-21 06:41:38 +00:00
nobu c669931941 vpath.rb: hack for msys make
* tool/vpath.rb (VPath#def_options): hack for msys make, which
  converts a command line argument to non-msys command seems like a
  path list automagically.  [Bug #7710] [ruby-core:51489]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-20 13:24:31 +00:00
nobu 7a9bbf31fd rbinstall.rb: gem subdirectories
* tool/rbinstall.rb (gem): prepare implies makedirs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 05:02:07 +00:00
nobu 3b5ba5df17 rbinstall.rb: gem subdirectories
* tool/rbinstall.rb (gem): Gem.ensure_gem_subdirectories makes
  subdirectories group-writable, so make them with $dir_mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 03:54:24 +00:00
nobu eaab306b59 vpath.rb: separator for make
* tool/vpath.rb (VPath#list): default separator to PATH_SEPARATOR from
  configure.in for make, not same name constant of File for use in ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 14:12:36 +00:00
nobu 86bd692035 tool/mkrunnable.rb: support mswin build on remote file system
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-11 07:59:07 +00:00
nobu fc81730154 mkconfig.rb: use configured libdir value
* tool/mkconfig.rb: use configured libdir value to fix
  --enable-load-relative on systems where libdir is not default value,
  overridden in config.site files.  [ruby-core:47267] [Bug #6903]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-11 07:56:32 +00:00
shugo 2cdd17b458 * tool/gen_dummy_probes.rb: remove comments in probes.d to fix the
compilation error introduced by r38755.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-10 06:39:55 +00:00
ko1 270fbd9c05 * vm_core.h, eval_intern.h (CHECK_STACK_OVERFLOW): move
CHECK_STACK_OVERFLOW() to vm_core.h and rename to
  CHECK_VM_STACK_OVERFLOW().
  This change is only move and rename.
* tool/instruction.rb: catch up above changes.
* vm.c, vm_insnhelper.c: ditto.
* vm_insnhelper.c (vm_stackoverflow): add a function to unify
  raising vm stackoverflow exception.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-25 09:57:07 +00:00
nobu 8dafe8c88d test.rb: show messages in one line
* sample/test.rb (Progress#initialize): add --verbose option and show
  messages in one line unless --verbose is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 18:09:10 +00:00
naruse 9f69bef99b * tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY.
On making miniprelude.c, it seems use MINIRUBY. this fixes #7541
  but rubygems also needs to be fixed for older rubies.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 16:18:01 +00:00
naruse 10c014b06d * tool/make-snapshot (BASERUBY): add --disable-gem to avoid load gems.
[Bug #7541] [ruby-core:50736]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 06:13:43 +00:00
nobu 08b98cc317 mkconfig.rb: newlines
* tool/mkconfig.rb: restore embedded newlines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10 04:18:11 +00:00