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

467 Коммитов

Автор SHA1 Сообщение Дата
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