summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-10fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-10mkconfig.rb: SDKROOTnobu
* tool/mkconfig.rb (RbConfig): allow prefix includedir by SDKROOT environment variable on OSX. cf. http://www.opensource.apple.com/source/ruby/ruby-106/patches/tool_mkconfig.rb.diff git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-10configure.in: use /usr/includenobu
* configure.in (CPPFLAGS): override /usr/local/include by /usr/include, unless explicitly /usr/local is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-10* vm_insnhelper.c (vm_call_method): stop method search when a methodshugo
is not found in a refinement, to support undef in refinements. [ruby-core:66741] [Bug #10578] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-10* 2015-02-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-10* lib/net/ftp.rb (chdir, delete, gettextfile, mdtm, mkdir, nlst,shugo
putbinaryfile, puttextfile, rename, rmdir, size): support Pathname. Patch by Joe Rafaniello. [fix GH-828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-09make-snapshot: no loading unexpected librariesnobu
* tool/make-snapshot (package): get rid of loading unbundled and unexpected libraries. [ruby-core:67977] [Bug #10822] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-09TestException.rb: exclude stack overflow testsnobu
* test/excludes/TestException.rb: exclude machine stack overflow tests by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-09test/unit.rb: regexps to excludenobu
* test/lib/test/unit.rb (ExcludedMethods#exclude_from): allow regexps for methods to be excluded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08optparse.rb: update --version example [ci skip]nobu
* lib/optparse.rb (OptparseExample): [DOC] update example code for --version option, to print OptparseExample::Version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08* 2015-02-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08gc.c: disable lazy sweeping checknobu
* gc.c (rb_objspace_free): disable provisionally lazy sweeping check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08* lib/net/http/header.rb: pass header names as symbols.hsbt
Patch by @DamirSvrtan [fix GH-805] * test/net/http/test_httpheader.rb: added test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08getaddrinfo.c: GHOST vulnerability checknobu
* 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 canonnical name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08registry.rb: wide versionsnobu
* ext/win32/lib/win32/registry.rb (Win32::Registry::API): use wide versions of RegDeleteValue and RegDeleteKey. [ruby-core:67958] [Bug #10820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08gc.c: disable gc_rest after finalizationnobu
* gc.c (rb_objspace_call_finalizer): disable provisionally gc_rest as it breaks RVALUE consistency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08* 2015-02-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-08socket/extconf.rb: reduce duplicated codenobu
* ext/socket/extconf.rb: reduce duplicated code. set fallback value first, then check OS-provided functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07* test/win32ole/test_win32ole_record.rb: remove test using .NETsuke
Framework 3.5 because it is not included in Windows 8/8.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07dir.c: long path name on Windowsnobu
* dir.c (has_magic): always get long path name on Windows even if no tilde is there. [ruby-core:68011] [Bug #10819] * dir.c (replace_real_basename): FindFirstFile ignore redirection character, check if exists before call it. cf. [Bug #8597] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07dir.c: fix a typonobu
* dir.c (has_magic): fix a typo, check code not c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07* test/win32ole/test_win32ole_record.rbsuke
(test_ole_instance_variable_get): correct VT_RECORD type and instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07* 2015-02-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07dir.c: use USE_NAME_ON_FSnobu
* dir.c (glob_helper): use USE_NAME_ON_FS instead of configure and platform macro list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-07dir.c: fix escaping multibyte charnobu
* dir.c (has_magic): fix escaping multibyte char, with glob meta-char in trailing bytes, e.g., Shift-JIS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06test_dir_m17n.rb: fix testsnobu
* test/ruby/test_dir_m17n.rb (with_enc_path): test with UTF-8 default external encoding for non-locale environments. * test/ruby/test_dir_m17n.rb (test_glob_warning_opendir): valid only if file permissions work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06* ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes whentenderlove
dumping objects with custom coders. [ruby-core:66215] [Bug #10496] * test/psych/test_coder.rb: test for fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06dir.c: preserve encodingnobu
* dir.c (sys_enc_warning_in): preserve encoding of path name in warning messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06error.c: rb_sys_enc_warningnobu
* error.c (rb_sys_enc_warning): new function to show warning and error message with the encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06error.c: warning_stringnobu
* error.c (warning_string): extract a method to create warning message string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06test_cipher.rb: OpenSSL 1.0.2nobu
* test/openssl/test_cipher.rb (OpenSSL::TestCipher#test_ciphers): OpenSSL 1.0.2 does not allow wrap mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06* ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regulartenderlove
expressions with newlines. tenderlove/psych#222 * test/psych/test_yaml.rb: test for change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06revert r45487nobu
* variable.c (rb_alias_variable): IDs are always immportal now, no pin down is needed. * vm_method.c (rb_method_entry_make): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06variable.c: ignore mortal classidnobu
* variable.c (classname): ignore classid if it is a mortal symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06vm_eval.c: no use of SYM2IDnobu
* vm_eval.c (check_funcall_missing): no longer turn an ID into a symbol temporarily to get rid of use of SYM2ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-06vm_core.h: fix symbols leaknobu
* vm_core.h (rb_call_info_kw_arg_struct): make keywords a symbols list to get rid of inadvertent creation by variable keyword arguments. [ruby-core:68031] [Bug #10831] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05security.rdoc: correctionnobu
* doc/security.rdoc (Symbols): ID2SYM never creates new IDs bound to immortal symbols, SYM2ID may create new IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05* 2015-02-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05* doc/security.rdoc: [DOC] ammend symbols section for bug withmarcandre
keyword args [ci-skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05* lib/rubygems: Update to RubyGems HEAD(5c3b6f3).hsbt
Fixed #1156, #1142, #1115, #1142, #1139 on rubygems/rubygems * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05test_gc.rb: read binarynobu
* test/ruby/test_gc.rb (test_exception_in_finalizer): read in binary encoding to get rid of invalid byte sequence exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05mkmf/base.rb: fix constant scopenobu
* test/mkmf/base.rb (TestMkmf::Base): fix constant scope for r49482. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05test_inadvertent_creation.rb: assert method_missingnobu
* test/-ext-/symbol/test_inadvertent_creation.rb (assert_no_immortal_symbol_in_method_missing): assert method_missing. [Bug #10828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05convert method name to a Symbolnobu
* vm_eval.c (send_internal), vm_insnhelper.c (vm_call_opt_send): convert String method name into a Symbol, as method_missing method expects its first argument to be a Symbol. [Bug #10828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05vm_insnhelper.c: fix missing reasonnobu
* vm_insnhelper.c (ci_missing_reason): return the reason of method missing in call info. * vm_insnhelper.c (vm_call_opt_send): re-apply r49500 with the proper missing reason. [Bug #10828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05test_inadvertent_creation.rb: move testsnobu
* test/-ext-/symbol/test_inadvertent_creation.rb: move symbol leak tests, for implementation details, from test/ruby/test_symbol.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05* class.c (rb_obj_singleton_methods): should use RTEST() to convertshugo
VALUE to int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04* vm_insnhelper.c: Revert r49500 (6ae6a8c7bc86e97)marcandre
Creates a regression in test_drb. Above my rubyfu. [#10828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04* vm_eval.c: Fix symbol leak with non optimized +send+ and method_missing ↵marcandre
[#10828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e