summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/test/unit.rb: removed installation instructions.ntalbott2003-10-0810-233/+775
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more central location. * lib/test/unit.rb: ditto. * lib/test/unit.rb: extracted the running code in to AutoRunner. * lib/test/unit/autorunner.rb: added. * lib/test/unit/collector/objectspace.rb: extracted common test collection functionality in to a module. * lib/test/unit/collector.rb: ditto; added. * test/testunit/collector/test_objectspace.rb: ditto. * lib/test/unit/collector/dir.rb: added. Supports collecting tests out of a directory structure. * test/testunit/collector/test_dir.rb: added. * test/runner.rb: simplified to use the new capabilities. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* applied patch by OHARA Shigeki:mneumann2003-10-071-9/+3
| | | | | | | | * use Apache::Request#headers_in instead of obsolete #headers methods * XMLRPC::ModRubyServer::new is no longer a singleton method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/ruby/endblockwarn.rb.eban2003-10-071-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb, test/ruby/endblockwarn.rb: commited oldernahi2003-10-072-15/+1
| | | | | | | version.. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.nahi2003-10-075-19/+119
| | | | | | | | | * test/ruby/beginmainend.rb: add tests for nested BEGIN/END. * test/ruby/endblockwarn.rb: new file added to test of END-in-method warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* define Fcntl::O_ACCMODE instead of Fcntl::ACCMODE to be consist withakr2003-10-072-3/+3
| | | | | | | other constants. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::ACCMODE.akr2003-10-072-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: useless assignment removed.akr2003-10-072-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb (test_endinmethod): END{} is nownobu2003-10-072-1/+9
| | | | | | | allowed in eval. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): should not expand mrhs if lhs is solely starred.nobu2003-10-062-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): rhs of multiple assignment should not bematz2003-10-065-35/+44
| | | | | | | expanded using "to_a". [ruby-dev:21527] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): use appropriategotoyuzo2003-10-062-1/+61
| | | | | | | | | | | | | | | | free function for ASN1_OBJECT. * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_sn): add new function for ASN1::ObjectId#sn; it returns short name text representation of OID. * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_ln): add new function for ASN1::ObjectId#ln; it returns long name text representation of OID. * ext/openssl/ossl_asn1.c (ossl_asn1obj_get_oid): add new function for ASN1::ObjectId#oid; it returns numerical representation of OID. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (IOReader, BasicWriter): call binmode when a given IOnahi2003-10-063-14/+62
| | | | | | | | | | respond_to?(:binmode). record separator was wrong when you gave text mode IO to Reader.parse and Writer.generate. * test/csv/test_csv.rb: add tests for above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.akr2003-10-063-1/+20
| | | | | | | * ext/socket/socket.c (thread_read_select): restored. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): wrong method name in the message.nobu2003-10-062-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-06eban2003-10-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): END in method should cause warning.matz2003-10-062-2/+7
| | | | | | | [ruby-dev:21519] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb (test_block_argument_without_paren): added.nahi2003-10-062-6/+16
| | | | | | | (follows sample/test.rb) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: added test fornahi2003-10-063-1/+24
| | | | | | | eval-ed BEGIN END order. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): should pass "weak" value to next level.matz2003-10-064-3/+11
| | | | | | | | | | [ruby-dev:21496] * eval.c (proc_alloc): should not use cached object if klass is different. [ruby-talk:83685] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb: version information is added in document.akr2003-10-052-3/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_END): block should be given. [ruby-dev:21497]nobu2003-10-052-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ext/openssl/extconf.rb: add check for some engine functionsgotoyuzo2003-10-053-0/+35
| | | | | | | | | unavailable in OpenSSL-0.9.6. * lib/ext/openssl/ossl_engine.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add these files:eban2003-10-051-0/+7
| | | | | | | | | | | | | test/ruby/beginmainend.rb test/ruby/envutil.rb test/ruby/test_beginendblock.rb test/testunit/runit/test_assert.rb test/testunit/runit/test_testcase.rb test/testunit/runit/test_testresult.rb test/testunit/runit/test_testsuite.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add rinda, (import from drb-2.0.4)seki2003-10-054-0/+652
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): fix evaluation order. [ruby-list:38431]nobu2003-10-052-7/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/uri/*: translated RUNIT to Test::Unit.akira2003-10-057-167/+76
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.nahi2003-10-054-3/+19
| | | | | | | | | * test/soap/marshal/test_marshal.rb: ditto. * test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEECT"] to RUBYBIN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_beginendblock.rb, test/ruby/beginmainend.rb: add tests aboutnahi2003-10-053-3/+48
| | | | | | | scope, order and allowd syntax. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb: added. split "rubybin" from test_system.rb.nahi2003-10-055-5/+43
| | | | | | | | | | | * test/ruby/test_system.rb: use envutil.rb * test/ruby/test_beginendblock.rb: added. * test/ruby/beginmainend.rb: added. used in test_beginendblock.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/runit/test_testresult.rb: removed some unnecessaryntalbott2003-10-052-17/+6
| | | | | | | cruft. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubyunit.rb: aliasing TestCase into the top level isntalbott2003-10-057-9/+721
| | | | | | | | | | | | problematic. * lib/runit/assert.rb: fixed a couple of bugs caused by recent refactoring in Test::Unit. * test/testunit/runit/*: added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (URI::Generic#find_proxy): no_proxy support did not work.nahi2003-10-052-3/+8
| | | | | | | [ruby-dev:21484] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: will use pp for output if available.ntalbott2003-10-053-10/+41
| | | | | | | | | | Can be disabled by setting Assertions.use_pp = false. * test/testunit/test_assertions.rb: made a small change to exception formatting. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: made small improvements to assertionntalbott2003-10-044-104/+100
| | | | | | | | | | | | messages. Deprecated Assertions#assert_not_nil; use #assert instead. * test/testunit/test_assertions.rb: ditto. * test/testunit/util/test_procwrapper.rb: use #assert instead of #assert_not_nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: refactored message building.ntalbott2003-10-042-108/+98
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* delete CVS confliction indicator. sorry.gotoyuzo2003-10-041-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.h: global symbols should be declaredgotoyuzo2003-10-042-18/+24
| | | | | | | as external. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_exception.rb (test_else): added.akira2003-10-042-0/+96
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-05eban2003-10-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): instance variable dump do not cause errormatz2003-10-047-29/+80
| | | | | | | | | | | | | | | | | | | | | | for objects that cannot be dumped, if they traversed from marshal_dump. they are just ignored. * gc.c (Init_stack): cast "space" (doble value) into unsigned int. should run on PowerPC. * eval.c (rb_eval): should not execute else part if any exception is caught. [ruby-dev:21482] * parse.y (f_args): should allow unparenthesized block argument. * parse.y (f_rest_arg): should allow unparenthesized rest argument. * lib/irb/ruby-lex.rb (RubyLex::identify_identifier): support 'class ::Foo' syntax. [ruby-talk:83514] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: changed assertion messages to rely morentalbott2003-10-043-64/+106
| | | | | | | | | | heavily on #inspect. Added backtrace filtering for exceptions in assertion messages. * test/testunit/test_assertions.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/acl.rb, lib/drb/ssl.rb: added.seki2003-10-041-0/+6
| | | | | | | * lib/drb/drb.rb: exit from a thread using 'break'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add lib/drb/acl.rb, lib/drb/ssl.rbseki2003-10-041-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add acl.rb, ssl.rbseki2003-10-042-0/+329
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* exit from a thread using 'break'seki2003-10-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: added these files:eban2003-10-041-0/+7
| | | | | | | | | | | | | test/uri/test_common.rb test/uri/test_ftp.rb test/uri/test_generic.rb test/uri/test_http.rb test/uri/test_ldap.rb test/uri/test_mailto.rb test/yaml/test_yaml.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (Init_stack): the type of space is changed to unsigned inteban2003-10-042-1/+6
| | | | | | | from double. [ruby-dev:21483] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/netHttpClient.rb: follow http-access2. hosts which matchesnahi2003-10-044-5/+43
| | | | | | | | | | | | | | | ENV['no_proxy'] or ENV['NO_PROXY'] is not proxyed. - [,:] separated. ("ruby-lang.org:rubyist.net") - no regexp. (give "ruby-lang.org", not "*.ruby-lang.org") - if you want specify hot by IP address, give full address. ("192.168.1.1, 192.168.1.2") * lib/soap/rpc/cgistub.rb: return "Status: XXX MMM" line. * test/runner.rb: give testsuite name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/ruby/trunk@4671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e