aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/intern.h, thread.c, win32/Makefile.sub (rb_fdset_t,usa2009-01-135-39/+139
| | | | | | | | | | | | | | | rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr, rb_fd_isset, rb_fd_select, rb_fd_ptr, rb_fd_max, HAVE_RB_FD_INIT): new type, functions, and macros for Windows. * win32/win32.c (extract_fd, rb_w32_select): use rb_fdset_t to expand fd_array if needed. [ruby-core:19946] * win32/win32.c (copy_fd): new funcion for rb_w32_select(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb (get_revisions): fixes problem withyugui2009-01-132-3/+12
| | | | | | | svn on cygwin. [ruby-dev:37702]. Patch by Kouhei Sutou. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/input-method.rb: IRB did not prompt for MSwin32.yugui2009-01-132-2/+8
| | | | | | | [ruby-dev:37686]. Patch by arton <artonx AT yahoo.co.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.husa2009-01-133-0/+7
| | | | | | | | on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit miss in previous commit.duerst2009-01-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/socket.c: removed warning about unused variable 'rai'.duerst2009-01-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: require "tool/mdoc2man.rb" before chdir if needed.usa2009-01-122-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: use headers instead of "netdb.h" in checkingusa2009-01-123-3/+13
| | | | | | | | | | | | | getnameinfo() and getaddrinfo() because Windows doesn't have it. see [ruby-dev:37757]. * ext/socket/sockport.h (SA_LEN): use sockaddr_in6 when defined AF_INET6 if INET6 is not defined. winsock2's getaddrinfo() returns sockaddr_in6 if ipv6 is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe Encoding.find("locale") in rdoc of Encoding.locale_charmap.akr2009-01-121-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2009-01-120-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (internal_cmd_match): extracted fromnobu2009-01-123-16/+45
| | | | | | | | | | | | | is_internal_cmd. * win32/win32.c (argv_size, join_argv): escapes redirection, pipe and carret punctuations with carrets. * win32/win32.c (rb_w32_aspawn): ditto, and redirections and pipe have no meanings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: use Encoding.find("locale") instaed ofnagai2009-01-122-2/+8
| | | | | | | Encoding.locale_charmap git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-13svn2009-01-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too shortakr2009-01-123-0/+18
| | | | | | | | sockaddr. (sock_s_unpack_sockaddr_un): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (addrinfo_ip_unpack): new methodakr2009-01-123-1/+88
| | | | | | | | | AddrInfo#ip_unpack. (addrinfo_unix_path): new method AddrInfo#unix_path. (Init_socket): define above methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans: ignore files generated in build.usa2009-01-120-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (IS_IP_FAMILY): defined.akr2009-01-122-6/+12
| | | | | | | (addrinfo_ip_p): use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for AddrInfo.akr2009-01-121-0/+300
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_nothing_raised): removes thenobu2009-01-122-3/+18
| | | | | | | current trace to get rid of an issue of MiniTest::Unit#location. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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