* ext/psych/lib/psych.rb: Changed comment in psych.rb to update new
  home page for libyaml.  Thanks to Carolyn Ann.

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

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/psych/lib/psych/scalar_scanner.rb: Fix scalar_scanner to
  understand strings starting with an underscore and containing only
  digits.  Thanks Kelley Reynolds.

* test/psych/test_scalar_scanner.rb: test for fix

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/psych/lib/psych/scalar_scanner.rb: Ignore bad timestamps.  If
  something looks like a timestamp but has an invalid component, treat
  it as a string instead of throwing an ArgumentError.
  Thanks Rhett Sutphin!

* test/psych/test_scalar_scanner.rb: appropriate tests.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/psych/lib/psych/visitors/to_ruby.rb: Handle nil tags specially
  to avoid slow method_missing calls.  Thanks Kevin Menard!

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/psych/lib/psych/scalar_scanner.rb: Updated the RegExp to catch
  Strings earlier in the tokenization process.  Thanks Kevin Menard!

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/psych/lib/psych/scalar_scanner.rb: Cache symbols while
  tokenizing.  Thanks Kevin Menard!

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/psych/parser.c: just get the constant defined in Ruby.

* ext/psych/lib/psych/syntax_error.rb: Psych::SyntaxError now inherits
  from StandardError rather than SyntaxError.  Thanks Eric Hodel!

* test/psych/test_exception.rb: tests for change.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h, vm_insnhelper.c, vm_eval.c (OPT_CALL_CFUNC_WITHOUT_FRAME):
  add a new otpimization and its macro `OPT_CALL_CFUNC_WITHOUT_FRAME'.
  This optimization makes all cfunc method calls `frameless', which
  is fster than ordinal cfunc method call.
  If `frame' is needed (for example, it calls another method with
  `rb_funcall()'), then build a frame. In other words, this
  optimization delays frame building.
  However, to delay the frame building, we need additional overheads:
  (1) Store the last call information.
  (2) Check the delayed frame buidling before the frame is needed.
  (3) Overhead to build a delayed frame.
  rb_thread_t::passed_ci is storage of delayed cfunc call information.
  (1) is lightweight because it is only 1 assignment to `passed_ci'.
  To achieve (2), we modify GET_THREAD() to check `passed_ci' every
  time. It causes 10% overhead on my envrionment.
  This optimization only works for cfunc methods which do not need
  their `frame'.
  After evaluation on my environment, this optimization does not
  effective every time. Because of this evaluation results, this
  optimization is disabled at default.
* vm_insnhelper.c, vm.c: add VM_PROFILE* macros to measure behaviour
  of VM internals. I will extend this feature.
* vm_method.c, method.h: change parameters of the `invoker' function.
  Receive `func' pointer as the first parameter.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (rb_threadptr_raise): check interrupts after
  Thread#raise because the behavior of Thread.current.raise is
  expected to perform same as Kernel.raise (by rubyspec).



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Revert the last commit because some tests (in btest) fail

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
configure.in: no visibility option for older GCC

* configure.in (visibility_option): visibility attribute is not
  available before GCC 4, so do not use -fvisibility option in that
  case.  [ruby-core:48147] [Bug #7205]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby-electric.el: fix #198

* misc/ruby-electric.el using variable `last-command-event' instead of
  obsolete `last-command-char', so that work with Emacs trunk.
  a patch by Victor Deryagin <vderyagin AT gmail.com>.


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

* ruby.c (usage, process_options): show more info in --help.
  [EXPREIMENTAL] [ruby-core:48072] [Bug #7184]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (thread_raise_m):  check interrupts after Thread#raise
  if a target thread is the current thread because the behavior
  of Thread.current.raise is expected to perform same as
  Kernel.raise (by rubyspec).



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