aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/sdbm/_sdbm.c (sdbm_open): use size_t.naruse2011-03-2510-34/+56
| | | | | | | | | | | | | | | | | | | | | | * ext/syck/bytecode.c: ditto. * ext/sdbm/_sdbm.c (delpair): use ptrdiff_t. * ext/sdbm/init.c: use RSTRING_LENINT. * ext/dl/handle.c: suppress warning: shorten-64-to-32. * ext/strscan/strscan.c: ditto. * ext/syck/emitter.c: ditto. * ext/syck/implicit.c: ditto. * ext/syck/syck.c: ditto. * ext/syck/token.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: import nkf 7f18e30.naruse2011-03-252-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently onusa2011-03-255-23/+35
| | | | | | | | | | | | | | | | | Windows, because this tests a platform specific feature and it'll never be supported on ruby on Windows. * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_filename_extutf8_invalid, TestDir_M17N#test_filename_as_bytes_extutf8): ditto. * test/open-uri/test_open-uri.rb (TestOpenURI#test_find_proxy_case_sensitive_env): ditto. * test/dl/test_handle.rb (DL::TestHandle#test_NEXT, DL::TestHandle#test_DEFAULT): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-25svn2011-03-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2011-03-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_defined.rb (TestDefined#test_autoloaded_noload):nobu2011-03-241-0/+5
| | | | | | autoload file should no be loaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_get_ev_const): should not autoload innobu2011-03-243-1/+16
| | | | | | defined? mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_defined_0): fix autoloading base.nobu2011-03-243-1/+24
| | | | | | [ruby-core:35509] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_defined.rb (TestDefined#test_defined): get rid ofnobu2011-03-241-3/+3
| | | | | | ruby-mode hilighting bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/_sdbm.c: parenthesize macro arguments.akr2011-03-242-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c: surpress warning: shorten-64-to-32.naruse2011-03-2420-71/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ext/openssl/ossl.h: ditto. * ext/openssl/ossl_asn1.c: ditto. * ext/openssl/ossl_bio.c: ditto. * ext/openssl/ossl_bn.c: ditto. * ext/openssl/ossl_cipher.c: ditto. * ext/openssl/ossl_hmac.c: ditto. * ext/openssl/ossl_ns_spki.c: ditto. * ext/openssl/ossl_ocsp.c: ditto. * ext/openssl/ossl_pkcs5.c: ditto. * ext/openssl/ossl_pkey.c: ditto. * ext/openssl/ossl_pkey_dh.c: ditto. * ext/openssl/ossl_pkey_dsa.c: ditto. * ext/openssl/ossl_pkey_ec.c: ditto. * ext/openssl/ossl_pkey_rsa.c: ditto. * ext/openssl/ossl_rand.c: ditto. * ext/openssl/ossl_ssl.c: ditto. * ext/openssl/ossl_x509ext.c: ditto. * ext/openssl/ossl_x509name.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_rand.c (ossl_rand_egd_bytes): use NUM2INT becausenaruse2011-03-244-6/+21
| | | | | | | | | | | | | | | | the result is used with functions whose argument is int. * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): ditto. * ext/openssl/ossl_x509store.c (ossl_x509store_set_purpose): ditto. * ext/openssl/ossl_x509store.c (ossl_x509store_set_trust): ditto. * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_purpose): ditto. * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_trust): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c: id_aref's type is ID.naruse2011-03-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_set_winsize):naruse2011-03-242-1/+6
| | | | | | surpress warning: shorten-64-to-32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ocsp.c (ossl_ocspreq_verify): flags is VALUE,naruse2011-03-242-2/+9
| | | | | | | | so it should use NUM2INT. * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-24svn2011-03-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos and remove trailing spaceskazu2011-03-231-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: parenthesize macro arguments.akr2011-03-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_round): fix inaccurate results.nobu2011-03-224-1/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): remove an experimental feature: --gem option.nobu2011-03-221-45/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): remove an experimental feature: --requirenobu2011-03-221-3/+0
| | | | | | option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (add_gems): remove unused variable.nobu2011-03-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: fix r31152 (dup line)arton2011-03-221-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-23svn2011-03-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: wait process real termination after reading arton2011-03-222-1/+12
| | | | | | | exit code. fixes #4518 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: save current dir to @current_dirnaruse2011-03-222-1/+7
| | | | | | before Dir.chdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c: parenthesize macro arguments.akr2011-03-222-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ruby_missing.h: parenthesize macro arguments.akr2011-03-222-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/buffering.rb: removed circular require ofnahi2011-03-226-17/+12
| | | | | | | | | | | | | | openssl.rb. * ext/openssl/lib/openssl/*: removed following comment for transition measures of avoiding circular require. No one claimed about this as far as I know. ## # Should we care what if somebody require this file directly? # require "openssl" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: set Gem::TestCase's @@project_dir.naruse2011-03-223-1/+11
| | | | | | | * lib/rubygems/test_case.rb: set Gem::TestCase's @@project_dir only when it is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_round): use pow instead of while-loop. fixes #4510naruse2011-03-222-5/+7
| | | | | | patched by Alex Young [ruby-core:35526] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-22svn2011-03-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strftime.c (date_strftime_wo_timespec):naruse2011-03-212-2/+7
| | | | | | surpress warning: shorten-64-to-32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: surpress warning: shorten-64-to-32.naruse2011-03-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: remove unused variable.naruse2011-03-213-44/+47
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_16le.c: surpress warning: shorten-64-to-32.naruse2011-03-215-25/+36
| | | | | | | | | | * ext/dbm/dbm.c: ditto. * ext/gdbm/gdbm.c: ditto. * parse.y (Init_ripper): surpress warning: unused value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: Refactoring. Unified if and elsif.sorah2011-03-212-8/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-21svn2011-03-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strftime.c: checks duplicated modifiers.tadf2011-03-202-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strftime.c: removed unused code and arguments.tadf2011-03-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strftime.c: removed unused code and arguments.tadf2011-03-202-45/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: replacement of implementation oftadf2011-03-206-210/+1509
| | | | | | | | | | strftime. It has some limitations that is same as Time's one. [experimental] * ext/date/date_strftime.c: new. * ext/date/lib/date/format.c: removed ruby version of strftime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509store.c: parenthesize macro arguments.akr2011-03-202-12/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-20svn2011-03-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): check env process block size with OS ver.arton2011-03-194-11/+22
| | | | | | | | | * win32/win32.c: export rb_w32_osver for above patch. * include/ruby/win32.h: declare rb_w32_osver for Win32 Libs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: refactoring prior patch (getenvsize win32 specfic function).arton2011-03-191-7/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): calculate total env block size for win32.arton2011-03-193-1/+32
| | | | | | | * test/ruby/test_env.rb: add test for above patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): checking with max process environment block size fow ↵arton2011-03-192-1/+12
| | | | | | Win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509revoked.c: parenthesize macro arguments.akr2011-03-192-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-19svn2011-03-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e