Project

General

Profile

Activity

From 03/22/2012 to 03/28/2012

03/28/2012

11:28 PM Revision 7d8a8956 (git): * NEWS: add note about unified behavior of encoding nil values in
instances of OpenSSL::ASN1::ASN1Data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
11:09 PM Bug #6217 (Feedback): Bundle crash
Looks to me to all the other bugs reported due OpenSSL library and extension failing.
Please recompile Ruby with proper OpenSSL support. If you use MacPorts, install OpenSSL and then do "rvm install 1.9.3 -C --with-opt-dir=/opt/local"...
luislavena (Luis Lavena)
07:15 PM Bug #6217 (Rejected): Bundle crash
I'm not sure if it's a problem with the ruby interpreter, but I searched on the web and I didn't find a solution for this problem.
The output I've got suggests that I "may have encountered a bug in the Ruby interpreter or extension libr...
luiscruz (Luis Cruz)
10:53 PM Revision 0443aeab (git): * 2012-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:53 PM Revision 5bef1c92 (git): * ext/openssl/ossl_asn1.c: raise TypeError when trying to encode nil
values for Primitive instances.
* test/openssl/test_asn1.rb: Assert consistent behavior when
encoding nil values: Primitives raise TypeError, Constructives
raise NoMethodError.
Fixes [ruby-core:43009][Bug #6102]
-This line, and tho...
MartinBosslet (Martin Bosslet)
10:24 PM Feature #6218 (Closed): struct.cのrb_struct_s_members_m()について
表題の関数ではrb_struct_s_members()で得たArrayの内容をwhile文で1要素ずつ新たなArrayにpushしていますが、
これはrb_ary_dup()で済ませられるのではないでしょうか。
パフォーマンス上のメリットもあります。
require 'benchmark'
sym = :a
s = Struct.new(*Array.new(100){ sym = sym.succ })
Benchmark.bm do |...
Glass_saga (Masaki Matsushita)
07:39 PM Feature #4788: resolv.rb refactoring
Hi, still having users with problems and no consistent way to solve it. Merging this patch would be a great addition. Let me know if you require any further support or have any questions. ioquatix (Samuel Williams)
07:27 PM Feature #6216 (Feedback): SystemStackError backtraces should not be reduced to one line
Could you be more descriptive, please? Comparing outputs from Ruby and JRuby, for example.
Matz.
matz (Yukihiro Matsumoto)
04:16 PM Feature #6216 (Closed): SystemStackError backtraces should not be reduced to one line
When debugging "SystemStackError: stack level too deep" exceptions, it is not helpful that the backtrace is reduced to one single line. Most of the time Ruby incorrectly identifies where cycles begin, resulting in an unrelated "file:line... postmodern (Hal Brodigan)
04:40 PM Feature #5610 (Closed): Allow strings as input for Process.uid=
This issue was solved with changeset r35158.
markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c (obj2uid, obj2gid): allow strings as input user/gro...
nobu (Nobuyoshi Nakada)
11:53 AM Feature #5610: Allow strings as input for Process.uid=
=begin
Since (({Process.groups=})) already accepts strings, this proposal sounds reasonable.
=end
nobu (Nobuyoshi Nakada)
12:11 AM Feature #5610 (Assigned): Allow strings as input for Process.uid=
Kosaki-san,
Are you interested in creating a patch?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:20 PM Bug #6209: Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
Note that fast-stemmer doesn't seem to support 1.9 yet. nobu (Nobuyoshi Nakada)
03:06 PM Bug #6209 (Closed): Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
This issue was solved with changeset r35157.
Pierre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* marshal.c (r_symreal): default to ASCII-8BIT for non-ascii sy...
nobu (Nobuyoshi Nakada)
02:19 PM Bug #6209: Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
=begin
The minimal code would be:
Marshal.load(Marshal.dump("\xff".force_encoding("ascii-8bit").intern))
=end
nobu (Nobuyoshi Nakada)
01:04 AM Bug #6209 (Closed): Marshal.load unable to load previously marshaled data: invalid encoding symbol (EncodingError)
=begin
= Description
A ruby object (generated with the Classifier gem) is Marshalled on the disk.
When reloaded, the ruby interpreter crashes with the following error:
test-case.rb:8:in `load': invalid encoding symbol (Encod...
octplane (Pierre B)
02:02 PM Bug #6215 (Feedback): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
=begin
Seems very strange.
(({RUBY_PATCHLEVEL})) is a (({Fixnum})) and has no (({slice})) method, so (({NoMethodError})) occurs on my machine.
What happens with just:
p RUBY_PATCHLEVEL
?
=end
nobu (Nobuyoshi Nakada)
12:51 PM Bug #6215 (Rejected): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
While using Ruby 1.9.3 and Textmate, I attempted to run the following code fragment:
print "#{RUBY_VERSION}\n"
print "#{RUBY_PLATFORM}\n"
print "#{RUBY_RELEASE_DATE}\n"
print "#{RUBY_PATCHLEVEL.slice(2,3)}\n"}
When executing t...
jordandm (Jordan Dea-Mattson)
01:53 PM Feature #5607: Inconsistent reaction in Range of String
On 2012/03/28 0:10, mame (Yusuke Endoh) wrote:
>
> Issue #5607 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee set to duerst (Martin Dürst)
>
> Martin-sensei,
>
> I tentativ...
duerst (Martin Dürst)
12:10 AM Feature #5607 (Assigned): Inconsistent reaction in Range of String
Martin-sensei,
I tentatively assign this ticket to you.
If you give up, please set the assignee to another person,
or let make it a blank. Take it easy.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:42 PM Bug #6213 (Third Party's Issue): Builder::XmlMarkup drops html_safe
I guess it is the builder gem. shyouhei (Shyouhei Urabe)
01:37 PM Bug #6213 (Feedback): Builder::XmlMarkup drops html_safe
What is Builder::XmlMarkup? nobu (Nobuyoshi Nakada)
08:21 AM Bug #6213 (Third Party's Issue): Builder::XmlMarkup drops html_safe
A single line in Builder::XmlMarkup needs to be changed slightly,
to enable the builder to work with the html_safe flag that was introduced with rails3.
like
def method_missing(sym, *args, &block)
[...]
t...
eike.rb (Eike Dierks)
11:09 AM Bug #6214 (Closed): warnings on inspect for Enumerator objects if $VERBOSE
Lazy なオブジェクトの inspect がわかりやすくなった反面、
$VERBOSE な時に警告が出るようです。
$ ruby -ve 'p "".bytes'
ruby 2.0.0dev (2012-03-28 trunk 35155) [x86_64-linux]
-e:1: warning: instance variable receiver not initialized
-e:1: warning: instance variable me...
no6v (Nobuhiro IMAI)
09:53 AM Feature #5707: temporary file creation without finalizer and delegate.
2012/3/28 mame (Yusuke Endoh) <mame@tsg.ne.jp>:
>
> Issue #5707 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee set to akr (Akira Tanaka)
>
> What's the status? How can we move...
akr (Akira Tanaka)
01:05 AM Feature #5707 (Assigned): temporary file creation without finalizer and delegate.
What's the status? How can we move on?
The easiest way I think is to become the maintainer of tempfile
and to accept the ticket by yourself.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
07:56 AM Feature #5523 (Closed): Numeric#sign の追加
mrkn (Kenta Murata)
07:40 AM Revision 9bf9b3ef (git): * process.c (obj2uid, obj2gid): allow strings as input user/group id.
[ruby-core:40923][Feature #5610]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:59 AM Feature #5458: DL should be removed
On Tue, Mar 27, 2012 at 10:50:41PM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #5458 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee set to matz (Yukihiro Matsumoto)
>
> In principl...
Anonymous
06:06 AM Revision 1521f933 (git): * marshal.c (r_symreal): default to ASCII-8BIT for non-ascii symbols,
otherwise it should be converted to US-ASCII in rb_intern_str() if
possible. [ruby-core:43762][Bug #6209]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:05 AM Revision 113c6d58 (git): * marshal.c (r_symreal): no longer need volatile modifier, as using
rb_intern_str() not rb_intern().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Bug #6168: Segfault in OpenSSL bindings
trying again pointing at openssl dir to see if that makes a difference:
$ rvm reinstall 1.9.2 --with-openssl-dir=/usr/include/openssl
nope, same seg fault.
coldnebo (Larry Kyrala)
04:38 AM Bug #6168: Segfault in OpenSSL bindings
This also happens in 1.9.2-p318:
While using the mail gem (http://rubygems.org/gems/mail) in a ruby-debug19 context:
85 emails = Mail.find(:mailbox => opts[:mailbox], :keys => ["ALL", "UNSEEN"], :count => 9999) do |email, ima...
coldnebo (Larry Kyrala)
03:36 AM Feature #6210: load should provide a way to specify the top-level module
Sounds partially like #5643? luislavena (Luis Lavena)
02:57 AM Feature #6210 (Closed): load should provide a way to specify the top-level module
load currently takes an optional second argument that allows you to load into an anonymous and new top-level Module. It would be nice if the second argument could also be a Module that would then be used as the top-level Module. That w... now (Nikolai Weibull)
03:25 AM Feature #5361: Lice?
Or to get bit! trans (Thomas Sawyer)
01:28 AM Feature #5361 (Rejected): Lice?
Don't deny your potential to learn.
Matz.
matz (Yukihiro Matsumoto)
02:58 AM Bug #6211 (Closed): Ripper lexes :on_rbrace when it should find :on_embexpr_end
=begin
1.9.3-p125 :001 > require 'ripper'
=> true
1.9.3-p125 :002 > Ripper.lex %Q{`\#{cmd}`}
=> [[[1, 0], :on_backtick, "`"], [[1, 1], :on_embexpr_beg, "\#{"], [[1, 3], :on_ident, "cmd"], [[1, 6], :on_rbrace, "}"], [[1, 7],...
turboladen (Steve Loveless)
01:43 AM Feature #5583 (Rejected): Optionally typing
Although type notation as a comment a la Dart language is pretty interesting, I have to reject this proposal, since the proposed syntax is conflicting.
Matz.
matz (Yukihiro Matsumoto)
01:35 AM Feature #6150: add Enumerable#grep_v
Of course, after Ruby support named parameters this could be acceptable too and I would always use it by passing the named parameter instead of just "true". rosenfeld (Rodrigo Rosenfeld Rosas)
01:33 AM Feature #6150: add Enumerable#grep_v
"grep pattern, invert: true" is acceptable to me but "grep pattern, true" is not because the code becomes non readable and you'd have to check the API to understand what "true" means. This has nothing to do with Rails vs Ruby. rosenfeld (Rodrigo Rosenfeld Rosas)
01:29 AM Feature #6150: add Enumerable#grep_v
Alright, then let's simplify it further because passing {:invert=>true} seems more like Rails than Ruby:
def grep(pattern, invert=false)
...
end
["hello", "world"].grep(/h/, true) # => ["world"]
["hello", "world"].g...
sunaku (Suraj Kurapati)
01:30 AM Feature #5372 (Rejected): Promote blank? to a core protocol
Let it stay in ActiveSupport. Generally, string is string, array is array, in Ruby.
Matz.
matz (Yukihiro Matsumoto)
01:28 AM Revision b95b56cc (git): * process.c: no cuddle up else's.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:25 AM Feature #5644 (Feedback): add Enumerable#exclude? antonym
from that logic, don't we need to add antonyms to every predicate methods?
could you show us why include? is special?
Matz.
matz (Yukihiro Matsumoto)
12:28 AM Feature #5644 (Assigned): add Enumerable#exclude? antonym
mame (Yusuke Endoh)
01:12 AM Feature #5574 (Rejected): Make arrays comparable
Since arrays are not always compatible, I don't want to give wrong implication by making arrays comparable.
Adding <=> was a realistic compromise for me to allow array sorting.
Matz.
matz (Yukihiro Matsumoto)
01:08 AM Feature #5555 (Rejected): rename #include? to #includes?
The basic naming for methods in standard class libraries are:
* use basic form (include not includes)
* put question mark for predicates
* put bang mark for "dangerous" version of methods
"is_a" and "has_key" are exceptions. "is...
matz (Yukihiro Matsumoto)
01:07 AM Feature #5716 (Assigned): duplicated when clause is ignored -> Report which clause it is specifically.
mame (Yusuke Endoh)
01:03 AM Feature #5695 (Rejected): CoffeeScript "is" and "isnt" keywords
I strongly believe that this proposal has no hope.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:49 AM Feature #5673 (Assigned): undef_method probably doesn't need to raise an error
mame (Yusuke Endoh)
12:45 AM Feature #5669 (Assigned): Random thread scheduling based on a seed
Ko1, kosaki, tarui-san, what do you think?
Looks almost impossible to me, though.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:43 AM Feature #5666 (Assigned): Make rb_path2class public
Aaron-san, could you answer Kosaki's comment?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:41 AM Feature #5662 (Rejected): inject-accumulate, or Haskell's mapAccum*
I think the answer to this original proposal is "use each_with_object".
That's all. Closing.
Please open another ticket for an alias of the method if needed.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:34 AM Feature #5654 (Assigned): Introduce global lock to avoid concurrent require
NaHi-san, could you facilitate the discussion?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:33 AM Feature #5653 (Assigned): "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
Hello, NaHi-san
Hiroshi Nakamura wrote:
> This ticket is for discussion about removing autoload from stdlib (or not)
It would be good to open tickets for each library that uses autoload.
And, what do you think about Stephen a...
mame (Yusuke Endoh)
12:27 AM Feature #5643 (Assigned): require/load options and binding option
mame (Yusuke Endoh)
12:23 AM Feature #5632 (Assigned): Attempt to open included class shades it instead.
mame (Yusuke Endoh)
12:22 AM Feature #6088: Add Net::ReadTimeout to distinguish which operation failed
I don't object the direction but it should have more document about the new Exception. naruse (Yui NARUSE)
12:16 AM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
> Is this planned to be included in 2.0.0?
Yes.
Thank you for your reminder.
usa (Usaku NAKAMURA)
12:13 AM Feature #5613 (Assigned): Signal.termsigname メソッドの追加
パッチ晒して「反対がなければコミットします」って言えばいいんじゃないかと思います。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:07 AM Feature #5590 (Closed): Proposal for sustainable branch maintenance
See also [ruby-dev:45183] and [ruby-core:42363] naruse (Yui NARUSE)
12:07 AM Feature #5606 (Feedback): String#each_match(regexp)
遠藤です。
2011年11月10日17:19 Tomoaki Nishiyama <tomoakin@staff.kanazawa-u.ac.jp>:
> String#scan ではダメかというと
> ...
$~ を使うのが普通です。
longstring.scan(regex) do
...
puts "#{$~.begin(0)}-#{$~.end(0)-1} some other info"
end
「い...
mame (Yusuke Endoh)

03/27/2012

11:55 PM Feature #5583 (Assigned): Optionally typing
mame (Yusuke Endoh)
11:54 PM Feature #5460 (Closed): Improve "CONNECT" code in net/http. (patch inclulded)
Committed in r34362. naruse (Yui NARUSE)
11:54 PM Feature #5584 (Rejected): Array#sample!
まつもとさんの意見に対して feedback がないので閉じます。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:52 PM Feature #5582 (Assigned): Allow clone of singleton methods on a BasicObject
mame (Yusuke Endoh)
11:49 PM Feature #4906: rb_w32_add_socket / rb_w32_remove_socket
Is this planned to be included in 2.0.0? jonforums (Jon Forums)
11:45 PM Revision 4e380912 (git): * 2012-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:45 PM Revision a2c56d53 (git): * ext/psych/lib/psych.rb: updating version to match gem
* ext/psych/psych.gemspec: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: fixing deprecation warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
11:45 PM Feature #5574 (Assigned): Make arrays comparable
mame (Yusuke Endoh)
11:44 PM Feature #5558 (Assigned): String#% strange arity errors
This behavior is certainly intended. See [ruby-core:5161].
There is another example that behavior changes whether it is
debug mode or not: Thread#abort_on_exception.
Thread.new { raise }
sleep 1
The above will termin...
mame (Yusuke Endoh)
11:41 PM Feature #5180 (Rejected): net/http の接続時に用いる IP アドレスの指定
これは reject します。
さておき、メンテナにはなりますかね。
まつもとさんの承認は必要だったような。
naruse (Yui NARUSE)
02:31 AM Feature #5180 (Assigned): net/http の接続時に用いる IP アドレスの指定
成瀬さん
微妙に反対意見が出てますが、net/http のメンテナの裁量で
好きにやっていい範囲だと思います。
しかし現在 net/http にはメンテナがいません。
成瀬さんがメンテナになりませんか?
おまけで、net/http 関係の issue が憑いてきます。
メンテナになるのってまつもとさんの了解が必要でしたっけ。
成瀬さんがメンテナやりたくないなら reject の方向で。
その場合は Eric Hodel あたりに声かけてみます...
mame (Yusuke Endoh)
11:38 PM Feature #5555 (Feedback): rename #include? to #includes?
Hello,
2011/11/13 Alexey Muranov <muranov@math.univ-toulouse.fr>:
> Good explanation.  The method names can also me viewed as #(does_it_)include?
I'm not sure but the rule seems Lisp's name convention?
Maybe it also came from Lis...
mame (Yusuke Endoh)
10:54 PM Feature #5534 (Assigned): Redefine Range class and introduce RelativeNumeric and RelativeRange
mame (Yusuke Endoh)
10:51 PM Feature #5531 (Assigned): deep_value for dealing with nested hashes
mame (Yusuke Endoh)
10:50 PM Feature #5458 (Assigned): DL should be removed
In principle, nothing should be removed from 2.0 because of compatibility.
I cannot advocate DL and Syck, though...
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:47 PM Feature #5456 (Assigned): kernel#syscall() should be removed.
Kosaki-san,
In principle, nothing should be removed from 2.0 because of compatibility.
Do you think it should be removed from 2.0?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:45 PM Feature #5446 (Feedback): at_fork callback API
Eric Wong,
Do you still want this feature?
If so, could you answer kosaki's comment?
OT: We noticed and surprised at your ID (normalperson) at the recent
developers' meeting in Akihabara. Clearly, you are greatperson :-)
--...
mame (Yusuke Endoh)
10:38 PM Feature #5445 (Assigned): Need RUBYOPT -r before ARGV -r
mame (Yusuke Endoh)
10:25 PM Bug #5488 (Closed): autoconf failure on HP-UX/PA
nobu (Nobuyoshi Nakada)
05:48 PM Feature #6150: add Enumerable#grep_v
trans (Thomas Sawyer) wrote:
> Can it be an option?
> ...
Agreed, adding another method seems overkill (not to mention it does not look right) for such change.
Eregon (Benoit Daloze)
04:04 AM Feature #6150: add Enumerable#grep_v
Can it be an option?
grep(pattern, :invert=>true)
trans (Thomas Sawyer)
03:39 AM Feature #6150: add Enumerable#grep_v
=begin
I think that this is a good idea.
=end
jacksonwillis (Jackson Willis)
02:44 PM Revision 9073db5c (git): * io.c (io_unread): fixed memory leak. report by nagachika via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:44 PM Revision 61dc4a8d (git): * configure.in (verconf.h): separate load path specific stuff from
config.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:43 PM Revision c2d7776f (git): * win32/Makefile.sub: fix config.h path to include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 PM Revision c857c737 (git): merge revision(s) 33533: [Backport #6204]
* configure.in (RUBY_STACK_GROW_DIRECTION): substitute CPU name as
shell variable name. based on the patch by The Written Word Inc. at
[ruby-core:40421]. [Bug #5488]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
nobu (Nobuyoshi Nakada)
09:56 AM Feature #5064: HTTP user-agent class
=begin
I hope this shortened version is simple enough:
New class named Net::HTTP::Agent with this API:
agent = Net::HTTP::Agent.new
Built in ways to make HTTP requests similar to Net::HTTP:
agent.head "http://example/som...
drbrain (Eric Hodel)
09:09 AM Feature #5219: Array#pack should warn (or raise) if an invalid pack string is given
I was helping someone else write a patch, but they have gone missing.
Can you check this patch?
drbrain (Eric Hodel)
02:46 AM Feature #5219 (Assigned): Array#pack should warn (or raise) if an invalid pack string is given
drbrain,
> Ruby should at least warn like printf when -w is active:
Agreed. Could you offer a patch?
I think you can commit it, unless there is objection.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
08:27 AM Revision 35259b72 (git): * win32/win32.c (check_if_dir): fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:06 AM Revision 2434ad11 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:17 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
Personally I think it's a ugly notation. Also methods aren't 1st class --you don't get the same method object each time. If we did, then I say it agree it would be important to have a concise syntax. trans (Thomas Sawyer)
03:22 AM Feature #5364 (Assigned): How about new syntax: "object.\method" returns a Method instance?
Anyone is interested in facilitating the discussion?
Personally, I believe this proposal is the right way.
I tentatively assign this to matz, but I don't think
this is going to end well.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
04:13 AM Revision ab9c982c (git): * string.c (str_new_empty): should copy also the encoding as an
empty substring. [ruby-dev:45441][Bug #6206]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 AM Feature #5394 (Feedback): Anonymous Symbols, Anonymous Methods
mame (Yusuke Endoh)
03:32 AM Feature #5392 (Assigned): Symbol GC
mame (Yusuke Endoh)
03:32 AM Feature #5389 (Assigned): New method Enumerator#iterate
mame (Yusuke Endoh)
03:27 AM Feature #5373 (Assigned): SMTP - new method
mame (Yusuke Endoh)
03:26 AM Feature #5372 (Assigned): Promote blank? to a core protocol
mame (Yusuke Endoh)
03:24 AM Feature #5371 (Rejected): add marshalling support for Mutex
There is no feedback or revised proposal from OP.
I close this as Rejected.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:11 AM Revision 9052a8cd (git): * tool/make-snapshot (package): EXEEXT is now used in mkmf.rb.
[ruby-core:43685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:11 AM Revision be42c354 (git): * tool/make-snapshot (package): suppress constant overwritting warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:08 AM Feature #5361 (Assigned): Lice?
mame (Yusuke Endoh)
03:07 AM Feature #5352 (Assigned): How about using <> to represent Here Document?
mame (Yusuke Endoh)
03:06 AM Bug #5317 (Assigned): rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
まあこれは何かしら対処すべきじゃないですかね。
#define off_t を入れたのはなかださんっぽい (r10720) ので、
なかださんお願いします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:04 AM Feature #5310 (Assigned): Integral objects
Hello, Mrkn-san
Could you tell me the status?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:50 AM Feature #5281 (Assigned): Support for custom sitearch and vendorarch directories
Nobu, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:49 AM Feature #5231 (Assigned): Allow to disable versioned paths
Nobu, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:48 AM Feature #5220 (Rejected): NilClass#to_i should accept an argument to match String#to_i
There is no feedback or revised proposal from OP.
I close this as Rejected.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:43 AM Feature #5206 (Assigned): ruby -K should warn
Naruse-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:42 AM Feature #3963 (Assigned): Map class in standard library
Okay, thanks. I mark this ticket as matz's issue.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:32 AM Feature #3963: Map class in standard library
Not much difference, except perhaps for the more flexible #convert_key idea. I was just clarifying in this ticket b/c of some of the comments made about Map specifically.
The conversation referenced did not seem to have any kind of co...
trans (Thomas Sawyer)
02:20 AM Feature #3963: Map class in standard library
Did you read the thread Shyouhei said?
shyouhei wrote:
> FYI: There has been a Mash merge request about a year ago. Pleas take a look at
> ...
I don't remember it in detail, but a similar idea you are talking about
was discussed, I...
mame (Yusuke Endoh)
01:49 AM Feature #3963: Map class in standard library
Just to be sure, I think I should clarify.
I do not mean Ruby ought provide Ara's Map class specifically (though, for the most part it is probably a very good implementation which is why I reference it). But that Ruby provide at least...
trans (Thomas Sawyer)
12:53 AM Feature #3963: Map class in standard library
Hello,

2012/3/25, akr (Akira Tanaka) <akr@fsij.org>:
> I think no hope to add Map class as builtin.

I agree for two reasons.

The name "map" is not suitable. In computer science, "map" stands for
an abstract data stru...
mame (Yusuke Endoh)
02:34 AM Feature #5185 (Assigned): Set#merge acts in place but Hash#merge does not
I understand the problem, but I guess it is too late to fix it.
Anyway, I'm assigning this to knu, the maintainer of lib/set.rb.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:20 AM Bug #6205 (Closed): YAML Regexp in anchor gets converted to String
Thanks for the bug report!
This was fixed in r33679. I'll make a request to backport the fix to the 1.9.3 branch.
tenderlovemaking (Aaron Patterson)
02:12 AM Feature #5145 (Feedback): Function extension of Array#transpose
Interesting but do you have any use case?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:55 AM Feature #5129 (Assigned): Create a core class "FileArray" and make "ARGF" its instance
Hello,
I like the idea, but it requires matz's approval.
> Now when I "p ARGF.class", I get "ARGF.class", so ARGF is an instance of ARGF.class, how meaningless it is.
FYI: In fact, it is meaningful. You can "exploit" it.
...
mame (Yusuke Endoh)
01:44 AM Feature #6118: Hash#keys_of(values), returns related keys of given values
Here is the updated patch ssuda (Sambasiva Suda)
01:38 AM Feature #6118: Hash#keys_of(values), returns related keys of given values
Here is the implementation for Hash#keys_of ssuda (Sambasiva Suda)
01:44 AM Feature #5106 (Feedback): Is MurmurHash overkill?
Hello,
> Simpler hash functions may be appropriate for hash tables, esp. small
> ...
Please make it quantitative when talking about performance.
Please show a benchmark first.
How slow is MurmurHash? How fast will st.c be if the...
mame (Yusuke Endoh)
01:41 AM Revision f25efeb8 (git): * 2012-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:41 AM Revision e9e93e5d (git): * test/net/ftp/test_ftp.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:36 AM Feature #5006 (Rejected): Allow ~> as a method
Hello,
This syntax would bring ambiguity.
Consider "0.~>1". This can parse as:
0.send("~>", 1)
as well as:
0.send("~") > 1
. So I close this ticket as Rejected.
There are some incomplete or arguable points in th...
mame (Yusuke Endoh)
01:29 AM Bug #6159: Enumerable::Lazy#inspect
Hello,

2012/3/27 Yusuke Endoh <mame@tsg.ne.jp>:
>> So I prefer the current behavior.
>
> I agree with you, as a core team member.
> It is a simple and straightforward implementation.
> But I also agree with Benoit, as a u...
shugo (Shugo Maeda)
12:29 AM Bug #6159: Enumerable::Lazy#inspect
Hello,

2012/3/25, shugo (Shugo Maeda) <redmine@ruby-lang.org>:
> So I prefer the current behavior.

I agree with you, as a core team member.
It is a simple and straightforward implementation.
But I also agree with Benoit,...
mame (Yusuke Endoh)
01:19 AM Feature #4967 (Rejected): dmalloc reported memory leaks in ruby
Hello,
Thank you for introducing an analysis tool and providing the
result. But, please send such information as a mail, not open
a ticket. A ticket should be for each concrete problem.
I guess valgrind (with option --show-reac...
mame (Yusuke Endoh)
01:05 AM Feature #4712 (Feedback): File.writable? inaccurate in windows
Hello,
usa wrote:
> The problem is who/when/how does it...
We need contribution. I mark this ticket as Feedback.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:03 AM Feature #4601 (Closed): Re-ordering method parameters.
Hello,
More or less, this problem is solved by keyword arguments, I guess.
So I close this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:30 AM Feature #4057 (Rejected): FileUtils.copy with FIFOs and Special Devices
Hello,
Runpaint, I think you meant FileUtils.copy_entry.
$ mkfifo fifo
$ ruby -rfileutils -e 'FileUtils.copy_entry("fifo", "lifo")'
...:in `copy': cannot handle FIFO (RuntimeError)
> So,
> ...
I object to replac...
mame (Yusuke Endoh)
12:18 AM Feature #5903: Optimize st_table (take 2)
Add couple of commits to pull request https://github.com/ruby/ruby/pull/107 :
1. Removal of ST_CHECK .
ST_CHECK were always returned instead of ST_CONTINUE inside of some st_foreach loops.
Now such calls to st_foreach are conv...
funny_falcon (Yura Sokolov)

03/26/2012

11:28 PM Feature #6166: Enumerator::Lazy#pinch
I like having a method myself b/c it reads better. I think "pinch" conveys the sort of "closing action" of the de-lazying.
Of course, #fetch would work as well, and that's a standard method, but it's interface only accepts an index, n...
trans (Thomas Sawyer)
10:46 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
Hi,
nobu (Nobuyoshi Nakada) wrote:
> It's definitely not a bug.
It's not?
How do you explain:
[1, 2, 3].values_at(2...42) # => [3]
[1, 2, 3].values_at(2..41) # => [3, nil]
I feel that both must return the same res...
marcandre (Marc-Andre Lafortune)
02:12 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
It's definitely not a bug. nobu (Nobuyoshi Nakada)
01:50 PM Bug #6203 (Closed): Array#values_at does not handle ranges with end index past the end of the array
=begin
When I use Array#values_at I expect that it would be the same as successive calls to (({Array#[]})).
There is one case where this does not hold:
a = [0,1,2,3,4,5]
a[4..6] # => [4, 5]
a.values_at(4..6) # => [4,...
ferrous26 (Mark Rada)
09:36 PM Feature #6201: do_something then return :special_case (include "then" operator)
Thank you for your feedback Yusuke. And yes, you understood it right. I actually tried to quickly find out first if "if ... then" was a valid syntax in Ruby, but I couldn't find it. It seems I didn't look hard enough...
I think my pro...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:21 PM Feature #6201 (Assigned): do_something then return :special_case (include "then" operator)
Hello, Rodrigo
In short, you are proposing a syntactic sugar:
A then B
as
(A; B)
, so that you can rewrite the following idiom:
(render(...); return) if condition?
with:
render(...) then return if conditio...
mame (Yusuke Endoh)
11:14 AM Feature #6201: do_something then return :special_case (include "then" operator)
nobu (Nobuyoshi Nakada) wrote:
> =begin
> ...
Yes, Nobu, that is the other common idiom (the one I actually use), but I still don't find this readable.
rosenfeld (Rodrigo Rosenfeld Rosas)
10:52 AM Feature #6201 (Feedback): do_something then return :special_case (include "then" operator)
nobu (Nobuyoshi Nakada)
10:51 AM Feature #6201: do_something then return :special_case (include "then" operator)
=begin
(follow response['location']; return :redirected) if response.redirect?
=end
nobu (Nobuyoshi Nakada)
10:34 AM Feature #6201 (Rejected): do_something then return :special_case (include "then" operator)
=begin
I've read several aproaches to deal with this case and this just feels like Ruby doesn't have a good idiom yet for the common use case.
You want to do some special action under certain conditions and then return the method.
...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:43 PM Bug #6205 (Closed): YAML Regexp in anchor gets converted to String
I'll try to illustrate with code:
YAML:
---
hello: &allow-float
!ruby/regexp '/hello/'
bla: *allow-float
RUBY:
require 'yaml'

config = YAML.load_file('config.yaml')
puts config.inspect
puts config['hell...
giddie (Paul Dann)
02:43 PM Revision bb314d33 (git): * lib/net/ftp.rb (parse227, parse228, parse229): don't use $~.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:39 PM Revision d68b3a38 (git): * lib/net/ftp.rb (parse227, parse228, parse229): don't use local
variables defined by named capture for other Ruby implementations
such as Rubinius.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:39 PM Revision 422c8bae (git): * lib/net/ftp.rb (parse_pasv_port): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
12:22 PM Bug #6202 (Rejected): The 'rescue' modifier can not be used in 'require'
'rescue' modifier and 'rescue' clause with no exception classes catch only StandardError and its subclasses.
LoadError can't be caught.
nobu (Nobuyoshi Nakada)
12:15 PM Bug #6202 (Rejected): The 'rescue' modifier can not be used in 'require'
My Ruby version is: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
I found that the 'rescue' modifier can not be used in 'require', for example:
require 'not_exist' rescue require 'set' # this will raise a LoadError
I must write a...
yimutang (Joey Zhou)
11:46 AM Feature #2408 (Closed): better error reporting in windows when you try to run a directory
This issue was solved with changeset r35131.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ruby.c (load_file_internal): bail out if the script is a direc...
nobu (Nobuyoshi Nakada)
10:52 AM Revision cae1d532 (git): * test/net/ftp/test_ftp.rb: add the test, which was forgotten in the
previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
10:52 AM Revision 8c89d8ef (git): * lib/net/ftp.rb (parse227, parse228, parse229): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
10:52 AM Revision b9f67c41 (git): * enumerator.c (inspect_enumerator): show method arguments of
lazy enumerators correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
08:33 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
Hi,
Peter Vandenabeele wrote:
> Is there a specified order for the enumeration? (I presume not, but
> ...
As the implementation uses a hash, it would be the same order, i.e. order in which they were set.
Thomas Sawyer wrote:
> ...
marcandre (Marc-Andre Lafortune)
05:08 AM Revision ddc7bcd6 (git): * win32/Makefile.sub (newline.c, miniprelude.c): search from source
directory, not depending on VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:51 AM Revision 7a0d81ea (git): * win32/win32.c (check_if_dir, check_if_wdir): fix for Visual C++
not to use S_ISDIR(). [Feature #2408][ruby-core:26925]
* ruby.c (load_file_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:57 AM Revision 06fba523 (git): * tool/merger.rb (interactive): allow editing commit message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 AM Revision 1b2a6075 (git): * tool/merger.rb (default_merge_branch): use IO.popen to invoke pager.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:46 AM Revision 764d5478 (git): * ruby.c (load_file_internal): bail out if the script is a directory.
[Feature #2408][ruby-core:26925]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:41 AM Revision 8a57e0bf (git): * 2012-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:41 AM Revision b83ad31c (git): * win32/win32.c (rb_w32_open, rb_w32_wopen): check if the file is a
directory when access denied, to set errno to EISDIR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:57 AM Revision c34b551c (git): merge revision(s) 33542,33543: [Backport #6200]
* parse.y (parser_nextc): set encoding for the buffer of ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:07 AM Feature #4840: Allow returning from require
I've had occasion to use this as well, especially for RUBY_VERSION specific code.
I wonder if it is okay to be embedded in other code though. Would this work?
~~~ruby
class Q
def foo
exit_script
end
end
...
trans (Thomas Sawyer)

03/25/2012

11:57 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
I'm trying to get used to the idea of eating a pizza taue, myself. :-)
This is the classic chicken and egg situation -- "We'll do it if it's popular", but "It won't get popular unless people do it".
I think Tau=2*Pi is a good idea....
trans (Thomas Sawyer)
04:29 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
We have discussed this at today's developers' meeting in Akihabara.
We highly doubt that there are many mathematicians, physicists, engineers, and so on, who use τ. Once τ is widely accepted in these communities, we might add it.
J...
duerst (Martin Dürst)
04:23 PM Feature #4897 (Feedback): Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
mame (Yusuke Endoh)
10:20 PM Feature #3346: __DIR__ revisted
Ruby does not provide way to get root of app/lib, and current working directory is not always root of applicable app/lib, so that's not always helpful way.
Sometimes practical choice outweighs theoretical ideal. `File.dirname(__FILE__)`...
trans (Thomas Sawyer)
02:27 PM Feature #3346: __DIR__ revisted
UNIX style directory hierarchy prepare a directory to put everything relate to the app/lib. I hesitate to add a method/directive that encourage file system convention apparently against UNIX style. matz (Yukihiro Matsumoto)
01:57 PM Feature #3346 (Assigned): __DIR__ revisted
mame (Yusuke Endoh)
10:03 PM Feature #4247: New features for Array#sample, Array#choice
Whatever happened to #pick and #pick! which picked one random element? The term #sample strongly suggests the return of a subset.
Anther consideration, maybe it would be more useful to use a random delegator.
enum.random.sample
...
trans (Thomas Sawyer)
02:18 PM Feature #4247 (Assigned): New features for Array#sample, Array#choice
mame (Yusuke Endoh)
09:22 PM Feature #5064: HTTP user-agent class
Comment, mostly to drbrain (Eric Hodel):
At the developers' meeting today in Akihabare, we assigned this issue to Matz to decide on the main direction, but we thought that it might help Matz to get a shorter summary of the proposal.
duerst (Martin Dürst)
05:17 PM Feature #5064 (Assigned): HTTP user-agent class
mame (Yusuke Endoh)
09:11 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
I have uploaded a new set of patchs to better respect the style in test/ruby/test_string.rb (use S(str) for strings).
Could we merge this?
Eregon (Benoit Daloze)
08:53 PM Feature #3388: regexp support for start_with? and end_with?
> A patch is welcome.
I'm willing to give this a shot, but I think #5536 should be merged first.
Eregon (Benoit Daloze)
02:09 PM Feature #3388 (Feedback): regexp support for start_with? and end_with?
A patch is welcome.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
06:20 PM Bug #6167 (Closed): String#count: wrong result for multiple complements of multi-byte characters
This issue was solved with changeset r35127.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (tr_setup_table): fix multiple non latin argument for
...
naruse (Yui NARUSE)
05:26 PM Feature #5120 (Assigned): String#split needs to be logical
mame (Yusuke Endoh)
05:23 PM Feature #5016: Kernel#caller with negative limit should limit result to N initial frames
> Calling Kernel#caller with a negative limit should limit result to N initial frames. When using Kernel#caller you often only want the first element of the result to get the information of the immediate caller. Generating the whole b... ko1 (Koichi Sasada)
04:57 PM Feature #5016 (Assigned): Kernel#caller with negative limit should limit result to N initial frames
mame (Yusuke Endoh)
05:22 PM Feature #5106 (Assigned): Is MurmurHash overkill?
mame (Yusuke Endoh)
05:21 PM Feature #5088 (Assigned): Refactor and Document vm_method.c / method.h
mame (Yusuke Endoh)
05:15 PM Feature #5607: Inconsistent reaction in Range of String
We have discussed this issue at today's developers' meeting in Akihabara.
We agreed that it would be desirable to fix this, but that it may not be easy to implement. To avoid endless loops, one has to be able to check whether the star...
duerst (Martin Dürst)
05:12 PM Feature #5607: Inconsistent reaction in Range of String
I presented String#succ mechanism:
http:www.a-k-r.org/pub/string-succ-rejectkaigi2008.pdf
(in Japanese)
akr (Akira Tanaka)
05:15 PM Feature #5053 (Assigned): ruby コマンドと libruby の食い違いチェック
mame (Yusuke Endoh)
05:03 PM Feature #5044 (Assigned): #zip with block return mapped results
mame (Yusuke Endoh)
05:02 PM Feature #5044: #zip with block return mapped results
Currently it can be implemented as follows.
% ruby -e 'p [1,2,3].zip([1,2,3]).map {|a,b| a + b }'
[2, 4, 6]
% ruby -e 'p [1,2,3].lazy.zip([1,2,3]).map {|a,b| a + b }.to_a'
[2, 4, 6]
akr (Akira Tanaka)
04:54 PM Feature #5007 (Assigned): Proc#call_under: Unifying instance_eval and instance_exec
mame (Yusuke Endoh)
04:45 PM Feature #5006 (Assigned): Allow ~> as a method
mame (Yusuke Endoh)
04:44 PM Feature #4965: The problem of "print line if line = DATA.gets"
Just for completeness, at today's developers' meeting in Akihabara, there were several people who were supportive of this proposal. Arguments given were that humans read code top-down, but not necessarily left-to-right character-by-chara... duerst (Martin Dürst)
04:38 PM Feature #4965 (Assigned): The problem of "print line if line = DATA.gets"
mame (Yusuke Endoh)
04:44 PM Feature #5005 (Assigned): Provide convenient access to original methods
mame (Yusuke Endoh)
04:43 PM Feature #4990 (Assigned): Proposal: Internal GC/memory subsystem API
mame (Yusuke Endoh)
04:41 PM Feature #4967 (Assigned): dmalloc reported memory leaks in ruby
mame (Yusuke Endoh)
04:35 PM Feature #4946 (Assigned): Building libruby-static.a with option nodynamic and --with-static-link-ext doesn't disable dlopen
mame (Yusuke Endoh)
04:32 PM Feature #4935 (Assigned): Quoted Label Form for 1.9 Hashes
mame (Yusuke Endoh)
04:30 PM Feature #4924 (Assigned): mkmf have_header fails with C++ headers
mame (Yusuke Endoh)
04:28 PM Feature #4910 (Assigned): Classes as factories
mame (Yusuke Endoh)
04:25 PM Feature #4907 (Assigned): enumerable#permutation and combination
mame (Yusuke Endoh)
04:20 PM Feature #4865 (Assigned): Documentation of FileUtils is very unclear on how errors are handled
mame (Yusuke Endoh)
04:18 PM Feature #4862 (Assigned): Struct#to_hash
mame (Yusuke Endoh)
04:12 PM Feature #4849 (Assigned): io/wait should have a way to avoid FIONREAD
mame (Yusuke Endoh)
04:10 PM Feature #4840 (Assigned): Allow returning from require
mame (Yusuke Endoh)
04:09 PM Feature #4822 (Rejected): String#capitalize improvements
yeban (Anurag Priyam) wrote:
> > Hmm, how about this?
> ...
We have discussed this issue at today's developers' meeting in Akihabara.
This kind of processing is not only dependent on language, but even for a specific language needs ...
duerst (Martin Dürst)
04:06 PM Feature #4824 (Assigned): Provide method Kernel#executed?
mame (Yusuke Endoh)
04:03 PM Feature #4786 (Rejected): RCR new Feature: Numeric#grouped
naruse (Yui NARUSE) wrote:
> Ruby doesn't include Locale depended features on current policy.
> ...
We have looked at this issue today at our Ruby developer meeting in Akihabara, and we agree with Yui. We have therefore rejected this i...
duerst (Martin Dürst)
03:59 PM Feature #4786 (Assigned): RCR new Feature: Numeric#grouped
mame (Yusuke Endoh)
04:02 PM Feature #4801 (Assigned): Shorthand Hash Syntax for Strings
mame (Yusuke Endoh)
03:55 PM Feature #4772 (Assigned): Hash#add_keys
mame (Yusuke Endoh)
03:53 PM Feature #4592: Tempfileを直接保存したい
(2012/03/25 15:33), akr (Akira Tanaka) wrote:
> remove_finalizer とか、save とかよりももうちょっと長い名前がいいんじゃないかなぁ、と思います。

 mv なり hardlink などして,File を返すインターフェースとかだと良かった
りしないでしょかね.「消されない」Tempfile ってのに違和感がありまして.

 Tempfile#mv(filepath) #=> F...
ko1 (Koichi Sasada)
03:33 PM Feature #4592: Tempfileを直接保存したい
remove_finalizer とか、save とかよりももうちょっと長い名前がいいんじゃないかなぁ、と思います。 akr (Akira Tanaka)
03:33 PM Feature #4592 (Assigned): Tempfileを直接保存したい
mame (Yusuke Endoh)
03:48 PM Feature #4712 (Assigned): File.writable? inaccurate in windows
mame (Yusuke Endoh)
03:46 PM Feature #4646 (Assigned): [PATCH] io/wait: add IO#wait_writable method
mame (Yusuke Endoh)
03:44 PM Feature #4633 (Assigned): iterate method / extended version of for
mame (Yusuke Endoh)
03:39 PM Feature #4610 (Assigned): Proc#curry behavior is inconsistent with lambdas containing default argument values
mame (Yusuke Endoh)
03:38 PM Feature #4601 (Assigned): Re-ordering method parameters.
mame (Yusuke Endoh)
03:35 PM Feature #4598 (Assigned): Net::SMTP should raise more helpfully when mail can't send
mame (Yusuke Endoh)
03:20 PM Feature #4589 (Assigned): add Queue#each() method and include Enumerable
mame (Yusuke Endoh)
03:16 PM Feature #4560 (Assigned): [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
mame (Yusuke Endoh)
03:15 PM Feature #4514 (Assigned): #deep_clone and #deep_dup for Objects
mame (Yusuke Endoh)
03:05 PM Feature #4477 (Assigned): Kernel:exec and backtick (`) don't work for certain system commands
mame (Yusuke Endoh)
03:04 PM Bug #4044: Regex matching errors when using \W character class and /i option
Hello Yui,
We discussed this issue at today's developpers' meeting in Akihabara.
There was wide consensus among the attendees that it is very strange to have 'k' and 's' included in the set of non-word (\W) characters. Therefore we...
duerst (Martin Dürst)
02:41 PM Bug #4044: Regex matching errors when using \W character class and /i option
Interesting example:
~~~
% ruby -ve '("a".."z").each {|ch| p(/[\W]/i.match(ch)) }'
ruby 2.0.0dev (2012-03-16 trunk 35049) [x86_64-linux]
-e:1: warning: character class has duplicated range: /[\W]/
nil
nil
nil
nil
nil
nil
nil...
akr (Akira Tanaka)
02:38 PM Bug #4044: Regex matching errors when using \W character class and /i option
I think this is bug:
~~~
$ ruby -e "puts /[\W]|\u1234/i.match('k').inspect"
#<MatchData "k">
$ ruby -e "puts /[\W]|\u1234/.match('k').inspect"
nil
~~~
mrkn (Kenta Murata)
02:55 PM Feature #4265 (Assigned): Provide a core method Kernel#ruby for invoking a new Ruby instance
mame (Yusuke Endoh)
02:48 PM Feature #4264 (Assigned): General type coercion protocol for Ruby
mame (Yusuke Endoh)
02:46 PM Feature #4057 (Assigned): FileUtils.copy with FIFOs and Special Devices
mame (Yusuke Endoh)
02:27 PM Feature #4043 (Assigned): グローバル関数current_classの提案
mame (Yusuke Endoh)
02:24 PM Feature #3963 (Rejected): Map class in standard library
I think no hope to add Map class as builtin. akr (Akira Tanaka)
02:24 PM Feature #3963 (Assigned): Map class in standard library
mame (Yusuke Endoh)
02:13 PM Feature #3591 (Assigned): Adding Numeric#divisor? (Have working implementation)
mame (Yusuke Endoh)
02:08 PM Feature #3356 (Feedback): Add GetShortPathName to ruby
What do you mean by "canonical"?
It doesn't feel like "canonical" at all.
nobu (Nobuyoshi Nakada)
02:06 PM Feature #3356 (Assigned): Add GetShortPathName to ruby
mame (Yusuke Endoh)
01:53 PM Feature #3330 (Assigned): mkmf (find|have)_cxx_header
mame (Yusuke Endoh)
09:20 AM Revision 73a184cc (git): * string.c (tr_setup_table): fix multiple non latin argument for
non latin (over 256 characters) tr-like methods.
[ruby-core:43371] [Bug #6167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:07 AM Feature #6199 (Closed): Organize gc.c a bit
1. Move immutable fields from struct heaps_slot and struct sorted_heaps_slot into struct heaps_header.
One exception is limit field, but it starts to be mutable just before freeing a heaps_header, so that it is not big issue.
2. Emb...
funny_falcon (Yura Sokolov)
06:37 AM Feature #5903: Optimize st_table (take 2)
As far this ticket not closed, I'll post hash related patch here:
https://github.com/ruby/ruby/pull/107
https://github.com/ruby/ruby/pull/107.patch
1. remove some unused code from st.c and hash.c
2. change rb_hash_modify to rb_ha...
funny_falcon (Yura Sokolov)
05:05 AM Bug #6159: Enumerable::Lazy#inspect
Right, thank you for the explanation. Eregon (Benoit Daloze)
02:07 AM Bug #6159: Enumerable::Lazy#inspect
Eregon (Benoit Daloze) wrote:
> Your answer raises another question: Would it not be more readable if #inspect was closer to the code?
> ...
The former can distinguish the following lazy enumerators, but the latter can't:
p (1..10...
shugo (Shugo Maeda)
01:24 AM Bug #6159: Enumerable::Lazy#inspect
Awesome, thanks!
Your answer raises another question: Would it not be more readable if #inspect was closer to the code?
(1..10).lazy.select(&:odd?).map(&:to_s).cycle(2).inspect
Instead of
"#<Enumerator::Lazy: #<Enumerator...
Eregon (Benoit Daloze)
12:23 AM Bug #6159: Enumerable::Lazy#inspect
Eregon (Benoit Daloze) wrote:
> > I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn't have enough information, so it needs to have some information only for inspect.
> ...
I guess it wouldn't impact perf...
shugo (Shugo Maeda)
12:17 AM Bug #6159 (Closed): Enumerable::Lazy#inspect
This issue was solved with changeset r35124.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator (enumerator_inspect): include the original receive...
shugo (Shugo Maeda)
02:58 AM Feature #6198 (Rejected): public/protected/private with attr_*
I'd like to set visibility like this:
class X
protected attr_accessor :x, :y
end
attached patch(for 1.9.3-p125) is sample implementation (it seems to pass test-all)
- make attr_* to return array of method-symbols which a...
riskwa (riskwa anon)

03/24/2012

10:22 PM Bug #6193 (Closed): Time.new does not accept seconds as a String
This issue was solved with changeset r35122.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (time_init_1): Time.new will accept seconds as string or...
nobu (Nobuyoshi Nakada)
06:48 AM Bug #6193: Time.new does not accept seconds as a String
Here is the updated patch using obj2subsecx. ssuda (Sambasiva Suda)
01:20 AM Bug #6193: Time.new does not accept seconds as a String
I think you want to use the obj2subsecx helper, not obj2vint, so that fractional seconds are still supported. john_firebaugh (John Firebaugh)
09:56 PM Bug #6197 (Third Party's Issue): readline module doesn't work with ansi code
The upstream of readline is not here.
And if you're using screen, try without it.
nobu (Nobuyoshi Nakada)
09:36 PM Bug #6197 (Third Party's Issue): readline module doesn't work with ansi code
Dear ruby community,
When escape is set no new line, it rewrite same line.
Have a look here : http://img11.hostingpics.net/pics/790780Sanstitre.png
This bug was published here : https://github.com/pry/pry/issues/493
keysen (Jérémy Carlier)
08:19 PM Bug #6159: Enumerable::Lazy#inspect
> I agree that It would be nice. However, unlike Enumerator, Enumerator::Lazy doesn't have enough information, so it needs to have some information only for inspect.
> ...
I'm not sure, but it would certainly be helpful when debugging.
...
Eregon (Benoit Daloze)
04:30 PM Bug #6184 (Third Party's Issue): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
This problem apparently still exists, so it should not be just rejected.
And if it's obviously caused by OpenSSL, should be stated as "Third Party's Issue".
nobu (Nobuyoshi Nakada)
02:57 PM Bug #6184 (Rejected): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
I've seen many same problems and all same problems have "CFUNC :connect" at the first of ruby's error log :)
sorah (Sorah Fukumori)
05:22 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
It was openssl... I changed it as you said, and everything did go as expected.
I most likely used OS X's default openssl.
Here is the crash report.
Many thanks!
PS: To sorah, how did you understand that it was an openssl probl...
Gebor (Pierre-Henry Frohring)
03:53 PM Revision 0c9f66eb (git): * enumerator (lazy_initialize): set the instance variable "receiver"
to include the receiver to the return value of inspect on a lazy
enumerator directly created by Enumerator::Lazy.new.
* enumerator (RETURN_LAZY): don't set the instance variable "receiver".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
shugo (Shugo Maeda)
03:17 PM Revision fa288063 (git): * 2012-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 6b885f6e (git): * enumerator (enumerator_inspect): include the original receiver and
method name of Enumerator::Lazy in the result of inspect.
[ruby-core:43345] [Bug #6159]
* enumerator (InitVM_Enumerator): don't use rb_define_alias for
some methods such as collect in order to make rb_frame_this_func()
return the ...
shugo (Shugo Maeda)
01:22 PM Revision 576a69a5 (git): * 2012-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 PM Revision 28e48d3f (git): * time.c (time_init_1): Time.new will accept seconds as string or
int. [ruby-core:43569][Bug #6193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Bug #6147: should we check a result returned by fcntl?
単に失敗したら死ねばいいんじゃないですかね。
- どうせ失敗しないだろう
- 失敗しても動くようなコードかけないだろう
の2つの意味で
時間見つけてやっときます
kosaki (Motohiro KOSAKI)

03/23/2012

11:53 PM Bug #6193: Time.new does not accept seconds as a String
Here is the patch which will fix the problem with the seconds. There is also pull request for github. ssuda (Sambasiva Suda)
12:21 PM Bug #6193 (Closed): Time.new does not accept seconds as a String
Time.new accepts any or all of the year, month, day, hour, or minute specified as a String, but does not accept a String value for seconds:
>> Time.new("2012", "3", "22", "8", "19", 30)
=> 2012-03-22 08:19:30 -0700
> ...
TypeError: ...
john_firebaugh (John Firebaugh)
11:38 PM Bug #6195: String#[] に逆順の Range を渡した場合の挙動
前田です。
mrkn (Kenta Murata) wrote:
> 以下のように String#[] に対して、範囲の開始インデックスが文字列の長さ以下の値である逆順の Range (beg > end) を渡した場合に空文字列が返ります。
> ...
私も最初そう思ったのですが、PythonやJavaScriptではどちらの場合も空文字列を返すようです。
# 以下の例はどちらもRubyのs[x...y]相当(s[x..y]ではない)です。
de...
shugo (Shugo Maeda)
06:52 PM Bug #6195 (Rejected): String#[] に逆順の Range を渡した場合の挙動
以下のように String#[] に対して、範囲の開始インデックスが文字列の長さ以下の値である逆順の Range (beg > end) を渡した場合に空文字列が返ります。
"1"[1..0] #=> ""
"1"[1..-1] #=> ""
"123"[2..1] #=> ""
"123"[2..-2] #=> ""
一方、範囲の開始インデックスが文字列の長さより大きい場合は nil が返ります。
"1"[2..0] #=>...
mrkn (Kenta Murata)
07:15 PM Feature #3908: private constant
Methods are different b/c they can effect state --they can be *dangerous*. If it wasn't for that, there would be little reason to have private methods either.
So, what does this "if you really want to get at them, you still can" look ...
trans (Thomas Sawyer)
09:53 AM Feature #3908: private constant
On Thu, Mar 22, 2012 at 23:46, trans (Thomas Sawyer) <transfire@gmail.com>wrote:

> But codifying that, rather than just documenting it, is bound to be more
> frustrating than useful.


Isn't that the point of trying to crac...
aprescott (Adam Prescott)
08:46 AM Feature #3908: private constant
Isn't that really best left to a documentation detail?
While these private classes might be an implementation detail in your design, what if someone comes along and wants to build off the work and thus needs to subclass one of these i...
trans (Thomas Sawyer)
02:53 AM Feature #3908: private constant
On Thu, Mar 22, 2012 at 17:08, trans (Thomas Sawyer) <transfire@gmail.com>wrote:

> I can't think of single reason why anyone would actually have to have a
> "private", as opposed to a "public", constant. Constants are CONSTANT so...
aprescott (Adam Prescott)
02:23 AM Feature #3908: private constant
On Thu, Mar 22, 2012 at 18:08, trans (Thomas Sawyer)
<transfire@gmail.com> wrote:

> I can't think of single reason why anyone would actually have to have a "private", as opposed to a "public", constant.

Private modules and c...
now (Nikolai Weibull)
02:08 AM Feature #3908: private constant
What was this deemed significant? I can't think of single reason why anyone would actually have to have a "private", as opposed to a "public", constant. Constants are CONSTANT so they aren't supposed to be changed after they are defined ... trans (Thomas Sawyer)
06:49 PM Feature #6166: Enumerator::Lazy#pinch
Hello,
trans (Thomas Sawyer) wrote:
> In previous issue #6158 it has been determined that Enumerator::Lazy#take should be lazy. But an eager form of #take would still be useful.
> ...
Enumerator::Lazy#pinch provides a random access ...
shugo (Shugo Maeda)
06:43 PM Bug #6142 (Feedback): Enumerable::Lazy#zip doesn't rewind internal enumerators
shugo (Shugo Maeda)
06:42 PM Bug #6159 (Feedback): Enumerable::Lazy#inspect
shugo (Shugo Maeda)
01:19 PM Bug #6192 (Closed): Integer() doesn't handle UTF-16 input
This issue was solved with changeset r35120.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (rb_str_to_inum): must be ASCII compatible encoding as...
nobu (Nobuyoshi Nakada)
01:00 PM Bug #6192: Integer() doesn't handle UTF-16 input
=begin
I made this patch:
Index: bignum.c
===================================================================
--- bignum.c (revision 35117)
+++ bignum.c (working copy)
@@ -11,6 +11,7 @@

#include "ruby/ruby.h"
...
drbrain (Eric Hodel)
10:34 AM Bug #6192: Integer() doesn't handle UTF-16 input
Related, String#to_i:
>> "2007".encode("UTF-16le").to_i
=> 2
john_firebaugh (John Firebaugh)
10:30 AM Bug #6192 (Closed): Integer() doesn't handle UTF-16 input
>> Integer("2007".encode("UTF-16le"))
ArgumentError: string contains null byte
from (irb):209:in `Integer'
from (irb):209
from /Users/john/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `<main>'
john_firebaugh (John Firebaugh)
11:33 AM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
This issue was solved with changeset r35117.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Refix Bug #6094: use unsigned long integer literal.
* ext/o...
naruse (Yui NARUSE)
11:03 AM Bug #6094 (Open): [OpenSSL] wrong argument of rsa_generate()
naruse (Yui NARUSE)
06:12 AM Revision 463633e4 (git): transcode.c (documentation for str_encode): Explain
that transcoding to the same encoding is a no-op
(i.e. no exceptions, no replacements,...).
[ruby-core:43557][Bug #6190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
04:19 AM Revision 163ab0a4 (git): * bignum.c (rb_str_to_inum): must be ASCII compatible encoding as
well as String#hex and String#oct. [ruby-core:43566][Bug #6192]
* string.c (rb_must_asciicompat): check if ASCII compatible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Updated patch with the following changes:
* rb_eEWOULDBLOCKReadable and rb_eEWOULDBLOCKWritable added
* EWOULDBLOCK versions are set to EAGAIN versions if EAGAIN == EWOULDBLOCK
* renamed function rb_readwrite_sys_fail to match error...
headius (Charles Nutter)
02:37 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Ok, will do. headius (Charles Nutter)
03:14 AM Revision a1348699 (git): * test/ruby/test_io.rb (try_fdopen): more GCable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:04 AM Revision 2bf3b20d (git): * file.c (rb_file_s_basename): rb_enc_asciicompat() evaluates the argument multiple times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:33 AM Revision ee3e7dcf (git): Refix Bug #6094: use unsigned long integer literal.
* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
[Bug #6094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:02 AM Revision cca049e0 (git): Revert "* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type."
This reverts commit r35102.
It breaks tests on FreeBSD.
6) Failure:
test_new_with_exponent(OpenSSL::TestPKeyRSA)
[/usr/home/chkbuild/build/ruby-trunk/20120323T010301Z/ruby/test/openssl/test_pkey_rsa.rb:59]:
<3> expected but was
<12884...
naruse (Yui NARUSE)
12:56 AM Revision 6d8580fe (git): * configure.in (Makefile): get rid of confliction with -j.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/22/2012

10:52 PM Revision e91983b4 (git): * 2012-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:52 PM Revision 4725c988 (git): Revert "* configure.in (Makefile): get rid of confliction with -j."
This reverts commit r35104 because it breaks build on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:10 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
shevegen (markus heiler) wrote:
> (I want to try to get a static version of ruby)
Well, without any flags a ruby consists of following parts:
1. the ruby binary (/usr/local/bin/ruby)
2. the libruby shared object
3. extensi...
shyouhei (Shyouhei Urabe)
02:55 PM Bug #6186 (Rejected): Bug trying to compile Ruby 1.9.3p105
shevegen (markus heiler) wrote:
> CFLAGS in use: -static -O2 -g
Do not use -static.
It makes all shared objects linked statically with libc routines.
nobu (Nobuyoshi Nakada)
01:23 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
>
>Issue #6186 has been reported by shevegen (markus heiler).
>
>----------------------------------------
>Bug #6186: Bug trying to compile Ruby 1.9.3p105
>https://bugs.ruby-lang.org/issues/6186
>
>Author: shevegen (markus...
Anonymous
01:07 PM Bug #6186: Bug trying to compile Ruby 1.9.3p105
Sorry that it is so long. Do you need config.log too?
The bug is at:
/Depot/j/ruby-1.9.3p105/.ext/x86_64-linux/enc/encdb.so: [BUG] Segmentation fault
I am not sure what encdb.so is though. :)
shevegen (Robert A. Heiler)
01:05 PM Bug #6186 (Rejected): Bug trying to compile Ruby 1.9.3p105
Hi!
First my system information:
GCC Version: GCC version 4.4.3
Glibc Version: ldd (GNU libc) 2.11.2
CFLAGS in use: -static -O2 -g
Binutils Version: GNU ld (GNU Binutils) 2.22
I am trying to compile ruby version:
...
shevegen (Robert A. Heiler)
02:14 PM Revision 2b846261 (git): * transcode.c (str_encode_bang, encoded_dup): if nothing was
transcoded, just set encoding but leave coderange unchanged as
forcee_encoding. [ruby-core:43557][Bug #6190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:05 PM Revision 7cbff3b9 (git): * io.c (static int io_fflush): add the definition.
Use it in set_binary_mode_with_seek_cur().
* io.c (set_binary_mode_with_seek_cur): refactoring to split the
content into io_unread(). Fix the possibility of buffer overflow.
* io.c (io_unread): add new implementation for Windows. Pre...
h.shirosaki (Hiroshi Shirosaki)
01:43 PM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
This issue was solved with changeset r35102.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument t...
nobu (Nobuyoshi Nakada)
11:47 AM Revision 3d22e33a (git): * include/ruby/win32.h (fstati64): fix macro conflicts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:37 AM Feature #6177: array.cのrb_ary_equal()の高速化
Nobuyoshi Nakada wrote:
>最も大きいのはrb_ary_elt()呼び出しのオーバーヘッドということのようですね。
そのようです。
> ...
おっしゃる通りです…
凡ミスをやらかしてしまいました。
p1,p2が有効であるかどうかのチェックを止め、rb_equal()を呼び出したら有効なポインタを取得するようにしました。
ベンチマークの結果はpatch3.diffとほとんど変わりません。
Glass_saga (Masaki Matsushita)
10:55 AM Revision ff075693 (git): * win32/win32.c (rb_w32_fstat, rb_w32_fstati64): convert FILETIME
to time_t directly, not to be affected by TZ unnecessarily.
* win32/win32.c (unixtime_to_filetime): convert time_t to FILETIME
simply.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:37 AM Revision 0b83d3b2 (git): * test/ruby/test_m17n.rb (test_env): show failed values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:37 AM Revision d28c1896 (git): * regint.h (BITS_IN_ROOM, BS_ROOM, BS_BIT): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:22 AM Feature #5097 (Closed): Supported platforms of Ruby 1.9.3
naruse (Yui NARUSE)
09:22 AM Bug #5094 (Closed): Supported platforms of Ruby 1.9.3
naruse (Yui NARUSE)
09:21 AM Bug #6144 (Closed): regexec may allocate extra memory?
naruse (Yui NARUSE)
09:20 AM Bug #6145 (Closed): two possible bugs in Onigmo
naruse (Yui NARUSE)
09:20 AM Bug #6143 (Closed): Onigmo allows broken regexp: /(?(x.)/
naruse (Yui NARUSE)
08:07 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
Also, please include crash report from ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter.
I suspect this is a similar bug to #6181 which include a CrashReporter log.
drbrain (Eric Hodel)
07:25 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
Ah, also you can install openssl using rvm.
http://beginrescueend.com/packages/openssl/
:)
sorah (Sorah Fukumori)
07:23 AM Bug #6184 (Feedback): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
sorah (Sorah Fukumori)
07:04 AM Bug #6184: [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
Seems openssl is something wrong.
1. If you're using OS X's default openssl -> do like `brew install openssl` and build with installed openssl, then try again.
2. If you're using openssl that installed by user -> build with OS X defa...
sorah (Sorah Fukumori)
06:51 AM Bug #6184 (Third Party's Issue): [BUG] Segmentation fault ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
System:
OSX 10.7.3
Xcode 4.3.1
rvm 1.10.2
bundle 1.1.2
$ ruby -v
ruby 1.9.3p165 (2012-03-18 revision 35078) [x86_64-darwin11.3.0]
I did:
CODE
---------------------------------------
$ rvm ruby-1.9.3-head
$ rvm g...
Gebor (Pierre-Henry Frohring)
07:32 AM Feature #6180: to_b for converting objects to a boolean value
I too would very much like to see a #to_bool method on every object.
In my opinion, if you define a public API, you should be as strict as possible about what each method returns, so that your users can rely on it, but also to minimiz...
aef (Alexander E. Fischer)
06:04 AM Revision 9accaad5 (git): * configure.in (Makefile): add missing test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:59 AM Revision cd71db0a (git): * configure.in (Makefile): check with svn info, since svn 1.7 doesn't
have .svn under descendent directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:59 AM Revision 11c57111 (git): * configure.in (Makefile): get rid of confliction with -j.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:57 AM Revision 3417dd28 (git): TRY_LINK needs EXEEXT
* lib/mkmf.rb (TRY_LINK): need EXEEXT for cross-compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:43 AM Revision 39113275 (git): * ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
[Bug #6094]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:17 AM Revision 24513fe2 (git): workaround for mingw
* lib/mkmf.rb (try_link0, try_compile, try_cpp): check if the target
file get created actually. workaround for the case that the exit
status of a cygwin program seems lost on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
02:17 AM Revision b1bdada1 (git): remove conftest files
* lib/mkmf.rb (try_constant): remove conftest files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 AM Revision 99594056 (git): * 2012-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 AM Revision caf627af (git): * test/ruby/test_io.rb (TestIO#test_pos_with_getc): updated.
see [ruby-core:43550]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
 

Also available in: Atom