Activity
From 12/09/2010 to 12/15/2010
12/15/2010
-
09:53 PM Bug #4162 (Closed): C segfault in TCPSocket CFUNC :read
- =begin
=end
-
09:46 PM Bug #4162: C segfault in TCPSocket CFUNC :read
- =begin
Out of curiosity I checked out and compiled the svn 1.9.2 branch.
All of my issues are resolved in the ... -
08:43 PM Bug #4162 (Closed): C segfault in TCPSocket CFUNC :read
- =begin
Please let me know how I can be of assistance. The errors below or reproducible and consistent for me.
C... -
09:49 PM Bug #3976: ruby/1.9.1/webrick/server.rb:90: [BUG] Segmentation fault
- =begin
Having recently experienced these issues in 1.9.2p0 myself. I suggest testing with ruby 1.9.2p94 (2010-12-08 ... -
08:36 PM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
On 15 December 2010 05:32, Marc-Andre Lafortune
<[email protected]> wrote:
> Or similarl... -
07:18 PM Bug #4161 (Closed): ReXML wants "elements.each" argument to be not frozen
- =begin
Here's a simple program that uses ReXML:
require 'rexml/document'
doc = REXML::Document.new File.... -
06:40 PM Bug #4157: test_pty で、たまに出る Failure
- =begin
手元でビルド可能な最古の trunk の r21509 でも起きました。
=end
-
04:40 PM Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
- > ありがとうございます。
> 問題ないことを確認しました。
まさか1000倍間違ってるとは盲点でしたねぇ :-p
unakさんと議論したときの結論は、setrlimit()した段階ではAS超過チェックはされないので、
次にmma... -
06:53 AM Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
- ありがとうございます。
問題ないことを確認しました。
-
03:27 AM Bug #4159 (Closed): test_block_variables(TestRipper::ParserEvents) が失敗する
- This issue was solved with changeset r30212.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is... -
02:43 AM Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
- 2010年12月15日2:38 U.Nakamura <[email protected]>:
> こんにちは、なかむら(う)です。
>
> In message "[ruby-dev:42763] [Ruby 1.9-Bu... -
02:38 AM Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
- こんにちは、なかむら(う)です。
In message "[ruby-dev:42763] [Ruby 1.9-Bug#4159][Open] test_block_variables(TestRipper::ParserEvent... -
02:08 AM Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
- すいません。誰も対策していないは勘違いだったようです。
以下のようなコミットを発見してしまいました。くすん
```diff
commit 72ad8595f2032cfcf73084083306eef909eb42a5
Author... -
12:55 AM Bug #4159: test_block_variables(TestRipper::ParserEvents) が失敗する
- エラーメッセージからポイントされている [ruby-dev:39423] は以下のようです
> 以下のように、アドレス空間を 100Mbytes に制限した状況で
> ```ruby
> Ripper.new("proc{|;y|}... -
10:15 AM Bug #4149: Documentation submission: syslog standard library
- =begin
On Dec 14, 2010, at 12:12, mathew wrote:
> On Sat, Dec 11, 2010 at 10:25, mathew murphy <redmine@ruby-lang... -
05:13 AM Bug #4149: Documentation submission: syslog standard library
- =begin
On Sat, Dec 11, 2010 at 10:25, mathew murphy <[email protected]> wrote:
> I can't work out how to use :c... -
07:26 AM Bug #4160 (Closed): test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する
- =begin
test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗することがあります。(大体2回に1回くらい)
私の環境ではCentOS 5.5のマシンで発生し、Debian ... -
03:27 AM Bug #4158 (Closed): X509V3_set_nconf が使用できないと openssl がコンパイルエラー
- =begin
This issue was solved with changeset r30213.
Tomoyuki, thank you for reporting this issue.
Your contributio...
12/14/2010
-
11:40 PM Bug #4159 (Closed): test_block_variables(TestRipper::ParserEvents) が失敗する
- =begin
test_block_variables(TestRipper::ParserEvents) が失敗することがあります。
どうも環境依存らしく、CentOS 5.5のマシンでは再現しますが、Debian lenny... -
08:00 PM Bug #4121: test_getpty_nonexistentで止まることがある
- =begin
CentOS 5.5/Xeon L3426の環境ですが、改めて調べてみると
make test-all TESTS="test_pty.rb"
→たまに止まる
make test-all TES... -
07:05 PM Bug #4121: test_getpty_nonexistentで止まることがある
- =begin
うちの環境(4コアAMD64、FreeBSD8)でも起きます。
$ cpuset -l 0 make test-all TESTS='test_pty.rb'
のように CPU を制限すると確実に... -
07:05 PM Bug #4158 (Closed): X509V3_set_nconf が使用できないと openssl がコンパイルエラー
- =begin
HAVE_X509V3_SET_NCONF が定義されない時に ossl_x509ext.c がコンパイルエラーを発生させます。
以下パッチです。
Index: ext/openssl/ossl_x... -
06:41 PM Feature #4151: Enumerable#categorize
- =begin
2010/12/12 "Martin J. Dürst" <[email protected]>:
>
> There are already such methods. At least group_b... -
06:19 PM Bug #4157: test_pty で、たまに出る Failure
- =begin
%ruby で CPU 数が影響してるのかも、とコメントをいただいたので、cpuset -l 0 で実行して
みたところ、#4121 が確実に起きるようになり、(test_getpty_nonexistent をコ... -
05:16 PM Bug #4157 (Closed): test_pty で、たまに出る Failure
- =begin
amd64 FreeBSD8 でも #4121 が起きることがあるのですが、
while で $ while make test-all TESTS="test_pty.rb" ; do : ; done のよう... -
09:32 AM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
Hi,
In message "Re: [ruby-core:33704] [Ruby 1.9-Bug#4136] Enumerable#reject should not inherit the receive... -
07:42 AM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
This changes the behavior for subclasses of Array. Should the other cases also be modified in the same way?
... -
05:56 AM Feature #3767: String#scan enumerator?
- =begin
@Yui
Yes, :each_line could be used for this particular this example b/c of the regular expression used, but...
12/13/2010
-
10:07 AM Feature #4142 (Closed): multipart/form-data for net/http
- =begin
This issue was solved with changeset r30188.
Yui, thank you for reporting this issue.
Your contribution to ... -
08:00 AM Bug #4153: Minitest or ruby bug - wrong return code
- =begin
I was mistaken. They stack, not queue. I have a tentative solution for this that I'm testing.
=end
-
07:29 AM Bug #4153: Minitest or ruby bug - wrong return code
- =begin
I hesitate to say that this is a bug at all. It is just the way that ruby works w/ at_exit. They queue up and... -
02:30 AM Bug #4153 (Rejected): Minitest or ruby bug - wrong return code
- =begin
It all started here: https://github.com/jnicklas/capybara/issues/#issue/178
It seems that there is a bug in... -
12:12 AM Bug #4143: warning: "SUPPORT_JOKE" is not defined
- =begin
(2010/12/11 3:19), Aaron Patterson wrote:
> SUPPORT_JOKE feature は、私に深刻になってはいけない、と言い聞かせているように思えてなりません。
そ...
12/12/2010
-
11:43 PM Feature #4151: Enumerable#categorize
- =begin
On 12 December 2010 12:13, Tanaka Akira <[email protected]> wrote:
> Hi.
>
> How about a method for converting ... -
10:04 PM Feature #4151: Enumerable#categorize
- =begin
On Dec 12, 2010, at 04:38 , Martin J. Dürst wrote:
> h = {}
> (0..10).each do |e|
> h[e%3] ||= []
> ... -
09:38 PM Feature #4151: Enumerable#categorize
- =begin
On 2010/12/12 20:13, Tanaka Akira wrote:
> Hi.
>
> How about a method for converting enumerable to has... -
08:14 PM Feature #4151 (Rejected): Enumerable#categorize
- =begin
Hi.
How about a method for converting enumerable to hash?
enum.categorize([opts]) {|elt| [key1, ... -
09:29 PM Bug #4152: optparseのzsh compsysでrspecの補完が出来ない
- =begin
[p] などを \[p\] のようにエスケープすれば良いようです。
% cat ~/.zsh.d/Completion/_rspec-trunk
#compdef rspec-trunk
typ... -
09:22 PM Bug #4152 (Closed): optparseのzsh compsysでrspecの補完が出来ない
- =begin
説明部分のエスケープが足りていなくて、補完が出来ないコマンドがあります。
% rspec-trunk [TAB]
_arguments:comparguments:303: invalid option ... -
08:57 PM Bug #4143 (Closed): warning: "SUPPORT_JOKE" is not defined
- =begin
This issue was solved with changeset r30184.
Kazuhiro, thank you for reporting this issue.
Your contributio... -
02:47 AM Bug #4030 (Closed): ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
This issue was solved with changeset r30178.
Martin, thank you for reporting this issue.
Your contribution ... -
01:08 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
I changed the code to feature the 0 argument initialize!
=end
-
01:25 AM Bug #4149: Documentation submission: syslog standard library
- =begin
I can't work out how to use :call-seq: and :yields: together. Can you give me an example for the open() metho...
12/11/2010
-
11:38 PM Feature #3647: Array#sample(n, replace=false)
- まつもと ゆきひろです
In message "Re: [ruby-dev:42751] Re: [Ruby 1.9-Feature#3647] Array#sample(n, replace=false)"
on Sat,... -
11:05 PM Feature #3647: Array#sample(n, replace=false)
- たるいです。
2010年12月11日8:55 Yukihiro Matsumoto <[email protected]>:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:42743] [... -
08:56 AM Feature #3647: Array#sample(n, replace=false)
- まつもと ゆきひろです
In message "Re: [ruby-dev:42743] [Ruby 1.9-Feature#3647] Array#sample(n, replace=false)"
on Fri, 10 ... -
10:31 AM Feature #4146: Improvement of Symbol and Proc
- (2010/12/10 20:04), Nobuyoshi Nakada wrote:
> 現在Symbol#to_procで %w[12 45 32].map(&:to_i) のようなことはできますが、
> 引数を付けてメソッド... -
09:02 AM Feature #4146: Improvement of Symbol and Proc
- まつもと ゆきひろです
In message "Re: [ruby-dev:42733] [Ruby 1.9-Feature#4146][Open] Improvement of Symbol and Proc"
on... -
06:48 AM Bug #4149: Documentation submission: syslog standard library
- =begin
<html><body class="ApplePlainTextBody" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-b... -
05:57 AM Bug #4149: Documentation submission: syslog standard library
- =begin
That's very strange, I definitely remember the annoyance of having to navigate my way to it with the file sel... -
02:11 AM Bug #4149: Documentation submission: syslog standard library
- =begin
Looks like the patch is missing?
=end
-
01:24 AM Bug #4149 (Closed): Documentation submission: syslog standard library
- =begin
I've been setting up a syslog server recently, so I decided I was in a good position to document syslog from ... -
06:26 AM Feature #4116 (Closed): OpenSSL::X509::Name provides <=> but not ==
- =begin
Committed.
=end
-
06:07 AM Bug #4129 (Closed): multi-tk を require すると、おかしい
- =begin
This issue was solved with changeset r30169.
Makoto, thank you for reporting this issue.
Your contribution ... -
04:09 AM Feature #4145: The result of UTF-16 encoded string concatenation
- =begin
(2010/12/10 18:14), "Martin J. Dürst" wrote:
> We should try to get a better overall idea of what "UTF-16" a... -
02:28 AM Bug #4143: warning: "SUPPORT_JOKE" is not defined
- =begin
(2010/12/10 23:49), KOSAKI Motohiro wrote:
> (ぼそっ)SUPPORT_JOKE featureを削除してしまう
+1
--
// SASADA Koichi ... -
02:27 AM Bug #3834 (Closed): ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
This issue was solved with changeset r30167.
Erik, thank you for reporting this issue.
Your contribution to... -
01:44 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
Yes, I think you're correct. I'll apply the patch and update with that change. Thanks for testing this Luis...
12/10/2010
-
11:50 PM Bug #4143: warning: "SUPPORT_JOKE" is not defined
- =begin
2010年12月10日22:38 Kazuhiro NISHIYAMA <[email protected]>:
> チケット #4143 が更新されました。 (by Kazuhiro NISHIYAMA)
... -
10:37 PM Bug #4143 (Open): warning: "SUPPORT_JOKE" is not defined
- =begin
説明に書いたように警告が出るのはちゃんと vm_opts.h の定義が反映されていないからなので、無視するだけだと、 vm_opts.h で
#define SUPPORT_JOKE ... -
08:07 PM Bug #4143 (Closed): warning: "SUPPORT_JOKE" is not defined
- =begin
This issue was solved with changeset r30165.
Kazuhiro, thank you for reporting this issue.
Your contributio... -
11:18 AM Bug #4143 (Closed): warning: "SUPPORT_JOKE" is not defined
- =begin
chkbuild で以前から
id.h:110:5: warning: "SUPPORT_JOKE" is not defined
id.h:116:5: warning: "SUPPORT_JOKE" is ... -
11:40 PM Feature #3647: Array#sample(n, replace=false)
- `Array#sample`の提案が出ていて思い出しました。
これはどうなってるんでしたっけ?
>`replace` の指定を、オプショナルなハッシュを経由して行うように patch を変更しました。
>こうすると、`Array#s... -
11:00 PM Feature #4147: Array#sample で重みを指定したい
- =begin
すみません、入れ違いでした。
=end
-
10:58 PM Feature #4147: Array#sample で重みを指定したい
- メソッドの引数を考慮しない簡易的なコードでよろしければ。
```ruby
class Array
alias :org_sample :sample
def sample
if block_given?
... -
10:47 PM Feature #4147: Array#sample で重みを指定したい
- ミスがあったので訂正。
```ruby
# -- テスト
def a
[1,2,3].sample { |v| v*100 }
end
def b
[1,2,3].sample { |v| v }
end
ary = 1... -
10:45 PM Feature #4147: Array#sample で重みを指定したい
- Rubyで実装してみました。あまりコストとか速度は気にしていないので速度は気にせず。
```ruby
class Array
def sample(n=1)
if block_given?
self.size... -
10:22 PM Feature #4147 (Feedback): Array#sample で重みを指定したい
- =begin
実装のたたき台があるとなおよいかとおもいます。
まずRubyで同等の処理をするコードを書いてみるというのはどうでしょう。
妥当であれば、取り込まれたり、あるいは高速化のためにCで書きなおされたりするかもしれませ... -
10:06 PM Feature #4147 (Feedback): Array#sample で重みを指定したい
- =begin
Array#sample にブロックを渡したとき、ブロックの戻り値を要素の重みとして使用するのはいかがでしょうか。
下記のサンプルで、"大吉" が "凶" の 1000 倍の確率で選択されるようにしたいです... -
08:02 PM Feature #4146 (Rejected): Improvement of Symbol and Proc
- 現在`Symbol#to_proc`で `%w[12 45 32].map(&:to_i)` のようなことはできますが、
引数を付けてメソッドを呼ぶことはできません。`Symbol`リテラルに引数を付け
たらその引数と共にメソッド... -
06:17 PM Bug #4144 (Closed): check_signedness("size_t")
- =begin
This issue was solved with changeset r30160.
Kazuhiro, thank you for reporting this issue.
Your contributio... -
11:26 AM Bug #4144 (Closed): check_signedness("size_t")
- =begin
ext/iconv で
.../ext/iconv/iconv.c:481:5: warning: "SIGNEDNESS_OF_SIZE_T" is not defined
という警告が出ていたので調べてみた... -
06:15 PM Feature #4145: The result of UTF-16 encoded string concatenation
- =begin
We should try to get a better overall idea of what "UTF-16" and so on
are for. I asked some questions at th... -
06:14 PM Feature #4145: The result of UTF-16 encoded string concatenation
- =begin
We should try to get a better overall idea of what "UTF-16" and so on
are for. I asked some questions at th... -
02:53 PM Feature #4145 (Assigned): The result of UTF-16 encoded string concatenation
- =begin
Strings encoded in UTF-16 don't support concatenation.
Use UTF-16BE or UTF-16LE for processing.
I'm co... -
01:59 PM Feature #4145 (Closed): The result of UTF-16 encoded string concatenation
- =begin
C:\work>irb
irb(main):001:0> a = 'abc'.encode('UTF-16')
=> "\uFEFFabc"
irb(main):002:0> b = a + a
=> ... -
10:47 AM Bug #4133 (Closed): Unexpected result of Time#strftime("%s") on Windows with trunk
- =begin
This issue was solved with changeset r30156.
Heesob, thank you for reporting this issue.
Your contribution ... -
10:27 AM Feature #4071 (Closed): support basic auth for Net::HTTP.get requests
- =begin
This issue was solved with changeset r30155.
coderrr, thank you for reporting this issue.
Your contribution... -
09:17 AM Feature #4142 (Closed): multipart/form-data for net/http
- =begin
multipart/form-data 対応を net/http に入れませんか。
追加される API は Net::HTTPRequest#set_form になります。
akr さんからは mult... -
05:01 AM Bug #4141 (Closed): Tk extension is not accepting any type of parameter combination
- =begin
Hello,
As part of RubyInstaller team, we want to include tk extension in the next release. For that pur... -
04:49 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
Sorry, forgot to mention.
It needs to be:
result = pkg_config("openssl") && have_header("openssl/ss... -
04:47 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
Hello,
RubyInstaller do not bundle pkg-config, so that part will fail and will check for crypto libeay32... -
04:05 AM Bug #3834: ext/openssl fails to build in certain scenarios due to misordered pkg-config check
- =begin
This patch seems good to me, but I'm not sure how pkg_config will behave on windows builds.
Luis, can yo... -
04:06 AM Feature #3793: No test for OpenSSL::PKCS12
- =begin
I will add some tests.
=end
-
04:01 AM Feature #3846 (Closed): ext/openssl: choose the OpenSSL::Digest class for OpenSSL::OCSP::CertificateId
- =begin
=end
-
03:59 AM Bug #3862: Bugs in the OpenSSL extension on sparc64
- =begin
=end
-
03:58 AM Feature #3916: Add flag to ruby to make warnings fatal.
- =begin
I'm not sure this is necessary. For example, sprintf() will raise an exception if in debug mode:
irb(ma... -
03:53 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
=end
-
02:26 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
- =begin
I've reviewed this patch. It seems fine except for one thing, OpenSSL::ASN1::EndOfContent#initialize is defi... -
03:52 AM Feature #4116: OpenSSL::X509::Name provides <=> but not ==
- =begin
The patch looks good to me. Can you apply?
=end
-
03:50 AM Bug #4122: test_x509store.rbのtest_set_errorsが失敗する
- =begin
=end
-
02:27 AM Bug #4033 (Closed): Segmentation fault : ext/openssl:OpenSSL::X509::StoreContext#cleanup
- =begin
This issue was solved with changeset r30152.
Ippei, thank you for reporting this issue.
Your contribution t...
12/09/2010
-
08:17 PM Bug #4137 (Closed): Test Failure because of assigned but unused variable: ruby/test_rubyoptions.rb
- =begin
This issue was solved with changeset r30151.
Yui, thank you for reporting this issue.
Your contribution to ... -
03:50 AM Bug #4137 (Closed): Test Failure because of assigned but unused variable: ruby/test_rubyoptions.rb
- =begin
test-all が以下のように失敗します
3) Failure:
test_shadowing_variable(TestRubyOptions) [/home/naruse/ruby/test/r... -
07:16 PM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
I have attempted to codify this new behaviour in RubySpec in https://github.com/rubyspec/rubyspec/pull/31 and... -
04:30 PM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
On Dec 8, 2010, at 10:37 , Hiro Asari wrote:
> irb(main):001:0> a=[]
> => []
> irb(main):002:0> a.inst... -
03:47 PM Bug #4136 (Closed): Enumerable#reject should not inherit the receiver's instance variables
- =begin
This issue was solved with changeset r30148.
Hiro, thank you for reporting this issue.
Your contribution to... -
07:15 AM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
In the similar vein, if you subclass Array, that class's #reject returns an object of that subclass, rather t... -
04:45 AM Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
- =begin
I find this behavior unintuitive. #reject returns a *new* array, which I would not expect to have instance va... -
03:36 AM Bug #4136 (Closed): Enumerable#reject should not inherit the receiver's instance variables
- =begin
re
Below, you see that a.reject returns a copy of the receiver, which inherits the instance variable @foo. ... -
06:38 PM Bug #4140 (Rejected): segfault recursion inside a thread
- =begin
The code below (thanks to flavorjones from Nokogiri) makes ruby 1.9.2 to segfault. It works with 1.8.7 or w... -
07:07 AM Bug #4138 (Closed): Test Failure because of method redefined: test/irb/test_option.rb
- =begin
This issue was solved with changeset r30147.
Yui, thank you for reporting this issue.
Your contribution to ... -
03:51 AM Bug #4138 (Closed): Test Failure because of method redefined: test/irb/test_option.rb
- =begin
test-all が以下のように失敗します。
2) Failure:
test_end_of_option(TestIRB::TestOption) [/home/naruse/ruby/test/i...