summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-18* 2013-02-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18* backport r39275 from trunk. [ruby-dev:46994] [Bug #7774]ko1
* proc.c (rb_binding_new_with_cfp): create binding object even if the frame is IFUNC. But return a ruby-level binding to keep compatibility. This patch fix degradation introduced from r39067. [Bug #7774] [ruby-dev:46960] * test/ruby/test_settracefunc.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-16* 2013-02-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-16* backport r39276 from trunk. [ruby-dev:46997] [Bug #7825]ktsj
* vm.c (rb_thread_mark): mark a working Proc of bmethod (a method defined by define_method) even if the method was removed. We could not trace working Proc object which represents the body of bmethod if the method was removed (alias/undef/overridden). Simply, it was mark miss. This patch by Kazuki Tsujimoto. [Bug #7825] NOTE: We can brush up this marking because we do not need to mark `me' on each living control frame. We need to mark `me's only if `me' was free'ed. This is future work after Ruby 2.0.0. * test/ruby/test_method.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-14merge revision(s) 39232,39233,39238: [Backport #7831][Backport #7852]naruse
* lib/net/http: Do not handle Content-Encoding when the user sets Accept-Encoding. This allows users to handle Content-Encoding for themselves. This restores backwards-compatibility with Ruby 1.x. * lib/net/http/generic_request.rb: ditto. * lib/net/http/response.rb: ditto * test/net/http/test_http.rb: Test for the above. * test/net/http/test_http_request.rb: ditto. * test/net/http/test_httpresponse.rb: ditto. [ruby-trunk - Bug #7831] * lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP. * test/net/http/test_http.rb: Remove Zlib dependency from tests. * test/net/http/test_http_request.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-14* Backport r39168 Warning about TracePoint events to 2.0.0zzak
[ruby-core:52073] [Bug #7815] * vm_trace.c: note about TracePoint events set git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-13* Backport r39213 from trunk [ruby-trunk - Bug #7383]drbrain
* lib/rubygems.rb: Return BINARY strings from Gem.gzip and Gem.gunzip. Fixes intermittent test failures. RubyGems issue #450 by Jeremey Kemper. * test/rubygems/test_gem.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-13* 2013-02-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-13* Backport part of r39166 from trunk [ruby-trunk - Bug #7809]drbrain
* lib/rubygems/package.rb: Include checksums.yaml.gz signatures for verification. * test/rubygems/test_gem_package.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-13merge revision(s) 39210:naruse
Suppress warnings: setting Encoding.default_external git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-13merge revision(s) 39209:naruse
Get libc's path by ldd [Bug #7828] [ruby-core:52129] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-13merge revision(s) 39208:naruse
* ext/json: merge JSON 1.7.7. This includes security fix. [CVE-2013-0269] https://github.com/flori/json/commit/d0a62f3ced7560daba2ad546d83f0479a5ae2cf2 https://groups.google.com/d/topic/rubyonrails-security/4_YvCpLzL58/discussion git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-09* 2013-02-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-09* backport r39167 from trunk. [ruby-core:52059] [Bug #7812]ktsj
* BSDL: update copyright notice for 2013. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08Release branch of Ruby 2.0.0.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08fix a revision number.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08* array.c (rb_ary_dup): reverted r39004. see [Bug #7768], and theusa
release manager finailly decided to revert it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08eval.c: preserve errinfonobu
* eval.c (rb_ensure): preserve errinfo accross ensure proc before JUMP_TAG(). [ruby-core:52022] [Bug #7802] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08envutil.rb: check termsignobu
* test/ruby/envutil.rb (assert_separately): check also terminating signal not only if core dumped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08* lib/rdoc/generator/darkfish.rb: Set encoding on output template todrbrain
user-specified encoding. * test/rdoc/test_rdoc_generator_darkfish.rb: Test for above. * lib/rdoc.rb: Bump version git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08* lib/rubygems/security/policy.rb: Raise proper exceptions whendrbrain
verifying unsigned gems (instead of crashing). * test/rubygems/test_gem_security_policy.rb: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08make-snapshot: fix typonobu
* tool/make-snapshot (package): fix typo, liburyb, in fake config.status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08make-snapshot: File.joinnobu
* tool/make-snapshot (package): use File.join to get rid of continuous slashes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08make-snapshot: rubyarchdirnobu
* tool/make-snapshot (package): fake rubyarchdir too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08* test/rubygems/test_gem_dependency_installer.rb: Improve coverage ofdrbrain
--install-dir feature of gem install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08* lib/rubygems/config_file.rb: Add missing require fordrbrain
user_interaction.rb * lib/rubygems/dependency_installer.rb: Minor refactor for clarity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08mkmf.rb: RUBY_VERSION_NAMEnobu
* lib/mkmf.rb (MakeMakefile#configuration): set all ruby names. hdrdir now needs RUBY_VERSION_NAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08process.c: ix typonobu
* process.c (USE_GETPWNAM_R): fix typo. _SC_GETPW_R_SIZE_MAX instead of same macro twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* lib/rubygems/package/old.rb: Fix loading old format gems on rubydrbrain
1.8. This commit is only so trunk and rubygems master have the same code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* ext/psych/lib/psych/visitors/yaml_tree.rb: fixing string quotationtenderlove
when dumping Ruby strings. Thanks Ingy * test/psych/test_psych.rb: appropriate tests. * test/psych/test_yaml.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* ext/psych/lib/psych/visitors/yaml_tree.rb: change output referencetenderlove
ids to be sequential numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07 * lib/rubygems/package/old.rb: Disallow installation of old-formatdrbrain
gems when a security policy is active. * test/rubygems/test_gem_package_old.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* lib/net/http.rb (HTTP.post_form): Fix module scope in documentationzzak
Patch by David Albert [Bug #7794] [ruby-core:51955] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* compar.c (cmp_equal): Document ignored exception and return falsezzak
By Makoto Kishimoto [Bug #7790] [ruby-dev:46925] [ruby-dev:46910] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* lib/rubygems/dependency_installer.rb: Only install local gems ifdrbrain
they end in '.gem'. Fixes github rubygems issue #407. * test/rubygems/test_gem_dependency_installer.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* ChangeLog: fix a typo for r39136.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* 2013-02-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* process.c (obj2gid): use getgrnum_r() only if getgrnam_r() andakr
_SC_GETGR_R_SIZE_MAX is available. MirOS BSD (MirBSD 10 GENERIC#1382 i386) have getgrnam_r() but no _SC_GETGR_R_SIZE_MAX. (obj2uid): use getpwnam_r() only if getpwnam_r() and _SC_GETPW_R_SIZE_MAX is available. This is consistency for obj2gid. MirOS BSD have neither getpwnam_r() nor _SC_GETPW_R_SIZE_MAX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* configure.in: define linker for shared library on MirOS BSD.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07vpath.rb: no rbconfig.rbnobu
* tool/vpath.rb (VPath#list): no rbconfig.rb, to get rid of cyclic dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* test/rubygems/test_gem_config_file.rbusa
(TestGemConfigFile#test_check_credentials_permissions): skip on Windows. see [Bug #7784] [ruby-core:51864] and r39070. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07* win32/Makefile.sub (config.status): added variables which wereusa
missing at r39130. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07rbinstall.rb: CONFIG['arch'] not $archnobu
* tool/rbinstall.rb: use CONFIG['arch'] instead of $arch which was not added finally. fix r39108. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07Makefile.sub: rubyarchdir in config.statusnobu
* win32/Makefile.sub (config.status): now rbconfig.rb needs rubyarchdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07mkconfig.rb: fix concatenated linesnobu
* tool/mkconfig.rb: see if a variable is set before setting it to fix concatenated lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07mkmf.rb: fix merge_libsnobu
* lib/mkmf.rb (MakeMakefile#merge_libs): insert following reversal ordered elements just after the duplicated element, not overwriting successive elements. [ruby-core:50314] [Bug #7467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07test_libs.rb: new testnobu
* test/mkmf/test_libs.rb (TestMkmf:TestLibs): tests for $libs operations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07 * lib/rubygems/package.rb: Ensure digests are generated for signing.drbrain
* test/rubygems/test_gem_package.rb: Test for the above. * lib/rubygems/security/policy.rb: Ensure digests are present when verifying a gem and match the number of signatures bidirectionally. * test/rubygems/test_gem_security_policy.rb: Test for the above. * lib/rubygems.rb: Documentation improvements (by zzak) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07test_basicinstructions.rb: fix typonobu
* test/ruby/test_basicinstructions.rb (test_send_opassign): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-07test_basicinstructions.rb: implementation definednobu
* test/ruby/test_basicinstructions.rb (test_send_opassign): implementation defined behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e