aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/lib/tcltklib : bug fixnagai2004-07-01199-572/+14116
| | | | | | | * ext/tk/lib/tk : bug fix and add Tcl/Tk extension support libraries git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (PStore#transaction): get rid of opening in write modenobu2004-07-012-8/+10
| | | | | | | when read only transaction. [ruby-dev:23842] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): last modify isgotoyuzo2004-07-012-4/+1
| | | | | | | rollbacked for future compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-07-01eban2004-07-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt):gotoyuzo2004-06-302-75/+88
| | | | | | | | | | | | | | | | re-implemnt (the arguments for this method is ). * ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey(). * ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method OpenSSL::Cipher::Cipher#key_len=. * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): the type of argument is changed from integer to boolean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,gotoyuzo2004-06-3011-65/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatchocean2004-06-302-0/+83
| | | | | | | are added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): should not be NULL. [ruby-core:03098]nobu2004-06-302-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-30eban2004-06-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_new): set buffer afterwhy2004-06-292-5/+9
| | | | | | | 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-29eban2004-06-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.nobu2004-06-295-29/+59
| | | | | | | | | | | * 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
* * io.c (rb_io_popen): update the document for the first argument andnobu2004-06-292-368/+378
| | | | | | | | | | 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
* * ChangeLog: the patch posted by Jeff Mitchell.nobu2004-06-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due tonobu2004-06-283-2/+7
| | | | | | | DOSISH compilers. [ruby-core:03107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-28eban2004-06-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* using "DRb.thread.join" instead of "gets"seki2004-06-2712-20/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-27nobu2004-06-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.kou2004-06-272-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-26nobu2004-06-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_class_variables): class variables are no longernobu2004-06-262-9/+9
| | | | | | | inherited. [ruby-dev:23808] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TRY_LINK): commit miss.nobu2004-06-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TRY_LINK): export.nobu2004-06-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): should not quote here.nobu2004-06-262-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag, find_header, dir_config): quote directorynobu2004-06-262-6/+8
| | | | | | | names if necessary. [ruby-talk:104505] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): -b must come at the start of the command line,nobu2004-06-262-2/+10
| | | | | | | 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
* add an assertion.akr2004-06-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may returnnobu2004-06-252-3/+8
| | | | | | | positive value on failure. [ruby-dev:23792] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bring back _stklen for DJGPP [ruby-core:3084]michal2004-06-252-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]nobu2004-06-252-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/net/.document.eban2004-06-251-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()matz2004-06-245-8/+40
| | | | | | | | 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-25usa2004-06-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines whenusa2004-06-243-4/+4
| | | | | | | including version.h. [ruby-talk:104456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak: remove RUBY_EXTERN lines when including version.h.usa2004-06-242-1/+6
| | | | | | | [ruby-talk:104456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fread): return already read data when system call isnobu2004-06-242-4/+8
| | | | | | | interrupted. [ruby-talk:97206] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-24eban2004-06-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: added declarations of ruby_version,shugo2004-06-232-0/+9
| | | | | | | ruby_release_date, ruby_platform. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Work around OSX strangneness with recvfrom on connection-oriented socketsdave2004-06-232-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io_seek()'s retval should be checked [ruby-core:03045]michal2004-06-232-4/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix indentation in time.cmichal2004-06-234-283/+278
| | | | | | | 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
* * ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bitmatz2004-06-231-1/+1
| | | | | | | platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: added new option --ssl.shugo2004-06-232-4/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed parsing of %r{} when generating source popupdave2004-06-222-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-23eban2004-06-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailingocean2004-06-222-3/+11
| | | | | | | 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
* * io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]nobu2004-06-222-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (return_jump, break_jump): raise unexpceted local jumpnobu2004-06-222-2/+7
| | | | | | | exception directly. [ruby-dev:23740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.usa2004-06-223-3/+95
| | | | | | | * 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
* * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-suke2004-06-222-9/+18
| | | | | | | | | | | | 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