summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-02* regcomp.c (noname_disable_map): add NT_ANCHOR case.naruse
Without this change, captured groups in anchors (look-ahead, look-behind, and so on) are not removed and unintended invalid backref error occur. [ruby-core:28235] * regcomp.c (renumber_by_map): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-02* test/dl/test_closure.rb: forget to revert at r26764.muraken
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-02* file.c (rb_find_file_ext_safe, rb_find_file_safe): skip argumentnobu
checks in file_expand_path(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-02* test/ruby/test_math.rb: Fix lgamma testmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-01* 2010-03-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-01* include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2.matz
* re.c (make_regexp): use onig_new() instead of onig_alloc_init(). * re.c (rb_reg_to_s): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-01* ext/pty/pty.c (pty_open): refine the path for master IO.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-01* ext/zlib/zlib.c (zstream_expand_buffer_into): remove compare different ↵takano32
type values warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-01* 2010-03-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-01* configure.in (mingw): do not detect snprintf/vsnprintf.wanabe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* ext/pty/pty.c (get_device_once): raise on error when fail isnobu
non-zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* math.c (rb_eMathDomainError): new exception class for representing ↵muraken
mathematical domain error instead of Errno::EDOM. * math.c (domain_check, infinity_check): removed, no longer needed. * math.c (math_atan2, math_acos, math_asin, math_acosh, math_atanh, math_log, math_log2, math_log10, math_sqrt, math_gamma, math_lgamma): mathematical domain errors are checked and raised before calling libm's functions. * test/ruby/test_math.rb: updated for changes of maht.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* pack.c (pack_pack): use union to avoid pointer cast.akr
(pack_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0.naruse
patched by Jeroen van Meeuwen at [ruby-core:25210] fixed by Nobuyoshi Nakada [ruby-core:25238], Hongli Lai [ruby-core:27417], and Motohiro KOSAKI [ruby-core:28063] * ext/openssl/ossl_ssl.c (ossl_ssl_method_tab), (ossl_ssl_cipher_to_ary): constified. * ext/openssl/ossl_pkcs7.c (pkcs7_get_certs, pkcs7_get_crls): split pkcs7_get_certs_or_crls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb,naruse
test_x509req.rb}: fix false positive tests because of OpenSSL spec change. patched by originally Hongli Lai [ruby-core:27417], and fixed by Motohiro KOSAKI [ruby-core:28063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}:naruse
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
2010-02-28* pack.c (pack_pack): generalized integer packer implemented.akr
(pack_unpack): generalized integer unpacker implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28update rdoc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-27* pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later.akr
(swap64): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-27* 2010-02-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-27* pack.c: use integer types with explicit size.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-27* pack.c: check assuption on QUAD_SIZE and SIZEOF_LONG.akr
* 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-26* 2010-02-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-26* pack.c: fix q and Q for big endian environments which have noakr
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
2010-02-26* bignum.c: fix rb_quad_pack and rb_quad_unpack for environmentsakr
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
2010-02-26* configure.in (RSHIFT): add parenthesis to supress warning.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-26* ext/socket/raddrinfo.c, ext/socket/udpsocket.c: avoid illegal castmame
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
2010-02-26* pack.c (QUAD_SIZE): it should be always 8.akr
* 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
2010-02-26* pack.c (swap64): fix for VC6.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-26* pack.c (pack_pack, pack_unpack): suppressed warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-25* ext/dl: revert dl with libffi because it can't run on mswin now.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-25* 2010-02-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-25rdoc update.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-25* pack.c: consider DYNAMIC_ENDIAN. refactored.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-25* rational.c (nurat_expt): use Float#** when Rational ** Float.naruse
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
2010-02-24* insns.def: Change the operand type of setinlinecacheko1
(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
2010-02-24remove a empty line.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24fix assertion message.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24remove a empty line.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* pack.c (swap64): don't redefine.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* 2010-02-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* pack.c (pack_unpack): don't use OFF32 for gcc 4.5.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* gc.c (gc_mark_children): lost comment added.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* marshal.c (r_object0): should prepare placeholder beforematz
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
2010-02-24* lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg.akr
(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
2010-02-24Remove obsolete files in lib/rubygems/indexerdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* dln.c (translit_separator): moved back from load.c again.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* dln_find.c: split from dln.c.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-24* ext/digest/extconf.rb: use OpenSSL only when all transformnobu
functions are available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-23Add some more tests, revisited.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e