Permalink
Switch branches/tags
Commits on Dec 30, 2011
  1. * vm_eval.c (rb_f_send): fix [Bug #5125] [ruby-core:38633]

    ayumin committed Dec 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * lib/matrix.rb (symmetric?): Trivial optimization

    marcandre committed Dec 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * 2011-12-30

    matzbot committed Dec 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * vm_core.h: Fix comment about arg_opts of iseq and some typos

    marcandre committed Dec 30, 2011
    * doc/re.rdoc: Rdoc small fixes
    
    * iseq.c: Fix comment
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 29, 2011
  1. * lib/test/unit.rb (Test::Unit::Runner::Worker#_run_parallels): fix

    nagachika committed Dec 29, 2011
      premature exit when all workers' status are :ready or :prepare.
      [ruby-dev:45061] [Bug #5822]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 28, 2011
  1. * 2011-12-29

    matzbot committed Dec 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.

    nagachika committed Dec 28, 2011
    * include/ruby/st.h: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. fix indent

    znz committed Dec 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * doc/ChangeLog-1.9.3, test/gdbm/test_gdbm.rb: fixed mingw typo.

    nobu committed Dec 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * lib/fileutils.rb (FileUtils::Entry_#entries): use utility method

    nobu committed Dec 28, 2011
      instead of typoed regexp.  [ruby-core:41829] [Bug #5817]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 27, 2011
  1. * ChangeLog: fix some typos.

    nagachika committed Dec 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2011-12-28

    matzbot committed Dec 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * vm_insnhelper.c (unknown_keyword_error): add GC guard to prevent

    nagachika committed Dec 27, 2011
      intermediate object from GC.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * lib/test/unit.rb (Worker#close): "closing IO if IO is closed"

    sorah committed Dec 27, 2011
      should be "closing IO if IO isn't closed"
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * st.c (st_update): new function to lookup the given key and

    nobu committed Dec 27, 2011
      update the value.  [ruby-dev:44998]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * 2011-12-27

    matzbot committed Dec 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * node.h (rb_args_info): change pre_args_num and post_args_num as

    nobu committed Dec 27, 2011
      int, to match with rb_iseq_t.
    * parse.y (new_args_gen): check overflow.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 26, 2011
  1. * vm_insnhelper.c (unknown_keyword_error): make it kind a error messa…

    mame committed Dec 26, 2011
    …ge when unknown keyword is given. It require more work. See [ruby-core:40518] and [ruby-core:40541] in detail.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * vm_core.h (struct rb_iseq_struct), compile.c (iseq_set_arguments), …

    mame committed Dec 26, 2011
    …iseq.c (rb_iseq_parameters), vm_insnhelper.c (vm_callee_setup_arg_complex): support Method#parameters for keyword arguments. The provisional spec is what Benoit Daloze proposed. [ruby-core:40518]
    
    * test/ruby/test_keyword.rb: add a test for above.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * vm_core.h (struct rb_iseq_struct), compile.c (iseq_set_arguments, i…

    mame committed Dec 26, 2011
    …seq_compile_each), vm_insnhelper.c (vm_callee_setup_arg_complex): implement keyword arguments. See [ruby-core:40290] The feature is promised to be included in 2.0, but the detail spec is still under discussion; this commit is a springboard for further discussion. Please try it and give us feedback. This commit includes fixes for some problems reported by Benoit Daloze <eregontp AT gmail.com> [ruby-core:40518] and Marc-Andre Lafortune <ruby-core-mailing-list AT marc-andre.ca> [ruby-core:41772].
    
    * iseq.c (iseq_free, prepare_iseq_build): bookkeeping.
    
    * test/ruby/test_keyword.rb: add tests for keyword arguments.
    
    * test/ripper/dummyparser.rb (class DummyParser): temporal fix for
      ripper test.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * node.h, node.c, parse.y: implement a parser part for keyword argume…

    mame committed Dec 26, 2011
    …nts. This is a preparation for keyword argument (see [ruby-core:40290]).
    
    * gc.c (gc_mark_children): bookkeeping.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * node.h, parse.y (new_args_gen), compile.c (iseq_set_arguments): use…

    mame committed Dec 26, 2011
    … struct rb_args_info instead of NODEs. This is a preparation for keyword argument (see [ruby-core:40290]).
    
    * node.c (dump_node), gc.c (gc_mark_children, obj_free): bookkeeping.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * node.h, parse.y (lambda, f_larglist): remove NEW_LAMBDA hack. This …

    mame committed Dec 26, 2011
    …is a preparation for keyword argument (see [ruby-core:40290]).
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * io.c (rb_sys_fail_path): move the definition.

    shirosaki committed Dec 26, 2011
      Move above for using it in set_binary_mode_with_seek_cur().
    
    * io.c (set_binary_mode_with_seek_cur): fix improper seek cursor.
      Seeking file cursor with setting binary mode has possibility to
      cause infinite loop. Fixed the bug and refined error handling.
      Introduced at r34043.
    
      And cleanups as below.
      Remove unnecessary parentheses of `fptr`.
      Use return value of setmode().
    
    * test/ruby/test_io_m17n.rb
      (TestIO_M17N#test_seek_with_setting_binmode): add a test for abobe.
      [ruby-core:41671] [Bug #5714]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * common.mk (LIBRUBY_A): depends on main.o since r33774.

    nobu committed Dec 26, 2011
      [ruby-core:41786] [Bug #5796]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * ChangeLog: fix miss; testcase is test file.

    sorah committed Dec 26, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * test/ruby/test_io.rb (TestIO#test_autoclose): Tempfile.new doesn't

    unak committed Dec 26, 2011
      accept the block argument.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * lib/test/unit.rb: Avoid zombie processes on "--separate" option

    sorah committed Dec 26, 2011
      added at r34121.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 25, 2011
  1. * ext/openssl/ossl_cipher.c: Fix more typos.

    emboss committed Dec 25, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * ext/openssl/ossl_cipher.c: Fixed typo.

    emboss committed Dec 25, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * ext/openssl/ossl_cipher.c: Update and complete documentation.

    emboss committed Dec 25, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * 2011-12-26

    matzbot committed Dec 25, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34123 b2dd03c8-39d4…

    emboss committed Dec 25, 2011
    …-4d8f-98ff-823fe69b080e
  6. * test/testunit/test_parallel.rb (test_separate): Test for "--separate"

    sorah committed Dec 25, 2011
      option (r34121)
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * lib/test/unit.rb (_run_parallel):

    sorah committed Dec 25, 2011
      New option "--separate" for test/unit; when running tests with this
      option, a job process will be restarted after one testcase has done.
      This means all testcases will run with separated process.
    
    * lib/test/unit/parallel.rb: Fix for above. Now parallel.rb puts
      "ready!" for first ready, "ready" for afters.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e