Permalink
Commits on Aug 8, 2016
  1. @nobu

    internal.h: fix r55831

    * internal.h (RBASIC_CLEAR_CLASS): fix compile error and size to
      fill.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 8, 2016
  2. @nobu

    test/unit.rb: no verbose in worker processes

    * test/lib/test/unit.rb (Test::Unit::Parallel::Worker.launch):
      disable verbose flag in worker processes, get rid of unexpected
      output within marshaled results.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 8, 2016
  3. * internal.h (RBASIC_CLEAR_CLASS): Reroute ANSI C's strict

    	  aliasing rule.
      	  [ruby-core:74427][Bug #12191][ruby-core:76747][Bug #12657]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    committed Aug 8, 2016
Commits on Aug 7, 2016
  1. * 2016-08-08

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

    fix a typo [ci skip]

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    znz committed Aug 7, 2016
  3. @nobu

    suppress warnings

    * basictest/runner.rb, bootstraptest/runner.rb: disable warnings.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 7, 2016
  4. @nobu

    vcs.rb: suppress warnings

    * tool/vcs.rb (VCS#modified): get rid of set but unused variables.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 7, 2016
  5. @nobu

    extmk.rb: suppress a warning

    * ext/extmk.rb: get rid of shadowing outer local variable.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 7, 2016
  6. @nobu

    extmk.rb: remove sysquote

    * ext/extmk.rb (sysquote): removed.  unnecessary since r52161.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 7, 2016
  7. @nobu

    deprecate TRUE,FALSE,NIL

    * object.c (InitVM_Object): deprecate toplevel constants TRUE,
      FALSE, and NIL.  [Feature #12574]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 7, 2016
Commits on Aug 6, 2016
  1. * 2016-08-07

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 6, 2016
  2. openssl: avoid undefined behavior on empty SSL_write

    SSL_write(3ssl) manpage has this in the WARNINGS section:
    
           When calling SSL_write() with num=0 bytes to be sent the
           behaviour is undefined.
    
    And indeed, the new test case demonstrates failures when
    empty strings are used.  So, match the behavior of IO#write,
    IO#write_nonblock, and IO#syswrite by returning zero, as the
    OpenSSL::SSL::SSLSocket API already closely mimics the IO one.
    
    * ext/openssl/ossl_ssl.c (ossl_ssl_write_internal):
      avoid undefined behavior
    * test/openssl/test_pair.rb (test_write_zero): new test
      [ruby-core:76751] [Bug #12660]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    normal committed Aug 6, 2016
  3. @nobu

    id_table.h: dummy sentinel

    * id_table.h (rb_id_table_iterator_result): add dummy sentinel
      member because C standard prohibits a trailing comma.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 6, 2016
Commits on Aug 5, 2016
  1. * 2016-08-06

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

    hash.c: env_name_new

    * hash.c (env_enc_str_new): make string for an environment
      variable name or value.
    * hash.c (env_name_new): make environment value string with the
      encoding for its name.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 5, 2016
  3. @unak

    * hasn.c (env_str_new): taint the string. get rid of a test failure

      introduced at r55811.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 5, 2016
  4. @nobu

    win32.c: initialize with an impossible value

    * win32/win32.c (getifaddrs, rb_w32_getppid): initialize the API
      pointers with an impossible value not to try everytime on old
      platforms.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 5, 2016
  5. @nobu

    win32.c: static API pointers

    * win32/win32.c (rb_w32_inet_ntop, rb_w32_inet_): make the
      API pointers static not to get the address everytime.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 5, 2016
  6. @nobu

    win32.c: call get_final_path pointer

    * win32/win32.c (get_final_path): initialize this pointer without
      further comparisons.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 5, 2016
  7. * 2016-08-05

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 5, 2016
  8. @nobu

    hash.c: call w32_getenv pointer

    * hash.c (w32_getenv): call rb_w32_getenv and rb_w32_ugetenv via
      this pointer without further comparisons.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 5, 2016
Commits on Aug 4, 2016
  1. * 2016-08-04

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

    hash.c: set encoding

    * hash.c (env_assoc): the encoding of the value should be the
      locale, as well as other methods, [], fetch, values, etc.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 4, 2016
Commits on Aug 3, 2016
  1. @nobu

    parse.y: reg_fragment_enc_error

    * parse.y (reg_fragment_enc_error): compile_error is different
      between parser and ripper.  [ruby-core:76397] [Bug #12651]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 3, 2016
  2. @nobu

    NEWS: Kernel#clone [ci skip]

    * NEWS (Kernel#clone): mention freeze flag.  [Feature #12300]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 3, 2016
  3. @nobu

    object.c: restrict freeze option

    * object.c (rb_obj_clone2): restrict freeze option to true other
      than false which only has the effect.  [Feature #12300]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 3, 2016
  4. @nobu

    object.c: suppress warning

    * object.c (rb_obj_clone2): remove set but not used variable to
      suppress unused-but-set-variable warning.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 3, 2016
  5. @nobu

    vm_insnhelper.c: extra semicolon

    * vm_insnhelper.c (CHECK): remove extra semicolon and fold too
      long line.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 3, 2016
  6. * remove trailing spaces.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 3, 2016
  7. @ko1

    * vm_core.h: introduce VM_FRAME_RUBYFRAME_P()

      and VM_FRAME_CFRAME_P().
      Most of case, RUBY_VM_NORMAL_ISEQ_P() is no
      longer needed.
    
    * vm_core.h: introduce rb_obj_is_iseq().
    
    * cont.c, vm.c: VM_FRAME_MAGIC_DUMMY with
      VM_FRAME_FLAG_CFRAME.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Aug 3, 2016
  8. @ko1

    * vm_core.h: rename macros and make them inline functions.

      * rename VM_FRAME_TYPE_FINISH_P() to VM_FRAME_FINISHED_P().
      * rename VM_FRAME_TYPE_BMETHOD_P() to VM_FRAME_BMETHOD_P().
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Aug 3, 2016
  9. * 2016-08-03

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 3, 2016
  10. @ko1

    * vm_core.h: introduce VM_FRAME_FLAG_CFRAME to represent cfp->iseq

      type.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    ko1 committed Aug 3, 2016
Commits on Aug 2, 2016
  1. @znz

    Remove empty directories

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

    math.c: faster tanh

    * math.c (tanh): make faster by the extract form if three
      hyperbolic functions are unavailable.  [Feature #12647]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nobu committed Aug 2, 2016