Permalink
Commits on Dec 30, 2008
  1. tags branches/ruby_1_9_1@r21202 as v1_9_1_rc1

    yugui committed Dec 30, 2008
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_1_rc1@21203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merges r21188 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    Imported minitest 1.3.1 r4506.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merges r21187 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * transcode.c: Minor fixes and tweaks in documentation.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merges r21186 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * ext/dl/test/test_import.rb: fix a prototype decl.
      pointed out by Takehiro Kubo [ruby-core:20971].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. merges r21185 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * thread.c (rb_thread_blocking_region): add a comment.
    * thread.c (rb_thread_call_without_gvl): added as a alias of
      rb_thread_blocking_region().
    * thread.c (rb_thread_call_with_gvl): added.
    * vm_core.h (rb_thread_t#blocking_region_buffer): added for
      rb_thread_call_with_gvl().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merges r21183 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * properties
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. merges r21181 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * process.c (rb_waitpid): retries waitpid when EINTR.
      [ruby-core:19744].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. merges r21177 and r21182 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * ext/dl/test/test_base.rb: add x86_64-linux's case again. #932
    --
    * ext/dl/test/test_base.rb: add libc search logic.
      this patch is written by Takehiro Kubo.
      [ruby-core:20963] [Bug #932]
    * ext/dl/dl.h: Add ",..." as the last argument.
      this patch is written by Takehiro Kubo.
      Bug #633 [ruby-core:19289]
    * ext/dl/lib/dl/stack.rb: add add_padding() to calculate
      alignment.  this patch is written by Takehiro Kubo.
      Bug #633 [ruby-core:19289]
    * ext/dl/test/test_func.rb: atof()'s return value is double.
      this patch is written by Takehiro Kubo.
      Bug #633 [ruby-core:19289]
    * ext/dl/test/test_import.rb:
      - atof()'s return value is double.
      - The types of qsort's second and third argument are size_t.
      - fprintf()'s return value is int.
      this patch is written by Takehiro Kubo.
      Bug #633 [ruby-core:19289]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. merges r21175 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * man/ri.1: new manpage.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. merges r21174 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    arrangement
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. merges r21171 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * bin/erb: accepts options in more flexible styles.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. merges r21170 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * lib/erb.rb (ERB): m17n of ERB. adds rdoc.
      fixes #712. c.f. [ruby-dev:37516].
    
    * lib/erb.rb (ERB::Compiler#compile): recognizes magic comments.
      returns a pair of compiled script and its script encoding.
    
    * lib/erb.rb (ERB#set_eoutvar): make generated scripts return a
      string in correct encoding.
    
    * lib/erb.rb (ERB#def_method): use Kernel#eval for encoding-awareness
      of the evaluated string.
    
    * bin/erb.rb (ERB::Main.run): adds -E and -U options.
      String is no longer Enumerable.
    
    * man/erb.1: new manapage.
    
    * test/erb/test_erb_m17n.rb: new test case for m17n features.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. * 2008-12-30

    matzbot committed Dec 30, 2008
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  14. merges r21163 from trunk into ruby_1_9_1.

    yugui committed Dec 30, 2008
    * vm.c (vm_set_eval_stack, vm_set_main_stack, vm_set_top_stack):
      check stack overflow.  [ruby-dev:37646]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 29, 2008
  1. merges r21149 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * Makefile.in (ext-clean): ext-clean always fails.
    
    * ext/dl/ripper/extconf.rb: adds y.output into the clean list.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merges r21148 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * thread.c (rb_mutex_trylock): return false if Mutex owned
      by current thread.  [ruby-core:20943]
    * thread.c (rb_mutex_lock): check dead lock (recursive lock) here.
    * test/ruby/test_thread.rb: add a test.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merges r21145 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * cont.c: small RDoc fix mentioned from <radek.bulat at gmail.com>
      in [ruby-core:20921].
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merges r21143 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * ruby.c (process_options): set th->base_block only while
      it is needed. [ruby-dev:37634]
    * ruby.c (require_libraries): clear th->base_block before
      require libraries.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. merges r21115 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * sprintf.c: not force to override snprintf/vsnprintf.
      [ruby-core:20824]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merges r21139 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * test/ext/dl/test_base.rb : add BSD's case.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. merges r21138 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows
      a feature change in 1.9.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. merges r21136 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * win32/Makefile.sub (config.h): do not use snprintf/vsnprintf in
      msvcrt.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. merges r21135 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    * test/ruby/test_sprintf.rb (test_invalid): suppress warning.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * 2008-12-29

    matzbot committed Dec 29, 2008
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. merges r21110, r21111 and r21140 from trunk into ruby_1_9_1.

    yugui committed Dec 29, 2008
    	* ext/dl/test/test_dl2.rb: modify strncpy, strcpy, qsort, types.
    	  Bug #633 [ruby-core:19289]
    	* ext/dl/test/test_base.rb: /lib/libc.so is x86_64 binary in x86_64 architecture.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 28, 2008
  1. * test/rubygems/test_gem_command.rb

    yugui committed Dec 28, 2008
      (test_add_option_overlapping_common_and_local_options):
      follows r21066.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. merges r21112 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * test/rubygems/test_ext_configure_builder.rb (test_self_build_fail):
      Extends pattern for FreeBSD's error message.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. merges r21105 and r21106 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * thread.c (mutex_free): GC thread (main thread) has failed to unlock
      a mutex that is locked by another thread, which makes the mutex
      dangling in keeping_mutexes and causes [BUG] or stuck finally.
      Now unlocking is performed as locking thread.
    
    * thread.c (mutex_unlock, rb_mutex_unlock, rb_mutex_unlock_all):
      mutex_unlock receives a thread.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. merges r21104 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * Imported minitest 1.3.1 r4505.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. merges r21102 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * runruby.rb: refactored to modify ENV as once.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. merges r21101 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * test/rdoc/test_rdoc_info_formatting.rb (setup, teadown): uses
      mktmpdir and removes it alfter the test.
    
    * test/cgi/test_cgi_session.rb (setup, teadown): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. merges r21100 and r21107 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
           * ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64.
           * ext/dl/test/test_base.rb: use libc.dylib when the platform is
           darwin.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. merges r21099 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    	* win32/win32.c (rb_w32_argv_size): if an argument is empty, it's size
    	  is 2, not 0, because it will be converted to "".
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. merges r21097 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * process.c (after_exec): needs to reset before restart timer
      thread.
    
    * thread.c (thread_start_func_2): stops timer thread if forked in
      the new thread.   [ruby-core:19385]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. merges r21096 from trunk into ruby_1_9_1.

    yugui committed Dec 28, 2008
    * thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): DRY.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e