aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * gc.h (SET_MACHINE_STACK_END): Add !defined(_ILP32) to a definingakr2013-05-101-0/+6
| | | | | | | | | condition to avoid compilation error on x32. https://sites.google.com/site/x32abi/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: invalid name as mere stringnobu2013-05-101-0/+6
| | | | | | | | * parse.y (parser_peek_variable_name): treat invalid global, class, and instance variable names as mere strings rather than errors. [ruby-core:54885] [Bug #8375] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Move library checks into "Checks for libraries." part.akr2013-05-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Reformat arguments of AC_CHECK_HEADERS andakr2013-05-101-0/+5
| | | | | | | | AC_CHECK_FUNCS to track modifications easily. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Don't link librt if clock_gettime is available inakr2013-05-101-0/+7
| | | | | | | | | | the main C library. glibc 2.17 moves clock_* from librt to the main C library. http://sourceware.org/ml/libc-announce/2012/msg00001.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_sendmsg_internal): controls_num shouldakr2013-05-091-0/+5
| | | | | | | | not be negative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c, ext/etc/etc.c, ext/socket/unixsocket.c,akr2013-05-091-0/+6
| | | | | | | | | ext/openssl/ossl.h, ext/openssl/openssl_missing.c: Use HAVE_AGGREGATE_MEMBER instead of HAVE_ST_MEMBER. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_sendmsg_internal): Always setakr2013-05-091-0/+8
| | | | | | | | | | controls_num to raise NotImplementedError appropriately. (bsock_recvmsg_internal): Raise NotImplementedError if :scm_rights=>true is given on platforms which don't have 4.4BSD style control message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h, ext/socket/unixsocket.c,akr2013-05-091-0/+6
| | | | | | | | | ext/socket/ancdata.c: Use HAVE_STRUCT_MSGHDR_MSG_CONTROL instead of HAVE_ST_MSG_CONTROL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: Add call-seq alias for String#=== [Bug #8381]zzak2013-05-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/contributing.rdoc: Add guide for contributing to CRubyzzak2013-05-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Check socket library again. shutdown() is used inakr2013-05-081-0/+5
| | | | | | | | io.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Don't check socketpair. socketpair is not used inakr2013-05-081-0/+5
| | | | | | | ruby command itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: include modules onlynobu2013-05-081-0/+5
| | | | | | | * class.c (rb_mod_included_modules): should not include non-modules. [ruby-core:53158] [Bug #8025] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: exclude original modulenobu2013-05-081-0/+5
| | | | | | | * class.c (rb_mod_included_modules): should not include the original module itself. [ruby-core:53158] [Bug #8025] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ext_int_to_encs): ignore internal encoding if externalnaruse2013-05-081-0/+5
| | | | | | encoding is ASCII-8BIT. [Bug #8342] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/generator/generator.c (isArrayOrObject): cast char tonaruse2013-05-081-0/+5
| | | | | | unsigned char. [Bug #8378] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/generator/depend: fix dependencies [Bug #8379]naruse2013-05-081-0/+6
| | | | | | * ext/json/parser/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: fail if invalid namenobu2013-05-081-0/+5
| | | | | | | * parse.y (parser_yylex): fail if $, @, @@ are not followed by a valid name character. [ruby-core:54846] [Bug #8375]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: ISGRAPHnobu2013-05-081-0/+4
| | | | | | * include/ruby/ruby.h (ISGRAPH): add missing macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): fix wrongly fillednaruse2013-05-071-0/+9
| | | | | | | | | | sin6_scope_id on KAME introduced by r40593 for OpenIndiana. KAME uses fe80:<scope_id>::<interface id> for link-local address internally. Setting sin6_scope_id causes it leaked. see also comments of sockaddr_obj(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (insert_ignore_escape): Add a cast toakr2013-05-071-0/+6
| | | | | | | | | unsigned char * before dereference. This suppress a warning on Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_recvmsg_internal): Add a cast toakr2013-05-071-0/+8
| | | | | | | | | | | suppress warning. Bionic defines socklen_t as int. Bionic defines msg_controllen as unsigned int (__kernel_size_t) instead of socklen_t as POSIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_inspect): Don't callakr2013-05-071-0/+6
| | | | | | | | | anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO. anc_inspect_ipv6_pktinfo is not defined in the case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE asakr2013-05-071-0/+5
| | | | | | | | int. This suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: Set close_fds false for Cygwin.akr2013-05-071-0/+6
| | | | | | | | | Cygwin doesn't support fd passing. This enables socket extension library cross-compilable by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (swap32): Don't redefine it if it is already defined.akr2013-05-071-0/+6
| | | | | | | | | Bionic defines it. (swap64): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_idakr2013-05-061-0/+6
| | | | | | | | | 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
* fix a typokazu2013-05-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: refactor by wanabenobu2013-05-051-0/+12
| | | | | | | | | | | | * 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-051-0/+5
| | | | | | | * 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
* ruby.pc.in: rubyarchhdrdirnobu2013-05-051-0/+5
| | | | | | | * 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
* 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-031-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New forkosaki2013-05-031-0/+9
| | | | | | | | | | 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-031-0/+6
| | | | | | [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-031-0/+6
| | | | | | | | | 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
* {getaddrinfo,getnameinfo}.c: fix for old platformsnobu2013-05-031-0/+5
| | | | | | | * 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-031-0/+6
| | | | | | | | * 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-031-0/+4
| | | | | | * 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
* * common.mk: remove timestamp in distclean-ext realclean-ext.ayumin2013-05-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: skip prepending modulesnobu2013-05-021-0/+8
| | | | | | | | | * 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-021-0/+4
| | | | | | * 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-021-0/+5
| | | | | | | | * 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
* thread.c: id localsnobu2013-05-021-1/+5
| | | | | | | | * 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-021-0/+4
| | | | | | | * 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
* Imported minitest 4.7.4 (r8483)ryan2013-05-021-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe nowusa2013-05-021-0/+6
| | | | | | | | | | 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-021-0/+5
| | | | | | | 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
* * lib/yaml.rb: nodoc EngineManager, add History doc #8344zzak2013-05-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e