1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
akr 55b2bf4dec * ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo.
(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
2009-01-07 14:20:15 +00:00
..
bigdecimal * ext/bigdecimal/bigdecimal.c (VpToString): reverted modification 2008-12-16 13:10:35 +00:00
continuation
coverage * ext/coverage/coverage.c (rb_mCoverage): removed unneeded static variable. 2008-08-31 04:48:02 +00:00
curses * ext/curses/curses.c (free_window): use xfree instead of free. 2009-01-05 07:16:12 +00:00
dbm * ext/dbm/dbm.c (fdbm_index): make #index warn like Hash. 2008-11-07 22:07:05 +00:00
digest * ext/digest/md5/md5init.c (md5), ext/digest/rmd160/rmd160init.c 2008-09-01 07:48:53 +00:00
dl * ext/dl/test/test_import.rb: fix a prototype decl. 2008-12-30 08:05:06 +00:00
etc * ext/etc/etc.c (sGroup): getgrent may not be available. 2008-10-26 09:07:37 +00:00
fcntl
fiber
gdbm * ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast. 2009-01-05 06:53:42 +00:00
iconv * ext/iconv/iconv.c (strip_glibc_option, map_charset): check if 2008-10-21 02:34:07 +00:00
io/wait * ext/io/wait/wait.c (io_nread): returns number of bytes available 2008-12-29 09:07:20 +00:00
json * ext/json/ext/parser/parser.c (JSON_parse_string): 2008-10-10 08:28:19 +00:00
mathn * complex.c (nucomp_canonicalization): renamed. 2008-12-12 23:40:55 +00:00
nkf * nkf.c: update to r1.188. fixes for 16bit environment. 2008-11-07 02:59:38 +00:00
openssl * ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): show openssl error 2008-12-31 08:18:12 +00:00
pty * process.c (rb_fork): propagete an error message from child to parent. 2008-12-23 13:15:54 +00:00
racc/cparse
readline * ext/readline/readline.c 2008-12-12 16:13:11 +00:00
ripper * Makefile.in (ext-clean): ext-clean always fails. 2008-12-29 05:51:31 +00:00
sdbm * ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash. 2008-11-08 03:15:28 +00:00
socket * ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo. 2009-01-07 14:20:15 +00:00
stringio * io.c (rb_io_getc, rb_io_readchar): documentation correction from 2008-12-03 03:22:12 +00:00
strscan * ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement. 2008-08-31 02:43:17 +00:00
syck * ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a value 2008-11-19 08:49:51 +00:00
syslog * ext/syslog/syslog.c (mSyslog_open): Use of Check_SafeStr() is 2008-08-12 09:35:12 +00:00
tk * ext/tk/tcltklib.c: fix wrong flag value. 2008-12-22 09:04:14 +00:00
win32ole * ext/win32ole/win32ole.c (fole_s_connect, fole_initialize, 2008-11-06 12:38:49 +00:00
zlib * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining 2008-11-02 07:41:56 +00:00
.cvsignore
.document * ext/.document: added readline/readline.c. 2008-08-07 15:06:36 +00:00
extmk.rb * ext/extmk.rb (extmake): does not use both of makefile.rb and 2009-01-04 02:11:33 +00:00
purelib.rb * ext/purelib.rb: get rid of recent feature. [ruby-dev:34864] 2008-05-28 09:10:50 +00:00
Setup
Setup.atheos
Setup.emx
Setup.nt