aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * instruby.rb (install): erased a garbage.nobu2009-01-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.nobu2009-01-123-28/+75
| | | | | | | | * win32/win32.c (winnt_stat): gets rid of strange behavior of GetFileAttributes(). [ruby-core:21269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-01-121-15/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed indent and removed trailing spaces.nobu2009-01-121-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (parse_args, install): added --strip option.nobu2009-01-122-14/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xmalloc, ruby_xrealloc, ruby_xfree):ko12009-01-122-8/+89
| | | | | | | | | | enable to use them without GVL. if GC is invoked, acquire GVL during GC. if NoMemoryError is raised, acquire GVL and raise it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (install_recursive): skips the directory if matchednobu2009-01-122-16/+53
| | | | | | | to a no_install pattern ending with a file separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: don't use bytesize because 1.9 dependent.akr2009-01-122-1/+6
| | | | | | | [ruby-core:21266] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: fix comment (terminology: Global VM Lock).ko12009-01-123-6/+56
| | | | | | | | | | | | * thread.c (blocking_region_begin, blocking_region_end): save and clear th->blocking_region_buffer. * thread.c (rb_thread_call_with_gvl): check if it has GVL. * thread.c (ruby_thread_has_gvl_p): added. * vm_core.h: add decls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove unused decl.ko12009-01-123-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove PercentScanner. fixed % after %> bug. [ruby-dev:37751] [Bug #997]seki2009-01-113-34/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_wait_and_sigchild):naruse2009-01-111-0/+1
| | | | | | | Add rescue NotImplementedError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (c_str): get rid of a 1.9 feature fornobu2009-01-112-1/+6
| | | | | | | cross compile. [ruby-core:21243] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_s_create): set nil as the value if assoc lengthnobu2009-01-112-3/+14
| | | | | | | is not enough. [ruby-core:21249] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add constants.akr2009-01-101-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-01-101-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-11svn2009-01-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-01-101-2/+711
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: don't generate unintended newlines.akr2009-01-102-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test update for version string.akr2009-01-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: refactored to nest properly in staticallyakr2009-01-102-23/+39
| | | | | | | and dynamically. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: make version string succinct:akr2009-01-102-5/+11
| | | | | | | "ruby 1.9.1p5000 (2009-01-10 trunk 21414) [i686-linux]". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_restore_1): should not be inlined.ko12009-01-103-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_define_const): use INT2NUM.akr2009-01-092-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: define macro if default_value is passed.usa2009-01-092-4/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: rescue abnormal Encoding.locale_charmap value.nagai2009-01-092-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (test-sample), rubytest.rb: use runruby.rbnobu2009-01-093-28/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-09svn2009-01-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess::MANDATORY_ENVS): somenobu2009-01-092-5/+32
| | | | | | | platforms need environments for shared objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: forgotten to commit.usa2009-01-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: easy code contains fewer bugs.usa2009-01-081-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_shutdown): accept symbol/string as how.akr2009-01-084-6/+22
| | | | | | | | | | (shutdown_how_arg): new function. * ext/socket/mkconstants.rb: generate shutdown_how_to_int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (gen_name_to_int_func): generateakr2009-01-082-52/+26
| | | | | | | name_to_int functions, not only body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: don't use AI_NUMERICSERV for platforms whichakr2009-01-082-1/+14
| | | | | | | | not define it as old Windows. [ruby-dev:37736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: should not depend on a library which does not existnobu2009-01-082-5/+13
| | | | | | | in 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_unix_addrinfo): don't return a value.akr2009-01-072-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.akr2009-01-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-01-071-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_no_match): don't count up as twoakr2009-01-072-0/+6
| | | | | | | assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (addrinfo_getnameinfo): use NI_DGRAM if socktypeakr2009-01-072-0/+8
| | | | | | | is SOCK_DGRAM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-08svn2009-01-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (host_str): add flags_ptr argument to specifyakr2009-01-072-5/+18
| | | | | | | | | AI_NUMERICHOST if host is numeric form. (port_str): add flags_ptr argument to specify AI_NUMERICSERV if port is numeric form. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem.rb (test_self_user_home_user_drive_and_path): removed.nobu2009-01-071-22/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo.akr2009-01-074-14/+1135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (s_recvfrom): return AddrInfo as address. (s_recvfrom_nonblock): ditto. (sock_accept): ditto. (sock_accept_nonblock): ditto. (sock_sysaccept): ditto. (bsock_send): accept AddrInfo as address argument. (sock_connect): ditto. (sock_connect_nonblock): ditto. (sock_bind): ditto. (sock_s_unpack_sockaddr_in): ditto. (sock_s_unpack_sockaddr_un): ditto. (bsock_local_address): new method BasicSocket#local_address. (bsock_remote_address): new method BasicSocket#remote_address. (addrinfo_initialize): new method AddrInfo#initialize. (addrinfo_inspect): new method AddrInfo#inspect. (addrinfo_afamily): new method AddrInfo#afamily. (addrinfo_pfamily): new method AddrInfo#pfamily. (addrinfo_socktype): new method AddrInfo#socktype. (addrinfo_protocol): new method AddrInfo#protocol. (addrinfo_to_sockaddr): new method AddrInfo#to_sockaddr. (addrinfo_canonname): new method AddrInfo#canonname. (addrinfo_ip_p): new method AddrInfo#ip?. (addrinfo_ipv4_p): new method AddrInfo#ipv4?. (addrinfo_ipv6_p): new method AddrInfo#ipv6?. (addrinfo_unix_p): new method AddrInfo#unix?. (addrinfo_getnameinfo): new method AddrInfo#getnameinfo. (addrinfo_s_getaddrinfo): new method AddrInfo.getaddrinfo. (addrinfo_s_tcp): new method AddrInfo.tcp. (addrinfo_s_udp): new method AddrInfo.udp. (addrinfo_s_unix): new method AddrInfo.unix. (Init_socket): define new class and methods. (sock_getaddrinfo): apply socktype hack regardless of ai_flags. (addrinfo_new): defined. (get_afamily): ditto. (fd_socket_addrinfo): ditto. (io_socket_addrinfo): ditto. (SockAddrStringValue): ditto. (SockAddrStringValuePtr): ditto. (sockaddr_string_value): ditto. (sockaddr_string_value_ptr): ditto. (rb_addrinfo_t): ditto. (addrinfo_mark): ditto. (addrinfo_free): ditto. (addrinfo_s_allocate): ditto. (IS_ADDRINFO): ditto. (check_addrinfo): ditto. (get_addrinfo): ditto. (alloc_addrinfo): ditto. (init_addrinfo): ditto. (addrinfo_new): ditto. (call_getaddrinfo): ditto. (init_addrinfo_getaddrinfo): ditto. (make_inspectname): ditto. (addrinfo_firstonly_new): ditto. (addrinfo_list_new): ditto. (init_unix_addrinfo): ditto. (ai_get_afamily): ditto. * ext/socket/mkconstants.rb: generate intern_protocol_family, intern_socktype and intern_ipproto. [ruby-dev:37692] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (man, gem): fixed errors.nobu2009-01-072-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: use installed libraries. [ruby-core:21006]nobu2009-01-071-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir):nobu2009-01-074-40/+39
| | | | | | | use version invariant configuration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-07svn2009-01-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_getaddrinfo, ruby_getaddrinfo__aix):nobu2009-01-071-26/+21
| | | | | | | | | constified. * ext/socket/socket.c (ruby_getnameinfo__aix): protoized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (io_call_close, io_close, pair_yield):nobu2009-01-062-2/+3
| | | | | | | | | | unused unless socketpair exists. * ext/socket/getnameinfo.c (getnameinfo): moved conditinally used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e