Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 12, 2012
  1. @unak

    * tool/merger.rb: now can merge revision(s) without --ticket again.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 9, 2012
  1. @ko1

    * vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.

    ko1 authored
      This data structure contains information including inline method
      cache. After that, `struct iseq_inline_cache_entry' does not
      need to contain inline cache for method invocation.
      Other information will be added to this data structure.
    * vm_core.h (rb_iseq_t): add `callinfo_entries' and `callinfo_size'
      members to `rb_iseq_t'.
    * insns.def, compile.c: Use CALL_INFO instead of IC.
    * tool/instruction.rb: support CALL_INFO as operand type.
    * vm_insnhelper.c, vm_insnhelper.h: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 4, 2012
  1. @ko1

    * insns.def (getlocal, setlocal): remove old getlocal/setlocal

    ko1 authored
      instructions and rename getdaynmic/setdynamic instructions
      to getlocal/setlocal.
    * compile.c: ditto.
    * iseq.c: remove TS_DINDEX.
    * vm_exec.h (dindex_t): remove type definition of `dindex_t'.
    * tool/instruction.rb: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @ko1

    * vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis

    ko1 authored
      hooks (old macro name is COLLECT_USAGE_ANALYSIS).
      This feature is only for VM developers.  (I'm not sure I can use
      `VM developers' (the plural form) in this sentence).
      If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following
      usage collection features:
      (1) insntruction: collect intruction usages.
      (2) operand: collect operand usages.
      (3) register: collect register usages.
      The results are stored in
      RubyVM::USAGE_ANALYSIS_INSN for (1, 2),
      RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and
      RubyVM::USAGE_ANALYSIS_REGS for (3).
      You can stop collecting usages with
      RubyVM::USAGE_ANALYSIS_INSN_STOP(),
      RubyVM::USAGE_ANALYSIS_OPERAND_STOP(),
      RubyVM::USAGE_ANALYSIS_REGISTER_STOP()
      for (1), (2), (3) respectively.
      You can also change the hook functions by setting
      C level global variables
      `ruby_vm_collect_usage_func_(insn|operand|register)'
      for (1), (2), (3) respectively.
      See codes for more details.
    * tool/instruction.rb: fix macro names.
    * iseq.c (insn_operand_intern): make it export (used in vm.c).
      fix to skip several processes if not needed (pointer is 0).
    * vm_dump.c: move codes for collection features to vm.c.
    * vm_exec.h: rename macro and function names.
    * vm_insnhelper.h: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 24, 2012
  1. @nurse

    * tool/merger.rb: add --ticket option to add ticket number.

    nurse authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 16, 2012
  1. @drbrain

    * tool/change_maker.rb: Update svn detection for subversion 1.7's

    drbrain authored
      single .svn directory.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 4, 2012
  1. @nobu

    rbinstall.rb: skip symlinks

    nobu authored
    * tool/rbinstall.rb (install_recursive): skip symlinks, which are made
      by `make runnable'.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 31, 2012
  1. @nobu

    id.h: independent from parse.h

    nobu authored
    * template/id.h.tmpl, tool/id2token.rb: make id.h independent from
      parse.h, and make parse.c dependent on it instead.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 29, 2012
  1. @nobu

    mkrunnable.rb: config directory names

    nobu authored
    * tool/mkrunnable.rb: collect directory names from config.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 25, 2012
  1. @nobu

    generic_erb.rb: --vpath option

    nobu authored
    * tool/generic_erb.rb (vpath.open): move --vpath option from
      template/id.h.tmpl.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 9, 2012
  1. @nobu

    mkrunnable.rb: build_os

    nobu authored
    * tool/mkrunnable.rb: see build_os instead of target arch for
      cross-compiling.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 25, 2012
  1. @nobu

    mkrunnable.rb: mswin

    nobu authored
    * tool/mkrunnable.rb (ln_safe, ln_dir_safe): separate for mklink
      command on Windows.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nurse

    Suppress warnings.

    nurse authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @nobu

    * tool/ytab.sed: fix for Bison 2.6.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 6, 2012
  1. @nobu

    obsolete Config

    nobu authored
    * lib/rbconfig/obsolete.rb (Config): remove obsolete Config.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 3, 2012
  1. @nobu

    make runnable

    nobu authored
    * common.mk (runnable): make symbolic links to run in build directory.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 22, 2012
  1. @ko1

    * iseq.c, vm_eval.c: set th->base_block properly.

    ko1 authored
      th->base_block is information for (a) parsing, (b) compiling
      and (c) setting up the frame to execute the program passed by
      `eval' method.  For example, (1) parser need to know up-level
      variables to detect it is variable or method without paren.
      Befor (a), (b) and (c), VM set th->base_block by passed bindng
      (or previous frame information).  After execute (a), (b) and (c),
      VM should clear th->base_block.  However, if (a), (b) or (c)
      raises an exception, then th->base_block is not cleared.
      Problem is that the uncleared value th->balo_block is used for
      irrelevant iseq compilation.  It causes SEGV or critical error.
      I tried to solve this problem: to clear them before exception,
      but finally I found out that it is difficult to do it (Ruby
      program can be run in many places).
      Because of this background, I set th->base_block before
      compiling iseq and restore it after compiling.
      Basically, th->base_block is dirty hack (similar to global
      variable) and this patch is also dirty.
    * bootstraptest/test_eval.rb: add a test for above.
    * internal.h: remove unused decl.
    * iseq.c (rb_iseq_compile_with_option): add base_block parameter.
      set th->base_block before compation and restore it after
      compilation.
    * ruby.c (require_libraries): pass 0 as base_block instead of
      setting th->base_block
    * tool/compile_prelude.rb (prelude_eval): apply above changes.
    * vm.c, vm_eval.c: ditto.
    * vm_core.h: add comments.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 15, 2012
  1. @nobu

    [Bug #6598]

    nobu authored
    * tool/runruby.rb (File.realpath): return real path of expanded path.
      [Bug #6598]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 14, 2012
  1. @nobu

    tool/make-snapshot MKDIR_P

    nobu authored
    * tool/make-snapshot (package): MKDIR_P is needed as direct macro to
      build enc/unicode/name2ctype.h.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    tool/make-snapshot MKDIR_P

    nobu authored
    * tool/make-snapshot (package): MKDIR_P is needed to build
      enc/unicode/name2ctype.h.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 13, 2012
  1. @nurse

    * Makefile.in: don't remove macros. now name2ctype uses macros.

    nurse authored
    * tool/enc-unicode.rb: add comment why it uses Hash#index.
    
    * enc/unicode/{name2ctype.kwd,name2ctype.src,name2ctype.h.blt}:
      update to follow the current name2ctype.h.
      FYI current Unicode version is 6.1.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 8, 2012
  1. @nobu

    test: realpath

    nobu authored
    * test/runner.rb (src_testdir): expand real path so that
      TestGem#test_self_find_files does not fail by aliased load path when
      srcdir contains a symbolic link.
    * tool/runruby.rb (srcdir): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 30, 2012
  1. @nobu

    common test options

    nobu authored
    * common.mk (btest, test-sample, test-knownbugs, test-all, test-ruby):
      pass common options by TESTOPTS.
    
    * tool/rubytest.rb: pass ARGV from make to sample/test.rb.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 3, 2012
  1. @nobu

    * tool/rbinstall.rb (capi): install to capi directory.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 24, 2012
  1. @unak

    * enc/euc_jp.c: added EUC-JP-2004 and its alias EUC-JISX0213.

    unak authored
      [ruby-dev:45571] [Feature #6349]
      Requested by Kyouhei Yanagita <yanagi@shakenbu.org>.
    
    * enc/trans/japanese_euc.trans: ditto.
    
    * enc/trans/JIS/JISX0213-[12]%UCS@{BMP,SIP}.src: JIS X 0213:2004 ->
      Unicode mapping table from NetBSD.
    
    * enc/trans/JIS/UCS@{BMP,SIP}%JISX0213-[12].src: Unicode -> JIX X
      0213:2004 mapping table from NetBSD.
    
    * tool/transcode-tblgen.rb: added SIP support.
    
    * test/ruby/test_transcode.rb: tests of above changes.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 6, 2012
  1. @nobu

    * enc/unicode/name2ctype.h, tool/transcode-tblgen.rb: revert

    nobu authored
      unlogged changes which committed by accident probably.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. struct.c (documentation for rb_struct_members_m):

    duerst authored
      fix 'array of strings' to 'array of symbols'
      [ruby-core:44152][Bug #6264]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 27, 2012
  1. @nobu

    * tool/make-snapshot (package): EXEEXT is now used in mkmf.rb.

    nobu authored
      [ruby-core:43685]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * tool/make-snapshot (package): suppress constant overwritting warnings.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 26, 2012
  1. @nobu

    * tool/merger.rb (interactive): allow editing commit message.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * tool/merger.rb (default_merge_branch): use IO.popen to invoke pager.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 13, 2012
  1. @nobu

    * tool/rbinstall.rb (prepare): skip if basedir is not defined.

    nobu authored
      [ruby-core:39135][Bug #5238]
    * tool/rbinstall.rb (CONFIG.[]): check for mandatory
      configurations.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 20, 2012
  1. @nobu

    * tool/rubytest.rb: separate errors from dots.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 18, 2012
  1. @nurse

    * tool/enc-unicode.rb: don't use 1.9 feature on tools.

    nurse authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 17, 2012
  1. @nurse

    * Merge Onigmo-5.13.1. [ruby-dev:45057] [Feature #5820]

    nurse authored
      https://github.com/k-takata/Onigmo
      cp reg{comp,enc,error,exec,parse,syntax}.c reg{enc,int,parse}.h
      cp oniguruma.h
      cp tool/enc-unicode.rb
      cp -r enc/
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.