aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}:naruse2010-02-283-6/+7
| | | | | | | | remove false positive tests because of OpenSSL spec change. patched by Motohiro KOSAKI [ruby-core:28063] see also [ruby-dev:40077] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): generalized integer packer implemented.akr2010-02-282-52/+67
| | | | | | | (pack_unpack): generalized integer unpacker implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2010-02-281-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later.akr2010-02-272-1/+17
| | | | | | | (swap64): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-28svn2010-02-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c: use integer types with explicit size.akr2010-02-272-106/+81
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c: check assuption on QUAD_SIZE and SIZEOF_LONG.akr2010-02-273-0/+16
| | | | | | | * bignum.c: check assuption on SIZEOF_LONG and SIZEOF_BDIGITS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-27svn2010-02-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c: fix q and Q for big endian environments which have noakr2010-02-264-23/+140
| | | | | | | | | | | | | | | | 8 bytes integer type. (pack_pack): use rb_big_pack. (pack_unpack): use rb_big_unpack. * include/ruby/intern.h (rb_big_pack): declared. (rb_big_unpack): ditto. * bignum.c (rb_big_pack): new function. (rb_big_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: fix rb_quad_pack and rb_quad_unpack for environmentsakr2010-02-262-12/+29
| | | | | | | | | | | | | which don't have 8bytes integer type. This still depends on little endian. (rb_quad_pack): use quad_buf_complement. don't raise for large values. (rb_quad_unpack): use quad_buf_complement. (quad_buf_complement): new function extracted frm rb_quad_pack. add one after bitwise negation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RSHIFT): add parenthesis to supress warning.akr2010-02-262-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c, ext/socket/udpsocket.c: avoid illegal castmame2010-02-263-2/+17
| | | | | | | from void-returning function to VALUE-returning one. It causes SEGV on RubySpec with mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (QUAD_SIZE): it should be always 8.akr2010-02-263-8/+11
| | | | | | | | * bignum.c (rb_quad_pack): use LONG_LONG version only if SIZEOF_LONG_LONG == QUAD_SIZE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (swap64): fix for VC6.nobu2010-02-262-16/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack, pack_unpack): suppressed warnings.nobu2010-02-262-11/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl: revert dl with libffi because it can't run on mswin now.naruse2010-02-2519-662/+394
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-26svn2010-02-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2010-02-251-163/+124
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c: consider DYNAMIC_ENDIAN. refactored.akr2010-02-254-438/+479
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_expt): use Float#** when Rational ** Float.naruse2010-02-253-11/+9
| | | | | | | | | This fixes Rational(3,1)**3.0=>26.99999999999999 on FreeBSD. * complex.c (rb_fexpt): removed. Note that this function is not static but is private. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def: Change the operand type of setinlinecacheko12010-02-246-90/+94
| | | | | | | | | | | | | | | | | | (OFFSET to IC). This IC must be same as corresponding getinlinecache instruction's IC operand. This change is for a little performance improvement (getting IC directly) and is for the AOT compilation development. * compile.c, iseq.c, insns.def: Change the approach to handling inline cahce (IC) type operand to enable the above change. This change also affects ISeq#to_a method. The inline cache operand will be dumped by fixnum, the index of inline cache, in other words, inline cache identity. * template/insns_info.inc.tmpl, tool/instruction.rb: No need to count inline cache size (insn_iclen()). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove a empty line.akr2010-02-241-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix assertion message.akr2010-02-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove a empty line.akr2010-02-241-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (swap64): don't redefine.akr2010-02-242-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-02-25svn2010-02-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): don't use OFF32 for gcc 4.5.akr2010-02-243-127/+254
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_children): lost comment added.matz2010-02-242-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): should prepare placeholder beforematz2010-02-242-5/+12
| | | | | | | | processing instance variables. [ruby-dev:40414] * marshal.c (id2encidx): no longer need arg. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg.akr2010-02-242-1/+11
| | | | | | | | (Resolv::DNS::Requester#request): raise ResolvTimeout consistently for timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove obsolete files in lib/rubygems/indexerdrbrain2010-02-246-244/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (translit_separator): moved back from load.c again.nobu2010-02-244-12/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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