Project

General

Profile

Activity

From 12/27/2014 to 01/02/2015

01/02/2015

10:42 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
There is no direct issue.
It is inspired by [Bug #9794].
akr (Akira Tanaka)
09:58 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
I hear you, Akira. I am asking for a link to the issue or conversation that tracked this change. I want to know why the change was made in more detail, so I would like to read the discussion. parkr (Parker M)
07:03 PM Revision 69b64e00 (git): * 2015-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 PM Revision 8d0d7da4 (git): tracepointchecker.rb: for older TracePoint
* test/lib/tracepointchecker.rb (TracePointChecker): needs recent
version of TracePoint, so that older versions can run to compare
the resuls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 PM Revision 4ef6097f (git): leakchecker.rb: for older IO.console
* test/lib/leakchecker.rb (check_fd_leak): do not call older
version IO.console to get rid of ArgumentError, so that older
versions can run to compare the resuls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49106 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
06:04 PM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
Patch updated: https://gist.github.com/headius/4226cd94bbcf7b150e65
I only made the rescue change requested by nobu. If there's a strong preference to use prepend or to add "exclude" once as a singleton method to some superclass, I ca...
headius (Charles Nutter)
05:53 PM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
Nobuyoshi Nakada wrote:
> I agree on the feature, and have a few questions.
> ...
Perhaps? I think the only conflict possible would be if there's a class-level method in some test that is also named "exclude". Seems unlikely? We also r...
headius (Charles Nutter)
02:36 AM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
I agree on the feature, and have a few questions.
* Isn't the name `exclude` too generic?
* Why do you define it as each singleton methods, not a singleton
method of `MiniTest::Unit::TestCase`?
* What part of `LeakChecker` doesn'...
nobu (Nobuyoshi Nakada)
04:31 PM Bug #10690 (Rejected): Tempfile new ArgumentError wrong number of arguments
It's your bug.
`Tempfile.new` hasn't accepted such argument, but just ignored.
nobu (Nobuyoshi Nakada)
02:10 PM Bug #10690 (Rejected): Tempfile new ArgumentError wrong number of arguments
After updating to 2.2.0, I ran into an ArgumentError when calling Tempfile.new (wrong number of arguments (3 for 1..2).
I was able to narrow it down to this sample script which works on 2.1.3 and fails on 2.2.0.
`require 'tempfile'...
chills42 (Craig Hills)
03:52 PM Bug #10692 (Closed): there is no response body with HEAD request (fixed at r49105)
See https://github.com/ruby/ruby/pull/520
The issue was already fixed on trunk.
This ticket is only for backport management.
The related test was added at r49104.
nagachika (Tomoyuki Chikanaga)
03:14 PM Bug #10691 (Closed): Bad or Non-existent class names listed on 'Index of Files, Classes & Methods in Ruby' page.
On this page: [Index of Files, Classes & Methods in Ruby 2.2.0 (Ruby 2.2.0)](http://www.ruby-doc.org/core-2.2.0/)
There are Classes:
![](https://dl.dropboxusercontent.com/u/4708852/bugs-ruby-lang/ruby-classes.png)
I found some o...
JuanitoFatas (Juanito Fatas)
02:04 PM Bug #10643 (Assigned): 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
Hello Nobu,
Just tested trunk, this is still happening:
~~~
TestRubyOptions#test_command_line_progname_nonascii [C:/Users/Luis/Code/ruby/ruby/test/ruby/test_rubyoptions.rb:726]:
[ruby-dev:48752] [Bug #10555].
<[" .rb"]> expected...
luislavena (Luis Lavena)
12:07 PM Revision 2743ad8c (git): * lib/net/http.rb (Net::HTTP#send_request): there is no response body
with HEAD request. Patch by @rodrigosaito [fix GH-520]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:04 PM Revision 57ee6eae (git): * test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:49 AM Revision d4959439 (git): * eval.c (ruby_init): Print ruby_setup() error only in debug mode.
Unsupressable error message is not a good idea.
Note that the message is printed sometimes with following
code (highly timing dependent, though):
pid = spawn("ruby -e ''"); Process.kill(:TERM, pid)
git-svn-id: svn+ssh://ci.ruby-...
akr (Akira Tanaka)
09:49 AM Bug #10689 (Closed): `unexpected break' occurs when TracePoint#binding is called
以下のコードでunexpected breakになります。
~~~ruby
class Bug
include Enumerable
def each
[0].each do
yield
end
end
end
TracePoint.trace(:c_return) do |tp|
tp.binding
end
Bug.new.all? { false }
~~~
all?中...
ktsj (Kazuki Tsujimoto)
07:58 AM Bug #10669: Incorrect url parsing in 2.2.0

> we have a workaround but it seems a bit odd as a default, is there a reason RFC3986 was picked as a default over RFC2396?
RFC 3986 already is turning 10 years old (published January 2005) and has been an Internet Standard for that...
duerst (Martin Dürst)
07:21 AM Bug #9240 (Closed): TestModule Test No Longer Valid
Applied in changeset r49102.
----------
* test/ruby/test_module.rb: Refactor invalid testcase.
[fix GH-472][ruby-core:59035][Bug #9240]
hsbt (Hiroshi SHIBATA)
07:21 AM Revision c7d6c0d0 (git): * test/ruby/test_module.rb: Refactor invalid testcase.
[fix GH-472][ruby-core:59035][Bug #9240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:53 AM Revision 73fc0cc5 (git): * lib/webrick/utils.rb: removed unused argument variable.
[fix GH-356] Patch by @vipulnsward
* lib/webrick/server.rb: ditto.
* lib/webrick/ssl.rb: ditto.
* test/webrick/test_utils.rb: added test for WEBrick::Utils#create_listeners.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49101 b2dd03...
hsbt (Hiroshi SHIBATA)
06:36 AM Revision 045de8a9 (git): * lib/securerandom.rb: improve syntax and grammar of documentation.
[fix GH-796][ci skip] Patch by @Erol
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:12 AM Bug #10046 (Open): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
I committed patch of ```OpenSSL#test_ctx_client_session_cb```, but ```test_ctx_server_session_cb``` fix is broken with my OSX environment(Mavericks). hsbt (Hiroshi SHIBATA)
06:10 AM Bug #10046 (Closed): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
Applied in changeset r49099.
----------
* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
fix test failure with OpenSSL disabled SSLv3 protocol.
[ruby-core:63772] [Bug #10046]
hsbt (Hiroshi SHIBATA)
06:10 AM Revision dc599c2c (git): * test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
fix test failure with OpenSSL disabled SSLv3 protocol.
[ruby-core:63772] [Bug #10046]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:00 AM Feature #10683: fix inconsistent behavior of Kernel.Hash()
> I don't think either of your proposed options will be accepted.
I can see that making `Hash(obj)` equivalent to `obj.to_h` would be a major change in functionality.
The primary reasons for opening up this issue are two points:
*...
recursive-madman (Recursive Madman)
03:47 AM Bug #9591 (Closed): io-console versioning
hsbt (Hiroshi SHIBATA)
03:40 AM Revision f5da412c (git): test_yield.rb: assert_all_sentences
* test/ruby/test_yield.rb (assert_all_sentences): test all
sentences and report all results at the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Revision 6d65806f (git): tracepointchecker.rb: needs TracePoint
* test/lib/tracepointchecker.rb: available only if TracePoint is
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:41 AM Revision 163ecb32 (git): test_m17n.rb: split test_scrub
* test/ruby/test_m17n.rb (TestM17N#test_scrub): split into some
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:10 AM Revision ec7f1f5d (git): * lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality.
(Resolv::DNS::Name#initialize): Normalize labels as
Resolv::DNS::Label::Str objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

01/01/2015

03:50 PM Revision 31d24fae (git): * 2015-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision 331b0ac5 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:21 PM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
This change is intentional to preserve the original information.
Please use localtime method if you need a Time object in your local time.
akr (Akira Tanaka)
02:07 PM Bug #10688: fix non-symbol keys hash. (fixed at r49088, 49089)
Oops, this is duplicate of #10685.
sorry for noise.
nagachika (Tomoyuki Chikanaga)
02:05 PM Bug #10688 (Closed): fix non-symbol keys hash. (fixed at r49088, 49089)
The issue was already fixed on trunk at r49088.
This ticket is only for backport management.
I've confirmed that this isn't reproduced on 2.1.5 and 2.0.0-head.
nagachika (Tomoyuki Chikanaga)
12:42 PM Bug #10624 (Closed): \sには\vも含まれる
Applied in changeset r49092.
----------
* doc/regexp.rdoc: fix regexp docs for whitespace character.
[ruby-dev:48765] [Bug #10624]
hsbt (Hiroshi SHIBATA)
12:41 PM Revision d03c8639 (git): * doc/regexp.rdoc: fix regexp docs for whitespace character.
[ruby-dev:48765] [Bug #10624]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:51 AM Bug #10643 (Closed): 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
Applied in changeset r49091.
----------
test_rubyoptions.rb: locale name
* test/ruby/test_rubyoptions.rb: try locale encoding name.
[ruby-core:67109] [Bug #10643]
nobu (Nobuyoshi Nakada)
08:50 AM Revision 418c1375 (git): test_rubyoptions.rb: locale name
* test/ruby/test_rubyoptions.rb: try locale encoding name.
[ruby-core:67109] [Bug #10643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:42 AM Bug #10687 (Closed): ArgumentError in certain cases of instance_exec (new bug in 2.2)
a.rb:
~~~
foo = ->(a = nil) do
p(a)
end
instance_exec(["a", "b", "c", "d"], &foo)
~~~
~~~
#=> rvm use 2.1 && ruby -v && ruby a.rb
Using /home/micaeked/.rvm/gems/ruby-2.1.5
ruby 2.1.5p273 (2014-11-13 revision 48405) [...
Anonymous
03:55 AM Feature #10683: fix inconsistent behavior of Kernel.Hash()
Since `nil.to_h` is `{}`, which equals `Hash(nil)`, and `some_hash.to_h` is `some_hash`, which equals `Hash(some_hash)`, your claim:
* change `Hash()` to call `to_h` on it's argument, when the argument is neither `nil` nor a `Hash`.
...
sawa (Tsuyoshi Sawada)
03:14 AM Feature #10683: fix inconsistent behavior of Kernel.Hash()
Interesting. [] is indeed treated differently than
Hash([nil])
TypeError: can't convert Array into Hash
Hash([1,2])
TypeError: can't convert Array into Hash
Perhaps there is a reason for [] as input is being
...
shevegen (Robert A. Heiler)
02:18 AM Bug #10686 (Closed): Memory leaking from torture test of symbol GC
Applied in changeset r49090.
----------
symbol.c: fix memory leak from global fstr hash
* symbol.c (rb_gc_free_dsymbol): delete from global fstr hash
* test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug
[ruby-core:67268] ...
Anonymous
01:58 AM Bug #10686: Memory leaking from torture test of symbol GC
nobu@ruby-lang.org wrote:
> Rather you may want call `rb_hash_delete_entry()`.

Thanks, updated

http://80x24.org/spew/m/bug10686-dsym-fstr-leak-v2@r49089.txt
normalperson (Eric Wong)
01:24 AM Bug #10686: Memory leaking from torture test of symbol GC
Rather you may want call `rb_hash_delete_entry()`. nobu (Nobuyoshi Nakada)
12:58 AM Bug #10686: Memory leaking from torture test of symbol GC
This seems to fix it:
~~~diff
--- a/symbol.c
+++ b/symbol.c
@@ -664,6 +664,7 @@ rb_gc_free_dsymbol(VALUE sym)
if (str) {
RSYMBOL(sym)->fstr = 0;
unregister_sym(str, sym);
+ rb_hash_delete(global_symbols.dsymbol_fstr_ha...
normalperson (Eric Wong)
12:35 AM Bug #10686: Memory leaking from torture test of symbol GC
Confirming code:
```ruby
require 'objspace'
require 'pp'
def sym_num; Symbol.all_symbols.size; end
x = 0
loop {
(x += 1).to_s.to_sym
if (x % 1000_000) == 0
pp ObjectSpace.count_objects
end
}
```
We can see th...
ko1 (Koichi Sasada)
12:31 AM Bug #10686 (Closed): Memory leaking from torture test of symbol GC
The following code appears to grow without bounds when running on MRI 2.2p0 (and grows *very* fast...hold on to your RAM):
```ruby
x = 0; loop { (x += 1).to_s.to_sym }
```
I asked ko1 about this on Twitter and he said it appears ...
headius (Charles Nutter)
02:18 AM Revision 8717a9ec (git): symbol.c: fix memory leak from global fstr hash
* symbol.c (rb_gc_free_dsymbol): delete from global fstr hash
* test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug
[ruby-core:67268] [Bug #10686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49090 b2dd03c8-39d4-4d8f-9...
Eric Wong
01:27 AM Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash
Chris Seaton wrote:
> I think this is the equivalent code extracted from MSpec. But I can't get this to crash on 2.2.0p0.
It's another failure, but false positive.
nobu (Nobuyoshi Nakada)
01:20 AM Bug #10685 (Closed): Segfault from keyword rest arg when coercing an object that defines to_hash
Applied in changeset r49089.
----------
vm_args.c: add ref r49088
* vm_args.c (keyword_hash_p): fix non-symbol keys hash.
rb_extract_keywords() returns 0 not Qnil when no symbol keys is
included. [ruby-core:67264] [Bug #10685]
nobu (Nobuyoshi Nakada)
12:38 AM Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash
Thanks for the report, looks like nobu committed a fix as r49088

> This spec appears to cause the segfault mentioned in
> http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/
> today.

Fwiw, I do run "make test-...
normalperson (Eric Wong)
12:14 AM Bug #10685: Segfault from keyword rest arg when coercing an object that defines to_hash
I think this is the equivalent code extracted from MSpec. But I can't get this to crash on 2.2.0p0.
~~~ruby
def m(a) yield a end
class Mock
def to_hash
puts 'to_hash called'
{x: 9}
end
end
obj = Mock.new
res...
chrisseaton (Chris Seaton)
01:20 AM Revision abe15ddd (git): vm_args.c: add ref r49088
* vm_args.c (keyword_hash_p): fix non-symbol keys hash.
rb_extract_keywords() returns 0 not Qnil when no symbol keys is
included. [ruby-core:67264] [Bug #10685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49089 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
12:14 AM Revision 6a37b8cd (git): vm_args.c: fix non-symbol keys hash
* vm_args.c (keyword_hash_p): fix non-symbol keys hash.
rb_extract_keywords() returns 0 not Qnil when no symbol keys is
included.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:03 AM Bug #10684: Block arity changes through Enumerable methods
It’s not that surprising to me.
While `Enumerable#detect` is written in C, in Ruby I might implement it as:
```ruby
module Enumerable
def detect2
return enum_for(:detect2) unless block_given?
v = each { |x| break x if...
austin (Austin Ziegler)

12/31/2014

11:39 PM Bug #10685 (Closed): Segfault from keyword rest arg when coercing an object that defines to_hash
This spec appears to cause the segfault mentioned in http://rubini.us/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/ today.
```ruby
it "calls #to_hash on the last element if keyword arguments are present" do
obj = m...
headius (Charles Nutter)
11:38 PM Bug #10657: 2.2: Generated binaries misses resource information (MinGW)
ruby_2_2 r49087 merged revision(s) 49042. naruse (Yui NARUSE)
11:38 PM Revision 017eb0f1 (git): merge revision(s) 49042: [Backport #10657]
* cygwin/GNUmakefile.in (EXTOBJS): override to add resource files
always. [ruby-core:67153] [Bug #10657]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:22 PM Bug #10659: can't dup Fixnum (TypeError)
ruby_2_2 r49081 merged revision(s) 49041. naruse (Yui NARUSE)
11:15 PM Bug #10642 (Third Party's Issue): 2.2: TestMath#test_gamma test failure (MinGW)
naruse (Yui NARUSE)
08:43 PM Bug #10684: Block arity changes through Enumerable methods
Blocks traveling through methods in Enumerable have their arity changed before reaching #each. Example:
```ruby
class MyEnumerable
include Enumerable
def initialize(ary)
@ary = ary
end
def each(&block)
puts bl...
jakesower (Jake Sower)
08:39 PM Bug #10684 (Rejected): Block arity changes through Enumerable methods
Blocks traveling through methods in Enumerable have their arity changed before reaching #each. Example:
class MyEnumerator
include Enumerable
def initialize(ary)
@ary = ary
end
def each(&block)
puts block....
jakesower (Jake Sower)
07:35 PM Feature #10683 (Open): fix inconsistent behavior of Kernel.Hash()
I find the way the global function `Hash` (aka `Kernel.Hash`) works a bit confusing.
To illustrate:
```ruby
Hash(nil) #=> {} (1)
Hash({}) #=> {} (2)
Hash([]) #=> {} (3)
# but
Hash([[1,2]]) #! TypeError (4)
```
Case (1...
recursive-madman (Recursive Madman)
07:18 PM Feature #10682: Add "excludes" support to test suite, for alternative implementations and platforms
Pardon the leakchecker changes in that diff. leakchecker uses MRI-specific features we can't support (or simply don't support) in JRuby right now. headius (Charles Nutter)
07:12 PM Feature #10682 (Closed): Add "excludes" support to test suite, for alternative implementations and platforms
JRuby uses MRI's test suite as our primary compatibility suite. We would like to enhance the suite to support excluding tests.
Before the juggling of minitest versions in stdlib, JRuby was using minitest-excludes to exclude tests we k...
headius (Charles Nutter)
03:00 PM Revision 10269074 (git): * 2015-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision d9689bc3 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:59 PM Revision 54bd85d1 (git): resolv.rb: String#b
* lib/resolv.rb (Resolv::DNS::Label::Str#initialize): use String#b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:19 AM Feature #10085: Add non-ASCII case conversion to String#upcase/downcase/swapcase/capitalize
The related issue, [Bug #10550] Resolv::DNS.getaddresses, needs ASCII-only case conversion.
Unicode aware case conversion is not suitable for the issue.
See RFC 4343.
akr (Akira Tanaka)
08:50 AM Revision 6cf00e15 (git): * lib/resolv.rb (Resolv::DNS::Label::Str#initialize): Set encoding
ASCII-8BIT before downcase. case insensivity of DNS labels doesn't
apply non-ASCII characters. [RFC 4343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:04 AM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
Thank you, @nobu! myronmarston (Myron Marston)
07:49 AM Bug #10661 (Closed): The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
Applied in changeset r49082.
----------
parse.y: disable past scope warnings
* parse.y (gettable_gen): disable warnings of possible reference
to a local variable defined in a past scope.
[ruby-core:67162] [Bug #10661]
nobu (Nobuyoshi Nakada)
07:58 AM Feature #10617: Change multiple assignment in conditional from parse error to warning
Just in private:
- Adding some tests to the patch is a good idea.
- If there's no more action, I'd wait for the next call
for proposals for features in Ruby 2.3,
then produce a slide summarizing your proposal
(see e.g. ...
duerst (Martin Dürst)
07:48 AM Revision ac47d6a8 (git): parse.y: disable past scope warnings
* parse.y (gettable_gen): disable warnings of possible reference
to a local variable defined in a past scope.
[ruby-core:67162] [Bug #10661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:33 AM Bug #10680 (Rejected): hangs forever on certain regexp
Ruby doesn't prohibit you from shooting your foot. nobu (Nobuyoshi Nakada)
06:27 AM Revision c7cb2128 (git): merge revision(s) 49041: [Backport #10659]
* parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and
keywords bits arguments should be unique. since internal IDs
depend on the local variable index in the current scope, new ID
should be made ...
naruse (Yui NARUSE)
05:13 AM Bug #10662: fix to invoke correct function of tcllib. (fixed at r49034)
ruby_2_2 r49080 merged revision(s) 49034. naruse (Yui NARUSE)
05:13 AM Revision 3b53af45 (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 GH-787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:45 AM Revision 76838786 (git): * 2014-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:45 AM Revision e36d40f9 (git): * lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str
objects. Label#Str#== is case-insensitive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:36 AM Bug #10630: ERB tags nested in escaped blocks are skipped
No. nobu (Nobuyoshi Nakada)
04:27 AM Bug #10681 (Third Party's Issue): Segfault on Debian Jessie Linux
nobu (Nobuyoshi Nakada)
12:18 AM Bug #10681: Segfault on Debian Jessie Linux
louis@lpil.uk wrote:
> I've just installed `ruby 2.1.0p0 (2013-12-25 revision 44422)
> [x86_64-linux]` and the same thing happens. I tried it on my other
> computer, also Debian Jessie, and it ran happily without segfault.

I guess...
normalperson (Eric Wong)
04:27 AM Bug #10660: [PATCH] unreverse Thread.*list order
ruby_2_2 r49077 merged revision(s) 49036. naruse (Yui NARUSE)
04:27 AM Revision 488561c6 (git): merge revision(s) 49036: [Backport #10660]
* vm_core.h (rb_vm_living_threads_insert): preserve order
[Bug #10660] [ruby-core:67154] [ruby-core:67159]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

12/30/2014

11:10 PM Bug #10681: Segfault on Debian Jessie Linux
I've just installed `ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]` and the same thing happens. I tried it on my other computer, also Debian Jessie, and it ran happily without segfault. lpil (Louis Pilfold)
10:42 PM Bug #10681 (Third Party's Issue): Segfault on Debian Jessie Linux
Hello! Excuse the poor title, I don't really know enough here to give a more accurate one.
When running this simple application I get a segmentation fault at boot
https://github.com/lpil/life/tree/760f939359259d42e01ab00cc4bb518d843c...
lpil (Louis Pilfold)
04:17 PM Bug #10680 (Rejected): hangs forever on certain regexp
Same in jruby, pls see description here https://github.com/jruby/jruby/issues/2246 guai (guai guai)
03:38 PM Bug #9129: Regression in support for IPv6 literals in URIs with Net::HTTP
Backported at r49076. nagachika (Tomoyuki Chikanaga)
03:37 PM Revision c6aaa982 (git): merge revision(s) r47079: [Backport #9129] [Backport #10531]
* lib/net/http.rb (Net::HTTP.proxy_uri): use initializer instead
of parser to handle IPv6 address. [Bug #9129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:57 PM Revision 67e62b92 (git): * 2014-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:56 PM Revision 033162b9 (git): * lib/rubygems/*: upgrade to RubyGems 2.2.3. [Backport #10515]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:32 PM Bug #10511: fix for #9940 causes dramatic performance regression
see #10597 nagachika (Tomoyuki Chikanaga)
02:10 PM Bug #10550: Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
memo: r49071 and r49072 are similar fixes for resolv.rb nagachika (Tomoyuki Chikanaga)
07:16 AM Bug #10550 (Closed): Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
Applied in changeset r49073.
----------
resolv.rb: case-insensitive comparison
* lib/resolv.rb (Resolv::DNS::Name#==): DNS is case-insensitive, so the
comparison should be case-insensitive as well.
[ruby-core:66498] [Bug #10550]
nobu (Nobuyoshi Nakada)
01:41 PM Bug #10630: ERB tags nested in escaped blocks are skipped
Yes, I understand that, but doesn't that fact affect future Ruby releases? tonci (Tonči Damjanić)
09:52 AM Bug #10656: mkmf have_func fails if Ruby is compiled with static libruby
Hm, I see. We clear $LIBS in order to fix https://github.com/phusion/passenger/issues/168, but that may be interfering. Let me investigate this further. hongli (Hongli Lai)
09:13 AM Bug #10558: failing require digest.so on OSX statically compiled ruby
looks like release fixed it: https://github.com/wayneeseguin/rvm/issues/3165#issuecomment-68320898 -- maybe something on the way was fixed mpapis (Michal Papis)
07:16 AM Revision 69a7bb31 (git): resolv.rb: case-insensitive comparison
* lib/resolv.rb (Resolv::DNS::Name#==): DNS is case-insensitive, so the
comparison should be case-insensitive as well.
[ruby-core:66498] [Bug #10550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49073 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
07:05 AM Revision 1441d9da (git): test_dns.rb: test name
* test/resolv/test_dns.rb (TestResolvDNS#test_dots_diffences): fix
test name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 AM Revision a0325ea7 (git): resolv.rb: dots differences
* lib/resolv.rb (Resolv::DNS::Name): names with different dots
should be different.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:13 AM Revision 5cc1e95b (git): fiddle: append libffi config.log
* ext/fiddle/extconf.rb: copy config.log of libffi when failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:38 AM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
Myron Marston wrote:
> > You can use `rand()`.
> ...
Indeed, and far as I remember, some feature requests for it has been proposed.
> This warning is helpful in some circumstances, but harmful in others (IMO) since it inhibits barew...
nobu (Nobuyoshi Nakada)
04:21 AM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
I'm also seeing this warning from rubygems in the ruby-head builds on travis:
```
/home/travis/.rvm/rubies/ruby-head/lib/ruby/site_ruby/2.3.0/rubygems/compatibility.rb:25: warning: possible reference to past scope - path
/home/travi...
myronmarston (Myron Marston)
04:17 AM Bug #10678 (Closed): uninitialized constant Encoding::UTF_7 (NameError) when compiling Ruby
Applied in changeset r49069.
----------
lib/uri/common.rb: Initialize HTML5ASCIIINCOMPAT to empty Array
to avoid error during bootstrap when encodings are not yet defined. [Bug #10678]
duerst (Martin Dürst)
04:15 AM Bug #10678 (Closed): uninitialized constant Encoding::UTF_7 (NameError) when compiling Ruby
When using
make clean-enc; make up; make install-nodoc
I get the error below. The reason is that Encoding::UTF_7 isn't defined yet when downloading bundled gems.
Downloading bundled gem files...
/cygdrive/c/Data/ruby-public/lib...
duerst (Martin Dürst)
04:17 AM Revision b1cf0849 (git): lib/uri/common.rb: Initialize HTML5ASCIIINCOMPAT to empty Array
to avoid error during bootstrap when encodings are not yet defined. [Bug #10678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
03:36 AM Bug #10677: Regression: Time#parse no longer automatically converts to localtime
Ok, thanks Nobuyoshi. Is this documented somewhere? It caused a lot of strife for me, and I don't think I'll be the only one. I wrote a [short post about it](https://byparker.com/blog/2014/ruby-2-2-0-time-parse-localtime-regression/) as ... parkr (Parker M)
03:10 AM Bug #10677 (Rejected): Regression: Time#parse no longer automatically converts to localtime
It's a bug fix. nobu (Nobuyoshi Nakada)
01:30 AM Bug #10677 (Rejected): Regression: Time#parse no longer automatically converts to localtime
In Ruby 2.1 and before, `Time#parse` automatically converted to the localtime:
Ruby 2.1:
~~~ruby
>> require 'time'
=> true
> ...
=> "Australia/Melbourne"
>> Time.parse("2014-12-29 20:16:32 -0400")
=> 2014-12-30 11:16:32 +1100
...
parkr (Parker M)
02:35 AM Bug #10676 (Closed): segmentation fault when compiling Ruby
Nobuyoshi Nakada wrote:
> try `make clean-enc`.
Thanks, this worked. It produced another error, which I will report separately.
duerst (Martin Dürst)
12:44 AM Bug #10676 (Feedback): segmentation fault when compiling Ruby
try `make clean-enc`. nobu (Nobuyoshi Nakada)
12:19 AM Bug #10676 (Closed): segmentation fault when compiling Ruby
When I run
make up
I get the following error:
Updating '.':
At revision 49064.
make[1]: Entering directory '/cygdrive/c/Data/ruby-public'
./revision.h unchanged
make[1]: Leaving directory '/cygdrive/c/Data/ruby-public'
make[...
duerst (Martin Dürst)
01:38 AM Revision 205cf014 (git): test_time.rb: fix method to test
* test/test_time.rb (subtest_xmlschema_alias): test the specified
method, not fixed name iso8601.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:22 AM Revision 365b3258 (git): fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:22 AM Revision 52332805 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:29 AM Revision 28dedcb6 (git): dbm.c: fix doc
* ext/dbm/dbm.c (Init_dbm): [DOC] as UNIX permissions are octal
numbers, needs to be prefixed by 0. [Fix GH-800]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:10 AM Bug #10675 (Closed): Fix typo
hsbt (Hiroshi SHIBATA)
12:04 AM Feature #10617: Change multiple assignment in conditional from parse error to warning
I'm not sure if it's decent to push this - I understand 2.2.0 release is taking up a lot of time on the core devs side and holidays are also in progress in some parts of the world, so no hurry here.
Anyway, I feel I should ask:
* a...
recursive-madman (Recursive Madman)

12/29/2014

11:57 PM Revision 418328e2 (git): * lib/unicode_normalize.rb: typo fix. [ci skip]
[ruby-dev:48794][misc #10675]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
11:48 PM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
This is going to warn for most RSpec suites. The following pattern is common (I have it in all of my projects) due to the common `let` extraction myron talks about:
(sample of a spec from one of my projects - you can also see this in ...
xshay (Xavier Shay)
11:16 PM Bug #10669: Incorrect url parsing in 2.2.0
I get that, but a trend is developing here that is concerning.
https://github.com/rack/rack/blob/ab172af1b63f0d8e91ce579dd2907c43b96cf82a/lib/rack/mock.rb#L82-L85
we have a workaround but it seems a bit odd as a default, is there a...
sam.saffron (Sam Saffron)
07:48 AM Bug #10669 (Rejected): Incorrect url parsing in 2.2.0
RFC3986 reg-name allows "()". naruse (Yui NARUSE)
01:03 AM Bug #10669 (Rejected): Incorrect url parsing in 2.2.0
Ruby 2.2 is incorrectly treating invalid URLs as correct due to parser change.
Ruby 2.2.0
```
irb(main):001:0> require 'uri'
=> true
irb(main):002:0> URI.parse("http://hello.com()")
=> #<URI::HTTP http://hello.com()>
irb(main)...
sam.saffron (Sam Saffron)
11:07 PM Bug #10675 (Closed): Fix typo
String#unicode_normalize call-seq includes typo. sho-h (Sho Hashimoto)
08:59 PM Bug #10550: Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
I ran into some case-sensitivity issues while using `Resolv` as well. A patch to `Resolv::DNS::Name#==` seemed to solve it for me.
https://github.com/ruby/ruby/pull/801
bjmllr (Ben Miller)
08:56 PM Bug #10673: Ruby 2.2.0 bug in UTF-8 encoding with Postgres
pg gem have this fixed and plan to release a new stable version in a few more days. sam.saffron (Sam Saffron)
08:35 AM Bug #10673 (Third Party's Issue): Ruby 2.2.0 bug in UTF-8 encoding with Postgres
hsbt (Hiroshi SHIBATA)
08:33 AM Bug #10673: Ruby 2.2.0 bug in UTF-8 encoding with Postgres
That seems to be a 3rd party issue:
https://github.com/larskanis/ruby-pg/commit/5f3d5da5621e325c9f79f80ee46872549e608e7b
https://github.com/ged/ruby-pg/pull/5
cremno (cremno phobia)
08:22 AM Bug #10673 (Third Party's Issue): Ruby 2.2.0 bug in UTF-8 encoding with Postgres
There is some kind of bug in Ruby 2.2.0 re UTF-8 encoding with Postgres. I upgraded a previously bug free Rails 4.1.5 app from Ruby 2.1.5 to Ruby 2.2.0 and started getting these errors "PG::CharacterNotInRepertoire: ERROR: invalid byte s... fredguest (Fred Guest)
05:38 PM Feature #10672: Enable SSL on cache.ruby-lang.org
There are two costs: the certificate, and Fastly's charge for custom domain SSL.
* `https://www.ruby-lang.org` already has a wildcard SSL certificate installed that is valid for `*.ruby-lang.org`. So that cost is already paid.
* I wo...
konklone (Eric Mill)
06:05 AM Feature #10672 (Assigned): Enable SSL on cache.ruby-lang.org
hsbt (Hiroshi SHIBATA)
03:43 AM Feature #10672: Enable SSL on cache.ruby-lang.org
Who will pay your plan? SSL certificates and CDN are provided by our sponsors support. hsbt (Hiroshi SHIBATA)
02:45 AM Feature #10672 (Closed): Enable SSL on cache.ruby-lang.org
(I apologize if this is not the best place for this -- I'm happy to move this to a different place if it's more appropriate.)
Ruby's official distribution server, cache.ruby-lang.org, is not served over HTTPS. When accessing the serve...
konklone (Eric Mill)
04:54 PM Revision 47d66a8f (git): * 2014-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:54 PM Revision 12c2ad51 (git): doc/syntax/literals.rdoc: spelling fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
03:10 PM Feature #10674 (Closed): Net::HTTP retries idempotent requests once after a timeout, but its not configurable
Hi,
I've noticed that Net::HTTP retries idempotent requests once after a time-out. It seems to adhere to the RFC 2616 (http://tools.ietf.org/html/rfc2616), but it is not always the best thing to do.
When you don't know exactly how ...
jlecour (Jérémy Lecour)
01:56 PM Revision b66f0cbb (git): ChangeLog: fix a typo for r49058.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:16 AM Revision 903655ac (git): ruby/version.h: bump API version
* include/ruby/version.h: bump API version too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:43 AM Revision c5ec8993 (git): * version.h (RUBY_VERSION): 2.3.0 development has started.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
09:59 AM Bug #10670 (Closed): char-class matching same character with different encodings raises exception
Applied in changeset r49058.
----------
re.c: append excape sequence as-is
* re.c (unescape_nonascii): append excape sequence as-is not
unescaped character, to get rid of unexpected meta-character.
[ruby-core:67193] [Bug #10670]
nobu (Nobuyoshi Nakada)
02:35 AM Bug #10670 (Closed): char-class matching same character with different encodings raises exception
The following simple script illustrates the issue:
~~~ruby
ESCAPE_PLAIN = /\A[\x5B]*\z/m.freeze
0x5B.chr(::Encoding::UTF_8) =~ ESCAPE_PLAIN
0x5B.chr =~ ESCAPE_PLAIN
~~~
`\x5B` is `']'`, run all lines above and get _in `=~': e...
gkellogg (Gregg Kellogg)
09:58 AM Revision 316210b8 (git): re.c: append excape sequence as-is
* re.c (unescape_nonascii): append excape sequence as-is not
unescaped character, to get rid of unexpected meta-character.
[ruby-core:67193] [Bug #10670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49058 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
05:29 AM Revision d1e65737 (git): literals.rdoc: quoted symbol keys
* doc/syntax/literals.rdoc (Hashes): describe about quoted symbol
keys.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 AM Bug #10671 (Closed): Update documentation for literal syntax to reflect the fact that symbols are GC-ed
Applied in changeset r49056.
----------
literals.rdoc: Update for symbol literals
* doc/syntax/literals.rdoc (Symbols): now Symbols created by
interpolation can be garbage collected. patch by Yihang Ho in
[ruby-core:67194]. [Bug ...
nobu (Nobuyoshi Nakada)
02:40 AM Bug #10671 (Closed): Update documentation for literal syntax to reflect the fact that symbols are GC-ed
The existing doc warns that symbols are not GC-ed. However, this is not true anymore for 2.2. yihangho (Yihang Ho)
05:27 AM Revision 25dddf15 (git): literals.rdoc: Update for symbol literals
* doc/syntax/literals.rdoc (Symbols): now Symbols created by
interpolation can be garbage collected. patch by Yihang Ho in
[ruby-core:67194]. [Bug #10671]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49056 b2dd03c8-...
nobu (Nobuyoshi Nakada)
02:29 AM Bug #10656 (Third Party's Issue): mkmf have_func fails if Ruby is compiled with static libruby
`$LIBS` is cleared at https://github.com/phusion/passenger/blob/master/ext/ruby/extconf.rb#L24. nobu (Nobuyoshi Nakada)
02:18 AM Bug #10667 (Closed): thread_variable_set/get doesn't work for dynamically created symbols
Applied in changeset r49055.
----------
thread.c: fix dynamic symbol keys
* thread.c (rb_thread_variable_get): fix dynamic symbol keys.
rb_check_id() returns non-zero only for static symbols, whereas
thread local variable keys can ...
nobu (Nobuyoshi Nakada)
02:18 AM Revision 401c8bb0 (git): thread.c: fix dynamic symbol keys
* thread.c (rb_thread_variable_get): fix dynamic symbol keys.
rb_check_id() returns non-zero only for static symbols, whereas
thread local variable keys can be dynamic symbols.
[ruby-core:67185] [Bug #10667]
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
01:37 AM Revision 7fd45e90 (git): io.c: workaround for YARD doc
* io.c (rb_f_select): [DOC] workaround for YARD doc. [Fix GH-799]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Revision 76ec0906 (git): process.c: missing parenthesis
* process.c (proc_detach): [DOC] fix missing closing parenthesis.
[Fix GH-799] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/28/2014

10:29 PM Revision 6a488fde (git): * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:29 PM Revision 4a481ad4 (git): * ext/json, test/json: merge JSON HEAD(17fe8e7)
https://github.com/flori/json/compare/v1.8.1...17fe8e7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:36 PM Bug #10668 (Closed): Fix description for Zlib.crc32
Method signatures has adler, but the description has crc, I have updated the method signature to depict what is in the description. bjhaid (Ayodele Abejide)
08:26 PM Bug #10667 (Closed): thread_variable_set/get doesn't work for dynamically created symbols
Adding the following test to thread_test.rb shows the problem:
~~~ruby
def test_thread_variables_work_for_dynamically_created_symbols
t = Thread.new {}.join
key_str = "foo#{rand}"
key_sym = key_str.to_sym
t.thread_variabl...
drkaes (Stefan Kaes)
06:14 PM Feature #10666 (Rejected): Allow setting of default MIME type for WEBrick
HTTPUtils [specifically specifies `application/octet-stream` as the fallback MIME Type](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/entry/lib/webrick/httputils.rb#L131). Other web servers allow you to change the default to,... parkr (Parker M)
05:03 PM Revision 55477195 (git): ext/json: for ancient backward compatibilities
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:51 PM Revision d9f384d4 (git): * 2014-12-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:50 PM Revision cc5b3577 (git): generator.h: use GET_STATE_TO
* ext/json/generator/generator.h (GENERATE_JSON): use GET_STATE_TO
macro, instead of TypedData_Get_Struct directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:49 PM Revision 34fbf57a (git): rbinstall.rb: fix bundled gems location
* rbinstall.rb: fix target location for installing bundled gems.
install to the prepared directory instead of default Gem.dir,
not to be affected GEM_HOME environment variable. [Fix GH-798]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
02:40 PM Bug #10665 (Closed): irb segfaults on user input (irb 0.9.6 / ruby 2.1.5p273 / i386-mingw32) under ConEmu
nobu (Nobuyoshi Nakada)
02:00 PM Bug #10665 (Closed): irb segfaults on user input (irb 0.9.6 / ruby 2.1.5p273 / i386-mingw32) under ConEmu
irb crashes when any key is hit. Issue only appears when running under ConEmu, not under git-bash usual console
~~~
$ irb
irb(main):001:0> d:/RailsInstaller/Ruby2.1.0/lib/ruby/2.1.0/irb/input-method.rb:61: [BUG] Segmentation fault
...
Jc-L (Jean-Charles Longuet)
02:39 PM Bug #10606 (Closed): Ruby on consoles emulators
nobu (Nobuyoshi Nakada)
02:17 PM Revision 42c2cc7c (git): configure.in: default excluded libraries
* configure.in (with-out-ext): exclude never available libraries
by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 PM Revision 8b5c69fa (git): test_extlibs.rb: show mkmf.log
* test/ruby/test_extlibs.rb (check_existence): show mkmf.log of
failed extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:28 AM Feature #10481: Add "if" and "unless" clauses to rescue statements
Any update on this? (Or is this just a matter of more people getting around to giving it due consideration before merging?) javawizard (Alex Boyd)
09:20 AM Revision 64241b09 (git): test_iseq_load: expand tests with stack mismatches
We can ensure the loader works for these cases even if the
reoptimized bytecode is not a match for the original.
* test/-ext-/iseq_load/test_iseq_load.rb
(test_next_in_block_in_block): test using ISeq#eval
(test_break_ensure): ditto...
Eric Wong
09:13 AM Revision cb5c2f07 (git): mkmf.rb: use echo if possible
* lib/mkmf.rb (create_makefile): use echo for simple contents.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:25 AM Bug #10657 (Closed): 2.2: Generated binaries misses resource information (MinGW)
Applied in changeset r49042.
----------
GNUmakefile.in: append resources always
* cygwin/GNUmakefile.in (EXTOBJS): override to add resource files
always. [ruby-core:67153] [Bug #10657]
nobu (Nobuyoshi Nakada)
07:25 AM Revision 896039f9 (git): GNUmakefile.in: append resources always
* cygwin/GNUmakefile.in (EXTOBJS): override to add resource files
always. [ruby-core:67153] [Bug #10657]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:54 AM Bug #10659 (Closed): can't dup Fixnum (TypeError)
Applied in changeset r49041.
----------
parse.y: fix internal IDs conflict
* parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and
keywords bits arguments should be unique. since internal IDs
depend on the local variable...
nobu (Nobuyoshi Nakada)
04:54 AM Revision 952ed33b (git): parse.y: fix internal IDs conflict
* parse.y (f_kwrest, new_args_tail_gen): unnamed rest keyword and
keywords bits arguments should be unique. since internal IDs
depend on the local variable index in the current scope, new ID
should be made before popping those vta...
nobu (Nobuyoshi Nakada)
03:15 AM Bug #10664 (Third Party's Issue): Undocumented change: rb_str_new from a function declaration to a macro
It's json gem issue. hsbt (Hiroshi SHIBATA)
12:24 AM Revision dd038cb6 (git): * 2014-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:24 AM Revision 903046aa (git): test_io_console.rb: different names
* test/io/console/test_io_console.rb (test_noctty): use different
names for each tempfiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/27/2014

10:35 PM Bug #10657: 2.2: Generated binaries misses resource information (MinGW)
Nobuyoshi Nakada wrote:
> I can't reproduce it with i686-w64-mingw32 on darwin and cygwin.
> ...
mingw-w64: gcc.exe (rubenvb-4.7.2-release) 4.7.2
Seems the problem is caused by `make all`, since running `make ruby.exe` actually embe...
luislavena (Luis Lavena)
01:34 PM Bug #10657 (Feedback): 2.2: Generated binaries misses resource information (MinGW)
I can't reproduce it with i686-w64-mingw32 on darwin and cygwin.
What's your "mingw"?
nobu (Nobuyoshi Nakada)
10:29 PM Bug #10664 (Third Party's Issue): Undocumented change: rb_str_new from a function declaration to a macro
It seems that code such as this will now break:
result = rb_str_new(FBUFFER_PAIR(fb));
Example impact: https://github.com/flori/json/issues/229
Given the pain likely once people stop eating turkeys and start running code, isn't ...
hedgehog (Hedge Hog)
09:58 PM Feature #10663: Consider adding support for String input to File. methods
Try FileUtils.chmod instead. FileUtils is where the higher-level
stuff goes, I think.
normalperson (Eric Wong)
05:07 PM Feature #10663 (Open): Consider adding support for String input to File. methods
Hi,
Consider a file called 'test.rb'
We can change its permission with File.chmod like so:
File.chmod 444,'test.rb'
This should make it readable (world, group, owner)
and I believe it would be synonymous to
chmod +r t...
shevegen (Robert A. Heiler)
05:46 PM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
> You can use `rand()`.
Good point. I'm so used to calling arg-less methods without parens that I didn't even think of that here! I'll probably use that rather than renaming variables or `let` declarations in the 500+ warnings I'm f...
myronmarston (Myron Marston)
11:03 AM Bug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
Myron Marston wrote:
> Changing the `rand` call to `self.rand` is one solution I would consider to avoid the warning, but it doesn't work here because `rand` is `private` (as it comes from `Kernel`), so I'm forced to change the block lo...
nobu (Nobuyoshi Nakada)
09:14 AM Bug #10661 (Closed): The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want
I find the change in r48986 to be quite frustrating. It's forcing me to change many of my variable and/or method names if I want to keep my ruby code warning free (which is a thing we enforce in the RSpec code base).
The problem I se...
myronmarston (Myron Marston)
02:39 PM Bug #10651: pkg_config does not report required include headers
The commit that produced this behavior change is 097c3e9cbbf23718371f08c24b2d2297b039f63f in particular this part:
~~~
orig_ldflags = $LDFLAGS
if get and option
get[option]
elsif get and try_ldflags(ldflags =...
anatolik (Anatol Pomozov)
01:16 PM Bug #10662 (Closed): fix to invoke correct function of tcllib. (fixed at r49034)
see https://github.com/ruby/ruby/issues/787
This ticket is only for backport management.
nagachika (Tomoyuki Chikanaga)
11:12 AM Revision d29ff247 (git): json: backward compatibilities
* ext/json/generator/generator.c (JSON_Generator_State_type): add
#ifdef for backward compatibility.
* ext/json/parser/parser.rl (JSON_Parser_type): ditto.
* ext/json/generator/generator.h (ZALLOC): add fallback definition.
* ext/json/...
nobu (Nobuyoshi Nakada)
08:03 AM Revision 81e9d979 (git): * process.c: Unused code removed.
It seems waitpid() is universaly available on POSIX platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:50 AM Feature #10658: ThreadGroup local variables
+1 liked the idea very much rosenfeld (Rodrigo Rosenfeld Rosas)
05:45 AM Feature #10658: ThreadGroup local variables
Eric Wong wrote:
> Oops, can you try the following?
> ...
Haha, indeed this works. I was reading the source yesterday for a while,
thinking that the order should be preserved. There's GVL and it shouldn't
insert into the list randoml...
godfat (Lin Jen-Shin)
06:11 AM Bug #10660 (Closed): [PATCH] unreverse Thread.*list order
Applied in changeset r49036.
----------
vm_core.h: preserve thread ordering
I'm hesitant to consider this as spec, but this causes a
user-visible change which could break user code.
* vm_core.h (rb_vm_living_threads_insert): preserve ...
Anonymous
06:08 AM Bug #10660 (Closed): [PATCH] unreverse Thread.*list order
Thread.list and ThreadGroup#list order is reversed as of 2.2
This causes compatibility issue with user code as demonstrated in
[ruby-core:67154]
Note: I'm hesitant to consider this spec, but if users depend on this.
I suggest we ba...
normalperson (Eric Wong)
06:11 AM Revision b5e32113 (git): vm_core.h: preserve thread ordering
I'm hesitant to consider this as spec, but this causes a
user-visible change which could break user code.
* vm_core.h (rb_vm_living_threads_insert): preserve order
[Bug #10660] [ruby-core:67154] [ruby-core:67159]
git-svn-id: svn+ssh:...
Eric Wong
04:08 AM Revision d81cbba6 (git): * ext/socket/socket.c: improved document for YARD doc.
[fix GH-795][ci skip] Patch by @tlewin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
03:42 AM Bug #10654: Nil -> Rational Inconsistency
Current behavior is consistent with other number types:
```
Integer(nil) # => TypeError
nil.to_i # => 0
```
Calling the global function raises if the conversion is not well defined, whereas the explicit conversion method instead p...
crazymykl (Mike MacDonald)
01:11 AM Revision 9f3a95a0 (git): * ext/tk/lib/tkextlib/tcllib/plotchart.rb: fix to invoke correct function
of tcllib. Patch by @zalt50 [fix GH-787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:04 AM Revision 9919f7cf (git): * 2014-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:03 AM Revision 6dd302ad (git): * tool/make-snapshot: show sha1 digest when making packages.
it's request from https://github.com/ruby/www.ruby-lang.org/issues/921
[fix GH-794]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom