Project

General

Profile

Activity

From 09/21/2017 to 09/27/2017

09/27/2017

10:25 PM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
It should implicitly be faster, as it avoids the array creation, insertion, and dereferencing that occurs with:
m....
wyhaines (Kirk Haines)
01:49 PM Feature #13943: Use unpack1 instead of unpack(template)[0] in erb.rb
Could you put benchmark result? k0kubun (Takashi Kokubun)
12:56 PM Feature #13943 (Closed): Use unpack1 instead of unpack(template)[0] in erb.rb
I think `unpack1(template)` is faster than `unpack(template)[0]`.
Attached patch for `lib/erb.rb`.
znz (Kazuhiro NISHIYAMA)
09:55 PM Revision d21aab2d (git): * 2017-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:55 PM Revision be4bfe4a (git): Remove DevKit path, change zlib link
by MSP-Greg <[email protected]>
fix https://github.com/ruby/ruby/pull/1708
git-svn-id: svn+ssh://ci....
naruse (Yui NARUSE)
09:48 PM Bug #13945 (Closed): Backport r60024
```
vm.c: fetch retval iff necessary
* vm.c (rb_vm_make_jump_tag_but_local_jump): get rid of fetching
retval w...
naruse (Yui NARUSE)
04:15 PM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
Do you think you could try other ruby versions as well, just to see whether the bug is still there? It may give the r... shevegen (Robert A. Heiler)
12:50 PM Bug #13942: Illegal instruction at 0xb66d6b3b ___bug
this output happens while run
rake db:blabla(any)
nksr (nk sr)
12:36 PM Bug #13942 (Third Party's Issue): Illegal instruction at 0xb66d6b3b ___bug
See bug-13942.log nksr (nk sr)
02:33 PM Bug #13944 (Closed): Appveyor fix GitHub PR 1708
Available at https://github.com/ruby/ruby/pull/1708
'Devkit' is use with RubyInstaller builds, but not with RubyIn...
MSP-Greg (Greg L)
12:32 PM Revision 8aebd7e9 (git): Fix exception class [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:47 AM Revision dbb6e0a4 (git): improve grammar in documentation of Array#bsearch [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
05:27 AM Revision a59837dd (git): pty.c: shrink repeated device names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:27 AM Revision 37a9da68 (git): objspace_dump.c: remove unnecessary break
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:08 AM Revision 253fd5fe (git): ext: adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:56 AM Misc #13938: [ANN] Rolling MinGW trunk build
> Does it work? :>
For several months. Used in Appveyor testing by rubygems/rubygems and ruby/spec. Hopefully, m...
MSP-Greg (Greg L)
02:55 AM Revision 65d74799 (git): complex.c: no overflow
* complex.c (rb_complex_infinite_p): get rid of overflow and
unnecessary multiplication.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:38 AM Revision 241ba38d (git): complex.c: no overflow
* complex.c (rb_complex_finite_p): get rid of overflow and
unnecessary multiplication.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:01 AM Revision 9eed577c (git): * 2017-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 AM Revision ea5e91b5 (git): * complex.c: fix Complex#infinite? return value. Because nucomp_abs never returns negative value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/26/2017

11:28 PM Revision b9031d70 (git): Show rb_data_type_t definition [ci skip]
[Fix GH-1707]
Author: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
11:28 PM Revision 2461376a (git): Fix a reference [ci skip]
[Fix GH-1706]
Author: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
02:01 PM Bug #13790: rubyspec.org domain seems to be expired
Yay! 👏 ujihisa (Tatsuhiro Ujihisa)
02:00 PM Feature #10674 (Closed): Net::HTTP retries idempotent requests once after a timeout, but its not configurable
Applied in changeset trunk|r60035.
----------
Make retries for Net::HTTP configurable [Feature #10674]
by stereoboo...
naruse (Yui NARUSE)
02:00 PM Revision 4f4d7247 (git): Make retries for Net::HTTP configurable [Feature #10674]
by stereobooster
fix https://github.com/ruby/ruby/pull/1654
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60035 ...
naruse (Yui NARUSE)
01:40 PM Revision fbb9e6c1 (git): parse.y: moved duplicate conditions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:21 PM Revision 33118bf7 (git): Suppress warnings by other than self-assignments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:50 AM Revision 9d389d65 (git): erb.rb: drop unreachable method
This seems to be unreachable from first introduction at r21286.
In ERB implementation, `#empty?` is only called for ...
k0kubun (Takashi Kokubun)
11:34 AM Bug #13929: TypeError: no implicit conversion of XXXX into string
I don't understand the problem clearly. Can you explain it ? sbhatore (Siddharth Bhatore)
11:30 AM Revision 054e4bc4 (git): test_erb.rb: add test cases for uncovered methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:45 AM Revision 08bb7d3d (git): test_features.rb: fix unused variable warning
test/csv/test_features.rb:357: warning: assigned but unused variable - csv
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
k0kubun (Takashi Kokubun)
09:00 AM Bug #13905 (Feedback): files in gemspec
hsbt (Hiroshi SHIBATA)
08:34 AM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
As you may know, `include` inserts the module in the inheritance hierarchy. In this case, `module Extensions` is inse... matz (Yukihiro Matsumoto)
08:31 AM Feature #13923: Idiom to release resources safely, with less indentations
tagomoris (Satoshi TAGOMORI) wrote:
> I prefer to get resources at once, but #7 looks to work well for my use case.
...
shyouhei (Shyouhei Urabe)
04:52 AM Feature #13923: Idiom to release resources safely, with less indentations
shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue in a developer meeting today and nobu's library solution ...
tagomoris (Satoshi Tagomori)
04:59 AM Revision 732fe801 (git): run-lcov.rb: support overwritten tmpdir path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:51 AM Revision d297bb14 (git): tool/run-lcov.rb: Filter tmp files out
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:13 AM Bug #13941 (Closed): File.exist? doesn't release gvl while waiting for (f)stat to return
Applied in changeset trunk|r60027.
----------
Release gvl while doing (f)stat
At the moment rb_stat function is blo...
nobu (Nobuyoshi Nakada)
02:21 AM Bug #13941: File.exist? doesn't release gvl while waiting for (f)stat to return
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/13941

Thanks, I am OK with the minor slowdown to avo...
normalperson (Eric Wong)
12:10 AM Bug #13941 (Closed): File.exist? doesn't release gvl while waiting for (f)stat to return
When using `File.exist?`, I noticed that it doesn't release gvl while waiting for system to return from (f)stat call.... graywolf (Gray Wolf)
04:13 AM Revision 66c9d4f5 (git): Release gvl while doing (f)stat
At the moment rb_stat function is blocking. This patch changes the
behaviour to release the gvl while waiting for OS ...
nobu (Nobuyoshi Nakada)
01:04 AM Feature #9323: IO#writev
[email protected] wrote:
> The main purpose of IO#writev is to make a chance for users to
> write multiple buff...
normalperson (Eric Wong)
12:28 AM Feature #9323: IO#writev
The main purpose of IO#writev is to make a chance for users to write multiple buffers atomically, not to improve perf... Glass_saga (Masaki Matsushita)
12:13 AM Bug #13940 (Third Party's Issue): em-http-request (HttpConnectionOptions) over-write :sni_hostname if provided
shyouhei (Shyouhei Urabe)
12:07 AM Revision c57eb143 (git): test_drb.rb: removed extra spaces
* test/drb/test_drb.rb (TestDRbLarge#test_02_large_ary): removed
unnecessary extra spaces which make the following ...
nobu (Nobuyoshi Nakada)

09/25/2017

11:18 PM Misc #13938: [ANN] Rolling MinGW trunk build
Does it work? :> shevegen (Robert A. Heiler)
04:14 AM Misc #13938 (Closed): [ANN] Rolling MinGW trunk build
I decided it was time to start an Appveyor MinGW build. It's rolling, starts builds at 0:00 JST and 12:00 JST (3 & 1... MSP-Greg (Greg L)
10:30 PM Feature #13927: Integrate module_function as a core language type
phluid61 (Matthew Kerwin) wrote:
> Sounds to me like you want a new type of object which is like `Module` but can't ...
rocifier (Ryan O'Connor)
01:11 PM Feature #13927: Integrate module_function as a core language type
Sounds to me like you want a new type of object which is like `Module` but can't be `include`d. If that's the case, I... phluid61 (Matthew Kerwin)
09:40 AM Feature #13927: Integrate module_function as a core language type
shevegen (Robert A. Heiler) wrote:
> Rocifier, can you say which ruby you have had in mind primarily?
I hadn't ...
rocifier (Ryan O'Connor)
07:23 AM Feature #13927: Integrate module_function as a core language type
rocifier (Ryan O'Connor) wrote:
> Using ruby commercially we have discovered that modules are no longer serving thei...
duerst (Martin Dürst)
09:52 PM Revision 6a169a49 (git): vm.c: unused function
* vm.c (rb_vm_jump_tag_but_local_jump): no longer used since
r51292.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
09:51 PM Revision d352d0a0 (git): vm.c: fetch retval iff necessary
* vm.c (rb_vm_make_jump_tag_but_local_jump): get rid of fetching
retval when it is not used. it is necessary for l...
nobu (Nobuyoshi Nakada)
09:39 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
It's a bug in 2.4.0 and 2.4.1 only.
Braces just after a literal has caused a syntax error before, like as:
daniel...
nobu (Nobuyoshi Nakada)
09:19 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
> Perhaps the error message could be more indicative of the error or what the exact
problem is or how to solve it. I...
danielpclark (Daniel P. Clark)
09:10 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
I think this was introduced in https://github.com/ruby/ruby/commit/9987109
Basically, any call `foo arg { }` when ...
asterite (Ary Borenszweig)
06:15 PM Bug #13939: Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
Let's ignore the "Seattle.rb style" for the moment because I don't know of such a
thing - may well be seattle-duck s...
shevegen (Robert A. Heiler)
03:43 PM Bug #13939 (Rejected): Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
In Ruby 2.3 & 2.4.0 you can do this
~~~ruby
define_method :some_method_name { "asdf" }
~~~
As of my trying 2....
danielpclark (Daniel P. Clark)
06:47 PM Feature #13923: Idiom to release resources safely, with less indentations
shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue in a developer meeting today and nobu's library solution ...
KonaBlend (Kona Blend)
12:49 PM Feature #13923 (Feedback): Idiom to release resources safely, with less indentations
We looked at this issue in a developer meeting today and nobu's library solution written in comment #7 was popular th... shyouhei (Shyouhei Urabe)
06:32 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
[email protected] wrote:
> As far as I understand, curses has still no active maintainer.

I am willing to mainta...
normalperson (Eric Wong)
05:01 PM Feature #13221: [PATCH] gems/bundled_gems: add "curses" RubyGem
As far as I understand, curses has still no active maintainer.
Ruby intends to keep wide portability; it's tough w...
naruse (Yui NARUSE)
05:38 PM Revision 4ea46ca0 (git): * 2017-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:38 PM Revision 42d4f9ea (git): Switch Build to use 2.4 with certs files
patched by MSP-Greg <[email protected]>
fix https://github.com/ruby/ruby/pull/1702
git-svn-id: svn+s...
naruse (Yui NARUSE)
05:04 PM Bug #13940 (Rejected): em-http-request (HttpConnectionOptions) over-write :sni_hostname if provided
We CRuby project doesn't handle em-http-request.
Could you ask on https://github.com/igrigorik/em-http-request ?
naruse (Yui NARUSE)
04:55 PM Bug #13940 (Third Party's Issue): em-http-request (HttpConnectionOptions) over-write :sni_hostname if provided
Breaking change introduced in 1.1.4
http_connnection_options.rb:23
@tls[:sni_hostname] = ori.host
This OVER-wr...
steve.misky (Stephen Misk)
04:26 PM Feature #13602 (Rejected): Optimize instance variable access if $VERBOSE is not true when compiling
ko1 (Koichi Sasada) wrote:
> It seems 5% can not justify this kind of optimization.
>
> We can use your technique...
jeremyevans0 (Jeremy Evans)
06:34 AM Feature #13602 (Feedback): Optimize instance variable access if $VERBOSE is not true when compiling
It seems 5% can not justify this kind of optimization.
We can use your technique when we revert all of optimized i...
ko1 (Koichi Sasada)
02:29 PM Bug #13926 (Closed): Non UTF response headers raise an Argument error since 2.4.2p198
Applied in changeset trunk|r60021.
----------
HTTPHeader#add_field should allow binary [Bug #13926]
naruse (Yui NARUSE)
02:28 PM Revision 56f91c6e (git): HTTPHeader#add_field should allow binary [Bug #13926]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:04 PM Revision 0c482713 (git): tool/run-lcov.rb: Filter test files out
And refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:31 PM Feature #13630: :[] method should accept block in nice syntax
And now mruby does too.
Matz.
matz (Yukihiro Matsumoto)
12:18 PM Feature #13630 (Closed): :[] method should accept block in nice syntax
We looked at this at a developer meeting today and confirmed that this is already done. shyouhei (Shyouhei Urabe)
12:45 PM Feature #13893: Add Fiber#[] and Fiber#[]= and restore Thread#[] and Thread#[]= to their original behavior
This sounds in fact cleaner. However I'm afraid it is too difficult to design a transition path. Fiber#[] could be ... shyouhei (Shyouhei Urabe)
12:41 PM Feature #13821 (Assigned): Allow fibers to be resumed across threads
In the today's developer meeting Ko1 said that migrating fibers across threads is currently not possible. I think he... shyouhei (Shyouhei Urabe)
12:37 PM Feature #13696: Add exchange and noreplace options to File.rename
I think it's hard to have platform-specific API extensions like this to be in-core. If atomicity is such an importan... shyouhei (Shyouhei Urabe)
08:54 AM Feature #13696: Add exchange and noreplace options to File.rename
nobu (Nobuyoshi Nakada) wrote:
> Glass_saga (Masaki Matsushita) wrote:
> > ```ruby
> > File.rename("hoge", "fuga",...
duerst (Martin Dürst)
12:30 PM Feature #13677: Add more details to error "Name or service not known (SocketError)"
The proposed functionality sounds fine but no one currently have spare time to implement this; patch welcomed. shyouhei (Shyouhei Urabe)
08:27 AM Feature #13677 (Feedback): Add more details to error "Name or service not known (SocketError)"
akr (Akira Tanaka)
08:26 AM Feature #13677: Add more details to error "Name or service not known (SocketError)"
It sounds fine. akr (Akira Tanaka)
12:28 PM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
We looked at this issue at a developer meeting today.
The OP's intension is clear. We can describe how it works, ...
shyouhei (Shyouhei Urabe)
07:05 AM Feature #12533: Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
chucke (Tiago Cardoso) wrote:
> module Refinary
If possible, please change the spelling to "Refinery".
duerst (Martin Dürst)
12:21 PM Feature #13922: Consider showing warning messages about same-named aliases - either directly or perhaps via the "did you mean gem"
In following example, `ruby -w` warns `alias_after_def` and `duplicated_def` only, but rubocop warns all combinations... znz (Kazuhiro NISHIYAMA)
12:20 PM Feature #9001 (Rejected): Please package better standard library
Let me close this issue because its goal is too vague to be achieved. For instance if someone wants to add Nokogiri ... shyouhei (Shyouhei Urabe)
12:16 PM Feature #13613: Prefer that require/require_relative/load to tell us permission error if the target file is unreadable
We looked at this issue in a developer meeting today. It seems we need to define "fatality" of each situations for r... shyouhei (Shyouhei Urabe)
12:11 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
We looked at this issue several times in recent developer meeting and it seems okay to merge. shyouhei (Shyouhei Urabe)
09:06 AM Feature #13936: Make regular expressions debugable
It needs to keep maintainability with original Onigmo/Oniguruma. naruse (Yui NARUSE)
01:27 AM Feature #13936 (Open): Make regular expressions debugable
Ruby has all kinds of features that allow a programmer to look at internals, in particular for debugging. However, on... duerst (Martin Dürst)
09:05 AM Feature #13683 (Feedback): Add strict Enumerable#single
Hmm, I don't like the name `single`. Besides that, I think it may be useful for database access, but I don't see the ... matz (Yukihiro Matsumoto)
09:01 AM Feature #13551: Add a method to alias class methods
shevegen (Robert A. Heiler) wrote:
> Martin showed this example:
>
> > class Array
> > class << self
> > ...
duerst (Martin Dürst)
08:13 AM Feature #13551 (Rejected): Add a method to alias class methods
As Martin-sensei pointed out, use singleton class notation.
class Foo
class <<Foo
def foo; end
...
matz (Yukihiro Matsumoto)
08:48 AM Feature #13693 (Rejected): Allow String#to_i and / or Kernel::Integer to parse e-notation
We quickly discussed this issue at today's Ruby committer's meeting.
For everybody, converting exponential (scient...
duerst (Martin Dürst)
08:35 AM Feature #9323 (Feedback): IO#writev
Is there benchmark?
What the situation that writev is actually fast?
akr (Akira Tanaka)
08:30 AM Misc #13915 (Closed): Updated docs of ThreadGroup
sonots (Naotoshi Seo)
08:30 AM Misc #13915: Updated docs of ThreadGroup
fixed via https://github.com/ruby/ruby/pull/1700
applied in changeset r60016
sonots (Naotoshi Seo)
08:27 AM Feature #13626: Add String#byteslice!
normalperson (Eric Wong) wrote:
> Fwiw, I'm also not convinced String#<< behavior about changing
> write_buffer...
duerst (Martin Dürst)
08:10 AM Feature #13626: Add String#byteslice!
At the developer meeting, we discuss that byteslice! and byteslice method should take same arguments. akr (Akira Tanaka)
08:08 AM Feature #13626: Add String#byteslice!
Sounds OK to me.
Matz.
matz (Yukihiro Matsumoto)
08:20 AM Feature #13332 (Feedback): Forwardable#def_instance_delegator nil
The proposed solution seems to be too generic. Show us the use-case except for `nil for nil'. For example, it is acce... matz (Yukihiro Matsumoto)
08:19 AM Bug #13748 (Closed): [PATCH] Fix mul overflow detection for LLP64 arch.
Applied in changeset trunk|r60019.
----------
Fix overflow detection for LLP64 arch [Bug #13748]
FIXNUMs are expect...
naruse (Yui NARUSE)
08:19 AM Revision c04b6232 (git): Fix overflow detection for LLP64 arch [Bug #13748]
FIXNUMs are expected to fit into a long type, but the test is about a
VALUE type. Since long is < than VALUE on LLP64...
naruse (Yui NARUSE)
08:15 AM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
Eregon (Benoit Daloze) wrote:
> vo.x (Vit Ondruch) wrote:
> > it actually takes down the bash instance it is runnin...
naruse (Yui NARUSE)
08:03 AM Bug #13925 (Closed): string.split(pattern, 1) should return [self.dup], but it returns [self]
nobu (Nobuyoshi Nakada)
07:28 AM Feature #11484: add output offset for readpartial/read_nonblock/etc
How about bufoffset? akr (Akira Tanaka)
06:56 AM Feature #11484 (Feedback): add output offset for readpartial/read_nonblock/etc
I like the idea but do not like the name `off_out`. Any other candidate?
Matz.
matz (Yukihiro Matsumoto)
06:31 AM Bug #13931 (Closed): correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
Applied in changeset trunk|r60018.
----------
configure.in: install_name without teeny
* configure.in (RUBY_API_VER...
nobu (Nobuyoshi Nakada)
06:31 AM Revision 2c644a50 (git): configure.in: install_name without teeny
* configure.in (RUBY_API_VERSION): remove teeny from install_name
to allow link extension libraries for the same mi...
nobu (Nobuyoshi Nakada)
06:29 AM Feature #13608 (Rejected): Add TracePoint#thread
`Thread#current` should be enough. ko1 (Koichi Sasada)
06:20 AM Feature #13919 (Closed): Add a new method to create Time instances from unix time and nsec
Applied in changeset trunk|r60017.
----------
Time#at receives 3rd argument which specifies the unit of 2nd argument...
naruse (Yui NARUSE)
05:51 AM Feature #13919: Add a new method to create Time instances from unix time and nsec
I agree with the new behavior (except for accepting `nil` as a unit).
Matz.
matz (Yukihiro Matsumoto)
06:20 AM Revision 97c5a33f (git): Time#at receives 3rd argument which specifies the unit of 2nd argument [Feature #13919]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:05 AM Revision 1aad241a (git): thread.c: Use 'Class.new' instead of 'Class::new' in doc codes.
patched by Herwin [Fix GH-1700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60016 b2dd03c8-39d4-4d8f-98ff-823f...
sonots (Naotoshi Seo)
05:54 AM Bug #13917 (Rejected): Comparable#clamp is slower than using Array#min,max.
`Array#{min,max}` are optimized because they are used frequently. I don't think `clamp` is used that much.
Matz.
matz (Yukihiro Matsumoto)
05:28 AM Bug #13917: Comparable#clamp is slower than using Array#min,max.
Hanmac (Hans Mackowiak) wrote:
> i can explain why Array#min/max isn't much slower, because it was optimized to not ...
naruse (Yui NARUSE)
05:18 AM Feature #13934: [Feature request] Being able to set a default encoding other than Unicode on a "per-project" basis
In addition to what Matthew and Yui said, I have some more questions:
What about files with more than one module, ...
naruse (Yui NARUSE)
03:51 AM Bug #13937 (Rejected): ARGV doesn't behave like an array
lucascaton (Lucas Caton) wrote:
> Ruby allows us to access an array item by passing its index, regardless if there i...
jeremyevans0 (Jeremy Evans)
03:29 AM Bug #13937 (Rejected): ARGV doesn't behave like an array
Ruby allows us to access an array item by passing its index, regardless if there is or not a space between the array ... lucascaton (Lucas Caton)
12:09 AM Revision 5d12e826 (git): test/ruby/test_iseq.rb: Skip test_safe_call_chain if Coverage is running.
Follow up to r59990.
When Coverage is running, trace2 instructions are inserted
to take branch coverages for safe met...
yui-knk (Kaneko Yuichiro)

09/24/2017

05:14 PM Feature #13933: Add Range#empty?
Range mixes in Enumerable so you can use #none?.
~~~
('a'..'b').none? #=> false
('b'..'a').none? #=> true
~~~
shan (Shannon Skipper)
02:33 PM Feature #13933: Add Range#empty?
Note that `Range#size` currently returns `nil` for ranges of string, so it's not clear what `empty?` would return for... marcandre (Marc-Andre Lafortune)
01:32 PM Feature #13933: Add Range#empty?
Would be nice. shevegen (Robert A. Heiler)
11:17 AM Feature #13933 (Rejected): Add Range#empty?
Range already responds to #size. It would be nice if it also responded to predicate #empty? :-) ted (Ted Johansson)
04:54 PM Bug #13935 (Closed): Backport openssl v2.0.7
ruby_2_4 maintainer:
The attached patch (0001-openssl-import-v2.0.7.patch) updates the bundled openssl gem from v2.0...
rhenium (Kazuki Yamaguchi)
04:26 PM Revision fc8bacf9 (git): * 2017-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision fdd01b53 (git): openssl: import e72d960db262
Sync with master branch of ruby/openssl.git to import changes in
v2.1.0.beta1..v2.0.6. The commit log since v2.1.0.be...
rhenium (Kazuki Yamaguchi)
02:29 PM Feature #13934: [Feature request] Being able to set a default encoding other than Unicode on a "per-project" basis
If it's a method, that means you have to parse the file and execute it, before you can know how to parse it ..? phluid61 (Matthew Kerwin)
02:07 PM Feature #13934 (Open): [Feature request] Being able to set a default encoding other than Unicode on a "per-project" basis
Hello ruby-core team and everyone else,
I propose a "project-wide encoding" or a "toplevel namespace wide encoding...
shevegen (Robert A. Heiler)
01:26 PM Feature #13923: Idiom to release resources safely, with less indentations
IMHO this defer idea is not appropriate to manage resources at it just moves the release of the resources at the end ... Eregon (Benoit Daloze)
12:59 PM Feature #13923: Idiom to release resources safely, with less indentations
How about:
```ruby
class Deferred
def initialize
@list = []
yield self
ensure
@list.reverse_...
nobu (Nobuyoshi Nakada)
02:30 AM Feature #13923: Idiom to release resources safely, with less indentations
While `ensure` in ruby is a syntax and share the scope, `defer` in go dynamically registers the clean-up code with ca... nobu (Nobuyoshi Nakada)
12:36 PM Feature #13884: Reduce number of memory allocations for "and", "or" and "diff" operations on small arrays
Can anyone review this patch? DmitryBochkarev (Dmitry Bochkarev)
12:10 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > I guess `cont->machine.stack_src` should not conta...
wanabe (_ wanabe)
10:07 AM Revision 444d0910 (git): common.mk: force link exe/ruby
* common.mk (exe/ruby): force link exe/ruby with miniruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60012 b...
nobu (Nobuyoshi Nakada)
09:44 AM Revision 6aaa2ca5 (git): test_gc.rb: relax criterion
* test/ruby/test_gc.rb (TestGc#test_expand_heap): relax the
criterion and compare by epsilon.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
09:35 AM Revision cf24b381 (git): gem.rb: load rubygems.rb
* test/rubygems/test_gem.rb: load rubygems.rb explicitly, for the
case configured as --disable-rubygems.
git-svn-i...
nobu (Nobuyoshi Nakada)
08:10 AM Revision f9ca5093 (git): Added NEWS entry for r60008
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:52 AM Revision e5e1f904 (git): Removed ubygems.rb. rubygems.rb is always loaded now.
* tool/sync_default_gems.rb: removed ubygems.rb from sync target.
* test/rubygems/test_gem.rb: only enable "-rubyge...
hsbt (Hiroshi SHIBATA)
05:22 AM Revision 6f968cab (git): load.c: fix rb_load_protect condition
* load.c (rb_load_protect): fix the condition to load the found
file. fixup of r59155.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
01:48 AM Revision 1d44d10b (git): ruby-runner.c: RUBYLIB
* ruby-runner.c (insert_env_path): extracted the function which
insert path list to an environment variable.
* rub...
nobu (Nobuyoshi Nakada)
01:45 AM Feature #5481: Gemifying Ruby standard library
Hi, I have some feedback implying a possibility of unexpected dependency on features packaged in Ruby installation wh... akihikodaki (Akihiko Odaki)
12:15 AM Revision a2026d89 (git): common.mk: link exe/ruby
* common.mk (exe/ruby): make fixed name symbolic link exe/ruby to
exe/$(PROGRAM), to run hardcoded bundler tests.
...
nobu (Nobuyoshi Nakada)

09/23/2017

11:58 PM Revision 846311a4 (git): * 2017-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:58 PM Revision 69759938 (git): test/coverage/test_coverage.rb: Refactor coverage tests.
Add `assert_coverage` to invoke Ruby script under coverage measurement
and to compare the result with an expected val...
mame (Yusuke Endoh)
09:40 PM Bug #13736 (Closed): ruby -00 should be the same as setting $/=""
As I asked matz about the intention and then committed, this has not been backported yet.
WARNING: the condition t...
nobu (Nobuyoshi Nakada)
09:20 PM Feature #13927: Integrate module_function as a core language type
I wanted to write a reply but it was too long, so here just a shorter one.
Even new syntax may make a language mor...
shevegen (Robert A. Heiler)
08:36 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > Oh, check the *_STACK_SIZE #defines in vm_core....
normalperson (Eric Wong)
06:31 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
[email protected] wrote:
> I guess `cont->machine.stack_src` should not contain the under thread_start_func_1() st...
normalperson (Eric Wong)
04:48 PM Bug #13932 (Closed): [PATCH] Extension libraries take precedence in checks of later Kernel.#require calls for features without file extensions
Extension libraries take precedence in checks of later `Kernel.#require` calls for features without file extensions. ... akihikodaki (Akihiko Odaki)
11:45 AM Bug #13931 (Closed): correct install_name of libruby on macOS (libruby.2.5.0.dylib -> libruby.2.5.dylib)
ruby-dev:50256 で質問した件です。
ruby-2.4以降ではlibrubyのファイル名に実際のリリースバージョンのTEENYが反映されるようになったようですが
macOS上でlibrubyのinstall nam...
kimuraw (Wataru Kimura)
08:33 AM Bug #13905 (Assigned): files in gemspec
default gems の `Gem::Specification#files` は記載されていても、実際には処理されないので、便宜上 upstream または gem としてリリースされているファイルを記載するようにしています。
...
hsbt (Hiroshi SHIBATA)
07:09 AM Revision 8c59fdb8 (git): dup String#split return value
* string.c (rb_str_split): return duplicated receiver, when no
splits. patched by tompng (tomoya ishida) in [ruby-...
nobu (Nobuyoshi Nakada)
07:09 AM Revision e1be1d0c (git): dup String#rpartition return value
* string.c (rb_str_rpartition): return duplicated receiver, when
no splits. [ruby-core:82911] [Bug#13925]
Author:...
nobu (Nobuyoshi Nakada)
07:09 AM Revision b0326bce (git): dup String#partition return value
* string.c (rb_str_partition): return duplicated receiver, when no
splits. [ruby-core:82911] [Bug#13925]
Author: ...
nobu (Nobuyoshi Nakada)
06:49 AM Revision 80aa804a (git): parse.y: token type by identifer ID type
* parse.y (parse_ident): leave identifier type decision (local or
const) to rb_enc_symname_type, and set the token ...
nobu (Nobuyoshi Nakada)
06:49 AM Revision 5983fd75 (git): parse.y: missing semicolon
* parse.y (stmt_or_begin): fix missing semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59998 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
06:43 AM Bug #13925: string.split(pattern, 1) should return [self.dup], but it returns [self]
I added some tests and send a Pull Request to ruby/ruby
https://github.com/ruby/ruby/pull/1705
hanachin (Seiei Miyagi)
04:37 AM Revision 6a0ce111 (git): removed bin/bundle_ruby, It was ignored upstream gemspec.
* spec/bundler/other/*: Marked exclude tags for ruby repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
hsbt (Hiroshi SHIBATA)
02:57 AM Revision ebfc4c48 (git): update section styles for psych, rubygems, bundler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:55 AM Revision 479c83f7 (git): Added sections of pysch library to LEGAL.
* ext/psych/yaml/LICENSE: Integrate libyaml license to LEGAL and
removed this file from repository.
git-svn-id: ...
hsbt (Hiroshi SHIBATA)
02:37 AM Revision 572d2c27 (git): Added bundler's license to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:26 AM Revision 6c52cdab (git): Added missing "ubygems.rb" file of rubygems to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:24 AM Revision 1aa4a40d (git): Integrate LICENSE file of rubygems to LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:17 AM Revision 4b5fb69e (git): * 2017-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:17 AM Revision 7da13f05 (git): Enable to take branch coverages for safe method invocations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)

09/22/2017

06:31 PM Bug #13921: buffered read_nonblock doesn't work as expected using SSLSocket
chucke (Tiago Cardoso) wrote:
> I have something similar to the following code that handles both tcp as well as ssl ...
rhenium (Kazuki Yamaguchi)
05:14 PM Bug #13736 (Feedback): ruby -00 should be the same as setting $/=""
Try:
$ printf "1\n1b\n\n\n\n\n2\n2b\n\n3\3b" | ruby -00 -F"\n" -lane 'END{p $.}'
4
vs
$ pri...
dawg (Andrew Dumke)
04:58 PM Bug #13736: ruby -00 should be the same as setting $/=""
This does not seem to be corrected on ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
Exactly the sam...
dawg (Andrew Dumke)
02:31 PM Bug #13930 (Closed): Exception is caught in rescue above ensure
Given the following code:
~~~ ruby
def foo
i = 0
3.times do |n|
begin
puts "a"
i += 1
...
msauter (Michael Sauter)
02:28 PM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > normalperson (Eric Wong) wrote:
> > > If you ...
vo.x (Vit Ondruch)
11:21 AM Revision fb38cfb9 (git): Update trick2013/yhara for Ruby 2.4
I need to raise LocalJumpError here (for the first "J" of the
output "JUST ANOTHER RUBY HACKER"), but this `return` d...
nobu (Nobuyoshi Nakada)
10:18 AM Feature #13927: Integrate module_function as a core language type
matz (Yukihiro Matsumoto) wrote:
> I admit modules with module_function play different role from ordinary modules, a...
rocifier (Ryan O'Connor)
05:21 AM Feature #13927: Integrate module_function as a core language type
I admit modules with module_function play different role from ordinary modules, and so do refinements.
I am not sure...
matz (Yukihiro Matsumoto)
08:29 AM Bug #13926: Non UTF response headers raise an Argument error since 2.4.2p198
shevegen (Robert A. Heiler) wrote:
> Can you add a link to Net::HTTPHeader#add_header?
>
> I was trying to find i...
petehamilton (Pete Hamilton)
04:03 AM Bug #13926: Non UTF response headers raise an Argument error since 2.4.2p198
Can you add a link to Net::HTTPHeader#add_header?
I was trying to find it but I can not find it at https://ruby-do...
shevegen (Robert A. Heiler)
05:42 AM Feature #13613: Prefer that require/require_relative/load to tell us permission error if the target file is unreadable
I tried to write a patch which just adding `strerror(errno)` to error message.
https://github.com/sonots/ruby/commi...
sonots (Naotoshi Seo)
04:56 AM Revision 05ee7f2f (git): numeric.c: reduced repeated calls
* numeric.c (rb_num2ll, rb_num2ull, fix_pow): turn repeated
RFLOAT_VALUE calls into local variables.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
04:40 AM Bug #13929 (Feedback): TypeError: no implicit conversion of XXXX into string
Anon92929 (Anon Ymous) wrote:
> This causes SO MANY ISSUES! Instead of CRASHING, why doesn't it just apply the `.to_...
nobu (Nobuyoshi Nakada)
03:58 AM Bug #13929: TypeError: no implicit conversion of XXXX into string
> This causes SO MANY ISSUES!
If you build up a `String` such as:
```ruby
x = 42
y = # String here
```
Th...
shevegen (Robert A. Heiler)
12:23 AM Bug #13929 (Rejected): TypeError: no implicit conversion of XXXX into string
This causes SO MANY ISSUES! Instead of CRASHING, why doesn't it just apply the .to_s operator in this case???
Anon92929 (Anon Ymous)
03:05 AM Bug #13928 (Closed): Calling Integer.fdiv with BigDecimal returns unexpected result
Applied in changeset trunk|r59986.
----------
numeric.c: use NUM2DBL
* numeric.c (fix_fdiv_double), bignum.c (...
nobu (Nobuyoshi Nakada)
03:05 AM Revision d58ccfee (git): * 2017-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 AM Revision 24ef8ad1 (git): numeric.c: use NUM2DBL
* numeric.c (fix_fdiv_double), bignum.c (rb_big_fdiv_double): use
NUM2DBL on unknown object. RFLOAT_VALUE is only ...
nobu (Nobuyoshi Nakada)

09/21/2017

10:28 PM Bug #13887: test/ruby/test_io.rb may get stuck with FIBER_USE_NATIVE=0 on Linux
[email protected] wrote:
> But I believe it is never correct.
> (`(char*)` cast is ugly, I want change `cont->mac...
normalperson (Eric Wong)
09:13 PM Bug #13928 (Closed): Calling Integer.fdiv with BigDecimal returns unexpected result
After upgrading a Rails project from 2.3.1 to 2.4.2 I ran into a number of failing tests. Seems like to behaviour of ... [email protected] (Carl Vander)
07:57 PM Feature #13927 (Open): Integrate module_function as a core language type
Using ruby commercially we have discovered that modules are no longer serving their original intended purpose of mixi... rocifier (Ryan O'Connor)
06:01 PM Bug #13926 (Closed): Non UTF response headers raise an Argument error since 2.4.2p198
When setting headers using `Net::HTTPHeader#add_field` or `Net::HTTPHeader#[]=` in v2.4.2, an `ArgumentError (invali... petehamilton (Pete Hamilton)
03:34 PM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
vo.x (Vit Ondruch) wrote:
> it actually takes down the bash instance it is running within. Is this expected?
Yes,...
Eregon (Benoit Daloze)
10:32 AM Bug #13758: TestRubyOptions#test_segv_setproctitle segfaults on AARCH64
naruse (Yui NARUSE) wrote:
> I can't reproduce on ruby -v: ruby 2.5.0dev (2017-09-01 trunk 59707) [aarch64-linux].
...
vo.x (Vit Ondruch)
01:49 PM Bug #13856: MinGW / mswin intermittent failure in test/socket/test_socket.rb
Shirosaki-san,
'Breakfast build' is finished, passed `test-all`, and the following also passed:
```
ruby runner....
MSP-Greg (Greg L)
11:39 AM Bug #13856: MinGW / mswin intermittent failure in test/socket/test_socket.rb
Shirosaki-san, your patch seems ok.
Could you check in?
usa (Usaku NAKAMURA)
10:36 AM Bug #13856: MinGW / mswin intermittent failure in test/socket/test_socket.rb
I found that another exception raises while executing rb_exc_raise() in rb_threadptr_execute_interrupts().
This reen...
h.shirosaki (Hiroshi Shirosaki)
12:26 PM Bug #10222 (Closed): require_relative and require should be compatible with each other when symlinks are used
Applied in changeset trunk|r59984.
----------
load.c: real path to load
* load.c (rb_construct_expanded_load_path):...
nobu (Nobuyoshi Nakada)
12:26 PM Revision e3bb5c4b (git): gmake.mk: order test-bundler
* defs/gmake.mk (ORDERED_TEST_TARGETS): order test-bundler too to
get rid of mixing outputs.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
09:39 AM Bug #13917: Comparable#clamp is slower than using Array#min,max.
Thank you, Hanmac. I understand why `Array#min/max` is so fast.
I guess `clamp` would be implemented in `numeric.c` ...
kei-s (Kei Shiratsuchi)
09:23 AM Bug #13834: RubyGems test suite occasionally changes working directory and breaks the rest of test suite
Another instance of this bug:
http://rubyci.s3.amazonaws.com/fedora26/ruby-trunk/log/20170919T063002Z.log.html.gz
vo.x (Vit Ondruch)
08:31 AM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > If you have time, can you try to find larger va...
normalperson (Eric Wong)
05:15 AM Bug #13757: TestBacktrace#test_caller_lev segaults on PPC
normalperson (Eric Wong) wrote:
> If you have time, can you try to find larger values changed by
> r59047 (RUBY_T...
vo.x (Vit Ondruch)
07:29 AM Revision b6d3927e (git): load.c: real path to load
* load.c (rb_construct_expanded_load_path): expand load paths to
real paths to get rid of duplicate loading from sy...
nobu (Nobuyoshi Nakada)
07:29 AM Revision 5754f159 (git): file.c: rb_check_realpath
* file.c (rb_check_realpath): returns real path which has no
symbolic links. similar to rb_realpath except for ret...
nobu (Nobuyoshi Nakada)
07:25 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
duerst (Martin Dürst) wrote:
> r.smitala (Radovan Smitala) wrote:
>
> > I also think migration to new method nami...
r.smitala (Radovan Smitala)
04:40 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
r.smitala (Radovan Smitala) wrote:
> I also think migration to new method naming is really easy with simple regex ...
duerst (Martin Dürst)
 

Also available in: Atom