aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * iseq.c: remove nil parameter from Proc#parameterstakano322009-02-142-2/+5
| | | | | | | after rest appeared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_external_str_new_with_enc): change evaluatioin ordernaruse2009-02-132-2/+7
| | | | | | for speed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/sockport.h (SET_SA_LEN): cast to void for supressing aakr2009-02-132-2/+7
| | | | | | | warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-14svn2009-02-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc.akr2009-02-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a constant: IFNAMSIZ.akr2009-02-131-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-132-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/win32/lib/Win32API.rb (Win32API#initialize): DL.dlopennobu2009-02-132-0/+7
| | | | | | | raises DLError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (iseq): added.nobu2009-02-131-3/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (Init_socket): define TCPServer#listen andakr2009-02-134-2/+11
| | | | | | | UNIXServer#listen here for rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-131-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (extract_ipv6_pktinfo): set sa_len for 4.4BSD.akr2009-02-132-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{proc,method}.rb: updated tests.nobu2009-02-132-25/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo (1 -> 0).ko12009-02-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (simple_default_value): removed. default values of optionalnobu2009-02-132-35/+5
| | | | | | | parameters are not available still now. [ruby-dev:37980] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): use rb_vm_get_ruby_level_next_cfp()ko12009-02-134-3/+11
| | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_alive_p): fix to return true instead of 1.ko12009-02-133-1/+17
| | | | | | | | | [ruby-dev:37991] * test/ruby/test_fiber.rb: add a test for Fiber#alive? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_flock): using flock defined innobu2009-02-132-0/+6
| | | | | | | win32/win32.c on mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: typo.nobu2009-02-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): just freeze xstr.nobu2009-02-122-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-13svn2009-02-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update with branches/ruby_1_9_1/NEWS.knu2009-02-121-82/+298
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-02-121-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test only if Socket::AncillaryData exists.akr2009-02-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc [ruby-core:20407] #835gotoken2009-02-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-12svn2009-02-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test updated.akr2009-02-111-23/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-02-111-7/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-111-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e