Sat Jan 3 11:50:16 2015 SHIBATA Hiroshi * ext/openssl/ossl.h: avoid to build failure of Windows environment. * ext/openssl/ossl_ssl_session.c: ditto. Sat Jan 3 11:27:46 2015 SHIBATA Hiroshi * array.c: Improve performance of Array#shift. use shared instead of MEMMOVE if with arguments. Patch by @ksss [fix GH-537] * test/ruby/test_array.rb: ditto. * benchmark/bm_array_shift.rb: Added benchmark of GH-537 issue. Sat Jan 3 10:38:52 2015 SHIBATA Hiroshi * lib/net/http.rb: More descriptive error message when net/http fails to connect to a server. Patch by @xaviershay [fix GH-700] * test/net/http/test_http.rb: ditto. Sat Jan 3 10:14:51 2015 SHIBATA Hiroshi * ext/openssl/ossl.h: Make `SSL_SESSION_cmp` use `CRYPTO_memcmp` [fix GH-591] Patch by @PiPeep * ext/openssl/ossl_ssl_session.c: ditto. Sat Jan 3 09:54:32 2015 SHIBATA Hiroshi * ext/fiddle/lib/fiddle/cparser.rb: Support for Fiddle::CParser to handle rich signatures including parameter names and function pointer types. Patch by @theryan [fix GH-590] * test/fiddle/test_cparser.rb: ditto. Sat Jan 3 09:01:43 2015 SHIBATA Hiroshi * NEWS: added compatibility entry of r49101. Fri Jan 2 21:06:59 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] Fri Jan 2 21:04:36 2015 SHIBATA Hiroshi * test/net/http/test_http.rb (_test_send_request__HEAD): Added failing test for send_request with HEAD method. Fri Jan 2 18:41:20 2015 Tanaka Akira * eval.c (ruby_init): Print ruby_setup() error only in debug mode. Unsupressable error message is not a good idea. Note that the message is printed sometimes with following code (highly timing dependent, though): pid = spawn("ruby -e ''"); Process.kill(:TERM, pid) Fri Jan 2 16:18:44 2015 SHIBATA Hiroshi * test/ruby/test_module.rb: Refactor invalid testcase. [fix GH-472][ruby-core:59035][Bug #9240] Fri Jan 2 15:53:00 2015 SHIBATA Hiroshi * lib/webrick/utils.rb: removed unused argument variable. [fix GH-356] Patch by @vipulnsward * lib/webrick/server.rb: ditto. * lib/webrick/ssl.rb: ditto. * test/webrick/test_utils.rb: added test for WEBrick::Utils#create_listeners. Fri Jan 2 15:35:53 2015 SHIBATA Hiroshi * lib/securerandom.rb: improve syntax and grammar of documentation. [fix GH-796][ci skip] Patch by @Erol Fri Jan 2 15:10:01 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] Fri Jan 2 09:08:31 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. Thu Jan 1 21:41:49 2015 SHIBATA Hiroshi * doc/regexp.rdoc: fix regexp docs for whitespace character. [ruby-dev:48765] [Bug #10624] Thu Jan 1 17:50:52 2015 Nobuyoshi Nakada * test/ruby/test_rubyoptions.rb: try locale encoding name. [ruby-core:67109] [Bug #10643] Thu Jan 1 11:07:12 2015 Eric Wong * symbol.c (rb_gc_free_dsymbol): delete from global fstr hash * test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug [ruby-core:67268] [Bug #10686] Thu Jan 1 09:14:21 2015 Nobuyoshi Nakada * vm_args.c (keyword_hash_p): fix non-symbol keys hash. rb_extract_keywords() returns 0 not Qnil when no symbol keys is included. [ruby-core:67264] [Bug #10685] Wed Dec 31 17:48:43 2014 Tanaka Akira * lib/resolv.rb (Resolv::DNS::Label::Str#initialize): Set encoding ASCII-8BIT before downcase. case insensitivity of DNS labels doesn't apply non-ASCII characters. [RFC 4343] Wed Dec 31 16:48:44 2014 Nobuyoshi Nakada * parse.y (gettable_gen): disable warnings of possible reference to a local variable defined in a past scope. [ruby-core:67162] [Bug #10661] Wed Dec 31 13:43:48 2014 Tanaka Akira * lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str objects. Label#Str#== is case-insensitive. Tue Dec 30 16:16:12 2014 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] Tue Dec 30 16:03:45 2014 Nobuyoshi Nakada * lib/resolv.rb (Resolv::DNS::Name): names with different dots should be different. Tue Dec 30 13:16:56 2014 Martin Duerst * lib/uri/common.rb: Initialize HTML5ASCIIINCOMPAT to empty Array to avoid error during bootstrap when encodings are not yet defined. [Bug #10678] Tue Dec 30 09:29:26 2014 Bernhard M. Wiedemann * ext/dbm/dbm.c (Init_dbm): [DOC] as UNIX permissions are octal numbers, needs to be prefixed by 0. [Fix GH-800] Tue Dec 30 08:57:39 2014 SHIBATA Hiroshi * lib/unicode_normalize.rb: typo fix. [ci skip] [ruby-dev:48794][misc #10675] Mon Dec 29 19:38:01 2014 Yukihiro Matsumoto * version.h (RUBY_VERSION): 2.3.0 development has started. Mon Dec 29 18:58:46 2014 Nobuyoshi Nakada * re.c (unescape_nonascii): append escape sequence as-is not unescaped character, to get rid of unexpected meta-character. [ruby-core:67193] [Bug #10670] Mon Dec 29 14:27:33 2014 Nobuyoshi Nakada * doc/syntax/literals.rdoc (Symbols): now Symbols created by interpolation can be garbage collected. patch by Yihang Ho in [ruby-core:67194]. [Bug #10671] Mon Dec 29 11:18:17 2014 Nobuyoshi Nakada * thread.c (rb_thread_variable_get): fix dynamic symbol keys. rb_check_id() returns non-zero only for static symbols, whereas thread local variable keys can be dynamic symbols. [ruby-core:67185] [Bug #10667] Mon Dec 29 10:37:27 2014 Thiago Lewin * io.c (rb_f_select): [DOC] workaround for YARD doc. [Fix GH-799] * process.c (proc_detach): [DOC] fix missing closing parenthesis. [Fix GH-799] Mon Dec 29 07:27:23 2014 SHIBATA Hiroshi * ext/json, test/json: merge JSON HEAD(17fe8e7) https://github.com/flori/json/compare/v1.8.1...17fe8e7 Sun Dec 28 23:49:37 2014 Michal Papis * rbinstall.rb: fix target location for installing bundled gems. install to the prepared directory instead of default Gem.dir, not to be affected GEM_HOME environment variable. [Fix GH-798] Sun Dec 28 18:19:28 2014 Eric Wong * test/-ext-/iseq_load/test_iseq_load.rb (test_next_in_block_in_block): test using ISeq#eval (test_break_ensure): ditto [ruby-core:66988] Sun Dec 28 16:25:12 2014 Nobuyoshi Nakada * cygwin/GNUmakefile.in (EXTOBJS): override to add resource files always. [ruby-core:67153] [Bug #10657] Sun Dec 28 13:54:26 2014 Nobuyoshi Nakada * parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and keywords bits arguments should be unique. since internal IDs depend on the local variable index in the current scope, new ID should be made before popping those vtables. [ruby-core:67157] [Bug #10659] Sat Dec 27 20:12:55 2014 Nobuyoshi Nakada * ext/json/generator/generator.c (JSON_Generator_State_type): add #ifdef for backward compatibility. * ext/json/parser/parser.rl (JSON_Parser_type): ditto. * ext/json/generator/generator.h (ZALLOC): add fallback definition. * ext/json/parser/parser.h (ZALLOC): ditto. Sat Dec 27 16:54:05 2014 Tanaka Akira * process.c: Unused code removed. It seems waitpid() is universally available on POSIX platforms. Sat Dec 27 15:08:27 2014 Eric Wong * vm_core.h (rb_vm_living_threads_insert): preserve order [Bug #10660] [ruby-core:67154] [ruby-core:67159] Sat Dec 27 13:08:20 2014 SHIBATA Hiroshi * ext/socket/socket.c: improved document for YARD doc. [fix GH-795][ci skip] Patch by @tlewin Sat Dec 27 10:11:21 2014 SHIBATA Hiroshi * ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function of tcllib. Patch by @zalt50 [fix GH-787] Sat Dec 27 10:03:41 2014 SHIBATA Hiroshi * tool/make-snapshot: show sha1 digest when making packages. it's request from https://github.com/ruby/www.ruby-lang.org/issues/921 [fix GH-794] Fri Dec 26 15:32:16 2014 Nobuyoshi Nakada * ext/tk/tcltklib.c (ip_invoke_core): remove probably duplicate dead code. Fri Dec 26 15:28:27 2014 Nobuyoshi Nakada * ext/tk/tcltklib.c (ip_ruby_cmd_receiver_const_get): simply use rb_path2class() to get a class/module from its name. Fri Dec 26 15:20:54 2014 Nobuyoshi Nakada * marshal.c (w_long): append at once by w_nbyte() instead of appending byte by byte. Fri Dec 26 15:13:13 2014 Nobuyoshi Nakada * ext/json/parser/parser.rl (unescape_unicode): check if valid before bit-or assignments. reported by Denis Denisov . * ext/nkf/nkf-utf8/nkf.c (nkf_iconv_t): fix a missing semicolon. reported by Denis Denisov . * process.c (rb_spawn_process): get rid of usage of uninitialized variable. reported by Denis Denisov . * regexec.c (match_at): ditto. * ext/win32ole/win32ole.c (ole_wc2mb_alloc, ole_vstr2wc, ole_mb2wc): ditto. * dir.c (ruby_glob0): no need to check never-NULL pointer. reported by Denis Denisov . * win32/file.c (rb_file_expand_path_internal): ditto. * win32/file.c (code_page_i): handle realloc failure. reported by Denis Denisov . * win32/stub.c (stub_sysinit): ditto. * fix printf format conversion specifiers. reported by Denis Denisov . Fri Dec 26 01:41:40 2014 NAKAMURA Usaku * tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable. [Bug #10647] [ruby-dev:48787] Fri Dec 26 01:24:42 2014 NAKAMURA Usaku * tool/downloader.rb: support old versions of ruby. * tool/downloader.rb: now can download gems by http if openssl is not available (this may be danger!) Fri Dec 26 00:13:48 2014 NAKAMURA Usaku * test/ruby/test_extlibs.rb: check existence of extension libraries which not depend on outer libraries. (experimental) Thu Dec 25 21:58:15 2014 Nobuyoshi Nakada * ext/fiddle/extconf.rb: make PIC objects if it will be linked as a shared object eventually. [ruby-core:67128] Thu Dec 25 19:01:13 2014 NAKAMURA Usaku * ext/fiddle/win32/libffi-3.2.1-mswin.patch: support mswin32. Thu Dec 25 17:30:40 2014 Naohisa Goto * gc.c (wmap_final_func): fix memory size shortage when realloc wmap. Fix SEGV during finilize of WeakRef on Solaris (though the SEGV could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646] Thu Dec 25 17:27:06 2014 Nobuyoshi Nakada * configure.in (NET_LUID): include winsock2.h instead of windows.h. patch by Jon Forums in [ruby-core:67125]. [Bug #10640] Thu Dec 25 16:14:10 2014 Nobuyoshi Nakada * ext/io/console/console.c (console_dev): send the given arguments to the opened console. as a special case, do nothing if :close is given. * test/lib/leakchecker.rb (LeakChecker#check_fd_leak): close if console. For the changes before 2.2.0, see doc/ChangeLog-2.2.0 For the changes before 2.1.0, see doc/ChangeLog-2.1.0 For the changes before 2.0.0, see doc/ChangeLog-2.0.0 For the changes before 1.9.3, see doc/ChangeLog-1.9.3 For the changes before 1.8.0, see doc/ChangeLog-1.8.0 Local variables: coding: us-ascii add-log-time-format: (lambda () (let* ((time (current-time)) (system-time-locale "C") (diff (+ (cadr time) 32400)) (lo (% diff 65536)) (hi (+ (car time) (/ diff 65536)))) (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t))) indent-tabs-mode: t tab-width: 8 change-log-indent-text: 2 end: vim: tabstop=8 shiftwidth=2