| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
instead of vm_get_ruby_level_caller_cfp(). checking a upper frame
is not enough. [ruby-dev:37984]
* proc.c, vm_core.h: declare rb_vm_get_ruby_level_next_cfp()
on vm_core.h.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
[ruby-dev:37991]
* test/ruby/test_fiber.rb: add a test for Fiber#alive?
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
win32/win32.c on mingw.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
(iseq_compile_each): hides other internal objects.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
addresses. [ruby-dev:37970]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
from nagachika <nagachika00 AT gmail.com> at [ruby-dev:37977].
* compile.c (insn_set_sc_state): fixed typoe.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
| |
using getpeerucred.
* ext/socket/extconf.rb: check ucred.h and getpeerucred.
* ext/socket/rubysocket.h: include ucred.h if available.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and freeze internal literal objects, to prevent from modifying.
[ruby-dev:37959]
* iseq.c (insn_operand_intern): copy internal literal objects.
* insns.def (putstring, duparray): ditto.
* string.c (rb_str_replace): exported.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
before reallocation. [Bug#1099]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
Millan at [ruby-core:21888].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
| |
values.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
of forzen objects.
* gc.c (undefine_final): should remove FL_FINALIZE flag.
[ruby-dev:37964] (also see [ruby-dev:37959])
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
if given. close the sockets when the block exits.
(Socket.udp_server_loop): use udp_server_sockets in block form.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
if given. close the sockets when the block exits.
(Socket.tcp_server_loop): use tcp_server_sockets in block form.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
unix_server_socket with a block.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
socket when the block exits.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
if given. remove the socket file when the block exits.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
optional.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
frozen array can be shared.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* insns.def (toregexp): uses rb_ary_tmp_new(), and clears it after
used.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
success. 0 on failure.
(anc_inspect_passcred_credentials): ditto.
(anc_inspect_socket_creds): ditto.
(anc_inspect_socket_creds): ditto.
(anc_inspect_socket_creds): ditto.
(anc_inspect_ip_recvdstaddr): ditto.
(anc_inspect_ip_pktinfo): ditto.
(anc_inspect_ipv6_pktinfo): ditto.
(ancillary_inspect): check family.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
| |
succinct.
(Init_ancdata): fix number of arguments.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* ext/socket/basicsocket.c (bsock_getpeereid): new method.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
name.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
* ext/socket/raddrinfo.c (make_ipaddr): local variable renamed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sockaddr_storage.
(recvfrom_blocking): follow struct recvfrom_arg change.
(s_recvfrom): ditto.
(s_recvfrom_nonblock): use struct sockaddr_storage.
* ext/socket/socket.c (sock_accept): use struct sockaddr_storage.
(sock_accept_nonblock): ditto.
(sock_sysaccept): ditto.
* ext/socket/ancdata.c (bsock_recvmsg_internal): use struct
sockaddr_storage.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
sockaddr_storage.
(bsock_local_address): ditto.
(bsock_remote_address): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
(Socket.udp_server_loop_on): new method.
(Socket.udp_server_loop): new method
(Socket.ip_sockets_port0): extracted from tcp_server_sockets_port0.
(Socket::UDPSource): new class.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
(sockopt_bool): new method.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
| |
(sockopt_level_m): renamed from sockopt_level.
(sockopt_optname_m): renamed from sockopt_optname.
(inspect_local_peercred): follow the renaming.
(Init_sockopt): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
a rb_str_cat2 call.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
| |
cmsg_type_to_sym.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
| |
* ext/socket/option.c (sockopt_inspect): use intern_family_noprefix
not to show AF_ prefix.
* ext/socket/ancdata.c (ancillary_inspect): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
non internet protocol.
(optname_arg): use only so_optname_to_int for non internet protocol.
(cmsg_type_arg): use only scm_optname_to_int for non internet
protocol.
* ext/socket/mkconstants.rb: generate unknown_level_to_int.
rename iplevel_to_int to ip_level_to_int.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rename intern_level to intern_iplevel.
* ext/socket/constants.c: follow the renaming.
* ext/socket/option.c: ditto.
* ext/socket/ancdata.c: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(optname_arg): ditto.
(cmsg_type_arg): ditto.
(rb_sock_getfamily): declared.
* ext/socket/constants.c (level_arg): add family argument.
(optname_arg): ditto.
(cmsg_type_arg): ditto.
* ext/socket/init.c (rb_sock_getfamily): defined.
* ext/socket/option.c (sockopt_initialize): give family for level_arg
and optname_arg.
(sockopt_s_int): ditto.
* ext/socket/basicsocket.c (bsock_setsockopt): ditto.
(bsock_getsockopt): ditto.
* ext/socket/ancdata.c (ancillary_initialize): ditto.
(ancillary_s_int): ditto.
(ancillary_cmsg_is_p): ditto.
(bsock_sendmsg_internal): ditto.
(bsock_recvmsg_internal): use rb_sock_getfamily.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
| |
case IMultiLanguage is not available. [ruby-dev:37950]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(inspect_uint): ditto.
(inspect_linger): ditto.
(inspect_socktype): ditto.
(inspect_timeval): ditto.
(inspect_peercred): ditto.
(inspect_local_peercred): ditto.
(sockopt_inspect): refactored.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|