Project

General

Profile

Activity

From 09/03/2017 to 09/09/2017

09/09/2017

10:08 PM Revision 06af3b20 (git): runruby.rb: set envvars for bundler
* tool/runruby.rb: set gem and bundler environment variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5980...
nobu (Nobuyoshi Nakada)
05:40 PM Bug #13886 (Closed): Seg Fault - eval - 59781 - MinGW
While updating my doc site (https://msp-greg.github.io/) using 59781, I had a seg fault from an RDoc call to `eval`. ... MSP-Greg (Greg L)
03:40 PM Bug #13885 (Closed): Random.urandom と securerandom について
遠藤です。
Random.urandom と securerandom の仕様について卜部さんと話していて、いくつか気になる点が出てきたので挙げておきます。
1. Random.urandom は、getrandom(2)...
mame (Yusuke Endoh)
03:19 PM Revision 7451ec06 (git): Add a note to Random.urandom
The method may return nil for some reasons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59803 b2dd03c8-39d4-4d...
mame (Yusuke Endoh)
03:12 PM Revision 86d76173 (git): * 2017-09-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision 782b2050 (git): Update a test of SecureRandom according to r57384
SecureRandom uses urandom by default. So the test for a case where
openssl is unavailable makes no sense. Instead, ...
mame (Yusuke Endoh)
02:22 PM Feature #13884 (Closed): Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
Very often, arrays are used to filter parameters and to select interesting items from 2 collections and very often th... DmitryBochkarev (Dmitry Bochkarev)
02:06 PM Revision 1433d433 (git): asn1: fix out-of-bounds read in decoding constructed objects
* OpenSSL::ASN1.{decode,decode_all,traverse}: have a bug of
out-of-bounds read. int_ossl_asn1_decode0_cons() does n...
U.Nakamura
01:58 PM Revision 842d5cff (git): * ext/json: bump to version 1.8.3.1. [Backport #13853]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:57 PM Revision c01bca25 (git): * ChangeLog: forgotten to commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:50 PM Bug #13852: Backport r59693,59695 (Net::HTTP should raise error when CR/LF in a http header value)
ruby_2_3 r59797 merged revision(s) 59693,59695. usa (Usaku NAKAMURA)
01:50 PM Revision add06009 (git): merge revision(s) 59693,59695: [Backport #13852]
A HTTP Header value must not contain CR or LF.
to_str -> to_s
* lib/net/http/header.rb (set_field): ...
U.Nakamura
01:42 PM Bug #13850: backport r59584
ruby_2_3 r59796 merged revision(s) 59584. usa (Usaku NAKAMURA)
01:42 PM Revision dbe8e9c5 (git): merge revision(s) 59584: [Backport #13850]
REXML: Fix a bug that unexpected methods can be called as a XPath function
[HackerOne:249295]
Repor...
U.Nakamura
01:37 PM Revision afc45931 (git): * lib/rubygems: fix several vulnerabilities in RubyGems; bump to version
2.5.2.1. [Backport #13842]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59795 b2dd03c8-39d4-4d8f-9...
U.Nakamura
01:09 PM Revision 0919c055 (git): Support LCOV visualization for both C and Ruby code
`./configure --enable-gcov && make exam && make lcov` will create
`lcov-c-out/index.html` for coverage of C code of t...
mame (Yusuke Endoh)
12:24 PM Revision 366c5481 (git): * ext/psych/yaml: update libyaml to 0.1.7.
* ext/psych/psych.gemspec: bump version to 2.0.8.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@5...
U.Nakamura
11:30 AM Revision 19ae6bc7 (git): spec/bundler/support: paths for ruby core
* spec/bundler/support/path.rb (Spec::Path#for_ruby_core?): helper
method to tell whether running in Ruby Core or n...
nobu (Nobuyoshi Nakada)
11:30 AM Revision 4054b123 (git): Makefile.in: test-bundler-prepare
* Makefile.in (test-bundler-prepare): install with --install-dir
option instead of GEM_HOME and GEM_PATH environmen...
nobu (Nobuyoshi Nakada)
10:20 AM Revision 85cb9231 (git): rubygems_ext.rb: use BUNDLE_GEM
* spec/bundler/support/rubygems_ext.rb (install_gems): use
BUNDLE_GEM set in Makefile.in instead of the installed c...
nobu (Nobuyoshi Nakada)
09:16 AM Revision 067d9e9c (git): sprintf.c: NULL as str
* sprintf.c (ruby_vsnprintf, ruby_snprintf): allow NULL as str,
just count the expected buffer size.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
09:16 AM Revision 6c3c48e3 (git): compile.c: replaced switch by TYPE
* compile.c (int_param): prefer FIXNUM_P and NIL_P to switch by
TYPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
02:34 AM Revision 0471781b (git): Sync .gitignore and svn:ignore and cleanup [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:16 AM Feature #13883 (Closed): Change from gperf 3.0.4 to gperf 3.1
There are several places in Ruby where gperf 3.0.4 is assumed.
The newest version of gperf is 3.1. In the long ter...
duerst (Martin Dürst)
02:06 AM Feature #13109: `using` in refinements is required to be physically placed before the refined method call
Feature #13805 proposed to activate refinements across multiple files without an explicit `using` in every file. kernigh (George Koehler)

09/08/2017

11:51 PM Bug #13875 (Closed): segfault in Enumerable#zip after GC
Applied in changeset trunk|r59785.
----------
fiber: fix machine stack marking when FIBER_USE_NATIVE is 0
* cont.c ...
Anonymous
06:41 AM Bug #13875: segfault in Enumerable#zip after GC
Thank you both for the extra info, I think there's a different
bug for FIBER_USE_NATIVE=0 on my GNU/Linux system......
normalperson (Eric Wong)
04:51 AM Bug #13875: segfault in Enumerable#zip after GC
kernigh (George Koehler) wrote:
> Eric Wrong wrote:
> > However, test/ruby/test_io.rb seems stuck when FIBER_USE_NA...
jeremyevans0 (Jeremy Evans)
02:48 AM Bug #13875: segfault in Enumerable#zip after GC
Jeremy Evans wrote:
> Note that OpenBSD-current uses clang 4.0.0 as the system compiler, as opposed to OpenBSD 6.1 a...
kernigh (George Koehler)
11:51 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
[email protected] wrote:
> Buffers are indeed attached per socket, but I wouldn't say
> they are short-liv...
normalperson (Eric Wong)
11:00 AM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
> but I think my earlier note about using thread-local storage for short-lived buffers still applies. Per-socket buff... chucke (Tiago Cardoso)
01:51 AM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
On 2017/09/08 06:11, Eric Wong wrote:
> [email protected] wrote:

>> So, after I found that out, I notice...
duerst (Martin Dürst)
11:51 PM Revision 4e61282c (git): * 2017-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:51 PM Revision 01fdd48f (git): fiber: fix machine stack marking when FIBER_USE_NATIVE is 0
* cont.c (cont_mark): mark Fiber machine stack correctly when
FIBER_USE_NATIVE is 0
* test/ruby/test_fiber.rb (test...
Eric Wong
08:17 PM Bug #13882 (Closed): Exception in `ensure` stops threads from exiting
When the Ruby process is gracefully exiting, if a thread has an exception during an `ensure` block it appears the Rub... zanker (Zachary Anker)
02:38 PM Bug #13796: Please backport r59567 (openssl: import v2.0.5)
ruby_2_4 r59784 merged revision(s) 59567. nagachika (Tomoyuki Chikanaga)
02:38 PM Revision f0129322 (git): merge revision(s) 59567: [Backport #13796]
openssl: import v2.0.5
Import Ruby/OpenSSL 2.0.5. The full commit history since v2.0.4
(imported at ...
nagachika (Tomoyuki Chikanaga)
02:27 PM Bug #13852: Backport r59693,59695 (Net::HTTP should raise error when CR/LF in a http header value)
ruby_2_4 r59783 merged revision(s) 59693,59695. nagachika (Tomoyuki Chikanaga)
02:27 PM Revision 48d78028 (git): merge revision(s) 59693,59695: [Backport #13852]
A HTTP Header value must not contain CR or LF.
to_str -> to_s
* lib/net/http/header.rb (set_field): ...
nagachika (Tomoyuki Chikanaga)
02:25 PM Bug #13850: backport r59584
ruby_2_4 r59782 merged revision(s) 59584. nagachika (Tomoyuki Chikanaga)
02:25 PM Revision 05bc6eb4 (git): merge revision(s) 59584: [Backport #13850]
REXML: Fix a bug that unexpected methods can be called as a XPath function
[HackerOne:249295]
Repor...
nagachika (Tomoyuki Chikanaga)
09:13 AM Feature #13881: Use getcontext/setcontext on OS X
I found `getcontext` on High Sierra(10.17) beta.
```
~ > grep getcontext /usr/include/ucontext.h
int getcontext...
hsbt (Hiroshi SHIBATA)
09:10 AM Feature #13881 (Open): Use getcontext/setcontext on OS X
getcontext/setcontext is first appeared on OS X 10.5 but deprecated on 10.6.
It seems because POSIX removed them fro...
naruse (Yui NARUSE)
08:50 AM Revision 5804d24f (git): Rollback to v1.15.4 version.
In r59779, it contains current master version of bundler repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
hsbt (Hiroshi SHIBATA)
08:45 AM Feature #12733 (Closed): Bundle bundler to ruby core
Applied in changeset trunk|r59779.
----------
Merge bundler to standard libraries.
rubygems 2.7.x depends bundler...
hsbt (Hiroshi SHIBATA)
08:45 AM Revision 1bc6b966 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:45 AM Revision 8598f8c2 (git): Merge bundler to standard libraries.
rubygems 2.7.x depends bundler-1.15.x. This is preparation for
rubygems and bundler migration.
* lib/bundler.rb,...
hsbt (Hiroshi SHIBATA)
08:03 AM Revision f2e04b77 (git): configure.in: moved flags
* configure.in (-DRUBY_DEVEL): moved from debugflags to XCFLAGS.
this flags should be applied to the ruby core only...
nobu (Nobuyoshi Nakada)
07:22 AM Revision b3907bb5 (git): fix up r59776
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:21 AM Revision 8e037913 (git): move th->fiber to ec->fiber.
* vm_core.h (rb_thread_t::fiber): move fiber field to
rb_execution_context_t::fiber.
git-svn-id: svn+ssh://ci.rub...
ko1 (Koichi Sasada)
05:33 AM Revision eb99ed16 (git): Update latest bundled-gems.
* minitest 5.10.3
* test-unit 3.2.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59775 b2dd03c8-39d4-4d8f-98f...
hsbt (Hiroshi SHIBATA)
05:18 AM Revision 08c1dde4 (git): fix a label for bundled gems.
"bundle gems" is a wrong name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59774 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
12:12 AM Bug #13878 (Third Party's Issue): I can't install ruby on kali linux
hsbt (Hiroshi SHIBATA)

09/07/2017

11:05 PM Bug #13878: I can't install ruby on kali linux
nobu (Nobuyoshi Nakada) wrote:
> sasatefa2009 (Mostafa Nafady) wrote:
> > ```
> > /usr/local/rvm/gems/ruby-2.4.1/g...
sasatefa2009 (Mostafa Nafady)
06:50 AM Bug #13878: I can't install ruby on kali linux
This is a very unusual gem, sasatefa2009.
https://rubygems.org/gems/make
It is meant for SQL.
Ruby itself ...
shevegen (Robert A. Heiler)
06:04 AM Bug #13878: I can't install ruby on kali linux
sasatefa2009 (Mostafa Nafady) wrote:
> ```
> /usr/local/rvm/gems/ruby-2.4.1/gems/make-0.3.1/bin/make:4:in `<top (re...
nobu (Nobuyoshi Nakada)
04:44 AM Bug #13878: I can't install ruby on kali linux
i got a new error after attempting to install after using "rvm cleanup all"
~~~ text
root@kali:~# \curl -sSL http...
sasatefa2009 (Mostafa Nafady)
04:38 AM Bug #13878 (Third Party's Issue): I can't install ruby on kali linux
Greetings,
My ruby version is ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]
I had multiple error while trying...
sasatefa2009 (Mostafa Nafady)
09:24 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
[email protected] wrote:
<snip>

Thanks for the followup, I'm glad we were able to help.

> I think thi...
normalperson (Eric Wong)
05:57 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
Again, false alarm... The problem was that I wasn't checking the return value of `IO#read_nonblock(nread, buffer, exc... chucke (Tiago Cardoso)
05:45 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
I've finally managed to isolate the issue, and found the issue: it was my error. Basically what was happening was tha... chucke (Tiago Cardoso)
07:41 PM Bug #13875: segfault in Enumerable#zip after GC
Thanks, I can reproduce the bug on GNU/Linux with:

--- a/cont.c
+++ b/cont.c
@@ -57,6 +57,7 @@
# define FIBE...
normalperson (Eric Wong)
01:53 AM Bug #13875: segfault in Enumerable#zip after GC
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > https://bugs.ruby-lang.org/issues/13875#change-...
jeremyevans0 (Jeremy Evans)
01:04 AM Bug #13875: segfault in Enumerable#zip after GC
In reply to Eric Wong:
FIBER_USE_NATIVE is 0. Flipping it to 1 causes compiler errors; OpenBSD doesn't have \<ucon...
kernigh (George Koehler)
05:45 PM Revision 7b2e74be (git): the working directory may not be srcdir
* test/runner.rb (COVERAGE): should use require_relative instead of require,
because the working directory may not ...
U.Nakamura
04:52 PM Bug #13857: frozen string literal: can freeze same string into two unique frozen strings
I expect String#freeze to return the receiver. For example,
```ruby
str = "Content-Length".downcase
str.freeze ...
kernigh (George Koehler)
03:40 PM Revision 97fbcdd0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision 899d6f9c (git): * 2017-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision ccaf52e2 (git): Measure the test coverage without SimpleCov
Now `make test-all COVERAGE=true` measures the test coverage by using
`coverage.so` directly, and visualize the resul...
mame (Yusuke Endoh)
01:33 PM Bug #13880 (Closed): `BigDecimal(string)` should raise on invalid values in `string`
Right now `BigDecimal()` behaviour differs from `Integer()` and `Float()`:
```
2.4.1 :001 > require 'bigdecimal'
...
ojab (ojab ojab)
12:36 PM Revision 1a643bac (git): Remove unneeded trace instruction for coverage
When no instruction is emitted in `iseq_compile_each0`
(i.e., when the line has no significant code), trace
instructi...
mame (Yusuke Endoh)
12:31 PM Revision af325705 (git): Use `%i`-literal instead of array of symbols
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:13 PM Feature #13770: Can't create valid Cyrillic-named class/module
The whole patch is https://github.com/nobu/ruby/tree/feature/13770-nonascii-const-name nobu (Nobuyoshi Nakada)
12:12 PM Feature #13770: Can't create valid Cyrillic-named class/module
duerst (Martin Dürst) wrote:
> In the patch, I suggest adding something like
>
> ```c
> if (rb_enc_islower(c, en...
nobu (Nobuyoshi Nakada)
11:57 AM Bug #13879 (Rejected): [Not sure if a bug or not] case/when menus and trailing ',' commas in when clauses
That `when` clause continues by the last comma, so your example equals the following code syntactically.
```ruby
...
nobu (Nobuyoshi Nakada)
10:51 AM Bug #13879: [Not sure if a bug or not] case/when menus and trailing ',' commas in when clauses
I forgot to add - I assume that the puts invocation may lead to
trigger the above behaviour. My main confusion is wh...
shevegen (Robert A. Heiler)
10:49 AM Bug #13879 (Rejected): [Not sure if a bug or not] case/when menus and trailing ',' commas in when clauses
Hello,
I am not sure if the following is a bug or a feature.
```ruby
x = 'foobar'
case x
when 'a','b','c',
...
shevegen (Robert A. Heiler)
10:26 AM Feature #8499: Importing Hash#slice, Hash#slice!, Hash#except, and Hash#except! from ActiveSupport
I just rebased it to trunk. Glass_saga (Masaki Matsushita)
08:44 AM Feature #13109: `using` in refinements is required to be physically placed before the refined method call
razum2um (Vlad Bokov) wrote:
> matz (Yukihiro Matsumoto) wrote:
> > There may be an idea to use refinement without ...
duerst (Martin Dürst)
06:55 AM Feature #13109: `using` in refinements is required to be physically placed before the refined method call
matz (Yukihiro Matsumoto) wrote:
> There may be an idea to use refinement without explicit `using`. But that's out o...
razum2um (Vlad Bokov)
08:25 AM Bug #13854 (Closed): `make golf` broken
Applied in changeset trunk|r59767.
----------
common.mk: fix golf
* common.mk (golf): MAINOBJ must be single object...
nobu (Nobuyoshi Nakada)
08:25 AM Revision 99d989be (git): common.mk: fix golf
* common.mk (golf): MAINOBJ must be single object file name, so
moved golf_prelude to EXTOBJS. [ruby-dev:50214] [B...
nobu (Nobuyoshi Nakada)
07:10 AM Bug #13864: Rinda multicast test failures due to missing default route
shevegen (Robert A. Heiler) wrote:
> Well no surprise - the systemd guys know better than any standard ever written,...
vo.x (Vit Ondruch)
03:24 AM Bug #13877 (Closed): BUG Unnormalized Fixnum value
Applied in changeset trunk|r59765.
----------
ruby.h: unnormalized Fixnum value
* include/ruby/ruby.h (ST2FIX): fix...
nobu (Nobuyoshi Nakada)
12:27 AM Bug #13877 (Closed): BUG Unnormalized Fixnum value
enviroment
Windows 10 15063.540 x64
how to simulate it
~~~
require 'date'
Date.today.hash
~~~
reproducab...
ahorek (Pavel Rosický)
03:24 AM Revision 1ba5d0e7 (git): * 2017-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 AM Revision 65b87de3 (git): ruby.h: unnormalized Fixnum value
* include/ruby/ruby.h (ST2FIX): fix unnormalized Fixnum value bug
on mingw/mswin. [ruby-core:82687] [Bug #13877]
...
nobu (Nobuyoshi Nakada)
01:10 AM Bug #13853: Backport request r58323
> Vit
Thanks. I update my patch.
hsbt (Hiroshi SHIBATA)
12:26 AM Bug #13848: BigDecimal.new('200.') raises an exception
`Float('200.')` also raises ArgumentError. In this way, BigDecimal.new seems consistent with Float. But it's strange ... kernigh (George Koehler)
12:19 AM Bug #13846: Openbsd possible memory leak when using Thread
I can reproduce this bug in 2.3 and 2.4 but not in trunk. I am using 2.3 and 2.4 from OpenBSD packages. I compiled tr... kernigh (George Koehler)

09/06/2017

11:08 PM Bug #13875: segfault in Enumerable#zip after GC
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13875#change-66516

<snip>

> But this trick m...
normalperson (Eric Wong)
08:54 PM Bug #13875: segfault in Enumerable#zip after GC
The problem is with `VALUE tmp;` in enum.c zip_i(). The garbage collector frees tmp too early. I try to protect it wi... kernigh (George Koehler)
07:28 PM Bug #13875 (Closed): segfault in Enumerable#zip after GC
There is a chance of segmentation fault in Enumerable#zip after garbage collection. This script reproduces the crash.... kernigh (George Koehler)
10:08 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
[email protected] wrote:
> > What operation(s) are you doing for "socket monitoring"?
>
> i'm using plai...
normalperson (Eric Wong)
12:21 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
> What operation(s) are you doing for "socket monitoring"?
i'm using plain IO.select. So the idea is, I have a sel...
chucke (Tiago Cardoso)
09:15 PM Bug #13876 (Closed): Tempfile's finalizer can be interrupted by a Timeout exception which can cause the process to hang
Ruby hangs if a Timeout is raised when a Tempfile's finalizer is run.
This also happens on ruby 2.3.4 on OSX. I c...
jrafanie (Joe Rafaniello)
06:29 PM Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
Well, the first could be solved if there is some way to also propagate (local) variables towards ERB
or other bindin...
shevegen (Robert A. Heiler)
03:43 PM Bug #13872: Duplicate assignment no longer silences "assigned but unused variable" warning
Previously, `foo = foo = "bar"` was used as a workaround. Now that the workaround is "fixed", I see incoming PRs chan... ted (Ted Johansson)
02:42 PM Bug #13874: String#valid_encoding? has side effects
2.2.6 and later need the backport. nobu (Nobuyoshi Nakada)
01:11 PM Bug #13874 (Closed): String#valid_encoding? has side effects
Applied in changeset trunk|r59763.
----------
string.c: fix false coderange
* string.c (rb_enc_str_scrub): enc can ...
nobu (Nobuyoshi Nakada)
12:12 PM Bug #13874: String#valid_encoding? has side effects
Also reproducible on `ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]`
Not reproducible on `ruby 2.2.5p31...
ojundt (Oliver Jundt)
10:05 AM Bug #13874 (Closed): String#valid_encoding? has side effects
I noticed the result of `String#encode` changes after a call to `String#valid_encoding?`. Other side effects were not... ojundt (Oliver Jundt)
01:46 PM Revision 0f25c6d7 (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:11 PM Revision bd10ce16 (git): string.c: fix false coderange
* string.c (rb_enc_str_scrub): enc can differ from the actual
encoding of the string, the cached coderange is usele...
nobu (Nobuyoshi Nakada)
01:06 PM Bug #13853: Backport request r58323
The patch is not patching version in json.gemspec, but it should ...
~~~diff
--- ext/json/json.gemspec
+++ ext/j...
vo.x (Vit Ondruch)
12:50 PM Revision faa26f55 (git): string.c: optimize enumerate_grapheme_clusters
* string.c (rb_str_enumerate_grapheme_clusters): optimize when
single byte only.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
10:04 AM Feature #13770: Can't create valid Cyrillic-named class/module
As mentioned at the last committers' meeting, I think the patch will not work e.g. for upper-case characters in three... duerst (Martin Dürst)
09:54 AM Feature #13770: Can't create valid Cyrillic-named class/module
sb (Sergey Borodanov) wrote:
> Same error with module creating and same behavior in **irb** (please, see attachmen...
duerst (Martin Dürst)
09:45 AM Feature #13770: Can't create valid Cyrillic-named class/module
I have checked for upper-case letters without corresponding lower-case letters, with the following short script:
`...
duerst (Martin Dürst)
09:31 AM Feature #8948: Frozen regex
Now we can't run `make test-all` because `test/lib/test/unit.rb` defines singleton method for a regexp object.
```...
ko1 (Koichi Sasada)
08:19 AM Feature #13685 (Closed): Update Unicode data to Unicode Version 10.0.0
Applied in changeset trunk|r59761.
----------
add mention of upgrade to Unicode 10.0.0 to NEWS file
(this completes...
duerst (Martin Dürst)
07:56 AM Feature #13685: Update Unicode data to Unicode Version 10.0.0
Working on this now. Just some notes for future, similar issues:
At the moment, using gperf 3.0.4 (rather than gpe...
duerst (Martin Dürst)
08:19 AM Revision 1704e7a6 (git): add mention of upgrade to Unicode 10.0.0 to NEWS file
(this completes [Feature #13685]; [ci skip])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59761 b2dd03c8-39d4-4...
duerst (Martin Dürst)
08:12 AM Revision df155f09 (git): remove Unicode 9.0.0-related files
We don't need these files anymore because we upgraded to Unicode 10.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
duerst (Martin Dürst)
07:56 AM Revision 04547c7d (git): update Ruby to Unicode 10.0.0
- In common.mk, set UNICODE_VERSION to 10.0.0
- Generate and add enc/unicode/10.0.0/casefold.h and
enc/unicode/10....
duerst (Martin Dürst)
07:46 AM Revision 3122b0ba (git): Update SimpleCov version (v0.10.0 -> v0.15.0)
To suppress warnings of Fixnum.
Also simplecov-html updated (v0.10.0 -> v0.10.2).
git-svn-id: svn+ssh://ci.ruby-lang...
mame (Yusuke Endoh)
05:34 AM Feature #13847: Gem activated problem for default gems
We discussed this issue on last Developer Meeting.
Matz has some concerns about ruby internal.
1. Conflicts ver...
hsbt (Hiroshi SHIBATA)
05:00 AM Feature #12733: Bundle bundler to ruby core
vo.x (Vit Ondruch) wrote:
> I don't understand it. Why is it not simple bundled gem similartly to minitest, test-uni...
shyouhei (Shyouhei Urabe)
04:39 AM Feature #12733: Bundle bundler to ruby core
I don't understand it. Why is it not simple bundled gem similartly to minitest, test-unit, rake, etc? This gems broke... vo.x (Vit Ondruch)
02:37 AM Feature #12733: Bundle bundler to ruby core
I update my working branch.
https://github.com/ruby/ruby/pull/1536
Changes in this branch:
#### Directory St...
hsbt (Hiroshi SHIBATA)
04:29 AM Bug #12036: Enumerator's automatic rewind behavior
I don't want Ruby to change this behavior. Enumerable#next can't continue the iteration if it raises an exception. Th... kernigh (George Koehler)
03:53 AM Revision ee0b1b20 (git): Fixed compilationn error with VMDEBUG=3.
[fix GH-1690] Patch from @musaprg(Kotaro Inoue)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59757 b2dd03c8-39d...
hsbt (Hiroshi SHIBATA)
03:39 AM Revision 7119de47 (git): accept ec instead of th.
* vm.c: VM_EP_IN_HEAP_P() and vm_ep_in_heap_p_() only requires ec
pointed from th.
* vm.c (rb_execution_context_ma...
ko1 (Koichi Sasada)
03:18 AM Revision e4139095 (git): th is not defined
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:51 AM Revision b95d9e66 (git): thread_context -> execution_context
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:47 AM Revision d687dc9c (git): * 2017-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:46 AM Revision 366157d3 (git): rb_execution_context_mark.
* vm.c (rb_execution_context_mark): separate from thread_mark().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
ko1 (Koichi Sasada)
02:19 AM Bug #13865 (Closed): Triggered segfault, on Ruby2.4/OSX.
Per your request, I have closed this. wyhaines (Kirk Haines)
01:03 AM Bug #13865: Triggered segfault, on Ruby2.4/OSX.
Hi.
This is fixed on 2.5.0:
```
2] pry(main)> _pry_.h.deprecate_method! Object.methods.map{|m| Object.method(m...
0xab (0xAB .)

09/05/2017

08:11 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
[email protected] wrote:
> The problem is that I'm doing all socket monitoring in one
> thread, and read/w...
normalperson (Eric Wong)
05:26 PM Bug #13851: getting "can't modify string; temporarily locked" on non-frozen instances
I've been struggling to create a self-contained script to reproduce the problem, but can't seem to.
The problem i...
chucke (Tiago Cardoso)
05:51 PM Feature #13873 (Closed): Optimize Dir.glob with FNM_EXTGLOB
Rails often queries Dir.glob with complex pattern.
On accessing Rails site, it calls glob as follows on querying t...
naruse (Yui NARUSE)
05:43 PM Feature #13821: Allow fibers to be resumed across threads
Fibers still can't move across threads in
```
ruby 2.5.0dev (2017-09-04 trunk 59742) [x86_64-openbsd6.1]
```
...
kernigh (George Koehler)
05:18 PM Bug #11147 (Closed): [SEGFAULT] While looping gets
Closing since I was never able to reproduce the issue myself segiddins (Samuel Giddins)
05:17 PM Bug #13872 (Closed): Duplicate assignment no longer silences "assigned but unused variable" warning
On ruby 2.4.1:
`ruby -W -e 'def a; var = var = "foo"; end'`
prints no warning
On ruby 2.5.0dev (2017-09-04 t...
segiddins (Samuel Giddins)
04:52 PM Misc #13871 (Closed): Remove commented out code of URI::HTTP.new
It's treated as document for URI::HTTP#request_uri:
https://ruby-doc.org/stdlib-2.4.0/libdoc/uri/rdoc/URI/HTTP.htm...
aycabta (aycabta .)
04:37 PM Misc #13870 (Closed): Remove commented out code of SecureRandom.random_number
It's treated as document for Random::Formatter#uuid:
https://ruby-doc.org/stdlib-2.4.0/libdoc/securerandom/rdoc/Ra...
aycabta (aycabta .)
02:30 PM Feature #13869 (Open): Filter non directories from Dir.glob
Dir.glob is a tool to fetch filesystem entries with filtering.
On Rails, it often query files from template direct...
naruse (Yui NARUSE)
11:51 AM Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
> あとは、RUBYLIB の場合だけで、-I などでは問題ないようですね。なるほど。
そうですね。
a2.rb で -I. を使用する場合だと、require が失敗するだけで、
いきなり終了する現象は出ません。
r...
dogatana (Toshihiko Ichida)
07:37 AM Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
あー、再現しました。ありがとうございます。
> カレントディレクトに日本語を含む
これがすっぽ抜けてました。
あとは、`RUBYLIB` の場合だけで、`-I` などでは問題ないようですね。なるほど。
usa (Usaku NAKAMURA)
04:14 AM Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
仕事で使用している Windows 7 64bit の環境で試しましたが、現象発生します。
こちらで確認している条件は次の2点です。
* カレントディレクトに日本語を含む
* RUBYLIB に . 設定されている
...
dogatana (Toshihiko Ichida)
11:08 AM Feature #13867: Copy offloading in IO.copy_stream
[email protected] wrote:
> In linux 4.5, the copy offloading feature with copy_file_range(2) was introduced.
> ...
normalperson (Eric Wong)
09:06 AM Feature #13867 (Closed): Copy offloading in IO.copy_stream
In linux 4.5, the copy offloading feature with copy_file_range(2) was introduced.
This patch enables IO.copy_stream ...
Glass_saga (Masaki Matsushita)
10:46 AM Bug #13412: Infinite recursion with define_method may cause silent SEGV or cfp consistency error
Hmm... r59630 seems to be too hard to backport.
I had to cherry-pick r58328, r58353, r58354, r58374, r58377 and r583...
wanabe (_ wanabe)
10:18 AM Bug #13868 (Closed): Compile error on cygwin: No rule to make 'ossl_pkcs5.h', needed by 'ossl.o'
usa (Usaku NAKAMURA) wrote:
> try `make clean`
That seems to have solved the problem, but it looks like a very he...
duerst (Martin Dürst)
09:42 AM Bug #13868: Compile error on cygwin: No rule to make 'ossl_pkcs5.h', needed by 'ossl.o'
try `make clean` usa (Usaku NAKAMURA)
09:40 AM Bug #13868: Compile error on cygwin: No rule to make 'ossl_pkcs5.h', needed by 'ossl.o'
The file was deleted in r59734, at ext/openssl/ossl_pkcs5.h.
Except in doc/ChangeLog-1.9.3, I cannot find any trac...
duerst (Martin Dürst)
09:29 AM Bug #13868 (Closed): Compile error on cygwin: No rule to make 'ossl_pkcs5.h', needed by 'ossl.o'
When I try to compile my latest checkout on cygwin, I repeatedly get the following error:
```
make[2]: Entering d...
duerst (Martin Dürst)
09:47 AM Revision d68a6b3e (git): openssl: merge test fixes from upstream
Fix platform-dependent or fragile test cases added by r59734. This is a
combined patch of the three commits below:
...
rhenium (Kazuki Yamaguchi)
09:05 AM Feature #13866 (Rejected): Copy offloading in IO.copy_stream
間違えてruby-devに投げてしまったので、rejectします。 Glass_saga (Masaki Matsushita)
08:57 AM Feature #13866 (Rejected): Copy offloading in IO.copy_stream
In linux 4.5, the copy offloading feature with copy_file_range(2) was introduced.
This patch enables IO.copy_stream ...
Glass_saga (Masaki Matsushita)
08:25 AM Revision 31a447d1 (git): Update credentials for Travis/Slack integration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:15 AM Revision 8c592366 (git): Hide NotImplementedError for windows
https://github.com/ruby/ruby/commit/440dc6b7e0b3b74db221eed81871516e301d4b3e#commitcomment-24074203
git-svn-id: svn+...
mame (Yusuke Endoh)
07:52 AM Revision 813ffb8b (git): st.c: fix num_entries
* st.c (st_insert2): should manage num_entries when the key is
undefined, as well as st_insert().
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
07:50 AM Revision 4a09333b (git): st.c: fix false assertions
* st.c: split assertion conditions.
* st.c (rb_hash_bulk_insert): the number of arguments should be
even.
git-svn...
nobu (Nobuyoshi Nakada)
07:28 AM Bug #11844: Please update unicode-licensed files (license issue)
zeha (Christian Hofstaedtler) wrote:
> The non-free problem is with this line: "supplied in this file in the creatio...
duerst (Martin Dürst)
04:49 AM Revision ce7f3e13 (git): optimize rb_hash_bulk_insert to generally outperform 2.4.
Specialized routine for small linear-probling hash instances to
boost creation of such things [Bug #13861]
Signed-of...
shyouhei (Shyouhei Urabe)
04:48 AM Revision e06a6630 (git): * 2017-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:48 AM Revision 0eb7359c (git): add rb_hash_new_with_size()
Sometimes, size of a hash can be calcluated a priori. By providing
such info to the constructor we can avoid unneces...
shyouhei (Shyouhei Urabe)
12:21 AM Bug #13864 (Assigned): Rinda multicast test failures due to missing default route
hsbt (Hiroshi SHIBATA)

09/04/2017

08:49 PM Bug #13864: Rinda multicast test failures due to missing default route
Well no surprise - the systemd guys know better than any standard ever written, too. ;)
I think 1) does not make a...
shevegen (Robert A. Heiler)
01:47 PM Bug #13864 (Closed): Rinda multicast test failures due to missing default route
Trying to build Ruby for Fedora, we are using tool called mock [1]. This tools allows to execute the build in contain... vo.x (Vit Ondruch)
02:10 PM Bug #13865: Triggered segfault, on Ruby2.4/OSX.
JRuby provides a little more useful information:
```
[1] pry(main)> _pry_.h.deprecate_method! Object.methods.map{...
0xab (0xAB .)
02:05 PM Bug #13865 (Closed): Triggered segfault, on Ruby2.4/OSX.
Hi.
I ran into a segmentation fault, the reproduction steps are here:
$ git clone https://github.com/r-obert/pr...
0xab (0xAB .)
02:04 PM Revision e5684558 (git): string.c: grapheme clusters on frozen string
* string.c (rb_str_enumerate_grapheme_clusters): enumerate on
shared frozen string.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:04 PM Revision 805d6f6f (git): string.c: enumerator_element
* string.c (enumerator_element): push or yield elements, and
return 1 if needs checks.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:25 PM Revision 440dc6b7 (git): Improve line covearge of ext/io/nonblock/nonblock.c from 54.5% to 95.5%
Not so good test, but it would be better than nothing, I guess...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
mame (Yusuke Endoh)
12:46 PM Bug #13861: Performance regressoion in Hash literal in Ruby 2.5.0-dev
I think this is not 3rd party issue.
Because this regression appears since 2017-04-28
```
$ ./miniruby -v -Ilib ...
watson1978 (Shizuo Fujita)
06:58 AM Bug #13861 (Third Party's Issue): Performance regressoion in Hash literal in Ruby 2.5.0-dev
After looking at this more closely, I now suspect it's benchmark/ips who's doing something nasty. Without it, trunk ... shyouhei (Shyouhei Urabe)
04:22 AM Bug #13861: Performance regressoion in Hash literal in Ruby 2.5.0-dev
shyouhei (Shyouhei Urabe) wrote:
> I have to disagree.
Thank you for the thorough analysis and the reminder to ...
MSP-Greg (Greg L)
04:07 AM Bug #13861: Performance regressoion in Hash literal in Ruby 2.5.0-dev
watson1978 (Shizuo Fujita) wrote:
> Hash literal performance -> 35.7 % slow down since Ruby 2.4.1
I have to disa...
shyouhei (Shyouhei Urabe)
12:15 PM Bug #13862 (Closed): typo: "nubmer" in gc.c
Applied in changeset trunk|r59739.
----------
gc.c: fix typo: nubmer -> number
Signed-off-by: Antonio Terceiro <ter...
Anonymous
12:15 PM Revision b833c34f (git): * 2017-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:15 PM Revision b4ae7472 (git): gc.c: fix typo: nubmer -> number
Signed-off-by: Antonio Terceiro <[email protected]>
[Bug #13862]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
znz (Kazuhiro NISHIYAMA)
12:13 PM Bug #13863: RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
私の手元にあるmswin32/mswin64/mingw32/mingw64の2.3.4/2.4.1/trunkではいずれでも再現しませんでした。
他に何か再現条件があるのでしょうか?
usa (Usaku NAKAMURA)
10:59 AM Bug #13863 (Closed): RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
こんにちは。
Windows 環境の ruby での話です。
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/49186
https://bugs....
dogatana (Toshihiko Ichida)
01:45 AM Feature #13860: A proposal for a new, simpler class-method addition to Time - for the time being calling it Time.date() but another name is fine; and the ability to omit '%' tokens as arguments to it
Is there any reasons this has to be done in-core, instead of a gem? It seems everything needed to implement such thi... shyouhei (Shyouhei Urabe)

09/03/2017

02:26 PM Revision cd6df5fb (git): Refactor the internal data format for coverage measurement
To prepare new measuring targets: branch and method coverages.
So far, iseq->coverage was an array of counts executed...
mame (Yusuke Endoh)
01:44 PM Bug #13862 (Closed): typo: "nubmer" in gc.c
patch attached terceiro (Antonio Terceiro)
01:31 PM Revision c10baca4 (git): ext/.document: follow-up r59734
ext/openssl/ossl_pkcs5.c has been renamed to ossl_kdf.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59737 b2d...
rhenium (Kazuki Yamaguchi)
01:21 PM Revision ded7e1c2 (git): string.c: make array in WANTARRAY
* string.c (WANTARRAY): make array for the result in method
functions and pass it to enumerator functions.
git-svn...
nobu (Nobuyoshi Nakada)
12:35 PM Revision 5dab63aa (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:35 PM Revision 609103db (git): openssl: import v2.1.0.beta1
Import Ruby/OpenSSL 2.1.0.beta1. The full commit log since v2.0.5
(imported by r59567) can be found at:
http...
rhenium (Kazuki Yamaguchi)
12:35 PM Revision b9801bb8 (git): vm_insnhelper.c: fix opt_regexpmatch2 instruction
A fix-up for r58390 ("split insns.def into functions", 2017-04-18) which
accidentally swapped the arguments.
git-svn...
rhenium (Kazuki Yamaguchi)
09:12 AM Bug #13844: Toplevel returns should fire ensures
Agreed, ensure should run in all cases escaping the scope, even more so when it lexically encloses the top-level return. Eregon (Benoit Daloze)
02:08 AM Revision adac7792 (git): string.c: enumerator_wantarray
* string.c (enumerator_wantarray): show warnings at method
functions for proper method names.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 71de5662 (git): string.c: fix for non-Unicode encodings
* string.c (rb_str_enumerate_grapheme_clusters): should enumerate
chars for non-Unicode encodings. [Feature #13780...
nobu (Nobuyoshi Nakada)
12:39 AM Revision fc1bf166 (git): string.c: suppress a warning
* string.c (rb_str_enumerate_grapheme_clusters): suppress a
maybe-uninitialized warning by old gcc.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
12:32 AM Revision 442273fa (git): default.mspec: suppress warnings
* spec/default.mspec: suppress tons of useless use of == in void
context warnings.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
12:25 AM Revision 52ec107a (git): test_io.rb: suppress a warning
* test/ruby/test_io.rb (test_single_exception_on_close): suppress
ambiguous first argument warning with RUBYOPT=-w....
nobu (Nobuyoshi Nakada)
12:13 AM Revision 0cbcb5f5 (git): test_coverage.rb: suppress warnings
* test/coverage/test_coverage.rb (test_nonpositive_linenumber):
suppress method redefinition warnings.
* test/cove...
nobu (Nobuyoshi Nakada)
12:02 AM Revision e3c271b4 (git): * 2017-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:02 AM Revision 3b556825 (git): test_coverage.rb: use real path
* test/coverage/test_coverage.rb (test_restarting_coverage): use
real directory path for the case $TMPDIR contains ...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom