hsbt
6447d061f5
* test/openssl/test_pkey_ec.rb: ignored tests with old OpenSSL.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 09:33:33 +00:00
nobu
02e8b4d9a8
signal.c: stack overflow on FreeBSD
...
* signal.c (check_stack_overflow): check sp also on i386/x86_64
FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 09:01:59 +00:00
nobu
7dc4bbc140
configure.in: rb_cv_mcontext_t_ptr
...
* configure.in (rb_cv_mcontext_t_ptr): abstract whether mcontext_t
is a pointer type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 08:59:54 +00:00
nobu
21a40e94ac
skip old OpenSSL
...
* test/open-uri/test_ssl.rb, test/webrick/test_httpproxy.rb: also
depends on test/openssl/utils.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 07:12:56 +00:00
nobu
b392fd5c55
test_https.rb: skip old OpenSSL
...
* test/net/http/test_https.rb (TestNetHTTPS): also depends on
test/openssl/utils.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 07:08:18 +00:00
nobu
af06381332
test/openssl: skip old OpenSSL
...
* test/openssl/utils.rb (OpenSSL::TestUtils): ignore out-of-date
OpenSSL before 1.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 03:05:43 +00:00
nobu
88cea9f7e2
revert r48819
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 03:05:31 +00:00
nobu
76b9d37b56
test_object.rb: no RSS check
...
* test/ruby/test_object.rb (test_copied_ivar_memory_leak): ignore
RSS to disable false failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 02:11:10 +00:00
normal
856903850b
gc.c (define_final0): avoid duplicate blocks
...
This prevents excessive memory growth when a WeakRef
is repeatedly created
* gc.c (define_final0): avoid duplicate blocks
[Bug #10537 ]
* test/test_weakref.rb (test_repeated_object_leak): new test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 01:28:18 +00:00
nobu
58d992ec44
test_ocsp.rb: run separately
...
* test/openssl/test_ocsp.rb (test_new_ocsp_request): run in a
separated process to continue on CentOS 5.6 i386.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 00:20:00 +00:00
nobu
0c71e2808e
ossl_x509store.c: typed data
...
* ext/openssl/ossl_x509store.c (ossl_x509stctx_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 00:06:54 +00:00
nobu
a3fa871534
ossl_x509store.c: typed data
...
* ext/openssl/ossl_x509store.c (ossl_x509store_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-13 00:06:48 +00:00
nobu
7db35b0399
ossl_x509revoked.c: typed data
...
* ext/openssl/ossl_x509revoked.c (ossl_x509rev_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:59:36 +00:00
nobu
0b671673dc
ossl_x509req.c: typed data
...
* ext/openssl/ossl_x509req.c (ossl_x509req_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:59:28 +00:00
nobu
a6eb21f849
ossl_x509name.c: typed data
...
* ext/openssl/ossl_x509name.c (ossl_x509name_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:59:19 +00:00
nobu
cfde2808ae
ossl_x509ext.c: typed data
...
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:46:42 +00:00
nobu
3d0cbeaddd
ossl_x509ext.c: typed data
...
* ext/openssl/ossl_x509ext.c (ossl_x509ext_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:46:30 +00:00
nobu
eb2cdab02f
ossl_x509crl.c: typed data
...
* ext/openssl/ossl_x509crl.c (ossl_x509crl_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:39:04 +00:00
nobu
3bc78d5bd8
ossl_x509cert.c: typed data
...
* ext/openssl/ossl_x509cert.c (ossl_x509_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:38:55 +00:00
nobu
c3fdb1c3bd
ossl_x509attr.c: typed data
...
* ext/openssl/ossl_x509attr.c (ossl_x509attr_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:38:44 +00:00
nobu
2e78e44f59
ossl_pkey_ec.c: typed data
...
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:19:24 +00:00
nobu
13448fdc6b
ossl_pkey_ec.c: typed data
...
* ext/openssl/ossl_pkey_ec.c (ossl_ec_group_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:19:13 +00:00
nobu
68c8994a69
ossl_pkey.c: typed data
...
* ext/openssl/ossl_pkey.c (ossl_evp_pkey_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 23:19:07 +00:00
nobu
bf368e4f48
ossl_pkcs7.c: typed data
...
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_recip_info_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 22:38:01 +00:00
nobu
ba19bcdda4
ossl_pkcs7.c: typed data
...
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_signer_info_type): use
typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 22:37:58 +00:00
nobu
b8897cd60f
ossl_pkcs7.c: typed data
...
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 22:37:55 +00:00
nobu
374fe20e4f
ossl_pkcs12.c: typed data
...
* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 22:37:53 +00:00
nobu
cd96afe993
ossl_ssl.c: typed data
...
* ext/openssl/ossl_ssl.c (ossl_ssl_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:34 +00:00
nobu
060e693738
ossl_ssl.c: typed data
...
* ext/openssl/ossl_ssl.c (ossl_sslctx_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:31 +00:00
nobu
d064e7c857
ossl_ssl_session.c: typed data
...
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_type): use
typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:25 +00:00
nobu
457cd40f30
ossl_ocsp.c: typed data
...
* ext/openssl/ossl_ocsp.c (ossl_ocsp_certid_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:22 +00:00
nobu
e97e41e34a
ossl_ocsp.c: typed data
...
* ext/openssl/ossl_ocsp.c (ossl_ocsp_basicresp_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:17 +00:00
nobu
c3202f63b1
ossl_ocsp.c: typed data
...
* ext/openssl/ossl_ocsp.c (ossl_ocsp_response_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:11 +00:00
nobu
4bb6cb76f2
ossl_ocsp.c: typed data
...
* ext/openssl/ossl_ocsp.c (ossl_ocsp_request_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:07 +00:00
nobu
a6d16bdc0f
ossl_ns_spki.c: typed data
...
* ext/openssl/ossl_ns_spki.c (ossl_netscape_spki_type): use typed
data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:58:03 +00:00
nobu
c5de5573c1
ossl_hmac.c: typed data
...
* ext/openssl/ossl_hmac.c (ossl_hmac_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:57:56 +00:00
nobu
b0a379e3b0
ossl_engine.c: typed data
...
* ext/openssl/ossl_engine.c (ossl_engine_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:57:49 +00:00
nobu
cfa7024e25
ossl_digest.c: typed data
...
* ext/openssl/ossl_digest.c (ossl_digest_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:57:44 +00:00
nobu
0ae6db41ca
ossl_ssl.h: accessor macros
...
* ext/openssl/ossl_ssl.c (GetSSLCTX): accessor macro.
* ext/openssl/ossl_ssl.h (GetSSL): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 21:57:33 +00:00
svn
c420e58ff9
* 2014-12-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 19:59:39 +00:00
nobu
8326a747f9
erb: suppress warnings
...
* bin/erb (ERB::Main#run): get rid of shadowing outer local
variables. [ruby-core:65772] [Feature #10395 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 19:59:22 +00:00
kou
1137a46a81
* gems/bundled_gems: Upgrade to test-unit 3.0.8. assert_throw and
...
assert_nothing_thrown in test-unit 3.0.7 were broken by
UncaughtThrowError change introduced in Ruby 2.2.0
preview2. These assertions in test-unit 3.0.8 work well with
UncaughtThrowError in Ruby 2.2.0 preview2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 13:00:15 +00:00
nobu
9e52416cd3
erb: set variables from the command line
...
* bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set
from the command line. [ruby-core:65772] [Feature #10395 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 10:48:57 +00:00
nobu
e82f4195d4
erb: lineno and location setters
...
* lib/erb.rb (ERB#lineno): accessor for line number to eval.
* lib/erb.rb (ERB#location=): setter of file name and line number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 10:31:47 +00:00
nobu
4d3677e14b
string.c: reduce intermediate string
...
* string.c (rb_str_succ_bang): get rid of making intermediate
string object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 07:23:18 +00:00
ko1
37b6f50ae5
* gc.c (gc_latest_gc_info): return :state field to show current
...
GC state (none/marking/sweeping).
[Feature #10590 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 04:09:28 +00:00
akr
80870e14a7
[DOC]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 03:15:56 +00:00
nobu
3b8c100418
string.c: term fill
...
* string.c (rb_str_succ): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 02:24:51 +00:00
nobu
b96ff20fef
string.c: use local variables
...
* string.c (rb_str_succ): extract local variables from constant
RSTRING_PTR and RSTRING_LEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 02:24:49 +00:00
nobu
01e621579a
string.c: check arguments for crypt
...
* string.c (rb_str_crypt): check arguments more strictly.
* crypt() is not for wide char strings
* salt bytes should not be NUL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-12 01:49:20 +00:00