summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/stringio/stringio.c (strio_seek): consistent behavior withnobu2007-04-162-1/+9
| | | | | | | IO#seek. patch by sheepman in [ruby-dev:30710]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_each_with_index): each_with_index to forwardmatz2007-04-162-4/+9
| | | | | | arguments to each. [ruby-core:10921] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_arg): should allow to specify 24:00.matz2007-04-163-4/+10
| | | | | | [ruby-core:10915] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: added some zone names.tadf2007-04-152-26/+44
| | | | | | | | * lib/date/format.rb (_parse): now interprets doted numerical dates as a big endian (except dd.mm.yyyy). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (mutex_try_lock): check and set owner thread.ko12007-04-123-4/+17
| | | | | | | | * thread_pthread.ci: fix to show error code in error message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_rescue2): restore cfp ([ruby-dev:30582]).ko12007-04-122-27/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_protect): restore cfp ([ruby-dev:30671]).ko12007-04-122-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): check node->nd_state == 1, not !0.ko12007-04-123-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): nousa2007-04-115-63/+14
| | | | | | | | | | | | need to reject reentrance. removed. * rubysig.h (RUBY_CRITICAL): follow above changes. * rubysig.h (TRAP_BEG, TRAP_END): no need to save errno. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_fclose, rb_w32_close): need to save errnousa2007-04-102-0/+9
| | | | | | | | before calling original fclose()/close(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.ci (w32_wait_events): check whether interrupt_event isusa2007-04-102-5/+14
| | | | | | | | | | | valid handle or not. * thread_win32.ci (native_thread_destroy): clear interrupt_event when close it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_thread_create): initialize sleep_cond.usa2007-04-103-4/+12
| | | | | | | | fixed: [ruby-dev:30675] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): ubf_select() is not necessary. interrupt isusa2007-04-092-1/+6
| | | | | | | | checked in the loop. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): sorry, typo.usa2007-04-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): use ubf_select() as UBF on windows.usa2007-04-094-11/+11
| | | | | | | | | * win32/win32.c (do_select): shouldn't call catch_interrupt() here. fixed: [ruby-dev:30674], reported by wanabe. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (disconnect): call shutdown forshugo2007-04-092-1/+10
| | | | | | | SSLSocket. Thanks, Technorama Ltd. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): test arguments of NODE_CALL and sonobu2007-04-083-7/+15
| | | | | | | on as well as NODE_ATTRASGN. [ruby-core:10886] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid ofusa2007-04-062-4/+6
| | | | | | | | warning. we are aware of it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-04-06usa2007-04-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:technorama2007-04-056-8/+216
| | | | | | | | Add documentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.h (ADD_CATCH_ENTRY): removed temporary variable.nobu2007-04-051-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): support for assignment.nobu2007-04-053-86/+150
| | | | | | | [ruby-core:10867] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{pkey_ec,ssl_session,pkcs5}.c: set eol-style.nobu2007-04-050-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): shouldusa2007-04-052-1/+6
| | | | | | | | return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkcs5.c: New module.technorama2007-04-0514-57/+246
| | | | | | | | | | | | | | * ext/openssl/ossl_{cipher,digest,pkcs7,pkcs12}.c: Remove redundant module namespace. * ext/openssl/lib/openssl/{cipher,digest}.rb Add backwards compatibile classes for rearranged classes. * ext/openssl/ossl_{pkcs7,pkcs12}.c: Add documentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_notimplement), io.c (pipe_open): removed definitenobu2007-04-044-20/+25
| | | | | | | articles and UNIX manual section from messages. [ruby-dev:30690] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): refined the message of NotImplementedError.nobu2007-04-042-11/+24
| | | | | | | [ruby-dev:30685] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_notimplement): should show the name of this func,usa2007-04-042-1/+6
| | | | | | | | not callee. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): raise NotImplementedError for command "-" onnobu2007-04-043-11/+16
| | | | | | | platforms where fork(2) is not available. [ruby-dev:30681] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (popen_exec): should not close close-on-exec FDs.nobu2007-04-042-0/+8
| | | | | | | [ruby-dev:30679] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: Add documentation.technorama2007-04-032-5/+111
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed timestamps from commit log.nobu2007-04-031-3/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: check for functions added in 1.9.nobu2007-04-033-11/+20
| | | | | | | | * ext/openssl/ruby_missing.h: check per features instead by checking version code. [ruby-core:10845] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c: More documentation.technorama2007-04-037-4/+1477
| | | | | | | | * ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (s_recv, s_recvfrom): some systems (such asusa2007-04-032-2/+8
| | | | | | | | | windows) doesn't set fromlen if the socket is connection-oriented. reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ruby_missing.h: need to include version.h to checkusa2007-04-032-2/+9
| | | | | | | | RUBY_VERSION_CODE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-04-03usa2007-04-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{ssl.[ch],ssl_session.c}},technorama2007-04-025-7/+723
| | | | | | | | | | ext/openssl/lib/openssl/lib/openssl/ssl.rb: New SSL::Session class. Add session cb's, getter/setters, config, and statistics methods. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.technorama2007-04-0210-21/+138
| | | | | | | | | | | | * ext/openssl/ossl_hmac.c Add reset method. * ext/openssl/ossl_cipher.c (Cipher#update) Take additional buffer argument. * ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h} compatibility with 1.8. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (throw), thread.c, yarvcore.h (throwed_errinfo): fixednobu2007-04-025-12/+17
| | | | | | | typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_cmdvector): fixed buffer size. reported byusa2007-03-302-10/+13
| | | | | | | | | | | wanabe [ruby-dev:30672] * win32/win32.c (init_env, insert, rb_w32_get_environ): use strdup instead of malloc + strlcpy. suggested by nobu [ruby-dev:30673] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add an entry for the last commit.knu2007-03-301-1/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-03-30eban2007-03-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c: Add ↵technorama2007-03-299-19/+570
| | | | | | | | | | | | | | Documentation for various methods. * ext/openssl/lib/openssl/cipher.rb: Ditto * ext/openssl/ossl_bn.c: add lshift! and rshift! methods. * ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,usa2007-03-233-51/+58
| | | | | | | | | | | | | rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64, rb_w32_get_environ): use strlcpy() and strlcat(). * win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc(). * win32/win32.c (rb_w32_closedir): check NULL before free pointers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell: commit miss(support for ruby 1.9(YARV) thread model).keiju2007-03-224-53/+49
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LIBS): remove an unnecessary library.usa2007-03-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-03-22usa2007-03-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s.usa2007-03-222-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_short, w_long, w_object): get rid of VC++ warnings.usa2007-03-212-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e