Project

General

Profile

Activity

From 01/22/2015 to 01/28/2015

01/28/2015

11:46 PM Bug #10796: bigdecimal gem update error
Due to the same undefined reference link errors, 1.2.6 causes gem install failures in 32bit versions of 2.0.0p617 and 2.1.5p285 on my win8.1 x64 system.
Bigdecimal 1.2.6 installs fine in 64bit 2.1.5p277 on my ubuntu server 14.10 x64 vm.
jonforums (Jon Forums)
07:21 PM Bug #10796 (Closed): bigdecimal gem update error
```winbatch
C:\Zend\Apache2\htdocs\u3c>gem update
Updating installed gems
Updating bigdecimal
Building native extensions. This could take a while...
ERROR: Error installing bigdecimal:
ERROR: Failed to build gem native ex...
SAnDAnGE (Emanuel D)
11:40 PM Feature #10785: [PATCH1/1] [ja/en] 特定のケースでMath.cを3倍速く / Make Math.c 3 times faster in a certain situation
gogo tanaka wrote:
> Nobuyoshi Nakada wrote:
> ...
I meant "redefinition of Integer#to_f".
> > redefinition of Integer#to_f won't be ignored
> ...
I meant:
~~~
$ ruby -v -e 'p Math.log(1);class Fixnum; def to_f; self+1.0;end;en...
nobu (Nobuyoshi Nakada)
06:01 PM Feature #10785: [PATCH1/1] [ja/en] 特定のケースでMath.cを3倍速く / Make Math.c 3 times faster in a certain situation
Nobuyoshi Nakada wrote:
> I don't think this is a sane idea
Hmm.. I believe using `(double)FIX2LONG(x)` instead of `RFLOAT_VALUE(rb_to_float(x))` for `Fixnum` dose make sense.
Could I ask more detail about that?
note: `FIXNUM_P(x...
gogotanaka (Kazuki Tanaka)
08:19 AM Feature #10785: [PATCH1/1] [ja/en] 特定のケースでMath.cを3倍速く / Make Math.c 3 times faster in a certain situation
Although I don't think this is a sane idea, redefinition of `Integer#to_f` won't be ignored after your patch? nobu (Nobuyoshi Nakada)
10:45 PM Bug #10795: to_s returns references to self if called on string
Marc-Andre Lafortune wrote:
> In any case, your code is better written
> ...
or
def coords_to_string
[latitude, longitude].join(",")
end
sawa (Tsuyoshi Sawada)
09:08 PM Bug #10795 (Rejected): to_s returns references to self if called on string
Remember, the principle of least astonishment applies to Matz only :-)
Changing this would, among other things, be a source of incompatibilities.
In any case, your code is better written
def coords_to_string
"#{latitu...
marcandre (Marc-Andre Lafortune)
03:58 PM Bug #10795 (Rejected): to_s returns references to self if called on string
This is not actually a bug, but rather a strong violation of the Principle of least astonishment.
Lately I found a bug in the Rails project I work to. There was a method concatenating two float values with a comma, converting them to ...
fra.boffa (Francesco Boffa)
10:27 PM Feature #10797 (Closed): `inherit` parameter for `..._defined?` methods in Module
`Module#const_defined?` takes an optional argument `inherit` with default value `true` to control whether to consider inheritance. But the following methods do not:
* `Module#method_defined?`
* `Module#private_method_defined?`
* `Mo...
sawa (Tsuyoshi Sawada)
07:48 PM Feature #10652: Automatic detection of user and password from env
Sorry to insist on this, but what about other languages like python and nodejs working fine while ruby fails with "407 Proxy authentication required"?
From an user point of view it's a unexpected behavior, since ruby reads the string,...
xfalcox (Rafael Silva)
05:49 PM Feature #10090: Display of program name in process listing under AIX
Rei,
Thank you for your work on this. The r47852 patch appears to resolve the issue.
nichogl (Geoff Nichols)
05:37 PM Revision 6ce27ada (git): * ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes with
instance variables when it is referenced multiple times.
* ext/psych/lib/psych.rb: bump version
* ext/psych/psych.gemspec: bump version
* test/psych/test_hash.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49432 b2dd...
tenderlovemaking (Aaron Patterson)
05:06 PM Revision 8914d672 (git): * 2015-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:06 PM Revision 8341136f (git): thread.c: micro-optimize thread create/join
* thread.c (struct join_arg): restructure and make smaller
(thread_join_sleep): avoid timeofday() call if forever
(thread_join): pass join_arg.delay directly
(rb_thread_inspect_msg): remove, inline into rb_thread_inspect
(rb_thre...
Eric Wong
03:44 PM Bug #10794 (Closed): false positive on mswin CI
かなりどうでもいいですが、暇なときにでもbackportお願いします。 usa (Usaku NAKAMURA)
12:33 PM Bug #10694 (Closed): Improve Thread#value rubydoc
Applied in changeset r49428.
----------
* thread.c: Improve documentation for Thread#value
[Bug #10694][ruby-core:67324][ci skip]
hsbt (Hiroshi SHIBATA)
12:32 PM Revision 05afc8a9 (git): * 2015-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 PM Revision 9ab7b7ec (git): * thread.c: Improve documentation for Thread#value
[Bug #10694][ruby-core:67324][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:07 PM Feature #10793 (Open): Infrastructure/Release-Management: Sign releases
Hi,
currently Ruby releases are not cryptographically signed and distributed unencrypted via http. While there are some MD5-hashes on the web-site, it's cumbersome to automate and MD5 is already insecure.
This is a huge security risk...
rmoriz (Roland Moriz)
08:24 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
I'm in favor of that error. nobu (Nobuyoshi Nakada)
07:48 AM Feature #10726: [PATCH 4/4] * New methods: Set#power
It is a well defined mathematical operation but it seems to me it has a very narrow usage.
IMHO, maybe such functionality would fit better in a separate gem. There are other well defined mathematical set operations and if they all en...
radan (Radan Skorić)
06:27 AM Bug #10792: Unable to compile bigdecimal on Mac
Just tested, it works. Thanks for your help!
```
$ gem install bigdecimal
Fetching: bigdecimal-1.2.6.gem (100%)
Building native extensions. This could take a while...
Successfully installed bigdecimal-1.2.6
Parsing documentation...
rmarescu (Razvan Marescu)
06:14 AM Bug #10792 (Closed): Unable to compile bigdecimal on Mac
I've done to push bigdecimal-1.2.6.gem to rubygems.org.
Please check it.
mrkn (Kenta Murata)
06:03 AM Bug #10792 (Assigned): Unable to compile bigdecimal on Mac
Sorry, I forgot to push it to rubygems.org.
I'll do it asap.
Thanks.
mrkn (Kenta Murata)
04:59 AM Bug #10792: Unable to compile bigdecimal on Mac
I just found https://bugs.ruby-lang.org/issues/10622, which seems to be related. I guess I have to wait for the next release? rmarescu (Razvan Marescu)
04:50 AM Bug #10792 (Closed): Unable to compile bigdecimal on Mac
Hello,
I'm having issues compiling `bigdecimal` `1.2.5` on Mac OS X 10.10.1 (14B25). I use `rbenv` `0.4.0` for managing Ruby.
I've uninstalled all my ruby versions and gems to no avail.
Please find attached the output error.
Li...
rmarescu (Razvan Marescu)
06:15 AM Bug #9743 (Open): memory leak in openssl ossl_pkey_verify leaks memory
Seeing this test failure on travis:
https://travis-ci.org/zzak/openssl/jobs/48587976
I think we should re-open this ticket until its resolved.
zzak (zzak _)
06:02 AM Bug #10284: Segmentation fault on Ruby 2.1.2 and 2.1.3
Two different segmentation faults with sidekiq:
~~~
2015-01-23T20:17:56.487Z 6966 TID-7wg64fk INFO: Booting Sidekiq 3.3.0 with redis options {:url=>"unix:///tmp/redis.sock"}
2015-01-23T20:17:57.484Z 6966 TID-7wg64fk INFO: Running in...
incubus (Alexander Logvinov)
05:55 AM Bug #10284: Segmentation fault on Ruby 2.1.2 and 2.1.3
Hi!
I often get this segmentation when unicorn sends QUIT signal for the old process. The crash is reproduced only with FreeBSD 10.X and clang. There are no problems with FreeBSD 9.
~~~
I, [2015-01-25T22:26:32.418557 #49018] IN...
incubus (Alexander Logvinov)
04:44 AM Misc #10757: Vagrant environment for MRI contributors
Are there any additional improvements you would like for me to make to this Vagrant configuration? anthonycrumley (Anthony Crumley)
01:36 AM Bug #10786: SIGINT can not interrupt remaining codes after XMLRPC::Server gets SIGINT
In xmlrpc/server.rb line 585-586,
```ruby
signals = %w[INT TERM HUP] & Signal.list.keys
signals.each { |signal| trap(signal) { @server.shutdown } }
```
I found signal traps. This code behaves correctly when XMLRPC::Serv...
nidev (Changbeom Yun)

01/27/2015

07:43 PM Misc #10791 (Open): [PATCH 1/1] Remove unnecessary passing value from doc for Observable
Hi, when reading doc for Observable, I notice little unnecessary code which may cause little confusion in example.
take your time.
gogo.
gogotanaka (Kazuki Tanaka)
05:38 PM Feature #10726: [PATCH 4/4] * New methods: Set#power
@ Shota Fukumori, @Marc-Andre Lafortune
> * Write description of your proposal in the ticket.
Implement method which returns set of all subsets of +self+.
> ...
As for me it was necessary for solving some combinational problem or ...
gogotanaka (Kazuki Tanaka)
04:09 PM Feature #10726: [PATCH 4/4] * New methods: Set#power
Moreover, the implementation could be improved.
`powerset` or `power_set` would be a more appropriate name.
I don't see myself ever using this and also wonder who would and in what circumstances.
marcandre (Marc-Andre Lafortune)
02:30 AM Feature #10726: [PATCH 4/4] * New methods: Set#power
- Write description of your proposal in the ticket.
- What is your use case?
- I think there's no need to split patches for same purpose... at this case patch except the last one should be one patch file.
sorah (Sorah Fukumori)
02:25 AM Feature #10726: [PATCH 4/4] * New methods: Set#power
ping gogotanaka (Kazuki Tanaka)
04:23 PM Bug #10788: Timeout not work with socket
Unfortunately, it's a restriction of WinSock.
You have to use Socket instead of TCPSocket and call Socket#connect_nonblock for your purpose.
usa (Usaku NAKAMURA)
03:41 PM Bug #10788 (Closed): Timeout not work with socket

`Timeout.timeout(1) do
TCPSocket.new "33.2.2.1",333
end
`
The ip 33.2.2.1 is unreachable, I except it raise Timeout::Error, but
in fact it always raise Errno::ETIMEDOUT!
But I test it on Ubuntu14.04(ruby2.0), it's ok!
dashi6174 (邓 打师)
04:00 PM Feature #10790 (Closed): Can't read CommitterHowto's links
[[ruby:CommitterHowto]] has old style links. They are displayed as []. Maybe, they can fix as follows.
```
-After the approval, Send a mail with the following information to <cvs-admin AT ruby-lang.org>. [[ruby-dev:23675]], [[r...
sho-h (Sho Hashimoto)
03:51 PM Bug #10789 (Closed): X-forwarded-Proto required when using Reverse Proxy
The Webrick library httpserver.rb makes use of the X-Forwarded-* HTTP headers when building link references for 307 responses. It also requires X-Forwarded-Proto, but this header is not added by default in Apache 2.2 mod_proxy (and poss... jbalcorn (Justin Alcorn)
03:33 PM Bug #10787 (Rejected): skipped test are not shown on test-all
気持ちはなんとなくわからんでもないですが。
意図的であるということもわかったし、見たくなったら--show-skipで見られることも思い出したので、納得したことにします。
usa (Usaku NAKAMURA)
03:02 PM Bug #10787 (Feedback): skipped test are not shown on test-all
なんか思い出せないのですが、不快さがしきいを越えてしまったのかなぁ。
すでに test/lib ができたあとで、Ruby 本体の開発者以外には関係ない状態だったので、気楽にやってしまったという可能性はあるかもしれません。
akr (Akira Tanaka)
02:41 PM Bug #10787 (Assigned): skipped test are not shown on test-all
おお、早い。ありがとうございます。
MLでは特に議論は見られなかったのですが、これはなぜでしょう?
(戻せ、とまでの強い意見があるわけではないですが)
usa (Usaku NAKAMURA)
02:34 PM Bug #10787: skipped test are not shown on test-all
r47889 (Oct 12, 2014) からですね。
https://github.com/ruby/ruby/commit/178bc9a0e797d7c09a74a6edec525bda314cc575
sorah (Sorah Fukumori)
02:24 PM Bug #10787 (Rejected): skipped test are not shown on test-all
いつからかはわかりませんが、test-allの結果にskipされたテストが表示されなくなっています。
usa (Usaku NAKAMURA)
03:30 PM Revision 2666cbc0 (git): * test/ruby/test_refinement.rb: get rid of failures of CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:27 PM Bug #10786 (Rejected): SIGINT can not interrupt remaining codes after XMLRPC::Server gets SIGINT
When XMLRPC::Server has started completely, a user presses Ctrl-C to send SIGINT. XMLRPC::Server stops by SIGINT.
Assuming there are remaining codes to be run after XMLRPC::Server stops, When a user tries to press Ctrl-C again to inte...
nidev (Changbeom Yun)
12:20 PM Bug #10582 (Closed): String#chomp strips off more newlines than its documentation states
hsbt (Hiroshi SHIBATA)
11:50 AM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
Thank you. This patch seems good.
ko1 (Koichi Sasada)
11:43 AM Bug #10314 (Open): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
Nobu, what do you think about funny falcon's idea?
ko1 (Koichi Sasada)
11:36 AM Feature #10773: nested module should work in instance_eval
Where is "meth_in_m"?
ko1 (Koichi Sasada)
11:04 AM Feature #10771: An easy way to get the source location of a constant
Matz issue.
ko1 (Koichi Sasada)
10:20 AM Bug #6232: Ruby : Segmentation fault on Readline.refresh_line after screen resize.
... reverted r49424.
ruby_2_0_0 ss too far from trunk.
usa (Usaku NAKAMURA)
08:02 AM Bug #6232: Ruby : Segmentation fault on Readline.refresh_line after screen resize.
ruby_2_0_0 r49424 merged revision(s) 49244. usa (Usaku NAKAMURA)
10:17 AM Revision 56c49c97 (git): Revert r49424. See [Bug #6232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:07 AM Bug #10731: Segmentation fault when create alias to refined method
ruby_2_0_0 r49425 merged revision(s) 49221.
test is a little changed to get rid of a warning about refinement on 2.0.0.
usa (Usaku NAKAMURA)
08:06 AM Revision d604893f (git): merge revision(s) 49221: [Backport #10731]
* vm_method.c (rb_alias): raise a NameError when creating alias to
a refined method if the original method of the refined method is
not defined. [ruby-core:67523] [Bug #10731]
git-svn-id: svn+ssh://ci.ruby-lang.org...
U.Nakamura
08:01 AM Revision 169ec127 (git): merge revision(s) 49244: [Backport #6232]
* ext/readline/readline.c (readline_s_refresh_line): initialize
before rl_refresh_line(), as some function make the internal
state non-clean but rl_refresh_line() does not re-initialize it.
[ruby-core:43957]...
U.Nakamura
07:47 AM Bug #10706: Segmentation fault when change visibility of refined new method
ruby_2_0_0 r49422 merged revision(s) 49175.
test is a little changed to get rid of a warning about refinement on 2.0.0.
usa (Usaku NAKAMURA)
07:43 AM Revision d7e152bf (git): merge revision(s) 49182,49183: [Backport #10706]
vm_method.c: fix change refined new method visibility
* vm_method.c (rb_export_method): bail out if the original method
is undefined when the method is refined.
[ruby-core:67387] [Bug #10706]
git-svn-id: svn...
U.Nakamura
07:39 AM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
ruby_2_0_0 r49422 merged revision(s) 49175.
and also backported a part of r40160.
usa (Usaku NAKAMURA)
07:35 AM Revision 50e48bc3 (git): merge revision(s) 49175: [Backport #10712]
* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
[ruby-core:67411] [Bug #10712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:04 AM Revision b03c6a74 (git): * tool/redmine-backporter.rb: added `!` command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:00 AM Revision 8516d743 (git): * tool/redmine-backporter.rb: added history feature for platforms which
lack readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:39 AM Revision fd8cf62f (git): Makefile.in: dtrace-specific stuffs
* Makefile.in (DTRACE_DEPENDENT_OBJS): move dtrace-specific stuffs
from common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:20 AM Revision 8efd24bc (git): vcs.rb: include svn property commits
* tool/vcs.rb (VCS::GIT.get_revisions): omit "." to include svn
property only commits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:15 AM Revision 372fe0d4 (git): . (svn:ignore): remove useless lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 AM Revision 1df60583 (git): enc/trans: ignore timestamp file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:09 AM Revision 081a66b6 (git): * 2015-01-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 AM Revision 7e091d24 (git): cstr.c: nil iff terminated validly
* ext/-test-/string/cstr.c (bug_str_cstr_term_char): return nil
only when terminated validly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:32 AM Feature #10255: Math.log: check domain of base argument
Related to https://bugs.ruby-lang.org/issues/10785 gogotanaka (Kazuki Tanaka)
02:30 AM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
@Ayumu AIZAWA san
Thank you so much! Here you are.
gogotanaka (Kazuki Tanaka)
02:17 AM Feature #10785 (Closed): [PATCH1/1] [ja/en] 特定のケースでMath.cを3倍速く / Make Math.c 3 times faster in a certain situation
English follows japanese. Because my english is not good ;(
拙い英語のため両言語で補足をします.
`FIXNUM_P(x)`が真を取る際には `(double)FIX2LONG(x)` で、その他の場合は `NUM2DBL(x)` でCの値にするようにしてみました.
速度についてですが、引数が`Fixnum`, `Bignum`オブジェクトである時に限り有意な差を確認することが出来ました.
また...
gogotanaka (Kazuki Tanaka)

01/26/2015

08:45 PM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
After some investigation, it appears the background threads in our app are unrelated to this segfault.
ruby_vm_destruct will call thread_free, which sets ruby_current_thread to NULL (https://github.com/ruby/ruby/blob/v2_1_4/vm.c#L2117...
tmm1 (Aman Karmani)
08:15 PM Misc #10783: String#concat has an "appending" behavior

I see. You are assimilating the ordinary word "concatenation" with the Ruby method name `concat`. They are different. But I agree that the documentation is misleading. It should avoid such confusing wording.
sawa (Tsuyoshi Sawada)
06:20 PM Misc #10783: String#concat has an "appending" behavior
Tsuyoshi Sawada wrote:
> I can't find the place in the documentation that says "Concatenation (aka +)". Is this your own claim? If so, then that is not incorrect.
I'll copy over the relevant excerpts.
~~~
str + other_str → new_st...
as-cii (Antonio Scandurra)
04:39 PM Misc #10783: String#concat has an "appending" behavior
I can't find the place in the documentation that says "Concatenation (aka +)". Is this your own claim? If so, then that is not correct. sawa (Tsuyoshi Sawada)
10:05 AM Misc #10783 (Open): String#concat has an "appending" behavior
Ruby String documentation (http://www.ruby-doc.org/core-2.2.0/String.html) introduces the two terms **Appending** and **Concatenation**:
- Concatenation (aka `+`) —Returns a new String containing other_str concatenated to str.
- Appe...
as-cii (Antonio Scandurra)
06:25 PM Feature #4824: Provide method Kernel#executed?
The "main" toplevel object already gets special methods, so why not just define main.main? Avoid polluting Kernel or creating a special class for \_\_FILE\_\_ just to support a "main" feature. headius (Charles Nutter)
06:00 PM Bug #10776: Ruby Chooses Incorrect Load Path For rubygems.rb
Awesome, thank you for looking at this so quickly! alexcoomans (Alex Coomans)
03:49 PM Bug #10759 (Third Party's Issue): Socket in Windows Fails to Close Correctly (message: An operation was attempted on something that is not a socket) (fptr_finalize issue?)
usa (Usaku NAKAMURA)
03:45 PM Bug #10759: Socket in Windows Fails to Close Correctly (message: An operation was attempted on something that is not a socket) (fptr_finalize issue?)
Hello,
Please close this ticket. Source of the issue was with EventMachine 1.0.4 (a dependency of Thin). There is a suggested code fix for the gem @:
https://github.com/ryuta-kai/eventmachine/commit/a0022964e549efaa2a65350555837629...
Creetor (Justin Miller)
01:09 PM Revision 45e23ec1 (git): * .gitignore: ignored temporary file with git.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:06 AM Revision 210357fa (git): * misc/ruby-electric.el: Import version 2.2.2 from
https://github.com/knu/ruby-electric.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
08:14 AM Revision ec723e30 (git): configure.in: check dtace -G
* configure.in (RUBY_DTRACE_POSTPROCESS): check if the object file
is really modified by `dtrace -G`, this command is very system
dependent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:30 AM Bug #10753: Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
ruby_2_2 r49409 merged revision(s) 49322. naruse (Yui NARUSE)
07:20 AM Revision 79cab4f3 (git): configure.in: -Wno-maybe-uninitialized
* configure.in (warnflags): add -Wno-maybe-uninitialized for gcc
5, to suppress false warnings in thread.c:do_select().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:36 AM Revision 353dce4a (git): merge revision(s) 49322: [Backport #10753]
* vm_method.c (check_definition): Module#public_method_defined?,
Module#private_method_defined?, Module#protected_method_defined?
should not use refinements. [ruby-core:67656] [Bug #10753]
git-svn-id: svn+ssh://ci.r...
naruse (Yui NARUSE)
06:30 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
It looks like it is better to make it an error than a warning. funny_falcon (Yura Sokolov)
03:43 AM Revision 44bf6684 (git): string.c: term fill
* string.c (str_buf_cat): fill wchar terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision c0d0dd91 (git): string.c: use local variables
* string.c (str_buf_cat): use local variables instead of repeating
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:39 AM Revision 34d41055 (git): string.c: consider widechar
* string.c (str_make_independent_expand): consider wide char
encoding. [Fix GH-821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Revision 622f3f14 (git): string.c: terminate when embedded
* string.c (str_make_independent_expand): terminate String when
moved from heap to embedded. [Fix GH-821].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 AM Revision 73b59166 (git): * 2015-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:00 AM Revision b3edab35 (git): cstr.c: cstr_term_char class method
* ext/-test-/string/cstr.c (bug_str_s_cstr_term_char): add a class
method to see plain Strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 AM Revision 5fb4f81e (git): cstr.c: get rid of exception
* ext/-test-/string/cstr.c (bug_str_cstr_term_char): get rid of
invalid byte sequence exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/25/2015

11:29 PM Feature #4824: Provide method Kernel#executed?
My proposal was `__FILE__.main?`, not `FILE.main?`.
Just you're confused by markdown.
nobu (Nobuyoshi Nakada)
10:18 PM Feature #4824: Provide method Kernel#executed?
Close to Nobu's proposal `FILE.main?`, but I don't think it makes sense to introduce two new things `FILE` and `main?` that can only be used under this combination. I propose defining a method on the existing `File` class. Something alon... sawa (Tsuyoshi Sawada)
10:22 PM Feature #10769: Negative counterpart to Enumerable#slice_when
Austin Ziegler wrote:
> What about `.slice_unless`?
The point of my proposal is that this negation is a negation if you look from the point of view of `slice_when`, but it is in fact more natural than `slice_when`, so that it should ...
sawa (Tsuyoshi Sawada)
09:24 PM Feature #10769: Negative counterpart to Enumerable#slice_when
What about `.slice_unless`? austin (Austin Ziegler)
08:55 PM Feature #10730: Implement Array#bsearch_index
I rebased on the latest trunk and resolved conflicts with the updates to bsearch implementation.
If there's anything I can do to improve this proposal, I'll be happy to do it, just let me know, thanks.
radan (Radan Skorić)
04:24 PM Feature #10782 (Assigned): Patch: Add constants for BigDecimal for ZERO, ONE, TEN
We found with use of BigDecimal that we were often needing to compare BigDecimal with zero or initialize BigDecimal as 0 for a default value. This introduces a bit move overhead than is typically needed, since a simple BigDecimal.new('0'... garysweaver (Gary Weaver)
08:17 AM Revision 9f926847 (git): fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:31 AM Bug #10779 (Feedback): occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
LMH medchem wrote:
> I'm not sure what you are referring to with this. I don't have anything compiled. I am just running the ruby script from the Hash-Bang line.
What distribution are you using?
Probably the debug info package would...
nobu (Nobuyoshi Nakada)
01:19 AM Bug #10779: occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
Eric Wong wrote:
> lmh_users-groups@molconn.com wrote:
> ...
I have uploaded a tar.bz2 with a test directory setup. Extract the archive, cd to the test directory and run,
./get_cols_and_sort.ruby RI_7 13 > output.txt
The file exp...
LMHmedchem (LMH medchem)
03:04 AM Bug #10748 (Closed): Array#flatten(N) calls to_ary on the (N+1)-level objects
Applied in changeset r49400.
----------
array.c: reduce to_ary call
* array.c (flatten): no need to call to_ary method on elements
beyond the given level. [ruby-core:67637] [Bug #10748]
nobu (Nobuyoshi Nakada)
03:04 AM Revision aa436bdc (git): array.c: reduce to_ary call
* array.c (flatten): no need to call to_ary method on elements
beyond the given level. [ruby-core:67637] [Bug #10748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:02 AM Revision 7d87d0c4 (git): test_array.rb split flatten tests
* test/ruby/test_array.rb (test_flatten, test_flatten!): split.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:14 AM Bug #10758: undefined method `year' for nil:NilClass
From NEWS in 2.2.0
---
## Changes since the 2.1.0 release
### Language changes
* default argument
fixed a very longstanding bug that an optional argument was not accessible in its default value expression. [Bug #9593]
nobu (Nobuyoshi Nakada)

01/24/2015

11:48 PM Bug #10758: undefined method `year' for nil:NilClass
Could the behavior of the following code have changed between Ruby 2.1.2 and Ruby 2.2.0?
In the Rails 3.2.21 with Ruby 2.1.2 version of activesupport the following works:
def parse(str, now=now)
With Ruby 2.2.0 it no l...
Anonymous
10:53 PM Bug #10781 (Rejected): stdout flushing and loops
[doc of `IO#eof?`](http://www.rubydoc.info/stdlib/core/IO#eof%3F-instance_method):
> If _ios_ is a stream such as pipe or socket, `IO#eof?`
> ...
This is true for a console device, and
> Note that `IO#eof?` reads data to the input...
nobu (Nobuyoshi Nakada)
08:35 PM Bug #10781: stdout flushing and loops
Removing the `$stdin.eof?` call fixed my problem. IDK why as yet. I finally did find a page with a similar issue after seeing it was #eof? related at http://computer-programming-forum.com/39-ruby/0ce7591347ab1e27.htm sneakin (Nolan Eakins)
07:49 PM Bug #10781 (Rejected): stdout flushing and loops
I'm making a little program that has a shell like command prompt. Something like:
~~~
$ cmd
Cmd out
$ more
More out
$
~~~
I tried the following code, but the second prompt does not get flushed to my terminal after entering an...
sneakin (Nolan Eakins)
09:20 PM Feature #7361: Adding Pathname#touch
I'm a little surprise there isn't an option for this in `FileUtils`. Something like `FileUtils.touch('/location/for/new', :force => true)`. I'd be in favor of adding that, or an option to `FileUtils.mkpath`. djberg96 (Daniel Berger)
05:36 PM Bug #10780: Unable to build with Visual Studio 2013
That seemed to work, thank you. djberg96 (Daniel Berger)
03:29 PM Bug #10780 (Third Party's Issue): Unable to build with Visual Studio 2013
It seems that a bug of ml.exe of VS2013.
I found a workaround.
After this error, try these commands.
~~~
cd ext\fiddle\libffi-3.2.1\src\x86
ml -c -coff -W3 -Cx -Fo win32.obj win32.asm
cd ..\..\..\..\..
nmake
~~~
usa (Usaku NAKAMURA)
09:57 AM Bug #10780 (Third Party's Issue): Unable to build with Visual Studio 2013
Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86
Windows 7 Pro
Ruby 2.2.0
I am unable to build from source. After running configure.bat and nmake, I eventually get this:
Assembling: ./src/x86/win32.asm
./src/x...
djberg96 (Daniel Berger)
03:42 PM Revision 48df4898 (git): * 2015-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision 22c750bb (git): libffi: workaround of VC12 ml
* ext/fiddle/win32/libffi.mk.tmpl: assemble without directory prefix.
workaround of a bug of VC12 ml, by unak at [ruby-core:67792].
[ruby-core:67789] [Bug #10780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49397 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
02:59 PM Revision 10ce32c2 (git): dln_find.c: define S_ISREG
* dln_find.c (dln_find_1): on some platforms, S_ISREG() is not
provided.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:06 PM Revision 69f47dd0 (git): ruby.c: only for load-relative
* ruby.c (dladdr_path): used only when load-relative is enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:24 PM Revision c3ad34c7 (git): ruby.c: replace with real path
* ruby.c (dladdr_path): replace the executable path with symlinked
real path. dladdr(3) on Linux returns the argv[0] as dli_fname
instead of the real path, for a symbol defined in the executable
file itself. [Bug #10776]
git-svn...
nobu (Nobuyoshi Nakada)
10:57 AM Revision 9a15c7c8 (git): dln_find.c: regular files only
* dln_find.c (dln_find_1): search regular files only. based on
the patch by Alex Coomans in [ruby-core:67766]. [Bug #10776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:56 AM Bug #10776 (Closed): Ruby Chooses Incorrect Load Path For rubygems.rb
Applied in changeset r49391.
----------
dln_find.c: regular files only
* dln_find.c (dln_find_1): search regular files only. based on
the patch by Alex Coomans in [ruby-core:67766]. [Bug #10776]
nobu (Nobuyoshi Nakada)
10:48 AM Bug #10776: Ruby Chooses Incorrect Load Path For rubygems.rb
Alex Coomans wrote:
> 1. Ruby must be compiled without `--enable-shared`
Sorry, I misread this "without" as "with".
nobu (Nobuyoshi Nakada)
08:50 AM Bug #10776: Ruby Chooses Incorrect Load Path For rubygems.rb
It seems a very platform (OS, libc) dependent issue.
What's your OS, kernel version, and libc version?
nobu (Nobuyoshi Nakada)
08:40 AM Bug #10776 (Feedback): Ruby Chooses Incorrect Load Path For rubygems.rb
Sorry, it was my configuration miss, `--prefix=/` doesn't work for 2.0 and should be `--prefix=/.`.
So I can't reproduce it totally.
nobu (Nobuyoshi Nakada)
03:26 AM Bug #10776 (Assigned): Ruby Chooses Incorrect Load Path For rubygems.rb
It could reproduce only with 2.0, but not 2.1 or later.
~~~
$ (PATH=$HOME exec -a ruby ./ruby/2.0.0/bin/ruby -ve 'p RbConfig::CONFIG["configure_args"]')
ruby 2.0.0p617 (2015-01-22 revision 49382) [x86_64-linux]
<internal:gem_prelud...
nobu (Nobuyoshi Nakada)
03:02 AM Bug #10776 (Feedback): Ruby Chooses Incorrect Load Path For rubygems.rb
Alex Coomans wrote:
> The following conditions need to all be met:
> ...
I can't reproduce it with the latest 2.2
~~~
$ ls ~/ruby
2.2.0
$ (PATH=$HOME exec -a ruby ./ruby/2.2.0/bin/ruby -ve 'p RbConfig::CONFIG["configure_args"]')
...
nobu (Nobuyoshi Nakada)
10:56 AM Bug #10775 (Closed): "break" from a block with nested begin-rescue became impossible
Applied in changeset r49390.
----------
vm_insnhelper.c: break from nested rescue
* vm_insnhelper.c (vm_throw_start): search the target to break
from a block with nested rescue, from the nested blocks.
[ruby-core:67765] [Bug #10775...
nobu (Nobuyoshi Nakada)
10:56 AM Revision 0bbb396c (git): * 2015-01-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:56 AM Revision ad3b5d63 (git): dln_find.c: regular files only
* dln_find.c (dln_find_1): search regular files only. based on
the patch by Alex Coomans in [ruby-core:67766]. [Bug #10776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:28 AM Bug #10779: occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
lmh_users-groups@molconn.com wrote:
> I can post the script and sample input files if that would help.

Please do, thank you.

> ~~~
> -- C level backtrace information
> -------------------------------------------
> /usr...
normalperson (Eric Wong)
03:49 AM Bug #10779 (Closed): occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
Hello,
Below is the error output from a ruby script I have been running. I am reporting this for two reasons. The first is that the error is intermittent and the second is that I don't get this error with ruby 1.9. The script gets ca...
LMHmedchem (LMH medchem)
01:24 AM Bug #10778 (Feedback): `defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
nobu (Nobuyoshi Nakada)
12:22 AM Bug #10778 (Rejected): `defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
defined? is an operator not a method, its operand is defined as the expressions to its right.
It does not even require a space: `defined?a`
So `defined?(a)` should be equivalent to `defined? (a)` instead of `(defined? a)`
bughit (bug hit)

01/23/2015

08:17 PM Bug #10777 (Rejected): variable gets reset when passing a named argument to a function, if the name of this argument is the same as variable name
This is not Python ;)
= is assignment, or in method declarations indicates the default value for an argument.
So `func2(param="Goodbye")` is effectively the same as
param="Goodbye"
func2(param)
which makes the current be...
Eregon (Benoit Daloze)
08:10 PM Bug #10777 (Rejected): variable gets reset when passing a named argument to a function, if the name of this argument is the same as variable name
I have a function, say function1 that has a variable, named param with a value of true.
from this function I call another function, function2 with the following call:
function2(param=false)
During this call the value of param in funct...
ofayans (Oleg Fayans)
07:58 PM Misc #10754: Tiny optimisation of Set#include?
I didn't notice the old code being faster, and I don't see your
benchmark triggering GC. Perhaps it is related to memory size
(swapping or CPU cache misses) or power management
(CPU clock frequency adjustment, "turbo boost", etc...)...
normalperson (Eric Wong)
07:51 PM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
For what it's worth, this appears to be fixed in ruby-2.2.0-preview2. lukeasrodgers (Luke Rodgers)
06:38 PM Bug #10776 (Closed): Ruby Chooses Incorrect Load Path For rubygems.rb
### Problem
I believe this problem affects version 1.9.3 and up based on a git blame, but I haven't actually checked them.
The following conditions need to all be met:
1. Ruby must be compiled without `--enable-shared`
2. argv...
alexcoomans (Alex Coomans)
02:57 PM Revision 26d0a2a3 (git): vm_insnhelper.c: break from nested rescue
* vm_insnhelper.c (vm_throw_start): search the target to break
from a block with nested rescue, from the nested blocks.
[ruby-core:67765] [Bug #10775] [Fix GH-820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49390 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
01:54 PM Bug #10775 (Closed): "break" from a block with nested begin-rescue became impossible
"break" from a block with nested begin-rescue became impossible.
Example(it is valid on Ruby 2.2.0, 2.1.5):
~~~ruby
2.times do
begin
raise
rescue
begin
raise
rescue
break
end
end
end
~~...
misumi_rize (MISUMI Rize)
11:36 AM Bug #10774: Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
I've created a failing test for this. dmke (Dominik Menke)
11:08 AM Bug #10774 (Closed): Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
Using this example: https://github.com/ruby/ruby/blob/ruby_2_2/lib/uri/mailto.rb#L257-L259
Ruby 2.2.0:
~~~
$ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
$ ruby -ruri -e 'puts UR...
dmke (Dominik Menke)
11:01 AM Revision e567f351 (git): marshal.c: indetity tables
* marshal.c (w_object, marshal_dump): use indetity tables for
arbitrary VALUE keys, because of performance of FLONUM.
[Bug #10761]
* marshal.c (obj_alloc_by_klass, marshal_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
10:26 AM Feature #10773: nested module should work in instance_eval
my ruby version:
~~~
roroco@roroco ~ $ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
~~~
my sys info:
~~~
roroco@roroco ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Descript...
roroco (roro co)
10:16 AM Feature #10773 (Rejected): nested module should work in instance_eval
see my code:
~~~
module M
module M2
end
end
class C
include M
def ivk_m2(*args, &blk)
M2
end
end
C.new.ivk_m2 # work
C.new.instance_eval do
meth_in_m # work
M2 # not work
end
~~~
and outp...
roroco (roro co)
08:14 AM Revision bb7830c7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:13 AM Revision 200b582f (git): benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
02:36 AM Revision 059ea6e4 (git): hash.c: move Hash specific functions
* hash.c (rb_ident_hash): move compare_by_identity specific
function from st.c.
* hash.c (rb_ident_hash_new): ditto from thread.c.
* st.c (st_numhash): remove ruby's Hash specific implementation.
* thread.c (recursive_list_access): ...
nobu (Nobuyoshi Nakada)
02:11 AM Revision 51efda1e (git): * 2015-01-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:11 AM Revision 1318ed39 (git): vcs.rb: fix after_export
* tool/vcs.rb (VCS#after_export): fix nesting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

01/22/2015

11:20 PM Feature #10772: Add ability to change rotated log file extention
See https://github.com/ruby/ruby/pull/818 for a solution. trevmex (Trevor Menagh)
11:18 PM Feature #10772 (Closed): Add ability to change rotated log file extention
This patch allows a logger to be created that has a custom date format
to the rotated log files when shift_age is set, instead of the hardcoded
value ("%Y%m%d"), like so:
Logger.new('foo.log', 1024000, '%Y-%m-%d')
Making this...
trevmex (Trevor Menagh)
02:39 PM Feature #7361: Adding Pathname#touch
Any way i can help? Salzig (Ben Rexin)
01:20 PM Misc #10757: Vagrant environment for MRI contributors
Clean up after the Tck/Tk installs. anthonycrumley (Anthony Crumley)
06:40 AM Misc #10757: Vagrant environment for MRI contributors
Nice catch on the Ubuntu version being old.
* Included patch by Nobu
* Updated Ubuntu to trusty64
* Added the Tcl/Tk dependency
* Removed nasty openssl hacks because trusty64 already has updated openssl
* Included a link to the De...
anthonycrumley (Anthony Crumley)
11:51 AM Bug #10633: OpenSSL RangeError on update
Backported into ruby_2_1 at r49383. nagachika (Tomoyuki Chikanaga)
11:51 AM Revision 2558571d (git): merge revision(s) r48923: [Backport #10633]
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. workaround of OpenSSL API
limitation. [ruby-core:67043] [Bug #10633]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nagachika (Tomoyuki Chikanaga)
10:19 AM Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
Masaki Kagaya wrote:
> ~~~ruby
> ...
Sounds like a bug of `String#each_char`, but maybe intensional.
> The one way of keeping consistency is change `ord` to return substitute code point such as 0xFFFD adopted by `scrub`.
Implicit...
nobu (Nobuyoshi Nakada)
01:12 AM Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
This issue comes from discussion about mruby's behavior (https://github.com/mruby/mruby/issues/2708). masakielastic (Masaki Kagaya)
01:09 AM Feature #10770 (Open): chr and ord behavior for ill-formed byte sequences and surrogate code points
`ord` raises error when meeting ill-formed byte sequences, thus the difference of atttiute exists between `each_char` and `each_codepoint`.
~~~ruby
str = "a\x80bc"
str.each_char {|c| puts c }
# no error
str.each_codepoint {|c| pu...
masakielastic (Masaki Kagaya)
09:22 AM Bug #10735: Memory leak in openssl ossl_pkey_sign
Confirming the same with the current Ruby 2.2 (ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]):
~~~
{:count=>5, :heap_allocated_pages=>74, :heap_sorted_length=>75, :heap_allocatable_pages=>0, :heap_available_slots=>30164,...
tonci (Tonči Damjanić)
09:16 AM Bug #10668: Fix description for Zlib.crc32
ruby_2_0_0 r49382 merged revision(s) 49202. usa (Usaku NAKAMURA)
09:15 AM Revision eec0044d (git): merge revision(s) 49202: [Backport #10668]
* ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:11 AM Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX
ruby_2_0_0 r49381 merged revision(s) 49148. usa (Usaku NAKAMURA)
09:10 AM Revision 8c519e28 (git): merge revision(s) 49148: [Backport #9917]
* test/ruby/test_io.rb: added timeout for AIX environment.
[ruby-core:62983][Bug #9917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:06 AM Revision a80f7f05 (git): * ChangeLog: tabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:05 AM Revision aa56ab4a (git): * tool/redmine-backporter.rb (find_svn_log): use double quotes instead
of single quotes because cmd.exe doesn't handle them.
* tool/redmine-backporter.rb (done): the 2nd element of matched data
is the offset of the end of matched string, not length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@493...
U.Nakamura
09:02 AM Bug #10692: there is no response body with HEAD request (fixed at r49105)
ruby_2_0_0 r49378 merged revision(s) 49104,49105. usa (Usaku NAKAMURA)
08:31 AM Revision acdab5fd (git): merge revision(s) 49104,49105: [Backport #10692]
* test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD method.
* lib/net/http.rb (Net::HTTP#send_request): there is no response body
with HEAD request. Patch by...
U.Nakamura
07:58 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Committed as r49376. Scary regression, sorry for the breakage :x normalperson (Eric Wong)
07:49 AM Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Applied in changeset r49376.
----------
fix flonum hashing regression from r45384
* st.c (st_numhash): mix float value for flonum
* hash.c (rb_any_hash): ditto
* benchmark/bm_hash_aref_flo.rb: new benchmark
* benchmark/bm_hash_ident_fl...
Anonymous
12:58 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
Eric Wong <normalperson@yhbt.net> wrote:
> normalperson@yhbt.net wrote:
> > patch (also attached):
> > http://80x24.org/spew/m/flonum-hash-fixup-r45384-v1@r49365.txt
>
> NAK. "gem install <anything>" seems to infinite loop with t...
normalperson (Eric Wong)
12:08 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
normalperson@yhbt.net wrote:
> patch (also attached):
> http://80x24.org/spew/m/flonum-hash-fixup-r45384-v1@r49365.txt

NAK. "gem install <anything>" seems to infinite loop with this.
normalperson (Eric Wong)
07:49 AM Revision 8341ca05 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:48 AM Revision 6d56fd06 (git): fix flonum hashing regression from r45384
* st.c (st_numhash): mix float value for flonum
* hash.c (rb_any_hash): ditto
* benchmark/bm_hash_aref_flo.rb: new benchmark
* benchmark/bm_hash_ident_flo.rb: ditto
[Bug #10761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49376 ...
Eric Wong
06:50 AM Misc #10742: segmentation fault error while running ruby project
any update please geeta.kasar@gmail.com (Geetanjali Kasar)
05:50 AM Feature #10771 (Closed): An easy way to get the source location of a constant
For constants, it is difficult to get the source location where it was (last) defined. I request either of the following to be implemented:
* Tracepoint emits a signal when a constant is defined.
* Implement a `Constant` class (simil...
sawa (Tsuyoshi Sawada)
02:47 AM Bug #10671: Update documentation for literal syntax to reflect the fact that symbols are GC-ed
ruby_2_2 r49375 merged revision(s) 49056. naruse (Yui NARUSE)
02:47 AM Revision b5e22aa1 (git): merge revision(s) 49056: [Backport #10671]
* doc/syntax/literals.rdoc (Symbols): now Symbols created by
interpolation can be garbage collected. patch by Yihang Ho in
[ruby-core:67194]. [Bug #10671]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
naruse (Yui NARUSE)
02:46 AM Bug #10689: `unexpected break' occurs when TracePoint#binding is called
ruby_2_2 r49374 merged revision(s) 49266. naruse (Yui NARUSE)
02:46 AM Revision 0ee6afe2 (git): merge revision(s) 49266: [Backport #10689]
* eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
change throw mechanism (not save target ep, but save target cfp).
It fixes `unexpected break' bug that occurs when
TracePoint#binding is called.
[...
naruse (Yui NARUSE)
01:49 AM Bug #10767 (Rejected): Time.local doesn't raise an exception during the dead hour on DST
Sometimes an application needs a time object near the given arguments even if the time object doesn't represent the arguments exactly.
It is especially useful for DST and leap second because an application cannot expect DST and leap sec...
akr (Akira Tanaka)
12:35 AM Feature #10769 (Closed): Negative counterpart to Enumerable#slice_when
It seems to me that most useful cases of `Enumerable#slice_when` involve a negative condition inside the block. That observation seems to be confirmed by the official examples in http://docs.ruby-lang.org/ja/2.2.0/method/Enumerable/i/sl... sawa (Tsuyoshi Sawada)
12:14 AM Revision c73f2d28 (git): rmdirs.bat: remove last "."
* win32/rmdirs.bat: remove last "." since rmdir fails to remove it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:14 AM Revision aee73bd6 (git): * 2015-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:14 AM Revision 000c0792 (git): common.mk: reorder clean
* common.mk (clean): clean local at last, and remove enc/trans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom