summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-10-13Add ext/enumerator, a helper module for the Enumerable interface.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* test/ruby/envutil.rb: use Config::CONFIG["ruby_install_name"],eban
not "ruby". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* eval.c (rb_feature_p): match by classified suffix.nobu
* eval.c (rb_require_safe): require library in the specified safe level. * variable.c (rb_autoload, rb_autoload_load): restore safe level when autoload was called. [ruby-dev:21338] * intern.h: prototypes; rb_require_safe. * test/runner.rb: accept non-option arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-132003-10-13eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* string.c (str_new4): should not preserve FL_TAINT status in thematz
internal shared string. [ruby-dev:21601] * string.c (rb_str_new4): ditto. * eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values. * process.c: ditto. [ruby-dev:38521] * lib/debug.rb (debug_command): should enter emacs mode when assigned any value to the environment variable "EMACS". On Meadow, (getenv "EMACS") is "meadow". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-122003-10-12eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-12* ext/win32ole/extconf.rb: check "windows.h", not "windows".eban
[ruby-talk:84051] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/rexml/quickpath.rb (REXML::QuickPath::match):eban
escape '[' to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11fix previous change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/pathname.rb (realpath): check existence of the file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/pathname.rb (realpath): re-implemented.akr
(realpath_root?, realpath_rec): removed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-112003-10-11eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/pathname.rb (realpath_rec): fix handling of symlink to absoluteakr
path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/monitor.rb: handle exceptions correctly. Thanks, Gennadyshugo
Bystritsky. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10* MANIFEST: add these files:eban
lib/rexml/encodings/ICONV.rb lib/rexml/encodings/UTF-8.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10* Forgot to update the MANIFEST, WRT the removal of files from theser
rexml/encodings directory * Missed a regexp speed optimization in rexml/parsers/baseparser.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10* Changes to the encoding mechanism. If iconv is found, it is used firstser
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-102003-10-10nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* eval.c (is_defined): inheritance line adjustment as like asnobu
rb_call_super(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* marshal.c (r_object0): remove unnecessary iv restoration formatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* ext/openssl/ossl_x509name.c (ossl_x509name_initialize): addgotoyuzo
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* eval.c (rb_thread_start_0): prevent thread from GC.nobu
[ruby-dev:21572] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* eval.c (rb_thread_start_0): non-volatile should be restored fromnobu
volatile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* eval.c (proc_save_safe_level, proc_get_safe_level,nobu
proc_set_safe_level): save/restore safe level 1..4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* pack.c (uv_to_utf8): change message to "out of range", sincematz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* eval.c (rb_set_end_proc, rb_exec_end_proc): restore safe level.nobu
[ruby-dev:21557] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09* eval.c (rb_yield_0): no error if block is empty.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-092003-10-09eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-09eval.c (eval): re-indented.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-08commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-08* eval.c (localjump_error): id should be ID.nobu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-082003-10-08eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-08* MANIFEST: add these files:eban
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-08 * lib/test/unit.rb: removed installation instructions.ntalbott
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07applied patch by OHARA Shigeki:mneumann
* use Apache::Request#headers_in instead of obsolete #headers methods * XMLRPC::ModRubyServer::new is no longer a singleton method git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* MANIFEST: add test/ruby/endblockwarn.rb.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* test/ruby/test_beginendblock.rb, test/ruby/endblockwarn.rb: commited oldernahi
version.. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* test/ruby/test_beginendblock.rb: add tests for nested BEGIN/END.nahi
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07define Fcntl::O_ACCMODE instead of Fcntl::ACCMODE to be consist withakr
other constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::ACCMODE.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* ext/socket/extconf.rb: useless assignment removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-07* test/ruby/test_beginendblock.rb (test_endinmethod): END{} is nownobu
allowed in eval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* parse.y (stmt): should not expand mrhs if lhs is solely starred.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* parse.y (stmt): rhs of multiple assignment should not bematz
expanded using "to_a". [ruby-dev:21527] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): use appropriategotoyuzo
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* lib/csv.rb (IOReader, BasicWriter): call binmode when a given IOnahi
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.akr
* ext/socket/socket.c (thread_read_select): restored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* marshal.c (w_object): wrong method name in the message.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-062003-10-06eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-06* parse.y (stmt): END in method should cause warning.matz
[ruby-dev:21519] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e