Project

General

Profile

Activity

From 01/09/2016 to 01/15/2016

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)

01/12/2016

07:38 PM Bug #11977: Bug with array literals caused by r53376
tenderlove@ruby-lang.org wrote:
> Thanks for the patch. That indeed fixes it for me. Can you apply it?

Thanks for the confirmation, r53518

> I guess this is due to the hash table change? I can't say I fully understand
> why t...
normalperson (Eric Wong)
07:25 PM Bug #11977 (Closed): Bug with array literals caused by r53376
Applied in changeset r53518.
----------
resolve class name earlier and more consistently
This further avoids class name resolution issues which came
about due to relying on hash table ordering before r53376.
Pre-caching the class name...
Anonymous
06:31 PM Bug #11977: Bug with array literals caused by r53376
Eric Wong wrote:
> I can't seem to reproduce the problem with array_bug.git on my end.
> ...
Thanks for the patch. That indeed fixes it for me. Can you apply it?
I guess this is due to the hash table change? I can't say I fully u...
tenderlovemaking (Aaron Patterson)
02:28 AM Bug #11977: Bug with array literals caused by r53376
I can't seem to reproduce the problem with array_bug.git on my end.
Can you try this?

http://80x24.org/spew/20160112021410.27364-1-e%4080x24.org/raw

Thanks

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscri...
normalperson (Eric Wong)
07:26 PM Revision 244916d4 (git): resolve class name earlier and more consistently
This further avoids class name resolution issues which came
about due to relying on hash table ordering before r53376.
Pre-caching the class name when it is never used raises memory
use, but the overall gain from moving away from st sti...
Eric Wong
05:46 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
alex maznev wrote:
> Running into the same issue here. https://github.com/mperham/sidekiq/issues/2763
Using `bundle exec` seems to clear this up for me. I think there is still a problem somewhere though.
b264 (Brian Giaraffa)
02:35 AM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
Running into the same issue here. https://github.com/mperham/sidekiq/issues/2763 pik (alex maznev)
05:31 PM Bug #11968: OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
I have opened a PR on GitHub here:
https://github.com/ruby/ruby/pull/1196
bascule (Tony Arcieri)
05:10 PM Revision 8c8f92cd (git): drop osx and clang because they are often fails and slow
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:37 PM Revision 05f1caa1 (git): Fix typo [ci skip]
* man/ruby.1: fix double word typo. [Fix GH-1194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 PM Bug #11983 (Rejected): define_method not raising error for invalid method name
It's a spec that `define_method` can define any name and `__send__` also can call it. nobu (Nobuyoshi Nakada)
02:18 PM Bug #11983 (Rejected): define_method not raising error for invalid method name
## Steps to Reproduce:
Inside irb:
~~~ruby
Class A
end
A.send(:define_method, "may_run!?") do |*args, &block|
p "random text"
end
a = A.new
a.may_run!?
~~~
* never return from this function.
------------------...
anilmaurya (Anil Maurya)
03:17 PM Revision a0f60979 (git): * 2016-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 1b39a6e5 (git): iseq.c: mark parents of wrapped iseq
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orphans. [ruby-core:72620] [Bug #11928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
03:16 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
Applied in changeset r53514.
----------
iseq.c: mark parents of wrapped iseq
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orph...
nobu (Nobuyoshi Nakada)
02:15 PM Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
This IS a GCC version specific issue.
~~~
make -j16 optflags="-O0 -fno-fast-math"
~~~
can compile ruby-2.3.0, but
~~~
make -j16 optflags="-O1 -fno-fast-math"
~~~
cannot.
I want to know which file in ruby-2.3.0 reveals ...
t-nissie (Takeshi Nishimatsu)
10:54 AM Bug #11979 (Closed): gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
This may be a GCC version specific issue.
gcc-6, an experimental snapshot from http://ftp.tsukuba.wide.ad.jp/software/gcc/snapshots/6-20160110/ ,
fails to compile ruby-2.2.4 and ruby-2.3.0 with an error of
**template/encdb.h.tmpl:63:i...
t-nissie (Takeshi Nishimatsu)
02:11 PM Feature #11982: Rename test-sample
Benoit Daloze wrote:
> test-basic maybe?
You are right. I have to learn English :-(
usa (Usaku NAKAMURA)
02:05 PM Feature #11982: Rename test-sample
Usaku NAKAMURA wrote:
> Hiroshi SHIBATA wrote:
> ...
test-basic maybe?
Eregon (Benoit Daloze)
01:55 PM Feature #11982: Rename test-sample
Hiroshi SHIBATA wrote:
> It contains basically syntax tests, assigning tests, etc.
You've already found the suitable name.
test-basical is good enough, I think.
usa (Usaku NAKAMURA)
01:41 PM Feature #11982 (Closed): Rename test-sample
Ruby test suites named `make check` are following instructions.
* test
* test-sample
* btest-ruby
* test-knownbug
* test-testframework
* test-almost
`test-sample` invokes `sample/test.rb`. It name is sample, but it's...
hsbt (Hiroshi SHIBATA)
01:45 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
I may have miscommunicated, so let me try to clarify. I think these should be the rules
1. If the platform supports posix_fadvise, then it should NOT raise NotImplementedError under any circumstances.
2. If the platform supports po...
cremes (Chuck Remes)
12:48 PM Bug #11980: External methods are appearing as instance methods for String
Those results were from IRB. Here's my results from a Ruby script.
"test_scope_creep.rb"
~~~ruby
puts "".methods.count
puts defined? "".a
def a
"foo"
end
puts "".methods.count
puts defined? "".a
puts String.private_metho...
danielpclark (Daniel P. Clark)
12:32 PM Bug #11980: External methods are appearing as instance methods for String
It's not just String.
~~~ruby
Array.instance_method(:a).owner
# => Object
~~~
danielpclark (Daniel P. Clark)
12:30 PM Bug #11980 (Closed): External methods are appearing as instance methods for String
It appears we're having methods creep into the String scope.
~~~ruby
"".methods.count
# => 170
defined? "".a
# => nil
def a
"foo"
end
"".methods.count
# => 171
defined? "".a
# => "method"
"bar".a
# => "foo"
~~~
danielpclark (Daniel P. Clark)
12:05 PM Revision 9efd4dbe (git): * common.mk: update URL and name for the Ruby spec suite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
11:23 AM Revision 09cb46b9 (git): correction to proper word
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
11:19 AM Revision f425e0fc (git): * lib/forwardable.rb: Convert given accessors to String.
r53381 changed to accept only Symbol or String for accessors, but
there are several rubygems that pass classes (e.g. Array,
Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s
returns its class name. After r53...
sorah (Sorah Fukumori)
09:42 AM Revision 4a5d3572 (git): string.c: made a variable name more grammatically correct
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
09:38 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
I haven't found this behaviour surprising at all. Maybe it’s because I'm
almost always using literal ranges and this lead me to think of
`Range#last` as “give me the last element of the range’s _definition_
(regardless of exclude_...
noniq (Stefan Daschek)
09:08 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
Nakada-san, `(0.0...1.0).last` would probably give the same error as `(0.0...1.0).to_a`?
Marc, even though it's intentional, and even documented, it's still not obvious that this is desirable behaviour. What I did find, is an equivale...
ioquatix (Samuel Williams)
09:35 AM Revision f23658f1 (git): string.c: minor grammar fix [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
08:24 AM Revision 9835b48a (git): merge revision(s) 53346,53347,53348,53349: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
* process.c (rb_execarg_addopt): need to convert to ospath.
* process.c (rb_execarg_parent_start1): need to...
naruse (Yui NARUSE)
08:24 AM Bug #11898: backport r53346-r53349
ruby_2_3 r53508 merged revision(s) 53346,53347,53348,53349,53391. naruse (Yui NARUSE)
07:44 AM Revision 42b809f2 (git): fix test to follow r53503
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:09 AM Revision dd80902f (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:09 AM Revision 92dc9e55 (git): test/ruby/enc/test_casing_options.rb: Tests for option
parsing/checking for upcase/downcase/capitalize/swapcase
(see r53503; with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:03 AM Revision d956652d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:03 AM Revision 2788cd98 (git): string.c: Added option parsing/checking for upcase/downcase/
capitalize/swapcase (with Kimihito Matsui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:31 AM Bug #11978 (Closed): r53493 is also needed for ruby_2_3 branch
naruse (Yui NARUSE)
06:31 AM Bug #11978: r53493 is also needed for ruby_2_3 branch
ruby_2_3 r53502 merged revision(s) 53493. naruse (Yui NARUSE)
05:19 AM Bug #11978 (Closed): r53493 is also needed for ruby_2_3 branch
r53493 should be backported into ruby_2_3 branch.
I've already created the PR: https://github.com/ruby/ruby/pull/1193
mrkn (Kenta Murata)
06:22 AM Revision c0e208bc (git): merge revision(s) 53493: [Backport #11978]
* include/ruby/missing.h (explicit_bzero_by_memset_s): remove
inline implementation by memset_s, which needs a macro before
including headers and can cause problems in extension libraries
by the order of the...
naruse (Yui NARUSE)
01:51 AM Revision 3a7c12c2 (git): * 2016-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:51 AM Revision 242b1d8f (git): escape brackets
* configure.in: escape char class brackets in regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/11/2016

10:37 PM Bug #11974 (Closed): segmentation fault when executing rake doc:app
duerst (Martin Dürst)
07:40 PM Bug #11974: segmentation fault when executing rake doc:app
I have just checked and the problem doesn't happen with the latest version (ruby 2.4.0dev (2016-01-11 trunk 53498) [x86_64-linux]).
So, would you like to close this issue?
(Thanks.)
mfer2380 (Marcos Fernandez)
12:40 AM Bug #11974 (Feedback): segmentation fault when executing rake doc:app
Seems something broken in an IO object.
Can't you try with recent 2.2?
nobu (Nobuyoshi Nakada)
06:58 PM Bug #11973: IO#advise should raise NotImplementedError on platforms that do not support that call
On Sun, Jan 10, 2016 at 5:26 PM, <git@chuckremes.com> wrote:
> Issue #11973 has been reported by Chuck Remes.
>
> ----------------------------------------
> Bug #11973: IO#advise should raise NotImplementedError on platforms that d...
kosaki (Motohiro KOSAKI)
04:21 PM Bug #11977 (Closed): Bug with array literals caused by r53376
Hi,
I'm seeing a bug with the class name of array literals, and I believe it is caused by r53376 (reverting that commit seems to fix the issue).
The bug is that array literals will have the class name "ThreadSafe::Array" when I exp...
tenderlovemaking (Aaron Patterson)
03:06 PM Bug #11928 (Open): Segmentation fault in did_you_mean extension
With the just experimental patch, I didn't encounter SEGV.
I suspect about GC mark matter of T_IMEMO iseq, referenced by `NameError#local_variables`.
```diff
diff --git a/gc.c b/gc.c
index 874cb98..e34da14 100644
--- a/gc.c
+++ ...
wanabe (_ wanabe)
12:28 PM Revision eb86cd6b (git): include/ruby/oniguruma.h: Added flags needed for upcase/downcase
Unicode addition (with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
06:52 AM Bug #11976 (Closed): Assigning to nil as a hash short-circuits without error.
Fixed at r53485. nobu (Nobuyoshi Nakada)
06:10 AM Bug #11976 (Closed): Assigning to nil as a hash short-circuits without error.
When assigning to nil as a hash, the RHS gets short-circuited, and the hash assignment on nil returns nil.
To reproduce:
~~~ruby
nil[:some_key] = undefined_method
# Expected: NameError: undefined local variable or method `undefined...
sergeim (Sergei Matheson)
02:33 AM Bug #11975: Range#last is not consistent and possibly does not do what is expected.
Range is not only for discrete values.
What will you expect for `(0.0...1.0).last`?
nobu (Nobuyoshi Nakada)
01:02 AM Bug #11975 (Rejected): Range#last is not consistent and possibly does not do what is expected.
This is intentional and documented:
"Note that with no arguments +last+ will return the object that defines the end of the range even if #exclude_end? is +true+."
Changing that would create incompatibilities that would far outweigh...
marcandre (Marc-Andre Lafortune)
12:50 AM Revision c97c37a5 (git): configure.in: check API version
* configure.in: check if the API version number is consistent with
the program version number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 AM Revision 948c7689 (git): * 2016-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:01 AM Revision d138a110 (git): io.h: remove old macros
* include/ruby/io.h (RB_IO_BUFFER_INIT, RB_IO_FPTR_NEW): remove
old macros only for internal use and obsolete since 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/10/2016

11:12 PM Bug #11975 (Rejected): Range#last is not consistent and possibly does not do what is expected.
The following example demonstrates an inconsistency with Range:
This is expected behaviour:
~~~
(0..10).last => 10
(0..10).to_a.last => 10
~~~
This is unexpected behaviour:
~~~
(0...10).last => 10 # (should be 9?)
(0...1...
ioquatix (Samuel Williams)
10:41 PM Bug #11657: Abort Trap 6 when running a test suite
Excellent, many thanks for the patches :-) adh1003 (Andrew Hodgkinson)
10:33 PM Bug #11974 (Closed): segmentation fault when executing rake doc:app
This segmentation fault (see attached file) occurs when executing rake doc:app for any Rails project.
=======
Rails 4.2.5
rake, version 10.4.2
mfer2380 (Marcos Fernandez)
10:26 PM Bug #11973 (Rejected): IO#advise should raise NotImplementedError on platforms that do not support that call
Right now IO#advise returns nil when passed legal arguments even on platforms that do not support that POSIX function (like OS X). To be consistent with other calls in core, I think that IO#advise should raise NotImplementedError for uns... cremes (Chuck Remes)
01:12 PM Bug #11972 (Closed): CGI::pretty がコメント内のhtmlタグにより範囲を見失う
以下のようなコードで ArgumentError が再現します。
~~~
#!/usr/bin/env ruby
require 'cgi'
puts CGI.pretty(DATA.read)
__END__
<script>
// <!--
alert('<p></p>');
// -->
</script>
~~~
手元では CGI::pretty の1行目を
lines = string.gsub(/(?!\A)<[^!...
koshian (Sugano Yoshihisa)
11:57 AM Revision e6f6c77d (git): compile.c: fix lhs splat in massign
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only. [ruby-core:72777] [Bug #11970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
11:57 AM Bug #11970 (Closed): Multiple Assignment Into a Hash with Destructuring causes segfault
Applied in changeset r53495.
----------
compile.c: fix lhs splat in massign
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only....
nobu (Nobuyoshi Nakada)
09:43 AM Revision a5beed9f (git): ext/-test-: reduce feature names
* ext/-test-/**/extconf.rb: bring up extension libraries which
have same name as the parent directory to reduce feature names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:58 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
Thank you, confirmed with all of 1.9..trunk.
It is an issue of rubygems.
nobu (Nobuyoshi Nakada)
06:05 AM Bug #11971: Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
Nobuyoshi Nakada wrote:
> ~~~
> ...
Sorry for my fault, It needs both GEM_HOME and GEM_PATH has seted.
personnel (Am I Who)
06:45 AM Revision 09bdb791 (git): missing.h: remove explicit_bzero_by_memset_s
* include/ruby/missing.h (explicit_bzero_by_memset_s): remove
inline implementation by memset_s, which needs a macro before
including headers and can cause problems in extension libraries
by the order of the macro and headers.
git...
nobu (Nobuyoshi Nakada)
05:23 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
Please don't do it. Continuations are awesome tank_bohr (Alexey Nikitin)
04:44 AM Revision 2b26565e (git): io.c: remove obsolete rb_deferr global variable
This was made obsolete by r4190 back in July 2003. Furthermore,
this existed less than 3 months as it was only introduced in
r3782.
So with absolutely no references to rb_deferr, I doubt any vim
plugin would care anymore.
ChangeLog: f...
Eric Wong
04:43 AM Revision 18ca559d (git): ChangeLog: fixup indent for r53488
Oops :x
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
02:07 AM Revision 645d2395 (git): insns.def: description [ci skip]
* insns.def: [DOC] add missing English description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Revision ec0198fd (git): * 2016-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:35 AM Revision 778bbac8 (git): stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.
* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
eliminate chomp
* lib/net/http.rb...
Eric Wong
12:35 AM Feature #11938 (Closed): [PATCH] cleanup: stdlib: avoid extra calls to eliminate "\n" from Base64
Applied in changeset r53488.
----------
stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays...
Anonymous

01/09/2016

07:20 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
This behavior may be surprising but it is intentional.
It boils down to giving priority to filling keyword arguments first instead of filling unnamed parameters. It is actually the only possible way to go. Among other things, think ab...
marcandre (Marc-Andre Lafortune)
02:23 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
https://github.com/nobu/ruby/tree/bug/11970-massign-lhs-splat nobu (Nobuyoshi Nakada)
09:34 AM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
Seems incorrect results also in 2.0 and 2.1. nobu (Nobuyoshi Nakada)
02:19 PM Revision 4b346b0e (git): test_hash.rb: add test
* test/ruby/test_hash.rb (test_try_convert): Add test for
Hash.try_convert. [Fix GH-1190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 PM Revision fa892028 (git): openssl: fix examples [ci skip]
* ext/openssl/ossl.c: Add missing variables to documentation
examples. [Fix GH-1189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:38 PM Bug #10653: do-end block in ternary operator is syntax error
Currently it's a bit flag in parse.y too. nobu (Nobuyoshi Nakada)
11:26 AM Bug #10653: do-end block in ternary operator is syntax error
I was implementing this in my Ruby parser and I found a much simpler solution than what you've implemented here: https://github.com/whitequark/parser/commit/113442eff1f9c6f7e7205ec0dac8cb858b3b0fc7
In short, instead of explicitly enum...
whitequark (whitequark *)
09:51 AM Bug #11971 (Feedback): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
~~~
$ GEM_PATH=/ ruby2.3 -e 'p Gem.path'
["/", "/opt/local/lib/ruby2.3/gems/2.3.0"]
$ GEM_HOME=/ ruby2.3 -e 'p Gem.path'
["/Users/nobu/.gem/ruby/2.3.0", "/opt/local/lib/ruby2.3/gems/2.3.0", "/"]
~~~
Seems present.
nobu (Nobuyoshi Nakada)
06:56 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
Version: ruby 2.3.0 and gem 2.5.1
Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has been set
So require stdlib like 'test-unit' or 'rake' will raise 'LoadError'
But ruby 2.2.3 and ...
personnel (Am I Who)
09:39 AM Bug #11956: RUBYOPT parses after rubygems loaded
Am I Who wrote:
> RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this?
I have explained: https://bugs.ruby-lang.org/issues/11956#note-4
> ...
It hasn't changed, just a gem is loaded before `RUBYOPT`.
Ano...
nobu (Nobuyoshi Nakada)
05:04 AM Bug #11956: RUBYOPT parses after rubygems loaded
Nobuyoshi Nakada wrote:
> I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
> ...
RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this?
personnel (Am I Who)
01:52 AM Bug #11956: RUBYOPT parses after rubygems loaded
I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
Another way is to put your code in `rubygems/defaults/ruby.rb` under `RUBYLIB`.
This file is read only when `RUBY_ENGINE` is `"ruby"` at initialization of rubygems.
nobu (Nobuyoshi Nakada)
12:15 AM Bug #11956: RUBYOPT parses after rubygems loaded
Nobuyoshi Nakada wrote:
> Rubygems sets `Gem.path` at loading the first gem.
> ...
Because I uses MRI ruby and jruby at the same time, if I just set env variable GEM_HOME and GEM_PATH many gems will conflict within MRI ruby and jruby
personnel (Am I Who)
09:26 AM Revision c79402c4 (git): symbol.h: unexpected safe call
* symbol.h (is_attrset_id): ASET is an attrset ID. fix
unexpected safe call instead of an ordinary ASET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:49 AM Revision f6dcbf74 (git): nmake VPATH
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
reapply r53482 with '#' as separator not to be removed in
make-snapshot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:24 AM Revision 52ddf1f8 (git): Revert r53482 "nmake VPATH"
it breaks `make dist`.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20160109T034902Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:33 AM Revision 64e22859 (git): nmake VPATH
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision 445e11da (git): probes.h including dummy header
* Makefile.in, win32/Makefile.sub (probes.h): include dummy header
instead of copying.
* common.mk (probes.dmyh): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:46 AM Revision a4c091a6 (git): fix rc files conflict in parallel build
* cygwin/GNUmakefile.in (%.rc): generate .rc files separately to
get rid of conflict in parallel build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:15 AM Revision c0e36de0 (git): vcs.rb: srcdir accessor
* tool/vcs.rb (VCS#srcdir): add accessor for VCS::GIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Revision 612edc77 (git): use stringized macros
* version.h (RUBY_COPYRIGHT): use stringized macros,
RUBY_BIRTH_YEAR_STR and RUBY_RELEASE_YEAR_STR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:44 AM Revision d43ef66b (git): RUBY_PROGRAM_VERSION from RUBY_VERSION
* configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from
RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in
include/ruby/version.h, and cut it into version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
01:02 AM Revision d58e799d (git): extract version from version.h
* tool/mkconfig.rb: extract version numbers from version.h but not
from API version in include/ruby/version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:23 AM Revision 1fbfa718 (git): RUBY_RELEASE_DATE in verconf.mk
* win32/setup.mak (verconf.mk): extract RUBY_RELEASE_DATE without
quotation marks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:20 AM Revision 34b1c7dd (git): fix library teeny
* configure.in, win32/Makefile.sub: fix teeny of library version
to 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:20 AM Revision 6837c648 (git): configure.in: RUBY_PROGRAM_VERSION
* configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:19 AM Revision bc8a7f9a (git): revert r53459, r53427, r53314
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314."
Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of"
Revert "program version from API version"
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom