Project

General

Profile

Activity

From 05/11/2016 to 05/17/2016

05/17/2016

11:14 PM Feature #6647: Exceptions raised in threads should be logged
Charles Nutter wrote:
> > Benoit, I advise you to compromise on the default value. Once this feature gets implemente...
shyouhei (Shyouhei Urabe)
08:27 PM Feature #6647: Exceptions raised in threads should be logged
> Benoit, I advise you to compromise on the default value. Once this feature gets implemented, its default value coul... headius (Charles Nutter)
05:33 PM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> I expect that an assignment to Thread.report_on_exception doesn't affect
> threads started be...
nobu (Nobuyoshi Nakada)
04:03 PM Feature #6647: Exceptions raised in threads should be logged
Daniel Ferreira wrote:
> Why do we need `Thread#report_on_exception` ?
> As I see it `Thread.report_on_exception` s...
spatulasnout (B Kelly)
03:41 PM Feature #6647: Exceptions raised in threads should be logged
Nobuyoshi Nakada wrote:
> Do you mean that setting it at the start up time, before starting other threads?
> Or s...
akr (Akira Tanaka)
03:37 PM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> This means that
> we can enable the message for each thread when Thread.report_on_exception =...
nobu (Nobuyoshi Nakada)
03:26 PM Feature #6647: Exceptions raised in threads should be logged
Nobuyoshi Nakada wrote:
> Will messages be printed on all Threads if `Thread.report_on_exception` is `true`?
> Or i...
akr (Akira Tanaka)
02:58 PM Feature #6647: Exceptions raised in threads should be logged
Why do we need `Thread#report_on_exception` ?
As I see it `Thread.report_on_exception` should be enough.
Is there...
dsferreira (Daniel Ferreira)
02:50 PM Feature #6647: Exceptions raised in threads should be logged
Will messages be printed on all Threads if `Thread.report_on_exception` is `true`?
Or it is just the default value f...
nobu (Nobuyoshi Nakada)
12:27 PM Feature #6647: Exceptions raised in threads should be logged
Benoit Daloze wrote:
>
> Agreed, except that it should be true by default otherwise it misses the whole point of R...
akr (Akira Tanaka)
12:01 PM Feature #6647: Exceptions raised in threads should be logged
Benoit, I advise you to compromise on the default value. Once this feature gets implemented, its default value could... shyouhei (Shyouhei Urabe)
09:18 AM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> How about introducing Thread[.#]report_on_exception=(bool) ?
>
> false by default for compa...
Eregon (Benoit Daloze)
07:32 AM Feature #6647: Exceptions raised in threads should be logged
I vote for Thread#report_on_exception
Matz.
matz (Yukihiro Matsumoto)
05:58 AM Feature #6647: Exceptions raised in threads should be logged
How about introducing Thread[.#]report_on_exception=(bool) ?
false by default for compatibility.
message should b...
akr (Akira Tanaka)
06:16 PM Revision 7f860741 (git): re.c: fix up r55036
* re.c (match_values_at): fix regression at r55036.
MatchData#values_at accepts Range.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
05:24 PM Revision 093c3893 (git): vm_core.h: bit flags
* vm_core.h (rb_vm_struct, rb_thread_struct): make flags bit
fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
05:20 PM Feature #12357 (Feedback): Random#initialize with a String
It sounds not useful on the current situation.
Reopen if a Random Utility module requires this.
naruse (Yui NARUSE)
05:10 PM Feature #9179 (Closed): MatchData#values_at should support named capture
Applied in changeset r55036.
----------
* re.c (match_values_at): MatchData#values_at supports named captures
[Fea...
naruse (Yui NARUSE)
05:10 PM Revision e6a10e89 (git): * re.c (match_aref): remove useless condition and call rb_fix2int.
rb_reg_nth_match handles negative index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55037 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
05:10 PM Revision 92f8d74a (git): * re.c (match_values_at): MatchData#values_at supports named captures
[Feature #9179]
* re.c (namev_to_backref_number): separeted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5503...
naruse (Yui NARUSE)
03:51 PM Bug #12389 (Closed): Module#constants includes non-constants
Hi Ruby Core,
I noticed that `Module#constants(false)` sometimes includes modules/classes with a lowercase name:
...
rbjl (Jan Lelis)
03:43 PM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
`obj.(args)` is a syntax sugar for `obj.call(args)`.
Your notation confuses me.
nobu (Nobuyoshi Nakada)
03:25 PM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
Daniel Ferreira wrote:
> Maybe the proposed `&&.` operator would be a good case scenario for this situations acting ...
nobu (Nobuyoshi Nakada)
10:25 AM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
Hi Matz,
I tend to still use this kind of code in some scenarios, specially when I work with objects with dynamic ...
dsferreira (Daniel Ferreira)
06:41 AM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
Real world use case, please?
Matz.
matz (Yukihiro Matsumoto)
03:08 PM Revision 0f621628 (git): * 2016-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision d5595a96 (git): Optimize enum_sum for a range from int to int
* enum.c (enum_sum): Optimize for a range from int to int.
* test/ruby/test_enum.rb (test_range_sum): Move from test...
Kenta Murata
02:09 PM Revision 41d002bb (git): Write document of Enumerable#sum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
01:58 PM Revision 41ef7ec3 (git): Implement Enumerable#sum
* enum.c (enum_sum): Implement Enumerable#sum.
* test/ruby/test_enum.rb (test_sum): Test sum for Enumerable.
* test...
Kenta Murata
01:26 PM Revision 341b34d7 (git): add issue number for Array#sum incompatitbility description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:24 PM Revision 3c7f671a (git): Describe Fixnum and Bignum integration in NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:15 PM Revision 449fbfd4 (git): Use Integer instead of Fixnum and Bignum.
* object.c, numeric.c, enum.c, ext/-test-/bignum/mul.c,
lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rexml/xpath_...
akr (Akira Tanaka)
01:03 PM Bug #12337 (Closed): inconsistency between Fixnum#coerce and Bignum#coerce
This issue is closed because [Feature #12005] is merged.
matz said that backport the patch for this issue to relea...
akr (Akira Tanaka)
06:26 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
bignum.coerce(float) raise an exception intentionally because it is difficult to determine which is bigger.
But it i...
matz (Yukihiro Matsumoto)
12:57 PM Revision 3118d1e4 (git): fix alignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:57 PM Revision c1664c70 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:49 AM Feature #9992: Access Modifiers (Internal Interfaces)
There is a proposal for a namespace method: [Object#namespace](https://bugs.ruby-lang.org/issues/12317).
The namespa...
dsferreira (Daniel Ferreira)
10:38 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Thanks, I will. rhenium (Kazuki Yamaguchi)
05:39 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
OK, you can be a committer. Follow the instruction in:
* https://bugs.ruby-lang.org/projects/ruby/wiki/CommitterH...
matz (Yukihiro Matsumoto)
10:02 AM Feature #12217: Introducing Enumerable#sum for precision compensated summation and revert r54237
matz accepted Enumerable#sum (and Range#sum).
Examples:
`Range#sum` for mathematical sigma: `(0..n).sum {|i| ... ...
akr (Akira Tanaka)
09:26 AM Feature #12075 (Feedback): some container#nonempty?
`Array#any?` seems to work usual use cases.
Feedback if another cases are discovered.
naruse (Yui NARUSE)
09:13 AM Feature #12338: bypass Exception.new
Currently, exception in `eval` shows the followings:
```
$ ruby -e 'eval("raise")'
-e:1:in `eval': (eval):1:in `...
nobu (Nobuyoshi Nakada)
08:55 AM Feature #8110: Regex methods not changing global variables
+1 for `Regexp#match?`
Matz.
matz (Yukihiro Matsumoto)
08:52 AM Feature #8110: Regex methods not changing global variables
How about Regexp#match? to return bool without MatchData? akr (Akira Tanaka)
08:28 AM Bug #12368: default encoding of Integer#chr
What about making the default UTF-8. This is the same as source encoding for many scripts now. According to the exper... duerst (Martin Dürst)
08:25 AM Revision 918f6490 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:25 AM Revision 1afbc71a (git): forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:18 AM Feature #8895: Destructuring Assignment for Hash
The proposed syntax is much harder to implement than it looks. It conflicts with Hash literals. As a result, humans c... matz (Yukihiro Matsumoto)
07:23 AM Feature #12157: Is the option hash necessary for future Rubys?
Agreed. But we have to design migration path. That's a hard problem, though.
Matz.
matz (Yukihiro Matsumoto)
07:00 AM Feature #5899 (Rejected): chaining comparsions.
matz (Yukihiro Matsumoto)
06:59 AM Feature #5899: chaining comparsions.
I don't think it's worth adding extra complexity to Ruby.
Matz.
matz (Yukihiro Matsumoto)
06:53 AM Feature #12005 (Closed): Unify Fixnum and Bignum into Integer
Applied in changeset r55024.
----------
[Feature #12005] Unify Fixnum and Bignum into Integer
* [Feature #12005] Un...
akr (Akira Tanaka)
06:39 AM Feature #12005: Unify Fixnum and Bignum into Integer
I should have unified those classes at the first hand. It's much cleaner & simpler.
Try unifying them and see if it ...
matz (Yukihiro Matsumoto)
06:53 AM Revision f9727c12 (git): [Feature #12005] Unify Fixnum and Bignum into Integer
* [Feature #12005] Unify Fixnum and Bignum into Integer
* include/ruby/ruby.h (rb_class_of): Return rb_cInteger for ...
akr (Akira Tanaka)
06:45 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
しばたさんがしばらく前に r54432 を入れてましたが、trunk の状態についてはどうですか。 akr (Akira Tanaka)
06:31 AM Feature #11098 (Feedback): Thread-level allocation counting
ko1 (Koichi Sasada)
06:05 AM Feature #12244: Add a way to `integer - integer % num`
The proposed behavior seems reasonable for me.
The only concern is performance. We need measurement.
Matz.
matz (Yukihiro Matsumoto)
05:51 AM Feature #12352 (Rejected): New hash syntax broken for numeric keys
matz (Yukihiro Matsumoto)
05:50 AM Feature #12352: New hash syntax broken for numeric keys
Although I admit my mistake, I reject this for consistency.
If I allow this syntax, it had to generate
``` ruby
...
matz (Yukihiro Matsumoto)
02:58 AM Bug #12383 (Closed): Warnings when compiling proc.c on cygwin
Applied in changeset r55023.
----------
configure.in: declare as NORETURN
* configure.in (RUBY_CHECK_BUILTIN_SETJMP...
nobu (Nobuyoshi Nakada)
02:58 AM Revision 565241f1 (git): configure.in: declare as NORETURN
* configure.in (RUBY_CHECK_BUILTIN_SETJMP): declare t as NORETURN
to suppress warnings by -Wsuggest-attribute=noret...
nobu (Nobuyoshi Nakada)
01:40 AM Revision 6f7f2e8b (git): * 2016-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision d077f9c5 (git): configure.in: RUBY_CHECK_SETJMP
* configure.in (RUBY_CHECK_SETJMP): needs the header and proper
arguments for builtin setjmp functions.
git-svn-id...
nobu (Nobuyoshi Nakada)
01:31 AM Bug #12385 (Closed): xmlrpc requires Ruby version >= 2.4.0., and produces an error even though I have Ruby 2.4.0
Hiroshi SHIBATA wrote:
> It's fixed at r55017. Can you confirm this?
Confirmed, thanks!
duerst (Martin Dürst)
12:19 AM Bug #9082: popen3 hangs when stderr gets lots of output
Note you can use `Open3.capture3` to safely read stdout and stderr without doing `popen3` + `IO.select` yourself.
...
bitsweat (Jeremy Daer)

05/16/2016

02:49 PM Bug #12388 (Third Party's Issue): Iterating second dbm enum causes first dbm enum to stop
When iterating over a dbm file, accessing the enumerator of a second dbm file causes iteration of the first dbm file ... wayne.conrad (Wayne Conrad)
01:27 PM Bug #12383: Warnings when compiling proc.c on cygwin
I'm also seeing the warning on my Linux box with GCC 6.1.1/5.3.0. Removing "-Wsuggest-attribute=noreturn" from config... rhenium (Kazuki Yamaguchi)
11:14 AM Bug #12383: Warnings when compiling proc.c on cygwin
I updated to
```
/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0/configure
```
but the error persi...
duerst (Martin Dürst)
10:57 AM Bug #12383: Warnings when compiling proc.c on cygwin
> ```
> /cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-3.x86_64/src/gcc-5.3.0/configure
Seems older a little.
nobu (Nobuyoshi Nakada)
10:23 AM Bug #12383 (Open): Warnings when compiling proc.c on cygwin
Here's my gcc version information:
```
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr...
duerst (Martin Dürst)
12:57 PM Bug #12385 (Feedback): xmlrpc requires Ruby version >= 2.4.0., and produces an error even though I have Ruby 2.4.0
It's fixed at r55017. Can you confirm this? hsbt (Hiroshi SHIBATA)
10:29 AM Bug #12385 (Closed): xmlrpc requires Ruby version >= 2.4.0., and produces an error even though I have Ruby 2.4.0
With
```
make up; make install-nodoc
```
I get the error below. There are two issues with this:
1) I have Ruby 2...
duerst (Martin Dürst)
11:40 AM Feature #12387 (Closed): ripper: new parser event for kwrest parameter
Ripper does not handle unnamed kwrest parameter well.
~~~ruby
$ ruby -rpp -rripper -e'pp Ripper.sexp("def a(*x, *...
rhenium (Kazuki Yamaguchi)
11:00 AM Revision 84cd5191 (git): * enc/unicode.h: Additional uses of ONIG_CASE_MAPPING compilation switch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
10:55 AM Feature #12386 (Closed): Move definition of ONIG_CASE_MAPPING compilation switch outside onigumo files
At r55018, in include/ruby/oniguruma.h, at line 131, I introduced
the compilation switch ONIG_CASE_MAPPING. The purp...
duerst (Martin Dürst)
10:46 AM Revision 3ab0ea80 (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 AM Revision 65db16de (git): * include/ruby/oniguruma.h: Introducing ONIG_CASE_MAPPING compilation
switch
* include/ruby/oniguruma.h, enc/unicode.h: Using ONIG_CASE_MAPPING
compilation switch
git-svn-id: svn+ssh:...
duerst (Martin Dürst)
10:29 AM Revision 2f190353 (git): * gems/bundled_gems: Update xmlrpc-0.1.1. xmlrpc-0.1.0 didn't allow
to install on 2.4.0dev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:34 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
perlのLWPも環境変数のパスワード使いますね。
perl -MLWP::Simple -e 'getprint "http://www.google.com"'
で、確認。
ソースがとっちらかってて1行でうまくポイ...
kosaki (Motohiro KOSAKI)
08:07 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
いちおうPythonでどうしてるかは調べました。urllib.request.urlopenが同等のようですが、環境変数のパスワードをしっかり
読んでます。だって、それがデファクトだから。
すでにデファクト仕様が決まっちゃってるも...
kosaki (Motohiro KOSAKI)
07:39 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
こちら、いままさに私もはまっています。
現代的において認証つきPROXYを使っているのは企業ネットワークで認証つきPROXYを使っており、外に出るのに必要という
状況であり、マルチユーザではつかわないか、もしくは、シェアするのは全...
kosaki (Motohiro KOSAKI)
06:26 AM Revision 9a9d375f (git): * test_handle.rb: refine test_fallback_to_ansi
* test/fiddle/test_handle.rb (test_fallback_to_ansi): ensure that
the fallback result equals to ANSI version.
[ru...
nobu (Nobuyoshi Nakada)
04:37 AM Bug #12384 (Feedback): vm_call_cfunc - cfp consistency error ruby 2.3.1p112
What do you mean by a "record"?
How to reproduce it?
nobu (Nobuyoshi Nakada)
01:57 AM Bug #12384 (Closed): vm_call_cfunc - cfp consistency error ruby 2.3.1p112
Appears to be an issue when deleting a record with an attached callback that deletes an associated record. Not sure h... travissperry (Travis Sperry)
04:29 AM Bug #12377 (Closed): recipe for target 'do-install-nodoc' failed
Applied in changeset r55015.
----------
configure.in: revert macro names
* configure.in (FUNC_STDCALL, FUNC_CDECL, ...
nobu (Nobuyoshi Nakada)
04:29 AM Revision c7d11ee1 (git): configure.in: revert macro names
* configure.in (FUNC_STDCALL, FUNC_CDECL, FUNC_FASTCALL): set
macro names explicitly to the old names, which are ac...
nobu (Nobuyoshi Nakada)
02:54 AM Revision 572807ee (git): * lib/xmlrpc: Removed empty directory. It could not be deleted by git-svn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:41 AM Feature #12160 (Closed): Extract XMLRPC library to bundled gem
Applied in changeset r55013.
----------
* lib/xmlrpc.rb, lib/xmlrpc/*, test/xmlrpc: XMLRPC is bundled gem
on Ruby ...
hsbt (Hiroshi SHIBATA)
02:41 AM Revision e2bb529c (git): * lib/xmlrpc.rb, lib/xmlrpc/*, test/xmlrpc: XMLRPC is bundled gem
on Ruby 2.4. [Feature #12160][ruby-core:74239]
* gems/bundled_gems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
hsbt (Hiroshi SHIBATA)
12:16 AM Revision b14c93e6 (git): extmk.rb: fix skipping messages
* ext/extmk.rb (extmake): select the message if skipped because
its parent extension is not configured.
git-svn-id...
nobu (Nobuyoshi Nakada)

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)
 

Also available in: Atom