summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * eval.c (rb_call0): argument update propagation. [ruby-dev:28044]matz2006-02-131-1/+1
| | | | | | | * env.h: remove argc member from struct FRAME. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): no need to push ruby_class. [ruby-dev:28176]matz2006-02-112-2/+6
| | | | | | | | | * eval.c (rb_f_autoload): check if ruby_cbase is nil (during instance_eval for objects cannot have singleton classes, e.g. fixnums and symbols). [ruby-dev:28178] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): need not to protect $SAFE value.matz2006-02-021-1/+1
| | | | | | | | | | [ruby-core:07177] * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):ocean2006-01-161-0/+19
| | | | | | | | should output complex key mark even if map's key is empty seq/map. [ruby-core:7129] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded inocean2006-01-101-0/+17
| | | | | | | | | | ruby 1.8.3/1.8.4. [ruby-core:6115] * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not be dumped properly. [ruby-core:7047] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quotedocean2006-01-101-0/+11
| | | | | | | Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2006-01-011-0/+42
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead ofakr2005-12-291-4/+4
| | | | | | | "miniruby". [ruby-dev:28140] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stable version 1.8.4 released.matz2005-12-241-1/+1
| | | | | | | | * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden <kailden at gmail.com>. [ruby-core:06984] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_symname_p): fixed wrong validation. [ruby-dev:28047]nobu2005-12-191-0/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/gdbm/test_gdbm.rb: specify pid for the argument ofeban2005-12-141-6/+6
| | | | | | | Process.wait. workaround for Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ssl.rb (test_parallel): call GC.start to closegotoyuzo2005-12-121-0/+1
| | | | | | | unused files. [ruby-dev:27981] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-12-113-0/+633
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.gotoyuzo2005-11-221-0/+74
| | | | | | | | | | | | | | * ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use OPENSSL_malloc to allocate X509V3_CTX. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which values are placed in separate section). * test/openssl/test_x509ext.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_basename): skip slashes just after UNC top slashes.usa2005-11-221-15/+114
| | | | | | | | * test/ruby/test_path.rb (test_dirname, test_basename): follow new spec. and add new tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (test_misc): added some testsocean2005-11-201-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_dirname): should use skipprefix for UNC path.usa2005-11-181-6/+14
| | | | | | | pointed out by nobu ([ruby-dev:27744]). fixed: [ruby-core:5076] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_s_dirname): added checks for some patterns with driveusa2005-11-181-0/+71
| | | | | | | | | | letter. fixed: [ruby-dev:27738] * test/ruby/test_path.rb (test_dirname): added tests for above patterns. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_fill): tail elements were vanished when the middleocean2005-11-151-0/+23
| | | | | | | | | part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) => [0,1,-1]) * test/ruby/test_array.rb (test_fill): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-11-021-0/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error):usa2005-10-312-0/+2
| | | | | | | skip on Win32/DOS platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data mustgotoyuzo2005-10-301-0/+5
| | | | | | | | | not be empty. [ruby-talk:161220] * test/openssl/test_cipher.rb: add test for Cipher#update(""). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rbgotoyuzo2005-10-303-0/+45
| | | | | | | | | | | | | | (WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie: header field should be splited into each cookie. [ruby-Bugs:2199] * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method to parse the value of Set-Cookie: header field. * test/webrick/test_cookie.rb, test/webrick/test_cgi.rb, test/webrick/webrick.cgi: add some test for cookie. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (test_precision): test by assert_in_delta.ocean2005-10-301-4/+4
| | | | | | | [ruby-dev:27575] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check remote hash tupleseki2005-10-161-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/ssl/test_ssl.rb (test_verification, test_property, test_ciphers):nobu2005-10-101-56/+24
| | | | | | | use standard assert_raise. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: fix visibility of FileUtils::NoWrite, Verbose, DryRun ↵aamine2005-09-231-1/+16
| | | | | | | | | | | (backported from trunk, rev 1.66). [ruby-core:05954] * test/fileutils/test_nowrite.rb: test it. * test/fileutils/test_dryrun.rb: new file. * test/fileutils/test_verbose.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-09-232-0/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline.rb (TestReadline::replace_stdio):shugo2005-09-221-13/+16
| | | | | | | merged the patch of [ruby-dev:25232] instead of [ruby-dev:25223]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/wsdl/simpletype/rpc/test_rpc.rb, test/wsdl/ref/test_ref.rb,nahi2005-09-204-4/+52
| | | | | | | | test/wsdl/any/test_any.rb test/soap/wsdlDriver/test_calc.rb: suppress deliberate warnings with $VERBOSE = nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/test_cgi.rb: set ENV["PATH"] to CGIEnvPath onocean2005-09-201-0/+3
| | | | | | | | windows. bcc32's runtime is not installed into system directory, so it cannot be found without this setting. [ruby-dev:27166] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): removematz2005-09-201-8/+0
| | | | | | | | test_s_open_error test to detect duplicate open. [ruby-dev:27202] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline.rb (TestReadline::replace_stdio):matz2005-09-201-0/+1
| | | | | | | BSD seek support from [ruby-dev:25223]. fixed: [ruby-dev:27150] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xmlrpc/test_webrick_server.rb (setup_http_server):ocean2005-09-191-5/+11
| | | | | | | | should not include 'webrick/https' unless 'use_ssl' because it fails where openssl is not installed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cp_r): default is :dereference_root=>true for backward ↵aamine2005-09-191-1/+4
| | | | | | | | | compatibility. [ruby-dev:27145] * test/fileutils/test_fileutils.rb (test_cp_r): test it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb: backported from trunk (1.36). (again) ↵aamine2005-09-191-64/+382
| | | | | | [ruby-dev:27145] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey.h, ossl_pkey_rsa.c, ossl_pkey_dsa.c:gotoyuzo2005-09-181-0/+11
| | | | | | | | | | | | an instance variable "private" is added to OpenSSL::PKey class. this ivar is a flag that shows whether there is a private key in the instance. * ext/openssl/ossl_engine.c: (ossl_engine_load_privkey): set private key flag. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: remove comments that are bungling upwhy2005-09-171-22/+13
| | | | | | | | | | | | | | | | | | the rdoc and ri output. output symbols as plain scalars. * ext/syck/rubyext.c (syck_emitter_reset): emit headless documents always. * ext/syck/emitter.c (syck_scan_scalar): quote scalars with any kind of surrounding line space, tabs or spaces alike. * ext/syck/token.c: accept tabs as whitespace, not for indentation, but strip from plain scalars. * test/yaml/test_yaml.rb: remove outdated tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#normalize): fixedkou2005-09-161-0/+54
| | | | | | | | | | strange RSS::Maker::Item#max_size behavior. Thanks to Kazuhiko <kazuhiko@fdiary.net>. * test/rss/test_maker_1.0.rb (RSS::TestMaker10#test_items): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb: unintentionally overwritten changes bynahi2005-09-151-0/+2
| | | | | | | Usa. reverted. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5.nahi2005-09-158-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #nnn is a ticket number at http://dev.ctor.org/soap4r * SOAP * allow to configure an envelope namespace of SOAP request. (#124) TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope' @client.options["soap.envelope.requestnamespace"] = TemporaryNamespace @client.options["soap.envelope.responsenamespace"] = TemporaryNamespace @client.do_proc(...) * let SOAP request XML indent space configuable. see "soap.envelope.no_indent" option. (#130) * let external CES configuable. ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used by default. (#133) external CES ::= CES used in Ruby object of client and server internal CES ::= CES used in SOAP/OM * add iso-8859-1 external CES support. (#106) * fixed illegal 'qualified' handling of elements. it caused ASP.NET inteoperability problem. (#144) * added 'soap.envelope.use_numeric_character_reference' (boolean) option to let query XML use numeric character reference in XML, not plain UTF-8 character. !GoogleSearch server seems to not allow plain UTF-8 character since 2005-08-15 update. (#147) * SOAP::Header::SimpleHeader (de)serialization throws an exception on !SimpleHeader.on_(in|out)bound when header is a String. so we could not use a simple single element headerItem. fixed. thanks to emil. (#129) * out parameter of rpc operation did not work. (#132) * follow HTTP redirect only if using http-access2. (#125) (#145) * add a workaround for importing an WSDL whose path begins with drive letter. (#115) * WSDL * SOAP Data which is defined as a simpletype was not mapped correctly to Ruby obj when using wsdl2ruby.rb generated classdef file. (#123) * rpc/literal support. (#118) * re-implemented local element qualify/unqualify control. handles elementFormDefault and form in WSDL. (#119) * Array of an element which has simpleType causes a crash. (#128) * prarmeterOrder may not contain return part so it can be shorter than parts size. Thanks to Hugh. (#139) * Samples * added !BasicAuth client sample. (#117) * added Base64 client/server sample. * added Flickr SOAP interface client sample. (#122) * added !SalesForce client sample. (#135) * updated Thawte CA certificate for !GoogleAdWords sample. * updated a client script with the newer version made by Johan. thanks! * shortened long file names. (#120) * fixed typo in authheader sample. (#129) * updated deprecated method usage. (#138) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-09-1529-0/+2953
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (test_exit_action): skip the test usingusa2005-09-151-0/+10
| | | | | | | fork on fork-less platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger): added formatter accessor to logger fornahi2005-09-131-3/+31
| | | | | | | | | | | | | | | | dictating the way in which the logger should format the messages it displays. Thanks to Nicholas Seckar (cf. [ruby-talk:153391]) and Daniel Berger. * lib/logger.rb (Logger): added VERSION constant. * lib/logger.rb: removed document for LogDevice. It is an implementation detail and is not a public interface. * test/logger/test_logger.rb: added tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkcs7.rb (test_enveloped): skip this testgotoyuzo2005-09-121-0/+6
| | | | | | | | | to avoid a bug of PKCS7_enctypt() (only if ext/openssl is compiled with OpenSSL-0.9.7d or earlier versions). http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dbm/test_dbm.rb: remove locking test, which may not bematz2005-09-122-83/+4
| | | | | | | supported on some platforms. [ruby-dev:27030] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2005-09-102-0/+207
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.gotoyuzo2005-09-101-0/+9
| | | | | | | | | | these features are enabled if this library is compiled with OpenSSL 0.9.8 or later. * test/openssl/test_digest.rb: add test for new digests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (ossl_raise): should use ERR_peek_last_errorgotoyuzo2005-09-101-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | to get last error on the current thread. And should report errors are on the stack while OpenSSL.debug is true. * ext/openssl/ossl.c (ossl_get_errors): new method for debugging this library. * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message. * ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid of unused variable. * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should set @time to avoid warning. * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths, X509_STORE_add_cert, X509_STORE_add_crl): should raise error if wrapped functions failed. * test/openssl/test_x509store.rb: add test for errors. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/gdbm/test_gdbm.rb (teardown): should remove GDBM temporaryusa2005-08-311-2/+2
| | | | | | | file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e