Project

General

Profile

Activity

From 05/27/2012 to 06/02/2012

06/02/2012

11:36 PM Feature #6532: More methods for Hash and Array: Hash#has_all_keys? and family, Array#delete_at for multiple arguments
And of course I forgot the most useful method (more suggestions about names highly appreciate) Array#selection and Ha... prijutme4ty (Ilya Vorontsov)
11:15 PM Feature #6532 (Rejected): More methods for Hash and Array: Hash#has_all_keys? and family, Array#delete_at for multiple arguments
I suggest introducing Hash methods: has_all_keys?, has_any_key?, has_none_key?, has_one_key?
to write: input.has_al...
prijutme4ty (Ilya Vorontsov)
11:17 PM Bug #6533 (Closed): Benchmark documenation formatting bug and consistency
=begin
I've added a patch to fix a formatting bug with lib/benchmark.
(({BENCHMARK_VERSION = "2002-04-25" #:nodoc...
zzak (zzak _)
10:42 PM Bug #6531 (Closed): Increase Racc runtime versions
I've added a patch to update the versions in Racc to be consistent.
This is related to https://github.com/tenderlo...
zzak (zzak _)
10:38 PM Feature #6530 (Closed): Improve Racc documentation coverage
I've added a patch to improve documentation for Racc module.
Not sure what to do with debug functions racc_*()
...
zzak (zzak _)
09:34 PM Revision 82cd48d7 (git): gc.c: simplified
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:24 PM Revision b4be4c7b (git): * regparse.c (onig_number_of_names): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:16 PM Feature #5617: Allow install RubyGems into dediceted directory
=begin
Add !<verconf>! mark
+ AC_DEFINE_UNQUOTED(RUBYGEMS_DIR,"$rubygemsdir")
=end
nobu (Nobuyoshi Nakada)
06:14 PM Feature #5617: Allow install RubyGems into dediceted directory
+ AC_DEFINE_UNQUOTED(RUBYGEMS_DIR,"$rubygemsdir")
nobu (Nobuyoshi Nakada)
08:38 AM Feature #5617: Allow install RubyGems into dediceted directory
This functionality is fine with me, but since it applies to the build system and not RubyGems I think matz or someone... drbrain (Eric Hodel)
05:02 PM Bug #6509 (Closed): String#gsub is too slow if receiver includes a binary
This issue was solved with changeset r35863.
okkez, thank you for reporting this issue.
Your contribution to Ruby is ...
naruse (Yui NARUSE)
04:46 PM Revision f6f769d2 (git): * vm_backtrace.c: change names.
(1) Class name: RubyVM::FrameInfo -> RubyVM::Backtrace::Location.
(2) Method name: RubyVM::FrameInfo.caller ->
Ke...
ko1 (Koichi Sasada)
04:02 PM Revision 0d1b2164 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:59 PM Revision b57c81ae (git): * common.mk: fix to build vm_backtrace.c only itself (vm_backtrace.c
is no longer included from vm.c). I hope this separation reduce
compile time of vm.c.
* internal.h: ditto.
* vm.c,...
ko1 (Koichi Sasada)
03:55 PM Bug #6529 (Closed): missing words in description of =~ operator for Regexp
Currently the Regexp class documentation contains the following: "<tt>=~</tt> is Ruby's basic pattern-matching operat... nathanst (Nathan Stratton Treadway)
03:24 PM Revision 3657d629 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:23 PM Revision ea5605dd (git): * 2012-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:23 PM Revision 681d73a9 (git): * vm_backtrace.c: added. Separate backtrace related functions to
this file.
* vm.c, common.mk: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35868 b2dd03c8-39d4-4d8f-98...
ko1 (Koichi Sasada)
02:37 PM Feature #6528 (Closed): Add Pathname#write and Pathname#binwrite
IO.read と対応する Pathname#read があるので
IO.write と対応する Pathname#write が欲しいです.
IO.write がない現在は pathname.open('w') { |f| ...
niku (niku _)
01:44 PM Revision d054eb96 (git): Add a test for r35863.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:50 AM Revision ad4b53b3 (git): merge revision(s) 35863,35864:
* string.c (rb_enc_cr_str_buf_cat): don't reset coderange as unknown.
the condition 'ptr_a8 && str_cr != EN...
naruse (Yui NARUSE)
09:50 AM Feature #6515 (Feedback): array.c: added method that verifies if an Array is part of another
=begin
Then why don't you use (({Set#subset?})) method?
What's the rationale that (({Array})) also should have simil...
nobu (Nobuyoshi Nakada)
03:00 AM Feature #6515: array.c: added method that verifies if an Array is part of another
@nobu you are right. I'll change the method to (arry1 - arry2).empty?. About the method functionally I thought of it ... lellisga (Li Ellis Galardo)
09:18 AM Revision 866761d2 (git): * lib/ipaddr.rb: Inhibit zero-filled octets in an IPv4 address in
all platforms. [ruby-dev:45671]
* lib/ipaddr.rb: Allow the x:x:x:x:x:x:d.d.d.d form not limited to
IPv4 mapped/com...
Akinori MUSHA
08:52 AM Revision 70be643c (git): Fix previous commit, it means not need to make the condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:40 AM Feature #6494: Send Accept-Encoding for all HTTP requests
I will commit this once #6492 is approved and committed. drbrain (Eric Hodel)
08:21 AM Bug #6488 (Closed): String#slice example has a syntax error
Fixed by eaf2b80c and 0d72fc0d to the rdoc repository. drbrain (Eric Hodel)
08:02 AM Revision 7671e7dd (git): * string.c (rb_enc_cr_str_buf_cat): don't reset coderange as unknown.
the condition 'ptr_a8 && str_cr != ENC_CODERANGE_7BIT' means not
unknown, str is also ASCII-8BIT because str_encind...
naruse (Yui NARUSE)
07:13 AM Bug #6525 (Closed): misleading example in Permformance section of Regexp documentation?
This issue was solved with changeset r35862.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
06:35 AM Bug #6524 (Closed): missing "#=>" in example block in Regexp class documentation
This issue was solved with changeset r35860.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
06:23 AM Bug #6526 (Closed): minor typo in Regexp class documentation
This is a duplicate of #5624 and was fixed by r33976 drbrain (Eric Hodel)
06:10 AM Bug #6306: Ripper lexes :on_kw when it should find :on_ident
That is correct. I've used Ripper.sexp() a tad, but will look to using that more. Thank you for the feedback. turboladen (Steve Loveless)
06:10 AM Feature #6522: Migrate extconf.rb documentation from README.EXT to MakeMakefile
I think this is good.
Nobu, do you have any comments?
drbrain (Eric Hodel)

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 an... 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: s...
drbrain (Eric Hodel)
09:45 PM Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
武者さん、なかむら(う)さん
お二方とも、御返信下さり有難う御座います。
> cf. http://pubs.opengroup.org/onlinepubs/009696799/functions/inet_addr.h...
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...
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) prepar...
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 d... 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 MakeMake... 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... nathanst (Nathan Stratton Treadway)
03:53 PM Feature #6499: Array::zip
marcandre (Marc-Andre Lafortune) wrote:
> Hi
>
> trans (Thomas Sawyer) wrote:
> > This is probably true of any A...
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
additiona...
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 "Cons... 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' * 2... 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... 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 ...
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 i...
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
... an...
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... 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 i...
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 i...
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 i...
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...
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/r...
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 repro...
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-98f...
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 さんにアサイン。
-- ...
mame (Yusuke Endoh)
12:09 PM Bug #6519 (Closed): space in COUTFLAG
こんにちは。

mkmf.rbで作成するMakefileには COUTFLAG や OUTFLAG といったmakeの変数が
定義されます。その内容が意図した結果となっていないのではないかと思いま
した。殆どの環境で...
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...
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 th...
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|))' soun...
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): T...
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-l...
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 b2dd0...
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(...
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...
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 u...
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 ...
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 ...
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 do... 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 i...
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?...
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: s...
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 validat...
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
...
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 fil...
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 a... 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 P...
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, i...
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 ba...
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". ... 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 mean...
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
=> ...
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...
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' ...
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 advertise... 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 t... drbrain (Eric Hodel)
12:31 PM Bug #6479: ipaddr.rbの受け付ける書式が、プラットフォームによって異なる
本件の実装の大枠はもうできていて、あとはどういう表記を認めるかというところで諸方面に確認中ですが、ゼロ埋めについては不許可にしたいと思うようになりました。
というのもアドレスのパースに用いられるCの inet_addr() の仕...
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...
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... 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_dicti...
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...
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 counte...
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 #648...
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...
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])
...
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.o...
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@358...
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/rub...
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 i... 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 no...
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
en...
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.r...
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.18377184...
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 mo...
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....
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...
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...
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 b2dd0...
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 t...
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 me...
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'
...
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:
>
> file...
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...
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]>:
> ...
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).
>
>
> ...
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, ini...
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)... 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 out...
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 dictionar...
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 ...
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...
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 someth...
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(...
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...
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 #... 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-i...
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-styl...
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]
...
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...
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:452...
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 clea...
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.
...
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.
--
Yu...
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 s... 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 ...
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/...
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 benchma...
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 re... 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 なの...
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 ...
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...
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...
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?
--
Yusu...
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)
No...
mame (Yusuke Endoh)
 

Also available in: Atom