nobu
ac574fe862
configure.in: duplicated linker flags
...
* configure.in (with_jemalloc): get rid of duplicated linker flags,
as AC_CHECK_LIB adds it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 03:31:37 +00:00
nobu
62a4c2f55f
common.mk: ignore timestamp directory
...
* common.mk (clean-ext): ignore error on removing non-existent
timestamp directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 03:31:33 +00:00
suke
cfb519a25e
* ext/win32ole/win32ole_type.c: refactoring.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 03:23:39 +00:00
nobu
4473d2fea2
sample: use IO::NULL
...
* sample/cgi-session-pstore.rb: use IO::NULL instead of hard coded
device name for portability.
* sample/drb/ring_place.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 02:41:03 +00:00
svn
22cbb7e8d3
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:34:53 +00:00
hsbt
ffc068c9bb
* lib/cgi/session/pstore.rb: separated sample code.
...
* lib/open3.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:34:50 +00:00
svn
31a1d0621c
* 2014-08-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:05:18 +00:00
hsbt
0b7979a8fd
* lib/irb/ext/multi-irb.rb: fixed indent.
...
* lib/irb/output-method.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:05:08 +00:00
hsbt
f9a81499ff
* lib/irb/ext/multi-irb.rb: removed commented-out code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-10 01:05:06 +00:00
nobu
8f0543a364
win32/file.c: direct conversion
...
* win32/file.c (user_length_in_path): count user name length in
path.
* win32/file.c (append_wstr): append WCHAR string to Ruby string
directly without an intermediate buffer, if possible.
* win32/file.c (rb_file_expand_path_internal): use above functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 11:50:13 +00:00
nobu
b136c5cd48
win32/file.c: share functions with win32.c
...
* win32/file.c (rb_file_expand_path_internal, rb_file_load_ok):
use functions defined in win32/win32.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 10:10:11 +00:00
nobu
fdb4c75a65
test_io.rb: fix tempfile leaks
...
* test/ruby/test_io.rb (test_flush_in_finalizer2): cannot unlink
opened file on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 09:32:48 +00:00
nobu
8f61283031
test_syntax.rb: fix tempfile leaks
...
* test/ruby/test_syntax.rb (test_must_ascii_compatible),
(test_script_lines): ensure to close temporary files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 09:32:47 +00:00
hsbt
76515504d5
* lib/irb.rb: removed commented-out code.
...
* lib/irb/**/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 02:02:58 +00:00
hsbt
5afa23b4a4
* ChangeLog: added reference to github issue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 01:42:48 +00:00
hsbt
8e5af8b628
* lib/cmath.rb: fixed indent.
...
* lib/drb/ssl.rb: ditto.
* lib/irb/**/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 01:36:49 +00:00
hsbt
45592f4b4c
* test/minitest/test_minitest_unit.rb: removed obsoleted condition
...
for Ruby 1.8.
* test/ruby/test_time_tz.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 01:28:50 +00:00
hsbt
556f805493
* test/cgi/test_cgi_core.rb: removed obsoleted condition for Ruby 1.8.
...
* test/cgi/test_cgi_header.rb: ditto.
* test/cgi/test_cgi_multipart.rb: ditto.
* test/cgi/test_cgi_tag_helper.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-09 01:19:18 +00:00
svn
8a1463beba
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 15:37:44 +00:00
svn
f0160da5b3
* 2014-08-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 15:37:39 +00:00
suke
98f1494664
* ext/win32ole/win32ole.c: separate WIN32OLE_TYPE src from win32ole.c.
...
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_type.c: ditto.
* ext/win32ole/win32ole_type.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 15:37:32 +00:00
svn
37e45a7dca
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 11:01:00 +00:00
glass
0a22f4c168
* lib/securerandom.rb: use OpenSSL::BN for performance improvement.
...
* benchmark/bm_securerandom.rb: benchmark script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 11:00:47 +00:00
hsbt
d6f0bd2b84
* lib/open-uri.rb: remove needless condition for old ruby version.
...
* test/open-uri/test_open-uri.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 10:30:19 +00:00
hsbt
9b9a9249f4
* lib/irb/init.rb: removed unreachable code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 07:41:33 +00:00
hsbt
47f8840e32
* lib/drb/drb.rb: removed unreachable code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 07:35:19 +00:00
hsbt
67b5e1084b
* lib/webrick/httpproxy.rb: remove needless condition
...
for old ruby version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-08 05:34:48 +00:00
svn
259cd9de25
* 2014-08-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-07 16:07:59 +00:00
nobu
a7c4146d9c
parse.y: fix invalid char in eval
...
* parse.y (parser_yylex): fix invalid char in eval, should raise
an syntax error too, as well as directly coded.
[ruby-core:64243] [Bug #10117 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-07 16:07:25 +00:00
glass
fd7a02f960
* lib/open3.rb: avoid unnecessary write if stdin_data is empty.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-07 14:31:54 +00:00
suke
707ff7bfb7
* ext/win32ole/win32ole_typelib.c (foletypelib_version): return
...
version string.
* test/win32ole/test_win32ole_typelib.rb (test_version): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-07 12:52:25 +00:00
hsbt
b618b8685c
* lib/cgi.rb: remove needless condition for old ruby version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-07 06:14:29 +00:00
svn
4769a61b59
* 2014-08-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 21:05:05 +00:00
nobu
2bd1ae1e67
parse.y: preserve encoding
...
* parse.y (parser_yyerror): preserve source code encoding in
syntax error messages. [ruby-core:64228] [Bug #10114 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 21:04:52 +00:00
svn
2b14e2ae05
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 12:00:14 +00:00
suke
0e2410f47e
* ext/win32ole/win32ole.c: separate src of WIN32OLE_TYPELIB from
...
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_typelib.c: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 12:00:09 +00:00
knu
9b94249f39
Oops, maybe it's too late, but add [DOC] to the last entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 11:47:57 +00:00
knu
f76e390ed6
Move enum.one? documentation before the relevant method.
...
* enum.c (enum_one): Move enum.one? documentation before the
relevant method. Submitted by @vipulnsward. [Fixes GH-687]
https://github.com/ruby/ruby/pull/687
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 11:45:47 +00:00
knu
305be780df
* lib/set.rb (Set#replace): Check if an object given is enumerable
...
before clearing self. Reported by yui-knk. [GH-675]
https://github.com/ruby/ruby/pull/675
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 11:28:21 +00:00
suke
f2ff35c83d
* ext/win32ole/win32ole.c (olerecord_ivar_set): remove rb_str_subseq.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 11:09:59 +00:00
knu
3766aa4cc5
Implement Set#clone. [Fixes GH-661]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 10:13:34 +00:00
svn
4d5fceb086
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 09:47:52 +00:00
svn
76fcc05ee8
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 09:47:51 +00:00
suke
75d1a6c9fc
* ext/win32ole/win32ole.c: separate src of WIN32OLERuntimeError
...
from win32ole.c.
* ext/win32ole/win32ole.h: ditto
* ext/win32ole/depend: ditto.
* ext/win32ole/win32ole_error.c: ditto.
* ext/win32ole/win32ole_error.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-06 09:47:39 +00:00
naruse
f01485b4ec
* lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
...
of parser to handle IPv6 address. [Bug #9129 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:37:37 +00:00
naruse
90a16cb228
* lib/net/http/requests.rb (Net::HTTP::Options::RESPONSE_HAS_BODY):
...
OPTIONS requests may have response bodies. [Feature #8429 ]
http://tools.ietf.org/html/rfc7231#section-4.3.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:20:28 +00:00
naruse
70a2eb6399
* lib/net/http/generic_request.rb (Net::HTTP::GenericRequest#exec):
...
handle req['host'] in update_uri.
* lib/net/http/generic_request.rb
(Net::HTTP::GenericRequest#update_uri):
use req['host'] if it is explicitly set. Even if URI is given,
it is already used for the initial value of req['host'].
Therefore overwritten value should be respected. [Bug #10054 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:10:23 +00:00
naruse
c165203564
* lib/net/http/generic_request.rb
...
(Net::HTTP::GenericRequest#update_uri):
handle scheme, host, and port to reflect connection to @uri.
* lib/net/http.rb (Net::HTTP#begin_transport): move trivial handling
to Net::HTTP::GenericRequest#update_uri.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:10:05 +00:00
naruse
159fa373f8
* lib/net/http/generic_request.rb
...
(Net::HTTP::GenericRequest#initialize):
optimize object allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:09:43 +00:00
naruse
b6ecbc7055
remove path_query
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-05 19:09:08 +00:00