Project

General

Profile

Activity

From 04/11/2015 to 04/17/2015

04/17/2015

06:42 PM Feature #10740: Base64 urlsafe methods are not urlsafe
Will this be merged to 2.2?
JRuby issue blocked on merge to 2.2: https://github.com/jruby/jruby/issues/2815
headius (Charles Nutter)
01:18 PM Bug #11073 (Rejected): gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
nobu (Nobuyoshi Nakada)
01:16 PM Bug #11073: gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
Maybe this was the solution. I removed ruby, rubygems and bundler from my machine and reinstalled all components from the bottom. Now everything works just fine. I also updated the JSON package from version 1.8.1 to 1.8.2. Credo (Gregor Mitzka)
12:46 PM Bug #11073 (Feedback): gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
Gregor Mitzka wrote:
> ~~~
> ...
The executable binary file doesn't match with the gem path.
Is `/usr/bin/ruby` 2.2.0?
nobu (Nobuyoshi Nakada)
08:49 AM Bug #11073: gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
The log of the error is this one:
~~~
[ 2015-04-17 10:00:43.6397 8885/7f2fe078f700 App/Implementation.cpp:287 ]: Could not spawn process for application [edited]: An error occurred while starting up the preloader. It exited before si...
Credo (Gregor Mitzka)
08:46 AM Bug #11073 (Rejected): gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
Currently I am trying to get things started with Passenger and Apache 2 on a Ubuntu 14.4 LTS machine and ruby 2.2.0. Some errors I could fix but this on is tricky. The error says that there is a undefined symbol in the `parser.so`, but `... Credo (Gregor Mitzka)
05:07 AM Revision c35aa935 (git): tkutil.c: revert r48250
* ext/tk/tkutil/tkutil.c (Init_tkutil): TkUtil::CallbackSubst and
TkUtil::CallbackSubst::Info need the default allocator.
[ruby-list:50115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision 684fe92d (git): nofree.c: Bug::String.nofree
* ext/-test-/string/nofree.c: new method for test of r50334.
[ruby-core:68436] [Bug #10942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 AM Revision b3626b3e (git): string.c: expand heap
* string.c (str_buf_cat): expand the heap buffer at making
str independent, not only just copying.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 AM Bug #10942 (Closed): Suspected memory leak
Applied in changeset r50334.
----------
string.c: clear NOFREE flag at embedding
* string.c (STR_SET_EMBED): clear NOFREE flag at embedding as
embedded strings no longer refer static strings.
[ruby-core:68436] [Bug #10942]
nobu (Nobuyoshi Nakada)
02:52 AM Bug #10942: Suspected memory leak
Thank you, it's very helpful. nobu (Nobuyoshi Nakada)
01:44 AM Bug #10942: Suspected memory leak
Thanks, I have a fix, but the usage of STR_NOFREE seems dangerous from str_new_static
http://80x24.org/spew/m/b2ff0de539643b27d1bf3e0ebe97bec2d85de2b4.txt
normalperson (Eric Wong)
12:39 AM Bug #10942: Suspected memory leak
I reduced the test case to
~~~ruby
require 'stringio'
require 'securerandom'
loop do
for i in 1..100
StringIO.new << SecureRandom.hex
end
GC.start
end
~~~
Can reproduce on trunk.
eugene (Eugene Pimenov)
02:58 AM Revision b8858232 (git): * 2015-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:58 AM Revision 26fa27fe (git): string.c: clear NOFREE flag at embedding
* string.c (STR_SET_EMBED): clear NOFREE flag at embedding as
embedded strings no longer refer static strings.
[ruby-core:68436] [Bug #10942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/16/2015

10:00 PM Feature #11072: [PATCH] connect_nonblock(..., exception: false) does not raise EISCONN
nobu/matz: any comment on just this patch? thanks.
akr: thanks for the comment, I will leave the second connect_nonblock call in socket.rb
normalperson (Eric Wong)
07:42 AM Feature #11072: [PATCH] connect_nonblock(..., exception: false) does not raise EISCONN
Eric Wong wrote:
> This is to reduce exceptions for code which issues a (IMHO,
> ...
It is a good idea.
> Personally, I never bother issuing a second connect() syscall
> ...
I think it will affect applications.
akr (Akira Tanaka)
02:33 AM Feature #11072 (Closed): [PATCH] connect_nonblock(..., exception: false) does not raise EISCONN
This is to reduce exceptions for code which issues a (IMHO,
unnecessary) second connect() syscall.
I'll update ext/socket/lib/socket.rb to reduce exceptions on
:connect_timeout if this is accepted.
Personally, I never bother issu...
normalperson (Eric Wong)
02:28 PM Revision 982a9d8e (git): marshal.c: class name encoding
* marshal.c (r_object0): preserve the encoding of the class name
in an error message, in the case of USRMARSHAL without
marshal_load method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 PM Revision 0ea135d1 (git): marshal.c: class name encoding
* marshal.c (r_object0): preserve the encoding of the class name
in an error message, in the case of USERDEF without _load
singleton method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 PM Revision 53e4fb8c (git): marshal.c: class name encoding
* marshal.c (r_object0): preserve the encoding of the class name
in an error message, in the case of no _load_data method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:46 PM Revision bdf16df3 (git): marshal.c: class name encoding
* marshal.c (w_object): preserve the encoding of the class name in
an error message, in the case of no _dump_data method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:43 AM Revision 2c1c5570 (git): marshal.c: class name encoding
* marshal.c (w_object): preserve the encoding of the class name in
an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:29 AM Revision c5e9beac (git): thread.c: class name encoding
* thread.c (thread_s_new): preserve the encoding of the class name
in an error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:51 AM Bug #11071: Stack consistency error while using RSpec and Timecop
Reproduced with the trunk.
~~~ruby
class E
def initialize(&proc)
@proc = proc
end
def run(a)
@proc.call
end
def to_proc
method(:run).to_proc
end
end
class T
def doit
yield nil
end
...
nobu (Nobuyoshi Nakada)
02:04 AM Bug #11069 (Closed): Backport r50218
Thank you for your notice. I'll handle this.
I'll close this ticket because stable branch maintainers watch 'Closed' tickets which has 'REQUIRED' in Backport field.
nagachika (Tomoyuki Chikanaga)

04/15/2015

08:31 PM Bug #11070: Can't launch rails after upgrading to v.2.2.0
Chris Rollins wrote:
> Nobuyoshi Nakada wrote:
> ...
scrollins (Chris Rollins)
07:40 PM Bug #11070: Can't launch rails after upgrading to v.2.2.0
Nobuyoshi Nakada wrote:
> > ~~~
> ...
Sorry, I'm a newbie to Ruby. What is the issue here? I uninstalled/reinstalled ruby and I'm getting the same issue. Looks like a lib is from 2.1 and not compatible with 2.2? How do I resolve?
scrollins (Chris Rollins)
05:17 AM Bug #11070 (Rejected): Can't launch rails after upgrading to v.2.2.0
> ~~~
> ...
An extension library for 2.1.0.
nobu (Nobuyoshi Nakada)
02:36 AM Bug #11070 (Rejected): Can't launch rails after upgrading to v.2.2.0
After upgrading ruby to v 2.2.0, rails server no longer will launch. I've created other rails application with the same error. I also run rake commands and get the same error. scrollins (Chris Rollins)
08:17 PM Revision 962909f0 (git): NEWS: note IO#wait_readable change in r50263
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
08:11 PM Revision b90ad8a2 (git): lib/net/*: use io/wait methods instead of IO.select
io/wait is expected to work on any platform where sockets are
supported. io/wait methods uses fewer allocations and uses
ppoll internally under Linux for better performance on
high-numbered FDs.
[ruby-core:35572] describes the performa...
Eric Wong
03:26 PM Bug #11071: Stack consistency error while using RSpec and Timecop
There are two interesting things I've noticed about this:
1. It does not happen on 2.1, so it appears to be a regression in 2.2.
2. It appears to be related to `to_proc`. If you change @jcoglan's example to use an around hook like t...
myronmarston (Myron Marston)
01:46 PM Bug #11071 (Closed): Stack consistency error while using RSpec and Timecop
I have this Gemfile:
```ruby
source 'https://rubygems.org'
ruby '2.2.2'
gem 'rspec'
gem 'timecop'
```
producing this Gemfile.lock:
```
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.2.5)
rspec (3....
jcoglan (James Coglan)
03:01 PM Revision dc3c2496 (git): * 2015-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision ae58aa72 (git): fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:59 PM Revision 6f70e7e8 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:44 AM Revision 3004c29a (git): * vm_trace.c (rb_tracepoint_new): fix documentation.
Commented by @emilsoman.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:40 AM Revision 0e788995 (git): * vm_trace.c (rb_tracepoint_new): Add documentation for
rb_tracepoint_new C level API [ci skip]
Provided by @emilsoman. [fix GH-869]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:34 AM Feature #11066: symbol.to_s performance - caching and returning a frozen string
I tried it and found some libraries (ostruct.rb at least) depend on the current behavior. nobu (Nobuyoshi Nakada)
01:37 AM Revision d9a2b348 (git): * doc/contributors.rdoc: fix a typo. Patch by @davydovanton
[fix GH-872][ci skip]
* doc/syntax/methods.rdoc: ditto.
* ext/digest/sha2/sha2.c: ditto.
* ext/socket/ipsocket.c: ditto.
* ext/tk/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

04/14/2015

11:34 PM Bug #10702: Constant look up inconsistency with constants defined in included modules
>I don't get why X::B works though as it is not within X and therefor does not get to take advantage of X's ancestry lookup.
It is through ancestry. Among other things, including A in X includes A's constants in X. (see the documentat...
Anonymous
03:06 PM Bug #10702: Constant look up inconsistency with constants defined in included modules
Kelly Stannard wrote:
> ~~~
> ...
Okay, so I re-reading the blog post a 5th time, I think I get that "`module X; B; end`" is using ancestry and not lexical, which would explain why "`module X; module Y; B; end; end`" fails. I don't get...
kwstannard (Kelly Stannard)
02:34 PM Bug #10702: Constant look up inconsistency with constants defined in included modules
Edit: go ahead and skip the rest of this post. Leaving because I don't believe in deleting responses.
I think that it should be found in the lexical lookup. Let me try explaining this again. My understanding of getting nested constant...
kwstannard (Kelly Stannard)
11:26 PM Revision 14ec77d1 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:25 PM Revision 98544c37 (git): * doc/extension.ja.rdoc: Added description of TypedData_XXX.
Deprecated the old DATA_XXX.
Reviewed by ko1 and nobu.
Fixes [ruby-dev:40881] #3064
* doc/extension.rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:35 PM Bug #11030 (Closed): Ruby 2.2.1 fails to compile with hardened GCC
Applied in changeset r50316.
----------
thread_pthread.c: keep sp safe zone
* thread_pthread.c (reserve_stack): keep sp safe zone to get rid
of crash by -fstack-check. [ruby-core:68740] [Bug #11030]
nobu (Nobuyoshi Nakada)
08:30 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
Oh, and yes, adding `-fstack-check` to the CFLAGS even on non-Hardened system/toolchain reproduce the error ;)
P.S. As for now, latest Ruby-2.1 release is affected too!
mva (Vadim A. Misbakh-Soloviov)
04:52 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
By the way, I just found (with help of the downstream's Ruby team), that adding `-fno-stack-check` to the `CFLAGS` makes it to build fine (and miniruby don't segafults). But I think, it is not the good way to solve this problem :-/
mva (Vadim A. Misbakh-Soloviov)
10:35 PM Revision 9be9e9c0 (git): * 2015-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:34 PM Revision 78c75612 (git): thread_pthread.c: keep sp safe zone
* thread_pthread.c (reserve_stack): keep sp safe zone to get rid
of crash by -fstack-check. [ruby-core:68740] [Bug #11030]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:36 PM Bug #11069 (Closed): Backport r50218
Please backport r50218 to 2.2. PvpDJgHP (William Thomas NELSON)
06:31 PM Bug #11068 (Closed): unable to ommit an optional keyarg if the previous arg is an optional hash
```
irb(main):001:0> def foo(hash = {}, a: nil); [hash, a] end
=> :foo
irb(main):002:0> foo({b: 1}, a: 1)
=> [{:b=>1}, 1]
irb(main):003:0> foo({b: 1})
ArgumentError: unknown keyword: b
from (irb):1:in `foo'
from (irb):3
from ...
bughit (bug hit)
02:36 PM Bug #10954: FreeBSD 9.1でコンパイルできない(libprocstatのチェックに漏れがある)
Backported into `ruby_2_2` branch at r50315. nagachika (Tomoyuki Chikanaga)
03:46 AM Bug #10954: FreeBSD 9.1でコンパイルできない(libprocstatのチェックに漏れがある)
Yamada さん。
申し訳ありません、この修正が見落とされていたので2.2.2には取り込まれていません。2.2.3までにパックポートします。
nagachika (Tomoyuki Chikanaga)
03:06 AM Bug #10954: FreeBSD 9.1でコンパイルできない(libprocstatのチェックに漏れがある)
失礼します。こちら、Ruby 2.2.2には反映されていないのでしょうか? ciel (T Yamada)
02:35 PM Revision 08eae7c1 (git): merge revision(s) 49930: [Backport #10954]
* configure.in: check also procstat_getvmmap, which is not
available on FreeBSD 9. [ruby-core:68468] [Bug #10954]
* vm_dump.c (procstat_vm): use kinfo_getvmmap instead if
procstat_getvmmap is not available.
...
nagachika (Tomoyuki Chikanaga)
02:29 PM Revision 03687d1c (git): bump version to 2.2.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
07:05 AM Revision cdf0a92c (git): * tool/merger.rb (versionup): should also increment revision when
changing teeny.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:02 AM Revision 116ec560 (git): * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:51 AM Feature #11034: Nil Conditional
Hi again !
I've made new attempt to create nil conditional operator (https://github.com/nil-conditional). This is Ruby implementation, you can check it out here: https://github.com/grzesiek/nil-conditional/blob/master/lib/nil_conditio...
grzesiek (Grzegorz Bizon)
03:36 AM Revision 760ae4a8 (git): win32ole.c: use rb_sym2str
* ext/win32ole/win32ole.c: use rb_sym2str when the result strings
will not be modified.
* ext/win32ole/win32ole_event.c: ditto.
* ext/win32ole/win32ole_record.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50311 b2dd03c...
nobu (Nobuyoshi Nakada)
03:36 AM Revision 659f14b2 (git): tkutil.c: fallback rb_id2str
* ext/tk/tkutil/tkutil.c (rb_id2str): add fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision 0b2554fe (git): tkutil.c: use rb_sym2str
* ext/tk/tkutil/tkutil.c (rb_sym2str): use rb_sym2str always but
not rb_sym_to_s, and fallback to rb_id2str and SYM2ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision da4942c9 (git): ostruct.rb: match Symbol itself
* lib/ostruct.rb (method_missing): get rid of creating temporary
string object for method name, match Symbol itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 AM Revision 2df3e8de (git): vm_backtrace.c: use rb_id2str
* vm_backtrace.c (location_base_label): convert ID to string
directly, and the return value is frozen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:31 AM Revision 523ecd29 (git): use frozen string of symbols
* range.c (range_step, range_each): String#upto should never
modifies the receiver, use frozen strings to enumerate symbols.
* re.c (reg_operand): matching target is not modified.
* ext/socket/constants.c (constant_arg): str_to_int n...
nobu (Nobuyoshi Nakada)
03:16 AM Bug #10960: libffiのビルドの不具合?
こちらの不具合については2.2.2で修正されていることを確認しました。ありがとうございました。 ciel (T Yamada)
02:25 AM Bug #11065 (Closed): Ruby 2.2.2 fails to build on Cygwin64: static function, utoa, in ext/-test-/printf/printf.c has different signature in system stdlib.h.
Applied in changeset r50305.
----------
printf.c: uint_to_str
* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
conflict on cygwin. [ruby-core:68877] [Bug #11065]
nobu (Nobuyoshi Nakada)
02:25 AM Revision 3dba6dab (git): printf.c: uint_to_str
* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
conflict on cygwin. [ruby-core:68877] [Bug #11065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Revision d1fb37bc (git): process.c: initgroups on cygwin
* process.c (initgroups): not declared on cygwin if _POSIX_SOURCE
or _XOPEN_SOURCE are defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:01 AM Feature #11067 (Closed): Add documentation to ObjectSpace.count_objects
Applied in changeset r50303.
----------
* gc.c: [DOC] Improve documentation for ObjectSpace.count_objects
with regards to `:TOTAL` key, with patch by @schneems [Fixes GH-871]
https://github.com/ruby/ruby/pull/871 [Bug #11067] [ci skip]
zzak (zzak _)
12:01 AM Revision 9075d3ef (git): * gc.c: [DOC] Improve documentation for ObjectSpace.count_objects
with regards to `:TOTAL` key, with patch by @schneems [Fixes GH-871]
https://github.com/ruby/ruby/pull/871 [Bug #11067] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)

04/13/2015

11:37 PM Bug #10735: Memory leak in openssl ossl_pkey_sign
I've applied the patch to a branch, if you're on Ruby 2.2 you can try it out by adding this to your Gemfile:
`gem "openssl", github: "ruby/openssl", branch: "ruby-bug-10735"`
zzak (zzak _)
11:21 PM Feature #11067 (Closed): Add documentation to ObjectSpace.count_objects
Add examples and mention that the `:TOTAL` key returns the number of allocated + freed slots (rather than bytes). Also add an example for passing in a hash as an argument.
schneems (Richard Schneeman)
10:18 PM Bug #10702: Constant look up inconsistency with constants defined in included modules
I don't remember the details of the article, but if it is truly implying that the opening of D should have access to any constant accessible from C, then the article is wrong. But I don't think it is implying that.
>either I should no...
Anonymous
08:33 PM Feature #11066 (Rejected): symbol.to_s performance - caching and returning a frozen string
Hi, this is my first report so please bear with me if its bad.
Symbol.to_s creates a new string upon every call. This seems to be a huge waste of time. In typical Rails applications, "to_json" is called hundreds of times for ActiveRec...
rdsubhas (Subhas Dandapani)
08:04 PM Bug #11065 (Closed): Ruby 2.2.2 fails to build on Cygwin64: static function, utoa, in ext/-test-/printf/printf.c has different signature in system stdlib.h.
Hello,
While attempting to build Ruby 2.2.2 on Cygwin (x86_64), I got the following error:
~~~
make[2]: Entering directory '/home/bnd/ext/cc/build/cygwin64/ruby-2.2.2/ext/-test-/printf'
compiling printf.c
printf.c:23:1: error: c...
orderthruchaos (Brett DiFrischia)
03:53 PM Revision 6b162ccf (git): * 2015-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:53 PM Revision 9bf416ba (git): Fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:43 PM Feature #10949: Time is WB unprotected
Koichi Sasada wrote:
> If there is a non-bug, perfect patch, it is welcome.
The problem is that understanding what WB-protecting objects really entails is close to impossible. I've read README.ext time and time again, but really do n...
sylvain.joyeux (Sylvain Joyeux)
01:46 PM Revision 3024fc23 (git): * test/lib/envutil.rb (File.mkfifo): Defined using mkfifo command.
* test/ruby/test_io.rb: Ditto.
* test/ruby/test_file_exhaustive.rb: Use File.mkfifo.
* test/ruby/test_process.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:25 PM Feature #11057: Gemify JSON
is that ticket really closed, when the changes got reverted a revision later?
it was not a direct version later but it was done at r50267 so i think the ticket should be open again
Hanmac (Hans Mackowiak)
01:23 PM Revision 2067e39e (git): * version.h: bump to 2.1.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:20 PM Revision e3252606 (git): merge revision(s) 50292: [Backport #9644]
* ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
following RFC 6125. with the patch provided by Tony Arcieri and
Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
* test/openssl/test_ssl.rb: add ...
U.Nakamura
01:16 PM Bug #9644: ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
ruby_2_0_0 r50294 merged revision(s) 50292. usa (Usaku NAKAMURA)
01:15 PM Bug #9644: ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
Backported into `ruby_2_2` branch at r50293. nagachika (Tomoyuki Chikanaga)
01:09 PM Bug #9644 (Closed): ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
Applied in changeset r50292.
----------
* ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
following RFC 6125. with the patch provided by Tony Arcieri and
Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
* test/openssl/t...
nagachika (Tomoyuki Chikanaga)
01:16 PM Revision 329ab042 (git): merge revision(s) 50292: [Backport #9644]
* ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
following RFC 6125. with the patch provided by Tony Arcieri and
Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
* test/openssl/test_ssl.rb: add ...
U.Nakamura
01:13 PM Revision 15edfd96 (git): merge revision(s) 50292: [Backport #9644]
* ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
following RFC 6125. with the patch provided by Tony Arcieri and
Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
* test/openssl/test_ssl.rb: add ...
nagachika (Tomoyuki Chikanaga)
01:09 PM Revision 599bfa72 (git): * ext/openssl/lib/openssl/ssl.rb: stricter hostname verification
following RFC 6125. with the patch provided by Tony Arcieri and
Hiroshi Nakamura [ruby-core:61545] [Bug #9644]
* test/openssl/test_ssl.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50292 b2dd03c8-39d4-4d8f...
nagachika (Tomoyuki Chikanaga)
08:26 AM Bug #10832: while loop segmentation fault
see #10546. usa (Usaku NAKAMURA)
08:25 AM Revision cef3b0a8 (git): * tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note
without the ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:13 AM Bug #11062 (Third Party's Issue): Bug when creating a scaffold
First, please attach a plain text.
> ~~~
> ...
You mix static ruby and an extension library linked against 2.0.0 shared library.
nobu (Nobuyoshi Nakada)
08:10 AM Bug #10865: FileUtils.mv doesn't rename windows directories across volumes/partitions.
ruby_2_1 r50290 merged revision(s) 49634,49658,49663. usa (Usaku NAKAMURA)
08:10 AM Revision 9462778d (git): merge revision(s) 49634,49658,49663: [Backport #10865]
* win32/win32.c (wrename): return EXDEV if moving a directory to
another drive, since MoveFileExW does not set proper error code.
[ruby-core:68162] [Bug #10865]
* win32/win32.c (different_device_p): compare b...
U.Nakamura
08:02 AM Bug #10813: Fix intermittent SIGBUS on Linux (fixed at r49452)
ruby_2_1 r50289 merged revision(s) 49452. usa (Usaku NAKAMURA)
08:02 AM Revision 99fdb0a7 (git): merge revision(s) 49452: [Backport #10813]
* thread_pthread.c (reserve_stack): fix intermittent SIGBUS on
Linux, by reserving the stack virtual address space at process
start up so that it will not clash with the heap space.
[Fix GH-822]
git-svn-id...
U.Nakamura
07:54 AM Revision 8d6fbbe8 (git): variable.c: const_update
* variable.c (autoload_delete): no longer delete const entry
itself.
* variable.c (autoload_const_set, rb_const_set): update const
entry instead of adding after removal.
* variable.c (const_update): extract from rb_const_set.
git-...
nobu (Nobuyoshi Nakada)
07:54 AM Revision 3124d55a (git): variable.c: setup_const_entry
* variable.c (setup_const_entry): extract rb_const_entry_t setup
from rb_const_set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 AM Revision 93891049 (git): variable.c: ensure
* variable.c (rb_autoload_load): prefer rb_ensure than rb_protect
for rollback.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:52 AM Bug #10946: need a WB for klass -> origin. (r49875)
ruby_2_1 r50285 merged revision(s) 49875. usa (Usaku NAKAMURA)
07:52 AM Revision 4f0e238f (git): merge revision(s) 49875: [Backport #10946]
* class.c (rb_prepend_module): need a WB for klass -> origin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:49 AM Bug #10970: Backport r49867
ruby_2_1 r50284 merged revision(s) 49867. usa (Usaku NAKAMURA)
07:49 AM Bug #10847: SystemStackError after NameError prepends a module
ruby_2_1 r50284 merged revision(s) 49867. usa (Usaku NAKAMURA)
07:48 AM Revision 602edc0c (git): merge revision(s) 49867: [Backport #10847] [Backport #10970]
* vm_eval.c (vm_call_super): search next super class from the
original class, to get rid of infinite recursion with
prepending. a patch by Seiei Higa <hanachin AT gmail.com> at
[ruby-core:68434]. [ruby-cor...
U.Nakamura
07:42 AM Bug #10957: seg fault in ruby_yyparse () at parse.y:2105 (null ptr / stack overflow)
ruby_2_1 r50283 merged revision(s) 50265. usa (Usaku NAKAMURA)
07:41 AM Revision 48526735 (git): merge revision(s) 50265: [Backport #10957]
* parse.y (arg): fix segfault by null caused by syntax error.
[ruby-core:68851] [Bug #10957]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:40 AM Revision 41d87e0a (git): fake.rb.in: suppress warning
* template/fake.rb.in: suppress "assigned but unused variable"
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:11 AM Bug #10948: When cross-compiling Ruby 2.2.1 for Win32, securerandom.rb fails while trying to use Win32 native libraries
The patch was applied to ruby_2_2 branch at r50281. nagachika (Tomoyuki Chikanaga)
04:11 AM Bug #10995: 2.2.1 fails at make install with mingw-w64 on archlinux
The patch was applied to `ruby_2_2` branch at r50281. nagachika (Tomoyuki Chikanaga)
01:39 AM Bug #10995 (Closed): 2.2.1 fails at make install with mingw-w64 on archlinux
I will merge the patch to `ruby_2_2`. It seems that securerandom is refactored in trunk and this issue doesn't exist in trunk.
I close this ticket and fill `Backport` field.
nagachika (Tomoyuki Chikanaga)
04:10 AM Revision c620acac (git): * lib/securerandom.rb: skip Win32 libraries in SecureRandom if
OpenSSL::Random is available.
https://github.com/ruby/ruby/pull/848 [Bug #10948] [Bug #10995]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)

04/12/2015

11:25 PM Revision b52e206e (git): * 2015-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:25 PM Revision 2ec2c601 (git): fake.rb.in: expand builddir first
* template/fake.rb.in (builddir): expand __FILE__ first which may
contain symblic links.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:24 PM Revision c2d50318 (git): fake.rb.in: suppress warning
* template/fake.rb.in: suppress "useless use of a literal in void
context" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:35 PM Bug #11064 (Closed): #singleton_methods for objects with special singleton_class returns an empty array
~~~
def nil.bla
42
end
# works
nil.bla #=> 42
nil.singleton_method(:bla) #=> #<Method: NilClass#bla>
NilClass.instance_methods.include? :bla #=> true
# does not work
nil.singleton_methods #=> []
~~~
rbjl (Jan Lelis)
07:50 PM Bug #11063 (Rejected): Special singleton class should return true for singleton_class? test
This seems wrong (or at least inconsistent):
~~~
nil.singleton_class.singleton_class? #=> false
true.singleton_class.singleton_class? #=> false
false.singleton_class.singleton_class? #=> false
~~~
rbjl (Jan Lelis)
07:36 PM Feature #10152: String#strip doesn't remove non-breaking space
There is an issue not only for non-breaking space, but also for other unicode spaces, see #7845. For example (excerpt from rails String#squish testcase) `%{\u205f\u3000 A string surrounded by various unicode spaces, with tabs(\t\t), newl... ojab (ojab ojab)
06:01 PM Bug #11062 (Third Party's Issue): Bug when creating a scaffold
[BUG] Segmentation fault at 0x00000000000418
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14
*Full error lot attached
sstrnad (Stephen Strnad)
04:01 PM Bug #11047: SEGV in ruby_yyparse
r49964 and r50265 were backported into `ruby_2_2` branch at r50277. nagachika (Tomoyuki Chikanaga)
04:01 PM Bug #10957: seg fault in ruby_yyparse () at parse.y:2105 (null ptr / stack overflow)
r49964 and r50265 were backported into `ruby_2_2` branch at r50277. nagachika (Tomoyuki Chikanaga)
01:48 PM Bug #10957: seg fault in ruby_yyparse () at parse.y:2105 (null ptr / stack overflow)
It seems that r50265 is necessary for ruby_2_1. nagachika (Tomoyuki Chikanaga)
12:12 AM Bug #10957: seg fault in ruby_yyparse () at parse.y:2105 (null ptr / stack overflow)
This bug is still present in ruby 2.3.0dev (2015-04-11 trunk 50237) [x86_64-linux]. The test case in this instance is 6 bytes. Running ruby -e '0..%w.' should trigger it.
test00-min:1: unterminated string meets end of file
Program ...
geeknik (Brian Carpenter)
04:00 PM Revision 54eb4c19 (git): merge revision(s) 49964,50265: [Backport #11047] [Backport #10957]
* parse.y (primary): empty parentheses at cmdarg can be null.
[ruby-core:68477] [Bug #10957]
* parse.y (arg): fix segfault by null caused by syntax error.
[ruby-core:68851] [Bug #10957]
git-svn-id: svn+ssh:...
nagachika (Tomoyuki Chikanaga)
03:47 PM Bug #10923: Bug in io/wait/wait.c
Backported into `ruby_2_2` branch at r50276. nagachika (Tomoyuki Chikanaga)
03:46 PM Revision 1cc6f363 (git): merge revision(s) 49797: [Backport #10923]
* ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
Thanks to Yura Sokolov <funny.falcon@gmail.com>
[ruby-core:68369] [Bug#10923]
* test/io/wait/test_io_wait.rb (test_nread_buffered):
fi...
nagachika (Tomoyuki Chikanaga)
03:42 PM Bug #10847: SystemStackError after NameError prepends a module
Backported into `ruby_2_2` branch at r50275. nagachika (Tomoyuki Chikanaga)
03:42 PM Bug #10970: Backport r49867
Backported into `ruby_2_2` branch at r50275. nagachika (Tomoyuki Chikanaga)
03:41 PM Revision 54dc1cf1 (git): merge revision(s) 49867: [Backport #10847] [Backport #10970]
* vm_eval.c (vm_call_super): search next super class from the
original class, to get rid of infinite recursion with
prepending. a patch by Seiei Higa <hanachin AT gmail.com> at
[ruby-core:68434]. [ruby-cor...
nagachika (Tomoyuki Chikanaga)
03:11 PM Bug #10946: need a WB for klass -> origin. (r49875)
Backported into `ruby_2_2` branch at r50274. nagachika (Tomoyuki Chikanaga)
03:11 PM Revision 91ad9122 (git): merge revision(s) 49875: [Backport #10946]
* class.c (rb_prepend_module): need a WB for klass -> origin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:07 PM Revision 98c244c1 (git): * 2015-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Bug #10960: libffiのビルドの不具合?
r49007, r49009 and r49957 were backported into `ruby_2_2` branch at r50272. nagachika (Tomoyuki Chikanaga)
03:04 PM Revision 3195a2e8 (git): merge revision(s) 49007,49009,49957: [Backport #10960]
* ext/fiddle/extconf.rb: make PIC objects if it will be linked as
a shared object eventually. [ruby-core:67128]
* ext/fiddle/extconf.rb: needs --enable-shared when linked to
libruby or fiddle.so. since --wi...
nagachika (Tomoyuki Chikanaga)
02:31 PM Revision 732a26df (git): ChangeLog: fix log
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:22 PM Misc #11061 (Closed): doc/extension.ja.rdoc 査読依頼
doc/extension.ja.rdoc がTypedData_XXXではなくData_XXXにしか触れていないため,今なお新しい拡張ライブラリがData_XXXで作られ続けています.
このためドキュメントの当該部分を更新するつもりですが,GCに詳しい方に査読をお願いしたく思います.
doc/extension.rdoc (English)のほうはjaを元に査読後に作成する予定です.
草稿は下記にあります.(日本語)
* https://gist.g...
yugui (Yuki Sonoda)
09:40 AM Revision 1bc56698 (git): * ext/json/json.gemspec: bump version to 1.8.2.
* ext/json/lib/json/version.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:12 AM Revision 9829e91d (git): * ext/json/json.gemspec, lib/rdoc/rdoc.gemspec: added gemspec directly.
* defs/default_gems, tool/rbinstall.rb: removed default_gems definition.
it make simple installation for default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:39 AM Revision 4cab5c0c (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:36 AM Revision 2e4f0af0 (git): * ext/json/*, test/json/*: Reverted r50231. Because it's not works with
cross-compile environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:21 AM Bug #11060 (Closed): load(fifo) blocks whole process
fifo を load しようとすると、プロセス全体がブロックします。
以下では、0.1 秒毎に表示を行うスレッドを作っていますが、
0.5 秒後に load が呼ばれると表示が途切れます。
```
% mkfifo fifo.rb
% ls -l fifo.rb ...
akr (Akira Tanaka)
06:46 AM Revision 7b14512b (git): test_io_wait.rb: no EOF test
* test/io/wait/test_io_wait.rb (test_wait_eof): just test
timeout. follow r50263.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:35 AM Revision ee725321 (git): parse.y: null by syntax error
* parse.y (arg): fix segfault by null caused by syntax error.
[ruby-core:68851] [Bug #10957]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:14 AM Revision e40ab594 (git): * lib/rubygems/test_case.rb: use explicitly exception class and reverted
to require JSON library for rubygems tests with Ruby 2.2.0 or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:10 AM Revision a60e00fd (git): wait.c: no EOF
* ext/io/wait/wait.c (io_wait_readable): simply returns that IO is
readable without blocking, but no longer returns EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:09 AM Feature #4849 (Closed): io/wait should have a way to avoid FIONREAD
Applied in changeset r50262.
----------
wait.c: poll over nread
* ext/io/wait/wait.c (io_ready_p, io_wait_readable): try polling
first and check FIONREAD optionally to see if EOF.
[ruby-core:36805] [Feature #4849]
nobu (Nobuyoshi Nakada)
06:08 AM Revision 1baa57b0 (git): wait.c: poll over nread
* ext/io/wait/wait.c (io_ready_p, io_wait_readable): try polling
first and check FIONREAD optionally to see if EOF.
[ruby-core:36805] [Feature #4849]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50262 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
06:07 AM Revision a4f72744 (git): wait.c: fix rdoc
* ext/io/wait/wait.c (io_wait_writable): fix rdoc. no EOF to
write. retursn nil when timeout, not self.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:53 AM Revision 1cb21311 (git): * lib/rubygems/test_case.rb: fixed json load error for rubygems tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:22 AM Revision 2abf47bf (git): Test fifo without sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:19 AM Revision 1ed7fdf1 (git): * gc.c: Document require name for ObjectSpace methods.
[ci skip][fix GH-860] Patch by @schneems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
04:55 AM Revision 2eb3c2c5 (git): * test/ruby/test_io.rb: New test that open(fifo) doesn't block other
threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:52 AM Revision f662d31b (git): * ext/coverage/coverage.c: Remove extension from require argument.
[ci skip][fix GH-870] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:32 AM Revision 143a2817 (git): test_file_exhaustive.rb: assert_predicate
* test/ruby/test_file_exhaustive.rb: use assert_predicate and
assert_not_predicate for better failure messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:42 AM Feature #11024 (Closed): [PATCH] connect_nonblock supports "exception: false"
Applied in changeset r50254.
----------
connect_nonblock supports "exception: false"
This is for consistency with accept_nonblock arguments and gives a
minor speedup from avoiding exceptions.
[ruby-core:68838] [Feature #11024]
* ext/o...
Anonymous
01:41 AM Revision c18df6d8 (git): connect_nonblock supports "exception: false"
This is for consistency with accept_nonblock arguments and gives a
minor speedup from avoiding exceptions.
[ruby-core:68838] [Feature #11024]
* ext/openssl/ossl_ssl.c (ossl_ssl_connect_nonblock):
support `exception: false'
* (get_no_e...
Eric Wong
01:33 AM Revision 525d2102 (git): Consider more block devices.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:26 AM Revision a062d71b (git): test_file_exhaustive.rb: NTFS
* test/ruby/test_file_exhaustive.rb (NTFS): flag for test of NTFS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:22 AM Revision 640ad73b (git): test_file_exhaustive.rb: POSIX-like tests
* test/ruby/test_file_exhaustive.rb: define POSIX-like filesystem
depenedent tests only on POSIX-like systems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:13 AM Revision c305a5aa (git): test_file_exhaustive.rb: POSIX
* test/ruby/test_file_exhaustive.rb (POSIX): flag for test of
POSIX-like filesystems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:03 AM Revision fe294d75 (git): test_file_exhaustive.rb: skip when root
* test/ruby/test_file_exhaustive.rb (test_owned_p): skipt when
running as super user.
* test/ruby/test_file_exhaustive.rb (test_stat_owned_p): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50249 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
12:57 AM Revision 2722cb9c (git): * test/ruby/test_file_exhaustive.rb: Test a block device on GNU/Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:53 AM Revision b850ec46 (git): wait.c: wait_for_single_fd
* ext/io/wait/wait.c (wait_for_single_fd): extract wrapper
function of rb_wait_for_single_fd().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:24 AM Revision 77ea0461 (git): * test/ruby/test_file_exhaustive.rb: Test a file not owned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:24 AM Revision f7dca1d7 (git): wait.c: get_timeout
* ext/io/wait/wait.c (get_timeout): extract function to get
timeout value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 AM Revision 2c292588 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:10 AM Revision 606274b5 (git): * ext/fiddle/depend: Fix "Wrong mix of special targets" error with
OpenBSD make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:06 AM Revision a2d19564 (git): * test/ruby/test_file_exhaustive.rb: Windows doesn't support Unix file
modes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:01 AM Revision a96034cf (git): * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

04/11/2015

11:52 PM Revision d51b836f (git): * test/ruby/test_file_exhaustive.rb: Test suid, sgid and sticky file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:32 PM Revision 240cc564 (git): * 2015-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:31 PM Revision 3cb0c6e3 (git): rbinstall.rb: destdir
* tool/rbinstall.rb (gem): use installed ruby under destdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:32 PM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
Great! Thanks a lot to both for the fix.
I'd like this backported to 2.0 and 2.1, too, if possible
deivid (David Rodríguez)
09:41 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
Is it any more info I can provide? :) mva (Vadim A. Misbakh-Soloviov)
02:48 PM Revision df7aac7c (git): * template/fake.rb.in: Don't assign baseruby, Because it's affect to
Makefile of native gem like json on bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:34 PM Revision 28ca0b0f (git): * file.c (rb_f_test): Consider nsec for "=", "<" and ">" for "test"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:32 PM Revision cd06ce2e (git): * ext/json, test/json: removed empty directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:26 PM Revision d2664732 (git): * tool/rbinstall.rb: support destdir for native extention gem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:49 PM Revision 42e149c9 (git): mkmf.rb: fix VC failures
* lib/mkmf.rb (xsystem): assume all warnings go to stderr but not
stdout. cl.exe always prints input file names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:03 PM Revision 7c9e01d3 (git): * test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_socket_p): r50226 accidentally missed
the guard for non-unix environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:15 AM Feature #11057 (Closed): Gemify JSON
Applied in changeset r50231.
----------
* ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.
[fix GH-867][Feature #11057]
* test/ruby/test_extlibs.rb: removed json gem from existence extentions.
* gems/bundled_gems: adde...
hsbt (Hiroshi SHIBATA)
03:16 AM Feature #11057 (Rejected): Gemify JSON
I gemified JSON library.
* https://github.com/ruby/ruby/pull/867
* https://travis-ci.org/ruby/ruby/builds/58038547
This issue is related with #5481
hsbt (Hiroshi SHIBATA)
11:14 AM Revision cfaddc2a (git): * ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.
[fix GH-867][Feature #11057]
* test/ruby/test_extlibs.rb: removed json gem from existence extentions.
* gems/bundled_gems: added json gem into bundled gem.
* lib/rdoc/rubygems_hook.rb: ignored no json environment.
* lib/rubygems/test_cas...
hsbt (Hiroshi SHIBATA)
09:50 AM Bug #11059 (Closed): When saving a hash to YAML or JSON the default value isn't stored
I tried to serialize/save a hash to a YAML file, with YAML.dump. My hash has a default value set in. When I read the hash back with YAML.load, the default value is lost, because it wasn1t stored in the YAML file. I experienced the same i... Anonymous
09:00 AM Bug #11058 (Closed): [PATCH] Net::HTTPResponse#read_body raises TypeError when receiving empty gzipped response body
Following code raises TypeError.
~~~ruby
require 'net/http'
def dummy_io(str)
str = str.gsub(/\n/, "\r\n")
Net::BufferedIO.new(StringIO.new(str))
end
io = dummy_io(<<EOS)
HTTP/1.1 200 OK
Connection: close
Content-Enco...
ktsj (Kazuki Tsujimoto)
09:00 AM Revision 8e7b572d (git): Delay signal bit more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:47 AM Feature #11056: [PATCH] lib/net/*: use io/wait methods instead of IO.select
v2 patch with experimental IO#wait_readable(.., wait_only: bool)
to avoid FIONREAD.
normalperson (Eric Wong)
02:06 AM Feature #11056: [PATCH] lib/net/*: use io/wait methods instead of IO.select
`test-all` failed on OSX.
~~~
1) Failure:
HTTPSProxyTest#test_https_proxy_authentication [/Users/nobu/src/ruby/trunk/src/test/net/http/test_https_proxy.rb:42]:
exceptions on 1 threads:
#<Thread:0x00000101990758@/Users/nobu/src/r...
nobu (Nobuyoshi Nakada)
07:34 AM Revision 3d246824 (git): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:22 AM Revision 7ca24e0b (git): refactored to make code consistent around sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:06 AM Revision aed411d5 (git): reorder invocations in test_stat_init.
This doesn't change actual behavior because hardlinkfile invokes regular_file.
This change make it more explicit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:57 AM Revision 29de8ed4 (git): * test/ruby/test_file_exhaustive.rb: Create sample files lazily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:52 AM Bug #11020: Ruby 2.1.5 crashing when running rails 3.2.21
Looks to me like this can be closed. The crash report hints that the poppler gem was to blame for this crash and it looks like Ben has addressed this with the poppler folks here: https://github.com/ruby-gnome2/ruby-gnome2/issues/361
B...
jwilmot (Jeremy Wilmot)
05:53 AM Bug #9644: ssl hostname verification security bug: verify_certificate_identity wildcard matching allows to much
It looks like this is fixed with https://github.com/ruby/openssl/commit/e9a7bcb8bf2902f907c148a00bbcf21d3fa79596 which is related to https://bugzilla.redhat.com/show_bug.cgi?id=1209981 hansdegraaff (Hans de Graaff)
05:37 AM Bug #9360 (Third Party's Issue): IO.dup problems in binary ruby
The github issue of rvm is already closed. akr (Akira Tanaka)
05:15 AM Bug #10111 (Rejected): gdbm truncated UTF-8 data problem
gdbm (and dbm) doesn't record encoding.
So, current behavior is natural and not a bug, I think.
akr (Akira Tanaka)
05:04 AM Revision 7156deb5 (git): * test/ruby/test_file_exhaustive.rb: Test character device using
/dev/null.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:13 AM Feature #11024: [PATCH] connect_nonblock supports "exception: false"
I see, no problems then.
As a side note, the benchmark failed unless `host` is "127.0.0.1" on OSX.
nobu (Nobuyoshi Nakada)
01:48 AM Feature #11024: [PATCH] connect_nonblock supports "exception: false"
Seems working fine, but my results don't look better, on Ubuntu 14.10
on VirtualBox on OS X.
nr = 5000 | user | system | total | real
-----------------|----------:|----------:|----------:|-----------:
defau...
nobu (Nobuyoshi Nakada)
02:01 AM Revision 335cd8ab (git): mkmf.rb: fix syntax errors
* lib/mkmf.rb (append_cppflags, append_cflags, append_ldflags):
fix missing parentheses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:00 AM Revision bb96ab6f (git): mkmf.rb: methods to append flags
* lib/mkmf.rb (append_cppflags, append_cflags, append_ldflags):
utility methods to append compiler options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Revision 1b1a0bda (git): README.md: fix inline markups
* README.md, README.ja.md: don't break inside inline markups.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom