Project

General

Profile

Activity

From 08/29/2018 to 09/04/2018

09/04/2018

11:57 PM Bug #15071 (Closed): RubyVM::MJIT.pause may cause deadlock after compaction
Sometimes I met thread-deadlock while waiting `RubyVM::MJIT.pause`.
Here is a terminal log.
```
$ ruby --disable...
wanabe (_ wanabe)
11:29 PM Bug #15070 (Feedback): configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
dmolesuc3 (David Moles) wrote:
> ```
> configure:7249: checking whether CFLAGS is valid
> configure:7262: gcc -c -...
nobu (Nobuyoshi Nakada)
04:49 PM Bug #15070: configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
Oops, the `config.log` I linked there was from the rvm attempt. But the tarball version [here](https://gist.github.co... dmolesuc3 (David Moles)
04:22 PM Bug #15070 (Closed): configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
## Description
`./configure` fails for Ruby 2.5.1 on macOS High Sierra (10.13.6) with Xcode 9.4.1 (clang-902.0.39....
dmolesuc3 (David Moles)
11:10 PM Revision 0401099c (git): * 2018-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:10 PM Revision 5e4627c2 (git): random.c: fix up r64596
* random.c (fill_random_bytes_syscall): check if the version macro is
defined, for very old Mac OS X development to...
nobu (Nobuyoshi Nakada)
10:46 PM Feature #14183: "Real" keyword argument
I agree with Jeremy here, the current idea seems too incompatible and will require too many changes (no matter the ga... Eregon (Benoit Daloze)
09:36 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
@normalperson Eric,
I applied the two patches in 'note 139', and three test suites stopped.. With test-all runni...
MSP-Greg (Greg L)
03:17 PM Bug #15069 (Closed): Backport "suppress warning: 'const' attribute on function returning 'void' "
The files `include/ruby/intern.h` and `include/ruby/ruby.h` are used for extension builds, and when a recent gcc is c... larskanis (Lars Kanis)
02:24 PM Bug #15057 (Rejected): REXML::Text#value returns a double unescaped string in non-raw mode
> 了解しました。atomutil の方にはこちらから報告しておきます。
ありがとうございます。では、このチケットはクローズしておきます。
kou (Kouhei Sutou)
07:08 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
>> This ignores the 'raw' attribute setting
>
> と書いているので、rawのときもそうじゃないときも期待した挙動にするのは、互換性を維持したままではムリなんですよねぇ。
> ...
rna (Ryosuke Nanba)
05:12 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
ありがとうございます。確認できました。
現状の動きが変だという気持ちはわかるのですが、`Text#value`のドキュメントに
> This ignores the 'raw' attribute setting
と...
kou (Kouhei Sutou)
12:41 PM Revision 52a23d56 (git): rational.c: remove duplicate macros
* rational.c (RRATIONAL_SET_{NUM,DEN}): also defined in internal.h
since r53887.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
12:30 PM Revision 868ad210 (git): ruby.h: removed internal macros
* include/ruby/ruby.h (RCOMPLEX_SET_REAL, RCOMPLEX_SET_IMAG): removed
macros for internal use, which have been expo...
nobu (Nobuyoshi Nakada)
12:22 PM Feature #14594: Rethink yield_self's name
And I like pipe too, maybe even more. rosenfeld (Rodrigo Rosenfeld Rosas)
12:21 PM Feature #14594: Rethink yield_self's name
I liked to_be as well. rosenfeld (Rodrigo Rosenfeld Rosas)
02:48 AM Feature #14594: Rethink yield_self's name
This looks **to_be** perfect, I really like this idea! sowieso (So Wieso)
11:38 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
Isn't it enough to just use rb_funcall() to call Ruby methods on Complex numbers? Eregon (Benoit Daloze)
09:25 AM Feature #15066: Documentation and providing better API for accessing Complex numbers functions in C extensions
`RCOMPLEX_SET_REAL` and `RCOMPLEX_SET_IMAG` are internal macros, and so I think they should not be used outside. nobu (Nobuyoshi Nakada)
06:41 AM Feature #15066 (Closed): Documentation and providing better API for accessing Complex numbers functions in C extensions
Currently there is absolutely no documentation for working with Complex numbers at the level of the C API.
Apart f...
v0dro (Sameer Deshmukh)
09:10 AM Misc #14981: DevelopersMeeting20180913Japan
* [Bug #14908] Enumerator::Lazy creates unnecessary Array objects
* Proposed solution is to change arity of Enumer...
chopraanmol1 (Anmol Chopra)
08:39 AM Revision 1cf2bb4b (git): use mingw ANSI stdio
[Bug #13496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:47 AM Bug #15067 (Closed): library/socket/socket/getnameinfo_spec.rb always errors with multiple IP addresses hostname
If the hostname is bind with multiple IP addresses, `Socket.getnameinfo` raises `SocketError`.
It's the spec of this...
usa (Usaku NAKAMURA)
05:28 AM Revision fb7a5690 (git): bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64629 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
03:41 AM Bug #15060 (Closed): Broken Appveyor MinGW build - fix GH PR 1945
Applied in changeset trunk|r64628.
----------
Spec updates [Bug #15060] [Fix GH-1495]
From: MSP-Greg <greg.mpls@gma...
nobu (Nobuyoshi Nakada)
03:41 AM Revision 3fa8d5ba (git): Spec updates [Bug #15060] [Fix GH-1495]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64628 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
02:19 AM Revision e4b11728 (git): appveyor.yml: fix PATH and env for msys2
based on the patch by MSP-Greg at #1945.
Co-authored-by: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 2cbf44e5 (git): appveyor.yml: reduce matrix factors
* appveyor.yml (environment): separate matrix factors by `build` (`vs`
or `msys2`), and `build` (and `vs` version i...
nobu (Nobuyoshi Nakada)
01:42 AM Bug #15039 (Closed): Random.urandom and SecureRandom arc4random use
Applied in changeset trunk|r64625.
----------
avoid fork-unsafe arc4random implementations
Some old implementaions ...
shyouhei (Shyouhei Urabe)
01:42 AM Revision b120f5e3 (git): avoid fork-unsafe arc4random implementations
Some old implementaions of arc4random_buf(3) were ARC4 based, or
unsafe when forked, or both. Resort to /dev/urandom...
shyouhei (Shyouhei Urabe)
12:12 AM Revision 183ac396 (git): * 2018-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:12 AM Revision 6853c9e1 (git): RubyGems installer.rb - fix up my mistakes in r64582
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64623 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)

09/03/2018

03:29 PM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> @naruse Are you willing to provide a fix for this? Or can I commit the proposed #...
naruse (Yui NARUSE)
01:04 AM Bug #15039: Random.urandom and SecureRandom arc4random use
@naruse Are you willing to provide a fix for this? Or can I commit the proposed #if guard? shyouhei (Shyouhei Urabe)
01:52 PM Revision aa5d9928 (git): Use unpack1 instead of unpack and `[0]`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:08 PM Misc #15053: Using -fstack-protector-strong instead of -fstack-protector conditionally.
Thank you for fixing this issue quickly!
jaruga (Jun Aruga)
11:07 AM Bug #14966: 2.5 branch - Appveyor failures - backport missed line
Hello Greg,
Thank you very much for your notice.
I have applied your patch at r64621 in ruby_2_5 branch.
nagachika (Tomoyuki Chikanaga)
11:04 AM Revision bf0dcd5b (git): test/test_tmpdir.rb(TRAVERSAL_PATH): re-apply r62990 partially. [Backport #14966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
09:07 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
nobu (Nobuyoshi Nakada) wrote:
> I feel it'd be better to accept a timezone object as `utc_offset` like [Feature #14...
ioquatix (Samuel Williams)
07:41 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
I feel it'd be better to accept a timezone object as `utc_offset` like [Feature #14850], than setting `ENV`.
nobu (Nobuyoshi Nakada)
09:07 AM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
@matz: is the patch from Nobu good enough? Hanmac (Hans Mackowiak)
08:20 AM Bug #13496 (Closed): Patches for MinGW builds - gnu_printf in 'config' & defines.h
Applied in changeset trunk|r64620.
----------
Declare as gnu_printf on mingw
[Bug #13496]
From: MSP-Greg <MSP-Greg...
nobu (Nobuyoshi Nakada)
08:20 AM Revision c115b39e (git): Declare as gnu_printf on mingw
[Bug #13496]
From: MSP-Greg <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
nobu (Nobuyoshi Nakada)
07:39 AM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #14850] Add official API for setting timezone on Time (nobu)
* a patch posted.
nobu (Nobuyoshi Nakada)
01:07 AM Misc #14981: DevelopersMeeting20180913Japan
* https://github.com/ruby/ruby/pull/1943
* I want a review by other core devs.
shyouhei (Shyouhei Urabe)
05:40 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
> atomutilでそうなるケースを試してみたいので再現するAtomとサンプルコードを提供してもらえませんか?
これでどうでしょう?
~~~
require 'atomutil'
entry = Atom::Entr...
rna (Ryosuke Nanba)
12:21 AM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
なるほど。
atomutilでそうなるケースを試してみたいので再現するAtomとサンプルコードを提供してもらえませんか?
kou (Kouhei Sutou)
02:35 AM Feature #14183: "Real" keyword argument
jeremyevans0 (Jeremy Evans) wrote:
> mame (Yusuke Endoh) wrote:
> > This change seems to remind you the breaking ...
duerst (Martin Dürst)
02:02 AM Bug #15060 (Closed): Broken Appveyor MinGW build - fix GH PR 1945
Currently, the MinGW build is broken. See https://github.com/ruby/ruby/pull/1945
Comparing the build summaries, t...
MSP-Greg (Greg L)

09/02/2018

11:27 PM Feature #13050 (Closed): Readline: expose rl_completion_quote_character variable
Applied in changeset trunk|r64618.
----------
Readline: expose rl_completion_quote_character variable
[Feature #130...
nobu (Nobuyoshi Nakada)
11:27 PM Revision 5cde9a39 (git): * 2018-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:27 PM Revision 074f1c91 (git): Readline: expose rl_completion_quote_character variable
[Feature #13050]
From: georgebrock (George Brocklehurst) <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
05:29 PM Bug #15057: REXML::Text#value returns a double unescaped string in non-raw mode
> DOMでもnodeValueの値は実体参照を解決した値になるので今の挙動で問題ないように思うんですが、
JavaScript の DOM でも `Text` のコンストラクタ引数で渡した文字列はパースの対象にならずにそのまま...
rna (Ryosuke Nanba)
01:20 PM Bug #15057 (Feedback): REXML::Text#value returns a double unescaped string in non-raw mode
DOMでも`nodeValue`の値は実体参照を解決した値になるので今の挙動で問題ないように思うんですが、どんなユースケースで使おうとして今の挙動は間違っていると考えたか教えてもらえますか?
> 非rawモードではコンストラクタ...
kou (Kouhei Sutou)
09:22 AM Bug #15057 (Rejected): REXML::Text#value returns a double unescaped string in non-raw mode
`REXML::Text` オブジェクトが非rawモードの場合、`REXML::Text#value` がエスケープ済みのテキストを二重にエスケープ解除された文字列を返します。
例:
~~~
require 'rexml/d...
rna (Ryosuke Nanba)
03:47 PM Feature #14850: Add official API for setting timezone on Time
Here is a [patch] to extend `Time.new` and `Time#getlocal` for timezone support.
A timezone object should have `loca...
nobu (Nobuyoshi Nakada)
02:35 PM Feature #14594: Rethink yield_self's name
I suggest aliasing `#yield_self` with **#to_be**. The `to_` prefix suggest returning a value while [the word "be"](ht... RichOrElse (Ritchie Buitre)
01:55 PM Bug #15058 (Closed): REXML::Text#clone returns a text node with a double escaped Sting
たしかにその通りですね。
そうなるようにしておきました。
近いうちにこの修正が入ったrexml gemをリリースしておきます。
kou (Kouhei Sutou)
09:25 AM Bug #15058 (Closed): REXML::Text#clone returns a text node with a double escaped Sting
`REXML::Text#clone` で生成したオブジェクトが元のオブジェクトと異なる値を持ったテキストノードになります。clone されたテキストノードの `to_s` の値は、元のテキストノードが表現する文字列を二重にエスケープ... rna (Ryosuke Nanba)
11:23 AM Bug #14942: Windows7でコンソールに長い文字列を出力できない
ruby_2_5 r64617 merged revision(s) 64092. nagachika (Tomoyuki Chikanaga)
11:23 AM Revision 6d9932a2 (git): merge revision(s) 64092: [Backport #14942]
win32.c: limit write size on console
* win32/win32.c (constat_parse): split long buffer and limit write
...
nagachika (Tomoyuki Chikanaga)
11:21 AM Bug #14941: WindowsでARGVの文字列に汚染マークが付いてない
ruby_2_5 r64616 merged revision(s) 64071. nagachika (Tomoyuki Chikanaga)
11:20 AM Revision e20d3698 (git): merge revision(s) 64071: [Backport #14941]
ruby.c: taint ARGV on Windows
* ruby.c (external_str_new_cstr): strings come from the external
sho...
nagachika (Tomoyuki Chikanaga)
09:32 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> https://bugs.ruby-lang.org/issues/13618
>
> I have at least one more preparatory change which should be fairly
...
normalperson (Eric Wong)
07:10 AM Feature #15049: [Request] Easily access all keyword arguments within a method
@duerst
> Maybe I'm totally confused, but what's wrong with using `**keyword_arguments`?
I am not the ticket's ...
zverok (Victor Shepelev)
06:11 AM Feature #15049 (Feedback): [Request] Easily access all keyword arguments within a method
Maybe I'm totally confused, but what's wrong with using **keyword_arguments? duerst (Martin Dürst)
03:50 AM Misc #15053 (Closed): Using -fstack-protector-strong instead of -fstack-protector conditionally.
Applied in changeset trunk|r64614.
----------
configure.ac: -fstack-protector-strong
* configure.ac: use -fstack-pr...
nobu (Nobuyoshi Nakada)
03:49 AM Revision f7717185 (git): * 2018-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 AM Revision c8ccdbfe (git): configure.ac: -fstack-protector-strong
* configure.ac: use -fstack-protector-strong if available instead of
-fstack-protector conditionally. [ruby-core:8...
nobu (Nobuyoshi Nakada)
03:43 AM Revision 8d50ddda (git): test/ruby/test_io.rb (test_select_leak): extend timeout for Arch Linux[Backport 14929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)

09/01/2018

04:19 PM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> While I'm not against these points, I feel it is not a good idea to wait for such...
Freaky (Thomas Hurst)
11:16 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > As the maintainer of the OpenBSD ruby port, I...
shyouhei (Shyouhei Urabe)
04:14 PM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
Thank you for the code @nobu. I have applied Nobu's suggestion, please find updated patch in the attach.
> If you...
bruno (Bruno Sutic)
01:22 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> https://bugs.ruby-lang.org/issues/13618

Greg, do you think you can try this change for portability?
No rush, t...
normalperson (Eric Wong)
10:50 AM Revision cf85c2ef (git): bump up patchlevel for r64611
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:49 AM Revision 8fea37fc (git): test/ruby/test_io.rb (test_select_leak): extend timeout [Bug 14929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
07:34 AM Revision 929e9713 (git): complex.c: simplify division result
* complex.c (f_divide): canonicalize rationals to simplify integer
complex results.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
06:59 AM Revision 9563db5e (git): Re-try to add workaround for warnings
```
.../ext/psych/lib/psych/versions.rb:4: warning: already initialized constant Psych::VERSION
.../.ext/common/psych...
znz (Kazuhiro NISHIYAMA)
06:19 AM Revision 480a21f4 (git): RSTRING_PTR may not be terminated in the future
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision 8c90838f (git): 10**3 is always 1000
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision dcd4914b (git): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:40 AM Bug #14929: [PATCH] thread.c (do_select): fix leak on exception
ruby_2_5 r64605 merged revision(s) 64007,64019,64020. nagachika (Tomoyuki Chikanaga)
05:40 AM Revision c91b7154 (git): merge revision(s) 64007,64019,64020: [Backport #14929]
thread.c (do_select): fix leak on exception
When do_select is interrupted and raise happens from
RUB...
nagachika (Tomoyuki Chikanaga)
04:09 AM Revision c4816a11 (git): surround macro block with do/while
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:31 AM Bug #14926: Different results between Enumerable#sum and #reduce when Float::INFINITY present
ruby_2_5 r64603 merged revision(s) 64014. nagachika (Tomoyuki Chikanaga)
02:31 AM Revision 2c26edc1 (git): merge revision(s) 64014: [Backport #14926]
fix sum on infinity
* array.c (rb_ary_sum): consider non-finite floats.
[ruby-core:88024] [Bug #14...
nagachika (Tomoyuki Chikanaga)
02:03 AM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
ruby_2_5 r64602 merged revision(s) 63994. nagachika (Tomoyuki Chikanaga)
02:03 AM Revision f6369743 (git): merge revision(s) 63994: [Backport #14920]
reduce tzset
* time.c (rb_localtime_r): call tzset() only after TZ environment
variable is changed...
nagachika (Tomoyuki Chikanaga)
01:37 AM Revision ba3da085 (git): [DOC] Add %Q and %+ to strptime [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:32 AM Feature #14183: "Real" keyword argument
jeremyevans0 (Jeremy Evans) wrote:
> Changing the callee side will not fix all cases. The `where` method supports mo...
mame (Yusuke Endoh)

08/31/2018

10:03 PM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> As the maintainer of the OpenBSD ruby port, I'm requesting that ruby continue t...
Freaky (Thomas Hurst)
06:56 PM Bug #15039: Random.urandom and SecureRandom arc4random use
naruse (Yui NARUSE) wrote:
> I finally agree that
> * Use getentropy with loop on OpenBSD
As the maintainer of t...
jeremyevans0 (Jeremy Evans)
06:18 PM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> naruse (Yui NARUSE) wrote:
> > Freaky (Thomas Hurst) wrote:
> > > ... but you've ju...
naruse (Yui NARUSE)
04:49 PM Bug #15039: Random.urandom and SecureRandom arc4random use
naruse (Yui NARUSE) wrote:
> Freaky (Thomas Hurst) wrote:
> > ... but you've just described concerns over situation...
Freaky (Thomas Hurst)
08:19 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> naruse (Yui NARUSE) wrote:
> > Freaky (Thomas Hurst) wrote:
> > > naruse (Yui NARUS...
naruse (Yui NARUSE)
05:38 PM Bug #14883 (Third Party's Issue): Ruby 2.5 Fails to Build on PowerPC 32-bit (BE)
Issue with systemd containers, not with Ruby. mingcongbai (Mingcong Bai)
04:54 PM Misc #15053 (Closed): Using -fstack-protector-strong instead of -fstack-protector conditionally.
When running a code analysis tool for ruby, I got a warning `Insufficient stack protection: -fstack-protector`, it se... jaruga (Jun Aruga)
03:29 PM Revision 0fc1870f (git): Revert "Try to add workaround for warnings"
This reverts commit a5e5cfa3f650d4e78fb50e2df15c102ab56fca3c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6460...
znz (Kazuhiro NISHIYAMA)
03:25 PM Revision efa19f9f (git): Try to add workaround for warnings
```
.../ext/psych/lib/psych/versions.rb:4: warning: already initialized constant Psych::VERSION
.../.ext/common/psych...
znz (Kazuhiro NISHIYAMA)
03:05 PM Revision 50cb77f2 (git): * 2018-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision c3e16351 (git): [DOC] leap seconds [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:42 PM Feature #14183: "Real" keyword argument
mame (Yusuke Endoh) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > Having to change all calls from `where(:id=>1)`...
jeremyevans0 (Jeremy Evans)
08:05 AM Feature #14183: "Real" keyword argument
Here is a scenario where allowing "hash argument with omitted braces" causes a problem. Assume that we write a metho... mame (Yusuke Endoh)
05:45 AM Feature #14183: "Real" keyword argument
jeremyevans0 (Jeremy Evans) wrote:
> Having to change all calls from `where(:id=>1)` to `where({:id=>1})` makes the ...
mame (Yusuke Endoh)
05:20 AM Feature #14183: "Real" keyword argument
mame (Yusuke Endoh) wrote:
> Jeremy, thank you for investigating the examples. I'd like to discuss this issue at th...
jeremyevans0 (Jeremy Evans)
01:56 AM Feature #14183: "Real" keyword argument
Jeremy, thank you for investigating the examples. I'd like to discuss this issue at the next developers' meeting.
...
mame (Yusuke Endoh)
12:09 PM Bug #15052 (Closed): must not optimize `foo(**{})` out
A keyword rest argument with empty hash, `**{}`, is removed during parsing phase. However, under the current spec of... mame (Yusuke Endoh)
09:56 AM Revision 68f9d7b4 (git): random.c: SecRandomCopyBytes
* random.c (fill_random_bytes_syscall): use SecRandomCopyBytes in
Security framework on macOS 10.7 or later.
git-s...
nobu (Nobuyoshi Nakada)
08:54 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
@nobu That doesn’t seem to align with what the documentation says:
> Converts time to local time (using the local ...
ioquatix (Samuel Williams)
06:43 AM Bug #14880: Time#localtime doesn't always seem to respect TZ
I think it should be fixed at the creation time. nobu (Nobuyoshi Nakada)
08:36 AM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #14183] "Real" keyword argument
* I'd like to hear matz's current opinion and other committers' ones.
mame (Yusuke Endoh)
08:16 AM Feature #15030: Have T_INTEGER constant for checking Integer types in C API
Use `RB_INTEGER_TYPE_P()`. nobu (Nobuyoshi Nakada)
07:22 AM Bug #15050: GC after forking with fibers crashes
On 2018/08/31 15:14, Eric Wong wrote:
>> What is the problem [Bug #15041] want to solve?
>
> Switching fiber can...
ko1 (Koichi Sasada)
06:22 AM Bug #15050: GC after forking with fibers crashes
Koichi Sasada <[email protected]> wrote:
> On 2018/08/31 12:50, Eric Wong wrote:
> > > [Bug #15041] hits something wro...
normalperson (Eric Wong)
04:03 AM Bug #15050: GC after forking with fibers crashes
On 2018/08/31 12:50, Eric Wong wrote:
>> [Bug #15041] hits something wrong?
>> (sorry I needed to ask earlier)
> ...
ko1 (Koichi Sasada)
03:52 AM Bug #15050: GC after forking with fibers crashes
Koichi Sasada <[email protected]> wrote:
> On 2018/08/31 12:30, Eric Wong wrote:
> > Yes, fix one bug, hit another :< ...
normalperson (Eric Wong)
03:32 AM Bug #15050: GC after forking with fibers crashes
[email protected] wrote:
> Is this because [Bug #15041]?

Yes, fix one bug, hit another :< Story of my life

(I fo...
normalperson (Eric Wong)
03:01 AM Bug #15050: GC after forking with fibers crashes
Is this because [Bug #15041]? ko1 (Koichi Sasada)
04:31 AM Revision 070d731b (git): test/lib/test/unit/assertions.rb: explicit delegation of keyword arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)

08/30/2018

11:10 PM Feature #14183: "Real" keyword argument
To give an example of how much code this would break, let's use Redmine as an example, since it runs this bug tracker... jeremyevans0 (Jeremy Evans)
08:11 PM Feature #15049: [Request] Easily access all keyword arguments within a method
shevegen (Robert A. Heiler) wrote:
> I have had a somewhat related idea in that I wanted a way to access all
> para...
bherms (Bradley Herman)
07:44 PM Feature #15049: [Request] Easily access all keyword arguments within a method
I have had a somewhat related idea in that I wanted a way to access all
parameters in a simple, short manner. A bit ...
shevegen (Robert A. Heiler)
07:38 PM Feature #15049 (Feedback): [Request] Easily access all keyword arguments within a method
As a developer, I'd like to leverage the power of keyword arguments (requirements, defaults, etc) and then be able to... bherms (Bradley Herman)
08:03 PM Bug #15050: GC after forking with fibers crashes
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/15050

This fixes the immediate bug, but I think...
normalperson (Eric Wong)
07:54 PM Bug #15050 (Closed): GC after forking with fibers crashes
Not sure when to work on this, so leaving this here for now...
The management of stacks for root fiber and regular...
normalperson (Eric Wong)
07:14 PM Revision cec21388 (git): * 2018-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:14 PM Revision 13f49235 (git): cont.c (rb_fiber_atfork): th->root_fiber may not exist
Otherwise, bootstraptest/test_fork.rb fails with -DVM_CHECK_MODE=2
[Bug #15041]
Fixes: r64589 "cont.c: set th->root...
Eric Wong
05:09 PM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > * `MADV_HUGEPAGE` - fallback option, implicit re...
methodmissing (Lourens Naudé)
10:52 AM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
[email protected] wrote:
> * `MADV_HUGEPAGE` - fallback option, implicit request, kernel
> will map it implicit...
normalperson (Eric Wong)
10:19 AM Misc #15007: Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
ko1 (Koichi Sasada) wrote:
> I agree to introduce COLD attribute.
>
> ----
>
> > TLB (translation lookaside bu...
methodmissing (Lourens Naudé)
01:48 PM Feature #15047: Documentation and more functions for Hash functions in C API
Can I submit the documentation for this as a GitHub PR? I just to make updates to README.EXT.
Also, thank you for ...
v0dro (Sameer Deshmukh)
12:57 PM Feature #15047: Documentation and more functions for Hash functions in C API
> Also, including more functionality like getting the size a Hash directly through
> a C API call would be a welcome...
mrkn (Kenta Murata)
12:46 PM Feature #15047: Documentation and more functions for Hash functions in C API
More documentation would always be very helpful. It makes "entry" into the
ruby world easier when there is good docu...
shevegen (Robert A. Heiler)
09:08 AM Feature #15047 (Open): Documentation and more functions for Hash functions in C API
Currently the C API supports various Array functions like `rb_ary_new()` and String
functions like `rb_str_new2()` I...
v0dro (Sameer Deshmukh)
01:29 PM Bug #15039: Random.urandom and SecureRandom arc4random use
naruse (Yui NARUSE) wrote:
> Freaky (Thomas Hurst) wrote:
> > naruse (Yui NARUSE) wrote:
> > > For example, ruby c...
Freaky (Thomas Hurst)
11:06 AM Bug #15039: Random.urandom and SecureRandom arc4random use
naruse (Yui NARUSE) wrote:
> > > On Darwin, there seems similar issue as OpenBSD.
> >
> > SecRandomCopyBytes look...
naruse (Yui NARUSE)
07:49 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> naruse (Yui NARUSE) wrote:
> > I agree with your fundamental concept: if there's mor...
naruse (Yui NARUSE)
12:46 PM Feature #14097: Add union and difference to Array
I'm now for the addition. By the way, don't you need `Array#intersection`? mame (Yusuke Endoh)
08:51 AM Feature #14097: Add union and difference to Array
As @mame already said, I gave a talk at Euruko about this issue:
https://youtu.be/jUc8InwoA-E?t=2m54s
I did an ...
ana06 (Ana Maria Martinez Gomez)
12:38 PM Misc #14981: DevelopersMeeting20180913Japan
* [Feature #14097] Add union and difference methods to Array (@ana06)
* Addition of two new methods in aim of read...
ana06 (Ana Maria Martinez Gomez)
06:42 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
On 2018/08/29 17:09, Eric Wong wrote:
> Shows me: `resume': fiber called across stack rewinding barrier (FiberError...
ko1 (Koichi Sasada)
03:24 AM Revision 3bcb4ff8 (git): hrtime.h: fix typo in non-builtin overflow check
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong

08/29/2018

11:37 PM Bug #15039: Random.urandom and SecureRandom arc4random use
naruse (Yui NARUSE) wrote:
> I agree with your fundamental concept: if there's more code, there's more bugs.
>
> I...
Freaky (Thomas Hurst)
08:42 PM Bug #15039: Random.urandom and SecureRandom arc4random use
I agree with your fundamental concept: if there's more code, there's more bugs.
I don't fully agree with "userspac...
naruse (Yui NARUSE)
04:34 PM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> Freaky (Thomas Hurst) wrote:
> > The other is clarifying the intent of `Random.u...
Freaky (Thomas Hurst)
04:16 PM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> Freaky (Thomas Hurst) wrote:
> > Would rand() stop being a userspace PRNG if i...
Freaky (Thomas Hurst)
08:41 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> > Or is it not about the code quality in general? Maybe the problem here is that hav...
shyouhei (Shyouhei Urabe)
05:55 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> Would rand() stop being a userspace PRNG if it automatically called srand() every 200...
jeremyevans0 (Jeremy Evans)
04:50 AM Bug #15039: Random.urandom and SecureRandom arc4random use
shyouhei (Shyouhei Urabe) wrote:
> Frankly, I'm not sure how less trustworthy FreeBSD libc is, compared to its kerne...
Freaky (Thomas Hurst)
04:19 AM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> Freaky (Thomas Hurst) wrote:
> > jeremyevans0 (Jeremy Evans) wrote:
> >
> >...
Freaky (Thomas Hurst)
03:53 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Frankly, I'm not sure how less trustworthy FreeBSD libc is, compared to its kernel. They are developed by the same p... shyouhei (Shyouhei Urabe)
02:51 AM Bug #15039: Random.urandom and SecureRandom arc4random use
Freaky (Thomas Hurst) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
>
> > On OpenBSD, arc4random is not really a us...
jeremyevans0 (Jeremy Evans)
12:31 AM Bug #15039: Random.urandom and SecureRandom arc4random use
jeremyevans0 (Jeremy Evans) wrote:
> On OpenBSD, arc4random is not really a userspace PRNG in the sense that it is...
Freaky (Thomas Hurst)
09:05 PM Bug #15043: MinGW intermittent test failure - TestIO#test_select_leak
@normalperson Eric,
Thanks for looking at it and also the patch. It passed test-all, but as mentioned, it's inter...
MSP-Greg (Greg L)
07:52 PM Bug #15043: MinGW intermittent test failure - TestIO#test_select_leak
[email protected] wrote:
> Bug #15043: MinGW intermittent test failure - TestIO#test_select_leak
> https://bugs....
normalperson (Eric Wong)
07:47 PM Bug #15043 (Closed): MinGW intermittent test failure - TestIO#test_select_leak
Applied in changeset trunk|r64590.
----------
test/ruby/test_io.rb (test_select_leak): use handle_interrupt
Interru...
normalperson (Eric Wong)
01:55 PM Bug #15043 (Closed): MinGW intermittent test failure - TestIO#test_select_leak
@normalperson Eric,
Thought I'd ping you on this, as the test is very new. The above test is not failing on Travi...
MSP-Greg (Greg L)
07:47 PM Revision 5ba404f4 (git): * 2018-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:47 PM Revision f1119509 (git): test/ruby/test_io.rb (test_select_leak): use handle_interrupt
Interrupt timing is tricky and it's possible the target
thread is still stopped from the previous loop iteration.
[r...
Eric Wong
06:40 PM Bug #15044: ENV encoding not UTF-8 by default
If I put this into a .rb file:
puts 'secret'.encoding
ENV['PASS'] = 'secret'
puts ENV['PASS'].encodi...
shevegen (Robert A. Heiler)
02:44 PM Bug #15044 (Closed): ENV encoding not UTF-8 by default
~~~
$ irb
2.5.1 :001 > 'secret'.encoding
=> #<Encoding:UTF-8>
2.5.1 :002 > ENV['PASS'] = 'secret'; ENV['PASS'].e...
lowang (Przemyslaw Wroblewski)
04:16 PM Bug #15045 (Closed): Test suite fails/hangs with stronger cryptography enforcement
Testing in Fedora Rawhide with ```$ sudo update-crypto-policies --set NEXT``` [1] which sets a higher bar for cryptog... vo.x (Vit Ondruch)
02:12 PM Bug #15027: When Struct#each method is overriden Struct#select and Struct#to_a use wrong collections
```diff
diff --git a/struct.c b/struct.c
index 7de46980aa..e4c875b5be 100644
--- a/struct.c
+++ b/struct.c
@@ -8...
nobu (Nobuyoshi Nakada)
11:22 AM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> ```ruby
> u.force_encoding('BINARY') do
> b << u
> end
> ```
>
> @duers...
duerst (Martin Dürst)
11:08 AM Feature #14975: String#append without changing receiver's encoding
```ruby
b = 'a'.force_encoding('BINARY')
u = "\u00ff".force_encoding('UTF-8') # aside: force_encoding here is a n...
ioquatix (Samuel Williams)
10:16 AM Feature #14975: String#append without changing receiver's encoding
As mentioned, the general idea of Ruby m17n is that strings that only contain ASCII bytes (8th bits are all 0) are tr... duerst (Martin Dürst)
10:20 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
gotoken (Kentaro Goto) wrote:
> For example, `"ss"` and `"st"` are mapped `"ß"` (`"\u00DF"`) and `"st"` (`"\uFB06"`...
duerst (Martin Dürst)
08:12 AM Bug #595: Fiber ignores ensure clause
Eric Wong wrote:
> It will be difficult/unsafe to use auto-fiber/Thread::Coro
> [Feature #13618] without this

I...
normalperson (Eric Wong)
03:22 AM Bug #595: Fiber ignores ensure clause
Koichi Sasada wrote:
> Bug #595: Fiber ignores ensure clause
> http://redmine.ruby-lang.org/issues/595

What's t...
normalperson (Eric Wong)
08:12 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
[email protected] wrote:
> (I'm not sure why fork removes other fibers, but)

fib = Fiber.new { puts " HI" }
fork ...
normalperson (Eric Wong)
08:04 AM Bug #15041 (Closed): [PATCH] cont.c: set th->root_fiber to current fiber at fork
Applied in changeset trunk|r64589.
----------
cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->ro...
normalperson (Eric Wong)
07:20 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
(I'm not sure why fork removes other fibers, but)
I think it is okay. let's try.
ko1 (Koichi Sasada)
06:59 AM Bug #15041 (Closed): [PATCH] cont.c: set th->root_fiber to current fiber at fork
cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
beca...
normalperson (Eric Wong)
08:04 AM Revision ac543abe (git): cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
because Fibers do not live across fork. So consider
whateve...
Eric Wong
02:23 AM Revision 43d3f813 (git): * 2018-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:23 AM Revision 0b44744d (git): cont.c (rb_context_t): remove ensure_list
It is unused (we use rb_execution_context_t.ensure_list instead)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
Eric Wong
 

Also available in: Atom