Project

General

Profile

Activity

From 03/31/2016 to 04/06/2016

04/06/2016

07:23 PM Bug #12255 (Closed): [DOC] Small fix for rdoc of ext/json/lib/json/add/*
This patch removes some comments that otherwise would appear in the docs of the affected classes.
E.g. for Excepti...
stomar (Marcus Stollsteimer)
06:41 PM Feature #12254 (Closed): Add SSLCiphers option to webrick ssl.rb
Hi,
In order to secure a sinatra api using webrick i need to specify the ciphers to be used.
To do this i have adde...
rhadoo_io (Raducu Constantin)
06:26 PM Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
> a) Keep behavior the same and rubyists can alleviate these by using `public_send` instead of `send`
It doesn't s...
dblock (Daniel Doubrovkine)
04:16 PM Bug #12223: Backport r54304 (SEGV in rb_str_format())
ruby_2_3 r54505 merged revision(s) 54304. nagachika (Tomoyuki Chikanaga)
04:15 PM Revision 58f77932 (git): merge revision(s) 54304: [Backport #12223]
* sprintf.c (rb_str_format): fix buffer overflow, length must be
greater than precision. reported by Willi...
nagachika (Tomoyuki Chikanaga)
03:01 PM Bug #12253: tkとmechanizeを併用してTkButtonを押すと"TypeError: allocator undefined for TkEvent::Event"エラーが起こる
はじめのコードより
require 'mechanize'
をはずして2.3.0p0で試した結果、エラー無く動作しました。
申し訳ありません、当方の早とちりでお手数をお掛けしました。
恐れ入りますがチケットのクロー...
aves_ramphastos (Seigo Ishigane)
02:52 PM Bug #12253: tkとmechanizeを併用してTkButtonを押すと"TypeError: allocator undefined for TkEvent::Event"エラーが起こる
申し訳ありません。いま気づいて上記のコードから
require 'mechanize'
をはずしたらどうなるかを試しました。
結果は同じで、2.1.8では動作しますが、2.2.4では上記と同様のエラーでした。
タイ...
aves_ramphastos (Seigo Ishigane)
02:38 PM Bug #12253 (Closed): tkとmechanizeを併用してTkButtonを押すと"TypeError: allocator undefined for TkEvent::Event"エラーが起こる
Rubyコミュニティ 御中
恐れ入りますがお尋ねしたいことがあり、チケットを切りました。
ruby/tkとmechanizeを併用した際に「`TypeError: allocator undefined for TkEve...
aves_ramphastos (Seigo Ishigane)
02:54 PM Bug #10015: Performance regression in Dir#[]
The problem seems to persist Mac OS X, although is better on 2.3.0, is still a lot slower than 2.1.x.
I have run the...
l.ferreira (Layon Ferreira)
02:29 PM Bug #12220 (Closed): Why does Coverage keep previously-loaded files as empty arrays?
Applied in changeset r54504.
----------
* ext/coverage/coverage.c: Fully reset coverage to not persist global state....
Eregon (Benoit Daloze)
02:21 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> Xavier, thank you for your opinion. I also don't think that it is a good idea to change becau...
Eregon (Benoit Daloze)
02:18 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Thank you for your reply.
Xavier Shay wrote:
> Hello, I filed #4796. It was a long time ago, and I don't remember...
Eregon (Benoit Daloze)
01:30 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Xavier, thank you for your opinion. I also don't think that it is a good idea to change because of a spec, but I don... mame (Yusuke Endoh)
12:57 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Hello, I filed #4796. It was a long time ago, and I don't remember what I was trying to do. Likely something around a... xshay (Xavier Shay)
02:29 PM Revision 4225b29d (git): * ext/coverage/coverage.c: Fully reset coverage to not persist global state.
It was returning old file coverages as empty arrays to the user.
[ruby-core:74596] [Bug #12220]
* ext/coverage/cove...
Eregon (Benoit Daloze)
01:41 PM Revision 6a79276e (git): configure.in: fix lgamma_r condition
* configure.in (rb_cv_lgamma_r_m0): fix the condition for
lgamma_r(-0.0). [Bug #12249]
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
11:49 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
i've had a similar issue with `open('http://www.replayjeans.com/us/shop/product/women/jumpers-knitwear/neoprene-print... chaimann (Eugene Chaikin)
11:17 AM Bug #12252 (Closed): Clarify Thread exception handling documentation.
The current documentation for Thread exception handling in vm.c is somewhat unclear. I've tried to explain the behavi... djellemah (John Anderson)
08:40 AM Revision 3f1fc5e4 (git): * tool/downloader.rb (RubyGems.download): follow the change of the
rubygems ssl_certs directory tree introduced by previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
U.Nakamura
07:59 AM Revision 373a7006 (git): btest: resource limit
* bootstraptest/test_thread.rb: rescue resource limitation errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
06:01 AM Revision 469bac0f (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.3.
Please see entries of 2.6.3 on
https://github.com/rubygems/rubygems/blob/master/History.txt
git-svn-id: svn+ssh://...
hsbt (Hiroshi SHIBATA)
05:13 AM Revision ea736d55 (git): configure.in: check lgamma_r(-0.0)
* configure.in (rb_cv_lgamma_r_m0): check if lgamma_r(-0.0)
returns negative infinity. [Bug #12249]
* math.c (ruby...
nobu (Nobuyoshi Nakada)
04:38 AM Revision 9d31efc6 (git): test_ssl.rb: skip unavailable pkeys
* test/openssl/test_ssl.rb (test_get_ephemeral_key): skip
unavailable public keys. [GH-1318]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
01:56 AM Revision 84d81867 (git): Logger: simple refactoring
* lib/logger.rb (Logger#level=): remove unnecessary local
variable.
* lib/logger.rb (Logger#initialize, Logger#reop...
nobu (Nobuyoshi Nakada)
01:26 AM Bug #12250: Ruby segfaults on `foodcritic .`
And seems a usual "incompatible library version" error. nobu (Nobuyoshi Nakada)
01:17 AM Revision 39330d6b (git): lgamma_r.c: fix at -0.0
* math.c (ruby_lgamma_r): missing/lgamma_r.c is used on Windows,
since msvcrt does not provide it.
* missing/lgamma...
nobu (Nobuyoshi Nakada)

04/05/2016

10:15 PM Bug #12250 (Rejected): Ruby segfaults on `foodcritic .`
Ruby 2.0.0 is EOL hsbt (Hiroshi SHIBATA)
03:41 PM Bug #12250 (Rejected): Ruby segfaults on `foodcritic .`
Trace:
```
Downloads$ foodcritic .
/Users/andrew.pennebaker/.gem/ruby/2.0.0/gems/nokogiri-1.6.6.2/lib/nokogiri/n...
mcandre (Andrew Pennebaker)
08:46 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
Regarding `Math.lgamma(-0.0)` (r54494,r54495):
It's actually caused by the `lgamma_r()` fallback implementation. A...
cremno (cremno phobia)
07:16 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
Nobuyoshi Nakada wrote:
> Applied in changeset r54492.
>
> ----------
> math.c: fix tgamma
>
> * math.c (ruby...
Eregon (Benoit Daloze)
03:58 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
Also `Math.lgamma(-0.0)`. nobu (Nobuyoshi Nakada)
03:52 PM Bug #12249 (Closed): Math.gamma(-0.0) should return -Infinity
Applied in changeset r54492.
----------
math.c: fix tgamma
* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ru...
nobu (Nobuyoshi Nakada)
11:53 AM Bug #12249 (Closed): Math.gamma(-0.0) should return -Infinity
On Windows, Math.gamma(-0.0) returns +Infinity instead of -Infinity,
which is the correct result according to tgamma...
Eregon (Benoit Daloze)
07:45 PM Bug #12251 (Closed): DelegateClass(OpenStruct) behavior in 2.3.0 different from 2.2
This came from https://github.com/ruby-grape/grape/issues/1348
~~~
require 'delegate'
require 'ostruct'
class...
dblock (Daniel Doubrovkine)
04:23 PM Revision bb7a4c2a (git): * math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.
cf. [Bug #12249]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:53 PM Revision 542d3a07 (git): math.c: fix lgamma
* math.c (ruby_lgamma_r): fix lgamma(-0.0) on mingw and OSX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54494...
nobu (Nobuyoshi Nakada)
03:52 PM Revision 8c4c3508 (git): * 2016-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 PM Revision 41c53344 (git): math.c: fix tgamma
* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ruby-core:74817] [Bug #12249]
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
03:34 PM Bug #11940: Ruby fails to compile with --with-static-linked-ext
ruby_2_3 r54491 merged revision(s) 53419. nagachika (Tomoyuki Chikanaga)
03:33 PM Revision d309921e (git): merge revision(s) 53419: [Backport #11940]
* lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM):
should check same name as the used constants....
nagachika (Tomoyuki Chikanaga)
10:16 AM Bug #9198 (Closed): Segfault in TestException#test_machine_stackoverflow
This test was disabled by r49550 => closing this issue. vo.x (Vit Ondruch)
08:15 AM Revision a4915087 (git): string.c: rb_str_concat_literals
* string.c (rb_str_concat_literals): concatenate literal string
fragments.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
06:03 AM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
Anton Sivakov wrote:
> Yui NARUSE wrote:
> > Applied in changeset r54423.
> >
> > ----------
> > * ext/nkf/nkf-...
naruse (Yui NARUSE)
05:54 AM Revision eee2769c (git): * ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.
[Bug #12202] [ruby-core:74802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54489 b2dd03c8-39d4-4d8f-98ff-823fe...
naruse (Yui NARUSE)
03:55 AM Bug #12248 (Rejected): Backport rubygems fix from upstream repo for Ruby 2.2.x
Rubygems fixed bug that was introduced by Rubygems 2.4.5 on Ruby 2.2.0.
This bug is backported 2.4.x branch on rub...
hsbt (Hiroshi SHIBATA)

04/04/2016

10:16 PM Feature #12247: accept multiple arguments at Array#delete
+1 I needed this a few days ago rosenfeld (Rodrigo Rosenfeld Rosas)
06:15 PM Feature #12247: accept multiple arguments at Array#delete
With gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04), following result:
```
% time ./miniruby54488 -e'i...
naruse (Yui NARUSE)
03:02 PM Feature #12247: accept multiple arguments at Array#delete
Sebastian Skalacki wrote:
> Anyway, I think that the return value could be better described in docs.
Agreed.
Ple...
usa (Usaku NAKAMURA)
03:00 PM Feature #12247: accept multiple arguments at Array#delete
Tsuyoshi Sawada wrote:
> depending on the length of `array`, you get different types of results. It can be a gotcha....
usa (Usaku NAKAMURA)
02:48 PM Feature #12247: accept multiple arguments at Array#delete
If the return value has as many items as arguments passed to the method and the items order is preserved, then the re... skalee (Sebastian Skalacki)
02:45 PM Feature #12247: accept multiple arguments at Array#delete
I like the idea, but I feel a slight inconsistency of the proposed output with the existing behavior. When the argume... sawa (Tsuyoshi Sawada)
02:04 PM Feature #12247: accept multiple arguments at Array#delete
With my implementation (attached patch),
```ruby
ary = [1, 2, 3, 4, 5]
ary.delete(1, 6) # => [1]
ary ...
usa (Usaku NAKAMURA)
01:48 PM Feature #12247: accept multiple arguments at Array#delete
I guess this is a simple change. I have nothing against it.
As for the last question:
```ruby
ary = [1, 2, 3, ...
shevegen (Robert A. Heiler)
09:11 AM Feature #12247: accept multiple arguments at Array#delete
Given:
~~~
ary = [1, 2, 3, 4, 5]
~~~
What is going to be returned by:
~~~
ary.delete(1, 6)
~~~
?
skalee (Sebastian Skalacki)
07:03 AM Feature #12247: accept multiple arguments at Array#delete
+1 I needed this before too. For API consistency I would also want Hash#delete to accept multiple argumenrts as well. shyouhei (Shyouhei Urabe)
04:45 PM Bug #10642: 2.2: TestMath#test_gamma test failure (MinGW)
This issue keep failing in ruby_2_2 branch.
Please backport r49913.
moritat (Tsuyoshi Morita)
04:12 PM Revision 8fba800f (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:08 PM Revision d1683b59 (git): test_get_ephemeral_key: use assert_instance_of
* test/openssl/test_ssl.rb (test_get_ephemeral_key): should use
assert_instance_of instead of comparison of classes...
nobu (Nobuyoshi Nakada)
03:06 PM Revision cd2eb1f9 (git): * 2016-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 176976db (git): openssl: Access to ephemeral TLS session key
* ext/openssl/ossl_ssl.c (ossl_ssl_tmp_key): Access to ephemeral
TLS session key in case of forward secrecy cipher....
nobu (Nobuyoshi Nakada)
02:37 PM Bug #12095 (Closed): ruby_vm_at_exit can sometime cause a crash.
Applied in changeset r54484.
----------
at_exit list
* vm_core.h (rb_vm_struct): make at_exit a single linked list ...
nobu (Nobuyoshi Nakada)
02:36 PM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
`at_exit` functions should be called in the inverse order, LIFO. nobu (Nobuyoshi Nakada)
02:37 PM Revision 990d709e (git): at_exit list
* vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered functions ...
nobu (Nobuyoshi Nakada)
01:53 PM Feature #12245: optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil
I think that would make sense.
I usually add an extra method call afterwards to round it manually (or, if not .rou...
shevegen (Robert A. Heiler)
10:35 AM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
Yui NARUSE wrote:
> Applied in changeset r54423.
>
> ----------
> * ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3ed...
fanantoxa (Anton Sivakov)
09:19 AM Bug #12235: URI.encode issue with square brackets
escalating URL spec: https://github.com/whatwg/url/issues/112 naruse (Yui NARUSE)
08:49 AM Revision dc58fbea (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:49 AM Revision 02f75074 (git): * gc.c: change deafult value of
RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO 0.3 -> 0.2
RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO 0.8 -> 0.65
These values are same...
ko1 (Koichi Sasada)
08:41 AM Revision 3287bad2 (git): * gc.c (get_envparam_double): take an upper_bound.
And also take an accept_zero flag which allow to accept zero
even if lower_bound is set.
* gc.c (ruby_gc_set_param...
ko1 (Koichi Sasada)
07:42 AM Revision 60f14c29 (git): * 2016-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:42 AM Revision eddbebcb (git): * vm.c (Init_VM): should pass tokens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:20 AM Bug #12191: Violation of ANSI aliasing rules causing problems while compiling
Does this help? RBasic and RBasicRaw does in fact occupy identical memory region so making them union seems the most ... shyouhei (Shyouhei Urabe)
05:21 AM Feature #12225 (Rejected): Remove inline assemblers and always enables USE_MACHINE_REGS
Usaku NAKAMURA wrote:
> One more result of mswin64 (Visual C++ 2013):
> ...
Thank you for benchmark.
Hmm Visual...
naruse (Yui NARUSE)

04/03/2016

03:47 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
ruby_2_3 r54478 merged revision(s) 53495. nagachika (Tomoyuki Chikanaga)
03:41 PM Revision ea966b6c (git): merge revision(s) 53495: [Backport #11970]
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since V...
nagachika (Tomoyuki Chikanaga)
08:51 AM Feature #12247 (Open): accept multiple arguments at Array#delete
I found that it's very useful if `Array#delete` accepts multiple arguments.
```ruby
ary = [1, 2, 3, 4, 5]
ary.de...
usa (Usaku NAKAMURA)
12:34 AM Revision b4c0aac4 (git): numeric.c: dbl2ival no longer rounds
* numeric.c (flodivmod): round division if it is a finite number
and module is required.
* numeric.c (dbl2ival): do...
nobu (Nobuyoshi Nakada)

04/02/2016

10:38 PM Revision 2b829860 (git): * 2016-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:38 PM Revision 95813d47 (git): numeric.c: move declaration [ci skip]
* numeric.c (fix_lshift, fix_rshift, flo_truncate): move forward
declaration to the top.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
08:49 PM Bug #12246 (Closed): [DOC] Language improvements for doc/extension.rdoc
The patch provides several language improvements for doc/extension.rdoc. stomar (Marcus Stollsteimer)
06:41 PM Feature #12244: Add a way to `integer - integer % num`
Why this new method is too slow seems because of keyword argument. naruse (Yui NARUSE)
01:45 PM Feature #12244 (Assigned): Add a way to `integer - integer % num`
We sometimes calculates `integer - integer % num`.
For example time series events into time partitions, we write c...
naruse (Yui NARUSE)
06:17 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
Thank you for your reply.
> Benoit Daloze wrote:
> > I consider it a bug in that it seems ...
Eregon (Benoit Daloze)
03:34 PM Feature #12245 (Closed): optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil
Related to [Feature #12244].
I think that `Integer#floor`, `Integer#ceil`, `Float#floor`, and `Float#ceil` should ha...
nobu (Nobuyoshi Nakada)
02:49 PM Bug #12243: Segmentation fault at 0x0000000000001c
Nobuyoshi Nakada wrote:
> How to reproduce it?
It happens when I parse a large XML File with libxml-ruby and writ...
fero46 (Ferhat Ziba)
02:44 AM Bug #12243 (Feedback): Segmentation fault at 0x0000000000001c
How to reproduce it? nobu (Nobuyoshi Nakada)
09:31 AM Feature #12241 (Rejected): super end
nobu (Nobuyoshi Nakada)
08:42 AM Feature #12241: super end
NOOOO GOOD!! is ruby want become to perl? windwiny (wind winy)
12:19 AM Feature #12241: super end
Robert A. Heiler wrote:
> Edit: Or perhaps "FINAL_END"
It isn't always "FINAL".
```ruby
module MyModule
cl...
nobu (Nobuyoshi Nakada)
12:17 AM Feature #12241: super end
Martin Dürst wrote:
> I think this should be end!, to look like a Ruby method name :-).
Since it conflicts with t...
nobu (Nobuyoshi Nakada)
09:31 AM Feature #12240 (Rejected): circle number arguments
nobu (Nobuyoshi Nakada)
12:21 AM Feature #12240: circle number arguments
Martin Dürst wrote:
> In addition, a proposal for adding black and white circled numbers
> possibly up into the ...
nobu (Nobuyoshi Nakada)
06:33 AM Revision 9a686593 (git): numeric.c: prefer rb_check_arity
* numeric.c (flo_round, int_to_s, int_round): use rb_check_arity
instead of rb_scan_args for a simple optional argu...
nobu (Nobuyoshi Nakada)
06:24 AM Revision 9731a745 (git): * 2016-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:24 AM Revision d2e21473 (git): rb_check_arity returns argc now
* include/ruby/intern.h (rb_check_arity): returns argc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54472 b2dd...
nobu (Nobuyoshi Nakada)

04/01/2016

08:20 PM Bug #12243 (Closed): Segmentation fault at 0x0000000000001c
/Users/fero46/.rvm/gems/ruby-2.2.3/gems/activerecord-4.2.6/lib/active_record/relation/query_methods.rb:574: [BUG] Se... fero46 (Ferhat Ziba)
05:08 PM Revision 03228aab (git): merge revision(s) 53722: [Backport #12232]
* ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): Fix
Ripper.lex error in dedenting squiggly heredoc. ...
naruse (Yui NARUSE)
02:42 PM Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?
You mean you suggest to have the documentation better?
The UI can be a bit confusing I agree, I'd like to have a s...
shevegen (Robert A. Heiler)
01:16 PM Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?
Apologies if I opened this in a wrong format. I'm pretty new to redmine tracker, and unfamiliar with the UI :(
kgrz (Kashyap K)
09:46 AM Feature #12242 (Feedback): Is it worth adding collision probability of SecureRandom functions in RubyDoc?
Is it feasible and/or even useful to document the probability of
collisions for the various random number generation...
kgrz (Kashyap K)
02:39 PM Feature #12241: super end
You almost got me with this one!
Also see the "endddd" suggestion. :)
Edit: Or perhaps "FINAL_END"
shevegen (Robert A. Heiler)
06:32 AM Feature #12241: super end
Nobuyoshi Nakada wrote:
> This proposal will introduce "super end", `!end`, which ends the block began at the same...
duerst (Martin Dürst)
06:18 AM Feature #12241 (Rejected): super end
This is a refinement of [Feature #5054].
It required to count the depth of count to end, and tiresome.
This pro...
nobu (Nobuyoshi Nakada)
01:00 PM Revision 3e0512bd (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:58 AM Revision 5e9d33ad (git): * enc/unicode/case-folding.rb, casefold.h: Data generation to implement
swapcase functionality for titlecase characters. Swapcase isn't defined
by Unicode, because the purpose/usage of sw...
duerst (Martin Dürst)
10:49 AM Feature #12225: Remove inline assemblers and always enables USE_MACHINE_REGS
One more result of mswin64 (Visual C++ 2013):
```
Speedup ratio: compare with the result of `ruby 2.4.0dev (2016-...
usa (Usaku NAKAMURA)
10:04 AM Feature #12225: Remove inline assemblers and always enables USE_MACHINE_REGS
mswin64 result:
```
Speedup ratio: compare with the result of `ruby 2.4.0dev (2016-04-01 trunk 54468) [x64-mswin6...
usa (Usaku NAKAMURA)
07:13 AM Feature #12142: Hash tables with open addressing
> average improvement on MRI hash benchmarks is close to 40% on Intel Haswell and >55% on ARMv7
What about realwor...
funny_falcon (Yura Sokolov)
03:41 AM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> [email protected] wrote:
> > I think I'll have a few patches when I am done with the hash
> ...
vmakarov (Vladimir Makarov)
06:51 AM Feature #12240: circle number arguments
On 2016/04/01 15:10, [email protected] wrote:

> ~~~ruby
> [[1, 2], [3, 4]].map {①+②}
> ~~~
>
> `①`..`⑳` deno...
duerst (Martin Dürst)
06:10 AM Feature #12240 (Rejected): circle number arguments
Often improvements about implicit block argument have been proposed, but in vain.
Such as:
~~~ruby
[[1, 2], [3...
nobu (Nobuyoshi Nakada)
05:55 AM Bug #12239 (Closed): configure script does not detect Git when in a working tree with non-directory .git
Applied in changeset r54468.
----------
improve git repository detection
* configure.in (AC_CONFIG_FILES): $srcdir/...
nobu (Nobuyoshi Nakada)
04:30 AM Bug #12239 (Closed): configure script does not detect Git when in a working tree with non-directory .git
`make up` doesn't work well on a Git working tree created by `git-worktree add`.
~~~sh
% git clone https://github...
rhenium (Kazuki Yamaguchi)
05:55 AM Revision 69d6e315 (git): improve git repository detection
* configure.in (AC_CONFIG_FILES): $srcdir/.git can be a file pointing
the real git_dir, such as when the git workin...
nobu (Nobuyoshi Nakada)
05:30 AM Bug #12238: Logger writes progname if log message is nil
Seems intended,
> Logger#add(severity, message = nil, progname = nil) { ... }
>
> ### Args
>
> `progname`::
...
nobu (Nobuyoshi Nakada)
03:27 AM Revision 34c0c840 (git): * tool/release.sh: BRE accepts \{m,\} expression. use it for future many-digits
version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

03/31/2016

08:33 PM Bug #12126 (Closed): [PATCH] openssl: accept moving write buffer for write_nonblock
Applied in changeset r54466.
----------
openssl: accept moving write buffer for write_nonblock
By setting the SSL_M...
Anonymous
08:33 PM Revision 280f7322 (git): openssl: accept moving write buffer for write_nonblock
By setting the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
This flag was introduced at the same time as
SSL_MODE_ENABLE...
Eric Wong
07:32 PM Feature #12142: Hash tables with open addressing
[email protected] wrote:
> I think I'll have a few patches when I am done with the hash
> tables: the hash table...
normalperson (Eric Wong)
07:13 PM Bug #12238 (Rejected): Logger writes progname if log message is nil
Please consider the following example:
``` ruby
logger = Logger.new($stdout)
# Log message is nil
logger.info...
Soilent (Konstantin x)
06:26 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> Then, you want `Coverage.result` to remove all arrays from the Hash once, keep them in back, a...
sawa (Tsuyoshi Sawada)
06:11 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Then, you want `Coverage.result` to remove all arrays from the Hash once, keep them in back, and automatically restor... mame (Yusuke Endoh)
06:00 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> I'm unsure what behavior you expect. Do you mean that it should pass the following two tests?...
sawa (Tsuyoshi Sawada)
05:49 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
I'm unsure what behavior you expect. Do you mean that it should pass the following two tests?
~~~~
Coverage.star...
mame (Yusuke Endoh)
05:35 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> It was actually intentional. Please read the test case of #4796.
>
> ~~~~
> Cover...
sawa (Tsuyoshi Sawada)
05:14 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Benoit Daloze wrote:
> Tsuyoshi Sawada wrote:
> > So, was it or was it not a bug that it returns empty arrays?
>
...
mame (Yusuke Endoh)
04:50 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Tsuyoshi Sawada wrote:
> So, was it or was it not a bug that it returns empty arrays?
I consider it a bug in that...
Eregon (Benoit Daloze)
04:35 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
So, was it or was it not a bug that it returns empty arrays? sawa (Tsuyoshi Sawada)
01:37 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
After looking into this, I discovered a bug!
And I also found the reason why it's returning empty arrays: it is leak...
Eregon (Benoit Daloze)
05:21 PM Feature #12236: Introduce `mmap` managed heap
[email protected] wrote:
> * We need to manage x4 more pages. We need to avoid O(n) (n:
> page number) operations ...
normalperson (Eric Wong)
11:17 AM Feature #12236 (Rejected): Introduce `mmap` managed heap
# Abstract
I propose `mmap` (or similar API on Windows) managed heap.
Now, each heap pages are allocated by pos...
ko1 (Koichi Sasada)
04:14 PM Bug #12237 (Closed): Coverage keeps tracking counts even after Coverage.result
Applied in changeset r54465.
----------
* thread.c (update_coverage): Do not track coverage in loaded files
after ...
Eregon (Benoit Daloze)
03:59 PM Bug #12237: Coverage keeps tracking counts even after Coverage.result
Benoit Daloze wrote:
> Can I commit the fix in thread.c?
Sure, thank you very much!
--
Yusuke Endoh <mame@ru...
mame (Yusuke Endoh)
01:59 PM Bug #12237: Coverage keeps tracking counts even after Coverage.result
Attached proposed fixing patch. Eregon (Benoit Daloze)
01:52 PM Bug #12237 (Closed): Coverage keeps tracking counts even after Coverage.result
While looking at #12220, I found a bug.
Attached is a patch that reveals it.
Running
$ make test-all TESTS="test...
Eregon (Benoit Daloze)
04:14 PM Revision 8dd24358 (git): * thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bounds access. [Bug #12237]
* ext/coverage/coverage.c (coverage_clear_result_i):...
Eregon (Benoit Daloze)
03:42 PM Revision 674725f1 (git): * test/rubygems/test_gem_commands_environment_command.rb (test_execute):
version number may be two-digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54462 b2dd03c8-39d4-...
U.Nakamura
03:26 PM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> In the yesterday's meeting,
> https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting...
Eregon (Benoit Daloze)
03:13 PM Revision f0060b81 (git): * tool/release.sh: two-digit version number support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:04 PM Revision 69eee71c (git): * 2016-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision a517e6f9 (git): * tool/merger.rb (version): version number may be two-digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:02 PM Revision 03a4a200 (git): * version.h: commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:01 PM Revision ed3dedae (git): * version.h: bump to 2.1.10. welcome to two-digit version!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:46 PM Revision c55bcb9c (git): gc.c: use PRIdSIZE
* gc.c (heap_extend_pages): fix format specifiers for size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5445...
nobu (Nobuyoshi Nakada)
10:16 AM Revision 5951bbec (git): * gc.c: need to set initial value of GC_HEAP_FREE_SLOTS_GOAL_RATIO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:53 AM Bug #12235 (Closed): URI.encode issue with square brackets
URI::Encode doesn't correctly handle square brackets in the path of a URL:
> URI.encode('http://example.com/re...
lucaspiller (Luca Spiller)
09:16 AM Revision 867693fe (git): * gc.c: change additional allocation policy.
Introduce new environement variable
GC_HEAP_FREE_SLOTS_GOAL_RATIO (goal_ratio) to calculate the ratio
of addition...
ko1 (Koichi Sasada)
09:14 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
Martin Dürst wrote:
> Benoit Daloze wrote:
> > It seems to me Enumerable is not the right place for this, because i...
Eregon (Benoit Daloze)
05:23 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
Benoit Daloze wrote:
> It seems to me Enumerable is not the right place for this, because it expects more than just ...
duerst (Martin Dürst)
08:49 AM Revision 9bb740d2 (git): * gc.c (gc_marks_finish): fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:21 AM Revision 49369ef1 (git): * gc.c: simplify allocate/free detecting logic at the end of marking.
Before this change, heap_pages_min_slots are calculated at the
beggining sweeping phase. And this value is used at ...
ko1 (Koichi Sasada)
07:45 AM Revision 555f6cb0 (git): * gc.c: add GC parameters to configure the following values:
* RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO:
allocate additional pages when free slots is lower than
the value (total...
ko1 (Koichi Sasada)
07:02 AM Bug #12234 (Rejected): Kernel#exec with a command array broken on Windows as of Ruby 2.2.4
It's wrong code.
The second argument must be '/C'.
```ruby
exec(['cmd.exe', '/C'], '/C', 'echo', 'argv_zero')
```
nobu (Nobuyoshi Nakada)
05:07 AM Bug #12234 (Rejected): Kernel#exec with a command array broken on Windows as of Ruby 2.2.4
On Ruby 2.0.0 this worked as expected:
```
C:\Users\Administrator\GitHub\spec>ruby -ve "exec(['cmd.exe', '/C'], '...
vais (Vais Salikhov)
07:02 AM Revision fb296fe6 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:02 AM Revision 9a008c58 (git): * gc.c (gc_verify_heap_page): check the number of zombies.
* gc.c (gc_verify_heap_pages): check also tomb heap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54448 b2dd03...
ko1 (Koichi Sasada)
06:51 AM Revision f46b5bcf (git): * gc.c (gc_page_sweep): return free slots count.
* gc.c (gc_sweep_step): use returned free slots count.
* gc.c (gc_sweep_step): change variable name `next'
to `nex...
ko1 (Koichi Sasada)
03:02 AM Revision 7d5b9cd3 (git): complex.c: pure declarations
* complex.c (get_dat1, get_dat2): turn into pure variable
declarations only, not mixed code and declarations.
git-...
nobu (Nobuyoshi Nakada)
02:33 AM Revision add0ae51 (git): date_core.c: fix indent
* ext/date/date_core.c (d_lite_strftime, dt_lite_strftime): [DOC]
fix indent not to be a big sole verbatim.
git-sv...
nobu (Nobuyoshi Nakada)
02:18 AM Bug #12233 (Closed): Please consider adding documentation to DateTime, one line, require 'date'
Applied in changeset r54444.
----------
date_core.c: fix DateTime rdoc
* ext/date/date_core.c (Init_date_core): [DO...
nobu (Nobuyoshi Nakada)
02:18 AM Revision f85ff1ed (git): date_core.c: fix DateTime rdoc
* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #12233]
git-...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #12232 (Closed): Ripper.lex can't parse 2.3-style heredoc
Fixed at r53722. nobu (Nobuyoshi Nakada)
 

Also available in: Atom