summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2005-05-25* ext/readline/readline.c: supported libedit. (backported from HEAD)shugo
* ext/readline/extconf.rb: ditto. * test/readline/test_readline.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 * test/soap/calc: method name 'set' was able to crash with a class Set.nahi
[ruby-dev:26210] * test/wsdl/document/test_rpc.rb: dateTime comparison failed under TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22failed to add some test directories in the previous commit.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.nahi
== SOAP client and server == === for both client side and server side === * improved document/literal service support. style(rpc,document)/use(encoding, literal) combination are all supported. for the detail about combination, see test/soap/test_style.rb. * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to WSDL as well as obj2soap. closes #70. * let SOAP::Mapping::Object handle XML attribute for doc/lit service. you can set/get XML attribute via accessor methods which as a name 'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name). === client side === * WSDLDriver capitalized name operation bug fixed. from 1.5.3-ruby1.8.2, operation which has capitalized name (such as KeywordSearchRequest in AWS) is defined as a method having uncapitalized name. (converted with GenSupport.safemethodname to handle operation name 'foo-bar'). it introduced serious incompatibility; in the past, it was defined as a capitalized. define capitalized method as well under that circumstance. * added new factory interface 'WSDLDriverFactory#create_rpc_driver' to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver are merged). 'WSDLDriverFactory#create_driver' still creates WSDLDriver for compatibility but it warns that the method is deprecated. please use create_rpc_driver instead of create_driver. * allow to use an URI object as an endpoint_url even with net/http, not http-access2. === server side === * added mod_ruby support to SOAP::CGIStub. rename a CGI script server.cgi to server.rb and let mod_ruby's RubyHandler handles the script. CGIStub detects if it's running under mod_ruby environment or not. * added fcgi support to SOAP::CGIStub. see the sample at sample/soap/calc/server.fcgi. (almost same as server.cgi but has fcgi handler at the bottom.) * allow to return a SOAPFault object to respond customized SOAP fault. * added the interface 'generate_explicit_type' for server side (CGIStub, HTTPServer). call 'self.generate_explicit_type = true' if you want to return simplified XML even if it's rpc/encoded service. == WSDL == === WSDL definition === * improved XML Schema support such as extension, restriction, simpleType, complexType + simpleContent, ref, length, import, include. * reduced "unknown element/attribute" warnings (warn only 1 time for each QName). * importing XSD file at schemaLocation with xsd:import. === code generation from WSDL === * generator crashed when there's '-' in defined element/attribute name. * added ApacheMap WSDL definition. * sample/{soap,wsdl}: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* test/ruby/test_array.rb: add test for find_all. (based on Daniel Berger's ↵ocean
patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12add tests for reading an extended fileakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* io.c (rb_io_eof, remain_size, read_all, io_read, appendline)akr
(swallow, rb_io_each_byte, rb_io_getc): revert previous change. * io.c (rb_io_eof, io_fread, appendline, swallow, rb_io_each_byte) (rb_io_getc, rb_getc): call clearerr before getc to avoid stdio incompatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* io.c (rb_io_eof, remain_size, read_all, io_read, appendline)akr
(swallow, rb_io_each_byte, rb_io_getc): don't rely EOF flag. [ruby-talk:141527] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* test/drb/test_drb{ssl,unix}.rb: can test drbocean
before install. (backported from HEAD) [ruby-dev:26146] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* test/ruby/envutil.rb, test/drb/drbtest.rb: can test drbocean
before install. (backported from HEAD) [ruby-Bugs-1672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#loggergotoyuzo
and WEBrick::CGI#config. (backported from HEAD) * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should not use String#split("/"). (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13* lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.kou
* lib/rss/rss.rb (RSS::Element#converter): fixed converter transmission bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11adhoc patch for [druby-ja:123]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* lib/rss: backoported from HEAD.kou
* lib/rss: refactored. - gave a name to 'x'. - undef_method -> remove_method for avoiding a warning in ruby 1.6. * lib/rss/parser.rb: @@setter -> @@setters. * lib/rss/parser.rb (RSS::BaseListener.register_uri) (RSS::BaseListener.uri_registered?) (RSS::BaseListener.install_get_text_element): swapped the first argument and the second argument. * lib/rss/taxonomy.rb: swapped the first argument and the second argument for RSS::BaseListener.install_get_text_element. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/parser.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/content.rb: ditto. * lib/rss/parser.rb (RSS::BaseListener.install_setter) (RSS::BaseListener.register_uri): changed fallback way. * lib/rss/parser.rb: added class name registry for complex model elements. (ex. have childlen elements, have some attributes and a child element and so on.) * lib/rss/dublincore.rb: supported multiple Dublin Core items. * lib/rss/maker/dublincore.rb: ditto. * lib/rss/maker/image.rb: supproted new Dublin Core API. * lib/rss/maker/base.rb: added default current_element implementation. * lib/rss/trackback.rb (RSS::TrackBackUtils.new_with_value_if_need): moved to RSS::Utils. * lib/rss/utils.rb (RSS::Utils.new_with_value_if_need): moved from RSS::TrackBackUtils. * lib/rss/maker/image.rb: fixed invalid argument of add_need_initialize_variable bug. * lib/rss/maker/trackback.rb: ditto. * lib/rss/rss.rb (Hash#merge): added for ruby 1.6. * lib/rss/rss.rb (RSS::BaseModel.date_writer): changed to accept nil for date value. * test/test_dublincore.rb: added tests for plural accessor and multiple Dublin Core items. * test/test_setup_maker_1.0.rb: fixed swapped actual and expected values. * test/rss/rss-assertions.rb (assert_multiple_dublin_core): added an assertion for testing multiple Dublin Core items. * test/rss/test_maker_dc.rb (test_rss10_multiple): added a test for making multiple Dublin Core items. * test/rss/test_maker_dc.rb (test_date): added a test for #date= and #dc_date=. * sample/rss/tdiary_plugin/rss-recent.rb: new option: @options['rss-recent.use-image-link']: use image as link instread of text if available. * sample/rss/tdiary_plugin/rss-recent.rb (RSS_RECENT_VERSION): 0.0.5 -> 0.0.6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/openssl/ossl_ssl.c: add callbacks to OpenSSL::SSL::SSLContexts.gotoyuzo
- SSLContext#client_cert_cb=(aProc). it is called when a client certificate is requested by a server and no certificate was not set for the SSLContext. it must return an Array which includes OpenSSL::X509::Certificate and OpenSSL::PKey::RSA/DSA objects. - SSLContext#tmp_dh_callback=(aProc). it is called in key exchange with DH algorithm. it must return an OpenSSL::PKey::DH object. * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): ignore the argument if it's nil. * ext/openssl/ossl_pkey.c (GetPrivPKeyPtr, ossl_pkey_sign): should call rb_funcall first. (DupPrivPKeyPtr): new function. * ext/openssl/ossl_pkey_dh.c: add default DH parameters. * ext/openssl/ossl_pkey.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* eval.c (rb_call0): "return" event hook should be always executedshugo
if event_hooks is set. fixed: [ruby-core:04662] (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-29use new_with instead of reinit [ruby=dev:25961]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22* test/ruby/test_settracefunc.rb (test_event): added tests forshugo
"class" and "end" and "raise". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16* eval.c (rb_call0): call_cfunc() should be protected.shugo
* test/ruby/test_settracefunc.rb: added test for c-return. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13remove test_gcseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09* ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_write): callgotoyuzo
rb_sys_fail if errno isn't 0. [ruby-dev:25831] * ext/openssl/lib/openssl/cipher.rb: fix typo. [ruby-dev:24285] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07* ext/openssl/ossl_ssl.c (ossl_start_ssl, ossl_ssl_read,gotoyuzo
ossl_ssl_write): - need to set errno on Win32 platform. - should call rb_sys_fail instead of rasing SSLError if SSL_ERROR_SYSCALL occured. - should wait for that the underlying IO become readable or writable if the error was SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE. [ruby-dev:25795] * ext/openssl/lib/openssl/buffering.rb (Buffering#initialize): should set @eof and @rbuffer. (Buffering#fill_rbuff): should rescue Errno::EAGAIN. (Buffering#consume_rbuf): pointless eof flag resetting is deleted. (Buffering#read): should return an empty string if the specified size is zero. (Buffering#readpartial): new method. (Buffering#readline): fix typo. (Buffering#getc): return the first character of string correctly. (Buffering#each): fix typo. suggested by Brian Ollenberger. (Buffering#readchar): fix typo. (Buffering#eof?): should read again it the input buffer is empty. (Buffering#do_write): should rescue Errno::EAGAIN. (Buffering#puts): use "\n" as the output field separator. * ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the underlying IO. * ext/openssl/extconf.rb: get rid of GNUmakefile generation. * text/openssl/test_pair.rb: test for IO like methods. * test/ruby/ut_eof.rb: test about empty file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-06* lib/net/http.rb: HTTPHeader holds its header fields as an array (backport ↵aamine
from CVS HEAD rev 1.112-1.123). [ruby-list:40629] * test/net/http/test_httpheader.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-28backport from CVS_HEAD. use MockClock.sleep instead of Kernel.sleep ↵seki
[ruby-dev:25387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-28improved keeper threadseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-23* lib/uri/generic.rb (split_userinfo): should split ":pass" into ""akira
and "pass". [ruby-dev:25667] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17* lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.ocean
* test/digest/test_digest.rb: separate test case for each algorithms. (Thanks nobu) [ruby-dev:25412] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 * lib/test/unit/collector.rb (collect_file): now deletes paths addedntalbott
to $LOAD_PATH instead of restoring it verbatim. * lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that 'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace collector again. Also tried to simplify the calling convention. * test/runner.rb: adjusted for new AutoRunner semantics. * lib/test/unit.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16remove TestDRbReusePort, resuce sleep, add DRbService.ext_serviceseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-14* ext/openssl/lib/openssl/ssl.rbgotoyuzo
(OpenSSL::SSL::SSLSocket#post_connection_check): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13pass DRb info to sub threadseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13* lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): addedkou
convenient methods. * lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto. * lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto. * test/rss/: added tests for the convenient methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13add safe_level, default_safe_levelseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07add test_rand_0x100000000.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03* lib/rss: supported Image module.kou
http://web.resource.org/rss/1.0/modules/image/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26* test/fileutils/test_fileutils.rb (setup): support BSD-style directory ↵aamine
group inheritance. (backport from HEAD, rev 1.32) * test/fileutils/fileasserts.rb (assert_same_entry): show entry difference. (backport from HEAD, rev 1.4) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21file test_imap.rb was added on branch ruby_1_8 on 2006-11-04 13:03:20 +0000shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-21This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18* lib/webrick/ssl.rb (WEBrick::Config::SSL): the default valuegotoyuzo
of :SSLEnable is false. * lib/webrick/server.rb (WEBrick::Daemon.start): prepared stdio don't allow changing its mode. * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): should delete trailing LF from the result of pack("m*"). * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_connect): - should delete trailing LF from the result of pack("m*"). - clear Request-Line not to send the response by HTTPServer#run. * lib/webrick/httputils (WEBrick::HTTPUtils.parse_qvalues): refine regexp (and change the name of a local variable). * lib/webrick/httputils.rb (WEBrick::HTTPUtils#escape_path): add new method to escape URI path component. * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should escape SCRIPT_NAME and PATH_INFO before being parsed as a URI. * test/webrick/*, sample/webrick/httpproxy.rb: add new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-18This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-15* test/rss/test_version.rb: 0.1.2 -> 0.1.3.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-15* lib/rss/rss.rb (RSS::VERSION): 0.1.2 -> 0.1.3.kou
* lib/rss/rss.rb: accept inheritance. [ruby-talk:126104] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-08* io.c (io_fread): warn nonblocking behavior.akr
(io_readpartial): new method IO#readpartial. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-04This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-02This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27* test/fileutils/fileasserts.rb: sync with HEAD.aamine
* test/fileutils/test_fileutils.rb: ditto. * test/fileutils/test_nowrite.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e