Skip to content
Permalink
Branch: objfcn
Commits on Jun 10, 2018
  1. Add log for objclose

    shinh committed Jun 10, 2018
  2. Some hacks to align code

    shinh committed Jun 10, 2018
    Also disable SPLIT_ALLOC by default. It seems to be slower and
    appropriate code allocation should be implemented anyway.
  3. Use ruby's build system

    shinh committed Jun 10, 2018
Commits on Jun 4, 2018
  1. Use SPLIT_ALLOC mode

    shinh committed Jun 4, 2018
Commits on Jun 3, 2018
  1. Use objfcn

    shinh committed Jun 3, 2018
  2. Add TracePoint#parameters

    mame committed Jun 3, 2018
    It can be used to get the parameters' information of method and block.
    There was no way to get block parameters.
    It was possible but ineffective to get method parameters via Method
    object: `tp.defined_class.method(tp.method_id).parameters`
    TracePoint#parameters allows us to get the information easily.
    [Feature #14694]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 2, 2018
  1. * 2018-06-03

    matzbot committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Promote Prime library to default gems.

    hsbt committed Jun 2, 2018
      * Its upstream is https://github.com/ruby/prime.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Promote Logger to default gems.

    hsbt committed Jun 2, 2018
      * Its upstream is https://github.com/ruby/logger.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Fixed wrong variable name.

    hsbt committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. gmake.mk: update in the source directory properly

    nobu committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * properties.

    matzbot committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. Added test for default gems validation.

    hsbt committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. enum.c: bignum counter

    nobu committed Jun 2, 2018
    * enum.c (imemo_count_up, imemo_count_value): promote the counter
      value to a bignum on overflow.  [Bug #14805]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. Fixed wrong require path

    hsbt committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. Promote REXML to default gems.

    hsbt committed Jun 2, 2018
      * upstream repostiory is https://github.com/ruby/rexml
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. enum.c: mitigate overflows

    nobu committed Jun 2, 2018
    * enum.c (enum_count): convert counters to Integer as unsigned
      long, instead of long, to mitigate overflows.
      [ruby-core:87348] [Bug #14805]
    
    * enum.c (ary_inject_op): ditto.
    
    * enum.c (each_with_index_i): ditto, instead of int.
    
    * enum.c (find_index_i, find_index_iter_i): ditto, instead of
      unsigned int.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. Promote RSS library to default gems.

    hsbt committed Jun 2, 2018
      Its upstream was moved to https://github.com/ruby/rss.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. memo->u3.cnt is long not int [Bug #14805]

    nurse committed Jun 2, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 1, 2018
  1. Initialize condattr_monotonic via pthread_condattr_init

    normal
    normal committed Jun 1, 2018
    Some operating systems will work without calling
    pthread_condattr_init, but some won't (such as OpenBSD). Prior
    to r63238, pthread_condattr_init was always called before
    calling pthread_condattr_setclock.
    
    From: Jeremy Evans <code@jeremyevans.net>
    [ruby-core:87345] [Ruby trunk Bug#14807]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2018-06-02

    matzbot committed Jun 1, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. gc.c: reduce size slightly by making MEMOP_TYPE_MALLOC zero

    normal
    normal committed Jun 1, 2018
    Most (if not all) architectures have instructions for comparing
    against zero, allowing compilers to generate more compact code.
    
    Other MEMOP_TYPE_* enum values are not compared in hot paths,
    but MEMOP_TYPE_MALLOC is checked in objspace_malloc_increase
    
       text	   data	    bss	    dec	    hex	filename
      84088	    264	   3664	  88016	  157d0	gc-before.o
      83784	    264	   3664	  87712	  156a0	gc.o
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Added missing dependency for ast.c.

    hsbt committed Jun 1, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Skip colliding filenames in LIBRUBY_ALIASES

    knu committed Jun 1, 2018
    This allows user to specify any name in `--with-so-name` that might
    cause a name clash with LIBRUBY_ALIASES on the platform.
    
    Without this, for example, configuring with `--with-soname=ruby
    --enable-shared` on macOS would end up running `ln -sf libruby.dylib
    libruby.dylib` only to fail with the following error in installation:
    
    ```
    make[2]: stat: libruby.dylib: Too many levels of symbolic links
    ```
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. string.c: trivial optimizations

    nobu committed Jun 1, 2018
    * string.c (rb_str_aset): prefer BUILTIN_TYPE over TYPE after
      SPECIAL_CONST_P check.
    
    * string.c (rb_str_start_with): prefer RB_TYPE_P over switch by
      TYPE.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * 2018-06-01

    matzbot committed Jun 1, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. string.c: doc for [Feature #13712]

    nobu committed Jun 1, 2018
    * string.c (rb_str_start_with): [DOC] start_with? example with
      regexp.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 31, 2018
  1. vm_args.c: refined warning splat to var

    nobu committed May 31, 2018
    * vm_args.c (setup_parameters_complex): refine the warning message
      for a splat hash which was passed to a single variable instead
      of keyword arguments.  this behavior will be changed when the
      "real" keyword argument is introduced in the future.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. fix the condition

    nobu committed May 31, 2018
    * test/ruby/test_rubyoptions.rb: Process.wait with WNOHANG returns
      nil while the target process is alive.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. test_rubyoptions.rb: relax timeout

    nobu committed May 31, 2018
    * test/ruby/test_rubyoptions.rb: wait for setting process title
      until the child process dies, in the case of extra heavy loads.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. NEWS: Add RubyVM::AST

    yui-knk committed May 31, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Undef RubyVM::AST::Node.new

    yui-knk committed May 31, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Define AST module under RubyVM [experimental]

    yui-knk committed May 31, 2018
    * ext/-test-/ast/ast.c: Rename to ast.c
      and define AST module under RubyVM.
    * common.mk: compile ast.c.
    * ext/-test-/ast/extconf.rb: Don't need this file anymore.
    * inits.c (rb_call_inits): Call Init_ast to setup AST module.
    * test/-ext-/ast/test_ast.rb: Follow up the namespace change.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * 2018-05-31

    matzbot committed May 31, 2018
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Older
You can’t perform that action at this time.