Project

General

Profile

Activity

From 04/02/2015 to 04/08/2015

04/08/2015

11:24 PM Bug #11051 (Closed): Addrinfo#marshal_load がメモリーリーク
Applied in changeset r50187.
----------
raddrinfo.c: fix memory leak
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
nobu (Nobuyoshi Nakada)
05:03 PM Bug #11051 (Closed): Addrinfo#marshal_load がメモリーリーク
`Addrinfo#marshal_load` がメモリーリークしているように思います。
~~~diff
diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c
index e13684a..d838898 100644
--- a/ext/socket/raddrinfo.c
+++ b/ext/socket/raddrinfo.c
@@ -1643,6 +1643,7 @@ addri...
tommy (Masahiro Tomita)
11:24 PM Revision 17b78d07 (git): * 2015-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:24 PM Revision 816504c2 (git): raddrinfo.c: fix memory leak
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:18 PM Feature #11052 (Closed): [PATCH] Blockless Pathname#ascend and #descend return Enumerator
It would be beneficial for blockless `Pathname#ascend` and `#descend`
to return an `Enumerator` (rather than raise a `LocalJumpError`).
Example use case of finding the Git root of the current directory:
~~~
git_dir = Pathname.new...
chastell (Piotr Szotkowski)
08:34 PM Bug #10952: Clarify BigDecimal license
Thanks a lot. Can this be backported or not? vo.x (Vit Ondruch)
07:21 AM Bug #10952: Clarify BigDecimal license
Shigeo, original author of BigDecimal, allows me to change BigDecimal's license to ruby's.
I'd already changed it.
mrkn (Kenta Murata)
07:19 AM Bug #10952 (Closed): Clarify BigDecimal license
Applied in changeset r50185.
----------
* bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
mrkn (Kenta Murata)
04:45 PM Feature #11049: Enumerable#grep_v (inversed grep)
How is this proposal different from #9602? I thought that Matz had already suggested to modify `select`, and Sam Rawlins had implemented `select` and `reject`. sawa (Tsuyoshi Sawada)
12:00 PM Feature #11049: Enumerable#grep_v (inversed grep)
`invert` looks same as my proposal, `Regexp#!`. nobu (Nobuyoshi Nakada)
11:42 AM Feature #11049: Enumerable#grep_v (inversed grep)
Recursive Madman wrote:
> Benoit Daloze wrote:
> ...
```
class Regexp
def invert
self.class.new("[^(?:#{source})]")
end
end
%w(aaa bbb ccc).grep(/abc/) #=> []
%w(aaa bbb ccc).grep(/abc/.invert) #=> []
```
akr (Akira Tanaka)
11:31 AM Feature #11049: Enumerable#grep_v (inversed grep)
Benoit Daloze wrote:
> That only works for some regexps, I doubt there is a proper and well defined inverted regexp for any Regexp.
Could you provide an example that doesn't work?
recursive-madman (Recursive Madman)
11:22 AM Feature #11049: Enumerable#grep_v (inversed grep)
grep(pattern, inverse: true) seems the least surprising to me.
But of course it does not buy much compared to #reject.
Eregon (Benoit Daloze)
11:21 AM Feature #11049: Enumerable#grep_v (inversed grep)
Recursive Madman wrote:
> How about implementing `Regexp#invert` instead?
> ...
That only works for some regexps, I doubt there is a proper and well defined inverted regexp for any Regexp.
Eregon (Benoit Daloze)
11:18 AM Feature #11049: Enumerable#grep_v (inversed grep)
How about implementing `Regexp#invert` instead?
```ruby
/b/.invert #=> /[^(?:b)]/
```
Like this for example:
```ruby
class Regexp
def invert
self.class.new("[^(?:#{source})]")
end
end
%w(aaa bbb ccc).grep(/b/...
recursive-madman (Recursive Madman)
10:23 AM Feature #11049 (Closed): Enumerable#grep_v (inversed grep)
sometime I want to do `grep -v` like operation:
%w(aaa bbb ccc).reject { |x| /b/ === x } #=> ["aaa", "ccc"]
We already have Enumerable#grep, so I propose to add Enumerable#grep_v.
%w(aaa bbb ccc).grep(/b/) #=> ["bbb"]
...
sorah (Sorah Fukumori)
01:49 PM Bug #11050 (Third Party's Issue): Segmentation fault in Ruby 2.2.1
Seems like an issue of curb. nobu (Nobuyoshi Nakada)
01:08 PM Bug #11050 (Third Party's Issue): Segmentation fault in Ruby 2.2.1
I just did a git clone of curb and tried to do a rake install and I see it fails with segmentation fault all the time. murugesh (Murugesan Guruswamy)
11:27 AM Bug #11042 (Rejected): Timezone boundary is different between versions 2.2.0 and 2.2.1
GMT and BST are both valid for 2013-10-27 01:00:00 to 2013-10-27 01:59:59.
% zdump -v Europe/London|grep 2013
Europe/London Sun Mar 31 00:59:59 2013 UT = Sun Mar 31 00:59:59 2013 GMT isdst=0 gmtoff=0
Europe/London Sun Mar 31 01:00...
akr (Akira Tanaka)
10:12 AM Feature #10932: Enabling allocation tracing as early as possible
Matz has no objection (except file name).
I have 2 concerns.
(1) file name
We alraedy have tracer.rb.
How about objspace/allocation_tracer.rb?
(not clear?)
(2) including ObjectSpace
Should not include.
ko1 (Koichi Sasada)
08:45 AM Revision 119960dc (git): version.c: support RUBY_ENGINE_VERSION
* version.c (Init_version): the version of the engine or
interpreter. [Fix GH-858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:18 AM Revision 8b9db31f (git): * bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
05:58 AM Revision d7abb533 (git): * win32/win32.c (rb_w32_wreadlink): should treat junctions like as
symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:04 AM Revision 0d382f48 (git): * test/ruby/test_symbol.rb: fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:01 AM Bug #11035 (Closed): Calling #hash method: inconsistency between dynamic and static symbols
Applied in changeset r50182.
----------
hash.c: compare symbols by identities
* hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035]
nobu (Nobuyoshi Nakada)
04:01 AM Revision 622193d3 (git): hash.c: compare symbols by identities
* hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:56 AM Bug #11036 (Rejected): In iterlation, '#'(String) is gone
nobu (Nobuyoshi Nakada)
12:52 AM Bug #11036: In iterlation, '#'(String) is gone
Oops. it's my fault. sorry!
plz delete this issue
hiphapis (Johan Kim)
01:55 AM Bug #11047 (Closed): SEGV in ruby_yyparse
nobu (Nobuyoshi Nakada)
01:46 AM Bug #11045: ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
Charles Nutter wrote:
> 3. Do we really want to be testing linux-specific crypt behavior?
I don't think we want, it's just an implementation regression test.
> ...
Or we need a standard way to isolate this kind of tests.
nobu (Nobuyoshi Nakada)

04/07/2015

11:14 PM Bug #11047: SEGV in ruby_yyparse
I believe this already has been fixed, but not yet backported to 2.2. See #10957. cremno (cremno phobia)
09:39 PM Bug #11047: SEGV in ruby_yyparse
ps. originally discovered under 2.1.5
mcarpenter (Martin Carpenter)
09:37 PM Bug #11047 (Closed): SEGV in ruby_yyparse
Hello,
Please find attached half a dozen test cases that cause the ruby parser (either in a script or via `eval` as below) to throw a segmentation violation due to stack corruption. Using 2.2-head on Ubuntu 14.04.
To reproduce:
...
mcarpenter (Martin Carpenter)
09:51 PM Bug #11048 (Rejected): blocks raise on missing and extra keyword args
blocks intentionally tolerate arity mismatches
```
irb(main):001:0> proc{|a, b| [a, b]}.(1)
[
[0] 1,
[1] nil
]
irb(main):003:0> proc{|a, b|[a, b]}.(1, 2, 3)
[
[0] 1,
[1] 2
]
```
so why not missing keyword a...
bughit (bug hit)
09:28 PM Bug #11046 (Closed): __callee__ returns incorrect method name in orphan proc
__callee__ returns incorrect method name in orphan proc.
```ruby
def foo
1.times{
p __callee__
}
proc{
__callee__
}
end
alias bar foo
pr = bar #=> :bar
GC.start
p pr.call #=> :foo
```
Reproduce on 2...
ko1 (Koichi Sasada)
08:36 PM Bug #11045 (Closed): ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
I think we should just remove the glibc version guards in test_str_crypt in test/ruby/test_m17n_comb.rb.
1. JRuby can't determine glibc version without making a glibc-specific call (because we have no build-time configure script or si...
headius (Charles Nutter)
07:39 PM Feature #11044 (Closed): [PATCH] lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock
Exceptions are noisy in debug output and waste allocations.
Use "exception: false" introduced in 2.1 to return symbols for
common errors instead.
Follow-up commits will be prepared to reduce EOFError exceptions
to further quiet deb...
normalperson (Eric Wong)
04:05 PM Revision ad470f1c (git): * 2015-04-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision 92c3c972 (git): rbinstall.rb: no post install messages
* tool/rbinstall.rb: suppress post install messages of rdoc for
older ruby versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:05 PM Revision fdb3bbf1 (git): rbinstall.rb: $script_mode
* tool/rbinstall.rb: set script files permission to $script_mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 PM Bug #11043 (Rejected): .rvm/gems/ruby-2.1.1/gems/json-1.8.2/lib/json/common.rb:67: [BUG] unknown type 0x22 (0xc given)
```
gem install watir-webdriver
Fetching: websocket-1.2.1.gem (100%)
Successfully installed websocket-1.2.1
Fetching: ffi-1.9.8.gem (100%)
Building native extensions. This could take a while...
Successfully installed ffi-1.9.8
Fe...
kamal2222ahmed (Kamal Ahmed)
02:44 PM Bug #11042 (Rejected): Timezone boundary is different between versions 2.2.0 and 2.2.1
In Ruby 2.2.1 the timezone boundary for BST->GMT in the UK appears to be at 1am:
~~~
[1] pry ~ » Time.new(2013, 10, 27, 0, 59).localtime.dst?
true
[2] pry ~ » Time.new(2013, 10, 27, 1, 0).localtime.dst?
false
~~~
In Ruby 2.2...
peteryates (Peter Yates)
02:15 PM Bug #11041: Rake test task fails with LoadError when using Ruby version 2.2.1 [Mac OSX10.9]
NB: The ruby version listed as ruby -v is incorrect. The correct value should be:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
TheNephilim (Paul Yeboah)
02:11 PM Bug #11041 (Closed): Rake test task fails with LoadError when using Ruby version 2.2.1 [Mac OSX10.9]
I have just started to use RVM and have installed ruby version 2.2.1. I have a test project whose Rake test task that I was successfully executing tests with the system version (2.0.0). When I then switch to 2.2.1 via RVM, the rake_test_... TheNephilim (Paul Yeboah)
01:58 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
Aha, it seems that killing the thread releases the mutex lock directly, while the counter is not decreased. Is this something `Monitor` should be able to deal with? jvdp (Jaap van der Plas)
12:41 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
Attached what I think is the minimal test case. jvdp (Jaap van der Plas)
12:09 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
I attached a slightly simpler test case. jvdp (Jaap van der Plas)
12:02 PM Bug #11040 (Closed): Mutex can be locked by multiple threads, causing Monitor to sometimes hang
I have found a case where Monitor sometimes does not release the lock on its mutex where it should, because the internal counter is increased by another thread than the one holding it. From the trace it seems that `Mutex#lock` succeeds w... jvdp (Jaap van der Plas)
12:40 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Do we have a decision for this? plribeiro3000 (Paulo Henrique Lopes Ribeiro)
09:11 AM Bug #11039 (Closed): method_missing の *args 引数に symbol をキーにした hash だけを渡すと エラーとなる
method_missing に 第3引数として キーワード引数を設定した上で、引数に symbol をキーにした Hash だけを渡すと
=> unknown keyword: a (ArgumentError)
となる。
※ 第3引数を付け足さなければエラーにならない。
引数が文字列をキーにした Hash であればエラーにならないため、キーが symbol でも Hash であるならば合わせた挙動であるべきではないでしょうか。
kiyono (yoshimitsu kiyono)
08:30 AM Bug #11038 (Feedback): regular expression fail
Seems a backtrack explosion.
Is the `?` just after `\.` really intentional?
nobu (Nobuyoshi Nakada)
08:13 AM Bug #11038 (Closed): regular expression fail
the following regexp seems to loop
`/^([A-Z0-9_%+-]+\.?)+[^.]@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i`
with "ec-mat-charles-perrault-voves-28@ac-orleans-tours"
you can test with:
~~~ruby
'ec-mat-charles-perrault-voves-28@ac-orleans-tour...
norti (Norberto Martins)
06:59 AM Bug #11037 (Closed): Time Parse Documentation Incorrect - Undefined method getlocal
According to:
http://ruby-doc.org/stdlib-2.2.1/libdoc/time/rdoc/Time.html
`Time#parse` can take a 2nd parameter:
> We can change the date used to infer our missing elements by passing a second object that responds to mon, day an...
cfis (Charlie Savage)
06:53 AM Bug #10632: 2.2rc1 Fails to Compile with Mingw64 NET_LUID
This seems to have been fixed on the released version, so it can be closed. cfis (Charlie Savage)
02:44 AM Revision a4d29972 (git): intern.h: stale declarations
* include/ruby/intern.h: remove stale declarations, which were
removed because of ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:22 AM Revision 1fa4cdf2 (git): * internal.h: fix typo. Patch by @sferik [fix GH-865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:14 AM Bug #11036 (Rejected): In iterlation, '#'(String) is gone
field `color` is hex code. ex) `#123123`
```erb
<% Product.all.each do |product| %>
<% byebug %>
<h4 style="background-color: <%= product.color # first called %>; color: <%= text_color_by_bg(product.color) %>"><%= product.name %>...
hiphapis (Johan Kim)

04/06/2015

10:27 PM Bug #10993: therubyracer-0.12.1/lib/v8/function.rb:13: [BUG] Segmentation fault at 0x30c124 ruby 2.1.5p273 (2014-11-13 revision 48405) [armv7l-linux-eabihf]
Yes! Managed to narrow it down to 'therubyracer' myself. Apparently it's a known issue with ARM devices, essentially the Raspberry Pi 2 and older. Gitlab seems to have the same issues as it relies on it too.
https://github.com/cowboyd/t...
basilmir (Mir S.)
07:06 PM Feature #11034: Nil Conditional
@Recursive Madman - *try* is not native function. It is Active Support Core Extension.
Moreover implementation and behavior of try is not stable (is changing depending on Rails version), it will not work when creating train wrecks an...
grzesiek (Grzegorz Bizon)
05:30 PM Feature #9725: Do not inspect NameError target object unless verbose
One of the JRuby issues that keeps getting +1'ed: https://github.com/jruby/jruby/issues/216
I really think we need to address this.
headius (Charles Nutter)
03:00 PM Revision 54849da6 (git): * 2015-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 894507c5 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:55 PM Feature #10958: remove "initial_state" argument of Enumerable#{slice_before,chunk}
It seems no one against this. I committed. akr (Akira Tanaka)
01:53 PM Feature #10958 (Closed): remove "initial_state" argument of Enumerable#{slice_before,chunk}
Applied in changeset r50174.
----------
* enum.c: Enumerable#chunk and Enumerable#slice_before no longer takes
the initial_state argument. [Feature #10958]
akr (Akira Tanaka)
01:53 PM Revision 774f6829 (git): * enum.c: Enumerable#chunk and Enumerable#slice_before no longer takes
the initial_state argument. [Feature #10958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:18 AM Bug #11035 (Closed): Calling #hash method: inconsistency between dynamic and static symbols
There is an inconsistency between static symbols and dynamic symbols.
```ruby
class Symbol
def hash
raise
end
end
h = {}
h[:foo] = 1 #=> no problem
h['bar'.to_sym] = 2 #=> unhandled exception
```
I thin...
ko1 (Koichi Sasada)
07:17 AM Revision 9db2bb2a (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:14 AM Bug #11027 (Closed): Named Argument assignment from Hash failure
Applied in changeset r50172.
----------
* vm_args.c: protect value stack from calling other methods
during complex parameter setting process (splat, kw, and so on).
[Bug #11027]
* vm_core.h: remove rb_thead_t::mark_stack_len.
With...
ko1 (Koichi Sasada)
07:14 AM Revision 633574ee (git): * vm_args.c: protect value stack from calling other methods
during complex parameter setting process (splat, kw, and so on).
[Bug #11027]
* vm_core.h: remove rb_thead_t::mark_stack_len.
With this modification, we don't need to use th->mark_stack_len.
* test/ruby/test_keyword.rb: add a test.
*...
ko1 (Koichi Sasada)
07:05 AM Bug #10948: When cross-compiling Ruby 2.2.1 for Win32, securerandom.rb fails while trying to use Win32 native libraries
As I wrote before ( https://bugs.ruby-lang.org/issues/10948#note-2 ),
"Closed" with backport "REQUIED" means "please backport this."
Branch maintainers understand it.
usa (Usaku NAKAMURA)
02:28 AM Revision 07264c40 (git): * 2015-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:28 AM Revision 886d8e3f (git): * tool/downloader.rb (http_options): prevent content auto decoding
because this is a downloader.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

04/05/2015

10:56 AM Feature #3719: open-uri should allow redirects from http to https
I am wondering, What's the status of this? if help is required to push this forward. I am willing to help gary4gar (Gaurish Sharma)
08:40 AM Feature #11034: Nil Conditional
This is similar to a pattern I have seen somewhere else:
```ruby
var = 123.4
var.try.round #=> 123
var = nil
var.try.round #=> nil
```
Which doesn't introduce a new operator and can be implemented like this:
```ruby
class ...
recursive-madman (Recursive Madman)
05:55 AM Feature #11034: Nil Conditional
Hi Nobuyoshi, thanks for reply !
Yes, this Nil Conditional Operator has to introduce new syntax. That is why this cannot be achieved via gem. Currently - of course - double question mark *??* violates syntax (in some cases) or is trea...
grzesiek (Grzegorz Bizon)
02:32 AM Feature #11034: Nil Conditional
IIRC, there were some discussions like:
* the condition is only whether `nil` or not, or whether responds to the method or not
* the result when the condition doesn't match will be the receiver itself or `nil`
and others.
Also,...
nobu (Nobuyoshi Nakada)
02:28 AM Feature #11034: Nil Conditional
A local variable written in code always exists.
I think this is a duplicate ticket but can't find the former tickets.
nobu (Nobuyoshi Nakada)
12:55 AM Revision 06d95893 (git): * doc/contributing.rdoc: update Maintainers list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:34 AM Revision 5180de63 (git): rbinstall.rb: same options for gems
* tool/rbinstall.rb (gem): share same options between normal
installer and unpacked installer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 AM Revision 09bcf7b5 (git): * tool/rbinstall.rb: fix bin script permission of bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

04/04/2015

11:47 PM Revision 854dae17 (git): * 2015-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:46 PM Revision 75f9f244 (git): * tool/rbinstall.rb: support --program-suffix option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:46 PM Feature #11025: Gemify Rake
Thank you for applying! vo.x (Vit Ondruch)
12:32 PM Feature #11025 (Closed): Gemify Rake
Applied in changeset r50163.
----------
* lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto.
* tool/rbinstall.rb: ditto.
hsbt (Hiroshi SHIBATA)
06:54 PM Feature #11034 (Closed): Nil Conditional
Hi everyone !
Some time ago I was thinking about Nil Conditional Operator in Ruby (`??`). This would be particularly useful to avoid frequent checking for nil, and should behave and look like Null Conditional Operator introduced in C#...
grzesiek (Grzegorz Bizon)
12:50 PM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
Seems to be a Windows specific issue. I did NOT experience this on my Ubuntu 14.04 box with Ruby 2.1.5p273. tknerr (Torben Knerr)
10:52 AM Bug #11033: OpenSSL related threading issues in Ruby 2.1 and 2.2
Just double-checked whether it might be a RubyGems issue.
So I downgraded Rubygems to 2.4.4 (the version that ships with Ruby 2.0, where everything works), but still the same behaviour => not related to RubyGems, more likely a core i...
tknerr (Torben Knerr)
12:08 AM Bug #11033 (Closed): OpenSSL related threading issues in Ruby 2.1 and 2.2
I'm experiencing some problems with multiple https connections in Ruby 2.1 and 2.2, whilst in Ruby 2.0 everything is working fine.
This happens on a Windows 7 (64-bit) box in the context of installing multiple gems in parallel via bun...
tknerr (Torben Knerr)
12:34 PM Revision 0dd97740 (git): * lib/rake: removed empty directories.
* test/rake: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:31 PM Revision c4ee0df8 (git): * lib/rake/*: Gemify rake [fix GH-862][Feature #11025]
* test/rake/*: ditto.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:54 AM Bug #10948: When cross-compiling Ruby 2.2.1 for Win32, securerandom.rb fails while trying to use Win32 native libraries
This hasn't landed on ruby_2_2 yet, could you re-open the issue to track it until resolution? aaron@serendipity.cx (Aaron Stone)
02:30 AM Revision 8c0b2a28 (git): string.c: check before modify
* string.c (rb_str_setbyte): check the argument first not to
discard shared string and code range unnecessarily until
actually changing the contents. pointed out by headius.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50162 b...
nobu (Nobuyoshi Nakada)
02:12 AM Bug #11011: Segmentation fault at 0x0000000000418
No, it's Creative Cloud Installer. nobu (Nobuyoshi Nakada)
01:55 AM Feature #11032: Add a warning for misspelling "def intialize"
Jeremy Evans wrote:
> What if I misspelled it "initailize"? Or "initalize"? Or any other of the numerous different ways to misspell it?
Or "initialise"? Which I do with some regularity.
My solution: unit testing.
phluid61 (Matthew Kerwin)
01:44 AM Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
Also note that in **PHP** also we can **create a single file with ".phar" (.phar = PHP archive) file extension, which is compressed archive of "multiple php source code files and image/data files etc"**
and then we can execute the .ph...
zaxebo1 (zaxebo zaxebo)
01:02 AM Revision 34c83a37 (git): stub.o: under win32
* cygwin/GNUmakefile.in, win32/Makefile.sub (stub.o): make under
win32 directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:01 AM Revision 8bead238 (git): stub.c: utf-8
* win32/stub.c (stub_sysinit): encode in UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:00 AM Revision 8fb5a1ac (git): stub.c: use argv[0] unchanged
* win32/stub.c (stub_sysinit): use argv[0] unchanged and just
insert full path name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:10 AM Bug #8386: OpenSSL thread safety
Might #11033 be a regression of this? tknerr (Torben Knerr)

04/03/2015

11:18 PM Revision c28fabfd (git): * 2015-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:18 PM Revision 58835a94 (git): * lib/net/http.rb (edit_path): use path which is absolute ftp url
on using ftp_proxy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:01 PM Feature #11032: Add a warning for misspelling "def intialize"
What if I misspelled it "initailize"? Or "initalize"? Or any other of the numerous different ways to misspell it? jeremyevans0 (Jeremy Evans)
06:38 PM Feature #11032 (Closed): Add a warning for misspelling "def intialize"
Hi guys,
When I was younger, in a class, I wrote this:
"def intialize(some_argument_here)"
This lead to an error because it should have been:
"def initialize(some_argument_here)"
My proposal is simple:
Add a warning for...
shevegen (Robert A. Heiler)
04:39 PM Bug #11011: Segmentation fault at 0x0000000000418
I found this log under library/logs/diagnosticreports from today when I tried to start database with command rails server.
Is this what you need?
I tried to upgrade to 2.2.1, does not seem to work. Will try again.
lasbyb (Brian Lasby)
02:56 PM Bug #11031 (Rejected): Segmentation Fault on Gem Uninstall
I launched Ruby 2.1.5p273 and entered 'gem uninstall minitest' enter, then hit 2 to remove v5.5.0 and then... kahboom!!!!
100 % Very very repeatable.
PeterCamilleri (Peter Camilleri)
11:52 AM Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
NOTE1: On MS-Windows the zipped archive of ruby source code - can have two file extensions:
- ".rbz" will be launched by "ruby.exe" .
".rbz" will be registered in MS-Windows registry as ""Ruby ZIP Applications"
- ".rbzw"...
zaxebo1 (zaxebo zaxebo)
06:39 AM Feature #11028 (Assigned): standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
nobu (Nobuyoshi Nakada)
03:52 AM Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
please implement feature of - standalone running single file ( zipped archives of ruby code) running without installation using "gem install ..."
prior examples in other languages:
python myprg.pyz
java -jar myprg.jar
Detaile...
zaxebo1 (zaxebo zaxebo)
03:44 AM Feature #11028 (Assigned): standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
prior examples in other languages:
python myprg.pyz
java -jar myprg.jar
Detailed Description:
------...
zaxebo1 (zaxebo zaxebo)
11:15 AM Bug #11030 (Feedback): Ruby 2.2.1 fails to compile with hardened GCC
Can't you show the process memory map at the failure?
The call seems to try expanding the stack to 0x7fffff000200, but there needs more margin?
nobu (Nobuyoshi Nakada)
09:57 AM Bug #11030 (Closed): Ruby 2.2.1 fails to compile with hardened GCC
Hi there!
I've discovered, that Ruby 2.2.1 can't be built using Hardened GCC (4.8 and 4.9).
Probably, that was introduced in that commit: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v2_2_1/thread_pthread.c?r1=48992&r2=49578&diff_f...
mva (Vadim A. Misbakh-Soloviov)
04:46 AM Bug #11027 (Assigned): Named Argument assignment from Hash failure
Ko1 is going to fix this issue by advancing `sp` prior to arguments setup instead of `mark_stack_len`. nobu (Nobuyoshi Nakada)
03:20 AM Bug #11027: Named Argument assignment from Hash failure
Marshal is not mandatory.
It can reproduce with a dynamic symbol keyword argument.
~~~ruby
ack(i_field1:"field1", i_field2:"field2", "something".intern=>"something")
~~~
nobu (Nobuyoshi Nakada)
04:15 AM Feature #11026: How atomic should dynamic regexp with "once" flag be?
Nobuyoshi Nakada wrote:
> You mean the last assertion should be that `ary` just has same regexps, not the exact values?
I would find that more acceptable than synchronizing around all the embedded code in a dynamic regexp.
#6701 i...
headius (Charles Nutter)
02:57 AM Revision 819e1756 (git): gmake.mk: check targets depend on main
* defs/gmake.mk (TEST_DEPENDS): all check targets need the main,
programs and extensions have been built.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:43 AM Revision 4208d09b (git): * 2015-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:43 AM Revision c0bf2c5e (git): vm_core.h: update for OPT_CALL_CFUNC_WITHOUT_FRAME
* vm_eval.c (vm_call0_cfunc): update invoker arguments.
* vm_insnhelper.c (vm_call_cfunc_latter): ditto.
* vm_insnhelper.c (rb_vm_call_cfunc_push_frame): ditto, and prefix
with rb_.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50...
nobu (Nobuyoshi Nakada)
01:30 AM Feature #11025: Gemify Rake
Yay! \o/
Then we could easily gem-update rake, just like rubygems version.
shevegen (Robert A. Heiler)

04/02/2015

11:45 PM Feature #11026: How atomic should dynamic regexp with "once" flag be?
You mean the last assertion should be that `ary` just has same regexps, not the exact values? nobu (Nobuyoshi Nakada)
10:09 PM Feature #11026: How atomic should dynamic regexp with "once" flag be?
Filed https://github.com/jruby/jruby/issues/2798 to track this in JRuby. headius (Charles Nutter)
10:02 PM Feature #11026 (Open): How atomic should dynamic regexp with "once" flag be?
The `test_once_multithread` test in ruby/test_regexp.rb tries to confirm that a dynamic "once" regexp is created atomically. Here's the test:
~~~ruby
def test_once_multithread
m = Mutex.new
pr3 = proc{|i|
/#{m.unlo...
headius (Charles Nutter)
10:52 PM Bug #11027: Named Argument assignment from Hash failure

Restatement:
I have a method with named arguments. I am calling it with a Hash, whose keys match up with the names of the method arguments.
This has been working.
I boiled down a problem scenario wherein it fails to do this. ...
alangano (Alan Gano)
10:47 PM Bug #11027 (Closed): Named Argument assignment from Hash failure
I am call a method, which has named arguments, a Hash, which then as expected, maps the keys of the Hash to the argument names.
I boiled down a problem scenario wherein it fails to do this. In the code below the argument i_field2 of ...
alangano (Alan Gano)
01:05 PM Bug #10229 (Closed): RFC 5649 implementation in OpenSSL breaks Ruby.
vo.x (Vit Ondruch)
12:51 PM Feature #11025: Gemify Rake
Hi Eric. How do you think about this issue?
hsbt (Hiroshi SHIBATA)
12:41 PM Feature #11025 (Closed): Gemify Rake
Rake can follow test-unit and minitest and can be gemified. I submitted PR [1] implementing this.
Patch [2] might be of special interest, since it fixes installation of RubyGem's binstub into /usr/bin.
[1] https://github.com/ruby...
vo.x (Vit Ondruch)
07:31 AM Bug #8612: nil in ERB::Util.url_encode
Islam Azab wrote:
> Is this fixed in Ruby 2.0.0 ruby 2.0.0p451 (2014-02-24 revision 45167)?
As you can see it was never backported to either [1.9.3](https://github.com/ruby/ruby/blob/ruby_1_9_3/lib/cgi/util.rb#L8) nor [2.0.0](https:/...
fotos (Fotos Georgiadis)
07:28 AM Revision 337fafc6 (git): ChangeLog: remove garbage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:27 AM Bug #11002 (Closed): Don't abuse ruby_version
Applied in changeset r50152.
----------
rbconfig.rb: use program version
* common.mk, tool/mkconfig.rb: check the running ruby version in
rbconfig.rb with the program version, as RUBY_VERSION has never
been affected by --with-ruby-...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 51bcbca2 (git): rbconfig.rb: use program version
* common.mk, tool/mkconfig.rb: check the running ruby version in
rbconfig.rb with the program version, as RUBY_VERSION has never
been affected by --with-ruby-version option.
[ruby-core:68639] [Bug #11002]
* configure.in (LIBRUBY_DL...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 7363ffbf (git): * 2015-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:06 AM Revision 6fca58f4 (git): * 2015-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:06 AM Revision 7097e1c8 (git): common.mk: exam
* common.mk (exam): renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:40 AM Bug #11023 (Third Party's Issue): segmentation fault
nobu (Nobuyoshi Nakada)
 

Also available in: Atom