Activity
From 04/07/2015 to 04/13/2015
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"`
-
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.
-
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... -
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... -
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... - 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
-
03:53 PM Revision 9bf416ba (git): Fix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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... -
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 -
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 - 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
- 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 ... -
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.
-
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.
-
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... - 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 ... -
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 ... -
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... -
08:26 AM Bug #10832: while loop segmentation fault
- see #10546.
- 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 -
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. -
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.
- 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... -
08:02 AM Bug #10813: Fix intermittent SIGBUS on Linux (fixed at r49452)
- ruby_2_1 r50289 merged revision(s) 49452.
- 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... -
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-... -
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 -
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 -
07:52 AM Bug #10946: need a WB for klass -> origin. (r49875)
- ruby_2_1 r50285 merged revision(s) 49875.
- 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 -
07:49 AM Bug #10970: Backport r49867
- ruby_2_1 r50284 merged revision(s) 49867.
-
07:49 AM Bug #10847: SystemStackError after NameError prepends a module
- ruby_2_1 r50284 merged revision(s) 49867.
- 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... -
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.
- 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 -
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 -
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.
-
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.
-
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. -
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
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
-
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 -
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 -
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 #=> []
~~~
-
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
~~~ -
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...
-
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 -
04:01 PM Bug #11047: SEGV in ruby_yyparse
- r49964 and r50265 were backported into `ruby_2_2` branch at r50277.
-
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.
-
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.
-
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 ... -
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:... -
03:47 PM Bug #10923: Bug in io/wait/wait.c
- Backported into `ruby_2_2` branch at r50276.
-
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... -
03:42 PM Bug #10847: SystemStackError after NameError prepends a module
- Backported into `ruby_2_2` branch at r50275.
-
03:42 PM Bug #10970: Backport r49867
- Backported into `ruby_2_2` branch at r50275.
-
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... -
03:11 PM Bug #10946: need a WB for klass -> origin. (r49875)
- Backported into `ruby_2_2` branch at r50274.
-
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 - 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
-
03:05 PM Bug #10960: libffiのビルドの不具合?
- r49007, r49009 and r49957 were backported into `ruby_2_2` branch at r50272.
-
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... -
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
-
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... -
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 -
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 - 08:39 AM Revision 4cab5c0c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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 -
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 ... -
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 -
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 -
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 -
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 -
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] -
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... -
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 -
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
-
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
-
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 -
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 -
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 -
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 -
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... - 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... -
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
-
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 -
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 -
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 -
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... -
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
-
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 -
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
-
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 - 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
-
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 - 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 -
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
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
- 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
-
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 -
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 -
09:41 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
- Is it any more info I can provide? :)
-
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 -
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
-
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
-
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
-
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 - 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 -
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... -
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 -
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... -
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...
-
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... -
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
-
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.
-
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... -
07:34 AM Revision 3d246824 (git): simplified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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
-
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 -
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
-
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... -
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
-
05:37 AM Bug #9360 (Third Party's Issue): IO.dup problems in binary ruby
- The github issue of rvm is already closed.
-
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. -
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 -
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. -
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... -
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 -
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 -
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
04/10/2015
-
11:22 PM Revision 600d5273 (git): * lib/rdoc/text.rb: removed duplicated code.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 PM Feature #11056 (Closed): [PATCH] lib/net/*: use io/wait methods instead of IO.select
- 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
hi... -
09:06 PM Feature #11044 (Closed): [PATCH] lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock - Applied in changeset r50219.
----------
lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock
Exceptions are noisy in debug output and waste allocations.
Use "exception: false" introduced in 2.1 to return symbols for
comm... - 09:05 PM Revision 39e2f04e (git): * 2015-04-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:05 PM Revision db2ff03b (git): lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock
- Exceptions are noisy in debug output and waste allocations.
Use "exception: false" introduced in 2.1 to return symbols for
common errors instead.
Follow-up commits will be prepared to reduce EOFError exceptions
to further quiet debug ou... -
05:00 PM Bug #11030: Ruby 2.2.1 fails to compile with hardened GCC
- Uh... Sorry for delay! Somewhy I didn't get email notification from your redmine :(
So, I'm not sure, if this is exactly what you asked about (if it is not — I'd be happy to provide output of any gdb command you tell ;) ), but here it... -
02:58 PM Bug #11054 (Closed): ruby won't build on OS X 10.5 — fgetattrlist() not available
- Applied in changeset r50218.
----------
dir.c: getattrlist on OSX 10.5
* dir.c (need_normalization): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054] -
04:13 AM Bug #11054 (Closed): ruby won't build on OS X 10.5 — fgetattrlist() not available
- [Revision 49303](https://bugs.ruby-lang.org/projects/backport22/repository/revisions/49303/diff/dir.c) added a use of the fgetattrlist() function from OS X.
The function fgetattrlist() was added in OS X 10.6 (darwin10). As a result, r... -
02:57 PM Revision 9e459f7a (git): dir.c: getattrlist on OSX 10.5
- * dir.c (need_normalization): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Revision b75b040e (git): Use more shorter filenames to avoid sockaddr_un size limitation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 PM Revision f168f23f (git): mkmf.rb: werror of try_cppflags
- * lib/mkmf.rb (try_cppflags): set werror flag as same as cflags
and ldflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Revision aceb11df (git): mkmf.rb: fix werror option
- * lib/mkmf.rb (try_compile): pass the given werror flag to try_do
to check if stderr is empty.
* lib/mkmf.rb (try_cflags, try_ldflags): default werror to true.
* win32/Makefile.sub (WERRORFLAG): remove useless option. VC does
not ma... -
11:52 AM Revision 6f636ada (git): Use shorter filenames to avoid sockaddr_un size limitation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 AM Revision 0ad3abe1 (git): * test/ruby/test_file_exhaustive.rb: Test socket.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 AM Revision adabc801 (git): * test/objspace/test_objspace.rb: remove debug prints.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:38 AM Revision 7f75a1a8 (git): * ext/objspace/objspace.c: add ObjectSpace.count_imemo_objects method
- to count imemo objects for each type.
* test/objspace/test_objspace.rb: add a test.
* NEWS: describe about this addition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 AM Revision deab7157 (git): * test/ruby/test_file_exhaustive.rb: Test anonymous pipe.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:32 AM Revision dec74151 (git): * test/ruby/test_file_exhaustive.rb: Test named pipe.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:13 AM Revision 1a688f00 (git): * ext/objspace/objspace.c (setup_hash): unify common routine.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:45 AM Revision ff381ca1 (git): * process.c (rb_execarg_parent_start1): Handle EINTR.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:36 AM Bug #11055 (Closed): autoload resets private_constant
- Is this behavior intentional?
Suppose the following file:
~~~
$ cat a/b.rb
class A; B = 1; end
~~~
This causes `NameError`.
~~~
$ ruby -I. -e 'class A;autoload :B, "a/b.rb"; private_constant :B; end' -e 'p A::B'
-e:2:in ... -
08:32 AM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
- Sorry for long absent.
I fixed it.
Idea is given by wanabe-san.
https://twitter.com/wannabe53/status/578555803445035009
-
08:29 AM Bug #10724 (Closed): [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
- Applied in changeset r50206.
----------
* vm.c (vm_exec): check other events when RETURN is thrown.
[Bug #10724]
* test/ruby/test_settracefunc.rb: add a test. -
08:29 AM Revision 93df5a0a (git): * vm.c (vm_exec): check other events when RETURN is thrown.
- [Bug #10724]
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:37 AM Revision 9a968078 (git): * win32/Makefile.sub (WERRORFLAG): typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 AM Revision 1eff125f (git): Fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:44 AM Revision 54264f53 (git): ext/date: reject unknown compiler option
- * ext/date/extconf.rb: check warnings.
* lib/mkmf.rb (try_cflags): pass options to try_compile.
* win32/Makefile.sub (WERRORFLAG): make unknown command line
options an error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50203 b2d... -
02:04 AM Bug #10583 (Rejected): Process.spawn stalls forever opening named pipes (fifo)
- After thinking while, I decided to reject this issue.
Invoke spawn() in a thread for this usage: Thread.new { spawn(command, :in => fifo_path) }
Accepting this issue needs spawn() use fork() system call instead of vfork() system call... -
01:02 AM Revision 14d10e05 (git): test_addrinfo.rb: relax memory usage criterion
- * test/socket/test_addrinfo.rb (test_marshal_memory_leak): relax
the criterion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/09/2015
- 11:03 PM Revision f4037937 (git): * test/ruby/test_process.rb: unfortunately, windows is not POSIX...
- cygwin has mkfifo command, but it does not affect system-wide.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:21 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
- I have attached a patch for `Monitor` that should prevent this issue.
-
05:19 PM Revision 79f940cd (git): * test/ruby/test_process.rb: Use mkfifo command instead of mknod
- command to create a named file. mkfifo commandis defined by POSIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:59 PM Bug #11045: ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
- Nobuyoshi Nakada wrote:
> Or we need a standard way to isolate this kind of tests.
That's not a bad idea, actually. I will split the Linux-specific regression part into a separate test. JRuby uses excludes to mask tests, so that will... - 04:33 PM Revision 2441d70f (git): * 2015-04-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:33 PM Revision ce28a753 (git): * process.c: Release GVL when opening a file in spawn() to avoid whole
- process blocking when opening a named pipe.
(open_func): New function.
(rb_execarg_parent_start1): Extracted from rb_execarg_parent_start and
use rb_thread_call_without_gvl2 to release GVL when opening a file.
(rb_execarg_parent_... -
03:57 PM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
- @ko1, is this in your plans? Just asking so that I can find some time myself to have a look at it if you don't want or don't have the time to do it.
-
02:23 PM Revision 6cf4e97b (git): move debug functions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:47 PM Revision 990cc562 (git): * test/ruby/test_process.rb
- (TestProcess#test_execopts_redirect_open_order_{normal,reverse}): ignore tests
added by r50194 on Windows because ruby cannot pass non-standard fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50196 b2dd03c8-39d4-4d8f-98ff-823f... -
01:32 PM Bug #11053 (Feedback): cant run rake in the Ruby interpreter or extension libraries.
- Please report to issue detail.
-
01:05 PM Bug #11053 (Closed): cant run rake in the Ruby interpreter or extension libraries.
-
01:19 PM Revision 3bf92fb1 (git): * process.c (redirect_open): Removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 PM Revision f6b1dd28 (git): * internal.h (rb_execarg_parent_end): Declared.
- * process.c: "spawn" opens files in the parent process.
(check_exec_redirect): Add an placeholder for fd in parameters
for fd_open.
(check_exec_fds_1): Delete fd_open condition.
(check_exec_fds): Don't call check_exec_fds_1 with ... -
11:53 AM Revision 99605583 (git): * internal.h (rb_execarg_parent_start): Renamed from rb_execarg_fixup.
- * process.c: Follows the above change.
* io.c: Ditto.
* ext/pty/pty.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:35 AM Revision 00478a98 (git): * process.c (fd_clear_cloexec): Extracted from run_exec_dup2.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:06 AM Revision e98d4947 (git): ignore rake load error
- rake is not available until installation now, so skip rake
packagetask even if it cannot load until it is actually needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:01 AM Revision 2cbb3d82 (git): skip rake dependent tests
- rake is not available until installation now, so skip rake
dependent tests unless it can load.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:44 AM Feature #11049: Enumerable#grep_v (inversed grep)
- I didn't know/hear that.
@matz what do you think for now? - 12:30 AM Revision 9177eca3 (git): ccan/list/list.h: sync with ccan upstream
- This includes the following 5 commits from ccan upstream:
list: list_add_after and list_add_before functions
list: list_swap to exchange elements
list: new list_for_each{, _safe}_off_dir_ macros
list: add list_for_each_r...
04/08/2015
-
11:24 PM Bug #11051 (Closed): Addrinfo#marshal_load がメモリーリーク
- Applied in changeset r50187.
----------
raddrinfo.c: fix memory leak
* ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051] -
05:03 PM Bug #11051 (Closed): Addrinfo#marshal_load がメモリーリーク
- `Addrinfo#marshal_load` がメモリーリークしているように思います。
~~~diff
diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c
index e13684a..d838898 100644
--- a/ext/socket/raddrinfo.c
+++ b/ext/socket/raddrinfo.c
@@ -1643,6 +1643,7 @@ addri... - 11:24 PM Revision 17b78d07 (git): * 2015-04-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:24 PM Revision 816504c2 (git): raddrinfo.c: fix memory leak
- * ext/socket/raddrinfo.c (addrinfo_mload): fix memory leak of
addrinfo. [ruby-dev:48923] [Bug #11051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:18 PM Feature #11052 (Closed): [PATCH] Blockless Pathname#ascend and #descend return Enumerator
- It would be beneficial for blockless `Pathname#ascend` and `#descend`
to return an `Enumerator` (rather than raise a `LocalJumpError`).
Example use case of finding the Git root of the current directory:
~~~
git_dir = Pathname.new... -
08:34 PM Bug #10952: Clarify BigDecimal license
- Thanks a lot. Can this be backported or not?
-
07:21 AM Bug #10952: Clarify BigDecimal license
- Shigeo, original author of BigDecimal, allows me to change BigDecimal's license to ruby's.
I'd already changed it. -
07:19 AM Bug #10952 (Closed): Clarify BigDecimal license
- Applied in changeset r50185.
----------
* bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952] -
04:45 PM Feature #11049: Enumerable#grep_v (inversed grep)
- How is this proposal different from #9602? I thought that Matz had already suggested to modify `select`, and Sam Rawlins had implemented `select` and `reject`.
-
12:00 PM Feature #11049: Enumerable#grep_v (inversed grep)
- `invert` looks same as my proposal, `Regexp#!`.
-
11:42 AM Feature #11049: Enumerable#grep_v (inversed grep)
- Recursive Madman wrote:
> Benoit Daloze wrote:
> ...
```
class Regexp
def invert
self.class.new("[^(?:#{source})]")
end
end
%w(aaa bbb ccc).grep(/abc/) #=> []
%w(aaa bbb ccc).grep(/abc/.invert) #=> []
```
-
11:31 AM Feature #11049: Enumerable#grep_v (inversed grep)
- Benoit Daloze wrote:
> That only works for some regexps, I doubt there is a proper and well defined inverted regexp for any Regexp.
Could you provide an example that doesn't work?
-
11:22 AM Feature #11049: Enumerable#grep_v (inversed grep)
- grep(pattern, inverse: true) seems the least surprising to me.
But of course it does not buy much compared to #reject. -
11:21 AM Feature #11049: Enumerable#grep_v (inversed grep)
- Recursive Madman wrote:
> How about implementing `Regexp#invert` instead?
> ...
That only works for some regexps, I doubt there is a proper and well defined inverted regexp for any Regexp. -
11:18 AM Feature #11049: Enumerable#grep_v (inversed grep)
- How about implementing `Regexp#invert` instead?
```ruby
/b/.invert #=> /[^(?:b)]/
```
Like this for example:
```ruby
class Regexp
def invert
self.class.new("[^(?:#{source})]")
end
end
%w(aaa bbb ccc).grep(/b/... -
10:23 AM Feature #11049 (Closed): Enumerable#grep_v (inversed grep)
- sometime I want to do `grep -v` like operation:
%w(aaa bbb ccc).reject { |x| /b/ === x } #=> ["aaa", "ccc"]
We already have Enumerable#grep, so I propose to add Enumerable#grep_v.
%w(aaa bbb ccc).grep(/b/) #=> ["bbb"]
... -
01:49 PM Bug #11050 (Third Party's Issue): Segmentation fault in Ruby 2.2.1
- Seems like an issue of curb.
-
01:08 PM Bug #11050 (Third Party's Issue): Segmentation fault in Ruby 2.2.1
- I just did a git clone of curb and tried to do a rake install and I see it fails with segmentation fault all the time.
-
11:27 AM Bug #11042 (Rejected): Timezone boundary is different between versions 2.2.0 and 2.2.1
- GMT and BST are both valid for 2013-10-27 01:00:00 to 2013-10-27 01:59:59.
% zdump -v Europe/London|grep 2013
Europe/London Sun Mar 31 00:59:59 2013 UT = Sun Mar 31 00:59:59 2013 GMT isdst=0 gmtoff=0
Europe/London Sun Mar 31 01:00... -
10:12 AM Feature #10932: Enabling allocation tracing as early as possible
- Matz has no objection (except file name).
I have 2 concerns.
(1) file name
We alraedy have tracer.rb.
How about objspace/allocation_tracer.rb?
(not clear?)
(2) including ObjectSpace
Should not include.
-
08:45 AM Revision 119960dc (git): version.c: support RUBY_ENGINE_VERSION
- * version.c (Init_version): the version of the engine or
interpreter. [Fix GH-858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:18 AM Revision 8b9db31f (git): * bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:58 AM Revision d7abb533 (git): * win32/win32.c (rb_w32_wreadlink): should treat junctions like as
- symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:04 AM Revision 0d382f48 (git): * test/ruby/test_symbol.rb: fix syntax error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:01 AM Bug #11035 (Closed): Calling #hash method: inconsistency between dynamic and static symbols
- Applied in changeset r50182.
----------
hash.c: compare symbols by identities
* hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035] -
04:01 AM Revision 622193d3 (git): hash.c: compare symbols by identities
- * hash.c (rb_any_hash): Symbols are compared by the identities
always. [ruby-core:68767] [Bug #11035]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 AM Bug #11036 (Rejected): In iterlation, '#'(String) is gone
-
12:52 AM Bug #11036: In iterlation, '#'(String) is gone
- Oops. it's my fault. sorry!
plz delete this issue -
01:55 AM Bug #11047 (Closed): SEGV in ruby_yyparse
-
01:46 AM Bug #11045: ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
- Charles Nutter wrote:
> 3. Do we really want to be testing linux-specific crypt behavior?
I don't think we want, it's just an implementation regression test.
> ...
Or we need a standard way to isolate this kind of tests.
04/07/2015
-
11:14 PM Bug #11047: SEGV in ruby_yyparse
- I believe this already has been fixed, but not yet backported to 2.2. See #10957.
-
09:39 PM Bug #11047: SEGV in ruby_yyparse
- ps. originally discovered under 2.1.5
-
09:37 PM Bug #11047 (Closed): SEGV in ruby_yyparse
- Hello,
Please find attached half a dozen test cases that cause the ruby parser (either in a script or via `eval` as below) to throw a segmentation violation due to stack corruption. Using 2.2-head on Ubuntu 14.04.
To reproduce:
... -
09:51 PM Bug #11048 (Rejected): blocks raise on missing and extra keyword args
- blocks intentionally tolerate arity mismatches
```
irb(main):001:0> proc{|a, b| [a, b]}.(1)
[
[0] 1,
[1] nil
]
irb(main):003:0> proc{|a, b|[a, b]}.(1, 2, 3)
[
[0] 1,
[1] 2
]
```
so why not missing keyword a... -
09:28 PM Bug #11046 (Closed): __callee__ returns incorrect method name in orphan proc
- __callee__ returns incorrect method name in orphan proc.
```ruby
def foo
1.times{
p __callee__
}
proc{
__callee__
}
end
alias bar foo
pr = bar #=> :bar
GC.start
p pr.call #=> :foo
```
Reproduce on 2... -
08:36 PM Bug #11045 (Closed): ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
- I think we should just remove the glibc version guards in test_str_crypt in test/ruby/test_m17n_comb.rb.
1. JRuby can't determine glibc version without making a glibc-specific call (because we have no build-time configure script or si... -
07:39 PM Feature #11044 (Closed): [PATCH] lib/net/protocol.rb (rbuf_fill): avoid exception with read_nonblock
- Exceptions are noisy in debug output and waste allocations.
Use "exception: false" introduced in 2.1 to return symbols for
common errors instead.
Follow-up commits will be prepared to reduce EOFError exceptions
to further quiet deb... - 04:05 PM Revision ad470f1c (git): * 2015-04-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision 92c3c972 (git): rbinstall.rb: no post install messages
- * tool/rbinstall.rb: suppress post install messages of rdoc for
older ruby versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:05 PM Revision fdb3bbf1 (git): rbinstall.rb: $script_mode
- * tool/rbinstall.rb: set script files permission to $script_mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:28 PM Bug #11043 (Rejected): .rvm/gems/ruby-2.1.1/gems/json-1.8.2/lib/json/common.rb:67: [BUG] unknown type 0x22 (0xc given)
- ```
gem install watir-webdriver
Fetching: websocket-1.2.1.gem (100%)
Successfully installed websocket-1.2.1
Fetching: ffi-1.9.8.gem (100%)
Building native extensions. This could take a while...
Successfully installed ffi-1.9.8
Fe... -
02:44 PM Bug #11042 (Rejected): Timezone boundary is different between versions 2.2.0 and 2.2.1
- In Ruby 2.2.1 the timezone boundary for BST->GMT in the UK appears to be at 1am:
~~~
[1] pry ~ » Time.new(2013, 10, 27, 0, 59).localtime.dst?
true
[2] pry ~ » Time.new(2013, 10, 27, 1, 0).localtime.dst?
false
~~~
In Ruby 2.2... -
02:15 PM Bug #11041: Rake test task fails with LoadError when using Ruby version 2.2.1 [Mac OSX10.9]
- NB: The ruby version listed as ruby -v is incorrect. The correct value should be:
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14] -
02:11 PM Bug #11041 (Closed): Rake test task fails with LoadError when using Ruby version 2.2.1 [Mac OSX10.9]
- I have just started to use RVM and have installed ruby version 2.2.1. I have a test project whose Rake test task that I was successfully executing tests with the system version (2.0.0). When I then switch to 2.2.1 via RVM, the rake_test_...
-
01:58 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
- Aha, it seems that killing the thread releases the mutex lock directly, while the counter is not decreased. Is this something `Monitor` should be able to deal with?
-
12:41 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
- Attached what I think is the minimal test case.
-
12:09 PM Bug #11040: Mutex can be locked by multiple threads, causing Monitor to sometimes hang
- I attached a slightly simpler test case.
-
12:02 PM Bug #11040 (Closed): Mutex can be locked by multiple threads, causing Monitor to sometimes hang
- I have found a case where Monitor sometimes does not release the lock on its mutex where it should, because the internal counter is increased by another thread than the one holding it. From the trace it seems that `Mutex#lock` succeeds w...
-
12:40 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- Do we have a decision for this?
-
09:11 AM Bug #11039 (Closed): method_missing の *args 引数に symbol をキーにした hash だけを渡すと エラーとなる
- method_missing に 第3引数として キーワード引数を設定した上で、引数に symbol をキーにした Hash だけを渡すと
=> unknown keyword: a (ArgumentError)
となる。
※ 第3引数を付け足さなければエラーにならない。
引数が文字列をキーにした Hash であればエラーにならないため、キーが symbol でも Hash であるならば合わせた挙動であるべきではないでしょうか。 -
08:30 AM Bug #11038 (Feedback): regular expression fail
- Seems a backtrack explosion.
Is the `?` just after `\.` really intentional?
-
08:13 AM Bug #11038 (Closed): regular expression fail
- the following regexp seems to loop
`/^([A-Z0-9_%+-]+\.?)+[^.]@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i`
with "ec-mat-charles-perrault-voves-28@ac-orleans-tours"
you can test with:
~~~ruby
'ec-mat-charles-perrault-voves-28@ac-orleans-tour... -
06:59 AM Bug #11037 (Closed): Time Parse Documentation Incorrect - Undefined method getlocal
- According to:
http://ruby-doc.org/stdlib-2.2.1/libdoc/time/rdoc/Time.html
`Time#parse` can take a 2nd parameter:
> We can change the date used to infer our missing elements by passing a second object that responds to mon, day an... -
06:53 AM Bug #10632: 2.2rc1 Fails to Compile with Mingw64 NET_LUID
- This seems to have been fixed on the released version, so it can be closed.
-
02:44 AM Revision a4d29972 (git): intern.h: stale declarations
- * include/ruby/intern.h: remove stale declarations, which were
removed because of ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 AM Revision 1fa4cdf2 (git): * internal.h: fix typo. Patch by @sferik [fix GH-865]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 AM Bug #11036 (Rejected): In iterlation, '#'(String) is gone
- field `color` is hex code. ex) `#123123`
```erb
<% Product.all.each do |product| %>
<% byebug %>
<h4 style="background-color: <%= product.color # first called %>; color: <%= text_color_by_bg(product.color) %>"><%= product.name %>...