Project

General

Profile

Activity

From 06/24/2017 to 06/30/2017

06/30/2017

09:11 PM Misc #13704 (Closed): [PATCH] Exclude Changelog files from documentation.
The changelogs are almost 7 MBytes large, so that the ri or rdoc output is even bigger. Therefore the changelogs take... larskanis (Lars Kanis)
09:08 PM Feature #13703 (Closed): [PATCH] Documentation improvement for Encoding.default_internal
"locale encoding" is misleading since it doesn't mean Encoding.find("locale") but the encoding used to interpret the ... larskanis (Lars Kanis)
03:43 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)
03:30 PM Revision f16590ba (git): * ext/psych/yaml: update libyaml to 0.1.7.
* ext/psych/psych.gemspec: bump version to 2.1.0.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@5...
U.Nakamura
02:01 PM Feature #13683: Add strict Enumerable#single
nobu (Nobuyoshi Nakada) wrote:
> `Enumerable#first` returns not only the first element, the elements at the beginnin...
dnagir (Dmytrii Nagirniak)
01:57 PM Feature #13683: Add strict Enumerable#single
shevegen (Robert A. Heiler) wrote:
> What would the results be for the following code?
I would expect the followi...
dnagir (Dmytrii Nagirniak)
01:11 PM Misc #13702 (Closed): TZ checking in rb_w32_fstati64()
The environment variable TZ is checked in rb_w32_fstati64().
https://bugs.ruby-lang.org/projects/ruby-trunk/reposito...
kubo (Takehiro Kubo)
01:06 PM Bug #13672: Garbage input hangs ruby (not responding ^C)
ruby_2_3 r59241 merged revision(s) 59161. usa (Usaku NAKAMURA)
01:05 PM Revision 59741911 (git): merge revision(s) 59161: [Backport #13672]
parse.y: check multibyte char
* parse.y (parser_precise_mbclen): check invalid multibyte char at
s...
U.Nakamura
01:01 PM Bug #13515: Pathname#join doesn't add separator on UNC paths
ruby_2_3 r59240 merged revision(s) 59102. usa (Usaku NAKAMURA)
01:01 PM Revision 25a2e376 (git): merge revision(s) 59102: [Backport #13515]
pathname.rb: UNC root pathname needs a separator
* ext/pathname/lib/pathname.rb (Pathname#plus): UNC root pa...
U.Nakamura
12:58 PM Bug #13636: REXML::Document.parse_stream doesn't handle when closing tag not provided
ruby_2_3 r59239 merged revision(s) 59033,59034. usa (Usaku NAKAMURA)
12:58 PM Revision 971b99f3 (git): merge revision(s) 59033,59034: [Backport #13636]
rexml: add close tag check on end of document to StreamParser
[ruby-core:81593] [Bug #13636]
Report...
U.Nakamura
12:54 PM Bug #13558: Array#insert does not typecheck the position argument if it's the only argument
ruby_2_3 r59238 merged revision(s) 58693. usa (Usaku NAKAMURA)
12:54 PM Revision 79e239cb (git): merge revision(s) 58693: [Backport #13558]
array.c: check position to insert
* array.c (rb_ary_insert): check position to insert even if no
e...
U.Nakamura
12:52 PM Bug #13231: DateTime.strftime("%Z") does not return time zone abbreviation, returns hour and minute offset from UTC with colon
ruby_2_3 r59237 merged revision(s) 58643. usa (Usaku NAKAMURA)
12:52 PM Revision c42f46bf (git): merge revision(s) 58643: [Backport #13231]
date_core.c: fix docs for %Z format
* ext/date/date_core.c: [DOC] fix documentation for %Z format
...
U.Nakamura
12:48 PM Bug #13531: RSS: a feed with empty channel description has completely empty '#to_xml' conversion
ruby_2_3 r59236 merged revision(s) 58552. usa (Usaku NAKAMURA)
12:48 PM Revision 30519c0b (git): merge revision(s) 58552: [Backport #13531]
rss: Accept empty text element as valid element
Parser has been accepted it but XML serializer wasn't accept...
U.Nakamura
12:42 PM Revision 127c8a21 (git): * ext/openssl/ossl_x509store.c: clear error queue after calling
X509_LOOKUP_load_file()
X509_LOOKUP_load_file(), which ends up calling
X509_load_cert_crl_file()
internally, m...
U.Nakamura
12:35 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
ruby_2_3 r59234 merged revision(s) 56558,59116,59136. usa (Usaku NAKAMURA)
12:35 PM Revision 687763bc (git): merge revision(s) 56558,59116,59136: [Backport #12670]
* gc.c (heap_page_resurrect): do not return tomb_pages when
page->freelist == NULL.
[Bug #12670]
...
U.Nakamura
12:24 PM Bug #8916: rb_sprintf への精度指定が正しく機能していない
ruby_2_3 r59233 merged revision(s) 58210. usa (Usaku NAKAMURA)
12:24 PM Revision 896d9fb9 (git): merge revision(s) 58210: [Backport #8916]
vsnprintf.c: prefix with precision
* vsnprintf.c (BSD_vfprintf): sign and hex-prefix should not be
...
U.Nakamura
12:21 PM Bug #13425: Tracer.onにした状態でSystemStackErrorを発生させるとSegmentation fault
ruby_2_3 r59232 merged revision(s) 58334,58346,58349. usa (Usaku NAKAMURA)
12:21 PM Revision 75b11469 (git): merge revision(s) 58334,58346,58349: [Backport #13425] [Backport #13432]
thread.c: disable VM events when stack overflow
* thread.c (ruby_thread_stack_overflow): disable VM events w...
U.Nakamura
12:13 PM Bug #13656: Method#super_method returns incorrect result dependent on unrelated module
ruby_2_3 r59231 merged revision(s) 59080,59082. usa (Usaku NAKAMURA)
12:13 PM Revision 2459af86 (git): merge revision(s) 59080,59082: [Backport #13656]
proc.c: skip prepended modules
* proc.c (method_super_method): skip prepended modules and
continue...
U.Nakamura
12:11 PM Bug #13651: backport r55324
ruby_2_3 r59230 merged revision(s) 55324,55325. usa (Usaku NAKAMURA)
12:10 PM Revision 1b5f5344 (git): merge revision(s) 55324,55325: [Backport #13651]
* lib/net/smtp.rb (getok, get_response): raise an ArgumentError when
CR or LF is included in a line, becaus...
U.Nakamura
12:09 PM Bug #13638: please backport r59030
ruby_2_3 r59229 merged revision(s) 59030,59031. usa (Usaku NAKAMURA)
12:09 PM Revision 4757e396 (git): merge revision(s) 59030,59031: [Backport #13638]
thread.c: avoid busy looping on rb_thread_fd_close
We no longer use it this function, but extensions do, and...
U.Nakamura
11:45 AM Bug #13700: Enumerable#sum may not work for Ranges subclasses due to optimization
Side note: in my opinion, `Enumerable` should not check the receiver's class to provide specific optimizations. Inste... sos4nt (Stefan Schüßler)
11:39 AM Bug #13700: Enumerable#sum may not work for Ranges subclasses due to optimization
shevegen (Robert A. Heiler) wrote:
> Reminds me a bit of what hanmac wrote elsewhere; I can't find it right now and ...
Hanmac (Hans Mackowiak)
11:30 AM Bug #13700: Enumerable#sum may not work for Ranges subclasses due to optimization
Reminds me a bit of what hanmac wrote elsewhere; I can't find it right now and forgot it mostly already but I think h... shevegen (Robert A. Heiler)
09:05 AM Bug #13700 (Closed): Enumerable#sum may not work for Ranges subclasses due to optimization
`Enumerable#sum` is optimized for integer ranges. Unfortunately, this can break subclasses:
```ruby
class StepTwo...
sos4nt (Stefan Schüßler)
11:38 AM Bug #13191: sample/pty/shl.rb がうまく動かない
ruby_2_3 r59228 merged revision(s) 57530. usa (Usaku NAKAMURA)
11:38 AM Revision 188ae0db (git): merge revision(s) 57530: [Backport #13191]
sample/pty/shl.rb: update sample
* Specify frozen_string_literal: true.
* Fix TypeError of raise.
...
U.Nakamura
11:32 AM Bug #13621: String#split returns an array longer than given limit, when passing a regexp with groups
ruby_2_3 r59227 merged revision(s) 59002. usa (Usaku NAKAMURA)
11:32 AM Revision 37cce5ae (git): merge revision(s) 59002: [Backport #13621]
string.c: docs for String#split
* string.c: [DOC] clarify docs for String#split when called
with l...
U.Nakamura
11:24 AM Bug #5339: ERB generates extra newlines on Windows
ruby_2_3 r59226 merged revision(s) 58825,58826. usa (Usaku NAKAMURA)
11:24 AM Revision 17b77906 (git): merge revision(s) 58825,58826: [Backport #5339]
erb.rb: Allow explicit trimming carriage return
when trim_mode is "-", for Windows environments.
[r...
U.Nakamura
11:18 AM Bug #11464: ERB trimming doesn't trim carriage returns
ruby_2_3 r59225 merged revision(s) 58823. usa (Usaku NAKAMURA)
11:18 AM Revision 2d909334 (git): merge revision(s) 58823: [Backport #11464]
erb.rb: Allow trimming carriage return
when trim_mode is "<>", for Windows environments.
[Bug #1146...
U.Nakamura
11:08 AM Bug #13545: Ruby built by clang 4.0.0 parses Float literal wrongly
ruby_2_3 r59224 merged revision(s) 58796. usa (Usaku NAKAMURA)
11:08 AM Revision d058c8a2 (git): merge revision(s) 58796: [Backport #13545]
Merge latest dtoa.c [Bug #13545]
Apply some part of http://www.netlib.org/fp/dtoa.c with my eyes...
git-svn...
U.Nakamura
11:00 AM Bug #13573: Compilation on Mac OS X 10.5.8 fails because of missing _fgetattrlist
ruby_2_3 r59223 merged revision(s) 57248. usa (Usaku NAKAMURA)
11:00 AM Revision 1f106a91 (git): merge revision(s) 57248: [Backport #13573]
dir.c: getattrlist on OSX 10.5
* dir.c (is_case_sensitive): use getattrlist() if fgetattrlist()
is...
U.Nakamura
10:58 AM Bug #13572: Please backport r53400 to 2.3
ruby_2_3 r59222 merged revision(s) 53400. usa (Usaku NAKAMURA)
10:58 AM Revision 538ba389 (git): merge revision(s) 53400: [Backport #13572]
* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
not includedir, the latter is outside the ru...
U.Nakamura
10:56 AM Bug #11384: multi-threaded autoload sometimes fails
ruby_2_3 r59221 merged revision(s) 58696. usa (Usaku NAKAMURA)
10:56 AM Revision e9ce3e74 (git): merge revision(s) 58696: [Backport #11384]
autoload: always wait on loading thread
We cannot assume autoload_provided/rb_feature_provided returning
...
U.Nakamura
10:54 AM Bug #13554: Running system with different gid fails on Linux if host has group with lots of members
ruby_2_3 r59220 merged revision(s) 58658. usa (Usaku NAKAMURA)
10:53 AM Revision d4f03fab (git): merge revision(s) 58658: [Backport #13554]
process.c: temporary string for buffer
* process.c (obj2uid, obj2gid): use temporary string as the buffer
...
U.Nakamura
10:52 AM Bug #13526: Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
ruby_2_3 r59219 merged revision(s) 58587,58588. usa (Usaku NAKAMURA)
10:52 AM Revision 8f01d618 (git): merge revision(s) 58587,58588: [Backport #13526]
variable.c: cleanup waitq upon thread death
* variable.c (autoload_reset): use idempotent list_del_init
...
U.Nakamura
10:47 AM Bug #13499: need to backport r58453
ruby_2_3 r59218 merged revision(s) 58453,58454. usa (Usaku NAKAMURA)
10:47 AM Revision d25b9efd (git): merge revision(s) 58453,58454: [Backport #13499]
Fix space flag when Inf/NaN and width==3
* sprintf.c (rb_str_format): while `"% 2f"` and `"% 4f"` result in
...
U.Nakamura
10:44 AM Bug #13530: backport r58370 and r58382
ruby_2_3 r59217 merged revision(s) 58370,58382. usa (Usaku NAKAMURA)
10:44 AM Revision ef763e7d (git): merge revision(s) 58370,58382: [Backport #13530]
thread_win32.c: no GVL for interrupt_event
* thread_win32.c (w32_wait_events): do not acquire GVL, to fix
...
U.Nakamura
10:41 AM Bug #13533: please backport r58534
ruby_2_3 r59216 merged revision(s) 58534. usa (Usaku NAKAMURA)
10:40 AM Revision 9bff2dd7 (git): merge revision(s) 58534: [Backport #13533]
nogvl_wait_for_single_fd must wait as its name
poll(fds, n, 0) mean no timeout and immediately return. If yo...
U.Nakamura
10:36 AM Bug #12492: RUBY_DEBUG=gc_stress dumps core
ruby_2_3 r59215 merged revision(s) 55429. usa (Usaku NAKAMURA)
10:36 AM Revision 996e702b (git): merge revision(s) 55429: [Backport #12492]
* class.c (Init_class_hierarchy): prevent rb_cObject which is the
class tree root, from GC. [ruby-dev:4966...
U.Nakamura
10:30 AM Bug #13536: Ripper fails to tokenize nested squiggly heredoc
ruby_2_3 r59214 merged revision(s) 58545,58584. usa (Usaku NAKAMURA)
10:30 AM Revision 5024abe0 (git): merge revision(s) 58545,58584: [Backport #13536]
ripper/lexer.rb: nested indented heredoc
* ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): fix for
...
U.Nakamura
10:00 AM Bug #13701 (Closed): Ripper fails to parse "proc { |(w, *x, y), z| }"
The Ruby formatter rufo has exposed a ripper parsing error when parsing the following ruby code:
~~~ ruby
proc { ...
mjago (Martyn Jago)
08:21 AM Feature #13696: Add exchange and noreplace options to File.rename
[email protected] wrote:
> Is "atomically" important?
> If no, it'd be possible to implement without kernel suppo...
normalperson (Eric Wong)
04:24 AM Feature #13696: Add exchange and noreplace options to File.rename
Is "atomically" important?
If no, it'd be possible to implement without kernel support.
nobu (Nobuyoshi Nakada)
03:48 AM Feature #13696: Add exchange and noreplace options to File.rename
Thank you for your comments.
I implemented FIle.exchange and made the noreplace flag in positive-form.
```ruby
F...
Glass_saga (Masaki Matsushita)
08:09 AM Feature #13434: better method definition in C API
[email protected] wrote:
> As I wrote before, I against this idea. My idea is to write
> definitions in Ruby with spec...
normalperson (Eric Wong)
06:05 AM Feature #13434: better method definition in C API
As I wrote before, I against this idea. My idea is to write definitions in Ruby with special form.
Comparison:
...
ko1 (Koichi Sasada)
12:08 AM Feature #13434: better method definition in C API
Eric Wong <[email protected]> wrote:
> rb_method_attr_setfl(&attr, 0, RB_CONST|RB_PERSIST|RB_REQUIRED);
> rb...
normalperson (Eric Wong)
05:06 AM Bug #13698 (Rejected): Sort Methods Differ
`Array#sort` is not guaranteed as "stable".
You should compare other keys if they matter.
nobu (Nobuyoshi Nakada)
04:57 AM Bug #13699 (Closed): Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash
nobu (Nobuyoshi Nakada)
04:32 AM Feature #13692: Array#index?
`Array#drop`. nobu (Nobuyoshi Nakada)
04:19 AM Revision 24171da2 (git): main.c: RUBY_DEBUG_ENV in devel
* main.c (RUBY_DEBUG_ENV): default to enabled in the development
version.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
02:09 AM Revision 703675da (git): compile.c: dump iseq
* compile.c (append_compile_error): raise a fatal error when
compile_debug is enabled.
* compile.c (COMPILE_ERROR)...
nobu (Nobuyoshi Nakada)
01:56 AM Revision 3bf4c46b (git): vm_insnhelper.c: dump iseq
* vm_insnhelper.c (vm_stack_consistency_error): raise a fatal
error with the disassembled instruction sequence, in ...
nobu (Nobuyoshi Nakada)

06/29/2017

10:40 PM Revision 940fa3b8 (git): array.c: more predefined IDs
* array.c (id_cmp): change to macro for OPTIMIZED_CMP
(rb_ary_repeated_permutation_size): s/id_power/idPow/
(Init...
Eric Wong
10:34 PM Revision 5f51ee3a (git): * 2017-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:34 PM Revision f7f097a3 (git): remove unused rb_obj_basic_to_s_p function
This hasn't been used since r36709 (2012-08-15)
("Kernel#inspect: improve consistency and do not call #to_s.")
and wa...
Eric Wong
05:51 PM Bug #13698: Sort Methods Differ
I get the same for the current ruby on linux (ruby 2.4.1p111 (2017-03-22 revision 58053) [i686-linux])
# => [{...
shevegen (Robert A. Heiler)
05:46 PM Bug #13698 (Rejected): Sort Methods Differ
Hello,
### Issue:
Two different machines with the same ruby version return different results for the method "sort...
sherrysarkar (Sherry Sarkar)
05:51 PM Bug #13699 (Closed): Multiple maps over lazy enumerator yielding multiple values in 2.4.x causes crash
~~~ ruby
Enumerator.new{|e| e.yield(5, 6)}.
lazy.
map{|x,y| 5}.
map{|z| 5}.
to_a
~~~
Tested and work...
alekstorm (Alek Storm)
05:49 PM Feature #13696: Add exchange and noreplace options to File.rename
> I prefer positive-form to negative-form as an option
I do too. I found it in general easier (for me) to understa...
shevegen (Robert A. Heiler)
03:16 AM Feature #13696: Add exchange and noreplace options to File.rename
Glass_saga (Masaki Matsushita) wrote:
> ```ruby
> File.rename("hoge", "fuga", exchange: true) # atomically exchange...
nobu (Nobuyoshi Nakada)
03:07 AM Feature #13696 (Assigned): Add exchange and noreplace options to File.rename
renameat2(2) introduced in linux kernel 3.15 takes following flags.
```
RENAME_EXCHANGE: Atomically exchange oldp...
Glass_saga (Masaki Matsushita)
05:17 PM Bug #13614 (Third Party's Issue): IFMapper v2.0.4 crashes on Windows FXRuby
The status "Closed" is expected to mean that the issue is fixed in MRI repository. usa (Usaku NAKAMURA)
05:14 PM Bug #13672: Garbage input hangs ruby (not responding ^C)
memo: it seems that this not appears on ruby_2_3, but it should be backported. usa (Usaku NAKAMURA)
05:06 PM Bug #13324 (Rejected): IRB Segmentation Fault from eval infinite loop
usa (Usaku NAKAMURA)
04:54 PM Bug #13312: String#casecmp raises TypeError instead of returning nil
I think this change may not cause any compatibility issue with real-world scripts, but it means that nobody hits this... usa (Usaku NAKAMURA)
04:45 PM Bug #13592: Enumerable#reduce with symbol does not respect method visibility
memo: I think this is a bug, but it may cause some compatibility problems to change the behavior in teeny release, th... usa (Usaku NAKAMURA)
04:42 PM Bug #13492: Integer#prime? and Prime.each might produce false positives
If a patch is provided, I'll merge it to ruby_2_3. usa (Usaku NAKAMURA)
04:37 PM Bug #13188 (Rejected): Reinitialize Ruby VM.
usa (Usaku NAKAMURA)
04:36 PM Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
memo: I think that this is a bug, but it may surprise users to change this behavior at teeny releases. Therefore I d... usa (Usaku NAKAMURA)
02:35 PM Revision 6dcfcfd4 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:35 PM Revision 904b527f (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:35 PM Revision 5b593e38 (git): Update to ruby/spec@abf1700
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:35 PM Revision 6a4aa483 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:35 PM Revision d55cd34b (git): Update to ruby/mspec@021a119
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
02:10 PM Feature #13692 (Rejected): Array#index?
k0kubun (Takashi Kokubun)
12:36 PM Feature #13692: Array#index?
Yes, I think you are right. This probably was a bad idea. An array is not a (numerical) Hash.
So a moderator can c...
Anonymous
01:07 AM Feature #13692: Array#index?
~~~ ruby
def from(index)
if index?(index)
self[index..-1]
else
[]
end
end
~~~
Not considere...
k0kubun (Takashi Kokubun)
09:18 AM Bug #13695: Issue with require and require_relative with symlinked directories
shyouhei (Shyouhei Urabe) wrote:
> I guess this is a dup of #10222.
It is, sorry for not finding that when I look...
fidothe (Matt Patterson)
02:03 AM Bug #13695: Issue with require and require_relative with symlinked directories
I guess this is a dup of #10222. shyouhei (Shyouhei Urabe)
06:11 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Updated patch against r59201:
https://80x24.org/spew/[email protected]/raw

matz/ko1: any idea o...
normalperson (Eric Wong)
04:01 AM Bug #13690 (Closed): next in once causes [BUG]
Applied in changeset trunk|r59202.
----------
compile.c: disallow next in once
* compile.c (iseq_compile_each0): tu...
nobu (Nobuyoshi Nakada)
04:01 AM Revision 0a11abfc (git): compile.c: disallow next in once
* compile.c (iseq_compile_each0): turned dregx context in "once"
into "guarded" type from "block" type, to disallow...
nobu (Nobuyoshi Nakada)
03:26 AM Feature #13697 (Assigned): [PATCH]: futex based thread primitives
Assigning to kosaki since he wrote the current GVL.
I'm hoping single-core vm_thread_pass benchmark can be
improved...
normalperson (Eric Wong)

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)
 

Also available in: Atom