Skip to content
Commits on May 30, 2016
  1. @nobu

    test_addrinfo.rb: special hostnames

    * test/socket/test_addrinfo.rb (test_addrinfo_ip): add tests for
      special hostnames, <any> and <broadcast>.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 30, 2016
  2. @nobu

    stringio.c: share strings

    * ext/stringio/stringio.c (enc_subseq): share the return value and
      the buffer as possible.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 30, 2016
  3. @nobu

    string.c: get rid of unnecessary empty string

    * string.c (str_substr, rb_str_aref): refactor not to create
      unnecessary empty string.
    * string.c (str_byte_substr, str_byte_aref): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 30, 2016
  4. @nobu

    string.c: check in the order

    * string.c (rb_str_aref_m, rb_str_byteslice): check arguments in
      the left-to-right order.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 30, 2016
  5. @nobu

    variable.c: check length

    * variable.c (check_autoload_required): check length first before
      checking the first byte.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 30, 2016
Commits on May 29, 2016
  1. @nagachika

    * ChangeLog: fix a typo for r55198.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nagachika committed May 29, 2016
  2. * 2016-05-30

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 29, 2016
  3. @unak

    * ext/-test-/auto_ext.rb: fixed a heedless bug introduced at r55198.

      this change will make RubyCI green.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed May 29, 2016
  4. @nurse

    * regexec.c (ONIGENC_IS_MBC_ASCII_WORD): redefine optimized one.

      WORD of Ruby's ascii compatible encoding is always [a-zA-Z0-9_].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 29, 2016
  5. @nurse

    * regexec.c (match_at): make compilers optimize harder.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 29, 2016
  6. @nobu

    vm_core.h: rb_exc_set_backtrace declaration

    * vm_core.h (rb_exc_set_backtrace): move declaration from
      eval_error.c and vm_args.c.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2016
  7. @nobu

    win32.c: RUBY_CRITICAL

    * win32/win32.c (RUBY_CRITICAL): removed the argument but make
      just a block which does nothing, so that debuggers can step into
      the block.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2016
  8. * 2016-05-29

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 29, 2016
  9. @nobu

    auto_ext.rb

    * ext/-test-/auto_ext.rb (auto_ext): utitily method to create
      extension libraries for tests.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 29, 2016
Commits on May 28, 2016
  1. @nobu

    ruby-insert-heredoc-code-block

    * misc/ruby-additional.el (ruby-insert-heredoc-code-block): insert
      here document code block for assert_separately mainly.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 28, 2016
  2. * test/test_unicode_normalize.rb: Add test to check for availability of

      Unicode data file; refactoring; fix an error with tests for destructive
      method (unicode_normalize!).
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    duerst committed May 28, 2016
  3. @nobu

    test_file_exhaustive.rb: blocking flock

    * test/ruby/test_file_exhaustive.rb (test_flock): add assertions
      for the blocking cases.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 28, 2016
  4. * remove trailing spaces.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 28, 2016
  5. * test/ruby/enc/test_case_comprehensive.rb: Add error messages to tests

      for data file availability; refactoring.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    duerst committed May 28, 2016
  6. @nobu

    ChangeLog: fix typos [ci skip]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 28, 2016
  7. @rhenium

    openssl: move SSLSocket#initialize to C extension

    * ext/openssl/lib/openssl/ssl.rb (SSLSocket): Move the implementation of
      SSLSocket#initialize to C. Initialize the SSL (OpenSSL object) in it.
      Currently this is delayed until ossl_ssl_setup(), which is called from
      SSLSocket#accept or #connect. Say we call SSLSocket#hostname= with an
      illegal value. We expect an exception to be raised in #hostname= but
      actually we get it in the later SSLSocket#connect. Because the SSL is
      not ready at #hostname=, the actual call of SSL_set_tlsext_host_name()
      is also delayed.
      This also fixes: [ruby-dev:49376] [Bug #11724]
    
    * ext/openssl/ossl_ssl.c (ossl_ssl_initialize): Added. Almost the same
      as the Ruby version but this instantiate the SSL object at the same
      time.
    
      (ossl_ssl_setup): Adjust to the changes. Just set the underlying IO to
      the SSL.
    
      (ssl_started): Added. Make use of SSL_get_fd(). This returns -1 if not
      yet set by SSL_set_fd().
    
      (ossl_ssl_data_get_struct): Removed. Now GetSSL() checks that the SSL
      exists.
    
      (ossl_ssl_set_session): Don't call ossl_ssl_setup() here as now the
      SSL is already instantiated in #initialize.
    
      (ossl_ssl_shutdown, ossl_start_ssl, ossl_ssl_read_internal,
       ossl_ssl_write_internal, ossl_ssl_stop, ossl_ssl_get_cert,
       ossl_ssl_get_peer_cert, ossl_ssl_get_peer_cert_chain,
       ossl_ssl_get_version, ossl_ssl_get_cipher, ossl_ssl_get_state,
       ossl_ssl_pending, ossl_ssl_session_reused,
       ossl_ssl_get_verify_result, ossl_ssl_get_client_ca_list,
       ossl_ssl_npn_protocol, ossl_ssl_alpn_protocol, ossl_ssl_tmp_key): Use
      GetSSL() instead of ossl_ssl_data_get_struct(). Use ssl_started().
    
      (Init_ossl_ssl): Add method declarations of SSLSocket#{initialize,
      hostname=}.
    
    * ext/openssl/ossl_ssl.h (GetSSL): Check that the SSL is not NULL. It
      should not be NULL because we now set it in #initialize.
    
    * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize): No need
      to check if the SSL is NULL.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    rhenium committed May 28, 2016
  8. @hsbt

    * gems/bundled_gems: Update latest releases, power_assert-0.3.0,

      test-unit 3.1.9, minitest 5.9.0, did_you_mean 1.0.1
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    hsbt committed May 28, 2016
  9. @hsbt

    * addr2line.c: drop to support ATARI ST platform. It was discontinued

      more than two decades ago. [fix GH-1350] Patch by @cremno
    * include/ruby/ruby.h: ditto.
    * io.c: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    hsbt committed May 28, 2016
  10. * test/ruby/enc/test_case_comprehensive.rb: Converted exception for

      unavailable Unicode data files to failed assertion.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    duerst committed May 28, 2016
  11. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55187 b2dd03c8-39d4…

    …-4d8f-98ff-823fe69b080e
    duerst committed May 28, 2016
  12. * 2016-05-28

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 28, 2016
  13. @hsbt

    * lib/cgi/util.rb: added to missing quote.

      [fix GH-1363][ci skip] Patch by @dwaller
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    hsbt committed May 28, 2016
Commits on May 27, 2016
  1. @znz

    fix a typo [ci skip]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed May 27, 2016
  2. @nobu

    process.c: [DOC] Process.abort [ci skip]

    * process.c (rb_f_abort): [DOC] Process.abort is a singleton
      method of Process, but not an instance method.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2016
  3. @nobu

    variable.c: hidden constants

    * variable.c (rb_local_constants_i): exclude hidden constants.
      [ruby-core:75575] [Bug #12389]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2016
  4. @nobu

    transcode.c: scrub in the given encoding

    * transcode.c (str_transcode0): scrub in the given encoding when
      the source encoding is given, not in the encoding of the
      receiver.  [ruby-core:75732] [Bug #12431]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2016
  5. @nobu

    fix non-static rb_scan_args

    * include/ruby/ruby.h (rb_scan_args): remove nul padding which
      caused syntax error if fmt is not a string literal.
    * include/ruby/ruby.h (rb_scan_args_verify): suppress array-bounds
      warnings by old clang.
    * include/ruby/ruby.h (rb_scan_args0): make extractor macros
      inline functions, which do not varidate the format and are
      unnecessary to be expanded.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2016
  6. @nobu

    ruby.h: fix parameter name

    * include/ruby/ruby.h (rb_scan_args): fix macro parameter name.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed May 27, 2016
Commits on May 26, 2016
  1. @nurse

    * symbol.c (is_identchar): use ISDIGIT instead of rb_enc_isalnum.

      Though rb_enc_isalnum is encoding aware function, its argument here
      is *m, which is a single byte. Therefore ISDIGIT is faster.
    
    * symbol.c (is_special_global_name): ditto.
    
    * symbol.c (rb_enc_symname_type): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed May 26, 2016
  2. * 2016-05-27

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed May 26, 2016
Something went wrong with that request. Please try again.