aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* array.c: linear performancenobu2015-01-154-30/+84
| | | | | | | * array.c (rb_ary_select_bang, ary_reject_bang): linear performance. [ruby-core:67418] [Feature #10714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/mailto.rb: raising URI::InvalidComponentError insteadduerst2015-01-143-0/+14
| | | | | | | | of failing with undefined method `split' for nil:NilClass for mailto: URIs without opaque part. [Bug #10738] * test/uri/testuri.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: verify gemsnobu2015-01-142-2/+29
| | | | | | | * tool/downloader.rb (RubyGems.download): verify downloaded gem packages. LowSecurity to allow untrusted certificates now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* readline.c: initialize before rl_refresh_linenobu2015-01-143-17/+49
| | | | | | | | | * ext/readline/readline.c (readline_s_refresh_line): initialize before rl_refresh_line(), as some function make the internal state non-clean but rl_refresh_line() does not re-initialize it. [ruby-core:43957] [Bug #6232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_basicsocket.rb: do not hardcode port numbernobu2015-01-131-5/+5
| | | | | | | * test/socket/test_basicsocket.rb (socks): use dynamically chosen port number, and remove never used argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_basicsocket.rb: Remove unused constant.headius2015-01-131-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2015-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-01-14svn2015-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_basicsocket.rb: Add basic tests for close_readheadius2015-01-131-0/+49
| | | | | | and close_write using TCPServer/Socket as a target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: fix bundled gems locationnobu2015-01-132-2/+7
| | | | | | | * tool/rbinstall.rb (gem): fix changing permissions of installed bundled gems. [Fix GH-812] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: more cleannobu2015-01-132-0/+11
| | | | | | | | | * common.mk (distclean-local): remove autom4te.cache generated by autoconf. * common.mk (realclean-local): remove id sources and dummy header for dtrace. [ruby-core:67562] [Bug #10737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json, test/json: merge JSON HEAD(259dee6)hsbt2015-01-134-10/+32
| | | | | | | separate imprementation of Typed_Data macro. https://github.com/flori/json/compare/v1.8.1...v1.8.2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: fix messagenobu2015-01-131-2/+7
| | | | | | | * numeric.c (coerce_failed): fix the error message on non-flonum platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compar.c: fix messagenobu2015-01-131-1/+1
| | | | | | | * compar.c (rb_cmperr): show float values in the error message always, not only flonum. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: reuse options hashnobu2015-01-131-1/+9
| | | | | | | * tool/rbinstall.rb (gem): reuse options hash, which is invariant for all gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: suppress warningsnobu2015-01-131-5/+2
| | | | | | | | | * tool/rbinstall.rb (install): get rid of shadowing outer local variables. * tool/rbinstall.rb: remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_http.rb: test without DNS accessnobu2015-01-132-5/+14
| | | | | | | | * test/net/http/test_http.rb: get rid of accessing DNS actually for some servers returning wrong results. [ruby-core:67454] [Bug #10721] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: trivial optimizationsnobu2015-01-131-9/+7
| | | | | | | * range.c (range_bsearch): trivial optimizations, for Fixnum, and by keeping the last satisfied element. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-01-13svn2015-01-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: class name encodingnobu2015-01-132-3/+7
| | | | | | | * range.c (range_bsearch): preserve encoding of class name in an exception message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: reduce argument evaluationsnobu2015-01-131-1/+2
| | | | | | | * range.c (BSEARCH_CHECK): get rid of conversion of the argument multiple times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gems/bundled_gems: update test-unit to 3.0.9.usa2015-01-122-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.usa2015-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: correct error message when coerce failsnormal2015-01-123-1/+12
| | | | | | | | * 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc/text.rb: fix infinite loopnobu2015-01-123-2/+11
| | | | | | | | * lib/rdoc/text.rb (expand_tabs): get rid of infinite loop with CR. should check if substitution occurred too. [ruby-dev:48813] [Bug #10732] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* method.h: UNDEFINED_REFINED_METHOD_Pnobu2015-01-122-6/+6
| | | | | | | * method.h (UNDEFINED_REFINED_METHOD_P): macro to tell if refined original method is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: NameError at refined method aliasnobu2015-01-123-1/+34
| | | | | | | | * 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atan2): improve documentation.hsbt2015-01-122-2/+7
| | | | | | [Feature #10323][ruby-core:65400][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists,hsbt2015-01-122-44/+60
| | | | | | code examples etc. [ruby-core:66730][Bug #10576][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: improvements for OptionParser documentation.hsbt2015-01-122-77/+223
| | | | | | [misc #10608][ruby-core:66901][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_each): documented return value.hsbt2015-01-122-2/+7
| | | | | | [misc #10469][ruby-core:66063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: trivial optimizationsnobu2015-01-121-9/+7
| | | | | | | * array.c (rb_ary_bsearch): trivial optimizations, for Fixnum, and by keeping the last satisfied element. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* array.c: class name encodingnobu2015-01-112-6/+10
| | | | | | | * array.c (rb_ary_bsearch): preserve encoding of class name in an exception message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-01-12svn2015-01-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC]akr2015-01-112-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: do not exclude readlinenobu2015-01-111-1/+1
| | | | | | | * ext/extmk.rb: do not exclude readline by default on win32. it would not be completely impossible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_utils.rb: dynamically chosen port numbernobu2015-01-112-4/+26
| | | | | | | | * test/webrick/test_utils.rb (test_create_listeners): use dynamically chosen port number, not hardcoded port number. [ruby-core:67508] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: default without-extnobu2015-01-112-15/+12
| | | | | | | * ext/extmk.rb: move the default execluded extensions from configure.in so that it works on win32 too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-01-11svn2015-01-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fiddle: check assemblernobu2015-01-111-0/+3
| | | | | | * ext/fiddle/extconf.rb: requires assembler for src/win{32,64}.S. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fiddle: fix for old VCnobu2015-01-111-0/+15
| | | | | | | * ext/fiddle/win32/libffi-3.2.1-mswin.patch (include/ffi.h.in): old version VCs did not support long long, use __int64 instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit.rb: --excludes-dir listnobu2015-01-101-13/+19
| | | | | | | * test/lib/test/unit.rb (ExcludesOption): allow directory list by PATH_SEPARATOR to --excludes-dir option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use bit_length.akr2015-01-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_etc.rb: relax comparisonsnobu2015-01-101-6/+8
| | | | | | | | * test/etc/test_etc.rb (test_getgrgid, test_getgrnam): relax comparisons. getgrent() does not return mem properly in some circumstances (possibly, involved in Open Directory on OSX). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test for [ruby-core:67473] [Bug #10727]nobu2015-01-101-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: fix document of method signatures.hsbt2015-01-102-1/+6
| | | | | | [Bug #10668][ruby-core:67186][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_error.c (error_print): pos and len parameters of rb_str_substr()usa2015-01-102-1/+7
| | | | | | | | are counted by characters, not bytes. use rb_str_subseq() instead. [Bug #10727] [ruby-core:67473] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: adjust indent [ci skip]nobu2015-01-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: removed commented-out code.hsbt2015-01-102-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c: removed commented-out code.hsbt2015-01-102-4/+5
| | | | | | [Feature #10376][ruby-core:65643] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e