Activity
From 05/20/2012 to 05/26/2012
05/26/2012
-
11:05 PM Bug #6500 (Rejected): File#open with a ':binmode => true' opt
- Here's the problem, under Windows:
irb(main):001:0> f = File.open('x',binmode:true)
ArgumentError: both textmode ... -
10:29 PM Feature #6130: inspect using to_s is pain
- I attach the updated tests (sorry about the delay :/).
Please comment is something is wrong.
After speaking with ... -
06:05 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- Time's one also says.
but, actually it depends on platform.
on windows, may not always return abbreviation.
this... -
01:09 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- If this is expected functionality, then perhaps the documentation should be changed. It clearly says `%Z - Time zone ...
-
12:39 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- i tried to avoid the term of UTC or similar words here carefully.
because, we use +00:00 as a local time.
ruby's ... -
12:15 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- And if it's not a bug, what's the difference between `%:z` and `%Z`? Currently they basically output the same thing. ...
-
12:11 PM Bug #6491: DateTime.strftime('%Z') output is incorrect format
- Time.parse().strftime('%Z') outputs `UTC`. Notice I said "similar format". It should output a human consumable output...
-
12:05 PM Bug #6491 (Rejected): DateTime.strftime('%Z') output is incorrect format
i don't know how to determine such a name.
moreover, GMT is already dead.
this is not a bug, not an incorrect f...-
01:42 PM Feature #6499 (Rejected): Array::zip
- Sometimes it's more natural to have Array::zip rather than Array#zip. Otherwise first array of list became unnecessar...
-
10:28 AM Bug #6498 (Rejected): Cygwin needs $(DEFFILE) for extension libraries.
- It seems that Bug #2684 is also valid for Cygwin.
For example, "gem install glib2 atk" fails with many undefined ref... -
10:18 AM Feature #6497 (Closed): Disabling TLS client-side renegotation
- I added support for completely disabling client renegotiation on SSL/TLS servers in r35797.
Client renegotiation is ... -
10:08 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- I agree with Alex that when I first saw it I thought it was cool, but then I never really needed to use it, like tran...
-
06:48 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
- Hi everyone. I am a newbie user of computer languages (< 1 year), and I am
providing my feedback from this position.... -
04:25 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- Uh oh, this discussion is already a pain to read.
-
03:31 AM Bug #6496 (Closed): Adding a bit of DL and friends documentation
- Here is a little bit of documentation for DL. Overall it add 0.15% documentation coverage. \o/
-
02:19 AM Bug #6495 (Closed): uninitialized constant due to missing require
- <issue>
irb(main):022:0> require 'dl/struct'
NameError: uninitialized constant DL::CStructEntity::ValueUtil
from ... -
02:06 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- naruse (Yui NARUSE) wrote:
> If Inflater's @socket.read returns nil or a string shorter than clen, it means the inpu...
05/25/2012
-
03:38 PM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- drbrain (Eric Hodel) wrote:
> naruse (Yui NARUSE) wrote:
> > I agree with the concept of the patch, but
> >
> > ... -
03:15 PM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- naruse (Yui NARUSE) wrote:
> I agree with the concept of the patch, but
>
> > + ensure
> > + @socket.finish ... -
10:25 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- I agree with the concept of the patch, but
> + ensure
> + @socket.finish if Inflater === @socket
When @soc... -
09:15 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- Opps, forgot patch.
-
07:37 AM Feature #6492 (Closed): Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
- =begin
This patch moves the compression-handling code from Net::HTTP#get to Net::HTTPResponse to allow decompression... -
02:23 PM Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
- At Wed, 23 May 2012 17:23:23 +0900,
U.Nakamura wrote:
> In message "[ruby-dev:45671] [ruby-trunk - Bug #6479][As... -
11:39 AM Bug #6491 (Assigned): DateTime.strftime('%Z') output is incorrect format
-
07:19 AM Bug #6491 (Rejected): DateTime.strftime('%Z') output is incorrect format
- DateTime.parse('2012/05/23').strftime('%Z') should output 'GMT' (or a similar string). It outputs "+00:00" (or a simi...
-
11:21 AM Bug #6488 (Assigned): String#slice example has a syntax error
- Seems this is a renderer issue. Eric, what do you think?
-
09:48 AM Bug #6493 (Feedback): OpenSSL::SSL ignores DN if subjectAltName is specified
- RFC 3280 was obsoleted by 5280 and there, the wording is slightly different:
8<--------
4.2.1.6. Subject Alter... -
08:22 AM Bug #6493 (Assigned): OpenSSL::SSL ignores DN if subjectAltName is specified
-
07:46 AM Bug #6493 (Closed): OpenSSL::SSL ignores DN if subjectAltName is specified
- In ext/openssl/lib/openssl/ssl.rb, verify_certificate_identity seems to intentionally *not* check the DN if any subje...
-
08:51 AM Bug #6473 (Closed): Enumerable#count
- This issue was solved with changeset r35780.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby ... -
08:22 AM Feature #6494: Send Accept-Encoding for all HTTP requests
- Oops, forgot patch.
-
08:21 AM Feature #6494 (Closed): Send Accept-Encoding for all HTTP requests
- This patch builds atop #6492 to enable Accept-Encoding by default for all HTTP requests that permit bodies. (Without...
-
07:19 AM Bug #6490: The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- Attaching patch.
-
07:17 AM Bug #6490 (Closed): The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- Hi,
lib/tracer.rb:189
def trace_func(event, file, line, id, binding, klass, *) # :nodoc:
return if file ... -
04:01 AM Feature #6478: BasicObject#__class__
- nobu (Nobuyoshi Nakada) wrote:
> Seems what you want is (({dup})), not (({__class__})).
>
> class Foo < BasicOb... -
01:14 AM Feature #6478: BasicObject#__class__
- =begin
(({Module#mix})) is a feature introduced last year, but may be removed from 2.0.
=end
-
03:49 AM Feature #6483: parametric map
- Eregon (Benoit Daloze) wrote:
> Another syntax is proposed by Koichi (from what I can understand):
>
> ```ruby
>... -
12:37 AM Bug #5348 (Closed): test/rubygems/test_gem_indexer.rb leaves temporary directory
- This issue was solved with changeset r35777.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby... -
12:23 AM Bug #6489: A File instance changes its class to IO
- Hello,
2012/5/24 yimutang (Joey Zhou)
> You see, an object(id:80452110) changes its class from File to IO.
...
05/24/2012
-
11:41 PM Bug #6489 (Rejected): A File instance changes its class to IO
- OK.
-
09:28 PM Bug #6489 (Rejected): A File instance changes its class to IO
- I don't know whether it is a bug, or a feature.
1.9.3p194 :001 > f = open('xxx','w')
=> #<File:xxx>
1.9.3p194 ... -
11:36 PM Feature #5896 (Closed): object representation in rb_enc_vsprintf()
- This issue was solved with changeset r35776.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby... -
08:34 PM Feature #6483: parametric map
- FYI https://github.com/raganwald/homoiconic/blob/master/2009-09-22/anaphora.md
-
08:32 PM Feature #6483: parametric map
- ```ruby
p %w[12 45 32].map(&.to_i(9)).map(& * 2)
```
That's pretty neat. I wonder about its implementation, so b... -
06:49 PM Feature #6483: parametric map
- nobu (Nobuyoshi Nakada) wrote:
> I proposed a different approach, symbol with arguments syntax.
>
> ```ruby
> (1... -
06:21 PM Feature #6483: parametric map
- nobu (Nobuyoshi Nakada) wrote:
> I proposed a different approach, symbol with arguments syntax.
>
> ```ruby
> (1... -
05:13 PM Feature #6483: parametric map
- I proposed a different approach, symbol with arguments syntax.
```ruby
(1..5).map(&:to_s(2)) #=> ['1', '10', '11'... -
04:59 PM Feature #6483: parametric map
- Also I propose similar approach for `tap` method.
```ruby
class Object
def ptap(*args,&block)
tap &block.... -
08:10 PM Feature #6478: BasicObject#__class__
- That was just one example. Here, you can look at this for more cases:
https://github.com/rubyworks/ostruct2/blob... -
02:56 PM Feature #6478: BasicObject#__class__
- =begin
Seems what you want is (({dup})), not (({__class__})).
class Foo < BasicObject
mix ::Kernel, dup: :dup,... -
05:37 PM Bug #6488 (Closed): String#slice example has a syntax error
- http://www.ruby-doc.org/core-1.9.3/String.html#method-i-slice has a syntax error:
a[%r[aeiou](.)\11//] #=> "e... -
12:17 AM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
- I'm using MacPorts OpenSSL, version 1.0.1c, May 2012
$ which openssl
/opt/local/bin/openssl
$ openssl version
...
05/23/2012
-
10:31 PM Bug #6484 (Rejected): Segmentation fault using thin on Windows 7
- This is a duplicate of #6352
-
08:45 PM Bug #6484: Segmentation fault using thin on Windows 7
- Please see this issue.
https://github.com/eventmachine/eventmachine/issues/319
You will solve it by commenting ou... -
05:48 PM Bug #6484 (Rejected): Segmentation fault using thin on Windows 7
- After cloning the git project git.js from https://github.com/danlucraft/git.js and executing rake demo, I receive a S...
-
05:46 PM Feature #6483 (Rejected): parametric map
- I found very common use-case for map: map with parameters and &:meth syntax. For example:
matrix =[[1,2,3],[4,5,6]]
... -
04:16 PM Bug #6479 (Assigned): ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
-
02:49 AM Bug #6479 (Closed): ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
- # 状況
標準添付ライブラリの ipaddr.rb に於いて、アドレス書式チェック時の厳しさがプラットフォームによって異なるよう感じました。
IPv4で気がついた限りですが、次の2点でWindowsだと常に例外を吐き、Linu... -
02:38 PM Feature #6478: BasicObject#__class__
- > "BTW, it's possible with pure-ruby."
That's a rather nasty implementation. Is there no better way than that? I t... -
02:34 PM Feature #6478: BasicObject#__class__
- =begin
To ensure proper functionality when creating new instances from subclasses.
class Foo < BasicObject
... -
02:17 PM Feature #6478 (Feedback): BasicObject#__class__
- =begin
((*Why*)) do you need it?
BTW, it's possible with pure-ruby.
class Foo < BasicObject
include ::Kernel.... -
12:20 AM Feature #6478 (Assigned): BasicObject#__class__
- Okay, thanks. I assign this to matz.
--
Yusuke Endoh <[email protected]> -
12:12 AM Feature #6478: BasicObject#__class__
- =begin
Sorry, I'll be more specific via example:
class Foo < BasicObject
end
foo = Foo.new
foo.class #=> ... -
12:03 AM Feature #6478 (Feedback): BasicObject#__class__
- I don't understand you.
--
Yusuke Endoh <[email protected]> -
11:48 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
- Forgot patch
-
11:48 AM Feature #6482 (Closed): Add URI requested to Net::HTTP request and response objects
- =begin
This patch adds the full URI requested to Net::HTTPRequest and Net::HTTPResponse.
The goal of this is to m... -
10:27 AM Bug #6381: Useful methods like included don't appear in RDoc
- "It would be helpful if ruby-doc.org started moving towards adding --all when building documentation."
Easily done... -
08:23 AM Bug #6476: Proc unrolls an array even without splat
- (2012/05/23 0:23), mame (Yusuke Endoh) wrote:
> prijutme4ty (Ilya Vorontsov) wrote:
>> > pr_def(*[1,2,3]) # => ... -
12:23 AM Bug #6476 (Rejected): Proc unrolls an array even without splat
- Hello,
prijutme4ty (Ilya Vorontsov) wrote:
> pr_def(*[1,2,3]) # => [1] + [2,3]
It should be: "1 + [2, 3]"
... -
07:36 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
- Oops, I forgot a comma in my patch.
-
05:46 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
- Here is an updated patch after #6435
-
05:37 AM Feature #6480 (Closed): [PATCH] Add HTTP status codes from RFC 6585
- Hi, Matz and rubyists.
I attach a patch that contains additional HTTP status codes from RFC 6585 -
http://tools.... -
06:50 AM Feature #6481 (Assigned): Add exists? to Pathname GH #126
-
06:48 AM Feature #6481 (Rejected): Add exists? to Pathname GH #126
- I've added Paul McMahon's patch from GH #126
https://github.com/ruby/ruby/pull/126 -
05:36 AM Feature #6435 (Closed): Break up net/http.rb into individual files
- This issue was solved with changeset r35761.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g... -
05:15 AM Bug #6454 (Closed): Anonymous classes should delete tmp_classpath on dup
- This issue was solved with changeset r35759.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is ... -
03:23 AM Feature #1122: request for: Object#try
- > =begin
> : niquola (nicola ryzhikov) wrote:
> If this is not very cryptic chain:
>
> foo?bar(args)?buz
>
...
05/22/2012
-
11:56 PM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
- =begin
: hectormalot (Dennis de Reus) wrote:
Other relevant parts of the setup (based on the discussion above):
*... -
07:45 PM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
- @sorah I think this should be re-openend, because I have exactly the same problem in a Rails 3.2.3 application using ...
-
10:05 PM Feature #6478 (Feedback): BasicObject#__class__
- How else is one supposed to get the class of a subclass of BasicObject?
-
05:57 PM Bug #6477 (Rejected): BigDecimal to_i and to_int methods
- =begin
They are not specific to (({BigDecimal})).
(({to_i})) is for explicit conversion, called by users.
(({to_int}... -
05:48 PM Bug #6477 (Rejected): BigDecimal to_i and to_int methods
- Hello,
Why are there two methods, to_i and to_int, in BigDecimal when they are exactly same in terms of functional... -
05:38 PM Bug #6476 (Rejected): Proc unrolls an array even without splat
- Normal behaviour:
def pr_def(recv,*args)
puts "#{recv.inspect} + #{args.inspect}"
end
pr_def(*[1,2,3]) # => ... -
09:13 AM Bug #6454: Anonymous classes should delete tmp_classpath on dup
- Commit the patch.
Matz. -
12:53 AM Bug #6454: Anonymous classes should delete tmp_classpath on dup
- On Mon, May 21, 2012 at 08:20:48PM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #6454 has been updated by mame (Yu... -
04:05 AM Feature #6470: Make attr_accessor return the list of generated method
- I want to access my private fields also via methods instead of directly via instance variables so refactoring in futu...
-
03:21 AM Bug #6381: Useful methods like included don't appear in RDoc
- =begin
For documentation in ruby, (({:nodoc:})) is used to indicate implementation details and (({private})) is used... -
02:10 AM Bug #6381: Useful methods like included don't appear in RDoc
- Actually, I can't understand why anyone would want to hide private methods. As long as they are clearly marked privat...
-
01:39 AM Bug #6381: Useful methods like included don't appear in RDoc
- =begin
I'm the one running ruby-doc.org. I think there is some misunderstanding here.
The issues isn't that using t... -
12:47 AM Feature #6218 (Closed): struct.cのrb_struct_s_members_m()について
- This issue was solved with changeset r35753.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is... -
12:11 AM Feature #6218: struct.cのrb_struct_s_members_m()について
- Glass_saga さんのコミッタ化にはもうちょっと時間がかかりそうみたいなので、
とりあえず私がやっちゃいます。
--
Yusuke Endoh <[email protected]> -
12:10 AM Feature #6082 (Rejected): io_binwrite()内でwritev()を使う
- あまり意義がなさそうとのことなので、とりあえず閉じます。
同期モードで高速化してほしいユースケースはあるとか、その他何か意見があったら
reopen してください。
--
Yusuke Endoh <[email protected]...
05/21/2012
-
10:33 PM Bug #6432 (Assigned): Segmentation fault after "linking miniruby"
- Hello, sorah-kun
Can you reproduce this issue?
--
Yusuke Endoh <[email protected]> -
09:08 PM Feature #6452: Allow extend to override class methods
- Yeah, sorry I should have thought about this before.
You're right, for normal usage the current behavior is more u... -
08:11 PM Feature #6452: Allow extend to override class methods
- Hello,
2012/5/19 rosenfeld (Rodrigo Rosenfeld Rosas) <[email protected]>:
> Would you mind to explain why the cu... -
08:59 PM Feature #6445 (Assigned): request for default length/position on string index
- Hello,
I created a patch that add a syntactic sugar from (arg..) to (arg..-1).
ary = [1, 2, 3, 4]
p ary[2.... -
08:34 PM Feature #6470 (Assigned): Make attr_accessor return the list of generated method
- This duplicates #6198.
BTW, why don't you use instance variables directly? That is:
```ruby
class Something
... -
08:20 PM Bug #6454 (Assigned): Anonymous classes should delete tmp_classpath on dup
- Aaron, you'd better think we are really lazy :-)
It would be good not only to attach a demonstration patch but also
... -
08:11 PM Bug #6453: parallel build issue
- This might be an issue of our build infrastructure (NFS). Sorry for the noise.
-
08:43 AM Bug #6453 (Rejected): parallel build issue
- As we repeatedly told you, PPC on RHEL is not supported platform. We just don't care if a ticket don't have a patch. ...
-
07:24 PM Bug #6456 (Assigned): [readline] Readline.point when history edited
-
07:24 PM Bug #6455 (Assigned): IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
-
07:24 PM Bug #6473 (Assigned): Enumerable#count
- Hello, drbrain
This is a doc issue of Enumerable#count.
Could you check and import Nobuhiro's patch?
English... -
03:19 PM Bug #6473: Enumerable#count
- 最終的に r25603 で size は呼ばなくなったようなので、コメントを修正したパッチを添付します。
改行位置の関係で行数が多いですが、内容は1文目しか変更してません。
-
09:09 AM Bug #6474 (Closed): Substitution bug in String # gsub
- As Mike said backslashes are escaped in double-quoted strings.
-
07:22 AM Bug #6475 (Assigned): Fix decryption example in OpenSSL docs
-
02:17 AM Bug #6475: Fix decryption example in OpenSSL docs
- Attached patch
-
02:16 AM Bug #6475 (Closed): Fix decryption example in OpenSSL docs
- The code example in the "Decryption" section of the OpenSSL docs shows ciphertext being decrypted with the same key u...
05/20/2012
-
10:53 PM Bug #6474: Substitution bug in String # gsub
- Maybe you are bing confused by the way irb displays results as double quoted strings. If you explicitly use puts:
... -
10:19 PM Bug #6474 (Closed): Substitution bug in String # gsub
- Hi,
I need to replace all occurences of & with \& in a String (generating LaTeX input).
However, gsub has a ... -
10:32 PM Bug #6450 (Closed): Shift JIS で String#tr の範囲指定がおかしい
- This issue was solved with changeset r35724.
5, thank you for reporting this issue.
Your contribution to Ruby is grea... -
07:04 PM Feature #6472 (Third Party's Issue): Multiline mode in regexp by default
- Not a bug at least. Regexps are working as expected.
Ruby won't prevent you shooting your foot. -
06:19 PM Feature #6472: Multiline mode in regexp by default
- In Ruby there is no multiline flag, regexps in Ruby are always in multiline mode. See http://advogato.org/person/fxn/...
-
05:33 PM Feature #6472 (Third Party's Issue): Multiline mode in regexp by default
- When using regexp there can be a vulnerability:
http://homakov.blogspot.com/2012/05/saferweb-injects-in-various-ru... -
06:36 PM Bug #6473 (Closed): Enumerable#count
- =begin
Enumerable#count には、
Returns the number of items in <i>enum</i> if it responds to a #size call,
otherwi... -
04:16 PM Feature #6470: Make attr_accessor return the list of generated method
- Yes, they are public.
If I understood them correctly, they are the same as this in pure ruby code:
```ruby
att... -
01:54 PM Feature #6470: Make attr_accessor return the list of generated method
- Aren't accessors public by definition? If you want them to be private use attr.
-
08:29 AM Feature #6470 (Closed): Make attr_accessor return the list of generated method
- attr_accesor currently returns nil. It would be more helpful if it return list of generated methods so that it can be...
-
04:13 PM Feature #6444: alias for String#index
- #find already exists in Enumerable. I don't think it is a good choice.
#pos is not really a proper english word. You... -
12:25 PM Bug #6462 (Closed): Broken build under MinGW due undefined references
- This issue was solved with changeset r35722.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g... -
06:03 AM Bug #6462: Broken build under MinGW due undefined references
- =begin
The issue seems to be caused by the override of SOLIBS when --enable-shared is used to build Ruby:
https... -
04:37 AM Bug #6462: Broken build under MinGW due undefined references
- =begin
After git bisect was done, I can confirm that r35709 (SHA1 0e60b2c6a3c5152fc4ff06054a4ae79edadf9276) introduc... -
12:50 AM Bug #6462 (Closed): Broken build under MinGW due undefined references
- Attempt to compile latest trunk (r35721) result in the following errors:...
-
07:58 AM Bug #4387 (Feedback): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- [ruby-list:38139] にもスレがありますね。
まとめると、
1. connect_nonblock を呼ぶ
2.1. ECONNREFUSED が返る (localhost など結果が瞬間的に返る場合)
2.... -
05:29 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected
- On Thu, May 17, 2012 at 12:10:56AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #6408 has been updated by mame (Yu...
Also available in: Atom