Project

General

Profile

Activity

From 05/26/2012 to 06/01/2012

06/01/2012

10:15 PM Bug #6527 (Rejected): WEBrick::HTTPResponse.header is a hash
This means that there can only be one header with a given name, which makes if for example impossible to implement anything but the most trivial RFC 2617 authentication schemes, most of which would require several WWW-Authenticate header... fhars (Florian Hars)
10:05 PM Revision 5f85fcc1 (git): * doc/re.rdoc (Performance): Replaced incorrect example of reducing
backtracking through anchoring with reduced backtracking through a
range. [ruby-trunk - Bug #6525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:45 PM Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
武者さん、なかむら(う)さん
お二方とも、御返信下さり有難う御座います。
> cf. http://pubs.opengroup.org/onlinepubs/009696799/functions/inet_addr.html
0埋め時のC側に於ける解釈は、8進数にする旨明記されていたのですね
由来が把握できて、すっきりしました。
> ...
御丁寧に有難うございます。
手元の ipaddr.rb を利用しているコード内で問題が表面化してい...
kachick (Kenichi Kamiya)
09:35 PM Revision 5c56ae7f (git): * 2012-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:35 PM Revision 8424e379 (git): * doc/re.rdoc (Performance): Removed useless sample output from final
performance example and switched from #match to #=~ for consistency.
[ruby-trunk - Bug #6524]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:56 PM Feature #6522: Migrate extconf.rb documentation from README.EXT to MakeMakefile
Hi Eric,
I've updated a new patch with your requested changes, also fixed up the method definitions in "(4) prepare extconf.rb" where applicable.
zzak (zzak _)
08:59 AM Feature #6522: Migrate extconf.rb documentation from README.EXT to MakeMakefile
I don't think the call-seq changes to lib/mkmf.rb are necessary. In some cases they don't match up with the method definitions. Can you remove them?
I think Appendix C. can be removed entirely and and after the extconf.rb method lis...
drbrain (Eric Hodel)
06:37 AM Feature #6522 (Closed): Migrate extconf.rb documentation from README.EXT to MakeMakefile
I've added a patch to move any missing bits from README.EXT Appendix C to MakeMakefile, in exchange for "See MakeMakefile for functions that are available to extconf.rb". zzak (zzak _)
04:38 PM Bug #6524 (Assigned): missing "#=>" in example block in Regexp class documentation
drbrain (Eric Hodel)
01:49 PM Bug #6524 (Closed): missing "#=>" in example block in Regexp class documentation
In the Regexp class documentation, "Performance" section, the code block that starts out "# Match a string of 29 <i>a</i>s against a pattern of 29 optional" seems to be the only block of sample code on the page which would return a valu... nathanst (Nathan Stratton Treadway)
03:53 PM Feature #6499: Array::zip
marcandre (Marc-Andre Lafortune) wrote:
> Hi
> ...
Actually! I had such a problem with #product too, but have already forgotten about it.
prijutme4ty (Ilya Vorontsov)
03:42 PM Feature #6367: #same? for Enumerable
same_by? is a good alternative. I've even replaced #same? with #same_by? in my projects. prijutme4ty (Ilya Vorontsov)
02:53 PM Feature #4254 (Assigned): Allow method transplanting
=begin
What status is this proposal?
I don't think the original proposal has been rejected, but only other
additional extensions.
Possible choice would be:
(1) keep current behavior, all method transplanting is prohibited.
(2) accept...
nobu (Nobuyoshi Nakada)
02:47 PM Bug #6526 (Closed): minor typo in Regexp class documentation
In the "Performance" section of the Regexp class documentation, the intro to the first sample code block says "Consider a string of 25 as, a d, 4 as, and a c."
However, as the return value given in that sample block makes clear, t...
nathanst (Nathan Stratton Treadway)
02:31 PM Bug #6525 (Closed): misleading example in Permformance section of Regexp documentation?
In the Performance section of the Regexp documention, it is stated that changing from Regexp.new('a?' * 29 + 'a' * 29) to Regexp.new('\A' 'a?' * 29 + 'a' * 29) speeds up the match significantly. However, '\A' 'a?' * 29 actually expands... nathanst (Nathan Stratton Treadway)
11:58 AM Feature #6445: request for default length/position on string index
It would look nice and work fine with indexing strings and arrays, but if it were put in you would've come to want (1..).each {|i| .. } to work as well.
It might be better to default the omitted end to +Infinity and then make {Array,S...
knu (Akinori MUSHA)
11:53 AM Bug #5497 (Feedback): Math.log10(10_000) error on HP-UX/PA
I don't have any environments to examine this issue.
Please give me a patch to fix this.
mrkn (Kenta Murata)
11:50 AM Bug #5693 (Closed): clang warning in bigdecimal
This is fixed by r33915 mrkn (Kenta Murata)
11:45 AM Bug #5647 (Closed): Possible use of uninitialized value in Init_bigdecimal
This is fixed by r35555 mrkn (Kenta Murata)
11:39 AM Bug #5772 (Feedback): Segmentation Fault on Mac (crash)
You use Leopard because the kernel version is 9.8.0.
We don't support Leopard so we want to know whether this issue is reproduced on the combination of the newest version of kernel (11.4.0) and the newest version of ruby (trunk or 1.9.3...
mrkn (Kenta Murata)
08:51 AM Feature #6517: Array documentation examples and formatting
Great work, but please watch for trailing whitespace. drbrain (Eric Hodel)
08:51 AM Feature #6517 (Closed): Array documentation examples and formatting
This issue was solved with changeset r35858.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c: Updated Array documentation formatting. Patch by ...
drbrain (Eric Hodel)
08:07 AM Bug #6523 (Closed): typos/display errors in Regexp.html page
This is a duplicate of #6488 drbrain (Eric Hodel)
06:48 AM Bug #6523 (Closed): typos/display errors in Regexp.html page
I was looking through the Regexp class documentation found at
http://www.ruby-doc.org/core-1.9.3/Regexp.html
... and found a number of problems that appeared to be either display issues or typos.
Most notably, throughout the entire ...
nathanst (Nathan Stratton Treadway)
07:09 AM Feature #6521: Document Kernel module intro
I reworded this slightly to emphasize that instance methods of Kernel are documented on Object but module methods are documented on Kernel. drbrain (Eric Hodel)
06:42 AM Feature #6521 (Closed): Document Kernel module intro
This issue was solved with changeset r35856.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (Init_Object): Restored Kernel documentation based...
drbrain (Eric Hodel)
05:51 AM Feature #6521 (Closed): Document Kernel module intro
I've added a patch to cover Kernel module documentation. This puts object.c to 100% documentation! zzak (zzak _)
06:30 AM Feature #6518 (Closed): Object#=== documentation formatting
This issue was solved with changeset r35854.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_equal): Let Object be a link in #=== documenta...
drbrain (Eric Hodel)
01:47 AM Bug #6520 (Rejected): Invalid url is identified as valid
The following will tell you what is happening.
1.9.3p125 :010 > s[URI.regexp]
=> "http://abc"
URI.regexp is supposed to be used to extract urls from text.
str.scan(URI.regexp) { p $& }
I don't think it is a good idea t...
mame (Yusuke Endoh)
01:33 AM Bug #6520 (Rejected): Invalid url is identified as valid
(({
1.9.3p125 :006 > require 'uri'
=> true
1.9.3p125 :007 > URI.parse invalid_url
URI::InvalidURIError: bad URI(is not URI?): http://abc</option%3E
1.9.3p125 :009 > invalid_url =~ URI::regexp
=> 0
}))
As you can see, 'parse...
zheka (Eugene Mirkin)
12:31 AM Revision 5b95238a (git): class_or_module_required
* object.c (class_or_module_required): extract check for class or
module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:06 AM Bug #6514: Abort trap: 6 running rspec on rdf.rb
Hi,
It seems that step 1.5
$ git clone git://github.com/ruby-rdf/rdf.git
is required.
But I also cannot reproduce abort trap with ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0].
Mr Gregg, could you tell us th...
nagachika (Tomoyuki Chikanaga)

05/31/2012

11:51 PM Revision 53b61ccb (git): * array.c: Updated Array documentation formatting. Patch by Zachary
Scott. [ruby-trunk - Feature #6517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:51 PM Bug #6519 (Closed): space in COUTFLAG
redmine側のbugfixをしていたり系なのでclose naruse (Yui NARUSE)
11:50 PM Bug #6519 (Assigned): space in COUTFLAG
これって [ruby-dev:45694] を見るとバックポート以外決着がついてるように見えるのですが、
今更チケット化されたのは何かやることが残っているのでしょうか。
よくわからないままに usa さんにアサイン。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:09 PM Bug #6519 (Closed): space in COUTFLAG
こんにちは。

mkmf.rbで作成するMakefileには COUTFLAG や OUTFLAG といったmakeの変数が
定義されます。その内容が意図した結果となっていないのではないかと思いま
した。殆どの環境で実害は出ていないと思います。


きっかけは4月の終わりに、Solaris 9上のpkgsrcでruby193-baseのコンパイル
がエラーとなるという報告がありました。報告された方に答えつつ確認を求め
た事項が少々的...
taca (Takahiro Kambe)
11:45 PM Feature #6518 (Assigned): Object#=== documentation formatting
mame (Yusuke Endoh)
09:33 AM Feature #6518 (Closed): Object#=== documentation formatting
Let Object be a link in rdoc output, formatting of case. zzak (zzak _)
11:43 PM Feature #6517 (Assigned): Array documentation examples and formatting
mame (Yusuke Endoh)
09:28 AM Feature #6517 (Closed): Array documentation examples and formatting
I went through array.c to add missing examples and apply more consistent formatting. zzak (zzak _)
11:38 PM Bug #6514 (Feedback): Abort trap: 6 running rspec on rdf.rb
I cannot reproduce.
$ git clone git://github.com/ruby-rdf/rdf.git
Cloning into 'rdf'...
remote: Counting objects: 6187, done.
remote: Compressing objects: 100% (1828/1828), done.
remote: Total 6187 (delta 4496), reused 5949 (delta...
mame (Yusuke Endoh)
11:32 PM Bug #6508 (Feedback): Add an (optional) GNU configure option to demand libyaml before continuing, when compiling ruby from source
I completely agree that the behavior you are proposing is best.
But it would be hard to implement exactly because the library (libyaml) is searched by extconf.rb, which requires ruby executable (miniruby).
So, it is impossible to make ...
mame (Yusuke Endoh)
11:17 PM Feature #6515: array.c: added method that verifies if an Array is part of another
=begin
I'm not in favor with this proposal, because of its name mainly.
'Array ((|X|)) is part of array ((|Y|))' sounds like 'all elements in ((|X|)) are
arranged in ((|Y|)) successively in the same order', to me.
If the order is not yo...
nobu (Nobuyoshi Nakada)
11:11 PM Feature #6494 (Assigned): Send Accept-Encoding for all HTTP requests
mame (Yusuke Endoh)
11:10 PM Feature #6492 (Assigned): Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
mame (Yusuke Endoh)
11:10 PM Feature #6482 (Assigned): Add URI requested to Net::HTTP request and response objects
mame (Yusuke Endoh)
10:07 PM Revision fe962cde (git): * ext/dl/lib/dl/struct.rb (DL::CStructEntity#set_ctypes): Refactored
#set_ctypes using newer ruby features to simplify its implementation.
* test/dl/test_c_struct_entry.rb (class DL): Test to verify
refactoring.
Reviewed by Aaron Patterson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35857 b2d...
drbrain (Eric Hodel)
09:41 PM Revision 4f69926f (git): * object.c (Init_Object): Restored Kernel documentation based on
Pickaxe book documentation. Patch by Zachary Scott.
[ruby-trunk - Feature #6521]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:30 PM Revision ee4f9b7c (git): * 2012-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:30 PM Revision c458f08e (git): * object.c (rb_equal): Let Object be a link in #=== documentation.
Patch by Zachary Scott. [ruby-trunk - Feature #6518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:16 PM Bug #4413: Segmentation fault when using deliver for GMAIL SMTP
So, thinking about this resulted in the following:
1.9.3p194 pry(main)> require 'openssl'
=> true
1.9.3p194 pry(main)> OpenSSL::OPENSSL_VERSION
=> "OpenSSL 1.0.1c 10 May 2012"
1.9.2p180 pry(main)> require 'openssl'
=> true
1.9...
hectormalot (Dennis de Reus)
02:59 PM Revision 96066035 (git): adjust indent
* gc.c (os_obj_of_i): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:21 PM Feature #6321: Find and repair bad bytes in encodings, without transcoding
jrochkind (jonathan rochkind) wrote:
> I think the use case is very common -- it is for me anyway, I think I"m not unique!
> ...
Raising exception as soon as possible sounds reasonable.
But replacing is not.
In principle, such bad da...
naruse (Yui NARUSE)
11:05 AM Bug #6306: Ripper lexes :on_kw when it should find :on_ident
So, you need to have semantics of your input, not a lexical analysis. Right?
Then your using Ripper.lex is a wrong idea. You should not only catch those lexer events but also catch parser events.
You might find Ripper.sexp() implemen...
shyouhei (Shyouhei Urabe)
08:15 AM Bug #6306: Ripper lexes :on_kw when it should find :on_ident
=begin
If this is how the lexer works, then I guess there's not much use in pleading my case, but FWIW, I'll explain more...
I'm the author of ((<URL:http://rubygems.org/gems/tailor>)) and I'm trying to parse code that looks, for exampl...
turboladen (Steve Loveless)
09:44 AM Bug #6496: Adding a bit of DL and friends documentation
After checking with Aaron I cleaned up some missing capitalization in the patch, improved some generic descriptive documentation, and replaced "== Example" with just "Example:" since the sections were so short. drbrain (Eric Hodel)
07:48 AM Bug #6496 (Closed): Adding a bit of DL and friends documentation
This issue was solved with changeset r35846.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl: Added documentation. Patch by Vincent Batts.
[ru...
drbrain (Eric Hodel)
07:48 AM Feature #5663: Combined map/select method
=begin
By the way, is anybody using the (({nil})) returned by (({#compact!})) ?
enum.map { |i| i + 1 if i.even? }.compact
makes un unnecessary copy, but i cannot use
enum.map { |i| i + 1 if i.even? }.compact!
because it ...
alexeymuranov (Alexey Muranov)
06:50 AM Revision 2ab7c530 (git): vm.c: UNREACHABLE to suppress warnings
* vm.c (frame_info_{line_no,name,basename,filename,filepath}): add
UNREACHABLE to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:37 AM Revision 711c067e (git): * test/dl/test_c_struct_entry.rb: Removed duplicated test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:27 AM Revision 40cf3e0c (git): * ext/dl/lib/dl/struct.rb (DL::CStructEntity::size): Refactored ::size
to remove unused variables and simplify using newer ruby features.
* test/dl/test_c_struct_entry.rb: Test to validate refactoring
Reviewed by Aaron Patterson
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35850 b2dd03c8-39d4-4d8f-...
drbrain (Eric Hodel)

05/30/2012

11:41 PM Revision 0381ab07 (git): * ext/dl/lib/dl/struct.rb (DL::CUnionEntity#set_ctypes): Refactored
#set_types to reuse DL::CUnionEntity::size
* test/dl/test_c_union_entity.rb: Added test
Reviewed by Aaron Paterson
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:32 PM Feature #6515: array.c: added method that verifies if an Array is part of another
I'm adding a new patch that fixed a typo. I also did some refactor to the code.
lellisga (Li Ellis Galardo)
09:49 PM Feature #6515 (Assigned): array.c: added method that verifies if an Array is part of another
naruse (Yui NARUSE)
09:00 PM Feature #6515: array.c: added method that verifies if an Array is part of another
I've added Li's patch from GH#127 zzak (zzak _)
02:02 PM Feature #6515: array.c: added method that verifies if an Array is part of another
Sorry, I wasn;t sure what to upload. Please remove them.
nobu (Nobuyoshi Nakada) wrote:
> Why attaching whole files?
lellisga (Li Ellis Galardo)
01:14 PM Feature #6515: array.c: added method that verifies if an Array is part of another
Why attaching whole files? nobu (Nobuyoshi Nakada)
12:14 PM Feature #6515 (Feedback): array.c: added method that verifies if an Array is part of another
This method is like the include? method but instead of receiving a value and check if the array has it, it receives an array an check if it's part of another one.
https://github.com/ruby/ruby/pull/127
lellisga (Li Ellis Galardo)
11:20 PM Revision f1cb6ea0 (git): * ext/dl/lib/dl/struct.rb (DL::CUnionEntity::size): Fixed ::size to
return the size of the union.
* test/dl/test_c_union_entity.rb: Test for DL::CUnionEntity::size
Reviewed by Aaron Patterson
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:48 PM Revision e88c8880 (git): * 2012-05-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:48 PM Revision 2e87e215 (git): * ext/dl: Added documentation. Patch by Vincent Batts.
[ruby-trunk - Bug #6496]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:49 PM Feature #6494: Send Accept-Encoding for all HTTP requests
drbrain (Eric Hodel) wrote:
> Why remove the HAVE_ZLIB and @response_has_body checks?
Ah, I wrongly removed it, it is needed.
> ...
OK, you can commit it, thanks.
naruse (Yui NARUSE)
08:55 AM Feature #6494: Send Accept-Encoding for all HTTP requests
Why remove the HAVE_ZLIB and @response_has_body checks?
This updated patch incorporates your change to maintain backwards-compatibility but leaves in the HAVE_ZLIB and @response_has_body checks.
drbrain (Eric Hodel)
08:24 PM Feature #6513: Make method_missing to lookup in constants too
@sorah it's probably the best possible example - I met it a while ago in nokogiri and was confused to see "def XML". dirty.Nokogiri.XML.new("<foo />").class - neat
@matz every "new" thing confuses until user learns how it works now. I...
egor.homakov (egor homakov)
09:36 AM Feature #6513: Make method_missing to lookup in constants too
I am negative, since it gives more chance to confuse users, e.g.
mere constant definition can differentiate the meaning of the code.
matz (Yukihiro Matsumoto)
09:26 AM Feature #6513: Make method_missing to lookup in constants too
FYI, nokogiri.gem has Nokogiri::XML module and Nokogiri::XML method.
$ irb -rnokogiri
>> Nokogiri::XML.class
=> Module
> ...
=> Nokogiri::XML::Document
sorah (Sorah Fukumori)
04:21 AM Feature #6513: Make method_missing to lookup in constants too
@nobu
>Why do you think so?
any example of method in popular libraries or anything with first capital letter? Why to support what is not needed and messes lookup process?(example above)
> ...
Are you sure, why?
by 'awesome' I mea...
egor.homakov (egor homakov)
12:56 AM Feature #6513 (Feedback): Make method_missing to lookup in constants too
=begin
: egor.homakov (egor homakov) wrote:
None of code style guides teaches to use capital letters in methods' names. It's not convinient and bad practise.
Why do you think so?
#A.B.C instead of A::B::C - awesome?!
It do...
nobu (Nobuyoshi Nakada)
02:16 PM Feature #5937: Zlib::Inflate#add_dictionary to pre-supply dictionaries for inflate streams
@naruse: as Eric pointed out in his original ticket (#5929), I do believe this is a bug, as the current API advertises that it can set and use the dictionary, but that is not the case.
I've opened a different / new ticket: http://bug...
igrigorik (Ilya Grigorik)
07:55 AM Feature #5937: Zlib::Inflate#add_dictionary to pre-supply dictionaries for inflate streams
I think #5929 should be backported instead. While #5937 makes working with custom dictionaries easier, #5929 fixes the current API (#set_dictionary) to be fully usable. drbrain (Eric Hodel)
12:31 PM Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
本件の実装の大枠はもうできていて、あとはどういう表記を認めるかというところで諸方面に確認中ですが、ゼロ埋めについては不許可にしたいと思うようになりました。
というのもアドレスのパースに用いられるCの inet_addr() の仕様を見ると、ドット区切りの各オクテットが0で始まるときは8進数として扱うべしとあり、一方でゼロ埋めの十進3桁固定方式も入力フォーム等で見られるため、ライブラリ側ではいずれとも判断しかねるからです。
cf. http://pubs.op...
knu (Akinori MUSHA)
09:57 AM Bug #6514 (Rejected): Abort trap: 6 running rspec on rdf.rb
Running RSpec on http://github.com/ruby-rdf/rdf/spec reliably generates the Abort trap.
To repeat:
1. git clone git://github.com/ruby-rdf/rdf.git
2. cd rdf
3. bundle install
4. rspec spec
It does not seem to happen when runni...
gkellogg (Gregg Kellogg)
08:45 AM Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by default
I've updated this patch. Upon working with the code again and looking at RFC 2616, I have made the following changes:
> naruse (Yui NARUSE) wrote:
> ...
Due to read_chunked, and persistent connections I don't see how to make this wo...
drbrain (Eric Hodel)
08:21 AM Revision b3e306a5 (git): merge revision(s) 34552: [Bug #6516]
* ext/zlib/zlib.c (do_inflate): Inflate more data if buffered data
exists. Allows Zlib::Inflate#set_dictionary to work.
[ruby-trunk - Bug #5929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3584...
naruse (Yui NARUSE)
07:30 AM Revision d3a349bb (git): * ext/bigdecimal/lib/bigdecimal/jacobian.rb,
ext/bigdecimal/lib/bigdecimal/newton.rb:
fix documentation comments.
Patch by alperakgun from github.com/shyouhei/ruby/pull/8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
07:26 AM Revision ecb6bd90 (git): * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian#dfdxi):
fix jacobian to get stuck in an infinite loop when a solution is not
found due to forget to increment nRetry counter.
Patch by alperakgun from github.com/shyouhei/ruby/pull/8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35843 b...
Kenta Murata
06:23 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
On May 28, 2012, at 04:37, NARUSE, Yui wrote:
> 2012/5/27 mame (Yusuke Endoh) <[email protected]>:
>>
>> Issue #6482 has been updated by mame (Yusuke Endoh).
>>
>>
>> Hello, drbrain
>>
>> Are you willing to be a net/http(s) mai...
drbrain (Eric Hodel)
06:20 AM Bug #6501 (Closed): Documentation for Exception#set_backtrace is incorrect
This issue was solved with changeset r35837.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (exc_set_backtrace): Updated documentation to indica...
drbrain (Eric Hodel)
05:35 AM Bug #6488: String#slice example has a syntax error
This is a bug in RDoc's ruby parser drbrain (Eric Hodel)
01:58 AM Revision 18805586 (git): utc offset in seconds
* time.c (utc_offset_arg): utc offset can be precision in seconds.
e.g. old Europe/Lisbon (c.f. [ruby-dev:40066])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:29 AM Revision 7d303b2d (git): lib/test/unit.rb: split platform condition
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): split platform condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:24 AM Revision 2f76e6d3 (git): color option
* bootstraptest/runner.rb, sample/test.rb: add --color option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:24 AM Revision a8f87d6d (git): common test options
* common.mk (btest, test-sample, test-knownbugs, test-all, test-ruby):
pass common options by TESTOPTS.
* tool/rubytest.rb: pass ARGV from make to sample/test.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35839 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)

05/29/2012

10:44 PM Bug #6498: Cygwin needs $(DEFFILE) for extension libraries.
nobu-san, I'm not sure if I fully understand what you said, but this is an issue of linking a static import library into a DLL. Please let me clarify.
The command line which fails looks like this:
gcc -shared -o atk.so atkobj.o -Wl,-...
koba (Shinji Kobayashi)
10:37 PM Feature #6513: Make method_missing to lookup in constants too
First letter of constant is always a capital letter(in Ruby).
if you define method:
def Hi
1
end
You're not able to use it w/o ():
Hi
it looks up for constant and raises error. only:
Hi() or send(:Hi)
None of code style ...
egor.homakov (egor homakov)
10:37 PM Feature #6513 (Rejected): Make method_missing to lookup in constants too
=begin
First letter of constant is always a capital letter(in Ruby).
if you define method:
def Hi
1
end
You're not able to use it w/o ():
Hi
it looks up for constant and raises error. only:
Hi() or send(:Hi)
N...
egor.homakov (egor homakov)
09:20 PM Revision 99c741c1 (git): * 2012-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:20 PM Revision 9e84f837 (git): * error.c (exc_set_backtrace): Updated documentation to indicate
set_backtrace allows a string as well as an array of strings.
[ruby-trunk - Bug #6501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:18 AM Bug #6509 (Assigned): String#gsub is too slow if receiver includes a binary
str_gsubの中でdestが一回non asciiになってしまったらそれ以降はsearch_nonasciiしても無駄という気がしますが専門家のご意見をうかがいたいところです。 shyouhei (Shyouhei Urabe)
10:03 AM Bug #6509 (Closed): String#gsub is too slow if receiver includes a binary
=begin
以下のようなコードで String#gsub が遅くなります。
* b = "" の場合(A): 0.2840230464935303
* b = "\xB9" の場合(B): 4.183771848678589
# -*- coding: utf-8 -*-

a = ("abcde\n"*50000).force_encoding("binary")
#b = ""
b = "\xB9".forc...
okkez (okkez _)
08:28 AM Revision 39a3d179 (git): strftime.c: triple colons modifier
partially borrowed from ext/date.
* strftime.c (rb_strftime_with_timespec): support GNU extension triple
colons modifier. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:28 AM Revision 241902e7 (git): strftime.c: fix locale modifier
partially borrowed from ext/date.
* strftime.c (rb_strftime_with_timespec): check conversion with locale
modifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:28 AM Revision 60683816 (git): strftime.c: fix colon modifier.
partially borrowed from ext/date.
* strftime.c (rb_strftime_with_timespec): colons are valid only for
'z' and must come just before it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:24 AM Bug #6488: String#slice example has a syntax error
I was unable to reproduce this with ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux] and rdoc 3.9.4
Could be an issue with ruby-doc.org?
zzak (zzak _)
12:52 AM Revision 4f4de9b8 (git): * 2012-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:52 AM Revision 44ae75a1 (git): Suppress warning: method redefined.
The warning cause test_singleton_method_added to fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

05/28/2012

09:49 PM Feature #6507: File Literal
=begin
I thought about this a bit more and there is really no way to avoid a certain amount of regex look-alike b/c that's simply how paths are notated -- with slashes.
One thought I had was using `./` and `//` (for root) as initial mar...
trans (Thomas Sawyer)
09:23 PM Feature #6507: File Literal
May be %f{foo.bar}.open{}, %f{file*.txt}.each{}
Syntax with open bracket and without closing makes trouble when method call expected: \foo.rb.open{}
prijutme4ty (Ilya Vorontsov)
03:15 AM Feature #6507: File Literal
Ah frigets! I totally spaced on regexp notation. Well maybe the string would have to be used:
file = /'foo'/'i'
But I can see how that could still be confusing with regex.
trans (Thomas Sawyer)
02:39 AM Feature #6507 (Feedback): File Literal
trans (Thomas Sawyer) wrote:
> Today it occurred to me that perhaps the `/` symbol could do the trick:
> ...
Consider a file named "i" in a directory named "foo":
regexp = /foo/i
> In anycase, whether this notation works or n...
mame (Yusuke Endoh)
02:03 AM Feature #6507 (Feedback): File Literal
=begin
One of the features of the Rebol programming language that I has always liked is its direct support for files via the (({%filename})) notation (See http://www.rebol.com/r3/docs/datatypes/file.html). I've often wondered how Ruby m...
trans (Thomas Sawyer)
08:53 PM Feature #6482: Add URI requested to Net::HTTP request and response objects
Oops, sorry. Please update the maintainer list of redmine wiki.


2012/5/28 NARUSE, Yui <[email protected]>:
> 2012/5/27 mame (Yusuke Endoh) <[email protected]>:
>>
>> Issue #6482 has been updated by mame (Yusuke Endoh).
>>
>>
>>...
mame (Yusuke Endoh)
08:53 PM Feature #6482: Add URI requested to Net::HTTP request and response objects
2012/5/27 mame (Yusuke Endoh) <[email protected]>:
>
> Issue #6482 has been updated by mame (Yusuke Endoh).
>
>
> Hello, drbrain
>
> Are you willing to be a net/http(s) maintainer?
> I think you deserve it.
>
> Matz, do you accep...
naruse (Yui NARUSE)
08:34 PM Feature #6494: Send Accept-Encoding for all HTTP requests
This change breaks code which calls initialize with initheader=nil.
- def initialize(m, reqbody, resbody, path, initheader = nil)
+ def initialize(m, reqbody, resbody, path, initheader = {})
Following
+ if @response_has_bod...
naruse (Yui NARUSE)
08:32 PM Feature #3322 (Rejected): Simple Patch to make ruby copy-on-write-friendly
Sorry for the late relpy.
We already have Bitmap Marking GC in Ruby2.0 so I reject it.
Thanks.
authorNari (Narihiro Nakamura)
08:22 PM Bug #5932 (Rejected): gc_mark_children で SEGV が発生
再現していないとのことですので、一旦Rejectしておきます。 authorNari (Narihiro Nakamura)
07:05 PM Bug #6508: Add an (optional) GNU configure option to demand libyaml before continuing, when compiling ruby from source
@shevegen have you tried adding --with-libyaml to your configure args? We already have it (with a different context).
Generary speaking what @shevegen needs is a way to mandate build process to compile a specific extension lib. I kn...
shyouhei (Shyouhei Urabe)
06:49 PM Bug #6508 (Rejected): Add an (optional) GNU configure option to demand libyaml before continuing, when compiling ruby from source
Hi. When I compile ruby 1.9.3 I get this sometimes:
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
This is a bit annoying because I ne...
shevegen (Robert A. Heiler)
01:46 PM Feature #5937: Zlib::Inflate#add_dictionary to pre-supply dictionaries for inflate streams
igrigorik (Ilya Grigorik) wrote:
> What are the odds of having this be backported to 1.9.x? We need custom dictionary support to support SPDY without relying on FFI or other native extensions.
> ...
You may know, in principle backport...
naruse (Yui NARUSE)
01:35 PM Bug #6506 (Closed): configure --disable-install-doc していると make install で ruby がビルドされない
This issue was solved with changeset r35829.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
common.mk: fix dependencies.
* common.mk (do-install-*): fix...
nobu (Nobuyoshi Nakada)
01:06 PM Bug #6498 (Rejected): Cygwin needs $(DEFFILE) for extension libraries.
It makes no sense.
Symbols defined by dynamically loaded library cannot be visible from another dynamically loaded library on all platforms.
nobu (Nobuyoshi Nakada)
12:50 PM Feature #6499: Array::zip
duerst (Martin Dürst) wrote:
> I always wished there had been a better way, but the idea I came up with was something like arrays.zips_many or so. That might work, too, but Array.zip is quite neat, too.
Sorry, it should have been a...
duerst (Martin Dürst)
12:47 PM Feature #6499: Array::zip
The problem becomes even more obvious in the cases where one starts with an array of arrays:
New way:
Array.zip(*arrays)
Old way:
arrays[0].zip(*arrrays[1..-1])
The new way is clear and concise. The old way is a mess. I have d...
duerst (Martin Dürst)
06:45 AM Feature #6499: Array::zip
Hi
trans (Thomas Sawyer) wrote:
> This is probably true of any Array method that take one or more other arrays as argument. Are there other's besides #zip?
I agree and would like `Array.product` to be considered as a worthy additi...
marcandre (Marc-Andre Lafortune)
01:22 AM Feature #6499: Array::zip
This is probably true of any Array method that take one or more other arrays as argument. Are there other's besides #zip?
trans (Thomas Sawyer)
12:17 PM Bug #5254 (Closed): class オブジェクトの開放時に segv
r35827 で修正しました。 authorNari (Narihiro Nakamura)
07:56 AM Revision de7a47d1 (git): StatusLineOutput needs job_status to be :replace
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): StatusLineOutput
needs job_status to be :replace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:54 AM Revision 49479c2d (git): strftime.c: linux style
* strftime.c (rb_strftime_with_timespec): fix indentation using linux
style. this file is not written in ruby-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:35 AM Revision 1cb2f961 (git): common.mk: fix dependencies.
* common.mk (do-install-*): fix dependencies. based on the patch by
nagachika at [ruby-dev:45683]. [Bug #6506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:15 AM Revision 3fcf82e2 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
03:12 AM Revision e2f4f344 (git): * gc.c (obj_free): doesn't free a method table if it doesn't
exits. [ruby-dev:44436]
* test/ruby/test_gc.rb (class TestGc): added the test case for
this issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
02:40 AM Revision 1d0ddd42 (git): merge revision(s) 34753:
* io.c (rb_io_extract_modeenc): fail only if conflicting
text/binary modes given explicitly. [ruby-dev:45268][Bug #6055]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

05/27/2012

11:17 PM Bug #6506 (Closed): configure --disable-install-doc していると make install で ruby がビルドされない
configure --disable-install-doc を指定していると、make install しても
miniruby だけ再ビルドされて ruby は古いままで install されるようです。
make clean した状態から make install してもやっぱり ruby が作成されないのでエラーになります。
以下のパッチで一応 make install は成功する(再ビルドされる)ようになりました。
diff --git a/...
nagachika (Tomoyuki Chikanaga)
09:23 PM Bug #6501: Documentation for Exception#set_backtrace is incorrect
(2012/05/27 19:26), mame (Yusuke Endoh) wrote:
> ko1, tell us if you have any opinion (or objection) about this.

I don't have any opinion about it.


--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
07:26 PM Bug #6501 (Assigned): Documentation for Exception#set_backtrace is incorrect
Hello drbrain,
Could you treat this?
ko1, tell us if you have any opinion (or objection) about this.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:42 AM Bug #6501 (Closed): Documentation for Exception#set_backtrace is incorrect
The documentation for Exception#set_backtrace is incorrect. It currently says that its argument must be an array of strings.
/*
* call-seq:
* exc.set_backtrace(array) -> array
*
* Sets the backtrac...
djberg96 (Daniel Berger)
07:25 PM Feature #6503 (Assigned): Support for the NPN extension to TLS/SSL
Thank you Ilya!
Martin, could you tell me how hard is it to implement this?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
02:57 PM Feature #6503 (Closed): Support for the NPN extension to TLS/SSL
OpenSSL 1.0.1+ added support for Next Protocol Negotiation (NPN) extensions. A couple of relevant links:
- Google technical note: https://technotes.googlecode.com/git/nextprotoneg.html
- IETF draft: http://tools.ietf.org/html/draft-a...
igrigorik (Ilya Grigorik)
04:25 PM Revision 92b6597b (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 77dc968e (git): * benchmark/bm_vm1_lvar_init.rb: fix newline code.
* benchmark/bm_vm2_bigarray.rb: ditto.
* benchmark/bm_vm2_bighash.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 233e48dc (git): * 2012-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:14 PM Revision 26282b53 (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:41 PM Revision 7796c7d7 (git): * benchmark/bm_vm1_lvar_init.rb: added.
This benchmark measures a initialize time of non-used variable.
* benchmark/bm_vm1_lvar_set.rb: added.
This benchmark measures a local variables initialization time.
* benchmark/bm_vm2_bigarray.rb: added.
This benchmark mesures a big...
ko1 (Koichi Sasada)
02:35 PM Feature #5937: Zlib::Inflate#add_dictionary to pre-supply dictionaries for inflate streams
What are the odds of having this be backported to 1.9.x? We need custom dictionary support to support SPDY without relying on FFI or other native extensions.
ex: https://github.com/igrigorik/spdy/blob/master/lib/spdy/compressor.rb
igrigorik (Ilya Grigorik)
05:52 AM Bug #6500 (Rejected): File#open with a ':binmode => true' opt
This issue is fixed at trunk. This seems a duplicate of Bug #6055. h.shirosaki (Hiroshi Shirosaki)
12:36 AM Bug #6500: File#open with a ':binmode => true' opt
Yusuke, assigning to Hiroshi Shirosaki who is more familiar with File IO. luislavena (Luis Lavena)
12:30 AM Bug #6500 (Assigned): File#open with a ':binmode => true' opt
Luis, could you treat this?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
04:47 AM Revision 24b1d2f2 (git): * NEWS: expanded a tab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:35 AM Revision 06653c19 (git): * benchmark/driver.rb: fix to continue benchmarks when
an error is occurred.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:53 AM Bug #6502 (Closed): include Syslog
knu さん
http://d.hatena.ne.jp/nagachika/20120521#r35737
で指摘されていますが、Syslog#inspect が rb_define_module_function なのは意図的でしょうか。
rb_define_singleton_method の方が適切なように思います。
具体的には、以下のように include したクラスが inspect できません。
$ ruby -rsyslog -...
mame (Yusuke Endoh)
02:27 AM Revision 2d8b8b4d (git): fix operator precedence
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): fix operator
precedence, so that platform and TERM should be counted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:23 AM Revision a000c52b (git): * untabified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:07 AM Feature #6482: Add URI requested to Net::HTTP request and response objects
Hello, drbrain
Are you willing to be a net/http(s) maintainer?
I think you deserve it.
Matz, do you accept him if he is willing?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
01:05 AM Revision 9f698ff1 (git): modified test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:04 AM Revision 83d8d057 (git): * ext/date/date_strftime.c: allows %Ok and %Ol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:00 AM Bug #6490 (Assigned): The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
mame (Yusuke Endoh)
12:50 AM Feature #6483 (Assigned): parametric map
Assigning to matz.
Eregon (Benoit Daloze) wrote:
> For info, this is http://bugs.ruby-lang.org/issues/show/4146 (I had a hard time finding it back).
Thanks Benoit! I added it as a related ticket.
--
Yusuke Endoh <mame@tsg....
mame (Yusuke Endoh)
12:45 AM Bug #6495 (Assigned): uninitialized constant due to missing require
I'm not sure if the author had assumed that dl/struct is require'ed directly.
Aaron, what do you think?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:35 AM Bug #6496 (Assigned): Adding a bit of DL and friends documentation
Aaron, please let Eric know your opinion if any.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:33 AM Feature #6480: [PATCH] Add HTTP status codes from RFC 6585
Please commit it unless there is objection within a few days or a week.
Thanks!
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
12:30 AM Feature #6480 (Assigned): [PATCH] Add HTTP status codes from RFC 6585
mame (Yusuke Endoh)
12:30 AM Revision 6ba96bbe (git): * ext/date/date_core.c: modified doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:16 AM Feature #6499 (Assigned): Array::zip
mame (Yusuke Endoh)
12:07 AM Bug #6498 (Assigned): Cygwin needs $(DEFFILE) for extension libraries.
Looks acceptable to me because the proposed patch affects just cygwin.
(Note that cygwin is not supported now)
Nobu, what do you think?
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)

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 and binmode specified
from (irb):1:in `initialize'
from (irb):1:in `open'
from (irb):1
...
yimutang (Joey Zhou)
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 Yusuke, it seems best to not include a (complete) specification for #inspect in RubySpec yet, because the exact #inspect...
Eregon (Benoit Daloze)
06:18 PM Revision 9a6a94f7 (git): * 2012-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:18 PM Revision 18454e6f (git): * ChangeLog: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
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 may be a matter of common sense.
but, it's not so good for novice.
tadf (tadayoshi funaba)
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 abbreviation name`. This in my eyes (and about 10 other ruby developers I asked before i filed this) means UTC, CST, etc... zombor (Jeremy Bush)
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 Time object has a mode UTC/local time.
but, DateTime does not so.
DateTime does not have the obvious local time zone.
...
tadf (tadayoshi funaba)
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. The documentation says: `%Z - Time zone abbreviation name`. zombor (Jeremy Bush)
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 like Time.strftime('%Z') does. If nothing else, the two identically named functions output two different things. zombor (Jeremy Bush)
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 format.
tadf (tadayoshi funaba)
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 unnecessary dedicated
For example
cols = first_row.zip(second_row,third_row,fourth_row)
have more natural analog:
cols = Arra...
prijutme4ty (Ilya Vorontsov)
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 references:
...
linking shared-object atk.so
Creating library file: libruby-atk.arbatkaction.o: In function `rg_set_desc...
koba (Shinji Kobayashi)
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 still considered a problem, even with secure renegotiation support.
It's now possible to either completely disable cl...
MartinBosslet (Martin Bosslet)
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 trans says. Anonymous
10:05 AM Revision 76547ea7 (git): * ext/date/date_core.c: added description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:21 AM Revision 43e8bf0c (git): re-modified
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:16 AM Revision 2199c85d (git): * ext/date/date_strftime.c: reduced the code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:10 AM Revision 0976f312 (git): * time.c: modified doc.
* ext/date/date_core.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
08:08 AM Revision ec187ff8 (git): * vm.c (backtrace_*): change type of lev and n from size_t to int.
Also set type of rb_backtrace_t#backtrace_size to int.
A patch from nobu.
* vm_eval.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:26 AM Revision 5212b7fb (git): file.c: fix for UNC
* file.c (realpath_rec): UNC prefix does not end with path separator,
so new separator is needed after it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:24 AM Revision 62bab7fc (git): test/ruby/test_file.rb: fix for UNC
* test/ruby/test_file.rb (test_realpath, test_realdirpath): fix for
UNC enabled platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
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.
Summary:
I find that this feature proposal is basically an extension of Regex state
machine functionality. I am ag...
Anonymous
06:31 AM Revision 9c3d8bb0 (git): * test/ruby/test_backtrace.rb (test_caller_lev):
decreaze recursion size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:03 AM Revision a28b100f (git): ChangeLog: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:51 AM Revision ca433168 (git): * NEWS: add Kernel#caller's second argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:49 AM Revision 4f54d471 (git): * vm.c (RubyVM::FrameInfo): add a class to access each frame
information. You don't need to parse strings from caller().
FrameInfo has the following methods:
FrameInfo#name: method name, class name, etc with decorations.
FrameInfo#basename: name without decorations.
FrameInfo#line_no: lin...
ko1 (Koichi Sasada)
04:25 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Uh oh, this discussion is already a pain to read. Anonymous
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/ vbatts (Vincent Batts)
03:25 AM Revision fbf531c4 (git): * vm.c (frame_info_to_str): add `break'.
* vm.c (backtrace_object): remove lev and n parameter.
backtrace_object always returns all of backtrace information.
* vm.c (rb_backtrace_to_str_ary): fix to use backtrace_object().
This change improve performance of caller(lev, n).
...
ko1 (Koichi Sasada)
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 /usr/lib64/ruby/1.9.1/dl/struct.rb:48:in `<class:CStructEntity>'
from /usr/lib64/ruby/1.9.1/dl/struct.rb:46:in `<modul...
vbatts (Vincent Batts)
02:10 AM Revision 6d597718 (git): * vm.c (rb_frame_info_t): keep previous ISEQ frame info for CFUNC
frame info. And fix to cache a calculated line_no of ISEQ frame
info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
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 input is finished and @inflate can finish.
> ...
I hadn't thought of that, I will implement it.
> But on persistent conn...
drbrain (Eric Hodel)
12:56 AM Revision 2240dc2e (git): * 2012-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:56 AM Revision 50ba64ab (git): * ext/openssl/ossl_ssl.c: Allow disabling client-side renegotiation.
* test/openssl/test_ssl.rb: Simple tests for this.
Client-side renegotiation is still considered problematic, even
when used in the context of secure renegotiation (RI, RFC 5746).
The changes allow users to either completely disab...
MartinBosslet (Martin Bosslet)
 

Also available in: Atom