summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2004-12-06* process.c (proc_setgroups): [ruby-dev:25081]matz
* re.c (rb_reg_eqq): document fix. [ruby-talk:122541] * io.c (io_fread): take VALUE argument. * ext/socket/socket.c (sock_connect): use rb_str_new4(). [ruby-dev:25052] * eval.c (rb_yield_0): [ruby-dev:25051] * io.c (io_write): remove rb_str_locktmp(). [ruby-dev:25050] * io.c (io_fwrite): takes VALUE string as an argument. [ruby-dev:25050] * ext/socket/socket.c (sock_connect): remove rb_str_locktmp(). [ruby-dev:25050] * ext/socket/socket.c (udp_connect): [ruby-dev:25045] * ext/socket/socket.c (udp_bind): ditto. * ext/socket/socket.c (udp_send): ditto. * ext/socket/socket.c (bsock_send): ditto. * ext/socket/socket.c (s_recvfrom): ditto. * hash.c (rb_hash_hash): should provide "hash" method where "eql?" is redefined. [ruby-talk:122482] * ext/socket/socket.c (bsock_setsockopt): [ruby-dev:25039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06* rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,akr
ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c: Use own buffering mechanism instead of stdio. * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb: EOF flag removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-06* test/socket/test_socket.rb (TestBasicSocket#test_setsockopt):nobu
BasicSocket#setsockopt dumps core. [ruby-dev:25039] * test/socket/test_tcp.rb (TestTCPSocket#test_recvfrom): TCPSocket#recvfrom dumps core. [ruby-dev:24705] * test/socket/test_udp.rb (TestUDPSocket#test_connect): UDPSocket#connect dumps core. [ruby-dev:25045] * test/socket/test_udp.rb (TestUDPSocket#test_bind): UDPSocket#bind dumps core. [ruby-dev:25057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_public_encrypt,gotoyuzo
ossl_rsa_public_decrypt, ossl_rsa_private_encrypt, ossl_rsa_private_decrypt): should take an optional argument to specify padding mode. [ruby-talk:122539] * ext/openssl/ossl_pkey_rsa.c (Init_ossl_rsa): add new constants PKCS1_PADDING, SSLV23_PADDING, NO_PADDING and PKCS1_OAEP_PADDING under OpenSSL::PKey::RSA. * test/openssl/test_pkey_rsa.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05* lib/optparse.rb (OptionParser::Completion#complete): new parameternobu
to direct case insensitiveness. * lib/optparse.rb (OptionParser#order!): ignore case only for long option. [ruby-dev:25048] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04* lib/fileutils.rb: (In previous commit) new method chown.aamine
* lib/fileutils.rb: (In previous commit) new method chown_R. * lib/fileutils.rb: (In previous commit) new method chmod_R wrongly added. Removed now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04* lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly. [ruby-core:03881]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02* test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expectedmneumann
values are now stored in YAML instead of using #inspect. This fixes false hash order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02* test/readline/test_readline.rb: fix for NetBSD.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* ext/stringio/stringio.c (strio_write): insufficiently filled stringnobu
being extended when overwriting. [ruby-core:03836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock isnobu
not supported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* object.c (convert_type): [ruby-core:03845]matz
* eval.c (rb_funcall_rescue): new function. * object.c (rb_Array): avoid using rb_respond_to(). * object.c (rb_Integer): ditto. * eval.c (get_backtrace): no conversion for nil. * parse.y (reduce_nodes): empty body should return nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* test/io/nonblock/test_flush.rb: test transferred data.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29* io.c (fptr_finalize): must not use FILE after fclose().nobu
[ruby-dev:24985] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28* lib/rss/rss.rb (RSS::NotSetError): added.kou
* lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise RSS::NotSetError if required values of maker.channel are not set. * test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS Maker raises or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28* regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8 characters ↵ksaito
that have U+00FE or invalid characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28* regexec.c, test/ruby/test_regexp.rb: fixed segmentation falut ↵ksaito
([ruby-dev:24887]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27* lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: addedkou
#setup_maker. * test/rss/test_setup_maker_*.rb: added tests for #setup_maker. * lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported output item size limitation. * sample/rss/blend.rb: added sample for RSS Maker. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27* lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,kou
"0.9" is just alias of "0.91." * test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91"). * test/rss/test_to_s.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20* test/ruby/test_io.rb (test_gets_rs): add more tests.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20* test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb beforeeban
using CROSS_COMPILNG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* test/xmlrpc/test_webrick_server.rb : move `requrie "webrick/https"'eban
into #setup_http_server mohtod to avoid soap test errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):kou
changed /rss/channel/image to be optional. [ruby-Bugs:1047] * test/rss/test_maker_0.9.rb: added tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.kou
* lib/rss: #to_s used #tag. * test/rss/test_to_s.rb: added. * lib/rss/maker.rb (RSS::Maker.make): changed API. It's not received modules which is used as the second argument. * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate): changed return value type which is not String but Boolean. * lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value type which is not String but Integer. * lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and <skipHours> has <hour>s. * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto. * lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s. * lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto. * lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s. * lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto. * lib/rss/trackback.rb: parent element has <trackback:about>s. * lib/rss/maker/trackback.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* lib/test/unit/collector/dir.rb: add support for directory nameeban
with -p/-x options. * test/testunit/collector/test_dir.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19* ext/readline/readline.c (readline_s_set_completion_append_character):shugo
accept nil. [ruby-core:03765] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* string.c (str_gsub): internal buffer should not be listed bymatz
ObjectSpace.each_object(). [ruby-dev:24919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* parse.y (f_rest_arg): store rest args into invisible local variabenobu
in order to get rid of SEGV at ZSUPER. [ruby-dev:24913] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18* ext/readline/readline.c: check $SAFE.shugo
* test/readline/test_readline.rb: added tests for readline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>nahi
* test/ruby/test_settracefunc.rb: added. [ruby-dev:24884] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17* lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assinging to ↵mneumann
constants" warnings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17* test/openssl/ssl_server.rb: try to listen ports from 20443 to 20542gotoyuzo
while failed in getting a TCPServer. * test/openssl/test_x509name.rb: remove version dependence about nickname of OIDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16added new test case (which spawn off a webrick XML-RPC server)mneumann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16* fixed test cases so that they can be run from any directorymneumann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16* applied patch by MoonWolf <moonwolf@moonwolf.com> to allow parsingmneumann
datetime.iso8601 (e.g. 20041105T01:15:23Z). * added test case git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15* imported and refactored original test casesmneumann
* added methods XMLRPC::XMLParser.each_installed_parser and XMLRPC::XMLWriter.each_installed_writer to simply original test cases * use Object#allocate instead of defining an empty #initialize * module XMLRPC::Marshallable is now only used for tagging git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-13Sun Nov 14 08:46:33 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>nahi
* test/logger/test_logger.rb: Logger just expects Logger#datetime_format to be used for Time#strftime independently of locale. [ruby-dev:24828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11* test/ruby/test_file.rb (test_truncate_wbuf): we want to testusa
only File#truncate, not behavior of seek(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08add DRb::ExtServManager#uri=.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03* test/rss/*.rb: removed tab width configuration headers.kou
* test/rss/test_maker_{0.9,1.0}.rb: sort -> do_sort. * lib/rss/maker/*.rb: changed API to RSS version independence. * lib/rss/maker/base.rb (RSS::Maker::XMLStyleSheets::XMLStyleSheet): checked required (pseudo) attributes. * lib/rss/maker/base.rb (RSS::Maker::Items): sort -> do_sort. * lib/rss/rss.rb (RSS::BaseModel.install_date_element): avoided warning. * lib/rss/0.9.rb (RSS::Rss#textinput): added convenience method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01* lib/rss/maker/base.rb: changed xml-stylesheet's API of RSS Makerkou
to like item's one. * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#guess_type): fixed regular expression bug. * test/rss/test_maker_xml-stylesheet.rb: updated tests for xml-stylesheet. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31* lib/rss/maker/*.rb: added RSS Maker.kou
* test/rss/test_maker_*.rb: added tests for RSS Maker. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-30* eval.c (rb_eval): NODE_XSTR should pass copy of literal string.matz
* array.c (rb_ary_update): a[n,m]=nil no longer works as element deletion. * enum.c (enum_sort_by): protect continuation jump in. [ruby-dev:24642] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29add a test for a problem of [ruby-talk:116455]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29add test for [ruby-dev:24643].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16* lib/rss/: untabified.kou
* test/rss/: untabified. * lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16* lib/rss: supported prety print.kou
* test/rss/test_1.0.rb: added test for calculating default indent size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15* ext/openssl/ossl_x509store.cgotoyuzo
(ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with ossl_x509stctx_* functions instead of X509_STORE_CTX_*. (ossl_x509store_set_time): add OpenSSL::X509::Store#time=. (ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=. * test/openssl/ossl_x509store.rb: test certificate validity times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09* test/ripper/test_scanner_events.rb: test location information.aamine
* test/ripper/test_scanner_events.rb: test \n between comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e