Project

General

Profile

Activity

From 03/17/2017 to 03/23/2017

03/23/2017

11:55 PM Revision 96069e95 (git): Don't download from Unicode.org
* .travis.yml, appveyor.yml: use checked out headers for Unicode,
to get rid of downloading data files from Unicode...
nobu (Nobuyoshi Nakada)
11:52 PM Bug #13359 (Third Party's Issue): ruby-2.4.1/bin/ruby_executable_hooks: [BUG] Segmentation fault at 0x00000000000000
Seems a pg gem's issue. nobu (Nobuyoshi Nakada)
03:50 PM Bug #13359 (Third Party's Issue): ruby-2.4.1/bin/ruby_executable_hooks: [BUG] Segmentation fault at 0x00000000000000
crashed after rspec spec
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
arek-natu (Arkadiusz Poczobut)
08:32 PM Feature #13303: String#any? as !String#empty?
Actually the name .nonempty? is easier to understand than .any? in this
context, or non-empty strings.
I think th...
shevegen (Robert A. Heiler)
03:55 PM Revision e1e5857c (git): enc-unicode.rb: fix version matching
* tool/enc-unicode.rb (data_foreach): version comments do not
include sub directory names.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
03:49 PM Revision 81ab4132 (git): fix GraphemeBreakProperty.txt
* tool/downloader.rb: download to the file given in ARGV.
* tool/enc-unicode.rb (parse_GraphemeBreakProperty): fix d...
nobu (Nobuyoshi Nakada)
03:47 PM Revision de418173 (git): * 2017-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 PM Revision a7b8741e (git): common.mk: updating name2ctype.h
* common.mk (name2ctype.h): update if ALWAYS_UPDATE_UNICODE = yes,
as well as casefold.h.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
01:27 PM Bug #13358: OpenStruct overriding allocate
I agree making OpenStruct.allocate an alias of Class#new is not a great idea and easily problematic.
We had a proble...
Eregon (Benoit Daloze)
01:15 PM Bug #13358 (Closed): OpenStruct overriding allocate
In https://github.com/ruby/ruby/commit/15960b37e82ba60455c480b1c23e1567255d3e05 OpenStruct gained
~~~ruby
class...
sitter (Harald Sitter)
11:08 AM Bug #13357 (Closed): Improve Time#+ & Time#- performance
Improve Time#+ & Time#- performance
Time#+ & Time#- will be faster around 15%.
If internal values would have Fixn...
watson1978 (Shizuo Fujita)
08:28 AM Feature #13355 (Closed): [PATCH] compile.c: optimize literal String range in case/when dispatch
This seems obvious, and manages to pass existing tests.
Earlier, I found myself writing code like:
case RUBY_...
normalperson (Eric Wong)
07:59 AM Revision d77214e8 (git): enc-unicode.rb: ifdef blocks
* tool/enc-unicode.rb (Unifdef#ifdef): enclose conditional blocks
in blocks.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
07:59 AM Revision 8083a359 (git): enc-unicode.rb: uniname2ctype_offset
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:53 AM Revision 12b80586 (git): update name2ctype.h
* enc/unicode/9.0.0/name2ctype.h: update due to merger of Onigmo
6.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
07:44 AM Bug #13062: 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
I can reproduce this in 2.4.1. Is this going to be fixed in 2.4.2? This is a significant issue that makes it hard to ... abezzub (Andrew Bezzub)
04:38 AM Bug #13286: Segfault when using rb_debug_inspector_open / rb_debug_inspector_frame_binding_get with Fiddle, but not when directly from C extension
Here's a link to a c-library extension that has been working great for us:
https://github.com/shreeve/bindings
shreeve (Steve Shreeve)
02:00 AM Bug #13222: Array#sum inconsistency when init value is non-numeric
I confirmed this behavior appears not only 2.5.0dev but also 2.4.x.
~~~
$ docker run ruby:2.4.1 ruby -e "p [0].su...
mtsmfm (Fumiaki Matsushima)
12:49 AM Bug #13352: RegExp infinite looping
Thank' to @naruse
> https://regex101.com/
Your's workaround is fine.
It OK that "Somewhere in my regular exp...
jumnichi_kose (小瀬 淳一)

03/22/2017

08:23 PM Bug #13306 (Closed): [DOC] rdoc for IO#puts
Applied in changeset r58062.
----------
io.c: [DOC] expand docs for IO#puts
[ruby-core:80081] [Bug #13306]
stomar (Marcus Stollsteimer)
08:23 PM Revision df97d4e7 (git): * 2017-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:23 PM Revision 5f5f648c (git): io.c: [DOC] expand docs for IO#puts
[ruby-core:80081] [Bug #13306]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58062 b2dd03c8-39d4-4d8f-98ff-823fe...
stomar (Marcus Stollsteimer)
08:17 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
Noticed after Ruby 2.4.1 upgrade today (Wed 2017.03.22) performance is generally a bit slower. jzakiya (Jabari Zakiya)
03:55 PM Bug #13354 (Closed): Improve Time#<=> performance
Time#<=> will be faster around 60%.
If internal values would have Fixnum,
optimized function improves performance.
...
watson1978 (Shizuo Fujita)
02:26 PM Bug #13253: SIGSEGV in parser_heredoc_dedent()
ruby_2_3 r58061 merged revision(s) 56020,57717. nagachika (Tomoyuki Chikanaga)
02:26 PM Revision ddd7dd0f (git): merge revision(s) 56020,57717: [Backport #13253]
parse.y: heredoc token
* parse.y (parser_heredoc_identifier): gather branches by quote
char.
...
nagachika (Tomoyuki Chikanaga)
02:13 PM Bug #13242: SIGSEGV in rb_bigzero_p()
ruby_2_3 r58060 merged revision(s) 57688,57689. nagachika (Tomoyuki Chikanaga)
02:13 PM Revision 10e0fc1b (git): merge revision(s) 57688,57689: [Backport #13242]
rational.c: infinity in power
* rational.c (nurat_expt): return Infinity due to overflow.
[ruby-co...
nagachika (Tomoyuki Chikanaga)
02:06 PM Revision 028bd4ae (git): stringio.gemspec: requires ruby 2.2
* ext/stringio/stringio.gemspec: bump up required ruby version to
2.2, which exports rb_get_kwargs() first.
git-sv...
nobu (Nobuyoshi Nakada)
02:01 PM Bug #13076: SEGV in io.c when reading closed stream in Thread
ruby_2_3 r58058 merged revision(s) 57199,57202,57206,57224. nagachika (Tomoyuki Chikanaga)
02:01 PM Revision b866e34f (git): merge revision(s) 57199,57202,57206,57224: [Backport #13076]
io.c: fix race between read and close
* io.c (io_fillbuf): fix race between read and close, in the case
...
nagachika (Tomoyuki Chikanaga)
01:55 PM Revision 0130bb01 (git): stringio.c: RB_INTEGER_TYPE_P
* ext/stringio/stringio.c (RB_INTEGER_TYPE_P): fallback definition
for 2.3 or earlier.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:46 PM Bug #13015: Segfault when using super and underscore parameters
ruby_2_3 r58056 merged revision(s) 57024. nagachika (Tomoyuki Chikanaga)
01:46 PM Revision 4e1f1ec1 (git): merge revision(s) 57024: [Backport #13015]
vm.c: check type of hash to merge
* vm.c (core_hash_merge): check the type of the target hash to
m...
nagachika (Tomoyuki Chikanaga)
01:27 PM Bug #13352 (Rejected): RegExp infinite looping
323字目の * を削ってください。
```
(?=\W)\W?(?:(?:(?:\/\*<)?[\'\"]?([\w_\$]+)[\'\"]?(?:>\*\/\s+this)?|(this))\.(\$scope|json)...
naruse (Yui NARUSE)
10:55 AM Bug #13352: RegExp infinite looping
I haven't yet had time to analyze the regular expression in detail. Are you sure this is really an infinite loop, and... duerst (Martin Dürst)
05:36 AM Bug #13352: RegExp infinite looping
正規表現ライブラリの共通的な問題かもしれないが、皆さんの影響力を行使して、改善されることを希望します。
少なくともrexEx.compileでは、与えた正規表現の不正を摘出して欲しいと思います。
jumnichi_kose (小瀬 淳一)
05:32 AM Bug #13352 (Rejected): RegExp infinite looping
ruby entered an infinite loop with the following three steps.
~~~ ruby
r = /(?=\W)\W?(?:(?:(?:\/\*<)?[\'\"]?([\w_...
jumnichi_kose (小瀬 淳一)
12:27 PM Revision eaf4f2ec (git): Use https URL instead of http URL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:22 AM Bug #13347 (Feedback): bug in the Ruby interpreter or extension libraries when using rails s
hsbt (Hiroshi SHIBATA)
10:21 AM Bug #13347 (Rejected): bug in the Ruby interpreter or extension libraries when using rails s
hsbt (Hiroshi SHIBATA)
12:49 AM Bug #13347 (Feedback): bug in the Ruby interpreter or extension libraries when using rails s
Please show us the full console log since the Control-C. The parts shown in the screenshot does not seem to include ... shyouhei (Shyouhei Urabe)
10:21 AM Bug #13345 (Rejected): bug in the Ruby interpreter or extension libraries
hsbt (Hiroshi SHIBATA)
10:21 AM Bug #13346 (Rejected): bug in the Ruby interpreter or extension libraries
hsbt (Hiroshi SHIBATA)
06:15 AM Bug #13353 (Closed): Backport stringio fixes
nobu (Nobuyoshi Nakada)
06:14 AM Bug #13353 (Closed): Backport stringio fixes
Backport r58040 and r58041.
nobu (Nobuyoshi Nakada)
06:00 AM Revision 20c72dc8 (git): ruby tool/update-deps --fix
Onigumo 6 (r57045) introduced new onigumo.h header file, which is
required from quite much everywhere. This commit a...
shyouhei (Shyouhei Urabe)
05:54 AM Revision 7e811007 (git): merge revision(s) 58040,58041:
stringio.c: check character code
* ext/stringio/stringio.c (strio_ungetc): check if the character
...
naruse (Yui NARUSE)
05:42 AM Bug #13349: Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
That's AIX's bug. Please contact the vendor and fix your OS. kosaki (Motohiro KOSAKI)
03:29 AM Bug #13349 (Feedback): Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
It is rather AIX-specific issue.
`O_CLOEXEC` is defined on BSDs and mac OS, and `O_NOINHERIT` is defined on Windows....
nobu (Nobuyoshi Nakada)
01:58 AM Revision 6969f355 (git): * 2017-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:58 AM Revision 120dfdd5 (git): gemify stringio
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/21/2017

09:44 PM Feature #12921: Retrieve user and password for proxy from env
If the user write a code this is also a user's problem. Programming language should be able to solve problems easily.... wolfer (Sergey Fedosov)
09:02 PM Feature #12921: Retrieve user and password for proxy from env
If the user wants to set its password inside a env variable, it is the user's problem. It is the widely used way to u... luizluca (Luiz Angelo Daros de Luca)
08:46 PM Bug #13351 (Closed): net/http: Net::HTTP.start sets wrong default arg value
Hello,
`start` is defined as:
~~~ruby
def HTTP.start(address, *arg, &block) # :yield: +http+
arg.po...
luizluca (Luiz Angelo Daros de Luca)
04:39 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
FYI for general interest and curiosity.
In Ruby 2.4.0 the 3 implementations below of Newton's general nth-root met...
jzakiya (Jabari Zakiya)
04:28 PM Bug #13350 (Closed): File.read :newline option not respected on Linux
## Reproducable in irb
All examples run with:
`
Encoding.default_external = 'utf-8'
Encoding.default_internal =...
larskanis (Lars Kanis)
04:22 PM Revision 93e44f88 (git): Bump up version to 2.4.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:24 PM Bug #13349: Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
Clarified that the supplied patch applies to ruby-2.0.0p468 0x6373 (Christian Schwabl)
03:20 PM Bug #13349: Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
fixed syntax 0x6373 (Christian Schwabl)
02:18 PM Bug #13349 (Closed): Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
In io.c there are 2 Linux specific flags (`O_CLOEXEC` and `O_NOINHERIT`) which are set regardless of the operating sy... 0x6373 (Christian Schwabl)
02:12 PM Bug #13339: Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
ruby_2_4 r58046 merged revision(s) 58042. naruse (Yui NARUSE)
05:28 AM Bug #13339 (Closed): Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
Applied in changeset r58042.
----------
string.c: use the usable size
* string.c (rb_str_change_terminator_length):...
nobu (Nobuyoshi Nakada)
02:11 PM Revision 3cdf4f05 (git): merge revision(s) 58042: [Backport #13339]
string.c: use the usable size
* string.c (rb_str_change_terminator_length): when called after
the ...
naruse (Yui NARUSE)
02:05 PM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
ruby_2_4 r58045 merged revision(s) 57192,57464,58016,58018,58019. naruse (Yui NARUSE)
02:04 PM Revision 539ab305 (git): merge revision(s) 57192,57464,58016,58018,58019: [Backport #12705]
[Bug #12705]
add a ticket number.
test_lambda.rb: refine test
* test/ruby/test_lambda.rb (t...
naruse (Yui NARUSE)
01:46 PM Bug #13348 (Closed): win32/README.win32 のアイコンがリンク切れ
@nifty の @homepage サービスが終了した影響で、win32/README.win32 に書いてある
```
* ((<URL:http://homepage1.nifty.com/a_nakata/ruby/>...
znz (Kazuhiro NISHIYAMA)
08:03 AM Revision 6411b4a4 (git): Download Unicode data by appveyor [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Bug #13347 (Closed): bug in the Ruby interpreter or extension libraries when using rails s
when using rails s that time server was starting completely but when i was check the localhost for my application and... Reyan (Reyan Patil)
07:23 AM Bug #13346 (Rejected): bug in the Ruby interpreter or extension libraries
bug in the Ruby interpreter or extension libraries
please give me proper command to solve this issue
Reyan (Reyan Patil)
07:21 AM Bug #13345 (Rejected): bug in the Ruby interpreter or extension libraries
bug in the Ruby interpreter or extension libraries Reyan (Reyan Patil)
07:19 AM Revision 3805c444 (git): tool/downloader.rb: dryrun option [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:28 AM Revision f0e6e479 (git): string.c: use the usable size
* string.c (rb_str_change_terminator_length): when called after
the content has been copied, old terminator length ...
nobu (Nobuyoshi Nakada)
05:23 AM Misc #13329: Creating a German ruby mailinglist on ruby-lang.org?
I'm ready to help out managing the new list if this helps with it's creation.
The existence of ruby-fr is an inter...
duerst (Martin Dürst)
04:24 AM Feature #13333: block to yield
Out of curiosity: What's the use case(s)? duerst (Martin Dürst)
03:15 AM Revision c8d66b5d (git): stringio.c: check range
* ext/stringio/stringio.c (strio_ungetc): raise RangeError instead
of TypeError at too big value, as well as IO#ung...
nobu (Nobuyoshi Nakada)
03:15 AM Revision 853ab866 (git): stringio.c: check character code
* ext/stringio/stringio.c (strio_ungetc): check if the character
code is valid in the encoding. reported by Ahmad ...
nobu (Nobuyoshi Nakada)
03:00 AM Bug #13344 (Closed): Improve performance of Array#sort with block
Array#sort with block will be ~10% faster.
Seems that a performance was reduced at
https://github.com/ruby/ruby/blo...
watson1978 (Shizuo Fujita)
12:49 AM Bug #13343 (Closed): Improve Hash#merge performance
Hash#merge will be faster around 60%.
### Before
~~~
user system total real
Ha...
watson1978 (Shizuo Fujita)
12:47 AM Feature #13342 (Open): Improve yielding block performance
The yielding block will be faster around 9%.
This patch ensures that expand to inline codes in where invoke yielding...
watson1978 (Shizuo Fujita)
12:45 AM Bug #13341 (Closed): Improve performance of implicit type conversion
At least, Array#flatten will be faster around 20%.
Seems that strncmp() & strcmp() in convert_type() are slightly he...
watson1978 (Shizuo Fujita)
12:42 AM Bug #13340 (Closed): Improve performance of Array#sort with float elements
Array#sort with float elements will be over 2 times faster.
### Before
~~~
user system total ...
watson1978 (Shizuo Fujita)
12:14 AM Bug #13338: MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
I recently changed my build system from a dual core notebook to a quad core desktop. On the notebook, I never recall... MSP-Greg (Greg L)
12:11 AM Revision d3cd2e61 (git): link to README.win32 instead of mentioning it in plain text
[Fix GH-1538][ci skip]
Author: Rouan Wilsenach <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang...
znz (Kazuhiro NISHIYAMA)

03/20/2017

08:30 PM Bug #10944 (Closed): Documentation of Array.new w.r.t. element index available to a block
Applied in changeset r58037.
----------
docs for creating arrays
* array.c: [DOC] add example for Array.new with bl...
stomar (Marcus Stollsteimer)
08:17 PM Bug #10944: Documentation of Array.new w.r.t. element index available to a block
Although it's already documented in Array.new, an additional example in the class documentation cannot hurt; so I'll ... stomar (Marcus Stollsteimer)
08:30 PM Revision d6a197ca (git): * 2017-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:30 PM Revision 56abb1cd (git): docs for creating arrays
* array.c: [DOC] add example for Array.new with block and index.
Reported by Don Cruickshank. [ruby-core:68442] [B...
stomar (Marcus Stollsteimer)
08:28 PM Bug #13339 (Closed): Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
This makes ruby 2.4.0 crash on my system (log attached):
```ruby
('a' * 23).encode('utf-16').encode!('utf-8')
``...
buehmann (Andreas Bühmann)
07:42 PM Bug #13338 (Closed): MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
In a MinGW / MSYS2 64 bit build, the following line generates a SEGV in svn 58034 [test/ruby/test_keyword.rb:L373](ht... MSP-Greg (Greg L)
07:30 PM Bug #13321: String#codepoints for one-byte encodings
Thanks! InfraRuby (InfraRuby Vision)
06:36 PM Bug #13337 (Closed): Eval and Later Defined Local Variables
I've noticed the following behavior with eval:
~~~ ruby
def example
eval("foo") # => nil, but would expect a N...
faraz (Faraz Yashar)
05:34 PM Bug #13336 (Closed): Default Parameters don't work
```ruby
def funny(a = true, b: nil)
p a
end
funny([1,2,3]) # => [1,2,3]
funny({k:1}) # => in `funny': unkn...
[email protected] (Herbert Bonaffini)
12:26 PM Bug #12405: Queue doesn't work inside of trap
ruby_2_3 r58036 merged revision(s) 57477,57478,57479. nagachika (Tomoyuki Chikanaga)
12:26 PM Revision e120cc91 (git): merge revision(s) 57477,57478,57479: [Backport #12405]
use TRUE/FALSE.
define rb_thread_sleep_deadly_allow_spurious_wakeup().
* thread.c, thread_sync.c: d...
nagachika (Tomoyuki Chikanaga)
11:45 AM Bug #13326: Forwarding methods to :method_missing produces a warning
Ah, hadn't known about `respond_to_missing?`, thanks for the advise. ojab (ojab ojab)
07:07 AM Feature #13335 (Closed): Gemify mathn
Applied in changeset r58035.
----------
Added initial gemspec for mathn.
[Feature #13335]
hsbt (Hiroshi SHIBATA)
07:05 AM Feature #13335 (Closed): Gemify mathn
mathn is deprecated [Feature #10169] from 2 years ago.
We should extract from stdlib at Ruby 2.5.0.
hsbt (Hiroshi SHIBATA)
07:07 AM Revision 719262ee (git): Added initial gemspec for mathn.
[Feature #13335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:07 AM Feature #10169 (Assigned): It might be better to make Mathn class deprecated
hsbt (Hiroshi SHIBATA)
07:06 AM Feature #13334 (Assigned): Removed deprecated mathn extentions.
hsbt (Hiroshi SHIBATA)
06:57 AM Feature #13334 (Closed): Removed deprecated mathn extentions.
`mathn/complex` and `mathn/rational` is deprecated from 2008. We should remove it before Ruby 3.0 release.
https:/...
hsbt (Hiroshi SHIBATA)
04:53 AM Feature #13333 (Open): block to yield
Currently, blocks can take a block by `do |&block| end` construct.
But the only way to pass a block or a bloc argume...
nobu (Nobuyoshi Nakada)
01:36 AM Revision 57d6dd5a (git): Avoid integer overflow in sprintf()
merged https://github.com/mruby/mruby/commit/ff03a9a61c62340cff62f8e0fdc1a1e8775b6f17
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
01:33 AM Revision f31bb33a (git): sprintf.c: string limits
* sprintf.c (ruby__sfvwrite): use long instead of size_t due to
string limits.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)

03/19/2017

11:48 PM Bug #13326 (Rejected): Forwarding methods to :method_missing produces a warning
When you define `method_missing` method, you should define `respond_to_missing?` method too. nobu (Nobuyoshi Nakada)
01:39 AM Bug #13326: Forwarding methods to :method_missing produces a warning
It would need a special care, I think. nobu (Nobuyoshi Nakada)
11:26 PM Feature #13332: Forwardable#def_instance_delegator nil
I wonder how common such case is.
And you can override delegator/accessor methods by yourself.
nobu (Nobuyoshi Nakada)
10:52 PM Feature #13332 (Feedback): Forwardable#def_instance_delegator nil
I'd like to suggest an extension to the signature of stdlib Forwardable#def_instance_delegator
currently (ruby 2.3...
eike.rb (Eike Dierks)
09:48 PM Bug #13190: [DOC] Fix error for escape sequences in string literals
ruby_2_3 r58032 merged revision(s) 57517. nagachika (Tomoyuki Chikanaga)
09:48 PM Revision 26b9fb47 (git): merge revision(s) 57517: [Backport #13190]
doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must ...
nagachika (Tomoyuki Chikanaga)
09:47 PM Bug #13189: [DOC] Restore class documentation for Struct
ruby_2_3 r58031 merged revision(s) 57522. nagachika (Tomoyuki Chikanaga)
09:46 PM Revision 6781722a (git): merge revision(s) 57522: [Backport #13189]
doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
tha...
nagachika (Tomoyuki Chikanaga)
09:45 PM Bug #13161: [DOC] Enumerable#{min,min_by,max,max_by} didn't mention they return a sorted array
ruby_2_3 r58030 merged revision(s) 57434. nagachika (Tomoyuki Chikanaga)
09:45 PM Revision b334883c (git): merge revision(s) 57434: [Backport #13161]
Enumerable#{min,min_by,max,max_by} [ci skip]
* enum.c: [DOC] Enumerable#{min,min_by,max,max_by} return a sor...
nagachika (Tomoyuki Chikanaga)
09:43 PM Bug #11900: broken encoding of commandline on Windows
ruby_2_3 r58029 merged revision(s) 54785. nagachika (Tomoyuki Chikanaga)
09:43 PM Revision ce6fdd55 (git): merge revision(s) 54785: [Backport #11900]
* ruby.c (process_options): convert -e script to the encoding
given by a command line option on Windows. a...
nagachika (Tomoyuki Chikanaga)
09:36 PM Bug #13306: [DOC] rdoc for IO#puts
I very much think the _output_ record separator was meant, and I suggest the following:
``` diff
diff --git a/io....
stomar (Marcus Stollsteimer)
09:33 PM Bug #11752: Bug in Rational documentation
ruby_2_3 r58028 merged revision(s) 57539. nagachika (Tomoyuki Chikanaga)
09:33 PM Revision 0844dbdc (git): merge revision(s) 57539: [Backport #11752]
rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by T...
nagachika (Tomoyuki Chikanaga)
09:22 PM Bug #8996: pthread_mutex_lock EINVAL
ruby_2_3 r58027 merged revision(s) 57595. nagachika (Tomoyuki Chikanaga)
09:22 PM Revision 84ccd55a (git): merge revision(s) 57595: [Backport #8996]
check thread deadness correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58027 b2dd03c8-39d4-...
nagachika (Tomoyuki Chikanaga)
09:07 PM Bug #12741: Timeout with specified exception class sets cause on error if timeout block is handling an exception when timeout occurs
ruby_2_3 r58026 merged revision(s) 56125,56150. nagachika (Tomoyuki Chikanaga)
09:07 PM Revision 63818379 (git): merge revision(s) 56125,56150: [Backport #12741]
* thread.c (rb_threadptr_raise): set cause from the called thread,
but not from the thread to be interrupte...
nagachika (Tomoyuki Chikanaga)
08:38 PM Bug #10403: `puts` documentation fix
ruby_2_3 r58025 merged revision(s) 57767,57944. nagachika (Tomoyuki Chikanaga)
08:38 PM Revision 250fa1cb (git): merge revision(s) 57767,57944: [Backport #10403]
io.c: documentation for puts
* io.c: [DOC] clarify that the 'record separator' between
arguments p...
nagachika (Tomoyuki Chikanaga)
06:55 PM Bug #13331 (Closed): Inconsistent conversion of Float into Decimal
One would reasonably expect the equality 1.to_d * f == f.t_d to hold for every Float value f, i.e. multiplying by Dig... msatkiewicz (Maciej Satkiewicz)
03:01 PM Bug #9127 (Closed): URI::Generic#normalize documentation is vague.
Applied in changeset r58023.
----------
improve docs for URI::Generic
* lib/uri/generic.rb: [DOC] expand docs for U...
stomar (Marcus Stollsteimer)
03:01 PM Revision f956ed10 (git): * 2017-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 58c3935e (git): improve docs for URI::Generic
* lib/uri/generic.rb: [DOC] expand docs for URI::Generic#normalize
to clarify what normalization means here.
Repo...
stomar (Marcus Stollsteimer)
02:29 PM Bug #13325: Block is not passed to Symbol proc if using refinements
ruby_2_4 r58022 merged revision(s) 58015. naruse (Yui NARUSE)
02:29 PM Revision dd6be57d (git): merge revision(s) 58015: [Backport #13325]
vm_args.c: pass block
* vm_args.c (refine_sym_proc_call): pass block to the method when
using refi...
naruse (Yui NARUSE)
12:46 PM Revision f30ed02b (git): sprintf.c: use FILL
* sprintf.c (rb_str_format): use FILL and FILL_ macros instead of
while loop.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
11:20 AM Bug #13330: Array.include? is slow for symbols
Created PR with a fix https://github.com/ruby/ruby/pull/1540 pawelniewie (Pawel Niewiadomski)
11:19 AM Bug #13330 (Closed): Array.include? is slow for symbols
Looking at the code I noticed that [:test].include?(:test) goes through a general path instead using an optimised ver... pawelniewie (Pawel Niewiadomski)
09:56 AM Bug #10936: Error in Rubydoc for DateTime#rfc3339
Fixed. The actually used format is "%FT%T%:z". stomar (Marcus Stollsteimer)
09:51 AM Bug #10936 (Closed): Error in Rubydoc for DateTime#rfc3339
Applied in changeset r58020.
----------
date_core.c: fix error in DateTime docs
* ext/date/date_core.c: [DOC] fix f...
stomar (Marcus Stollsteimer)
09:51 AM Revision d8bf1785 (git): date_core.c: fix error in DateTime docs
* ext/date/date_core.c: [DOC] fix format string for DateTime#rfc3339.
Reported by Andreas Rayo Kniep. [ruby-core:6...
stomar (Marcus Stollsteimer)
08:11 AM Misc #13329 (Closed): Creating a German ruby mailinglist on ruby-lang.org?
Hi everyone,
I have emailed [email protected] and opened [a ticket on the website's GitHub repo](https://git...
Quintus (Marvin Gülker)
05:10 AM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
red (Arnaud Rouyer) wrote:
> Basing myself on the GNU ls util, I propose supporting an `:ignore` key in the optional...
olivierlacan (Olivier Lacan)
05:05 AM Bug #13235: [BUG] Segmentation fault at 0x00000000000038
If required...
~~~
~/Library/Logs/DiagnosticReports $ cat ruby_2017-03-19-084425_Geordees-MacBook-Pro.crash
Proc...
geordee (Geordee Naliyath)
04:58 AM Bug #13235: [BUG] Segmentation fault at 0x00000000000038
I can confirm the same error. Ruby 2.4.0, Mongo 2.4.1, Darwin. While looping through CSV file to load data into MongoDB. geordee (Geordee Naliyath)
01:44 AM Bug #13276 (Assigned): Dir.glob returns empty array when OS has no more file handles (expected exception)
This bug predates 1.0, so it will be fixed by 2.5 but won't be backported. nobu (Nobuyoshi Nakada)
01:37 AM Bug #13328 (Third Party's Issue): Implement OpenSSL::SSL::SSLContext#initialize_copy
Please open an issue at https://github.com/ruby/openssl when reporting bugs of ext/openssl.
This is however not a ...
rhenium (Kazuki Yamaguchi)
01:34 AM Bug #13327 (Third Party's Issue): Segfault on OSX when using ffi-aspell
A bug in ffi-aspell or (less probably) aspell library.
FFI can very easily cause segfault.
nobu (Nobuyoshi Nakada)
01:11 AM Bug #12705 (Closed): yielding args to a lambda uses block/proc rather than lambda/method semantics
Applied in changeset r58019.
----------
vm_args.c: arity check of lambda
* vm_eval.c (rb_yield_lambda): new functio...
nobu (Nobuyoshi Nakada)
01:11 AM Revision 976becf7 (git): vm_args.c: arity check of lambda
* vm_eval.c (rb_yield_lambda): new function which yields an array
to a proc and splat to a lambda. mainly for Enum...
nobu (Nobuyoshi Nakada)

03/18/2017

08:48 PM Bug #13328 (Third Party's Issue): Implement OpenSSL::SSL::SSLContext#initialize_copy
Starting in Ruby 2.4, an `OpenSSL::SSL::SSLContext` cannot be dup'ed or cloned:
```
[1] pry(main)> require 'opens...
kylekyle (Kyle King)
06:43 PM Bug #13327 (Third Party's Issue): Segfault on OSX when using ffi-aspell
Issue: Segfault on OSX when using ffi-aspell set method
Reproducable test case:
~~~ ruby
require 'ffi/aspell';...
petems (Peter Souter)
04:00 PM Bug #13326 (Rejected): Forwarding methods to :method_missing produces a warning
Since 2.4 forwarding methods to private methods is deprecated (https://bugs.ruby-lang.org/issues/12782) and `method_m... ojab (ojab ojab)
03:58 PM Revision a9d575e5 (git): test_lambda.rb: remove duplcate tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 PM Revision a633115f (git): * 2017-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision 1de013b3 (git): test_lambda.rb: refine test
* test/ruby/test_lambda.rb (test_lambda_as_iterator): refine a
test for the intention of the original report.
[ru...
nobu (Nobuyoshi Nakada)
02:22 PM Bug #13325 (Closed): Block is not passed to Symbol proc if using refinements
Applied in changeset r58015.
----------
vm_args.c: pass block
* vm_args.c (refine_sym_proc_call): pass block to the...
nobu (Nobuyoshi Nakada)
02:14 PM Bug #13325 (Closed): Block is not passed to Symbol proc if using refinements
The following code raises a `LocalJumpError` at the last line on 2.4 and trunk.
2.3 and earlier work fine.
```rub...
nobu (Nobuyoshi Nakada)
02:22 PM Revision 49455d6c (git): vm_args.c: pass block
* vm_args.c (refine_sym_proc_call): pass block to the method when
using refinements. [ruby-core:80219] [Bug #13325...
nobu (Nobuyoshi Nakada)
01:15 PM Revision adb3f250 (git): vm.c: fix up r58012
* vm.c (invoke_iseq_block_from_c): fix stack region length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58014 ...
nobu (Nobuyoshi Nakada)
12:50 PM Bug #13276: Dir.glob returns empty array when OS has no more file handles (expected exception)
Bump? floehopper (James Mead)
12:04 PM Bug #13198: Tempfile#size is nil when nothing is written, expected 0
ruby_2_4 r58013 merged revision(s) 57972. naruse (Yui NARUSE)
12:02 PM Revision 8be9bd48 (git): merge revision(s) 57972: [Backport #13198]
Fix bug of Tempfile#size if nothing is written [Bug #13198]
* lib/tempfile.rb (Tempfile#size): Fix its behav...
naruse (Yui NARUSE)
11:29 AM Revision 7768312c (git): vm.c: guard arguments [EXPERIMENTAL]
* vm.c (invoke_iseq_block_from_c): guard arguments on stack, not
to be clobbered during splatting.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
10:37 AM Revision 655aa318 (git): .gdbinit: suppress gdb message [ci skip]
* .gdbinit (rp): check number of instance variables to get rid of
"Invalid number 0 of repetitions." message at an...
nobu (Nobuyoshi Nakada)
10:19 AM Revision c85cdc12 (git): .gdbinit: RArray in history [ci skip]
* .gdbinit (rp): put the contents of RArray in value history, for
later use.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
01:50 AM Bug #13321: String#codepoints for one-byte encodings
InfraRuby (InfraRuby Vision) wrote:
> Please update the documentation for `String#codepoints` too.
That says "Thi...
duerst (Martin Dürst)
01:35 AM Revision a5330fa9 (git): fix accidental reversal of r57997 in r58000
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)

03/17/2017

09:25 PM Bug #13321: String#codepoints for one-byte encodings
@duerst, @normal
r58000 accidentally reverts r57997 ("deduplicate static rb_str_format format strings") for `strin...
stomar (Marcus Stollsteimer)
06:39 PM Bug #13321: String#codepoints for one-byte encodings
Please update the documentation for `String#codepoints` too.
`String#codepoints` does return (Unicode) codepoints ...
InfraRuby (InfraRuby Vision)
04:00 AM Bug #13321: String#codepoints for one-byte encodings
I tried to improve the documentation with r58000. Please tell me if that helps, or if further explanations are needed. duerst (Martin Dürst)
03:10 AM Bug #13321: String#codepoints for one-byte encodings
That's surprising to me but I can see that. Thanks! InfraRuby (InfraRuby Vision)
01:11 AM Bug #13321 (Rejected): String#codepoints for one-byte encodings
0x20AC is euro sign in Unicode, it is 0x80 in Windows-1252. nobu (Nobuyoshi Nakada)
09:04 PM Bug #9294 (Closed): Documentation for IO#read claims resulting string is always ASCII-8BIT encoding
steenslag (siep korteling) wrote:
> Documentation for IO#read claims resulting string is always ASCII-8BIT encoding....
stomar (Marcus Stollsteimer)
08:48 PM Revision fbaee79e (git): io.c: improve docs
* io.c: [DOC] improve and harmonize docs for IO#read and ARGF#read;
fix invalid example code for IO#read to make it...
stomar (Marcus Stollsteimer)
07:59 PM Revision b15f8473 (git): * 2017-03-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 PM Revision cad45910 (git): remove branches in dmark and dfree GC callbacks
dmark and dfree callbacks are never called in gc.c for NULL
DATA_PTR values, not even for zombie objects.
* compile....
Eric Wong
04:02 PM Bug #13324: IRB Segmentation Fault from eval infinite loop
The command I use to run it directly on the ruby interpreter is ruby -e "a = \"eval a\"; eval a" [email protected] (Sean Rodman)
04:01 PM Bug #13324 (Rejected): IRB Segmentation Fault from eval infinite loop
I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and whe... [email protected] (Sean Rodman)
03:25 PM Bug #13107: def_delegators causes random errors in MRI 2.4.0
[email protected] (Thomas Walpole) wrote:
> This appears to be fixed in latest trunk now. Is there any info on whe...
Benoit_Tigeot (Benoit Tigeot)
01:32 PM Bug #13323 (Third Party's Issue): bug - workers - postgresql listen/notify
xxxxxxxxxxxxxx.rb:148: [BUG] Segmentation fault at 0x0055f42ff34a70
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_...
arcadio (Arcadio Ortega Reinoso)
01:24 PM Revision 3a55e8a4 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:08 AM Revision f31307d1 (git): vm.c: check stack
* vm.c (invoke_iseq_block_from_c): check stack overflow before
pushing arguments.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:06 AM Bug #13313: Segmentation fault when calling Thread.new with Symbol proc shorthand
ruby_2_4 r58003 merged revision(s) 57968,57969,57970. naruse (Yui NARUSE)
07:06 AM Revision 147107ce (git): merge revision(s) 57968,57969,57970: [Backport #13313]
thread.c: thread_do_start
* thread.c (thread_do_start): extract from a macro in
thread_start_func_...
naruse (Yui NARUSE)
05:00 AM Feature #12973: [RFC] net/http: use require_relative to reduce syscalls
I remember there was a similar issue https://bugs.ruby-lang.org/issues/8781. shyouhei (Shyouhei Urabe)
01:08 AM Feature #12973: [RFC] net/http: use require_relative to reduce syscalls
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/12973

Comments? Maybe I'll commit this, soon.
...
normalperson (Eric Wong)
01:08 AM Feature #12973 (Assigned): [RFC] net/http: use require_relative to reduce syscalls
hsbt (Hiroshi SHIBATA)
04:44 AM Revision 97c77bac (git): merge revision(s) 57956:
Raise error if spec is nil
With parallel test-all, the spec is sometimes nil.
To debug it raise more...
naruse (Yui NARUSE)
04:36 AM Bug #13322: Backport rubygems-2.6.11 for Ruby 2.4.1
ruby_2_4 r58001 merged revision(s) 57523,57998. naruse (Yui NARUSE)
01:17 AM Bug #13322 (Closed): Backport rubygems-2.6.11 for Ruby 2.4.1
rubygems-2.6.10 has a regression for installation of a beta version.
https://github.com/rubygems/rubygems/pull/185...
hsbt (Hiroshi SHIBATA)
04:36 AM Revision 1492c6f6 (git): merge revision(s) 57523,57998: [Backport #13322]
test_gem.rb: exclude default gems
* test/rubygems/test_gem.rb: check difference to exclude default
...
naruse (Yui NARUSE)
02:24 AM Revision 67c11978 (git): clarifiy 'codepoint' in documentation of String#each_codepoint
Make sure it's clear that the returned values are not Unicode codepoints
for encodings other than UTF-8/UTF-16(BE|LE)...
duerst (Martin Dürst)
01:29 AM Revision 77e1c20b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:29 AM Revision fa59a2ea (git): Merge rubygems-2.6.11
This version fixed regression of rubygems-2.6.10.
https://github.com/rubygems/rubygems/pull/1856
See details of ...
hsbt (Hiroshi SHIBATA)
12:55 AM Revision 9eb94b4d (git): deduplicate static rb_str_format format strings
Anybody who hits these code paths can hit them again in the
future, so try deduplicating across multiple runs of thes...
Eric Wong
12:55 AM Revision 312ac7f0 (git): deduplicate File::NULL string
"/dev/null" is a common sight for pre-1.9.3-compatible code
targeting *nix systems, so deduplicate it here, as well.
...
Eric Wong
12:55 AM Revision 05404cba (git): deduplicate "/", ":" and "\n" strings
"/" and ":" are always statically registered in symbol.c (Init_op_tbl),
and "\n" is a commonly seen in source code.
...
Eric Wong
12:35 AM Bug #13271: Clarifications on refinement spec
Gondolin (Damien Robert) wrote:
> shugo (Shugo Maeda) wrote:
> > The behavior was changed by Feature #8571.
>
> ...
shugo (Shugo Maeda)
 

Also available in: Atom