aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* parse.y: invalid name as mere stringnobu2013-05-103-32/+98
| | | | | | | | * 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
* parse.y: lex_state macrosnobu2013-05-101-5/+5
| | | | | | | * parse.y (parser_yylex): use IS_lex_state() and IS_lex_state_for() instead of direct comparison. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Move library checks into "Checks for libraries." part.akr2013-05-102-14/+18
| | | | 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-102-21/+143
| | | | | | | | 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-102-2/+18
| | | | | | | | | | 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
* * test/dtrace/helper.rb: ignore empty SUDO. reuse SUDO value by usingnobu2013-05-101-7/+11
| | | | | | | class variable. use test/unit instead of minitest/autorun. dispose `Interrupted system call' error messages at parallel test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-10svn2013-05-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed minitest dependency bug by removing env PARALLEL checks (no clue why ↵ryan2013-05-103-7/+6
| | | | | | that was there). Exactly the same minitest code tho. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (bsock_sendmsg_internal): controls_num shouldakr2013-05-092-1/+6
| | | | | | | | 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-096-33/+39
| | | | | | | | | 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-094-6/+16
| | | | | | | | | | 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-094-22/+28
| | | | | | | | | 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-092-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2013-05-090-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/contributing.rdoc: Add guide for contributing to CRubyzzak2013-05-092-0/+349
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* error message refined.akr2013-05-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Check socket library again. shutdown() is used inakr2013-05-082-0/+6
| | | | | | | | io.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update a comment.akr2013-05-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Don't check socketpair. socketpair is not used inakr2013-05-082-2/+6
| | | | | | | ruby command itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-05-09svn2013-05-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: include modules onlynobu2013-05-083-2/+17
| | | | | | | * 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-083-1/+14
| | | | | | | * 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
* Add a comment.akr2013-05-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ext_int_to_encs): ignore internal encoding if externalnaruse2013-05-084-2/+51
| | | | | | 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-082-2/+7
| | | | | | 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-083-2/+14
| | | | | | * 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-084-12/+31
| | | | | | | * 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
* test_scanner_events.rb: assert_locationnobu2013-05-081-22/+22
| | | | | | | * test/ripper/test_scanner_events.rb (TestRipper#assert_location): rename so skipped in backtraces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby.h: ISGRAPHnobu2013-05-082-0/+5
| | | | | | * 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
* * 2013-05-08svn2013-05-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): fix wrongly fillednaruse2013-05-072-1/+10
| | | | | | | | | | 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-072-1/+7
| | | | | | | | | 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-072-1/+9
| | | | | | | | | | | 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-072-1/+7
| | | | | | | | | 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-072-1/+6
| | | | | | | | 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-072-0/+10
| | | | | | | | | 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
* * 2013-05-07svn2013-05-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (swap32): Don't redefine it if it is already defined.akr2013-05-072-3/+16
| | | | | | | | | 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-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