Project

General

Profile

Activity

From 05/09/2016 to 05/15/2016

05/15/2016

09:11 PM Bug #12332 (Closed): [PATCH] proc.c: fix RDoc of Proc#===/call/yield/[]
Applied in changeset r55010.
----------
proc.c: fix RDoc of Proc#===/call/yield/[]
[Bug #12332]
Since r52050 ("pro...
Anonymous
09:11 PM Revision 495863fe (git): * 2016-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:11 PM Revision 3044a0bc (git): proc.c: fix RDoc of Proc#===/call/yield/[]
[Bug #12332]
Since r52050 ("proc.c: enable optimization of Proc#call")
for [Feature #11569], we need to maintain thi...
Eric Wong
02:04 PM Bug #12315: OptionParser parses quoted --dash strings in 2.3.0
Nobuyoshi Nakada wrote:
> I can't reproduce it.
>
> ```
> $ ruby -roptparse -e 'ARGV.options{|opt|opt.on("-x=STR...
mreq (Petr Marek)
01:54 PM Revision 7803106c (git): io.c: use PRI_OFFT_PREFIX for off_t
* io.c (do_io_advise): use configured PRI_OFFT_PREFIX instead of
PRI_OFF_T_PREFIX to format off_t properly on Cygwi...
nobu (Nobuyoshi Nakada)
01:47 PM Feature #12317: Name space of a module
No issue in my point of view.
I agree with your reply.
Can you take a look at my proposal to see what you think a...
dsferreira (Daniel Ferreira)
01:39 PM Feature #12317: Name space of a module
Daniel Ferreira wrote:
> Simple challenge example:
>
> ~~~ ruby
> module Foo
> class Bar
> end
> end
> B...
sawa (Tsuyoshi Sawada)
12:58 PM Feature #12317: Name space of a module
Hi Tsuyoshi.
A clear namespace definition is important for the implementation of my proposed feature: [internal in...
dsferreira (Daniel Ferreira)
01:24 PM Bug #12383 (Feedback): Warnings when compiling proc.c on cygwin
I don't see that warning, with `optflags=-O0` .. `-O3`.
```
$ LANG=C gcc -v
Using built-in specs.
COLLECT_GCC=g...
nobu (Nobuyoshi Nakada)
03:02 AM Bug #12383 (Closed): Warnings when compiling proc.c on cygwin
When compiling ruby on cygwin, I get the following warnings for proc.c:
```
compiling proc.c
proc.c: In function...
duerst (Martin Dürst)
11:59 AM Bug #12342 (Closed): DRb.stop_service doesn't kill sleeping TimerIdConv threads
Applied in changeset r55008.
----------
don't use keeper thread. [Bug #12342]
seki (Masatoshi Seki)
11:59 AM Revision e143a741 (git): don't use keeper thread. [Bug #12342]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
07:56 AM Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?
Yui, it may be helpful to say what kind of feedback do you want, and from whom. duerst (Martin Dürst)
07:17 AM Revision 6b413272 (git): * array.c (rb_ary_entry): extract rb_ary_elt to organize if-conditions
and check whether is is embdeded at once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55007 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
04:56 AM Feature #9992: Access Modifiers (Internal Interfaces)
Hi Jörg, thank you very much for your interesting questions.
This is a subject for a wider discussion and your que...
dsferreira (Daniel Ferreira)
03:51 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Hiroshi SHIBATA wrote:
> I added this issue to agenda of developer meeting at next week.
>
> https://bugs.ruby-la...
rhenium (Kazuki Yamaguchi)
03:24 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I added this issue to agenda of developer meeting at next week.
https://bugs.ruby-lang.org/projects/ruby/wiki/Deve...
hsbt (Hiroshi SHIBATA)
02:58 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
@matz
Can I have SVN access?
I'd love to help improving/maintaining Ruby and ext/openssl. Several of my patches...
rhenium (Kazuki Yamaguchi)
01:31 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Patch v3. It looks like OpenSSL 1.1.0 is delaying...
https://github.com/ruby/ruby/compare/trunk...rhenium:feature/...
rhenium (Kazuki Yamaguchi)
03:03 AM Revision 9529e46a (git): random.c: suppress a warning
* random.c (random_ulong_limited): suppress a shift count warning
when unsigned long is 32bits.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
01:57 AM Bug #12382 (Closed): Deprecated constants will not print out warning when accessed directly
Applied in changeset r55005.
----------
vm_insnhelper.c: deprecated constant in class
* vm_insnhelper.c (vm_get_ev_...
nobu (Nobuyoshi Nakada)
01:57 AM Revision 5cb5692a (git): vm_insnhelper.c: deprecated constant in class
* vm_insnhelper.c (vm_get_ev_const): warn deprecated constant even
in the class context. [ruby-core:75505] [Bug #1...
nobu (Nobuyoshi Nakada)

05/14/2016

11:21 PM Revision 6d4fb98e (git): random.c: clear seed
* random.c (rand_init): clear packed seed value explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55004 ...
nobu (Nobuyoshi Nakada)
06:43 PM Revision 9be98516 (git): * 2016-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:43 PM Revision 3b4e68cf (git): * iseq.h (struct iseq_compile_data): use struct rb_id_table
instead of st_table.
* iseq.c (prepare_iseq_build): don't allocate ivar_cache_table
until it has at least one elem...
naruse (Yui NARUSE)
05:47 PM Bug #12379: mkmf.rb `pkg-config --exists`と`pkg-config --libs`の呼び出し方法が異なり期待した結果にならない(OS X)
ruby_2_3 r55001 merged revision(s) 54999. nagachika (Tomoyuki Chikanaga)
12:04 AM Bug #12379 (Closed): mkmf.rb `pkg-config --exists`と`pkg-config --libs`の呼び出し方法が異なり期待した結果にならない(OS X)
Applied in changeset r54999.
----------
lib/mkmf.rb: use xsystem to pkg-config --exists
* lib/mkmf.rb (pkg_config):...
nobu (Nobuyoshi Nakada)
05:46 PM Revision 97888037 (git): merge revision(s) 54999: [Backport #12379]
* lib/mkmf.rb (pkg_config): use xsystem consistently to set up
library path environment variable as well as...
nagachika (Tomoyuki Chikanaga)
12:00 PM Bug #12382 (Closed): Deprecated constants will not print out warning when accessed directly
Hi,
the current behavior of `deprecate_constant` is a little confusing:
```ruby
module Namespace
module Dep...
rbjl (Jan Lelis)
11:14 AM Bug #12381 (Closed): ext/openssl classes' dup/clone don't work well
They don't copy the underlying C level structures.
~~~ruby
ssl_ctx = OpenSSL::SSL::SSLContext.new
ssl_ctx.cipher...
rhenium (Kazuki Yamaguchi)
11:07 AM Bug #6567: Let OpenSSL::PKey::EC follow the general PKey interface
I want to work on this before the release of openssl gem.
- EC#public_key returns an EC::Point, not an EC
I...
rhenium (Kazuki Yamaguchi)
08:28 AM Feature #12380: `Struct` as a subclass of `Class`
Jeremy Evans wrote:
> You can't subclass Class in ruby:
I see.
> do you think there would be any practical b...
sawa (Tsuyoshi Sawada)
07:18 AM Feature #12380: `Struct` as a subclass of `Class`
Tsuyoshi Sawada wrote:
> I propose that either `Struct` should be redefined as a subclass of `Class`, or a new class...
jeremyevans0 (Jeremy Evans)
06:22 AM Feature #12380 (Open): `Struct` as a subclass of `Class`
This issue is somewhat of the same flavor as #12374.
`Struct` has a constructor that creates a class:
~~~ruby
...
sawa (Tsuyoshi Sawada)
01:09 AM Revision 005ee0e4 (git): ChangeLog: GitHub reference
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:04 AM Revision f37f881a (git): lib/mkmf.rb: use xsystem to pkg-config --exists
* lib/mkmf.rb (pkg_config): use xsystem consistently to set up
library path environment variable as well as latter ...
nobu (Nobuyoshi Nakada)

05/13/2016

05:15 PM Bug #12379 (Closed): mkmf.rb `pkg-config --exists`と`pkg-config --libs`の呼び出し方法が異なり期待した結果にならない(OS X)
OS X 10.11.4上で
- rubyが/opt/localにインストールされている
- /opt/local/lib/libiconv.dylibがある
とき、gem ffiのインストールに失敗します。
~~...
kimuraw (Wataru Kimura)
04:44 PM Feature #12378 (Open): arbitrary size Random.new_seed
https://github.com/ruby/ruby/compare/trunk...nobu:feature/Random.new_seed-prec
Related to #12357, a proposal to ad...
nobu (Nobuyoshi Nakada)
04:36 PM Revision fc9bc883 (git): test_rand.rb: tests for seeds
* test/ruby/test_rand.rb: tests for Random.raw_seed and
Random.new_seed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
03:28 PM Bug #12376: No error for elseif condition
You may want to use a code lint tool, such as [rubocop](https://github.com/bbatsov/rubocop).
BTW, next quiz:
~~...
mame (Yusuke Endoh)
12:40 PM Bug #12376: No error for elseif condition
Of course.
Makes perfect sense.
I would say the way to handle this bugs in a pro-active way would be to use 100% co...
dsferreira (Daniel Ferreira)
11:51 AM Bug #12376 (Rejected): No error for elseif condition
usa (Usaku NAKAMURA)
11:37 AM Bug #12376: No error for elseif condition
And most editors can high-light keywords, but not `elseif`, as shown in this page, FYI. nobu (Nobuyoshi Nakada)
10:59 AM Bug #12376 (Closed): No error for elseif condition
it's parsed like
``` ruby
a = 1
if a == 2
puts 2
elseif(a==1)
puts 1
else
puts 0
end
```
and t...
matz (Yukihiro Matsumoto)
10:59 AM Bug #12376: No error for elseif condition
It is parsed as
~~~ruby
if a == 2
puts 2
elsif a == 3
puts 3
elseif(a == 1)
puts 1
else
puts 4
...
zverok (Victor Shepelev)
10:41 AM Bug #12376 (Rejected): No error for elseif condition
Something I have been for a long time wondering about.
I don't know if this is a parsing problem or not but for me i...
dsferreira (Daniel Ferreira)
03:16 PM Revision d009cebf (git): random.c: no local copy of the seed
* random.c (make_seed_value): append leading-zero-guard and get
rid of making a local copy of the seed.
git-svn-id...
nobu (Nobuyoshi Nakada)
03:16 PM Revision 00a371c2 (git): * 2016-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 79850a08 (git): random.c: fill_random_seed size
* random.c (fill_random_seed): move the seed size to an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
02:56 PM Revision 678c39dc (git): random.c: clear buf
* random.c (random_seed): clear temporary buffer explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54994...
nobu (Nobuyoshi Nakada)
02:01 PM Revision be33635c (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:06 AM Bug #12377 (Closed): recipe for target 'do-install-nodoc' failed
When compiling with
make up; make install-nodoc
I get the following error
```
installing default gems: /us...
duerst (Martin Dürst)
09:34 AM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
In this situation we have Module#public_method_defined? returning different things for classes and modules which make... dsferreira (Daniel Ferreira)
09:11 AM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
Understood.
So what really makes sense to do is something like this:
``` ruby
$ irb
> require 'mkmf'
> YAML.re...
dsferreira (Daniel Ferreira)
09:04 AM Feature #12375: Net::HTTP.post
Usaku NAKAMURA wrote:
> Shugo Maeda wrote:
> > * The first argument must be a URI object, but it might be better to...
shugo (Shugo Maeda)
08:22 AM Feature #12375: Net::HTTP.post
Shugo Maeda wrote:
> * The first argument must be a URI object, but it might be better to accept a String.
It sho...
usa (Usaku NAKAMURA)
07:56 AM Feature #12375 (Closed): Net::HTTP.post
Net::HTTP.post_form is convenient, but it's dedicated to application/x-www-form-urlencoded.
Why not provide Net::HTT...
shugo (Shugo Maeda)
06:44 AM Feature #12275 (Open): String unescape
Thank you. That makes sense to me because String#dump has no corresponding undump method now. shyouhei (Shyouhei Urabe)
03:52 AM Bug #12371: Windows Nano Server WIN32OLE compatibility
In Window Nano Server TP5, Microsoft has temporarily changed the behavior of `OleInitialize` internally to use `CoIni... Iristyle (Ethan Brown)

05/12/2016

11:46 PM Revision da696ae7 (git): drop FreeBSD < 4 support
* NEWS: drop FreeBSD < 4 support.
The most recent version affected by this is 3.5 and was released
in 2000.
htt...
nobu (Nobuyoshi Nakada)
11:39 PM Bug #12370 (Closed): require 'mkmf' changes Object#respond_to? behaviour
`Module#public_method_defined?` is for instance methods.
`Object#respond_to?` is for its own methods.
They have no ...
nobu (Nobuyoshi Nakada)
10:25 AM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
Hi Nobu.
I discovered due to this bug in capybara-screenshot gem: [[https://github.com/mattheworiordan/capybara-sc...
dsferreira (Daniel Ferreira)
11:35 PM Revision 8cd05857 (git): extmk.rb: failures format
* ext/extmk.rb: show extension failures in compilation-mode
friendly format.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
11:35 PM Revision 3bdf613a (git): defines.h: avoid redefinition
* include/ruby/defines.h (GCC_VERSION_SINCE): get rid of
re-definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
09:21 PM Bug #12371: Windows Nano Server WIN32OLE compatibility
In my tests `OleInitialize(NULL)` succeeded on Nano Server TP5 and reverse forwarders installed. Then it already is b... cremno (cremno phobia)
04:20 PM Bug #12371: Windows Nano Server WIN32OLE compatibility
Yes, the behavior of `OleInitialize` is generally additive and per the docs at https://msdn.microsoft.com/en-us/libra... Iristyle (Ethan Brown)
01:58 AM Bug #12371 (Assigned): Windows Nano Server WIN32OLE compatibility
Doesn't `CoInitialize` differ than `OleInitialize`? nobu (Nobuyoshi Nakada)
06:30 PM Feature #12374: SingletonClass
Sorry, for the last example, I meant:
~~~ruby
A = SingletonClass.new
~~~
sawa (Tsuyoshi Sawada)
06:28 PM Feature #12374 (Closed): SingletonClass
I propose to have a class `SingletonClass`, a subclass of the class `Class`, to which all singleton classes belong. I... sawa (Tsuyoshi Sawada)
06:27 PM Revision 4e080d26 (git): fix typo in r54988
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Revision b207e7cd (git): include/ruby/defines.h (GCC_VERSION_SINCE): moved from internal.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Revision 07dd6fcc (git): * 2016-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:12 PM Revision ac11f944 (git): Use HAVE_BUILTIN___BUILTIN_CONSTANT_P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Revision 91e3c8b3 (git): * configurein: use alternative keyword
to avoid macros conflicts with them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54985 b2dd03c8-39d4-4d8f-98ff...
naruse (Yui NARUSE)
04:07 PM Feature #11090: Enumerable#each_uniq and #each_uniq_by
Why introduce one more method if we can just implement `#uniq` (with or without block, sticking to `Array#uniq` seman... prijutme4ty (Ilya Vorontsov)
03:43 PM Feature #12275: String unescape
I think yes, inverse of String#dump. I have user inputed string without qoutes, but it don't metter much. asnow (Andrew Bolshov)
02:12 PM Bug #12373: Optimize CSV#shift
I update patches.
csv-shift-1.patch: Use **s1.start_with?(s2)** instead of **s1[0] == s2** and use **s1.end_with?(...
ksss (Yuki Kurihara)
07:10 AM Bug #12373: Optimize CSV#shift
Thank you for your reply.
> You can replace str1[-1] == str2 with str1.end_with?(str2) too, three places.
Yes, ...
ksss (Yuki Kurihara)
02:05 AM Bug #12373: Optimize CSV#shift
You can replace **`str1[-1] == str2`** with **`str1.end_with?(str2)`** too, three places. nobu (Nobuyoshi Nakada)
12:45 AM Bug #12373 (Closed): Optimize CSV#shift
I think that **`str1.start_with?(str2)`** is faster than **`str1[0] == str2`**.
Because **`str1.start_with?(str2)`**...
ksss (Yuki Kurihara)
01:01 PM Revision b69cc4cc (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:19 AM Revision 2b7c7214 (git): extmk.rb: failed messages at the end
* ext/extmk.rb: output failed configurations at the end, not to be
scrolled out.
TODO: show the message at the en...
nobu (Nobuyoshi Nakada)
10:12 AM Feature #12364: Copy superclass serial number to singleton subclasses for better IMC hits
I don't have any objection about this change because it is not big change.
Did you measure not micro-benchmarks?
ko1 (Koichi Sasada)
01:06 AM Bug #9569: SecureRandom should try /dev/urandom first
@naruse Do you think it's inadequate for Linux users to fall back to getrandom(2)? If so, why? shyouhei (Shyouhei Urabe)
12:48 AM Bug #10558 (Third Party's Issue): failing require digest.so on OSX statically compiled ruby
nobu (Nobuyoshi Nakada)

05/11/2016

07:23 PM Bug #12372 (Closed): Resolv::DNS does not fetch authority section resources when calling getresource(s)
In some cases, for example, when trying to retrieve the nameservers of a domain, you need to ask authoritative server... ereslibre (Rafael Fernández López)
05:58 PM Bug #12371 (Closed): Windows Nano Server WIN32OLE compatibility
The `OleInitialize()` call used in WIN32OLE is not supported on Nano Server due to the fact that the STA COM model is... alexpilotti (Alessandro Pilotti)
05:03 PM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
The behavior of `Object#respond_to?` isn't changed.
Simply mkmf.rb defines `configuration` method.
```
$ ruby -r...
nobu (Nobuyoshi Nakada)
02:25 PM Bug #12370 (Rejected): require 'mkmf' changes Object#respond_to? behaviour
Replication steps:
``` ruby
$ irb
> RUBY_VERSION
=> '2.3.0'
> require 'yaml'
> YAML.public_method_defined?(:c...
dsferreira (Daniel Ferreira)
04:54 PM Revision 6ff3a8e3 (git): mkmf.rb: fix conflict in have_library
* lib/mkmf.rb (try_func): get rid of conflict of declarations of
main(). checking local symbol reference does not ...
nobu (Nobuyoshi Nakada)
04:39 PM Revision d6d8ea91 (git): win32: qsort_s
* win32/Makefile.sub (HAVE_QSORT_S): disable on VS2012 too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54981 ...
nobu (Nobuyoshi Nakada)
03:21 PM Revision 98c084b8 (git): * win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio
2012 or later, because VS2010 seems to causes a SEGV in
test/ruby/test_enum.rb.
git-svn-id: svn+ssh://ci.ruby-lan...
U.Nakamura
03:08 PM Revision cb459dbe (git): fix typo at ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
03:04 PM Revision 313f9694 (git): * 2016-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 0b8f8ac5 (git): * vm_insnhelper.c (vm_getivar): describe fast-path explicit
(compiler frindly). [Bug #12274].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54977 b2dd03c8-39d4-4d8f-98ff-8...
Masaya Tarui
12:50 PM Bug #12274 (Closed): accessing to instance variable should be fast.
Applied in changeset r54976.
----------
* compile.c (iseq_compile_each): share InlineCache during same
instance v...
tarui (Masaya Tarui)
12:50 PM Revision 44916ec4 (git): * compile.c (iseq_compile_each): share InlineCache during same
instance variable accesses. Reducing memory consumption,
rasing cache hit rate and rasing branch prediction...
Masaya Tarui
12:38 PM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
Nobuyoshi Nakada wrote:
> I can't reproduce it.
>
> ```
> Successfully installed activesupport-4.2.6
> ```
T...
jeffreyc (Jeff C)
12:24 PM Revision ac8c23f1 (git): test_minitest_unit.rb: fix "random" sort
* test/minitest/test_minitest_unit.rb (test_test_methods_random):
hack to fix the order by avoiding duplicate keys....
nobu (Nobuyoshi Nakada)
09:31 AM Bug #9569 (Open): SecureRandom should try /dev/urandom first
In general SecureRandom should work as it works on OpenBSD.
It uses arc4random_buf, which gathers entropy from /dev/...
naruse (Yui NARUSE)
05:55 AM Bug #9569: SecureRandom should try /dev/urandom first
George Koehler: you're missing the point: the OS RNG should be used instead of OpenSSL's. That isn't necessarily /dev... bascule (Tony Arcieri)
08:18 AM Revision be4b1c1e (git): util.c: qsort_s
* util.c (ruby_qsort): use qsort_s if available, for Microsoft
Visual Studio 2005 (msvcr80.dll) and mingw.
git-svn...
nobu (Nobuyoshi Nakada)
07:13 AM Revision d22cf0de (git): fix file name [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:35 AM Bug #12369 (Rejected): optionparseで引数の文字列が受け取れなくなる
nobu (Nobuyoshi Nakada)
06:10 AM Bug #12369 (Rejected): optionparseで引数の文字列が受け取れなくなる
```ruby
#test.rb
require "optparse"
OptionParser.new do |opt|
opt.on('-a', '--aaa=VAL') {|v| p "aaa", v }
op...
soukouki (soutarou okada)
05:42 AM Bug #12368 (Rejected): default encoding of Integer#chr
現状、`Integer#chr`は引数なしの場合には、
1. default internalが設定されていればそれを使う
2. default internalが`nil`ならASCII(-8BIT)とみなす
という挙...
usa (Usaku NAKAMURA)
01:33 AM Revision a3d2c119 (git): * 2016-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:33 AM Revision 4e3a98d3 (git): * ChangeLog: Remove trailing-whitespaces.
[ci skip][fix GH-1348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

05/10/2016

06:44 PM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
I have worked around this for now in JRuby by modifying the warning to *only* fire if a named capture was previously ... headius (Charles Nutter)
05:08 PM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
Related Ruby issue: https://bugs.ruby-lang.org/issues/9623
I think the warning needs to be softened to allow repea...
headius (Charles Nutter)
12:46 PM Bug #12367 (Closed): [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
Applied in changeset r54970.
----------
* insns.def (defineclass): Also raise an error when redeclaring the
superc...
Eregon (Benoit Daloze)
11:54 AM Bug #12367 (Assigned): [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
nobu (Nobuyoshi Nakada)
11:26 AM Bug #12367 (Closed): [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
For example:
~~~ ruby
class SuperclassIgnoresObject < A
end
SuperclassIgnoresObject.superclass # A
class Sup...
Eregon (Benoit Daloze)
12:46 PM Revision 06dd20f7 (git): * insns.def (defineclass): Also raise an error when redeclaring the
superclass of a class as Object and it has another superclass.
[Bug #12367] [ruby-core:75446]
* test/ruby/test_clas...
Eregon (Benoit Daloze)
11:36 AM Feature #12357: Random#initialize with a String
Nobuyoshi Nakada wrote:
> I found that rubyspec fails.
>
> Maybe, an alternative is an optional parameter of `Ran...
Eregon (Benoit Daloze)
09:55 AM Feature #12357: Random#initialize with a String
This proposal is not described about "external sources" in detail, and use cases.
If this proposal want to pass da...
naruse (Yui NARUSE)
07:54 AM Feature #12357: Random#initialize with a String
I found that rubyspec fails.
Maybe, an alternative is an optional parameter of `Random.new_seed` for the precision.
nobu (Nobuyoshi Nakada)
07:41 AM Feature #12357: Random#initialize with a String
Yes! shevegen (Robert A. Heiler)
10:55 AM Bug #12363 (Rejected): URI::Generic.build allows invalid input
URI::Generic.new has 11th argument named arg_check even though its default is false.
```
irb(main):006:0> uri = U...
naruse (Yui NARUSE)
10:30 AM Misc #12362: Redmine Forum Board signup
Instead of forum, we use mailing lists:
https://www.ruby-lang.org/en/community/
naruse (Yui NARUSE)
02:40 AM Misc #12362 (Rejected): Redmine Forum Board signup
We didn't provide a function of the forum board. hsbt (Hiroshi SHIBATA)
10:12 AM Misc #12365: [DOC] Suggestion to change FileUtils.compare_file
I think the author considered BusyBox.
Therefore it is not a good example.
I think /dev/null and /dev/random is b...
naruse (Yui NARUSE)
07:37 AM Misc #12365 (Closed): [DOC] Suggestion to change FileUtils.compare_file
Hello.
The documentation at:
http://ruby-doc.org/stdlib-2.3.1/libdoc/fileutils/rdoc/FileUtils.html#method-c-c...
shevegen (Robert A. Heiler)
09:43 AM Feature #12361: Proposal: add Geo::Coord class to standard library
You see, my point was not "I created a cool code, lets add it to stdlib!"
My point was "We need standard Geo Coordin...
zverok (Victor Shepelev)
09:16 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Victor Shepelev wrote:
> I referenced "gem question" in original proposal: "This type is too "small" to be defined...
duerst (Martin Dürst)
08:11 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Robert A. Heiler wrote:
> Would it actually not be better to instead add one or two methods to time, date or datetim...
zverok (Victor Shepelev)
08:02 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Martin Dürst wrote:
> On rubygems, I see a lot of gems with 'geo' in their name. Which one is yours? How popular is ...
zverok (Victor Shepelev)
07:40 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Would it actually not be better to instead add one or two methods to time, date or datetime?
I guess your proposal...
shevegen (Robert A. Heiler)
04:19 AM Feature #12361: Proposal: add Geo::Coord class to standard library
On rubygems, I see a lot of gems with 'geo' in their name. Which one is yours? How popular is it? These days, it's ea... duerst (Martin Dürst)
08:36 AM Bug #12366: optionparseで引数の文字列が受け取れなくなる
フラグと分けてもオプショナル引数を置きたいときは、`'--foo [VAL]'`を使ってください。 nobu (Nobuyoshi Nakada)
08:33 AM Bug #12366 (Rejected): optionparseで引数の文字列が受け取れなくなる
`[=VAL]` は、直接か`=`かでフラグに続いているものだけオプショナル引数とみなします。
```ruby
require "optparse"
OptionParser.new do |opt|
opt....
nobu (Nobuyoshi Nakada)
08:12 AM Bug #12366 (Rejected): optionparseで引数の文字列が受け取れなくなる
```ruby
require "optparse"
OptionParser.new do |opt|
opt.on('-a', '--foo[=VAL]') {|v| p v }
opt.parse! ARGV
...
soukouki (soutarou okada)
07:50 AM Feature #12360: More useful return values from bang methods
I think this proposal is to change the return value *if* actual rejection happened, but not the case nothing was reje... nobu (Nobuyoshi Nakada)
07:12 AM Feature #12360: More useful return values from bang methods
`reject!` returns `nil` in case nothing was rejected at all. This is useful when a programmer wants to know if actua... shyouhei (Shyouhei Urabe)
07:44 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I personally have no preference either way.
I should however had also note that I like the current changelog forma...
shevegen (Robert A. Heiler)
06:46 AM Revision 15fbd05e (git): random.c: reuse bits
* random.c (random_ulong_limited): reduce calling bytes methods by
reusing dropped bits.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
06:45 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Vit Ondruch wrote:
> > even 0.9.8/1.0.0 series are no longer supported[1]
>
> If I am not mistaken, 0.9.8 is stil...
rhenium (Kazuki Yamaguchi)
05:29 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
> even 0.9.8/1.0.0 series are no longer supported[1]
If I am not mistaken, 0.9.8 is still part of RHEL5/CentOS5 an...
vo.x (Vit Ondruch)
05:57 AM Revision b402cc71 (git): random.c: use bytes
* random.c (obj_random_bytes): base on bytes method instead of
rand method, not to call toplevel rand method.
git-...
nobu (Nobuyoshi Nakada)
04:36 AM Revision 518713fd (git): * configure.in (-fexcess-precision=standard): before r54895 -std=c99
is specified and it implied -fexcess-precision=standard.
Now with -std=gnu99, it should be explicitly specified.
...
naruse (Yui NARUSE)
12:33 AM Feature #12364 (Closed): Copy superclass serial number to singleton subclasses for better IMC hits
Hi,
I've attached a patch that copies the serial number from the superclass to newly created singleton subclasses....
tenderlovemaking (Aaron Patterson)

05/09/2016

09:59 PM Bug #12346 (Closed): Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
nobu (Nobuyoshi Nakada)
06:38 PM Bug #12346: Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
patch from https://bugs.ruby-lang.org/issues/11880 fixes this issue. it's also fixed in ruby_2_3 head.
Ruby 2.3.0:...
allen (Allen Hewes)
08:45 PM Bug #12363 (Rejected): URI::Generic.build allows invalid input
Reproduce:
~~~
require 'uri'
invalid_host = 'ex_ample.com'
invalid_userinfo = 'uuuu:pp/pp'
uri = URI::Generic....
avit (Andrew Vit)
08:37 PM Misc #12362 (Rejected): Redmine Forum Board signup
How do I sign up on Redmine's Forum? I'm asking here, because there are NO instructions on the redmine site. http:/... GREYHELM (Dawes Graybeal)
05:26 PM Feature #12361 (Rejected): Proposal: add Geo::Coord class to standard library
## Proposal
Add `Geo::Coord` class to Ruby standard library, representing `[latitude, longitude]` pair + convenien...
zverok (Victor Shepelev)
04:25 PM Revision fbf22f2d (git): * 2016-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 PM Revision a6b221f2 (git): random.c: compare by rb_equal
* random.c (random_equal): compare seeds by rb_equal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54965 b2dd03...
nobu (Nobuyoshi Nakada)
03:23 PM Feature #12360 (Rejected): More useful return values from bang methods
It would be nice if bang methods returned results that where of some additional use. Presently most just return the e... trans (Thomas Sawyer)
02:51 PM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
See https://github.com/jruby/jruby/issues/3865 for a related issue in JRuby. headius (Charles Nutter)
02:46 PM Bug #12359 (Closed): Named captures "conflict" warning is unnecessary and limits uses of named captures
There's currently a warning whenever a named capture in a regular expression has the same name as an already-declared... headius (Charles Nutter)
02:30 PM Revision bc7a845a (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:39 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Thanks! I'd be happy to maintain ext/openssl.
I have read #5481 and #9612 before, so I know that gemifying ext/ope...
rhenium (Kazuki Yamaguchi)
07:39 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Zachary Scott wrote:
> I'm happy for your help with Ruby's OpenSSL!
>
> This is a rather large change, and would ...
naruse (Yui NARUSE)
07:32 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I'm happy for your help with Ruby's OpenSSL!
This is a rather large change, and would like to see it land in the (...
zzak (zzak _)
04:24 AM Bug #12324 (Assigned): Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I think you become a committer and commit it by yourself. (and maintain it) naruse (Yui NARUSE)
07:39 AM Bug #12358 (Closed): TestProcess#test_threading_works_after_exec_fail random test failures
Ruby 2.3.1 builds randomly fail quite often on Fedora Rawhide [1] with following error:
```
1) Error:
TestProc...
vo.x (Vit Ondruch)
04:57 AM Bug #9569: SecureRandom should try /dev/urandom first
I made myself a benchmark:
https://gist.github.com/kernigh/d169895a700c6511d08511c005a28d88
RAND_bytes() from Ope...
kernigh (George Koehler)
04:27 AM Revision 8610bd03 (git): random.c: consitify
* random.c (init_by_array): consitify initializing keys.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54963 b2d...
nobu (Nobuyoshi Nakada)
03:52 AM Revision ad949e8f (git): random.c: seed conversion
* random.c (rand_init): random_seed() always returns an Integer,
no conversion for it.
* random.c (random_init, rb...
nobu (Nobuyoshi Nakada)
01:52 AM Revision 639bfd6d (git): thread.c: GET_THREAD once in rb_thread_atfork
* thread.c (rb_thread_atfork_internal): move th to an argument.
* thread.c (rb_thread_atfork): do not repeat GET_THRE...
nobu (Nobuyoshi Nakada)
01:46 AM Revision a46df859 (git): thread.c: clear atfork functions
* thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): do
nothing unless working fork is available.
* thread_...
nobu (Nobuyoshi Nakada)
12:05 AM Revision e6709f0a (git): openssl/extconf.rb: NO SSL macros first
* ext/openssl/extconf.rb: check OPENSSL_NO_SSL{2,3} macros before
checking related functions.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:05 AM Revision abfc0b18 (git): webrick/utils.rb: suppress messages
* test/webrick/utils.rb (TestWEBrick#start_server): suppress
progress messages from WEBrick::Utils#create_self_sign...
nobu (Nobuyoshi Nakada)
12:05 AM Revision 4a46404a (git): test_ssl_server.rb: assert_self_signed_cert
* test/webrick/test_ssl_server.rb (assert_self_signed_cert):
extract common assertion.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom