aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_idakr2013-05-062-0/+26
| | | | | | | | | if getifaddrs() returns an IPv6 link local address which sin6_scope_id is zero, such as on OpenIndiana SunOS 5.11. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compar.c (Comparable#==): fix typo.eregon2013-05-061-1/+1
| | | | | | Patch by Andrew Grimm. [Fix GH-297] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-06svn2013-05-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-05-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: Fix a typo.xibbar2013-05-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/refinements.rdoc : Fix a missing quoteeregon2013-05-051-1/+1
| | | | | | Patch by Robin Dupret. [Fix GH-271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_defined.rb (TestDefined#test_super_toplevel):nobu2013-05-051-0/+5
| | | | | | additional test for r40584. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: refactor by wanabenobu2013-05-053-21/+32
| | | | | | | | | | | | * insns.def (defined): use vm_search_superclass() like as normal super call. based on a patch <https://gist.github.com/wanabe/5520026> by wanabe. * vm_insnhelper.c (vm_search_superclass): return error but not raise exceptions. * vm_insnhelper.c (vm_search_super_method): check the result of vm_search_superclass and raise execptions on error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: method entry from method framenobu2013-05-053-0/+32
| | | | | | | * insns.def (defined): get method entry from the method top level frame, not block frame. [ruby-core:54769] [Bug #8367] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: default LINK_SOnobu2013-05-051-2/+2
| | | | | | | * configure.in: should not strip newline at the beginning for the default link command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: keep POSTLINKnobu2013-05-051-2/+2
| | | | | | * configure.in: keep POSTLINK in LINK_SO macro till rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.pc.in: rubyarchhdrdirnobu2013-05-052-1/+9
| | | | | | | * template/ruby.pc.in (Cflags): use rubyarchhdrdir for multiarch. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-05svn2013-05-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-05-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/security.rdoc: Add note about reporting security vulnszzak2013-05-032-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-04svn2013-05-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New forkosaki2013-05-033-6/+21
| | | | | | | | | | attribute((alloc_size(params))). * include/ruby/defines.h (xmalloc, xmalloc2, xcalloc) (xrealloc, xrealloc2): Annotated by RUBY_ATTR_ALLOC_SIZE. * include/ruby/ruby.h (rb_alloc_tmp_buffer): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: class methods modulize for using like a function.xibbar2013-05-033-17/+47
| | | | | | [Feature #8354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.akr2013-05-032-1/+7
| | | | | | | | | Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12). http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (yes-test-all): needs sudo-precheck for dtrace.nobu2013-05-031-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* {getaddrinfo,getnameinfo}.c: fix for old platformsnobu2013-05-033-0/+13
| | | | | | | * ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not defined, e.g., older VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.h: INTPTR_MAX, INTPTR_MIN, UINTPTR_MAXnobu2013-05-032-0/+11
| | | | | | | | * include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): also should be defined when defining intptr_t and uintptr_t. bigdecimal.c requires the former two now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fix build errornobu2013-05-032-0/+8
| | | | | | * win32/win32.c (poll_child_status): fix build error on older mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: optimizationnobu2013-05-031-3/+2
| | | | | | * win32/win32.c (poll_child_status): trivial optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-03svn2013-05-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: remove timestamp in distclean-ext realclean-ext.ayumin2013-05-022-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: skip prepending modulesnobu2013-05-023-2/+19
| | | | | | | | | * object.c (rb_obj_is_kind_of): skip prepending modules. [ruby-core:54742] [Bug #8357] * object.c (rb_class_inherited_p): ditto. [ruby-core:54736] [Bug #8357] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* irb: dead codenobu2013-05-022-10/+5
| | | | | | * bin/irb: remove dead code from sample/irb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: no overwriting ivarsnobu2013-05-023-8/+29
| | | | | | | | * marshal.c (copy_ivar_i): get rid of overwriting already copied instance variales. c.f. [Bug #8276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: move warnings to rb_ivar_getnobu2013-05-021-13/+13
| | | | | | | | | | * variable.c (generic_ivar_get, ivar_get): return undef value instead of Qnil with warnings, for uninitialized instance variable. * variable.c (rb_ivar_get): warn for uninitialized instance variable here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: id localsnobu2013-05-023-6/+12
| | | | | | | | * thread.c (id_locals): use cached ID. * vm.c (ruby_thread_init): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.def: predefined IDsnobu2013-05-029-34/+41
| | | | | | | * defs/id.def: add more predefined IDs used in core. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix rondom failure introduced by r40553naruse2013-05-021-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix test of parallel test breaked by r40553naruse2013-05-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 4.7.4 (r8483)ryan2013-05-0212-487/+886
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: fix failed status with spawnvnobu2013-05-021-4/+0
| | | | | | | | | | * process.c (proc_spawn_cmd_internal, proc_spawn_sh): spawn() with P_NOWAIT returns process ID, so it must not be set as a status. * process.c (rb_spawn_process): set failed status on error on platforms using spawnv not only on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (poll_child_status): constified.usa2013-05-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe nowusa2013-05-024-7/+11
| | | | | | | | | | we can test it. * test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (poll_child_status): [experimental] set the cause ofusa2013-05-022-1/+38
| | | | | | | a child's death to status if its exitcode seems to be an error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-02svn2013-05-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: nodoc EngineManager, add History doc #8344zzak2013-05-022-5/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (localtime_with_gmtoff_zone): musl libc may return NULL forakr2013-05-012-1/+9
| | | | | | | | tm_zone. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (Enumerable#chunk): fix grammar of error messageeregon2013-05-012-2/+7
| | | | | | for symbols beginning with an underscore [Bug #8351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* curses/extconf.rb: simplifynobu2013-05-012-12/+16
| | | | | | | * ext/curses/extconf.rb (curses_version): try once for each tests, a function or a variable. fallback to variable for old SVR4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: always dynamic non-install extensionsnobu2013-05-012-2/+17
| | | | | | | * ext/extmk.rb (extmake): extensions not to be installed should not make static libraries, but make dynamic libraries always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ancdata.c: suppress warningsnobu2013-05-011-10/+12
| | | | | | | | | * ext/socket/ancdata.c (bsock_sendmsg_internal): suppress warnings on platforms where msghdr does not have msg_control. * ext/socket/ancdata.c (bsock_recvmsg_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]zzak2013-05-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: rb_daemon should not raisenobu2013-05-011-16/+9
| | | | | | | * process.c (rb_daemon): should not raise exceptions, since proc_daemon() will deal with errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.bat: remove stale messagenobu2013-05-011-1/+0
| | | | | | | * win32/configure.bat (help): remove stale message. win95 support had been thrown away long ago. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: use predefined IDsnobu2013-05-013-4/+8
| | | | | | | | * eval.c (frame_func_id): use predefined IDs. * vm.c (rb_vm_control_frame_id_and_class): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e