Project

General

Profile

Activity

From 06/14/2018 to 06/20/2018

06/20/2018

11:38 PM Revision 48efa447 (git): thread_pthread.c: fix non-sleepy timer-thread with fork
This fixes bootstraptest/test_fork.rb for systems with
sleepy timer thread disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
11:38 PM Revision 6c83a3ab (git): test/ruby/test_io.rb: fix timing sensitive test
For systems with sleepy timer thread disabled, the signal
handler does not fire soon enough and we need to ensure the
signal is received before we check its value. So use a
self-pipe here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Eric Wong
06:58 PM Bug #14858: Introduce 2nd GC heap named Transient heap
ko1 (Koichi Sasada) wrote:
> Some code can rely on that raw pointer acquired from a frozen object can not be invalidate.
> ...
Is it possible to move the storage from the transient heap to the malloc heap eagerly if the pointer is requ...
jeremyevans0 (Jeremy Evans)
06:13 PM Bug #14858 (Closed): Introduce 2nd GC heap named Transient heap
# Abstract
We propose to introduce "2nd" GC managed heap named "Transient heap" into MRI, instead of malloc management heap.
Employied GC algorithm is similar to "generational" "copying" GC algorithm.
This technique can reduce probl...
ko1 (Koichi Sasada)
06:10 PM Revision 34dbd74f (git): * 2018-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:10 PM Revision 331f46a2 (git): add assertion to vm_search_method()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:12 PM Feature #5995 (Rejected): calling io_advise_internal() in read_all()
Glass_saga (Masaki Matsushita)
02:32 PM Feature #5980 (Rejected): Trying to Load File When Too Many Files Open Should Raise Something Other Than Plain LoadError
No volunteer. mame (Yusuke Endoh)
02:14 PM Feature #5798 (Rejected): Range#include? needs some optimization
Joey: Please use Range#cover?, as alexeymuranov. In Ruby 2.6, Range#=== will be also equivalent to Range#cover?. [Feature #14575]
Alexey: Range is chaos. It has many inconsistencies. If you think it is really what to be fixed, ple...
mame (Yusuke Endoh)
02:09 PM Feature #5788 (Rejected): Thread#at_exit
Glass_saga (Masaki Matsushita)
02:08 PM Feature #5788 (Closed): Thread#at_exit
Glass_saga (Masaki Matsushita)
01:53 PM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
@normalperson, could you handle this ticket? mame (Yusuke Endoh)
01:52 PM Bug #5772 (Rejected): Segmentation Fault on Mac (crash)
1.9.3 has been already dead. Please reopen if it still reproduces in recent versions. mame (Yusuke Endoh)
01:04 PM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
Looks to me we don't have to keep this ticket open, but just in case, I reassign this to the current maintainer of WEBrick.
@normalperson, could you check this ticket?
mame (Yusuke Endoh)
12:52 PM Bug #5703 (Rejected): Ruby 1.9.3p0 segmentation fault (during autoload?)
1.9.3 has been already dead. mame (Yusuke Endoh)
12:51 PM Revision 2b5a801c (git): ConditionVariable and Queue is not standard library.
They are located under the Thread class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:40 PM Revision 248e076e (git): test_ast.rb: Remove a needless line
`RubyVM::AST.parse_file` was fixed to raise `SyntaxError`
by r63602. So this line is needless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
12:11 PM Revision 158f2235 (git): test_ast.rb: Fix an argument of `grep`, child is a `RubyVM::AST::Node`
Yusuke Endoh pointed out coverage of ast module is very low. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
11:14 AM Revision f194979b (git): skip when group name is not found
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:00 AM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
New issue would be helpful since it seems to be a different problem. And if possible, please minimize the reproductive code. A bug report with reproductive steps using EventMachine might help, but it would be more helpful if you were abl... k0kubun (Takashi Kokubun)
04:15 AM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
k0kubun,
First of all, thanks for all your work on MJIT. Lately, I've been testing a few extension gems, and I just decided to try JIT on EventMachine, which normally passes. Got thru quite a bit of it, but then a SEGV.
1. Would ...
MSP-Greg (Greg L)
10:42 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Eric Wong <normalperson@yhbt.net> wrote:
> mofezilla@gmail.com wrote:
> > https://bugs.ruby-lang.org/issues/14841
>
> Can you test?

Sorry, right idea, bad patch (broke during "make exam")
This should work:
```
--- a/thread_sy...
normalperson (Eric Wong)
10:04 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
mofezilla@gmail.com wrote:
> https://bugs.ruby-lang.org/issues/14841

I think the problem is mutex->th may be altered by
RUBY_VM_CHECK_INTS_BLOCKING(th->ec), and we miss
a point where "mutex->th = 0;"

Can you test?
```
--- a/t...
normalperson (Eric Wong)
06:33 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
hirura <hirura@gmail.com> wrote:
> Nextly, I will try the same code with limited CPU cores, and will try
> patching vm_core.h.

Thanks. I'm failing to reproduce the problem on my end.
I also got my netbook to overheat, but that's ...
normalperson (Eric Wong)
09:04 AM Feature #14857: collect malloc info
Thank you for looking into this. I have been thinking about
malloc usage, and am wondering why we use malloc heavily instead
of a specialized allocator (perhaps based on dlmalloc 2.8.6,
it is small, fast, and has a good API for embe...
normalperson (Eric Wong)
07:53 AM Feature #14857 (Closed): collect malloc info
Applied in changeset trunk|r63701.
----------
Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`. [Feature #14857]
* include/ruby/defines.h: introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`
to show malloc statistics by replace ruby_xmalloc() and s...
ko1 (Koichi Sasada)
07:46 AM Feature #14857 (Closed): collect malloc info
# Abstract
Collect malloc (related) information to measure malloc behavior.
Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS` macro to enable malloc info.
Collected information:
* gen (GC count at allocation)
* file (C file name)
* ...
ko1 (Koichi Sasada)
07:53 AM Revision 07a5e55f (git): Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`. [Feature #14857]
* include/ruby/defines.h: introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`
to show malloc statistics by replace ruby_xmalloc() and so on with
macros.
* gc.c (struct malloc_obj_info): introduced to save per-malloc information.
git-svn-id...
ko1 (Koichi Sasada)
07:16 AM Revision 9c272f39 (git): Thread is always provided at current ruby version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:33 AM Misc #14854 (Assigned): mjit (2.6.0-preview2) enabled on cygwin
hsbt (Hiroshi SHIBATA)

06/19/2018

11:21 PM Bug #14856 (Closed): [PATCH] lib/drb/extservm.rb (service): do not return `false'
Applied in changeset trunk|r63698.
----------
lib/drb/extservm.rb (service): do not return `false'
invoke_service_command may set entries in @servers to `false',
making it incompatible with the intended use of the
safe navigation opera...
normalperson (Eric Wong)
11:11 PM Bug #14856 (Closed): [PATCH] lib/drb/extservm.rb (service): do not return `false'
lib/drb/extservm.rb (service): do not return `false'
invoke_service_command may set entries in @servers to `false',
making it incompatible with the intended use of the
safe navigation operator.
This caused occasional DRb test fai...
normalperson (Eric Wong)
11:20 PM Revision d03afde3 (git): * 2018-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:20 PM Revision 0c53b400 (git): lib/drb/extservm.rb (service): do not return `false'
invoke_service_command may set entries in @servers to `false',
making it incompatible with the intended use of the
safe navigation operator.
This caused occasional DRb test failures, but they were hidden
with automatic retry.
[ruby-cor...
Eric Wong
10:26 PM Feature #14187: `make test` and `make check` to run all test suites
Messy issue, especially taking into account whether the user downloads a pre-built install, or builds their own. Without a build/compile system, tests can't be run with make...
Having paid attention to various repos for popular gems,...
MSP-Greg (Greg L)
07:08 AM Feature #14187: `make test` and `make check` to run all test suites
naruse (Yui NARUSE) wrote:
> Casual users really needs to run test-all and rubyspec?
The short answer is "I think so".
I agree that there is many "levels" of test suites: easy tests for casual users to verify their installation, d...
mame (Yusuke Endoh)
01:33 PM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Thank you for letting me know how to touch gdb.
The below is the output, it seems that sleeper and living_thread_num
have reasonable values.

~~~
(gdb) t 1
[Switching to thread 1 (Thread 0x7f46c51c8700 (LWP 827))]
#0 pthread_con...
hirura (Hiroyuki URANISHI)
12:42 PM Bug #14841: Very rarely IO#readpartial does not raise EOFError
hirura <hirura@gmail.com> wrote:
> I tried and reproduced this on
> - Ubuntu Linux on Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (4cores / 8threads)
> - CentOS Linux on Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (1cores /
> 2threads; ...
normalperson (Eric Wong)
11:52 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Hi Eric,

Thank you for replying.

I tried and reproduced this on
- Ubuntu Linux on Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (4cores / 8threads)
- CentOS Linux on Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (1cores /
2threads; a V...
hirura (Hiroyuki URANISHI)
10:52 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Sorry, I left this out: If you can reproduce it again, can you
print vm->sleeper and vm->living_thread_num values from gdb?
Thanks.
normalperson (Eric Wong)
10:52 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
hirura@gmail.com wrote:
> File gdb_trace_reproduced.txt added
> ruby -v changed from ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux] to ruby 2.6.0dev (2018-06-15 trunk 63671) [x86_64-linux]

Odd, it is stuck in rb_mutex_sle...
normalperson (Eric Wong)
09:19 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Hi,
I tried getting gdb backtrace of a reproduced, means stopped in this case, process.
Attached files are the outputs of reproduced case and normal case.
Could anyone help on this ?
hirura (Hiroyuki URANISHI) wrote:
> Hi,
...
hirura (Hiroyuki URANISHI)
01:09 PM Feature #14855 (Closed): Binding#irb の中では、呼び出し元の __FILE__ と __dir__ をとりたい
現在、Binding#irb の中で呼び出した __FILE__ と __dir__ が irb で設定されたもののままとなっています。
これだと、ソースコード中に埋め込んで試す際に不便なので、実際のソースコードのファイルが読み取れるとうれしいです。
そのパッチとして https://github.com/ruby/ruby/pull/1896 を作りました。
現時点は以下のようになります。
```
$ cat binding_irb.rb
bi...
takkanm (三村 益隆)
12:14 PM Misc #14854 (Closed): mjit (2.6.0-preview2) enabled on cygwin
cygwin で 2.6.0-preview2 の mjit をとりあえずで動かせるようにしてみました。
(コンパイルできるだけのレベル)
patch & log
https://gist.github.com/fd00/80b25c33ffef0651b7214d19e722848f
cygwin だと必ず false になるという都合で
pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM) == 0 ...
fd0 (Daisuke Fujimura)
12:10 PM Bug #14846 (Closed): Backport fixes for Kernel#warn(uplevel:)
Thank you for your notice.
I will backport r63650.
nagachika (Tomoyuki Chikanaga)
10:56 AM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
> The point is that the phrase "hard to remember" in the OP is bit weak when we already have methods with the proposed behavior (`grep` and `grep_v`).
Indeed. However I think there is a case to be made for consistency.
If this wor...
byroot (Jean Boussier)
08:45 AM Revision 9d556662 (git): describe about NameError by #private_constant
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:32 AM Bug #14853 (Closed): [BACKPORT] NameError#receiver at private constant returns a hidden object
Fixed by r63696.
```ruby
module M
X = 1
private_constant :X
end
begin
Module.new{include M}::X
rescue NameError => e
e.receiver.object_id # undefined method `object_id' for #<M:0x000000010c5f7e88> (NoMethodError)
end
...
nobu (Nobuyoshi Nakada)
08:15 AM Revision 1b474b86 (git): variable.c: fix receiver on private constant
* variable.c (rb_const_search): fix NameError :receiver attribute
on private constant, should raise with the included module, not
the ICLASS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:12 AM Revision b3f56c6b (git): gc.c (gc_verify_heap_pages): fix no-op on heap_eden->pages
Shouldn't affect production use, but good to fix regardless :>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:59 AM Bug #14852 (Closed): please backport thread sync fixes to 2.5
Please backport the following fixes for thread_sync.c changes in 2.5:
r62934, r63124, r63215, r63281, r63282, r63309
autoload-related, but same idea:
r63210, r63392
Thanks.
normalperson (Eric Wong)
02:53 AM Bug #14416 (Closed): Net::POPMail methods modify frozen literal when using default arg
normalperson (Eric Wong)
02:53 AM Bug #14416 (Open): Net::POPMail methods modify frozen literal when using default arg
normalperson (Eric Wong)
02:42 AM Bug #14416: Net::POPMail methods modify frozen literal when using default arg
Anonymous wrote:
> Applied in changeset trunk|r62099.
> ...
Can I check if this patch will be backported to Ruby 2.5?
tgxworld (Guo Xiang Tan)
02:46 AM Feature #14851 (Open): [PATCH] thread_pthread.c: remove non-sleepy timer thread implementation
thread_pthread.c: remove non-sleepy timer thread implementation
Apparently, the non-sleepy timer thread code bit-rotted and
was been broken for several years and nobody noticed(r63682).
Remove it entirely to simplify maintenance.
...
normalperson (Eric Wong)
02:46 AM Revision 61391616 (git): NULL class Data_Wrap_Struct is not allowed.
* spec/ruby/optional/capi/typed_data_spec.rb: same as r63692.
* spec/ruby/optional/capi/ext/typed_data_spec.c: ditto.
* vm_insnhelper.h (PUSH): re-enable assertion to check hidden objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
ko1 (Koichi Sasada)

06/18/2018

11:19 PM Revision 8b3902b2 (git): * 2018-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:19 PM Revision 24aa9ecc (git): Removed unobservable behavior
The klass for Data_Wrap_Struct can be NULL, but it MUST NOT appear
in the Ruby level. It is only for the C level implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:13 PM Feature #13396: Net::HTTP has no write timeout
Eric Wong <normalperson@yhbt.net> wrote:
> Anyways, the code for handling partial write_nonblock case is verbose.
> One day, I would like to:
>
> 1) integrate Timeout into core
> 2) make all SOCK_STREAM sockets non-blocking by def...
normalperson (Eric Wong)
02:11 PM Revision 05a8a185 (git): Forgotten to update RUBY_PATCHLEVEL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:50 PM Revision b679f233 (git): * 2018-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:50 PM Revision 235700b1 (git): Fixed tempfile leaks
* lib/rubygems.rb (Gem::VERSION): 2.6.14.2
* lib/rubygems/ext/ext_conf_builder.rb: merge from 2.7.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:37 AM Feature #14850: Add official API for setting timezone on Time
I agree in regards to it being odd that in an OOP-centric language
we have to fiddle with environment variables.
Irrelevant fun fact:
I once set TZ as "alias" (well, export TC= some value) towards '.tar.gz'
or something like that...
shevegen (Robert A. Heiler)
10:36 AM Feature #14850 (Closed): Add official API for setting timezone on Time
Only way of setting zone on a Time object appears to be via marshalling and messing with ENV.
```
>> ENV['TZ'] = 'America/New_York'
> ...
=> "EDT"
>> ENV['TZ'] = 'Europe/London'
> ...
=> "BST"
```
Is there any particular reas...
sam.saffron (Sam Saffron)
08:30 AM Revision 7f4fbc1f (git): remvoe assertion because rubyspec hit this assert
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:41 AM Revision 2e5aa3fb (git): hidden objects should not be pushed.
* vm_insnhelper.h (PUSH): hidden objects (klass == 0) should not be pushed
to a VM value stack. Add assertion for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:49 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
`String#casecmp?` has already landed. It seems no blocker are there for implementing this one, except the name. shyouhei (Shyouhei Urabe)
01:04 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Also, I will extract timeout support into separate feature.

The basic idea is that (regardless of how efficient(*) Timeout is):

Timeout.timeout { io.read(...) }
Timeout.timeout { io.write(...) }
Timeout.timeout { io.read(...)...
normalperson (Eric Wong)
12:21 AM Bug #14849 (Feedback): rbenv install 2.4.0 on AWS EC2 on AMI linux box
2.4.0 is too old. Try 2.5.1, or at least, 2.4.4. shyouhei (Shyouhei Urabe)

06/17/2018

03:42 PM Revision 4a4f7aea (git): * 2018-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision c66303cd (git): Remove needless closed?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:17 AM Revision cc77a811 (git): openssl_missing.h: constified
* ext/openssl/openssl_missing.h (IMPL_KEY_ACCESSOR{2,3}):
constified obj argument getters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:27 AM Revision 0e2ba849 (git): thread_pthread.c: microptimize vm->gvl.waiting checks
"gvl.waiting" is volatile, so the compiler won't perform
these optimizations for us.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:56 AM Revision cc6342fe (git): thread_pthread.c: fix non-sleepy timer thread build
I guess everybody has poll() and fcntl() nowadays, as
the non-sleepy timer thread build has been broken for
years, now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:42 AM Revision 05c0c57d (git): EXTOBJS should be included in DLDOBJS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:41 AM Revision 63bd0417 (git): share Float 0
* complex.c (RFLOAT_0): share the 0.0 object on non-flonum
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:40 AM Revision cdca211b (git): Makefile.in: MJIT_DLDFLAGS
* Makefile.in (mjit_config.h): needs -arch flag to link, as well
as precompiling the header, when compiling for i386 on x86_64
mac.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Revision 4fedad85 (git): refine Integer#** and Float#**
* complex.c (rb_dbl_complex_polar): utility function, which
returns more precise value in right angle cases.
* bignum.c (rb_big_pow): use rb_dbl_complex_polar().
* numeric.c (rb_float_pow, fix_pow): create a Complex by polar
form.
...
nobu (Nobuyoshi Nakada)
01:24 AM Revision 90d06553 (git): compare with correct values
* spec/ruby/shared/rational/exponent.rb: compare with
mathematically expected values without errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 AM Revision f12cc0e6 (git): refine Integer#**
* numeric.c (fix_pow): calculate the denominator, exponent of
self.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/16/2018

11:22 PM Revision 47bd7007 (git): * 2018-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision b7019464 (git): mjit.c: measure time more precisely
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:35 PM Bug #14843 (Assigned): [BUG] Illegal instruction at 0x000000010c7acc0a
It happens inside libyaml.
Aaron, do you have any idea?
nobu (Nobuyoshi Nakada)
08:27 AM Revision 1ae9fad6 (git): * 2018-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:27 AM Revision 986f11e7 (git): thread.c (timeout_prepare): common function
I can't seem to reproduce the maybe-uninitialized warning on
gcc 7 or 8 on Debian sid (7.3.0-16 / 8-20180425-1 r259628),
so the guard from r62305 is dropped.
* thread.c (timeout_prepare): hoist out from do_select
(do_select): ditto
...
Eric Wong

06/15/2018

06:43 PM Bug #14849 (Closed): rbenv install 2.4.0 on AWS EC2 on AMI linux box
unable to install 2.4.0 ruby while with rbenv:
AMI ID: amzn-ami-hvm-2018.03.0.20180508-x86_64-gp2 (ami-9a91b371)
================================================
[ec2-user@ip-*********** ~]$ rbenv install 2.4.0
Installing ruby-...
reepz (Andrzej Wojtowicz)
05:14 PM Feature #14799: Startless range
@mame Ah, that is quite unfortunate (it does not look so nice with the parens), but thank you for mentioning the caveat.
I guess much like Range literals in general, it's often needed to have parens around them.
Eregon (Benoit Daloze)
10:35 AM Revision cb2a2c27 (git): gettimeofday is obsolete
* test/ruby/test_process.rb gettimeofday is obsolete in SUSv4, and
may not be available in the future.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:15 AM Revision d31d6631 (git): win32/Makefile.sub: gettimeofday is defined in win32.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:02 AM Bug #14848 (Rejected): Net/HTTP doesn't take verify_callback into account when OpenSSL::SSL::VERIFY_NONE
Hi,
In (at least) net/http, the TLS connection is OK even if `verify_callback` return `false` if `verify_mode` is set to `OpenSSL::SSL::VERIFY_NONE`.
The callback is really called, but the TLS handshake is not stopped.
Use case: s...
aeris (Nicolas Vinot)
08:59 AM Feature #5400 (Assigned): Remove flip-flops in 2.0
I've committed r63667..r63669 to deprecate flip-flips. I leave this ticket open to remove the feature in 3.0 (?).
There were some programs that used flip-flops in build scripts. I rewrote them to a code that does not use flip-flops....
mame (Yusuke Endoh)
08:53 AM Revision 301fa452 (git): Remove flip-flop usages from build scripts
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:53 AM Revision bf7a32d2 (git): Remove warnings of flip-flop deprecation from tests and specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:53 AM Revision bae638ad (git): parse.y: Deprecate flip-flops
Ref #5400
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:59 AM Feature #12602 (Closed): Add NilClass#to_d
I've released the new version 1.3.5, that includes `nil.to_d`.
Please use it.
mrkn (Kenta Murata)
12:19 AM Revision 4fb5888a (git): Update obsoleted URLs of supported platforms [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:06 AM Revision 72511705 (git): * 2018-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:06 AM Revision dfdd5562 (git): Bootstrapping ruby runtime might not have RubyVM::MJIT defined.
[Fix GH-1891]
From: U-DESKTOP-RLT5UQ8\moriyoshi <mozo@mozo.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/14/2018

10:30 PM Feature #14799: Startless range
I agree that it is a good use case.
But notice that we will not be able to write `ruby_version_is ..."2.6" do` because it parses as `(ruby_version_is..."2.6") do`.
We need to write parentheses: `ruby_version_is(..."2.6") do`.
mame (Yusuke Endoh)
03:16 PM Feature #14799: Startless range
znz (Kazuhiro NISHIYAMA) wrote:
> I think version guard of ruby/spec is one of usages.
> ...
Right, this would be a nice way to express version ranges like
~~~ ruby
ruby_version_is ..."2.6" do
# ...
end
ruby_version_is "2.4...
Eregon (Benoit Daloze)
02:34 PM Feature #14799: Startless range
I think version guard of ruby/spec is one of usages.
For example:
```ruby
ruby_version_is ""..."2.6" do
# ...
end
```
znz (Kazuhiro NISHIYAMA)
06:40 PM Misc #14769: DevelopersMeeting20180621Japan
* [Feature #14709] Proper pattern matching
* [Feature #14799] Startless range
* [Feature #14784] One-sided Comparable#clamp (with endless/startless ranges)
zverok (Victor Shepelev)
03:14 PM Feature #12602: Add NilClass#to_d
Any updates about this feature? I ended up adding the `#to_d` by monkey patching `NilClass`, but I would like this feature to get merged. isayajin (Isay Sosa)
01:10 PM Revision a03ea378 (git): prefer clock_gettime
* configure.ac: clock_gettime or gettimeofday must exist.
* process.c (rb_clock_gettime): prefer clock_gettime over
gettimeofday, as the latter is obsolete in SUSv4.
* random.c (fill_random_seed): ditto.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #13284: IA64 ruby 2.4 miniruby segfault
I tried a few suggestions, which did not work out for me:
- Configure with --with-setjmp-type=_setjmp
- Compile using -O0 -fno-omit-frame-pointer -fno-stack-protector
What finally worked for me was to run the build without stack lim...
knedlsepp (Josef Kemetmüller)
11:20 AM Bug #8017: Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
FYI: I had the same problem and could fix it by setting the stacksize to unlimited `ulimit -s unlimited`. knedlsepp (Josef Kemetmüller)
11:12 AM Revision 93f7a115 (git): README.ja.md: Add link to downloads [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:09 AM Bug #14840 (Closed): `warning: constant Net::ProtoServerError is deprecated` only via net/http
Resolved at r63661 znz (Kazuhiro NISHIYAMA)
10:28 AM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
For me it helped to increase my stack size limit using ulimit -s unlimited. knedlsepp (Josef Kemetmüller)
10:28 AM Bug #11457: miniruby SEGVs on CentOS 5
For me it helped to increase my stack size limit using `ulimit -s unlimited`. knedlsepp (Josef Kemetmüller)
09:01 AM Revision 60c7fcf0 (git): Get rid of warnings of test/spec
* lib/net/http/exceptions.rb: revert a part of r63590. to deprecate
Net::ProtoServerError seems to be wrong.
see [ruby-core:87488] [Feature#14688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63661 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura
08:45 AM Feature #14688: Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
I suspect that deprecating `Net::ProtoServerError` is wrong.
The exception seems to be "something error reported from server", and is derived not only by `Net::HTTPServerException` but also `Net::SMTPServerBusy`.
usa (Usaku NAKAMURA)
07:09 AM Revision c9db11ea (git): bignum.c: get rid of redefined method
* bignum.c (int_pow_tmp3): get rid of redefined Integer#> on
internal calculations, as well as the GMP version.
* bignum.c (rb_int_powm): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63660 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
06:41 AM Revision fa0f702c (git): HTTPServerException is deprecated
* spec/ruby/library/net/http/HTTPClientException_spec.rb: add.
* spec/ruby/library/net/http/HTTPServerException_spec.rb: check deprecated message.
* spec/ruby/library/net/http/httpresponse/*_spec.rb: use HTTPClientException instead of HT...
U.Nakamura
06:36 AM Revision 99cc2051 (git): test/rubygems/test_gem_dependency_installer.rb: Avoid Dir.chdir + block
This caused a warning "conflicting chdir during another chdir block"
during "make test-all".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:07 AM Bug #14847: `clone` can generate strange objects
まつもと ゆきひろです
おそらくは FL_FREEZE などいくつかのフラグだけ特別にコピーするべきなんだと思います。
最近 mruby でも同様のレポートが来て、あちらでは FREEZE だけコピーすることにしました。
CRuby ではもうちょっとコピーする必要がありそうです。
matz (Yukihiro Matsumoto)
01:14 AM Bug #14847 (Closed): `clone` can generate strange objects
`Object#clone(obj)` を呼び出すと、
* (1) `rb_obj_alloc(rb_obj_class(obj));` で空の `obj` を作り、
* (2) `RBasic(orig)->flags` を(できるだけ)引き継ぎ
* (3) 特異クラス情報を引き継ぎ
* (4) インスタンス変数を引き継ぎ
* (5) taint 情報を引き継ぎ
* (6) `initialize_copy` を呼んで初期化
という感じで処理をす...
ko1 (Koichi Sasada)
03:18 AM Revision 891d00b4 (git): .gdbinit: expand RBASIC macro for old gdb on mac
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom