summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-11-18* lib/fileutils.rb (fu_each_src_dest): raise if src==dest. [ruby-talk:85344] ↵aamine
[ruby-core:01699] * lib/fileutils.rb: use Object#is_a? instead of Class#=== to allow e.g. remote objects for receivers. * lib/fileutils.rb: FileTest -> File. * lib/fileutils.rb: put parentheses for arguments of File.xxxx? * test/fileutils/test_fileutils.rb (test_cp): test "cp a a". * test/fileutils/test_fileutils.rb (test_mv): test "mv a a". * test/fileutils/test_fileutils.rb (test_ln): test "ln a a". * test/fileutils/test_fileutils.rb (test_ln_s): test "ln_s a a". * test/fileutils/test_fileutils.rb (test_install): test "install a a". * test/fileutils/fileasserts.rb: new method assert_symlink. * test/fileutils/fileasserts.rb: assert_is_directory -> assert_directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17class XMLRPC::Client:mneumann
* added attr_accessor :http_header_extra that can be used to add extra lines in HTTP header. * added attr_accessor :cookie - shortcut for setting/getting cookies * added attr_accressor :http_last_response that holds the last HTTP response. Usefull when needed to extract information from HTTP header (e.g. cookies, keep alive...) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17MANIFEST: add this file:eban
+lib/test/unit/ui/gtk2/testrunner.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-172003-11-17nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17* lib/optparse.rb (OptionParser::Completion::complete): allow leastnobu
common completion for three or more candidates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17* lib/test/unit/autorunner.rb (keyword_display): sort keywords.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17* lib/test/unit/ui/tk/testrunner.rb,nobu
lib/test/unit/ui/gtk/testrunner.rb: run GUI main loop in sub thread. * lib/test/unit/ui/gtk2/testrunner.rb: imported from rough. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-16* eval.c (rb_eval): iterator should return value from next insidenobu
begin/rescue/end. (ruby-bugs:PR#1218) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-162003-11-16eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-16* eval.c (eval): prepend error position in evaluating string tomatz
"mesg" attribute string only when it's available and is a string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-16* lib/net/protocol.rb: logging response body. [experimental] [ruby-list:38800]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-16 * lib/thread.rb (Thread.exclusive): wrap method definition ingsinclair
class Thread to enable rdoc to process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-16* lib/net/http.rb (set_debug_output): last commit was wrong.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-16* lib/net/http.rb (set_debug_output): warn if method is called after #start. ↵aamine
[ruby-dev:38798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15* eval.c (eval): do not re-raise exception to avoid unnecessarymatz
exception copying, instead modify exception and internal information to adjust eval(). * eval.c (backtrace): can return the current frame information only if lev < -1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15* /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext):gotoyuzo
refine error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-152003-11-15eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15* lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):akr
refactored to support options. (Buffer): maintain size by this class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-15* hash.c: remove unnecessary update.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-14* eval.c (rb_method_node): new API to retrieve method body.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-142003-11-14eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-14* ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)nagai
* ext/tk/lib/tkdialog.rb: TkDialog.new accepts the parent widget [ruby-talk:85066] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13inconsistency of the arguments for respond_to? in previous change is fixed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13Merge the patch of [ruby-ext:02242]. (Thanks, Masahiro Sakai)ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.akr
[ruby-ext:02251] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow (if available)nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.akr
reported by Take_tk <ggb03124@nifty.ne.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* ext/openssl/ossl_x509req.c (ossl_x509req_to_der): add function forgotoyuzo
X509::Request#to_der. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-132003-11-13eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-13* lib/optparse.rb (OptionParser::Completion#complete): prior shorternobu
name to containing longer name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12* ext/tk/lib/tk.rb,multi-tk.rb: stop freezing some classesnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12* lib/test/unit/assertions.rb (assert_throws, assert_nothing_thrown):nobu
uncaught throw in sub thread raises ThreadError. * lib/test/unit/ui/tk/testrunner.rb (setup_ui): "expand" is not necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12* test/monitor/test_monitor.rb: fix the timing problem by Queue.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12* test/monitor/test_monitor.rb: added.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-122003-11-12eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-12* lib/monitor.rb: refactored. Thanks, Gennady Bystritsky.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11* ext/openssl/ossl.c (ossl_x509_sk2ary, ossl_x509crl_sk2ary): addgotoyuzo
functions to convert STACK into Array. * ext/openssl/ossl.h: add prototypes. * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_set_certificates, ossl_pkcs7_get_certificates, ossl_pkcs7_get_crls, ossl_pkcs7_set_crls): add functions for PKCS7#certificates= PKCS7#certificates, PKCS7#crls= and PKCS7#crls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 * lib/test/unit/ui/testrunnermediator.rb: should require 'test/unit'.ntalbott
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11 * lib/test/unit/ui/gtk/testrunner.rb: added a rescue clause to handlentalbott
the case when the requested font is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11* io.c (appendline): file may not end with newline. a bug ifmatz
READ_DATA_PENDING_PTR is defined. [ruby-talk:84925] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11fixed CDATA parsing for XMLScanParser and REXMLStreamParsermneumann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-112003-11-11eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-11* ext/tk/lib/tk.rb: raise an exception when creating TkWindownagai
object, because TkWindow class is an abstract class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-10* lib/ext/openssl/ossl_conf.c (ossl_config_get_value): return nilgotoyuzo
if the specified value doesn't exist. * lib/ext/openssl/ossl_conf.c (ossl_config_get_section): return a empty hash if the specified section doesn't exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-10* lib/monitor.rb (wait): return true on signal/broadcastfalse andshugo
false on timeout. Thanks Gennady Bystritsky. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-092003-11-10eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-09* parse.y (primary): primary_value may be 0 when syntax error.nobu
[ruby-talk:84893] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08 * lib/test/unit/assertions.rb: un-deprecated #assert_not_nil tontalbott
maintain symmetry with #assert_nil. Also added better output for #assert_kind_of. * test/testunit/tc_assertions.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08Bugfix for DL::Types::encode_type.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-08* ext/dl/sym.c: typo fix(lasterror -> last_error).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e