Project

General

Profile

Activity

From 07/30/2013 to 08/05/2013

08/05/2013

11:55 PM Bug #8740 (Closed): Documentation for RSS 1.0 and 2.0
As well as a tiny fix for atom. steveklabnik (Steve Klabnik)
11:22 PM Bug #8739 (Closed): Range#last と#last(n)で挙動の統一がされていない
Range#lastは終端を返しますが、#last(n)は最後の要素を返します。
引数の有無で挙動が異なるのは意図したものでしょうか?
意図したものであれば、返す値を終端か要素どちらかに挙動を統一出来ないでしょうか。
#終端が返る
(1...5).last => 5
#最後の要素が返る
(1...5).last(1) => [4]
to_ueda (Tomoya Ueda)
11:17 PM Feature #8738: Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
Regarding the naming, I find
8.single_bit? # => true
a little strange (that's 4 bits), power_of_2?/power_of_two? seem to be more to the point.
stomar (Marcus Stollsteimer)
10:03 PM Feature #8738 (Rejected): Integer#single_bit? (Actually Fixnum#single_bit? and Bignum#single_bit?)
How about a new method Integer#single_bit?
(Actually Fixnum#single_bit? and Bignum#single_bit?)
n.single_bit? returns true for abs(n) is 1, 2, 4, ..., 2**i for some i.
Sometimes we need to test an integer contains only one bit or ...
akr (Akira Tanaka)
10:49 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
I agree with the proposal, so I've attached a patch.
With this patch:
* yield invokes lambda as a lambda block
* lambda block always checks the arguments
But note that it may introduce incompatibility with JIS X 3017, ISO/IEC 301...
ktsj (Kazuki Tsujimoto)
05:50 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
We discussed about the issue, and concluded the OP's intuition is natural.
So we seriously consider changing the behavior of return in lambda in 2.1.
But since it's incompatible change, we may give up the feature if some major incompat...
matz (Yukihiro Matsumoto)
01:16 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
mame (Yusuke Endoh) wrote:
>
> ...
You and others keep referring to some "spec" without linking or quoting it. Since you seem to respect the idea of a spec, allow me to quote again the closest thing there is to a spec, matz' "the ruby...
rits (First Last)
12:32 PM Feature #8693 (Assigned): lambda invoked by yield acts as a proc with respect to return
nobu (Nobuyoshi Nakada)
09:57 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
rits (First Last) wrote:
> A "plain block" that "checks arguments" is an oxymoron. Obviously such a thing should not exist.
I do not agree nor disagree with your opinion.
> ...
Imagine a natural Ruby implementation of proc:
...
mame (Yusuke Endoh)
04:19 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
mame (Yusuke Endoh) wrote:
> My guess:
> ...
A "plain block" that "checks arguments" is an oxymoron. Obviously such a thing should not exist.
If it behaved truly as a plain block that would be saner, however, as long as the lambda ...
rits (First Last)
09:52 PM Bug #8737 (Third Party's Issue): [BUG] Bus Error
When running rspec spec/<spec_file> from time to time I get this error:
/Users/n/.rvm/gems/ruby-2.0.0-p247@<gemset>/bin/ruby_noexec_wrapper: [BUG] Bus Error
I can test solutions at any time, just ping me.
nijikon (Tomasz Pajor)
09:50 PM Feature #8658: Process.clock_gettime
I updated the patch for Process.clock_gettime.
The patch, clock_gettime-4.patch, supports gettimeofday() and time(),
even when clock_gettime() is available.
akr (Akira Tanaka)
09:48 PM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
I updated the patch because I change the method name to bit_length.
(I added an under score.)
akr (Akira Tanaka)
05:38 PM Bug #8733 (Closed): miniruby always reports warnings when writing to console on Windows
This issue was solved with changeset r42385.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32.c: conversion to WCHAR
* win32/win32.c (rb_w32_write_cons...
nobu (Nobuyoshi Nakada)
05:38 PM Bug #8733: miniruby always reports warnings when writing to console on Windows
クロスコンパイルとかck.exe上からとかしかビルドしてませんでした(ドヤ)。 nobu (Nobuyoshi Nakada)
03:26 PM Bug #8733 (Closed): miniruby always reports warnings when writing to console on Windows
=begin
しばらく前になかださんが組み込みエンコーディング周りをいじってからというもの、
以下のような警告が出るようになりました。
C:\ruby> miniruby -e "p ''"
-e:1: warning: failed to load encoding (UTF-16LE); use ASCII-8BIT instead
-e:1: warning: failed to load encoding (UTF-16LE); use AS...
usa (Usaku NAKAMURA)
04:42 PM Revision 0bd6f36a (git): * process.c: [DOC] Document caveats of command form of Process.spawn
with regard to the shell and OS. Patched by Steve Klabnik [Bug #8550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:29 PM Revision e171d499 (git): * lib/rss/0.9.rb: [DOC] Typo in example [Bug #8732]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:25 PM Revision a8996069 (git): * 2013-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 PM Revision 196d348a (git): * lib/rss/2.0.rb: [DOC] Document RSS::Rss by Steve Klabnik #8740
* lib/rss/atom.rb: [DOC] Typo in rdoc by Steve Klabnik
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:22 PM Feature #8734 (Closed): irbに複数行履歴機能が欲しい
現在のirbはクラス定義やメソッド定義のような複数行にわたるものを書くと、
実行結果は閉じるまで返ってこないのに、履歴は一行ごとにバラバラになってしまい、とても不便です。
なので、zshのように、複数行をまとめて履歴として扱えるようになって欲しいです。
参考: http://news.mynavi.jp/column/zsh/003/index.html
naruse (Yui NARUSE)
03:23 PM Feature #8696: Process.setproctitle
At Sun, 4 Aug 2013 10:01:31 +0900,
KOSAKI Motohiro wrote:
>
> 2013/7/30 knu (Akinori MUSHA) <knu@ruby-lang.org>:
> >
> > Issue #8696 has been updated by knu (Akinori MUSHA).

私が言いたかったことを整理すると、

1. $0 のgetter/setterは非...
Anonymous
02:50 PM Revision 2ae634f2 (git): * bignum.c: Rename local variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:25 PM Revision f089ea1c (git): * vm_trace.c: [DOC] Fix TracePoint return values in examples
Based on a patch by @sho-h [Fixes GH-373]
https://github.com/ruby/ruby/pull/373
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
08:53 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
Can you just write a gem? zzak (zzak _)
08:38 AM Revision 8d564597 (git): win32.c: conversion to WCHAR
* win32/win32.c (rb_w32_write_console): use MultiByteToWideChar() for
the last step of conversion to WCHAR, to get rid of warnings from
rb_enc_find() in miniruby. [ruby-dev:47584] [Bug #8733]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 0f6cd1bb (git): win32.c: fix wrong trimming
* win32/win32.c (wstr_to_mbstr, mbstr_to_wstr): fix wrong trimming.
WideCharToMultiByte() and MultiByteToWideChar() do not count
NUL-terminator in the size for conversion result, unless the input
length is -1.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
08:32 AM Revision db95dfbc (git): test_econv.rb: assert_separately
* test/ruby/test_econv.rb (test_default_external): use
assert_separately for clearer messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:02 AM Revision 750b52f4 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:22 AM Bug #8720 (Rejected): ECB mode seems to be broken
=begin
Hi Ben,

thanks for caring! But it's not really a bug of Ruby OpenSSL, the problem is that unfortunately the Cipher instance is stateful and it is important in which order you call #encrypt, #key= etc. In our defense, this is ...
MartinBosslet (Martin Bosslet)
03:58 AM Bug #8732 (Closed): Docs for rss/0.9.rb
This issue was solved with changeset r42378.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
zzak (zzak _)
03:52 AM Bug #8732 (Closed): Docs for rss/0.9.rb
I wrote some top-level documentation for the 0.9 support of RSS. steveklabnik (Steve Klabnik)
03:37 AM Bug #8685 (Closed): Problems of the example of REXM::Attribute#namespace
This issue was solved with changeset r42376.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/attribute.rb: [DOC] Update example for #namespace
...
zzak (zzak _)
03:32 AM Bug #8729 (Rejected): Fix character literals in documentation
This is a bug in RDOc, thank you for your patch but I cannot accept it. zzak (zzak _)
02:51 AM Revision ac93b284 (git): * include/ruby/encoding.h: document which user flags are used by
ENCODING_MASK for better greppability
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
01:02 AM Revision 5e98991f (git): * object.c (rb_class_inherited_p): allow iclasses to be tested for
inheritance. [Bug #8686] [ruby-core:56174]
* test/ruby/test_method.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville

08/04/2013

10:20 PM Feature #8126: OpenSSL::SSL::SSLSocket does not define #recv and #send messages
I don't know how @postmodern but I miss the getpeername the most. lisukorin (Rafał Lisowski)
09:49 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
My guess:
* yield invokes any block as a plain block
* lambda block always checks the arguments
Anyway, I don't recommend you to write a code that depends on this behavior because this is considered an implementation-detail.
If...
mame (Yusuke Endoh)
06:42 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
@rits: i plan to stop commenting on this thread and hope that Matz or someone else will provide and authoritative explanation some time.
I want to mention however how i view blocks in Ruby. For me a block "{ |x| x + 1 }" is somewhat ...
alexeymuranov (Alexey Muranov)
02:28 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
@Alexey: The OP complaint is a spec. But in the discussion (which I thoroughly read only upon
your reminder), different issues appear. That of block "hanging around", accessible by Proc.new:
~~~ruby
l = -> {}
#<Proc:0xb85c3df8@(irb...
Anonymous
06:23 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
alexeymuranov (Alexey Muranov) wrote:
>
> ...
* extracts individual elements and passes them individually, in fact the receiving method can then regroup the individual args in many different ways:
~~~ruby
irb(main):010:0> def m1(a...
rits (First Last)
04:25 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
I agree it would be nice if Matz clarified the issue.
rits (First Last) wrote:
>
> ...
If you mean that this is not how things work, apparently it is true. But for me it would be the most natural if "`&`" was converting a lambda/p...
alexeymuranov (Alexey Muranov)
03:00 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
nobu (Nobuyoshi Nakada) wrote:
> Then it's a bug in that book.

What exactly are you claiming is a bug in the book? The general rule about lambda semantics, that return in a lambda is supposed to return from the lambda? Are you sug...
rits (First Last)
02:48 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
boris_stitnicky (Boris Stitnicky) wrote:
> @Alexey: It's spec. As soon as you unpack the block with the pretzel, it forgets about its lambda-ness. If you wish to pass lambdas inside the method, you have to do it through the argument lis...
rits (First Last)
02:20 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
Maybe this is related to #8622? deivid (David Rodríguez)
12:41 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
Then it's a bug in that book.
nobu (Nobuyoshi Nakada)
09:15 PM Revision b649592c (git): * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
Patch by @kachick [Fixes GH-372]
https://github.com/ruby/ruby/pull/372
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:58 PM Revision 9fe55c12 (git): * lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
06:37 PM Revision d1579219 (git): * 2013-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:37 PM Revision e730b1aa (git): * lib/rexml/attribute.rb: [DOC] Update example for #namespace
Patch by Ippei Obayashi [Bug #8685] [ruby-core:56173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:01 PM Bug #8731 (Closed): Problems when parsing notation decl and entity decl with REXML::Parsers::SAX2Parser
以下のコード(sax2parser_decl_error.rb)を実行すると例外が発生します。
require 'rexml/parsers/sax2parser'
require 'rexml/sax2listener'

xml = <<EOS
<!DOCTYPE root [
<!ENTITY % YN '"Yes"'>
<!NOTATION x SYSTEM "URIx">
]>
<root />
...
ohai (Ippei Obayashi)
01:42 PM Revision c632c925 (git): merge revision(s) 40001: [Backport #8109]
* win32/win32.c (wrename): use MoveFileExW instead of MoveFileW,
because the latter fails on cross device file move of some
environments.
fix [ruby-core:53492] [Bug #8109]
reported by mitchellh (Mi...
nagachika (Tomoyuki Chikanaga)
12:24 PM Revision 07e3b30c (git): * array.c (rb_ary_zip): performance implement by using
ALLOCA_N() to allocate tmp buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
12:21 PM Revision 9a37bfce (git): * version.h: increment patchlevel for r42370.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:23 AM Feature #8726: Class#source_location
2013/8/3 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> (13/08/04 6:33), KOSAKI Motohiro wrote:
>>> なるせさん、わたし、あのバックトレースの整形処理がイマイチ理解できんのだが、
>>> あれはどういう処理を意図してるの。
>>
>> printfデバッグした感じだと
>>
>> (bt = e.backtrace).reject! {|m| ...
kosaki (Motohiro KOSAKI)
10:23 AM Feature #8726: Class#source_location
(13/08/04 6:33), KOSAKI Motohiro wrote:
>> なるせさん、わたし、あのバックトレースの整形処理がイマイチ理解できんのだが、
>> あれはどういう処理を意図してるの。
>
> printfデバッグした感じだと
>
> (bt = e.backtrace).reject! {|m| rej =~ m}
>
> の行で取り除かれてる行はないように見える。うーん、コード履歴を追う必要があ...
nobu (Nobuyoshi Nakada)
06:53 AM Feature #8726: Class#source_location
> なるせさん、わたし、あのバックトレースの整形処理がイマイチ理解できんのだが、
> あれはどういう処理を意図してるの。

printfデバッグした感じだと

(bt = e.backtrace).reject! {|m| rej =~ m}

の行で取り除かれてる行はないように見える。うーん、コード履歴を追う必要があるかなあ
kosaki (Motohiro KOSAKI)
05:59 AM Feature #8726: Class#source_location
> Classオブジェクトが生成された場所を返す Class#source_location メソッドの実装を希望いたします。
> ...
言ってることが今ひとつ理解できません。
test.rb
~~~ruby
1: require "timeout"
2:
3: def foo
4: sleep 10
5: end
6:
7: Timeout.timeout(1) {
8: foo
9: }
~~~
というコードの結果は...
kosaki (Motohiro KOSAKI)
03:02 AM Feature #8726: Class#source_location
naruse (Yui NARUSE) wrote:
> ユースケースがtimeoutだけなのでしたら、一般化したsource_locationではなく、
> ...
いや、そもそもTimeout.timeoutのrescueで自身のbacktraceを除いている処理が実はいらなくて、
ちゃんと残しておくべきなのかも。
naruse (Yui NARUSE)
02:34 AM Feature #8726: Class#source_location
ユースケースがtimeoutだけなのでしたら、一般化したsource_locationではなく、
その無名クラスオブジェクトに作成時のcallerを返す特異メソッドをつけた方が早くありませんか。
naruse (Yui NARUSE)
10:44 AM Bug #8730 (Rejected): "rescue Exception" rescues Timeout::ExitException
Exception全体をrescueして握り潰しているのがバグでしょう。 nobu (Nobuyoshi Nakada)
09:47 AM Bug #8730 (Rejected): "rescue Exception" rescues Timeout::ExitException
=begin
Timeout.timeout ブロック内で rescue Exception によって例外を捕捉している箇所があると、
タイムアウト処理が内部的に利用している Timeout::ExitException クラスの無名派生クラスを補足してしまい、
正しく Timeout::Error が発生しない。
例)
timeout 1 do
begin
sleep 3
rescue Exception => ...
takiuchi (Genki Takiuchi)
10:23 AM Feature #8696: Process.setproctitle
2013/7/30 knu (Akinori MUSHA) <knu@ruby-lang.org>:
>
> Issue #8696 has been updated by knu (Akinori MUSHA).
>
>
> getproctitle() というAPIはないので、 Process.setproctitle() でいいんじゃないかと思います。
> $0はベタに Process.argv0 でどうでしょう。argv0という名前はT...
kosaki (Motohiro KOSAKI)
08:57 AM Bug #8716 (Assigned): segmation fault 正規表現で大量のグループを利用時
regexec.c:match_at()で呼ばれるSTACK_INITがサイズを考慮せずにxallocaしているため、スタックオーバーフローしています。 nobu (Nobuyoshi Nakada)
07:44 AM Bug #8729 (Rejected): Fix character literals in documentation
=begin
(('('))This is my first ever patch to Ruby, tried to follow ((<this guide|URL:http://documenting-ruby.org/step-by-step-guide.html>)), hopefully I did everything right.((')'))
The RDoc tool seems to strip out the (({?})) in cha...
henrikhodne (Henrik Hodne)
06:53 AM Bug #8728 (Closed): strio_substr can put invalid pointer into substring
This issue was solved with changeset r42366.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/stringio/stringio.c (strio_substr): Trivial fix for inva...
headius (Charles Nutter)
06:43 AM Bug #8728: strio_substr can put invalid pointer into substring
I will go ahead and fix this with an empty string. headius (Charles Nutter)
06:30 AM Bug #8728 (Closed): strio_substr can put invalid pointer into substring
There's a bug in strio_substr when reading a zero-length string from a StringIO when the position is past the end of the internal string.
static VALUE
strio_substr(struct StringIO *ptr, long pos, long len)
{
VALUE str = ptr->st...
headius (Charles Nutter)
05:25 AM Bug #8159 (Closed): Build failure introduced by Rinda changes
issue shown here no longer present in CI.
Thank you.
luislavena (Luis Lavena)
05:23 AM Bug #5954 (Rejected): IO.read_nonblock on IO.pipe generates Errno::EBADF (MinGW)
Thank you nobu, this is a platform limitation then. luislavena (Luis Lavena)
02:46 AM Feature #3753 (Assigned): value of def-expr
usa (Usaku NAKAMURA)
01:31 AM Revision 0d5ec8a3 (git): * ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
01:30 AM Revision 95462cb0 (git): * 2013-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:30 AM Revision 317effe3 (git): * ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
* ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656]
* ext/tk/extconf.rb: Don't add "-ltk -ltcl" for MacOSX frameworks, because they may link improper libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@4...
nagai (Hidetoshi Nagai)
01:21 AM Revision 808e6b1f (git): * 2013-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:21 AM Revision 3eb55f28 (git): * ext/tk/extconf.rb: Default search_versions are set 8.5 and 8.4 only. At present, Tcl/Tk8.6 is not supported.
* ext/tk/extconf.rb: Fix typo. [ruby-core:56084] [Bug #8656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@42368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)

08/03/2013

11:11 PM Bug #8715 (Closed): openssl mkmf.log filled with other data
Hello,
I'd backported r40080 and r40081 to ruby_2_0_0.
nagachika (Tomoyuki Chikanaga)
10:51 PM Bug #8702: POSTLINK fails in test/mkmf/test_framework.rb although RUBY_CODESIGN is given
Backported to ruby_2_0_0 at r42358. nagachika (Tomoyuki Chikanaga)
10:33 PM Bug #8716 (Feedback): segmation fault 正規表現で大量のグループを利用時
Backport200 は 2.0.0 ブランチへのバックポートチケット用ですので一旦 ruby-trunk へ移動します。
なお手元では trunk でも 2.0.0 でも再現しませんでした。
SEGV 発生時のバックトレースなどのメッセージを添付していただけませんか。
Mac OS X 版では C のバックトレースは ~/Library/Logs/DiagnosticReports の下にファイルで置かれますので、そちらもお願いします。
nagachika (Tomoyuki Chikanaga)
10:15 PM Revision 3cd16b43 (git): * README.EXT, README.EXT.ja: Mention rb_integer_pack and
rb_integer_unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:56 PM Feature #8726: Class#source_location
関連して、無名クラスオブジェクトのto_s の結果として、`"#<Class:0x007f956336abc8>"` のような文字列ではなく、
Class#source_location で得られる情報を付加すれば、様々な利便性の向上が望めると思います。
takiuchi (Genki Takiuchi)
09:54 PM Feature #8726 (Rejected): Class#source_location
Classオブジェクトが生成された場所を返す Class#source_location メソッドの実装を希望いたします。
これによって解決される問題の例としては、Timeout::timeout が無名の例外クラスオブジェクトを raise した
場合に、どこで仕掛けられた timeout なのか、発生場所を特定できるようになります。
このようなケースでは、例外オブジェクトが保有している backtrace はtimeoutが発生した時点での
プログラム実...
takiuchi (Genki Takiuchi)
09:53 PM Revision 7974fe6a (git): * ext/stringio/stringio.c (strio_substr): Trivial fix for invalid
pointer when len = 0 and pos outside of string. Bug #8728.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
07:59 PM Feature #8723: Array.any? predicate returns true for empty array.
=========
"Do you agree at least that you initial proposal with assigning false to [].all?{...} was unreasonable?" --alexeymuranov
Well yes, I wanted it to return any false'y value, actually. Including nil. Sorry for not making it ...
nurettin (Nurettin Onur TUGCU)
05:29 PM Feature #8723: Array.any? predicate returns true for empty array.
Some more explanation reading on the subject - and reasons for this:
http://en.m.wikipedia.org/wiki/Universal_quantification

http://en.m.wikipedia.org/wiki/Vacuous_truth

It's a basic classic logic definition.
On Aug 3, 2013 5:02...
fuadksd (Fuad Saud)
05:23 PM Feature #8723: Array.any? predicate returns true for empty array.
On 2013/08/03 15:40, nurettin (Nurettin Onur TUGCU) wrote:
>
> Issue #8723 has been updated by nurettin (Nurettin Onur TUGCU).
>
>
> I find I need to address all the questions

> However I find the result needs not be defi...
duerst (Martin Dürst)
04:09 PM Feature #8723: Array.any? predicate returns true for empty array.
Nurettin, what would be a benefit of introducing this exception to a simple rule? You propose to make the truth value undefined where it is well defined. Can you cite some mathematical theory or natural language where it is undefined?
...
alexeymuranov (Alexey Muranov)
03:40 PM Feature #8723: Array.any? predicate returns true for empty array.
I find I need to address all the questions
=============
"If enum is empty, there is in fact *none* element which could not satisfy the predicate. " -- Eregon
none element which could not satisfy, you could interpret this as "a...
nurettin (Nurettin Onur TUGCU)
02:23 PM Feature #8723: Array.any? predicate returns true for empty array.
Several explanations for the correctness of how Ruby currently works
have already been given. Here's one more:

For any Enumerable, e.g. [x, y, z], Enumerable#any {|x| predicate(x) }
is essentially the Ruby way of expressing predi...
duerst (Martin Dürst)
06:23 AM Feature #8723: Array.any? predicate returns true for empty array.
Just for fun...

# true regardless of whether [].all? returns true or false
[].all? { |x| predicate(x) } == [].all? { |x| !predicate(x) }

# true iff enum is empty, but false otherwise
enum.all? { |x| predicate(x) } == enum....
david_macmahon (David MacMahon)
05:22 AM Feature #8723: Array.any? predicate returns true for empty array.
nurettin (Nurettin Onur TUGCU) wrote:
> Yes, I meant for .all? (wasn't able to edit) and the behavior is correct according to docs, and incorrect according to my interpretation of sets. (can a predicate be true when you have empty set?)
...
alexeymuranov (Alexey Muranov)
12:40 AM Feature #8723 (Rejected): Array.any? predicate returns true for empty array.
One way to see it is
enum.all? { |e| predicate(e) } == !enum.any? { |e| !predicate(e) }
And it seems logical to have #any? be false when the array is empty, right?
Also,
enum.all? { |e| predicate(e) } == enum.none? { ...
Eregon (Benoit Daloze)
07:42 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
@Boris, this is what i thought first, but rits demonstrated that lambda is not forgotten. So it looks like some optimization or cheating to me: instead of properly forgetting about the lambda, it hangs around just in case (and can unexp... alexeymuranov (Alexey Muranov)
07:15 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
@Alexey: It's spec. As soon as you unpack the block with the pretzel, it forgets about its lambda-ness. If you wish to pass lambdas inside the method, you have to do it through the argument list:
~~~ruby
def m1 f
f.call
return ...
Anonymous
07:30 PM Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
I've run test myself for 67 times and none of them finished unsuccessfully. 375gnu (Hleb Valoshka)
04:58 PM Revision 5a13ad03 (git): * bignum.c (BARY_TRUNC): New macro.
(bary_cmp): Use BARY_TRUNC.
(bary_mul_toom3): Ditto.
(bary_divmod): Ditto.
(abs2twocomp): Ditto.
(bigfixize): Ditto.
(rb_cstr_to_inum): Ditto.
(big2str_karatsuba): Ditto.
(bigdivrem): Ditto.
git-svn-id: svn+ssh://ci.ruby...
akr (Akira Tanaka)
04:01 PM Revision 092511ba (git): * bignum.c (big2str_karatsuba): Don't allocate new temporary buffer
if the buffer is enough for current invocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:41 PM Revision b3be3c29 (git): bignum.c: suppress warnings
* bignum.c (power_cache_get_power): declare as inline before call to
suppress warnings from gcc 4.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 PM Revision cb516087 (git): * 2013-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 606a03dc (git): * bignum.c (bary2bdigitdbl): New function.
(bdigitdbl2bary): Ditto.
(bary_mul_single): Use bdigitdbl2bary.
(power_cache_get_power): Ditto.
(bary_divmod): Use bary2bdigitdbl.
(big2str_orig): Ditto.
(bigdivrem): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
akr (Akira Tanaka)
02:20 PM Revision f12ef626 (git): * bignum.c: The branch condition of selecting multiplication
algorighms should check smaller argument because Karatsuba and Toom3
is effective only if both arguments are big.
(bary_mul_toom3_branch): Compare the smaller argument to
TOOM3_MUL_DIGITS.
(bary_mul): Compare the smaller argument...
akr (Akira Tanaka)
02:08 PM Revision 5be2e8eb (git): merge revision(s) 40080,40081: [Backport #8209]
* ext/extmk.rb (extmake): Use Logging.open to switch stdout and
stderr. Delay Logging::log_close until the failure message is
written. Write the failure message only if log file is opened.
* lib/mkmf.rb (Lo...
nagachika (Tomoyuki Chikanaga)
01:50 PM Revision 83466682 (git): merge revision(s) 42223: [Backport #8702]
* lib/mkmf.rb (xsystem): expand environment variable in all macros not
expanded with RbConfig. [Bug #8702]
* test/mkmf/test_framework.rb (create_framework): replace all $@ not
only once.
git-svn-id: svn+ss...
nagachika (Tomoyuki Chikanaga)
01:44 PM Revision ab660694 (git): merge revision(s) 41777,41779: [Backport #8593]
* lib/mkmf.rb (have_framework): allow header file to check.
[ruby-core:55745] [Bug #8593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:27 PM Revision f858cd8a (git): * bignum.c (big2str_orig): Receive the number to stringize as
BDIGIT array and size.
(big2str_karatsuba): Receive the number to stringize as BDIGIT array
and size. Use an temporary array of BDIGIT.
(rb_big2str1): Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
akr (Akira Tanaka)
01:27 PM Revision a1525108 (git): merge revision(s) 42271: [Backport #8713]
* lib/uri/common.rb (URI.decode_www_form_component):
Don't raise error when str includes multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:23 PM Revision dfe7399a (git): Add missing require
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:47 AM Revision 65fcd2e7 (git): merge revision(s) 42322:
nmake doesn't out put targets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
09:31 AM Feature #8264 (Closed): define struct under the given namespace
This issue was solved with changeset r42348.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
struct.c: rb_struct_define_under
* struct.c (rb_struct_defi...
nobu (Nobuyoshi Nakada)
07:57 AM Revision e34fac64 (git): Fix test failure to follow r42347 ref #3753
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:57 AM Feature #3753 (Closed): value of def-expr
This issue was solved with changeset r42347.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (value_expr_gen): now NODE_DEFN and NODE_DEFS are not ...
usa (Usaku NAKAMURA)
12:04 AM Feature #3753 (Assigned): value of def-expr
=begin
``define_method()'' と書かれると迷いが生じるんですが、Module#define_method が意図されていたということでいいんでしょうか?
で、あれば、こんなもんかと思うんですが、こちらはまだ入れてません。
Index: proc.c
===================================================================
--- proc.c (リビジョン 4233...
usa (Usaku NAKAMURA)
04:56 AM Feature #8725 (Feedback): Possibility to get a signal handler without changing it
in Perl
$xxxHandler = $SIG{XXX}
in Ruby it could be
xxxHandler = trap 'XXX'
bdimych (Dmitry Bolshakov)
04:40 AM Bug #8724 (Closed): MinGW: ConverterNotFoundError test failure
=begin
Hello,
The following test is causing a failure on Windows CI environment (MinGW) both x86 and x64:
TestEncodingConverter#test_default_external [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/ruby/test_econv....
luislavena (Luis Lavena)
04:32 AM Revision 36c89c48 (git): * bignum.c (MAX_BASE36_POWER_TABLE_ENTRIES): Renamed from
MAX_BIG2STR_TABLE_ENTRIES.
(base36_power_cache): Renamed from big2str_power_cache.
(base36_numdigits_cache): Renamed from big2str_numdigits_cache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42351 b2dd03c8-39d4-4d8f-98ff-823...
akr (Akira Tanaka)
01:33 AM Revision 6660c5fb (git): parse.y: no reduction with 1
* parse.y (parser_set_integer_literal): use rb_rational_raw1() for
integral rational because no reduction is needed with 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:46 AM Revision 4c009414 (git): etc.c: encodings
* ext/etc/etc.c (setup_passwd, setup_group): set proper encodings to
string members.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:31 AM Revision 042e5013 (git): struct.c: rb_struct_define_under
* struct.c (rb_struct_define_under): new function to define Struct
under the given namespace, not under Struct. [Feature #8264]
* ext/etc/etc.c: use rb_struct_define_under.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42348 b2dd...
nobu (Nobuyoshi Nakada)

08/02/2013

11:58 PM Feature #3753 (Closed): value of def-expr
This issue was solved with changeset r42337.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (m_core_define_method, m_core_define_singleton_method): n...
usa (Usaku NAKAMURA)
09:57 PM Revision ccd5c3dd (git): * parse.y (value_expr_gen): now NODE_DEFN and NODE_DEFS are not void
value expressions. get rid of wrong warning with -w, and make to
pass tests with chkbuild. ref. [Feature #3753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:50 PM Revision 2b9dbb3e (git): ChangeLog: fix typo
* ChangeLog: fix typo in r42335, "Appry" -> "Apply".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:42 PM Feature #8723: Array.any? predicate returns true for empty array.
Yes, I meant for .all? (wasn't able to edit) and the behavior is correct according to docs, and incorrect according to my interpretation of sets. (can a predicate be true when you have empty set?) nurettin (Nurettin Onur TUGCU)
09:35 PM Feature #8723 (Feedback): Array.any? predicate returns true for empty array.
Which version do you use? Please add your `ruby -v`.
irb for ruby 2.0.0 r36395
> [].any? { true }
=> false
I guess you meant for #all?
> ...
=> true
The doc says it well:
"The method returns true if the block never returns...
Eregon (Benoit Daloze)
08:38 PM Feature #8723 (Rejected): Array.any? predicate returns true for empty array.
Are all your children redheaded?
Would this be true if you have no children?
I have no children, therefore none of my children are redheaded.
Therefore
[].any?{ true } == true makes no sense.
Expected behavior:
[].any?{ true } == ...
nurettin (Nurettin Onur TUGCU)
08:49 PM Bug #8664: open ssl not_before failure on small set of certificates
Backported to ruby_1_9_3 at r42328. usa (Usaku NAKAMURA)
08:40 PM Bug #8669: outbuf can be "temporarily" locked forever in IO#read
Backported to ruby_1_9_3 at r42327. usa (Usaku NAKAMURA)
08:31 PM Bug #8687: mathn and round causes an segmentationfault
Backported to ruby_1_9_3 at r42326. usa (Usaku NAKAMURA)
08:00 PM Feature #8714: Non-interpolated regular expression literal
phluid61 (Matthew Kerwin) wrote:
> That's only partly true. # only need be escaped when it is followed by $, @ or {. Therein lies the source of a lot of confusion. From what I can see, ruby-doc.org says "Arbitrary Ruby expressions ca...
Eregon (Benoit Daloze)
08:42 AM Feature #8714: Non-interpolated regular expression literal
drbrain (Eric Hodel) wrote:
> What ruby version are you using? It works for me.
Ah, sorry, that was ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
After updating to -p247 it works.
phluid61 (Matthew Kerwin)
04:44 AM Feature #8714: Non-interpolated regular expression literal
phluid61 (Matthew Kerwin) wrote:
> > %r{#$} works too.
> ...
What ruby version are you using? It works for me. Without irb (since sometimes you can't trust it):
$ ruby -ve 'p %r{#$} =~ "foo#"'
ruby 2.0.0p247 (2013-06-27 revision 41...
drbrain (Eric Hodel)
07:24 PM Revision be5a436f (git): * doc/syntax/refinements.rdoc: Remove mention of instance_eval and
module_eval from scope section per:
http://twitter.com/shugomaeda/status/363219951336693761
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:49 PM Feature #8663: Officialy alias ArgumentError to ArgError
boris_stitnicky (Boris Stitnicky) wrote:
> Yes, but one of those characters is 'm'!
Anything in particular that's problematic about 'm'? I have tentatively classified that as a joke, but can switch it back if needed.
duerst (Martin Dürst)
11:26 AM Feature #8663: Officialy alias ArgumentError to ArgError
Yes, but one of those characters is 'm'! Anonymous
05:56 PM Bug #8722 (Closed): Refinements remain active beyond the end of an evaled string
=begin
The [[RefinementsSpec]] states:
"When main.using is invoked in a string given as the first argument of Kernel#eval, Kernel#instance_eval, or Module#module_eval, the end of the scope is the end of the string."
However, in ...
Anonymous
05:35 PM Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
JoeKun, can you retest it with the latest Sid (eglibc >= 2.17-91)? It has new implementation of libpthreads, which has fixed bug with ruby's fork(). 375gnu (Hleb Valoshka)
05:24 PM Revision 04cf3fa3 (git): * bignum.c (big2str_orig): Refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:52 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
boris_stitnicky (Boris Stitnicky) wrote:
> +1 to nobu
Boris, can you explain, please?
alexeymuranov (Alexey Muranov)
11:28 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
+1 to nobu Anonymous
06:43 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
I don't know. I could imagine that yielding to the lambda "converted to block" could try to return from the method from which the yielding method was called. alexeymuranov (Alexey Muranov)
06:14 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
alexeymuranov (Alexey Muranov) wrote:
> This looks strange to me too. Also this:
> ...
That a return in a lambda invoked by yield attempts to return from the method enclosing the lambda definition, has already been demonstrated. The `...
rits (First Last)
04:47 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
This looks strange to me too. Also this:
~~~ruby
def y; yield end
L = lambda{return 0}
def f; y &lambda{return 0} end
def g; y &L end
f # => 0
g # LocalJumpError: unexpected return
~~~
alexeymuranov (Alexey Muranov)
03:58 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
nobu (Nobuyoshi Nakada) wrote:
> `return' always returns from the enclosing method.
That is not true, and so by design, from "The ruby programming language":
> ...
___________
This bug is an exception to this rule, one that doe...
rits (First Last)
04:42 PM Revision 81f42c75 (git): * bignum.c (big2str_orig): Rename a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:29 PM Bug #8721 (Rejected): require digest.so on OSX
=begin
trying to compile as much as possible static ruby on OSX, so far I got quite close with:
LDFLAGS=-Bstatic ./configure --prefix=/Users/mpapis/.rvm/rubies/ruby-2.0.0-p247 --sysconfdir=/etc --disable-shared --enable-load-relativ...
mpapis (Michal Papis)
04:22 PM Revision d0741fdf (git): * bignum.c (bigadd_core): Removed.
(bigadd): Use bary_add instead of bigadd_core.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:59 PM Bug #8719: r42096 make bm_app_factorial.rb slow
2013年8月2日 12:30 Tanaka Akira <akr@fsij.org>:
> 2013/8/2 authorNari (Narihiro Nakamura) <authorNari@gmail.com>:
>> Bug #8719: r42096 make bm_app_factorial.rb slow
>> https://bugs.ruby-lang.org/issues/8719#change-40811
>
>> r420...
authorNari (Narihiro Nakamura)
12:53 PM Bug #8719: r42096 make bm_app_factorial.rb slow
2013/8/2 authorNari (Narihiro Nakamura) <authorNari@gmail.com>:
> Bug #8719: r42096 make bm_app_factorial.rb slow
> https://bugs.ruby-lang.org/issues/8719#change-40811

> r42096 のコミットでbm_app_factorial.rbがかなり遅くなるようです。
> しょうがないと...
akr (Akira Tanaka)
12:28 PM Bug #8719 (Closed): r42096 make bm_app_factorial.rb slow
This issue was solved with changeset r42324.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (bary_mul): Swap x and y for bary_mul1 if x is lon...
akr (Akira Tanaka)
10:16 AM Bug #8719 (Closed): r42096 make bm_app_factorial.rb slow
r42096 のコミットでbm_app_factorial.rbがかなり遅くなるようです。
しょうがないということでしたらrejectしてください。
とりあえずご報告までということで。
% time ./miniruby -v benchmark/bm_app_factorial.rb
ruby 2.1.0dev (2013-07-21 trunk 42095) [x86_64-linux]
./miniruby -v benchmark/bm_app_f...
authorNari (Narihiro Nakamura)
03:55 PM Revision ebbaec96 (git): * bignum.c (rb_big2str1): Simplify power_level calculation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:36 PM Revision 633fd55c (git): * array.c (rb_ary_zip): use rb_ary_new2() to create buffer
if rb_block_arity() > 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
03:13 PM Revision f5c00c14 (git): * 2013-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 038596b6 (git): * NEWS: Add the description that IO#seek supports SEEK_DATA
and SEEK_HOLE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:58 PM Revision 0f0b60ea (git): * vm.c (m_core_define_method, m_core_define_singleton_method): now
the value of def-expr is the Symbol of the name of the method, not
nil.
ref. [ruby-dev:42151] [Feature #3753]
* test/ruby/test_syntax.rb (TestSyntax#test_value_of_def): test for
above changes.
git-svn-id: svn+ssh://ci.ruby-lang....
U.Nakamura
02:56 PM Revision 5339293f (git): * array.c (rb_ary_zip): performance improvement by avoiding
array creation if rb_block_arity() > 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:53 PM Revision 54c3b1ba (git): * bignum.c (power_cache_get_power): Appry bigtrunc to the result of
bigsq.
(big2str_karatsuba): Fix number of leading zero characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:48 PM Revision 7c9a3d19 (git): parse.y: calculate powers of ten
* parse.y (parser_yylex): calculate denominator directly as powers of
ten, not parsing string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 PM Revision 0eab2b46 (git): parse.y: ripper for new literals
* parse.y (ripper_validate_object): ripper support for new literals,
tRATIONAL and tIMAGINARY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 PM Revision 2f57e806 (git): parse.y: parse precisely
* parse.y (parser_number_literal_suffix): return bit set of found
suffixes.
* parse.y (parser_set_number_literal, parser_set_integer_literal):
split from parser_number_literal_suffix to set yyvlal.
* parse.y (parser_yylex): parse rat...
nobu (Nobuyoshi Nakada)
02:14 PM Revision e176b8e1 (git): parse.y: simplify numerics
* parse.y (simple_numeric): integrate numeric literals and simplify
numeric rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:13 PM Revision 856a9afb (git): eventids2.c: new literals
* ext/ripper/eventids2.c (ripper_init_eventids2): ripper support for
new literals, tRATIONAL and tIMAGINARY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:10 PM Revision ba95b978 (git): bignum.c: suppress a warning
* bignum.c (rb_cstr_to_inum): remove set but unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 PM Bug #8720 (Closed): ECB mode seems to be broken
The reporting on this is partially from someone else's work that I found in a gist on github:
https://gist.github.com/tarcieri/5550786
But there appears to be some sort of issue with ECB mode. It works correctly in JRuby, which I ass...
netjunki (Ben Lau)
11:49 AM Revision e1e4ed4a (git): merge revision(s) 42126: [Backport #8664]
* ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZ
format for ASN.1 UTCTime. [ruby-trunk - Bug #8664]
* test/openssl/test_asn1.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b...
U.Nakamura
11:39 AM Revision c44ba832 (git): merge revision(s) 42212,42214: [Backport #8669]
* string.c: add internal API rb_str_locktmp_ensure().
* io.c (io_fread): use rb_str_locktmp_ensure().
[ruby-core:56121] [Bug #8669]
* test/ruby/test_io.rb: add a test for above.
* io.c (io_getpartial)...
U.Nakamura
11:30 AM Revision b13edd51 (git): merge revision(s) 42178: [Backport #8687]
* rational.c (f_round_common): Rational is expected to be returned by
Rational#*, but mathn.rb breaks that assumption. [ruby-core:56177]
[Bug #8687]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@4...
U.Nakamura
10:49 AM Bug #8718 (Closed): unary minus with literal suffix of Rational/Complex
Duplicate of #8717, fixed in r42323. Anonymous
10:12 AM Bug #8718 (Closed): unary minus with literal suffix of Rational/Complex
=begin
Unary minus is not supported?
(-1) # => -1
(-1r) # => (1/1) should be (-1/1)
(-1i) # => (0+1i) shoule be (0-1i)
=end
no6v (Nobuhiro IMAI)
10:40 AM Bug #8717 (Closed): Negation of a rational/imaginary number literal isn't working
This issue was solved with changeset r42323.
Takuto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (negate_lit): add T_RATIONAL and T_COMPLEX to the swi...
Anonymous
10:03 AM Bug #8717 (Closed): Negation of a rational/imaginary number literal isn't working
Hello.
I've found that negation of a rational/imaginary number literal isn't working.
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 2.1.0dev (2013-08-02 trunk 42320) [x86_64-linux]"
irb(main):002:0> -3r
=> (3/1)
...
takuto_h (Takuto Hayashi)
10:24 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
When talking about accepting it ... two things to consider as patch has two parts, really:
Part 1 - Adding support for lutimes on *nix/POSIX operating systems[*];
Part 2 - Changing FileUtils accordingly to accommodate for File getting n...
kwilczynski (Krzysztof Wilczynski)
09:36 AM Revision bc7c0a63 (git): * bignum.c (big2str_karatsuba): Reduce power_level more than one at
recursion, if possible.
(rb_big2str1): Follow the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:14 AM Bug #8715: openssl mkmf.log filled with other data
yes it did fixed the log problem - please backport it mpapis (Michal Papis)
04:46 AM Bug #8651: /[#$]/ causes syntax error
Yes, I meant $], it was a typo. drbrain (Eric Hodel)
03:28 AM Revision 9e8f82e0 (git): * bignum.c (bary_mul): Swap x and y for bary_mul1 if x is longer than y.
[ruby-dev:47565] [Bug #8719] Reported by Narihiro Nakamura.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:59 AM Feature #8430: Rational number literal
On Aug 1, 2013, at 12:53 AM, takuto_h (Takuto Hayashi) wrote:

> If we accept "1.2r" as "Rational(12, 10)":
> 1/3r #=> (1/3)
> 0.4/1.2r #=> 0.33333333333333337
>
> I think this feature's point is that "1/3r" can be se...
david_macmahon (David MacMahon)
12:19 AM Feature #8430: Rational number literal
takuto_h (Takuto Hayashi) wrote:
> Hello.
> ...
Thank you. But I'd already have a patch made by me on the last Sunday.
Although I've commited the changes based on my patch,
I really appreciate your contribution for this issue.
mrkn (Kenta Murata)
01:40 AM Revision 29c5a3b8 (git): * parse.y (negate_lit): add T_RATIONAL and T_COMPLEX to the switch
statement, and call rb_bug() if an unknown type is passed to
negate_lit(). [ruby-core:56316] [Bug #8717]
* bootstraptest/test_literal_suffix.rb (assert_equal): add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42323 b2dd03c8...
Charlie Somerville
01:15 AM Revision 3f109150 (git): nmake doesn't out put targets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:15 AM Revision 63ed8371 (git): Fix test failure on Windows because of an extra warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:14 AM Revision c0d4ba9f (git): * doc/syntax/refinements.rdoc: Improve description of where you may
activate refinements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

08/01/2013

11:58 PM Feature #8430 (Closed): Rational number literal
This issue was solved with changeset r42311.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* rational.c (rb_flt_rationalize_with_prec): new public C functi...
mrkn (Kenta Murata)
10:05 PM Feature #8430: Rational number literal
takuto_h (Takuto Hayashi) wrote:
> Hello.
> ...
Great.
> and recognized that a part of the proposed feature is confusable.
> ...
IMO, it does not matter because we don't usually write a rational whose numerator and denominator are ...
mame (Yusuke Endoh)
04:53 PM Feature #8430: Rational number literal
Hello.
I wrote a patch for the rational number literal and recognized that a part of the proposed feature is confusable.
If we accept "1.2r" as "Rational(12, 10)":
1/3r #=> (1/3)
0.4/1.2r #=> 0.33333333333333337
I ...
takuto_h (Takuto Hayashi)
10:52 PM Bug #8644: valgrind error in a readline test
http://rbci.lakewood.privs.net/ruby-trunk/log/20130801T131001Z.diff.html.gz をみると、
...
TestRange#test_bsearch_for_other_numerics = <elapsed> s = .
TestRange#test_bsearch_typechecks_return_values = <elapsed> s = .
+TestRange#test_b...
akr (Akira Tanaka)
10:49 PM Revision 474dc1e8 (git): * bignum.c (big2str_orig): Remove len argument.
(big2str_karatsuba): Ditto.
(rb_big2str1): Follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:57 PM Bug #8716 (Closed): segmation fault 正規表現で大量のグループを利用時
=begin
WindowsとOS Xで検証しました。
*再現手順 ruby 2.0.0p247 (2013-06-27) [x64-mingw32]
a="()"
(32767.times{a<<'()'}
eval "/#{a}/=~''"
*再現手順 ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1]
a="()"
(1<<21).times{a<...
taka-yoshi (taka-yoshi taka)
09:10 PM Feature #8658: Process.clock_gettime
I updated the patch to emulate CLOCK_REALTIME using gettimeofday. akr (Akira Tanaka)
08:47 PM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
akr (Akira Tanaka) wrote:
> There are several software which has similar feature.
> ...
I look out more.
* Go has BitLen.
http://golang.org/pkg/math/big/#Int.BitLen
* OpenSSL has BN_num_bits.
http://www.openssl.org/docs/c...
akr (Akira Tanaka)
08:46 PM Revision 1e3a2908 (git): * NEWS: fix typos in the description of number literal suffixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:18 PM Bug #8711: 最近NoMemoryErrorが多い
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130801T103302Z.log.html.gz
で 32bit でも安定したような気がします。
もうしばらく様子を見ます。
より多くのアドレス空間を必要とするようになった事自体は仕様って理解でいいんですよね>ささださん
naruse (Yui NARUSE)
06:08 PM Bug #8711: 最近NoMemoryErrorが多い
http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20130731T113303Z.diff.html.gz
/proc/meminfo みても特にメモリが足りなくなっているようには見えないので悩んでいたところ、
卜部さんに setrlimit と ASLR のコンボでアドレス空間が無くなっているのではないかとの示唆を受け、
LIMIT_AS を増やしてみたところ、64bit 環境では再現しなくなりました。
32...
naruse (Yui NARUSE)
05:33 PM Revision 991bd133 (git): * NEWS: Add the description of number literal suffixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
05:23 PM Bug #8715: openssl mkmf.log filled with other data
2013/8/1 mpapis (Michal Papis) <mpapis@gmail.com>:
> Bug #8715: openssl mkmf.log filled with other data
> https://bugs.ruby-lang.org/issues/8715

> After compilation + installation of ruby I check the log: (({cat /Users/mpapis/....
akr (Akira Tanaka)
04:33 PM Bug #8715: openssl mkmf.log filled with other data
=begin
After applying http://www.rubyist.net/~eban/goto/r42213 from https://bugs.ruby-lang.org/issues/7948
The error changes to: (({cat /Users/mpapis/.rvm/src/ruby-2.0.0-p247/ext/openssl//mkmf.log}))
Ignore OpenSSL broken by Appl...
mpapis (Michal Papis)
04:21 PM Bug #8715 (Closed): openssl mkmf.log filled with other data
=begin
After compilation + installation of ruby I check the log: (({cat /Users/mpapis/.rvm/src/ruby-2.0.0-p247/ext/openssl/mkmf.log}))
Failed to configure openssl. It will not be installed.
Failed to configure -test-/win32/dln. It w...
mpapis (Michal Papis)
05:11 PM Revision 6f39ca46 (git): Show more portable and detailed info on NoMemoryError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:41 PM Bug #8710: Segmentation fault - when migrating a database on Debian 7.1
Not sure if you guys want to close this issue or if it's something worth looking into.
But removing the line
host: localhost
from the rails database.yml file solved the problem
production:
adapter: postgresql
encoding: utf8
da...
AJ-Acevedo (AJ Acevedo)
03:14 PM Revision ae0181b7 (git): * bootstraptest/test_literal_suffix.rb: add two test cases to
examine that "1if true" and "1rescue nil" are recognized as 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:04 PM Revision da5e7572 (git): Show memory usage on NoMemoryError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:01 PM Revision 885c7da9 (git): * 2013-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 0a8cfd54 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:58 PM Revision e06407cf (git): * rational.c (rb_flt_rationalize_with_prec): new public C function
to rationalize a Float instance with a precision.
* rational.c (rb_flt_rationalize): new public C function to
rationalize a Float instance. A precision is calculated from
the given float number.
* include/ruby/intern.h: Add rb_flt_r...
Kenta Murata
02:57 PM Revision 9ebd675c (git): * bignum.c (rb_big2str1): Remove a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:34 PM Revision 69263bb7 (git): * bignum.c (rb_cstr_to_inum): Use power_cache_get_power.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:32 PM Revision 79be1047 (git): * string.c (str_rindex): remove comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
12:05 PM Revision d620b0b9 (git): * bignum.c (rb_big2str1): Raise an error for too big number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:48 AM Revision 780a125f (git): * bignum.c (power_cache_get_power): Hide cached Bignum objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:39 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
`return` always returns from the enclosing method.
This is not affected by if it is in a block.
Only exception is the case nowhere to return from the block as the method already has exited, but your code is not in such case.
nobu (Nobuyoshi Nakada)
10:46 AM Bug #8651: /[#$]/ causes syntax error
=begin
Bah,
To people curious about why this does not cause error in 2.0, see #8375.
=end
sakuro (Sakuro OZAWA)
10:42 AM Bug #8651: /[#$]/ causes syntax error
=begin
To people curious about why this does not cause error in 2.0, see #8651.
=end
sakuro (Sakuro OZAWA)
08:54 AM Bug #8651: /[#$]/ causes syntax error

drbrain (Eric Hodel) wrote:
$[ is not a valid global variable you get an exception.

do you mean $], not $[ ?
sakuro (Sakuro OZAWA)
07:13 AM Bug #8651 (Rejected): /[#$]/ causes syntax error
=begin
This is consistent with (({"[#$]"})) in 1.9.3 so I will reject this issue.
In // and "" (({#$X})) interpolates global variable (({$X})). As (({$[})) is not a valid global variable you get an exception.
=end
drbrain (Eric Hodel)
10:36 AM Feature #8714: Non-interpolated regular expression literal
nobu (Nobuyoshi Nakada) wrote:
> For other %-literals, upper cases do interpolation, e.g., %Q, %W, %I.
> ...
It is unfortunate that %r and %x buck the trend. I would suggest a different letter, such as %P, but I think that might be ju...
phluid61 (Matthew Kerwin)
10:24 AM Feature #8714: Non-interpolated regular expression literal
For other %-literals, upper cases do interpolation, e.g., %Q, %W, %I.
I'm afraid that it would cause confusion by making %R exceptional.
nobu (Nobuyoshi Nakada)
09:24 AM Feature #8714: Non-interpolated regular expression literal
Eregon (Benoit Daloze) wrote:
> > Off the top of my head, I can't think of how to construct a regexp literal to match a hash character at the end of the string (i.e. /#$/), without first constructing a string.
> ...
Of course!
> %r{...
phluid61 (Matthew Kerwin)
09:00 AM Feature #8714: Non-interpolated regular expression literal
> Off the top of my head, I can't think of how to construct a regexp literal to match a hash character at the end of the string (i.e. /#$/), without first constructing a string.
Well you can escape the "#": /\#$/ =~ "#" # => 0.
%r{#$} w...
Eregon (Benoit Daloze)
08:37 AM Feature #8714: Non-interpolated regular expression literal
Eregon (Benoit Daloze) wrote:
> Why not Regexp.new('simple quoted string or any literal not interpolating')?
That would have to be Regexp.new(%q/.../) to avoid having to escape single quotes and double-escape backslashes in the strin...
phluid61 (Matthew Kerwin)
08:21 AM Feature #8714: Non-interpolated regular expression literal
Why not Regexp.new('simple quoted string or any literal not interpolating')?
Also,
/[$#]/ # => /[$#]/ and
"[#$]" => "[\#$]" are fine on 2.0 and later.
(Although "[#$]".inspect should probably not escape '#' but it is harmless)
Eregon (Benoit Daloze)
08:07 AM Feature #8714 (Open): Non-interpolated regular expression literal
=begin
I propose a new %string for non-interpolated regexp literals: %R
It is common to see erroneous bug reports around the use of ((%#%)) in regexp literals, for example where (({/[$#]/})) raises a syntax error "unexpected $undef...
phluid61 (Matthew Kerwin)
10:19 AM Revision 0ade4f39 (git): * bignum.c (rb_big2str1): Remove non-trim mode.
(rb_big2str0): Non-trim mode implemented here.
(big2str_find_n1): Change the result type to long again.
(big2str_base_powerof2): Don't take arguments: len and trim.
(rb_big2str): Follow above change.
git-svn-id: svn+ssh://ci.rub...
akr (Akira Tanaka)
09:33 AM Feature #8536: Implement is_numeric? family of methods
There is no "is_"+adjective+"?" built-in methods.
And check-then-convert seems redundant.
nobu (Nobuyoshi Nakada)
08:29 AM Feature #8536: Implement is_numeric? family of methods
=begin
I am +1, if you change (({is_rationale?})) to (({is_rational?}))
Implementation question: is it reasonable to refactor rb_cstr_to_inum (etc.) to conditionally not perform the Integer object allocation?
=end
phluid61 (Matthew Kerwin)
04:06 AM Bug #8712 (Closed): Couldn't find file to include 'sample/curses/*.rb'
This issue was solved with changeset r42300.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
options.rb: include root for out-place build
* lib/rdoc/opti...
nobu (Nobuyoshi Nakada)
03:46 AM Revision 9037b25d (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:43 AM Revision 93055423 (git): * bignum.c (big2str_alloc): New function to allocate the result string.
It is called after actual length is calculated.
(big2str_struct): Add fields: negative, result and ptr.
(big2str_orig): Write out the result via b2s->ptr.
(big2str_orig): Ditto.
(rb_big2str1): Don't allocate the result string at ...
akr (Akira Tanaka)

07/31/2013

11:17 PM Bug #8712 (Closed): Couldn't find file to include 'sample/curses/*.rb'
=begin
When builddir is not srcdir, failed to include from curses.c.
Generating RDoc documentation
Parsing sources...
Couldn't find file to include 'sample/curses/hello.rb' from .../ruby/ext/curses/curses.c
Couldn't find file ...
znz (Kazuhiro NISHIYAMA)
10:38 PM Revision 478bd312 (git): * bignum.c (big2str_orig): Use temporary buffer when trim mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:33 PM Revision 39a00c67 (git): * bignum.c (big2str_orig): Simplified because RBIGNUM_LEN(x) <= 2 now.
(big2str_struct): Two fields added: hbase2, hbase2_numdigits.
(rb_big2str1): Initialize above fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:06 PM Revision 835c555f (git): options.rb: include root for out-place build
* lib/rdoc/options.rb (RDoc#finish): include root path in include
paths, to work in another directory than the source directory.
[ruby-core:56282] [Bug #8712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42300 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
07:05 PM Revision 3d562b68 (git): test_rdoc_markup_pre_process.rb: input tempfile
* test/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#setup):
fix input_file_name, as the test script is not pre-processed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:29 PM Feature #8632 (Closed): Remove warnings for Refinements
This issue was solved with changeset r42272.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_mod_refine, mod_using, top_using): don't show
war...
shugo (Shugo Maeda)
04:48 PM Revision eed6c15a (git): * bignum.c (big2str_karatsuba): Fix a condition of power_level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:34 PM Revision b4dd68ff (git): Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
04:23 PM Feature #8707: Hash#reverse_each
Hello Charlie,
On 2013/07/31 14:24, Charlie Somerville wrote:
> Matz: This is quite a significant performance improvement and therefore I think it is worthwhile.
Only if the new method is actually used in practice.
That's why Matz is a...
duerst (Martin Dürst)
02:29 PM Feature #8707: Hash#reverse_each
Matz: This is quite a significant performance improvement and therefore I think it is worthwhile.
Anonymous
12:48 PM Feature #8707 (Feedback): Hash#reverse_each
Do we really need it? What is use-cases?
Matz.
matz (Yukihiro Matsumoto)
04:21 PM Revision 278b494b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:20 PM Revision 4f1b07e9 (git): * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Removed.
(KARATSUBA_BIG2STR_DIGITS): Removed.
(big2str_numdigits_cache): New variable.
(power_cache_get_power): Merged with power_cache_get_power0.
This function returns maxpow_in_bdigit_dbl(base)**(2**power_level).
(rb_big2str1): use pow...
akr (Akira Tanaka)
04:06 PM Bug #8711 (Closed): 最近NoMemoryErrorが多い
最近 rubyci で NoMemoryError を出して失敗することが多いので、それを追跡するスレ
= TestFiber#test_many_fibers
http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20130730T233301Z.diff.html.gz
http://rbci.lakewood.privs.net/ruby-trunk/log/20130731T001002Z.diff.html....
naruse (Yui NARUSE)
03:13 PM Feature #6589 (Feedback): Set#rehash
I added some notes to the rdoc in r42265. knu (Akinori MUSHA)
03:01 PM Revision d28913b4 (git): * bignum.c (big2str_find_n1): Change the return type to size_t.
(big2str_orig): Ditto.
(big2str_karatsuba): Ditto.
(rb_big2str1): Follow the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 482a21e7 (git): * 2013-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision b0d4ffda (git): revert r42255 ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:52 PM Bug #8710: Segmentation fault - when migrating a database on Debian 7.1
I just cloned my rails app onto my Debian 7.1 server and while migrating the database, Ruby reported a Segmentation fault and mentioned that bug reports are welcome.
Here is a gist with the system and ruby info as well as the output fro...
AJ-Acevedo (AJ Acevedo)
02:51 PM Bug #8710 (Closed): Segmentation fault - when migrating a database on Debian 7.1
I just cloned my rails app onto my Debian 7.1 server and while migrating the database ruby reported AJ-Acevedo (AJ Acevedo)
02:21 PM Revision 9e84b335 (git): * bignum.c (power_cache_get_power): Change numdigits_ret to size_t *.
(big2str_orig): Change len argument to size_t.
(big2str_karatsuba): Ditto.
(rb_big2str1): Follow the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:00 PM Revision 5f8cba07 (git): * test/rexml/parse/test_notation_declaration.rb: Change class
name to follow file name change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:58 PM Revision 6668c32a (git): * test/rexml/test_notationdecl_parsetest.rb: Rename to ...
* test/rexml/parse/test_notation_declaration.rb: ... this.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:55 PM Revision 6b4a6fcb (git): * test/rexml/test_notationdecl_mixin.rb: Remove duplicated tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:53 PM Revision 0c1139ea (git): * test/rexml/test_notationdecl_parsetest.rb: Fix typos in expected
value.
pubilc ->
public
^^
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:52 PM Revision 7f6c69b1 (git): * test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
system literal in external ID system notation declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:42 PM Revision 621d2b3d (git): * bignum.c (bary_cmp): Extracted from rb_big_cmp.
(power_cache_get_power): Change n1 argument (number of digits) to
power_level which is just passed to power_cache_get_power0.
(big2str_karatsuba): Ditto.
(rb_big2str1): Calculate the initial power_level.
git-svn-id: svn+ssh://ci...
akr (Akira Tanaka)
01:05 PM Revision 806dd30f (git): * test/rexml/test_notationdecl_parsetest.rb: Fix a typo.
Extern ID ->
ExternalID
^^
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:04 PM Revision a41ab7b3 (git): * test/rexml/test_notationdecl_parsetest.rb: Add tests that focus
public ID in external ID notation declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:01 PM Revision 434826c0 (git): * parse.y: fix build error with bison-3.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:59 PM Revision 43f944dc (git): * test/rexml/test_notationdecl_parsetest.rb: Split test patterns.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:44 PM Revision 3e047699 (git): * test/rexml/test_notationdecl_parsetest.rb: Group tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:38 PM Revision 1251f51e (git): * test/rexml/test_notationdecl_mixin.rb (TestNotationDecl#test_name):
Move to ...
* test/rexml/test_notationdecl_parsetest.rb
(TestNotationDecl#test_name): ... here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
12:32 PM Revision 5a5ede73 (git): * test/rexml/test_notationdecl_parsetest.rb: Remove setup because it
doesn't share anything with other tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
12:25 PM Revision a9c4b0f4 (git): * test/rexml/test_attributes_mixin.rb: Remove a needless shebang.
* test/rexml/test_notationdecl_mixin.rb: ditto.
* test/rexml/test_doctype.rb: ditto.
* test/rexml/test_xml_declaration.rb: ditto.
* test/rexml/test_changing_encoding.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42277 b2...
Sutou Kouhei
12:20 PM Revision c1ada18d (git): * test/rexml/test_notationdecl_parsetest.rb: remove a needless shebang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
11:18 AM Revision 0e2d0bb9 (git): * string.c (rb_str_rindex): fix bug introduced in r42269.
"".rindex("") should return 0.
(str_rindex): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
10:58 AM Revision aba8c29a (git): * bignum.c (MAX_BIG2STR_TABLE_ENTRIES): Use SIZEOF_SIZE_T.
(power_cache_get_power0): Add rb_bug call for too bit i argument.
(power_cache_get_power): Simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:34 AM Revision 601f7838 (git): * lib/uri/common.rb (URI.decode_www_form_component): Use String#b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
09:33 AM Feature #8696: Process.setproctitle
Class#nameとかぶるProcess.nameは芳しくないと思います。
Process.setproctitle()の別名ならProcess.title{,=}じゃないでしょうか。
nobu (Nobuyoshi Nakada)
02:35 AM Feature #8696: Process.setproctitle
なお、「プロセスの名前」としては*BSDの getprogname(3)/setprogname(3) も浮かびますが、これはerr(3)によるエラー表示などで使われるものですが、その初期値は File.basename($0) なので$0の別名としては使えなさそうです。 knu (Akinori MUSHA)
02:27 AM Feature #8696: Process.setproctitle
getproctitle() というAPIはないので、 Process.setproctitle() でいいんじゃないかと思います。
$0はベタに Process.argv0 でどうでしょう。argv0という名前はTclに先例があります。
$0=でsetproctitle()が呼ばれるのはPerlから引き継いだ仕様だと思いますが、argv[0]を初期値とする$0のsetterがsetproctitle()であるというのは実は対称性がありません。(setproct...
knu (Akinori MUSHA)
12:41 AM Feature #8696: Process.setproctitle
znz (Kazuhiro NISHIYAMA) wrote:
> 元々 DevelopersMeeting20130727Japan の時の雑談で出た話で、その時も
> ...
Thread#name はそりゃそういう名前になるよねって感じなのですが、
Process.name は Process クラスの name になるのがだいぶ違和感あるんですよね。
naruse (Yui NARUSE)
09:29 AM Revision 1c7f9073 (git): * eval.c (rb_mod_refine, mod_using, top_using): don't show
warnings because Refinements are no longer experimental.
[ruby-core:55993] [Feature #8632]
* test/ruby/test_refinement.rb: related test.
* NEWS: fixes for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42272 b2d...
shugo (Shugo Maeda)
09:00 AM Revision b30a1723 (git): * lib/uri/common.rb (URI.decode_www_form_component):
Don't raise error when str includes multibyte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
08:59 AM Revision 37c05ec3 (git): show errno on FiberError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:47 AM Revision 867876ab (git): * string.c (rb_str_rindex): performance improvement by using
memrchr(3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
07:53 AM Revision 8b126d59 (git): * string.c (rb_str_rindex): refactoring and avoid to call str_nth() if
pos == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
07:07 AM Revision fc3b9361 (git): Show /proc/meminfo on NoMemoryError ref #8711
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:02 AM Revision 444cd6f7 (git): Add a reference to the related issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:58 AM Revision a5c8e086 (git): * lib/set.rb: [DOC] Add a couple of notes on Hash as storage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:58 AM Revision b426f8eb (git): * lib/set.rb: [DOC] Fix example result. Hash is now ordered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:58 AM Revision d950ffe5 (git): Use the term "sorted" instead "ordered" when mentioning SortSet.
* lib/set.rb: [DOC] Use the term "sorted" instead "ordered" when
mentioning SortSet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:20 AM Revision 61898591 (git): * bignum.c (big2str_struct): New structure.
(big2str_orig): Use big2str_struct.
(big2str_karatsuba): Ditto.
(rb_big2str1): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:06 AM Revision 7e465336 (git): add github url to changelog for r42260
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:03 AM Revision 464cf793 (git): * lib/rubygems.rb: [DOC] typo in url patch by @Red54 [Fixes #369]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:49 AM Feature #8709 (Rejected): Dir.glob should return sorted file list
`Dir.glob` is documented to return filenames in filesystem order:
> Note that case sensitivity depends on your system, *as does the order in which the results are returned.*
Anonymous
01:24 AM Feature #8709 (Closed): Dir.glob should return sorted file list
On OS X, Dir.glob and Dir[] return an ordered list of files.
On Ubuntu Linux, they do not and one must manually sort them.
Returning a list of files that isn't in order fails the Principle of Least Astonishment.
I attach a unit ...
tommorris (Tom Morris)
12:32 AM Bug #8680: ruby crashes when built with AddressSanitizer
If we are 100% sure that the GC is fine, then the following patch can be applied to make CRuby ASAN friendly.
diff --git a/gc.c b/gc.c
index caaf00c..de7815b 100644
--- a/gc.c
+++ b/gc.c
@@ -31,6 +31,12 @@
#include <sys/types.h>...
halfie (Ruby Guy)

07/30/2013

11:10 PM Bug #8708 (Closed): It seems that a call to the "system" changes the handler of the INT signal
this is only on cygwin, on linux all ok
$ uname -a
CYGWIN_NT-5.1 bolshakovxp 1.7.21(0.267/5/3) 2013-07-15 12:17 i686 Cygwin
--- test script ---
#!/usr/bin/ruby
STDOUT.sync = true
puts 'before "system" ctrl-c stops the script ...
bdimych (Dmitry Bolshakov)
10:58 PM Feature #8707 (Feedback): Hash#reverse_each
Currently, `{}.reverse_each` calls `Enumerable#reverse_each`.
It will make array and its size can be large.
I made `Hash#reverse_each` to avoid array creation and performance improvement.
benchmark:
```ruby
require "benchmark"
...
Glass_saga (Masaki Matsushita)
10:25 PM Feature #8696: Process.setproctitle
元々 DevelopersMeeting20130727Japan の時の雑談で出た話で、その時も
* Process.setproctitle
* Process.name, Process.name=
の両方の案がありました。
setproctitle の理由としては他の Process のメソッドも C API そのままの名前が多いし、そのあたりのメソッドを使う人はそういうことがわかってるはずなので、C API に近い名前の方がわかりやすい、と...
znz (Kazuhiro NISHIYAMA)
01:59 AM Feature #8696: Process.setproctitle
方向性としては賛成なのですが($0はぐぐらびりてぃ悪いから暗記しないといけないのがイケてない)、
細かい点をいくつか確認させてください。
$0と同等なら Process.name = "hoge" とかのほうが読みやすいんじゃないの?
Process.setproctitle にする意図は?文字列以外も与えたい? Windowsで動かないと暗にいいたい?
$0は書くだけじゃなくて、読むことも出来たと思うのですがそれは出来なくてもよい?
kosaki (Motohiro KOSAKI)
10:11 PM Revision 9d08bed1 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:10 PM Revision db38a640 (git): * 2013-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:10 PM Revision 310d77d4 (git): * lib/rubygems: Import RubyGems from master as of commit 523551c
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:32 PM Feature #8693: lambda invoked by yield acts as a proc with respect to return
rits (First Last) wrote:
> what is the reason for this?
> ...
@nobu - please explain
rits (First Last)
07:02 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
alexeymuranov (Alexey Muranov) wrote:
> rits (First Last) wrote:
> ...
it's not lost:
irb(main):011:0> def m1; p Proc.new; yield end; def m2; l = ->{return 0}; p l; m1 &l; 1 end; m2
#<Proc:0x00000002b76748@(irb):11 (lambda)>
#<Pro...
rits (First Last)
06:33 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
rits (First Last) wrote:
> what is the reason for this?
> ...
My guess: the ampersand operator has converted the "lambda" to a "block" (so the lambda object is lost).
alexeymuranov (Alexey Muranov)
06:02 AM Feature #8693: lambda invoked by yield acts as a proc with respect to return
rits (First Last) wrote:
> what is the reason for this?
> ...
could you please explain
rits (First Last)
07:19 PM Feature #6588: Set#intersect?
I followed superset?() and the like, and made the new methods accept only a set for the moment, because I couldn't come up with an idea of how to deal with Range. For example:
- if Set[2].intersect?(1.5..2.5) should return true
- if...
knu (Akinori MUSHA)
06:58 PM Feature #6588 (Closed): Set#intersect?
This issue was solved with changeset r42253.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Add Set#intersect? and #disjoint?.
* lib/set.rb (Set#inter...
knu (Akinori MUSHA)
01:25 PM Revision d82e5cc4 (git): * test/ruby/test_hash.rb: add a test for enumeration order of Hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
01:23 PM Bug #8697: Fixnum complement operator issue
The bit inverted VALUE is OR'd with FIXNUM_FLAG so that Ruby will still recognize the VALUE as a Fixnum. It is NOT done to convert to two's complement (which would actually require adding 1 to the bit inverted value rather).

You can...
david_macmahon (David MacMahon)
12:30 PM Revision 1c3ea43f (git): rescue NoMemoryError
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:21 AM Revision 038f82d2 (git): Add some more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
09:58 AM Revision bd304ed8 (git): Add Set#intersect? and #disjoint?.
* lib/set.rb (Set#intersect?, Set#disjoint?): Add new methods for
testing if two sets have any element in common.
[ruby-core:45641] [Feature #6588] Based on the code by marcandre.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42...
Akinori MUSHA
08:23 AM Revision 2e0fc4b2 (git): remove duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:16 AM Revision 09adba0d (git): sprintf.c: QUOTE flag
* sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:08 AM Revision 6be21c1d (git): remove debugging raise in previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:52 AM Revision 7b53830a (git): Show ObjectSpace.count_objects to debug NoMemoryError
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:02 AM Revision 7b297f0c (git): * ext/curses/extconf.rb: [DOC] nodoc to reduce Object pollution
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:02 AM Revision a0320f8e (git): skip if ENV['USER'] is nil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom