aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/rubygems/basic_specification.rb: Update to RubyGems masterdrbrain2013-12-142-1/+6
| | | | | | | 9c718fe. Removes code duplication. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-15svn2013-12-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Fix output of Shellwords.escape() by @anatol [Fixes GH-483]a_matsuda2013-12-141-1/+1
| | | | | | | | * lib/shellwords.rb: Fix output of Shellwords.escape() https://github.com/ruby/ruby/pull/483 [ci-skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: [DOC] Fix typoa_matsuda2013-12-141-1/+1
| | | | | | | s/useage/usage/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-12-141-89/+89
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]a_matsuda2013-12-145-5/+5
| | | | | | | | | | | | | * doc/ChangeLog-YARV: Correct a typo in comment * lib/rubygems/specification.rb: ditto. * test/rexml/data/tutorial.xml: ditto. * test/ruby/test_settracefunc.rb: ditto. * tool/instruction.rb: ditto. https://github.com/ruby/ruby/pull/482 [ci-skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: post arguments as mandatorynobu2013-12-143-3/+21
| | | | | | | | * vm_insnhelper.c (vm_callee_setup_arg_complex): count post arguments as mandatory arguments. [ruby-core:57706] [Bug #8993] * vm_insnhelper.c (vm_yield_setup_block_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-12-140-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefix in rubylibprefixnobu2013-12-142-9/+16
| | | | | | | | * configure.in (rubylibprefix): replace exec_prefix as well as bindir and libdir. a patch by kimuraw (Wataru Kimura) at [ruby-dev:47852]. [Bug #9160] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/contributing.rdoc: [DOC] Correct spelling by @dvsuresh [Fixes GH-481]a_matsuda2013-12-141-1/+1
| | | | | | | https://github.com/ruby/ruby/pull/481 [ci-skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* logger.rb: fix extra log ratationnobu2013-12-143-2/+46
| | | | | | | | * lib/logger.rb (lock_shift_log): no need to rotate the log file if it has been rotated by another process. based on the patch by no6v (Nobuhiro IMAI) in [ruby-core:58620]. [Bug #9133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: refine messagesnobu2013-12-141-1/+1
| | | | | | | * test/ruby/envutil.rb (assert_file_predicate): place rest arguments after predicate name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Additional test coverage to Enumerator#peek.nobu2013-12-141-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Additional test coverage to Dir class. Dir['**/*'] should not resolve symlinks.nobu2013-12-141-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Additional test coverage to DateTime comparison (sub millisecond).nobu2013-12-141-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: method by respond_to_missing?nobu2013-12-143-0/+17
| | | | | | | * proc.c (mnew_from_me): method by respond_to_missing? should be owned by the original class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: check const namesnobu2013-12-142-10/+24
| | | | | | | * object.c (rb_mod_const_get, rb_mod_const_defined): check constant names more strictly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* scanf.rb: fix rescue modifiernobu2013-12-142-1/+11
| | | | | | | * lib/scanf.rb (IO#scanf): fix mistaken use of rescue modifier. a patch by Mon_Ouie at [ruby-core:52813]. [Bug #7940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* util.c: bump stack size in ruby_qsort()nobu2013-12-142-1/+9
| | | | | | | | * util.c (ruby_qsort): fix potential stack overflow on a large machine. based on the patch by Conrad Irwin <conrad.irwin AT gmail.com> at [ruby-core:51816]. [Bug #7772] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: nested path const_defined?nobu2013-12-143-10/+103
| | | | | | | * object.c (rb_mod_const_defined): support nested class path as well as const_get. [Feature #7414] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: remove unnecessary assignmentnobu2013-12-141-3/+1
| | | | | | | * object.c (rb_mod_const_get): remove unnecessary assignment and set path together. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: fix typonobu2013-12-142-2/+2
| | | | | | | * object.c (rb_mod_const_get): fix typo. should use SYM2ID() not ID2SYM(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix commit missnobu2013-12-141-4/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: fix r44189nobu2013-12-142-3/+8
| | | | | | | * object.c (rb_mod_const_get): already interned junk name may be valid nested class path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: optimize rb_mod_const_get for symbolnobu2013-12-141-9/+5
| | | | | | | * object.c (rb_mod_const_get): Symbol must be the entire name, not a nested constant path, so achieve by its ID directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/yaml/emitter.c: Fix typo in the variable namea_matsuda2013-12-141-4/+4
| | | | | | s/preceeded/preceded/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: [DOC] Fix a broken link by @namusyaka [fix GH-478]hsbt2013-12-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: reuse tagnobu2013-12-132-18/+19
| | | | | | | * eval.c (rb_rescue2): reuse tags pushed for body proc to protect rescue proc too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.tarui2013-12-132-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb: Don't test $! in "ensure" clause becauseakr2013-12-135-34/+136
| | | | | | | | | | | | | it may be set before the body. Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247] * lib/cgi/core.rb: Ditto. * lib/drb/ssl.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117, which ↵ngoto2013-12-132-1/+6
| | | | | | cause compile error on Solaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: reduce tags and stacknobu2013-12-132-15/+21
| | | | | | | | * thread.c: (exec_recursive): use rb_catch_protect() instead of rb_catch_obj() and PUSH_TAG(), and reduce pushing tags and machine stack usage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-12-14svn2013-12-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: fix inherited ownernobu2013-12-133-5/+22
| | | | | | | | | * proc.c (mnew_from_me): achieve the original defined_class from prepended iclass, to fix inherited owner. * proc.c (method_owner): return the defined class, but not the class which the method object is created from. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_weakmap.rb: fix testnobu2013-12-131-1/+2
| | | | | | | * test/ruby/test_weakmap.rb (test_include?): create target object in a block, so that collected soon as possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby: better assertionsnobu2013-12-131-1/+1
| | | | | | * test/ruby: use better assertions instead of mere assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_weakmap.rb: fix testnobu2013-12-131-1/+1
| | | | | | | * test/ruby/test_weakmap.rb (test_include?): Object.new does not excute the block, use tap. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c, vm_method.c: fix super and aliasnobu2013-12-135-10/+96
| | | | | | | | | | | * proc.c (method_owner): return the class where alias is defined, not the class original method is defined. * vm_method.c (rb_method_entry_make, rb_alias): store the originally defined class in me. [Bug #7993] [Bug #7842] [Bug #9236] * vm_method.c (rb_method_entry_get_without_cache): cache included module but not iclass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_weakmap.rb: fix testnobu2013-12-131-5/+6
| | | | | | | * test/ruby/test_weakmap.rb (test_include?): isolate weak referenced object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby: better assertionsnobu2013-12-1345-513/+535
| | | | | | * test/ruby: use better assertions instead of mere assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assertions.rb: last match in assert_raise_with_messagenobu2013-12-132-5/+10
| | | | | | | | | * lib/test/unit/assertions.rb (assert_raise_with_message): set caller's last match if expected is a Regexp. * test/ruby/test_arity.rb (err_mess): use assert_raise_with_message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: GC.latest_gc_info reports most interesting major_by flagtmm12013-12-132-1/+6
| | | | | | | * gc.c (gc_info_decode): Use :major_by=>:nofree as fallback reason when other trigger conditions are present. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: add Exception#backtrace_locations.ko12013-12-136-1/+89
| | | | | | | | | | | | | | | Now, there are no setter and independent from Exception#backtrace. [Feature #8960] * eval.c (setup_exception): set backtrace locations for `bt_location' special attribute. * vm_backtrace.c (rb_backtrace_to_location_ary): added. * internal.h: ditto. * test/ruby/test_backtrace.rb: add a test for Exception#backtrace_locations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: clear cachenobu2013-12-131-4/+1
| | | | | | | | | * eval.c (rb_using_module): clear method cache after applying refinements. * eval.c (mod_using, top_using): remove redundant type checks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: indentnobu2013-12-131-3/+3
| | | | | | * eval.c (using_module_recursive): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: reduce clearing method cachenobu2013-12-132-6/+1
| | | | | | | | | | | | | | | * vm_method.c (rb_add_method, rb_alias): rb_method_entry_set() already clears method cache. * vm_method.c (rb_export_method): ditto by rb_add_method(). * vm_method.c (set_method_visibility): ditto by rb_export_method(). * vm.c (vm_define_method): ditto by rb_add_method(). * vm.c (m_core_undef_method): ditto by rb_add_method() in rb_undef(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect_body): use rb_bug() and explicit error messageko12013-12-132-1/+10
| | | | | | | | | instead of using assert(). [Bug #9222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: fix comment to remove the word "shady".ko12013-12-133-3/+9
| | | | | | | | * variable.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: [DOC] Fix typoa_matsuda2013-12-131-1/+1
| | | | | | | s/deguging/debugging/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: rename *shady* func/macros.ko12013-12-132-24/+30
| | | | | | | | | | | * RVALUE_RAW_SHADY() -> RVALUE_WB_PROTECTED_RAW() * RVALUE_SHADY() -> RVALUE_RAW_SHADY() * rgengc_check_shady() -> rgengc_check_relation(). And fix some messages using "shady" to "non-WB-protected". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e