aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/optparse/ac.rb: autoconf-like options.nobu2012-04-023-0/+117
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_start_with, rb_str_end_with): raise an error ifnobu2012-04-023-8/+28
| | | | | | | an argument is not convertible to a String. [ruby-core:40623][Bug #5536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix of 35206; 0.3 is too small for Ruby's timeout.naruse2012-04-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ReRefix the test for r35205.naruse2012-04-011-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix the test for r35205.naruse2012-04-011-5/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the test for r35205.naruse2012-04-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-04-02svn2012-04-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::GenericServer): close socket only ifnaruse2012-04-012-1/+6
| | | | | | the socket is not closed yet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Client waits only the first line.naruse2012-04-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (Net::BufferedSocket): should delegate send() to @ionaruse2012-04-013-1/+74
| | | | | | for Net::FTP#abort and Net::FTP#status.. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/alloca.c: suppress warnings.nobu2012-04-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-04-01svn2012-03-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: fixed the domain name in examples.shugo2012-03-312-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): dup to preventnaruse2012-03-312-1/+6
| | | | | | @timeout_info's "can't add a new key into hash during iteration". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use super in h.defaultnobu2012-03-311-1/+1
| | | | | | | * test/ruby/test_hash.rb (TestHash#test_shift_none): super in singleton default method doesn't cause SystemStackError now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (hash_default_value): extract from rb_hash_aref(), to benobu2012-03-313-13/+30
| | | | | | | shared with rb_hash_shift(), so that overriding Hash#default will be respected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gitignore: ignore generated file verconf.h.ktsj2012-03-311-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: do not allocate st_table when it is not necessary.nobu2012-03-312-18/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (read_timeout=, open_timeout=): supported timeout.shugo2012-03-313-8/+505
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: remove unnecessary checks for Qundef in hash iterations.nobu2012-03-313-36/+16
| | | | | | | since hash use st_foreach_check for iterations, such checks are needless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509cert.c: Fix doc typo.emboss2012-03-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_foreach_check, st_foreach): remove ancient check. Thisnobu2012-03-312-3/+5
| | | | | | | check are from initial ordered hash commit when first entry were created with entry->fore = entry->back = entry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_delete): use real_entries in st_delete for packed tablesnobu2012-03-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* misplaced rescuenobu2012-03-311-2/+3
| | | | | | | * test/ruby/test_thread.rb (test_condvar_wait_deadlock_2): fix cleanup code which is never executed because of misplaced rescue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_foreach_check): remove the entry by replacing with nevernobu2012-03-303-10/+18
| | | | | | | when ST_DELETE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (st_foreach_safe): since table is not for VALUE, Qundef isnobu2012-03-302-2/+6
| | | | | | | | not special value, so use 0 instead. therefore this function can be applied to only st_table which 0 is invalid as keys, e.g., IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: Qundef cannot be passed from st_foreach_check().nobu2012-03-302-9/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c, marshal.c, object.c, variable.c: fix callback argument typesnobu2012-03-305-13/+46
| | | | | | | of iterators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-03-31svn2012-03-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* descriptive assertionsnobu2012-03-301-34/+34
| | | | | | * test/ruby/test_hash.rb: use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* join LocalBarriernobu2012-03-301-1/+2
| | | | | | * test/ruby/lbtest.rb: needs to join the local barrier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore generated file verconf.hdrbrain2012-03-290-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-03-30svn2012-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/lbtest.rb: print at once including newlines.nobu2012-03-291-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_update): pass pointer to key to the callback function.nobu2012-03-297-11/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/task.rb: suppress overriding deprecated class warning.nobu2012-03-291-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (st_update): add existing parameter to the callback function.nobu2012-03-297-21/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (terminal_width, del_status_line, put_status):nobu2012-03-293-16/+43
| | | | | | | extract as methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkcs7.c: fix crash when parsing garbage data.emboss2012-03-293-4/+19
| | | | | | | | | | * test/openssl/test_pkcs7.rb: assert correct behavior for it. Thanks to Matt Venables for reporting the issue. [ruby-core:43250][Bug #6134] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (TIME_QUANTUM_USEC): 10ms(= old setting) [experimental]usa2012-03-292-1/+6
| | | | | | | cf. [Bug #6098] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_execute_interrupts_common): use definedusa2012-03-292-1/+9
| | | | | | | | | | TIME_QUANTUM_USEC instead of a magic number. there is no meanings to use different values for checking interval of interruption and thread switching limits. cf. [Bug #6098] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_x509cert.rb: Exclude test that fails when issuingemboss2012-03-292-1/+10
| | | | | | | | | | | a certificate with RSA signature and DSS1 digest for earlier OpenSSL versions when used in conjunction with OpenSSL 1.0.1. Thanks, Vit Ondruch, for reporting the issue. [ruby-core:42949][Bug #6089] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add note about unified behavior of encoding nil values inemboss2012-03-282-0/+12
| | | | | | | | instances of OpenSSL::ASN1::ASN1Data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-03-29svn2012-03-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nilemboss2012-03-283-3/+32
| | | | | | | | | | | | | | | | values for Primitive instances. * test/openssl/test_asn1.rb: Assert consistent behavior when encoding nil values: Primitives raise TypeError, Constructives raise NoMethodError. Fixes [ruby-core:43009][Bug #6102] -This line, and those below, will be ignored-- M test/openssl/test_asn1.rb M ext/openssl/ossl_asn1.c M ChangeLog git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (obj2uid, obj2gid): allow strings as input user/group id.nobu2012-03-284-86/+224
| | | | | | | [ruby-core:40923][Feature #5610] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_symreal): default to ASCII-8BIT for non-ascii symbols,nobu2012-03-283-2/+16
| | | | | | | | otherwise it should be converted to US-ASCII in rb_intern_str() if possible. [ruby-core:43762][Bug #6209] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_symreal): no longer need volatile modifier, as usingnobu2012-03-281-1/+1
| | | | | | | rb_intern_str() not rb_intern(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: no cuddle up else's.nobu2012-03-281-45/+90
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-03-28svn2012-03-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e