aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * compile.c (setup_args), vm.c (invoke_block_from_c),nobu2010-12-181-0/+1
| | | | | | | vm_insnhelper.c (caller_setup_args): fix of r30241. lambda block shoud check argument number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.nobu2010-12-172-0/+42
| | | | | | | * test/mkmf/test_find_executable.rb (test_find_executable): suppress meaningless diffrences for chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_require): -rnobu2010-12-171-0/+2
| | | | | | with no name is ignored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_advise): New API. IO#advise() allows to tell thekosaki2010-12-161-0/+34
| | | | | | | | | | | | | | ruby runtime how it expects to use a file handle. This feature can be improved a performance some situations. Note: This feature is mainly developed by Run Paint Run Run. Thank you! [ruby-core:33110] [Ruby 1.9-Feature#4038] * io.c (do_io_advise): Helper function. * io.c (io_advise_sym_to_const): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* drying up the requires in the openssl teststenderlove2010-12-1517-94/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.usa2010-12-151-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_parser_events.rb (TestRipper#test_block_variables):kosaki2010-12-141-1/+1
| | | | | | | | | | Limit address space 100MB instead 100KB. Quite frankly, This margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_reopen, test_reinitialize): should closeusa2010-12-141-12/+24
| | | | | | | the temporay files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_binmode_after_closed): the temporary fileusa2010-12-141-2/+1
| | | | | | | maked by make_temfile is already closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_flush_in_finalizer[12]): should closeusa2010-12-141-2/+6
| | | | | | | | temporary file because it's only used for taking pathname and unlinking the file after the end of the test (in GC phase). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPRequest#send_request_body_data):naruse2010-12-141-0/+1
| | | | | | set binmode to tempfile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (*): should close files associated with zlib.usa2010-12-141-129/+151
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb (test_inplace_rename_impossible): unlinkusa2010-12-141-4/+14
| | | | | | | | | | | | the renamed temporary file on no_safe_rename platforms. * test/ruby/test_argf.rb (test_readlines_limit_0, test_each_line_limit_0): should close argf because the associated Tempfile object cannot unlink the temporary file when it's gc'ed on some platforms (Windows, etc.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding a test for OpenSSL::PKCS12.createtenderlove2010-12-131-0/+149
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPRequest#set_form): Added to supportnaruse2010-12-131-0/+96
| | | | | | | | both application/x-www-form-urlencoded and multipart/form-data. There is a similar API, Net::HTTPRequest#set_form_data, but to keep its compatibility this is newly added. [ruby-dev:42729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): fix: extra back slash is added whennaruse2010-12-111-0/+5
| | | | | | the string is dummy encoding and includes \x22 or \x5C. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: indefinite length BER to DER encoding istenderlove2010-12-111-0/+227
| | | | | | properly supported. Thanks Martin Bosslet! [ruby-core:33082] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refactor load error rescue to the openssl util filetenderlove2010-12-115-23/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Include Comparable in OpenSSL::X509::Name, document #<=>drbrain2010-12-101-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf#config_value): extract macro value fromnobu2010-12-102-0/+35
| | | | | | | | config.h. * test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin), (TestMkmf::TestSizeof#test_sizeof_struct): more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_signedness): should use the prelude code.nobu2010-12-102-0/+34
| | | | | | [ruby-dev:42731] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.nobu2010-12-103-4/+10
| | | | | | | * test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures. * test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: remove version 1.1 features.naruse2010-12-101-53/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509store.c (ossl_x509stctx_cleanup): removing Ctenderlove2010-12-091-0/+8
| | | | | | | | | | implementation of `cleanup`. * ext/openssl/lib/openssl/x509.rb: adding ruby implementation of `cleanup`. OpenSSL::X509::StoreContext#cleanup is deprecated since reusing the underlying struct doesn't make sense. [ruby-dev:42546] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/irb/test_option.rb (test_end_of_option): don't read .irbrc. Bug#4138nobu2010-12-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (shadowing_lvar_gen): fix line number. [ruby-dev:42718]nobu2010-12-081-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reverted to r30124; r30124 breaks testshyouhei2010-12-081-15/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (struct vtable, struct local_vars, vtable_add):nobu2010-12-071-0/+15
| | | | | | | | | restructued to add declared line. [ruby-dev:42718] * parse.y (shadowing_lvar_gen): should not add dvar to vars. * parse.y (local_push_gen, local_id_gen, dvar_defined_gen): check local variable usage for args and vars respectedly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set DH Parameter for SSLContext to clean warnings.naruse2010-12-072-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo: not response.attr.data, but response.data.attr.naruse2010-12-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_loop): call default handler of the givennobu2010-12-071-0/+17
| | | | | | | hash, method, proc or [] method as fallback. [ruby-dev:42692] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_light.rb: really suppress a warning.kou2010-12-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_light.rb: suppress a warning.kou2010-12-071-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.kou2010-12-071-0/+40
| | | | | | | | [ruby-core:33305] Reported by Aaron Patterson. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc.naruse2010-12-071-0/+7
| | | | | | patched by Kouhei Yanagita [ruby-dev:42696] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_doctype.rb: add Accessor to test case name.kou2010-12-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_doctype.rb: Doctype -> DocType.kou2010-12-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_doctype_mixin.rb: rename to ...kou2010-12-071-0/+0
| | | | | | | * test/rexml/test_doctype.rb: ... this to remove needless name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (xlist): supported the XLIST command, which is anshugo2010-12-071-0/+9
| | | | | | | extension by Apple and Google. patch by Geoff Youngs. [ruby-core:33521] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf#setup): run quietly.nobu2010-12-061-7/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_find_executable.rb (test_find_executable): usenobu2010-12-061-13/+3
| | | | | | configured results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (test-build): test for build process.nobu2010-12-061-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_string.rb (TestString#test_scan): add a test forkazu2010-12-061-0/+8
| | | | | | [ruby-core:33338] #4087. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/uri/test_common.rb (TestCommon#test_encode_www_form): addkazu2010-12-061-0/+5
| | | | | | tests for r30015. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI::Parser#initialize_pattern):naruse2010-12-061-1/+1
| | | | | | refix for restrict the pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]nobu2010-12-051-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): decrement for ungotten line.nobu2010-12-051-0/+6
| | | | | | [ruby-dev:42680] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): revert r30064 and r30071,nobu2010-12-031-21/+0
| | | | | | because of [ruby-core:26761]. Bug#4106 rejected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): protected methods should benobu2010-12-031-0/+2
| | | | | | checked against the real class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): define printf format prefix too.nobu2010-12-031-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e