drbrain
42ffb2ed15
* lib/webrick.rb: Moved proxy rewriting to WEBrick::HTTPProxy.
...
* lib/webrick/httpproxy.rb: Add examples of creating a proxy server
and response rewriting using HTTPProxy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 23:17:24 +00:00
drbrain
30f0e97ef0
* ext/openssl/ossl_x509store.c: Add class documentation for
...
OpenSSL::X509::Store
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 22:54:10 +00:00
svn
3d14e356a8
* 2012-02-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 15:55:12 +00:00
kazu
ca0bb51887
* test/net/http/test_https_proxy.rb
...
(HTTPSProxyTest#test_https_proxy_authentication):
add workaround to avoid to hang up without openssl.
see #5786
* test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 15:55:07 +00:00
kou
ca77bce66d
* lib/rexml/parsers/baseparser.rb: use meaningful name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 12:48:45 +00:00
kou
92cecf79b4
* lib/rexml/parsers/baseparser.rb, test/rexml/test_namespace.rb:
...
fix the default xml namespace URI validation.
Reported by Miho Hiramatsu. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 12:42:27 +00:00
akr
5525d82134
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 11:51:25 +00:00
naruse
2a6ccf6c13
* io.c (argf_next_argv): reset ARGF.next_p on ARGV.replace.
...
r34409 breaks replacing ARGV.
[ruby-dev:45160] [Bug #5952 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 08:52:55 +00:00
usa
a267b9512a
* test/net/http/test_http.rb (TestNetHTTPKeepAlive#*): remove debug
...
output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-02 07:22:17 +00:00
mame
8107587039
* parse.y (debug_lines, coverage): set file path encoding for coverage
...
result. [ruby-dev:44950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 16:28:14 +00:00
svn
3b94b32dd9
* 2012-02-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 16:12:47 +00:00
knu
1f1196fae3
* lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): Just
...
call File.unlink and ignore ENOENT because existence check
before unlinking does not help in terms of race condition.
* lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): My
comment about thread safeness is obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 16:12:44 +00:00
nobu
dc82e7e749
* test/ruby/test_argf.rb (test_readlines_twice_tty): removed incomplete test committed accidentally.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 01:50:52 +00:00
nobu
01d54bc2c7
* doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalion
...
and patched by Zachary Scott. [Bug #5947 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 00:50:17 +00:00
svn
25cd6d14e4
* 2012-02-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31 21:39:04 +00:00
nobu
0470ce53c5
* io.c (argf_close): skip stdin, which should be readable again.
...
[ruby-dev:45160] [Bug #5952 ]
* io.c (argf_readlines): reinitialize after all read to be
readable again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31 21:39:00 +00:00
nari
a42cc41ba1
* configure.in (HEAP_ALIGN_LOG): HEAP_ALIGN_LOG should be page
...
size in OpenBSD. [ruby-core:42158][Bug #5901 ]
* gc.c : avoid to redefine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31 12:36:50 +00:00
nobu
487cc8b5ce
* test/ruby/test_thread.rb (TestThreadGroup#test_thread_timer_and_interrupt): suppress interrupt message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31 05:29:52 +00:00
nobu
8dd4353968
* test/ruby/envutil.rb (EnvUtil.invoke_ruby): yield also child pid
...
in block form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-31 05:27:27 +00:00
svn
95b2f4107e
* 2012-01-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 21:47:40 +00:00
nobu
ef84b7c678
* ext/dl/cptr.c (rb_dlptr_new2): remove unused variable.
...
* ext/iconv/iconv.c (get_iconv_opt_i): ditto.
* ext/syck/token.c (Plain): fix types on LP64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 21:47:35 +00:00
nobu
72969cd348
* vm_eval.c (vm_call0): should pass block to enumerators. patched
...
by Kazuki Tsujimoto. [ruby-dev:44961][Bug #5731 ]
* vm_eval.c (method_missing), vm_insnhelper.c (vm_call_method):
ditto. patched by satoshi shiba.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 10:08:23 +00:00
nobu
cba57022b0
* test/readline/test_readline.rb (test_completion_encoding): test on more locales.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 05:37:28 +00:00
usa
bfaba73ebb
* file.c (append_fspath): need to set the encoding to result always.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 03:31:58 +00:00
svn
44666293ff
* 2012-01-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 01:39:57 +00:00
usa
5625355c9b
* test/irb/test_completion.rb: skip if cannot load irb/completion
...
(maybe readline does not exist).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-30 01:39:52 +00:00
naruse
1971897890
Skip test if locale is not Japanese nor UTF-8.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-29 14:24:05 +00:00
kanemoto
b80154157a
Updated these files to detect AIX 7.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-29 13:50:18 +00:00
svn
d5258cbe0f
* 2012-01-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-29 03:18:16 +00:00
nobu
f3dabacefb
* ext/readline/readline.c (readline_attempted_completion_function):
...
respect encodings. [Bug #5941 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-29 03:18:11 +00:00
shirosaki
a65f6649dd
* win32/win32.c (rb_w32_read): fix an issue that $stdin.read doesn't
...
terminate by CTRL-C on Windows.
[ruby-dev:45149] [Bug #5812 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-28 00:51:43 +00:00
shirosaki
bb65920642
* test/ruby/test_thread.rb
...
(TestThreadGroup#test_thread_timer_and_interrupt): skip exit status
assertion because we cannot get signal status on Windows.
* win32/win32.c (CreateChild): create process group to receive the
signal by GenerateConsoleCtrlEvent().
* win32/win32.c (kill): use CTRL_BREAK_EVENT instead of CTRL_C_EVENT
if a process group is specified. CTRL_C_EVENT signal cannot be
generated for process groups for the specification.
[ruby-dev:45149] [Bug #5812 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-28 00:51:40 +00:00
shirosaki
494fd237f0
* thread_win32.c (rb_w32_wait_events_blocking): use
...
ruby_thread_from_native() instead of GET_THREAD() because
GET_THREAD() doesn't always return the current thread and
WaitForMultipleObjects() at rb_w32_read() doesn't return by
Thread#kill. This fixes TestQueue#test_thr_kill failure on
Windows.
* thread_win32.c (rb_w32_wait_events): use ruby_thread_from_native()
instead of GET_THREAD() for consistency with the above change.
* thread_win32.c (rb_w32_sleep): ditto.
* thread_win32.c (rb_w32_Sleep): ditto.
[ruby-dev:45149] [Bug #5812 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-28 00:51:36 +00:00
shirosaki
11de7c034b
* test/zlib/test_zlib.rb (TestZlibGzipReader#test_reader_wrap): set
...
binmode explicitly for fixing test error on Windows. This is consistent
with r34243.
[ruby-dev:45149] [Bug #5812 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-28 00:51:33 +00:00
svn
8f655293ed
* 2012-01-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-27 20:53:42 +00:00
nobu
ef72bdf2de
* lib/irb/completion.rb (IRB::InputCompletor::CompletionProc):
...
ignore non-string name modules. [ruby-core:42244][Bug #5938 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-27 20:53:37 +00:00
nobu
0c5cfb68c8
* common.mk (test-ruby): pass TESTS for options.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-27 07:35:13 +00:00
svn
c940d3fac5
* 2012-01-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-27 07:31:55 +00:00
nobu
a92dd46dd5
* gc.c (HEAP_ALIGN, HEAP_ALIGN_MASK): DRY, let compiler calculate
...
from HEAP_ALIGN_LOG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-27 07:31:50 +00:00
drbrain
68bf801c39
* lib/matrix.rb: Clean up extra whitespace in output documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-26 03:04:11 +00:00
svn
1624996883
* 2012-01-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-25 18:24:18 +00:00
nobu
8335ce7065
* ext/io/console/console.c (io_getch): default delegating method
...
for StringIO. https://github.com/nobu/io-console/issues/4
* ext/stringio/stringio.c: moved some methods to hidden modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-25 18:24:09 +00:00
nobu
97f0b0f558
* file.c (rb_file_s_basename): ignore non-ascii extension in
...
different encoding, which cannot match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-25 04:27:45 +00:00
nobu
b094ab0948
* file.c (rmext): no extension to strip if empty string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-25 02:40:29 +00:00
svn
a2905fb2a0
* 2012-01-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-25 02:32:12 +00:00
nobu
ed469831e4
* file.c (rb_enc_path_next, rb_enc_path_skip_prefix)
...
(rb_enc_path_last_separator, rb_enc_path_end)
(ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware
path handling functions.
* file.c (rb_home_dir, file_expand_path, rb_realpath_internal)
(rb_file_s_basename, rb_file_dirname, rb_file_s_extname)
(rb_file_join): should respect the encodings of arguments than
file system encoding. [ruby-dev:45145] [Bug #5919 ]
* dir.c (check_dirname, ruby_glob0): ditto.
* ext/pathname/pathname.c (path_sub_ext): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-25 02:32:06 +00:00
nobu
abd135d36b
* object.c (rb_Hash): fix mixed declaration and code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-24 07:21:33 +00:00
nobu
e187c4ca1f
* README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-24 06:28:26 +00:00
nobu
04726dd749
* vm.c (rb_iter_break_value): new function to break a block with
...
the value. [ruby-dev:45132] [Feature #5895 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-24 05:20:48 +00:00
nobu
d03199b6d6
* object.c (rb_Hash): trivial optimization.
...
* test/ruby/test_object.rb (TestObject#test_convert_hash): fix
arguments order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-24 04:29:07 +00:00