Project

General

Profile

Activity

From 06/22/2017 to 06/28/2017

06/28/2017

08:57 PM Bug #13695: Issue with require and require_relative with symlinked directories
[rspec-duplicate-require](https://github.com/wconrad/rspec-duplicate-require) shows that this behavior has been aroun... rrosenblum (Ryan Rosenblum)
07:41 PM Bug #13695 (Closed): Issue with require and require_relative with symlinked directories
Symlinked directories cause an issue with require_relative where libraries loaded from a symlinked path (e.g. in a ty... fidothe (Matt Patterson)
07:23 PM Feature #13692: Array#index?
This feature may not be that good, I agree. :)
I thought it could occasionally be useful when querying arrays. For...
Anonymous
05:57 PM Feature #13692: Array#index?
I am not sure if there is a huge need for it - and I am usually saying yes to lots of stuff. :)
I think another pr...
shevegen (Robert A. Heiler)
03:35 PM Feature #13692: Array#index?
> this is sometimes useful to check if an array index exists.
I couldn't imagine the situation that needs to check...
k0kubun (Takashi Kokubun)
03:24 PM Feature #13692: Array#index?
Or is this feature too trivial ? Anonymous
02:43 PM Feature #13692 (Rejected): Array#index?
Hello!
We currently have these methods:
~~~
Hash#key(value)
Hash#key?(key)
Array#index(value)
~~~
I was ...
Anonymous
06:34 PM Feature #13694 (Rejected): Add Tau constant to Math
Duplicate of #4897, which matz rejected 7 months ago. jeremyevans0 (Jeremy Evans)
06:05 PM Feature #13694 (Rejected): Add Tau constant to Math
Today (June 28) is **Tau Day**! to honor the true circle constant **tau = 2*pi = 6.28**.
Michael Hartl (https://ta...
jzakiya (Jabari Zakiya)
06:04 PM Feature #13693: Allow String#to_i and / or Kernel::Integer to parse e-notation
I think you are right, due to the behaviour of '1e+3'.to_i alone. Perhaps it was forgotten? shevegen (Robert A. Heiler)
05:39 PM Feature #13693 (Rejected): Allow String#to_i and / or Kernel::Integer to parse e-notation
`Kernel` can properly convert e-notation strings into numeric objects:
```ruby
Float('1e+3') #=> 1000.0
R...
sos4nt (Stefan Schüßler)
06:00 PM Bug #13691: Word- and symbol array literals not valid where regular array is
Hmm you are right. That's interesting. I may be wrong but this may possibly be a limitation of the
parser, otherwise...
shevegen (Robert A. Heiler)
11:57 AM Bug #13691 (Rejected): Word- and symbol array literals not valid where regular array is
Not sure if this is a limitation of the design space in the parser, or just a missed edge case. (Note that a regular ... ted (Ted Johansson)
05:53 PM Feature #12968: Allow default value via block for Integer(), Float() and Rational()
shyouhei (Shyouhei Urabe) wrote:
> we would like to to merge this issue with #12732. How do you feel, Stefan?
I'...
sos4nt (Stefan Schüßler)
03:25 PM Bug #13689 (Closed): `Thread#inspect` affect Fiber switching
Applied in changeset trunk|r59200.
----------
introduce rb_fiber_t::first_proc.
* cont.c (rb_fiber_t): add rb_fiber...
ko1 (Koichi Sasada)
06:18 AM Bug #13689 (Closed): `Thread#inspect` affect Fiber switching
`Thread#inspect` shows different results when Fiber is switched.
I believe it isn't intended behavior.
```
Thr...
ko1 (Koichi Sasada)
03:25 PM Revision f7349819 (git): * 2017-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 5041f548 (git): introduce rb_fiber_t::first_proc.
* cont.c (rb_fiber_t): add rb_fiber_t::first_proc and do not use
rb_thread_t::first_proc which should be thread loc...
ko1 (Koichi Sasada)
02:35 PM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
rhenium (Kazuki Yamaguchi) wrote:
> rinzler (Colton Jenkins) wrote:
> > > > ```diff
> > > > + rb_raise(rb_eRunt...
rinzler (Colton Jenkins)
02:27 PM Revision 8dd9c12c (git): move fields to ec.
* vm_core.h (rb_thread.h): move errinfo and trace_arg to
rb_execution_context_t.
* cont.c (fiber_switch, rb_cont_c...
ko1 (Koichi Sasada)
10:18 AM Revision 75392e45 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:18 AM Revision 9ec55ed9 (git): Added sync tool for default gems from github master.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:55 AM Bug #13690 (Closed): next in once causes [BUG]
Thought it was a variant of #13680, but turned out to be a different story. shyouhei (Shyouhei Urabe)
07:05 AM Feature #9145 (Open): Queue#pop(true) return nil if empty instead of raising ThreadError
Glass_saga (Masaki Matsushita)
06:22 AM Feature #13683: Add strict Enumerable#single
`Enumerable#first` returns not only the first element, the elements at the beginning up to the number given by an opt... nobu (Nobuyoshi Nakada)
01:15 AM Feature #13683: Add strict Enumerable#single
shevegen (Robert A. Heiler) wrote:
> What would the results be for the following code? In ruby (I find
> it easier ...
shan (Shannon Skipper)
06:13 AM Revision f78d92c5 (git): parse.y: fix token
* parse.y (parser_parse_string): return proper token tREGEXP_END
at unterminated regexp. [Bug #13363]
git-svn-id:...
nobu (Nobuyoshi Nakada)
06:09 AM Revision 957d1ccd (git): move fields to ec.
* vm_core.h (rb_thread_t): move root_lep, root_svar and ensure_list
to rb_execution_context_t.
git-svn-id: svn+ss...
ko1 (Koichi Sasada)
05:38 AM Revision 7c7d7436 (git): parse.y: add ellipsis
* parse.y (parser_yyerror): add ellipsis properly when error line
is truncated.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
04:57 AM Revision 3462dd36 (git): fix to check thread type
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:49 AM Revision 24979080 (git): introduce rb_thread_ptr() to replace GetThreadPtr().
* vm_core.h (rb_thread_ptr): added to replace GetThreadPtr() macro.
* thread.c (in some functions: use "target_th" i...
ko1 (Koichi Sasada)
04:08 AM Revision e42a1619 (git): parse.y: flush numeric token
* parse.y (parser_number_literal_suffix, parse_numeric): flush
numeric token so following unexpected token part is ...
nobu (Nobuyoshi Nakada)
03:50 AM Bug #13688 (Closed): Thread overflow hangs ruby (not responding ^C)
Passing the attached file makes hang. shyouhei (Shyouhei Urabe)
03:13 AM Bug #13605: GC bug calling `ObjectSpace.each_object`
`git bisect` shows that the issue is come from r55766 [Feature #12628].
This commit is in ruby_2_4, but not in ruby_...
wanabe (_ wanabe)
03:07 AM Bug #13537: ruby crash in rb_gc_mark
Is this same to #13605 and fixed at r59063? wanabe (_ wanabe)
02:50 AM Revision d98afe3a (git): move storages to ec.
* vm_core.h (rb_thread_t): move storages to rb_execution_context_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
ko1 (Koichi Sasada)
02:28 AM Revision b3f38b57 (git): add two tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
02:02 AM Bug #13687 (Closed): yyerror causes [BUG]
Applied in changeset trunk|r59188.
----------
parse.y: fix parser_yyerror
* parse.y (parser_yyerror): fix buffer ov...
nobu (Nobuyoshi Nakada)
02:02 AM Revision ff36c25f (git): parse.y: fix parser_yyerror
* parse.y (parser_yyerror): fix buffer overflow at truncation of
error line. [ruby-core:81790] [Bug #13687]
git-s...
nobu (Nobuyoshi Nakada)
01:49 AM Revision c28f8b03 (git): parse.y: prefer enum yytokentype instead to int
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:44 AM Bug #13155: Segfault testing Pry
I guess it is the same issue as #13605 because of the log pattern.
(using pry, T_NONE, newobj_slowpath_wb_protected ...
wanabe (_ wanabe)

06/27/2017

11:19 PM Feature #13683: Add strict Enumerable#single
+1. I always feel uncomfortable whenever using `first` for this purpose. mame (Yusuke Endoh)
08:05 PM Feature #13683: Add strict Enumerable#single
I am not against or in favour of it but just a question.
What would the results be for the following code? In ruby...
shevegen (Robert A. Heiler)
10:17 AM Feature #13683: Add strict Enumerable#single
+1, I have found this useful a few times as well.
Usually, I just define my own on Array, but it makes sense as well...
Eregon (Benoit Daloze)
06:08 AM Feature #13683 (Feedback): Add strict Enumerable#single
### Summary
This is inspired by other languages and frameworks, such as LINQ's [Single](https://msdn.microsoft.com...
dnagir (Dmytrii Nagirniak)
11:16 PM Bug #13614 (Closed): IFMapper v2.0.4 crashes on Windows FXRuby
It is fixed in the latest FXRuby release. ggarra13 (Gonzalo Garramuño)
07:56 PM Feature #13685: Update Unicode data to Unicode Version 10.0.0
Yay! More Emoji tokens to create games in pure ruby with these tokens! :D
One day I shall have a game with the uni...
shevegen (Robert A. Heiler)
06:40 AM Feature #13685 (Closed): Update Unicode data to Unicode Version 10.0.0
Unicode 10.0.0 was published about a week ago (see
http://blog.unicode.org/2017/06/announcing-unicode-standard-versi...
duerst (Martin Dürst)
05:11 PM Bug #13684 (Closed): Snapshots are broken
Applied in changeset trunk|r59185.
----------
downloader.rb: get rid of symlinks
* tool/downloader.rb: do not save ...
nobu (Nobuyoshi Nakada)
06:40 AM Bug #13684 (Closed): Snapshots are broken
`make install` of the ruby from snapshot fails with message:
~~~
$ make install DESTDIR=/builddir/build/BUILDROOT...
vo.x (Vit Ondruch)
05:10 PM Revision d68773fd (git): * 2017-06-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision 5522d798 (git): downloader.rb: get rid of symlinks
* tool/downloader.rb: do not save downloaded files to cache.
[ruby-core:81780] [Bug #13684]
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
02:09 PM Bug #13682 (Closed): return inside of ensure causes [BUG]
Applied in changeset trunk|r59184.
----------
fix return in toplevel ensure
* compile.c (iseq_compile_each0): adjus...
nobu (Nobuyoshi Nakada)
09:05 AM Bug #13682 (Open): return inside of ensure causes [BUG]
Seems incomplete.
```
% ./miniruby -ve 'begin raise ensure return end and self'
ruby 2.5.0dev (2017-06-27 trunk ...
shyouhei (Shyouhei Urabe)
06:57 AM Bug #13682 (Closed): return inside of ensure causes [BUG]
Applied in changeset trunk|r59183.
----------
fix return in toplevel rescue/ensure
* compile.c (iseq_compile_each0)...
nobu (Nobuyoshi Nakada)
04:03 AM Bug #13682 (Closed): return inside of ensure causes [BUG]
Attached script causes [BUG] Stack consistency error (sp: 7, bp: 6) shyouhei (Shyouhei Urabe)
02:09 PM Revision 5cfda379 (git): fix return in toplevel ensure
* compile.c (iseq_compile_each0): adjust stack after return in
toplevel ensure, when the value is used.
[ruby-cor...
nobu (Nobuyoshi Nakada)
01:29 PM Bug #13397: #object_id should not be signed
Yet another instance of this issue:
https://github.com/socketry/timers/pull/63
vo.x (Vit Ondruch)
12:59 PM Bug #13687 (Closed): yyerror causes [BUG]
Attached file, when passed to ruby, dumps core. shyouhei (Shyouhei Urabe)
12:58 PM Feature #13686 (Closed): Add states of scanner to tokens from Ripper.lex and Ripper::Filter#on_*
I'm writing syntax analysis software by pure Ruby, for processing Ruby's source code and meta information what are cl... aycabta (aycabta .)
09:26 AM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
rinzler (Colton Jenkins) wrote:
> > > ```diff
> > > + rb_raise(rb_eRuntimeError, error_message); \
> > > + } \...
rhenium (Kazuki Yamaguchi)
08:38 AM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
nobu (Nobuyoshi Nakada) wrote:
> rhenium (Kazuki Yamaguchi) wrote:
> > > ```diff
> > > + error_message = ERR_re...
rinzler (Colton Jenkins)
08:37 AM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
rhenium (Kazuki Yamaguchi) wrote:
> > ```diff
> > diff -Nurp old/ext/digest/digest.h new/ext/digest/digest.h
> > -...
rinzler (Colton Jenkins)
07:15 AM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
rhenium (Kazuki Yamaguchi) wrote:
> > ```diff
> > + error_message = ERR_reason_error_string(ERR_peek_last_error(...
nobu (Nobuyoshi Nakada)
06:47 AM Feature #13681: Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
> ```diff
> diff -Nurp old/ext/digest/digest.h new/ext/digest/digest.h
> --- old/ext/digest/digest.h 2017-06-21 12:...
rhenium (Kazuki Yamaguchi)
02:29 AM Feature #13681 (Open): Ruby digest init fails in FIPS mode when built against OpenSSL ~> 1.0.1
When FIPS (https://en.wikipedia.org/wiki/FIPS_140-2) is enabled attempting to initialize any digest will kill the pro... rinzler (Colton Jenkins)
06:57 AM Revision 1474acff (git): fix return in toplevel rescue/ensure
* compile.c (iseq_compile_each0): throw TAG_RETURN at return in
toplevel rescue/ensure to adjust VM stack properly....
nobu (Nobuyoshi Nakada)
05:06 AM Feature #9323: IO#writev
rebase to trunk Glass_saga (Masaki Matsushita)
03:46 AM Bug #13680 (Closed): break in once causes [BUG]
Applied in changeset trunk|r59181.
----------
vm_insnhelper.c: break in once
* vm_insnhelper.c (vm_throw_start): si...
nobu (Nobuyoshi Nakada)
03:45 AM Revision c95cbf6a (git): * 2017-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 AM Revision 49160c71 (git): vm_insnhelper.c: break in once
* vm_insnhelper.c (vm_throw_start): size of catch table has been
included in iseq_catch_table struct, which could b...
nobu (Nobuyoshi Nakada)

06/26/2017

01:10 PM Bug #13680 (Closed): break in once causes [BUG]
Attached script dumps core. shyouhei (Shyouhei Urabe)
10:37 AM Revision 978967b2 (git): webrick is _unmaintained_
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:31 AM Revision a0c1006e (git): parse.y: line number of bin op
* parse.y (call_bin_op_gen): adjust line number to the receiver,
instead of the rhs.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
09:40 AM Revision fa480488 (git): parse.y: mark error token
* parse.y (parser_yyerror): mark the whole last token which caused
the error, not only the end.
before:
```
if...
nobu (Nobuyoshi Nakada)
07:56 AM Revision 1939d097 (git): move several fields from rb_thread_t to rb_execution_context_t.
* vm_core.h (rb_thread_t): move several fields which are copied at cont.c
to rb_execution_context_t.
git-svn-id: ...
ko1 (Koichi Sasada)
07:46 AM Revision 043523ad (git): copy ec on Fiber.
* cont.c (cont_restore_thread): on Fiber we only need to copy ec struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
ko1 (Koichi Sasada)
06:45 AM Feature #10002 (Closed): String swapcase
This has actually been implemented by Feature #10085, so it can be closed. duerst (Martin Dürst)
05:36 AM Revision e8a80f80 (git): add "FIBER_" prefix.
* cont.c (enum fiber_status): add "FIBER_" prefix for all names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
ko1 (Koichi Sasada)
05:30 AM Revision facd0883 (git): Do not store/restore Thread#status on fiber switching.
* cont.c (cont_restore_thread): On Fiber switching, thread status shold be
THREAD_RUNNABLE so that we don't need to...
ko1 (Koichi Sasada)
04:54 AM Feature #13665: String#delete_suffix
I've sent a PR https://github.com/ruby/ruby/pull/1661.
I will merge if I get agreement at a ruby developer's meeting.
sonots (Naotoshi Seo)
03:59 AM Feature #10771: An easy way to get the source location of a constant
jphelps (Jeremy Phelps) wrote:
> I've got a patch ready for this, but I have no idea how to submit it. There are ser...
duerst (Martin Dürst)
02:51 AM Feature #10771: An easy way to get the source location of a constant
[email protected] wrote:
> Ok, then here's my patch. I called the method
> "const_source_location" inste...
normalperson (Eric Wong)
01:34 AM Feature #10771: An easy way to get the source location of a constant
Ok, then here's my patch. I called the method "const_source_location" instead of "constant_source_location", because ... jphelps (Jeremy Phelps)
02:08 AM Bug #11101: Forking is killing my memory when running GC
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > Did you try the nakayoshi_fork gem as ko1 sugges...
normalperson (Eric Wong)
12:55 AM Bug #11101: Forking is killing my memory when running GC
normalperson (Eric Wong) wrote:
> Did you try the nakayoshi_fork gem as ko1 suggested?
Sorry for replying so lat...
olivierlacan (Olivier Lacan)
12:59 AM Revision d39dd5ed (git): * 2017-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:59 AM Revision 72c46d21 (git): compile.c: fix debug print
* compile.c (iseq_compile_each0): debugs/ruby_debug_printf do not
support PRIsVALUE.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)

06/25/2017

10:08 AM Feature #10771: An easy way to get the source location of a constant
[email protected] wrote:
> I've got a patch ready for this, but I have no idea how to
> submit it. There...
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:
...
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.o...
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_each...
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@k...
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....
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...
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 co...
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 t...
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....
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: sv...
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 op...
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? i...
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 docu...
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'...
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:...
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.
```ru...
shevegen (Robert A. Heiler)
01:57 PM Feature #13676: 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...
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?
> If you want a list of the elements, use `to_a`.
> If yo...
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, us...
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 print...
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:...
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....
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-1...
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 unders... 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): chec...
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, ...
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 en...
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...
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 h...
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...
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/b...
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-l...
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()
valu...
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-i...
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/...
nobu (Nobuyoshi Nakada)

06/22/2017

11:28 PM Bug #13671 (Assigned): 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"
re...
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 t... 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...
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 ...
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 ...
ko1 (Koichi Sasada)
08:35 AM Feature #2631 (Open): Allow IO#reopen to take a block
匿名ユーザー wrote:
> Applied in changeset trunk|r59142.
>
> ----------
> Allow IO#reopen to take a block
>
> * io....
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 a...
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 oth...
ko1 (Koichi Sasada)
07:51 AM Feature #9145: Queue#pop(true) return nil if empty instead of raising ThreadError
[email protected] wrote:
> Issue #9145 has been updated by Glass_saga (Masaki Matsushita).
>
> Status changed...
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
*...
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.
...
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.
g...
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 interne...
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 ...
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: sv...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom