* defs/default_gems: Add base directory column.

* tool/rbinstall.rb:
  - Install .gemspecs of default gem to
    #{GEM_HOME}/specifications/default/.
  - Update files parameter of .gemspecs by relative path from
    library directory.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/memory_status.rb (Memory::Win32): use fiddle instead of dl,
  but I doubt fiddle is not compatible with dl. (if you are interested,
  see the diff.)


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: mention to ML and ticket: [ruby-core:50194] [Bug #7443]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/memory_status.rb (Memory::Win32): rescue non libffi user, such as ko1.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/memory_status.rb (Memory::Win32): sorry, ko1.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c: TracePoint#self returns invoking/exitting thread object
  at thread_begin/end event.
* test/ruby/test_settracefunc.rb: fix test.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit/parallel.rb (Test::Unit::Worker.run): wrap LoadError
  because it's Gem::LoadError sometimes.  see [Bug #6882]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix typos

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r38053 because it causes too many test failures.
  if you've already installed r38053 or later, remove the installed
  lib/ruby/gems/2.0.0 directory and reinstall this revision or later.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
revert r35486 (add rb_thread_t#yeiling field). because it doesn't help
to close a race.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h (rb_vm_struct): add thread_destruct_lock field.
* thread.c (Init_Thread): ditto.
* thread.c (rb_vm_gvl_destroy): ditto.

* thread.c (thread_start_func_2): make sure vm->running_thread
  don't point to dead thread.
* thread.c (timer_thread_function): close a race against thead
  destruction. [Bug #4911][ruby-dev:43859]

* vm_core.h (rb_thread_set_current): reset running time of
  current thread instead of previous thread. We no longer
  assume previous running thread still live.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rubygems/specification.rb
  (Gem::Specification.validate_permissions): don't check executablity
  of the source on Windows.  they will be wrapped to .bat files when
  installing.  see [ruby-core:50388].


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rubygems/test_gem_ext_ext_conf_builder.rb
  (TestGemExtExtConfBuilder::test_class_make): reading with binary mode
  of course introduce \r on Windows.  see [ruby-core:50388].


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rubygems/test_gem_installer.rb
  (TestGemInstaller#test_check_executable_overwrite_default_bin_dir):
  if the executable to be overwritten was generated by rubygems, the
  error messsage differs from the only copied one's.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix a typo for r38063.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix a typo for r38064.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2012-12-01

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: remove duplicated lines for r38042-r38044.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/rubygems/test_gem_installer.rb
  (TestGemInstaller#test_check_executable_overwrite_other_non_gem):
  on Windows, rubygems always generate a wrapper .bat file when
  installing a file into bin, so testing no-overwrite a wrapper file
  and a non-wrapper file is nonsence.  see [ruby-core:50388].


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix typos

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@38072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e