summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-10-04* lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.akira
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-03 * lib/test/unit/testsuite.rb: changed #<< to return self, and addedntalbott
#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
2003-10-03* ext/syck/rubyext.c: default keys handled.why
* 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
2003-10-03* ext/openssl/extconf.rb: add check for X509V3_set_nconf.gotoyuzo
* 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
2003-10-03ossl_asn1.h was included twice.gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-03* lib/xsd/datatypes.rb: dump sign by itself. under the problematic platform,nahi
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-032003-10-04eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-03* lib/pathname.rb (initialize): duplicate and freeze argument.akr
(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
2003-10-03* MANIFEST: add following files:eban
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
2003-10-03* ext/openssl/ossl_asn1.c: add DER encoder and decoder.gotoyuzo
* 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
2003-10-03 * lib/test/unit.rb: refactored to use optparse.ntalbott
* 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-032003-10-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02 * lib/test/unit/assertions.rb: added a default message for #assert,ntalbott
#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
2003-10-02ENGINE_load_public_key takes four arguments since OpenSSL-0.9.7gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02ENGINE_load_private_key takes four arguments since OpenSSL-0.9.7gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02* ext/iconv/iconv.c (iconv_failure_initialize): conform withnobu
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
2003-10-02* time.c (Init_Time): define initialize. [ruby-dev:21469]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-02* ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine.gotoyuzo
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
2003-10-02* time.c (time_load): restore instance variables (if any) beforematz
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
2003-10-02* ext/iconv/iconv.c (iconv_fail): now yield erred substring, andnobu
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
2003-10-02* variable.c (rb_const_defined_0): look up constants in Object asnobu
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
2003-10-02 * lib/test/unit/assertions.rb: should not capture anntalbott
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
2003-10-01* eval.c (rb_thread_raise): prototype; avoid VC++ warning.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-012003-10-02eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01* eval.c (rb_f_block_given_p): real required condition ismatz
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
2003-10-01* variable.c (rb_const_defined_at): should exclude constants frommatz
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
2003-10-01* test/logger/test_logger.rb: unlinking file before close causes problem undernahi
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
2003-10-01* ext/etc/etc.c (etc_getgrent): typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01* signal.c (ruby_signal_name): adjust to the prototype.nobu
* 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
2003-10-01* ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,matz
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
2003-10-01* gc.c (heaps): manage slots and limits together. [ruby-dev:21453]nobu
* 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
2003-10-01* MANIFEST: add wince/mkconfig_wce.rb.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-012003-10-01nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01* eval.c (rb_load): Object scope had priority over required filenobu
scope. [ruby-dev:21415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01* wince/mkconfig_wce.rb: sorry, forget to commit.uema2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01* wince/setup.mak: add sigmarionIII SDK support.uema2
* 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
2003-09-30*wince/time_wce.c (time): add zero check.uema2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-30* process.c (pst_inspect): describe stopped process "stopped".akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-302003-09-30nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-30* test/runner.rb: glob for directories.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-30* eval.c (rb_eval): while/until should not capture break unlessmatz
they are destination of the break. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* lib/net/http.rb (finish): revert to 1.93.aamine
* 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
2003-09-29* test/ruby/test_iterator.rb: new test test_break__nested_loop[123].aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* ChangeLog: enhance log message.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* lib/net/http.rb (finish): does not raise IOError even if !started?, to ↵aamine
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
2003-09-29* ChangeLog: add link to ruby-bugs.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* ext/win32ole/extconf.rb: add windows.h checking.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* lib/logger.rb: check if the given logdevice object respond_to :write andnahi
: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
2003-09-29* ChangeLog: modify typo.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-29* ChangeLog: small modify.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e