aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/openssl/ossl.c (class OpenSSL): Use only inner parenthesis indrbrain2013-02-192-18/+30
| | | | | | | create_extension examples. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (class OpenSSL): Fixed ExtensionFactory example.drbrain2013-02-192-11/+26
| | | | | | | Patch by Richard Bradley. [ruby-trunk - Bug #7551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call0_body): check interrupts after method dispatchko12013-02-182-8/+26
| | | | | | | | from C methods. [Bug #7878] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb: Fixed placement of executables withdrbrain2013-02-183-0/+25
| | | | | | | | --user-install. [ruby-trunk - Bug #7779] * test/rubygems/test_gem_installer.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Correct condition of r39302naruse2013-02-181-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-19svn2013-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump: FreeBSD ports' libexecinfo's backtrace(3) can't tracenaruse2013-02-183-13/+16
| | | | | | | | | | | beyond signal trampoline, and as described in r38342 it can't trace on -O because it see stack frame pointers. libunwind unw_backtrace see dwarf information in the binary and it works with -O (without frame pointers). * configure.in: remove r38342's hack and check libunwind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check whether backtrace(3) works well or not.naruse2013-02-183-0/+68
| | | | | | * vm_dump.c: set HAVE_BACKTRACE 0 if BROKEN_BACKTRACE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closingknu2013-02-182-1/+6
| | | | | | | | | parenthesis. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the IPv6 parser.knu2013-02-182-1/+13
| | | | | | | | | | | * lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can recognize IPv6 addresses with only one edge 16-bit piece compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::]. [Bug #7477] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefixnobu2013-02-181-0/+1
| | | | | | * configure.in (exec_prefix): unexpand after RUBY_EXEC_PREFIX is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: clear exec_prefixnobu2013-02-181-1/+2
| | | | | | | * tool/mkconfig.rb: clear exec_prefix which may differ from prefix, before expanding rubyarchdir to remove prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.c: move ruby_exec_prefixnobu2013-02-183-3/+7
| | | | | | * version.c (ruby_exec_prefix): move all path configuration stuffs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-18svn2013-02-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand_shvarnobu2013-02-182-0/+30
| | | | | | | * configure.in (unexpand_shvar): regularize a shell variable by unexpanding shell variables in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r39289naruse2013-02-172-26/+0
| | | | | | | * "configure.in: unexpand_shvar" it breaks $LOAD_PATH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compar.c: inversed comarison without infinite recursionnobu2013-02-176-12/+40
| | | | | | | | | * compar.c (rb_invcmp): compare by inversed comarison, with preventing from infinite recursion. [ruby-core:52305] [Bug #7870] * string.c (rb_str_cmp_m), time.c (time_cmp): get rid of infinite recursion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove debug print.nobu2013-02-171-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: remove extra topdir in VPATHnobu2013-02-172-1/+7
| | | | | | | | * lib/mkmf.rb: remove extra topdir in VPATH, which was in win32/Makefile.sub for some reason and moved from there. [ruby-dev:46998] [Bug #7864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand_shvarnobu2013-02-172-0/+26
| | | | | | | | * configure.in (unexpand_shvar): regularize a shell variable by unexpanding shell variables in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit: revert colored promptnobu2013-02-171-1/+1
| | | | | | | | * .gdbinit: revert colored prompt because incremental search does not work well with invisible sequence in prompt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* wrong github issue from r39286zzak2013-02-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewiczzzak2013-02-162-0/+7
| | | | | | | [Github tenderlove/psych#118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-17svn2013-02-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb: remove prefix from rubyarchdir.naruse2013-02-162-1/+8
| | | | | | | | r39267 expands variables, it changes expansion timing, breaks RbConfig::CONFIG["includedir"] and building extension libraries with installed ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (iseq): rename dummy_gdb_enums to ruby_dummy_gdb_enums.ktsj2013-02-161-1/+1
| | | | | | This is follow up to changes in r24407. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (ENV_IN_HEAP_P): fix off-by-one error.ktsj2013-02-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Properly reflect --with-opt-dir to LIBRUBY_DLDFLAGS on all platforms.knu2013-02-162-4/+12
| | | | | | | | | | | | * configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir options given were not reflected to LIBRUBY_DLDFLAGS on many platforms including Linux and other GNU-based systems, NetBSD, AIX and BeOS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (rsock_recvmsg): ignore truncated part ofakr2013-02-163-3/+27
| | | | | | | | | | | | socket address returned from recvmsg(). * ext/socket/init.c (recvfrom_blocking): ignore truncated part of socket address returned from recvfrom(). (rsock_s_recvfrom_nonblock): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb: fixed typoayumin2013-02-162-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_thread_mark): mark a working Proc of bmethodko12013-02-163-1/+34
| | | | | | | | | | | | | | | | (a method defined by define_method) even if the method was removed. We could not trace working Proc object which represents the body of bmethod if the method was removed (alias/undef/overridden). Simply, it was mark miss. This patch by Kazuki Tsujimoto. [Bug #7825] NOTE: We can brush up this marking because we do not need to mark `me' on each living control frame. We need to mark `me's only if `me' was free'ed. This is future work after Ruby 2.0.0. * test/ruby/test_method.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_binding_new_with_cfp): create binding object even ifko12013-02-163-2/+57
| | | | | | | | | | | | the frame is IFUNC. But return a ruby-level binding to keep compatibility. This patch fix degradation introduced from r39067. [Bug #7774] [ruby-dev:46960] * test/ruby/test_settracefunc.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit: colorizenobu2013-02-161-93/+108
| | | | | | | * .gdbinit: colorize prompt and output headers, so boundaries get clearer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: don't substitute exec_prefix itselfnobu2013-02-162-1/+7
| | | | | | | | * configure.in (shvar_to_cpp): do not substitute exec_prefix itself with RUBY_EXEC_PREFIX, which cause recursive definition. [ruby-core:52296] [Bug #7860] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: 0.4.2nobu2013-02-162-2/+6
| | | | | | | * ext/io/console/io-console.gemspec: bump to 0.4.2. now explicitly requires ruby 1.9.3 or later. [Bug #7847] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: set HAVE_RB_SCAN_ARGS_OPTIONAL_HASHnobu2013-02-161-0/+3
| | | | | | | | * ext/io/console/extconf.rb: obtain optional hash by rb_scan_args() by default right now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: fix configuration failurenobu2013-02-161-1/+1
| | | | | | | | * ext/io/console/extconf.rb: fix configuration failure by missing cpp_include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: compatibility with 1.8nobu2013-02-163-1/+11
| | | | | | | * ext/io/console/console.c (console_dev): compatibility with ruby 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/console: compatibility with 1.9nobu2013-02-163-3/+46
| | | | | | | | * ext/io/console/console.c (rawmode_opt, console_dev): compatibility with ruby 1.9. [ruby-core:52220] [Bug #7847] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: unexpand exec_prefix etcnobu2013-02-162-3/+20
| | | | | | | | | * configure.in: unexpand arch sitearch and exec_prefix values, so directly specified bindir, libdir, rubyprefix, etc can be properly substituted. [ruby-core:52296] [Bug #7860] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: add dtrace probe for symbol create.tenderlove2013-02-163-0/+22
| | | | | | * probes.d: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: don't test sys/feature_tests.h which is notakr2013-02-162-1/+6
| | | | | | | | | used now. It was included in r7901 as "bug of gcc 3.0 on Solaris 8 ?". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: reorder header tests to consider inclusionakr2013-02-162-5/+10
| | | | | | | | order in rubysocket.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h inakr2013-02-153-1/+10
| | | | | | | | | | | ext/socket/extconf.rb instead of configure.in. Originally, netinet/in_systm.h is included for NextStep, OpenStep, and Rhapsody. [ruby-core:1596] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't test xti.h here.akr2013-02-153-1/+10
| | | | | | | | | | * ext/socket/extconf.rb: test xti.h here. Originally, xti.h is included for IRIX [ruby-core:14447]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* preprocessor directives indented.akr2013-02-151-70/+74
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: test struct sockaddr_un and its member,akr2013-02-156-13/+43
| | | | | | | | | | | | | | | | | sun_len. * ext/socket/sockport.h (INIT_SOCKADDR_UN): new macro defined. * ext/socket/socket.c (sock_s_pack_sockaddr_un): use INIT_SOCKADDR_UN. * ext/socket/unixsocket.c (rsock_init_unixsock): ditto. * ext/socket/raddrinfo.c (init_unix_addrinfo): ditto. (addrinfo_mload): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/sockport.h (INIT_SOCKADDR_IN): don't need familyakr2013-02-153-4/+13
| | | | | | | | | | | | argument. it is always AF_INET. * ext/socket/raddrinfo.c (make_inetaddr): follow INIT_SOCKADDR_IN change. (addrinfo_ipv6_to_ipv4): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: workaround for mswin/mingw build problem.usa2013-02-152-1/+6
| | | | | | | sendmsg emulation in win32/win32.c is not enough. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-02-16svn2013-02-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e