Project

General

Profile

Activity

From 10/05/2018 to 10/11/2018

10/11/2018

11:59 PM Revision c0e5f06d (git): Specify vm image on appveyor.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:58 PM Revision eca36f9c (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:58 PM Revision 0b81f7bf (git): Revert wrongly commit debug_info feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision d3853d7c (git): Support FreeBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 628e85c7 (git): Support compressed debug_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 136d24ea (git): free line info leaves
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 336f86f2 (git): close dlopen-ed handle
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 69f06e9e (git): fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 692a5f21 (git): Support additional forms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 37ea0f19 (git): Show backtrace with .debug_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 139f0bb4 (git): Read .debug_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:23 PM Revision 0cb08355 (git): show envvars before use it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:21 PM Revision f873de6a (git): Show VS*COMNTOOLS environment variable on appveyor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:28 PM Revision 0fd5f063 (git): win32/Makefile.sub: generate MJIT header pdb
in the MJIT-header-specific path, not default path like vc140.pdb.
mjit_worker.c: specify the MJIT-header-specific pdb path.
tool/rbinstall.rb: install MJIT header pdb as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65003 ...
k0kubun (Takashi Kokubun)
03:12 PM Bug #15118: Method [] & []= does not respect frozen_string_literal: true comment
ruby_2_5 r65002 merged revision(s) 64745. nagachika (Tomoyuki Chikanaga)
03:12 PM Revision ff5475bf (git): merge revision(s) 64745: [Backport #15118]
Use opt_{aref,aset} over opt_{aref,aset}_with
* compile.c (iseq_compile_each0): Use `opt_aref`/`opt_aset` over
`opt_aref_with`/`opt_aset_with` when frozen_string_literal: true,
not to resurrect the index stri...
nagachika (Tomoyuki Chikanaga)
03:02 PM Revision 3dd48673 (git): * 2018-10-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 34ade9a4 (git): win32/Makefile.sub: install MJIT header and object
to prefix. This is a retry of r64947. So this doesn't still make mswin MJIT
on install directory succeed. One more step required.
tool/rbinstall.rb: This change is needed to install headers correctly since
the extensions are .obj and .p...
k0kubun (Takashi Kokubun)
02:58 PM Bug #14939: [PATCH] cont.c (ec_switch): prevent delayed/missed trap interrupt race
ruby_2_5 r64999 merged revision(s) 64062. nagachika (Tomoyuki Chikanaga)
02:58 PM Revision 9fc4c79f (git): merge revision(s) 64062: [Backport #14939]
cont.c (ec_switch): prevent delayed/missed trap interrupt race
timer-thread may set trap interrupt with rb_threadptr_check_signal
at any time independent of GVL. This means timer-thread may set
the trap interrup...
nagachika (Tomoyuki Chikanaga)
02:40 PM Bug #14841: Very rarely IO#readpartial does not raise EOFError
ruby_2_5 r64998 merged revision(s) 63711,64398. nagachika (Tomoyuki Chikanaga)
02:40 PM Revision c561f04b (git): merge revision(s) 63711,64398: [Backport #14841]
thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex_lock): fix deadlock
[ruby-core:87467] [Bug #14841]
thread_sync.c (rb_mutex_lock): acquire lock before being killed
We (the thread ...
nagachika (Tomoyuki Chikanaga)
02:20 PM Bug #14702: On Ruby 2.5.1, tracepoint isn't working on the file that is loaded by load_iseq
ruby_2_5 r64997 merged revision(s) 64514. nagachika (Tomoyuki Chikanaga)
02:20 PM Revision c1034574 (git): merge revision(s) 64514: [Backport #14702]
check trace flags at loading [Bug #14702]
* iseq.c (iseq_init_trace): at ISeq loading time, we need to check
`ruby_vm_event_enabled_flags` to turn on trace instructions.
Seprate this checking code from `finis...
nagachika (Tomoyuki Chikanaga)
01:51 PM Bug #14639: Array#map and lambda arity regression
ruby_2_5 r64996 merged revision(s) 63030. nagachika (Tomoyuki Chikanaga)
01:51 PM Revision ea15cedd (git): merge revision(s) 63030: [Backport #14639]
array.c: yield blockarg in collect
* array.c (rb_ary_collect): yield in block argument semantics
always to splat array elements to lambda, for the backward
compatibility. [ruby-core:86362] [Bug #14639]
git-...
nagachika (Tomoyuki Chikanaga)
01:16 PM Feature #15222: Add a way to distinguish between Struct classes with and without keyword initializer
This would be helpful for implementing custom deserializer of Struct.
Note: If you need to support Ruby 2.5, you would need to do `object.class.inspect.end_with?('(keyword_init: true)')`.
k0kubun (Takashi Kokubun)
01:01 PM Feature #15222 (Open): Add a way to distinguish between Struct classes with and without keyword initializer
With Ruby 2.5.0 Struct subclasses can have different `initialize` arguments list based on `keyword_init` option. However, there is no way in Ruby to distinguish Structs with keyword arguments syntax and without.
I propose a class meth...
pluff (Pavel Shutsin)
12:22 PM Bug #15221 (Closed): Segfault in Ruby VM
Ruby is segfaulting randomly for me on MacOS 10.14 (18A391).
I don't have a script to reproduce the error as it seems to pop up randomly. But I was able to grab the stack trace (attached). It appears to be related to GC.
jmreid (Justin Reid)
09:59 AM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
Hi rafaelfranca,
Thank you for your notification.
I overlooked your comment when I backported r63994.
r63857, r63858 (and r63864 for naming convention) could affect the performance of Time.now.
I reset Backport field to express yo...
nagachika (Tomoyuki Chikanaga)
02:42 AM Bug #14920: Backport r63857 to fix performance problem on Time class in MacOs systems
Hi, @nagachika and @usa
Can you take another look on this backport? The commit that you backported doesn't fix the issue. I tested both ruby_2_4 and ruby_2_5 branches and the issue is still there.
rafaelfranca (Rafael França)
05:30 AM Misc #15220: Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
First, I understand the motivation behind this request. We should enrich our build matrix.
That said, 2+ min overhead for each and every time we commit something is too much. I can hardly +1 this particular patch.
Maybe we can us...
shyouhei (Shyouhei Urabe)
01:03 AM Revision d5ecc9e5 (git): * 2018-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:03 AM Revision b27fa8ed (git): prelude.rb (Kernel#pp): make it private
It was a bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:26 AM Feature #14784: Comparable#clamp with a range
If Ruby support clamp(range), the behavior of clamp(b...e) should be considered.
What returns x.clamp(b...e) when e < x ?
10.clamp(0...20) would return 19.
But There is Rational.
How about 10r.clamp(0r...20r) ?
"Maximum Ration...
akr (Akira Tanaka)

10/10/2018

05:29 PM Feature #15113: Show warnings on unused blocks with Enumerable#all? any? one? none?
Thank you for letting me know robert-san
Yes, looks like this has been quickly merged by nobu-san. (thanksfully enough!)
To your point on human errors, yes, that's actually my intent, so your positive feedback is really encouraging.
...
fursich (Onishi Koji)
02:56 PM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Giia (George Pheikrishvili) wrote:
> webzorg (Lasha Abulashvili) wrote:
> ...
I was thinking, maybe because it is misleading, foreigners may think that those are real upcase versions of Georgian letters, but it is totally separate alph...
webzorg (Lasha Abulashvili)
10:20 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
webzorg (Lasha Abulashvili) wrote:
> Hey all, I'm from Georgia so I hope I can help. I'm also Ruby dev and I heard about this issue from Akira Matsuda's post on Georgian Ruby Community Facebook page. So as I understood you are trying to...
Giia (George Pheikrishvili)
10:13 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
duerst (Martin Dürst) wrote:
> This is a request for feedback. In particular if you are from Georgia (the country, not the US state), or if you know somebody (who knows somebody,...) from Georgia, feedback on this issue is very much app...
Giia (George Pheikrishvili)
10:10 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Hey all, I'm from Georgia so I hope I can help. I'm also Ruby dev and I heard about this issue from Akira Matsuda's post on Georgian Ruby Community Facebook page. So as I understood you are trying to handle situation when someone calls s... webzorg (Lasha Abulashvili)
11:58 AM Revision 1b8534e6 (git): spec/.../ole_method.rb: retry WIN32OLERuntimeError
This part sometimes causes random failure like:
https://ci.appveyor.com/project/ruby/ruby/builds/19382723/job/bedc33p4nolcqkp6
Let me retry this to make CI stable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64993 b2dd03c8-39d4-4...
k0kubun (Takashi Kokubun)
11:39 AM Revision 3f113219 (git): spec: add comments to re-enable specs for MinGW [ci skip]
r64918 and r64988 should not be kept forever.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
11:35 AM Revision c7220bd3 (git): terminate_spec.rb: exclude unstable spec for MinGW
This spec seems to randomly kill mspec worker.
https://ci.appveyor.com/project/ruby/ruby/builds/19390874/job/wv1bsm8skd4e1pxl
To make CI stable, let me exclude this for MinGW until we get some logs
that help debugging or resolve that.
...
k0kubun (Takashi Kokubun)
08:44 AM Feature #12490: Remove warning on shadowing block params
And we've got Matz's approval for this proposal! Congratulations! knu (Akinori MUSHA)
08:42 AM Feature #12490: Remove warning on shadowing block params
I definitely agree. Here's a typical example that makes me mad when I get the warning:
```
user = users.find { |user| user.parent == parent }
```
And I just don't want to change the inner variable name to something like `u` or `...
knu (Akinori MUSHA)
08:28 AM Feature #5866 (Rejected): ValidationError
The term `Validation` may have different meaning upon applications. There's no reason to treat them uniformly.
In addition, we already have many `ValidationError` in many gems. Adding canonical `ValidationError` can cause incompatibilit...
matz (Yukihiro Matsumoto)
06:44 AM Feature #14781: Enumerator.generate
How about "recurrence" as method name?
It is noun, though.
akr (Akira Tanaka)
06:44 AM Feature #14784: Comparable#clamp with a range
So, let's focus on making `Comparable#clamp` accept `Range`s. Subject updated. shyouhei (Shyouhei Urabe)
06:29 AM Feature #14784: Comparable#clamp with a range
Please don't put multiple proposals in one issue. It's hard for us to tell which is important `clamp` to accept ranges or having one-sided `clamp`. This kind of mixture leads to our confusion that hinders final decision.

Matz.
matz (Yukihiro Matsumoto)
06:18 AM Feature #15144: Enumerator#chain
In today's developer meeting, Matz said Enumerator#+ would be OK to add, so I'm going to work on it first and then we'll think about an alias, and a constructor that takes many enumerators later. knu (Akinori MUSHA)
06:12 AM Feature #709: Enumerator#+
I've become positive about this proposal after experiences with potential use cases.
In today's developer meeting, Matz approved this proposal, so I'm going to start working on this!
knu (Akinori MUSHA)
06:01 AM Feature #11505 (Rejected): Module#=== should call #kind_of? on the object rather than rb_obj_is_kind_of which only searches the ancestor heirarchy
I understand your needs but the receiver of `===` is a class/module, not the decorator. So if you want to override the behavior of the `case` statement, you need some complex mechanism like coercing. I am not positive about adding that k... matz (Yukihiro Matsumoto)
05:51 AM Feature #15112: Introducing the short form of `STDERR.puts expr.inspect`.
I propose more generalized method on `IO` instead of `STDERR.p`.
My proposal is `IO#putp`.
usa (Usaku NAKAMURA)
04:24 AM Revision 50281e8c (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 AM Revision 228fc417 (git): revisit `RARRAY_PTR()`.
* ext/fiddle/function.c (initialize): use RARRAY_AREF() instead of
using RARRAY_PTR().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:20 AM Revision 9d7a5a49 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:20 AM Revision eed1deec (git): revisit `RARRAY_PTR()`.
* process.c (check_exec_redirect): use RARRAY_AREF() instead of
using RARRAY_PTR().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:17 AM Revision 4ed087b0 (git): revisit `RARRAY_PTR()`.
* array.c (yield_indexed_values): use RARRAY_AREF/ASET instead of
using RARRAY_PTR().
* enum.c (nmin_filter): ditto.
* proc.c (rb_sym_to_proc): ditto.
* enum.c (rb_nmin_run): use RARRAY_PTR_USE() instead of RARRAY_PTR().
It is saf...
ko1 (Koichi Sasada)
03:52 AM Revision 165b4461 (git): revisit `RARRAY_PTR()`.
* array.c (ary_memcpy0): remove traditional `RARRAY_PTR()` code.
It's enough stable.
* array.c (rb_ary_splice): add comment about wb-unprotect.
* array.c (rotate_count): use `RARRAY_PTR_USE()` instead of
`RARRAY_PTR()` to avoid wb-...
ko1 (Koichi Sasada)

10/09/2018

08:06 PM Revision 6a6684cd (git): * 2018-10-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 67fcbf93 (git): * configure.ac: do not use __builtin_longjmp on ppc64* Linux
because it causes a segmentation fault with MJIT
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Rei Odaira
06:08 PM Bug #15219: Backport: Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
This would be nice indeed. I have a small gem that collects information about the
host-system (on the target computer platform; usually linux) available, and notifies
when there are more recent versions of a software available, e. g. a...
shevegen (Robert A. Heiler)
03:20 PM Bug #15219 (Closed): Backport: Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
I would be happy that the coming Ruby 2.5.2 would support OpenSSL 1.1.1 and TLS 1.3 [1].
To do that, it seems at least below patch has to be backported to Ruby 2.5.
net/http, net/ftp: fix session resumption with TLS 1.3
https://gi...
jaruga (Jun Aruga)
05:36 PM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
> I'm not sure what you mean. Whenever I refer to a package, I'm referring to a pre-compiled package. MSYS2/MinGW has added CI on Azure pipelines, so I'm not sure if they build there or on Appveyor.
I mean that I wanted to know if the...
jaruga (Jun Aruga)
03:35 PM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
@jaruga
I'm not sure what you mean. Whenever I refer to a package, I'm referring to a pre-compiled package. MSYS2/MinGW has added CI on Azure pipelines, so I'm not sure if they build there or on Appveyor.
Appveyor's packages ar...
MSP-Greg (Greg L)
03:00 PM Feature #15171: [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
> The package release 1.1.1-4 should build fine on Appveyor MinGW.
Thank you for the working.
The OpenSSL 1.1.1 on Appveyor is a binary package built in advance right?
Not building from source code on Appveyor?
jaruga (Jun Aruga)
05:30 PM Misc #15220 (Closed): Adding OpenSSL 1.1.1 on Travis CI gcc-8 case
Currently Travis CI test cases are running on OpenSSL 1.0.1f as the default setting.
I want to add the latest version OpenSSL 1.1.1 to the gcc-8 test case on Travis CI.
I sent pull-request for that.
https://github.com/ruby/ruby/pu...
jaruga (Jun Aruga)
02:43 PM Bug #15164: mkmf doesn't work with miniruby on Windows
ruby_2_5 r64982 merged revision(s) 64860,64861. nagachika (Tomoyuki Chikanaga)
02:43 PM Revision 49d542f6 (git): merge revision(s) 64860,64861: [Backport #15164]
fallback env encoding to ASCII-8BIT
* hash.c (env_enc_str_new): as no locale/filesystem encoding is
available in miniruby on Windows, fallback the encoding to
ASCII-8BIT so it is valid encoding when the conve...
nagachika (Tomoyuki Chikanaga)
02:39 PM Bug #14658: Kernel#singleton_method is incompatible with Module#prepend.
ruby_2_5 r64981 merged revision(s) 63067,63068. nagachika (Tomoyuki Chikanaga)
02:39 PM Revision e2283c62 (git): merge revision(s) 63067,63068: [Backport #14658]
Fix Kernel#singleton_method with Module#Prepend
* proc.c (rb_obj_singleton_method): search the method entry from
the origin class, for fix prepended modules. [Bug #14658]
From: Vasiliy Ermolovich <younash@gma...
nagachika (Tomoyuki Chikanaga)
02:25 PM Bug #15190: Null pointer dereference in process_options -- OOB read (size of 8 bytes)
ruby_2_5 r64980 merged revision(s) 64900. nagachika (Tomoyuki Chikanaga)
02:25 PM Revision 98eb63a8 (git): merge revision(s) 64900: [Backport #15190]
Just a shebang is valid code
[ruby-core:89240] [Bug #15190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:09 PM Bug #13069: mkmf: ignore linker warnings on OpenBSD
ruby_2_5 r64979 merged revision(s) 62007,62024. nagachika (Tomoyuki Chikanaga)
02:09 PM Revision b014387f (git): merge revision(s) 62007,62024: [Backport #13069]
mkmf.rb: ignore linker warnings
* lib/mkmf.rb (try_ldflags): ignore linker warnings. they cause
unexpected failures on OpenBSD. [ruby-core:78827] [Bug #13069]
mkmf.rb: werror on mswin
* lib/mkmf.rb ...
nagachika (Tomoyuki Chikanaga)
01:59 PM Bug #15205: backport r64915 (check argument type.)
ruby_2_5 r64978 merged revision(s) 64915. nagachika (Tomoyuki Chikanaga)
01:59 PM Revision c14ab348 (git): merge revision(s) 64915: [Backport #15205]
check argument type.
* iseq.c (iseqw_s_compile): check argument type (T_STRING) to
avoid SEGV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@64978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:56 PM Bug #15200: RubyVM::InstructionSequence can not compile to binary from method call with hash in 'if false' expression
I don't think all of the changesets could be backported cleanly...
Anyway I set the Backport field for remembrance.
nagachika (Tomoyuki Chikanaga)
01:04 PM Bug #15177: 起動した後にTZを変更するとTime#utcがずれることがある
なぜかminirubyだと一致するようです。
```
$ TZ=Asia/Tokyo ./bin/ruby -ve "ENV['TZ']='right/Asia/Tokyo';t=Time.at(2<<30);p t;p t.utc"
ruby 2.5.2p91 (2018-10-01 revision 64893) [x86_64-linux]
2038-01-19 12:13:41 +0900
2038-01-19 03:14:08 UTC
```
...
nobu (Nobuyoshi Nakada)
09:45 AM Bug #15177: 起動した後にTZを変更するとTime#utcがずれることがある
あれ、あぁ、そうか、r63848でいじったときにはまぁいいかと思ったんでした……。
期待は分かりますがright/*と非right/*を混ぜて使うのが実用的な用途とは思えないのであんまり…って感じですね…
naruse (Yui NARUSE)
09:14 AM Bug #15177: 起動した後にTZを変更するとTime#utcがずれることがある
trunk でも同じでした。
期待している値としては t と t.utc で同じ分秒になることですが、13:41と14:08のどちらが良いかは特に意見がありません。
```
% TZ=Asia/Tokyo ruby -ve "ENV['TZ']='right/Asia/Tokyo';t=Time.at(2<<30);p t;p t.utc"
ruby 2.6.0dev (2018-10-09 trunk 64976) [x86_64-linux]
2038...
znz (Kazuhiro NISHIYAMA)
02:10 AM Bug #15177: 起動した後にTZを変更するとTime#utcがずれることがある
その辺最近いじったのでtrunkの動作が期待通りか試して頂けますか naruse (Yui NARUSE)
08:14 AM Feature #15195: Deal with new Japanese era
Link to (request for) feedback on this issue from Rails: https://groups.google.com/forum/#!topic/rubyonrails-core/fZUk1qXRT5k. duerst (Martin Dürst)
08:13 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
Link to (request for) feedback on this issue from Rails: https://groups.google.com/forum/#!topic/rubyonrails-core/fZUk1qXRT5k. duerst (Martin Dürst)
06:56 AM Revision 74072a16 (git): Add tests for another timezone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:18 AM Revision e94ede5a (git): use `should include`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:55 AM Bug #11037 (Closed): Time Parse Documentation Incorrect - Undefined method getlocal
Applied in changeset trunk|r64975.
----------
Time.parse based from non-Time object
* lib/time.rb (Time.make_time): as the document states, the second
argument of `Time.parse` may be a non-`Time` object which does not
have `getloca...
nobu (Nobuyoshi Nakada)
05:55 AM Revision 7f9089a1 (git): Time.parse based from non-Time object
* lib/time.rb (Time.make_time): as the document states, the second
argument of `Time.parse` may be a non-`Time` object which does not
have `getlocal` method, assume it is in the local time in the case.
based on the patch by nkmrya ...
nobu (Nobuyoshi Nakada)
03:21 AM Revision 97fffcad (git): ext/objspace/objspace_dump.c: print addresses consistently
The format addresses are printed in are different if you use
`ObjectSpace.dump_all(output: :stdout)` vs.
`ObjectSpace.dump_all(output: :string)` (or `ObjectSpace.dump`) due to
differences in the underlying `vfprintf` implementation.
Use...
nobu (Nobuyoshi Nakada)
02:01 AM Revision e20ac944 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:01 AM Revision b9d00698 (git): Revert "ext/objspace/objspace_dump.c: print addresses consistently"
This reverts commit r64970.
Visual C++ 12.0 doesn't have PRIxPTR.
Anyway we have our own vfprintf implementation BSD_vfprintf().
If you want to have portable vfprintf, replace it with BSD_vfprintf like
vsnprintf or just use BSD_vfprintf...
naruse (Yui NARUSE)
01:52 AM Feature #11098: Thread-level allocation counting
If you've received this email by mistake, we're sorry for bothering you. It may contain information that's confidential, so please delete it without sharing it. And if you let us know, we can try to stop it from happening again. Thank y... daniel.ferreira@sage.com (Daniel Ferreira)

10/08/2018

11:43 PM Revision 9f81048b (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:43 PM Revision c5768e43 (git): ext/objspace/objspace_dump.c: print addresses consistently
The format addresses are printed in are different if you use
`ObjectSpace.dump_all(output: :stdout)` vs.
`ObjectSpace.dump_all(output: :string)` (or `ObjectSpace.dump`) due to
differences in the underlying `vfprintf` implementation.
Use...
tenderlovemaking (Aaron Patterson)
11:18 PM Feature #15217 (Open): Add Resolv.current_resolver
This allows us to have a per-thread default resolver.
This change is backwards compatible and will not change the behavior of Resolv.
This commit is also adding a bunch of missing specs for Resolv.
https://github.com/ruby/ruby/pull/...
christophe971 (Christophe Maximin)
05:10 PM Feature #15198: Array#intersect?
It also seems like it comes up fairly commonly on stackoverflow/blogs:
https://stackoverflow.com/questions/2603895/how-can-i-check-if-a-ruby-array-includes-one-of-several-values
https://www.ruby-forum.com/t/find-if-an-array-has-any-ele...
c4am95 (Travis Hunter)
04:03 PM Feature #14912: Introduce pattern matching syntax
I don't have anything specific to say about this particular proposal, I just want to point out that a lot of people have been thinking about how Pattern Matching relates to Object-Oriented Data Abstraction and Dynamic Languages recently.... jwmittag (Jörg W Mittag)
03:47 PM Revision 48291d52 (git): Revert "NEWS: Fix indent [ci skip]"
This reverts commit a43d71159fdf208f5ad29fe8f4169e193056caaa.
already fixed at r64958
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:26 PM Bug #14652: ruby -e "p ARGV" **/* is reasonably but slow
sanae (Sanae Artoria) wrote:
> ~~~ ruby
> ...
Globbing is performed by the shell. It has nothing to do with Ruby, and there is nothing Ruby can do about it. You need to read the documentation of whatever shell you are using to figure o...
jwmittag (Jörg W Mittag)
03:16 PM Bug #14541: Class variables have broken semantics, let's fix them
Hanmac (Hans Mackowiak) wrote:
> @Eregon: the problem is the other way around ...
> ...
In addition to what Benoit said, there is another problem, namely that class definitions in Ruby are never "finished", so when talking about making...
jwmittag (Jörg W Mittag)
03:12 PM Revision c82bafdb (git): * 2018-10-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision 634de695 (git): NEWS: Fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:10 PM Feature #14423: Enumerator from single object
[Oops. I didn't see #14781.]
The general version of this method is the category-theoretical dual of a `fold` (called `inject` and `reduce` in Ruby), so its name should probably reflect that. `unfold` is a name that is used in some oth...
jwmittag (Jörg W Mittag)
02:15 PM Bug #14948 (Closed): MinGW Failure - r64072 - test_jit.rb: test_compile_insn_putspecialobject_putiseq
r64964 solved all issues on MinGW MJIT. Closing. k0kubun (Takashi Kokubun)
01:57 PM Revision 6938834c (git): * remove trailing space. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:57 PM Revision 71e70d28 (git): include/ruby/ruby.h: comment about mswin RUBY_EXTERN [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
01:46 PM Revision ad2d2e3f (git): include/ruby/ruby.h: import external symbols
properly on MinGW MJIT.
test_jit.rb: all MJIT tests are now passing on MinGW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:44 PM Feature #14164: [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
I feel that most discussions about "type systems" or "types" for Ruby suffer from a serious lack of unambiguous definitions, this discussion included. Somebody proposes something without precisely defining what *exactly* they are proposi... jwmittag (Jörg W Mittag)
12:41 PM Bug #11037: Time Parse Documentation Incorrect - Undefined method getlocal
What is the status of this? citrusmoose (Matt Rice)
11:59 AM Revision 1ce45a44 (git): test_win32ole_event.rb: sleep longer
to increase the possibility of TestWIN32OLE_EVENT_SWbemSink#test_on_event success.
It seems to randomly fail
https://ci.appveyor.com/project/ruby/ruby/builds/19337514/job/0wp2oe9dkr9gt1bi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
k0kubun (Takashi Kokubun)
10:46 AM Revision 6a7df0ec (git): appveyor.yml: execute test_syntax separately
because NoMemoryError tends to be caused by
TestSyntax#assert_syntax_files.
https://ci.appveyor.com/project/ruby/ruby/build/1.0.8525
https://ci.appveyor.com/project/ruby/ruby/build/1.0.8795
https://ci.appveyor.com/project/ruby/ruby/build...
k0kubun (Takashi Kokubun)
10:33 AM Misc #15129: DevelopersMeeting20181010Japan
* How to address increasing spam to the bug tracker. #15212/#15213 are just two examples. They get removed (return a 404), which is good. But they reach the mailing list and its subscribers, which is a problem. Prefiltering bugs with URI... duerst (Martin Dürst)
07:09 AM Misc #15129: DevelopersMeeting20181010Japan
I am not sure if it is appropriate, but I'd also be very glad to hear about some "stale" discussions. They were typically reacted on developer meetings as "in general, good proposal (but not sure when it would be implemented/not sure abo... zverok (Victor Shepelev)
10:25 AM Feature #14839: How to deal with capitalizing Georgian in Unicode 11.0.0
spixi (Marius Spix) wrote:
> The current implementation of String.capitalize is not just a problem in Georgian, but also in other languages like Dutch. Words beginning with „ij“ must be titlecased with a leading „IJ“, e. g. „IJsbeer“ (p...
duerst (Martin Dürst)
08:54 AM Revision 62a3dbd5 (git): Add test for marshal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:46 AM Revision 68ec41d7 (git): Removed redundant suffix `_with_timezone`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:30 AM Revision 5d85a46e (git): revert r64957 [ci skip]
r64956 didn't work either...
This means that svn.ruby-lang.org/ruby is not executing the latest git
hook on git.ruby-lang.org/ruby-commit-hook.
Tentatively I backported the changes of auto-style.rb in
git.ruby-lang.org/ruby-commit-hook ...
k0kubun (Takashi Kokubun)
04:03 AM Revision fcf308e5 (git): Timezone at Time#+ and Time#-
* time.c (time_add): support for Timezone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:11 AM Revision e94b5221 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 AM Revision 042718c2 (git): revert r64955
r64954 didn't work...
In this commit, I'm experimenting
https://git.ruby-lang.org/ruby-commit-hook.git/commit/svn-utils/bin/auto-style.rb?id=2a1a17da1c163e8fc4321759d95057441ddf2c0a
We can distinguish possible 2 issues by this commit.
...
k0kubun (Takashi Kokubun)
02:55 AM Revision dde4a171 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:55 AM Revision ca8b54b6 (git): partially revert r64953
"expand tabs" is not intended to be applied to strftime.c, because its
c-file-style is "linux", not "ruby".
It's explicitly excluded to expand tabs
https://git.ruby-lang.org/ruby-commit-hook.git/tree/svn-utils/bin/auto-style.rb#n195
but...
k0kubun (Takashi Kokubun)
02:35 AM Feature #14850 (Closed): Add official API for setting timezone on Time
Applied in changeset trunk|r64952.
----------
Timezone support by Time [Feature #14850]
* strftime.c (rb_strftime): support timezone object by `%z`.
* time.c (time_init_1, time_new_timew, time_getlocaltime): accept
timezone object a...
nobu (Nobuyoshi Nakada)
02:35 AM Revision b8fbe8b5 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:35 AM Revision ee58c638 (git): Timezone support by Time [Feature #14850]
* strftime.c (rb_strftime): support timezone object by `%z`.
* time.c (time_init_1, time_new_timew, time_getlocaltime): accept
timezone object as `off`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64952 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
01:08 AM Revision e0bc5e49 (git): test_jit.rb: skip to test tempdir emptiness
on AppVeyor mswin. It's somehow failing and not reproductive on my
environment.
We're suspecting maybe somebody is still holding module handle, even
while FreeLibrary is finished successfully.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
k0kubun (Takashi Kokubun)
12:12 AM Revision 1f49e9bc (git): revert r64947 and r64949
Both didn't work well on mswin. Reverting.
https://ci.appveyor.com/project/ruby/ruby/builds/19322867/job/28fgwiq8j7hdmeu6
https://ci.appveyor.com/project/ruby/ruby/builds/19323721/job/1s73mrgu8n8wpa5f
We need to revisit this to have MJI...
k0kubun (Takashi Kokubun)

10/07/2018

11:19 PM Feature #15198: Array#intersect?
I threw together an example in a [gist](https://gist.github.com/travisofthenorth/eb2a68f5cd309dc7442ec4e1e55ae117) which is very similar to the use case I described. I have also run into numerous other situations where this functionality... c4am95 (Travis Hunter)
04:52 PM Revision 0da1f4e8 (git): win32/Makefile.sub: create header install dir first
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
04:45 PM Revision 2c276c19 (git): appveyor.yml: completely separate win32ole tests
because r64938 was not enough and another win32ole test file
(`test_win32ole_type.rb`) crashed worker.
https://ci.appveyor.com/project/ruby/ruby/builds/19321161/job/ue1qrphi5j1xxgu6
Let's run whole win32ole test suite separately.
git-s...
k0kubun (Takashi Kokubun)
03:38 PM Revision 24ca8720 (git): win32/Makefile.sub: install precompiled header to prefix
This is needed to run JIT from the installed ruby binary.
Even after this, we're hitting another error though.
start compilation: a@-e:1 -> C:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.c
Starting process: cl cl -nologo -LD -D...
k0kubun (Takashi Kokubun)
03:10 PM Revision 3ea17032 (git): * 2018-10-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 50f2520b (git): mjit_worker.c: clean up all unnecessary files on mswin
test_jit.rb: passed all MJIT tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:51 PM Revision ceab2821 (git): mjit_worker.c: don't suppress cl.exe logs
on --jit-verbose=2+.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:05 PM Revision cdffad51 (git): appveyor.yml: give up running TestThreadQueue#test_queue_with_trap
for mswin. We tried to increase timeout and execute separately but both
didn't work. Let me skip this until somebody starts to work on fixing
this behavior, since this makes AppVeyor almost impossible to be used as CI.
git-svn-id: svn+s...
k0kubun (Takashi Kokubun)
02:00 PM Revision fd719c59 (git): include/ruby/intern.h: don't modify MJIT_FUNC_EXPORTED
on most of platforms except mswin.
Changing it to static was needed for mswin because it doesn't use
transform_mjit_header, but for platforms that use it, it causes link
error like:
/usr/bin/ld: /tmp/_ruby_mjit_p21652u0.o: relocation R...
k0kubun (Takashi Kokubun)
01:34 PM Revision d590027f (git): vm_core.h: fix inconsistent prototype declarations
like "error: static declaration of 'xxx' follows non-static declaration".
r64940 is successfully built on mswin but not built on almost all other environments.
internal.h: ditto
include/ruby/intern.h: MJIT_STATIC is moved to this file ...
k0kubun (Takashi Kokubun)
01:11 PM Revision 950d1007 (git): mjit.h: introduce MJIT_STATIC for full mswin JIT support
This change resolves most of major remaining MJIT bugs on mswin.
Since Visual Studio doesn't support generating pre-processed code
preserving macros, we can't use transform_mjit_header approach for mswin.
So we need to transform MJIT hea...
k0kubun (Takashi Kokubun)
12:28 PM Revision b62c1a22 (git): mjit_worker.c: print warning if FreeLibrary fails
because somehow AppVeyor fails to remove so file by Permission Deined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:05 PM Feature #14784: Comparable#clamp with a range
@akr The proposal is "`Comparable#clamp` with a range". It also _justifies_ the possible need for a startless range, which is extracted to #14799.
I believe that `clamp(3..)`, `clamp(..10)` is 200% more Ruby-idiomatic than `clamp(3, n...
zverok (Victor Shepelev)
12:03 PM Revision 686a12a6 (git): appveyor.yml: separately execute unstable tests
without -j option. Those 2 tests are too unstable on AppVeyor.
test/excludes/TestThreadQueue.rb: The most unstable test ever. That even fails on my
machine too. This may be possibly because recent SIGCHLD-related changes.
https://ci.app...
k0kubun (Takashi Kokubun)
11:46 AM Revision 6b596cc2 (git): revert r64935
that didn't work at all. So the so file should be open at the time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:45 AM Feature #15215: HTTPS server name indication (SNI): explicit server_name in Net::HTTP
aspettl (Aaron Spettl) wrote:
> **Proposed solution:**
> ...
One comment on a corner case:
When ssl_server_name is set, then it is always used for verifying the certificate - even when OpenSSL is old and does not support SNI yet. In s...
Anonymous
09:20 AM Feature #15215 (Closed): HTTPS server name indication (SNI): explicit server_name in Net::HTTP
**Current behavior and problem:**
At the moment, the host name or IP address given in the URL is used to provide the server name for SNI in HTTPS connections. While this behavior is sufficient in most cases, establishing a connection to...
Anonymous
09:23 AM Feature #15211: Integer.try_convert
I don't know about the other try_convert
how does Ruby react if you try to overwrite the try_convert from the ruby side?
i suspect that currently it doesn't care, should that be changed?
Hanmac (Hans Mackowiak)
04:17 AM Feature #15211 (Closed): Integer.try_convert
I found `Integer` doesn't have `try_convert` method, which converts the argument by `to_int` method without explicit conversions like `Integer()`.
This is useful to treat an `Integer`-like argument like as methods written in C.
https...
nobu (Nobuyoshi Nakada)
09:17 AM Revision 7f24188a (git): Added missing declarations in readline.h bundled with macOS 10.14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:15 AM Revision 86e09265 (git): appveyor.yml: use ./tmp as TMPDIR for test-all
on VS.
On AppVeyor, we seem to fail to remove so file due to permission error.
C:/projects/ruby/test/ruby/test_jit.rb:419: warning: MJIT warning: failed to remove
"C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p3580u0.so": Permissio...
k0kubun (Takashi Kokubun)
08:03 AM Revision 77a682a3 (git): mjit_worker.c: clean up .obj file on mswin
prior to this commit, .obj file is generated on current directory and nobody deletes that.
This changes it to make sure it's generated to temporary directory and removes that.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64934 b2...
k0kubun (Takashi Kokubun)
06:08 AM Revision 0f8a433c (git): add_spec.rb: skip unstable spec on mingw
This sometimes crashes mspec worker like
https://ci.appveyor.com/project/ruby/ruby/build/9806/job/37tx2atojy96227m
and it doesn't generate helpful output and it seems hard to fix it soon.
As AppVeyor is too unstable by too many factors,...
k0kubun (Takashi Kokubun)
05:54 AM Revision 2cacb2d0 (git): test_jit.rb: skip some tests
that don't succeed on MinGW after r64929
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:29 AM Revision f13a2ad6 (git): mjit.c: fix obsoleted comment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
04:21 AM Revision 1c7d3348 (git): Fix indent of output in doc [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:17 AM Revision e889fad8 (git): mjit.h: call compiled code immediately
after the first compilation on --jit-wait.
Previously the assignment to `func` didn't have meaning for the behavior,
and the compiled code wasn't called immediately after the synchronous
compilation. It wasn't intentional.
Fixing this ...
k0kubun (Takashi Kokubun)
12:53 AM Bug #15210: UTF-8 BOM should be removed from String in internal representation
foonlyboy (Eike Dierks) wrote:
> I believe this to be a bug in how byte data is converted to the ruby internal String representation.
Yes, a BOM should be removed at the conversion, the reading from a data stream.
> ...
It is docu...
nobu (Nobuyoshi Nakada)

10/06/2018

07:51 PM Bug #15210: UTF-8 BOM should be removed from String in internal representation
> BTW: stdlib::CSV chokes on the BOM
I can't say how common this is or whether there is a bug; but in the event
that there may be, and the use case or situation involving the bug or faulty
behaviour affecting other ruby hackers, I w...
shevegen (Robert A. Heiler)
06:47 PM Bug #15210 (Closed): UTF-8 BOM should be removed from String in internal representation
Hi everyone working on the ruby trunk,
I encountered a problem with a BOM (Byte Order Mark) at the front of UTF-8 string data.
We import some CSV from paypal.
They now include a BOM in front of their UTF-8 encoded CSV data.
This...
foonlyboy (Eike Dierks)
05:30 PM Feature #15198: Array#intersect?
Demonstrated use cases helps the core team & matz assess on the usefulness of a proposed
change, which can help in accepting issue requests ultimately in the long run (if the
use case is considered sufficiently useful). :)
shevegen (Robert A. Heiler)
03:31 PM Bug #15206: require_relative in std_lib
The Appveyor run on the PR passed.
Appveyor testing has been intermittently failing. With parallel/multi testing (test-all and/or test-spec), there can be a lot more files being checked and possibly loaded. Considering more than one...
MSP-Greg (Greg L)
03:17 AM Bug #15206 (Closed): require_relative in std_lib
I noticed that there are some `require` for internal files in `lib/`. Ideally, they would be using `require_relative` instead. This is faster and more explicit.
Note: `require_relative` had a potential issue with symlinks that was fix...
marcandre (Marc-Andre Lafortune)
03:14 PM Revision b50955fd (git): * 2018-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 37575155 (git): revert r64925
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:11 PM Bug #15137 (Third Party's Issue): Can't run brew cleanup
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
03:11 PM Bug #15139 (Third Party's Issue): Bug in Interpreter or Extension Libraries
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
03:11 PM Bug #15147 (Third Party's Issue): Mac OSX (brew) reported: You may have encountered a bug in the Ruby interpreter or extension libraries
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
03:11 PM Bug #15142 (Third Party's Issue): Bug in the Ruby interpreter or extension libraries
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
03:11 PM Bug #15180 (Third Party's Issue): Segmentation fault at 0x00000001097ffffe
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
03:11 PM Bug #15197 (Third Party's Issue): Segmentation fault in Ruby script cache_store.rb from homebrew on macOS Mojave
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
03:11 PM Bug #15207 (Third Party's Issue): Bug - interpreter or extension libraries, Crashed running brew upgrade
I can't reproduce it on linkage.db files uploaded there, but `dbm_open` in the system library returns `NULL` instead.
I guess the system bundled dbm has a incompatibility or a bug which causes the failure or the segfaults, and we can't ...
nobu (Nobuyoshi Nakada)
05:05 AM Bug #15207 (Third Party's Issue): Bug - interpreter or extension libraries, Crashed running brew upgrade
After running brew upgrade installing to latest Xcode CLI, I ran again the brew upgrade. When it got to upgrading octave, the following happened on ruby:
==> Pouring octave-4.4.1_1.high_sierra.bottle.tar.gz
🍺 /usr/local/Cellar/octav...
danielwu3 (Daniel Wu)
03:02 PM Bug #15209 (Closed): r64925 order-only-prerequisites - make targets - breaking change
This commit has changed behavior of make targets such that make install or make install-nodoc is now running tests.
Viewing Travis history shows that before the commit trunk builds took approx 17 - 23 minutes, they are now taking up t...
MSP-Greg (Greg L)
03:11 AM Revision 3fcecb3c (git): * 2018-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 AM Revision 96eff9ed (git): order-only-prerequisites
* defs/gmake.mk: use order-only-prerequisites to run build and test
targets sequentially.
https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64925 b2dd03c8-39...
nobu (Nobuyoshi Nakada)

10/05/2018

08:04 PM Feature #11815: Proposal for method `Array#difference`
Now that `Array#difference` has in #14097 become an operator with set semantics, this proposal should probably be closed. febeling (Florian Ebeling)
04:55 PM Feature #14594: Rethink yield_self's name
I think `then` is going to be a bad name, because it has a special meaning in A+ Promises: https://promisesaplus.com/
This makes every object in Ruby a "thenable" object, and I think it will be bad for promise libraries.
theorygeek (Ryan Foster)
02:59 PM Misc #15202: Adding Coverity Scan to CI to see the result casually
Yusuke and Robert, thank you for sharing current status and thoughts.
> I had run the Coverity Scan analysis on CI (twice a week), and I had checked the result only when I felt like. But recently I forgot it completely. By this ticket...
jaruga (Jun Aruga)
02:01 PM Feature #15198: Array#intersect?
The most recent example I encountered was authorizing a user in a Rails endpoint. Each user has a list of abilities, and each endpoint has a list of abilities that is authorized to perform the action. We just need to check if there is an... c4am95 (Travis Hunter)
11:49 AM Feature #14097: Add union and difference to Array
Now it is closed! ;) ana06 (Ana Maria Martinez Gomez)
11:10 AM Bug #15205 (Closed): backport r64915 (check argument type.)
This ticket is for backport management. nagachika (Tomoyuki Chikanaga)
10:40 AM Bug #15203: test-all WEBrick - fixes needed for Azure Pipelines - three asserts, line endings
I think it's because git on Azure Pipeline enables "Use CRLF" option.
Because of that those test files uses CRLF on the environment.
WEBrick reads file on binary mode, therefore responses are also CRLF text.
But the `expect` data in t...
naruse (Yui NARUSE)
10:36 AM Bug #15203 (Closed): test-all WEBrick - fixes needed for Azure Pipelines - three asserts, line endings
Applied in changeset trunk|r64924.
----------
Use binread because webrick also uses binread
Reported-by: MSP-Greg [Bug #15203]
naruse (Yui NARUSE)
10:36 AM Revision 0f5853c2 (git): Use binread because webrick also uses binread
Reported-by: MSP-Greg [Bug #15203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:28 AM Revision 5a9b23ab (git): Added news entry of r64741.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:29 AM Bug #15204: globbing should be prevented when wildcard is surrounded by double quotes in the ruby's command line
sorry, maybe some text was modified by the bug tracker Editor :-)
In Linux's bash
~~~ text
$ ./tt "*.txt"
it's output is : ["*.txt"]
~~~
my patch's content:
~~~ text
Index: win32/win32.c
=======================================...
LeiYuhou (Yuhou Lei)
08:23 AM Bug #15204 (Rejected): globbing should be prevented when wildcard is surrounded by double quotes in the ruby's command line
script tt like following:
~~~ ruby
#!/usr/bin/ruby
p ARGV
~~~
if a command line argument contains wildcard such as * or ? is surrounded by double quotes , the script's results are different between Linux and Windows.
when run t...
LeiYuhou (Yuhou Lei)
06:23 AM Revision d7bd4589 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:23 AM Revision d65d5533 (git): Add difference method to Array
I introduce a `difference` method equivalent to the `-` operator, but
which accept more than array as argument. This improved readability, and
it is also coherent with the `+` operator, which has a similar `concat`
method. The method doe...
nobu (Nobuyoshi Nakada)
03:25 AM Revision 68bf34fc (git): Update aclocal to 1.16.1 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:37 AM Revision 6918746e (git): Remove wrong conversion
* rational.c (nurat_to_double): should return `double`, not `Float`.
fix r64897. [Bug #15189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom