summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ChangeLog: typo.nobu2009-02-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): just freeze xstr.nobu2009-02-122-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence, compile_dstr_fragments),nobu2009-02-122-2/+11
| | | | | | | (iseq_compile_each): hides other internal objects. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defineclass): try to autoload const to be overridden.nobu2009-02-123-0/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-13svn2009-02-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update with branches/ruby_1_9_1/NEWS.knu2009-02-121-82/+298
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (vm_xmalloc, vm_xrealloc): comparisons had no meanings onnobu2009-02-121-2/+2
| | | | | | | platforms where size_t is unsigned. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_fork): initialization with dynamic values is notnobu2009-02-121-1/+3
| | | | | | | allowed in C89. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_socket.rb (test_udp_server): filter out unreachableakr2009-02-122-0/+8
| | | | | | | addresses. [ruby-dev:37970] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (hide_obj): OBJ_FREEZE() is not an expression. a patchnobu2009-02-122-2/+9
| | | | | | | | | 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
* updated.akr2009-02-121-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test only if Socket::AncillaryData exists.akr2009-02-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/basicsocket.c (bsock_getpeereid): implemented for Solarisakr2009-02-124-0/+25
| | | | | | | | | | | | 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
* * compile.c (compile_array_, defined_expr, iseq_compile_each): hidenobu2009-02-126-11/+41
| | | | | | | | | | | | | | 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
* * test/stringio/test_stringio.rb (test_ungetc_pos): added.nobu2009-02-121-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_ungetc): calculates new positionnobu2009-02-122-1/+7
| | | | | | | before reallocation. [Bug#1099] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: a patch to build on GNU/kOpenSolaris from Robertnobu2009-02-122-4/+9
| | | | | | | Millan at [ruby-core:21888]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c: inline should be at beginning of declaration.nobu2009-02-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (simple_default_value): allow plain strings as defaultmatz2009-02-122-0/+8
| | | | | | values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc [ruby-core:20407] #835gotoken2009-02-111-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-12svn2009-02-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test updated.akr2009-02-111-23/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (define_final, undefine_final): shouldn't add/remove finalizerusa2009-02-112-0/+11
| | | | | | | | | | | 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
* update rdoc.akr2009-02-111-7/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the blockakr2009-02-112-5/+18
| | | | | | | | | 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
* * ext/socket/lib/socket.rb (Socket.tcp_server_sockets): call the blockakr2009-02-112-30/+48
| | | | | | | | | 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
* rdoc update.akr2009-02-111-2/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.unix_server_loop): useakr2009-02-112-4/+8
| | | | | | | | unix_server_socket with a block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.unix_server_socket): close theakr2009-02-113-0/+9
| | | | | | | | socket when the block exits. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.unix_server_socket): call the blockakr2009-02-113-1/+26
| | | | | | | | 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
* * ext/socket/ancdata.c (ancillary_s_ip_pktinfo): make 3rd argumentakr2009-02-113-3/+19
| | | | | | | | optional. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_make_shared): returns shared root array itself, andnobu2009-02-112-3/+20
| | | | | | | frozen array can be shared. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-stylenobu2009-02-110-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (setspecial, putstring): fixed typos in rdoc.nobu2009-02-112-4/+11
| | | | | | | | * 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
* * ext/socket/ancdata.c (anc_inspect_socket_rights): return 1 onakr2009-02-112-63/+105
| | | | | | | | | | | | | | | | 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
* add tests.akr2009-02-111-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-02-111-0/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename tests classes.akr2009-02-116-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-02-111-0/+56
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (anc_inspect_ip_pktinfo): make result bitakr2009-02-112-4/+102
| | | | | | | | | succinct. (Init_ancdata): fix number of arguments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ipsocket.c (Init_ipsocket): undef getpeereid at IPSocket.akr2009-02-112-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-02-111-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add getpeereid.akr2009-02-111-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check getpeereid.akr2009-02-114-0/+59
| | | | | | | | * 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
* * ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variableakr2009-02-112-1/+6
| | | | | | | name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-02-101-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-11svn2009-02-101-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_gethostname): use HOST_NAME_MAX.akr2009-02-103-4/+13
| | | | | | | | * 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
* * ext/socket/init.c (struct recvfrom_arg): use structakr2009-02-104-21/+36
| | | | | | | | | | | | | | | | | | 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
* * ext/socket/basicsocket.c (bsock_getpeername): use structakr2009-02-102-9/+16
| | | | | | | | | | 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