Project

General

Profile

Activity

From 05/13/2016 to 05/19/2016

05/19/2016

11:38 PM Bug #12398 (Feedback): process.c compile broken for noMMU architectures on 2.3.x
It seems that `rb_spawn_process()` has been broken since 2.0.
I think we should drop support for such platforms, no-...
nobu (Nobuyoshi Nakada)
02:12 PM Bug #12398 (Closed): process.c compile broken for noMMU architectures on 2.3.x
`rb_spawn_process()` in process.c tries different solutions for when `fork` and/or `spawnv` are/aren't available.
Th...
gustavoz (Gustavo Zacarias)
11:04 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
Daniel: It might be easiest to go read about how readonly works in C#.
This is quite different than a constant bec...
wied03 (Brady Wied)
10:59 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
I'm struggling to understand the use cases.
For instance, can't we achieve the same thing by using a private metho...
dsferreira (Daniel Ferreira)
09:59 PM Bug #12372: Resolv::DNS does not fetch authority section resources when calling getresource(s)
Thumbs up from JRuby. We'll merge this in when ruby-core agrees. headius (Charles Nutter)
09:23 PM Bug #12402 (Closed): Inline rescue behavior inconsistent for method calls with arguments and assignment
In this example l'm intentionally passing bad data to `Date.parse` to trigger an exception. Depending on whether I us... bklang (Ben Klang)
09:02 PM Feature #12021: Final instance variables
Consider following code:
~~~ ruby
QUEUE = Queue.new
WORKER = Thread.new { loop { QUEUE.pop.call } }
def async...
pitr.ch (Petr Chalupa)
09:02 PM Feature #12020: Documenting Ruby memory model
Koichi Sasada wrote:
> Sorry for late response.
>
> Petr Chalupa wrote:
> > Let me start by elaborating more on ...
pitr.ch (Petr Chalupa)
07:52 PM Bug #12401 (Closed): compile fails --with-static-linked-ext
../ruby/configure --with-static-linked-ext; make
from git repository:
remotes/origin/ruby_2_1 commit 6d728bdae9...
goldenautumnday (Paul Martinolich)
06:55 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Experimentally implemented an String#blank? with Intel STTNI (SSE 4.2; Nehalem or later)
https://github.com/ruby/rub...
naruse (Yui NARUSE)
05:57 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
It would be great to include squish in String. I've been writing production Ruby code for years and I often pull in A... gurgeous (Adam Doppelt)
05:21 PM Revision c8fd8d3b (git): * 2016-05-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:21 PM Revision bfabd912 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
05:10 PM Misc #12400 (Third Party's Issue): Zen of Ruby
http://rubygems.org/gems/this
I maintain this gem. I had written this gem 6 years ago.
It shows Zen of Ruby when yo...
anildigital (Anil Wadghule)
04:56 PM Feature #11098: Thread-level allocation counting
allocation_tracer is awesome for debugging, and I've happily used it a number of times. Thank you for building it Koi... jasonrclark (Jason Clark)
03:25 PM Feature #12399 (Feedback): Restricted, safe version of `Kernel#eval`
`Kernel#eval` is convenient, but sometimes, it can be a security risk, and often people crazily react against using i... sawa (Tsuyoshi Sawada)
12:23 PM Revision 02942a6b (git): fix document of Regexp#match?
* re.c (rb_reg_match_m_p): [DOC] fix return value in rdoc.
* test/ruby/test_regexp.rb (TestRegexp#test_match_p): add...
znz (Kazuhiro NISHIYAMA)
10:15 AM Feature #3944: Add Fiber#root? method
> It might indeed be EM-specific.
I didn't use EM and not going to in the case I've described above.
Nakilon (Victor Maslov)
04:36 AM Feature #3944: Add Fiber#root? method
Nobuyoshi Nakada wrote:
> Couldn't anyone explain how the method will be used and why it will be necessary?
> As fa...
spatulasnout (B Kelly)
10:07 AM Bug #12397 (Closed): Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10
r54986以降、Solaris 10上の Oracle Solaris Studio 12.3 および 12.4 にて、以下のエラーでコンパイルに失敗します。
一部分のみピックアップすると、__extension__ が単なる...
ngoto (Naohisa Goto)
08:25 AM Bug #12396 (Closed): Compilation crashes with segmentation fault in HP-UX 11.31
Trying to compile Ruby 2.3.1 from source tarball on "HP-UX blnn724x B.11.31 U ia64 HP-UX" with `export CC=/opt/aCC/bi... michael-o (Michael Osipov)
06:52 AM Bug #12395 (Feedback): Class descendant_types ruby2.3.0, ruby 2.3.1
Ruby doesn't have such method.
What do you want to say about? Some gems?
usa (Usaku NAKAMURA)
06:39 AM Bug #12395 (Rejected): Class descendant_types ruby2.3.0, ruby 2.3.1
descendant_types method call on any class results in the following error message:
TypeError::can't create instance...
rosco (Ross Cameron)
04:53 AM Revision 2aabfcd4 (git): openssl: register ex_data index for X509_STORE{_CTX,} respectively
* ext/openssl/ossl.c (Init_openssl): register an ex_data index for
X509_STORE and X509_STORE_CTX respectively. Sinc...
rhenium (Kazuki Yamaguchi)
04:34 AM Revision 345d2ba1 (git): * test/ruby/test_array.rb (TestArray#test_push_over_ary_max): it seems to take
long time on mswinci.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:12 AM Revision a3e666b4 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 AM Revision a24fe080 (git): openssl: check argument type in OpenSSL::X509::Attribute#value=
* ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): check that the
argument is an OpenSSL::ASN1::Data before c...
rhenium (Kazuki Yamaguchi)
03:46 AM Revision 4176db20 (git): assertions.rb: leave timeout to invoke_ruby
* test/lib/test/unit/assertions.rb (assert_separately): leave
timeout to invoke_ruby, which handles outputs and sta...
nobu (Nobuyoshi Nakada)
03:10 AM Bug #12394 (Closed): Regexp#match? should strictly return true or false
Applied in changeset r55069.
----------
re.c: fix match?
* re.c (rb_reg_match_m_p): fix match against empty string....
nobu (Nobuyoshi Nakada)
02:46 AM Bug #12394 (Closed): Regexp#match? should strictly return true or false
Now:
```ruby
//.match?"" #=> nil
/a/.match?"" #=> nil
```
Should be:
```ruby
//.match?"" #=> true
/a/.m...
sam.saffron (Sam Saffron)
03:10 AM Revision a28c12af (git): re.c: fix match?
* re.c (rb_reg_match_m_p): fix match against empty string.
rb_str_offset returns the end when the position exceeds ...
nobu (Nobuyoshi Nakada)
03:09 AM Revision 0c221f63 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:37 AM Revision 780c056d (git): re.c: match? should return nil if no match
* re.c (rb_reg_match_m_p): should return nil if no match, as the
document says. [Feature #8110]
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:25 AM Feature #9999 (Rejected): Type Annotations (Static Type Checking)
We are not going to add any kind of type annotation to Ruby.
But as part of Ruby3x3 attempt, we are trying to add ty...
matz (Yukihiro Matsumoto)

05/18/2016

11:52 PM Bug #9580: Refinements regression in IRB
In ruby 2.4.0dev, top-level refinements still don't work in IRB. Now I get a RuntimeError when using them:
~~~
$ ...
kernigh (George Koehler)
10:34 PM Feature #7314: Convert Proc to Lambda doesn't work in MRI
Maybe this should warn or error when you attempt to turn a proc into a lambda?
The JRuby behavior is not intention...
headius (Charles Nutter)
01:02 AM Feature #7314: Convert Proc to Lambda doesn't work in MRI
We looked at this issue in yesterday's developer meeting.
The use case Andrew showed is (in spite of his intention...
shyouhei (Shyouhei Urabe)
08:49 PM Feature #6647: Exceptions raised in threads should be logged
> I wanted to say this is "better than nothing". I understand people want it with default on, and myself can live wit... headius (Charles Nutter)
10:20 AM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> I tried test-all with Thread.report_on_exception = true using nobu's patch.
> https://patch-d...
Eregon (Benoit Daloze)
02:32 AM Feature #6647: Exceptions raised in threads should be logged
I tried test-all with Thread.report_on_exception = true using nobu's patch.
https://patch-diff.githubusercontent.com...
akr (Akira Tanaka)
07:09 PM Bug #12393 (Closed): SingleForwardable broken in 2.2.5
The change to `forwardable.rb` in 2.2.5 seem to have broken the instance delegation method.
As per the example in ...
RichSeviora (Richard Seviora)
03:17 PM Revision c2dc6960 (git): * 2016-05-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision a6c38cb4 (git): * re.c (reg_names_iter): specify capacify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:14 PM Bug #12392 (Closed): configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
configure のヘルプでは、オプション --with-sitedir, --with-sitearchdir, --with-vendordir, --with-vendorarchdir に noを与えられることになっているが... yoko-a (Atsushi YOKOYAMA)
01:40 PM Revision 2c1990a8 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:34 PM Bug #12391 (Closed): backport r55063
バックポート用チケットです。
オブジェクト循環参照系でたまたまobject idがBignumになっちゃった時だけ踏むバグの修正です。
usa (Usaku NAKAMURA)
12:31 PM Revision fbef098f (git): * thread.c (recursive_list_access): a object id may be a Bignum. so,
the list must be a objhash, instead of a identhash.
this fixes many test errors on mswin64 CI.
git-svn-id: svn+ss...
U.Nakamura
11:32 AM Revision d23bd580 (git): re.c: fix type
* re.c (rb_reg_match_m_p): fix type of variable for onig_search
result.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
10:51 AM Feature #8110 (Closed): Regex methods not changing global variables
Implemented at r55061, thanks! naruse (Yui NARUSE)
10:37 AM Revision f09574c8 (git): * re.c (rb_reg_match_m_p): Introduce Regexp#match?, which returns
bool and doesn't save backref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55061 b2dd03c8-39d4-4d8f-98ff-823fe...
naruse (Yui NARUSE)
10:07 AM Revision 898aeb87 (git): openssl: fix test failure due to the previous commit
* test/openssl/test_pkey_ec.rb (test_ec_point_mul): My previous commit
r55059 was broken. I should have been more c...
rhenium (Kazuki Yamaguchi)
10:07 AM Feature #12157: Is the option hash necessary for future Rubys?
It is not clear to me what will be the future behaviour.
Can we update the description to clearly state what we will...
dsferreira (Daniel Ferreira)
09:39 AM Feature #3944: Add Fiber#root? method
Couldn't anyone explain how the method will be used and why it will be necessary?
As far as I read, it sounds that i...
nobu (Nobuyoshi Nakada)
08:52 AM Revision 1d1efeea (git): openssl: fix test failure of OpenSSL::TestEC#test_ec_point_mul
* test/openssl/test_pkey_ec.rb (test_ec_point_mul): CentOS 7 patches
OpenSSL to reject curves defined over a small fi...
rhenium (Kazuki Yamaguchi)
08:06 AM Revision bbc4fd88 (git): test_random.rb: skip old OpenSSL
* test/openssl/test_random.rb (OpenSSL::TestRandom): ignore
out-of-date OpenSSL before 1.0, as well as other tests....
nobu (Nobuyoshi Nakada)
07:59 AM Revision 68f119cb (git): openssl: fix OpenSSL error queue leak in OpenSSL::PKCS12.new
* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): pop errors
leaked by PKCS12_parse(). This is a bug in OpenSSL...
rhenium (Kazuki Yamaguchi)
07:24 AM Revision 1fcce422 (git): openssl/test_random.rb: requires utils.rb
* test/openssl/test_random.rb: requires test/openssl/utils.rb for
OpenSSL::TestCase now.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
07:08 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
あ、ごめんなさい。しばたさんの変更に気づいていませんでした。確認のうえ、返信します。ごめんなさい。 kosaki (Motohiro KOSAKI)
07:04 AM Revision 37beb43b (git): downloader.rb: disable verify if rubygems is old
* tool/downloader.rb (Downloader::RubyGems.download): verify gems
only if RubyGems is 2.4 or later. old RubyGems f...
nobu (Nobuyoshi Nakada)
05:52 AM Bug #12390 (Closed): Heap Buffer Overflow in Marshal Load on 32-bit
Applied in changeset r55054.
----------
string.c: integer overflow
* string.c (rb_str_modify_expand): check integer...
nobu (Nobuyoshi Nakada)
03:26 AM Bug #12390 (Closed): Heap Buffer Overflow in Marshal Load on 32-bit
A heap buffer overflow occurs when marshal loading (un-marshaling) crafted data on 32-bit Ubuntu 14.04.
It appea...
grajagandev (David Moore)
05:52 AM Revision b493d156 (git): string.c: integer overflow
* string.c (rb_str_modify_expand): check integer overflow.
[ruby-core:75592] [Bug #12390]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
04:58 AM Bug #12292 (Assigned): Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault
Kazuki, I think it's OK for you to fix a segmentation fault now. shyouhei (Shyouhei Urabe)
04:56 AM Revision b8fde968 (git): * re.c (match_ary_subseq): get subseq of match array without creating
temporary array.
* re.c (match_ary_aref): get element(s) of match array without creating
temporary array.
* re.c ...
naruse (Yui NARUSE)
04:36 AM Revision 3f991534 (git): ossl_pkey_ec.c: index types
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): fix index types.
Array length is long, not int.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
04:07 AM Bug #7215 (Closed): Remaining messages on OpenSSL error queue after Certificate#verify
Applied in changeset r55051.
----------
openssl: clear OpenSSL error queue before return to Ruby
* ext/openssl/ossl...
Anonymous
04:07 AM Revision c8cb2625 (git): openssl: clear OpenSSL error queue before return to Ruby
* ext/openssl/ossl_x509cert.c (ossl_x509_verify): X509_verify()
family may put errors on 0 return (0 means verifica...
rhenium (Kazuki Yamaguchi)
04:07 AM Revision d66e88dc (git): openssl: report errors in OpenSSL error queue when clear it
* ext/openssl/ossl.c (ossl_clear_error): Extracted from
ossl_make_error(). This prints errors in the OpenSSL error ...
rhenium (Kazuki Yamaguchi)
03:21 AM Revision 3d42a665 (git): Describe Enumerable#sum in NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:55 AM Bug #10268 (Closed): OpenSSL::PKey::EC::Point#mul causes a segmentation fault
Applied in changeset r55048.
----------
ext/openssl: refactor OpenSSL::PKey::EC::Point#mul
* ext/openssl/ossl_pkey_...
Anonymous
02:55 AM Revision 01801f2a (git): ext/openssl: refactor OpenSSL::PKey::EC::Point#mul
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): Validate the
arguments before passing to EC_POINT(s)_mul(). Add d...
rhenium (Kazuki Yamaguchi)
02:55 AM Revision b43fd8e0 (git): openssl: fix equality test methods of OpenSSL::BN
* ext/openssl/ossl_bn.c (try_convert_to_bnptr): Extracted from
GetBNPtr(). This doesn't raise exception but returns...
rhenium (Kazuki Yamaguchi)
02:05 AM Revision 2bedfc66 (git): test/win32ole/test_win32ole_variant.rb: use other than Integer
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:33 AM Feature #11098: Thread-level allocation counting
Koichi told me that this proposed functionality can be implemented on top of what is provided now.
He also said th...
shyouhei (Shyouhei Urabe)
01:22 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
We looked at it on yesterday's developer meeting but didn't reach a consensus. This might be because the attendees a... shyouhei (Shyouhei Urabe)
01:21 AM Revision 6a69ab93 (git): extension.rdoc: RB_{INTEGER,FLOAT}_TYPE_P [ci skip]
* doc/extension.rdoc, doc/extension.rdoc (Checking Data Types):
[DOC] mention RB_INTEGER_TYPE_P and RB_FLOAT_TYPE_P...
nobu (Nobuyoshi Nakada)
01:17 AM Revision 4a9705d6 (git): ruby.h: RB_INTEGER_TYPE_P
* include/ruby/ruby.h (RB_INTEGER_TYPE_P): new macro and
underlying inline function to check if the object is an
...
nobu (Nobuyoshi Nakada)
01:16 AM Revision abe32a00 (git): enum.c: fix declaration-after-statement
* enum.c (sum_iter): workaround of mixed declarations and code.
erred by -Werror=declaration-after-statement option...
nobu (Nobuyoshi Nakada)
01:07 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
Matz is positive about #12157 (removal of optional hash parameters).
If that request is to be accepted, this doub...
shyouhei (Shyouhei Urabe)
01:05 AM Revision 5d0bf9ae (git): extension.rdoc: RB_TYPE_P [ci skip]
* doc/extension.rdoc, doc/extension.rdoc (Checking Data Types):
[DOC] mention RB_TYPE_P.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
12:54 AM Revision 49432957 (git): Optimize each_sum for hashes
* enum.c (enum_sum, hash_sum, hash_sum_i, enum_sum_i, sum_iter):
Optimize for hashes when each method isn't redefin...
Kenta Murata
12:42 AM Feature #6739: One-line rescue statement should support specifying an exception class
We looked at it in yesterday's developer meeting. Nobu told us that all the proposed syntax so far renders conflicts... shyouhei (Shyouhei Urabe)
12:34 AM Feature #6739: One-line rescue statement should support specifying an exception class
What's the problem with `then`? I'm getting a syntax error when I try it:
~~~
irb(main):002:0> foo rescue Bar the...
javawizard (Alex Boyd)
12:23 AM Feature #11925: Struct construction with kwargs
We looked at this issue in yesterday's developer meeting. Nobody there was against the functionality -- but the name... shyouhei (Shyouhei Urabe)
12:16 AM Revision eb9c9964 (git): Extract int_range_sum from enum_sum
* enum.c (enum_sum, int_range_sum): Extract int_range_sum from
enum_sum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Kenta Murata
12:14 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I asked matz why he need a ChangeLog yesterday. He answered that the problem is `svn log`. It requires network conn... shyouhei (Shyouhei Urabe)

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)
 

Also available in: Atom