usa
d6273007fc
* test/ruby/test_io.rb (test_reopen, test_reinitialize): should close
...
the temporay files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 06:06:18 +00:00
usa
4d257293f8
* test/ruby/test_io.rb (test_binmode_after_closed): the temporary file
...
maked by make_temfile is already closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 05:26:34 +00:00
usa
a5b77d1cf7
* test/ruby/test_io.rb (test_flush_in_finalizer[12]): should close
...
temporary file because it's only used for taking pathname and
unlinking the file after the end of the test (in GC phase).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 04:54:20 +00:00
usa
dcca25f003
* ext/zlib/zlib.c (gzfile_s_open): should close the IO if some error
...
occurs in initilizing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 04:36:14 +00:00
naruse
cba0d62d91
* lib/net/http.rb (Net::HTTPRequest#send_request_body_data):
...
set binmode to tempfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 04:05:03 +00:00
usa
b33cb3c017
* test/zlib/test_zlib.rb (*): should close files associated with zlib.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 03:57:26 +00:00
naruse
842110e6a6
fix wrong argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 02:42:40 +00:00
usa
fae9930033
* test/ruby/test_argf.rb (test_inplace_rename_impossible): unlink
...
the renamed temporary file on no_safe_rename platforms.
* test/ruby/test_argf.rb (test_readlines_limit_0,
test_each_line_limit_0): should close argf because the associated
Tempfile object cannot unlink the temporary file when it's gc'ed
on some platforms (Windows, etc.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 02:34:46 +00:00
naruse
00aab58537
* lib/minitest/unit.rb (Minitest::Unit#_run_suite): split test
...
name and its time. Thiw allows to know test's name when you are
running tests and meet a test which spends long time at realtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 02:33:07 +00:00
naruse
bd0a9d2fb6
* configure.in: Add -Werror=declaration-after-statement to default
...
warning flag. If you are using GCC, this flag is useful to
prevent breaking VC build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 02:33:04 +00:00
svn
28507c9627
* 2010-12-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 01:30:43 +00:00
usa
c1d9e252be
* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms
...
must a man mend; before he can build with VC? r30178
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-14 01:30:41 +00:00
naruse
903538cbb3
* io.c (simple_sendfile): disable the use of sendfile(2) on
...
FreeBSD. It blocks on TestIO#test_copy_stream_socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 12:28:09 +00:00
naruse
7d481b5423
* io.c: define USE_SENDFILE on FreeBSD or DragonFly BSD.
...
Remove Mac OS X because its argument is different from them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 09:37:09 +00:00
tenderlove
b130018e86
adding a test for OpenSSL::PKCS12.create
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 04:17:42 +00:00
akr
53360bd50a
* file.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 03:01:12 +00:00
naruse
b36c91b6b5
* io.c (simple_sendfile): added for BSD version of sendfile(2).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 02:34:50 +00:00
svn
e1dc8e0c22
* 2010-12-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 01:04:40 +00:00
naruse
1c9f703a47
* lib/net/http.rb (Net::HTTPRequest#set_form): Added to support
...
both application/x-www-form-urlencoded and multipart/form-data.
There is a similar API, Net::HTTPRequest#set_form_data, but
to keep its compatibility this is newly added. [ruby-dev:42729]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-13 01:04:37 +00:00
nobu
31c99ce745
* compile.c (iseq_compile_each): fix for __goto__ and __label__
...
where were totally broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 14:45:30 +00:00
nobu
9f4107a906
* common.mk (ID_H_INCLUDES): now id.h depends on vm_opts.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 13:45:51 +00:00
kazu
90e1ed91c4
update how to install again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 12:06:36 +00:00
kazu
e8c539a7e3
* template/id.h.tmpl: suppress all warning: "SUPPORT_JOKE" is not
...
defined. [ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 11:49:32 +00:00
kazu
89c7efed6f
* misc/rb_optparse.zsh: update how to install.
...
* misc/rb_optparse.zsh: avoid error when setopt noclobber.
* lib/optparse.rb: fix typo. pointed out at
<http://d.hatena.ne.jp/nagachika/20101207 >.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 11:40:29 +00:00
akr
5227164cdc
* eval_error.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 04:28:29 +00:00
akr
c4442536b2
* encoding.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-12 02:54:23 +00:00
naruse
2b79366f52
* string.c (rb_str_inspect): fix: extra back slash is added when
...
the string is dummy encoding and includes \x22 or \x5C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-11 19:03:26 +00:00
svn
c19f9a508f
* 2010-12-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-11 17:45:44 +00:00
tenderlove
b82ba18990
* ext/openssl/ossl_asn1.c: indefinite length BER to DER encoding is
...
properly supported. Thanks Martin Bosslet! [ruby-core:33082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-11 17:45:42 +00:00
kazu
5e14eeb482
ext/bigdecimal/bigdecimal.h: suppress "warning: 'VPrint' declared 'static' but never defined".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-11 08:46:28 +00:00
tenderlove
e1e671d60d
refactor load error rescue to the openssl util file
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-11 01:25:25 +00:00
akr
864f60b837
* encoding.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-11 00:28:25 +00:00
drbrain
6c7608c0b1
Document RSA, RSA encryption/decryption and PKCS #5 encryption/decryption
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 23:13:47 +00:00
drbrain
62e2f9052b
Include Comparable in OpenSSL::X509::Name, document #<=>
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 21:26:23 +00:00
nagai
1bd8a97eb5
add an entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 21:01:49 +00:00
nagai
30b7855f75
* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
...
[ruby-dev:42716] [Ruby 1.9-Bug#4129]
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 20:58:10 +00:00
svn
c375224894
* 2010-12-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 17:24:31 +00:00
tenderlove
f6b49243eb
* ext/openssl/extconf.rb: try pkgconfig first, then fall back to
...
normal have_library, etc. Thanks Erik Hollensbe. [ruby-core:32406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 17:24:30 +00:00
akr
e14a0042d2
* dln_find.c: parenthesize macro arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 13:34:08 +00:00
nobu
a18a4811a0
* template/id.h.tmpl (ruby_method_ids): suppress warnings.
...
[ruby-dev:42730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 11:05:52 +00:00
nobu
1a4bf59430
* ruby.c (ruby_init_loadpath_safe): relatively called non-shared
...
binary cannot be found in PATH, so use given pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:29:22 +00:00
nobu
f5aca8a49e
* cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.
...
* cygwin/GNUmakefile.in (scriptbin): set executable bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:28:42 +00:00
nobu
31a974dfdb
* tool/rbinstall.rb (install_recursive): always skip default ignored
...
files. if block is given, call it instead of calling install.
* tool/rbinstall.rb (bin-comm): use install_recursive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:27:53 +00:00
nobu
61d197a62d
* test/mkmf/base.rb (TestMkmf#config_value): extract macro value from
...
config.h.
* test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin),
(TestMkmf::TestSizeof#test_sizeof_struct): more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:12:33 +00:00
nobu
30e0f51a5d
* lib/mkmf.rb (check_signedness): should use the prelude code.
...
[ruby-dev:42731]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:11:48 +00:00
nobu
b38cc52c13
* lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.
...
* test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures.
* test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:11:10 +00:00
kazu
fe1f0df92b
remove a comma at end of enumerator list.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 02:42:06 +00:00
naruse
9ea7e27d58
* sprintf.c (_HAVE_SANE_QUAD_): Don't forget LP64, r30156.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 01:50:51 +00:00
usa
450680a5d7
* sprintf.c (_HAVE_SANE_QUAD_): if a certain platform has LONG_LONG in
...
8 byte, it might be sane quad. [ruby-core:33634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 01:41:02 +00:00
naruse
d10fab3139
Add doc to warn the userinfo for auth. [ruby-core:33255]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 01:21:13 +00:00