Project

General

Profile

Activity

From 10/18/2018 to 10/24/2018

10/24/2018

10:17 PM Revision f8dbff55 (git): add new debug_counters for GC.
* debug_counter.h: add new debug counters to count GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:52 PM Feature #15251: Hash aset should deduplicate non tainted string
chopraanmol1@gmail.com wrote:
> https://bugs.ruby-lang.org/issues/15251

> I'm not sure if current behavior is expected one or a bug. So fell free to
> change tracker type.

current behavior is intentional because of a regression ...
normalperson (Eric Wong)
01:07 PM Feature #15251 (Closed): Hash aset should deduplicate non tainted string
I'm not sure if current behavior is expected one or a bug. So feel free to change tracker type.
Currently Hash ASET checks if non-tainted string exists in fstring table or not, if it doesn't then ruby duplicates string and freeze it. ...
chopraanmol1 (Anmol Chopra)
07:12 PM Bug #15252 (Closed): hitting what seems like a gc segfault at random
I apologize as I don't have a reproducible test case but I'm hoping by sharing the trace that others may be able to chime in on what is happening:
~~~
00:05:24.566 Running tests in parallel: |=========/jenkins/.rvm/gems/ruby-2.4.4@in...
rlgomes (Rodney Gomes)
03:49 PM Revision 0fbc28de (git): wercker.yml: rearrange test split times
test-all2 is taking much longer time than test-all1 now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:41 PM Revision d82a7612 (git): * 2018-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision 97f3e426 (git): _mjit_compile_ivar.erb: cancel on undefined ivar
I assumed somehow this check was not needed, but it did need.
By canceling this instead of just warning here, we didn't lose the
current performance so much.
test_jit.rb: test the case that reproduces SEGV by that.
TestGemStreamUI.rb: ...
k0kubun (Takashi Kokubun)
03:05 PM Bug #15237: Extreme memory/CPU utilization when calculating some exponents
This seems to have been fixed in r65190.
~~~
$ ./ruby --version
ruby 2.6.0dev (2018-10-24 trunk 65355) [x86_64-linux]
$ ./ruby -e '-888888888888888i**88888888888888'
-e:1: warning: in a**b, b may be too big
$
~~~
bannable (Joe Truba)
03:03 PM Bug #15246: Invalid read (SEGV on indeterminate address) in id_table.c
nobu (Nobuyoshi Nakada) wrote:
> Maybe fixed by r65190?
Yes, looks fixed.
~~~
$ ASAN_OPTIONS=detect_leaks=0 ./ruby -v
ruby 2.6.0dev (2018-10-24 trunk 65097) [x86_64-linux]
$ ASAN_OPTIONS=detect_leaks=0 ./ruby ../repro2
../repr...
bannable (Joe Truba)
09:45 AM Bug #15246: Invalid read (SEGV on indeterminate address) in id_table.c
Maybe fixed by r65190? nobu (Nobuyoshi Nakada)
02:24 PM Revision 593b5853 (git): test_jit.rb: test newhashfromarray
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:05 PM Bug #15250 (Closed): Concurrent fibers segfault when thread caching is disabled
~~~ ruby
500.times do
Array.new(200) { |n|
Thread.new {
Fiber.new {
readable = open(__FILE__)
Fiber.yield readable.read(1)
}.resume
}
}.each(&:join)
end
~~~
Getting the segfault doesn...
qyliss (Alyssa Ross)
12:19 PM Revision f84c3184 (git): revert r65353 [ci skip]
As Wercker is managing workflow by GUI, the commit had no impact for
behavior... I already fixed the workflow on GUI. Let revert that to
change it back to natural order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65354 b2dd03c8-3...
k0kubun (Takashi Kokubun)
12:14 PM Revision beec400d (git): wercker.yml: run slower job first
to reduce time taken for finishing all jobs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:13 PM Revision 789244e1 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:13 PM Revision 20d74be8 (git): test/excludes/_wercker: skip tests
which are under investigation. I'm debugging it right now, but let's
make it green to stop bothering other development.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:02 PM Bug #15245: Heap buffer overflow (write of size 8) in vm.inc
Yes, 2.4 is ok but 2.5 crashes.
```
$ ruby2.4 -v -e 'i = 0; %w(1) || 2 while (i += 1) < 100; p i'
ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-darwin18]
100
```
```
$ ruby2.5 -v -e 'i = 0; %w(1) || 2 while (i += 1) < 100; ...
nobu (Nobuyoshi Nakada)
11:48 AM Bug #15245: Heap buffer overflow (write of size 8) in vm.inc
I think r59892 introduce this bug. I'll fill Backport field according to the changeset timing. I didn't confirm it's actually reprodusible on stable branches. nagachika (Tomoyuki Chikanaga)
10:38 AM Bug #15245 (Closed): Heap buffer overflow (write of size 8) in vm.inc
Applied in changeset trunk|r65350.
----------
compile.c: fix peephole optimization
* compile.c (iseq_peephole_optimize): should `pop` before jump
instruction which succeeds to `newarray` of a literal object,
not after. [ruby-core:...
nobu (Nobuyoshi Nakada)
10:38 AM Bug #15248 (Closed): Segfault/memory corruption in vm.c:1946
Applied in changeset trunk|r65350.
----------
compile.c: fix peephole optimization
* compile.c (iseq_peephole_optimize): should `pop` before jump
instruction which succeeds to `newarray` of a literal object,
not after. [ruby-core:...
nobu (Nobuyoshi Nakada)
12:03 AM Bug #15248: Segfault/memory corruption in vm.c:1946
I guess this is as same as #15245.
```
$ echo -n "2557 0024 7f54 0020 7c7c 6e54 5a20 7768 696c 6523 4054 456d 6520 7e6f 5b0a 0a0a 0a0a 0a0a 0a69 3d31"|xxd -r -p|ruby --dump=insns
-:9: warning: found `= literal' in conditional, shoul...
wanabe (_ wanabe)
10:38 AM Revision 71b0d20f (git): compile.c: fix peephole optimization
* compile.c (iseq_peephole_optimize): should `pop` before jump
instruction which succeeds to `newarray` of a literal object,
not after. [ruby-core:89536] [Bug #15245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65350 b2dd03c8...
nobu (Nobuyoshi Nakada)
10:29 AM Revision cd0181dd (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:29 AM Revision 4b027388 (git): wercker.yml: skip TestParallel::TestParallel#test_separate
for now. It's randomly failing on test-mjit-wait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:52 AM Revision 9d93d8b1 (git): wercker.yml: try to split test-all again
TestParallel in test/testunit/... seems to be slow. Let's see if this
contributes to loosen timeout or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:05 AM Revision e3bd6ef7 (git): wercker.yml: skip test_queue_with_trap on -wait as well
It randomly failed.
https://app.wercker.com/ruby/ruby/runs/test-mjit-wait/5bcfd19aa9806e000655c598?step=5bcfd1d5acc4510006e00f77
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:40 AM Revision 6fa2b5e8 (git): newhashfromarray should be a leaf insn.
* insns.def (newhashfromarray): `rb_hash_bulk_insert()` can call
Ruby methods like #hash so that it should not be a leaf insn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:12 AM Revision 434207e8 (git): need a cast
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:57 AM Revision f3c5239b (git): introduce new YARV insn newhashfromarray.
* insns.def (newhashfromarray): added to replace `core_hash_from_ary`
method to eliminate method call overhead.
On my environment, I got the following benchmark results:
x = {x: 1}
modified: 7864988.6 i/s
...
ko1 (Koichi Sasada)

10/23/2018

11:49 PM Bug #15245: Heap buffer overflow (write of size 8) in vm.inc
It may be due to peephole_optimization.
I went into an infinite loop without peephole_optimization.
It is an expected behaviour.
```
$ ruby -ve 'iseq = RubyVM::InstructionSequence.compile("%w(1) || 2 while 3", peephole_optimizati...
wanabe (_ wanabe)
04:46 PM Bug #15245 (Closed): Heap buffer overflow (write of size 8) in vm.inc
Reproducer:
~~~
$ xxd repro1_2
00000000: 2557 0030 007c 7c30 7768 696c 650a 30 %W.0.||0while.0
$
~~~
AddressSanitizer report:
~~~
=================================================================
==43391==ERROR: AddressSan...
bannable (Joe Truba)
10:55 PM Revision 471a70fb (git): bump teeny
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@65342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:51 PM Revision 8e40a7cc (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:51 PM Revision 9641ff43 (git): wercker.yml: skip #test_queue_with_trap for now
only on --jit CI. This test doesn't work on AppVeyor mswin either.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
10:44 PM Feature #15233: Speeding Up Matrix Powers
Cool. I'll definitely have a look, in a few days probably as I'm travelling right now marcandre (Marc-Andre Lafortune)
09:28 PM Feature #15233: Speeding Up Matrix Powers
The O(ln n) method could be written as follows.
def pow1(m, n)
return m if n == 1
p = pow1(m, n/2)
n.even? ? p*p : p*p*m
end
t = Time.now
p = (pow(Q,100000000)*r).sum % 1_000_000
#=> 10...
CaryInVictoria (Cary Swoveland)
08:09 PM Misc #15249 (Open): Documentation for attr_accessor and attr_reader should be corrected
The documentation for [Module#attr_accessor](http://ruby-doc.org/core-2.5.1/Module.html#method-i-attr_accessor) (v2.5.1) begins, "Defines a named attribute for this module, where the name is symbol.id2name, creating an instance variable ... CaryInVictoria (Cary Swoveland)
05:28 PM Bug #15248 (Closed): Segfault/memory corruption in vm.c:1946
Reproducer:
~~~
$ xxd ../repro3
00000000: 2557 0024 7f54 0020 7c7c 6e54 5a20 7768 %W.$.T. ||nTZ wh
00000010: 696c 6523 4054 456d 6520 7e6f 5b0a 0a0a ile#@TEme ~o[...
00000020: 0a0a 0a0a 0a69 3d31 .....i=1
$
...
bannable (Joe Truba)
05:02 PM Bug #15247 (Open): Windows - TEMP folder, non 8.3 & drive, fails & errors in test-all (ruby & rdoc)
While working with Azure pipelines, two issues came up related to the TEMP folder.
1\. The standard Windows TEMP folder is located in a user directory. The user for pipeplines is 'buildguest', which is greater than 8 characters, and ...
MSP-Greg (Greg L)
04:51 PM Bug #15246 (Closed): Invalid read (SEGV on indeterminate address) in id_table.c
This one does not crash a normal ruby build, but results in ASAN SEGVing on an unknown address. Valgrind doesn't seem to catch anything other than a large amount of memory leakage with this, so this *could* be an ASAN bug.
Reproducer:...
bannable (Joe Truba)
04:49 PM Revision fd63a5c5 (git): wercker.yml: increase timeout scale
mainly for test-mjit.
TestThreadQueue#test_queue_with_trap timed out with 10s.
https://app.wercker.com/ruby/ruby/runs/test-mjit/5bcf4b5c9065740006f790ca?step=5bcf4b9787436a000648fbb7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65...
k0kubun (Takashi Kokubun)
04:23 PM Revision 29207a93 (git): wercker.yml: run both --jit and --jit-wait
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:54 PM Revision 5714b2ce (git): wercker.yml: stop using my personal Docker container
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:29 PM Revision df0517db (git): getifaddrs_spec.rb: `should` returned `nil` on success
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:09 PM Revision abfc5470 (git): wercker.yml: stop splitting test-all
since it actually doesn't contribute to CI build time so much, rather it
seems making it worse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:05 PM Revision 66bfa2b8 (git): * 2018-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 8adefd4c (git): Skip BUGs on Solaris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:58 PM Revision 833ca7bd (git): getifaddrs_spec.rb: allow no address
* spec/ruby/library/socket/socket/getifaddrs_spec.rb: allow no
address for platform dependent failures.
https://travis-ci.org/ruby/ruby/jobs/445126982#L2234-L2244
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65332 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
02:43 PM Revision a740fa1b (git): appveyor.yml: give up using mspec -j
for all Windows environments. It also hanged on msys2 build
https://ci.appveyor.com/project/ruby/ruby/builds/19719943/job/cxg00jgvt1ifml97
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:38 PM Bug #14678: Segmentation fault in pg
masutaka (Takashi Masuda) wrote:
> I avoided this problem by reinstalling vendor/bundle. My OS is macOS High Sierra.
> ...
Do you mean they are binary incompatible?
Only the difference between 2.5.0 and 2.5.1 in the headers seems [Bug...
nobu (Nobuyoshi Nakada)
06:32 AM Bug #14678: Segmentation fault in pg
I avoided this problem by reinstalling vendor/bundle. My OS is macOS High Sierra.
I guess vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg_ext.bundle is inconsistent.
After I overwrote with the pg_ext.bundle made in ruby-2.5.0, it re...
masutaka (Takashi Masuda)
02:26 PM Revision 95256bcf (git): test/unit.rb: glob w/o prefix/suffix
* test/lib/test/unit.rb (Test::Unit::GlobOption#non_options): glob
the given pattern as-is under the TESTSDIR without the prefix
nor the suffix, when it has separator(s) but does not end with a
separator nor is not a directory. e....
nobu (Nobuyoshi Nakada)
02:17 PM Revision f7add52f (git): test/unit.rb: fixed wrong method name
* test/lib/test/unit.rb (Test::Unit::Parallel#deal): fixed wrong
method name at r36388.
* test/testunit/test_parallel.rb (TestParallel::TestParallel#test_separate):
refine the pattern to process IDs but not backtrace lines, and
ad...
nobu (Nobuyoshi Nakada)
02:10 PM Revision 3675920c (git): .travis.yml: run the slowest jobs first
to shorten time taken for finishing overall builds.
appveyor.yml: comment the same intention in AppVeyor as well
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:06 PM Revision f2dfe96d (git): wercker.yml: profile slow tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:58 PM Revision c258b5cf (git): .travis.yml: let osx build print verbose output
because it may hang with no output like this:
https://travis-ci.org/ruby/ruby/jobs/445101860
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:34 PM Revision bc8c89de (git): wercker.yml: explain the usage of Wercker
at ruby repository. I also added a woraround to loosen timeout for
test-all. I resolved the issue that lets --jit-wait CI timeout, so this
workaround is not strictly needed, but this might make it easier to
debug when things go wrong.
g...
k0kubun (Takashi Kokubun)
01:22 PM Revision 3b196eee (git): wercker.yml: setup MJIT wait CI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:05 PM Revision 456a54de (git): mjit_worker.c: don't ask MJIT copy job to main thread
when main thread is waiting for MJIT worker forever without executing
RUBY_VM_CHECK_INTS due to --jit-wait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:48 PM Revision 353c86ee (git): appveyor.yml: separately execute problematic test case
that may crash worker like:
https://ci.appveyor.com/project/ruby/ruby/builds/19706703/job/5dmi22mgua9r2qfu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:43 PM Revision fc3b500f (git): Let Time::TM share the implementation with Time
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:42 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
ahorek (Pavel Rosický) wrote:
> IMO
> ...
Yes, sure. I'm sorry, I oversleep correct cases.
Updated.
TiSer (Sergey Ti)
12:31 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
IMO
```
File.extname('..jpg')
```
should be
```
=> ".jpg"
```
proposed
```
=> "."
```
or the current behaviour
```
=> ""
```
makes no sense
ahorek (Pavel Rosický)
12:19 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
Is this a real problem?
How many people have had entries with more leading '.'?
File.extname('foobar......jpg') # => ".jpg"
File.extname('......jpg') # => ""
It's not that I am not inclined to agree about it; I just thi...
shevegen (Robert A. Heiler)
11:56 AM Bug #15244: Method #extname return empty string if filename is dot ('.')
add one more example TiSer (Sergey Ti)
11:17 AM Bug #15244 (Closed): Method #extname return empty string if filename is dot ('.')
### Example 1:
Current behaviour:
```
File.extname('..jpg')
=> ""
```
Expected behaviour:
```
File.extname('..jpg')
=> ".jpg"
```
### Example 2:
Current behaviour:
```
File.extname('....jpg')
=> ""
```
Expected ...
TiSer (Sergey Ti)
12:38 PM Revision ab20aee5 (git): addr2line.c: add explicit casts for clang on 32bit environment
Assigning uint64_t to size_t or uintptr_t caused a build error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:23 PM Revision dc2e3f1e (git): file.c: use correct integer-conversion function
The return value of major() and minor() is unsigned int, not dev_t.
So, UINT2NUM() is a better choice than DEVT2NUM().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:01 PM Revision fd35cb44 (git): _mjit_compile_send.erb: fix wrong cc usages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
11:47 AM Bug #15243: Please backport more OpenSSL 1.1.1 compatibility fixes.
This ticket is similar with below ticket.
Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
https://bugs.ruby-lang.org/issues/15219
jaruga (Jun Aruga)
10:21 AM Bug #15243 (Closed): Please backport more OpenSSL 1.1.1 compatibility fixes.
Some of the fixes are already in Ruby 2.5.2+, but there are others missing, which prevents Ruby from building (passing its test suite) on Fedora 29+ on RHEL:
https://github.com/ruby/ruby/commit/1dfc377ae3b174b043d3f0ed36de57b0296b34d0...
vo.x (Vit Ondruch)
04:54 AM Bug #14867: Process.wait can wait for MJIT compiler process
Thank you for your apply.
>Oops :x nobody told me about stackprof and SIGPROF usage :x
sorry I needed to write documents.
(I thought nobody touch there :p)
ko1 (Koichi Sasada)
03:52 AM Bug #14867: Process.wait can wait for MJIT compiler process
ko1@atdot.net wrote:
> Issue #14867 has been updated by ko1 (Koichi Sasada).
>
>
> "multi-thread-safe" is not correct. It was my mistake and it should be "signal handler safe" because this API is used by stackprof (used with SIGPR...
normalperson (Eric Wong)
02:59 AM Bug #14867: Process.wait can wait for MJIT compiler process
"multi-thread-safe" is not correct. It was my mistake and it should be "signal handler safe" because this API is used by stackprof (used with SIGPROF).
however, I recognize this assumption is broken with the following ticket.
```...
ko1 (Koichi Sasada)
02:28 AM Bug #14867: Process.wait can wait for MJIT compiler process
The original issue which I mentioned seems to have been fixed by r65312.
> I don't think rb_postponed_job_register is safe to call without GVL because vm->postponed_jobs needs protecting.
I thought the 100% same thing before implem...
k0kubun (Takashi Kokubun)
01:22 AM Bug #14867: Process.wait can wait for MJIT compiler process
takashikkbn@gmail.com wrote:
> Ah, one thing I forgot to note which was found on watching CI is that looping in `stop_worker()` (calling `rb_postponed_job_flush`) may not flush mjit_copy_job_handler when EC_EXEC_TAG() is not TAG_NONE. ...
normalperson (Eric Wong)
12:10 AM Bug #14867: Process.wait can wait for MJIT compiler process
Ah, one thing I forgot to note which was found on watching CI is that looping in `stop_worker()` (calling `rb_postponed_job_flush`) may not flush mjit_copy_job_handler when EC_EXEC_TAG() is not TAG_NONE. That's why I think `stop_worker_p... k0kubun (Takashi Kokubun)
03:47 AM Revision 57e906a7 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 AM Revision b67d76b3 (git): Revert "vm_trace: implement postponed_jobs as st_table"
This reverts commit 5a1dfb04bc2b09fcf8f3427cac72d0ce52a45eb2 (r63451)
And mark the functions as async-signal-safe while we're at it to
prevent future developers from making the same mistake as I did :x
git-svn-id: svn+ssh://ci.ruby-lan...
Eric Wong
01:22 AM Bug #15130: Nested Timeouts hang on cygwin
> Martin: ping on [ruby-core:89410]

Thanks for the private reply, just wanted to make sure you were
aware of it. I barely have time for Ruby in the past month
or so :x
normalperson (Eric Wong)
01:13 AM Revision 1d6c1e27 (git): test/lib/test/unit/assertions.rb: skip memory leak check
for all test cases on MJIT. In addition to those 2 tests,
TestAutoload#test_no_leak newly failed and most of assert_no_memory_leak
usages are likely to randomly fail.
Let me just skip all of them but let's revisit this to check it prope...
k0kubun (Takashi Kokubun)
12:27 AM Revision 58ec197e (git): wercker.yml: pending for now
As the Wercker integration is already enabled, I added wercker.yml but
it's not working due to migration to this repository and I don't have
enough time to fix it immediately. I'll make it work in this evening.
Let me show green status o...
k0kubun (Takashi Kokubun)
12:19 AM Revision 369f529a (git): wercker.yml: run --jit-wait test on Wercker
New. This was formerly https://github.com/k0kubun/mjit-test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:09 AM Revision 5984aa84 (git): mjit.c: prevent from accessing expired job
Given that `copy_cache_from_main_thread()` breaks the loop when `stop_worker_p`
is TRUE, memory of `job` allocated by `alloca` may be invalid if `stop_worker_p`
is already TRUE.
mjit_worker.c: explain why `copy_cache_from_main_thread()`...
k0kubun (Takashi Kokubun)

10/22/2018

11:44 PM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Thanks for your quick response.
> So rb_postponed_job_flush is calling mjit_copy_job_handler? I'm
> ...
Sometimes (1) mjit_copy_job_handler could be also called and it causes a problem. But in such a case, at lest memcpy appears on ...
k0kubun (Takashi Kokubun)
06:32 PM Bug #14867: Process.wait can wait for MJIT compiler process
```
takashikkbn@gmail.com wrote:
> @normalperson You added `RUBY_VM_CHECK_INTS(ec)` in mjit.c's `stop_worker()` on r63855, but that seems to randomly cause SEGV like this:

OK, investigating...

> /usr/home/hsbt/chkbuild/tmp/build...
normalperson (Eric Wong)
04:37 PM Bug #14867 (Assigned): Process.wait can wait for MJIT compiler process
@normalperson You added `RUBY_VM_CHECK_INTS(ec)` in mjit.c's `stop_worker()` on r63855, but that seems to randomly cause SEGV like this:
~~~
-- C level backtrace information -------------------------------------------
/usr/home/hsbt...
k0kubun (Takashi Kokubun)
09:53 PM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
Thanks everyone for the feedback! As suggested, I'll wait a few more days for more feedback, and then come up with an experimental patch that can serve as a basis for further suggestion (and for adding this to the next developer meeting)... ivoanjo (Ivo Anjo)
08:19 AM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
i didn't looked yet how Set is implemented, is it ruby code only or does it has some C coded parts too?
if it has C-Coded parts, i think the best way would be to:
* Check if object is real `Set`, if yes do real set stuff
* this mayb...
Hanmac (Hans Mackowiak)
04:23 AM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
Having a patch (using .respond_to?, I'd guess) would probably make acceptance much easier. duerst (Martin Dürst)
09:42 PM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
Just wanted to second this FR as something I'd find useful.
Also, it would be nice to have associated predicate methods (i.e. `Method#public?`, `Method#protected?` and `Method#private?`)
MikeVastola (Mike Vastola)
07:35 PM Bug #14322: Inconsitency in command line options between 2.4 and 2.5
Run this script with a shell to workaround the issue:
~~~ shell
#!/bin/sh
# Copyright:: 2018 Daniel Barrows
# License:: zlib/libpng
# https://gist.github.com/daniel-barrows/ca8359b76ad9bb84b37593a9f7b695fc
# Leave warn variable...
daniel-barrows (Daniel Barrows)
06:32 PM Bug #15241: net/pop fix to use mutable strings was too eager
```
me@brian-donovan.com wrote:
> https://bugs.ruby-lang.org/issues/15241
> See
> [[https://github.com/ruby/ruby/commit/3993fbb5f6bfdae0bce040988d7e2dd632247cdc#commitcomment-30987842|this
> thread on Github]]. I believe the change...
normalperson (Eric Wong)
12:40 PM Bug #15241 (Rejected): net/pop fix to use mutable strings was too eager
See [[https://github.com/ruby/ruby/commit/3993fbb5f6bfdae0bce040988d7e2dd632247cdc#commitcomment-30987842|this thread on Github]]. I believe the changes made in Backport #14416 for 2.5.2 (on both trunk and 2.5.x) over-eagerly applied mut... eventualbuddha (Brian Donovan)
03:49 PM Revision e38a0b46 (git): revisit more MJIT test skips
r65308 passed both trunk-mjit and trunk-mjit-wait CIs. MJIT copy job
looks working fine. Then this commit skips 5 more tests. Some of them
were skipped in a very early stage and may still need to be skipped, but
I want to confirm them si...
k0kubun (Takashi Kokubun)
03:19 PM Revision 7f5bb308 (git): * 2018-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 584638a5 (git): test/ruby/test_string.rb: skip test_crypt for MJIT again
Partially reverting r65285. Actually this one is failing due to memory
consumption on MJIT, so this seems not catching the bug of MJIT.
test/ruby/test_io.rb: unify the skip message with it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
k0kubun (Takashi Kokubun)
02:26 PM Revision 9fc84833 (git): revert r65292 and r65297
now mjit CIs are stable. Let me try this to confirm if it's fixed or
not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:02 PM Revision 6fdbf5a8 (git): No longer subsec and isdst members
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:56 PM Revision 0bed6345 (git): Revert TM_IS_TIME to 1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:53 PM Revision 385b7721 (git): Return fixed values at subsec, utc_offset, and isdst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:21 PM Revision f289e399 (git): Add debug option to check ci failures on solaris
failed to start extserv?:
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20181020T132506Z.fail.html.gz
BUG in sysread of OpenSSL:
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-trunk/log...
znz (Kazuhiro NISHIYAMA)
11:23 AM Revision 483dcef8 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:23 AM Revision 8717f078 (git): Set the size of a new enumerator created by Enumerator#each with arguments to nil
When each() takes arguments, it is never safe to assume that the iteration
would repeat the same number of times as with each() without any
argument. Actually, there is no way to get the exact number, so the
size should be set to nil to...
Akinori MUSHA
09:53 AM Revision d96483de (git): mjit_worker.c: return more appropriate result
of copy job. When job is being stopped but job is actually finished,
returning FALSE could be a little confusing from the function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:48 AM Revision 89293c4b (git): mjit_worker.c: check appropriate flag to stop
This was not intentional in r65299.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:40 AM Revision 821ff80c (git): mjit_worker.c: make sure copy job wait is unblocked
by stop_worker(). Previously copy_cache_from_main_thread() might loop forever
even with stop_worker() is being called from ruby_cleanup().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:03 AM Bug #15130: Nested Timeouts hang on cygwin
Martin: ping on [ruby-core:89410]

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/89410
normalperson (Eric Wong)
08:54 AM Feature #15236: add support for hash shorthand
matz (Yukihiro Matsumoto) wrote:
> As a conservative old timer who does not use JavaScript at all, I still feel negative. It seems to work best with destructuring (left-hand side of assignments) which is nearly impossible in current Rub...
janfri (Jan Friedrich)
02:07 AM Feature #15236: add support for hash shorthand
Hi guys,
Thanks for the discussions! Sorry I didn't noticed that it was proposed (multiple times) before.. I tried to search, but couldn't find a hit..
The ES6 syntax that this gets inspired from is strongly becoming the standard n...
ignatiusreza (Ignatius Reza Lesmana)
07:19 AM Bug #14714: Ruby 2.5.1 Segmentation Fault in GC
I tried to run my test suite (the only thing that I found triggering the crash) with `FIBER_USE_NATIVE=1` and it worked on the first try, the crashed on the next one. Not sure they are the same bug, but probably related.
renchap (Renaud Chaput)
03:59 AM Revision 7fbf0134 (git): .travis.yml: give up -O0
This configuration timed out.
https://travis-ci.org/ruby/ruby/jobs/444523912
Try speed things up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
03:31 AM Revision 93e780e0 (git): test_thread.rb: another temporary skip for MJIT
to make trunk-mjit-wait CI green for now. I'll take a look at this
later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:25 AM Revision 8747974d (git): time.c: optional arguments of Time::TM#initialize
* time.c (tm_initialize): arguments other than year are optional
now as Time.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:32 AM Revision 3dc960de (git): Merge stringio.gemspec from github repository.
It fixed the wrong paths of libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:27 AM Revision 615ac359 (git): Merge rubygems master branch from github.com/rubygems/rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

10/21/2018

11:53 PM Revision ff31b35f (git): test_time_tz.rb: refactor dummy TZ tests and add another timezone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:53 PM Revision c657e573 (git): skip 2 tests for MJIT for now
These tests seem to be broken by r65275.
Let me skip this to confirm if other things are fine or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:27 PM Bug #14714: Ruby 2.5.1 Segmentation Fault in GC
I think it is related to (or same as) https://bugs.ruby-lang.org/issues/14561.
Because (1) all SEGV is on macOS and (2) all crash points are in `rb_execution_context_mark()`.
But this is merely speculation and weak conclusion.
wanabe (_ wanabe)
11:20 PM Revision e91be256 (git): revert revert of r65285
because CI was actually hitting another one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:07 PM Revision cfa7e270 (git): revert r65285
because it didn't work. Partially leaving "sometimes fail" tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:51 PM Feature #15240: Set operations check for is_a?(Set), rather than allowing duck typing
From my own experience there is often a very good chance for extending duck typing
possibilities in ruby if there is a specific (or at the least potential rather
than abstract) use case.
You suggested the replacement (e. g. from goi...
shevegen (Robert A. Heiler)
07:45 PM Feature #15240 (Assigned): Set operations check for is_a?(Set), rather than allowing duck typing
Hello there 👋
Ruby's `Set`, unlike `Array` or `Hash`, cannot easily interoperate with user-created classes as several operations (`#==`, `#flatten`, `#flatten!`, `#intersect?`, `#disjoint?`, `#subset?`, `#proper_subset?`, `#superset?`...
ivoanjo (Ivo Anjo)
08:01 PM Revision 879b42b0 (git): check VLIW case
If maximum_operations_per_instruction != 1, it is VLIW.
But there seems no need to support such architecture now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:00 PM Revision 281d45ab (git): lib/net/http.rb: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
05:26 PM Feature #15239: [patch] test-spec win32ole
Looking over test logs from today, I noticed `TestWIN32OLE_EVENT_ADO` in `test/win32ole/test_win32ole_event.rb`, which is skipped on Appveyor.
If above patch is okay, I could create another class `TestWIN32OLE_EVENT_MSXML`?
MSP-Greg (Greg L)
04:42 PM Revision 448a014d (git): initialize is_stmt with default_is_stmt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:37 PM Revision 6018bc5e (git): Use inline function with stable code instead of macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 PM Revision e6202c41 (git): try to remove some test skips for MJIT
Eric Wong made some effort to keep compatibility around fd with MJIT.
Also I'm hoping r65279 (and r65280) eliminates major MJIT bugs, so I
want to start solely testing MJIT. Other test skips branched by MJIT
enablement seemed reasonable ...
k0kubun (Takashi Kokubun)
03:41 PM Revision 84d747c6 (git): NEWS: note about --disable-mjit-support [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:33 PM Bug #14483 (Closed): Enchance Method docs
Applied in changeset trunk|r65283.
----------
Improve docs of Proc / Method
* proc.c: Add descriptions and code examples.
[ruby-core:85600] [Bug #14483]
aycabta (aycabta .)
03:33 PM Revision 2f7880e1 (git): Improve docs of Proc / Method
* proc.c: Add descriptions and code examples.
[ruby-core:85600] [Bug #14483]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
03:29 PM Revision 9c729c1e (git): * 2018-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 2c8b8b3f (git): NEWS: prefer advertising --jit option [ci skip]
In addition to `--enable=jit` and `--enable-jit`, we're going to ship
`--jit` as a short hand of it in Ruby 2.6.0.
That's because both --enable=jit and --enable-jit are super hard to
type everytime on command line, and I want make it ea...
k0kubun (Takashi Kokubun)
03:24 PM Bug #14436 (Closed): Enchance yield_self docs
Closed by [@65271](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/65271). aycabta (aycabta .)
02:30 PM Revision a35eb0cc (git): mjit.c: remove wrongly-committed debug code
mistake in r65279.
=== Optcarrot Benchmark ===
$ benchmark-driver benchmark.yml --rbenv 'before::before --disable-gems --jit;after::after --disable-gems --jit' -v --repeat-count 24
before: ruby 2.6.0dev (2018-10-21 trunk 65277) +JIT [x8...
k0kubun (Takashi Kokubun)
02:23 PM Revision 13df05ac (git): mjit.c: copy call cache values to MJIT worker
same as r65275 but for call cache.
=== Optcarrot Benchmark ===
$ benchmark-driver benchmark.yml --rbenv 'before::before --disable-gems --jit;after::after --disable-gems --jit' -v --repeat-count 24
before: ruby 2.6.0dev (2018-10-21 trunk...
k0kubun (Takashi Kokubun)
02:02 PM Revision bca2cdcc (git): lib/mutex_m.rb: fix example code in documentation
* lib/mutex_m.rb: [DOC] fix invalid example code to make it
syntax highlighted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
01:45 PM Revision 27295e94 (git): vm_core.h: fix typo [ci skip]
The comment didn't make sense. As it's allocated with
`ZALLOC_N(struct rb_call_cache, body->ci_size + body->ci_kw_size)`,
it's very likely to be forgotten to press shift key on US keyboard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
k0kubun (Takashi Kokubun)
01:37 PM Revision 480eccbb (git): _mjit_compile_send.erb: don't split send_guard
to another file, because it's no longer shared. It was created when
attr_reader was inlined but it's no longer included.
common.mk: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:21 PM Revision 1b5aa4f5 (git): mjit.c: copy inline cache values to MJIT worker
on VM_CHECK_INTS. Letting MJIT worker directly see inline cache which
may be being updated could result in inconsistent IC index and serial.
mjit_worker.c: request the copy job after dequeue, and receive the
result synchronously.
tool/...
k0kubun (Takashi Kokubun)
11:19 AM Revision cd8b9033 (git): merge revision(s) 64515:
remove `const` warning.
* compile.c (iseq_ibf_load): remove `const` to pass iseq as no `const`
parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@65274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:16 AM Revision e2acebe3 (git): bump up teeny version to 2.5.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@65273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:46 AM Revision e01c9c74 (git): fix sign of integer variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:15 AM Revision d67b9035 (git): Improve doc of yield_self
* object.c: Add code samples for yield_self.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
07:04 AM Bug #13598 (Closed): mutex_m: Missing info in the doc
Applied in changeset trunk|r65270.
----------
Add missing info for Mutex_m to the doc [Bug #13598]
* lib/mutex_m.rb: The #initialize method in a class that includes
Mutex_m needs calling #super.
aycabta (aycabta .)
07:04 AM Revision bb6b273f (git): Add missing info for Mutex_m to the doc [Bug #13598]
* lib/mutex_m.rb: The #initialize method in a class that includes
Mutex_m needs calling #super.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
06:42 AM Misc #10836 (Closed): Add Documentation to Regexp
Applied in changeset trunk|r65269.
----------
Improve doc of Regexp about "ignore case" behavior [Misc #10836]
* doc/regexp.rdoc: RDoc for "ignore case" behavior
aycabta (aycabta .)
06:42 AM Revision fdbc8eed (git): Improve doc of Regexp about "ignore case" behavior [Misc #10836]
* doc/regexp.rdoc: RDoc for "ignore case" behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
03:52 AM Revision a87e4d92 (git): `--excludes` option must be in TEST_ALL_TESTOPTS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:42 AM Revision 741066fc (git): Quote `$(TESTSDIR)`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:38 AM Revision 1c8ddda9 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 AM Revision bf26f847 (git): Exclude CI platform specific failures by --excludes option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:38 AM Revision 543acfab (git): fix a warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:28 AM Revision 40d07084 (git): skip tests broken with OpenSSL 1.1.1 on Travis osx
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
02:18 AM Revision 94792dbb (git): appveyor.yml: workaround wrong command line escape
backslash in %APPVEYOR_BUILD_FOLDER% is somehow dropped somewhere
when being passed to test runner via mingw32-make.
Anyway we know the relative path to the project directory, so we can
specify that with slash.
git-svn-id: svn+ssh://ci...
k0kubun (Takashi Kokubun)
01:27 AM Revision 7fe17044 (git): .travis.yml: mspec -j is unstable
https://travis-ci.org/ruby/ruby/jobs/444232677
Instead of that, add -fs to know problematic test case when failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:25 AM Revision fd8275d0 (git): .travis.yml: use --job-status=replace
-v is too long, and "--color=never --job-status=normal" is too verbose.
Trying --job-status=replace to make Travis log easier to read.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:31 AM Revision f5bf1a32 (git): appveyor.yml: fix wrong spec directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
12:18 AM Revision 90369a83 (git): .travis.yml: debug problematic test case on osx
osx build is stucking somewhere. We want to debug that.
https://travis-ci.org/ruby/ruby/jobs/444059226
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:08 AM Revision ec91ea5c (git): check version of .debug_info
and refactor related code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:07 AM Revision 69e328b5 (git): Skip dwarf if its version is not supported
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

10/20/2018

11:58 PM Revision e77fdcd8 (git): appveyor.yml: don't run win32ole with -j
since it lets worker crash
https://ci.appveyor.com/project/ruby/ruby/builds/19659321/job/swnu2b5yj960t9gr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:55 PM Bug #13986 (Closed): Integer#fdiv with Complex returns unexpected value
反応が遅くなってすみません。
現行の(修正後の)仕様について、そういうものなのだろう、と納得いたしました。
5.5 (5 5)
07:32 PM Feature #15239 (Assigned): [patch] test-spec win32ole
Some of the current Win32OLE spec tests use the InternetExplorer control. This control is not available on Azure pipelines. Attached patch changes to use the MSXML control, adds a guard for it, and also does some refactoring to lower re... MSP-Greg (Greg L)
05:19 PM Revision 3a9c4279 (git): lldb_cruby.py: T_COMPLEX support [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:00 PM Revision 80220db3 (git): NEWS: Fix keywords [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:00 PM Revision e7050748 (git): * 2018-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 45172a7b (git): NEWS: Fix `,`s [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:34 PM Revision 2afc2a05 (git): Merge branch 'modify_test_win32ole' into trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
02:07 PM Revision b4766a4d (git): support --disable-mjit-support on mswin32/64.
* win32/configure.bat: add --enable/disable-mjit-support
configure.bat options.
* win32/setup.mak: ditto.
* win32/Makefile.sub: ditto.
* win32/Makefile.sub: fix typo for congig.status file.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
ko1 (Koichi Sasada)
01:16 PM Revision 4e3e0ac4 (git): refactoring. suppress warning.
* test/win32ole/test_win32ole_record.rb: refactoring. suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
01:14 PM Revision 4757c7ee (git): Run background threads while testing drb
Do not start background thread on load test/drb/drbtest.rb,
and stop threads on each test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
01:14 PM Revision eab51f71 (git): Revert "Revert "Reset primary_server when remove_server"" [ci skip]
This reverts commit d2671c96f32e6fbbd39162a2c9042dcaf3bf2d68.
previous reverting is commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
01:02 PM Revision 19931ae1 (git): NEWS: fix language
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
12:48 PM Revision fa78eb2f (git): lldb_cruby.py: T_RATIONAL support [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:28 PM Revision 12b085a7 (git): Allow to stop by push(nil) for test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:28 PM Revision 129316dd (git): Revert "Reset primary_server when remove_server"
This reverts commit 2948d3bd2e78b5b9110454a7135a81c3fecb2575.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
12:21 PM Revision d02a7ac0 (git): use System Monitor Control to test win32ole
* test/win32ole/test_win32ole_method_event.rb: use System Monitor
Control to test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
12:17 PM Revision 2a75c70a (git): Added entry about new default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:08 PM Revision b4728ae8 (git): NEWS: update about MJIT [ci skip]
Rails performance is somewhat improved by compaction. Still not great
though.
MinGW support is much stable now, and mswin support is added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:08 PM Bug #14714: Ruby 2.5.1 Segmentation Fault in GC
I just tested with 2.5.2 and 2.6.0-preview2 and I can still reproduce this when running my tests.
This still happens in GC:
~~~
-- C level backtrace information -------------------------------------------
0 ruby ...
renchap (Renaud Chaput)
12:01 PM Revision 09e82053 (git): Add the oneshot coverage feature to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:54 AM Revision ae38485f (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:54 AM Revision 2fe69b22 (git): refactoring define AvailableOLE.sysmon_available?
* test/win32ole/test_win32ole_type_event.rb: refactoring. use
AvailableOLE.sysmon_available?
* test/win32ole/available_ole.rb: define AvailableOLE.sysmon_available?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65236 b2dd03c8-39d...
suke (Masaki Suketa)
11:47 AM Bug #13972 (Closed): [PATCH] document File.{setuid?,setgid?,sticky?} support for IO objects
Applied in changeset trunk|r65235.
----------
Document File.{setuid?,setgid?,sticky?} support for IO objects [Bug #13972]
* file.c (rb_file_setuid_p): rdoc for IO object support
(rb_file_sgid_p): ditto (rb_file_sticky_p): ditto
* NEW...
aycabta (aycabta .)
11:47 AM Revision 39a840d0 (git): Document File.{setuid?,setgid?,sticky?} support for IO objects [Bug #13972]
* file.c (rb_file_setuid_p): rdoc for IO object support
(rb_file_sgid_p): ditto (rb_file_sticky_p): ditto
* NEWS: inform users of new feature
* test/file/test_file_exhaustive.rb (io_open): wrapper for bare IO
object (test_suid): test...
aycabta (aycabta .)
11:35 AM Revision 9f5d9d31 (git): fix macro-name.
* win32/Makefile.sub: Not MJIT_SUPPORT, but USE_MJIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:29 AM Feature #15009 (Closed): Add negotiated SSL protocol and cipher to Net::HTTP debug output
Applied in changeset trunk|r65233.
----------
Add negotiated SSL protocol and cipher to Net::HTTP debug output
From: Bart de Water <bartdewater@gmail.com>
https://github.com/ruby/ruby/pull/1877 [Feature #15009]
naruse (Yui NARUSE)
11:29 AM Revision 57c033bc (git): Add negotiated SSL protocol and cipher to Net::HTTP debug output
From: Bart de Water <bartdewater@gmail.com>
https://github.com/ruby/ruby/pull/1877 [Feature #15009]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:27 AM Revision ecac8d0c (git): fix MJIT_SUPPORT on win32.
* win32/Makefile.sub: add MJIT_SUPPORT macro for C codes
and variable for Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:21 AM Revision 67e2373f (git): mjit_worker.c: don't refer to freed value
remove_from_list() frees node, but after that node->next could be used
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:09 AM Bug #15019 (Closed): Documentation for Net::HTTP claims that multipart/form-data is not supported
Applied in changeset trunk|r65230.
----------
Improve doc of multipart/form-data [Bug #15019]
* lib/net/http.rb: Documentation for Net::HTTP claims that
multipart/form-data is not supported, but Net::HTTPHeader#set_form
supports it...
aycabta (aycabta .)
11:09 AM Revision 4ae20f04 (git): Improve doc of multipart/form-data [Bug #15019]
* lib/net/http.rb: Documentation for Net::HTTP claims that
multipart/form-data is not supported, but Net::HTTPHeader#set_form
supports it since 1.9.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65230 b2dd03c8-39d4-4d8f-98ff-8...
aycabta (aycabta .)
11:06 AM Revision 2bfbec87 (git): parse.y: Fix the compile error
* parse.y: Fix "error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
10:57 AM Misc #15109 (Closed): Improve safe navigation operator's docs
Applied in changeset trunk|r65228.
----------
Improve safe navigation operator's docs [Misc #15109]
* doc/syntax/calling_methods.rdoc: Add Safe navigation operator section.
aycabta (aycabta .)
10:57 AM Revision ecc627b2 (git): Improve safe navigation operator's docs [Misc #15109]
* doc/syntax/calling_methods.rdoc: Add Safe navigation operator section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
10:53 AM Revision 4d4b60ac (git): Fix locations of NODE_SCOPE in lambda.
* parse.y: Fix to start with the argument.
e.g. The locations of the NODE_SCOPE is fixed:
```
-> x { 1 + 2 }
```
* Before
```
NODE_SCOPE (line: 1, location: (1,2)-(1,14))
```
* After
```
NODE_SCOPE (line: 1, l...
yui-knk (Kaneko Yuichiro)
10:45 AM Revision b5425ad7 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:45 AM Revision 6c9a7050 (git): Remove tracecoverage instructions
The instructions were used only for branch coverage.
Instead, it now uses a trace framework [Feature #14104].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
10:40 AM Bug #7787 (Rejected): ruby 1.9 regexp quantifiers behave unpredictably when stacked
This should be handled on upstream. naruse (Yui NARUSE)
10:38 AM Bug #7156 (Rejected): Invalid byte sequence in US-ASCII when using URI from std lib
The argument of URI need to be escaped.
Maybe Ruby support non escaped URI when browser's URL handling becomes concrete.
naruse (Yui NARUSE)
10:30 AM Revision e05e77fd (git): Retry r65211.
* Maybe, RbConfig.ruby only provides after Ruby installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:20 AM Revision 26f53214 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:20 AM Revision 00ecff9f (git): revert r65213 and r65215
as we didn't agree on the actual implementation yet
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
10:10 AM Revision 46447667 (git): Fix locations of NODE_LAMBDA.
* node.h: Add `nd_first_loc` and `nd_set_first_loc`
* parse.y: Fix to start with the beginning of `->` .
e.g. The locations of the NODE_LAMBDA is fixed:
```
-> x { 1 + 2 }
```
* Before
```
NODE_LAMBDA (line: 1, locatio...
yui-knk (Kaneko Yuichiro)
10:05 AM Revision f16326fd (git): Revert "Mergr etc from github repository."
This reverts commit a85200277921dbefc1dfc9edd9ed26e9cea009f8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:47 AM Revision 7eecc7b8 (git): require 'rbconifg' earlier.
* test/lib/jit_support.rb: require rbconfig here.
* test/ruby/test_jit.rb: rbconfig should be required before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:06 AM Revision 3845a506 (git): skip tests if --disable-mjit-support.
* test/ruby/test_rubyoptions.rb: skip MJIT related test
if an interpreter is built with --disable-mjit-support.
* test/ruby/test_rubyvm_mjit.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65218 b2dd03c8-39d4-4d8f-98ff-...
ko1 (Koichi Sasada)
08:00 AM Revision 0b19e15a (git): rename configure option `--disable-mjit` to `--disable-mjit-support`
* configure.ac: rename configure option `--disable-mjit` to
`--disable-mjit-support` because `--disable-mjit` is ambiguous that
runtime MJIT default enable option or supporting MJIT features.
`ENABLE_MJIT` is also renamed to `MJIT_...
ko1 (Koichi Sasada)
07:57 AM Feature #15233 (Assigned): Speeding Up Matrix Powers
Interesting. The current implementation accumulates the value in LSB-to-MSB order, and SymPy's implementation does in MSB-to-LSB because. The former is slower than the latter because the latter multiplies the original matrix (which is ... mame (Yusuke Endoh)
07:54 AM Revision 93c4f8b3 (git): Merge irb from github repository.
* IRB::VERSION is available on irb session.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:54 AM Revision 9f43a64c (git): vm_insnhelper.c: never cache setinstancevariable twice
same as r65213
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:49 AM Revision a4c4560f (git): Reset primary_server when remove_server
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:43 AM Revision 8449f499 (git): vm_insnhelper.c: never cache getinstancevariable twice
We have several options to ensure there's no race condition between main
thread and MJIT thead about IC reference:
1) Give up caching ivar for multiple classes (or multiple versions of the
same class) in the same getinstancevariable ...
k0kubun (Takashi Kokubun)
07:40 AM Revision b640b21d (git): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tad (Tadashi Saito)
07:38 AM Revision a8520027 (git): Mergr etc from github repository.
* ext/etc/extconf.rb: It supports to generate dependency header
on standalone gem with github repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:27 AM Revision d303a2c4 (git): Merge fiddle from github repository.
* ext/fiddle/extconf.rb: It supports to build libffi with standalone gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:21 AM Revision 8d3b2631 (git): Cleanup fiddle extenstion when sync them from github repo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:03 AM Revision c3369020 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 AM Revision 818648ac (git): Merge fileutils from ruby/fileutils on GitHub.
* It was separated version file for gemspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:58 AM Bug #15234: Running redis on the #all? block returns nil
ありがとうございます!
すでに修正されていたんですね。よかったです。
hazi (yuhei mukoyama)
06:53 AM Bug #15234 (Closed): Running redis on the #all? block returns nil
2.5.3 で再現し、trunk では動きました。#15105 と同じ問題のようで、r64800 で直ったと思われます。バックポートをお待ちください。
(bindex という gem が tracepoint のフックの中で rb_debug_inspector_open を呼んでました。恐ろしい)
mame (Yusuke Endoh)
06:56 AM Revision 5b1bbc9a (git): fix header_length's type to unsigned long
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:53 AM Revision a89f229d (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:53 AM Revision b710785f (git): add disabling MJIT features option.
* configure.ac: introduce new configure option `--enable-mjit` and
`--disable-mjit`. Default is "enable".
`--disable-mjit` disables all of MJIT features so that `ruby --jit`
can't enable MJIT.
This option affect a macro `USE_MJIT...
ko1 (Koichi Sasada)
06:45 AM Revision d79f7252 (git): fix r65202 on ELF environment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:35 AM Revision 59505613 (git): Support Mach-O on backtrace with DWARF
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:18 AM Revision fe735bd3 (git): Support DWARF4's .debug_line
ICC uses DWARF4 for .debug_line which adds
maximum_operations_per_instruction in its header.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:07 AM Feature #15022: Oneshot coverage
ioquatix (Samuel Williams) wrote:
> Did you take a look at https://github.com/ioquatix/covered - I'd be interested in your feedback. Can we discuss further, and also how to improve performance? There is some more discussion here: https:...
mame (Yusuke Endoh)
05:59 AM Feature #15022: Oneshot coverage
I've committed with modification of API.
At the developers' meeting, some attendees pointed out that `Coverage.clear` had a design flaw; `Coverage.peek_result` and `Coverage.result` causes race condition when the program runs in multi...
mame (Yusuke Endoh)
05:33 AM Feature #15022 (Closed): Oneshot coverage
Applied in changeset trunk|r65195.
----------
ext/coverage/: add the oneshot mode
This patch introduces "oneshot_lines" mode for `Coverage.start`, which
checks "whether each line was executed at least once or not", instead of
"how many...
mame (Yusuke Endoh)
05:44 AM Revision 567ec93e (git): thread.c (rb_clear_coverages): defined out of #ifdef
It failed to build on windows.
https://ci.appveyor.com/project/ruby/ruby/builds/19655876
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:44 AM Revision bad9d224 (git): iseq.c (rb_iseq_trace_flag_cleared): Accept size_t for type consistency
It caused "implicit conversion loses integer precision" on clang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:33 AM Revision 39fd6342 (git): parse.y (struct ripper_args): Remove not used struct definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
05:33 AM Revision fba6d907 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:33 AM Revision 80766019 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:33 AM Revision 47ea999b (git): ext/coverage/: add the oneshot mode
This patch introduces "oneshot_lines" mode for `Coverage.start`, which
checks "whether each line was executed at least once or not", instead of
"how many times each line was executed". A hook for each line is fired
at most once, and aft...
mame (Yusuke Endoh)
04:41 AM Revision fadde099 (git): ast.c: Fix the documents of `RubyVM::AST.parse` and `RubyVM::AST.parse_file`
* ast.c: r63602 fixed to raise `SyntaxError` when `RubyVM::AST.parse`
or `RubyVM::AST.parse_file` fail to parse input.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
04:25 AM Revision 1c92766b (git): Merge Pysch-3.1.0.pre2 from ruby/psych.
* Added deprecated warnings for the new interface of keyword argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:51 AM Revision 8ea464a9 (git): Support keyword arguments with Pysch.safe_load provided by after Psych 3.1.0.pre1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:49 AM Revision e7fdfefd (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:49 AM Revision b4bbfe4b (git): complex.c: small optimization of Complex#**
* complex.c (rb_complex_pow): calculate power of a Fixnum without
allocating intermediate Complex objects, and avoid unexpected
NaNs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 AM Revision c561284b (git): try to use System Monitor Control
* test/win32ole/test_win32ole_type_event.rb: try to use System Monitor
Control to test. ADO is not available in AppVeyor(Mingw only?)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
02:23 AM Feature #15236: add support for hash shorthand
As a conservative old timer who does not use JavaScript at all, I still feel negative. It seems to work best with destructuring (left-hand side of assignments) which is nearly impossible in current Ruby syntax.
But at the same time, I...
matz (Yukihiro Matsumoto)
01:43 AM Bug #14964: [MJIT] missing builtin methods
Also, note that I added "--disable-install-mjit-header" on r65171, so you should be able to bypass the header build failure with your favorite options even on msys1. k0kubun (Takashi Kokubun)
01:41 AM Bug #14964 (Closed): [MJIT] missing builtin methods
On msys1 environment, I failed to build ruby with no configure options. I think msys1 support could be hard regardless of MJIT.
So, my general direction for this issue is:
* Upgrade your environment to msys2. It's continuously tested...
k0kubun (Takashi Kokubun)
01:21 AM Bug #14964 (Feedback): [MJIT] missing builtin methods
I succeeded to install msys1. I'm trying to reproduce your build error (and it's slowly proceeding), but your configure seems to have many options. Could you minimize the number of configure options that still reproduce your build failure? k0kubun (Takashi Kokubun)
12:33 AM Bug #14964 (Open): [MJIT] missing builtin methods
Thank you to confirm again. I'll prepare msys1 environment and try to reproduce that. k0kubun (Takashi Kokubun)
01:38 AM Bug #15237 (Rejected): Extreme memory/CPU utilization when calculating some exponents
Note that ruby provides bignum arithmetic.
```ruby
(Math.log(888888888888888, 2)*88888888888888/(8*1024**4)) => 501.8288237894379
```
That result will consume 500TiB finally, without working memory.
nobu (Nobuyoshi Nakada)
01:10 AM Revision 8f43080f (git): test_win32ole_event.rb: fire message_loop on retry
because it's failing even after sleeping 31s in total.
https://ci.appveyor.com/project/ruby/ruby/builds/19642619/job/pkaj5svr8glk8twt
https://ci.appveyor.com/project/ruby/ruby/builds/19641381/job/spdvrptpaq1d5778
git-svn-id: svn+ssh://c...
k0kubun (Takashi Kokubun)
01:00 AM Revision 0c1684eb (git): appveyor.yml: increase timeout for mswin
because
https://ci.appveyor.com/project/ruby/ruby/builds/19643041/job/jlqs65wsvoqdguj0
failed with timeout on vs140
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:50 AM Feature #15231: Remove `Object#=~`
```ruby
"" =~ "" #=> TypeError (type mismatch: String given)
```
znz (Kazuhiro NISHIYAMA)

10/19/2018

09:37 PM Revision 22d8ff8c (git): NEWS: small fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
09:35 PM Revision af7f9de4 (git): array.c, file.c, string.c: [DOC] fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
09:26 PM Revision 1411b7f9 (git): array.c: improve docs for Array#difference
* array.c: [DOC] small doc fixes for Array#difference and Array#-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
08:56 PM Revision 62c36105 (git): rb_execution_context_t: pack bits, 256 -> 252 bytes (on 32-bit)
Maybe execution contexts will become more common.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:14 PM Revision 98d0ccc8 (git): rb_sigwait_sleep: change internal API to use rb_hrtime_t
rb_hrtime_t is a more pleasant type to use and this can make
future changes around sleeping/scheduling easier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
05:34 PM Bug #14964: [MJIT] missing builtin methods
unfortunatelly it didn't help (same error). It isn't a priority for me, so you can keep it closed. Anyway thanks for your effort ahorek (Pavel Rosický)
02:02 PM Bug #14964: [MJIT] missing builtin methods
jaruga (Jun Aruga) wrote:
> > My only concern is, if mjit requires sse4 specific instructions, it could be a problem on platforms that do not support them? What about ARM?
> ...
sorry for the confusion, other platforms will be ok. The ...
ahorek (Pavel Rosický)
01:52 PM Bug #14964: [MJIT] missing builtin methods
Yeah, at least rubyci's Arm builds look fine. k0kubun (Takashi Kokubun)
01:31 PM Bug #14964: [MJIT] missing builtin methods
Ah sorry. rubyci.org has already had ARM test cases.
jaruga (Jun Aruga)
01:28 PM Bug #14964: [MJIT] missing builtin methods
> My only concern is, if mjit requires sse4 specific instructions, it could be a problem on platforms that do not support them? What about ARM?
For ARM, I think that the possible solutions to support ARM are
* to add ARM docker con...
jaruga (Jun Aruga)
12:55 PM Bug #14964 (Closed): [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 setting CFLAGS directly shouln't be a problem.
I guess this issue is fixed by r65081. Could you check if now ARCH_...
k0kubun (Takashi Kokubun)
04:43 PM Bug #15237: Extreme memory/CPU utilization when calculating some exponents
Small correction: The comment about units is off a magnitude. It's 10 Gb rss and 15 Gb vss at 2m30s. bannable (Joe Truba)
04:32 PM Bug #15237 (Rejected): Extreme memory/CPU utilization when calculating some exponents
During a recent fuzzing session, AFL identified a simple input which causes extreme memory and CPU utilization when processing certain exponentiation operations.
When running ruby against the reproducer below, ruby will consume 100% o...
bannable (Joe Truba)
04:23 PM Feature #15236: add support for hash shorthand
shevegen (Robert A. Heiler) wrote:
> Matz wrote in the other thread the following:
> ...
But that comment was made three years ago. Time to do another review?
Ksec (E C)
02:16 PM Feature #15236: add support for hash shorthand
Matz wrote in the other thread the following:
"I am not positive about this syntax mostly because it appears to be set syntax, or old style hash in 1.8.
Once ES6 syntax become more popular, there will be chance for this change in the...
shevegen (Robert A. Heiler)
02:13 PM Feature #15236: add support for hash shorthand
Ah, Nobu found it and was faster. :)
So it was indeed a duplicate.
shevegen (Robert A. Heiler)
02:13 PM Feature #15236: add support for hash shorthand
Hmm. It's hard for me to say whether I am in favour of this suggestion or
whether I am not.
I think this link may help a bit in regards to JavaScript, even though
JavaScript is not Ruby; neither is the syntax:
https://developer.m...
shevegen (Robert A. Heiler)
10:33 AM Feature #15236 (Rejected): add support for hash shorthand
PR in github: https://github.com/ruby/ruby/pull/1990
inspired by javascript support for object literal shorthand notation `{ a }`, which will be expanded into `{ a: a }`..
to avoid ambiguity, this shorthand is only supported when h...
ignatiusreza (Ignatius Reza Lesmana)
03:24 PM Revision 07ae480d (git): .travis.yml: separate apt addons for i686-linux
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:08 PM Bug #15071 (Closed): RubyVM::MJIT.pause may cause deadlock after compaction
Applied in changeset trunk|r65179.
----------
mjit.c: don't let MJIT.pause hang on full active units
test/ruby/test_rubyvm_mjit.rb: add reproductive test
[Bug #15071]
k0kubun (Takashi Kokubun)
03:08 PM Revision 1aa8945d (git): * 2018-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 320d7c54 (git): mjit.c: don't let MJIT.pause hang on full active units
test/ruby/test_rubyvm_mjit.rb: add reproductive test
[Bug #15071]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:26 PM Revision 1a7249bc (git): test/lib/jit_support.rb: continue to skip test_jit
for icc since it's not supported yet but running on rubyci.
This reverts some part of r65175, r65176 and r65177.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:19 PM Revision 808d833d (git): test_rubyoptions.rb: don't use obsoleted method
It was removed on r65175.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:08 PM Revision 87b88ec8 (git): test_rubyvm_mjit.rb: don't use obsoleted method
It was removed on r65175.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:03 PM Revision 2baf760c (git): test/lib/jit_support.rb: fire test_jit everywhere
That was a workaround to make rubyci green for a short term after the
MJIT merge. As we've done many portability fixes for MJIT, let's try
running test_jit on all rubyci platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65175...
k0kubun (Takashi Kokubun)
01:47 PM Revision 4765da9c (git): mjit_worker.c: don't compile more than max_cache_size
Prior to this commit, max_cache_size + 1 methods could be active.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:11 PM Revision a9025c88 (git): transform_mjit_header.rb: fix up r65169
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:05 PM Revision 6458ae1b (git): appveyor.yml: use -fs for test-spec
to debug silent death on vs120 builds
https://ci.appveyor.com/project/ruby/ruby/builds/19630104/job/tm8at8kfnvwxwe58
https://ci.appveyor.com/project/ruby/ruby/builds/19631779/job/qpjanaho1lc1e5a0
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
k0kubun (Takashi Kokubun)
12:51 PM Bug #15219: Backport: Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
> To do that, it seems at least below patch has to be backported to Ruby 2.5.
> ...
Maybe this patch too.
config: support .include directive
https://github.com/ruby/openssl/pull/216
And optionally this patch.
test: use larger keys...
jaruga (Jun Aruga)
12:31 PM Revision 6e11415b (git): configure.ac: add --disable-install-mjit-header
and substitute INSTALL_MJIT_HEADER. This would be convenient as a workaround
for user if we found a platform that can't compile Ruby after Ruby 2.6.0 release.
common.mk: Install MJIT header only when INSTALL_MJIT_HEADER
Makefile.in: dit...
k0kubun (Takashi Kokubun)
12:29 PM Revision 5a8b81fd (git): transform_mjit_header.rb: `inline` may be a macro
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:29 PM Revision 15d0180b (git): transform_mjit_header.rb: add system_header pragma
* tool/transform_mjit_header.rb: insert GCC system_header pragma
to get rid of errors caused by the contents included from system
headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:30 AM Revision 5fa4df0e (git): .travis.yml: try promoting osx to non-allow_failures
somehow it gets stable there days...
Later, we may be able to add wrapper to apply timeout appropriately
and dump threads, in case that it stucks. It's not super easy to write
it, so this commit just tries to enable osx for now.
git-sv...
k0kubun (Takashi Kokubun)
08:46 AM Revision 5bb48dc6 (git): compile.c: default_len is positive
Recent GCC warns that default_len can be negative (thus can
overflow PTRDIFF_MAX), which is a false assert. Suppresses
warnings by adding __builtin_unreachable.
See also: https://travis-ci.org/ruby/ruby/jobs/443568193#L2227
git-svn-i...
shyouhei (Shyouhei Urabe)
07:48 AM Revision 1b30f57c (git): _mjit_compile_ivar.rb: use PRIuSIZE
`ic->ic_value.index` is size_t, not always unsigned long.
See also: https://travis-ci.org/ruby/ruby/jobs/443560810#L2263
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:36 AM Revision 0acb7ce1 (git): .travis.yml: delete duplicated --disable-install-doc [ci skip]
The flag was already specified inside of before_script
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:32 AM Revision f98d3ce0 (git): .travis.yml: name each builds [ci-skip]
Just cosmetic update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:26 AM Revision 03e0c10a (git): .travis.yml: add i686-linux tests
This is a better-than-nothing compilation check that compiles
32bit binary on a 64bit VM.
Commented out are universal.i386-darwin17 biulds, which I think
are in very low priority.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6516...
shyouhei (Shyouhei Urabe)
06:58 AM Bug #14127: (CSV) generating UTF-16LE encoded file without BOM
It has different behaviour. In my example file is empty if `csv.<<` is never called, in suggested example it contains BOM anyway. printercu (Max Melentiev)
01:22 AM Bug #14127: (CSV) generating UTF-16LE encoded file without BOM
Why do you need to use `bom_written`?
```ruby
CSV.open(file, 'wb', encoding: 'utf-16le', headers: headers_row, write_headers: true) do |csv|
csv.to_io.write(BOM)
for_each_row do |row|
csv << row
end
end
```
kou (Kouhei Sutou)
05:26 AM Revision 2d4a268c (git): check before access.
* vm_insnhelper.c (vm_push_frame): validate prev_frame because
prev_frame can be the end of frame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:33 AM Revision 00c9a618 (git): vm_core.h: NSIG is a BSDism.
Surprisingly, this constant (been there since around 1983) has
never been a part of any standards until now. We have to find
out the appropriate value.
NSIG_MAX is expected to become a part of forthcoming POSIX.
See: http://austingroup...
shyouhei (Shyouhei Urabe)
03:30 AM Feature #14781: Enumerator.generate
zverok (Victor Shepelev) wrote:
> @knu
> ...
Thanks for your quick feedback, and for bringing up this issue.
> **drop**
> ...
I presume `.take(6)` is inserted by mistake, but with it or not the following map and drop methods belon...
knu (Akinori MUSHA)
02:01 AM Revision ad564b87 (git): addr2line.c: minimal workaround to prevent parse error
"//*" is super dangerous for non-C++ compiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:00 AM Bug #15235 (Closed): [patch] appveyor.yml - remove MinGW dll's from mswin testing PATH
At present, the MinGW dll's are in the path for the mswin builds in Appveyor.
I doubt they're an issue for building, but they could result in conflicts during testing. Note that the MSYS2 dll's (in C:\msys64\usr\bin) are all prefixed...
MSP-Greg (Greg L)
12:35 AM Revision c102e5e0 (git): addr2line.c: this file has no portability
It seems nobody on earth is interested in such thing for it.
Ignore compiler warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:00 AM Misc #15229: DevelopersMeeting20181122Japan
* [Bug #14127] (CSV) generating UTF-16LE encoded file without BOM
Although this is not a bug of csv.rb, I'd suggest to enable "`bom|`" flag when writing instead.
https://github.com/nobu/ruby/tree/bug/14127-bom-header
nobu (Nobuyoshi Nakada)

10/18/2018

11:58 PM Revision 24ec7af1 (git): * 2018-10-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:58 PM Revision 3c83a94e (git): tool/insns2vm.rb: get rid of expanding paths
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:51 PM Bug #15232 (Closed): Is https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.bz2 corrupted?
I saw https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/ and https://github.com/rbenv/ruby-build/pull/1241 .
Thank you for your quick and accurate response.
I confirmed that ruby-2.5.3 doesn't have the issue.
```
[...
wanabe (_ wanabe)
02:52 AM Bug #15232 (Assigned): Is https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.bz2 corrupted?
Thank you for your report.
Sorry for bother you. It seems that I had made a mistake in packaging.
As you commented, ruby-2.5.2 packages requires BASERUBY to build. It's not intended.
I will take a look into tool/make-snapshot and re...
nagachika (Tomoyuki Chikanaga)
12:50 AM Bug #15232 (Closed): Is https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.2.tar.bz2 corrupted?
Hello,
I'm glad for new ruby release. Thank you so much.
I tried to build ruby-2.5.2 in docker environment, but I couldn't and got a such error.
```
[root@9838dd79fcdd tmp]# rbenv install 2.5.2
Downloading ruby-2.5.2.tar.bz2.....
wanabe (_ wanabe)
08:51 PM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
Attached is patch file that updates Appveyor.yml to:
1. Update to the current MSYS2/MinGW OpenSSL package for the mingw build (as of 2018-Oct, 1.1.1)
2. Outputs OpenSSL version info at end of each build
The patch passed on my fo...
MSP-Greg (Greg L)
06:30 PM Feature #14781: Enumerator.generate
@knu
The _ultimate_ goal for my proposal is, in fact, promoting Enumerator as a "Ruby way" for doing all-the-things with loops; not just "new useful feature".
That's why I feel really uneasy about your changes to the proposal.
*...
zverok (Victor Shepelev)
02:24 PM Feature #14781: Enumerator.generate
I've been thinking about this, and I have some ideas I want to share:
- To recursively traverse ancestors of a node is one of the most typical use cases, so that should be made easy to do.
- When and how to end a sequence may vary, s...
knu (Akinori MUSHA)
03:11 PM Bug #14127: (CSV) generating UTF-16LE encoded file without BOM
WDYT about adding `file_header` option or something like this?
It's quite tricky to add this in streaming mode:
```ruby
CSV.open(file, 'wb', encoding: 'utf-16le', headers: headers_row, write_headers: true) do |csv|
bom_written ...
printercu (Max Melentiev)
10:45 AM Revision c38a1830 (git): bump up teeny version to 2.5.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@65155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
09:45 AM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
shyouhei (Shyouhei Urabe) wrote:
...
> That pull request is OKish. I especially liked how cron-only build matrix is made possible.
> ...
I would admit the anchors are hard to maintain. Especially the `.definitions/if` part.
The inte...
jaruga (Jun Aruga)
01:25 AM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
jaruga (Jun Aruga) wrote:
> However I just want to ask you why you do not like my above 3rd solution.
> ...
That pull request is OKish. I especially liked how cron-only build matrix is made possible.
The reason why I didn't press the...
shyouhei (Shyouhei Urabe)
09:21 AM Revision 88a7271d (git): configure.ac: do not overwrite -std=
Set -std=gnu99 only when no such compiler flag(s) are set in any
compiler-related environment variables. This enables users to
specify something more modern, say, -std=c11.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65154 b2dd0...
shyouhei (Shyouhei Urabe)
08:58 AM Revision 8183cd2f (git): .travis.yml: add -pedantic build (2nd try)
Now that we have allow_failures, why not add configurations
that are prone to fail. The first thing I want to add is
$CC -ansi -pedantic, which spots lots of bugs on my local
machine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
shyouhei (Shyouhei Urabe)
08:39 AM Revision a3fd252e (git): revert r65151, because the other tests were broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:33 AM Revision 907ef239 (git): .travis.yml: add -pedantic build
Now that we have allow_failures, why not add configurations
that are prone to fail. The first thing I want to add is
$CC -ansi -pedantic, which spots lots of bugs on my local
machine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
shyouhei (Shyouhei Urabe)
06:50 AM Bug #15234 (Closed): Running redis on the #all? block returns nil
`all?` が `nil` を返すバグに遭遇しました。
~~~ ruby
redis = Redis.new(url: 'redis://localhost:6379/0')
(0..0).all? { |_| redis.get('A'); false }
~~~
この現象は Ruby 2.5.0 から確認されています。 Ruby 2.4.4 および、2.4.5、2.3.7 では確認できませんでした。
また、rails をロードしていない環境で...
hazi (yuhei mukoyama)
06:36 AM Revision f80c80f0 (git): make-snapshot: package with TarHeader
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:17 AM Feature #15233: Speeding Up Matrix Powers
The code doesn't look very Ruby-ish. What about rewriting it as follows:
~~~ ruby
def pow(a, num)
if num==1
a
elsif num.odd?
a*pow(a, num-1)
else
ret = pow(a, num/2)
ret*ret
end
end
~~~
duerst (Martin Dürst)
12:59 AM Feature #15233 (Closed): Speeding Up Matrix Powers
I've been looking at SymPy's slow matrix power speed, and noticed that replacing Ruby's matrix power code with the equivalent code from SymPy makes it significantly faster. As this is a recursively defined function, presumably it can be ... octonion (Christopher Long)
06:12 AM Feature #15231: Remove `Object#=~`
I agree. At the same time, the `String=~` behaviour:
>str =~ obj → integer or nil click to toggle source
Match—If obj is a Regexp, use it as a pattern to match against str,and returns the position the match starts, or nil if there is...
sawa (Tsuyoshi Sawada)
05:51 AM Revision 9fa69f7e (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:51 AM Revision d3d1a3a5 (git): fix SEGV in rb_raw_obj_info()
This funcion can be called from inside of rb_ast_new().
Should add appropriate case branches.
(lldb) run
Process 9135 launched: './miniruby' (x86_64)
Process 9135 stopped
* thread #1: tid = 0xdf36b, 0x00000001000ca4f9 miniruby`rb_raw_ob...
shyouhei (Shyouhei Urabe)
02:32 AM Revision 27fe4b6f (git): .travis.yml: no additional apt packages for spec/ruby [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:22 AM Revision b0dd7902 (git): .travis.yml: should escape spaces
workarounds for https://github.com/travis-ci/travis-ci/issues/1444
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:56 AM Revision 8b2f7b82 (git): .travis.yml: just use env
You don't have to use `before_install` to introduce
new environment variables; that is to be done using
`env` command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
01:52 AM Revision 9950fff2 (git): .travis.yml: no PR in spec/ruby [ci skip]
* .travis.yml (before_script): spec/ruby has been incorporated
already, no pull-requests to merge.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:34 AM Revision e5299989 (git): .travis.yml: fix typo in configure arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
01:10 AM Revision c3982a1a (git): .travis.yml: split before_install into the matrix
* .travis.yml (before_install): split shell commands into the
matrix per OSs, so that the commands will appear in the logs
separately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:55 AM Revision fd360dd9 (git): zlib: fix Zlib::VERSION
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:54 AM Revision 6db7b1c5 (git): remove message already unnecesary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:24 AM Revision 93bc1027 (git): openssl: sync with upstream repository
Import current master (01b23fa8eee2) of ruby/openssl.git.
----------------------------------------------------------------
Kazuki Yamaguchi (3):
x509name: fix OpenSSL::X509::Name#{cmp,<=>}
Ruby/OpenSSL 2.0.9
Ruby/OpenS...
rhenium (Kazuki Yamaguchi)
 

Also available in: Atom