naruse
bee7ccddd2
* lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent
...
request automatically. [ruby-dev:45030] [Bug #5790 ]
[ruby-core:41821] [Bug #5813 ]
* lib/net/http.rb (Net::HTTP#keep_alive_timeout=): added to specify
the second to reconnect the TCP connection on Keep-Alive.
The default value is 2 second because current servers uses 2 sec.
http://ftp-admin.blogspot.com/2009/09/keepalivetimeout2.html
* lib/net/http.rb (Net::HTTP#begin_transport): reconnect TCP
connection on keep-alive timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-20 05:56:35 +00:00
nobu
87daaf61b9
* test/ruby/test_file_exhaustive.rb (test_expand_path): fix commit miss, removed surplus downcase.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-19 06:28:48 +00:00
nobu
d6c22be4e7
* test/ruby/test_file_exhaustive.rb (test_expand_path): ignore case of paths on DOSISH platforms.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-19 06:20:49 +00:00
nobu
81d3b071b9
* test/ruby/test_file_exhaustive.rb (test_expand_path): add tests for absolute paths and drive letters. [ruby-core:42177]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-19 06:01:29 +00:00
tadf
1d794b9335
ext/date/date_strptime.c: moved detector of leftover.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 22:54:09 +00:00
svn
6bada9cc0a
* 2012-01-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 22:13:27 +00:00
tadf
49d65bc4d6
ext/date/date_parse.c: [ruby-core:42173].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 22:13:10 +00:00
nagachika
0a99ea86f4
* ChangeLog: fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 14:38:34 +00:00
knu
10e85b7f84
* misc/rdoc-mode.el (rdoc-mode): Add provide so that requiring
...
this library succeeds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 09:12:54 +00:00
nobu
d3b540cf40
* ext/curses/curses.c (cWindow, cMouseEvent): made typed data.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 09:06:48 +00:00
naruse
8c6e0d3007
Suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 07:02:58 +00:00
tenderlove
8cf05741bc
* ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading
...
subclasses of String with ivars
* ext/psych/lib/psych/visitors/yaml_tree.rb: Added support for dumping
subclasses of String with ivars
* test/psych/test_string.rb: corresponding tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 03:52:01 +00:00
svn
99840a64b6
* 2012-01-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 01:44:25 +00:00
tenderlove
ee3ebc2de5
* ext/psych/lib/psych/visitors/to_ruby.rb: Added ability to load array
...
subclasses with ivars.
* ext/psych/lib/psych/visitors/yaml_tree.rb: Added ability to dump
array subclasses with ivars.
* test/psych/test_array.rb: corresponding tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-18 01:44:21 +00:00
nobu
e58d77bdda
* configure.in (SPT_TYPE): enable as SPT_REUSEARGV on Darwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-17 08:18:46 +00:00
nobu
b3e2baa3b5
* missing/setproctitle.c (ruby_init_setproctitle): changed prefix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-17 08:13:50 +00:00
nobu
eec5d2014f
* confiugre.in (setproctitle): removed dupcated checks.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-17 08:10:00 +00:00
nobu
e87c0e6574
* gc.c (aligned_malloc, aligned_free): covered missing defined
...
operators and fixes for cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-17 03:32:50 +00:00
nobu
e8590143a0
* st.c (add_packed_direct): ditto.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-17 02:40:42 +00:00
nobu
270ac46a7c
* st.c (do_hash): it's the time to remove cast to unsigned int.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-17 01:54:50 +00:00
svn
07b9002d4c
* 2012-01-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-16 22:38:09 +00:00
naruse
84f204046b
* st.c (unpack_entries): Fix r34310: on unpacking, the position of
...
a hash must be do_hash-ed value.
* st.c (add_packed_direct): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-16 22:38:05 +00:00
nobu
de1e4881d4
* lib/optparse.rb (Regexp): fix incorrect options when casting to
...
a Regexp, and suppress encoding option warnings.
https://github.com/ruby/ruby/pull/82
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-16 07:42:01 +00:00
nobu
688d00d23b
* win32/win32.c (rb_chsize): no need to get the current file size.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-16 02:22:47 +00:00
shyouhei
d3f8488b1c
st optimize st_insert
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 15:46:44 +00:00
shyouhei
9ed8c1f15e
st refactor add_packed_direct a bit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 15:46:41 +00:00
shyouhei
638f696b6e
st macroses for allocation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 15:46:37 +00:00
svn
93829abc0f
* 2012-01-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 15:46:36 +00:00
shyouhei
cada5343a6
st macroses for packed table
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 15:46:34 +00:00
shyouhei
978a4ef154
st use function instead of macro
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 15:46:30 +00:00
naruse
ef18be2366
* object.c (rb_inspect): raise the result is not compatible with
...
the default external encoding. [ruby-core:42095] [Bug #5848 ]
If the default external encoding is ASCII compatible, the encoding of
inspected result must be compatible with it.
If the default external encoding is ASCII incomapatible,
the result must be ASCII only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 07:28:50 +00:00
svn
4c5171bb17
* 2012-01-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 06:52:41 +00:00
naruse
c358a4cba1
* ext/json/parser/parser.rl (json_string_unescape): workaround fix
...
for over optimization of GCC 4.7. [ruby-core:42085] [Bug #5888 ]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51862
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-15 06:52:36 +00:00
nobu
67bf09903f
* ext/dl/callback/mkcallback.rb (gencallback): suppress unused
...
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 13:24:12 +00:00
nobu
45fd88877f
* compile.c (iseq_set_sequence): adjust indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 13:16:29 +00:00
nobu
e72ae8cc0f
* iseq.c (iseq_data_to_ary): check line info table boundary. line
...
number 0 means no line number info is needed. [ruby-dev:45130]
[Bug #5894 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 12:56:46 +00:00
nobu
3772335ae6
* README.EXT, README.EXT.ja (rb_protect): add a note when ignoring the caught exception.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 12:47:06 +00:00
nagachika
15e1ff7f23
* error.c (exc_equal): clear rb_thread_t::errinfo when ignore
...
an exception under rb_protect(). [ruby-core:41979] [Bug #5865 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 09:36:18 +00:00
nobu
c53470fd47
* sprintf.c (rb_enc_vsprintf): relaxed the restriction. since the
...
implementation deeply depends on plain char, so wchar_t based
encodings are not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 03:02:57 +00:00
nobu
f2aa0fd5d4
* error.c (exc_equal): ignore exceptions during implicit
...
conversion. [ruby-core:41979] [Bug #5865 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-14 03:00:24 +00:00
naruse
1648e9442d
Revert "* error.c (exc_equal): try implicit conversion for delegator."
...
This reverts commit r34291 because it breaks objects whose "exception"
method doesn't allow no argument like XMLRPC::FaultException class.
To reproduce: `RuntimeError.new == XMLRPC::FaultException`.
[ruby-core:41979] [Bug #5865 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 23:41:55 +00:00
svn
23506c427d
* 2012-01-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 21:59:41 +00:00
drbrain
90943649fe
* io.c (rb_io_s_read): Fix formatting of open_args comment. Reported
...
by Adam Prescott.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 21:59:36 +00:00
nobu
23b4c10dd8
* sprintf.c (rb_enc_vsprintf): can be used for ASCII compatible
...
encodings only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 09:41:22 +00:00
nobu
6b1bae9641
* thread.c (rb_mutex_unlock_th): simplified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 09:29:13 +00:00
nobu
8032371462
* thread.c (rb_barrier_waiting): fix potential overflows.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 09:25:54 +00:00
nobu
db02621bfb
* load.c (load_unlock): update loading table at once.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 08:23:43 +00:00
nobu
a5bfe7ca83
* error.c (exc_equal): try implicit conversion for delegator.
...
[ruby-core:41979] [Bug #5865 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 07:44:50 +00:00
knu
1c58146ee5
Forgot to commit the test part.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-13 06:10:37 +00:00
knu
d00fe54803
* lib/shellwords.rb (Shellwords#shellescape): shellescape() now
...
stringifies the given object using to_s.
* lib/shellwords.rb (Shellwords#shelljoin): shelljoin() accepts
non-string objects in the given array, each of which is
stringified using to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-12 18:49:30 +00:00