aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/pathname.rb (initialize): raise ArgumentError if argument hasakr2003-10-042-19/+115
| | | | | | | | | | '\0' character. (relative_path_from): new method. (each_entry): new method for replacement of dir_foreach. (foreach, foreachline, dir_foreach, chdir): obsoleted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/uri/* (6 files): added.akira2003-10-047-1/+1079
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.akira2003-10-044-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/testsuite.rb: changed #<< to return self, and addedntalbott2003-10-035-23/+63
| | | | | | | | | | | | | | | #delete. * test/testunit/test_testsuite.rb: ditto. Also slightly refactored #test_size. * lib/test/unit/collector/objectspace.rb: collector now preserves the hierarchy of suites. * test/testunit/collector/test_objectspace.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: default keys handled.why2003-10-034-10/+1189
| | | | | | | | | | * ext/syck/syck.h: lowered default buffer size to 16k for increased performance. * test/yaml: checkin of basic unit tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: add check for X509V3_set_nconf.gotoyuzo2003-10-033-0/+12
| | | | | | | | * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config): cannot implement if X509V3_set_nconf doesn't exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_asn1.h was included twice.gotoyuzo2003-10-032-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xsd/datatypes.rb: dump sign by itself. under the problematic platform,nahi2003-10-038-134/+1200
| | | | | | | | | sprintf("%+.10g", -0.0) => +0. Sigh. * sample/wsdl/amazon/*: update schema ver2 to ver3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-04eban2003-10-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (initialize): duplicate and freeze argument.akr2003-10-032-3/+31
| | | | | | | | | (to_s): return duplicated string. (children): new method. (each_line): new alias to foreachline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add following files:eban2003-10-031-281/+284
| | | | | | | | | lib/test/unit/util/backtracefilter.rb test/testunit/test_failure.rb test/testunit/util/test_backtracefilter.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c: add DER encoder and decoder.gotoyuzo2003-10-037-14/+1035
| | | | | | | | | | | | | | | | | | | * ext/openssl/ossl_asn1.h: add OpenSSL::ASN1 module. * ext/openssl/ossl.c (Init_openssl): call Init_ossl_asn1. * ext/openssl/ossl.h: include ossl_asn1.h. * ext/openssl/extconf.rb: check if X509_ATTRIBUTE has field "single". * ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): accept DER encoded data argument. * ext/openssl/ossl_x509attr.c (ossl_x509attr_get_value): return DER encoded data in OpenSSL::ASN1 types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: refactored to use optparse.ntalbott2003-10-034-29/+111
| | | | | | | | | | | | | | | | | | | * lib/test/unit.rb: added support for selecting the output level from the command-line. * lib/test/unit.rb: added a command-line switch to stop processing the command-line, allowing arguments to be passed to tests. * lib/test/unit.rb: changed the method for specifying a runner or a filter from the command-line. * lib/test/unit/collector/objectspace.rb: fixed a bug causing all tests to be excluded when the filter was set to an empty array. * test/testunit/collector/test_objectspace.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-03eban2003-10-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: added a default message for #assert,ntalbott2003-10-0211-67/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | #assert_block, and #flunk. * test/testunit/test_assertions.rb: ditto. * lib/test/unit/failure.rb: failures now show a better trace of where they occurred. * test/testunit/test_failure.rb: ditto (added). * lib/test/unit/testcase.rb: ditto. * test/testunit/test_testcase.rb: ditto. * lib/test/unit/util/backtracefilter.rb: added. * test/testunit/util/test_backtracefilter.rb: added. * lib/test/unit/error.rb: changed to use BacktraceFilter and improved output. * test/testunit/test_error.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ENGINE_load_public_key takes four arguments since OpenSSL-0.9.7gotoyuzo2003-10-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ENGINE_load_private_key takes four arguments since OpenSSL-0.9.7gotoyuzo2003-10-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_failure_initialize): conform withnobu2003-10-022-43/+58
| | | | | | | | | | | orthodox initialization method. * ext/iconv/iconv.c (iconv_fail): initialize exception instance from the class, and do not share instance variables with the others. [ruby-dev:21470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (Init_Time): define initialize. [ruby-dev:21469]nobu2003-10-022-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.gotoyuzo2003-10-0210-5/+375
| | | | | | | | | | | | | | | | | | | | it supports OpenSSL hardware cryptographic engine interface. * ext/openssl/ossl_engine.h: ditto. * ext/openssl/MANIFEST: add ossl_engine.c and ossl_engine.h. * ext/openssl/extconf.rb: add check for openssl/engine.h. * ext/openssl/ossl.c: call Init_ossl_engine(). * ext/openssl/ossl.h: include openssl/engine.h. * ext/openssl/ossl_pkey_{rsa,dsa,dh}.c: check if underlying EVP_PKEY referes engine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_load): restore instance variables (if any) beforematz2003-10-026-80/+189
| | | | | | | | | | | | | | | | | | | | loading from marshaled data. * time.c (time_mdump): new marshal dumper. _dump is still available for compatibility. * time.c (time_mload): new marshal loader. * marshal.c (w_object): preserve instance variables for objects with marshal_dump. * marshal.c (r_object0): restore instance variables before calling marshal_load. * error.c (rb_warn_m): always return nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_fail): now yield erred substring, andnobu2003-10-022-7/+42
| | | | | | | | | | | set error object to $!. * ext/iconv/iconv.c (iconv_convert): error handler block should return appended part and the rest. if rest is nil, the conversion stops. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_defined_0): look up constants in Object asnobu2003-10-023-7/+20
| | | | | | | | | | well. [ruby-dev:21458] * test/ruby/test_defined.rb (TestDefined::test_defined): test for constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: should not capture anntalbott2003-10-027-17/+40
| | | | | | | | | | | | | | | | | | | | AssertionFailedError unless explicitly requested. * test/testunit/test_assertions.rb: ditto. * test/testunit/collector/test_objectspace.rb: fixed a test failure caused by methods being returned in different orders on different platforms by moving test sorting from TestSuite into the locations where suites are constructed. [ruby-talk:83156] * lib/test/unit/testcase.rb: ditto. * lib/test/unit/testsuite.rb: ditto. * lib/test/unit/collector/objectspace.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_raise): prototype; avoid VC++ warning.usa2003-10-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-02eban2003-10-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_block_given_p): real required condition ismatz2003-10-012-3/+14
| | | | | | | | | | | | ruby_frame->prev->iter == ITER_CUR. * eval.c (rb_block_given_p): ditto. * eval.c (block_pass): update ruby_frame->iter only when previous value is ITER_NOT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_defined_at): should exclude constants frommatz2003-10-012-7/+16
| | | | | | | | | | | Object when TYPE(klass) == T_MODULE *and* exclude is on. [ruby-dev:21458] * variable.c (rb_const_get_0): do not lookup constants from Object when TYPE(klass) == T_MODULE *and* exclude is on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb: unlinking file before close causes problem undernahi2003-10-017-77/+95
| | | | | | | | | | | | | | | | | | win32 box. * lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly when stringified and embedded into XML instance. Ruby's sprintf may format -0.0 as "0.0" (no minus sign) depending on underlying C sprintf implementation. * test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change. * test/soap/calc/*: give httpd config param "CGIInterpreter". "/usr/bin/env ruby" thing does not work under non-Unix boxes. * ChangeLog: corrected wrong DoW of my log entries... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_getgrent): typo.nobu2003-10-012-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ruby_signal_name): adjust to the prototype.nobu2003-10-014-4/+12
| | | | | | | | | * process.c (pst_inspect): ditto. * ext/etc/etc.c (Init_etc): typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,matz2003-10-017-231/+237
| | | | | | | | | | | | setgrent, getgrent, endgrent. * ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup. * Makefile.in: copy lex.c from $(srcdir) if it's not the current directory. [ruby-dev:21437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (heaps): manage slots and limits together. [ruby-dev:21453]nobu2003-10-012-26/+39
| | | | | | | | * gc.c (add_heap): should not clear heaps slot even if realloc() failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add wince/mkconfig_wce.rb.eban2003-10-012-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-01nobu2003-10-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_load): Object scope had priority over required filenobu2003-10-012-1/+5
| | | | | | | scope. [ruby-dev:21415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/mkconfig_wce.rb: sorry, forget to commit.uema22003-10-012-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/setup.mak: add sigmarionIII SDK support.uema22003-10-014-22/+49
| | | | | | | | | | | * wince/Makefile.sub: ditto. * wince/mkexports.rb: fix linker error in SH4. * wince/mkconfig_wce.rb: camouflage RUBY_PLATFORM for compiling ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *wince/time_wce.c (time): add zero check.uema22003-09-302-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (pst_inspect): describe stopped process "stopped".akr2003-09-302-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-30nobu2003-09-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: glob for directories.nobu2003-09-302-3/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): while/until should not capture break unlessmatz2003-09-304-6/+24
| | | | | | | they are destination of the break. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (finish): revert to 1.93.aamine2003-09-294-9/+51
| | | | | | | | | | | | * lib/net/pop.rb (finish): revert to 1.60. * lib/net/smtp.rb (finish): revert to 1.67. * lib/net/http.rb (do_start): ensure to close socket if failed to start session. * lib/net/pop.rb (do_start): ditto. * lib/net/smtp.rb (do_start): ditto. * lib/net/smtp.rb: SMTP#started? wrongly returned false always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb: new test test_break__nested_loop[123].aamine2003-09-292-0/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: enhance log message.aamine2003-09-291-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (finish): does not raise IOError even if !started?, to ↵aamine2003-09-294-12/+14
| | | | | | | | | | allow duplicated #finish call. * lib/net/pop.rb (finish): ditto. * lib/net/smtp.rb (finish): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add link to ruby-bugs.eban2003-09-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/extconf.rb: add windows.h checking.eban2003-09-292-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: check if the given logdevice object respond_to :write andnahi2003-09-294-15/+68
| | | | | | | | | | | | :close, not is_a? IO. duck duck. * test/logger/test_logger.rb: self IO.pipe reading/writing may be locked by the flood. use tempfile. * lib/wsdl/xmlSchema/data.rb: wrong constant reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e