kazu
06ba00507b
fix typo [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 13:46:22 +00:00
akr
59ae4924b0
Join threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 11:34:50 +00:00
ko1
bbfe069ec1
* vm.c (ruby_vm_destruct): remove useless call of
...
rb_gc_force_recycle().
At this line, a VM object is already freed
(is changed to T_NONE) by rb_gc_call_finalizer_at_exit().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 08:17:55 +00:00
ko1
7af941da15
* eval.c (rb_using_refinement): add write-barriers for
...
cref->nd_refinements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 06:51:41 +00:00
hsbt
be29ae6b05
* CONTRIBUTING.md: added contibuting guide for github. [fix GH-625]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 03:29:13 +00:00
tmm1
3ef5adb45b
xmlrpc/client: fix documentation typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-02 00:43:29 +00:00
akr
fe38158f9b
* test/ruby/envutil.rb (default_warning): New method.
...
* test/ruby/test_autoload.rb: Use EnvUtil.default_warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 22:31:30 +00:00
nobu
046831094b
constify rb_encoding and OnigEncoding
...
* include/ruby/encoding.h: constify `rb_encoding` arguments.
* include/ruby/oniguruma.h: constify `OnigEncoding` arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 22:06:11 +00:00
nobu
b16245145b
gmake.mk: fix argument
...
* defs/gmake.mk: fix missing loop variable of `foreach`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 21:50:32 +00:00
nobu
2f0c383d9d
gmake.mk: universal assembler rules
...
* Makefile.in (CFLAGS_NO_ARCH): split from ARCH_FLAG.
* defs/gmake.mk: define assembler rules per architectures for
universal binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 19:32:17 +00:00
nobu
b1b88695be
gmake.mk: universal cpp rules
...
* defs/gmake.mk: define preprocessing rules per architectures for
universal binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 19:32:15 +00:00
akr
20e6b3a3b8
Use EnvUtil.suppress_warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 15:41:42 +00:00
akr
9b0ea861ab
Suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 15:25:12 +00:00
svn
b9ea747677
* 2014-06-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 15:14:02 +00:00
akr
49aac86510
Suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 15:13:59 +00:00
akr
fcdec9bfbb
Stop DRb service.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 14:08:35 +00:00
akr
be4b37dfae
Finish threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 13:47:04 +00:00
akr
49d68ba10d
Suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 12:09:08 +00:00
akr
5cd71131b8
* test/drb: Wrap tests definitions by DRbTests module. This makes
...
several tests (ACLEntryTest, TestBug4409, etc.) easier to understand
that they are tests for DRb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 03:07:58 +00:00
akr
09ab3a0a9f
* lib/rinda/ring.rb (RingFinger#make_socket): Close the socket on exception.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 02:37:27 +00:00
akr
f64541d7bd
Close FDs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-01 01:21:18 +00:00
akr
28229e4a77
Join threads before close pipes.
...
closing a FD interrupts threads which uses the FD.
rb_thread_io_blocking_region (for write()) checks an interrupt after write() is finished.
So, joining the thread after closing() may raise "IOError: stream closed".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 23:54:12 +00:00
nobu
70d34c623a
parse.y: no duplicate attrset ID
...
* parse.y (intern_str): dynamic attrset ID is registered by
`rb_id_attrset()` already, so no further registration is needed.
[ruby-core:62861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 21:55:53 +00:00
zzak
bcd25152a6
* lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]
...
Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620
* doc/globals.rdoc: Added $LOADED_FEATURES to list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 19:54:55 +00:00
svn
9529ed2c51
* 2014-06-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 15:31:50 +00:00
akr
6f6dd30dbf
Join threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 15:31:46 +00:00
akr
06fb823435
Join threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 14:48:12 +00:00
nobu
4532872340
configure.in: remove rb_cv_typeof
...
* configure.in (rb_cv_typeof): no longer needed because of
AC_C_TYPEOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 14:48:11 +00:00
nobu
ffc1ea22cc
ChangeLog: fix typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 14:48:06 +00:00
akr
e555e28eab
Join threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 14:28:19 +00:00
akr
f07096f7e1
Join threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 14:05:54 +00:00
akr
6c6f9b19b4
* test/lib/leakchecker.rb: Leak checker extracted from
...
test/lib/minitest/unit.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 13:31:32 +00:00
naruse
8784787623
don't remove test results
...
r46180 removed dots but they express the result of tests: don't remove them.
Moreover I don't understand why `read` is still used.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 13:30:48 +00:00
shyouhei
e00ac16763
* thread.c (rb_thread_atfork_internal): My compiler complains
...
about this variable being used before initialized. I looked at
the code and expanded the macro and turned out it was actually
USED for pointer arithmetic, not dereferenced. So this was
never a serious bug. But is annoying indeed to see warnings
every time. I added `=0` and all went healthy.
* configure.in: Also, I found that the problematic macro expansion
only happens when we lack __typeof__ C extension, which shall
not be the case of my compiler. I added AC_CTYPEOF to kick ass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 12:24:28 +00:00
hsbt
f84ef81dad
* lib/ipaddr.rb: extracted inline tests into test dir.
...
* test/test_ipaddr.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 07:36:51 +00:00
hsbt
a5afd23577
* ext/digest/lib/digest/hmac.rb: extracted inline tests into test dir.
...
* test/digest/test_digest_hmac.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 07:30:34 +00:00
hsbt
aae667d242
* test/test_syslog.rb: remove executable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 07:03:13 +00:00
akr
1c01f22d93
Join threads.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 00:01:32 +00:00
nobu
dd20f90408
unicode.c: no initialization
...
* enc/unicode.c (init_case_fold_table): no longer need to
initialize tables at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:58:34 +00:00
nobu
7e67b39679
case-folding.rb: perfect hash for case unfolding3
...
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:58:24 +00:00
nobu
8f59867651
case-folding.rb: perfect hash for case unfolding2
...
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:58:14 +00:00
nobu
35348a0806
case-folding.rb: perfect hash for case unfolding1
...
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:58:01 +00:00
nobu
c39e659263
case-folding.rb: perfect hash for case folding
...
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case folding table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:57:45 +00:00
nobu
88eae35862
case-folding.rb: merge tables
...
* enc/unicode/case-folding.rb (print_table): merge non-locale and
locale tables, and reduce initializing loops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:56:00 +00:00
nobu
1d588b4fde
case-folding.rb: modularize
...
* enc/unicode/case-folding.rb (CaseFolding): modularize, and add
--output-file option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:55:00 +00:00
nobu
0148bd15e4
case-folding.rb: conversion script
...
* enc/unicode/case-folding.rb: script to convert CaseFolding.txt,
tranlated from CaseFolding.py.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:49:54 +00:00
akr
40ec552861
* test/lib/minitest/unit.rb: Check Tempfile leaks for each test method
...
again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 23:32:19 +00:00
zzak
cfe2cbda54
* lib/delegate.rb: [DOC] Document raise in Delegator class
...
Patch by @lucasmazza. [Fixes GH-621]
https://github.com/ruby/ruby/pull/621
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 18:52:30 +00:00
naruse
e5acaa0313
add --disable-gem
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 15:06:07 +00:00
svn
3134c2d5a1
* 2014-05-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-30 15:03:40 +00:00