Project

General

Profile

Activity

From 04/23/2016 to 04/29/2016

04/29/2016

10:36 PM Feature #12142: Hash tables with open addressing
Since submitting my first patch for new Ruby hash tables, a lot of
code was reworked and a lot of new implementati...
vmakarov (Vladimir Makarov)
10:08 PM Bug #12332 (Closed): [PATCH] proc.c: fix RDoc of Proc#===/call/yield/[]
Since r52050 ("proc.c: enable optimization of Proc#call")
for [Feature #11569], we need to maintain this documentati...
normalperson (Eric Wong)
07:35 PM Bug #12331 (Closed): Please backport r53586
The r54405 backported several patches. Now, trying to build Ruby 2.3.1 on Fedora 24/Rawhide, I observe following erro... vo.x (Vit Ondruch)
02:47 PM Bug #12330 (Closed): vm_trace.c (get_event_id) returns :specified_line if SPECIFIED_LINE was occurred
Because r38728 is last commit about this line, I think this is not intended behavior.
To check which symbol is ret...
yui-knk (Kaneko Yuichiro)
02:41 PM Bug #12329: Minitest not in the documentation
Bundled gems' documents are not installed now. nobu (Nobuyoshi Nakada)
02:27 PM Feature #10342 (Closed): Module#deprecate_constant
nobu (Nobuyoshi Nakada)
01:49 PM Bug #12312 (Closed): Make PTY take environment variables like popen does
It works already.
```
$ ruby1.9 -v -rpty -e 'PTY.spawn({"FOO"=>"bar"}, "printenv", "FOO") {|r,w,pid|p r.read}'
r...
nobu (Nobuyoshi Nakada)
11:40 AM Feature #6647: Exceptions raised in threads should be logged
Shyouhei Urabe wrote:
> I remember this topic was looked at in the developer meeting this month. Matz was positive ...
Eregon (Benoit Daloze)
08:52 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I'm also maintaining to ruby-build.
We have the plan to warn to EOLed version of Ruby. ref. https://github.com/rbe...
hsbt (Hiroshi SHIBATA)
08:12 AM Feature #12328: Show warnings about vulnerable and no longer supported Ruby versions.
I doubt that users/developers will install latest versions.
We often see the tickets for older releases.
nobu (Nobuyoshi Nakada)
08:43 AM Bug #9569: SecureRandom should try /dev/urandom first
A recent (2012) analysis of the RNG subsystem in the Linux Kernel can be found here: https://eprint.iacr.org/2012/251... azet (Aaron Zauner)

04/28/2016

06:32 PM Feature #6739: One-line rescue statement should support specifying an exception class
I noticed we have a keyword already in Ruby that’s used nearly nowhere and could be a nice fit here. Might not be lin... Quintus (Marvin Gülker)
06:17 PM Bug #12329 (Rejected): Minitest not in the documentation
Hi everyone,
Albeit still shipped with Ruby, the Minitest gem is not in the documentation of Ruby, neither on [rub...
Quintus (Marvin Gülker)
05:48 PM Bug #12327: Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
I am almost certain this is to do with thread safety within the ssl lib. I am running ubuntu. details:
ruby 2.3.0p0 ...
alexanderbrowne (Alexander Browne)
02:56 PM Bug #12327 (Closed): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
/opt/rbenv/versions/2.3.0/lib/ruby/2.3.0/openssl/buffering.rb:57: [BUG] Segmentation fault at 0x007fd27558dd80
ruby ...
alexanderbrowne (Alexander Browne)
05:24 PM Feature #12328 (Third Party's Issue): Show warnings about vulnerable and no longer supported Ruby versions.
## Problem
Users are often still using unsupported Ruby versions and developers and unknowingly supporting them.
...
Cezary (Cezary Baginski)
08:06 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sure Nobu,
https://bugs.ruby-lang.org/issues/8206
very close to this feature request that I created years ago.
sam.saffron (Sam Saffron)
07:42 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> There is no way to invoke the regex engine without it magically setting a pile of globals, maki...
nobu (Nobuyoshi Nakada)
12:08 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just to expand on how hard this is to get right without the framework providing it
See:
https://gist.github.c...
sam.saffron (Sam Saffron)
07:33 AM Bug #12323 (Closed): Wrong example code in OptionParser documentation
Applied in changeset r54808.
----------
optparse.rb: [DOC] fix example code [ci skip]
* lib/optparse.rb: [DOC] fix ...
nobu (Nobuyoshi Nakada)
07:29 AM Bug #12323: Wrong example code in OptionParser documentation
Thank you.
I think that `OptparseExample.parse` should be an instance method but not a class method.
nobu (Nobuyoshi Nakada)
07:02 AM Feature #6647: Exceptions raised in threads should be logged
I remember this topic was looked at in the developer meeting this month. Matz was positive to have Thread#report_on... shyouhei (Shyouhei Urabe)
05:51 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
[email protected] wrote:
> Benoit Daloze wrote:
> > For me, having a message like:
> > "NotImplementedError: IO.c...
normalperson (Eric Wong)
05:27 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
+1 to add a fallback implementation when pread is unavailable. shyouhei (Shyouhei Urabe)
05:45 AM Feature #10095: Object#as
Tsuyoshi Sawada wrote:
> So, I would like to make a proposal such that, when `instance_eval` takes a block parameter...
shyouhei (Shyouhei Urabe)
05:13 AM Bug #12308 (Closed): segfault in add_signal_thread_list
Change state to "Closed" to enqueue backporitng process. naruse (Yui NARUSE)

04/27/2016

11:46 PM Bug #12326 (Closed): Update rubygems to 2.5.2 in ruby_2_3
This is a ticket for ruby_2_3 stable branch maintainance. Not about issues on trunk.
There's an issue about gem in...
nagachika (Tomoyuki Chikanaga)
07:21 PM Feature #11098: Thread-level allocation counting
[email protected] wrote:
> So apparently I didn't have notifications turned on and lost track of this. Sorry!
N...
normalperson (Eric Wong)
06:07 PM Feature #11098: Thread-level allocation counting
So apparently I didn't have notifications turned on and lost track of this. Sorry!
I've rebased this to current tr...
jasonrclark (Jason Clark)
06:23 PM Bug #12325 (Closed): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
I am pretty sure this is not a Rails error.
Ruby 2.1.2 works fine. With Ruby 2.2.1, I cannot run rake db:migrate or...
dwright (Doug Wright)
06:01 PM Bug #12324 (Closed): Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
The last beta for OpenSSL1.1.0 (1.1.0-pre5) was released a week ago. According to OpenSSL's website[1], OpenSSL 1.1.0... rhenium (Kazuki Yamaguchi)
05:17 PM Bug #12323 (Closed): Wrong example code in OptionParser documentation
There is a complete example code in OptionParser documentation (http://ruby-doc.org/stdlib-2.3.0/libdoc/optparse/rdoc... SerSamgy (Semyon Gaivoronskiy)
04:47 PM Feature #10095: Object#as
I think this feature is already realized by `instance_eval` given that it accepts an optional block parameter, but pe... sawa (Tsuyoshi Sawada)
02:01 PM Feature #10095: Object#as
How about Object#continue?
~~~ruby
(1 + 2 + 3 + 4).continue {|x| x ** 2}
~~~
The name is brought from the con...
soutaro (Soutaro Matsumoto)
11:35 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
**Please keep callcc, they are inherently awesome to build constraint solvers.**
I am using them in a real life ap...
Overbryd (Lukas Rieder)
08:10 AM Bug #12321 (Rejected): Backticks in log output cause issues
Use multiline code block. nobu (Nobuyoshi Nakada)
05:01 AM Bug #12321: Backticks in log output cause issues
Backtick can appear anywhere else in a code block even if you get rid of this particular use in Ruby error messages. ... sawa (Tsuyoshi Sawada)
07:59 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
note this method exists in .NET String
https://msdn.microsoft.com/en-us/library/system.string.isnullorwhitespace...
sam.saffron (Sam Saffron)
06:57 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Shyouhei Urabe wrote:
> You failed to see the problem because you could not imagine a file path containing U+3000....
sam.saffron (Sam Saffron)
06:51 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
I just come back tmm1's bloc: http://tmm1.net/ruby21-profiling/
You guys are talking on this.
But I'm wondering w...
naruse (Yui NARUSE)
01:40 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> In this particular case I fail to see how this can cause any problem.
You failed to see the...
shyouhei (Shyouhei Urabe)
07:33 AM Bug #12123: FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
```
# Running tests:
[ 4406/15580] TestFileExhaustive#test_realpath_mount_point参数错误。
拒绝访问。
[ 4460/15580] TestFi...
personnel (Am I Who)
06:06 AM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
Benoit Daloze wrote:
> For me, having a message like:
> "NotImplementedError: IO.copy_stream with offset is not sup...
naruse (Yui NARUSE)
04:58 AM Bug #12322 (Rejected): vs 2015
Ruby 2.3 won't support VC 2015 because their msvcrt doesn't export __pioinfo.
Ruby 2.4 will support VC 2015 and VC 1...
naruse (Yui NARUSE)
03:26 AM Bug #12322 (Rejected): vs 2015
i cannot compile ruby 2.3.1 with vc 2015 , because msvcr.lib does not have __pioinfo .
EXTERN_C _CRTIMP ioinfo * _...
kerwin (kerwin xu)

04/26/2016

09:38 PM Bug #12321: Backticks in log output cause issues
Well, it's not just slack. It's anything that uses markdown. That includes Github, Stack overflow, Jekyll, PivitolTra... dkniffin (Derek Kniffin)
09:10 PM Bug #12321: Backticks in log output cause issues
It's an old typographical convention, as you say, to indicate opening quotation marks. It is used in TeX, for instanc... phluid61 (Matthew Kerwin)
07:59 PM Bug #12321 (Rejected): Backticks in log output cause issues
I would like to propose changing ruby's log output slightly. The issue I have is with output like this:
~~~
NoMet...
dkniffin (Derek Kniffin)
07:51 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
[email protected] wrote:
> 1. Write a commit message in Git-style.
>
> * Line 1: summary of commit (around 80 ...
normalperson (Eric Wong)
06:19 PM Feature #12319: `Module#const_get` does not accept symbol with nested name
I am also for keeping symbols simple! I love symbols, I abuse them a
lot in my ruby code to yield special instructio...
shevegen (Robert A. Heiler)
09:52 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
I think as well that Symbols should not be used to generate dynamic names like that "SomModName::SomeOtherName".
Sym...
Eregon (Benoit Daloze)
07:21 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
Martin Dürst wrote:
> Strings can have lots of structure; Symbols essentially don't have structure.
If you look a...
sawa (Tsuyoshi Sawada)
07:01 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
Tsuyoshi Sawada wrote:
> It is confusing/surprising that something you can do with string can be done with symbol, b...
duerst (Martin Dürst)
05:57 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
Nobuyoshi Nakada wrote:
> It's the intended behavior.
> `Symbol` is a single name, not a class/module path.
I do...
sawa (Tsuyoshi Sawada)
04:56 AM Feature #12319: `Module#const_get` does not accept symbol with nested name
It's the intended behavior.
`Symbol` is a single name, not a class/module path.
nobu (Nobuyoshi Nakada)
01:25 AM Feature #12319 (Open): `Module#const_get` does not accept symbol with nested name
`Module#const_get` accepts non-nested string, nested string, and non-nested symbol:
~~~ruby
class A; class B; cla...
sawa (Tsuyoshi Sawada)
06:16 PM Feature #12317: Name space of a module
Interesting. I am indifferent to it, but possibly lean towards giving a +1.
In some of my classes, I use a module ...
shevegen (Robert A. Heiler)
12:15 AM Feature #12317 (Open): Name space of a module
I want a method to return the name space of a module, something like:
~~~ruby
class A; module B; module C end en...
sawa (Tsuyoshi Sawada)
05:57 PM Bug #11884: Psych.load broken for OpenStruct in Ruby 2.3.0
I'm sorry to re-open this but I'm getting a similar error with Syck and Ruby 2.3.1 just released
I attached a repro ...
PSchambacher (Pierre Schambacher)
02:35 PM Bug #11900 (Closed): broken encoding of commandline on Windows
Applied in changeset r54785.
----------
Fix -e script encoding
* ruby.c (process_options): convert -e script to the...
nobu (Nobuyoshi Nakada)
11:43 AM Bug #11900: broken encoding of commandline on Windows
入れてみましょう。 usa (Usaku NAKAMURA)
08:41 AM Bug #11900: broken encoding of commandline on Windows
こんなところでどうでしょうか。
https://github.com/ruby/ruby/compare/trunk...nobu:bug/11900-win32-e-encoding
nobu (Nobuyoshi Nakada)
10:12 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Shyouhei Urabe wrote:
> is clear that the XINCLUDES indicates this string is passed to a shell script. The call o...
sam.saffron (Sam Saffron)
06:30 AM Bug #12320 (Closed): Skip SHA from test_digest_constants for LibreSSL 2.3
Backport r53718 to fix the first one of ruby/openssl#40
https://github.com/ruby/openssl/issues/40#issuecomment-15983...
naruse (Yui NARUSE)
04:26 AM Bug #12313: [DOC] Fix two code samples
ruby_2_2 r54772 merged revision(s) 54755. usa (Usaku NAKAMURA)
04:23 AM Bug #12314: Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
ruby_2_2 r54771 merged revision(s) 54716,54719,54750. usa (Usaku NAKAMURA)
04:21 AM Bug #12184: Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
ruby_2_2 r54770 merged revision(s) 54720. usa (Usaku NAKAMURA)
04:17 AM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
ruby_2_2 r54769 merged revision(s) 54681. usa (Usaku NAKAMURA)
02:27 AM Feature #12318: Returning the evaluated value of a block
It doesn't seem generic enough to be defined in `Enumerator`.
The receiver enumerator may return different object th...
nobu (Nobuyoshi Nakada)
12:53 AM Feature #12318 (Closed): Returning the evaluated value of a block
I often achieve an element using an iterator with a block, and then apply the same/a similar block to the element I g... sawa (Tsuyoshi Sawada)

04/25/2016

10:22 PM Bug #11926 (Closed): Backport request r53385
hsbt (Hiroshi SHIBATA)
06:57 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Rodrigo Rosenfeld Rosas wrote:
> Yui NARUSE wrote:
> > Richard Schneeman wrote:
> > > ## Nil and empty? checks tog...
naruse (Yui NARUSE)
02:12 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Yui NARUSE wrote:
> Richard Schneeman wrote:
> > ## Nil and empty? checks together
>
> you can already write `st...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:38 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/blank.rb
Martin Dürst ...
jbilbo (Jonathan Hernandez)
11:32 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Hello Sam,
Just in private for the moment. I'm trying to find the definition of
blank? in the rails source code....
duerst (Martin Dürst)
10:05 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Several comments, all in one post:
1) .blank? definitely cannot check for all problems in an input field, but it s...
duerst (Martin Dürst)
02:37 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Sam Saffron wrote:
> All of the `strip.length==0` in core can safely be changed to a unicode aware `blank?` function...
shyouhei (Shyouhei Urabe)
06:38 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
Understood.
Submitted as https://github.com/flori/json/pull/283.
stomar (Marcus Stollsteimer)
02:53 AM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
I agreed your fixes and patch.
But json in ruby core is not upstream repository.
Can you submit patch to http://g...
hsbt (Hiroshi SHIBATA)
05:59 PM Bug #12246: [DOC] Language improvements for doc/extension.rdoc
ruby_2_3 r54766 merged revision(s) 53320,54756. nagachika (Tomoyuki Chikanaga)
02:27 AM Bug #12246 (Closed): [DOC] Language improvements for doc/extension.rdoc
Applied in changeset r54756.
----------
* doc/extension.rdoc: Improvements to english grammers.
[Bug #12246][ruby-...
hsbt (Hiroshi SHIBATA)
05:55 PM Bug #12313: [DOC] Fix two code samples
ruby_2_3 r54765 merged revision(s) 54755. nagachika (Tomoyuki Chikanaga)
02:18 AM Bug #12313 (Closed): [DOC] Fix two code samples
Applied in changeset r54755.
----------
* encoding.c: Fix return value of `Encoding::ISO8859_1.name`
[Bug #12313][...
hsbt (Hiroshi SHIBATA)
04:54 PM Feature #5899: chaining comparsions.
Yukihiro Matsumoto wrote:
> I don't think changing "`1 < b < 4`" to "`1 < b && b < 4`" is that hard task.
Writing...
sos4nt (Stefan Schüßler)

04/24/2016

11:03 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Nobu,
Regarding:
> Most of them looks different from ActiveSupport's String#blank? which is Unicode aware.
...
sam.saffron (Sam Saffron)
07:01 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just one comment, not related to the suggestion itself but to one
other comment made above.
Richard Schneeman wr...
shevegen (Robert A. Heiler)
03:14 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Richard Schneeman wrote:
> I think this is useful outside of Rails. The Active Support module has 87 million downloa...
naruse (Yui NARUSE)
06:44 PM Bug #12286: Segfault on ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]
Rick, could you also check it on recent stable eventmachine? They had improved cleanup process, so the issue might be... avsej (Sergey Avseyev)
06:41 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
[email protected] wrote:
> Shyouhei Urabe wrote:
> > Seems no one is against abandoning ChangeLog.
> >
> > What...
normalperson (Eric Wong)
03:47 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
Shyouhei Urabe wrote:
> Seems no one is against abandoning ChangeLog.
>
> What about "a ChangeLog-like plain-text...
naruse (Yui NARUSE)
05:44 PM Bug #12314: Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
ruby_2_3 r54754 merged revision(s) 54716,54719,54750. nagachika (Tomoyuki Chikanaga)
02:56 PM Bug #12316 (Third Party's Issue): clang on Linux wrongly keep the inlined symbol
Through clang-3.4 to clang-3.8 they wrongly keep the inlined symbols, and it cause compilation error.
```
compili...
naruse (Yui NARUSE)
12:41 AM Bug #12315 (Feedback): OptionParser parses quoted --dash strings in 2.3.0
I can't reproduce it.
```
$ ruby -roptparse -e 'ARGV.options{|opt|opt.on("-x=STR"){|x|p x}; opt.parse!}' -- -x 'a...
nobu (Nobuyoshi Nakada)

04/23/2016

07:06 PM Bug #12315 (Closed): OptionParser parses quoted --dash strings in 2.3.0
Working on 2.2.4:
~~~
wmctile -c -x 'subl --new-window' --switch-to 'sublime_text.Sublime_text'
~~~
On 2.3.0,...
mreq (Petr Marek)
06:46 PM Bug #11118 (Closed): Unable to build Ruby with Visual Studio 2015 RC
Applied in changeset r54737.
----------
Support MSVC14 and 15 [Bug #11118]
Search _pioinfo which is not exported af...
naruse (Yui NARUSE)
06:23 PM Bug #12184: Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
ruby_2_3 r54736 merged revision(s) 54720. nagachika (Tomoyuki Chikanaga)
12:03 AM Bug #12184 (Closed): Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
Applied in changeset r54720.
----------
ruby.c: fix command line encoding on cygwin
* ruby.c: cygwin does not use w...
nobu (Nobuyoshi Nakada)
05:24 PM Bug #12314 (Closed): Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
This is a ticket for backport management. Already fixed on trunk.
nagachika (Tomoyuki Chikanaga)
03:56 PM Bug #12313 (Closed): [DOC] Fix two code samples
Two tiny fixes of code samples, in Encoding and BigDecimal. stomar (Marcus Stollsteimer)
12:33 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
ping... stomar (Marcus Stollsteimer)
02:21 AM Bug #12311 (Closed): [DOC] Convert DateTime documentation to RDoc
Applied in changeset r54721.
----------
date_core.c: [DOC] markdown to rdoc [ci skip]
* ext/date/date_core.c (Init_...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #12289 (Feedback): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
Could you try recent versions? nobu (Nobuyoshi Nakada)
 

Also available in: Atom