nahi
a4fa58f9ab
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#continue): add
...
method for generating HTTP/1.1 100 continue response if the client
expects it, otherwise does nothing. Patch by Brian Candler.
ref #855 .
* test/webrick/test_httprequest.rb: test added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 10:20:35 +00:00
nahi
7f438d8402
* ext/openssl/lib/openssl/x509-internal.rb: removed unused local
...
variable.
* test/openssl/*: less warnings while test running with -w.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 08:54:50 +00:00
knu
cb81b56de2
Mention rb_scan_args().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 08:20:47 +00:00
knu
cb39e5dbfa
Add a couple of ruby-dev refs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 07:59:58 +00:00
knu
82abe79b9f
* class.c (rb_scan_args): Add support for optional keyword
...
argument hash.
* README.EXT, README.EXT.ja: Update documentation accordingly.
* dir.c (dir_initialize): Make use of the new rb_scan_args()
feature.
* io.c (rb_io_s_popen, rb_scan_open_args, rb_io_initialize)
(rb_io_s_pipe, open_key_args, io_s_foreach, io_s_readlines)
(rb_io_s_read, rb_io_set_encoding): Ditto.
* transcode.c (str_transcode, econv_args)
(econv_primitive_convert): Ditto.
* ext/zlib/zlib.c (rb_gzreader_initialize): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 07:51:58 +00:00
naruse
4f77c495cd
decrease times of running test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 05:44:57 +00:00
naruse
493f721854
* random.c (rb_genrand_ulong_limited): renamed from
...
rb_rand_internal and now this is public API.
* include/ruby/ruby.h (rb_genrand_ulong_limited): added.
* bignum.c (big_sparse_p): use rb_genrand_ulong_limited.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 05:44:54 +00:00
nobu
7c73db266a
* compile.c: math.h for modf.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 05:03:40 +00:00
nahi
94edc5a9d9
* ext/digest/lib/digest.rb: removed unused exception variable
...
assignment to avoid a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 04:13:21 +00:00
nobu
9e39c618da
* ext/etc/etc.c (etc_systmpdir): assume system default tmpdir
...
safe. [ruby-dev:42089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 22:29:16 +00:00
akr
e7ab96f6ed
* ext/pathname/pathname.c (path_size_p): Pathname#size? translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 22:04:22 +00:00
svn
6a99679ce2
* 2010-09-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 17:19:53 +00:00
akr
a75a467102
* ext/socket/option.c (inspect_peercred): support OpenBSD-current.
...
patch by Jeremy Evans. [ruby-core:32240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 17:19:52 +00:00
nobu
83a827ac9b
* vm.c (vm_backtrace_each): skip allocator frames which have no
...
name. [ruby-core:32231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 14:25:56 +00:00
akr
eb0c31b1ad
* ext/pathname/pathname.c (path_size): Pathname#size translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 13:43:37 +00:00
wanabe
96688ecbab
* compile.c (case_when_optimizable_literal): When float value can be
...
treated as integer, add to table hash of case that way.
based on a patch from Ikuo KOBORI. [ruby-dev:42038]
* insnf.def (opt_case_dispatch): ditto.
* test/ruby/test_case.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 13:40:14 +00:00
nahi
e54c30c05e
* test/net/http/test_https.rb (test_identity_verify_failure): follows
...
the SSL hostname check error message of openssl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 08:17:51 +00:00
naruse
050d7453b7
* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
...
that it ignores characters after = in ENV.
patched by Jeremy Evans [ruby-core:32184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 01:46:07 +00:00
naruse
4d2787c67b
* tool/rbinstall.rb (install?): gemspec filename should include
...
its version. patched by Luis Lavena [ruby-core:32165]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-09 00:17:11 +00:00
svn
0787deb64c
* 2010-09-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-08 15:52:34 +00:00
kazu
66a2c8a4b9
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-08 15:52:33 +00:00
nahi
849c347833
* ext/openssl/ossl_ssl.c (ssl_get_error): Thread context switch was
...
blocked on Windows while blocking call for SSLSocket. Need to
convert errno for letting rb_io_wait_readable detect EWOULDBLOCK.
Patch by arton. ref #3794 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-08 13:52:25 +00:00
akr
bafa881327
* ext/pathname/pathname.c (path_setgid_p): Pathname#setgid? translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-08 11:57:34 +00:00
svn
b684424176
* 2010-09-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-07 21:26:35 +00:00
akr
c37ec5c9d2
* ext/pathname/pathname.c (path_setuid_p): Pathname#setuid? translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-07 21:26:33 +00:00
svn
8e3c2ced73
* 2010-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-07 12:04:19 +00:00
akr
b9f2ea847e
* ext/pathname/pathname.c (path_readable_real_p):
...
Pathname#readable_real? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-07 12:04:17 +00:00
akr
746f85beb4
* ext/pathname/pathname.c (path_world_readable_p):
...
Pathname#world_readable? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 14:08:08 +00:00
nahi
dad43c29f8
* Fixed wrong check of missing functions. Patch by Adrian Quark.
...
ref #3400
The patch contains following comment:
This patch should avoid unnecessary incompatibility with future
versions of Openssl. Changes suggested by bmaher_at_amazon.com.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 02:08:30 +00:00
nahi
8233db65b6
* Fixed exception message for SSL post connection check failure. Patch
...
by Paul Betteridge. ref [Bug #3704 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 01:53:00 +00:00
naruse
59f551635a
* ext/readline/readline.c (readline_s_get_line_buffer):
...
Readline.line_buffer should return locale string.
[ruby-dev:42184] #3791
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 01:38:51 +00:00
naruse
a69423beb8
* util.c (ruby_strtod): check there is at least 1 digit after
...
"0x" before ".". [ruby-dev:42183] #3790
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 01:00:29 +00:00
naruse
0ed5aee000
* util.c (ruby_strtod): check integr overflow.
...
[ruby-dev:42180] #3789
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-06 00:46:48 +00:00
svn
fab386fbff
* 2010-09-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-05 21:17:56 +00:00
akr
efe86e6c0d
* ext/pathname/pathname.c (path_readable_p): Pathname#readable?
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-05 21:17:54 +00:00
svn
cdaf07f619
* 2010-09-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-05 14:03:08 +00:00
akr
5e620bdd65
* ext/pathname/pathname.c (path_owned_p): Pathname#owned?
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-05 14:03:06 +00:00
nobu
0fd37b09ee
* file.c (rb_file_s_readlink): symlink target should be in
...
filesystem encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-04 14:48:55 +00:00
nobu
097d58a594
* load.c (ruby_init_ext): export for golfers.
...
* vm_core.h (rb_iseq_eval, rb_iseq_compile_with_option): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-04 01:41:04 +00:00
yugui
8889aef162
Merges r27968 from ruby_1_9_2 into trunk.
...
--
* common.mk (capi): uses a timestamp file to get rid of
generating twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 15:57:39 +00:00
svn
9c5a56a0d6
* 2010-09-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 15:57:34 +00:00
yugui
60b41810f8
Forward-ports r28360 from ruby_1_9_2 into trunk.
...
--
* enc/Makefile.in (realclean): has been missing. necessary
for make realclean-enc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 15:57:33 +00:00
akr
0c5b7fd01b
* ext/pathname/pathname.c (path_socket_p): Pathname#socket?
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-03 14:51:51 +00:00
nobu
aa5c05b8ba
* ext/pty/pty.c (chfunc): pass through exceptions.
...
* io.c (rb_io_bufwrite, rb_io_bufread): added.
* process.c (rb_fork_err): protect from exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 21:40:55 +00:00
akr
163b4dee96
* ext/pathname/pathname.c (path_pipe_p): Pathname#pipe?
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 21:17:31 +00:00
nobu
185e9705ab
* ext/pty/pty.c (chfunc): restore errno from SystemCallError and
...
propagate proper exception to the parent. [ruby-dev:41965]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 21:14:51 +00:00
akr
d878c51357
* ext/pathname/pathname.c (path_file_p): Pathname#file?
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 13:11:13 +00:00
usa
51f6d787ac
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): don't forget to free
...
memory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 00:12:43 +00:00
usa
d35fdf3335
* win32/win32.c (CreateChild): unicodize.
...
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): convert arguments of
CreateChild() from ACP to WideChar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-02 00:02:52 +00:00
svn
cec2a542b7
* 2010-09-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-01 21:54:39 +00:00