Activity
From 12/25/2014 to 12/31/2014
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... -
11:38 PM Bug #10657: 2.2: Generated binaries misses resource information (MinGW)
- ruby_2_2 r49087 merged revision(s) 49042.
-
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 -
11:22 PM Bug #10659: can't dup Fixnum (TypeError)
- ruby_2_2 r49081 merged revision(s) 49041.
-
11:15 PM Bug #10642 (Third Party's Issue): 2.2: TestMath#test_gamma test failure (MinGW)
-
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... -
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.... -
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... -
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.
-
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... - 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
-
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
-
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 -
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. -
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 -
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!
-
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] -
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. ... -
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 -
07:33 AM Bug #10680 (Rejected): hangs forever on certain regexp
- Ruby doesn't prohibit you from shooting your foot.
-
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 ... -
05:13 AM Bug #10662: fix to invoke correct function of tcllib. (fixed at r49034)
- ruby_2_2 r49080 merged revision(s) 49034.
-
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 - 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
-
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 -
04:36 AM Bug #10630: ERB tags nested in escaped blocks are skipped
- No.
-
04:27 AM Bug #10681 (Third Party's Issue): Segfault on Debian Jessie Linux
-
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... -
04:27 AM Bug #10660: [PATCH] unreverse Thread.*list order
- ruby_2_2 r49077 merged revision(s) 49036.
-
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
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.
-
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... -
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
-
03:38 PM Bug #9129: Regression in support for IPv6 literals in URIs with Net::HTTP
- Backported at r49076.
-
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 - 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
-
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
-
02:32 PM Bug #10511: fix for #9940 causes dramatic performance regression
- see #10597
-
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
-
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] -
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?
-
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.
-
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
-
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... -
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 -
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 -
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 -
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... -
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... -
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] -
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... -
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 -
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 ...
-
03:10 AM Bug #10677 (Rejected): Regression: Time#parse no longer automatically converts to localtime
- It's a bug fix.
-
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
... -
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. -
12:44 AM Bug #10676 (Feedback): segmentation fault when compiling Ruby
- try `make clean-enc`.
-
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[... -
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 -
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
-
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
-
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 -
12:10 AM Bug #10675 (Closed): Fix typo
-
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...
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 -
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 ... -
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... -
07:48 AM Bug #10669 (Rejected): Incorrect url parsing in 2.2.0
- RFC3986 reg-name allows "()".
-
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)... -
11:07 PM Bug #10675 (Closed): Fix typo
- String#unicode_normalize call-seq includes typo.
-
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
-
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.
-
08:35 AM Bug #10673 (Third Party's Issue): Ruby 2.2.0 bug in UTF-8 encoding with Postgres
-
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 -
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...
-
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... -
06:05 AM Feature #10672 (Assigned): Enable SSL on cache.ruby-lang.org
-
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.
-
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... - 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
- 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
-
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 ... -
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
-
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 -
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
-
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] -
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... -
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... -
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 -
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 ... -
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.
-
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-... -
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.
-
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 ... -
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://... -
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 -
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
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
-
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 -
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.
-
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... -
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,...
-
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
- 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
-
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 -
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... -
02:40 PM Bug #10665 (Closed): irb segfaults on user input (irb 0.9.6 / ruby 2.1.5p273 / i386-mingw32) under ConEmu
-
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
... -
02:39 PM Bug #10606 (Closed): Ruby on consoles emulators
-
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 -
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 -
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?)
- 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... -
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 -
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] -
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 -
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... -
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... -
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.
- 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
-
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
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... -
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"? -
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 ... -
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. -
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... -
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... -
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... -
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... -
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 =... -
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.
-
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/... -
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 -
07:50 AM Feature #10658: ThreadGroup local variables
- +1 liked the idea very much
-
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... -
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 ... -
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... - 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:... -
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 -
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... -
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 - 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
-
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
12/26/2014
-
10:40 PM Bug #10659 (Closed): can't dup Fixnum (TypeError)
- In Ruby 2.2 (older versions are good) there is a bug with unnamed keyword arguments when `super` is used.
```rb
module Foo
def foo(**)
end
end
class Bar
include Foo
def foo(bar: "bar", **)
super
end
end
... -
09:58 PM Feature #10658: ThreadGroup local variables
- godfat@godfat.org wrote:
> * What I was doing before: Assume ThreadGroup#list.first is the owner of
> ...
Oops, can you try the following?
```diff
--- a/vm_core.h
+++ b/vm_core.h
@@ -975,7 +975,7 @@ rb_vm_living_threads_init(rb_v... -
06:28 PM Feature #10658 (Open): ThreadGroup local variables
- Here's the story. I wrote a testing framework which could run test
cases in parallel. To accumulate the number of assertions, I could
just use a shared number and lock it for each testing threads.
However, I would also like to detec... -
06:24 PM Bug #10657 (Closed): 2.2: Generated binaries misses resource information (MinGW)
- Binaries (ruby.exe and rubyw.exe) generated from ruby_2_2 branch or released package do not include resource (.rc) information.
Both files (ruby.rc and rubyw.rc) were generated, but seems no longer linked into the executable.
Resou... -
05:36 PM Bug #10656 (Third Party's Issue): mkmf have_func fails if Ruby is compiled with static libruby
- If Ruby is compiled with static libruby, then mkmf have_func calls will fail. This is because have_func tries to compile a binary, passing -lruby-static to the compiler. However this fails because binary also needs to be linked to a bunc...
-
04:08 PM Misc #10628: Peformance of URI module
- Eric Wong wrote:
> tgx_world@hotmail.com wrote:
> ...
On my builder, these are the following results:
before regression: 0.97
regression: 1.1 ~ 1.2
after patch: 1.0 -
10:38 AM Misc #10628: Peformance of URI module
- tgx_world@hotmail.com wrote:
> Latest results so far after the patch :)
>
https://railsbench.herokuapp.com/tgxworld/ruby?utf8=%E2%9C%93&result_types%5B%5D=app_uri&commit=Submit
>
> Do let me know if you need any more informatio... -
09:58 AM Misc #10628: Peformance of URI module
- Latest results so far after the patch :)
https://railsbench.herokuapp.com/tgxworld/ruby?utf8=%E2%9C%93&result_types%5B%5D=app_uri&commit=Submit
Do let me know if you need any more information. Happy holidays! -
10:47 AM Bug #10655 (Closed): Segmentation fault on chef-client run - Chef 12.0.1 and chef automatically installed ruby 2.0.0p451 (2014-02-24) [i386-mingw32]
On running chef-client, following error was encountered:
Command 4-chef-first-run output: c:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/mixli... -
09:55 AM Bug #10650: [PERF] bm_hash_keys and bm_hash_values
- Hi Nobu,
Seems like there is a bug with the labels on the site when rendering multiple graphs. Please see the below links for the individual graphs.
bm_hash_keys: http://rubybench.org/ruby/ruby/commits?result_type=hash_keys
bm_has... -
07:17 AM Bug #10650: [PERF] bm_hash_keys and bm_hash_values
- Guo Xiang Tan wrote:
> You may view the benchmark result graphs at [https://railsbench.herokuapp.com/tgxworld/ruby?utf8=%E2%9C%93&result_types%5B%5D=hash_keys&result_types%5B%5D=hash_values&commit=Submit](https://railsbench.herokuapp.co... -
06:58 AM Feature #10652 (Assigned): Automatic detection of user and password from env
- Looks like a repeated request to my eyes.
-
06:45 AM Bug #10647: fail install without zlib
- ruby_2_2 r49031 merged revision(s) 49015,49016.
-
06:44 AM Revision ee485d5d (git): merge revision(s) 49015,49016: [Backport #10647]
- * tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable.
[Bug #10647] [ruby-dev:48787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 AM Revision ca24e581 (git): tcltklib.c: duplicate code
- * ext/tk/tcltklib.c (ip_invoke_core): remove probably duplicate
dead code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:28 AM Revision d7d1e344 (git): tcltklib.c: rb_path2class
- * ext/tk/tcltklib.c (ip_ruby_cmd_receiver_const_get): simply use
rb_path2class() to get a class/module from its name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 AM Revision 5fd00768 (git): marshal.c: append at once
- * marshal.c (w_long): append at once by w_nbyte() instead of
appending byte by byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:13 AM Revision 993f22cb (git): parser.rl: check before use
- * ext/json/parser/parser.rl (unescape_unicode): check if valid
before bit-or assignments.
reported by Denis Denisov <denji0k AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Revision ed316bcf (git): nkf.c: add semicolon
- * ext/nkf/nkf-utf8/nkf.c (nkf_iconv_t): fix a missing semicolon.
reported by Denis Denisov <denji0k AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Revision 1db0393e (git): uninitialized variable
- * process.c (rb_spawn_process): get rid of usage of uninitialized
variable.
reported by Denis Denisov <denji0k AT gmail.com>.
* regexec.c (match_at): ditto.
* ext/win32ole/win32ole.c (ole_wc2mb_alloc, ole_vstr2wc, ole_mb2wc):
ditto... -
05:51 AM Revision 859f3d14 (git): never-NULL pointer check
- * dir.c (ruby_glob0): no need to check never-NULL pointer.
reported by Denis Denisov <denji0k AT gmail.com>.
* win32/file.c (rb_file_expand_path_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49024 b2dd03c8-39d4-4... -
05:48 AM Revision ea9ff28f (git): win32: realloc failures
- * win32/file.c (code_page_i): handle realloc failure.
reported by Denis Denisov <denji0k AT gmail.com>.
* win32/stub.c (stub_sysinit): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Revision aac77886 (git): log entry of r49021
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:39 AM Bug #10654 (Closed): Nil -> Rational Inconsistency
- I'm not sure if this is a bug or not but there seems to be some inconsistency in creating a rational from nil.
Rational(nil) # => TypeError: can't convert nil into Rational
nil.to_r # => (1/0)
I would think that the latter would p... -
05:33 AM Revision d5b81e68 (git): fix printf format conversion specifiers
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 AM Bug #10653 (Closed): do-end block in ternary operator is syntax error
- - For example
```
ruby -v -e 'true ? 1.tap do |n| p n end : 0'
```
- Result by 2.1.5
```
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
1
```
- Result by 2.2.0
```
ruby 2.2.0p0 (2014-12-25 revision 49... - 01:57 AM Revision 3d2b7c07 (git): * test/ruby/test_extlibs.rb: test in separated process for mathn/*.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:48 AM Bug #10610 (Closed): "make install" fails without zlib
- duplicate with #10647 (Japanese)
It's fixed by trunk.
12/25/2014
-
11:20 PM Revision 7fa0c70e (git): s/existance/existence
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 PM Feature #10652 (Closed): Automatic detection of user and password from env
- Get user and pass from http_proxy variable when specified, so that NET::HTTP can handle connections behind authenticated proxies automatically.
I'm new, so please correct me if this isn't the correct way to go.
Also, I've open a PR... -
09:42 PM Bug #10651 (Closed): pkg_config does not report required include headers
- pkg_config behavior seems incorrect in 2.2.0. I am testing following script in Linux Arch:
`require 'mkmf'
puts pkg_config("xft")`
In 2.1.5 it gives
`["-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/u... -
09:36 PM Revision 9099a55a (git): don't require mathn, it breaks the world
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:52 PM Bug #10627: gem update fails with a certificate verification error
- Please note, I just freshly installed Ruby 2.1.5 on a different machine. Same problem.
I shouldn't have to manually solve problems like this on a virgin installation!
Please un-reject this issue and provide a proper solution. -
06:12 PM Bug #10650 (Closed): [PERF] bm_hash_keys and bm_hash_values
- Hi!
Benchmarks bm_hash_keys and bm_hash_values seemed to have gotten slower after a commit between [e23d1736797f9b7170c80a7470b8e5cecd308105](https://github.com/ruby/ruby/commit/e23d1736797f9b7170c80a7470b8e5cecd308105) and [c73c34e27... -
05:15 PM Revision 2dd66e0d (git): Fix typo for LoadError constant
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 PM Bug #10647 (Closed): fail install without zlib
- r49015(とr49016)でスキップするようにしました。
-
10:07 AM Bug #10647: fail install without zlib
- Nobuyoshi Nakada wrote:
> zlibのサイトにあるDLLとヘッダをインストールして、--with-opt-dirか--with-zlib-dirで指定してください。
そりゃそうなんですが、そもそもzlibがない場合はgemのインストールをスキップするか、またはzlibがなければ死ねばーかばーかとドキュメントで明記するか、どっちかが必要でしょう。 -
10:04 AM Bug #10647: fail install without zlib
- zlibのサイトにあるDLLとヘッダをインストールして、--with-opt-dirか--with-zlib-dirで指定してください。
-
10:00 AM Bug #10647 (Closed): fail install without zlib
- 手元のマシンでは zlib なしで mswin のビルドをしようとするんですが、
下記のように、nmake install で途中で失敗します。
```
$ nmake install
...
installing default gems: c:/ko1/ruby/mswin32.ruby-2.2.0/lib/ruby/gems/2.2.0
(build_info, cache, doc, extensions, gems, specifi... - 04:51 PM Revision c6542873 (git): * ChangeLog: mention the ticket for r49015.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:48 PM Revision 4eaa3278 (git): * tool/rbinstall.rb: skip installing bundle gems if zlib is unavailable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:25 PM Revision e7011a3e (git): * tool/downloader.rb: support old versions of ruby.
- * tool/downloader.rb: now can download gems by http if openssl is not
available (this may be danger!)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:37 PM Revision f0f4d12f (git): remove old empty directories.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:15 PM Revision 996fab84 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:15 PM Revision 6535bd5d (git): * test/ruby/test_extlibs.rb: check existance of extension libraries
- which not depend on outer libraries. (experimental)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:02 PM Revision 835c0535 (git): * 2014-12-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:02 PM Revision e0c64486 (git): libffi.mk.tmpl: fix STATICLIB
- * ext/fiddle/win32/libffi.mk.tmpl (STATICLIB): fix static library
name. [ruby-core:67128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Revision 39b8908e (git): old ChangeLog and NEWS move to doc
- * doc/NEWS-2.2.0: moved from NEWS
* doc/ChangeLog-2.2.0: moved ChangeLog older than created ruby_2_2 branch
* NEWS: NEWS for 2.3.0 that describes changes since 2.2.0
* ChangeLog: ChangeLog since branch point of ruby_2_2 branch
git-svn-i... -
01:43 PM Bug #10649 (Closed): get rid of NameError in io/console (fixed at r48982)
- IO.console raise NameError after IO.console.close.
% ruby -rio/console -ve 'IO.console.close; IO.console'
ruby 2.1.5p272 (2014-11-06 revision 48302) [x86_64-darwin13.0]
-e:1:in `console': `console' is not allowed as a co... -
12:58 PM Revision a9f70432 (git): extconf.rb: libffi PIC objects
- * ext/fiddle/extconf.rb: make PIC objects if it will be linked as
a shared object eventually. [ruby-core:67128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:05 AM Bug #10648: libffi can't build on mswin32
- r49006でビルドできない問題は直しておきました(起票とタイミングが前後しました)。
それはそれとして、--enable-bundled-libffi じゃないのにbundled libffiを使おうとするのはそういうものでいいんでしたっけ? -
10:03 AM Bug #10648 (Closed): libffi can't build on mswin32
- mswin32 で libffiをビルドしようとして失敗してビルドが止まります。
```
$ nmake
...
types.c
cl -c -MD -Zi -W2 -wd4996 -we4028 -we4142 -O2sy- -Zm600 -I. -I./include
-I./src/x86 -I../../../../ext/fiddle/libffi-3.2.1/include -I../../../../ext/fi
d... - 10:01 AM Revision 990a0bb8 (git): * ext/fiddle/win32/libffi-3.2.1-mswin.patch: support mswin32.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Revision fe0ab051 (git): merge revision(s) 48993:
- * ext/io/console/console.c (console_dev): send the given arguments
to the opened console. as a special case, do nothing if :close
is given.
* test/lib/leakchecker.rb (LeakChecker#check_fd_leak): close if
... -
08:38 AM Revision 364be8e7 (git): merge revision(s) 48999: [Backport #10646]
- * gc.c (wmap_final_func): fix memory size shortage when realloc wmap.
Fix SEGV during finilize of WeakRef on Solaris (though the SEGV
could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646]
git-svn-id: svn+s... -
08:34 AM Revision d26f82db (git): still patch level 0
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:33 AM Bug #10646 (Closed): wmap_final_func の xrealloc で確保するメモリのサイズが1足りないためSEGV
- Applied in changeset r48999.
----------
* gc.c (wmap_final_func): fix memory size shortage when realloc wmap.
Fix SEGV during finilize of WeakRef on Solaris (though the SEGV
could occur on all OS/platforms). [ruby-dev:48779] [Bug #1... -
08:27 AM Bug #10646 (Closed): wmap_final_func の xrealloc で確保するメモリのサイズが1足りないためSEGV
- Solaris にて、以下のようにメモリリークを発見するデバッグ用のmallocを使用すると、WeakRefのfinalize中にSEGVが発生します。
(r48972 にて確認)
~~~
$ LD_PRELOAD=libumem.so UMEM_OPTIONS="backend=mmap" /usr/bin/time /XXXXX/bin/ruby -r weakref -e 'a = Object.new; 150_000.times { WeakRef.... -
08:33 AM Revision 7632a82d (git): * gc.c (wmap_final_func): fix memory size shortage when realloc wmap.
- Fix SEGV during finilize of WeakRef on Solaris (though the SEGV
could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:33 AM Revision 713de756 (git): merge revision(s) 48997: [Backport #10640]
- * configure.in (NET_LUID): include winsock2.h instead of windows.h.
patch by Jon Forums in [ruby-core:67125]. [Bug #10640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Revision e13315da (git): configure.in: include winsock2.h
- * configure.in (NET_LUID): include winsock2.h instead of windows.h.
patch by Jon Forums in [ruby-core:67125]. [Bug #10640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
- This patch allows me to build trunk at r48993 and get `#define HAVE_TYPE_NET_LUID 1` populated in `config.h`
~~~ diff
diff --git a/configure.in b/configure.in
index ae08fa0..375ef55 100644
--- a/configure.in
+++ b/configure.in
@@... -
07:34 AM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
- I still get the same NET_LUID conflict failure when building trunk at r48989.
Config.log shows this ugliness
~~~
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ../../../... -
06:42 AM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
- This is strange as the mingw-w64 headers appear to have the same include chain for NET_LUID. I will try building trunk to confirm your update.
[iphlpapi.h](http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/... -
04:56 AM Bug #10640 (Third Party's Issue): build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
- As iphlpapi.h should include ifdef.h via iptypes.h, in fact both of Microsoft SDK's and cygwin mignw's do it, it seems a bug of that mingw-w64 header.
There are too many mingws. -
07:49 AM Bug #10642: 2.2: TestMath#test_gamma test failure (MinGW)
- http://sourceforge.net/p/mingw-w64/mingw-w64/ci/8a67ab4541226a80b3ec2047347890d915126de1/tree/mingw-w64-crt/math/tgamma.c#l122
tgamma() of mingw32-w64 is buggy in x > 709.782712893384 because `pow(x, 0.5 * x - 0.25) / exp(x) == Inf / In... -
07:24 AM Revision 3c71d6e4 (git): bump version
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:14 AM Revision 945e4692 (git): console.c: IO.console arguments passing
- * ext/io/console/console.c (console_dev): send the given arguments
to the opened console. as a special case, do nothing if :close
is given.
* test/lib/leakchecker.rb (LeakChecker#check_fd_leak): close if
console.
git-svn-id: svn+... -
07:11 AM Revision 31409cbf (git): Release branch of Ruby 2.2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 AM Revision f0806c48 (git): file.c: drop ignored chars
- * file.c (rb_file_expand_path_internal): drop characters ignored
by filesystem on Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:50 AM Feature #10645: Consider adding support of .first to MatchData object like MatchData[0]
- Robert A. Heiler wrote:
> Would it be consistent to consider adding
> ...
The question is how similar exactly. What other array methods would you expect? MatchData has a to_a method, so it can be treated as an array. Should it be cha... -
04:13 AM Feature #10645 (Open): Consider adding support of .first to MatchData object like MatchData[0]
- Hi,
Lately I was using match data
test_string = "<h6>This is heading 6</h6>"
match = /\<h\d+\>(.+)\<\/h\d+\>/.match(test_string)
Then I tried to do this:
puts match.first
It did not work.
puts match[0]
Is the ... -
06:36 AM Revision 0ebfc6f2 (git): dir.c: replace_real_basename
- * dir.c (replace_real_basename): get the real name and replace the
base name with it by getattrlist(2) if available.
suggested by Matthew Draper at [ruby-core:67116]. [Bug #10015]
* dir.c (glob_helper): get the real name of the whol... -
06:17 AM Revision 91394327 (git): test_io_console.rb: use gets
- * test/io/console/test_io_console.rb (run_pty): pty cannot read
all, should use gets only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:59 AM Revision 44e0cd19 (git): configure.in: workaround of mingw-w64
- * configure.in (NET_LUID): include also ifdef.h as a workaround of
a bug in mingw-w64 header. [ruby-core:67103] [Bug #10640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:39 AM Bug #10015: Performance regression in Dir#[]
- Thanks, that's it.
-
12:58 AM Bug #10015: Performance regression in Dir#[]
- I don't know what I'm talking about, but this seems like it could use `fcntl(2)` + `F_GETPATH`, or `getattrlist(2)` + `ATTR_CMN_NAME`.. or something along those lines -- we shouldn't need the loop+fnmatch at all, should we?
-
03:51 AM Revision d33a3837 (git): test_io_console.rb: chomp results
- * test/io/console/test_io_console.rb (run_pty): IO#readlines
ignores the given block. need map to chomp the results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:47 AM Revision f5f6218a (git): parse.y: warn past scope variable
- * parse.y (gettable_gen): warn possible reference to a local
variable defined in a past scope.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 AM Revision ce59e249 (git): rubygems: fix variable name
- * lib/rubygems/compatibility.rb: fix out-of-scope local variable.
* lib/rubygems/specification.rb (Gem::Specification#validate): get
rid of conflict between a local variable and a method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
03:25 AM Bug #10644 (Rejected): WEBrick TimeoutHandler race condition
- I discovered what looks like a race in the WEBrick TimeoutHandler.
In WEBrick::Utils::TimeoutHandler#initialize, every 0.5 seconds, @timeout_info is iterated.
If WEBrick::Utils::TimeoutHandler.register is called when @timeout_info... - 02:37 AM Revision c10d7640 (git): * test/io/console/test_io_console.rb (TestIO_Console#run_pty): no block given.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Revision fb933bf7 (git): test_dns.rb: fix scope
- * test/resolv/test_dns.rb (test_query_ipv4_address): fix local
variables scope.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 AM Revision d8d326c9 (git): console.c: get rid of NameError
- * ext/io/console/console.c (console_dev): id_console is not a
constant name, use rb_const_remove() to get rid of NameError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:21 AM Revision 86693b30 (git): * test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address):
- set timeout for recvfrom because if client thread is crashed, it
waits infinity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:08 AM Misc #10628: Peformance of URI module
- naruse@airemix.jp wrote:
> Anyway I'm ok for Eric's patch.
> Could you commit it?
r48980
> We should consider ext/uri or strict/loose API for Ruby 2.3.
We should be able to improve compile.c to do more optimizations.
I prefe...