test_curses.rb: default TERM

* test/test_curses.rb (TestCurses#run_curses): default TERM
  environment variable which is needed by ncurses.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
iseq.c: remove duplicated strings for file paths

* iseq.c (iseq_location_setup): re-use existing string when iseq has
  the same path and absolute_path. [Bug #8149]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/rubysocket.h (SOCKLEN_MAX): Defined.

* ext/socket/raddrinfo.c (ext/socket/raddrinfo.c): Reject too long
  Linux abstract socket name.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
iseq: reduce array allocations for simple sequences

* compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().

* insns.def (setinlinecache): Ditto.

* iseq.c (rb_iseq_add_mark_object): New function to allocate
  iseq->mark_ary on demand. [Bug #8142]

* iseq.h (rb_iseq_add_mark_object): Ditto.

* iseq.c (prepare_iseq_build): Avoid allocating mark_ary until needed.

* iseq.c (rb_iseq_build_for_ruby2cext): Ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Oops, I forgot to use JST in the ChangeLog entry.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk (clean-ext): remove timestamps.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-04-18

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pack.c (pack_unpack): output characters even if the input doesn't
  have paddings. [Bug #8286]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Increase capacity for skipping paddings

fix for r40342

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
pack.c: refix unpack base64

* pack.c (pack_unpack): increase buffer size to fix buffer overflow,
  and fix garbages just after unpacking without missing paddings.
  [Bug #8286]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
dir.c: not skip dot directories if matching

* dir.c (glob_helper): should skip dot directories only for recursion,
  but should not if matching to the given pattern.  [ruby-core:54387]
  [Bug #8283]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
vm_method.c: fix visibility on anonymous module

* vm_method.c (rb_mod_public_method): fix visibility on anonymous
  module. set visibility of singleton method, not method in base
  class.  [ruby-core:54404] [Bug #8284]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Run test-all on travis-ci

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread.c: fix overflow on Windows

* thread.c (sleep_timeval): get rid of overflow on Windows where
  timeval.tv_sec is not time_t but mere long.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
assertions.rb: remove UNASSIGNED

* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
  UNASSIGNED is not a valid message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
iseq.c: remove duplicated strings for file paths

* iseq.c (iseq_location_setup): re-use existing string when iseq has
  the same path and absolute_path. [Bug #8149]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
iseq: reduce array allocations for simple sequences

* compile.c (iseq_add_mark_object): Use new rb_iseq_add_mark_object().

* insns.def (setinlinecache): Ditto.

* iseq.c (rb_iseq_add_mark_object): New function to allocate
  iseq->mark_ary on demand. [Bug #8142]

* iseq.h (rb_iseq_add_mark_object): Ditto.

* iseq.c (prepare_iseq_build): Avoid allocating mark_ary until needed.

* iseq.c (rb_iseq_build_for_ruby2cext): Ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Oops, I forgot to use JST in the ChangeLog entry.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.

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