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

826 Коммитов

Автор SHA1 Сообщение Дата
svn 78f03394fb * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-15 00:16:16 +00:00
duerst f262863188 tool/transcode_tablegen.rb: detailled documentation
for transcode_tblgen function [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-15 00:14:17 +00:00
duerst 83304b75c1 * enc/ebcdic.h: new dummy encoding EBCDIC-US
* enc/trans/ebcdic.trans: transcodings between EBCDIC-US
  and iso-8859-1 [with code from Andrea Ribuoli]
* test/ruby/test_transcode.rb: tests for above
* tool/transcode_tablegen.rb: additional argument for
  method transcode_tblgen

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-14 13:11:31 +00:00
nobu fcb4ab8d1c ytab.sed: for bison 2
* tool/ytab.sed: substitute `fprintf`s used directory in
  yy_reduce_print by bison 2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-14 06:36:50 +00:00
nobu d2e19fdc42 ytab.sed: replace argument
* tool/ytab.sed: substitute the first argument of YYFPRINTF, instead
  of substitution by preprocessor, not to redefine stderr.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-13 16:54:43 +00:00
nobu a7b67cc82e ytab.sed: work around
* tool/ytab.sed: work around for platforms where vairadic macro is
  not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-13 15:50:44 +00:00
nobu 0f076affb6 parse.y: lex_state trace by yydebug
* parse.y (trace_lex_state): trace lex_state changes if yydebug is
  set, and send the messages to rb_stdout.
* parse.y (rb_parser_printf): store YYPRINTF messages per lines
  so that lex_state traces do not mix.
* tool/ytab.sed: add parser argument to yy_stack_print too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-13 14:46:09 +00:00
naruse 825bcc36ee merger.rb: show procedure to push tag into GitHub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-11 02:08:41 +00:00
nobu 19f035ccee mkconfig.rb: must not be frozen
* tool/mkconfig.rb: rbconfig must not be fronzen-string-literal to
  expand CONFIG hash.  [ruby-core:72006] [Bug #11798]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09 20:53:21 +00:00
usa be801955e9 * tool/merger.rb: get user's attention by using colored message when requiring operation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08 03:20:07 +00:00
nobu bf52a8b6c4 Fix cross build
* tool/fake.rb: Fix cross build when srcdir is an absolute path.
* Makefile.in: PREP dependency is needed when cross build too, not
  "-r$(arch)-fake" to be  used before created.  [Fix GH-1125]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-05 08:48:28 +00:00
naruse 8f0268991c Use more tough server: GitHub or repo.or.cz
https://gcc.gnu.org/wiki/GitMirror

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-26 15:40:58 +00:00
nobu a3ddead991 downloader.rb: Downloader.https
* tool/downloader.rb (Downloader.https): extract a method instead
  of a global variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-26 09:09:49 +00:00
nobu 2fac41a63e enc-unicode.rb: --header
* tool/enc-unicode.rb: add --header option to emit name2ctype.h
  directly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-20 04:03:10 +00:00
hsbt ce9b056c5d * mkconfig.rb: Add some high-level documentation.
[ci skip][fix GH-1081]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-16 07:16:16 +00:00
hsbt 8fef6aa20b * tool/rbinstall.rb: fix wrong permission for gem specification without
zlib runtime. [Bug #11685][ruby-dev:49343]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-16 06:33:17 +00:00
akr 68ebbbfebe * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true".
* lib/pp.rb: Ditto.

* lib/prettyprint.rb: Ditto.

* lib/resolv.rb: Ditto.

* lib/securerandom.rb: Ditto.

* lib/tmpdir.rb: Ditto.

* lib/unicode_normalize/tables.rb: Ditto.

* test/net/ftp/test_buffered_socket.rb: Ditto.

* test/net/ftp/test_mlsx_entry.rb: Ditto.

* test/open-uri/test_open-uri.rb: Ditto.

* test/open-uri/test_ssl.rb: Ditto.

* test/pathname/test_pathname.rb: Ditto.

* test/test_pp.rb: Ditto.

* test/test_prettyprint.rb: Ditto.

* tool/transcode-tblgen.rb: Ditto.

* ext/pathname/lib/pathname.rb: Ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-10 11:48:14 +00:00
nobu a2dbb9d603 rbinstall.rb: compress man pages.
* tool/rbinstall.rb (man): get rid of prompt from compress
  program.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-06 05:09:42 +00:00
nobu ae90724357 rbinstall.rb: compress man pages.
* tool/rbinstall.rb (man): compress mdoc-style man pages, without
  Mdoc2Man.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-06 04:42:37 +00:00
nobu ecbbd23646 fake.rb: fix builddir
* tool/fake.rb (prehook): consider the case building under the
  source directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-04 01:32:54 +00:00
nobu bd362b70ba mdoc2man.rb: colon in quotes
* tool/mdoc2man.rb (parse_macro): colon should not pop quotes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-31 06:22:46 +00:00
nobu 9cd5c850a4 ruby.1: fix --enable/disable
* man/ruby.1: missing Fl before --{enable|disable}.

* tool/mdoc2man.rb (parse_macro): supprot braces, Bro and Brc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-31 05:55:28 +00:00
nobu e712233387 ignore dump terminal
* tool/generic_erb.rb, tool/ifchange: no colorization if tput
  returned nothing or dump terminal.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-31 00:02:19 +00:00
nobu a8b56b9e50 common.mk: vm_call_iseq_optimized.inc
* common.mk (incs): generate vm_call_iseq_optimized.inc too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-23 23:37:44 +00:00
svn 31f21aed2c * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-23 17:53:53 +00:00
ko1 f9697c5637 * vm_insnhelper.c: introduce new call handler for simple ISeqs.
vm_call_iseq_setup_normal_0start() is simple, however it has
  some loops/conditions depends on ISeq::param.size and
  ISeq::local_size (in vm_push_frame(), inlined into this function).

  There are many simple methods which has a few parameters and local
  variables. So that this patch introduces several special functions
  generated in vm_call_iseq_optimized.inc by
  tool/mk_call_iseq_optimized.rb.

  This script makes
    vm_call_iseq_setup_normal_0start_Xparams_Ylocals()
  where X is 0 to 3 and Y is 1 to 6 (as current setting).
  In this case, X * Y = 24 functions are created.

  These functions creates fast method dispatch by inlining
  vm_push_frame() with immediate params/locals sizes.

  On my laptop, we can have the following results.

  vm2_method*       1.083 (8.3% faster)
  vm2_poly_method*  0.961 (3.4% slower)

  It shows 8.3% faster for inner loop method dispatch (hit inline
  cache), but 3.4% slower when inline cache miss because we need
  to find a suitable call handler.

* common.mk: add a rule for vm_call_iseq_optimized.inc.

* tool/mk_call_iseq_optimized.rb: added.

* vm.c: include vm_call_iseq_optimized.inc.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-23 17:53:35 +00:00
nobu be8a9db524 colorize
* tool/generic_erb.rb: use VT100 sequence if tput does not work.

* tool/ifchange: ditto and add --color option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-22 14:02:38 +00:00
nobu 35957b7690 ifchange: ignore error
* tool/ifchange: do not exit by -e even if tput failed.
  [ruby-core:71143] [Bug #11611]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-22 13:53:01 +00:00
nobu 30b839a013 generic_erb.rb: ignore error
* tool/generic_erb.rb: ignore error that tput is not found.
  [ruby-core:71143] [Bug #11611]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-22 08:56:30 +00:00
nobu 5a599dde0c generic_erb.rb: highlight
* tool/generic_erb.rb: highlight result messages too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-22 06:25:33 +00:00
nobu 2bb1e93d92 test -t
* aclocal.m4, tool/ifchange: make the fd explict.
  [ruby-dev:49311] [Bug #11608]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-20 14:40:17 +00:00
nobu e487959287 highlight configure
* aclocal.m4 (COLORIZE_RESULT): highlight result messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-20 07:15:04 +00:00
akr 36ca18b847 Put an line before "frozen_string_literal: true" for emacs.
https://bugs.ruby-lang.org/issues/8976#note-49


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-05 22:22:56 +00:00
akr 805c20a8e5 * lib/pp.rb: Use frozen_string_literal: true.
* lib/prettyprint.rb: Ditto.

* lib/resolv.rb: Ditto.

* lib/tmpdir.rb: Ditto.

* test/test_pp.rb: Ditto.

* test/test_prettyprint.rb: Ditto.

* tool/transcode-tblgen.rb: Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-05 13:27:48 +00:00
nobu 85e83e9f93 runruby.rb: fallback to ruby
* tool/runruby.rb: use ruby-runner only when exists and fallback
  to ruby itself.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-04 01:25:42 +00:00
nobu a4fd2a791e ruby-runner
* template/ruby-runner.c.in: wrapper to set dynamic loading path
  environment variable.  /bin/sh on Mac OS X 10.11 (El Capitan)
  clears DYLD_LIBRARY_PATH.
  it must:
  - do nothing even if current directory is not present
  - do not set other environment variables, e.g. PWD, SHLVL, etc
  - do not open other FDs, e.g. pipes for timer thread

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-03 15:09:47 +00:00
ko1 d5ec9ec308 * vm_core.h: split rb_call_info_t into several structs.
* rb_call_info (ci) has compiled fixed information.
  * if ci->flag & VM_CALL_KWARG, then rb_call_info is
    also rb_call_info_with_kwarg. This technique reduce one word
    for major rb_call_info data.
  * rb_calling_info has temporary data (argc, blockptr, recv).
    for each method dispatch. This data is allocated only on
    machine stack.
  * rb_call_cache is for inline method cache.
  Before this patch, only rb_call_info_t data is passed.
  After this patch, above three structs are passed.
  This patch improves:
  * data locarity (rb_call_info is now read-only data).
  * reduce memory consumption (rb_call_info_with_kwarg,
    rb_calling_info).
* compile.c: use above data.
* insns.def: ditto.
* iseq.c: ditto.
* vm_args.c: ditto.
* vm_eval.c: ditto.
* vm_insnhelper.c: ditto.
* vm_insnhelper.h: ditto.
* iseq.h: add iseq_compile_data::ci_index and
  iseq_compile_data::ci_kw_indx.
* tool/instruction.rb: introduce TS_CALLCACHE operand type.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-19 17:59:58 +00:00
nobu abd5b8e1db extlibs.rb: patch options
* tool/extlibs.rb (do_patch): let "patch" command change the
  working directory and open the patch file there, instead of
  spawn options, so that proper error message will be shown by the
  command not just "chdir" or "open".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09 04:38:58 +00:00
nobu 1587b32480 fake.rb: optimal paths
* tool/fake.rb: remove redundant dot directories from joined path.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-05 12:29:29 +00:00
nobu 32c4fd7aa3 fake.rb: fix builddir
* tool/fake.rb: builddir should be "." if it is the current
  working directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-05 02:00:34 +00:00
nobu 87a34aa07a fake.rb: suppress warning
* tool/fake.rb: get rid of use of uninitialized global variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-04 15:27:02 +00:00
nobu 8a77feb9ca fake.rb: extmk mode
* tool/fake.rb: add extmk mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-04 10:06:49 +00:00
nobu d85096ad45 compressed mantypes
* configure.in (--with-mantype): add compressed mantypes.

* tool/rbinstall.rb (man): compress man pages if specified.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-10 12:49:55 +00:00
nobu e9482963fd runruby.rb: don't close other fds
* tool/runruby.rb: rubyspec now requires other FDs not to be
  closed since 7b6ce1fee.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-21 10:52:41 +00:00
akr 35808bbf4b show pathname of failed file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-14 13:35:05 +00:00
usa 9b04c1dd42 * tool/runruby.rb: just remove the lines of RUBY_VERSION check and raise
instead of replacing the check to `true`, for getting rid of a
  warning `possibly useless use of true in void context`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-14 01:46:22 +00:00
ko1 7fd053a018 * tool/make_hgraph.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-29 08:39:50 +00:00
usa 19f7dd85c4 * tool/redmine-backporter.rb (rel): after the relations is changed,
@changesets is no longer right.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-25 13:38:00 +00:00
nobu aaa123591d common.mk: update-man-date
* common.mk (update-man-date): update last date in man pages.

* tool/vcs.rb (VCS#modified): returns last modified time.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-23 09:36:33 +00:00
nobu 80000c534c file2lastrev.rb: format for modified
* tool/file2lastrev.rb: add optional argument to --modified, for
  strftime format.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-23 09:36:22 +00:00
nobu b8081c7c4c file2lastrev.rb: all ARGV
* tool/file2lastrev.rb: output for each arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-23 09:36:05 +00:00
nobu 8869cdf576 checksum.rb: check the target
* tool/checksum.rb (Checksum#update?): check if the target exists
  too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-07 07:09:43 +00:00
nobu 81c83f55e7 io/console: win32_vk dependencies
* ext/io/console/depend: check if VK table is modified by the
  checksum.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-06 21:54:07 +00:00
usa 1172a0e991 * tool/expand-config.rb: typo, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20 12:44:08 +00:00
usa 00d4da468c * common.mk ($(arch)-fake.rb): revert r50354 because bsdmake seems not
to handle such substitution.

* tool/expand-config.rb: convert path separators here.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20 11:24:43 +00:00
usa 160f2ce0de * too/fake.rb: don't fake libdir. use libdirname instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20 07:53:07 +00:00
hsbt c97064c79d * benchmark/bm_so_meteor_contest.rb: fix a typo.
[fix GH-876][ci skip] Patch by @davydovanton
* tool/bisect.sh: ditto.
* tool/update-deps: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-20 03:45:35 +00:00
usa cdf0a92c75 * tool/merger.rb (versionup): should also increment revision when
changing teeny.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-14 07:05:30 +00:00
usa cef3b0a890 * tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note
without the ticket number.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-13 08:25:34 +00:00
hsbt 9829e91d34 * ext/json/json.gemspec, lib/rdoc/rdoc.gemspec: added gemspec directly.
* defs/default_gems, tool/rbinstall.rb: removed default_gems definition.
  it make simple installation for default gems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-12 09:12:15 +00:00
nobu 3cb0c6e39e rbinstall.rb: destdir
* tool/rbinstall.rb (gem): use installed ruby under destdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-11 23:31:48 +00:00
hsbt d266473283 * tool/rbinstall.rb: support destdir for native extention gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-11 14:26:44 +00:00
nobu 92c3c97273 rbinstall.rb: no post install messages
* tool/rbinstall.rb: suppress post install messages of rdoc for
  older ruby versions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-07 16:05:32 +00:00
nobu fdb3bbf194 rbinstall.rb: $script_mode
* tool/rbinstall.rb: set script files permission to $script_mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-07 16:05:21 +00:00
kazu 894507c5f4 fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 15:00:00 +00:00
naruse 886d8e3f40 * tool/downloader.rb (http_options): prevent content auto decoding
because this is a downloader.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-06 02:28:44 +00:00
nobu 5180de635a rbinstall.rb: same options for gems
* tool/rbinstall.rb (gem): share same options between normal
  installer and unpacked installer.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:34:27 +00:00
hsbt 09bcf7b51b * tool/rbinstall.rb: fix bin script permission of bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:11:05 +00:00
hsbt 75f9f244d6 * tool/rbinstall.rb: support --program-suffix option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 23:46:45 +00:00
hsbt c4ee0df8ba * lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto.
* tool/rbinstall.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-04 12:31:31 +00:00
nobu 51bcbca236 rbconfig.rb: use program version
* common.mk, tool/mkconfig.rb: check the running ruby version in
  rbconfig.rb with the program version, as RUBY_VERSION has never
  been affected by --with-ruby-version option.
  [ruby-core:68639] [Bug #11002]
* configure.in (LIBRUBY_DLDFLAGS): compatibility_version must be
  valid version numbers, not an arbitrary string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-02 07:27:12 +00:00
nobu 733a03c285 mkconfig.rb: embed version substring
* tool/mkconfig.rb (RbConfig): embed substring of the version, not
  at the runtime, and fall back to the version itself for the case
  it does not include the teeny version.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-26 00:30:07 +00:00
nobu 8d43213467 make-snapshot: override rest variables
* tool/make-snapshot (package): override variables which are not
  substituted by the command line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 07:44:58 +00:00
nobu cfa98ab2eb make-snapshot: RUBY_VERSION
* tool/make-snapshot (package): override RUBY_VERSION to proceed
  with different version ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 07:07:23 +00:00
usa 8ea6b7a137 * tool/redmine-backporter.rb: now doesn't required spaces just after
`!`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 07:49:02 +00:00
nobu 1e528da90c make-snapshot: CONFIGURE
* tool/make-snapshot (package): add default CONFIGURE name to
  follow r50039.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-22 00:53:17 +00:00
nobu ddc3997c58 make-snapshot: substitute configuration variables
* tool/make-snapshot (package): substitute configuration variables
  in Makefile.in instead of passing by the command line, and make
  temporary Makefile instead of a pipe.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-22 00:51:31 +00:00
nobu 9833ae93cf make-snapshot: follow previous commits
* tool/make-snapshot (package): set @ruby_version@ and
  BOOTSTRAPRUBY.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 11:54:58 +00:00
nobu aa68fd85b9 expand-config.rb: without fake.rb
* win32/Makefile.sub (ruby_pc): without fake.rb.

* tool/expand-config.rb: no longer depends on fake.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 02:06:18 +00:00
nobu 6268830ba8 mkconfig.rb: without fake.rb
* tool/mkconfig.rb: use arguments instead of built-in constants
  to work without fake.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 02:06:11 +00:00
nobu e9f3a59e85 configure.in: BOOTSTRAPRUBY
* configure.in (BOOTSTRAPRUBY): baseruby if cross compiling or
  miniruby, anyway runnable ruby command.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 02:06:06 +00:00
hsbt fe46bec769 * tool/merger.rb: Added documentation to version method.
[fix GH-847][ci skip] Patch by @magikid

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 00:18:46 +00:00
nobu d7628fcfd3 rbinstall.rb: set umask 077
* tool/rbinstall.rb: default umask to prohibit group/others from
  reading/writing/executing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-04 01:34:11 +00:00
usa bca791ae60 * tool/redmine-backporter.rb (backport_command_string): pick up only
when the revision exists in trunk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 17:14:22 +00:00
nobu 36ba828dac rbinstall.rb: gems dir_mode
* tool/rbinstall.rb (DirPackage#extract_files): set directories
  permission of gems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 16:27:34 +00:00
usa 6aff861d60 * tool/redmine-backporter.rb: now can specify shorten form of commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 15:30:54 +00:00
usa d1d5264c6c * tool/redmine-backporter.rb (Readline.readline): drop untreated control
characters.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 14:42:15 +00:00
naruse dff21f052f remove ruby_1_9_2 support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 08:55:59 +00:00
naruse 7968f885a0 add teenyup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 08:55:52 +00:00
usa 41eb94d4b4 * tool/redmine-backporter.rb: use 'b' instead of 's' for showing
Backport options for merger.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 07:58:39 +00:00
usa d57a8fa590 * tool/redmine-backporter.rb: show selected ticket number at prompt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 07:55:57 +00:00
nobu cb0cfbb4c3 mkconfig.rb: no build-time variables
* tool/mkconfig.rb: exclude unnecessary build-time only variables,
  various ruby commands, installation targets, and dtrace stuffs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-01 02:17:13 +00:00
nobu 727f525108 runruby.rb: use File::PATH_SEPARATOR
* tool/runruby.rb: use File::PATH_SEPARATOR as
  DYLD_INSERT_LIBRARIES is colon-separated list.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-26 14:42:11 +00:00
nobu 68c062b1f0 configure.in: PRELOADENV
* configure.in (PRELOADENV): platform specific environment to
  pre-load the given shared libraries.

* tool/runruby.rb: use config['PRELOADENV'] instead of hardcoded
  LD_PRELOAD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-26 08:01:54 +00:00
nobu 25f99aef58 fake.rb: rubyarchhdrdir for rubyspec
* common.mk (test-rubyspec): use fake script to set header
  directories.

* template/fake.rb.in (RUBYOPT): set -r option to propagate to
  forked processes.

* tool/fake.rb (prehook): set rubyarchhdrdir too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 17:19:57 +00:00
nobu 8b89b2c6b9 runruby.rb: update pattern
* tool/runruby.rb: no space may be after RUBY_VERSION.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 15:04:45 +00:00
nobu 25edb07cb3 mkconfig.rb: delete DESTDIR
* tool/mkconfig.rb (RbConfig): delete default DESTDIR set by
  --with-destdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 09:17:33 +00:00
nobu 7722b3b67f runruby.rb: follow r49740
* tool/runruby.rb: follow the change of RUBY_VERSION check in
  rbconfig by r49740.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 09:17:28 +00:00
naruse 7d24866746 * tool/merger.rb: support 2.1+ versioning scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 06:35:47 +00:00
nobu 759724fa2d mkrunnable.rb: try mklink
* tool/mkrunnable.rb (Mswin#ln_safe): try mklink command if not
  linked already.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-24 04:59:03 +00:00