Project

General

Profile

Activity

From 06/07/2015 to 06/13/2015

06/13/2015

10:06 PM Bug #11259 (Closed): Ruby crash when no TTY and pod install
~~~
Trigger script exited with code: 15 /usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.2/lib/cocoapods/executable.rb:84: [BUG] Segmentation fault at 0x00000000000000
~~~
ochervak (Ostap Chervak)
09:26 PM Revision 7151598d (git): * test/ruby/test_io.rb: add test for IO.binread fd leak.
See r50881.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:25 PM Revision 0ebf2afa (git): * io.c (rb_io_s_binread): close fd if seek offset is invalid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
07:42 PM Revision b1e064fc (git): * test/lib/leakchecker.rb (check): refactor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
07:41 PM Revision c4dba390 (git): * test/lib/leakchecker.rb: Return false for no leaks.
Otherwise the GC could run for nothing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
07:17 PM Revision 3f2d575f (git): * lib/delegate.rb: [DOC] Update SimpleDelegator example. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
06:44 PM Feature #11256: anonymous block forwarding
```ruby
# takes a block
def bar
# forwards it to foo without instantiating a proc
foo(1, &)
end
```
bughit (bug hit)
06:36 PM Bug #11048: blocks raise on missing and extra keyword args
Yukihiro Matsumoto wrote:
> For example, `loop` method passes loop counter to the block. You can safely ignore this by arity tolerance. This is a reason behind it. But there's no benefit for keyword arguments tolerance, as far as I see,...
bughit (bug hit)
04:06 PM Bug #11048: blocks raise on missing and extra keyword args
For example, `loop` method passes loop counter to the block. You can safely ignore this by arity tolerance. This is a reason behind it. But there's no benefit for keyword arguments tolerance, as far as I see, but demerit of late error de... matz (Yukihiro Matsumoto)
06:36 PM Revision 0f1b6e46 (git): * 2015-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:34 PM Revision 4770fedf (git): * test/test_cmath.rb: Adding parens to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
03:34 PM Bug #11249 (Closed): Fix require paths for BigDecimal and io-console
Applied in r50860. vo.x (Vit Ondruch)
02:52 PM Bug #11060: load(fifo) blocks whole process
本筋ではないんですが、fstatのエラーを無視するように変えてしまっているのはいいんでしょうか kosaki (Motohiro KOSAKI)
12:53 PM Bug #11060: load(fifo) blocks whole process
Akira Tanaka wrote:
> fifo を load しようとすると、プロセス全体がブロックします。
I can't reproduce the same errors without correcting the typo (or I'm getting a `NameError: undefined local variable or method ```pi' for main:Object` in the threads).
Once...
cesario (Franck Verrot)
02:38 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Franck Verrot wrote:
> I'm not sure to fully understand why we make `Symbol` extend `Enumerable` rather than returning a new enumerator object
It's not "rather than". `Symbol.each` without a block will return an `Enumerator`, that we...
marcandre (Marc-Andre Lafortune)
11:04 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Thanks for the feedback - I'll take a stab and circle back. methodmissing (Lourens Naudé)
07:47 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
I don't against introduce Symbol.each for shortcut of Symbol.all_symbols.each.
However, For measurement purpose, we should introduce new measurement API into ObjectSpace because they have several types.
|immortal | mortal
...
ko1 (Koichi Sasada)
06:38 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Lourens Naudé wrote:
> Please find attached the changes as per Marc-Andre's suggestions. Exposes `Symbol.each` and extends with `Enumerable`
Hi Lourens,
I'm not sure to fully understand why we make `Symbol` extend `Enumerable` rat...
cesario (Franck Verrot)
01:06 PM Feature #11258 (Closed): add 'x' mode character for O_EXCL
I just saw #11253 which contains:
>But some modes has only integer form like O_CLOEXEC, O_EXCL.
However C11 added `x` to open a file for exclusive access. It's also supported by Python.
http://port70.net/~nsz/c/c11/n1570.html#7....
cremno (cremno phobia)
12:30 PM Revision 16f37446 (git): io.c: simplify rb_io_modestr_fmode
* io.c (io_encname_bom_p): needs len always.
* io.c (rb_io_modestr_fmode): check BOM only after a colon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:28 PM Revision c6e9425c (git): thread.c: indent
* thread.c (rb_thread_inspect): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 PM Revision 180ca79e (git): On Windows File::Stat#ino always returned 0, but
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:53 AM Revision f660681a (git): move a new feature to correct section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:50 AM Feature #11216 (Closed): inode for Windows
Applied in changeset r50871.
----------
add news about inode for Windows [Feature #11216]
naruse (Yui NARUSE)
11:50 AM Revision 0a550264 (git): add news about inode for Windows [Feature #11216]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:46 AM Revision 4ff07119 (git): * file.c (rb_stat_ino): get inode from the interval of struct st.
* win32/win32.c (stati64_set_inode): get nFilIndexHigh/Low, and set it
to the interval of struct st as inode.
* win32/win32.c (stati64_set_inode_handle): call stati64_set_inode.
* win32/win32.c (rb_w32_fstati64): call stati64_set_ino...
naruse (Yui NARUSE)
11:17 AM Revision 768bc8b8 (git): mark thread name string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:08 AM Bug #10852: TestObjSpace#test_dump_flags sometimes fails on mswin-CI
これ、ずっと考えてたんですが、
よく見ると major gc の時、old であっても、long_lived":true が外れることがあることがわかりました(それで正常)。
なので、テストを修正しようと思います。
trunk (2.3) と 2.2 では、微妙に違うので、2.2 についてはパッチ案を出そうと思います。
ko1 (Koichi Sasada)
10:58 AM Feature #11251 (Closed): Thread#name and Thread#name=
Applied in changeset r50868.
----------
add Thread.name and Thread.name= docs Feature #11251 [ci skip]
naruse (Yui NARUSE)
10:58 AM Revision e2a930c7 (git): add Thread.name and Thread.name= docs Feature #11251 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:47 AM Revision 9dcf6d9f (git): * ext/io/console/depend (.list.chksum): revert a part of r50859, because
it was not mentioned at its commit log and it caused a build error on
Windows ($(MAKE) is already quoted).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:46 AM Feature #11220 (Rejected): strptime(%6N)
%N で読めるからいらないかも naruse (Yui NARUSE)
08:56 AM Revision 29513dbc (git): sleep thread until assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:49 AM Revision 92ca9f06 (git): darwin can't set anothre thread's name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:42 AM Revision a34ca0c9 (git): suppress warning: ambiguous first argument; put parentheses or a space even after `/' operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:39 AM Revision 712a570f (git): * vm_core.h (rb_thread_t): add th->name.
* vm.c (th_init): initialize th->name.
* thread.c (Init_Thread): add Thread.name and Thread.name=.
* thread.c (rb_thread_inspect): show thread's name if set.
* thread.c (rb_thread_getname): defined.
* thread.c (rb_thread_setname): di...
naruse (Yui NARUSE)
07:54 AM Feature #10932: Enabling allocation tracing as early as possible
Aaron Patterson wrote:
> > Should not include.
> ...
I'm not sure we can restrict usage only to debugging.
ko1 (Koichi Sasada)
07:51 AM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Could you check it on the latest version? ko1 (Koichi Sasada)
07:41 AM Bug #11219 (Closed): bootstrap test failed on sparc Solaris since r50743
ko1 (Koichi Sasada)
02:40 AM Revision 654b90d3 (git): * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:38 AM Revision b7d3ec2f (git): * ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status.
[fix GH-932] Patch by @chrisholmes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:35 AM Revision 7c34b471 (git): * ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem.
[fix GH-929] Patch by @voxik
* ext/io/console/io-console.gemspec: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:59 AM Revision b031b387 (git): win32_vk.inc: suppress warnings
* ext/io/console/depend (win32_vk.inc): use offsetof() to suppress
warnings against cast from pointer to integer of different size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 AM Bug #11257 (Feedback): undefined symbol: rb_Digest_*_Init error when attempting to use digest/md5, digest/sha1, digest/sha2, and digest/ after building 2.2.2 form source.
Could you show `mkmf.log` file? nobu (Nobuyoshi Nakada)
12:19 AM Revision 37055f9d (git): envutil.rb: failure description
* test/lib/envutil.rb (assert_no_memory_leak): show detail failure
description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/12/2015

08:20 PM Bug #11257 (Closed): undefined symbol: rb_Digest_*_Init error when attempting to use digest/md5, digest/sha1, digest/sha2, and digest/ after building 2.2.2 form source.
I ran into this after building ruby-2.2.2 from the source tarball, under Linux, when I was upgrading from ruby 1.x.
~~~
ruby -rdigest/sha1 -e '1' -> ... 2.2.0/i686-linux/digest/sha1.so: undefined symbol: rb_Digest_SHA1_Init ...
ru...
alanjf (Alan J. F.)
08:18 PM Feature #11256 (Closed): anonymous block forwarding
since capturing a block into a proc is slow: foo(&block)
and creating chains of blocks is kind of ugly and ultimately also inefficient: foo{yield}
why not allow block forwarding without capturing: foo(&) foo(1, 2, &)
bughit (bug hit)
04:45 PM Bug #11048: blocks raise on missing and extra keyword args
Yukihiro Matsumoto wrote:
> so if you have any real-world use case that require keyword argument tolerance, just tell me.
The way I discovered this, as far as I remember, is:
I encountered a method I needed to call that yielded keyw...
bughit (bug hit)
01:00 PM Bug #11048: blocks raise on missing and extra keyword args
Yukihiro Matsumoto wrote:
> We don't care about consistency here. Block does not report ArgumentError for reasons,
What are those reasons? And why do they not apply to keyword arguments?
> ...
The real-world use case is that anyo...
bughit (bug hit)
09:14 AM Bug #11048: blocks raise on missing and extra keyword args
We don't care about consistency here. Block does not report ArgumentError for reasons, so if you have any real-world use case that require keyword argument tolerance, just tell me. Otherwise I reject.
Matz.
matz (Yukihiro Matsumoto)
03:49 PM Feature #11007 (Closed): Prime.each.with_index should accept offset
marcandre (Marc-Andre Lafortune)
03:49 PM Feature #11007: Prime.each.with_index should accept offset
Committed, thank you very much for the patch.
Found a small bug, btw, it's important to pass arguments to `enum_for`. Maybe you started from `with_object` that had the same problem (even worse there, since that argument is mandatory!)...
marcandre (Marc-Andre Lafortune)
03:46 PM Feature #9108: Hash sub-selections
Since `Hash#slice` wouldn't really play well polymorphically with `Array#slice`, and it feels (to me at least) a bit odd to have `Hash#select` returning an enumerator if the parameter is an array while `Enumerable#select` would fail on t... pabloh (Pablo Herrero)
07:33 AM Feature #9108: Hash sub-selections
I prefer use of `Hash#select`, but in form of `hash.select([:foo, :bar])`, since it may consume too much stack region, besides that `hash.select(*arg)` could work differently when `arg=[]`. It would cause confusion.
Matz.
matz (Yukihiro Matsumoto)
03:45 PM Revision b28f3e5c (git): * lib/prime.rb: Return sized enumerators.
Patch by Kenichi Kamiya [GH-931]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
03:45 PM Revision 5b78e48c (git): * lib/prime.rb: Fix with_object with no block given
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:45 PM Revision 2689fd67 (git): * 2015-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision dd8f914d (git): * lib/prime.rb: Have with_index accept an offset parameter.
Based on patch by T Yamada. [#11007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
03:11 PM Feature #11253: rb_io_modestr_oflags for Ruby API
This issue is discussed at DevelopersMeeting20150612Japan.
We found "flags" keyword argument would be better for the intent.
```
open(filename, "w", flags: File::EXCL)
open(filename, "w", flags: File::SHARE_DELETE)
```
The ar...
akr (Akira Tanaka)
08:18 AM Feature #11253 (Closed): rb_io_modestr_oflags for Ruby API
If you have a wrapper of IO.open, you may handle mode.
For example on Windows, you may want to add 'b' / OBINARY to given mode.
But some modes has only integer form like O_CLOEXEC, O_EXCL.
If so you need to convert from modestr to o...
naruse (Yui NARUSE)
03:09 PM Feature #11140: Allow rubygems' `require` to handle `autoload` calls
Any updates? usa (Usaku NAKAMURA)
03:06 PM Bug #11244: [BUG] rb_gc_mark(): 0x00000001f34020 is T_NONE
同一の原因かどうかわかりませんが、OS XのCIでもT_NONEな[BUG]が出ているようです。
( http://rubyci.blob.core.windows.net/osx1010/ruby-trunk/log/20150612T094501Z.fail.html.gz )
こちらも r50842 で追加されたテストで検出できるようになっただけで、原因はずっと以前に存在するものと思われます。
今のところ再現率100%らしいので、攻めるならこちらからでし...
usa (Usaku NAKAMURA)
02:45 PM Revision 7b91efd7 (git): * ext/date/date_core.c: Grammar fix found by @aiperon [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:23 PM Bug #11255 (Closed): dev系パッケージが入っていないときのテストのエラーが変
Applied in changeset r50852.
----------
fix error
* test/ruby/test_extlibs.rb (TestExtLibs::check_existence): fix
error. [Bug #11255] [ruby-dev:49079]
Anonymous
01:02 PM Bug #11255 (Closed): dev系パッケージが入っていないときのテストのエラーが変
dev 系パッケージが入っていないときの拡張ライブラリが require できるかどうかのテストのエラーが変です。
~~~
1) Error:
TestExtLibs#test_existence_of_fiddle:
ArgumentError: invalid byte sequence in US-ASCII
.../test/lib/test/unit/assertions.rb:455:in `sub'
.../test/l...
znz (Kazuhiro NISHIYAMA)
01:22 PM Revision e738b62d (git): fix error
* test/ruby/test_extlibs.rb (TestExtLibs::check_existence): fix
error. [Bug #11255] [ruby-dev:49079]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
01:22 PM Revision 3d4eca7b (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:02 PM Bug #11254 (Closed): [BUG] no corresponding cfp
Applied in changeset r50850.
----------
vm.c: break from orphan block
* vm.c (rb_vm_search_cf_from_ep): break from orphan block is
possible condition, but not [BUG].
[ruby-core:69548] [Bug #11254]
nobu (Nobuyoshi Nakada)
09:23 AM Bug #11254 (Closed): [BUG] no corresponding cfp
2.1以降、以下のコードが[BUG] rb_vm_search_cf_from_ep: no corresponding cfpになります。
~~~ruby
empty = Object.new
class << empty
attr_reader :block
def each(&block)
@block = block
self
end
end
empty.first
empty.block.call
~~~
nobu (Nobuyoshi Nakada)
01:01 PM Revision 3d980e16 (git): vm.c: break from orphan block
* vm.c (rb_vm_search_cf_from_ep): break from orphan block is
possible condition, but not [BUG].
[ruby-core:69548] [Bug #11254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:23 PM Feature #11215: pack/unpack for (u)intptr_t
Akira Tanaka wrote:
> パッチの中に /* j for intptr_t */ というコメントがふたつありますが、ひとつは J ですかね。
ご指摘の通りです。ありがとうございます。
usa (Usaku NAKAMURA)
12:23 PM Feature #11215 (Closed): pack/unpack for (u)intptr_t
Applied in changeset r50849.
----------
* pack.c (pack_{un,}pack): new template character `j` and `J`, pointer
with signed and unsigned integers.
* NEWS: mention bout this featre.
[Feature #11215] [ruby-dev:49015]
usa (Usaku NAKAMURA)
08:05 AM Feature #11215: pack/unpack for (u)intptr_t
English please, next time.
Both functionality and template character selection are OK.
Go ahead.
Matz.
matz (Yukihiro Matsumoto)
12:22 PM Revision dc0d502b (git): * pack.c (pack_{un,}pack): new template character `j` and `J`, pointer
with signed and unsigned integers.
* NEWS: mention bout this featre.
[Feature #11215] [ruby-dev:49015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:17 PM Feature #11218: File.open FILE_SHARE_DELETE
File::SHARE_DELETE で入れました。
シンボルによる指定は、自分でもいまいちだと思っていたのでオミットしています。
usa (Usaku NAKAMURA)
12:14 PM Feature #11218 (Closed): File.open FILE_SHARE_DELETE
Applied in changeset r50848.
----------
* file.c (File::SHARE_DELETE): new flag to be able to delete opened file
on Windows.
* include/win32/win32.c (O_SHARE_DELETE): new pseudo file mode flag.
* win32/win32.c (rb_w32_{w,}open): sup...
usa (Usaku NAKAMURA)
06:16 AM Feature #11218: File.open FILE_SHARE_DELETE
追加OKです。シンボルで指定するよりはFile::SHARE_DELETE(UNIXでは0)で指定したほうが良さそうな気がします。
シンボル指定を残すかどうかはお任せします。
Matz.
matz (Yukihiro Matsumoto)
12:14 PM Revision 2bc28020 (git): * file.c (File::SHARE_DELETE): new flag to be able to delete opened file
on Windows.
* include/win32/win32.c (O_SHARE_DELETE): new pseudo file mode flag.
* win32/win32.c (rb_w32_{w,}open): support above flag. [EXPERIMENTAL]
* NEWS: mention about this feature.
[Feature #11218] [ruby-dev:49022]
git-svn-...
U.Nakamura
09:21 AM Revision d6b8acac (git): * ChangeLog: added missing commit message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:20 AM Revision a45972f2 (git): * sample/exyacc.rb: Fix some typos.
* sample/list.rb: ditto.
* sample/trick2013/kinaba/remarks.markdown: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:13 AM Feature #11087 (Feedback): Method to retrieve {local,global,instance} variables as a Hash
ko1 (Koichi Sasada)
09:02 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
The patch does not seem to solve the reported issue.
Reconnecting HTTP connections still do not send an SNI.
I'm running ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] and checked using Wireshark.
mkarnebeek (Michiel Karnebeek)
08:58 AM Feature #11242: [PATCH] socket: alloa explicit buffer for recv and recv_nonblock
Looks good to me. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
08:52 AM Feature #11229: [PATCH] socket: allow exception-free nonblocking sendmsg/recvmsg
Looks good to me. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
08:38 AM Feature #9650 (Rejected): String#size versus String#length
Rejected. It's too confusing.
Matz.
matz (Yukihiro Matsumoto)
08:34 AM Feature #10017 (Closed): Add `Hash#fetch_values`
Applied in changeset r50845.
----------
hash.c: fetch_values
* hash.c (rb_hash_fetch_values): add `Hash#fetch_values`.
[Feature #10017] [Fix GH-776]
nobu (Nobuyoshi Nakada)
07:17 AM Feature #10017: Add `Hash#fetch_values`
#fetch_values approved.
Matz.
matz (Yukihiro Matsumoto)
08:34 AM Revision 86eaa245 (git): hash.c: fetch_values
* hash.c (rb_hash_fetch_values): add `Hash#fetch_values`.
[Feature #10017] [Fix GH-776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Feature #10769: Negative counterpart to Enumerable#slice_when
#chunk_while looks good to me. Go ahead.
Matz.
matz (Yukihiro Matsumoto)
08:19 AM Revision c54fb9ec (git): array.c: fix for enumerator
* array.c (rb_ary_bsearch_index): fix function typt to return
enumerator if no block given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:12 AM Feature #11252: Integrated "did_you_mean" gem to ruby-core
Approved. Go ahead and resolve issues related to merge.
Matz.
matz (Yukihiro Matsumoto)
08:01 AM Feature #11252 (Closed): Integrated "did_you_mean" gem to ruby-core
Matz hope to integrate "did_you_mean" gem to Ruby 2.3
We need to solve to following issues.
* integrate [interception](https://github.com/ConradIrwin/interception/) gem
* naming(better name for did_you_mean)
* bundled policy(s...
hsbt (Hiroshi SHIBATA)
08:04 AM Revision 3b3bc21b (git): test_nofree.rb: fix commit miss
* test/-ext-/string/test_nofree.rb (test_no_memory_leak): remove
limit and make the interation longer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:02 AM Revision d5a78c89 (git): test_nofree.rb: rehearsal
* test/-ext-/string/test_nofree.rb (test_no_memory_leak): add a
rehearsal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:40 AM Revision b63391de (git): array.c: typo
* array.c (rb_ary_bsearch_index): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:28 AM Feature #10730 (Closed): Implement Array#bsearch_index
Applied in changeset r50839.
----------
array.c: bsearch_index
* array.c (rb_ary_bsearch_index): Implement Array#bsearch_index
method, which is similar to bsearch and returns the index or
nil. [Feature #10730]
nobu (Nobuyoshi Nakada)
07:11 AM Feature #10730: Implement Array#bsearch_index
Sounds good. Go ahead, Nobu.
Matz.
matz (Yukihiro Matsumoto)
07:28 AM Revision 979eb19c (git): * 2015-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:28 AM Revision c64d283f (git): array.c: bsearch_index
* array.c (rb_ary_bsearch_index): Implement Array#bsearch_index
method, which is similar to bsearch and returns the index or
nil. [Feature #10730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50839 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
07:06 AM Feature #5455: $SAFE should be removed
CRuby 2.1 has removed $SAFE=4 which is half-baked sandboxing. After serious consideration and discussion, we decided to remove $SAFE=3 (tainting mode) and $SAFE=2 (process operation prohibition) in CRuby 2.3. Of course other implementati... matz (Yukihiro Matsumoto)
06:28 AM Feature #11251: Thread#name and Thread#name=
いいよ。
Having Thread#name and Thread#name= is OK for me. Concrete behavior should be implementation defined.
Matz.
matz (Yukihiro Matsumoto)
02:48 AM Feature #11251 (Closed): Thread#name and Thread#name=
Threadの名前の取得・設定を行うAPIを追加しませんか。
#6694 や #6695 などで断続的に議論がなされ、r47670 で一部自動で名前が付けられるようになったりもしていますが、
Rubyレベルでそれを見る手段は提供されていませんし、明示的に付けることも出来ません。
今でもニーズは結構あるようです。
> "Fluentdでどのスレッドがどのプラグインに属しているのかが簡単に分かるようになるんですよね”
> ...
~~~
Linux (g...
naruse (Yui NARUSE)
06:12 AM Feature #7148: Improved Tempfile w/o DelegateClass
It's OK for me to implement Tempfile without using DelegateClass. If JRuby does similar thing already, it might be a good idea to share implementation. Besides that, we might need to think about killing/redefining some unnecessary/invali... matz (Yukihiro Matsumoto)

06/11/2015

05:18 PM Bug #11198: [PATCH] ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
Backported into `ruby_2_2` branch at r50838. nagachika (Tomoyuki Chikanaga)
05:18 PM Revision 7ebca222 (git): merge revision(s) 50685: [Backport #11198]
* ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
[ruby-core:69419] [Feature #11198]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:38 PM Bug #11185: [PATCH] openssl: use RB_GC_GUARD instead of volatile
Backported into `ruby_2_2` branch at r50837. nagachika (Tomoyuki Chikanaga)
04:38 PM Revision 70e6382b (git): merge revision(s) 50646: [Backport #11185]
* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
ossl_asn1_decode_all): use RB_GC_GUARD instead of volatile
[ruby-core:69371] [Bug #11185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_...
nagachika (Tomoyuki Chikanaga)
04:15 PM Bug #11172: Windowsでmode: ab+の時に開いたファイルの内容が読めない
Backported into `ruby_2_2` branch at r50836. nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 61ed7934 (git): merge revision(s) 50637: [Backport #11172]
* win32/win32.c (setup_overlapped): seek to the file end only when
writing (mode:a), not reading (mode:a+, read).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:12 PM Bug #11155: Files named 'b' cannot be autoloaded
Backported into `ruby_2_2` branch at r50835. nagachika (Tomoyuki Chikanaga)
04:12 PM Revision b9ae7528 (git): merge revision(s) 50515: [Backport #11155]
* load.c (loaded_feature_path): stop returning false negatives for
filenames which are trailing substrings of file extensions. For
example, 'b', which a trailing substring of ".rb" should not return
false. ...
nagachika (Tomoyuki Chikanaga)
12:13 PM Feature #8839: Class and module should return the class or module that was opened
Shugo Maeda wrote:
> If class definitions are changed to return the defined class, there'll be no way to get values created in class definitions except using global variables or constants, etc.
> ...
AFAICT, only one value (arguably it...
cesario (Franck Verrot)
10:57 AM Bug #11248: Backport r50829
rubygemsのバージョンポリシーは私も詳しくないのですが、過去の例を見る限りでは
それでよさそうな気がします。
2.2.5も本家を確認して納得しました。
usa (Usaku NAKAMURA)
10:45 AM Bug #11248: Backport r50829
なるほど理解しました。
rubygems のバージョンポリシーがわかりませんが、2.0.14.1, 2.2.5(これは余分な変更が含まれないため), 2.4.5.1 が良さそうな気がします。
hsbt (Hiroshi SHIBATA)
08:21 AM Bug #11248: Backport r50829
ええと、新しいバージョンのrubygemsを入れたいということは一切ないのですが
(むしろ絶対にそんなことはしたくない、というか保守ポリシー的にできない)、
変更する以上はバージョン番号を変えないといけないんじゃないの? という疑問があり、
つまり2.0.14.1とか2.2.3.1とか2.4.5.1とかにすべきなんじゃないかなー、
という意味だったのでした。
usa (Usaku NAKAMURA)
08:09 AM Bug #11248: Backport r50829
Ruby 2.1 については rubygems 2.2.3 から 2.2.5 と CVE-2015-3900 の修正のみを反映させることが出来そうなのでパッチを更新しました。 Ruby 2.0.0 の rubygems 2.0.x と Ruby 2.2 の rubygems 2.4.x については CVE-2015-3900 以外の修正も含まれるのでバージョンは変更しない方がよさそうです。 hsbt (Hiroshi SHIBATA)
06:27 AM Bug #11248: Backport r50829
バージョン変わらなくてもいいんでしょうかねえ? usa (Usaku NAKAMURA)
06:06 AM Bug #11248 (Closed): Backport r50829
hsbt (Hiroshi SHIBATA)
06:06 AM Bug #11248 (Closed): Backport r50829
rubygems で修正済みの CVE-2015-3900 に対するパッチのバックポートをお願いします hsbt (Hiroshi SHIBATA)
10:11 AM Bug #11221 (Closed): Fix indentation in Zlib documentation
Applied in changeset r50834.
----------
* ext/zlib/zlib.c: Fix indentation for rdoc.
[Bug #11221][ruby-core:69465]
hsbt (Hiroshi SHIBATA)
10:11 AM Revision 4162f90e (git): * ext/zlib/zlib.c: Fix indentation for rdoc.
[Bug #11221][ruby-core:69465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:48 AM Bug #11250 (Closed): open-uri broken when fetching from ftp over proxy
Commit 24a52978d4e2fe59cfa57c216c1118dce5f81640 by akr broke open-uri when fetching from ftp:// servers over a proxy (ftp_proxy environment variable). Undoing that commit fixes the issue. g5078022 (g5078022 g5078022)
08:07 AM Revision 8ab36f03 (git): fake.rb.in: scan version.c
* template/fake.rb.in: scan MKSTR and MKINT from version.c and
then extract the value for them from version.i.
* version.c (Init_version): use MKINT as the marker.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50833 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
07:32 AM Bug #11249 (Closed): Fix require paths for BigDecimal and io-console
The .rb files under the lib directory will never get on the load path with the currently specified require paths, hence if someone installed the gem from RubyGems, only the binary extension would get loaded, but the original bundled Ruby... vo.x (Vit Ondruch)
07:25 AM Revision 0991d0a8 (git): * method.h (METHOD_ENTRY_BASIC_SET): fix last commit (unbalanced parens).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:56 AM Revision 370bd884 (git): * configure.in: define SET_THREAD_NAME if it has pthread_set_name_np
for FreeBSD, and don't define it if both pthread_setname_np
and pthread_set_name_np don't exist.
* thread_pthread.c (SET_THREAD_NAME): don't define if they don't exist.
* thread_pthread.c (native_set_thread_name): run if SET_THREAD_N...
naruse (Yui NARUSE)
06:54 AM Revision 5421cea2 (git): * method.h (METHOD_ENTRY_BASIC_SET): should clear last bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:33 AM Feature #10974: [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
Eric Wong wrote:
> I don't use CMath, but I suggest a deprecation period since it appears
> ...
Thanks for comment! I suppose these methods(Math.cos!, sin!..) got public by accident, but your point dose really make sense.
Here is a...
gogotanaka (Kazuki Tanaka)
05:34 AM Revision 03821335 (git): * lib/rubygems.rb: bump version to 2.4.7 and 2.4.8. these versions fixed
CVE-2015-3900.
* lib/rubygems/remote_fetcher.rb: ditto.
* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
05:18 AM Revision 7d3923e9 (git): * lib/rubygems.rb: bump version to 2.4.6. It's missing change at r49774.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:01 AM Feature #11216: inode for Windows
go ahead! usa (Usaku NAKAMURA)
04:51 AM Bug #11235 (Closed): [BUG] Segmentation fault
Applied in changeset r50827.
----------
array.c: fix array size overflow
* array.c (ary_ensure_room_for_push): check if array size will
exceed maxmum size to get rid of buffer overflow.
[ruby-dev:49043] [Bug #11235]
* array.c (ary_...
nobu (Nobuyoshi Nakada)
04:50 AM Revision 37e3fec4 (git): array.c: fix array size overflow
* array.c (ary_ensure_room_for_push): check if array size will
exceed maxmum size to get rid of buffer overflow.
[ruby-dev:49043] [Bug #11235]
* array.c (ary_ensure_room_for_unshift, rb_ary_splice): ditto.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
04:19 AM Revision b12540e1 (git): * test/test_cmath.rb (TestCMath#test_trigonometric_functions): should
not compare float values (in complex values) by `==`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:35 AM Revision f0fd3055 (git): vm_core.h: make VM_ASSERT an expression
* vm_core.h (VM_ASSERT): make an expression, as well as standard
assert().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:23 AM Feature #11241 (Third Party's Issue): Add #to_json for Sets
Please report to upstream repository: https://github.com/flori/json hsbt (Hiroshi SHIBATA)

06/10/2015

11:55 PM Revision a3b89d74 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:55 PM Revision a5fa5f34 (git): * method.h: embed rb_method_entry_t::attr::flags (5 bits) into
rb_method_entry_t::flags to make one word spare space.
Add some macros to access these flags.
* vm_method.c: use these macros.
* internal.h: define IMEMO_FL_USHIFT and IMEMO_FL_USER[0-4]
for T_IMEMO local flags.
git-svn-id: svn+ss...
ko1 (Koichi Sasada)
11:42 PM Revision c7edd997 (git): * vm.c: use VM_ASSERT instead of assert().
* vm_args.c: ditto.
* vm_insnhelper.c: ditto.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:25 PM Revision 85647d9f (git): * vm_core.h: define VM_ASSERT() for assertion
enabled only when (VM_CHECK_MODE > 0).
* vm_insnhelper.c: move definition VM_CHECK_MODE
from vm_insnhelper.c to vm_core.h.
* vm.c: remove <assert.h>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50821 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
09:56 PM Revision 62a81ad9 (git): * vm_insnhelper.c (check_frame): check type of cref_or_me first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:04 PM Revision 4ddbc83c (git): * test/test_cmath.rb: Add assertions for trigonometric functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
07:39 PM Revision fcf7d234 (git): * test/test_cmath.rb: Add assertions for error handling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
05:08 PM Feature #11241: Add #to_json for Sets
I think this would be a good addition. marcandre (Marc-Andre Lafortune)
04:44 PM Bug #11247 (Closed): Should position of `using` affect the behavior?
The following script makes two refinements refine class C.
```ruby
class C
def foo
p C
end
end
module R1
refine C do
def foo
p R1
super
end
end
end
module R2
refine C do
def ba...
ko1 (Koichi Sasada)
04:24 PM Bug #11246 (Rejected): refine block doesn't respect "lexical" refinement information
The following program making two refinements refine class C.
```ruby
class C
def foo
p C
end
end
module R1
refine C do
def foo
p R1
super
end
end
end
using R1 # 1
module R2
using...
ko1 (Koichi Sasada)
04:12 PM Bug #11243: make install failed on Solaris10
version.c のコメントあたりに、
fake.rb.in 内で version.c のcpp処理結果をパースしているので、
「rb_define_global_const("RUBY_*",」の間には余計なスペースを入れたらダメ、
rb_define_global_const の行は1行で書く必要がある、
と書いておかないと、後で忘れそうな気がします。
ngoto (Naohisa Goto)
03:35 PM Bug #11243 (Closed): make install failed on Solaris10
Applied in changeset r50816.
----------
fake.rb.in: match spaces
* template/fake.rb.in: expanded macro result may have spaces
between tokens. [ruby-dev:49047] [Bug #11243]
nobu (Nobuyoshi Nakada)
02:32 PM Bug #11243: make install failed on Solaris10
fccでの sparc64-solaris2.10-fake.rb も添付します。 ngoto (Naohisa Goto)
02:26 PM Bug #11243: make install failed on Solaris10
Solaris 10 上の fcc (Fujitsu C Compiler) 5.6 では、以下のエラーになりました。
エラー内容は異なりますが、上記と同様に、バージョン関係のパースが上手く行っていないのが根本的原因と思われます。
~~~
preprocessing version.c
generating sparc64-solaris2.10-fake.rb
sparc64-solaris2.10-fake.rb updated
./miniruby...
ngoto (Naohisa Goto)
11:01 AM Bug #11243: make install failed on Solaris10
コンパイラは Oracle Solaris Studio 12.3 です。
~~~
$ /opt/solarisstudio12.3/bin/cc -V
cc: Sun C 5.12 SunOS_sparc 2011/11/16
~~~
version.h と version.i を添付します。
ngoto (Naohisa Goto)
09:45 AM Bug #11243 (Closed): make install failed on Solaris10
Solaris 10 にて make install に失敗します。
r50813 にて症状を確認しています。
~~~
preprocessing version.c
generating sparc64-solaris2.10-fake.rb
sparc64-solaris2.10-fake.rb updated
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext ...
ngoto (Naohisa Goto)
03:34 PM Revision d766f469 (git): * 2015-06-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 PM Revision 9ddccb15 (git): fake.rb.in: match spaces
* template/fake.rb.in: expanded macro result may have spaces
between tokens. [ruby-dev:49047] [Bug #11243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:40 PM Bug #11245: Build failure on Solaris 10 with gcc since r50804
r50804 は Changelog も無いことですし、さっさと revert しました。 ngoto (Naohisa Goto)
01:37 PM Bug #11245 (Closed): Build failure on Solaris 10 with gcc since r50804
Applied in changeset r50815.
----------
* lib/mkmf.rb: revert r50804 because of build failure when specifying
LDFLAGS during configure, observed on Solaris with GCC 4.6.
[Bug #11245]
ngoto (Naohisa Goto)
01:21 PM Bug #11245 (Closed): Build failure on Solaris 10 with gcc since r50804
Solaris 10 + gcc 4.6.2 にて、r50804以降、以下のように ext/bigdecimal のビルドに失敗します。
~~~
make -C ext/bigdecimal -w V=1 all
make[2]: Entering directory `/XXXXX-gcc-trunk-50804/ext/bigdecimal'
gcc -I. -I../../.ext/include/sparc64-solaris2.10 -I../.....
ngoto (Naohisa Goto)
01:37 PM Revision edb8c7a9 (git): * lib/mkmf.rb: revert r50804 because of build failure when specifying
LDFLAGS during configure, observed on Solaris with GCC 4.6.
[Bug #11245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
01:03 PM Revision 258c1ba5 (git): README.ja.md: fix markup miss. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:23 AM Bug #11244 (Closed): [BUG] rb_gc_mark(): 0x00000001f34020 is T_NONE
mswinのCIでたまに出てます。発生頻度は一割くらいでしょうか。
(参考: http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20150605T234126Z.log.html.gz )
これが [ruby-dev:49040] の「なんかやばい気がするエラー」ですかね。
初検出はr50787のようですが、もちろん原因はもっと前にあると思われます。
usa (Usaku NAKAMURA)
07:18 AM Bug #10534: Enumerator methods other than "next" do not always respect "peek"
I don't agree that a documentation would fix this. This issue results in unpredictable behaviour:
~~~
$ ruby -e "e=['a','b','c'].each;puts e.peek;puts e.next"
a
a
$ ruby -e "e=['a','b','c'].each;puts e.peek;e.each{|l| puts l}"
a
...
bmesuere (Bart Mesuere)
05:06 AM Revision 1781c4c1 (git): * Fix typo. Patch by @davydovanton
[Fix GH-928][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kazuki Tanaka
02:13 AM Revision 4868eead (git): common.mk: update version.i
* common.mk (version.i): ensure up-to-date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:06 AM Revision d5c03541 (git): * 2015-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:06 AM Revision c5634371 (git): fake.rb.in: accurate fake
* template/fake.rb.in: turn into erb template from autoconf
template to fake more accurately.
* common.mk (fake.rb): needs preprocessed file now.
* version.c (Init_version): add dummy expression to
RUBY_ENGINE_VERSION.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
01:14 AM Bug #11239 (Feedback): C level bug
2.1.1 is old, can't you try with more recent versions?
And I suspect that the extensions might cause it.
nobu (Nobuyoshi Nakada)
12:59 AM Bug #11240 (Third Party's Issue): [BUG] Segmentation fault
Please report to pry repository at first. hsbt (Hiroshi SHIBATA)
12:43 AM Feature #11242 (Closed): [PATCH] socket: alloa explicit buffer for recv and recv_nonblock
Note, this relies on [Feature #11229]
This reduces GC overhead and makes the API more consistent
with `IO#read` and `IO#read_nonblock`.
Benchmark results:
| user | system | total | real
--------|------...
normalperson (Eric Wong)

06/09/2015

10:09 PM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
To update, after manually triggering GC in step 3 above after processing every Temp object, or after processing every 10 Temp objects, we did not get the Ruby error. Maybe it's Nokogiri after all, will cross-post the issue there to help ... joemerante (Joe Merante)
02:29 PM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
Hi,
We've been experiencing a similar issue for the last few weeks when trying to process a large (125mb, with about 12,000 <product> nodes) xml file using Nokogiri. While we initially thought the issue was due to the proliferation of...
joemerante (Joe Merante)
08:10 PM Feature #11241 (Third Party's Issue): Add #to_json for Sets
Looks like there are extensions for structs but not Sets. https://github.com/ruby/ruby/tree/trunk/ext/json/lib/json/add
Is there a reason Sets were omitted or was this just an oversight?
I can draft up a PR if this is a feature we want.
mrlamroger (Roger Lam)
06:25 PM Feature #11007: Prime.each.with_index should accept offset
Hi, any progress about this patch?
The reason why I have proposed this is that I'm anxious about the phrase of http://ruby-doc.org/stdlib-2.2.2/libdoc/prime/rdoc/Prime.html#class-Prime-label-Generators : "Furthermore, it is an externa...
ciel (T Yamada)
03:08 PM Bug #11240 (Third Party's Issue): [BUG] Segmentation fault
1- Add a breakpoint anywhere in your code using **`bindingy.pry`**
2- Type **`quit-program`** in the terminal
3- You get the error attached.
> `[1] pry(#<#<Class:0x000000068defe0>>)> quit-program
> ...
islamazab (Islam Azab)
02:54 PM Bug #11239 (Closed): C level bug
Hi,
I got the following backtrace, as the footer said "bugs reports are welcome" I'm sharing this here:
tomascharad (Tomás Charad)
08:33 AM Feature #10900: GzipReader does not define `#external_encoding`
Daniel Berger wrote:
> I'd say it should add #encoding and #internal_encoding methods as well, since the constructor supports those options.
I guess you have to file a separate feature request for that.
akostadinov (Aleksandar Kostadinov)
08:25 AM Bug #11236: inconsistent behavior using ** vs hash as method parameter
Nobuyoshi Nakada wrote:
> What message would be better?
Unsupported key type?
btw what is the reason to have that limitation? Not that I need this functionality, I just happened to notice the difference...
akostadinov (Aleksandar Kostadinov)
07:39 AM Bug #11236: inconsistent behavior using ** vs hash as method parameter
What message would be better? nobu (Nobuyoshi Nakada)
07:45 AM Bug #11238 (Rejected): Cannot install any gem since upgrading to Yosemite: Segmentation fault in openssl.bundle
> ~~~
> ...
You seem to load an extension library linked against the shared library from statically linked ruby.
nobu (Nobuyoshi Nakada)
12:43 AM Bug #11238 (Rejected): Cannot install any gem since upgrading to Yosemite: Segmentation fault in openssl.bundle
gem install bundler
~~~
/usr/local/lib/ruby/2.2.0/x86_64-darwin12.0/openssl.bundle: [BUG] Segmentation fault at 0x00000000000440
~~~
carolineschnapp (Caroline Schnapp)
07:31 AM Bug #11198: [PATCH] ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
ruby_2_1 r50809 merged revision(s) 50685. usa (Usaku NAKAMURA)
07:31 AM Revision f2016423 (git): merge revision(s) 50685: [Backport #11198]
* ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
[ruby-core:69419] [Feature #11198]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:29 AM Bug #11185: [PATCH] openssl: use RB_GC_GUARD instead of volatile
ruby_2_1 r50808 merged revision(s) 50646. usa (Usaku NAKAMURA)
07:28 AM Revision 7d7ed2c2 (git): merge revision(s) 50646: [Backport #11185]
* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
ossl_asn1_decode_all): use RB_GC_GUARD instead of volatile
[ruby-core:69371] [Bug #11185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_...
U.Nakamura
07:25 AM Revision d3bce791 (git): version.c: use str_new_static
* version.c (MKSTR): always make from static strings for sizeof
operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:25 AM Bug #11172: Windowsでmode: ab+の時に開いたファイルの内容が読めない
ruby_2_1 r50806 merged revision(s) 50637. usa (Usaku NAKAMURA)
07:25 AM Revision 16b551fe (git): merge revision(s) 50637: [Backport #11172]
* win32/win32.c (setup_overlapped): seek to the file end only when
writing (mode:a), not reading (mode:a+, read).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:16 AM Bug #11155: Files named 'b' cannot be autoloaded
ruby_2_1 r50805 merged revision(s) 50515. usa (Usaku NAKAMURA)
07:16 AM Revision 4def2274 (git): merge revision(s) 50515: [Backport #11155]
* load.c (loaded_feature_path): stop returning false negatives for
filenames which are trailing substrings of file extensions. For
example, 'b', which a trailing substring of ".rb" should not return
false. ...
U.Nakamura
06:58 AM Revision c5e8342d (git): mkmf.rb: macro assigments
* lib/mkmf.rb ($configure_args): store macro assigments as-is, not
only in option style. e.g., ruby extconf.rb optflags=-O0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision 7ea2bb32 (git): * lib/prime.rb: Simplify and optimize EratosthenesSieve
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:32 AM Revision 9d3c64a4 (git): * lib/prime.rb: Simplify and optimize EratosthenesSieve
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:45 AM Revision d46336e7 (git): * 2015-06-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:45 AM Revision 3ed18fa8 (git): * lib/matrix.rb: Simplify and optimize EratosthenesSieve
based on patch by Ajay Kumar. [Fixes GH-921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
01:45 AM Bug #11237: サブスレッドがすべて終了するとメインスレッドが割り込まれる。
報告ありがとうございます。あとで見ます kosaki (Motohiro KOSAKI)
12:29 AM Bug #11237 (Closed): サブスレッドがすべて終了するとメインスレッドが割り込まれる。
https://github.com/ruby/ruby/pull/898 のほうでも報告してあるのですが、
サブスレッドがすべて終了するとメインスレッドが割り込まれます。
r37865 の変更でプロセス終了時にメインスレッドを一時的に止めて、
サブスレッドがすべて終了した時点でメインスレッドを立ち上げるように
変更されましたが、その影響でプロセス終了時以外でもサブスレッドがす
べて終了するとメインスレッドに rb_threadptr_interrupt ...
kubo (Takehiro Kubo)

06/08/2015

09:15 PM Bug #11236: inconsistent behavior using ** vs hash as method parameter
This is expected behavior, keyword argument hashes only support symbol keys, not hash keys. I suppose the error message could be better, though.
jeremyevans0 (Jeremy Evans)
09:05 PM Bug #11236 (Closed): inconsistent behavior using ** vs hash as method parameter
Using ruby 2.2.2 I see this work:
~~~
[18] pry(main)> def test(cmd, opts={})
[18] pry(main)* puts cmd,opts
[18] pry(main)* end
=> :test
[19] pry(main)> test(:ads, :d => 6, :f => :gah, {a:3,b:4} => 3)
ads
{:d=>6, :f=>:gah, {...
akostadinov (Aleksandar Kostadinov)
01:33 PM Bug #11233: Module#include, Module#prepend can accept no arguments
Jeremy Evans, you are right.
Anonymous
11:03 AM Bug #10015: Performance regression in Dir#[]
Experiencing similar results with Adrien's benchmark:
With **ruby-2.2.2**: 2.9347980790189467
WIth **ruby-2.1.5**: 1.848318
OS X Yosemite 10.10.3, Journaled HFS+ file system, case insensitive.
mkarklins (Magnuss Karklins)
06:11 AM Bug #11235 (Closed): [BUG] Segmentation fault
コード
~~~ruby
n = []
(1..10**9).each do |i|
n << i
end
puts n.length
~~~
実行時のログ
~~~
>ruby a.rb
a.rb:3: [BUG] Segmentation fault
ruby 2.0.0p598 (2014-11-13) [x64-mingw32]
~~~
配列の要素数の上限を超えたため発生していると思いますが、
[BUG]という表示は...
suppy193 (Ikuo Suyama)
04:24 AM Bug #11232: rb_compile_string from parse.y segfaults
Thanks for the tip!
I managed to fix the segfault with the following code:
https://github.com/kyrylo/fast_method_source/blob/d05a19993cccade40176c5f10b9008d79d2fc1e5/ext/fast_method_source/fast_method_source.c#L84-L85
I changed th...
kyrylo (Kyrylo Silin)
02:35 AM Bug #11226: Ripper fails on mswin64
Koichi Sasada wrote:
> そして、中身を見ると、なんかやばい気がするエラーが...。手元でも動かして
> ...
ん、現状起きてる(ことがある)のって、4ヶ月前に報告した #10852 くらいだと思うんですが、これやばいのです?
usa (Usaku NAKAMURA)

06/07/2015

10:50 PM Feature #10672: Enable SSL on cache.ruby-lang.org
Heya,
This is Doc from Fastly. Just wanted to let you know that if you send an email with a request to be added to our shared (subjectAltName) cert to "support at fastly dot com", and mention you're on the open source plan, you should...
drwilco (Rogier Mulhuijzen)
08:11 PM Revision 0d3591f2 (git): * gc.c (obj_info): print method id for T_IMEMO/ment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:58 PM Bug #11226: Ripper fails on mswin64
On 2015/06/07 23:21, [email protected] wrote:
> 軽くショックだったのでいちおう言っておくと、http://rubyci.org/ にあります。
> vc10-x64ってやつがそうです。

すみません、一応そっちも、確認したつもりだったんですが、vc10-x64 が、見
たタイミングでは白背景(更新されていない)だったような気がして、今は更新
されてないのかと勘違いしていました。

でも、 http...
ko1 (Koichi Sasada)
02:21 PM Bug #11226: Ripper fails on mswin64
Koichi Sasada wrote:
> CI ってあるんでしたっけ。
軽くショックだったのでいちおう言っておくと、http://rubyci.org/ にあります。
vc10-x64ってやつがそうです。
usa (Usaku NAKAMURA)
06:53 PM Misc #11061 (Closed): doc/extension.ja.rdoc 査読依頼
naruse (Yui NARUSE)
03:13 PM Bug #11233: Module#include, Module#prepend can accept no arguments
This isn't a bug, it a consequence of the fact that they take an arbitrary number of arguments:
~~~
Module.new.include(Module.new, Module.new, ...)
~~~
Changing it would break code like:
~~~
extensions = []
extensions << Mod...
jeremyevans0 (Jeremy Evans)
02:01 PM Bug #11233 (Closed): Module#include, Module#prepend can accept no arguments
`# Module#include, Module#prepend can accept no arguments
Module.new.include
Module.new.prepend
`
Anonymous
03:06 PM Revision b2dd608a (git): * 2015-06-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 3fe13558 (git): fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:59 PM Bug #11234 (Closed): RubyVM::InstructionSequence.load で case が落ちる
RubyVM::InstructionSequence.load を有効にしてテストしていますが、以下のコードで Segmentation fault になります。
~~~
str = <<EOS
def test_is()
cond = "x"
case cond
when "x"
p cond
end
end
EOS
ar = RubyVM::InstructionSequence.compile(str).to...
yukimi_sake (Yukio Sakaue)
01:59 PM Bug #11231: Should rb_alloc_tmp_buffer() be public API?
Thanks for the explanations! Eregon (Benoit Daloze)
02:14 AM Bug #11231 (Closed): Should rb_alloc_tmp_buffer() be public API?
Benoit Daloze wrote:
> `rb_alloc_tmp_buffer()` is declared in `include/ruby/intern.h`.
`include/ruby/ruby.h`.
> ...
Yes, exactly.
> Is there a way to hide such internal function?
> ...
It's similar to `alloca()`, the result sh...
nobu (Nobuyoshi Nakada)
03:19 AM Bug #11232: rb_compile_string from parse.y segfaults
Nobuyoshi Nakada wrote:
> Is `vparser` in `parser_compile_string()` GCed?
It looks like so. I'm not sure how to verify that exactly,
but when I disable the GC, it doesn't segfault anymore.
I have added a second example, with `GC....
kyrylo (Kyrylo Silin)
02:29 AM Bug #11232 (Feedback): rb_compile_string from parse.y segfaults
Is `vparser` in `parser_compile_string()` GCed? nobu (Nobuyoshi Nakada)
01:23 AM Bug #11232 (Closed): rb_compile_string from parse.y segfaults
I'm using `rb_compile_string` in my project and invoke it in a loop.
Unfortunately, it segfaults for me.
I've set up a repository with a minimum reproducible case:
https://github.com/kyrylo/rb_compile_string_bug
The bug can be ob...
kyrylo (Kyrylo Silin)
 

Also available in: Atom