Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

.travis.yml: run test_thread.rb only. #177

Closed
wants to merge 79 commits into from

13 participants

Nobuyoshi Nakada Zachary Scott NARUSE, Yui Hiroshi Shirosaki Shugo Maeda nagachika Kenta Murata Akinori MUSHA Eric Hodel Narihiro Nakamura Koichi Sasada Aaron Patterson Kazuhiro NISHIYAMA
Nobuyoshi Nakada
Collaborator

No description provided.

shirosaki and others added some commits
Hiroshi Shirosaki shirosaki test_unicode_escape.rb: fix test for Windows
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):
  echo command doesn't work properly against non-ascii character on
  Windows with chcp 437. Instead we use ruby.
  [ruby-core:47709] [Bug #7076]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
b5de8fc
Hiroshi Shirosaki shirosaki * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):
  Use ruby only on Windows since the test fails on Unix with LANG=C.
  [ruby-core:47709] [Bug #7076]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
93731ef
svn * 2012-09-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
039e2a3
Shugo Maeda shugo * vm_insnhelper.c (rb_vm_using_modules): use using_modules before
  klass to fix method lookup order, and use klass even if klass is
  not a module to make refinements in class_eval invoked on classes
  work.

* eval.c (rb_using_module): accept a class as the second argument.

* eval.c (rb_mod_using, f_using): raise a TypeError if the argument
  is not a module.

* test/ruby/test_refinement.rb: add new tests for the above changes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
0954607
Hiroshi Shirosaki shirosaki test_unicode_escape.rb: set script encoding
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):
  set script encoding to work with LANG=C. It would work on both
  Windows and Unix. Refix of r37051.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
6d1220b
Hiroshi Shirosaki shirosaki drbtest.rb: use :KILL on Windows
* test/drb/drbtest.rb (DRbCore#teardown):
  Use Process.kill :KILL on Windows because Process.kill :INT silently
  fails on Windows 7 and raises EINVAL on Windows XP for spawned
  process with new_pgroup: false.

* test/drb/drbtest.rb (DRbAry#teardown): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
d0df054
Hiroshi Shirosaki shirosaki test_http.rb: clear environment variables
* test/net/http/test_http.rb (TestNetHTTP#test_proxy_address):
  clear environment variables. If http_proxy environment variable was
  set, the test failed.

* test/net/http/test_http.rb (TestNetHTTP#test_proxy_port): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
e453cc7
Hiroshi Shirosaki shirosaki envutil.rb: kill child process when timeout
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): kill child process
  before Timeout::Error is raised. rmdir of mktmpdir fails with
  EACCES if child process is alive on Windows.

* test/thread/test_queue.rb (TestQueue): increase timeout.
  This test takes long time on Windows XP.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
4d4800a
NARUSE, Yui nurse * string.c (rb_str_concat): use memcpy to copy a string which contains
  NUL characters. [ruby-core:47751] [Bug #7090]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
64989fa
svn * 2012-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ab5545e
nagachika nagachika * test/ruby/test_enumerator.rb (enum_test, test_inspect): remove unused
  variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
173aacf
Kenta Murata mrkn * vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports
  in the list of locations of crash reports.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
0d3cd41
Akinori MUSHA knu * configure.in (--with-opt-dir): Make this also work on DLDFLAGS
  so LIBRUBY_SO links fine with libexecinfo installed in a
  non-system directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1d695c3
svn * 2012-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
a0f43fa
Shugo Maeda shugo * eval.c (identify_hash_new): new function to create a new identity
  hash.

* eval.c (rb_overlay_module, rb_mod_using, rb_mod_refine): use
  identify_hash_new().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
e56eb1b
nagachika nagachika * ChangeLog: fix typos of r37064.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
39ef471
Nobuyoshi Nakada nobu eval.c: hide internal hash
* eval.c (identity_hash_new): hide internal hashes for refinements.
* eval.c (rb_mod_refine): no default value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
a416367
svn * 2012-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
a63bde6
Shugo Maeda shugo * error.c (exc_to_s, name_err_to_s, name_err_mesg_to_str): do not
  taint messages.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
a1ed68b
svn * 2012-10-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
a0ead9f
Eric Hodel drbrain * ext/openssl/ossl_x509store.c (ossl_x509store_add_file): Added
  documentation
* ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths):
  ditto
* ext/openssl/ossl_x509store.c (ossl_x509store_add_cert):  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
48af304
Nobuyoshi Nakada nobu io.c: improved IO#reopen
* io.c (rb_io_reopen): improvement to accept optional arguments.
  a patch by Glass_saga (Masaki Matsushita) in [ruby-core:47806].
  [Feature #7103]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5c677a8
Nobuyoshi Nakada nobu thread_pthread.c: init stack with ulimit
* thread_pthread.c (ruby_init_stack): use getrlimit() for the main
  thread on Mac OS X, since pthread_get_stack{addr,size}_np() and
  return the default value always, but not the ulimit value.
  [ruby-dev:46174] [Bug #7084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
54c17dc
Nobuyoshi Nakada nobu depend: dependency
* ext/json/generator/depend: fix missing dependency.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
396903d
Nobuyoshi Nakada nobu ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
f6d0cb4
Narihiro Nakamura authorNari * gc.c: Use the non-recursive marking instead of recursion. The
  recursion marking of CRuby needs checking stack overflow and the
  fail-safe system, but these systems not good at partial points,
  for example, marking deep tree structures. [ruby-dev:46184]
  [Feature #7095]

* configure.in (GC_MARK_STACKFRAME_WORD): removed. It's used by
  checking stack overflow of marking.

* win32/Makefile.sub (GC_MARK_STACKFRAME_WORD): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
8d53a08
Nobuyoshi Nakada nobu gc.c: unused function
* gc.c (free_stack_chunks): it is used only when per-VM object space
  is enabled.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
4336caf
xibbar * lib/cgi/html5.rb: Add html5 tag maker.
    * lib/cgi/core.rb: ditto.
      [Feature #6637]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aeca965
svn * 2012-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
6ed3628
Nobuyoshi Nakada nobu * thread_pthread.c (RUBY_STACK_MIN_LIMIT): name magic number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
cbe3646
Nobuyoshi Nakada nobu thread_pthread.c: precise stack size
* thread_pthread.c (ruby_init_stack): round stack limit to page size
  boundary to calculate stack size more precisely.  [ruby-dev:46174]
  [Bug #7084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fab7e66
Nobuyoshi Nakada nobu * gc.c: use enum for debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
6fa2980
Nobuyoshi Nakada nobu gc.c: self-referencing finalizers
* gc.c (rb_objspace_call_finalizer): mark self-referencing finalizers
  before run finalizers, to fix SEGV from btest on 32bit.
* gc.c (gc_mark_stacked_objects): extract from gc_marks().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
6aa2aab
Narihiro Nakamura authorNari * gc.c (rb_objspace_call_finalizer): call gc_mark_stacked_objects
  at suitable point.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2f9f17a
Koichi Sasada ko1 * test/ruby/test_settracefunc.rb (test_tracepoint):
  remove unused test case.
  (this test case is redefined by newer tests)



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
b1ad797
Koichi Sasada ko1 * vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis
  hooks (old macro name is COLLECT_USAGE_ANALYSIS).
  This feature is only for VM developers.  (I'm not sure I can use
  `VM developers' (the plural form) in this sentence).
  If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following
  usage collection features:
  (1) insntruction: collect intruction usages.
  (2) operand: collect operand usages.
  (3) register: collect register usages.
  The results are stored in
  RubyVM::USAGE_ANALYSIS_INSN for (1, 2),
  RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and
  RubyVM::USAGE_ANALYSIS_REGS for (3).
  You can stop collecting usages with
  RubyVM::USAGE_ANALYSIS_INSN_STOP(),
  RubyVM::USAGE_ANALYSIS_OPERAND_STOP(),
  RubyVM::USAGE_ANALYSIS_REGISTER_STOP()
  for (1), (2), (3) respectively.
  You can also change the hook functions by setting
  C level global variables
  `ruby_vm_collect_usage_func_(insn|operand|register)'
  for (1), (2), (3) respectively.
  See codes for more details.
* tool/instruction.rb: fix macro names.
* iseq.c (insn_operand_intern): make it export (used in vm.c).
  fix to skip several processes if not needed (pointer is 0).
* vm_dump.c: move codes for collection features to vm.c.
* vm_exec.h: rename macro and function names.
* vm_insnhelper.h: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
23dc0db
Koichi Sasada ko1 * vm.c (vm_analysis_insn|operand|register): use st_insert
  instead of using rb_hash_aset() because rb_hash_aset()
  check $SAFE.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
326e22e
Koichi Sasada ko1 * insns.def (getlocal, setlocal): remove old getlocal/setlocal
  instructions and rename getdaynmic/setdynamic instructions
  to getlocal/setlocal.
* compile.c: ditto.
* iseq.c: remove TS_DINDEX.
* vm_exec.h (dindex_t): remove type definition of `dindex_t'.
* tool/instruction.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08c8605
Narihiro Nakamura authorNari * gc.c (init_heap): call init_mark_stack before to allocate
  altstack. This change avoid the stack overflow at the signal
  handler on 32bit, but I don't understand reason... [Feature #7095]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ec62e30
Nobuyoshi Nakada nobu depend: missing dependency
* ext/date/depend: all source files need ruby.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
e2220d1
svn * 2012-10-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
42fcb80
Narihiro Nakamura authorNari * gc.c (chain_finalized_object): remove to check a mark flag and
  marking since all objects are certainly unmarked with rest_sweep.

* gc.c (rb_objspace_call_finalizer): remove to mark finalizable
  objects. The sweeping doesn't push T_ZOMBIE objects to the
  freelist.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
271f069
Narihiro Nakamura authorNari ChangeLog: fix a miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
c38ee00
Nobuyoshi Nakada nobu common.mk: gdb-ruby
* Makefile.in (RUNRUBY_COMMAND): split from RUNRUBY.

* common.mk (gdb-ruby): use runruby.rb to set up library path.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
7cc6bfa
Koichi Sasada ko1 * ext/objspace/objspace.c: add ObjectSpace#reachable_objects_from.
  This method returns an array of objects referenced by given object.
  If given object is special objects such as true/false/nil/Fixnum etc
  then it returns nil. See rdoc for details.
  [ruby-core:39772]
* test/objspace/test_objspace.rb: add a test for this method.
* gc.c: add rb_objspace_reachable_objects_from().
  To make this function, add several member `mark_func_data'
  to rb_objspace_t.  If mark_func_data is not null, then
  gc_mark() calls mark_func_data::mark_func.
* gc.h: export rb_objspace_reachable_objects_from().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
e03d6d9
takano32 * template/Doxyfile.tmpl: remove SHOW_DIRECTORIES and
  HTML_ALIGN_MEMBERS lines. They have been obsolete in
  Doxygen version 1.8.2.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ae114a8
Narihiro Nakamura authorNari revert r37091
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
4c0f022
Narihiro Nakamura authorNari fix comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
3376ea8
Nobuyoshi Nakada nobu encoding.c: unicode_p
* encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
d5ac3f7
svn * 2012-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
f6848bf
Aaron Patterson tenderlove Adding a test for initialize_clone and initialize_dup. From Github:
  ruby#190

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5d316e7
Nobuyoshi Nakada nobu encoding.c: unicode_p
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide
  UTF encodings are dummy but Unicode.
* encoding.c (rb_encdb_set_unicode): set Unicode flag.
* template/encdb.h.tmpl: allow ENC_DUMMY variants.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
928d1a5
Nobuyoshi Nakada nobu test_objspace.rb: refine
* test/objspace/test_objspace.rb (test_reachable_objects_from): use
  proper assertions, and show messages than comments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
122de73
Nobuyoshi Nakada nobu gc.c: use markable_object_p
* gc.c (gc_mark_children): use markable_object_p() and reduce
  duplicated code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
b1058ef
NARUSE, Yui nurse Revert r37098
This reverts
* encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag.
because UTF-16 and UTF-32 is also treated as unicode in this context.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
a9497d5
Shugo Maeda shugo * vm_method.c (search_method): check omod only once for performance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
c29c44c
Shugo Maeda shugo * vm_opts.h (OPT_GLOBAL_METHOD_CACHE): new build option to
  enable/disable global method caching. [ruby-dev:46203] [Bug #7111]

* vm_method.c (rb_method_entry_get_with_omod): don't use global
  method cache if OPT_GLOBAL_METHOD_CACHE is 0.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
e943396
Nobuyoshi Nakada nobu reapply r37098
UTF-16 and UTF-32 are also treated as unicode since r37101.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
678c8c6
Nobuyoshi Nakada nobu * test/openssl/test_config.rb (OpenSSL#test_constants): skip only when
  DEFAULT_CONFIG_FILE does not exist.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
f056778
Zachary Scott zzak * string.c (rb_str_match):
  Clarify behavior for captured strings and local variable assignment
  Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
133e0ec
svn * 2012-10-07
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
b48d8a0
Zachary Scott zzak * string.c (rb_str_match):
  Clarify behavior for captured strings and local variable assignment
  Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12bedee
Zachary Scott zzak * thread.c (rb_thread_aref):
  Grammar in Thread documentation.
  Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
86430d7
Zachary Scott zzak * lib/abbrev.rb: Documentation examples for Abbrev.
  [ruby-dev:47442] [Bug #6985]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5b1dc57
Kazuhiro NISHIYAMA znz fix ML ref
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ff87012
svn * 2012-10-08
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ff6dee4
Kazuhiro NISHIYAMA znz fix typos
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
cac424c
Shugo Maeda shugo * eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h,
  vm_method.c: rename omod and overlaid modules to refinements.

* eval.c (hidden_identity_hash_new): renamed from identity_hash_new.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
40d3e3c
Shugo Maeda shugo * eval.c (rb_mod_refinements): new method Module#refinements.
* test/ruby/test_refinement.rb: add new tests for the above changes.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
662408c
nagachika nagachika * ext/zlib/zlib.c (zstream_run_func): don't call inflate() when
  z->stream.avail_in == 0. it return Z_BUF_ERROR.
  but deflate() could be called with z->stream->avail_in == 0 because
  it has hidden buffer in z->stream->state (opaque structure).
  fix for gem install error. [ruby-dev:46149] [Bug #7040]

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19e3042
svn * 2012-10-09
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5a4a3ba
Koichi Sasada ko1 * vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.
  This data structure contains information including inline method
  cache. After that, `struct iseq_inline_cache_entry' does not
  need to contain inline cache for method invocation.
  Other information will be added to this data structure.
* vm_core.h (rb_iseq_t): add `callinfo_entries' and `callinfo_size'
  members to `rb_iseq_t'.
* insns.def, compile.c: Use CALL_INFO instead of IC.
* tool/instruction.rb: support CALL_INFO as operand type.
* vm_insnhelper.c, vm_insnhelper.h: ditto.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
3039df3
Koichi Sasada ko1 * iseq.c (iseq_free): fix memory leak.
  rb_iseq_t::callinfo_entries should be freed.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
e25f585
Nobuyoshi Nakada nobu * ChangeLog: fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
42238b3
Nobuyoshi Nakada nobu process.c: uid gid exec options
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and
  :gid options.  [ruby-core:47414] [Feature #6975]
9962f01
Nobuyoshi Nakada nobu process.c: uid gid exec options
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and
  :gid options.  [ruby-core:47414] [Feature #6975]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
faaf582
Nobuyoshi Nakada nobu .travis.yml: run test_thread.rb only. fc7c8f9
Nobuyoshi Nakada nobu .travis.yml: seems working with clangs, btest does not need exts. 1850398
Nobuyoshi Nakada nobu .travis.yml: irc notification. b7b9bab
Zachary Scott
Collaborator

@nobu ping, should we close this?

NARUSE, Yui nurse closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 28, 2012
  1. Hiroshi Shirosaki

    test_unicode_escape.rb: fix test for Windows

    shirosaki authored
    * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):
      echo command doesn't work properly against non-ascii character on
      Windows with chcp 437. Instead we use ruby.
      [ruby-core:47709] [Bug #7076]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Hiroshi Shirosaki

    * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):

    shirosaki authored
      Use ruby only on Windows since the test fails on Unix with LANG=C.
      [ruby-core:47709] [Bug #7076]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * 2012-09-29

    svn authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 29, 2012
  1. Shugo Maeda

    * vm_insnhelper.c (rb_vm_using_modules): use using_modules before

    shugo authored
      klass to fix method lookup order, and use klass even if klass is
      not a module to make refinements in class_eval invoked on classes
      work.
    
    * eval.c (rb_using_module): accept a class as the second argument.
    
    * eval.c (rb_mod_using, f_using): raise a TypeError if the argument
      is not a module.
    
    * test/ruby/test_refinement.rb: add new tests for the above changes.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Hiroshi Shirosaki

    test_unicode_escape.rb: set script encoding

    shirosaki authored
    * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):
      set script encoding to work with LANG=C. It would work on both
      Windows and Unix. Refix of r37051.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Hiroshi Shirosaki

    drbtest.rb: use :KILL on Windows

    shirosaki authored
    * test/drb/drbtest.rb (DRbCore#teardown):
      Use Process.kill :KILL on Windows because Process.kill :INT silently
      fails on Windows 7 and raises EINVAL on Windows XP for spawned
      process with new_pgroup: false.
    
    * test/drb/drbtest.rb (DRbAry#teardown): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Hiroshi Shirosaki

    test_http.rb: clear environment variables

    shirosaki authored
    * test/net/http/test_http.rb (TestNetHTTP#test_proxy_address):
      clear environment variables. If http_proxy environment variable was
      set, the test failed.
    
    * test/net/http/test_http.rb (TestNetHTTP#test_proxy_port): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Hiroshi Shirosaki

    envutil.rb: kill child process when timeout

    shirosaki authored
    * test/ruby/envutil.rb (EnvUtil#invoke_ruby): kill child process
      before Timeout::Error is raised. rmdir of mktmpdir fails with
      EACCES if child process is alive on Windows.
    
    * test/thread/test_queue.rb (TestQueue): increase timeout.
      This test takes long time on Windows XP.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 30, 2012
  1. NARUSE, Yui

    * string.c (rb_str_concat): use memcpy to copy a string which contains

    nurse authored
      NUL characters. [ruby-core:47751] [Bug #7090]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2012-09-30

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

    * test/ruby/test_enumerator.rb (enum_test, test_inspect): remove unused

    nagachika authored
      variable.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Kenta Murata

    * vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports

    mrkn authored
      in the list of locations of crash reports.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Akinori MUSHA

    * configure.in (--with-opt-dir): Make this also work on DLDFLAGS

    knu authored
      so LIBRUBY_SO links fine with libexecinfo installed in a
      non-system directory.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * 2012-10-01

    svn authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 1, 2012
  1. Shugo Maeda

    * eval.c (identify_hash_new): new function to create a new identity

    shugo authored
      hash.
    
    * eval.c (rb_overlay_module, rb_mod_using, rb_mod_refine): use
      identify_hash_new().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. nagachika

    * ChangeLog: fix typos of r37064.

    nagachika authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 2, 2012
  1. Nobuyoshi Nakada

    eval.c: hide internal hash

    nobu authored
    * eval.c (identity_hash_new): hide internal hashes for refinements.
    * eval.c (rb_mod_refine): no default value.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2012-10-02

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

    * error.c (exc_to_s, name_err_to_s, name_err_mesg_to_str): do not

    shugo authored
      taint messages.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * 2012-10-03

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

    * ext/openssl/ossl_x509store.c (ossl_x509store_add_file): Added

    drbrain authored
      documentation
    * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths):
      ditto
    * ext/openssl/ossl_x509store.c (ossl_x509store_add_cert):  ditto
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 3, 2012
  1. Nobuyoshi Nakada

    io.c: improved IO#reopen

    nobu authored
    * io.c (rb_io_reopen): improvement to accept optional arguments.
      a patch by Glass_saga (Masaki Matsushita) in [ruby-core:47806].
      [Feature #7103]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Nobuyoshi Nakada

    thread_pthread.c: init stack with ulimit

    nobu authored
    * thread_pthread.c (ruby_init_stack): use getrlimit() for the main
      thread on Mac OS X, since pthread_get_stack{addr,size}_np() and
      return the default value always, but not the ulimit value.
      [ruby-dev:46174] [Bug #7084]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Nobuyoshi Nakada

    depend: dependency

    nobu authored
    * ext/json/generator/depend: fix missing dependency.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Nobuyoshi Nakada

    ChangeLog: fix typo.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Narihiro Nakamura

    * gc.c: Use the non-recursive marking instead of recursion. The

    authorNari authored
      recursion marking of CRuby needs checking stack overflow and the
      fail-safe system, but these systems not good at partial points,
      for example, marking deep tree structures. [ruby-dev:46184]
      [Feature #7095]
    
    * configure.in (GC_MARK_STACKFRAME_WORD): removed. It's used by
      checking stack overflow of marking.
    
    * win32/Makefile.sub (GC_MARK_STACKFRAME_WORD): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Nobuyoshi Nakada

    gc.c: unused function

    nobu authored
    * gc.c (free_stack_chunks): it is used only when per-VM object space
      is enabled.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 4, 2012
  1. * lib/cgi/html5.rb: Add html5 tag maker.

    xibbar authored
        * lib/cgi/core.rb: ditto.
          [Feature #6637]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2012-10-04

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

    * thread_pthread.c (RUBY_STACK_MIN_LIMIT): name magic number.

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

    thread_pthread.c: precise stack size

    nobu authored
    * thread_pthread.c (ruby_init_stack): round stack limit to page size
      boundary to calculate stack size more precisely.  [ruby-dev:46174]
      [Bug #7084]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Nobuyoshi Nakada

    * gc.c: use enum for debugging.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Nobuyoshi Nakada

    gc.c: self-referencing finalizers

    nobu authored
    * gc.c (rb_objspace_call_finalizer): mark self-referencing finalizers
      before run finalizers, to fix SEGV from btest on 32bit.
    * gc.c (gc_mark_stacked_objects): extract from gc_marks().
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. Narihiro Nakamura

    * gc.c (rb_objspace_call_finalizer): call gc_mark_stacked_objects

    authorNari authored
      at suitable point.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. Koichi Sasada

    * test/ruby/test_settracefunc.rb (test_tracepoint):

    ko1 authored
      remove unused test case.
      (this test case is redefined by newer tests)
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. Koichi Sasada

    * vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis

    ko1 authored
      hooks (old macro name is COLLECT_USAGE_ANALYSIS).
      This feature is only for VM developers.  (I'm not sure I can use
      `VM developers' (the plural form) in this sentence).
      If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following
      usage collection features:
      (1) insntruction: collect intruction usages.
      (2) operand: collect operand usages.
      (3) register: collect register usages.
      The results are stored in
      RubyVM::USAGE_ANALYSIS_INSN for (1, 2),
      RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and
      RubyVM::USAGE_ANALYSIS_REGS for (3).
      You can stop collecting usages with
      RubyVM::USAGE_ANALYSIS_INSN_STOP(),
      RubyVM::USAGE_ANALYSIS_OPERAND_STOP(),
      RubyVM::USAGE_ANALYSIS_REGISTER_STOP()
      for (1), (2), (3) respectively.
      You can also change the hook functions by setting
      C level global variables
      `ruby_vm_collect_usage_func_(insn|operand|register)'
      for (1), (2), (3) respectively.
      See codes for more details.
    * tool/instruction.rb: fix macro names.
    * iseq.c (insn_operand_intern): make it export (used in vm.c).
      fix to skip several processes if not needed (pointer is 0).
    * vm_dump.c: move codes for collection features to vm.c.
    * vm_exec.h: rename macro and function names.
    * vm_insnhelper.h: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. Koichi Sasada

    * vm.c (vm_analysis_insn|operand|register): use st_insert

    ko1 authored
      instead of using rb_hash_aset() because rb_hash_aset()
      check $SAFE.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. Koichi Sasada

    * insns.def (getlocal, setlocal): remove old getlocal/setlocal

    ko1 authored
      instructions and rename getdaynmic/setdynamic instructions
      to getlocal/setlocal.
    * compile.c: ditto.
    * iseq.c: remove TS_DINDEX.
    * vm_exec.h (dindex_t): remove type definition of `dindex_t'.
    * tool/instruction.rb: ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. Narihiro Nakamura

    * gc.c (init_heap): call init_mark_stack before to allocate

    authorNari authored
      altstack. This change avoid the stack overflow at the signal
      handler on 32bit, but I don't understand reason... [Feature #7095]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 5, 2012
  1. Nobuyoshi Nakada

    depend: missing dependency

    nobu authored
    * ext/date/depend: all source files need ruby.h.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2012-10-05

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

    * gc.c (chain_finalized_object): remove to check a mark flag and

    authorNari authored
      marking since all objects are certainly unmarked with rest_sweep.
    
    * gc.c (rb_objspace_call_finalizer): remove to mark finalizable
      objects. The sweeping doesn't push T_ZOMBIE objects to the
      freelist.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Narihiro Nakamura

    ChangeLog: fix a miss

    authorNari authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Nobuyoshi Nakada

    common.mk: gdb-ruby

    nobu authored
    * Makefile.in (RUNRUBY_COMMAND): split from RUNRUBY.
    
    * common.mk (gdb-ruby): use runruby.rb to set up library path.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Koichi Sasada

    * ext/objspace/objspace.c: add ObjectSpace#reachable_objects_from.

    ko1 authored
      This method returns an array of objects referenced by given object.
      If given object is special objects such as true/false/nil/Fixnum etc
      then it returns nil. See rdoc for details.
      [ruby-core:39772]
    * test/objspace/test_objspace.rb: add a test for this method.
    * gc.c: add rb_objspace_reachable_objects_from().
      To make this function, add several member `mark_func_data'
      to rb_objspace_t.  If mark_func_data is not null, then
      gc_mark() calls mark_func_data::mark_func.
    * gc.h: export rb_objspace_reachable_objects_from().
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * template/Doxyfile.tmpl: remove SHOW_DIRECTORIES and

    takano32 authored
      HTML_ALIGN_MEMBERS lines. They have been obsolete in
      Doxygen version 1.8.2.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. Narihiro Nakamura

    revert r37091

    authorNari authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. Narihiro Nakamura

    fix comments

    authorNari authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. Nobuyoshi Nakada

    encoding.c: unicode_p

    nobu authored
    * encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * 2012-10-06

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

    Adding a test for initialize_clone and initialize_dup. From Github:

    tenderlove authored
      ruby#190
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 6, 2012
  1. Nobuyoshi Nakada

    encoding.c: unicode_p

    nobu authored
    * enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide
      UTF encodings are dummy but Unicode.
    * encoding.c (rb_encdb_set_unicode): set Unicode flag.
    * template/encdb.h.tmpl: allow ENC_DUMMY variants.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Nobuyoshi Nakada

    test_objspace.rb: refine

    nobu authored
    * test/objspace/test_objspace.rb (test_reachable_objects_from): use
      proper assertions, and show messages than comments.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Nobuyoshi Nakada

    gc.c: use markable_object_p

    nobu authored
    * gc.c (gc_mark_children): use markable_object_p() and reduce
      duplicated code.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. NARUSE, Yui

    Revert r37098

    nurse authored
    This reverts
    * encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag.
    because UTF-16 and UTF-32 is also treated as unicode in this context.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. Shugo Maeda

    * vm_method.c (search_method): check omod only once for performance.

    shugo authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Shugo Maeda

    * vm_opts.h (OPT_GLOBAL_METHOD_CACHE): new build option to

    shugo authored
      enable/disable global method caching. [ruby-dev:46203] [Bug #7111]
    
    * vm_method.c (rb_method_entry_get_with_omod): don't use global
      method cache if OPT_GLOBAL_METHOD_CACHE is 0.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. Nobuyoshi Nakada

    reapply r37098

    nobu authored
    UTF-16 and UTF-32 are also treated as unicode since r37101.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. Nobuyoshi Nakada

    * test/openssl/test_config.rb (OpenSSL#test_constants): skip only when

    nobu authored
      DEFAULT_CONFIG_FILE does not exist.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. Zachary Scott

    * string.c (rb_str_match):

    zzak authored
      Clarify behavior for captured strings and local variable assignment
      Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * 2012-10-07

    svn authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. Zachary Scott

    * string.c (rb_str_match):

    zzak authored
      Clarify behavior for captured strings and local variable assignment
      Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  12. Zachary Scott

    * thread.c (rb_thread_aref):

    zzak authored
      Grammar in Thread documentation.
      Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  13. Zachary Scott

    * lib/abbrev.rb: Documentation examples for Abbrev.

    zzak authored
      [ruby-dev:47442] [Bug #6985]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 7, 2012
  1. Kazuhiro NISHIYAMA

    fix ML ref

    znz authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2012-10-08

    svn authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Kazuhiro NISHIYAMA

    fix typos

    znz authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 8, 2012
  1. Shugo Maeda

    * eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h,

    shugo authored
      vm_method.c: rename omod and overlaid modules to refinements.
    
    * eval.c (hidden_identity_hash_new): renamed from identity_hash_new.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Shugo Maeda

    * eval.c (rb_mod_refinements): new method Module#refinements.

    shugo authored
    * test/ruby/test_refinement.rb: add new tests for the above changes.
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. nagachika

    * ext/zlib/zlib.c (zstream_run_func): don't call inflate() when

    nagachika authored
      z->stream.avail_in == 0. it return Z_BUF_ERROR.
      but deflate() could be called with z->stream->avail_in == 0 because
      it has hidden buffer in z->stream->state (opaque structure).
      fix for gem install error. [ruby-dev:46149] [Bug #7040]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * 2012-10-09

    svn authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 9, 2012
  1. Koichi Sasada

    * vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.

    ko1 authored
      This data structure contains information including inline method
      cache. After that, `struct iseq_inline_cache_entry' does not
      need to contain inline cache for method invocation.
      Other information will be added to this data structure.
    * vm_core.h (rb_iseq_t): add `callinfo_entries' and `callinfo_size'
      members to `rb_iseq_t'.
    * insns.def, compile.c: Use CALL_INFO instead of IC.
    * tool/instruction.rb: support CALL_INFO as operand type.
    * vm_insnhelper.c, vm_insnhelper.h: ditto.
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. Koichi Sasada

    * iseq.c (iseq_free): fix memory leak.

    ko1 authored
      rb_iseq_t::callinfo_entries should be freed.
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Nobuyoshi Nakada

    * ChangeLog: fix typo.

    nobu authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. Nobuyoshi Nakada

    process.c: uid gid exec options

    nobu authored
    * process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and
      :gid options.  [ruby-core:47414] [Feature #6975]
  5. Nobuyoshi Nakada

    process.c: uid gid exec options

    nobu authored
    * process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and
      :gid options.  [ruby-core:47414] [Feature #6975]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Nobuyoshi Nakada
  7. Nobuyoshi Nakada
  8. Nobuyoshi Nakada

    .travis.yml: irc notification.

    nobu authored
Something went wrong with that request. Please try again.