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

44235 Коммитов

Автор SHA1 Сообщение Дата
nobu 7f7e809a45 scriptbin on cygwin
* cygwin/GNUmakefile.in (scriptbin): enable on cygwin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-19 08:01:20 +00:00
nobu 468a766b76 strip stub program
* cygwin/GNUmakefile.in (STUBPROGRAM): strip.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-19 08:01:19 +00:00
nobu 438f52d1a4 extmk.rb: makefiles for gems
* ext/extmk.rb (extmake): now yield makefile content at creation.
  substitute makefiles for gems in the block, not to rewrite when
  nothing changed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-19 04:38:20 +00:00
nobu ec8f8fa4c8 parse.y: lparen_arg statement
* parse.y (primary): allow parenthesised statement as a method
  argument.  [Feature #12686]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-19 02:39:09 +00:00
nobu 6f22777fcf vm.c: check TOPLEVEL_BINDING
* vm.c (vm_set_main_stack): TOPLEVEL_BINDING must be built.
  http://www.viva64.com/en/b/0414/#ID0EQ1CI  [ruby-core:76973]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-19 00:12:47 +00:00
svn ea31b6c0e4 * 2016-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-18 15:59:13 +00:00
yui-knk c4d4abf241 * proc.c (mnew_missing): Remove an unused argument.
After r51126 rid is not used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-18 15:59:12 +00:00
nobu 2edcca66e3 test_rand.rb: refine probability test
* test/ruby/test_rand.rb (test_new_seed): refine probability of
  failure from 1/256 to 1/256**8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-18 03:19:24 +00:00
hsbt a3d25f54bd * gems/bundled_gems: bump to test-unit-3.2.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-18 00:26:53 +00:00
svn 230511263b * 2016-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 17:36:29 +00:00
nobu a5eab8ccef skip failed gems
* tool/rbinstall.rb: skip gems which failed to build extensions.
  [ruby-dev:49764] [Bug #12683]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 17:36:28 +00:00
nobu 819d87ed91 bump up tk
* gems/bundled_gems (tk): bump up to 0.1.1.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 14:35:16 +00:00
nobu 9839d82d1e gem extensions
* ext/extmk.rb: build gem extensions into separate directories
* tool/rbinstall.rb: install pre-built gem extension files gem
  extension directories.  [ruby-core:76931] [Bug #12681]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 14:14:44 +00:00
nobu 39e3db3510 mkmf.rb: use TARGET_SO
* lib/mkmf.rb (create_makefile): use TARGET_SO consistently.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 07:20:23 +00:00
svn 6256559887 * 2016-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 01:13:01 +00:00
nobu b6fbbf332d make-snapshot: remove $GZIP
* tool/make-snapshot: remove deprecated environment variable GZIP
  to its command line arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 01:13:00 +00:00
nobu b24c4908e9 make-snapshot: UNICODE_VERSION
* tool/make-snapshot (package): propagate UNICODE_VERSION to make
  snapshot from the parent make.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 13:02:33 +00:00
nobu 2ae5e54e62 open Unicode data in binary mode
* tool/enc-unicode.rb (data_foreach): open in binary mode because
  Unicode 9.0.0 contains non-ascii characters.

* template/unicode_norm_gen.tmpl: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 13:01:30 +00:00
nobu fc95326e1f common.mk: make unicode header dir
* common.mk (UNICODE_HDR_DIR): make unicode header directory.
  [ruby-core:76879] [Bug #12677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 12:36:40 +00:00
nobu 7b664abad1 common.mk: separate unicode headers
* common.mk (UNICODE_HDR_DIR): separate unicode header files from
  unicode data files.  [ruby-core:76879] [Bug #12677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 12:04:34 +00:00
nobu a44caf8067 common.mk: UNICODE_HDR_DIR
* common.mk (UNICODE_HDR_DIR): directory for unicode headers.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 08:53:49 +00:00
nobu 2e11bf259c common.mk: MAKE_ENC
* common.mk (MAKE_ENC): arguments for enc.mk

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 08:41:59 +00:00
hsbt 6f6ed7fbba * lib/net/http/header.rb: Fix typo. [ci skip][fix GH-1407]
* transcode.c: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 02:18:51 +00:00
svn dd04487e02 * 2016-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 02:02:34 +00:00
nobu e7effb1e8d make-snapshot: save unicode headers
* tool/make-snapshot (package): save generated header files from
  unicode data.  [ruby-core:76879] [Bug #12677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 02:02:33 +00:00
nobu 86006209cd node.c: nd_alen only in the head
* node.c (dump_array): show nd_alen field in NODE_ARRAY only in
  the first node.  it is nd_end in the rest nodes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 11:31:36 +00:00
kazu 15c9e5c0a5 * appveyor.yml: Update libressl version to 2.3.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 07:42:56 +00:00
nobu 5e0fa644ed extmk.rb: no static-ext in gems
* ext/extmk.rb (extmake): extension libraries in gems cannot link
  statically.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 02:46:53 +00:00
svn 93bc502436 * 2016-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 01:59:59 +00:00
nobu ab65e9d983 numeric.c: round_to_nearest
* numeric.c (round_to_nearest): extract and reduce for platforms
  where round is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 01:59:58 +00:00
nobu dfe1d4fda6 id_table.c: extend, don't shrink
* id_table.c (hash_table_extend): should not shrink the table than
  the previous capacity.  [ruby-core:76534] [Bug #12614]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-14 13:35:42 +00:00
nobu 6418594993 gems: tk 0.1.0
* gems/bundled_gems: add gemified tk 0.1.0.
  this needs `extract-gems` to build.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-14 09:51:25 +00:00
kou b9a82eaa13 * object.c (InitVM_Object): Update referenced document path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-14 05:55:04 +00:00
svn 5858f6c196 * 2016-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-14 00:34:57 +00:00
hsbt 6a59f8805d ChangeLog: Fix wrong date
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-14 00:34:56 +00:00
nobu ba1ef74f05 numeric.c: infinite recursion
* numeric.c (num_funcall0, num_funcall1): get rid of infinite
  recursion in fallback methods of Numeric.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 14:08:03 +00:00
nobu 85512bdbde test_comparable.rb: fix clamp test
* test/ruby/test_comparable.rb (TestComparable#test_clamp): fix
  test.  the result which is not clamped should be the receiver.
  [Feature #10594]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 14:04:21 +00:00
nobu a2a6c98e51 win32ole.c: fix long conversion
* ext/win32ole/win32ole.c (ole_val2variant): reuse the converted
  result for V_I8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 13:01:13 +00:00
nobu 90d9255ec2 parse.y: chained assignments
* parse.y (command_asgn, arg): fix syntax errors with chained
  assignment with op assign.  [Bug #12669]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 02:10:11 +00:00
nobu 5245e31426 parse.y: rescue modifier in rhs of op asgn
* parse.y (stmt, arg): rescue modifier in command op assignment
  should be limited to rhs only.  [ruby-core:75621] [Bug #12402]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 01:52:22 +00:00
nobu 9e778a8ad5 win32ole.c: fix long conversion
* ext/win32ole/win32ole.c (ole_val2variant): get rid of repeated
  conversions and fix a compile error due to V_I8 in old VC.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 01:49:16 +00:00
nobu ee7993afb4 getnameinfo.c: rubysocket.h for inet_ntop
* ext/socket/getnameinfo.c: needs rubysocket.h for fallback
  definition of inet_ntop.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 01:26:24 +00:00
nobu 2827bf1ca5 vm_insnhelper.c: fix ALWAYS_INLINE usage
* vm_insnhelper.c (vm_getivar): ALWAYS_INLINE macro needs an
  argument.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-13 01:21:29 +00:00
svn ab67459ab4 * 2016-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 22:54:24 +00:00
suke d5c2261bd6 * ext/win32ole/win32ole.c (ole_val2variant): fix integer conversion in
cygwin64.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 22:54:23 +00:00
naruse bfe6bd0f72 * lib/webrick/config.rb (WEBrick::Config::General):
disable reverse lookup by default. [ruby-core:45514] [Feature #6559]
  Socket.do_not_reverse_lookup is true by default but WEBrick
  overwrote it.
  patch by Eric Hodel [ruby-core:45527]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 12:08:13 +00:00
kazu 287b6a27cc fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 07:48:09 +00:00
nobu 3ccd2a1bb2 ChangeLog: fix name in r55863 [ci skip]
* ChangeLog: fix the original patch author's name to the name
  written in the patch, not "author name" in git.
  [Feature #10594]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 03:55:16 +00:00
nobu a49068f1cb error.c: fix newline in syntax error
* error.c (rb_syntax_error_append): fix newline in syntax error
  message to the beginning, not after file name and line number.
  [Feature #11951]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 03:50:33 +00:00
nobu d63802b375 parse.y: const_decl_gen
* parse.y (const_decl_gen): extract as a function as well as
  ripper.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-12 03:29:50 +00:00