Project

General

Profile

Activity

From 08/04/2018 to 08/10/2018

08/10/2018

11:32 PM Revision 6dfaccf2 (git): * 2018-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:32 PM Revision 886bed6e (git): test_iseq_load.rb: increase timeout
It's timed out on CI like this
https://gist.github.com/ko1/33df53d78fbec9e4156c017eeae023bb.
I'm not sure how long i...
k0kubun (Takashi Kokubun)
09:31 PM Revision 325fd389 (git): Remove failing specs
https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20180810T183001Z.fail.html.gz
git-svn-id...
naruse (Yui NARUSE)
07:58 PM Feature #6284: Add composition for procs
I used this proposal along with #14781 for a fun solution to a problem proposed in the #ruby irc channel: https://gis... shan (Shannon Skipper)
02:03 PM Feature #14975: String#append without changing receiver's encoding
Oh, I see, you are changing the encoding of the buffer to match the argument, then appending it. Interesting, I didn'... ioquatix (Samuel Williams)
02:01 PM Feature #14975: String#append without changing receiver's encoding
It's not the receiver that's frozen, it's the argument. If the argument is frozen, `force_encoding` will fail. Not on... ioquatix (Samuel Williams)
01:39 PM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> The logic you've given above is too idealistic unfortunately:
>
> ```
> [11]...
jeremyevans0 (Jeremy Evans)
06:40 AM Feature #14975: String#append without changing receiver's encoding
One more thing to consider. If we add `rb_str_append2`, should we be more strict? Rather than doing implicit conversi... ioquatix (Samuel Williams)
06:19 AM Feature #14975: String#append without changing receiver's encoding
So, I think what happened was I ran `make test` on older trunk. I rebased and changed implementation to be `rb_str_ap... ioquatix (Samuel Williams)
05:52 AM Feature #14975: String#append without changing receiver's encoding
Just to make it crystal clear, changing the behaviour of `rb_str_append` affects all other functions which call it. T... ioquatix (Samuel Williams)
05:51 AM Feature #14975: String#append without changing receiver's encoding
So, as a preface: without introducing (yet another) method, we are left with changing the behaviour of existing metho... ioquatix (Samuel Williams)
04:39 AM Feature #14975: String#append without changing receiver's encoding
> The problem with that is that single BINARY encoding string can then cause havok in your application, since any str... ioquatix (Samuel Williams)
04:33 AM Feature #14975: String#append without changing receiver's encoding
The logic you've given above is too idealistic unfortunately:
```
[11] pry(main)> x = "Foobar".freeze ...
ioquatix (Samuel Williams)
04:23 AM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> IMHO, anyone relying on this behaviour is walking on fire. But, you are right, t...
jeremyevans0 (Jeremy Evans)
03:50 AM Feature #14975: String#append without changing receiver's encoding
@jeremyevans0 I agree with you. It's a problem.
Just for completeness, here is the error you talk about:
```rub...
ioquatix (Samuel Williams)
03:02 AM Feature #14975: String#append without changing receiver's encoding
Making `String#<<` not change the encoding of the receiver may cause backward compatibility issues (raising an except... jeremyevans0 (Jeremy Evans)
01:32 AM Feature #14975: String#append without changing receiver's encoding
That makes total sense, so it seems like we are in agreement, when the receiver is BINARY, we can append anything to ... ioquatix (Samuel Williams)
01:16 AM Feature #14975: String#append without changing receiver's encoding
ioquatix (Samuel Williams) wrote:
> > Changing String#<< and String#concat is not acceptable.
>
> Since the curre...
shyouhei (Shyouhei Urabe)
01:09 PM Feature #14609: Let `Kernel#p` without an argument print the receiver
ko1 (Koichi Sasada) wrote:
> Hanmac: do you rely on this behavior?
Me? not so much, in general i don't trust the ...
Hanmac (Hans Mackowiak)
07:03 AM Feature #14609: Let `Kernel#p` without an argument print the receiver
Hanmac: do you rely on this behavior?
ko1 (Koichi Sasada)
12:55 PM Revision 63145476 (git): appveyor.yml: don't notify PR failure to Slack
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:36 PM Revision c5aeebfe (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:36 PM Revision 77bc5e4f (git): Remove needless comment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:04 PM Revision 74325360 (git): Pathname: Simplified Pathname#mountpoint?
Removed unnecessary comparison in mountpoint?
[Fix GH-1927]
From: John Whitson <[email protected]>
git-svn-id:...
nobu (Nobuyoshi Nakada)
11:55 AM Revision d370a3d4 (git): fixup r64270
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:44 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
> Right, interrupts make it unpredictable. We can control
I think as long as it's documented which APIs might caus...
ioquatix (Samuel Williams)
09:33 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
We discussed about naming.
```
X IoThread.new{}
X GreenThread.new{}
X Thread::Green.new{} #124 “most likely ca...
ko1 (Koichi Sasada)
11:37 AM Feature #11076: Enumerable method count_by
As Naruse in DevelopersMeeting20180809 mentioned: It is a histogram function.
How about ```histogram_by``` (and for ...
janfri (Jan Friedrich)
10:53 AM Bug #10554 (Rejected): preview2 fails to generate prelude.c
Ruby 2.2.0 is already released. If you still have an issue, Can you submit another issue?
Thanks,
hsbt (Hiroshi SHIBATA)
10:51 AM Misc #10791 (Assigned): [PATCH 1/1] Remove unnecessary passing value from doc for Observable
hsbt (Hiroshi SHIBATA)
09:26 AM Feature #14844: Future of RubyVM::AST?
I'm really curious what's the purpose of this module and why wasn't in developed in collaboration with the maintainer... bozhidar (Bozhidar Batsov)
09:22 AM Feature #14187 (Closed): `make test` and `make check` to run all test suites
Applied in changeset commit:ruby-git|163b830d70dabe629816bf7ecf8e5ad3bd511c3e.
----------
common.mk: "make check" no...
mame (Yusuke Endoh)
08:59 AM Feature #14187: `make test` and `make check` to run all test suites
ioquatix (Samuel Williams) wrote:
> I've been working on PRs for MRI, and I got bitten by `make test` not running al...
naruse (Yui NARUSE)
08:47 AM Feature #14187 (Open): `make test` and `make check` to run all test suites
I changed "make check" to run all tests. But I don't change "make test" yet because of naruse's objection. So I kee... mame (Yusuke Endoh)
08:42 AM Feature #14187 (Closed): `make test` and `make check` to run all test suites
Applied in changeset trunk|r64270.
----------
common.mk: "make check" now runs test-spec
Currently there are many "...
mame (Yusuke Endoh)
07:36 AM Feature #14187: `make test` and `make check` to run all test suites
I've been working on PRs for MRI, and I got bitten by `make test` not running all tests. I wish it was the simple def... ioquatix (Samuel Williams)
09:22 AM Revision d561eb66 (git): Use assert_separately in TestIseqLoad#test_stressful_roundtrip
It takes 635 seconds on mswinci
http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20180810T061315Z....
naruse (Yui NARUSE)
08:42 AM Revision 163b830d (git): common.mk: "make check" now runs test-spec
Currently there are many "make" targets for testing: test, test-all,
check, exam, etc.
To make it simple, this change...
mame (Yusuke Endoh)
08:31 AM Revision df9521fd (git): Remove failing spec files
Re-commit after specs are fixed.
http://rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20180810T063001Z.log.html...
naruse (Yui NARUSE)
07:45 AM Revision 2138f24c (git): insns.def (invokesuper): remove a dummy receiever flag hack for ZSUPER
This is just a refactoring.
The receiver of "invokesuper" was a boolean to represent if it is ZSUPER
or not. This w...
mame (Yusuke Endoh)
07:13 AM Bug #11913: make fails when using a custom build directory
I ran into this problem, and I think it was because I had tried building in the root directory. I did `make clean` an... ioquatix (Samuel Williams)
07:08 AM Misc #14981 (Closed): DevelopersMeeting20180913Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your s...
ko1 (Koichi Sasada)
06:28 AM Bug #13598 (Assigned): mutex_m: Missing info in the doc
hsbt (Hiroshi SHIBATA)
06:27 AM Bug #13972 (Assigned): [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
hsbt (Hiroshi SHIBATA)
06:06 AM Revision f945ea86 (git): Move IPAddr to deafult gems category.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:37 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
Ruby use generally falls into one of two categories: short-lived or very long-lived.
For short-lived Ruby scripts ...
bluz71 (Dennis B)
02:22 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> Hmm. Thank you. Now I am very faintly negative because
> MALLOC_ARENA_MAX=2 ruby...
normalperson (Eric Wong)
02:07 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > Yes the question is, what exactly is the value...
shyouhei (Shyouhei Urabe)
01:42 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> Yes the question is, what exactly is the value of
> MALLOC_ARENA_MAX that a user s...
normalperson (Eric Wong)
12:51 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > One question: is it possible to cancel the eff...
shyouhei (Shyouhei Urabe)
05:20 AM Revision 7fbd8823 (git): version.c: MKSTR for fake.rb
* version.c (Init_ruby_description): fake.rb needs MKSTR to extract
constant names.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
05:18 AM Bug #14969 (Closed): Process.groups が返す GID が重複している場合がある
Applied in changeset trunk|r64265.
----------
process.c: fix rubyspec of Process.groups
getgroups(2) may return a G...
mrkn (Kenta Murata)
04:53 AM Bug #14969 (Assigned): Process.groups が返す GID が重複している場合がある
mrkn (Kenta Murata)
05:18 AM Revision c0d1a46f (git): process.c: fix rubyspec of Process.groups
getgroups(2) may return a GID list that includes duplicated GIDs.
The behavior is totaly depends on what OS is used.
...
Kenta Murata
05:02 AM Revision 6c70fede (git): version.c: separate Init_ruby_description
* version.c (Init_ruby_description): separate to initialize
RUBY_DESCRIPTION constant according to mjit.
git-svn-i...
nobu (Nobuyoshi Nakada)
04:52 AM Revision a40f12b7 (git): common.mk: merge dependencies to wait miniruby to get built
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:49 AM Revision 33791cd0 (git): enumerator.c: fix for non-integral argument for ArithmeticSequence#last
This fixes a bug of Enumerator::ArithmeticSequence#last in the case that
a non-integral argument is passed.
git-svn-...
Kenta Murata
04:33 AM Revision 3ef25ed7 (git): mjit.c: ruby_version is no longer used since r63279
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:26 AM Revision 1a836261 (git): .gdbinit: startup without shell for macOS Sierra and later
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:12 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> I guess you are reinventing libuv?
> It claims to support Windows.

I guess usa ...
normalperson (Eric Wong)
12:48 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
I guess you are reinventing libuv?
It claims to support Windows.
I don't say we should use it but it might be worth...
shyouhei (Shyouhei Urabe)
12:53 AM Revision e7f863fd (git): * 2018-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:53 AM Revision a23c8414 (git): another test needs IO.select
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

08/09/2018

06:31 PM Bug #14979: Invalid argument - ruby_setenv(SURVEY) (Errno::EINVAL)
Interesting. My Linux-environment, in ruby via ENV, has 810 entries and
I have no problem.
How did you clear the ...
shevegen (Robert A. Heiler)
01:40 PM Bug #14979 (Closed): Invalid argument - ruby_setenv(SURVEY) (Errno::EINVAL)
The error occurs with Ruby 2.5.1-2 (x64) on windows as well as with an old Ruby 1.9.3 (x86) on windows, when setting ... tvw (Thomas Volkmar Worm)
06:15 PM Feature #11076: Enumerable method count_by
`group_count`? It's half-way between `group_by` and `count` baweaver (Brandon Weaver)
07:58 AM Feature #11076: Enumerable method count_by
In today's developer meeting, Matz understood the need for the feature but didn't like the name. One point he made w... knu (Akinori MUSHA)
05:52 PM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
[email protected] wrote:
> One question: is it possible to cancel the effect of
> M_ARENA_MAX ? Given @mame'...
normalperson (Eric Wong)
11:35 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
One question: is it possible to cancel the effect of M_ARENA_MAX ? Given @mame's corner case, it might be desirable ... shyouhei (Shyouhei Urabe)
02:30 PM Feature #14914: Add BasicObject#instance_exec_with_block
ioquatix (Samuel Williams) wrote:
> What about some kind of currying? i.e. binding the block to the block you want t...
jeremyevans0 (Jeremy Evans)
08:07 AM Feature #14914: Add BasicObject#instance_exec_with_block
What about some kind of currying? i.e. binding the block to the block you want to instance exec. ioquatix (Samuel Williams)
01:32 PM Revision ff57f6f6 (git): gmake.mk: fix commit dependency
* defs/gmake.mk (commit): pass CONFIGURE and fix dependency of
`reconfig` target, not to try to make config.status ...
nobu (Nobuyoshi Nakada)
01:18 PM Revision 25a5227a (git): enumerator.c: undef new and allocate of ArithmeticSequence
Undefine new and allocate methods of Enumerator::ArithmeticSequence.
[ruby-core:82816] [Feature #13904]
git-svn-id:...
Kenta Murata
12:45 PM Revision ed4e38c4 (git): Don't run the spec on Solaris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:59 AM Feature #14954: Add :wait option to RubyVM::MJIT.pause
> once there is some profiling (e.g. branch profiling, type profiling, value profiling, etc)
This part didn't mak...
k0kubun (Takashi Kokubun)
10:12 AM Feature #14954: Add :wait option to RubyVM::MJIT.pause
Just a thought:
Pausing MJIT for benchmarks, even microbenchmarks, might have quite unintended effects once there is...
Eregon (Benoit Daloze)
09:58 AM Feature #14954 (Closed): Add :wait option to RubyVM::MJIT.pause
committed in r64250 k0kubun (Takashi Kokubun)
11:39 AM Revision 2e003f6c (git): process.c: don't wait JIT queue flush on rb_f_exec
This wasn't intended in r64253.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64254 b2dd03c8-39d4-4d8f-98ff-823f...
k0kubun (Takashi Kokubun)
11:31 AM Revision 212a77ed (git): process.c: fix outdated mjit_pause declaration
by sharing it with vm.c in internal.h.
vm.c: ditto
internal.h: ditto
mjit.h: share more.
mjit.c: make sure the thir...
k0kubun (Takashi Kokubun)
11:27 AM Feature #14975: String#append without changing receiver's encoding
> Changing String#<< and String#concat is not acceptable.
Since the current behaviour is underspecified, I feel li...
ioquatix (Samuel Williams)
11:25 AM Feature #14975: String#append without changing receiver's encoding
I didn't know about StringIO being an option. I will investigate it. ioquatix (Samuel Williams)
10:20 AM Feature #14975: String#append without changing receiver's encoding
Just FYI, StringIO behaves what you want.
```
irb(main):002:0> require'stringio'
=> false
irb(main):004:0> sio=...
naruse (Yui NARUSE)
09:03 AM Feature #14975: String#append without changing receiver's encoding
The motivation sounds reasonable.
Changing `String#<<` and `String#concat` is not acceptable.
Adding `String#append...
naruse (Yui NARUSE)
06:17 AM Feature #14975: String#append without changing receiver's encoding
@nobu Thanks for updating. ioquatix (Samuel Williams)
11:09 AM Bug #14974: "if" statement executes wrong branch
> occurs only when a nonsense assignment like foo = foo is used.
Could happen because of a typo or the brain-assoc...
shevegen (Robert A. Heiler)
10:48 AM Misc #10836 (Assigned): Add Documentation to Regexp
hsbt (Hiroshi SHIBATA)
10:47 AM Misc #11712 (Assigned): [PATCH] ext/openssl/ossl_ssl.c: nodoc for private methods
hsbt (Hiroshi SHIBATA)
10:46 AM Bug #12252 (Assigned): Clarify Thread exception handling documentation.
hsbt (Hiroshi SHIBATA)
10:45 AM Feature #14347 (Assigned): Explain How Symbols Differ From Strings in Symbol's Rdoc
hsbt (Hiroshi SHIBATA)
10:44 AM Feature #14377 (Rejected): Improve documentation for `OpenSSL::X509::Store#verify_callback=` and `OpenSSL::SSL::SSLContext#verify_callback=`
hsbt (Hiroshi SHIBATA)
10:44 AM Bug #14408 (Assigned): Add hash argument description for GC.stat and GC.latest_gc_info document
To. ko1
Can you confirm an attached patch?
hsbt (Hiroshi SHIBATA)
10:43 AM Bug #14483 (Assigned): Enchance Method docs
hsbt (Hiroshi SHIBATA)
10:43 AM Misc #14610 (Assigned): Enhance Proc docs
hsbt (Hiroshi SHIBATA)
10:43 AM Bug #14436 (Assigned): Enchance yield_self docs
hsbt (Hiroshi SHIBATA)
10:42 AM Bug #14450 (Assigned): Enchance MatchData docs
hsbt (Hiroshi SHIBATA)
10:00 AM Revision 33dd5d69 (git): net/http, net/ftp: skip SSL/TLS session resumption tests
Due to a bug in OpenSSL 1.1.0h[1] (it's only in this specific version;
it was introduced just before the release and ...
rhenium (Kazuki Yamaguchi)
09:58 AM Revision 0ecd348c (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:58 AM Revision 510cd06c (git): mjit.c: add :wait option to RubyVM::MJIT.pause
and wait until JIT queue is flushed when wait option is not passed or
`wait: true` is passed.
vm.c: ditto
test/ruby...
k0kubun (Takashi Kokubun)
09:45 AM Misc #10339 (Closed): normalize reference to Timeout::Error
hsbt (Hiroshi SHIBATA)
09:36 AM Revision 82de3b95 (git): Fix error when Encoding.default_external is Encoding::IBM437
https://ci.appveyor.com/project/ruby/ruby/build/1.0.9151#L4601
```
1) Error:
TestArgf#test_inplace_nonascii:
Encodi...
znz (Kazuhiro NISHIYAMA)
09:02 AM Revision c7ce1554 (git): test/io/console/test_io_console.rb: fix short read failures
Running with TESTS=--no-retry, I sometimes get short reads
leading to failures due to the use of IO#readpartial inste...
Eric Wong
08:57 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> Uh oh, really? I saw rb_w32_set_nonblock() has is_pipe() check
> and {Get,Set}NamedPipeHandleState calls, already,...
usa (Usaku NAKAMURA)
08:52 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> BTW, Windows does not have nonblocking pipe.

Uh oh, really? I saw rb_w32_set_non...
normalperson (Eric Wong)
08:30 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
BTW, Windows does not have nonblocking pipe.
Yes, we may be able to write emulation layer with overlapped I/O functi...
usa (Usaku NAKAMURA)
08:57 AM Feature #8382 (Assigned): Format OpenStruct YAML dump and create getters and setters after load.
hsbt (Hiroshi SHIBATA)
08:56 AM Bug #5418: Some properties of WEBrick::HTTPRequest could be malformed
As Rails did, webrick seems to need introduce TRUSTED_PROXIES. naruse (Yui NARUSE)
08:53 AM Bug #6773 (Rejected): "You may have encountered a bug in the Ruby interpreter or extension libraries."
Ruby 1.9.3 is EOL status. Please try with Ruby 2.4 or 2.5. hsbt (Hiroshi SHIBATA)
08:51 AM Revision 15d7adf9 (git): test/io/wait/test_io_wait_uncommon.rb (test_tty_wait): increase timeout
Apparently my tty can't keep up when I run test-all with
TESTS='-v --no-retry'
git-svn-id: svn+ssh://ci.ruby-lang.or...
Eric Wong
08:49 AM Feature #11258 (Closed): add 'x' mode character for O_EXCL
Applied in changeset trunk|r64245.
----------
add 'x' mode character for O_EXCL
[Feature #11258]
Patch by cremno (c...
znz (Kazuhiro NISHIYAMA)
08:49 AM Feature #14007 (Closed): open mode 'x' to raise error if file exists
Applied in changeset trunk|r64245.
----------
add 'x' mode character for O_EXCL
[Feature #11258]
Patch by cremno (c...
znz (Kazuhiro NISHIYAMA)
08:49 AM Revision a21b9622 (git): Skip test_inplace_nonascii if external encoding is us-ascii
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:49 AM Revision 842b7359 (git): add 'x' mode character for O_EXCL
[Feature #11258]
Patch by cremno (cremno phobia)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64245 b2dd03c8-39...
znz (Kazuhiro NISHIYAMA)
08:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> Also, do you think you can make Ruby's native timeout safe? My
> understanding i...
normalperson (Eric Wong)
08:25 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Also, do you think you can make Ruby's native timeout safe? My understanding is that it was a bit unpredictable. With... ioquatix (Samuel Williams)
08:04 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
I agree with everything being said here.
However, just to point out, async doesn't support per-operation timeouts ...
ioquatix (Samuel Williams)
08:41 AM Feature #5987 (Closed): IPAddr#initialize should display the invalid address when raising ArgumentError
Applied in changeset trunk|r64244.
----------
Include the input in the message when raising InvalidAddressError
[Fe...
knu (Akinori MUSHA)
08:40 AM Revision 236e2993 (git): Include the input in the message when raising InvalidAddressError
[Feature #5987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
08:29 AM Bug #14970 (Closed): -i option doesn't work for multi-byte-char filenames on Windows Ruby2.5.1
Applied in changeset trunk|r64243.
----------
io.c: fix non-ascii filename inplace edit
* io.c (argf_next_argv): co...
nobu (Nobuyoshi Nakada)
08:29 AM Revision 14ad644d (git): io.c: fix non-ascii filename inplace edit
* io.c (argf_next_argv): convert filename to the OS encoding to be
dealt with by system calls. [ruby-dev:50607] [B...
nobu (Nobuyoshi Nakada)
08:22 AM Bug #5897 (Rejected): RubyからWinAPIのCreateProcessを使ったときに引数を間違えるとバグがでる
本日の開発者会議でこのチケットを議論しましたが、このAPIはFFIの薄いラッパなので、特に[BUG]を防ぐ予定はないとのことでした。 mame (Yusuke Endoh)
07:55 AM Bug #13167 (Assigned): Dir.glob is 25x slower since Ruby 2.2
h.shirosaki (Hiroshi Shirosaki)
07:50 AM Feature #14944: Support optional inherit argument for Module#method_defined?
I think this is a good idea. Accepted.
Matz.
matz (Yukihiro Matsumoto)
07:10 AM Feature #14717 (Closed): [PATCH] thread: allow disabling preempt
ko1 (Koichi Sasada)
07:04 AM Revision 775a40f7 (git): apply r64239 to macOS too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:01 AM Revision 2eea3288 (git): apply r64239 to macOS too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:55 AM Feature #14973: Proposal of percent literal to expand Hash
For debugging purposes, you could have a method like this:
```ruby
class Binding
def dump(*syms)
pp syms....
knu (Akinori MUSHA)
06:44 AM Feature #14877 (Rejected): Calculate age in Date class
I don't think the calculation of age from the birthday is not a responsibility of `Date` class.
There may be a chanc...
matz (Yukihiro Matsumoto)
06:42 AM Misc #14921: DevelopersMeeting20180809Japan
- [Feature #14914] Add BasicObject#instance_exec_with_block aycabta (aycabta .)
06:13 AM Misc #14921: DevelopersMeeting20180809Japan
One more issue which would be awesome to get some input on would be https://bugs.ruby-lang.org/issues/14975 if you ha... ioquatix (Samuel Williams)
05:05 AM Misc #14921: DevelopersMeeting20180809Japan
[Misc #14907] io.c: do not close inherited FDs by default akr (Akira Tanaka)
06:31 AM Misc #14907: [PATCH] io.c: do not close inherited FDs by default
We discuss this issue at today's meeting.
We agree we can challenge to change the default.
Then, we can see actua...
akr (Akira Tanaka)
06:13 AM Feature #14887 (Closed): Array#delete_if does not use #delete
matz (Yukihiro Matsumoto)
06:13 AM Feature #14887: Array#delete_if does not use #delete
It is intentional optimization for time & space. Besides that a subclass of Array (or String) is generally not a good... matz (Yukihiro Matsumoto)
05:28 AM Revision d98e37ce (git): Don't run specs on Solaris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:06 AM Feature #14916: Proposal to add Array#===
Like I just mentioned in https://bugs.ruby-lang.org/issues/14869#note-13, would you consider changing this to run the... timriley (Tim Riley)
02:23 AM Feature #14916: Proposal to add Array#===
> I believe this would, while taking a minor speed hit, give much greater flexibility and duck-typing compatibility t... osyo (manga osyo)
04:03 AM Feature #14869: Proposal to add Hash#===
This is looking like a really positive improvement, thank you!
Would you consider taking this one step further and...
timriley (Tim Riley)
02:09 AM Feature #14869: Proposal to add Hash#===
> Much like the suggestion in the Array topic, would it be a good idea to leverage to_hash? In Ruby this means that a... osyo (manga osyo)
03:52 AM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> Btw, using POSIX timers is a solution for this; because
> timer_settime(2) is async-signal safe and I can call it...
normalperson (Eric Wong)
03:32 AM Revision ab8791d7 (git): spec/ruby/library/socket/*: more FreeBSD fixes
FreeBSD portability notes:
Loopback connections are not instantaneous (unlike Linux), so
non-blocking read-after-wri...
Eric Wong
02:14 AM Revision 52102f6f (git): test/lib/leakchecker.rb (find_tempfiles): don't warn for missing files
Quiet a false-positive warning from TestHtgroup#test_htgroup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64238...
Eric Wong

08/08/2018

08:51 PM Feature #14869: Proposal to add Hash#===
I had mentioned this in the `Array#===` topic for consideration: https://bugs.ruby-lang.org/issues/14916#note-6
In...
baweaver (Brandon Weaver)
08:46 PM Feature #14916: Proposal to add Array#===
I've noticed that this will always return false if the other value is not an array:
(line 4011 of patch)
```ruby
...
baweaver (Brandon Weaver)
01:21 PM Feature #14916: Proposal to add Array#===
> I think there is a potential incompatibility here, due to changing the behavior of #===.
> The fact Module#=== doe...
osyo (manga osyo)
08:23 PM Feature #14975: String#append without changing receiver's encoding
I think this should be filed under Feature simply because it may change
existing functionality.
shevegen (Robert A. Heiler)
03:35 AM Feature #14975: String#append without changing receiver's encoding
One other option would be to add `String#append` which preserves encoding. ioquatix (Samuel Williams)
03:15 AM Feature #14975 (Rejected): String#append without changing receiver's encoding
I'm not sure where this fits in, but in order to avoid garbage and superfluous function calls, is it possible that `S... ioquatix (Samuel Williams)
06:37 PM Feature #6284: Add composition for procs
matz (Yukihiro Matsumoto) wrote:
> We need more discussion if we would add combination methods to the `Symbol` class...
shan (Shannon Skipper)
03:36 PM Revision 86f6fa45 (git): * 2018-08-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:36 PM Revision a6cb8552 (git): needs openssl/opensslv.h
* ext/openssl/extconf.rb: LIBRESSL_VERSION_NUMBER is defined in
openssl/opensslv.h. fix up r64101.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
02:34 PM Revision 8778e926 (git): fix mjit_min_header for universal binary
* common.mk: rules using MJIT_HEADER_SUFFIX, which to be overriden
in defs/universal.mk, must be in common.mk, not ...
nobu (Nobuyoshi Nakada)
02:28 PM Feature #14426 (Closed): [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
The patch is now in ruby/openssl (upstream)'s master branch and Ruby trunk.
For the record, the GitHub Pull Reques...
rhenium (Kazuki Yamaguchi)
02:13 PM Revision 1dfc377a (git): net/http, net/ftp: fix session resumption with TLS 1.3
When TLS 1.3 is in use, the session ticket may not have been sent yet
even though a handshake has finished. Also, the...
rhenium (Kazuki Yamaguchi)
02:13 PM Revision a0f292bb (git): openssl: sync with upstream repository
Sync with the current tip of master branch, 62436385306c of
ruby/openssl.git. Changes can be found at:
https...
rhenium (Kazuki Yamaguchi)
01:50 PM Revision 4b13656e (git): fix MSG_OOB spec
* OOBINLINE should be set for accepted socket
* When OOBINLINE is set, MSG_OOB shouldn't be passed to recv
Merge spe...
naruse (Yui NARUSE)
01:45 PM Misc #14921: DevelopersMeeting20180809Japan
- [Feature #14973] Proposal of percent literal to expand Hash
aycabta (aycabta .)
01:44 PM Revision e0cece9d (git): Add colon to avoid chkbuild's alert
https://github.com/ruby/chkbuild/blob/c0448670a9a5cb85f283bc639806ba09b294557f/chkbuild/ruby.rb#L847
Merge ruby/spec...
naruse (Yui NARUSE)
12:48 PM Revision 4078be54 (git): rename several internal macros in time.c
TIME_UTC_P -> TZMODE_UTC_P
TIME_SET_UTC -> TZMODE_SET_UTC
TIME_LOCALTIME_P -> TZMODE_LOCALTIME_P
TIME_SET_LOCALTIME -...
akr (Akira Tanaka)
11:50 AM Revision 0f904ff1 (git): Update comment of tzmode [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:22 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[snipping some bits, because I can only speak to what I know]

On Wed, 8 Aug 2018 at 18:50, Eric Wong <normalperso...
phluid61 (Matthew Kerwin)
08:53 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> I've been playing around with my gem async and I've come to
> the conclusion tha...
normalperson (Eric Wong)
01:21 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Eric that is a great update.
I've been playing around with my gem async and I've come to the conclusion that it is...
ioquatix (Samuel Williams)
10:39 AM Revision b81a3326 (git): Rename gmt field to tzmode in struct time_object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:00 AM Revision 277cedb8 (git): Store String as zone in struct vtm.
This removes zone_table and use fstring instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64227 b2dd03c8-3...
akr (Akira Tanaka)
09:33 AM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
[email protected] wrote:
> ko1 (Koichi Sasada) wrote:
> > One off topic question. `list_empty()` is thread-safe?
>
...
normalperson (Eric Wong)
05:53 AM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
ko1 (Koichi Sasada) wrote:
> One off topic question. `list_empty()` is thread-safe?
Sorry it should be safe (I mi...
ko1 (Koichi Sasada)
05:51 AM Bug #14945: [PATCH] thread.c (blocking_region_end): clear ubf before unregister_ubf_list
:+1:
One off topic question. `list_empty()` is thread-safe?
ko1 (Koichi Sasada)
08:37 AM Bug #14976 (Closed): /usr/local/lib/ruby/gems/2.6.0/gems/fluentd-1.2.4/lib/fluent/event.rb:193: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-linux]
[root@sh_02 fluentd]# fluentd -c /alidata/install/fluentd/conf/datahub.conf
2018-08-08 16:31:29 +0800 [info]: parsin...
booboowei (booboo wei)
08:04 AM Feature #14717: [PATCH] thread: allow disabling preempt
[email protected] wrote:
> I don't think it is good idea to support
> `Thread#preemptible=false` because someone can m...
normalperson (Eric Wong)
05:39 AM Feature #14717: [PATCH] thread: allow disabling preempt
# The following is the fact I want to clear
(fix me if my understanding is wrong)
I believe this proposal is eq...
ko1 (Koichi Sasada)
08:00 AM Revision 60012d13 (git): Some environments do not have IPv6 address of localhost in /etc/hosts
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:52 AM Misc #14962: [PATCH] thread_pthread: stop trying to deal with cancellation
[email protected] wrote:
> I don't know about these deleted code. Who introduced?

Looks like akr did, but no reasoni...
normalperson (Eric Wong)
06:35 AM Misc #14962: [PATCH] thread_pthread: stop trying to deal with cancellation
I don't know about these deleted code. Who introduced?
ko1 (Koichi Sasada)
07:26 AM Revision 953b7a20 (git): mjit.c: remove old comment about WNOHANG and SIGCHLD [ci skip]
[Bug #14867] implemented exactly what was needed (for POSIX
platforms, at least).
git-svn-id: svn+ssh://ci.ruby-lang...
Eric Wong
06:31 AM Bug #14898: test/lib/test/unit/parallel.rb: TestSocket#test_timestamp stuck sometimes
> Oh, different test, that is test_timestampns getting stuck.
sorry.
> ko1: is frontier also on Docker?
No....
ko1 (Koichi Sasada)
06:27 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
> The question then becomes: What happens when Guilds land?
I have an optimistic opinion.
If transient heap succe...
ko1 (Koichi Sasada)
06:10 AM Feature #14759: [PATCH] set M_ARENA_MAX for glibc malloc
sam.saffron (Sam Saffron) wrote:
> Koichi / Nobu
>
> Is there any chance we can merge this in and even backport ...
ko1 (Koichi Sasada)
06:07 AM Feature #14955: [PATCH] gc.c: use MADV_FREE to release most of the heap page body
off-topic `:p`:
If we have a lightweight communication channel between user-process and OS, we can choose this tec...
ko1 (Koichi Sasada)
03:10 AM Bug #13407: We have recv_nonblock but not send_nonblock... can we add it?
We can close this issue, as there exists a satisfactory alternative. ioquatix (Samuel Williams)
03:08 AM Misc #10783: String#concat has an "appending" behavior
I also agree that this is confusing, and the only way to fix it would really be to rename `concat` to `append`. There... ioquatix (Samuel Williams)
03:01 AM Feature #14033: Add String#append
I would like to propose to extend this method to be binary safe.
If the destination string uses `Encoding::BINARY`...
ioquatix (Samuel Williams)
02:56 AM Revision ca5c3f1e (git): skip hanging-up tests on macOS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:16 AM Revision 3b8b6688 (git): spec/ruby/library/socket/*: fix hanging on FreeBSD 11.1
There are still other test failures which need fixing on FreeBSD.
Keep an eye on:
http://rubyci.s3.amazonaws.com/f...
Eric Wong

08/07/2018

11:04 PM Bug #14974: "if" statement executes wrong branch
jeremyevans0 (Jeremy Evans) wrote:
> This appears to be a duplicate of #14897.
Yes, it is already fixed in trunk....
mame (Yusuke Endoh)
06:44 PM Bug #14974 (Closed): "if" statement executes wrong branch
This appears to be a duplicate of #14897. jeremyevans0 (Jeremy Evans)
06:32 PM Bug #14974 (Closed): "if" statement executes wrong branch
I've stumbled over a rather weird bug where Ruby 2.5+ executes an `else` branch of a condition when it should not. Th... kratob (Tobias Kraze)
07:22 PM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> > or I will have to revert and reintroduce timer-thread :<
>
> reverted for now :< r64203

Btw, using POSIX t...
normalperson (Eric Wong)
05:08 PM Feature #14967: Any type
I do not have any particular opinion about "Any Type" as of yet,
neither pro or con, but just as to what Mr. Beaver ...
shevegen (Robert A. Heiler)
04:49 PM Revision 29ccaf6e (git): appveyor.yml: make sure MJIT is tested on AppVeyor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
04:27 PM Revision 10bccf34 (git): mjit.c: initial support for mswin MJIT
By this commit's changes in other files, now MJIT started to work on VC++.
Unfortunately some features are still brok...
k0kubun (Takashi Kokubun)
04:07 PM Feature #14973: Proposal of percent literal to expand Hash
I can not read japanese but I believe I can understand part of this
proposal (the ruby code examples).
If I unde...
shevegen (Robert A. Heiler)
03:12 PM Feature #14973 (Closed): Proposal of percent literal to expand Hash
## 概要
変数名から `{ 変数名: 変数の値 }` という Hash を定義するための %記法の提案です。
以前からちょくちょく[提案されていた](https://bugs.ruby-lang.org/issues/145...
osyo (manga osyo)
03:14 PM Revision 7fef5883 (git): * 2018-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 8430d0d1 (git): win32/Makefile.sub: escape `=` in MJIT cflags
Since `=` is considered as delimiter in `()` of `for`, having
`-DRUBY_DEVEL=1` in CPPFLAGS had resulted in:
#define...
k0kubun (Takashi Kokubun)
01:08 PM Revision dfd6787f (git): Silence Net::HTTP warning in test.
https://github.com/ruby/webrick/pull/8
Co-authored-by: Espartaco Palma <>
git-svn-id: svn+ssh://ci.ruby-lang.org/...
hsbt (Hiroshi SHIBATA)
12:56 PM Bug #14866 (Closed): [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
Applied in changeset trunk|r64216.
----------
Add missing test for WEBrick::HTTPAuth::Htgroup.
[Bug #14866][ruby-...
hsbt (Hiroshi SHIBATA)
12:56 PM Revision 68fac148 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:56 PM Revision 5a99a740 (git): Add missing test for WEBrick::HTTPAuth::Htgroup.
[Bug #14866][ruby-core:87602]
https://github.com/ruby/webrick/pull/10
Co-authored-by: TSUYUSATO Kitsune <make.j...
hsbt (Hiroshi SHIBATA)
12:47 PM Revision 1380aa04 (git): Support old versions of Ruby with FrozenError.
They should work separatedly from Ruby core repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64215 b2dd...
hsbt (Hiroshi SHIBATA)
12:32 PM Revision d59fc41f (git): Fallback to load version constant for ruby core repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:30 PM Bug #14964: [MJIT] missing builtin methods
ok, I attached full build logs and my env vars.
output_witharch_81.txt - ```--with-arch-64='barcelona'``` or ```AR...
ahorek (Pavel Rosický)
12:02 PM Revision 7d9109f8 (git): Removed needless date attribute from gemspec of default gems.
They are assigned automatically when pushing gem file to rubygems.org.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
hsbt (Hiroshi SHIBATA)
12:00 PM Revision 2ce807e8 (git): Remove unnecessary assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:36 AM Revision 325d378a (git): Removed needless file from gemspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:18 AM Revision 9e5cd30b (git): Add support of Berkeley DB 6.x.
https://github.com/ruby/dbm/pull/3
Co-authored-by: Yasuhiro KIMURA <>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
hsbt (Hiroshi SHIBATA)
09:52 AM Revision 83bdae19 (git): Add test for coverage.
https://github.com/ruby/cmath/pull/2
Co-authored-by: MATSUBARA Nobutada
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
hsbt (Hiroshi SHIBATA)
07:20 AM Bug #14972 (Closed): Net::HTTP inconsistently raises EOFError when peer closes the connection
If chunked transfer encoding is used, and the peer closes the connection while the caller is reading data, then the `... joshc (Josh C)
07:12 AM Bug #14971 (Closed): error: implicit declaration of function ‘rb_vm_call0
I get the errors below when making `make up install-nodoc`.
I'm not at v64208.
```
compiling vm.c
In file inclu...
duerst (Martin Dürst)
04:12 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> All of the test-all failures show something similar to:
> ```
> [Errno::ENOENT] exce...
normalperson (Eric Wong)
02:44 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
@normalperson Eric,
The zip of all the logs is at
https://ci.appveyor.com/api/buildjobs/pwyhyvkao2nssxy1/artifa...
MSP-Greg (Greg L)
01:47 AM Bug #14969: Process.groups が返す GID が重複している場合がある
(シェルスクリプトの uniq と違って) ruby の uniq は sort 済みかどうかに依存していないので、 `.sort.uniq` よりも `.uniq.sort` の方が良いと思います。 znz (Kazuhiro NISHIYAMA)
01:17 AM Revision e9b63a84 (git): * 2018-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:17 AM Revision 20c1e4a7 (git): win32/Makefile.sub: remove RUBY_EXPORT macro
defined in XCFLAGS.
This change resolves following link errors in MJIT:
```
rb_mjit_header-2.6.0.obj : error LNK200...
k0kubun (Takashi Kokubun)

08/06/2018

11:54 PM Bug #14964: [MJIT] missing builtin methods
> ARCH_FLAG="-march=barcelona" works, but it isn't propagated to CFLAGS, so it doesn't have the desired effect. I thi... k0kubun (Takashi Kokubun)
11:00 PM Bug #14964: [MJIT] missing builtin methods
ARCH_FLAG="-march=barcelona" works, but it isn't propagated to CFLAGS, so it doesn't have the desired effect. I think... ahorek (Pavel Rosický)
11:42 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
[email protected] wrote:
> The build log is at
> https://ci.appveyor.com/api/buildjobs/d0s8pbatmb7ax667/log
>
...
normalperson (Eric Wong)
10:04 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
@normalperson
The patch was fine, but the Appveyor build stopped.
Earlier, r64206 built fine, and I added the p...
MSP-Greg (Greg L)
09:22 PM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> > https://bugs.ruby-lang.org/issues/14968
>
> Updated patch on top of r64203 since I restored timer-thread :<
...
normalperson (Eric Wong)
05:42 AM Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> Bug #14968: [PATCH] io.c: make all pipes nonblocking by default
> https://bugs.ruby-lang.org/issues/14968

Upda...
normalperson (Eric Wong)
04:46 AM Bug #14968 (Closed): [PATCH] io.c: make all pipes nonblocking by default
Crap, I always planned to have something like this for [Feature #13618]
(auto-Fiber); but introducing a race conditi...
normalperson (Eric Wong)
07:13 PM Misc #14907: [PATCH] io.c: do not close inherited FDs by default
Updated patch to default close_others to false
normalperson (Eric Wong)
06:27 PM Feature #14938: Provide API to get same result as ruby -wc
> This warning dispatches on_arg_ambiguous method.
> It dispatches on_parse_error method.
How can I find the li...
mtsmfm (Fumiaki Matsushima)
03:50 PM Bug #14966: 2.5 branch - Appveyor failures - backport missed line
My fork passed on Appveyor:
https://ci.appveyor.com/project/MSP-Greg/ruby/build/7#L4336
MSP-Greg (Greg L)
02:42 PM Misc #14921: DevelopersMeeting20180809Japan
* [Feature #14944] Support optional inherit argument for Module#method_defined? jeremyevans0 (Jeremy Evans)
05:03 AM Misc #14921: DevelopersMeeting20180809Japan
* [Bug #14968] io.c: make all pipes nonblocking by default

* [Misc #14937] timer-thread elimination depends on [B...
normalperson (Eric Wong)
03:11 AM Misc #14921: DevelopersMeeting20180809Japan
[Feature #14967] Any type - Adds a wildcard type, primarily for use in Pattern Matching type syntaxes
This would b...
baweaver (Brandon Weaver)
02:32 PM Feature #14916: Proposal to add Array#===
I think there is a potential incompatibility here, due to changing the behavior of #===.
The fact `Module#===` doesn...
Eregon (Benoit Daloze)
12:46 PM Bug #14970 (Closed): -i option doesn't work for multi-byte-char filenames on Windows Ruby2.5.1
Z:\>touch あ
Z:\>ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [i386-mingw32]
Z:\>ruby -i.bak -pe p あ
-e:1: wa...
tksotn (TAKASHI OOTANI)
09:08 AM Feature #13904 (Closed): getter for original information of Enumerator
Applied in changeset trunk|r64205.
----------
enumerator.c: Introduce Enumerator::ArithmeticSequence
This commit in...
mrkn (Kenta Murata)
09:08 AM Revision 24daf140 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:08 AM Revision f1506933 (git): enumerator.c: Introduce Enumerator::ArithmeticSequence
This commit introduces new core class Enumerator::ArithmeticSequence.
Enumerator::ArithmeticSequence is a subclass of...
Kenta Murata
08:42 AM Revision 1777e39c (git): test/ripper/test_parser_events.rb (test_block_variables): increase RLIMIT_AS
Unfortunately, MJIT goes over the 100M RLIMIT_AS for this test
on x86-64 (Debian 9)
git-svn-id: svn+ssh://ci.ruby-la...
Eric Wong
08:11 AM Bug #14969: Process.groups が返す GID が重複している場合がある
つまり、
・specを直すに賛成である
・ただ、API docで Process.groups.sort.uniq がふつうの使い方みたいに教えてあげるのが親切と思う
の2つが意見です
kosaki (Motohiro KOSAKI)
08:08 AM Bug #14969: Process.groups が返す GID が重複している場合がある
Process.groupsが
・結果が昇順にソートされている保証はない(OS依存)
・Effective gidが入っているかどうかはOS依存
・重複するIDはそのままarrayに入っていることもあれば、重複が取り除かれている...
kosaki (Motohiro KOSAKI)
08:03 AM Bug #14969: Process.groups が返す GID が重複している場合がある
Process.groupsはgetgroups(2)のラッパってことで、重複を省くなどの余計なことはしない、に一票です。
idコマンドの結果を期待値にしているspecの方にそもそも無理を感じます。なので、specの方をいじる、でよ...
mame (Yusuke Endoh)
07:53 AM Bug #14969 (Closed): Process.groups が返す GID が重複している場合がある
Ubuntu 16.04 から 18.04 にアップグレードした環境で以下の ruby spec が失敗することに気づきました。
```
1)
Process.groups gets an Array of the gids...
mrkn (Kenta Murata)
05:32 AM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> > http://ci.rvm.jp/results/trunk@P895/1173951

> or I will have to revert and reintroduce timer-thread :<

r...
normalperson (Eric Wong)
04:52 AM Misc #14937: [PATCH] thread_pthread: lazy-spawn timer-thread only on contention
> http://ci.rvm.jp/results/trunk@P895/1173951

Damnit, this is because IO#gets on blocking pipes doesn't
hit rb...
normalperson (Eric Wong)
05:22 AM Revision 194a6a2c (git): thread_pthread.c: restore timer-thread for now :<
[ruby-core:88306]
Revert "process.c: ensure th->interrupt lock is held when migrating"
This reverts commit 5ca416bd...
Eric Wong
05:01 AM Revision 82815870 (git): Ignore native extension of Date library when syncing gemification files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:09 AM Feature #14967 (Open): Any type
In Scala, there's the concept of an Any type which can be used to match anything.
The implementation of which is q...
baweaver (Brandon Weaver)
01:06 AM Revision 5ca416bd (git): process.c: ensure th->interrupt lock is held when migrating
w->cond may be changed without our knowledge in waitpid_nogvl
without th->interrupt_lock
git-svn-id: svn+ssh://ci.ru...
Eric Wong

08/05/2018

11:37 PM Bug #14966 (Closed): 2.5 branch - Appveyor failures - backport missed line
A while ago, @hsbt committed r62990, and the following line was in `test\test_tmpdir.rb`:
```
TRAVERSAL_PATH.dele...
MSP-Greg (Greg L)
10:53 PM Feature #14869: Proposal to add Hash#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case {id: 1, name...
baweaver (Brandon Weaver)
10:16 PM Bug #14964: [MJIT] missing builtin methods
Could you test configuring ARCH_FLAG instead of CFLAGS/CXXFLAGS? I'm not sure which variable should be used for -mtun... k0kubun (Takashi Kokubun)
03:57 PM Bug #14964: [MJIT] missing builtin methods
after some investigation, I found the problem is my build options
this builds successfully
```
rb_mjit_header_ok...
ahorek (Pavel Rosický)
02:00 PM Bug #14964: [MJIT] missing builtin methods
> Is it a known problem?
No, thanks to report.
> Maybe GCC isn't supported on Windows yet?
I intend to suppo...
k0kubun (Takashi Kokubun)
01:52 PM Bug #14964: [MJIT] missing builtin methods
I'm using MSYS1 that could be a problem, but I don't see any difference or a reason why it shouldn't work. You don't ... ahorek (Pavel Rosický)
01:13 PM Bug #14964: [MJIT] missing builtin methods
@ahorek
The most recent ruby-loco build (MinGW) passed all tests and had the following output when running test_ji...
MSP-Greg (Greg L)
12:32 PM Bug #14964: [MJIT] missing builtin methods
> [...] I can compile the lastest Ruby 2.5.1 with the same options.
> Maybe GCC isn't supported on Windows yet? [......
shevegen (Robert A. Heiler)
11:00 AM Bug #14964 (Closed): [MJIT] missing builtin methods
I'm having trouble building Ruby 2.6 on Windows.
this is the first error:
```
building rb_mjit_header.h
rb_mjit...
ahorek (Pavel Rosický)
09:27 PM Revision 217bdd77 (git): process.c (rb_waitpid): reduce sigwait_fd bouncing
Once a thread has acquired sigwait_fd, hold onto it until
waitpid is complete. This prevents unnecessary migration
a...
Eric Wong
08:06 PM Misc #14962 (Closed): [PATCH] thread_pthread: stop trying to deal with cancellation
Applied in changeset trunk|r64197.
----------
thread_pthread: stop trying to deal with cancellation
We don't use pt...
normalperson (Eric Wong)
08:06 PM Revision 9f395f11 (git): test/ruby/test_thread.rb (test_thread_timer_and_interrupt): add timeouts
Trying to diagnose CI failures from i686-linux on Debian 7.
This also fixes a potential GC problem with Thread.start...
Eric Wong
08:06 PM Revision d17c7ba3 (git): * 2018-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 2ba640f3 (git): thread_pthread: stop trying to deal with cancellation
We don't use pthreads cancellation ourselves and it's painful to
use correctly. Any cancelled threads would break
vm...
Eric Wong
06:25 PM Bug #14965 (Third Party's Issue): Segmentation fault at 0x0000000000000000
I had installed rabbit (`$ gem install rabbit`) and created this file
```Markdown
# NES
```
I then run `$...
brunjact (Bruno Jacquet)
05:40 PM Bug #13167: Dir.glob is 25x slower since Ruby 2.2
@h.shirosaki, thanks for your work on this. I tested your patch 0001-dir.c-performance-fix-with-braces.patch (ruby he... ahorek (Pavel Rosický)
02:33 PM Revision e09c14a0 (git): mjit.c: use -Tc flag explicitly
This option makes sure that the argument is C source file.
Probably this is not needed, but since I'm debugging it, I...
k0kubun (Takashi Kokubun)
11:00 AM Bug #14350: Strange behavior for Array.min in ruby 2.5.0
ruby_2_5 r64195 merged revision(s) 61766. nagachika (Tomoyuki Chikanaga)
10:59 AM Revision 61cb2958 (git): merge revision(s) 61766: [Backport #14350]
vm_insnhelper.c: search in the indexing order
* vm_insnhelper.c (vm_opt_newarray_max, vm_opt_newarray_min):
...
nagachika (Tomoyuki Chikanaga)
08:56 AM Revision 14d13bc1 (git): test/ruby/test_process.rb (test_wait_and_sigchld): allow extra SIGCHLD
MJIT way generate an extra SIGCHLD, so we'll have to deal with it.
Any realistic Ruby program may hit unexpected SIG...
Eric Wong
08:56 AM Revision b3aa256c (git): thread_pthread.c (native_sleep): reduce ppoll sleeps
By holding into sigwait_fd until after we acquire GVL, we can
hit the faster native_cond_sleep path instead of ppoll ...
Eric Wong
06:30 AM Misc #14921: DevelopersMeeting20180809Japan
I am in Narita and I will try to come to the meeting. The only reason why I won't make it is because I get lost on th... ioquatix (Samuel Williams)
05:34 AM Revision 88975c82 (git): mjit.c: link precompiled object
This is needed to resolve:
"error LNK2011: precompiled object not linked in; image may not run"
win32/Makefile.sub: ...
k0kubun (Takashi Kokubun)
04:48 AM Revision d3e90363 (git): mjit.c: reorder functions to reduce #ifdef branches
Just moved make_pch into `#else` of `#ifdef _MSC_VER`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64191 b2dd0...
k0kubun (Takashi Kokubun)
04:37 AM Revision d7786b1e (git): mjit.c: include prebuilt precompiled header
on mswin properly.
Deleted code to attempt make_pch for mswin, since it won't be needed.
git-svn-id: svn+ssh://ci.r...
k0kubun (Takashi Kokubun)
03:12 AM Revision 5f13fe31 (git): mjit.c: initialize prebuilt precompiled header
file name correctly. This allows to use the header installed by r64188.
win32/Makefile.sub: define prebuilt precompi...
k0kubun (Takashi Kokubun)

08/04/2018

11:53 PM Revision cdf72ddc (git): win32/Makefile.sub: build precompiled header
See the comment in win32/Makefile.sub.
Not only .pch, but also .obj needs to be installed and used on runtime.
.giti...
k0kubun (Takashi Kokubun)
11:33 PM Revision ff1e6657 (git): test/ruby/test_io.rb (test_select_leak): speedup and reduce memory use
We can reuse the sub-thread and exception with Thread#raise to
reproduce the old memory leak with less overhead. Thi...
Eric Wong
10:58 PM Revision 80e973f0 (git): test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread): conserve resources
Use Thread.pass to let the sub-thread finish. This should avoid
running out of memory on resource-constrained system...
Eric Wong
08:38 PM Revision 291a82f7 (git): thread.c (consume_communication_pipe): do not retry after short read
Saves a syscall and slightly improves vm_thread_condvar1
benchmark slightly (more improvements on the way):
...
Eric Wong
08:34 PM Revision 3dbd8d1f (git): test/ruby/test_io.rb (test_race_gets_and_close): timeout each thread
Still looking into CI failures on P895 (and seemingly no other boxes):
http://ci.rvm.jp/results/trunk@P895/119036...
Eric Wong
04:22 PM Feature #14916: Proposal to add Array#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case ['Foo', 25]
...
baweaver (Brandon Weaver)
03:55 PM Feature #14869: Proposal to add Hash#===
I would agree with `===` being more useful than `<=`, as `case`, `all?`, `grep`, and other methods use it implicitly.... baweaver (Brandon Weaver)
03:12 PM Revision 32d6becb (git): * 2018-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision be38f53b (git): common.mk: stop building MJIT min header for mswin
Since it's impossible to leave macro when preprocessing C source file
with cl.exe, I decided to create precompiled he...
k0kubun (Takashi Kokubun)
 

Also available in: Atom