aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* envutil.rb: fix typonobu2015-03-021-1/+1
| | | | | | * test/lib/envutil.rb (invoke_ruby): fix typo again. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: fix const namenobu2015-03-021-1/+1
| | | | | | * test/lib/envutil.rb (invoke_ruby): fix an exception class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: remove intermediate child processnobu2015-03-021-62/+12
| | | | | | | | * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): spawn the target process directly with assert_separately and remove intermediate child process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: timeout_error argument to invoke_rubynobu2015-03-021-10/+11
| | | | | | | | | | | | | * test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional keyword argument, the exception class to be raised if the target process timed out. if it is nil, no exception will be raised at timeout but the terminated output, error, and status will be returned. defaulted to Timeout::Error. * test/lib/envutil.rb (assert_separately): check outputs and status (including diagnostic reports) of timed-out process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: signal list to invoke_rubynobu2015-03-021-12/+24
| | | | | | | | * test/lib/envutil.rb (invoke_ruby): allow `signal` optional keyword argument to be a list of signals to be sent to the target process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: _setjmp only if _longjmp is foundnobu2015-03-022-3/+7
| | | | | | | * configure.in: do not check _setjmp unless _longjmp is available, so that configure results will not be changed by cache. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: remove extra unsignednobu2015-03-022-5/+16
| | | | | | | * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from cached variable only if the target type is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: do not ignore diffnobu2015-03-021-1/+1
| | | | | | | * .travis.yml (before_script): confured results with/without cache must be same. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: nil for invalid signumnobu2015-03-023-0/+15
| | | | | | | * signal.c (sig_signame): return nil if the argument is a valid signal number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/ftp/test_ftp.rb (create_ftp_server): set SO_OOBINLINEngoto2015-03-022-4/+13
| | | | | | | | | | for receiving OOB data which is sended with MSG_OOB flag in portable way. [Bug #10915] [ruby-dev:48885] * test/net/ftp/test_ftp.rb (test_abort, test_status): use gets for receiving OOB data in portable way. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: restore unsignednessnobu2015-03-022-1/+6
| | | | | | | * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from cached variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-02svn2015-03-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io/wait: fix return value for buffered readnormal2015-03-013-2/+10
| | | | | | | | | | * ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX Thanks to Yura Sokolov <funny.falcon@gmail.com> [ruby-core:68369] [Bug#10923] * test/io/wait/test_io_wait.rb (test_nread_buffered): fix broken test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c: use rb_pid_tnobu2015-03-011-1/+1
| | | | | | | * thread_pthread.c (timer_thread_pipe.owner_process): process ID should be pid_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* envutil.rb: signal argumentnobu2015-03-011-1/+1
| | | | | | | * test/lib/envutil.rb (invoke_ruby): add optional keyword argument of signal to be sent to hung-up process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: restore convertible typenobu2015-03-012-1/+9
| | | | | | | * configure.in (RUBY_REPLACE_TYPE): restore convertible type from cached variable, so that configured results will be stable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: check broken memmem before earliernobu2015-03-012-34/+33
| | | | | | | | * configure.in (rb_cv_broken_memmem): check before adding the result HAVE_MEMMEM macro to confdefs.h, so that configured results will be stable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: hide internal objectsnobu2015-03-012-0/+8
| | | | | | | * gc.c (id2ref): prohibit from accessing internal objects. [ruby-core:68348] [Bug #10918] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: no build-time variablesnobu2015-03-011-1/+3
| | | | | | | * tool/mkconfig.rb: exclude unnecessary build-time only variables, various ruby commands, installation targets, and dtrace stuffs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for strptime("%s.%N").akr2015-03-011-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-03-01svn2015-03-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (strptime): Support %s.%N.akr2015-03-012-1/+12
| | | | | | | | [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c: Fixnum onlynobu2015-02-282-5/+17
| | | | | | | * enum.c (limit_by_enum_size, enum_size_over_p): check only against Fixnum size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enum.c: limit sizenobu2015-02-283-0/+42
| | | | | | | | * enum.c (enum_each_slice, enum_each_cons): limit elements size by the enumerator size. suggested by Hans Mackowiak <hanmac AT gmx.de> at [ruby-core:68335] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_dump.c: no new strings in signal contextnobu2015-02-282-3/+15
| | | | | | | * vm_dump.c (rb_vm_bugreport): get rid of making new strings inside signal context. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: rb_search_class_pathnobu2015-02-283-17/+56
| | | | | | | | | * variable.c (rb_tmp_class_path): defer making temporary class path string. * variable.c (rb_search_class_path): search class path or return Qnil or Qfalse if unnamed, not creating a temporary path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable.c: preserve name encoding of subclassnobu2015-02-283-7/+12
| | | | | | | * variable.c (rb_tmp_class_path): preserve name encoding of an anonymous instance of module/class subclass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-28svn2015-02-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith ↵odaira2015-02-272-2/+7
| | | | | | [ruby-core:58539] [Bug #9144] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 2.4.6 and HEAD(800f2e6).hsbt2015-02-2717-156/+206
| | | | | | | Fixed #1159, #1171, #1173 on rubygems/rubygems * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake: Update to rake (9237e74), typo fix and remove needlesshsbt2015-02-278-15/+18
| | | | | | | private syntax. * test/rake: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: define vm_svar_index.ko12015-02-276-21/+36
| | | | | | | | | | * vm_insnhelper.c, vm.c, compile.c: use vm_svar_index names. * iseq.h: remove DEFAULT_SPECIAL_VAR_COUNT. use VM_SVAR_FLIPFLOP_START instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: debug prints to stderrnobu2015-02-271-1/+1
| | | | | | | * compile.c: send all debug prints to stderr, as ruby_debug_printf does. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: fix function namenobu2015-02-271-1/+1
| | | | | | | * compile.c (APPEND_ELEM): fix function name so that the first argument will be inserted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: wipe away ioctl buffernobu2015-02-272-0/+7
| | | | | | | | * io.c (setup_narg): wipe away expanded part of buffer to get rid of revealing uncleaned data. reported by Dongkwan Kim <dkay AT kaist.ac.kr>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-27svn2015-02-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: refine enumsnobu2015-02-271-5/+7
| | | | | | | * ext/thread/thread.c: remove unnecessary enum values and add end of enumerations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: discard buffer alwaysnobu2015-02-271-1/+1
| | | | | | | * io.c (copy_stream_fallback_body): discard buffer always before exit or exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: redulce RSTRING_PTR and RSTRING_LENnobu2015-02-261-10/+21
| | | | | | | * io.c: replace repeating RSTRING_PTR and RSTRING_LEN with local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: separate platform-specific testsnobu2015-02-261-31/+13
| | | | | | | * test/ruby/test_io.rb: separate platform-specific tests at load time instead of runtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* runruby.rb: use File::PATH_SEPARATORnobu2015-02-261-1/+1
| | | | | | | * tool/runruby.rb: use File::PATH_SEPARATOR as DYLD_INSERT_LIBRARIES is colon-separated list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: PRELOADENVnobu2015-02-262-2/+8
| | | | | | | | | | * configure.in (PRELOADENV): platform specific environment to pre-load the given shared libraries. * tool/runruby.rb: use config['PRELOADENV'] instead of hardcoded LD_PRELOAD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: check USDT headersnobu2015-02-261-13/+18
| | | | | | | * configure.in (RUBY_DTRACE_AVAILABLE): try compile to see if headers are available too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fake.rb: rubyarchhdrdir for rubyspecnobu2015-02-253-2/+6
| | | | | | | | | | | | * common.mk (test-rubyspec): use fake script to set header directories. * template/fake.rb.in (RUBYOPT): set -r option to propagate to forked processes. * tool/fake.rb (prehook): set rubyarchhdrdir too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* complex.c: sign of zerosnobu2015-02-251-12/+26
| | | | | | | * complex.c (rb_nucomp_mul): preserve sign of zeros without NaN by regularized values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2015-02-26svn2015-02-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* runruby.rb: update patternnobu2015-02-251-1/+1
| | | | | | * tool/runruby.rb: no space may be after RUBY_VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* complex.c: specializenobu2015-02-251-11/+9
| | | | | | | * complex.c (rb_nucomp_mul): specialize real numbers and purely imaginary numbers, and get rid of multiplication by zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: use default configuration file name.hsbt2015-02-252-1/+6
| | | | | | https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: remove specific version number.hsbt2015-02-252-1/+6
| | | | | | https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e