akr
da12c793c4
* ext/socket/socket.c (sock_s_pack_sockaddr_un): support the longest
...
path in sockaddr_un, really.
reported by nagachika.
http://d.hatena.ne.jp/nagachika/20120426/ruby_trunk_changes_35474_35476
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 22:18:03 +00:00
svn
0e01d836df
* 2012-04-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 17:38:55 +00:00
kazu
9a92bcdb26
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 17:38:50 +00:00
akr
b82f8f7191
add a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 13:24:52 +00:00
akr
4c87e9433a
suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 13:24:34 +00:00
akr
1413510ed2
* ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest
...
path in sockaddr_un.
(inspect_sockaddr): ditto.
(addrinfo_mdump): ditto.
(addrinfo_mload): ditto.
(rsock_unixpath_str): new function.
(rsock_unixpath): removed.
(rsock_unixaddr): use rsock_unixpath_str.
* ext/socket/socket.c (sock_s_pack_sockaddr_un): support the longest
path in sockaddr_un.
(sock_s_unpack_sockaddr_un): ditto.
(sock_s_gethostbyaddr): unused variable removed.
* ext/socket/unixsocket.c (rsock_init_unixsock): support the longest
path in sockaddr_un.
* ext/socket/rubysocket.h (rsock_unixpath_str): declared.
(rsock_unixpath): removed.
* test/socket/test_unix.rb: comment out test_nul because abstract unix
sockets may contain NULs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-26 03:34:12 +00:00
nagachika
2bc4268e79
* test/optparse/test_summary.rb (test_summary_containing_space): add
...
test for r35467. OptionParser#to_a shouldn't split banner by spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-25 16:36:14 +00:00
svn
df79ded691
* 2012-04-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-25 16:22:10 +00:00
nagachika
f51e9cc0f6
* ChangeLog: fix a typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-25 16:22:06 +00:00
akr
c1d27b8c8d
* ext/socket/raddrinfo.c (init_unix_addrinfo): refine error message
...
format.
(addrinfo_mload): show more information on "too long AF_UNIX path"
error.
(addrinfo_unix_path): ditto for "too short AF_UNIX address" and
"too long AF_UNIX address" error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-25 14:05:10 +00:00
svn
16a285491e
* 2012-04-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 20:46:19 +00:00
nobu
3c2f707f16
* lib/optparse.rb (OptionParser#to_a): split for each lines.
...
[ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 20:46:14 +00:00
akr
a06cddb466
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 13:52:13 +00:00
akr
7c346a46d3
* ext/socket/raddrinfo.c (init_unix_addrinfo): show actual path length
...
when it is too long for Unix socket.
* ext/socket/unixsocket.c (rsock_init_unixsock): ditto.
* ext/socket/socket.c (sock_s_pack_sockaddr_un): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 12:59:32 +00:00
mame
606208becf
* lib/net/smtp.rb (check_continue): raise an error with an explanatory
...
message. [ruby-core:35854] [Feature #4598 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 12:55:13 +00:00
naruse
dd5ae05b05
* lib/optparse.rb (OptionParser#to_a): should split by end-of-line,
...
and MUST TEST IT, MUST RUN THE TEST, MUST VERIFY BEFORE BACKPORT.
[ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 12:17:05 +00:00
naruse
276d82a7c8
Cent OS 5.6 wakes up in 4.989596sec from sleep(5).
...
20120424
T070102Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 12:17:02 +00:00
usa
756ffef448
* enc/euc_jp.c: added EUC-JP-2004 and its alias EUC-JISX0213.
...
[ruby-dev:45571] [Feature #6349 ]
Requested by Kyouhei Yanagita <yanagi@shakenbu.org>.
* enc/trans/japanese_euc.trans: ditto.
* enc/trans/JIS/JISX0213-[12]%UCS@{BMP,SIP}.src: JIS X 0213:2004 ->
Unicode mapping table from NetBSD.
* enc/trans/JIS/UCS@{BMP,SIP}%JISX0213-[12].src: Unicode -> JIX X
0213:2004 mapping table from NetBSD.
* tool/transcode-tblgen.rb: added SIP support.
* test/ruby/test_transcode.rb: tests of above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 11:14:18 +00:00
ko1
66d247bcb5
* compile.c: fix to output warning when the same literals
...
are available as a condition of same case clause.
And remove infomation ('#n') because we can find duplicated
condition with explicit line numbers.
[ruby-core:38343] [Ruby 1.9 - Bug #5068 ]
* test/ruby/test_syntax.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 09:20:42 +00:00
usa
24f00be686
* win32/win32.c (waitpid): need to check the return value of
...
FindChildSlotByHandle() before passing poll_child_status().
this fixed a SEGV in test-all. reported by ko1 via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 08:05:25 +00:00
nobu
5f34227718
* parse.y (parser_yylex): EXPR_BEG by keywords is a start point of
...
commands. [ruby-dev:45563][Bug #6347 ]
* parse.y (superclass): ditto for superclass.
* parse.y (parser_parse_string, parser_here_document): ditto for
string interpolation.
* parse.y (parser_yylex): ditto for singleton class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 07:04:41 +00:00
nobu
4f2b00429e
* lib/optparse.rb (OptionParser#to_a): should split by end-of-line
...
[ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 06:51:44 +00:00
nobu
a9917efd5d
* lib/optparse.rb (OptionParser#to_a): String#to_a is no longer
...
defined. [ruby-dev:45568][Bug #6348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 05:54:08 +00:00
nobu
770ddcdfe0
* hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.
...
[Feature #6276 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 03:46:55 +00:00
usa
b05c95d93f
* test/drb/drbtest.rb ({DRbCore,DRbAry}#teardown}: cannot pass SIGTERM
...
to another process on Windows, so use SIGINT instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 01:56:35 +00:00
nobu
28a8188e4d
fix condition to set yaml engine
...
* test/rubygems/test_gem_specification.rb (test_to_yaml_emits_syck_compat_yaml):
fix condition to set yaml engine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 01:41:15 +00:00
mame
7320d83753
* thread.c (rb_check_deadlock): refine an error message of deadlock
...
detection. [ruby-core:44336] [Bug #6288 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 15:27:00 +00:00
svn
02bc20ac81
* 2012-04-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 15:23:54 +00:00
mame
563762f6c5
* parse.y (primary): remove wrong "fixpos" that caused incorrect
...
source_location of blocks. [ruby-core:42232] [Bug #5930 ]
* test/ruby/test_proc.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 15:23:41 +00:00
naruse
b712455f98
Wait until the server stops.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 14:05:49 +00:00
nobu
19787c4038
* ext/iconv: deprecated. [Feature #6322 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:57:53 +00:00
nobu
ce2dc60216
* ext/iconv: deprecated. [Feature #6322 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:56:11 +00:00
nobu
82801b9113
--with-broken-apple-openssl option
...
* ext/openssl/extconf.rb: add --with-broken-apple-openssl option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:47 +00:00
nobu
e0431daa00
test with psych
...
* test/rubygems/test_gem_specification.rb (test_to_yaml_emits_syck_compat_yaml):
test with psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:45 +00:00
nobu
c2cc5fc961
ignore unnecessary test
...
* test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly):
ignore unnecessary test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:43 +00:00
nobu
77b1d88513
skip OpenSSL dependent tests if not available
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:41 +00:00
nobu
535a28c737
see OpenSSL::SSL
...
* lib/net/imap.rb (Net::IMAP): see if actually used SSL is defined to
get rid of autoloaded OpenSSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:38 +00:00
nobu
cf6116150c
autoload in module scope.
...
* lib/net/http.rb (Net::OpenSSL): get rid of autoload in global scope
not to make tests confused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:36 +00:00
nobu
7255d93b08
deal with timeout exceptions
...
* lib/net/http.rb (Net::HTTP#transport_request): deal with
Net::OpenTimeout and Net::ReadTimeout first to get rid of loading
OpenSSL as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:31 +00:00
akr
146aff91c4
* test/socket/test_unix.rb (bound_unix_socket): make temporary
...
filename shorter for less possibility of Unix socket path over
107 bytes when TMPDIR has long path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:09:48 +00:00
usa
ee8c98e5cc
* win32/win32.c (szInternalCmds, internal_match, internal_cmd_match):
...
get rid of a segmentation fault with GCC 4.7.0.
reported by raylinn@gmail.com (ray linn) at [ruby-core:44505]
[Bug #6333 ], and patched by mame.
* test/ruby/test_system.rb (TestSystem#test_system): test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 11:47:02 +00:00
akr
c2086cc7ff
* lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
...
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
reported by Bohuslav Kabrda.
[ruby-core:43844] [ruby-trunk - Bug #6221 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 11:15:35 +00:00
akr
8f16d22e99
* test/drb/drbtest.rb: rescue Errno::ESRCH for Process.kill.
...
[ruby-dev:45551] reported by NARUSE, Yui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 10:55:39 +00:00
naruse
90d99ef1bd
* .gdbinit (rb_ps_vm): follow st_table's packing change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 05:19:54 +00:00
nobu
e2b54072b5
* configure.in: disable rubygems not to load rbconfig.rb before
...
fake.rb. [ruby-core:44492][Bug #6329 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 01:43:35 +00:00
svn
c9bbb3a8b8
* 2012-04-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 15:04:53 +00:00
naruse
eab4183f14
Wait until the proxy stops.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 15:04:44 +00:00
nobu
628d3807d2
* ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 12:43:53 +00:00
nobu
f2e9040aff
* ext/openssl/extconf.rb: ignore broken version by Apple.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 12:39:55 +00:00
nobu
ec646dccdd
* ext/openssl/extconf.rb: configure.in adds -Wall to warnflags, not
...
CPPFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-22 12:22:57 +00:00