Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: matzruby
Commits on Apr 20, 2007
  1. * parse.y (symbol): symbols should be followed by EXPR_ENDARG.

    matz authored
    * parse.y (dsym): ditto.
    
    * parse.y (parser_yylex): strings should be followed by
      EXPR_ENDARG.
    
    * parse.y (parser_yylex): ditto for numbers.
    
    * parse.y (parser_yylex): EXPR_ENDARG after ']' and '}'.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 19, 2007
  1. * eval.c (ivar2_prepare): cbase for ivar2 now have same access

    matz authored
      principle as class variables.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * math.c (math_log): update document to mention second optional

    matz authored
      argument for logarithm base.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * parse.y (mrhs): need to append by arg_append().

    matz authored
      [ruby-talk:239385]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 17, 2007
  1. * eval.c (rb_yield_0): should not clear state on TAG_NEXT when

    matz authored
      it's invoked from within lambda body.  [ruby-talk:248136]
    
    * eval.c (proc_invoke): handle TAG_NEXT which would be caused by
      next in the lambda body as well.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 16, 2007
  1. * parse.y (parser_yylex): should set command_start after block

    matz authored
      starting "do"s and braces.  [ruby-core:10916]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@12178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 2, 2007
  1. * eval.c (proc_invoke): turn on SCOPE_CLONE flag. a patch from

    matz authored
      Chikanaga Tomoyuki <chikanag AT nippon-control-system.co.jp>.
      [ruby-dev:30460]
    
    * gc.c (obj_free): check SCOPE_CLONE flag before freeing local_tbl
      region.
    
    * parse.y (top_local_setup_gen): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 12, 2007
  1. @shyouhei

    set svn:eol-style

    shyouhei authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 1, 2007
  1. @nobu

    * parse.y (rb_id2str): store Strings for operator symbols. [ruby-dev:…

    nobu authored
    …30235]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 29, 2007
  1. * instruby.rb: use ":=" assignment to avoid potential local

    matz authored
      variable name conflict.  [ruby-dev:30206]
    
    * lib/date/format.rb (Date::Format::Bag::method_missing): add
      prefix to avoid making t class-local instance variable.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 25, 2007
  1. * enumerator.c (enumerator_init_copy): need to copy internal

    matz authored
      structure on clone and dup.  [ruby-dev:30192]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 24, 2007
  1. * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix

    matz authored
      regexp font-lock bug.  [ruby-talk:235758]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 23, 2007
  1. * parse.y (new_bv_gen): generate NODE_LASGN parse node outside of

    matz authored
      any blocks.
    
    * parse.y (arg): add new rule for explicit block local variable
      assignment. 
    
    * parse.y (parser_yylex): allow ':=' assignment operator.
    
    * parse.y (assignable_gen): do not generate NEW_DASGN() for mere
      local assignment.
    
    * sample/test.rb: update some test to adapt new scoping rule.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * eval.c (massign_args): more consistent yield parameter

    matz authored
      assignment.  a patch from Tanaka Akira <akr at fsij.org> in
      [ruby-dev:29616].  [ruby-dev:29006]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * ruby.h (SYMBOL_P): make Symbol immediate again for performance.

    matz authored
    * parse.y (rb_compose_ivar2): function to create a new ivar2
      symbol from a symbol and a class.
    
    * parse.y (rb_decompose_ivar2): reverse function of
      rb_compose_ivar2().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * eval.c (ivar2_prepare): prepare ivar2 ID before processing.

    matz authored
    * marshal.c (w_symbol): support class local instance variables.
    
    * marshal.c (r_object0): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * string.c (sym_to_s): use shared copy of symbols to save memory.

    matz authored
    * string.c (Init_String): remove Symbol#hash and Symbol#eql?
    
    * string.c (Init_String): remove Symbol#to_str.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * lib/webrick/httprequest.rb (WEBrick::HTTPRequest::read_line):

    matz authored
      detect too long URI line in the request.  [ruby-talk:231563]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * class.c (rb_mod_ancestors): result list may include singleton

    matz authored
      classes.  [ruby-core:09604]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11556 b…

    matz authored
    …2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * eval.c (method_receiver): add new method to get the bound

    matz authored
      receiver of the method object.  [ruby-talk:234949]
    
    * eval.c (method_name): new method to get the name of a method.
    
    * eval.c (method_owner): a new method to get the class or module
      that defines the method.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * hash.c: added documentation for Hash about how it uses eql? and

    matz authored
      hash methods for the keys.  [ruby-core:09995]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 9, 2007
  1. * array.c (rb_ary_replace): use ptr and len of orig instead of

    matz authored
      shared.  fixed: [ruby-dev:30116]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 7, 2007
  1. @eban

    * 2007-01-07

    eban authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @drbrain

    Look for class and module comments above rb_define_class and rb_defin…

    drbrain authored
    …e_module.
    
    Patch by Daniel Berger <djberg96 at gmail.com>
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @drbrain

    Test RDoc::C_Parser#do_classes and Rdoc::C_Parser#find_class_comment.

    drbrain authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. @drbrain

    Properly handle escaping of : in comments

    drbrain authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 6, 2007
  1. * io.c (rb_io_getline_fast, rb_io_getline): increase lineno

    matz authored
      when met the delimiter or EOF.  fixed: [ruby-dev:30081]
    
    * io.c (prepare_getline_args, rb_io_getline_1): split
      preparation of arguments and reading.  [ruby-dev:30085]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @eban

    * 2007-01-06

    eban authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. eval.c: remove confict

    matz authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * variable.c (rb_cvar_get): new class variable look-up scheme:

    matz authored
      1) look up in the class.  2) if the class is singleton attached
      to a class (i.e. metaclass) then start look up in the attached
      class and its ancestors. 3) otherwise, look-up in ancestors of
      the class.
    
    * eval.c (cvar_cbase): destination for class variable access is
      the class/module that holds the method, or cbase outside of
      methods.
    
    * eval.c (rb_eval): merge code for NODE_CVDECL and NODE_CVASGN.
    
    * parse.y (assignable_gen): no need to generate NODE_CVDECL.
    
    * eval.c (cvar_cbase): destination for class variable access is
      now strictly innermost surrounding class or module.  warned if
      accessed from toplevel.
    
    * eval.c (rb_eval): small refactoring for NODE_CVASGN.
    
    * variable.c (rb_cvar_set): 1.9 no longer need warn argument.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * variable.c (rb_cvar_set): remove warn argument.

    matz authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * io.c (argf_read): fix wrong replacement. [ruby-dev:30070]

    matz authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 3, 2007
  1. * io.c (rb_io_getline): lineno update condition was wrong.

    matz authored
      [ruby-dev:30065]
    
    * io.c (rb_io_getline_fast): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @eban

    * 2007-01-03

    eban authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/matzruby@11461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.