aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2013-09-14svn2013-09-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 2.1.3drbrain2013-09-13110-4800/+3351
| | | | | | | | | | | | | | | | | | | Fixed installing platform gems Restored concurrent requires Fixed installing gems with extensions with --install-dir Fixed `gem fetch -v` to install the latest version Fixed installing gems with "./" in their files entries * test/rubygems/test_gem_package.rb: Tests for the above. * NEWS: Updated for RubyGems 2.1.3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: utility functions from ruby_setenvnobu2013-09-131-12/+28
| | | | | | | * hash.c (invalid_envname, check_envname): extract utility functions from ruby_setenv(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbuninstall.rb: ttynobu2013-09-131-6/+10
| | | | | | * tool/rbuninstall.rb: show progress if tty and add --tty option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbuninstall.rb: rmdir -pnobu2013-09-131-9/+16
| | | | | | * tool/rbuninstall.rb: remove parent directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic.find_proxy): return nil ifnaruse2013-09-133-19/+23
| | | | | | | http_proxy environment variable is empty string. [ruby-core:57140] [Bug #8898] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: sortnobu2013-09-131-20/+21
| | | | | | * NEWS (Stdlib updates): sort in case-insensitive alphabetical order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-09-13svn2013-09-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 2.1.3drbrain2013-09-1313-74/+211
| | | | | | | | | | | | | | | | | | | Fixed installing platform gems Restored concurrent requires Fixed installing gems with extensions with --install-dir Fixed `gem fetch -v` to install the latest version Fixed installing gems with "./" in their files entries * test/rubygems/test_gem_package.rb: Tests for the above. * NEWS: Updated for RubyGems 2.1.3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: size_t must be unsignednobu2013-09-122-4/+16
| | | | | | | | | * configure.in (RUBY_CHECK_SIGNEDNESS): macro to check signedness of a type. * configure.in (size_t): must be unsigned. [ruby-core:57149] [Feature #8890] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Eliminate less-than-zero checks for unsigned variablesnobu2013-09-125-7/+16
| | | | | | | | | | | * ext/bigdecimal/bigdecimal.c, ext/digest/md5/md5.c, ext/json/fbuffer/fbuffer.h, ext/json/generator/generator.c: Eliminate less-than-zero checks for unsigned variables. According to section 4.1.5 of C89 standard, size_t is an unsigned type. These checks were found with 'cppcheck' static analysis tool. [ruby-core:57117] [Feature #8890] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may include ↵ngoto2013-09-122-1/+7
| | | | | | | | | library path that should be specified before LIBS. [ruby-dev:47707] [Bug #8901] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vsnprintf.c: fix buffer overflownobu2013-09-123-10/+36
| | | | | | | | | | | * vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in float.h. * vsnprintf.c (BSD_vfprintf): limit length for cvt() to get rid of buffer overflow. [ruby-core:57023] [Bug #8864] * vsnprintf.c (exponent): make expbuf size more precise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-09-12svn2013-09-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: adjust stylenobu2013-09-121-2/+4
| | | | | | | * signal.c (rb_sigaltstack_size, ruby_abort): adjust style, procnames-start-lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: fix cross-compiling installation failurenobu2013-09-113-2/+8
| | | | | | | | * configure.in (RUNRUBY): append -- only after runruby.rb, not cross-compiling baseruby, so that $(RUN_OPT) can be command line options. [ruby-dev:47703] [Bug #8893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: use RB_TYPE_Pnobu2013-09-111-211/+184
| | | | | | | | * numeric.c: use RB_TYPE_P() for special classes instead of switch with TYPE(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_sprintf_comb.rb: split testsnobu2013-09-111-23/+23
| | | | | | | * test/ruby/test_sprintf_comb.rb (test_format_integer), (test_format_float): split huge tests by the formats. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-09-11svn2013-09-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock): Mutex#unlock no longer raisekosaki2013-09-103-5/+22
| | | | | | an exception even if uses on trap. [Bug #8891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_backtrace.c (vm_backtrace_to_ary): Ignore the second argument ifsorah2013-09-103-0/+14
| | | | | | | | | it is nil. [Bug #8884] [ruby-core:57094] * test/ruby/test_backtrace.rb (test_caller_with_nil_length): Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rational.c: conditionally defined variablenobu2013-09-102-1/+8
| | | | | | | * rational.c (numeric_quo): variable 'canonicalization' is defined conditionally by CANON (and CANONICALIZATION_FOR_MATHN). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: exclude refined methodsnobu2013-09-103-0/+20
| | | | | | | * class.c (method_entry_i): should exclude refined methods from instance method list. [ruby-core:57080] [Bug #8881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: constifynobu2013-09-102-4/+4
| | | | | | * vm_method.c (rb_resolve_refined_method): constify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_printf): [DOC] add missing parenthesis in rdoc.kazu2013-09-102-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: Update RubyGems note.kazu2013-09-102-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-09-10svn2013-09-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 2.1.0. Fixes CVE-2013-4287.drbrain2013-09-1023-39/+313
| | | | | | | | | | | | | See http://rubygems.rubyforge.org/rubygems-update/CVE-2013-4287_txt.html for CVE information. See http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.1.0+%2F+2013-09-09 for release notes. * test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: Remove spaces between SI prefix and unit to followakr2013-09-094-16/+27
| | | | | | | | | | | | | | SI brochure. http://www.bipm.org/en/si/si_brochure/ https://www.nmij.jp/library/units/si/ * time.c: Ditto. * ext/socket/ancdata.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: clear cache after refine methodnobu2013-09-093-0/+30
| | | | | | | | * vm_method.c (rb_add_refined_method_entry): clear cache in the refined class since refining a method entry is modifying the class. [ruby-core:57079] [Bug #8880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* complex.c: fix typonobu2013-09-091-4/+4
| | | | | | * complex.c (nucomp_real_check): fix a variable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: debuggingnobu2013-09-091-3/+30
| | | | | | | * vm_insnhelper.c (vm_method_cfunc_entry): check method type if debugging. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c, vm_insnhelper.c: adjust stylenobu2013-09-092-2/+4
| | | | | | | | * eval.c (rb_refinement_module_get_refined_class): adjust style. * vm_insnhelper.c (vm_profile_show_result): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* complex.c, rational.c: use RB_TYPE_Pnobu2013-09-092-154/+120
| | | | | | | * complex.c, rational.c: use RB_TYPE_P() for special classes instead of switch with TYPE(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-09-09svn2013-09-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: add datenobu2013-09-092-0/+9
| | | | | | | | * tool/rbinstall.rb (Gem::Specification#initialize): default date to RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878] * tool/rbinstall.rb (Gem::Specification#to_ruby): add date. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* optparse.rb: remove $Id$nobu2013-09-081-13/+1
| | | | | | | * lib/optparse.rb (OptionParser): remove constants depending on $Id$. [Bug #8877] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rat.c: suppress warningnobu2013-09-081-0/+2
| | | | | | * ext/-test-/rational/rat.c (big): used only if GMP is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (f_gcd): Relax the condition to use GMP.akr2013-09-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (folevariant_initialize): check type ofsuke2013-09-083-19/+50
| | | | | | | | | | element of array. * test/win32ole/test_win32ole_variant.rb (test_s_new_ary): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated.akr2013-09-081-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk, win32/Makefile.sub: refix sizez.c for nmakenobu2013-09-082-1/+2
| | | | | | | | * common.mk (sizes.c): revert r42854 and r42883. * win32/Makefile.sub (sizes.c): rule for outplace build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: in-place buildnobu2013-09-071-1/+1
| | | | | | * common.mk (sizes.c): try to fix for in-place build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-09-070-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-09-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-09-070-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: invertnobu2013-09-071-1/+1
| | | | | | | * ext/thread/thread.c (queue_pop_should_block): the first argument of Queue#pop is non_block and inverted for should_block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: function castnobu2013-09-071-1/+8
| | | | | | | * ext/thread/thread.c (queue_sleep): get rid of casting function pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: use positive_int_pnobu2013-09-071-1/+1
| | | | | | | * numeric.c (NUM_STEP_SCAN_ARGS): use positive_int_p() to fix rubyspec failures. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* numeric.c: no extra checksnobu2013-09-073-13/+3
| | | | | | | * numeric.c (NUM_STEP_SCAN_ARGS): remove extra class checks, which cause the incompatibilities. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e