aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix markups and grammar.knu2003-11-212-32/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.1: wrote about ruby related environment variables.aamine2003-11-212-0/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-21eban2003-11-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * check existence of "pthread.h"nagai2003-11-204-7/+18
| | | | | | | * define is_ruby_native_thread() macro when not HAVE_NATIVETHREAD git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb: use #__send__ instead of #send.ntalbott2003-11-203-5/+11
| | | | | | | * lib/test/unit/testcase.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't find the Cygwin's pthread library on MinGW.eban2003-11-202-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (have_st_ino?): emx (OS/2 with EMX) does not have st_ino ↵aamine2003-11-203-21/+37
| | | | | | | | | | (always 0). [ruby-dev:21972] * lib/fileutils.rb (rename_cannot_overwrite_file?): emx does not allow overwriting files by rename(2). * test/fileutils/test_fileutils.rb: windows? -> have_drive_letter?, have_file_perm? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-20eban2003-11-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkballoonhelp.rb: new sample scriptnagai2003-11-205-0/+865
| | | | | | | | * ext/tk/sample/tkmultilistbox.rb: ditto * ext/tk/sample/tktextframe.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: define is_ruby_native_thread() for no native thread environmentnagai2003-11-203-3/+13
| | | | | | | * eval.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: always check existence of the pthread librarynagai2003-11-205-83/+93
| | | | | | | | | * ruby.h: define macros for ruby's native thread check * eval.c: add ruby's native thread check * gc.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-19eban2003-11-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (to_ary): print more friendly warning message.aamine2003-11-192-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_same?): add djgpp and wince.aamine2003-11-192-4/+12
| | | | | | | * lib/fileutils.rb (cannot_overwrite?): add wince. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (cannot_overwrite_file?, have_st_ino?): bccwin32usa2003-11-192-2/+7
| | | | | | | is same as mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: do not run tests if $! is set.ntalbott2003-11-183-2/+9
| | | | | | | | * lib/test/unit/assertionfailederror.rb: extend StandardError instead Exception (irb catches the former but not the latter). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/memmove.c (memmove): take void *, not char *.eban2003-11-183-7/+17
| | | | | | | | * missing.h (memmove): ditto. * missing.h (strchr, strrchr): return char *, not int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_same?): temporal fix for windows.aamine2003-11-182-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* MANIFEST: add test/stringio/test_stringio.rb.eban2003-11-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_same?): check by inode instead of path name, to ↵aamine2003-11-183-35/+16
| | | | | | | | | detect two hard links pointing to the same content. * test/fileutils.rb: did not create correctly looped symlinks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/stringio/test_stringio.rb: imported from [ruby-dev:21941].nobu2003-11-183-2/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_read): behave as IO at empty string.nobu2003-11-182-6/+37
| | | | | | | | | | | | [ruby-dev:21939] * ext/stringio/stringio.c (strio_getc, strio_getline): set EOF flag. * ext/stringio/stringio.c (strio_rewind, strio_seek, strio_ungetc): clear EOF flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-18nobu2003-11-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_each_src_dest): raise if src==dest. [ruby-talk:85344] ↵aamine2003-11-184-34/+175
| | | | | | | | | | | | | | | | | | [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
* class XMLRPC::Client:mneumann2003-11-171-0/+35
| | | | | | | | | | | | | | * 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
* MANIFEST: add this file:eban2003-11-171-0/+1
| | | | | | | +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-17nobu2003-11-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Completion::complete): allow leastnobu2003-11-172-4/+16
| | | | | | | common completion for three or more candidates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/autorunner.rb (keyword_display): sort keywords.nobu2003-11-172-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/tk/testrunner.rb,nobu2003-11-175-35/+546
| | | | | | | | | | 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
* * eval.c (rb_eval): iterator should return value from next insidenobu2003-11-162-4/+16
| | | | | | | 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-16eban2003-11-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): prepend error position in evaluating string tomatz2003-11-162-4/+12
| | | | | | | | "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
* * lib/net/protocol.rb: logging response body. [experimental] [ruby-list:38800]aamine2003-11-162-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (Thread.exclusive): wrap method definition ingsinclair2003-11-162-10/+17
| | | | | | | class Thread to enable rdoc to process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (set_debug_output): last commit was wrong.aamine2003-11-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (set_debug_output): warn if method is called after #start. ↵aamine2003-11-162-0/+6
| | | | | | [ruby-dev:38798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): do not re-raise exception to avoid unnecessarymatz2003-11-153-51/+79
| | | | | | | | | | | 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
* * /ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext):gotoyuzo2003-11-152-2/+10
| | | | | | | refine error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-15eban2003-11-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open):akr2003-11-152-17/+25
| | | | | | | | 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
* * hash.c: remove unnecessary update.matz2003-11-151-9/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_method_node): new API to retrieve method body.matz2003-11-145-2/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-11-14eban2003-11-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)nagai2003-11-144-12/+21
| | | | | | | * 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
* inconsistency of the arguments for respond_to? in previous change is fixed.akr2003-11-132-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge the patch of [ruby-ext:02242]. (Thanks, Masahiro Sakai)ttate2003-11-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed.akr2003-11-132-8/+25
| | | | | | | [ruby-ext:02251] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/tk/testrunner.rb: use grid and panedwindow (if available)nagai2003-11-132-12/+51
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY.akr2003-11-132-1/+6
| | | | | | | 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