Project

General

Profile

Activity

From 01/09/2015 to 01/15/2015

01/15/2015

10:16 PM Revision 10fe26fe (git): Describe IO#close.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:26 PM Bug #10745 (Rejected): Special combinations of parameters in assert_equal (test/unit) may cause exceptions
~~~ruby
require 'test/unit'
require 'ipaddr'
class TestX < Test::Unit::TestCase
def test_x
assert_equal(...
herwinw (Herwin Quarantainenet)
03:27 PM Feature #10718: IO#close should not raise IOError on closed IO objects.
I met matz at yesterday (2015-01-15) and he accept this issue. akr (Akira Tanaka)
03:26 PM Feature #10718 (Closed): IO#close should not raise IOError on closed IO objects.
Applied in changeset r49260.
----------
* io.c (rb_io_close_m): Don't raise when the IO object is closed.
[ruby-co...
akr (Akira Tanaka)
03:26 PM Revision 0b66e2a5 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Bug #10744 (Closed): Kernel#singleton_method returns refined method
Applied in changeset r49259.
----------
proc.c: singleton_method should not use refinements
* proc.c (rb_obj_single...
nobu (Nobuyoshi Nakada)
12:12 PM Bug #10744: Kernel#singleton_method returns refined method
i wrote a patch for this. hanachin (Seiei Miyagi)
12:05 PM Bug #10744 (Closed): Kernel#singleton_method returns refined method
Kernel#singleton_method is an [indirect method access](https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/Refinement... hanachin (Seiei Miyagi)
03:26 PM Revision bf1459a1 (git): * 2015-01-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 25595558 (git): * io.c (rb_io_close_m): Don't raise when the IO object is closed.
[ruby-core:67444] [Feature #10718]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49260 b2dd03c8-39d4-4d8f-98ff...
akr (Akira Tanaka)
12:35 PM Revision 0fce0b7b (git): proc.c: singleton_method should not use refinements
* proc.c (rb_obj_singleton_method): Kernel#singleton_method should
not use refinements, as well as Kernel#method.
...
nobu (Nobuyoshi Nakada)
12:21 PM Misc #10742 (Feedback): segmentation fault error while running ruby project
Couldn't you show the error output? nobu (Nobuyoshi Nakada)
06:04 AM Misc #10742: segmentation fault error while running ruby project
My executions are working fine with Ruby1.8.7 but throwing error for higher ruby version. I want to upgrade all set o... [email protected] (Geetanjali Kasar)
06:03 AM Misc #10742 (Third Party's Issue): segmentation fault error while running ruby project
Hi,
I tried Ruby1.9.3,Ruby 2.0.0,Ruby 2.1.5 64 bit and 32 bit versions along with watir 4.0.0,cucumber 2.0.1. But ev...
[email protected] (Geetanjali Kasar)
09:30 AM Bug #10743 (Rejected): Nokogiri crashes after upgrading to ruby 2.2.0.
hsbt (Hiroshi SHIBATA)
09:22 AM Bug #10743: Nokogiri crashes after upgrading to ruby 2.2.0.
you need to recompile your gems,
currently it does use ruby2.2 with gems that where build against ruby2.1
for some...
Hanmac (Hans Mackowiak)
09:07 AM Bug #10743 (Rejected): Nokogiri crashes after upgrading to ruby 2.2.0.
It works fine on ruby 2.1.2
It only happens on ruby 2.2.0
/usr/local/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.5/lib/no...
[email protected] (Cheung Mou Wai)
09:09 AM Revision 218029f0 (git): make-snapshot: add fake values
* tool/make-snapshot (package): add fake values, rubylibprefix and
ruby_version which are necessary for Gem.default...
nobu (Nobuyoshi Nakada)
03:46 AM Feature #10740: Base64 urlsafe methods are not urlsafe
My point is so simple: lib/base64 should comply with RFC 4648 as far as possible. Please explain your proposal based... mame (Yusuke Endoh)
03:12 AM Revision 9fd7afef (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:02 AM Bug #10722: Array#keep_if is borked if user calls 'break'
r49255 fixes the performance problem. akr (Akira Tanaka)
01:45 AM Feature #10714 (Closed): Array#reject! nonlinear performance problem
Applied in changeset r49255.
----------
array.c: linear performance
* array.c (rb_ary_select_bang, ary_reject_bang)...
nobu (Nobuyoshi Nakada)
01:45 AM Revision db4160b5 (git): * 2015-01-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:44 AM Revision 5ec029d1 (git): array.c: linear performance
* array.c (rb_ary_select_bang, ary_reject_bang): linear
performance. [ruby-core:67418] [Feature #10714]
git-svn-i...
nobu (Nobuyoshi Nakada)
12:43 AM Bug #10196: rdoc should not depend on gems
I sent a PR for rdoc/rdoc in github. Probably
it is the right place to ask for changes in rdoc.
https://github.co...
luizluca (Luiz Angelo Daros de Luca)

01/14/2015

10:15 PM Bug #10741: const_defined? triggers autoload where it did not before
Boo...my fix was bad because it stopped searching superclasses. Since I did not have an appropriate method to search ... headius (Charles Nutter)
09:15 PM Bug #10741: const_defined? triggers autoload where it did not before
To be more specific, this assertion fails on MRI:
>assert_equal("#{File.dirname(__FILE__)}/autoloaded.rb", Object....
headius (Charles Nutter)
09:11 PM Bug #10741: const_defined? triggers autoload where it did not before
Test in JRuby that caught this change: https://github.com/jruby/jruby/blob/master/test/jruby/test_autoload.rb#L4-L24
...
headius (Charles Nutter)
09:09 PM Bug #10741 (Closed): const_defined? triggers autoload where it did not before
This should not cause b.rb to load, but it does in 2.2:
~/projects/jruby $ cat a.rb
module Foo
autoload :Bar, ...
headius (Charles Nutter)
07:56 PM Feature #10740: Base64 urlsafe methods are not urlsafe
I suspect the reason the spec is that way is that it's easier to calculate what the decoded length will be if the enc... dragonsinth (Scott Blum)
07:52 PM Feature #10740: Base64 urlsafe methods are not urlsafe
Hi Yusuke,
RFC6920 is just an example of an RFC which refers to RFC4648 and stipulates that something encoded in b...
bascule (Tony Arcieri)
05:43 AM Feature #10740 (Feedback): Base64 urlsafe methods are not urlsafe
Hello, I'm a maintainer of lib/base64.
I don't think that this is a bug. RFC 4648 is still the latest standard of...
mame (Yusuke Endoh)
12:44 AM Feature #10740: Base64 urlsafe methods are not urlsafe
I like this feature.
(I think this issue is a feature, not a bug.)
However I think the current behavior should be...
akr (Akira Tanaka)
06:01 PM Bug #10725: Segfault with ObjectSpace::trace_object_allocations_start
Nobuyoshi Nakada wrote:
> We don't have the same environment equals to yours, we can't address where it happens with...
vihai (Daniele Orlandi)
09:06 AM Bug #10738 (Closed): Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
Applied in changeset r49254.
----------
* lib/uri/mailto.rb: raising URI::InvalidComponentError instead
of failing...
duerst (Martin Dürst)
09:06 AM Revision e3c4c7e1 (git): * lib/uri/mailto.rb: raising URI::InvalidComponentError instead
of failing with undefined method `split' for nil:NilClass for
mailto: URIs without opaque part. [Bug #10738]
* test...
duerst (Martin Dürst)
09:06 AM Feature #10714: Array#reject! nonlinear performance problem
Thank you, matz.
Please commit, nobu.
akr (Akira Tanaka)
08:59 AM Feature #10714: Array#reject! nonlinear performance problem
I agree having linear performance is crucial, and the proposed new behavior is acceptable.
Go ahead, and make the ch...
matz (Yukihiro Matsumoto)
08:02 AM Bug #10711: Incorrect error message in coerce failed
memo: see also [ruby-core:67555], [ruby-core:67557], r49234 and r49235. usa (Usaku NAKAMURA)
07:53 AM Bug #10662: fix to invoke correct function of tcllib. (fixed at r49034)
Backported into `ruby_2_0_0` at r49253. usa (Usaku NAKAMURA)
07:53 AM Revision 1ac6292d (git): merge revision(s) 49034: [Backport #10662]
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function
of tcllib. Patch by @zalt50 [fix ...
U.Nakamura
07:50 AM Bug #10550: Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
Backported r49701, r49702, r49703 and r49708 into `ruby_2_0_0` at r49252. usa (Usaku NAKAMURA)
07:49 AM Revision 568a5d52 (git): merge revision(s) 49071-49073,49078: [Backport #10550]
* lib/resolv.rb (Resolv::DNS::Name#==): DNS is case-insensitive, so the
comparison should be case-insensiti...
U.Nakamura
07:45 AM Revision a9e033b1 (git): downloader.rb: verify gems
* tool/downloader.rb (RubyGems.download): verify downloaded gem
packages. LowSecurity to allow untrusted certifica...
nobu (Nobuyoshi Nakada)
07:32 AM Bug #10591: Net::HTTPResponse#read_status_line does not throw Net::HTTPBadResponse with some malformed responses.
Backported into `ruby_2_0_0` at r49250. usa (Usaku NAKAMURA)
07:32 AM Revision f9d88c60 (git): merge revision(s) 48948: [Backport #10591]
* lib/net/http/response.rb (Net::HTTPResponse): require one or more
spaces [Bug #10591].
by lerik...
U.Nakamura
07:26 AM Bug #10633: OpenSSL RangeError on update
Backported into `ruby_2_0_0` at r49249. usa (Usaku NAKAMURA)
07:25 AM Revision 06383012 (git): merge revision(s) 48923: [Backport #10633]
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. w...
U.Nakamura
07:15 AM Bug #10210: LDSHARED and LDSHAREDXX set to null ('')
Backported into `ruby_2_0_0` at r49248. usa (Usaku NAKAMURA)
07:15 AM Revision 1c65dd9b (git): merge revision(s) 48886: [Backport #10210]
* configure.in (rb_cv_binary_elf): get rid of -e option of cat
which is not available on BusyBox, use tr in...
U.Nakamura
07:09 AM Bug #10615: SIGKILL is not supported by signal() of some versions of MSVCRT
Backported r48884 and r48885 into `ruby_2_0_0` at r49247. usa (Usaku NAKAMURA)
07:08 AM Revision ce65dfa3 (git): merge revision(s) 48884,48885: [Backport #10615]
* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
should be treated before calling signal...
U.Nakamura
07:05 AM Bug #10579: Segmentation fault at 0x00000000000000
Backported into `ruby_2_0_0` at r49246.
note: thread.c is a little different from trunk.
usa (Usaku NAKAMURA)
07:04 AM Revision 9120d051 (git): merge revision(s) 48744,48752: [Backport #10579]
* eval.c (rb_frame_last_func): return the most recent frame method
name.
* thread.c (recursive_lis...
U.Nakamura
06:55 AM Bug #10412: DNS Resolv broken when resolv.conf has option ndots > 1
Backported into `ruby_2_0_0` at r49245. usa (Usaku NAKAMURA)
06:55 AM Revision e6a5f817 (git): merge revision(s) 48534: [Backport #10412]
* lib/resolv.rb: fall back if canonicalization fails.
Thanks Vit Ondruch for the patch! [ruby-core:65836]
...
U.Nakamura
06:44 AM Bug #6232 (Closed): Ruby : Segmentation fault on Readline.refresh_line after screen resize.
Applied in changeset r49244.
----------
readline.c: initialize before rl_refresh_line
* ext/readline/readline.c (re...
nobu (Nobuyoshi Nakada)
02:12 AM Bug #6232: Ruby : Segmentation fault on Readline.refresh_line after screen resize.
It seems like GNU Readline behavior.
`Readline.refresh_line` calls `rl_refresh_line(0, 0)` -> `rl_clear_to_eol(0)` -...
wanabe (_ wanabe)
06:43 AM Revision 095886b5 (git): readline.c: initialize before rl_refresh_line
* ext/readline/readline.c (readline_s_refresh_line): initialize
before rl_refresh_line(), as some function make the...
nobu (Nobuyoshi Nakada)

01/13/2015

11:37 PM Revision 4d426fc2 (git): test_basicsocket.rb: do not hardcode port number
* test/socket/test_basicsocket.rb (socks): use dynamically chosen
port number, and remove never used argument.
git...
nobu (Nobuyoshi Nakada)
11:35 PM Revision d739458b (git): * test/socket/test_basicsocket.rb: Remove unused constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e headius (Charles Nutter)
11:24 PM Feature #10740: Base64 urlsafe methods are not urlsafe
I ran into this problem trying to implement RFC6920 in this program:
https://github.com/cryptosphere/cryptor/blob/...
bascule (Tony Arcieri)
11:15 PM Feature #10740: Base64 urlsafe methods are not urlsafe
https://github.com/ruby/ruby/pull/815 dragonsinth (Scott Blum)
11:11 PM Feature #10740: Base64 urlsafe methods are not urlsafe
Note that SecureRandom.urlsafe_base64 does the right thing by default, with the note "By default, padding is not gene... dragonsinth (Scott Blum)
11:07 PM Feature #10740 (Closed): Base64 urlsafe methods are not urlsafe
Base64.urlsafe_decode64 is not to spec, because it currently REQUIRES appropriate trailing '=' characters.
Base64.ur...
dragonsinth (Scott Blum)
11:22 PM Revision 2705eeea (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision d3f7e5d3 (git): * 2015-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision 4eacd5de (git): * test/socket/test_basicsocket.rb: Add basic tests for close_read
and close_write using TCPServer/Socket as a target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49239 b2dd03c8...
headius (Charles Nutter)
10:01 PM Feature #10739 (Open): merge upstream of json-1.8.2
hsbt (Hiroshi SHIBATA)
05:14 PM Feature #10739 (Feedback): merge upstream of json-1.8.2
I think we need to fix the regression in gem before we merge to trunk.
We can take advantage of gem's CI for fixin...
zzak (zzak _)
12:56 PM Feature #10739: merge upstream of json-1.8.2
`GET_STATE_TO` macro seems no longer necessary. nobu (Nobuyoshi Nakada)
12:14 PM Feature #10739 (Closed): merge upstream of json-1.8.2
I create patch of json-1.8.2 changes. see attached file.
json-1.8.2 implement different way of Typed_Data macro.
...
hsbt (Hiroshi SHIBATA)
12:59 PM Revision ec171c45 (git): rbinstall.rb: fix bundled gems location
* tool/rbinstall.rb (gem): fix changing permissions of installed
bundled gems. [Fix GH-812]
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
12:57 PM Bug #10737 (Closed): probes.dmyh (and others) not removed on make clean / make distclean
Applied in changeset r49237.
----------
common.mk: more clean
* common.mk (distclean-local): remove autom4te.cache ...
nobu (Nobuyoshi Nakada)
10:30 AM Bug #10737 (Closed): probes.dmyh (and others) not removed on make clean / make distclean
Some files that are generated by building ruby are not removed upon make clean or make distclean.
This is problema...
eike.rb (Eike Dierks)
12:57 PM Revision 3303dbf0 (git): common.mk: more clean
* common.mk (distclean-local): remove autom4te.cache generated by
autoconf.
* common.mk (realclean-local): remove i...
nobu (Nobuyoshi Nakada)
12:08 PM Revision 8f37674f (git): * ext/json, test/json: merge JSON HEAD(259dee6)
separate imprementation of Typed_Data macro.
https://github.com/flori/json/compare/v1.8.1...v1.8.2
git-svn-id: svn...
hsbt (Hiroshi SHIBATA)
12:07 PM Revision 6a852f7a (git): numeric.c: fix message
* numeric.c (coerce_failed): fix the error message on non-flonum
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
12:07 PM Revision 748325b8 (git): compar.c: fix message
* compar.c (rb_cmperr): show float values in the error message
always, not only flonum.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
10:36 AM Bug #10738 (Closed): Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
I tried to parse an invalid URI with the URI library. I expected an error such as URI::InvalidComponentError or URI::... duerst (Martin Dürst)
09:59 AM Bug #10736 (Rejected): configure does not check for missing ruby
`BASERUBY` is not necessary when all files have been generated, e.g., unpacked from tarballs, shared with another mac... nobu (Nobuyoshi Nakada)
09:42 AM Bug #10736 (Rejected): configure does not check for missing ruby
The ./configure script should check if a version of ruby is installed.
Currently not such check is performed.
C...
eike.rb (Eike Dierks)
08:59 AM Bug #10470: TracePoint cannot trace attr_accessor/reader/writer method
すいません。
元のサンプルコードを流用してしまったので、tracepointの性能測定としては余り適切じゃない感じのコードになってたことに気付きました。
~~~ruby
trace = TracePoint.new(:ret...
joker1007 (Tomohiro Hashidate)
08:21 AM Revision 79cd3c37 (git): rbinstall.rb: reuse options hash
* tool/rbinstall.rb (gem): reuse options hash, which is invariant
for all gems.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
08:21 AM Revision a28e2ac4 (git): rbinstall.rb: suppress warnings
* tool/rbinstall.rb (install): get rid of shadowing outer local
variables.
* tool/rbinstall.rb: remove unused vari...
nobu (Nobuyoshi Nakada)
07:27 AM Bug #10689: `unexpected break' occurs when TracePoint#binding is called
なんのために 0x02 の bit について気にしていたか覚えていないのですが(クラスとか、その辺でしたっけ)、
よろしいと思います! よろしくお願いします。
ko1 (Koichi Sasada)
05:16 AM Misc #10721 (Closed): Failing test because of DNS server
Applied in changeset r49231.
----------
test_http.rb: test without DNS access
* test/net/http/test_http.rb: get rid...
nobu (Nobuyoshi Nakada)
05:16 AM Revision b4089826 (git): test_http.rb: test without DNS access
* test/net/http/test_http.rb: get rid of accessing DNS actually
for some servers returning wrong results.
[ruby-c...
nobu (Nobuyoshi Nakada)
03:53 AM Bug #6181: Ruby crash when trying to send a mail (tls/gmail)
This issue may be due to Mac bundled OpenSSL like [Bug #6886].
Two crash reports (this and [Bug #6886]'s) are simila...
wanabe (_ wanabe)
03:51 AM Revision b1343289 (git): range.c: trivial optimizations
* range.c (range_bsearch): trivial optimizations, for Fixnum, and
by keeping the last satisfied element.
git-svn-i...
nobu (Nobuyoshi Nakada)
03:47 AM Revision 75a43dbe (git): * 2015-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 AM Revision 6b8b66b4 (git): range.c: class name encoding
* range.c (range_bsearch): preserve encoding of class name in an
exception message.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
03:47 AM Revision 225e3b01 (git): range.c: reduce argument evaluations
* range.c (BSEARCH_CHECK): get rid of conversion of the argument
multiple times.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)

01/12/2015

09:12 PM Bug #10735: Memory leak in openssl ossl_pkey_sign
Zachary Scott wrote:
> I know you tried this with 1.9.3, but could you try to repro on trunk (and newer rubies) firs...
viktor (Viktor Vasilev)
07:20 PM Bug #10735 (Assigned): Memory leak in openssl ossl_pkey_sign
I know you tried this with 1.9.3, but could you try to repro on trunk (and newer rubies) first?
1.9.3 will be EOL ...
zzak (zzak _)
06:09 PM Bug #10735 (Closed): Memory leak in openssl ossl_pkey_sign
Similar to the memory leak fixed in https://bugs.ruby-lang.org/issues/9743 there is an issue with ossl_pkey_sign. The... viktor (Viktor Vasilev)
06:23 PM Feature #3187: Allow dynamic Fiber stack size
~~~
Ruby 2.0 already has
RUBY_VM_FIBER_VM_STACK_SIZE
RUBY_FIBER_MACHINE_STACK_SIZE
~~~
Are these environment v...
jaredbeck (Jared Beck)
04:40 PM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input

After some experimentation it looks like this has something do with the fact that `DateTime#httpdate` returns an `U...
mcls (Maarten Claes)
03:21 PM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
Another example for Time.httpdate failing.
The third call of Time.httpdate fails, which should be the same as the ...
zzip (Dale Hofkens)
12:14 PM Bug #10733 (Closed): Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
An irb session demonstrating the bug:
```
irb(main):001:0> require 'time'
=> true
irb(main):002:0> Time.httpdat...
mcls (Maarten Claes)
02:33 PM Bug #10734 (Closed): Segfault when combining default arguments with keyword arguments
ktsj (Kazuki Tsujimoto)
02:15 PM Bug #10734: Segfault when combining default arguments with keyword arguments
if i use ruby2.2.0 it does happen for me too ...
and it seems it some kind of stack loop error because it seems to r...
Hanmac (Hans Mackowiak)
01:19 PM Bug #10734 (Closed): Segfault when combining default arguments with keyword arguments
Combining default arguments with a keyword argument produces a segfault when the function is called with hash that co... natano (Martin Natano)
02:32 PM Feature #10730 (Assigned): Implement Array#bsearch_index
> Let me then tell you about my use case.
Thank you, looks good to me.
Also, I just noticed that Array#bsearch ...
mame (Yusuke Endoh)
01:56 PM Feature #10730: Implement Array#bsearch_index
>
> I'm neutral to `Array#bsearch_index`, but how handy is it? Symmetry/consistency is not a good reason for Ruby ...
radan (Radan Skorić)
12:46 PM Feature #10730: Implement Array#bsearch_index
> Why do we have `Array#bsearch`?
Just because matz wanted it: https://redmine.ruby-lang.org/issues/4766#note-2
...
mame (Yusuke Endoh)
09:53 AM Feature #10730: Implement Array#bsearch_index
Yusuke Endoh wrote:
> You may want to use `Range#bsearch` for the case.
>
> ~~~ruby
> i = (0...ary.size).bsearch...
radan (Radan Skorić)
08:43 AM Feature #10730: Implement Array#bsearch_index
You may want to use `Range#bsearch` for the case.
~~~ruby
i = (0...ary.size).bsearch {|i| predicate(ary[i]) }
~~...
mame (Yusuke Endoh)
02:22 PM Revision 3e818c61 (git): * gems/bundled_gems: update test-unit to 3.0.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:09 PM Revision 14804d6b (git): * test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:53 PM Misc #10608 (Closed): OptionParser documentation improvements
hsbt (Hiroshi SHIBATA)
01:53 PM Misc #10469 (Closed): Documented return value for Array#each
hsbt (Hiroshi SHIBATA)
12:44 PM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
@Kolja: I wasn't aware of your post on stackoverflow when I posted this bug report, but this is indeed a nice coincid... Gondolin (Damien Robert)
11:02 AM Bug #10711 (Closed): Incorrect error message in coerce failed
Applied in changeset r49224.
----------
numeric.c: correct error message when coerce fails
* numeric.c (bit_coerce)...
Anonymous
11:02 AM Bug #10732 (Closed): rdoc:ファイル中に単独の\rがあるとrdocがハングアップする
Applied in changeset r49223.
----------
rdoc/text.rb: fix infinite loop
* lib/rdoc/text.rb (expand_tabs): get rid o...
nobu (Nobuyoshi Nakada)
07:10 AM Bug #10732 (Closed): rdoc:ファイル中に単独の\rがあるとrdocがハングアップする
以下で再現できます。
~~~
echo -e '\ra\t' > dummy.txt
rdoc dummy.txt
~~~
原因は、rdoc/text.rbのexpand_tabsで、each_line が上記のダミ...
vmi (Motonori IWAMURO)
10:13 AM Misc #10721: Failing test because of DNS server
You can use `assert_raise_with_message`.
~~~diff
diff --git a/test/net/http/test_http.rb b/test/net/http/test_htt...
nobu (Nobuyoshi Nakada)
09:28 AM Misc #10721: Failing test because of DNS server
[email protected] wrote:
> Were you working on a similar patch?

Not really, r49175 was because I was offline completely....
normalperson (Eric Wong)
01:49 AM Misc #10721 (Assigned): Failing test because of DNS server
Were you working on a similar patch? zzak (zzak _)
09:56 AM Revision 34289fff (git): numeric.c: correct error message when coerce fails
* numeric.c (bit_coerce): use original value for error message
[ruby-core:67405] [Bug #10711]
* test/ruby/test_nume...
Eric Wong
09:52 AM Bug #9555 (Feedback): Ruby 2.0.0 compilation fails to compile on cygwin. (curses.so)
Could you show ext/curses/mkmf.log and ext/curses/extconf.h files? nobu (Nobuyoshi Nakada)
09:11 AM Bug #9736 (Third Party's Issue): segmentation fault
seems an issue by therubyracer. nobu (Nobuyoshi Nakada)
09:01 AM Revision 77f31255 (git): rdoc/text.rb: fix infinite loop
* lib/rdoc/text.rb (expand_tabs): get rid of infinite loop with
CR. should check if substitution occurred too.
[...
nobu (Nobuyoshi Nakada)
08:18 AM Revision a11e2543 (git): method.h: UNDEFINED_REFINED_METHOD_P
* method.h (UNDEFINED_REFINED_METHOD_P): macro to tell if refined
original method is defined.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
07:46 AM Bug #10731 (Closed): Segmentation fault when create alias to refined method
Applied in changeset r49221.
----------
vm_method.c: NameError at refined method alias
* vm_method.c (rb_alias): ra...
nobu (Nobuyoshi Nakada)
05:09 AM Bug #10731: Segmentation fault when create alias to refined method
the patch for this. hanachin (Seiei Miyagi)
05:05 AM Bug #10731 (Closed): Segmentation fault when create alias to refined method
following code cause segmentation fault, both `foo` and `bar` is not defined in refined class, in trunk and 2.2.0, 2.... hanachin (Seiei Miyagi)
07:45 AM Revision 1abd51ad (git): vm_method.c: NameError at refined method alias
* vm_method.c (rb_alias): raise a NameError when creating alias to
a refined method if the original method of the r...
nobu (Nobuyoshi Nakada)
07:08 AM Bug #9596 (Rejected): Segmentation Fault 1.9.3p545 when starting rails s
Two different libruby are used.
> ~~~
> 0x102bf7000 - 0x102d8afff libruby.2.0.0.dylib (96) <EF561B...
nobu (Nobuyoshi Nakada)
04:19 AM Bug #9596 (Feedback): Segmentation Fault 1.9.3p545 when starting rails s
hsbt (Hiroshi SHIBATA)
04:53 AM Feature #10323 (Closed): [PATCH] Improving doc for Math.atan2
Applied in changeset r49220.
----------
* math.c (math_atan2): improve documentation.
[Feature #10323][ruby-core:6...
hsbt (Hiroshi SHIBATA)
04:53 AM Revision 2f56ebe8 (git): * math.c (math_atan2): improve documentation.
[Feature #10323][ruby-core:65400][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49220 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
04:51 AM Bug #10576 (Closed): [DOC] Several fixes for the BigDecimal documentation
Applied in changeset r49219.
----------
* ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists,
cod...
hsbt (Hiroshi SHIBATA)
04:50 AM Revision 60c580fd (git): * ext/bigdecimal/bigdecimal.c: fixes documentation like labeled lists,
code examples etc. [ruby-core:66730][Bug #10576][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49219 b2...
hsbt (Hiroshi SHIBATA)
04:37 AM Revision ae0e6807 (git): * lib/optparse.rb: improvements for OptionParser documentation.
[misc #10608][ruby-core:66901][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49218 b2dd03c8-39d4-4d8f-9...
hsbt (Hiroshi SHIBATA)
04:33 AM Revision 2f7e05b1 (git): * array.c (rb_ary_each): documented return value.
[misc #10469][ruby-core:66063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49217 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
04:18 AM Bug #10275 (Closed): Issues when trying to complile ruby 2.1.3
hsbt (Hiroshi SHIBATA)
01:25 AM Revision e19cf850 (git): array.c: trivial optimizations
* array.c (rb_ary_bsearch): trivial optimizations, for Fixnum, and
by keeping the last satisfied element.
git-svn-...
nobu (Nobuyoshi Nakada)

01/11/2015

11:48 PM Revision 4d69e03b (git): array.c: class name encoding
* array.c (rb_ary_bsearch): preserve encoding of class name in an
exception message.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
10:05 PM Feature #10730 (Closed): Implement Array#bsearch_index

We currently have Array#bsearch but no Array#bsearch_index and to me it seems that violates the principle of least ...
radan (Radan Skorić)
04:23 PM Feature #10728: Warning for Fixnum#size to use RbConfig::SIZEOF['long']
RbConfig::SIZEOF['long'] is a drop-in replacement but Fixnum::MAX is not.
Also, I feel Fixnum is a implementation ...
akr (Akira Tanaka)
03:58 PM Revision cb95d38a (git): * 2015-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:58 PM Revision 57b87a00 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:18 PM Feature #10714: Array#reject! nonlinear performance problem
I negate the part "others don't requested", ... somebody requested it, ... perhaps. nobu (Nobuyoshi Nakada)
12:50 PM Feature #10714: Array#reject! nonlinear performance problem
I think nobu has a right to accept this feature because the documented bahavior which will be changed was implemented... akr (Akira Tanaka)
02:05 AM Feature #10714: Array#reject! nonlinear performance problem
Here are the results for `reject!` using this benchmark:
```ruby
require 'derailed_benchmarks'
require 'derailed...
zzak (zzak _)
01:14 AM Feature #10714 (Open): Array#reject! nonlinear performance problem
zzak (zzak _)
01:14 AM Feature #10714: Array#reject! nonlinear performance problem
Ooops, there was a bug in my test, and after fixing it and updating the results above it seems that nobu's patch impr... zzak (zzak _)
02:29 PM Feature #10729: Array method to subtract in place
The block form can be achieved with Enumerable#partition.
I agree in general splitting an array, according to some...
Eregon (Benoit Daloze)
07:37 AM Bug #10689: `unexpected break' occurs when TracePoint#binding is called
vm_throw_start内にあるflagが立っている場合の処理は
以下のように整理できるんじゃないかと思うのですがどうでしょう。
~~~diff
diff --git a/vm.c b/vm.c
index 45734...
ktsj (Kazuki Tsujimoto)
07:35 AM Revision 13e15287 (git): extmk.rb: do not exclude readline
* ext/extmk.rb: do not exclude readline by default on win32. it
would not be completely impossible.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
06:11 AM Revision 7c4d749d (git): test_utils.rb: dynamically chosen port number
* test/webrick/test_utils.rb (test_create_listeners): use
dynamically chosen port number, not hardcoded port number...
nobu (Nobuyoshi Nakada)
04:44 AM Revision ae752cc5 (git): extmk.rb: default without-ext
* ext/extmk.rb: move the default execluded extensions from
configure.in so that it works on win32 too.
git-svn-id:...
nobu (Nobuyoshi Nakada)
03:54 AM Revision d201761d (git): * 2015-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 AM Revision 24b6863f (git): fiddle: check assembler
* ext/fiddle/extconf.rb: requires assembler for src/win{32,64}.S.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
03:54 AM Revision 463856a7 (git): fiddle: fix for old VC
* ext/fiddle/win32/libffi-3.2.1-mswin.patch (include/ffi.h.in):
old version VCs did not support long long, use __in...
nobu (Nobuyoshi Nakada)
03:30 AM Bug #8720 (Open): ECB mode seems to be broken
I think we could do better to warn users when doing things out of order.
In this case we have a stateful thing, wh...
zzak (zzak _)

01/10/2015

10:36 PM Feature #10729 (Open): Array method to subtract in place
I request a method on array that takes another array, subtract that from self in place (= destructively), and return ... sawa (Tsuyoshi Sawada)
06:56 PM Feature #10714: Array#reject! nonlinear performance problem
Zachary, patch fixes `reject!` and you test `select!`, ie patch fixes case when most items were deleted, and you test... funny_falcon (Yura Sokolov)
06:40 PM Feature #10714: Array#reject! nonlinear performance problem
Using the following benchmark I compared nobu's patch vs. 2.2:
```ruby
require 'derailed_benchmarks'
require 'de...
zzak (zzak _)
02:22 PM Feature #10714: Array#reject! nonlinear performance problem
https://github.com/nobu/ruby/compare/Feature%2310714-Array-linear-performance nobu (Nobuyoshi Nakada)
09:36 AM Feature #10714: Array#reject! nonlinear performance problem
Now, I think this issue is a feature instead of a bug because it changes a documented behavior. akr (Akira Tanaka)
08:44 AM Feature #10714: Array#reject! nonlinear performance problem
Akira Tanaka wrote:
> So the problem is which is important between the linear performance and the observability.
...
duerst (Martin Dürst)
08:39 AM Feature #10714: Array#reject! nonlinear performance problem
It seems that several people found this problem.
- http://qiita.com/Nabetani/items/623df6f738864b5ed005
- https:/...
akr (Akira Tanaka)
07:22 AM Feature #10714: Array#reject! nonlinear performance problem
> Ok, then try if something dies?
I think we should try.
We can explain the reason of this change.
It may be...
akr (Akira Tanaka)
06:47 AM Feature #10714: Array#reject! nonlinear performance problem
Forgot a patch of the tests
~~~diff
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 31f33dd...
nobu (Nobuyoshi Nakada)
06:45 AM Feature #10714: Array#reject! nonlinear performance problem
Ok, then try if something dies?
~~~diff
diff --git a/array.c b/array.c
index 0de7231..f2f7352 100644
--- a/arra...
nobu (Nobuyoshi Nakada)
04:30 AM Feature #10714: Array#reject! nonlinear performance problem
Hm.
The failed test is introduced by you after [Bug #5752].
The bug report describes as "If this is indeed the in...
akr (Akira Tanaka)
04:04 AM Feature #10714: Array#reject! nonlinear performance problem
I know, and `make test-all` failed. nobu (Nobuyoshi Nakada)
03:51 AM Feature #10714: Array#reject! nonlinear performance problem
I don't think the modification must be observable from the given block.
[Bug #2545] doesn't discuss the observabil...
akr (Akira Tanaka)
12:48 AM Feature #10714 (Rejected): Array#reject! nonlinear performance problem
The target of `Array#reject!` is the receiver itself, so the modification can be observed from the given block, or th... nobu (Nobuyoshi Nakada)
01:47 PM Bug #10722: Array#keep_if is borked if user calls 'break'
Apart from the performance problem, I feel following exmaple should show [7,8].
```
a = [5,6,7,8,9,10]; a.keep_i...
akr (Akira Tanaka)
04:08 AM Bug #10722: Array#keep_if is borked if user calls 'break'
r49196 causes nonlinear performance problem.
```
% ./ruby -v -e '
20.times {|i|
a = [nil]*i*10000;
t1 = Ti...
akr (Akira Tanaka)
01:12 AM Bug #10722 (Closed): Array#keep_if is borked if user calls 'break'
Applied in changeset r49196.
----------
array.c: keep consistency
* array.c (rb_ary_select_bang): keep the array co...
nobu (Nobuyoshi Nakada)
01:03 PM Feature #10728: Warning for Fixnum#size to use RbConfig::SIZEOF['long']
I took a look at `fixnum-size-search.txt` and using `RbConfig::SIZEOF['long']` instead usually isn't the correct repl... cremno (cremno phobia)
11:42 AM Feature #10728 (Open): Warning for Fixnum#size to use RbConfig::SIZEOF['long']
How about add a warning for Fixnum#size ?
```
% ./ruby -e 'p 0.size'
-e:1: warning: Use RbConfig::SIZEOF['long']...
akr (Akira Tanaka)
12:24 PM Revision 7dddd592 (git): test/unit.rb: --excludes-dir list
* test/lib/test/unit.rb (ExcludesOption): allow directory list by
PATH_SEPARATOR to --excludes-dir option.
git-svn...
nobu (Nobuyoshi Nakada)
11:40 AM Revision 04196d1f (git): Use bit_length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:29 AM Bug #10470: TracePoint cannot trace attr_accessor/reader/writer method
添付したパッチと同じ様にEXEC_EVENT_HOOKを追加して性能測定をしてみました。
測定にはbenchmark-ipsというgemを使って、100msでの実行命令数を計測しています。
測定に使ったソースコードは以下の通りです...
joker1007 (Tomohiro Hashidate)
07:15 AM Revision 8ed8e0ba (git): test_etc.rb: relax comparisons
* test/etc/test_etc.rb (test_getgrgid, test_getgrnam): relax
comparisons. getgrent() does not return mem properly ...
nobu (Nobuyoshi Nakada)
04:33 AM Bug #10727: Segfault with newlines + multibyte characters in exception message
Thanks! eagletmt (Kohei Suzuki)
03:35 AM Bug #10727 (Closed): Segfault with newlines + multibyte characters in exception message
Applied in changeset r49201.
----------
* eval_error.c (error_print): pos and len parameters of rb_str_substr()
ar...
usa (Usaku NAKAMURA)
01:46 AM Bug #10727 (Assigned): Segfault with newlines + multibyte characters in exception message
I can reproduce this.
```shell
% ruby -v issue10727.rb
issue10727.rb:7:in `<main>': にほんご (E)
issue10727.rb: [BU...
hsbt (Hiroshi SHIBATA)
01:41 AM Bug #10727 (Closed): Segfault with newlines + multibyte characters in exception message
In Ruby 2.2.0, this simple Ruby script results in segfault.
```ruby
class E < StandardError
def initialize
...
eagletmt (Kohei Suzuki)
04:02 AM Revision 54f1d71a (git): test for [ruby-core:67473] [Bug #10727]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 AM Bug #10668 (Closed): Fix description for Zlib.crc32
Applied in changeset r49202.
----------
* ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-co...
hsbt (Hiroshi SHIBATA)
03:57 AM Revision 6d92166c (git): * ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49202 b2dd03c8-39d4-4d8f-98...
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 27c679b8 (git): * eval_error.c (error_print): pos and len parameters of rb_str_substr()
are counted by characters, not bytes. use rb_str_subseq() instead.
[Bug #10727] [ruby-core:67473]
git-svn-id: sv...
U.Nakamura
02:20 AM Revision 0704c382 (git): ChangeLog: adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:58 AM Revision 84746126 (git): * complex.c: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:57 AM Feature #10376 (Closed): [PATCH 2/2] Remove comment-out about Nuby's method
Applied in changeset r49198.
----------
* rational.c: removed commented-out code.
[Feature #10376][ruby-core:65643]
hsbt (Hiroshi SHIBATA)
01:57 AM Revision 82c55fce (git): * rational.c: removed commented-out code.
[Feature #10376][ruby-core:65643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49198 b2dd03c8-39d4-4d8f-98ff-82...
hsbt (Hiroshi SHIBATA)
01:52 AM Bug #10479 (Feedback): OpenSSL not upgrading to 1.0.1j while recompiling Ruby.
hsbt (Hiroshi SHIBATA)
01:35 AM Bug #9559 (Closed): build failure with clang 3.4
DL has been removed from Ruby 2.2.0 or later.
but I think we need to backport this issue into Ruby 2.1 and 2.0.0
...
hsbt (Hiroshi SHIBATA)
01:22 AM Feature #10726 (Open): [PATCH 4/4] * New methods: Set#power
Hi, there.
Here are 4 patches.
```
implement_set#power.patch ... Implement Set#power
update_test_set.rb.patch...
gogotanaka (Kazuki Tanaka)
01:22 AM Bug #10725 (Feedback): Segfault with ObjectSpace::trace_object_allocations_start
We don't have the same environment equals to yours, we can't address where it happens without the debugging informati... nobu (Nobuyoshi Nakada)
12:11 AM Bug #10725 (Closed): Segfault with ObjectSpace::trace_object_allocations_start

While trying to pin down a memory leak issue I enabled trace_object_allocations_start but after a while my applicat...
vihai (Daniele Orlandi)
01:12 AM Revision 9f7179c5 (git): * 2015-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:12 AM Revision d2da3d04 (git): array.c: keep consistency
* array.c (rb_ary_select_bang): keep the array consistent by
removing unselected values soon. [ruby-dev:48805] [Bu...
nobu (Nobuyoshi Nakada)
12:33 AM Misc #10721: Failing test because of DNS server
Improved the original solution by adding assert_raises. anthonycrumley (Anthony Crumley)

01/09/2015

02:20 PM Revision 07b87cd2 (git): * lib/rubygems: Update to RubyGems HEAD(e53c54a).
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:43 AM Bug #10724 (Closed): [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API mi... deivid (David Rodríguez)
09:41 AM Bug #10710: can't compile ruby 2.2.0 with gcc versions older than 4.4.0
here's the build output:
~~~
~/src/ruby-2.2.0 $ make
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3...
drkaes (Stefan Kaes)
09:38 AM Bug #10710: can't compile ruby 2.2.0 with gcc versions older than 4.4.0
the problem is that the compiler accepts the warning flag but fails to compile a piece of code as soon as it tries to... drkaes (Stefan Kaes)
01:34 AM Bug #10710 (Feedback): can't compile ruby 2.2.0 with gcc versions older than 4.4.0
Could you show your config.log file, around checking `-Wno-packed-bitfield-compat`? nobu (Nobuyoshi Nakada)
09:40 AM Bug #10723: [PERF] bm_tread_create_join 20% slower
Opps it should bm_vm_thread_create_join.rb tgxworld (Guo Xiang Tan)
09:38 AM Bug #10723 (Closed): [PERF] bm_tread_create_join 20% slower
Relevant commits: https://github.com/ruby/ruby/compare/39fd4a8...5697b2f
Chart showing the regression: http://ruby...
tgxworld (Guo Xiang Tan)
08:52 AM Bug #10722 (Closed): Array#keep_if is borked if user calls 'break'
ref. [Bug #2545]
```
$ ruby -e 'a = [5,6,7,8,9,10]; a.keep_if { |x| break if x > 8; x >= 7 }; p a'
[7, 8, 7, 8, ...
wanabe (_ wanabe)
08:03 AM Bug #10708 (Assigned): In a function call, double splat of an empty hash still calls the function with an argument
Although `*args` includes and passes keywords too, but seems you want to add/remove/change some of keyword arguments.... nobu (Nobuyoshi Nakada)
12:57 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
If I am not mistaken, even latest Ruby 2.2 selects keyword arguments as the last method's argument and of Hash type.
...
dunric (David Unric)
07:51 AM Bug #10716: Erroneous semicolon after AC_CASE
Nobuyoshi Nakada wrote:
> Vit Ondruch wrote:
> > BTW I am wondering why Ruby actually enforces autoconf 2.67 and ma...
vo.x (Vit Ondruch)
01:57 AM Bug #10716 (Closed): Erroneous semicolon after AC_CASE
Applied in changeset r49192.
----------
configure.in: Remove superfluous semicolon
* configure.in (RUBY_SETJMP_TYPE...
nobu (Nobuyoshi Nakada)
01:50 AM Bug #10716: Erroneous semicolon after AC_CASE
Vit Ondruch wrote:
> BTW I am wondering why Ruby actually enforces autoconf 2.67 and makes plenty of RHEL 6/CentOS 6...
nobu (Nobuyoshi Nakada)
06:30 AM Misc #10721 (Closed): Failing test because of DNS server
The following test is failing:
[ 5/52] TestNetHTTP#test_failure_message_includes_failed_domain_and_port = 0.32 s
...
anthonycrumley (Anthony Crumley)
04:03 AM Revision 30253e6a (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:30 AM Feature #10718: IO#close should not raise IOError on closed IO objects.
I don't expect immediate stdlib update. akr (Akira Tanaka)
03:08 AM Feature #10718: IO#close should not raise IOError on closed IO objects.
I think the API is improved but I'm not sure we need to find & replace
every occurrence in the stdlib
zzak (zzak _)
02:18 AM Feature #10718: IO#close should not raise IOError on closed IO objects.
Thank you for proposing this. I think this will simplify working with
Ruby IO and make me happier since I work wit...
normalperson (Eric Wong)
01:53 AM Feature #10718 (Closed): IO#close should not raise IOError on closed IO objects.
I'd like to change IO#close.
It should not raise IOError on closed IO objects.
We sometimes invoke IO#close only ...
akr (Akira Tanaka)
02:23 AM Feature #10720 (Rejected): A proposal for something like: attr_reader :foo? - with the trailing '?' question mark
Hi guys,
Sorry to burden you with another suggestion, no problem
if it is not accepted, I wanted to just make it....
shevegen (Robert A. Heiler)
02:13 AM Bug #10719 (Closed): empty splatting literal hash after other keywords causes SEGV
Applied in changeset r49193.
----------
parse.y: eliminate empty hashes
* parse.y (assocs, assoc): eliminate splatt...
nobu (Nobuyoshi Nakada)
02:01 AM Bug #10719 (Closed): empty splatting literal hash after other keywords causes SEGV
~~~
$ ruby -e 'foo(a: 1, **{})'
ruby: [BUG] Segmentation fault at 0x00000000000018
ruby 2.3.0dev (2015-01-09 trunk...
nobu (Nobuyoshi Nakada)
02:13 AM Revision 17a65c32 (git): parse.y: eliminate empty hashes
* parse.y (assocs, assoc): eliminate splatting empty literal
hashes. [ruby-core:67446] [Bug #10719]
* compile.c (c...
nobu (Nobuyoshi Nakada)
01:57 AM Revision 787af09e (git): configure.in: Remove superfluous semicolon
* configure.in (RUBY_SETJMP_TYPE): Remove superfluous semicolon
which causes a syntax error with autoconf 2.63.
[...
nobu (Nobuyoshi Nakada)
01:56 AM Revision c9b16557 (git): ChangeLog: adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:29 AM Bug #10717 (Third Party's Issue): TestGemExtCmakeBuilder#test_self_build fails on RHEL 6/CentOS 6
nobu (Nobuyoshi Nakada)
 

Also available in: Atom