for the patches. [Bug #11366] [Bug #11367] Wed Nov 18 20:04:50 2015 SHIBATA Hiroshi * test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb): fix test failure with OpenSSL disabled SSLv3 protocol. [ruby-core:63772] [Bug #10046] Thu Oct 29 23:54:35 2015 Nobuyoshi Nakada * string.c (sym_to_proc), proc.c (rb_block_clear_env_self): clear caller's self which is useless, so that it can get collected. [Fixes GH-592] Thu Oct 29 23:30:20 2015 SHIBATA Hiroshi * lib/ipaddr.rb, test/test_ipaddr.rb: Reject invalid address contained EOL string. Patch by @kachick [fix GH-942][Bug #11513] * lib/ipaddr.rb, test/test_ipaddr.rb: split test code from library script and move to test script, just like trunk. Thu Oct 29 23:04:04 2015 NARUSE, Yui * ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise error in ext/openssl instead of OpenSSL itself because LibreSSL silently truncate the selected protocol name by casting the length from int to unsigned char. [Bug #11369] Patch by Jeremy Evans Thu Oct 29 22:56:01 2015 Nobuyoshi Nakada * configure.in: check for libunwind.h, which is not available in very old OS X SDK. [ruby-core:71080] [Bug #11591] Thu Oct 29 22:51:59 2015 Masatoshi SEKI * test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027] patch by voxik. * test/rinda/test_rinda.rb: ditto Tue Sep 29 17:39:42 2015 Nobuyoshi Nakada * parse.y (literal_concat_gen, evstr2dstr_gen): keep literal encoding beginning with an interpolation same as the source file encoding. [ruby-core:70703] [Bug #11519] Tue Sep 29 17:33:13 2015 Nobuyoshi Nakada * lib/rss/rss.rb (Time#w3cdtf): fix zero-trimmed width of fraction digits. [ruby-core:70667] [Bug #11509] Tue Sep 29 17:25:14 2015 Nobuyoshi Nakada * re.c (rb_memsearch_wchar, rb_memsearch_qchar): test matching till the end of string. [ruby-core:70592] [Bug #11488] * test/ruby/test_m17n.rb (test_include?, tet_index): add tests by Tom Stuart. Tue Sep 29 17:20:07 2015 NARUSE, Yui * thread_pthread.c (reserve_stack): ensure the memory is really allocated. [Bug #11457] Tue Sep 29 17:18:40 2015 NAKAMURA Usaku * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.8. Tue Aug 18 21:40:43 2015 SHIBATA Hiroshi * lib/rubygems.rb: bump version to 2.2.5. this version fixed CVE-2015-3900. * lib/rubygems/remote_fetcher.rb: ditto. * test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900 Mon Aug 17 23:27:45 2015 Nobuyoshi Nakada * ext/win32/lib/win32/registry.rb (API#SetValue): data size should be in bytes, not in chars. [ruby-core:70365] [Bug #11439] Mon Aug 17 23:27:45 2015 Nobuyoshi Nakada * ext/win32/lib/win32/registry.rb (API#SetValue): add terminator size, not 1 byte. [ruby-core:70365] [Bug #11439] Mon Aug 17 17:57:12 2015 Nobuyoshi Nakada * re.c (rb_memsearch): should match only char boundaries in wide character encodings. [ruby-core:70220] [Bug #11413] Mon Aug 17 17:54:33 2015 Nobuyoshi Nakada * transcode.c (rb_econv_set_replacement): target encoding name can be empty now. [ruby-core:69841] [Bug #11324] Mon Aug 17 17:52:11 2015 Nobuyoshi Nakada * hash.c (rb_any_hash): fix Float hash. rb_dbl_hash() returns a Fixnum, but not a long. [Bug #9381] Mon Aug 17 17:43:56 2015 Eric Wong * io.c (rb_io_oflags_modestr): handle O_TRUNC correctly * test/ruby/test_io.rb (test_reopen_stdio): new test Patch-by: cremno phobia [ruby-core:69779] [Bug #11319] Mon Aug 17 17:42:18 2015 Benoit Daloze * lib/net/ftp.rb (makeport): close the TCPServer when sending the port fails. * test/net/ftp/test_ftp.rb: test for above. Mon Aug 17 17:38:15 2015 Kazuki Tsujimoto * lib/net/http/response.rb (Net::HTTPResponse::Inflater#finish): fix a bug that empty gzipped response body causes Zlib::BufError. [ruby-core:68846] [Bug #11058] * test/net/http/test_httpresponse.rb: tests for the above. Mon Aug 17 17:38:15 2015 Kazuki Tsujimoto * lib/net/http/response.rb (Net::HTTPResponse#inflater): fix TypeError. An exception object might be nil. [ruby-core:68846] [Bug #11058] Mon Aug 17 17:38:15 2015 NARUSE, Yui * lib/net/http/response.rb (Net::HTTPResponse.each_response_header): raise first exception even if inflate_body_io.finish raises error. when begin block raises error, finish usually raises error too. Mon Aug 17 17:16:22 2015 Aaron Patterson * .travis.yml: update libssl before running tests. Thanks to Chris Sinjakli for figuring out the travis settings! Mon Aug 17 17:16:22 2015 Aaron Patterson * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): raise a more helpful exception when verifying the peer connection and an anonymous cipher has been selected. [ruby-core:68330] [Bug #10910] Thanks to Chris Sinjakli for the patch. * test/openssl/test_ssl.rb (class OpenSSL): test for change Mon Aug 17 17:12:46 2015 NAKAMURA Usaku * win32/win32.c (waitpid): return immediately if interrupted. reported by [ruby-dev:49176] [Bug #11340] Mon Aug 17 17:09:02 2015 Nobuyoshi Nakada * parse.y (lambda_body): pop cmdarg stack for lookahead token. [ruby-core:70067] [Bug #11380] Mon Aug 17 17:04:57 2015 Jeremy Evans * test/openssl/test_ssl.rb: Fix LocalJumpErrors being raised in OpenSSL tests. [ruby-core:70020][Bug #11368] Mon Aug 17 16:51:45 2015 CHIKANAGA Tomoyuki * lib/timeout.rb (ExitException): leave Timeout::ExitException as an alias of Timeout::Error for backward compatibility in stable branch. [ruby-dev:49179] [Bug #11344] Mon Aug 17 16:51:45 2015 Nobuyoshi Nakada * lib/timeout.rb (ExitException): removed internal exception class and use Timeout::Error instead, as using throw/catch to isolate each timeouts now. [ruby-dev:49179] [Bug #11344] Mon Aug 17 16:49:00 2015 Kazuhiro NISHIYAMA * test/net/http/test_httpresponse.rb (HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase): fix a failure without zlib. Mon Aug 17 16:49:00 2015 NARUSE, Yui * lib/net/http/response.rb (inflater): CONTENT_ENCODING can be upper case. [ruby-core:69670] [Bug #11285] patched by Andy Chu Mon Aug 17 16:46:28 2015 Nobuyoshi Nakada * vm.c (m_core_hash_merge_ptr): copy the arguments to the machine stack before rewinding the control frame pointer and leaving the arguments outside valid region of the value stack. [ruby-core:69969] [Bug #11352] * vm.c (REWIND_CFP): keep the arguments region inside the valid value stack. [ruby-core:69969] [Bug #11352] Mon Aug 17 16:44:01 2015 Nobuyoshi Nakada * string.c (rb_str_reverse): reversed string is not a substring, and should not set coderange of the original string. [ruby-dev:49189] [Bug #11387] Mon Aug 17 16:24:10 2015 Tanaka Akira * lib/time.rb (strptime): Support %s.%N. [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi. Mon Aug 17 16:22:28 2015 Nobuyoshi Nakada * transcode.c (load_transcoder_entry): fix transcoder loading race condition, by waiting in require. [ruby-dev:49106] [Bug #11277] Mon Aug 17 16:18:13 2015 Nobuyoshi Nakada * array.c (ary_ensure_room_for_push): check if array size will exceed maximum size to get rid of buffer overflow. [ruby-dev:49043] [Bug #11235] * array.c (ary_ensure_room_for_unshift, rb_ary_splice): ditto. Mon Aug 17 16:14:38 2015 Nobuyoshi Nakada * ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide versions of RegDeleteValue and RegDeleteKey. [ruby-core:67958] [Bug #10820] Tue Jul 7 13:39:46 2015 SHIBATA Hiroshi * ext/zlib/zlib.c: Fix indentation for rdoc. [Bug #11221][ruby-core:69465] Tue Jul 7 13:37:34 2015 SHIBATA Hiroshi * ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem. [fix GH-929] Patch by @voxik * ext/io/console/io-console.gemspec: ditto. Fri Jul 3 21:54:46 2015 NAKAMURA Usaku * test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading): fix previous commit. [Bug #11060] Fri Jul 3 19:28:51 2015 NAKAMURA Usaku * test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading): ignore Errno::ENOENT on unlinking. [Bug #11060] Fri Jul 3 18:40:48 2015 Nobuyoshi Nakada * lib/mkmf.rb (pkg_config): split --libs if --libs-only-l option is not available. patch in [ruby-core:69428] by Hans Mackowiak. [ruby-core:69421] [Bug #11201] Fri Jul 3 18:32:37 2015 Nobuyoshi Nakada * compile.c (iseq_compile_each): out of range NTH_REF is always nil. * parse.y (parse_numvar): check overflow of NTH_REF and range. [ruby-core:69393] [Bug #11192] * util.c (ruby_scan_digits): make public and add length parameter. Fri Jul 3 17:53:43 2015 Nobuyoshi Nakada * vm_eval.c (rb_method_call_status): resolve refined method entry to check if undefined. [ruby-core:69064] [Bug #11117] Fri Jul 3 17:53:43 2015 Nobuyoshi Nakada * vm_eval.c (rb_method_call_status): undefined refined method is not callable unless using. [ruby-core:69064] [Bug #11117] Fri Jul 3 17:44:27 2015 Nobuyoshi Nakada * file.c (rb_file_load_ok): try opening file without gvl not to lock entire process. [Bug #11060] Tue Jun 30 11:56:24 2015 Eric Wong * numeric.c (bit_coerce): use original value for error message [ruby-core:67405] [Bug #10711] * test/ruby/test_numeric.rb (test_coerce): check error message Mon Jun 29 13:22:14 2015 Shota Fukumori * ext/objspace/objspace_dump.c(dump_object): Return empty JSON object when passed object is a special const, instead of SEGV. Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #11291] * test/objspace/test_objspace.rb(test_dump_special_consts): Test for above fix. Wed Jun 17 11:39:15 2015 Koichi Sasada * vm_insnhelper.c (lep_svar_set): add WBs. Tue Jun 9 16:29:49 2015 Eric Wong * ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile [ruby-core:69419] [Feature #11198] Tue Jun 9 16:26:48 2015 Eric Wong * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode, ossl_asn1_decode_all): use RB_GC_GUARD instead of volatile [ruby-core:69371] [Bug #11185] Tue Jun 9 16:24:25 2015 NARUSE, Yui * win32/win32.c (setup_overlapped): seek to the file end only when writing (mode:a), not reading (mode:a+, read). Tue Jun 9 16:15:31 2015 Aaron Patterson * load.c (loaded_feature_path): stop returning false negatives for filenames which are trailing substrings of file extensions. For example, 'b', which a trailing substring of ".rb" should not return false. [Bug #11155][ruby-core:69206] * test/ruby/test_autoload.rb: test for fix Fri May 29 14:03:33 2015 Matt Hoyle * ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt' to 'exponent'. [ruby-core:67980] [Bug #10823] [Fix GH-825] Fri May 29 14:00:16 2015 Nobuyoshi Nakada * win32/file.c (rb_file_expand_path_internal): neither the drive of base directory nor the current drive are involved in the result if different than the drive of path. [ruby-core:68130] [Bug #10858] Fri May 29 14:00:16 2015 Nobuyoshi Nakada * win32/file.c (rb_file_expand_path_internal): do not make invalid (or ADS) path if the path has a drive letter, the result also should have be under it. [ruby-core:68130] [Bug #10858] Fri May 29 13:41:44 2015 NAKAMURA Usaku * marshal.c (r_symreal): register the symbol name first so that r_symlink always returns valid names. [Bug #10991] Thu May 28 09:51:28 2015 Nobuyoshi Nakada * hash.c (rb_any_hash): use same hash values with Float#hash so that -0.0 and +0.0 will be identical. [ruby-core:68541] [Bug #10979] Thu May 21 14:15:10 2015 Eric Wong * ext/socket/ancdata.c (bsock_recvmsg_internal): GC guard [Bug #11123] Thu May 21 14:11:50 2015 Shugo Maeda * lib/net/imap.rb (body_ext_mpart): should work even if body-fld-dsp is omitted. [ruby-core:69093] [Bug #11128] Thu May 21 14:08:15 2015 SHIBATA Hiroshi * string.c: added documentation for character sequence \' with String#sub [Bug #11132][ruby-core:69121][fix GH-900][ci skip] Patch by @shishir127 Thu May 21 14:04:06 2015 Nobuyoshi Nakada * range.c (linear_object_p, range_include): test if covered for linear objects. [ruby-core:69052] [Bug #11113] Thu May 21 14:01:40 2015 SHIBATA Hiroshi * rational.c: Added documentation for rational literal. [Bug #11075][fix GH-885][ci skip] Patch by @shishir127 Thu May 21 13:57:47 2015 Nobuyoshi Nakada * ext/socket/ipsocket.c (init_inetsock_internal): preserve errno before other library calls and use rb_syserr_fail. [ruby-core:68531] [Bug #10975] Thu May 21 13:32:52 2015 Nobuyoshi Nakada * ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of conflict on cygwin. [ruby-core:68877] [Bug #11065] Thu May 21 13:28:03 2015 Koichi Sasada * vm.c (vm_exec): check other events when RETURN is thrown. [Bug #10724] * test/ruby/test_settracefunc.rb: add a test. Thu May 21 13:23:44 2015 Masahiro Tomita * ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of addrinfo. [ruby-dev:48923] [Bug #11051] Thu May 21 13:19:52 2015 Kenta Murata * bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952] Thu May 21 09:49:01 2015 Nobuyoshi Nakada * gc.c (id2ref): prohibit from accessing internal objects. [ruby-core:68348] [Bug #10918] Thu May 21 09:46:58 2015 Rei Odaira * ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:58539] [Bug #9144] Wed May 20 17:34:43 2015 Nobuyoshi Nakada * iseq.c (rb_iseq_compile_with_option): check source type, must be an IO or a String. [ruby-core:69219] [Bug #11159] Wed May 13 14:32:13 2015 Tanaka Akira * lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality. (Resolv::DNS::Name#initialize): Normalize labels as Resolv::DNS::Label::Str objects. Tue May 12 16:11:55 2015 NAKAMURA Usaku * ext/tk/extconf.rb: support Tcl/Tk8.6. * ext/tk/tcltklib.c, ext/tk/lib/tk.rb: get rid of SEGV with Tcl/Tk8.6. [Backport #10401] Mon May 11 11:09:08 2015 Nobuyoshi Nakada * dln.c (dln_load): check if a different libruby is loaded by the extension library, and then bail out to get rid of very frequent reported stale bug reports. * dln.c (dln_load): raise fatal error on OSX not other extension libraries to refer different libruby. Mon May 11 10:59:53 2015 Nobuyoshi Nakada * parse.y (lambda): push and reset cmdarg_stack in lambda body. [ruby-core:69017] [Bug #11107] Tue Apr 28 14:15:49 2015 Nobuyoshi Nakada * lib/fileutils.rb (FileUtils#mv): show the exact target path in the error message instead of the destination parent directory name. patched by Joao Britto at [ruby-core:68706]. [Bug #11021] Tue Apr 28 14:14:16 2015 Nobuyoshi Nakada * thread_pthread.c (reserve_stack): keep sp safe zone to get rid of crash by -fstack-check. [ruby-core:68740] [Bug #11030] Fri Apr 24 17:27:31 2015 Koichi Sasada * test/fiddle/test_handle.rb: fix syntax. Tue Apr 14 16:02:07 2015 NAKAMURA Usaku * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.7. Mon Apr 13 22:17:59 2015 CHIKANAGA Tomoyuki * ext/openssl/lib/openssl/ssl.rb: stricter hostname verification following RFC 6125. with the patch provided by Tony Arcieri and Hiroshi Nakamura [ruby-core:61545] [Bug #9644] * test/openssl/test_ssl.rb: add tests for above. Mon Apr 13 17:09:06 2015 Nobuyoshi Nakada * win32/win32.c (different_device_p): compare by volume serial numbers, not by path names. [ruby-core:68162] [Bug #10865] Mon Apr 13 17:09:06 2015 Nobuyoshi Nakada * win32/win32.c (wrename): return EXDEV if moving a directory to another drive, since MoveFileExW does not set proper error code. [ruby-core:68162] [Bug #10865] Mon Apr 13 17:02:25 2015 Scott Francis * thread_pthread.c (reserve_stack): fix intermittent SIGBUS on Linux, by reserving the stack virtual address space at process start up so that it will not clash with the heap space. [Fix GH-822] Mon Apr 13 16:52:14 2015 Koichi Sasada * class.c (rb_prepend_module): need a WB for klass -> origin. Mon Apr 13 16:48:14 2015 Nobuyoshi Nakada * vm_eval.c (vm_call_super): search next super class from the original class, to get rid of infinite recursion with prepending. a patch by Seiei Higa at [ruby-core:68434]. [ruby-core:68093] [Bug #10847] Mon Apr 13 16:39:57 2015 Nobuyoshi Nakada * parse.y (arg): fix segfault by null caused by syntax error. [ruby-core:68851] [Bug #10957] Tue Mar 31 00:49:23 2015 Naohisa Goto * gc.c (wmap_final_func): fix memory size shortage when realloc wmap. Fix SEGV during finalize of WeakRef on Solaris (though the SEGV could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646] Tue Mar 31 00:38:14 2015 Seiei Higa * vm_method.c (rb_method_entry): if no super class, no original method entry. [ruby-core:67389] [Bug #10707] Tue Mar 31 00:34:39 2015 Vit Ondruch * configure.in (RUBY_SETJMP_TYPE): Remove superfluous semicolon which causes a syntax error with autoconf 2.63. [ruby-core:67429] [Bug #10716] Tue Mar 31 00:32:04 2015 Nobuyoshi Nakada * test/fiddle/test_handle.rb (test_NEXT): use -test-/dln/empty which is always a shared object and is not used by others. [ruby-dev:48629] [Bug #10384] Tue Mar 31 00:18:12 2015 Nobuyoshi Nakada * parse.y (primary): empty parentheses at cmdarg can be null. [ruby-core:68477] [Bug #10957] Mon Mar 30 23:30:57 2015 Nobuyoshi Nakada * ext/io/console/console.c (console_dev): id_console is not a constant name, use rb_const_remove() to get rid of NameError. Sun Mar 22 04:15:39 2015 Nobuyoshi Nakada * ext/thread/thread.c (Init_thread): ConditionVariable and Queue are not able to copy. [ruby-core:59961] [Bug #9440] Wed Mar 18 02:42:37 2015 NAKAMURA Usaku * win32/win32.c (w32_spawn): `v2` is used not only for `shell` but also `cmd`, so must not free before using `cmd`. [ruby-core:66648] [Bug #10563] Wed Mar 18 02:40:18 2015 Nobuyoshi Nakada * win32/win32.c (constat_reset): do nothing on non-standard console emulators. [ruby-core:66471] [Bug #10546] Wed Mar 18 02:03:02 2015 Kazuki Tsujimoto * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements of original crefs. It fixes segmentation fault when calling refined method in duplicate module. [ruby-dev:48878] [Bug #10885] * vm_core.h, class.c: change accordingly. * test/ruby/test_refinement.rb: add a test for above. Wed Mar 18 01:58:18 2015 Nobuyoshi Nakada * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a macro `DEBUG` is defined. based on the patch by Owen Rodley in [ruby-core:67987]. [Bug #10825] Wed Mar 18 01:45:12 2015 Nobuyoshi Nakada * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of interference by modifying global variables in have_devel? method. [ruby-core:67962] [Bug #10821] Wed Mar 18 00:58:43 2015 Shugo Maeda * class.c (method_entry_i, class_instance_method_list, rb_obj_singleton_methods): should not include methods of superclasses if recur is false. [ruby-dev:48854] [Bug #10826] Wed Mar 18 00:58:43 2015 Shugo Maeda * vm_method.c (remove_method): When remove refined method, raise a NameError if the method is not defined in refined class. But if the method is defined in refined class, it should keep refined method and remove original method. Patch by Seiei Higa. [ruby-core:67722] [Bug #10765] Wed Mar 18 00:32:08 2015 Seiei Higa * vm_method.c (check_definition): Module#public_method_defined?, Module#private_method_defined?, Module#protected_method_defined? should not use refinements. [ruby-core:67656] [Bug #10753] Tue Mar 10 02:40:11 2015 SHIBATA Hiroshi * thread.c: Improve documentation for Thread#value [Bug #10694][ruby-core:67324][ci skip] Tue Mar 10 02:37:55 2015 SHIBATA Hiroshi * string.c: [DOC] Add missing documentation around String#chomp. Patch by @stderr [ci skip][fix GH-780] Mon Mar 9 22:30:50 2015 SHIBATA Hiroshi * spec/default.mspec: use default configuration file name. https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf Mon Mar 9 22:30:50 2015 SHIBATA Hiroshi * spec/default.mspec: remove specific version number. https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714 Mon Mar 9 22:27:47 2015 SHIBATA Hiroshi * common.mk: use ruby organization for rubyspec. Mon Mar 9 21:52:41 2015 NARUSE, Yui * lib/uri/generic.rb (URI::Generic.build): use hostname= to detect and wrap IPv6 hosts. Build is accepting URI components and users may not expect that a host component needs to be wrapped with square brackets since it's not providing a URI. Note: initialize with arg_check => true does not wrap IPv6 hosts. by Joe Rafaniello https://github.com/ruby/ruby/pull/765 fix GH-765 * test/uri/test_generic.rb: Add more tests Tue Mar 3 02:42:27 2015 Eric Wong * ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX Thanks to Yura Sokolov [ruby-core:68369] [Bug#10923] * test/io/wait/test_io_wait.rb (test_nread_buffered): fix broken test Sun Mar 1 02:30:23 2015 Seiei Higa * vm_method.c (rb_alias): raise a NameError when creating alias to a refined method if the original method of the refined method is not defined. [ruby-core:67523] [Bug #10731] Sun Mar 1 01:17:24 2015 Seiei Higa * vm_method.c (rb_export_method): bail out if the original method is undefined when the method is refined. [ruby-core:67387] [Bug #10706] Sun Mar 1 01:14:59 2015 Eric Wong * lib/resolv.rb: consider ENETUNREACH as ResolvTimeout [ruby-core:67411] [Bug #10712] Sun Mar 1 01:01:21 2015 SHIBATA Hiroshi * lib/net/http.rb (Net::HTTP#send_request): there is no response body with HEAD request. Patch by @rodrigosaito [fix GH-520] Sun Mar 1 01:01:21 2015 SHIBATA Hiroshi * test/net/http/test_http.rb (_test_send_request__HEAD): Added failing test for send_request with HEAD method. Sun Mar 1 00:58:30 2015 SHIBATA Hiroshi * ext/zlib/zlib.c: fix document of method signatures. [Bug #10668][ruby-core:67186][ci skip] Sat Feb 28 02:13:17 2015 Tanaka Akira * lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str objects. Label#Str#== is case-insensitive. Sat Feb 28 02:13:17 2015 Ben Miller * lib/resolv.rb (Resolv::DNS::Name#==): DNS is case-insensitive, so the comparison should be case-insensitive as well. [ruby-core:66498] [Bug #10550] Sat Feb 28 02:13:17 2015 Nobuyoshi Nakada * lib/resolv.rb (Resolv::DNS::Name): names with different dots should be different. Thu Feb 19 19:14:34 2015 NARUSE, Yui * lib/net/http/response.rb (Net::HTTPResponse): require one or more spaces [Bug #10591]. by leriksen https://github.com/ruby/ruby/pull/782 fix GH-782 NOTE: graph.facebook.com returns without SP Reason-Phrase. Thu Feb 19 19:10:53 2015 SHIBATA Hiroshi * ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function of tcllib. Patch by @zalt50 [fix GH-787] Wed Feb 18 00:27:57 2015 Eric Hodel * lib/net/http.rb: Do not attempt SSL session resumption when the session is expired. [Bug #10533] Wed Feb 18 00:20:36 2015 Eric Wong * vm_eval.c (rb_yield_splat): add missing GC guard [Bug #10509] Wed Feb 18 00:18:12 2015 Nobuyoshi Nakada * lib/rdoc/text.rb (expand_tabs): get rid of infinite loop with CR. should check if substitution occurred too. [ruby-dev:48813] [Bug #10732] Tue Feb 17 22:59:31 2015 Nobuyoshi Nakada * lib/resolv.rb (Resolv::DNS::Resource#==, #hash): elements returned by Kernel#instance_variables are Symbols now. [ruby-core:68128] [Bug #10857] Sun Feb 15 07:29:12 2015 Nobuyoshi Nakada * ext/socket/getaddrinfo.c (get_addr): reject too long hostname to get rid of GHOST vulnerability on very old platforms. * ext/socket/raddrinfo.c (make_hostent_internal): ditto, paranoic check for the canonical name. Mon Feb 2 22:57:30 2015 Nobuyoshi Nakada * ext/etc/etc.c (etc_getlogin): set login name encoding properly. [ruby-core:66163] [Bug #10493] Mon Feb 2 22:47:35 2015 Nobuyoshi Nakada * proc.c (method_proc): the receiver of binding from method should be same as the receiver of the method. [ruby-core:65917] [Bug #10432] Mon Feb 2 22:43:42 2015 Aaron Patterson * lib/resolv.rb: fall back if canonicalization fails. Thanks Vit Ondruch for the patch! [ruby-core:65836] * test/resolv/test_dns.rb: test for patch Mon Feb 2 22:38:53 2015 Nobuyoshi Nakada * configure.in (rb_cv_binary_elf): get rid of -e option of cat which is not available on BusyBox, use tr instead. [ruby-core:64824] [Bug #10210] Thu Jan 22 20:40:36 2015 Nobuyoshi Nakada * ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge data gradually not to exceed INT_MAX. workaround of OpenSSL API limitation. [ruby-core:67043] [Bug #10633] Thu Jan 22 01:14:12 2015 NAKAMURA Usaku * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT, should be treated before calling signal(3). [Bug #10615] Thu Jan 22 01:02:16 2015 Nobuyoshi Nakada * thread.c (exec_recursive): use the same last method name as recursive_push in the error message when recursive_pop failed. [ruby-core:66742] [Bug #10579] Thu Jan 22 01:02:16 2015 Nobuyoshi Nakada * eval.c (rb_frame_last_func): return the most recent frame method name. * thread.c (recursive_list_access): use the last method name, instead of the current method name which can be unset in some cases, not to use a symbol by the invalid ID. [ruby-core:66742] [Bug #10579] Thu Jan 22 00:54:00 2015 Nobuyoshi Nakada * parse.y (symbol_list): fix the node type of literal symbol list with no interpolation. [ruby-core:66343] Thu Jan 22 00:49:52 2015 Nobuyoshi Nakada * object.c: [DOC] Revise documentation by Marcus Stollsteimer at [ruby-core:66368]. [Bug #10526] * #inspect: be more specific about generated string, remove obsolete example. * #nil?: use code examples instead of different call-seq's. * #tap: clarify what is yielded. * Integer(): be more specific about to_int and to_i, remove reference to Ruby 1.8. * Array(): fix error. * Class: fix variable name style and indentation in example. * improve consistency, fix typos and formatting. Thu Jan 22 00:49:52 2015 Benoit Daloze * object.c (Module#const_defined?): [DOC] Revise the documentation. Patch by Xavier Noria. [Fixes GH-754] https://github.com/ruby/ruby/pull/754 Thu Jan 22 00:49:52 2015 SHIBATA Hiroshi * object.c: fix document of Kernel.Stirng by @suzukaze [fix GH-743][ci skip] Thu Jan 22 00:25:15 2015 Nobuyoshi Nakada * load.c (rb_f_load): path name needs to be transcoded to OS path encoding. [ruby-list:49994] Wed Jan 21 04:36:27 2015 Nobuyoshi Nakada * configure.in (NET_LUID): include winsock2.h instead of windows.h. patch by Jon Forums in [ruby-core:67125]. [Bug #10640] Wed Jan 21 04:36:27 2015 Nobuyoshi Nakada * configure.in (NET_LUID): include also ifdef.h as a workaround of a bug in mingw-w64 header. [ruby-core:67103] [Bug #10640] Wed Jan 7 22:34:52 2015 NARUSE, Yui * tool/config_files.rb: use config.guess in gcc repo. Tue Jan 6 00:04:38 2015 SHIBATA Hiroshi * test/ruby/test_io.rb: added timeout for AIX environment. [ruby-core:62983][Bug #9917] Mon Jan 5 23:58:50 2015 CHIKANAGA Tomoyuki * test/ruby/test_string.rb(test_LSHIFT_neary_long_max): increase timeout for Arch Linux CI environment. Wed Dec 31 00:00:09 2014 NARUSE, Yui * lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead of parser to handle IPv6 address. [Bug #9129] Tue Dec 30 23:46:26 2014 CHIKANAGA Tomoyuki * lib/rubygems/*: upgrade to RubyGems 2.2.3. [Backport #10515] Thu Nov 13 22:32:34 2014 CHIKANAGA Tomoyuki * lib/rexml/document.rb: add REXML::Document#document. reported by Tomas Hoger and patched by nahi. Thu Nov 6 22:57:43 2014 Naohisa Goto * bignum.c (absint_numwords_generic): set an array element after definition of a variable to fix compile error with older version of fcc (Fujitsu C Compiler) 5.6 on Solaris 10 on Sparc. [Bug #10350] [ruby-dev:48608] Thu Nov 6 22:36:55 2014 Naohisa Goto * compile.c (compile_data_alloc): add padding when strict alignment is required for memory access. Currently, the padding is enabled only when the CPU is 32-bit SPARC and the compiler is GCC. [Bug #9681] [ruby-core:61715] * compile.c (STRICT_ALIGNMENT): defined if strict alignment is required * compile.c (ALIGNMENT_SIZE, ALIGNMENT_SIZE_MASK, PADDING_SIZE_MAX): new macros for alignemnt word size, bit mask, max size of padding. * compile.c (calc_padding): new function to calculate padding size. Wed Nov 5 00:18:22 2014 Nobuyoshi Nakada * configure.in (__builtin_setjmp): disable with gcc/clang earlier than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10272] Wed Nov 5 00:01:04 2014 Tanaka Akira * bignum.c (bary_mul_balance_with_mulfunc): Fix free work area location. [ruby-dev:48723] [Bug #10464] [ruby-core:66044] [Bug #10465] Reported by Kohji Nishihama. Tue Oct 28 22:30:21 2014 NARUSE, Yui * configure.in: remove apple-gcc4.2 from CC candidates. Tue Oct 28 22:19:44 2014 CHIKANAGA Tomoyuki