Project

General

Profile

Activity

From 06/19/2017 to 06/25/2017

06/25/2017

10:08 AM Feature #10771: An easy way to get the source location of a constant
jeremy.phelps@instacart.com wrote:
> I've got a patch ready for this, but I have no idea how to
> submit it. There are serious contradictions in this page:
>
> https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute
>
> It s...
normalperson (Eric Wong)
09:08 AM Feature #10771: An easy way to get the source location of a constant
I've got a patch ready for this, but I have no idea how to submit it. There are serious contradictions in this page:
https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute
It says that the changes should be against "the trun...
jphelps (Jeremy Phelps)
08:55 AM Revision 04b3328c (git): compile.c: fix_sp_depth
* compile.c (fix_sp_depth): separate fix-up of sp depth from code
generation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:10 AM Bug #13678 (Closed): toplevel return causes [BUG]
Applied in changeset trunk|r59169.
----------
compile.c: toplevel return in argument
* compile.c (iseq_compile_each0): adjust the stack before return
in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>)
to fix stack consi...
nobu (Nobuyoshi Nakada)
05:10 AM Revision 21637abf (git): * 2017-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 AM Revision 8f1c93f4 (git): compile.c: toplevel return in argument
* compile.c (iseq_compile_each0): adjust the stack before return
in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>)
to fix stack consistency error. [ruby-core:81761] [Bug #13678]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
01:24 AM Bug #13679 (Third Party's Issue): ruby crash
```
/opt/local/ruby-2.3.4/bin/ruby(sigsegv+0x3e) [0x55bda632f12e] signal.c:890
/lib/x86_64-linux-gnu/libpthread.so.0 [0x7f1a04d960c0]
/opt/local/ruby-2.3.4/lib/ruby/gems/2.3.0/gems/ox-2.4.11/ext/ox/ox.so(parse+0xf8d) [0x7f19fbf2b5cd] ...
nobu (Nobuyoshi Nakada)

06/24/2017

07:02 PM Bug #13679 (Third Party's Issue): ruby crash
```
[-] [framework/parts/audit#audit_page:90] [operation_timedout] Timeout was reached
/opt/arachnidev/arachni/lib/arachni/parser.rb:70: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-...
lacrouteserge (serge lacroute)
05:36 PM Feature #13677: Add more details to error "Name or service not known (SocketError)"
In general I agree that error messages should be as useful as possible.
(By the way, I think if you indent ruby code here in the bug tracker with four space tokens
on the left side aka ' ', colouring will be enabled. Would make it...
shevegen (Robert A. Heiler)
02:55 PM Bug #13678 (Closed): toplevel return causes [BUG]
Attached script causes [BUG] Stack consistency error (sp: 7, bp: 6)
shyouhei (Shyouhei Urabe)
12:01 PM Revision d389625a (git): Added version guards [Bug #12684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:35 AM Bug #12684 (Closed): Delegator#eql? missing
Applied in changeset trunk|r59167.
----------
Delegate to `eql?` [Fix GH-1564]
* lib/delegate.rb (eql?): Delegate to `eql?` of the inner object.
based on the patch by giginet <giginet.net@gmail.com>.
[ruby-core:76950] [Bug #12684]
nobu (Nobuyoshi Nakada)
03:35 AM Revision 3c45a789 (git): Delegate to `eql?` [Fix GH-1564]
* lib/delegate.rb (eql?): Delegate to `eql?` of the inner object.
based on the patch by giginet <giginet.net@gmail.com>.
[ruby-core:76950] [Bug #12684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59167 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
01:44 AM Revision dc62793a (git): mspec.rb: keep jobserver fds
* spec/mspec/lib/mspec/commands/mspec.rb (MSpecMain#run): do not
close jobserver FDs for mspec-run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/23/2017

09:28 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
Thank you @rhenium - I had not realized that openssl is packaged differently for Ruby 2.4
I have a pull request open to Puppet to address the problem by building / installing the openssl gem - https://github.com/puppetlabs/puppet/pull...
Iristyle (Ethan Brown)
08:59 PM Misc #13673 (Closed): minor correction to Queue docs
Applied in changeset trunk|r59165.
----------
thread_sync.c: fix documentation for Queue#close
When Queue#closed? is true, using push/enq/<< will raise an
exception, and not return nil.
* thread_sync.c: fix documentation for Queue#clo...
Anonymous
09:59 AM Misc #13673 (Closed): minor correction to Queue docs
When Queue#closed? is true, using push/enq/<< will raise an exception. Not return nil. djellemah (John Anderson)
08:59 PM Revision b11350d6 (git): thread_sync.c: fix documentation for Queue#close
When Queue#closed? is true, using push/enq/<< will raise an
exception, and not return nil.
* thread_sync.c: fix documentation for Queue#close
Thanks to John Anderson. [ruby-core:81749] [Misc #13673]
git-svn-id: svn+ssh://ci.ruby-lan...
Eric Wong
04:51 PM Feature #13677 (Feedback): Add more details to error "Name or service not known (SocketError)"
ruby version: `ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]`
ruby script:
~~~ ruby
require 'socket'
TCPSocket.new 'nonexistent.example.com', 80
~~~
Result: `getaddrinfo: Name or service not known (SocketError)`
...
dsbonev (Dimitar Bonev)
03:57 PM Bug #13675: Should Zlib::GzipReader#ungetc accept nil?
I like symmetry. :) shevegen (Robert A. Heiler)
12:42 PM Bug #13675 (Closed): Should Zlib::GzipReader#ungetc accept nil?
IO#ungetc accepts nil and just does nothing:
p File.new(__FILE__).ungetc(nil)
But on a GzipReader it fails:
require 'zlib'
zip = "\x1F\x8B\b\x00,\xDC\xD1G\x00\x0334261MLJNI\x05\x00\x9D\x05\x00$\n\x00\x00\x00"
i...
Eregon (Benoit Daloze)
03:55 PM Feature #13676: to_s method is not overriden for Set
I have no pro or con opinion. I did however had want to compare Set to Array and the two behave differently.
```ruby
require 'pp'
require 'set'
s1 = Set.new
s1<<'tic'<<'tac'
puts s1.to_s
pp s1
ar...
shevegen (Robert A. Heiler)
01:57 PM Feature #13676: to_s method is not overriden for Set
> What do you want to do?
> ...
Isn't it just a decent behavior for any value object to have a readable `to_s` representation?.. Say, for cases like puts-debugging (`puts "Comparing #{set1} to #{set2}..."`) or developer-friendly error m...
zverok (Victor Shepelev)
01:47 PM Feature #13676: to_s method is not overriden for Set
nobu (Nobuyoshi Nakada) wrote:
> What do you want to do?
> ...
I'm printing several sets in my erb. It would be nice have such **to_s** behaviour by default, eliminating the need to call **to_a** on each of them before print
razor (Marat Chardymov)
01:17 PM Feature #13676 (Feedback): to_s method is not overriden for Set
What do you want to do?
If you want a list of the elements, use `to_a`.
If you want to see what elements it has, use `inspect`.
nobu (Nobuyoshi Nakada)
01:09 PM Feature #13676 (Closed): to_s method is not overriden for Set
When I call
~~~ ruby
s1 = Set.new
s1<<'tic'<<'tac'
s1.to_s
~~~
I'd expect ['tic', 'tac'] values being printed, not "#<Set:0x0055f331076348>"
razor (Marat Chardymov)
03:08 PM Revision 88c3bc2c (git): * 2017-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision ebf1da9d (git): test_command_processor.rb: add suffix
* test/shell/test_command_processor.rb (test_option_type): Windows
needs a suffix to execute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:21 PM Bug #13674 (Closed): BigDecimal comparison with Float::INFINITY is erroneous in 2.2.x and 2.3.x
BigDecimal("-0.2E5556") > -Float::INFINITY
returns wrong results in MRI 2.2.x and 2.3.x:
for ruby in 2.0.0-p647 2.1.7 2.2.3 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 trunk; do chruby $ruby; ruby -v -rbigdecimal ...
Eregon (Benoit Daloze)
11:56 AM Revision af4ba5c1 (git): parse.y: should not warn op method call
* parse.y (void_expr_gen): should warn operator expression style
calls only, but not method style calls. [Fix GH-1660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:47 AM Bug #13663: `String#upto` doesn't work as expected
I'm not asking for consistency between `String#succ` and `String#<=>` (although that would be desirable). I do understand that the discrepancy may result in surprising results when generating sequences via `Range` because `Range` relies ... sos4nt (Stefan Schüßler)
11:20 AM Bug #13672 (Closed): Garbage input hangs ruby (not responding ^C)
Applied in changeset trunk|r59161.
----------
parse.y: check multibyte char
* parse.y (parser_precise_mbclen): check invalid multibyte char at
skipping strings following `?x` literal string, not to stuck in
a infinite loop. [ruby-...
nobu (Nobuyoshi Nakada)
08:30 AM Bug #13672 (Closed): Garbage input hangs ruby (not responding ^C)
Passing the attached file makes hang.
```
ruby hang.rb
```
shyouhei (Shyouhei Urabe)
11:20 AM Revision d3916973 (git): parse.y: check multibyte char
* parse.y (parser_precise_mbclen): check invalid multibyte char at
skipping strings following `?x` literal string, not to stuck in
a infinite loop. [ruby-core:81746] [Bug #13672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59...
nobu (Nobuyoshi Nakada)
11:15 AM Revision f61e8084 (git): vm_core.h: sandwich jmpbuf
* vm_core.h (rb_vm_tag): move jmpbuf which should be stored at the
last in TH_PUSH_TAG, between tag and state so ensure to be
accessible. reapplied r40806.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59160 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
09:43 AM Revision 4a4627fb (git): move "state" to rb_vm_tag.
* vm_core.h (rb_thread_t::tag_state): move to "rb_vm_tag::state".
Lifetime of "state" should be same as current tag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:49 AM Bug #13671: Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
did some checks on my windows system to check how deep the problem is.
i used "ä" as variable.
the same problem happens when you try to use match function too:
`/(?<!ass)/i.match('ä')`
also happen for
`Regexp.union(/(?<!ass)/i, /ä...
Hanmac (Hans Mackowiak)
08:48 AM Revision a64801c1 (git): rename th->state to th->tag_state.
* vm_core.h (rb_thread_t): rename rb_thread_t::state to tag_state
to make it clear.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:48 AM Bug #13155: Segfault testing Pry
This was triggered again during automatic rebuild of Fedora's Pry package
https://apps.fedoraproject.org/koschei/build/2977931
and it also failed in my subsequent build. See the attached logs. So 2.4.1 is still affected :/
vo.x (Vit Ondruch)
08:24 AM Revision a90c696b (git): rb_catch_protect() accepts enum ruby_tag_type *.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:53 AM Revision 769ef81a (git): thread.c: suppress warning
* thread.c (exec_recursive): rb_catch_protect() uses `int*` as
well as rb_protect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:25 AM Revision 2108e55c (git): use "enum ruby_tag_type" and TAG_NONE.
Return value of EXEC_TAG() is saved by "int state".
Instead of "int", use "enum ruby_tag_type". First EXEC_TAG()
value should be 0, so that define TAG_NONE (= 0) and use it.
Some code used "status" instead of "state". To make them clear...
ko1 (Koichi Sasada)
05:55 AM Revision 1d248f04 (git): use NULL instead of 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:52 AM Revision 931cc441 (git): skip on other threads (again).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:50 AM Revision 23206859 (git): revert r59151 which introduce failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:45 AM Revision 25566b05 (git): skip on other threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:20 AM Feature #2631: Allow IO#reopen to take a block
It was thoughtless. Let me revert it. Glass_saga (Masaki Matsushita)
03:38 AM Feature #2631 (Assigned): Allow IO#reopen to take a block
Glass_saga (Masaki Matsushita)
03:38 AM Feature #2631 (Closed): Allow IO#reopen to take a block
Glass_saga (Masaki Matsushita)
04:19 AM Revision 2fd3a2e2 (git): Revert "Allow IO#reopen to take a block"
This reverts r59142.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
01:43 AM Revision 02fa3456 (git): vm_insnhelper.c: vm_stack_consistency_error
* vm_insnhelper.c (vm_stack_consistency_error): extracted from
insns.def for further info in the future.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:29 AM Revision 83d1fdee (git): * 2017-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:29 AM Revision 6dc924b6 (git): refinements.rdoc: [DOC] improved [Fix GH-1659]
* doc/syntax/refinements.rdocrefinements.rdoc: grammatical
correction and code highlighting improved
* doc/syntax/refinements.rdocrefinements.rdoc: Fixnum replaced
with Integer and Integer with Numeric
Author: Shiva Bhusal <shiv...
nobu (Nobuyoshi Nakada)

06/22/2017

11:28 PM Bug #13671 (Closed): Regexp with lookbehind and case-insensitivity raises RegexpError only on strings with certain characters
Here is a test program:
~~~ ruby
def test(description)
begin
yield
puts "#{description} is OK"
rescue RegexpError
puts "#{description} raises RegexpError"
end
end
test("ass, case-insensitive, special") { /...
dschweisguth (Dave Schweisguth)
06:02 PM Bug #13670 (Closed): [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
On using the library bootsnap the error occurred (see attachment). The developer of the library suggested to report this directly to the ruby-devs, as it looks like a bug in core. Related issue on GitHub: https://github.com/Shopify/boots... mrohnstock (Mathias Rohnstock)
12:53 PM Revision ae6ebbb3 (git): fix mortal_dynamic_symbol count
* test/objspace/test_objspace.rb (test_count_symbols): exclude a
dynamic symbol which has been turned into immortal by
define_method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:56 AM Revision b906f788 (git): Fix exception type in option type checker
* lib/shell/system-command.rb (SystemCommand#initialize):
`def_e2message` wraps error message, but does not define new exception
* test/shell/test_command_processor.rb: add a test
This patch is authored by Kenichi Kamiya <kachick1@gm...
Glass_saga (Masaki Matsushita)
08:37 AM Revision eb3ca699 (git): use --dump option for parse rule.
* common.mk: use --dump=--dump=parsetree_with_comment,insns
instead of tool/parse.rb. maybe nobody use this option so that
I believe it is enough. previous "parse" rule doesn't run script
but patched parse rule runs specified scrip...
ko1 (Koichi Sasada)
08:35 AM Feature #2631 (Open): Allow IO#reopen to take a block
匿名ユーザー wrote:
> Applied in changeset trunk|r59142.
> ...
This patch looks doesn't recover the original $stdout.
Morever though this was approved before, this is strange because block changes global state.
If this is introduced in 7...
naruse (Yui NARUSE)
06:50 AM Feature #2631 (Closed): Allow IO#reopen to take a block
Applied in changeset trunk|r59142.
----------
Allow IO#reopen to take a block
* io.c (rb_io_reopen): take a block and ensure the IO closed
[Feature #2631]
* test/ruby/test_io.rb: add a test
* NEWS: add an entry for this change
Anonymous
08:33 AM Revision dc44df8a (git): try to fix symbol duplication.
* test/objspace/test_objspace.rb (test_count_symbols): make more complex dynamic
symbols to avoid conflict with other existing static symbols.
Sometimes this test fails with "mortal_dynamic_symbol=>127".
git-svn-id: svn+ssh://ci.r...
ko1 (Koichi Sasada)
07:51 AM Feature #9145: Queue#pop(true) return nil if empty instead of raising ThreadError
glass.saga@gmail.com wrote:
> Issue #9145 has been updated by Glass_saga (Masaki Matsushita).
>
> Status changed from Feedback to Closed
>
> Currently, Queue#pop takes non_block flag.

No, I don't think this should be closed.
...
normalperson (Eric Wong)
07:23 AM Feature #9145 (Closed): Queue#pop(true) return nil if empty instead of raising ThreadError
Currently, Queue#pop takes non_block flag. Glass_saga (Masaki Matsushita)
07:01 AM Feature #6129 (Closed): String#each_lineにおけるmemmem()の利用
trunkでは既にrb_memsearch()を利用するようになっているため、このチケットは閉じます。 Glass_saga (Masaki Matsushita)
06:50 AM Revision f1b7003f (git): Allow IO#reopen to take a block
* io.c (rb_io_reopen): take a block and ensure the IO closed
[Feature #2631]
* test/ruby/test_io.rb: add a test
* NEWS: add an entry for this change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59142 b2dd03c8-39d4-4d8f-98ff-823...
Glass_saga (Masaki Matsushita)
06:42 AM Revision 2a46ba94 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:42 AM Revision de2ae27b (git): introduce heap_allocatable_pages_set().
* gc.c (heap_allocatable_pages_set): added. This function set
heap_allocatable_pages and sorted_list atomically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:51 AM Revision a48fecd3 (git): catch up frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:03 AM Revision f736cf32 (git): introduce GC_ASSERT().
* gc.c (GC_ASSERT()): added. GC_ASSERT() is similar to VM_ASSERT in
vm_core.h but turn on by RGENGC_CHECK_MODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:18 AM Feature #12733: Bundle bundler to ruby core
> the test suite also needs connection to internet to succeed
The Bundler test suite no longer requires an internet connection to succeed.
> ...
I am not sure what is needed for this, but I would like to help figure out what would ...
indirect (André Arko)
01:00 AM Bug #12670 (Closed): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
Applied in changeset trunk|r59136.
----------
gc.c: expand sorted pages
* gc.c (heap_page_allocate): expand sorted pages before inserting
allocated new page. [Bug #12670]
nobu (Nobuyoshi Nakada)
12:59 AM Revision d0b8fa73 (git): * 2017-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:59 AM Revision 7a1c10ba (git): gc.c: expand sorted pages
* gc.c (heap_page_allocate): expand sorted pages before inserting
allocated new page. [Bug #12670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/21/2017

12:51 PM Revision ea57d846 (git): gc.c: FL_CHECK2
* gc.c (FL_TEST2, FL_SET2, FL_UNSET2): make error messages
consitent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:06 AM Revision 5dc1055a (git): * NEWS: Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:42 AM Feature #13665: String#delete_suffix
I think the method's functionality is good to have. shevegen (Robert A. Heiler)
07:43 AM Feature #12694 (Closed): Want a String method to remove heading substr
Applied in changeset trunk|r59132.
----------
string.c: add String#delete_prefix and String#delete_prefix!
to remove leading substr [Feature #12694] [fix GH-1632]
* string.c (rb_str_delete_prefix_bang): add a new method
to remove pre...
sonots (Naotoshi Seo)
07:43 AM Revision 0d036505 (git): test/ruby/test_string.rb: add tests to chomp substr
* test/ruby/test_string.rb (TestString#test_chomp): add tests
to chomp substr
* test/ruby/test_string.rb (TestString#test_chomp!): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sonots (Naotoshi Seo)
07:43 AM Revision 10082360 (git): string.c: add String#delete_prefix and String#delete_prefix!
to remove leading substr [Feature #12694] [fix GH-1632]
* string.c (rb_str_delete_prefix_bang): add a new method
to remove prefix destuctively.
* string.c (rb_str_delete_prefix): add a new method
to remove prefix non-destuctively.
...
sonots (Naotoshi Seo)
04:34 AM Revision 6af65025 (git): RUBY_DEVEL flag
* configure.in: define RUBY_DEVEL only in the trunk.
* gc.c: enable runtime rgengc debug if RUBY_DEVEL
* ruby.c (debug_option): enable RUBY_DEBUG in --debug option only
if RUBY_DEVEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)
03:27 AM Revision 5682bfe2 (git): configure.in: use AS_IF
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:44 AM Revision 793f5d8f (git): ruby.c: debug options in command line
* ruby.c (debug_option): parse options in --debug command line
option same as RUBY_DEBUG env. available only in the trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Bug #13669 (Closed): Enumerable#uniq is ignoring second and following block arguments
Applied in changeset trunk|r59128.
----------
Fix Enumerable#uniq with non single yield arguments
* enum.c (uniq_func, uniq_iter): need packed value as the unique
key. [ruby-core:81734] [Bug #13669] [Fix GH-1658]
Author: Kenichi...
nobu (Nobuyoshi Nakada)
02:25 AM Revision 9cacc53d (git): Fix Enumerable#uniq with non single yield arguments
* enum.c (uniq_func, uniq_iter): need packed value as the unique
key. [ruby-core:81734] [Bug #13669] [Fix GH-1658]
Author: Kenichi Kamiya <kachick1@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59128 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 5eec76bc (git): KNOWNBUGS.rb: hung up on linux
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:34 AM Revision ed908e5c (git): KNOWNBUGS.rb: deferred free
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:34 AM Revision 477d1159 (git): bootstraptest/runner.rb: keyword argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

06/20/2017

07:17 PM Bug #13669 (Closed): Enumerable#uniq is ignoring second and following block arguments
github: https://github.com/ruby/ruby/pull/1658
```ruby
enum = Object.new.to_enum
class << enum
def each
yield
yield nil
yield 0
yield 1
yield 0, :LABEL
yield [0, :LABEL]
yield 1, :LABEL
yie...
kachick (Kenichi Kamiya)
07:11 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
samuel@oriontransfer.org wrote:
> I appreciate what you said about multi-thread multi-fiber
> execution using your proposed reactor design. I think it's
> good and it's probably better than libev. It's excellent that
> you have thou...
normalperson (Eric Wong)
03:23 PM Revision 1530dce8 (git): * 2017-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:23 PM Revision 6f199eb8 (git): Use a file under tmp for File.real{,dir}path specs on Windows
* The source file path could have pre-existing symlinks.
* See https://github.com/ruby/spec/issues/445.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
11:43 AM Revision 8ae9de37 (git): Fixed missing handling for frozen object at r59121.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:10 AM Revision d5f86e83 (git): Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:23 AM Revision b589c478 (git): gc.c: add newline to report [ci skip]
* gc.c (gc_sweep_finish): gc_report format should end with a
newline, as gc_report_body does not append it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Feature #13434: better method definition in C API
nobu@ruby-lang.org wrote:
> I don't like "mini-language" which needs a parser.

OK, what about an API similar to pthread_attr_set*?

Hash#[]=

rb_method_attr_set_required(&attr, 0);
rb_method_attr_set_const(&attr, 0);
rb_met...
normalperson (Eric Wong)
05:34 AM Revision 90846d7f (git): * 2017-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:34 AM Revision 4d932a68 (git): skip unresolved issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:30 AM Feature #13668 (Third Party's Issue): Show / log test-all skips in CI here or at http://rubyci.org/ ?
Maybe consideration could be given to having CI here or at http://rubyci.org/ show/log skips. Skip logs led me to an issue with MinGW and RubyGems tests, as there was some code that hard coded 'git' instead of using a variable tied to E... MSP-Greg (Greg L)
12:08 AM Feature #13667 (Assigned): Add Coverage.running? to quickly check if Coverage is enabled.
hsbt (Hiroshi SHIBATA)

06/19/2017

10:46 PM Feature #13657: Simplify usage of Enumerable#reject
I guess this request is a variant of https://bugs.ruby-lang.org/issues/11286 (if not identical). You would like to join the thread which is still open, i.e there are chances to introduce your request. shyouhei (Shyouhei Urabe)
03:28 PM Feature #13657: Simplify usage of Enumerable#reject
Great! You're right, that will accomplish this _exactly_.
Do you see any hope in adding this functionality to `#reject` regardless of the existence of `#grep_v`?
This other method is difficult to make sense of unless the developers a...
JustJosh (Joshua Stowers)
10:32 PM Feature #11105: ES6-like hash literals
+1
While it might be odd or new for some, using this in ES6 has been very nice. I am often wishing this was supported in Ruby. The cognitive load is so much nicer and less redundant.
I wish it could be reconsidered.
tleish (Tony Fenleish)
07:39 PM Feature #13667 (Closed): Add Coverage.running? to quickly check if Coverage is enabled.
Since we can't `RubyVM::InstructionSequence#to_binary` when `Coverage` is running, it is useful to be able to ask ruby if coverage is active.
This is possible with `Coverage.peek_result`, but not efficient, since it involves quite a b...
burke (Burke Libbey)
03:37 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
rhenium (Kazuki Yamaguchi) wrote:
> 2.3 stable maintainer: I've attached a patch that applies on top of ruby_2_3.
Oh, thank you!
I'll check and merge it later.
usa (Usaku NAKAMURA)
03:26 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
Now that openssl is a default gem, you can just update it before running 'bundle install':
gem install openssl -v '~> 2.0.4'
Anyway, I would like that patch to go to earlier versions of Ruby, too.
2.4 stable maintainer: Ca...
rhenium (Kazuki Yamaguchi)
01:41 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
This ticket is marked as closed - but I only see OpenSSL 2.0.4 in the trunk branch on GitHub per https://github.com/ruby/ruby/commit/9eb92007b6c2ab2b1fe031c3681144e51e2bcc14.
I do not see the updated OpenSSL in the 2.4 branch at https...
Iristyle (Ethan Brown)
02:40 PM Bug #12670 (Assigned): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
nobu (Nobuyoshi Nakada)
02:36 PM Bug #12670 (Closed): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
Applied in changeset trunk|r59116.
----------
test for [Bug #12670]
heap corruption by deferred free.
nobu (Nobuyoshi Nakada)
02:36 PM Revision 22c8dcff (git): debug.c: rgengc debug option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:36 PM Revision 263a0f7f (git): test for [Bug #12670]
heap corruption by deferred free.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Ruby Fibers as they currently stand are perfect and making them more complex is a mistake IMHO.
Let's be clear on this: auto-fibers are really just Fibers that yield when you call a blocking operation. It's as if you are rewriting the...
ioquatix (Samuel Williams)
01:03 PM Revision 0a907a37 (git): Make string literal to frozen object on gemspec of defulte gems.
Added following gemspecs.
* extensions: date, dbm, etc, fiddle, gdbm, sdbm, stringio, strscan, zlib
* pure ruby libraries: cmath, csv, fileutils, scanf, webrick
psych and rdoc is out of scope of this commit. I will merge afte...
hsbt (Hiroshi SHIBATA)
01:02 PM Bug #13591: spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ']
Fixed in r59113.
I split the spec to only include cases that seem to work on Windows according Greg's tests.
This test is inherently dependent on the OS parsing function for TZ, so we need to deal with those differences.
Eregon (Benoit Daloze)
01:00 PM Bug #13591 (Closed): spec/rubyspec/core/time/zone_spec - Windows does not support ENV['TZ']
Applied in changeset trunk|r59113.
----------
Adapt Time#zone spec to deal with differences of TZ validation on Windows
* [Bug #13591] [ruby-core:81347]
Eregon (Benoit Daloze)
01:00 PM Revision 79f85571 (git): * 2017-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:00 PM Revision d404e271 (git): Adapt Time#zone spec to deal with differences of TZ validation on Windows
* [Bug #13591] [ruby-core:81347]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
10:19 AM Feature #13666 (Closed): Development: Writing test code for new features/bug fixes can be done as specs under spec/rubyspec instead of tests under test/
Dear CRuby committers,
I would like to reach an agreement with the ruby core team on a subject that was once highly debated.
I believe nowadays the context is quite different and it's better to start the discussion from the beginning...
Eregon (Benoit Daloze)
08:34 AM Bug #13635: ruby and linux-pf or linux-zen kernels
allencch (Allen Choong) wrote:
> I have similar issue to compile ruby-2.3.3 on Arch Linux lts.
> ...
Thanks
one0fnine (Oleg Pervushin)
08:34 AM Bug #13635: ruby and linux-pf or linux-zen kernels
nobu (Nobuyoshi Nakada) wrote:
> Try more recent versions, 2.3.4, 2.4.1, and the trunk if possible.
So, the ruby 2.4.1 and the ruby 2.3.4 works without errors.
one0fnine (Oleg Pervushin)
 

Also available in: Atom