summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-06-30* ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,gotoyuzo
EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex, EVP_DigestFinal_ex and EVP_DigestInit_ex. * ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function. * ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex, EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for OpenSSL 0.9.6. * ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize, ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt, ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key, ossl_cipher_set_iv): replace all EVP_CipherInit and EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex. and EVP_CIPHER_CTX_init should only be called once. * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for EVP_CIPHER_CTX_set_padding. * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated. * ext/openssl/ossl_digest.c: replace all EVP_DigestInit and EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex. and EVP_MD_CTX_init should only be called once. * ext/openssl/ossl_digest.c (digest_final): should call EVP_MD_CTX_cleanup to avoid memory leak. * ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc. * ext/openssl/ossl_hmac.c (hmac_final): should call HMAC_CTX_cleanup to avoid memory leak. * test/openssl/test_cipher.rb, test/openssl/test_digest.rb, test/openssl/test_hmac.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30* test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatchocean
are added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30* parse.y (primary): should not be NULL. [ruby-core:03098]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-302004-06-30eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29* ext/syck/rubyext.c (syck_emitter_new): set buffer afterwhy
Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-292004-06-29eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29* eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.nobu
* gc.c (define_final, run_final): preserve and restore safe level for finalizers. [ruby-core:03058] * signal.c (signal_exec, rb_trap_exit, trap): preserve and restore safe level for signal handlers. [ruby-dev:23829] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29* io.c (rb_io_popen): update the document for the first argument andnobu
exceptions. * process.c (rb_f_exec, rb_f_system): update the document for exceptions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-28* ChangeLog: the patch posted by Jeff Mitchell.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-28* configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due tonobu
DOSISH compilers. [ruby-core:03107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-272004-06-28eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27using "DRb.thread.join" instead of "gets"seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-272004-06-27nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 * sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-262004-06-26nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26* variable.c (rb_mod_class_variables): class variables are no longernobu
inherited. [ruby-dev:23808] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26* configure.in (TRY_LINK): commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26* configure.in (TRY_LINK): export.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26* lib/mkmf.rb (libpathflag): should not quote here.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26* lib/mkmf.rb (libpathflag, find_header, dir_config): quote directorynobu
names if necessary. [ruby-talk:104505] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26* configure.in (aix): -b must come at the start of the command line,nobu
and -e must not appear while testing libraries. [ruby-talk:104501] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25add an assertion.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25* io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may returnnobu
positive value on failure. [ruby-dev:23792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25bring back _stklen for DJGPP [ruby-core:3084]michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25* ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25* MANIFEST: add lib/net/.document.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24* ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()matz
should give us packed address, not struct sockaddr. [ruby-core:03053] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-242004-06-25usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines whenusa
including version.h. [ruby-talk:104456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24* win32/setup.mak: remove RUBY_EXTERN lines when including version.h.usa
[ruby-talk:104456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24* io.c (rb_io_fread): return already read data when system call isnobu
interrupted. [ruby-talk:97206] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-242004-06-24eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23* version.h: added declarations of ruby_version,shugo
ruby_release_date, ruby_platform. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23Work around OSX strangneness with recvfrom on connection-oriented socketsdave
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23io_seek()'s retval should be checked [ruby-core:03045]michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23Fix indentation in time.cmichal
Move stack-len info from main.c to gc.c git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23* ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bitmatz
platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23* lib/net/imap.rb: added new option --ssl.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22Fixed parsing of %r{} when generating source popupdave
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-222004-06-23eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22* ext/win32ole/win32ole.c (ole_hresult2msg): remove trailingocean
CR and LF. (doesn't depend on CR+LF) [ruby-dev:23694] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22* io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22* eval.c (return_jump, break_jump): raise unexpceted local jumpnobu
exception directly. [ruby-dev:23740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22* sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.usa
* test/ruby/test_sprintf.rb (test_nan, test_inf): add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-suke
dLibraries(). * ext/win32ole/win32ole.c (ole_event_free): ditto. * ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message before CR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22* sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf withusa
"%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22Remove explicit NIL_P() checks since rb_cmpint() does it again in the ↵michal
exactly same manner. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-222004-06-22eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should creategotoyuzo
empty pkey object if no argument is passed. [ruby-talk:103328] * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto. * ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p, OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=, OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=, OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=. * ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p, OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=, OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=, OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=, OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-212004-06-21usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e