summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Changes to the encoding mechanism. If iconv is found, it is used firstser2003-10-1023-222/+183
| | | | | | | | | | | | | | | | for encoding changes. This should be the case on all 1.8 installations. When it isn't found (<1.6), the native REXML encoding mechanism is used. This cleaned out some files, and tightened up the code a bit; and iconv should be faster than the pure Ruby code. * Changed deprecated assert_not_nil to assert throughout the tests. * Parse exceptions are a little more verbose, and extend RuntimeError. * Bug fixes to XPathParser * The Light API is still shifting, like the sands of the desert. * Fixed a new Ruby 1.8.0 warning, added some speed optimizations, and tightened error reporting in the base parser git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-10nobu2003-10-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (is_defined): inheritance line adjustment as like asnobu2003-10-092-34/+51
| | | | | | | rb_call_super(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): remove unnecessary iv restoration formatz2003-10-096-51/+62
| | | | | | | | | | | | | | | | | | USRMARSHAL. [ruby-dev:21582] * marshal.c (w_object): dump generic instance variables from a string from '_dump'. * variable.c (rb_generic_ivar_table): return 0 if obj's FL_EXIVAR is not set. * time.c (time_dump): copy instance variables to dumped string, to be included in the marshaled data. * bignum.c (rb_big2ulong): add range check to ensure round trip. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): addgotoyuzo2003-10-093-7/+16
| | | | | | | | | | | | optional argument to specify the DirectoryString type (ASN1::UTF8STRING by default). RFC3280 deprecates PrintableString for DirectoryString, and strongly requires to use UTF8String for all certificates issued after December, 31 2003. * ext/openssl/lib/openssl/x509.rb (X509::Name::parse): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_0): prevent thread from GC.nobu2003-10-092-1/+7
| | | | | | | [ruby-dev:21572] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_start_0): non-volatile should be restored fromnobu2003-10-092-1/+7
| | | | | | | volatile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_save_safe_level, proc_get_safe_level,nobu2003-10-092-34/+10
| | | | | | | proc_set_safe_level): save/restore safe level 1..4. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (uv_to_utf8): change message to "out of range", sincematz2003-10-094-3/+20
| | | | | | | | | | negative values are not "too big". [ruby-dev21567] * marshal.c (w_object): should pass the value of "weak" to w_object(). [ruby-dev:21555] and [ruby-dev:21561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_set_end_proc, rb_exec_end_proc): restore safe level.nobu2003-10-092-0/+11
| | | | | | | [ruby-dev:21557] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): no error if block is empty.nobu2003-10-092-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-09eban2003-10-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (eval): re-indented.nobu2003-10-091-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2003-10-081-4/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (localjump_error): id should be ID.nobu2003-10-082-22/+50
| | | | | | | | | | | | | | | | | | | | * eval.c (rb_eval): nd_rval is set in copy_node_scope(). * eval.c (rb_yield_0): unused variable. * eval.c (rb_yield_0): nothing to do for empty node. * eval.c (call_end_proc, proc_invoke): adjust backtrace in END. [ruby-dev:21551] * eval.c (rb_thread_start_0): set the value by break as the result. [ruby-dev:21552] * eval.c (rb_thread_start_0, rb_thread_raise, rb_callcc): save variables across THREAD_SAVE_CONTEXT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-10-08eban2003-10-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add these files:eban2003-10-081-0/+4
| | | | | | | | | | lib/test/unit/autorunner.rb lib/test/unit/collector.rb lib/test/unit/collector/dir.rb test/testunit/collector/test_dir.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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