aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * dln_find.c: split from dln.c.nobu2010-02-245-239/+317
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/extconf.rb: use OpenSSL only when all transformnobu2010-02-243-2/+8
| | | | | | | functions are available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add some more tests, revisited.knu2010-02-231-10/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Back out the series of changes pending a due discussion.knu2010-02-235-79/+56
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add some more tests.knu2010-02-231-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/digest.rb (OpenSSL::Digest::hexdigest):knu2010-02-232-1/+6
| | | | | | | | | | No need to define hexdigest() here because the super method is properly defined to use digest() passing through arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_hmac.c (Init_ossl_hmac): Make OpenSSL::HMAC aknu2010-02-232-47/+36
| | | | | | | | | subclass of Digest::Class so it can take advantage of all those utility methods such as base64digest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_digest.c (GetDigestPtr): Allow to pass theknu2010-02-232-6/+23
| | | | | | | | | | | | | | OpenSSL::Digest class in place of where either an instance of the class or the algorithm name was demanded. For example, OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1, key, data) is now accepted as well as the usual OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1.new, key, data) and OpenSSL::HMAC.digest("SHA1", key, data). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-24svn2010-02-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_new_empty): String#split, partition, rpartitionmame2010-02-232-5/+18
| | | | | | taints the resulting strings if self is tainted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2010-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* call unix_server.close only if unix_server is not nil.akr2010-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-23svn2010-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2010-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha2/sha2init.c: test OpenSSL more strictly.akr2010-02-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* don't use infinite loop.akr2010-02-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: update to 1.3.6.nobu2010-02-22119-2569/+2691
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rubygems/ChangeLog: deleted garbage lines.nobu2010-02-221-4/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha2: Use OpenSSL's SHA1 engine if available.nobu2010-02-228-96/+85
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-22svn2010-02-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add timeout for test_should_propagate_signaled.akr2010-02-211-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile, install_files): honor srcprefixnobu2010-02-212-2/+7
| | | | | | | argument if given. [ruby-dev:40449] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/rubygems_version.rb: outdated. [ruby-core:28275]nobu2010-02-212-19/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and ↵azav2010-02-201-0/+5
| | | | | | | | | RUBY_LIB_VERSION_STYLE defined. * symbian/setup (ruby.mmp): SOURCE node.c added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and ↵azav2010-02-201-0/+4
| | | | | | | | | RUBY_LIB_VERSION_STYLE defined. * symbian/setup (ruby.mmp): SOURCE node.c added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-21svn2010-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_backtrace_each): use called_id when method definitionmatz2010-02-202-1/+12
| | | | | | structure is already freed. [ruby-dev:40234] [ruby-core:27959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-20svn2010-02-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* indented.akr2010-02-201-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2010-02-191-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (config.status): ommit cached results.nobu2010-02-191-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use only object_id to test living threads.naruse2010-02-191-2/+2
| | | | | | | | | | | Previous test depends on timing like: <"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 run>, #<Thread:0x00000801364940 run>]"> expected but was <"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 sleep>, #<Thread:0x00000801364940 run>]">. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-19svn2010-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (DRbServer#stop_service): join killed thread tomame2010-02-182-1/+6
| | | | | | ensure service stops. [ruby-dev:40441] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atanh): raise ERANGE without calling atanh if absolutemame2010-02-182-0/+15
| | | | | | | | | value is 1 to achieve platform-independent math. [ruby-core:28219] * math.c (math_lgamma): return [Infinity, 1] without calling lgamma_r if argument is infinity or -infinity. [ruby-core:28219] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * confiure.in: new --with-ext and --with-out-ext options for extmk.muraken2010-02-183-1/+15
| | | | | | * tool/mkconfig.rb: normalizing --with-out-ext to --without-ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.akr2010-02-183-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fread, io_getpartial, io_read, io_sysread): by using lock,mame2010-02-173-17/+21
| | | | | | | | | prohibit modification of buffer string during read (which had caused EFAULT or SEGV). [ruby-dev:40437] * test/ruby/test_io.rb: rewrite tests for the old behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-18svn2010-02-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-02-171-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (setup_tree, onig_compile): optimize .* at last bymame2010-02-173-2/+32
| | | | | | | | converting into (?>.*), which does not backtrack. [ruby-core:27791] * test/ruby/test_regexp.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_normal_exit): add :timeout option.akr2010-02-173-7/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_cfunc): removed unused variable.nobu2010-02-174-2/+13
| | | | | | | * vm.c (vm_frametype_name): define only when VMDEBUG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/dl_conversions.c (rb_dl_type_to_ffi_type): support signednobu2010-02-172-25/+30
| | | | | | | long long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_inspect): get rid of overflow.nobu2010-02-175-5/+15
| | | | | | | | | | | * ext/dl/closure.c (dlc_callback, rb_dlclosure_init): ditto. * ext/dl/cptr.c (rb_dlptr_s_malloc): ditto. * ext/dl/method.c (rb_dlfunction_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: ext/dl/callback no longer exists.nobu2010-02-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/depend: updated.nobu2010-02-171-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_method.rb: sinf(3) is in libm.naruse2010-02-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use assert_finish because the test hangs on FreeBSD.akr2010-02-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-17svn2010-02-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e