string.c: UTF-8 string function

* string.c (rb_utf8_str_new, rb_utf8_str_new_cstr): make UTF-8
  string.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fbuffer.h: expand arguments

* ext/json/fbuffer/fbuffer.h (fbuffer_to_s): expand arguments, for
  fix with rb_str_new macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
NEWS: note --with-jemalloc option [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-09-19

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
class.c: do not freeze meta-meta-class

* class.c (rb_freeze_singleton_class): should not propagate to
  meta-meta-class, and so on, which is shared with the original
  class.  fix occational exceptions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
error.c: preserve encoding

* error.c (rb_error_frozen_object): preserve encoding of class
  name in error message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_math.rb: use Float#infinite?

* test/ruby/test_math.rb (TestMath#assert_infinity): Float#finite?
  returns true also for NaN, so use Float#infinite? instead.
  [ruby-core:65117] [Feature #10261]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby.h: err rb_check_safe_str explicitly

* include/ruby/ruby.h (rb_check_safe_str, Check_SafeStr): show
  error message to update for obsolete function and macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
class.c: do not freeze class of hidden object

* class.c (rb_freeze_singleton_class): get rid of freeze class of
  hidden object to fix segfaults.

* include/ruby/ruby.h (rb_obj_freeze_inline): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
README.EXT: utf-8 string functions

* README.EXT (String Functions): rb_utf8_str_new() and
  rb_utf8_str_new_cstr().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Enable Multi-OS feature

Also turn off notifications and web hooks
Allow OS X jobs to fail
Allow 'diff' to fail and move on
Limit jobs for OS X

Seems to trigger build failures which manifest as
"Resource temporarily unavailable"
Disable multi-threading in make on the Mac

Race condition appears to trigger build failures

See, for example,
https://travis-ci.org/BanzaiMan/ruby/jobs/35615315
https://travis-ci.org/BanzaiMan/ruby/jobs/35615317
Use Homebrew's OpenSSL on OS X
Relax test_copied_ivar_memory_leak limit

On OS X, the ratio is just under 1.7