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

21215 Коммитов

Автор SHA1 Сообщение Дата
svn 0b1bccdb82 * 2010-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-01 08:04:40 +00:00
shyouhei 43ce320c4c * test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy):
My machine fails this test at this line, saying 503 service unavailable.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-01 08:04:37 +00:00
matz b602f6516f * parse.y (command_asgn): allow command_call to be right hand side
expression of chained assignment.  [ruby-dev:42313]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 14:17:31 +00:00
usa 1fcb7a5ee0 * win32/win32.c (rb_w32_getenv): should return NULL if specified name
is empty. a patch from Heesob Park at [ruby-core:32650]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 07:12:49 +00:00
usa 85bcd25877 * hash.c (ruby_setenv): workaround for old Windows. a patch from
Heesob Park. [ruby-core:32353]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 01:57:17 +00:00
naruse c4087bcb12 * lib/uri/common.rb (URI.encode_www_form): change treatment of
undefined value in given array as latest internet draft for
  application/www-form-urlencoded.
  http://tools.ietf.org/html/draft-hoehrmann-urlencoded-01

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 00:48:01 +00:00
svn 652ab6d3a5 * 2010-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 00:35:27 +00:00
usa 02a0e528f9 * vm_dump.c (dump_thread): fixed wrong type of return value of
SymGetModuleBase64(). [ruby-dev:42306]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-30 00:35:23 +00:00
shyouhei c637e7b458 * test/ruby/test_rubyoptions.rb (TestRubyOptions::test_script_from_stdin):
As usual, PTY is not always available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 12:06:42 +00:00
nobu 7d61b7e13f * tool/config.sub (x64): regularize only for pc vendor, and strip
useless 64 suffix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 09:38:31 +00:00
mrkn 3e85e58411 * ext/bigdecimal/bigdecimal.c (BIGDECIMAL_ENABLE_VPRINT):
VPrint is usually disabled.  It's only used in debugging.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 08:55:17 +00:00
mrkn ecfc868bdb * ext/bigdecimal/bigdecimal.c (BigDecimal_save_limit):
return the result of a block.
* test/bigdecimal/test_bigdecimal.rb (test_save_limit):
  add a test for the above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 08:55:11 +00:00
usa e6ad15393d * vm_dump.c (dump_thread): remove ununsed optional arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 07:18:39 +00:00
mrkn fed832d7f2 * ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode):
return the result of a block.
* test/bigdecimal/test_bigdecimal.rb (test_save_rounding_mode):
  add a test for the above change.
* test/bigdecimal/test_bigdecimal.rb (test_save_exception_mode):
  add a test for the return value of BigDecimal.save_exception_mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 04:32:20 +00:00
usa 98d7c2b8f1 * ext/bigdecimal/bigdecimal.c (BigDecimal_div2, BigDecimal_add2,
BigDecimal_sub2, BigDecimal_mult2, VpLimitRound): remove meaningless
  casts to get rid of compiler warnings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:48:21 +00:00
nobu ee1a4eefa5 * ext/openssl/ossl_config.c (parse_config): remove dead declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:37:44 +00:00
nobu f20f30fc07 * ext/bigdecimal/bigdecimal.c (VPrint, VpToString): fix format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:35:31 +00:00
svn a236e7348b * 2010-09-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:31:36 +00:00
nobu 510ae756be * lib/rdoc/known_classes.rb (RDoc::KNOWN_CLASSES): add Encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:31:32 +00:00
usa bb49917c66 * ext/*: svn:ignore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 01:29:35 +00:00
nobu d2cd8f4471 * tool/config.sub (x64): regularize same as mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-28 11:50:29 +00:00
svn 85120dc419 * 2010-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-28 11:08:58 +00:00
usa 340997aec7 * vm_dump.c (rb_vm_bugreport): add windows support.
based on patchs from Peter Weldon at [ruby-core:32551]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-28 11:08:56 +00:00
ko1 86a8b820d6 * insns.def (opt_case_dispatch), vm_insnhelper.c:
execute the procedures of "when" clauses by bytecode
  instead of st_foreach() when the object does not hit
  prepared hash.  [ruby-dev:42304]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-27 14:47:30 +00:00
shyouhei 93fba33b47 * test/net/http/test_https.rb: As always, localhost is not
guaranteed to be resolved as 127.0.0.1.  But a SSL
          certificate needs a socket to listen on a specific address
          where a CN resolves to.  On situations where localhost is
          not 127.0.0.1, these tests are not possible.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-27 06:57:39 +00:00
svn 39ac0609d5 * 2010-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-27 06:29:02 +00:00
shyouhei 36cfaa8052 * test/net/imap/test_imap.rb: resurrection of r29259.
this change depends on minitest 1.7.1.

	* lib/test/unit/assertions.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-27 06:28:59 +00:00
nobu ae9264678c * tool/config.sub (x86_64-pc-mingw64): regularize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-26 13:59:48 +00:00
wanabe 7b77b436f0 * ext/openssl/ossl_hmac.c (ossl_hmac_hexdigest, ossl_hmac_s_hexdigest),
ext/openssl/ossl_pkey_ec.c (ossl_ec_group_set_seed),
  ext/openssl/ossl_ssl_session.c (ossl_ssl_session_to_der),
  ext/openssl/ossl_pkcs7.c (numberof): suppress warnings.
  [ruby-core:31932]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-26 13:24:52 +00:00
svn a67600d12b * 2010-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-26 01:25:38 +00:00
nobu f3bd5ee5bd * tool/config.{guess,sub}: updated to automake-1.11.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-26 01:25:34 +00:00
nobu d3a8adc0de * configure.in (LIBRUBY_DLDFLAGS): fix quoting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-25 13:48:42 +00:00
nobu bab83d2628 * configure.in (LIBRUBY_DLDFLAGS): use -unexported_symbol only
when available.  http://trac.macports.org/ticket/26341

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-25 01:30:52 +00:00
kosaki 4fd8930898 configure.in: Always add -mieee for Renesas SH4
SH4 is CPU for embedded which developed by Renesas Electronics.
Renesas SH4 has FPU. When FPU is used on sh4, -mieee of option is necessary.
This supports sh4(basic), sh4el(sh4 little endian) and sh4eb(sh4 big endian).
These do not have FPU though there are other sh4al, sh4al-dsp and etc.

[Feature #3874] [ruby-core:32548]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-25 00:52:20 +00:00
nobu feacd3c2e0 * Makefile.in (install-cross): target to install cross-compiling
stuff.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 16:34:56 +00:00
svn c5d52c3bb3 * 2010-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 16:05:44 +00:00
akr c81e5864ae fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 16:05:43 +00:00
nobu f5b0cb07e2 * string.c (sym_call), vm.c (invoke_block_from_c),
vm_insnhelper.c (vm_yield_with_cfunc): pass given block.
  [ruby-core:32075]

* vm_eval.c (rb_funcall_passing_block): new function to call
  method with passing given block.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 14:45:19 +00:00
shyouhei 08d2e528aa * test/test_pty.rb (TestPTY::test_getpty_nonexistent): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 07:37:26 +00:00
naruse c49a1d11b9 * string.c (rb_str_to_i): fix rdoc: String#to_i raises an
exception when base is invalid. [ruby-core:31685]

Fri Sep 24 15:28:35 2010  NARUSE, Yui  <naruse@ruby-lang.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 06:52:25 +00:00
naruse 955507313b * string.c (rb_str_rindex): use rb_enc_prev_char instead of repeated str_nth.
patched by Michael Selig [ruby-core:32498]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 06:28:35 +00:00
shyouhei aa836e539f * test/test_pty.rb: Same as 229281; existence of PTY class do not
guarantee a successful pty operation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 05:25:55 +00:00
naruse 9da7920d6b Refix to give the encoding of gzfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24 00:43:44 +00:00
svn d021b311b8 * 2010-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 21:27:23 +00:00
ryan 4c6551b7d3 Imported minitest 1.7.2 r5879.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 21:27:19 +00:00
nobu d1a4b54218 * vm_insnhelper.c (vm_get_cref0): cref is stacked only in normal
iseqs, so check if it is the case first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 14:09:22 +00:00
nobu 67d1d75fcb * tool/config.sub: mingw64 should use x86_64. [ruby-core:32514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 14:08:55 +00:00
wanabe e63c5b3a62 * ext/socket/raddrinfo.c (init_addrinfo, inspect_sockaddr): suppress
warnings.  see [ruby-core:31932].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 12:42:49 +00:00
naruse d339fed3ad Add document about URI.join. [ruby-core:32462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 12:22:43 +00:00
wanabe 060f18c0d9 * thread_win32.c (w32_wait_events, w32_close_handle): suppress warnings.
see [ruby-core:31932].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 10:29:27 +00:00