Project

General

Profile

Activity

From 01/13/2016 to 01/19/2016

01/19/2016

10:54 PM Feature #12008 (Open): Immutable object graphs (a.k.a. deep freeze)
Hi there. I know some sort of "#deep_freeze" construct has been proposed many times before. I proposed it in this blog post in 2012: https://tonyarcieri.com/2012-the-year-rubyists-learned-to-stop-worrying-and-love-the-threads
I have a...
bascule (Tony Arcieri)
10:43 PM Misc #12004: Code of Conduct
Kurtis Rainbolt-Greene wrote:
> @astonj:
> ...
Yes I am aware they have accepted the PR. That doesn't mean it should be used for Ruby or that it is a good reflection of Matz's wishes on how he'd like the Ruby community to conduct matte...
AstonJ (Aston J)
10:20 PM Misc #12004: Code of Conduct
@astonj:
> Personally I feel that Aaron, DHH or in fact any other prominent and respected member of the community is more than capable of writing a Ruby Mission Statement that better reflects Matz's intentions.
https://github.com/r...
krainboltgreene (Kurtis Rainbolt-Greene)
09:39 PM Misc #12004: Code of Conduct
Coraline Ada Ehmke wrote:
> I am the creator of the Contributor Covenant
Yes, we know who you are. (c Doctor Who)
To everyone reading this thread, please take time to read the following by ESR (Eric Raymond).
http://esr.ibiblio.o...
rubydino (Ruby Dino)
09:29 PM Misc #12004: Code of Conduct
Personally I feel that Aaron, DHH or in fact any other prominent and respected member of the community is more than capable of writing a Ruby Mission Statement that better reflects Matz's intentions. The COC in question for instance, doe... AstonJ (Aston J)
09:09 PM Misc #12004: Code of Conduct
> In the end Adam Beynon accepted a pull request from Github user Strand McCutchen to add version 1.0 of the Contributor Covenant to the project. It's important to note that unlike version 1.3, the latest incarnation of the code, this ea... avit (Andrew Vit)
09:01 PM Misc #12004: Code of Conduct
Please add a Code of Conduct. It will not harm the people who think they don't need it. But there are lots of people who don't feel save in communities. And the code of conduct tries to protect those. bitboxer (Bodo Tasche)
08:40 PM Misc #12004: Code of Conduct
Since people are repeatedly bringing up Opal as a reason not to adopt a code of conduct, I'd like to point to a blog post giving my perspective on what happened. It includes a quote by the project owner, Adam Beynon: "Your efforts are ve... CoralineAda (Coraline Ada Ehmke)
08:35 PM Misc #12004: Code of Conduct
I hope this is not the kind of professionalism we aspire to:
https://github.com/opal/opal/issues?q=is%3Aissue+conduct+is%3Aclosed
Please, let's keep personal conflicts out of this space, schoolyard bullying and witch hunts really d...
avit (Andrew Vit)
07:35 PM Misc #12004: Code of Conduct
I'm against adding policies and rules such as this. It's good to ask people to love and respect each other, but to try and enforce such laws within an evolving language is the opposite of providing freedoms and liberties.
The Ruby co...
danielpclark (Daniel P. Clark)
06:05 PM Misc #12004: Code of Conduct
The Celluloid projects have adopted the Contributor Convenant. I would be in favor of Ruby adopting it. bascule (Tony Arcieri)
10:57 AM Misc #12004: Code of Conduct
> I believe Ruby has code of conduct for ages:
That is not a code of conduct, it's a motto. It says so directly in the linked article.
krainboltgreene (Kurtis Rainbolt-Greene)
07:36 AM Misc #12004: Code of Conduct
I believe Ruby has code of conduct for ages:
https://en.wikipedia.org/wiki/MINASWAN
vo.x (Vit Ondruch)
04:11 AM Misc #12004: Code of Conduct
coraline@idolhands.com wrote:
> I'm asking that we join with the larger Ruby community in supporting
> the adoption of the Contributor Covenant for the Ruby language.

I am against this, we don't have this problem in Ruby itself.
A...
normalperson (Eric Wong)
12:54 AM Misc #12004: Code of Conduct
Please, no.
I'm utterly opposed to this sort of policing of language. (Apart from the anti-doxxing
prohibition, which I'd support.)
I don't think noises made by the perpetually offended should warrant special consideration
(rath...
spatulasnout (B Kelly)
12:20 AM Misc #12004 (Assigned): Code of Conduct
hsbt (Hiroshi SHIBATA)
12:19 AM Misc #12004: Code of Conduct
I strongly support adopting a code of conduct to signal to newcomers that Ruby is a welcoming and inclusive community. strand (Strand McCutchen)
12:08 AM Misc #12004: Code of Conduct
This is probably already clear since Bundler adopted the Contributor Convenant for both the Bundler project and Bundler's gem generator, but I'd like to make it official: I'm in favor of this. indirect (André Arko)
12:07 AM Misc #12004: Code of Conduct
We (the vcr, hamster, and rubygems repositories) have a Contributor Covenant-based Code of Conduct for our repositories and I absolutely back this being added. krainboltgreene (Kurtis Rainbolt-Greene)
08:03 PM Feature #11955: Expose Object that Receives logs in Logger
Nobu, I've added a new patch that would expose the `LogDevice` object in a `Logger` instance. This would be acceptable for my needs. schneems (Richard Schneeman)
06:44 PM Revision 0dfb398a (git): * 2016-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:44 PM Revision 5fb0c1d9 (git): file.c: fix documentation
* file.c: mode is optional, defaults to 0666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
06:42 PM Revision 2b02ffa9 (git): * 2016-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:42 PM Revision 4bb6f3fd (git): file.c: fix documentation
* file.c: mode is optional, defaults to 0666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
12:38 PM Bug #12007 (Feedback): Newly added Unicode data file doesn't get downloaded
Remove `.unicode-8.0.0.time` file.
Adding/removing data file should be rare, and not worth to add more rules, I think.
nobu (Nobuyoshi Nakada)
08:10 AM Bug #12007 (Closed): Newly added Unicode data file doesn't get downloaded
I added a new Unicode data file that should be downloaded to enc/unicode/8.0.0 in revision 53590, but despite repeated 'make up; make install' commands, the file wasn't downloaded. duerst (Martin Dürst)
11:04 AM Revision f9afa36f (git): configure.in: suppress warnings
* configure.in (warnflags): suppress warnings caused by macro
expansion with clang (and maybe -save-temps option).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:39 AM Revision 50b014d5 (git): ripper: clean timestamp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:50 AM Revision 8cedcf0f (git): configure.in: suppress warnings
* configure.in (warnflags): suppress warnings caused by macro
expansion with clang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Feature #11999: MatchData#to_h to get a Hash from named captures
Looks like it's the same problem as I noted here https://bugs.ruby-lang.org/issues/11999#note-2 sorah (Sorah Fukumori)
08:11 AM Feature #11999: MatchData#to_h to get a Hash from named captures
also interesting if you have a with | combined regexp where both of them does have a named capture:
```ruby
reg = /(?<a>b)|(?<a>x)/ # => /(?<a>b)|(?<a>x)/
reg.match("abc") # => #<MatchData "b" a:"b" a:nil>
reg.match("abc").capture...
Hanmac (Hans Mackowiak)
03:26 AM Feature #11999: MatchData#to_h to get a Hash from named captures
Martin Dürst wrote:
> Matthew Kerwin wrote:
> ...
I thought so myself, but the regular expression engine currently does numbered captures only if there are no named captures.
> **Note:** A regexp can't use named backreferences and n...
phluid61 (Matthew Kerwin)
02:36 AM Feature #11999: MatchData#to_h to get a Hash from named captures
Matthew Kerwin wrote:
> I think #named_captures is the best name, since that is precisely what it returns (i.e. it never includes numbered captures.)
Could it make sense to include numbered captures in the hash, too? Just thinking ...
duerst (Martin Dürst)
08:36 AM Revision 8a78e0f6 (git): io.c: suppress warning
* io.c (rb_update_max_fd): get rid of unused-value warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:15 AM Bug #10458 (Closed): After r48196, make cannot complete because of Unicode file download problem
duerst (Martin Dürst)
08:15 AM Bug #11837 (Closed): ./miniruby.exe: No such file or directory
duerst (Martin Dürst)
08:13 AM Bug #10457 (Closed): Proc instead of String as error message still doesn't work (gem problem?)
duerst (Martin Dürst)
08:04 AM Revision 3dcdb2c3 (git): * common.mk: Added Unicode data file CaseFolding.txt to be additionally
downloaded (with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:15 AM Feature #12006 (Open): return IO object from IO#print, IO#puts, IO#close_read, IO#close_write,...
There are a number of methods on IO objects that currently return nil.
It would be more convenient if they returned the object itself; that way, the methods could be chained.
Although some people might disagree with this style, this ...
duerst (Martin Dürst)
05:41 AM Revision 90c36180 (git): make-snapshot: remove Unicode data
* make-snapshot: remove Unicode data files, which are not
necessary once all source have been generated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Revision fe20002c (git): make-snapshot: download first
* common.mk (update-download): split to download only, excluding
VCS.
* make-snapshot: download config, Unicode data, gem, and external
library files first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53588 b2dd03c8-39d4-4d8f...
nobu (Nobuyoshi Nakada)
04:46 AM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Ruby 2.3.0
Rails 4.2.5
Confirming for me also. I have traced the problem to this line:
https://github.com/rails/rails/blob/v4.2.5/actionpack/lib/action_dispatch/routing/route_set.rb#L546
in the call to name.to_s.match(/^[_a-z]\...
fredngo (Fred Ngo)
04:34 AM Feature #12005: Unify Fixnum and Bignum into Integer
Could you elaborate the road map?
1. move methods from `Fixnum` and `Bignum` to `Integer`, with code to dispatch by its range
2. deprecate direct use of `Fixnum` and `Bignum`
3. remove them
Please correct it if something is missing.
nobu (Nobuyoshi Nakada)
02:38 AM Feature #12005 (Closed): Unify Fixnum and Bignum into Integer
CRuby has two `Integer` classes, `Fixnum` and `Bignum`.
But it is implementation detail.
They should be seen as a single class `Integer` like `Flonum`.
## Compatibility note
* Q: How do I check whether Fixnum and Bignum are unifi...
naruse (Yui NARUSE)
04:00 AM Bug #12002 (Rejected): **param notation seems to be creating a new hash in ruby 2.2.0
It is not a bug.
As `*rest`, modifying `o` should not affect the object in the caller scope.
nobu (Nobuyoshi Nakada)
03:16 AM Bug #12000 (Closed): Crash report for 2.3.0
Thank you, already fixed in the trunk. nobu (Nobuyoshi Nakada)
02:55 AM Revision 866ac8d9 (git): TestISeq.rb: exclude time consuming GC test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:52 AM Revision 35568b41 (git): increase timeout for ARMv7
http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20160113T091704Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:39 AM Revision 0ca5d75c (git): common.mk: fix dependency
* common.mk (.unicode-tables.time): should not depend on files
which are not downloaded yet, but just the timestamp for them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:30 AM Revision e48375c1 (git): common.mk: update-remote
* common.mk (update-remote): update by downloading remote files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Revision d4ad4d2d (git): * lib/shell.rb (Shell.debug_output_exclusive_unlock): remove
because Mutex#exclusive_unlock was already deleted. [fix GH-1185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sho Hashimoto
12:54 AM Revision de2678e7 (git): * error.c: [DOC] fix Exception#backtrace_locations indent. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sho Hashimoto
12:39 AM Revision a0b31d28 (git): * 2016-01-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:39 AM Revision 389a84fd (git): * vm_method.c: fix grammar in respond_to? warning.
[fix GH-1047]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

01/18/2016

11:33 PM Misc #12004: Code of Conduct
If this makes people feel more comfortable to contribute to Ruby, then I am positive on it. I think we basically do this already, it's just not explicitly stated. tenderlovemaking (Aaron Patterson)
10:18 PM Misc #12004 (Closed): Code of Conduct
I am the creator of the Contributor Covenant, a code of conduct for Open Source projects. At last count there are over 13,000 projects on Github that have adopted it. This past year saw adoption of Contributor Covenant by a lot of very l... CoralineAda (Coraline Ada Ehmke)
11:32 PM Feature #11999: MatchData#to_h to get a Hash from named captures
Shota Fukumori wrote:
> > is not always able to convert to Hash/Map.
> ...
I think #named_captures is the best name, since that is precisely what it returns (i.e. it never includes numbered captures.)
phluid61 (Matthew Kerwin)
04:53 PM Feature #11999: MatchData#to_h to get a Hash from named captures
> is not always able to convert to Hash/Map.
Ah -- agreed. How about MatchData#named_captures?
I can't think this name is the best, suggestions welcome.
sorah (Sorah Fukumori)
12:51 PM Feature #11999: MatchData#to_h to get a Hash from named captures
I don't think `to_h` is appropriate, because `MatchData` is not always able to convert to Hash/Map.
Is there any name candidate?
Matz.
matz (Yukihiro Matsumoto)
11:42 AM Feature #11999: MatchData#to_h to get a Hash from named captures
I agree. Please add this feature. I have also looked to do the same thing. danielpclark (Daniel P. Clark)
08:57 AM Feature #11999: MatchData#to_h to get a Hash from named captures
Consideration is behavior for multiple captures with same group name:
~~~
/(?<a>.)(?<a>.)/
~~~
MatchData#[] returns the last one and my attached patch follows that behavior.
sorah (Sorah Fukumori)
06:37 AM Feature #11999 (Closed): MatchData#to_h to get a Hash from named captures
~~~
class MatchData
def to_h
self.names.map { |n| [n, self[n]] }.to_h
end
end
p '12'.match(/(?<a>.)(?<b>.)(?<c>.)?/).to_h #=> {"a"=>"1", "b"=>"2", "c"=>nil}
~~~
Sometimes I want to get a Hash from named capture, but c...
sorah (Sorah Fukumori)
10:13 PM Bug #12003 (Closed): Unexpected behavior of === with Range of Date objects
In Ruby 2.2, a Range of Date objects will return true when matched with === for a new Date that falls in the range:
~~~
puts ENV['RUBY_VERSION']
# => '2.2.3'
require 'date'
date_range = Date.new(1980, 1, 1)..Date.new(1990, 1, 10)
...
rossta (Ross Kaffenberger)
09:41 PM Revision 10dac769 (git): merge revision(s) 53391: [Backport #11898]
skip if locale is not UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:26 PM Bug #12001: Abort trap:6
Same as #11998.
> ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
(snip)
> ...
wanabe (_ wanabe)
02:22 PM Bug #12001 (Third Party's Issue): Abort trap:6
I created (successfully) a new rails app ($ rails new Pinteresting) per the instruction of OneMonthRails class. I changed to the directory and ran the ($ rails server) command and the following report displayed:
[NOTE]
You may have e...
collinsjacob (Jacob Collins)
09:09 PM Bug #12002: **param notation seems to be creating a new hash in ruby 2.2.0
r48239 did, according to `git bisect`. wanabe (_ wanabe)
02:51 PM Bug #12002 (Rejected): **param notation seems to be creating a new hash in ruby 2.2.0
I found the regression regarding the handling of the `**` notation for options hash in a method. In ruby 2.1 and lower, it seems to always be handled in the same way, i.e. it is always the same object:
```ruby
def hashie1(o={})
pu...
chucke (Tiago Cardoso)
01:50 PM Bug #12000 (Closed): Crash report for 2.3.0
Running RSpec tests on a RoR application, MRI 2.2.2 returned many failures due to an undefined method, while MRI 2.3.0 crashed with the following report. This happened only twice: once on CircleCI and once locally (OSX).
I attached th...
RoxasShadow (Roxas Shadow)
01:49 PM Revision 8d6d6116 (git): ruby-additional.el: ruby-decode-unicode
* misc/ruby-additional.el (ruby-decode-unicode): new function to
convert escaped Unicode to raw string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 PM Revision 90d60621 (git): unicode_norm_gen.tmpl: Remove indicator
* template/unicode_norm_gen.tmpl: Remove indicator for
"frozen_string_literal: true", as r52526.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:50 AM Revision ed34d855 (git): parse.y: show operations on BITSTACK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:25 AM Revision 6c770049 (git): common.mk: UPDATE_LIBRARIES to yes
* common.mk (UPDATE_LIBRARIES): try to update unicode files by
default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:21 AM Revision f78ab819 (git): common.mk: get rid of repeating same names
* common.mk (download-unicode-data): strip directory paths from
the target names, to get rid of repeating same file names.
* tool/downloader.rb: add -p option for prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53574 b2dd03...
nobu (Nobuyoshi Nakada)
05:55 AM Feature #11949: Allow @/$ prefix in Regexp's named captures
It should be fixed,I think,without assignment behavior.
Matz.
matz (Yukihiro Matsumoto)
05:37 AM Revision 45acdf4d (git): parse.y: escaped newline in dedenting heredoc
* parse.y (parser_here_document): an escaped newline is not an
actual newline, and the rest part should not be dedented.
[ruby-core:72855] [Bug #11989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53573 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)
05:37 AM Bug #11989 (Closed): Dedenting interpolating heredoc can interpret escapes incorrectly
Applied in changeset r53573.
----------
parse.y: escaped newline in dedenting heredoc
* parse.y (parser_here_document): an escaped newline is not an
actual newline, and the rest part should not be dedented.
[ruby-core:72855] [Bug #...
nobu (Nobuyoshi Nakada)
03:05 AM Revision c626cb69 (git): * test/ruby/test_string.rb: Added extra testcase for test_rstrip_bang
and test_lstrip_bang. [fix GH-1178] Patch by @Matrixbirds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:48 AM Revision 4c6713f3 (git): * string.c: fix a typo. [fix GH-1202][ci skip] Patch by @sunboshan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:53 AM Bug #11928: Segmentation fault in did_you_mean extension
_ wanabe wrote:
> This script still causes SEGV.
Fixed at r53524. Thanks!
wanabe (_ wanabe)

01/17/2016

04:14 PM Revision af18eafc (git): test_syntax.rb: try all
* test/ruby/test_syntax.rb (assert_dedented_heredoc): try all
terminators regardless failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:11 PM Revision 5ce4a050 (git): * 2016-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:11 PM Revision 5aabf722 (git): remove extra dot
* test/lib/test/unit/assertions.rb (all_assertions): remove tail
dot as it is added in message again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:01 PM Bug #11657: Abort Trap 6 when running a test suite
Backported at r53567.
ko1 san thank you for providing a patch.
Hello, Andrew.
Sorry for my late reaction. The next patchlevel release 2.2.5 contains the fix for this issue.
Thank you for reporting this.
nagachika (Tomoyuki Chikanaga)
03:59 PM Revision 2054417e (git): merge revision(s) 53164: [Backport #11657]
* vm_insnhelper.c (vm_call_method_each_type): should not set fastpath
with keyword arguments for VM_METHOD_TYPE_ATTRSET type methods.
Normally, we can not use keyword arguments for this kind of methods,
(obj...
nagachika (Tomoyuki Chikanaga)
01:42 PM Bug #11998 (Third Party's Issue): Segmentation fault
You load an extension library for 2.2 from ruby 2.0.
Seems the rvm's issue as usual.
nobu (Nobuyoshi Nakada)
12:52 PM Bug #11998 (Third Party's Issue): Segmentation fault
Ruby seems to have crashed while attempting to run an alias in the command line, reverting to -v 2.0.0 after crash shmully (Shmully Wolfson)
12:20 PM Revision 9bed6e8e (git): * configure.in: improve ICC (Intel C Compiler) support.
* configure.in (CXX): The name of icc's c++ compiler is `icpc`.
* configure.in (warnings): Add `-diag-disable=2259` to suppress
noisy warnings: "non-pointer conversion from "..." to "..." may
lose significant bits".
* configure.in ...
naruse (Yui NARUSE)
11:40 AM Revision e580847c (git): * string.c: Any kind of option is now taking the new code path for
upcase/downcase/capitalize/swapcase. :lithuanian can be used for
testing if no specific option is desired.
* test/ruby/enc/test_case_mapping.rb: Adjusted to above.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
duerst (Martin Dürst)
11:10 AM Revision f307d1fe (git): * enc/unicode.c: Fixed a logical error and some comments.
* test/ruby/enc/test_case_mapping.rb: Made tests more general.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
09:03 AM Revision 39f44f01 (git): get rid of non-ascii chars
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:42 AM Revision 959bbb6f (git): * enc/unicode.c: Removed artificial expansion for Turkic,
added hand-coded support for Turkic, fixed logic for swapcase.
* string.c: Made use of new case mapping code possible from upcase,
capitalize, and swapcase (with :lithuanian as a guard).
* test/ruby/enc/test_case_mapping.rb: Adjusted f...
duerst (Martin Dürst)
06:31 AM Revision 0bc53416 (git): option.c: single byte boolean
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getsockopt() returns a single
byte as a boolean socket option. [ruby-core:72730] [Bug #11958]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
06:31 AM Bug #11958 (Closed): TCPSocket.getsockopt().bool raises a TypeError on windows
Applied in changeset r53561.
----------
option.c: single byte boolean
* ext/socket/option.c (sockopt_bool): relax boolean size to be one
too not only sizeof(int). Winsock getsockopt() returns a single
byte as a boolean socket opti...
nobu (Nobuyoshi Nakada)
05:43 AM Revision f918d2b8 (git): Add a test case for ENV#select_bang,keep_if
* test/ruby/test_env.rb: [Fix GH-1201]
* Extract test code for ENV#keep_if from ENV#select_bang
* Add a test case for ENV#select_bang,keep_if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:43 AM Revision ddd40c73 (git): Add a test case for ENV#reject_bang,delete_if
* test/ruby/test_env.rb: [Fix GH-1201]
* Extract test code for ENV#delete_if from ENV#reject_bang
* Add a test case for ENV#reject_bang,delete_if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53559 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
05:41 AM Revision 00cd6c62 (git): * 2016-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:41 AM Revision b25ad0da (git): option.c: make error messages consistent
* ext/socket/option.c (check_size): extract a macro to check
binary data size, with a consistent message.
* ext/socket/option.c (sockopt_byte): fix error message,
sizeof(int) differs from sizeof(unsigned char) in general.
git-svn-id...
nobu (Nobuyoshi Nakada)
03:50 AM Bug #11996 (Feedback): bin/rails server Unavailable
What is the whole message, and the diagnostic report? nobu (Nobuyoshi Nakada)

01/16/2016

02:53 PM Revision 361d51a7 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:16 PM Revision c8348d0c (git): parse.y: should not deent concatenated string
* parse.y (xstring): reset heredoc indent after dedenting,
so that following string literal would not be dedented.
[ruby-core:72857] [Bug #11990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53555 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
11:28 AM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
It appears calling eql? on array does not behave in this way:
```
[Float::NAN].eql? [Float::NAN]
=> false
```
Should we aim for consistency between these methods? Does it make sense for one to have an identity check and for the ot...
dwfait (Dwain Faithfull)
09:09 AM Feature #11997: A method to read a file with interpolations
> Why not erb?
Erb syntax is too much noise to me. It is centered toward html (it resembles html tagging), which is notorious for being a human-unfriendly notation. And it does not look that good when used for things other than an htm...
sawa (Tsuyoshi Sawada)
02:07 AM Feature #11997 (Feedback): A method to read a file with interpolations
Why not erb? nobu (Nobuyoshi Nakada)
08:24 AM Revision c12af767 (git): * enc/unicode.c: Artificial mapping to test buffer expansion code.
* string.c: Fixed buffer expansion logic.
* test/ruby/enc/test_case_mapping.rb: Tests for above.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:51 AM Revision d2076446 (git): * ext/openssl/lib/openssl/pkey.rb: Added 2048 bit DH parameter.
* test/openssl/test_pkey_dh.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:05 AM Bug #11995 (Rejected): BigDecimal#power fails for some values
The latter is parsed as `-(0.5**0.2)`.
~~~
$ ruby -e 'p (-0.5)**0.2'
(0.7042902001692478+0.5116967824803669i)
~~~
`Float#**` can result an imaginary number, but `BigDecimal` is only for real numbers.
nobu (Nobuyoshi Nakada)
01:51 AM Revision 219467ab (git): * enc/unicode.c: fix implicit conversion error with clang. fixup r53548.
* string.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:37 AM Revision 203e604f (git): * common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
* defs/gmake.mk: picked from r53540
* sample/test.rb: backword compatibility for chkbui...
hsbt (Hiroshi SHIBATA)
01:37 AM Feature #11982 (Closed): Rename test-sample
Applied in changeset r53551.
----------
* common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/t...
hsbt (Hiroshi SHIBATA)
01:24 AM Revision f69d6c4f (git): * 2016-01-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:24 AM Revision 72fa5a8e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:24 AM Revision be897c25 (git): * string.c, enc/unicode.c: New code path as a preparation for Unicode-wide
case mapping. The code path is currently guarded by the :lithuanian
option to avoid accidental problems in daily use.
* test/ruby/enc/test_case_mapping.rb: Test for above.
* string.c: function 'check_case_options': fixed logical errors...
duerst (Martin Dürst)

01/15/2016

08:32 PM Feature #11997 (Feedback): A method to read a file with interpolations
I request a single method that reads a file while interpreting interpolated Ruby code in it (in the current context). For example, suppose I have a file `foo.txt`.
foo.txt
~~~
#{char * 20}
Hello, my name is #{name}.
#{char * 20}...
sawa (Tsuyoshi Sawada)
05:12 PM Bug #11996 (Closed): bin/rails server Unavailable
Hey there,
I'm new to Ruby and Rails so not really sure what the problem is here. I've created a 'railsbridge' directory and under it created a Ruby app; 'test_app.' After building and running 'rails server' in my terminal (Mac El Ca...
apelchuk (Arkady Apelchuk)
03:57 PM Bug #11979 (Closed): gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
octoploid octoploid wrote:
> Takeshi Nishimatsu wrote:
> ...
Thank you for notice that, I close this.
naruse (Yui NARUSE)
01:27 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
Takeshi Nishimatsu wrote:
> Sorry, but GCC developers judged my bug report as INVALID.
> ...
I changed the resolution to "fixed". Today's gcc trunk compiles ruby without any issues.
octoploid (octoploid octoploid)
09:57 AM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
Sorry, but GCC developers judged my bug report as INVALID.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
On the other hand, the same build error is reported in Ubuntu:
amd64 build of ruby2.2 2.2.3-2 in ubuntu xenial RELEASE
ht...
t-nissie (Takeshi Nishimatsu)
06:04 AM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
I reported this issue as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291 with new info of:
I found strange behavior. If I built the ruby in /tmp on CentOS 6.7,
this issue does not stop to `make encdb.h`. But anyway, it stops to `m...
t-nissie (Takeshi Nishimatsu)
03:19 PM Bug #11995 (Rejected): BigDecimal#power fails for some values
$ irb -rbigdecimal
> BigDecimal('-0.5').power(BigDecimal('0.2'))
Math::DomainError: Zero or negative argument for log
but
> ...
=> -0.8705505632961241
The same is true for a few other exponent version I have tested. Is that fe...
dolzenko (Evgeniy Dolzhenko)
02:12 PM Bug #11994 (Closed): Incorrect result for yday in vtm_add_offset with negative UTC offset on last day of the year
When you have a UTC time value that's the first day of the year and then convert it to a time value with a negative UTC offset so that it's the 31st December then the year day is calculated incorrectly, e.g:
~~~
>> t = Time.utc(2015,...
pixeltrix (Andrew White)
01:16 PM Revision 2fd11c76 (git): .gdbinit: dump_node [ci skip]
* .gdbinit (dump_node): dump NODE list in gdb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 PM Revision fd7b490f (git): disable unaligned word access
* include/ruby/defines.h, st.c: disable unaligned word access with
gcc 6 or later. [Bug #11831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:12 PM Revision 04c55c07 (git): disable unaligned word access
* regint.h: disable unaligned word access with gcc 6 or later.
[Bug #11831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:11 PM Bug #11831 (Closed): Undefined behavior issues
Applied in changeset r53545.
----------
disable unaligned word access
* regint.h: disable unaligned word access with gcc 6 or later.
[Bug #11831]
nobu (Nobuyoshi Nakada)
01:10 PM Bug #11831: Undefined behavior issues
Naohisa Goto wrote:
> Since r53543, unaligned word access can be disabled with ./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0"
> ...
Thanks Goto-san. This fixes the issue.
And BTW it turned out that the gcc-6 build failure (Bug #11...
octoploid (octoploid octoploid)
12:25 PM Bug #11831: Undefined behavior issues
Since r53543, unaligned word access can be disabled with ./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0"
I think the "load of misaligned address" error can be squashed by this.
ngoto (Naohisa Goto)
01:08 PM Revision 78d4bc92 (git): Revert r53539 and r53540
* basictest/test.rb: revert r53539 because it depends on r53537.
* gmake.mk: ditto, revert r53540.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 PM Feature #11982 (Open): Rename test-sample
hsbt (Hiroshi SHIBATA)
12:25 AM Feature #11982 (Closed): Rename test-sample
Applied in changeset r53537.
----------
* common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/t...
hsbt (Hiroshi SHIBATA)
11:25 AM Revision 5df321fb (git): * regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): The value of
UNALIGNED_WORD_ACCESS should be used to determine whether
unaligned word access is allowed or not. After this commit,
./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0" disables
unaligned word access even on platforms that support th...
ngoto (Naohisa Goto)
11:05 AM Revision e0ea6417 (git): Revert "* common.mk: test-sample was changed to test-basic."
This reverts r53537.
Fix chkbuild first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:43 AM Bug #11991: `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
I would be happy to adapt the spec suite to the newer behavior if we decide so, of course.
However, I think such a change should be done not before the next minor (2.4) for potential incompatibility.
Eregon (Benoit Daloze)
06:28 AM Bug #11991: `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
Seems a bug, but ["spec-style" test suit](https://github.com/ruby/spec/blob/master/core/symbol/match_spec.rb) seems depending on the current behavior.
~~~diff
diff --git i/string.c w/string.c
index e4b323d..864f6c4 100644
--- i/str...
nobu (Nobuyoshi Nakada)
09:05 AM Bug #11993 (Rejected): foo(hash) is handled like foo(**hash)
Given this method:
def foo(a = nil, b: nil)
p a: a, b: b
end
I can pass keyword arguments to it and I can turn a hash into keyword arguments with the `**` operator:
foo(b: 1) #=> {:a=>nil, :b=>1}
f...
sos4nt (Stefan Schüßler)
07:12 AM Revision 0d75b7f9 (git): parse.y: should not deent concatenated string
* parse.y (string1): reset heredoc indent fore each string leteral
so that concatenated string would not be dedented.
[ruby-core:72857] [Bug #11990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53541 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
07:12 AM Bug #11990 (Closed): Dedenting heredoc interacts poorly with string concatenation
Applied in changeset r53541.
----------
parse.y: should not deent concatenated string
* parse.y (string1): reset heredoc indent fore each string leteral
so that concatenated string would not be dedented.
[ruby-core:72857] [Bug #11990]
nobu (Nobuyoshi Nakada)
06:17 AM Bug #11992 (Feedback): Regexp match data
I can't reproduce it, with any of 1.8..2.3, nor jruby-9.0.1.0.
~~~
$ ruby -e 'm=" M.S. Math \n M.S. Computer Eng. \n".match /M\.S\./; p m.offset(0), m.offset(1)'
-e:1:in `offset': index 1 out of matches (IndexError)
from -e:1:in ...
nobu (Nobuyoshi Nakada)
03:18 AM Bug #11992: Regexp match data
Found in jruby too rinkevichjm (James Rinkevich)
03:17 AM Bug #11992 (Closed): Regexp match data
~~~ruby
m=" M.S. Math \n M.S. Computer Eng. \n".match /M\.S\./
m.offset 0
[1,5]
m.offset 1
[1,5] # should be [13,17]
rinkevichjm (James Rinkevich)
05:50 AM Bug #11980: External methods are appearing as instance methods for String
It's not really a bug.
When you define following method. It is added on Object class. And any class which inherits from Object class will have following method.
You can try calling following method on any class which inherits Obj...
codetodya (Sumit Mahamuni)
04:39 AM Revision 1b191689 (git): gmake.mk: update order
* defs/gmake.mk (yes-test-basic): update the target name and the
order of tests. [Feature #11982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:33 AM Revision 6b39fba4 (git): basictest/test.rb: update message
* basictest/test.rb (test_check): update the file name in
messages, as r53537. [Feature #11982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:25 AM Revision 81a93c07 (git): * 2016-01-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:25 AM Revision 17238bce (git): * common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53537 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)

01/14/2016

10:20 PM Bug #11991 (Closed): `Symbol#match` returns the match position, unlike `String#match` and `Regexp#match`
`String#match` and `Regexp#match` return a `MatchData` when match succeeds:
~~~RUBY
"".match(//) # => #<MatchData "">
//.match("") # => #<MatchData "">
//.match(:"") # => #<MatchData "">
~~~
But `Symbol#match` returns the match...
sawa (Tsuyoshi Sawada)
10:11 PM Bug #11977: Bug with array literals caused by r53376
Eric Wong wrote:
> tenderlove@ruby-lang.org wrote:
> ...
Ah, interesting. Thank you for the explanation and the fix. I appreciate it!
tenderlovemaking (Aaron Patterson)
10:09 PM Bug #11657: Abort Trap 6 when running a test suite
2.3.0 works, but 2.2.4 currently doesn't include the fix. I note a tag saying 2.2 is required; I guess it'll end up in 2.2.5 at some point? Thought I'd double-check given that this issue is now marked as Closed but 2.2.4 still crashes. T... adh1003 (Andrew Hodgkinson)
03:06 PM Revision 37c5197b (git): merge revision(s) 53535:
* lib/uri/generic.rb (URI::Generic#to_s): change encoding to
UTF-8 as Ruby 2.2/ by Koichi ITO <koic.ito@gmail.com>
https://github.com/ruby/ruby/pull/1188 fix GH-1188
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
naruse (Yui NARUSE)
01:51 PM Bug #11985: SignalException: SIGABRT when rake test
I met with failures when i tried to simplify my code, `SignalException` will always be disappeared when i try to delete some codes. So i have to use the whole project as an example.
1. Clone the unfinished project https://github.com/w...
wensen (Vincent Ting)
01:41 PM Bug #11990 (Closed): Dedenting heredoc interacts poorly with string concatenation
The following code reproduces the problem:
~~~
p <<~E " y"
x
E
~~~
It prints `"x\ny"`, but the second string is not dedenting. It should print `"x\n y"`.
whitequark (whitequark *)
12:45 PM Bug #11989 (Closed): Dedenting interpolating heredoc can interpret escapes incorrectly
It is clear that the dedenting <<~HEREDOC feature was intended to only consider actual whitespace in the source file as indentation, not any escaped whitespace. E.g.:
~~~ruby
p <<~"E"
\ x
y
E
~~~
It prints `" x\n y\n"`. S...
whitequark (whitequark *)
11:20 AM Revision aa90e3b8 (git): * lib/uri/generic.rb (URI::Generic#to_s): change encoding to
UTF-8 as Ruby 2.2/ by Koichi ITO <koic.ito@gmail.com>
https://github.com/ruby/ruby/pull/1188 fix GH-1188
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:31 AM Bug #11973 (Rejected): IO#advise should raise NotImplementedError on platforms that do not support that call
Closing this issue, since people seem to agree the current behavior is intended.
(Also see https://github.com/ruby/spec/issues/183#issuecomment-171467414)
Eregon (Benoit Daloze)
09:42 AM Bug #11988 (Assigned): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
I found it is psych's issue.
Following fixes this (but may be it is fixed in Psych::ScalarScanner#tokenize.
```diff
diff --git a/ext/psych/lib/psych/visitors/yaml_tree.rb b/ext/psych/lib/psych/visitors/yaml_tree.rb
index 7c40050..1...
naruse (Yui NARUSE)
12:14 AM Bug #11988: YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
I suspect that it may be a behavior of libyaml. nobu (Nobuyoshi Nakada)
08:36 AM Revision 92e803c9 (git): variable.c: matched backrefs only
* variable.c (rb_f_global_variables): add matched back references
only, as well as defiend? operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:12 AM Revision 1301d1f5 (git): sprintf.c: exact number
* sprintf.c (rb_str_format): format exact number more exactly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:10 AM Revision ed11f4b4 (git): test_sprintf.rb: simplify
* test/ruby/test_sprintf.rb (test_rational): enumerate formatted
flags and simplify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:09 AM Revision 55cb1b5e (git): * Remove 512-bit DH group. It's affected by LogJam Attack.
https://weakdh.org/
[fix GH-1196][Bug #11968][ruby-core:72766]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:08 AM Bug #11968 (Closed): OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
Applied in changeset r53531.
----------
* Remove 512-bit DH group. It's affected by LogJam Attack.
https://weakdh.org/
[fix GH-1196][Bug #11968][ruby-core:72766]
hsbt (Hiroshi SHIBATA)
03:03 AM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
gcc-6 fails to optimize ruby-2.3.0/regcomp.c:compile_length_quantifier_node()
and cannot build the ruby. Even the -O1 optimization option fails.
Adding `__attribute__((optimize("O0")))` before the function can evade this issue.
I conf...
t-nissie (Takeshi Nishimatsu)
02:45 AM Revision 7e825eee (git): variable.c: $1..$9 in global_variables
* variable.c (rb_f_global_variables): add $1..$9 only if $~ is
set. fix the condition removed at r14014.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Revision d5c5d5c7 (git): * 2016-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:15 AM Revision 39cf3780 (git): hash.c: trivial optimization
* hash.c (rb_hash_initialize_copy): trivial optimization, copy
HASH_PROC_DEFAULT bit directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/13/2016

07:38 PM Bug #11988 (Closed): YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
YAML.dump doesn't quote string "019" but it is recognized as float using Core Schema tag resolution option of YAML 1.2 specification.
Therefore, SnakeYAML (Java) recognizes a string "019" serialized by Ruby's YAML as float 19.0 unexpect...
frsyuki (Sadayuki Furuhashi)
07:16 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
Ruby APIs try to unify across platforms, and IO is not just POSIX.
So I think "noop returning nil" is an appropriate implementation on systems which do not support posix_fadvise.
For instance, Process.clock_gettime also works for gen...
Eregon (Benoit Daloze)
06:35 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
I do not have any use-cases, unfortunately. I am just arguing from a standpoint of what I believe to be correct. If a platform DOES NOT have a function, when I call that function it should fail loudly. I don't care if the function is a h... cremes (Chuck Remes)
08:28 AM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
On Tue, Jan 12, 2016 at 7:06 PM, Eric Wong <normalperson@yhbt.net> wrote:
> git@chuckremes.com wrote:
>> 3. If the platform DOES NOT SUPPORT posix_fadvise, then it should
>> raise NotImplementedError in all cases.
>>
>> I hope that...
kosaki (Motohiro KOSAKI)
12:17 AM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
git@chuckremes.com wrote:
> 3. If the platform DOES NOT SUPPORT posix_fadvise, then it should
> raise NotImplementedError in all cases.
>
> I hope that is more clear. These rules should make IO#advise MORE CONSISTENT.

I disagree...
normalperson (Eric Wong)
01:32 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
gcc-6 fails to optimize regcomp.c.
~~~
$ ../configure CC=/usr/local/bin/gcc
$ make -j4 encdb.h # => ArgumentError
$ rm regcomp.o
$ make optflags="-O0 -fno-fast-math" V=1 encdb.h
:
gcc version 6.0.0 20151115 (experimental) ...
t-nissie (Takeshi Nishimatsu)
11:11 AM Bug #11985: SignalException: SIGABRT when rake test
Nobuyoshi Nakada wrote:
> How can I reproduce it?
Sorry, I'm trying to minify my code to reproduce it, but still not work out yet. I'll paste it here as soon as I finish it.
wensen (Vincent Ting)
10:54 AM Bug #11985 (Feedback): SignalException: SIGABRT when rake test
nobu (Nobuyoshi Nakada)
10:53 AM Bug #11985: SignalException: SIGABRT when rake test
How can I reproduce it? nobu (Nobuyoshi Nakada)
09:08 AM Bug #11985 (Closed): SignalException: SIGABRT when rake test
wensen (Vincent Ting)
10:58 AM Feature #11987: daemons can't show the backtrace of rb_bug
I always recommend pointing stderr to a regular file using
`IO#reopen` after daemonization. Perhaps kwargs may be added
to Process.daemon to encourage this usage?
Process.daemon err: '/path/to/stderr.log', out: '/path/to/stdout.log'
normalperson (Eric Wong)
10:38 AM Feature #11987 (Open): daemons can't show the backtrace of rb_bug
Ruby shows backtrace and other information into stderr on rb_bug.
But daemon process redirects stderr into /dev/null.
How do I get the log?
NOTE: if I can reproduce this, I can use strace to get it. But issues are not always reprodu...
naruse (Yui NARUSE)
10:19 AM Bug #11986 (Third Party's Issue): Segmentation fault
I've got the attached segmentation fault every time I shut down a web app. The web app is made with Sinatra and supports WebSockets with faye-websocket gem. The app runs with Passenger in standalone mode. I've already tried more Ruby ver... fabioin (Fabio Inguaggiato)
08:22 AM Revision 7cb5b7dd (git): * .travis.yml: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:15 AM Revision 6cea22b5 (git): * .travis.yml: removed osx code. follow up with r53517
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:05 AM Revision be61b2b1 (git): vm_eval.c: fstring format
* vm_eval.c (make_no_method_exception): make format string
fstring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Revision 22121544 (git): iseq.c: mark parent iseq
* iseq.c (rb_iseq_mark): mark parent iseq to prevent dynamically
generated iseq by eval from GC. [ruby-core:72620] [Bug #11928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:42 AM Bug #11984 (Rejected): DateTime.parse can parse invalid datetime string
It seems if you pass a string which begins with 2 alphabets and following is 7 numerics, it can be parsed as DateTime, as follows
irb(main):002:0> require 'time'
irb(main):008:0> dt0 = DateTime.parse('fg4534253dd')
=> #<DateTime: 4...
lanscene (jarry xu)
04:44 AM Bug #11928: Segmentation fault in did_you_mean extension
This script still causes SEGV.
Confirmed with `ruby 2.4.0dev (2016-01-13 trunk 53518) [x86_64-darwin15]` and `ruby 2.4.0dev (2016-01-13 trunk 53518) [x86_64-linux]`.
```ruby
->{
->{
->{
eval <<-EOS
class Segf...
wanabe (_ wanabe)
04:02 AM Revision be4501bf (git): fix previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:22 AM Revision 7c276364 (git): make CI output simpler
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:03 AM Revision cf8bbd0c (git): don't replace job status, it consume log length count
"The log length has exceeded the limit of 4 Megabytes (this usually
means that test suite is raising the same exception over and over)."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:24 AM Revision 4a3462bd (git): test_thread.rb: wait for the thread to sleep
* test/ruby/test_thread.rb (test_thread_name): wait for the status
of the subject thread to fix, so that the status does not change
between two inspect methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53520 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
02:04 AM Revision 0a641b4c (git): try sudo:false on travis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom