Activity
From 10/26/2012 to 11/01/2012
11/01/2012
-
11:53 PM Feature #7252: version number of 2.0 release
- On 11/01/2012 02:33 AM, KOSAKI Motohiro wrote:
>>> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>>> trunkが開発版、リリースされたら安定版、で。
>>
>> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>>
>> 1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。
>
> 2.x は全部安定版にしてしま... -
06:06 PM Feature #7252: version number of 2.0 release
- matz (Yukihiro Matsumoto) wrote:
> まつもと ゆきひろです
> ...
お返事ありがとうございます!では、"2.0.0" は確定としましょう。
ルールやブランチの切り方は、おいおい考えましょう。
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:53 PM Feature #7252: version number of 2.0 release
- あいざわです
基本的に成瀬さんの意見に賛成で、2.0.x系統は頑張って互換性を保つように頑
張ってメンテをするということでいいと思います。
なにかしら非互換な変更が入りそうならその時になってからそれを2.1.xの中に
収めるか3.0にするか考えればいいのではないでしょうか。
# 個人的には3.0は相当将来の夢のリリースであっていて欲しいとおもっています。 -
05:53 PM Feature #7252: version number of 2.0 release
- >> 旧来の開発版/開発版とかもういらないんじゃないですかね。
>> trunkが開発版、リリースされたら安定版、で。
>
> その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
>
> 1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。
2.x は全部安定版にしてしまって、開発版が欲しくなるぐらいの重量級の機能が入ったら
3.0にバージョンアップしたて、またバージョンルールを定義... -
03:23 PM Feature #7252: version number of 2.0 release
- あいざわです
いちマーケターの意見としては、2/24には"2.0.0-p0" またはもっとシンプルに "2.0" で出すべきかなと思います。
その後の取扱を考えると"2.0.0-p0" を基本としてメッセージングとしては "2.0" を露出させていくのがよいかと。
ちなみにHerokuでは 2/28にwazaというテクニカルイベントを予定しており、2.0のリリースに合わせてHeroku
の環境下ですぐに ruby2.0を試してもらえるように社内調整を進... -
01:29 PM Feature #7252: version number of 2.0 release
- naruse (Yui NARUSE) wrote:
> 旧来の開発版/開発版とかもういらないんじゃないですかね。
> ...
その行為が開発を促進するか停滞させるかは意見の分かれるところでしょう。
1.8がなくて1.9だけしかなかったらYARVは怖くて突っ込めなかったと思いますよ。 -
01:08 PM Feature #7252: version number of 2.0 release
- 旧来の開発版/開発版とかもういらないんじゃないですかね。
trunkが開発版、リリースされたら安定版、で。
1.9/1.8 の時みたいに dev/stable の2系統持つという案もあり得るとは思いますが、
releaseブランチのメンテだけでも手一杯なのにstable ブランチの維持はちょっと出来る気があんまり……。
というので、正確には stable ブランチの復活に反対という意見かも。
まとめると、わたしは以下の通りにするのがよいと思います。(基... -
12:49 PM Feature #7252: version number of 2.0 release
- まつもと ゆきひろです
1.8の頃のルールに戻すかどうかはまだ迷っているのですが、インパクトの観点から2/24にリリースするものは2.0.0にしたいです。
-
12:46 PM Feature #7252: version number of 2.0 release
- usa (Usaku NAKAMURA) wrote:
> よって、ポイントは、
> ...
予定は考えていませんでした。そろそろ引き締めないと。ありがとうございます。
提案ですが、(2) で、1.8 の時代に戻しませんか?
つまり 2.0 はすべて安定版、2.1 はすべて開発版。2 月にリリースするのは 2.0.0 。
今晩あたり実装予定 feature の告知の意味で preview1 をリリースしたいと画策して
いますので、まつもとさんが反対で... -
11:08 AM Feature #7252: version number of 2.0 release
- 2.0.1 だとキャッチーさが薄れるのでお誕生日イベントの盛り上がり的には 2.0.0 or 2.0 のほうがいいなあ(ぼそっ
-
09:56 AM Feature #7252 (Closed): version number of 2.0 release
- 2月にリリースされるモノのバージョン番号はどうなる予定でしょうか?
例えばredmineでは「対象バージョン」に「2.0.0」とか書いてあるので、
2.0.0になるのかと思われがちですが、バージョン番号付けルールは
[ruby-dev:15923] にあるように、
1.9.0からは末尾0が開発版、1以降が安定版
とされており、以降変更されていない、と理解しています。
よって、ポイントは、
(1) 2月に出すのは安定版ですか? それと... -
11:53 PM Feature #6083: Hide a Bignum definition - Hi,
In message "Re: [ruby-core:48640] Re: [ruby-trunk - Feature #6083] Hide a Bignum definition"
on Wed, 31 Oct 2012 15:31:08 +0900, KOSAKI Motohiro <kosaki.motohiro@gmail.com> writes:
|> Target version changed from 2.0.... -
03:53 AM Feature #6083: Hide a Bignum definition
- On Wed, Oct 31, 2012 at 9:26 AM, SASADA Koichi <ko1@atdot.net> wrote:
> (2012/10/31 0:31), KOSAKI Motohiro wrote:
>>> Target version changed from 2.0.0 to next minor
>>> I am sorry but it's too late. I admit my fault.
>>
>> Ma... -
11:24 PM Revision 499b5a91 (git): proc.c: main.define_method
- * proc.c (top_define_method): new method, main.define_method.
[ruby-core:45715] [Feature #6609]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 PM Revision 603fcafd (git): eval.c: fix message
- * eval.c (top_include): fix a warning message, main is not a class or
module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 PM Feature #3346: __DIR__ revisted
- Hi.
yhara (Yutaka HARA) wrote:
> mame (Yusuke Endoh) wrote:
> ...
I've created a patch for Kernel#__dir__. How about it? -
08:01 PM Feature #7250: A mechanism to include at once both instance-level and class-level methods from a module
- I have fantasized a bit more about an alternative Object Model for
Ruby. Here is what i imagined:
1. Objects are allowed to keep their methods more or less the same way as they keep attributes in instance variables. Methods are con... -
07:48 PM Revision 71dcc25f (git): suppress warning: 'val' may be used uninitialized in this function
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 PM Bug #7247 (Closed): r37079以降Solaris10でthread_pthread.cがコンパイルエラー
- This issue was solved with changeset r37402.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread_pthread.c: RUBY_STACK_MIN
* thread_pthread.c (RUBY_STA... -
07:41 PM Revision 1d4ec583 (git): mkmf.rb: timestamp_file
- * lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
make special character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 PM Revision 27f41491 (git): test_process.rb: use never existing file
- * test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure):
use never existing file in the current temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 PM Revision 082e1344 (git): * tool/merger.rb: add feature to tag preview/rc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 PM Feature #7241: Enumerable#to_h proposal
- >
> I wouldn't say it is over. See #4151. ...
Is #each_with a better name?
>
Has anyone suggested `map_to`? I think `map_to` has a clearer intention
than `each_with`, because you're mapping the collection onto somethin... -
05:49 PM Feature #7241: Enumerable#to_h proposal
- =begin
I wouldn't say it is over. See #4151.
I still like:
module Enumerable
def each_with(x={})
each{ |e| yield(x,e) }
x
end
end
Is #each_with a better name?
=end -
05:10 PM Feature #7241: Enumerable#to_h proposal
- Just in case, here is some relevant discussion on StackOverflow with benchmarks:
http://stackoverflow.com/questions/3230863/ruby-rails-inject-on-hashes-good-style -
12:29 PM Feature #7241: Enumerable#to_h proposal
- >
> I think it should go in to ActiveSupport first.
>
> matz.
>
Thanks for your reply! The pull request has just been rejected on
ActiveSupport, so I guess that's th... -
12:23 PM Feature #7241: Enumerable#to_h proposal - Hi,
In message "Re: [ruby-core:48690] Re: [ruby-trunk - Feature #7241] Enumerable#to_h proposal"
on Thu, 1 Nov 2012 08:07:11 +0900, Nathan Broadbent <nathan.f77@gmail.com> writes:
|@matz: Do you think this `each_with_has... -
12:23 PM Feature #7241: Enumerable#to_h proposal
- >
> Almost no one uses #each_with_object as it is. #each_with_hash is hardly
> better. We need a short method name. Moreover I don't think this method's
> behavior is really the best approach to the real use case.
>
It's tr... -
11:53 AM Feature #7241: Enumerable#to_h proposal
- Almost no one uses #each_with_object as it is. #each_with_hash is hardly
better. We need a short method name. Moreover I don't think this method's
behavior is really the best approach to the real use case.
On Wed, Oct 31,... -
06:24 PM Revision 072ab753 (git): lib/mkmf.rb: fix for if config["libdir"] is nil.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:22 PM Revision b2bbfb3e (git): * tool/make-snapshot: fix wrong regexp for releasing preview.
- patched by mame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 PM Feature #7251 (Closed): using usings in usinged Module
- This issue was solved with changeset r37399.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_using_module): using should be used indirectly.
[... -
02:07 PM Feature #7251 (Assigned): using usings in usinged Module
-
01:29 PM Revision 98c96a69 (git): * NEWS: add a news about objspace,
- ObjectSpace.reachable_objects_from.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- I noticed one compatibility issue.
rb_file_expand_path_fast calls to_path method before to_str, but to_path was ignored.
I fixed to_path is called before to_str. If StringObject has to_path, the object are expended every time becau... - 01:04 PM Revision a3e5a865 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_new),
- test/bigdecimal/test_bigdecimal.rb:
Fix exception message of BigDecimal constructor with a Float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:03 PM Revision 2e6b5ece (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_add),
- test/bigdecimal/test_bigdecimal.rb:
need to specify precision for converting Rational and Float.
[ruby-core:48045] [Bug #7176]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:48 PM Feature #6895 (Assigned): TracePoint API
- I need to consider about:
- TracePoint enable/disable API [ruby-core:47305]
- Add interface to get returned/raised value [ruby-core:47259]
- trace block enter/leave interface
Sorry for my late response.
This ticket should be ope... -
12:46 PM Revision a5fc96a5 (git): * test/ruby/test_process.rb: Revert r37404. My ubuntu box has
- actually the directory named "/nonexistent"... Sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Revision de082042 (git): * test/ruby/test_process.rb: Process.exec raised EACCES on Linux
- 3.5.0-17-generic. This is a temporal fix to rescue that exception.
Needs kosaki's review.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 PM Revision 0c4a27a5 (git): iseq.c: fix r37397
- * iseq.c (set_relation): parent_iseq need to be set regardless iseq
type. fix r37397.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:47 AM Revision 5aa7ff2b (git): thread_pthread.c: RUBY_STACK_MIN
- * thread_pthread.c (RUBY_STACK_MIN): may not a compile time constant.
fix r37079. [ruby-dev:46322] [Bug #7247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:30 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- On Wed, Oct 31, 2012 at 3:43 PM, Eric Wong <normalperson@yhbt.net> wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
>> * For folks doing crypto stuff that want to know exactly how big the
>> buffer is right away,... -
05:53 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> * For folks doing crypto stuff that want to know exactly how big the
> buffer is right away, this provides a way to do so.
I'm not sure exactly what you mean. Do you ... -
05:53 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- > So we have something like this:
>
> Platforms known to not support any sort of O(1) realloc: JVM
>
> Platforms that may not support O(1) realloc: OS X, others?
>
> Platforms that do (should?) support O(1) realloc: Linux
... -
05:06 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- So we have something like this:
Platforms known to not support any sort of O(1) realloc: JVM
Platforms that may not support O(1) realloc: OS X, others?
Platforms that do (should?) support O(1) realloc: Linux
In any case, I st... -
07:48 AM Revision ba1bd089 (git): * NEWS: add note for Module#refine, Module#refinements,
- Module#using, and Kernel#using.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Revision 5f0b7f8c (git): * ChangeLog: fix indentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 AM Revision 7a58c65a (git): * eval.c (rb_using_module): using should be used indirectly.
- [ruby-dev:46326] [Feature #7251]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:43 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- I concur with ko1's objection to having the bindings available. It would introduce *massive* performance overhead and kill many optimizations we implementers do currently or hope to do in the future.
Having the classes available is al... -
05:40 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
- Some details on the JRuby side of things:
* SystemStackError is not consistently raised. There are a decreasing number of places in JRuby's codebase where we attempt to rescue Java's StackOverflowError and reraise it as SystemStackErr... -
05:36 AM Feature #5481: Gemifying Ruby standard library
- FWIW, here's how we're handling the gemification of OpenSSL...
Background: Previously, JRuby's 'openssl' support was always distributed as a gem, since we did not want to ship crypto (bouncycastle). Starting with JRuby 1.7, however, w... -
05:29 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- I was only proposing an alias for now. Maybe `OHash`, `OSet`?
-
05:09 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- The decision is already made. Hash has been ordered since 1.9.1 (or 1.9.2?) and changing it now would break all code that expects ordering. Ordering also does not necessarily limit options for implementation...it just makes certain imple...
-
05:22 AM Feature #3388: regexp support for start_with? and end_with?
- JRuby currently does have a global cache for regexps. If you're interested, one of us can show you how it works.
-
05:21 AM Feature #5378: Prime.each is slow
- JRuby numbers for the various implementations proposed (best times out of ten in-process iterations):
mconigliario's version:
user system total real
primes_up_to 2.100000 0.000000 2.100000 ... - 04:17 AM Revision 94d10fbb (git): * 2012-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Revision 130bb41d (git): iseq.c: simplify
- * iseq.c (set_relation): simplify and merge same conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 AM Bug #5627 (Closed): [ASYNC BUG] thread_timer: select
- > The error.log suggests that any module (I'm suspecting old Passenger)
> ...
This is known issue and we already solved it on current trunk.
see [ruby-core:37727] Issue of Passenger and ruby-trunk.
Jeff may need to upgrade both ruby...
10/31/2012
-
10:36 PM Feature #6083: Hide a Bignum definition
- (2012/10/31 0:31), KOSAKI Motohiro wrote:
>> Target version changed from 2.0.0 to next minor
>> I am sorry but it's too late. I admit my fault.
>
> Matz, I don't like this decision. I believe we should choose next _major_
> o... -
03:53 PM Feature #6083: Hide a Bignum definition
- > Target version changed from 2.0.0 to next minor
> I am sorry but it's too late. I admit my fault.
Matz, I don't like this decision. I believe we should choose next _major_
or 2.0.0. minor release should not have binary incomp... -
02:06 AM Feature #6083: Hide a Bignum definition
- I am sorry but it's too late. I admit my fault.
Matz.
-
10:23 PM Feature #6643: io.seek(off, :end)
- Akira Tanaka wrote:
> StringIO は修正すれば済むわけですが、
> ...
そうですね。
最新のパッチ(patch2.diff)では、そういう懸念があるのでIO::SEEK_*の値は変えずにIntegerもSymbolも受け付けるようにしています。 -
10:19 PM Bug #6175 (Rejected): watir-2.0.4/lib/watir/ie-class.rb:567: [BUG] Segmentation fault
- Closing because this ticket is too clueless.
There is no C trace, no reproducing process, and no feedback...
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:07 PM Bug #5627 (Assigned): [ASYNC BUG] thread_timer: select
- Providing a video is a good idea, but it was deleted...
Please make a ticket self-contained.
The error.log suggests that any module (I'm suspecting old Passenger)
closes an pipe for internal timer thread communication.
Kosaki-san... -
10:03 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- regularfry (Alex Young) wrote:
>
> ...
Alex, can you give an example, please?
-
10:03 PM Bug #5519 (Rejected): Enumerator#next skips c-return hooks
- kernigh is right; this is a spec. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:01 PM Bug #5385 (Rejected): ~/gems/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle: [BUG] Segmentation fault ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.1.0]
- I'm closing this ticket.
There is no C trace, no reproducing code (octopress directory), and no feedback...
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:53 PM Bug #6215 (Assigned): print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash
- Anyone can reproduce? Sorah-don, could you give it a try?
I think that textmate looks irrelevant in the following trace.
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> ...
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:41 PM Bug #7198 (Closed): No documentation of Psych on ruby-doc.org
-
09:36 PM Bug #6182 (Closed): ruby crashed with trace inof below !(Ruby interpreter or extension libraries)
- I think that this issue has been already fixed at r32749. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:56 PM Feature #5431 (Rejected): Check issue with ruby-1.9.3-rc1
- Supporting s390 is considered a new feature.
And then I'm rejecting this issue because of no feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:55 PM Feature #7251: using usings in usinged Module
- s/suspect/expect/
-
08:41 PM Feature #7251 (Closed): using usings in usinged Module
- I suspect Kernel#using to using all the already usinged Refinements in usinged Module. For example:
module X
refine Fixnum do
def foo; p :foo; end
end
end
module Y
refine Fixnum do
def bar; p :... -
08:51 PM Bug #6125 (Rejected): Exception Report
- Closing this ticket because it is too clueless.
OP seems to be gone. I guess we cannot get a feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:50 PM Bug #6084 (Rejected): Ruby 1.9.3p125 Segfault while running nanoc compile
- Closing this ticket because it is too clueless.
OP seems to be gone. I guess we cannot get a feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:47 PM Bug #5739 (Rejected): [BUG] object allocation during garbage collection phase
- The trace seems to be truncated because it is too long.
Please attach the log file instead of pasting the content.
OP did not answer to ko1's question long time; I guess we
cannot get a feedback from OP. So, I'm closing this ticket... -
08:44 PM Bug #5931 (Assigned): Random SEGV during execution on YARD specs
- Usa-san, please!
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:41 PM Bug #5990 (Assigned): Random Segmentation Fault when running on Linux Fedora
- Aaron, do you know anything?
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:37 PM Bug #3744 (Rejected): Fails to compile on OpenSolaris
- Thanks Goto-san! Then, closing this ticket as "invalid".
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:32 PM Bug #3744: Fails to compile on OpenSolaris
- From the error message, the dynamic linker of the OS could not find OpenSSL shared library.
To solve the issue quickly, please set LD_LIBRARY_PATH environment variable to the location of OpenSSL library, for example, LD_LIBRARY_PATH=/... -
08:18 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- apotonick (Nick Sutterer) wrote:
> =begin
> ...
I am sorry, i used your thread to propose my own feature request in a sense, i have already corrected this with #7250. I hoped that maybe there would be no need for inheritable `self.inclu... -
07:45 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
Ah ok, now I understand you, Alexey. Instead of having a keyword (inclusive/inheritable) you want to have a special "namespace" as in
module M
def to_be_inherited.m; end
which would include the class method #m when includi... -
07:24 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- apotonick (Nick Sutterer) wrote:
>
> ...
If i understood correctly, Thomas suggested the `include!` method name simply to not change the current behavior of `include`, but it seems that he also prefers a single method.
I do not t... -
07:01 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
Interesting points, mates. I don't know about the method tables so all I can do is summarizing what we came up with so far.
== 1. Explicitely define inheritable class methods.
module M
inclusive/inheritable
def self.i_wi... -
06:32 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- I'll open a feature request do discuss module inclusion separately.
Update: #7250 -
06:02 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
trans (Thomas Sawyer) wrote:
> I'm not sure I like this idea --I still think it would be better just to make it the usual behavior of (({#include})), but it is an option.
I think that there would be issues with "including" met... -
12:54 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
I have always thought module class methods should be included. Matz has stated his opposition to it b/c he sees it as a hindrance for some use cases, for example, internal methods spilling in when including the Math module. But I... -
07:34 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- In my opinion, the most common use case for the `included` hook in modules is adding class methods. However, to me this looks hackish -- hard to follow and understand. I would have preferred if there was a way to define both instance-l...
-
05:44 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- Sorry, I didn't read my own output, please disregard.
-
05:42 AM Feature #7240: Inheritable #included/#extended Hooks For Modules
- =begin
What is wrong with using super?
$ cat t.rb
module A
def self.included mod
puts "#{mod} included A"
end
end
module B
def self.included mod
puts "#{mod} included B"
super
... -
07:12 PM Bug #7008 (Feedback): rake is crashing when trying to compile ffi gem
-
06:59 PM Feature #7250 (Open): A mechanism to include at once both instance-level and class-level methods from a module
- =begin
I have simply commented first on #7240, but i feel i need to start a ticket in order to not post off topic.
This seems to be a big feature request, so i didn't feel confident to suggest, but when i read in #7240 that (({Module... -
04:27 PM Bug #3523 (Third Party's Issue): win32 exception c0000029 on exit using fibers
- Although it is too late, I think that we don't handle this now,
so change this ticket as TPI.
-
03:39 PM Feature #6421: Add zlibwapi to extconf.rb file for zlib library
- Sorry, I can't understand the conclusion.
(1) should apply the 1 line patch because it doesn't cause any problem.
(2) no need to apply the patch because the zlibwapi users should change the names of the dll and the lib.
Which?
... -
01:23 PM Bug #7248 (Closed): Shouldn't Enumerator::Lazy.new be private?
- Is there a reason why Enumerator::Lazy.new is not private?
Lazy enumerators should be created with `Enumerable#lazy`. Moreover, there is no doc, and it can give unexpected results too. -
01:20 PM Feature #6636: Enumerable#size
- I added support for lazy enumerators.
Yusuke, Matz, did I address your questions/concerns? -
11:19 AM Bug #5756 (Feedback): crashs when Twitter.update_with_media with rails
- seems crashing on openssl. please try building ruby again with openssl NOT COMES WITH OS X (building by your hand, including using homebrew or macports or some)
-
01:52 AM Bug #5756 (Assigned): crashs when Twitter.update_with_media with rails
- OP provided a feedback. Sorah, please check it.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:19 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- tarui (Masaya Tarui) wrote:
> it seems almost good.
> ...
Thank you. I agreed.
I will change to expand NonStringObject(TYPE(v) != T_STRING) every time and not freeze it. -
09:31 AM Bug #6433 (Closed): rb_thread_blocking_region(): ubf() function is executed with GVL
- I updated the documentation in r37393 and r37394 for natural english and to mention that the ubf() may not be called from the GVL.
-
09:22 AM Revision 25a973e8 (git): * gc.c (gc_profile_record): don't define unused variables when
- GC_PROFILE_MORE_DETAIL is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Revision 9fd08911 (git): * gc.c (gc_prof_mark_timer_stop): count is not initialized.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:59 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- Thank you. In addition, could you show us mkmf.log?
--
Yusuke Endoh <mame@tsg.ne.jp> -
04:27 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- OK, I changed the line back to the original return Integer(f.gets) and attempted a reinstall of kgio under 1.9.3-p286.
The output from the build is still: ruby-1.9.3-p286/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into... -
06:23 AM Feature #7241: Enumerable#to_h proposal
- Em 30-10-2012 16:23, Aaron Patterson escreveu:
> On Tue, Oct 30, 2012 at 07:58:33PM +0900, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>> Issue #7241 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>>
>>
>> Maybe .hash... -
03:29 AM Feature #7241: Enumerable#to_h proposal - On Tue, Oct 30, 2012 at 07:58:33PM +0900, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #7241 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>
>
> Maybe .hash_map? each_with_object is a too long name for a ... -
03:13 AM Bug #7059 (Third Party's Issue): rb_name_err_mesg_new at shut down appears to cause: [BUG] object allocation during garbage collection phase
- harrison.uhl (Harrison Uhl) wrote:
> Having read about a "object allocation during garbage collection" issue in WxRuby,
Could you give me a pointer?
> ...
What made you thought so?
I don't know wxRuby's architecture, but the ba... -
02:55 AM Feature #6545 (Closed): inconvinient require order of DL
- I've fixed this in r37391. The fix isn't optimal, but it is the smallest patch to fix the bug.
-
02:26 AM Bug #4508 (Rejected): Ability class for CanCan for Rails
-
02:24 AM Bug #7085: Subversion → GitHub gateway stops.
- I'm also expecting a revival of the github mirror :-)
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:23 AM Feature #6373 (Feedback): public #self
- The point is when we see the code like:
~~~ruby
[1,2,3,4,5,1,2,2,3].group_by(&:self)
~~~
sometimes it would be less intuitive that self refers elements in the array, not self in the scope.
I think this cause YAM syndrome here. W... -
02:19 AM Feature #6241 (Rejected): Module#method_defined? with inherited flag
- Tomas has a point. We cannot accept the original idea.
So I reject this proposal. Try again.
In general I am not a big fun of inherited flag, since most inheritance works rather as composition in Ruby.
Matz.
-
02:18 AM Bug #5659: bug releasing a gem created with rails 3.1
- luislavena (Luis Lavena) wrote:
> mame (Yusuke Endoh) wrote:
> ...
Thanks. Then, emboss, do you know?
The trace looks similar to #6886 which was closed as 3PI.
What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:03 AM Bug #5659: bug releasing a gem created with rails 3.1
- mame (Yusuke Endoh) wrote:
> Luis, do you know the status?
> ...
No, I was unable to reproduce with any of my installed versions of Ruby. -
01:41 AM Bug #5659 (Assigned): bug releasing a gem created with rails 3.1
- Luis, do you know the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:14 AM Feature #6216 (Assigned): SystemStackError backtraces should not be reduced to one line
- I don't feel I exactly understand the situation, since the specified line in CRuby backtrace does not appear in JRuby's.
That might mean avoiding backtrace truncation has no meaning, or CRuby could have yet another bug.
Do you have a... -
02:07 AM Feature #5877 (Rejected): Poor performance of initial and final UTF-8 substrings
- Not a bug. "forthcoming" did not come.
Please try to make your proposal self-contained.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:03 AM Bug #5872 (Rejected): Memoery issue
- I'm closing this ticket because it is too clueless.
Please reopen if you can provide additional information.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:58 AM Bug #5559 (Assigned): Intermittent Seg fault when using net-ssh
- Looks os x issue. Nobu, could you check this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:56 AM Bug #5401 (Assigned): Ruby 1.9.3 interpreter crash
- Sorah, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
-
01:47 AM Bug #5721 (Rejected): require_relative
- I'm closing this ticket because akr guessed that it is an intended behavior, and because of no OP's rebuttal.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:38 AM Bug #5530 (Assigned): SEEK_SET malfunctions when used with 'append' File.open mode
- kosaki (Motohiro KOSAKI) wrote:
> Which documentation bring you confusing?
IO.new does not say that append mode ignores fseek.
That said, I don't like to make rdoc messy.
How about adding just "See fopen(3) man pages"?
Kosaki-s... -
01:19 AM Bug #5496 (Rejected): ext/bigdecimal build failure on HP-UX 11.23/IA, 11.31/IA
-
01:18 AM Bug #5340 (Rejected): mysql2.bundle: [BUG] Segmentation fault
- Sorry, but I'm closing this ticket because it is too clueless and OP did not answer.
Please tell us if you can repro.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:17 AM Bug #5019 (Rejected): Ruby runtime crashes and indicates a 'Bus Error' bug
- Sorry, but I'm closing this ticket because it is too clueless and OP did not answer.
Please tell us if you can repro.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:00 AM Bug #5200: Ruby Crash Segmentation fault
- Please tell us how to reproduce.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:58 AM Bug #7246: FileUtils.cp_r does not preserve attributes of directories
- The following code might be a proper bugfix.
(({require 'fileutils'
module FileUtils
class Entry_
def wrap_traverse(pre, post)
pre.call self
if directory?
entries.each do |ent|
ent.wrap... -
12:42 AM Bug #7246 (Closed): FileUtils.cp_r does not preserve attributes of directories
- (({FileUtils.cp_r})) does not preserve the file attributes of directories because the attributes are set before copying to the directory.
The following monkey patch fixes this behaviour. However the monkey patch relies on the contents o... -
12:57 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- Martin and NaHi,
Is there any concrete plan to address this issue?
If not, I'd like to close this ticket now.
You can reopen it whenever you find any clue to make a progres.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:52 AM Bug #7247 (Closed): r37079以降Solaris10でthread_pthread.cがコンパイルエラー
- r37079以降、Solaris10のccでは以下のエラーが出て失敗します。(以下はr37390にて確認)
cc -O -xtarget=sparc64viiplus -m64 -DRUBY_EXPORT -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -I. -I.ext/include/sparc64-solaris2.10 -I./include -I. -o thre... -
12:40 AM Bug #5050 (Rejected): unable remap error when 'make test' on cygwin
- I guess that this is the cygwin's spec; rebaseall is needed?
Feel free to reopen this if you know anything that we can do in the ruby-side.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:32 AM Bug #5055 (Rejected): ruby-1.9.2-p290 Test Error @Cygwin
- 返答が遅くなった上で申し訳ないですが、cygwin はサポートされていません。
一旦閉じますが、パッチを送って頂ければ取り込みを検討しますので reopen してください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:29 AM Revision 7ae466f1 (git): * thread.c (rb_thread_call_without_gvl2): Note that ubf() may or may
- not be called with the GVL. Hinted that rb_thread_call_with_gvl()
can be used to access ruby functionality. [ruby-trunk - #6433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 AM Bug #4488 (Third Party's Issue): Segmentation fault when calling new (or in rspec)
- I succeeded to repro:
$ gem install hallon
$ ruby -rhallon -e 'def (Hallon::Session).instance(*args, &block); @__instance__ ||= new(*args, &block); end; Hallon::Session.instance("invalid")'
/home/mame/work/local/lib/ruby/gems/2.0.... -
12:07 AM Revision 5562411c (git): * thread.c (rb_thread_call_without_gvl2): Update documentation to
- natural English.
* thread.c (rb_thread_call_with_gvl): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Bug #4350 (Rejected): Segmentation fault and Bus Error
- Sorry but I'm closing this ticket because it is too clueless.
I guess eventmachine is involved to this issue, but I can make no hypothesis any more.
Feel free to reopen this if you have any clue.
--
Yusuke Endoh <mame@tsg.ne.jp>
10/30/2012
-
11:58 PM Bug #7244 (Closed): ArgumentError of refine
- This issue was solved with changeset r37390.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (rb_mod_refine): fix the error message when no block... -
10:02 PM Bug #7244 (Closed): ArgumentError of refine
- refine は 1 個しか引数をとらないはずなのにブロックを渡さずに引数 1 個で呼び出すと (0 for 1..3) という ArgumentError になります。
% ruby -v
ruby 2.0.0dev (2012-10-30 trunk 37389) [x86_64-linux]
% ruby -e 'Class.new{|c|refine}'
-e:1:in `refine': wrong number of arguments... -
11:56 PM Bug #7245 (Rejected): Float.round result not as expected
- This is the spec.
Float is internally stored in binary representation which cannot represent 1.005 precisely.
So the literal "1.005" becomes an approximate Float object actually less than its mathematical value.
$ ruby -e 'p (1.... -
10:42 PM Bug #7245 (Rejected): Float.round result not as expected
- In my second example below I would expect "1.01" as result.
1.9.3-p286 :001 > 1.05.round(1)
=> 1.1
1.9.3-p286 :002 > 1.005.round(2)
=> 1.0
1.9.3-p286 :003 > 1.006.round(2)
=> 1.01
Is this a bug or am I wrong? -
11:48 PM Feature #5481: Gemifying Ruby standard library
- Hi, I'd like to question once more some parts of the proposal in wiki [1].
* After installing updated stdlib gems, those should be treated as regular gems.
The only viable solution is proposal 1. It seems that there was some work s... -
11:42 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- shirosaki-san,
Thank you for fast patch.
it seems almost good.
one point, freezed NonStringObject can return different result by redefining to_str method in class scope.
if expand it everytime as same as home dirs, It is not neces... -
01:39 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Thank you for review.
> 1) support both ENV and getpwnam.
My intention is 1) since I would like see (G4) merged.
Additional patch.
https://gist.github.com/3964679#file_0004_fix_compatibility_of_require.patch
No cache for '~'... -
11:26 PM Feature #6875: Make test/unit default gem
- kou (Kouhei Sutou) wrote:
> I comment on this issue.
> ...
Well, yes, it would be probably better to discuss some points there :)
>
> ...
Yes, that make sense. Actually it is one issues I complained in #6124
> > > > 2) The gem... -
10:54 PM Bug #3744: Fails to compile on OpenSolaris
- Goto-san, can you check this ticket?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:51 PM Bug #4508: Ability class for CanCan for Rails
- Hello,
I'm closing this ticket as "worksforme".
I guess that OP talked about "cancan" gem.
I installed it and tried the script, but it terminated successfully:
$ gem install cancan
$ ruby -rcancan t.rb
$
I think that... -
10:40 PM Bug #4737 (Rejected): Ruby crasshes and config.xml becomes a 0 kb file
- Hello,
I'm closing this ticket as "worksforme".
I don't know what rally is, but I guess OP followed the process explained in the URL:
http://www.rallydev.com/help/subversion-installation-user-guide
I tried it, but I cannot ... -
09:28 PM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- I checked the discussion of github.
I think the problem here is why f.gets fails.
The proposed patch is NOT acceptable; it just hides the real problem by returning a *bogus* result.
So, could you please tell us how to reproduce th... -
08:36 PM Bug #7242 (Assigned): Bignum mathematical accuracy regression in r31695
- Hello,
2012/10/30, mhall (Matthew Hall) <mhall@mhcomputing.net>:
> Attached to this bug I have a simplified example test case which will pass
> ...
Good catch! I created a more simplified example.
$ ruby toom3-bug.py.rb
... -
07:34 AM Bug #7242 (Closed): Bignum mathematical accuracy regression in r31695
- We have some pure Ruby code which performs a DH (Diffie Hellman) cryptographic
handshake.
If I upgrade to using the Ruby 1.9.3 interpreter instead of 1.9.2, the unit
tests around the code fail, because the client and server can no ... -
08:23 PM Feature #6609: Toplevel as self extended module
- 2012/10/30, Nobuyoshi Nakada <nobu@ruby-lang.org>:
> At Sat, 27 Oct 2012 11:39:04 +0900,
> mame (Yusuke Endoh) wrote in [ruby-core:48433]:
>> - Matz accepted "define_method in Toplevel". We need a patch. Nobu,
>> could you?
... -
03:59 AM Feature #6609: Toplevel as self extended module
- Hi,
At Sat, 27 Oct 2012 11:39:04 +0900,
mame (Yusuke Endoh) wrote in [ruby-core:48433]:
> - Matz accepted "define_method in Toplevel". We need a patch. Nobu, could you?
Sorry, I haven't followed this topic. To where sho... -
08:23 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 29/10/12 22:12, alexeymuranov (Alexey Muranov) wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>
>> >> Floats are precise, just like Integers are. *Operations* on floats are
>> >> n... -
09:23 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 30 October 2012 08:12, alexeymuranov (Alexey Muranov)
<redmine@ruby-lang.org> wrote:
>
> Issue #6973 has been updated by alexeymuranov (Alexey Muranov).
>
>> >> Floats are precise, just like Integers are. *Operations* o... -
07:12 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- > >> Floats are precise, just like Integers are. *Operations* on floats are
> ...
I guess the question is: what would be a point in calling this method on a Float? A Float value is rarely exact in the sense that it rarely coincides ... -
07:58 PM Feature #7241: Enumerable#to_h proposal
- Maybe .hash_map? each_with_object is a too long name for a very common needed method. Many have asked for a method like it (including me) because they couldn't find "each_with_object" and they ended up learning here after asking for such...
-
08:53 AM Feature #7241: Enumerable#to_h proposal
- OK, no problem! Thanks for your response!
A bit unrelated, but is it strange that each_with_object and inject have a
different order for the block params?
[1,2,3].inject({}) {|obj, el| obj[el] = el * 2; obj } #=> {... -
08:53 AM Feature #7241: Enumerable#to_h proposal
- Thanks! Sorry, I didn't know about each_with_object.
Do you think it would still be worth shortening
`each_with_object(Hash.new([])) { ... }` to `to_h([]) { ... }`, and are any
of the other cases worth supporting?
Best,... -
08:37 AM Feature #7241 (Rejected): Enumerable#to_h proposal
-
08:37 AM Feature #7241: Enumerable#to_h proposal
- Your idea of to_h is interesting, but it adds too much behavior in one method.
Besides that, since to_s, to_a, to_i etc. are used for implicit conversion, to_h is not a proper name for the method.
Nice try, we will wait for next one.... -
08:27 AM Feature #7241: Enumerable#to_h proposal
- Or
1.9.3-p0 :001 > Hash[ [1,2,3,4,5].map{|el| [el, el*2]} ]
=> {1=>2, 2=>4, 3=>6, 4=>8, 5=>10} -
08:23 AM Feature #7241: Enumerable#to_h proposal - On Tue, Oct 30, 2012 at 07:23:29AM +0900, nathan.f77 (Nathan Broadbent) wrote:
>
> Issue #7241 has been reported by nathan.f77 (Nathan Broadbent).
>
> ----------------------------------------
> Feature #7241: Enumerable#to_h... -
07:23 AM Feature #7241 (Rejected): Enumerable#to_h proposal
- I often use the `inject` method to build a hash, but I always find it annoying when I need to return the hash at the end of the block.
This means that I often write code like:
[1,2,3,4,5].inject({}) {|hash, el| hash[el] = el * 2;... -
07:33 PM Bug #7239 (Closed): Can't read from subprocess when run with rubyw on windows
- This issue was solved with changeset r37388.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c (redirect_dup2): set standard handles when new fd i... -
02:32 AM Bug #7239 (Assigned): Can't read from subprocess when run with rubyw on windows
- 05:54 PM Revision 974c1b40 (git): * 2012-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 PM Revision 4b1df2ae (git): * ext/dl/lib/dl/struct.rb: fix strange require order. [ruby-dev:45702]
- * ext/dl/lib/dl/value.rb: ditto
* test/dl/test_c_struct_entry.rb: remove strange require order from
tests.
* test/dl/test_c_union_entity.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37391 b2dd03c8-39d4-4d8f-98ff-823fe... -
03:13 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Can you write a test for this patch, nobu?
If so, please commit them(=this patch and the test). -
02:58 PM Revision e46471e9 (git): * eval.c (rb_mod_refine): fix the error message when no block is
- given. [ruby-dev:46319] [Bug #7244]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Feature #6643: io.seek(off, :end)
- 2012年10月30日 8:47 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
>
> Issue #6643 has been updated by ko1 (Koichi Sasada).
>
> Target version set to 2.0.0
>
> 田中さんに一応聞いておきたいところ.
最新のパッチは確認していないのですが、
IO::SEEK_* の値をシンボルに変えてし... -
08:47 AM Feature #6643: io.seek(off, :end)
- 田中さんに一応聞いておきたいところ.
-
12:13 PM Revision 05ba9069 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:32 AM Revision ee271803 (git): * process.c (redirect_dup2): set standard handles when new fd is stdio,
- because if there is no allocated console at the moment Windows does
not automatically associate it for child process's standard handle.
this is adhoc workaround.
reported by Martin Thiede at [ruby-core:48542] [Bug #7239].
* io.c (... -
09:40 AM Bug #4387 (Closed): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- This issue was solved with changeset r37387.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Check if there is no error before reconnect [Bug #4387] -
09:31 AM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
- Please tell us if you have HP-UX.
-
09:31 AM Bug #3600: HP-UX compilation
- Please tell us if you have HP-UX.
-
09:16 AM Bug #7097 (Closed): Thread locals don't work inside Enumerator
- This "feature" was introduced.
-
09:15 AM Bug #6577 (Feedback): GC中にstack overflowが発生するとSEGVする
- 再帰しなくなったんで,もういいんでしたっけ?
-
09:14 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- Need to check document (someone's helps are welcome!)
-
09:13 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- Please give me a time.
-
09:13 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
- Please give me a time.
-
09:12 AM Bug #5912 (Closed): Interpreter crashes when trying to invoke implicit block via Binding#eval
- Close this ticket because I can't reproduce it on trunk (2.0).
Please re-open if you can reproduce this issue.
-
09:10 AM Bug #5249 (Closed): C の Proc の比較のバグ
- これ,直ってるような.
-
09:09 AM Bug #4583 (Rejected): trace doesn't work for methods set up by attr_*
- No feedback.
-
09:08 AM Bug #4443: odd evaluation order in a multiple assignment
- ...これバグなんだっけ? feature のような気もしますが.
2.0 には無理っぽいので,next minor にしておきます. -
09:01 AM Feature #6710: new special binding specifier :isolated
- Yes, (small) performance issue.
Okay, let's discuss how to make such binding. I think we have several choice.
- Binding.new
- Binding.new(:isolated)
Or do we need to discuss jballanc's proposal in another ticket and reject this... -
08:47 AM Feature #6710: new special binding specifier :isolated
- Ko1, explain why you need modify eval, where we can create new isolated binding.
I don't think small performance improvement is a good excuse.
Matz.
-
08:48 AM Feature #3206 (Rejected): Problems manipulating the signal mask with Ruby
- No feedback.
-
08:46 AM Feature #5958 (Rejected): ThreadGroup#join
- Now, I reject this ticket.
I think your proposal is very useful.
To introduce thread set manipulation is needed.
But I feel it is not mature.
Please re-design `ThreadGroup` and make another tickets.
-
08:44 AM Feature #5669 (Rejected): Random thread scheduling based on a seed
- No feedback.
-
08:43 AM Feature #4589 (Feedback): add Queue#each() method and include Enumerable
- Professional's comments are very welcome.
I can't determine it should be worth or not.
-
08:43 AM Feature #4146 (Rejected): Improvement of Symbol and Proc
- 文法が気に入らないのでreject。
Matz.
-
08:41 AM Feature #4146: Improvement of Symbol and Proc
- 進んでないので,中田さん,どうぞよろしく.
-
08:40 AM Feature #3944 (Assigned): Add Fiber#root? method
-
08:39 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- ping.
I think it can be introduce into Ruby 2.0 if there is a nice implementation.
-
07:08 AM Feature #7240 (Feedback): Inheritable #included/#extended Hooks For Modules
- An inheritable hook mechanism for modules would be a great way for module/gem authors to simplify their implementations.
The Problem
-----------
Let's say I have the following module.
module A
def self.included(base)
... -
03:09 AM Bug #6809 (Closed): Deprecation of Config
- This issue was solved with changeset r37386.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rbconfig/obsolete.rb: Config
* lib/rbconfig/obsolete.rb (Confi... -
12:40 AM Revision 643f5308 (git): Check if there is no error before reconnect [Bug #4387]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/29/2012
-
09:57 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Hi,
I re-checked behavior, and found some compatibility issues.
first,
rb_file_expand_path_fast depends on not only current working directory but also home directories too.
it uses ENV["HOME"] and getpwnam (normally).
secon... -
01:59 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Which way insertion into sorted array takes same O(n) time? Do you mean
cost of memcpy after finding position for insert? Despite memcpy (which I
be leave cheap on this amounts) cost of insertion is O(log n).
Can you show result with... -
08:55 PM Bug #7239: Can't read from subprocess when run with rubyw on windows
- I tested this with Windows 7
-
08:53 PM Bug #7239 (Closed): Can't read from subprocess when run with rubyw on windows
- File.open 'res.txt', 'w' do |f|
f << `dir`
end
when run with "rubyw", the file "res.txt" will be empty, when run with "ruby" it will contain the output of the "dir" command
the problem is present in Ruby versions 1.9.1, 1.9.2 and... -
07:53 PM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- On 27/10/12 05:26, mame (Yusuke Endoh) wrote:
>
> Issue #6973 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee changed from mame (Yusuke Endoh) to mrkn (Kenta Murata)
> Target vers... -
06:08 PM Revision bd89d0cb (git): rbconfig/obsolete.rb: Config
- * lib/rbconfig/obsolete.rb (Config): re-introduce warnings for a
lame-duck. [ruby-core:46836] [Bug #6809]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:43 PM Feature #6670: str.chars.last should be possible
- If #lines is to become no longer an alias for #each_line, there should be no point in supporting lines {} any more. It should emit a deprecation warning and get unsupported in the future.
-
05:39 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Does this patch help?
- 05:22 PM Revision e33cbc0f (git): * 2012-10-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:22 PM Revision 2285319b (git): * thread.c: added Thread#thread_variable_(get|set),
- Thread#thread_variable?, and Thread#thread_variables for operating
on variables that are local to threads. [ruby-core:47790]
* vm.c: ditto
* test/ruby/test_thread.rb: tests for thread variables.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
02:48 PM Feature #6636: Enumerable#size
- Hi.
My understanding was this new feature would make it into Ruby 2.0. Did I misunderstand?
The implementation can be seen here: https://github.com/marcandre/ruby/compare/marcandre:trunk...marcandre:enum_size
Although the combin... -
11:25 AM Feature #6936: Forbid singleton class and instance variabls for float
- ko1 (Koichi Sasada) wrote:
> (2012/10/27 10:45), SASADA Koichi wrote:
> ...
それも含めて現状に合わせておきました。 -
10:59 AM Bug #2154: filesystem encoding of UNIX
- 2012年10月29日 10:31 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>:
>
> と、いうことだったのですが、r25782において意図的にdefault externalに戻されています。
> 理由を発見できなかったのですが、なぜでしょう?
その時点の記憶はすでにないのですが、おそらく、
locale と異なる encoding でパス名を扱いたい場合に、
設定できるようにするためでは... -
10:31 AM Bug #2154 (Assigned): filesystem encoding of UNIX
- と、いうことだったのですが、r25782において意図的にdefault externalに戻されています。
理由を発見できなかったのですが、なぜでしょう? -
10:53 AM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
- On 2012/10/27 20:12, mame (Yusuke Endoh) wrote:
>
> Issue #6697 has been updated by mame (Yusuke Endoh).
>
> Assignee changed from mame (Yusuke Endoh) to matz (Yukihiro Matsumoto)
>
> In Ruby, it is not a good idea to propos... -
10:32 AM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles
- authorNari (Narihiro Nakamura) wrote:
> This issue was solved with changeset r37343 by Eregon.
> ...
Oh, sorry, I forgot to mention the issue in the commit log.
I also meant to come back to this issue to thank you for the review and... -
09:58 AM Bug #6865 (Closed): GC::Profiler.report might create a huge String and invoke a few GC cycles
- This issue was solved with changeset r37343 by Eregon.
Thank you. -
09:31 AM Revision b9cba071 (git): load.c: adjust style
- * load.c (loaded_feature_path): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Revision 56f9574d (git): stringio.c: close separatedly
- * ext/stringio/stringio.c (strio_close): close separatedly per each
instances, as well as IO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:52 AM Revision 897a3fce (git): Use assert_normal_exit to split process
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 AM Feature #1400 (Closed): Please add a method to enumerate fields in OpenStruct
- This issue was solved with changeset r37372.
Tomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb (each_pair): Add #each_pair [#1400] -
06:20 AM Feature #6056 (Closed): Enhancements to OpenStruct
- This issue was solved with changeset r37376.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Saw... -
06:19 AM Feature #7007 (Closed): Make OpenStruct#new accept OpenStruct object
- This issue was solved with changeset r37375.
Ilya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Also accept {Open}Struct as argument to new
[ru... -
06:19 AM Bug #6029 (Closed): Should OpenStruct implement #eql? and #hash?
- This issue was solved with changeset r37373.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash
[... -
04:07 AM Bug #7232 (Closed): StringIO#gets(nil, nil) raises TypeError, IO/File#gets do not
- Is this a bug?
sasha:rubinius brian$ irb
1.9.3p286 :001 > require 'stringio'
=> true
1.9.3p286 :002 > s = StringIO.new "abc"
=> #<StringIO:0x000001008b3d90>
1.9.3p286 :003 > s.gets nil, nil
TypeError: no implicit conversion ... -
04:00 AM Bug #7231 (Closed): StringIO inconsistently raises IOError or RuntimeError if the string is frozen
- StringIO#ungetc, #ungetbyte raise RuntimeError if the data string is frozen. StringIO#write raises IOError.
Why?
1.9.3p286 :001 > require 'stringio'
=> true
1.9.3p286 :002 > s = StringIO.new x = "abc"
=> #<StringIO:0x00000101... -
03:21 AM Bug #7228 (Closed): Matrix#determinant_e returns rank
- This issue was solved with changeset r37368.
py, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/matrix.rb: Fix determinant_e [ruby-dev:46305] [Bug #7228] -
03:19 AM Revision 78625e58 (git): gc.c: PRIuSIZE
- * gc.c (gc_profile_dump_on): use PRIuSIZE instead of 'zu'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Feature #5185 (Rejected): Set#merge acts in place but Hash#merge does not
- On second thought recalling my original intention, I would say #update doesn't really fit for sets.
The word "update" indicates that some data may be lost through an operation by overwriting, but Set#merge does not cause any data loss... -
01:53 AM Bug #7230 (Closed): Updating Documentation for Dir::glob
- Hi
I updated the Dir:glob documentation (pattern section, backslash subsection).
I escaped the backslash character and surrounded code examples with code tags when they were missing.
This is my first contribution to the Ruby docume... -
01:25 AM Revision 9d27ced3 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Revision 0f930791 (git): * ext/psych/lib/psych/handlers/recorder.rb: added a class for
- recording YAML parse and emit events.
* ext/psych/lib/psych/handler.rb: adding a list of events so that
handler classes can more easily be meta-programmed.
* test/psych/handlers/test_recorder.rb: tests for the change.
git-svn-id: sv... -
12:53 AM Bug #7085: Subversion → GitHub gateway stops.
- 2012/10/19 Evan Phoenix <evan@phx.io>:
> Sorry for the delay. I'll set this up this weekend.
>
Hello Evan,
Please apologize for constantly nagging you, but have any progress on
this? May I be of any assistance?
Thank you in ... -
12:23 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/10/28 22:59), banister (john mair) wrote:
>
> No problem, our current code skips CFUNC frames too :)
Okay.
> Are you thinking of exposing this API to Ruby (in core or stdlib) or just as a C API ?
I think it sho...
10/28/2012
-
11:38 PM Feature #6720 (Rejected): Discrepancy between DateTime#strftime('%s') and Time#strftime('%s') before 1582-10-15
-
11:33 PM Feature #5677: IO C API
- Currently Ruby doesn't provide an abstract layer dedicated for IO and IO-like classes.
Or, in other words, Ruby provide such layer by method dispatching by OOP (polymorphism).
I guess it's difficult to introduce another dispatch me... -
11:11 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
- 読み直してみましたが、決着していないのは例外をどれにするかでしょうか。
私は、新規の例外を定義するのは大げさ過ぎると思っています。
ArgumentError と NotImplementedError のどちらにするかは、とくに意見はありません。
-
10:59 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- No problem, our current code skips CFUNC frames too :)
Are you thinking of exposing this API to Ruby (in core or stdlib) or just as a C API ? -
09:23 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- Thank you for your explanation.
(2012/10/28 21:08), banister (john mair) wrote:
> # return the binding for the nth caller, where Binding.of_caller(0) == binding
> Binding.of_caller(n)
`Kernel.binding' can't return binding... -
09:08 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- The API is this:
class methods
--
# return the binding for the nth caller, where Binding.of_caller(0) == binding
Binding.of_caller(n)
# return an array of all the caller bindings (this is useful when you want to take a snap-shot of t... -
05:29 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/10/28 5:14), banister (john mair) wrote:
> Unfortunately I can't make it to rubconf2012.
>
> What we need for Ruby 2.0 is the `binding_of_caller` gem working (https://github.com/banister/binding_of_caller/blob/ruby-2.0/ext... -
05:14 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- @ko1
Unfortunately I can't make it to rubconf2012.
What we need for Ruby 2.0 is the `binding_of_caller` gem working (https://github.com/banister/binding_of_caller/blob/ruby-2.0/ext/binding_of_caller/binding_of_caller.c ). We need to g... - 09:20 PM Revision 87b248dc (git): Update Changelog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:20 PM Revision e44e356b (git): * lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyer
- [ruby-core:42779] [Feature #6056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:19 PM Revision 3785d267 (git): * lib/ostruct.rb: Also accept {Open}Struct as argument to new
- [ruby-core:47476] [Feature #7007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:19 PM Revision 22115ec8 (git): * lib/ostruct.rb: Simplify code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:19 PM Revision b4300d25 (git): * lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash
- [ruby-core:42651] [Bug #6029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:18 PM Revision 15d4862b (git): * lib/ostruct.rb (each_pair): Add #each_pair [#1400]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:18 PM Revision 2dafb0f4 (git): * lib/ostruct.rb: Protect new_ostruct_member [ruby-core:42779] [#6056]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:18 PM Revision af29f7d2 (git): * lib/ostruct.rb: Remove rdoc details on marshal_{load|dump} and fix rdoc
- [ruby-core:42557] [ruby-core:42780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 PM Feature #6727: Add Array#rest (with implementation)
- duckinator (Nick Markwell) wrote:
> Regarding examples of it used in practice:
> ...
Thank you for searching for examples!
I guess you are aware many of these examples are using String#[1..-1].
A few examples are using MatchData#[1... -
11:25 AM Feature #6727: Add Array#rest (with implementation)
- Sorry that I forgot to check this again before.
I've done a bit of thinking and poking around since I ran across this again today.
Regarding [].rest == nil vs [].rest == []:
[] is treated as a truthy value, so there if rest re... - 06:21 PM Revision 8c163b85 (git): * 2012-10-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:21 PM Revision 23798cd6 (git): * lib/matrix.rb: Fix determinant_e [ruby-dev:46305] [Bug #7228]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 PM Bug #7228 (Closed): Matrix#determinant_e returns rank
- http://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/37328/entry/lib/matrix.rb#L1090
> def determinant_e
> ...
rank_e からコピーして直し忘れたように見えます。
-
03:43 PM Feature #4872 (Closed): REXML::XMLDecl#encodingがStringではなくEncodingを返すようにする
- This issue was solved with changeset r37355.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/document.rb (REXML::Document#write): Add :encoding ... - 02:54 PM Revision 4e235053 (git): * test/rexml/test_document.rb: Remove needless indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 PM Feature #6757: [PATCH] Add Process.getsid
- > こういうシステム系の機能は判断する自信ないです。
> 一家言ありそうな akr さんに振ってみます。
こういう単に情報取得するだけの機能はノータイムで入れていいという認識。
逆にちゃんと考えないといけないのは、Cと同じ使い方をどうやっても提供できないケースで例えば
・IO: Ruby独自のバッファリングとエンコードの話があるのでsysread/syswriteが混ぜるな危険になる
・fork: ruby scriptをasync s... - 02:53 PM Revision 5f18ce9a (git): * test/rexml/test_document.rb: Add tests for parsing XML encoded
- by UTF-8 with BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:52 PM Revision 718813ca (git): * lib/rexml/source.rb: Move encoding detection code to base class.
- * lib/rexml/encoding.rb: Remove needless encoding detection code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 PM Bug #7227 (Rejected): failed to build native extension for bcrypt-ruby gem under cygwin on windows xp
- I am setting up a testing agent on Windows XP for a Rails App. This question was posted by me on Stackoverflow, where, members of the community suggested that this was in fact a Ruby Bug I should report here. For consistency purposes, th...
-
12:52 PM Revision 7ba54654 (git): * ChangeLog: add ML and ticket ref for r37343.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:42 PM Revision a7322e36 (git): * lib/rexml/parsers/baseparser.rb: Fix a bug that UTF-8 is used
- for UTF-16XX encoded XML that doesn't have encoding="UTF-16" in
XML declration.
* test/rexml/test_document.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:39 PM Revision a750424c (git): * test/rexml/test_document.rb: Group tests that they parse
- UTF-16XX encoded XML that has encoding="UTF-16" in XML declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:31 PM Revision 2a42c1bd (git): * lib/rexml/source.rb (REXML::IOSource#initialize): Reduce
- @line_break initialize code. It should be done only in #encoding=.
* lib/rexml/parsers/baseparser.rb: Don't set UTF-16 encoding to
source by encoding="UTF-16" in XML declaration because UTF-16XX
source encoding should be set in Sourc... -
12:24 PM Feature #4085: Refinements and nested methods
- ko1 (Koichi Sasada) wrote:
> Any problem now?
I like the current behavior of Refinements, so please give me feedback if you don't like it.
Some objections to Refinements are summarized below:
* Refinements are too complex.
* R... - 12:19 PM Revision 100b3be9 (git): * test/rexml/test_document.rb: Add tests for parsing XML encoded
- by UTF-16 with BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:20 AM Revision f774c96b (git): Revert r37358
- * lib/rexml/source.rb (REXML::IOSource#initialize): Use
encode("UTF-16XX") instead of UTF-16XX encoded byte string by
hand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:57 AM Revision 054ae037 (git): * lib/rexml/source.rb (REXML::IOSource#initialize): Use
- encode("UTF-16XX") instead of UTF-16XX encoded byte string by
hand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Sasada-san, thank you for the review. You're right, patch (4) should (and doesn't) invalidate the cache when the working directory changes. I believe Yura is right that it should also invalidate the cache when the filesystem encoding c...
-
08:53 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- (2012/10/28 8:03), Hiroshi Shirosaki wrote:
> Yes. I think no behavior changed except "freeze $LOAD_PATH" by (G3)
> if I didn't overlook anything.
Thank you for your clarification.
Maybe Tarui-san will review them.
Plea... -
08:23 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- On Sun, Oct 28, 2012 at 7:36 AM, SASADA Koichi <ko1@atdot.net> wrote:
> I'm very happy if you describe the "changed behavior/assumption".
> Your explanation is "how to do it".
> But we need to know "what changed".
> Sorry if I m... -
07:53 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- (2012/10/28 7:10), h.shirosaki (Hiroshi Shirosaki) wrote:
> I think (S1) is more compatible trunk. It expands only relative load path always. Trunk expands all load path always.
> If load path has many relative load path, (G1) to (G... -
07:10 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- ko1 (Koichi Sasada) wrote:
> Could you give us the explanation of compatibility impact?
> ...
Hi,
I think (S1) is more compatible trunk. It expands only relative load path always. Trunk expands all load path always.
If load path h... -
04:29 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Hi,
(2012/10/27 23:40), h.shirosaki (Hiroshi Shirosaki) wrote:
> Indeed in Greg's patch (4) load path cache remains when current working directory was changed. But so far I cannot find any test cases which fail with Greg's patch.... - 10:16 AM Revision 9f773625 (git): * ext/date/date_parse.c (iso8601_{ext,bas}_time): should not match
- empty string.
- この行以下は無視されます --
M ChangeLog
M ext/date/date_parse.c
M test/date/test_date_parse.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:53 AM Revision b4c6d6a3 (git): * ext/date/date_parse.c (date__parse): revised the tight parser.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 AM Bug #7171: test-all failure on OS X (RubyCI)
- mrkn (Kenta Murata) wrote:
> OS のファイアウォールが ON のときに該当のエラーが発生し、OFF のときに発生しない事を確認しました。
なるほど、道理で手元で起きないはずだ。
こんなこともあろうかと、なかださんが r35559 でrubyバイナリにコード署名する機能を足していまして、
コード署名していると「署名されているソフトウェアが外部からの接続を受け入れるのを自動で許可」がONになっていれば、
firewallが有効にな... -
09:03 AM Feature #3222 (Closed): Can bignums have singleton class & methods?
- This issue was solved with changeset r37348.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (bignew_1): Bignum instances are frozen.
Featu... -
08:23 AM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/28 8:13), Yukihiro Matsumoto wrote:
> Ah, some programs might expect modifying instance variables of fixnums.
> But I think you can ignore such programs for most of the case. Try it.
Roger, boss.
--
// SASADA ... -
08:23 AM Feature #3222: Can bignums have singleton class & methods? - Hi,
In message "Re: [ruby-core:48497] Re: [ruby-trunk - Feature #3222] Can bignums have singleton class & methods?"
on Sun, 28 Oct 2012 05:33:45 +0900, SASADA Koichi <ko1@atdot.net> writes:
|> Accepted.
|
|Should I c... -
06:59 AM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/28 6:45), Eregon (Benoit Daloze) wrote:
>> > class Fixnum; def fib; @fib ||= (self-1).fib + (self-2).fib; end; end; [0,1].each { |i| i.instance_eval { @fib = i } }
> => [0, 1]
>> > 42.fib
> => 267914296
>
> This is... -
06:45 AM Feature #3222: Can bignums have singleton class & methods?
- ko1 (Koichi Sasada) wrote:
> (2012/10/27 22:20), Eregon (Benoit Daloze) wrote:
> ...
I think it's to custom Numeric subclasses authors to chose for them to be frozen or not,
but I think having all core Numeric subclasses instances fro... -
05:53 AM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/27 23:25), matz (Yukihiro Matsumoto) wrote:
>
> Issue #3222 has been updated by matz (Yukihiro Matsumoto).
>
> Assignee changed from matz (Yukihiro Matsumoto) to ko1 (Koichi Sasada)
>
> Accepted.
Should I co... - 06:43 AM Revision af83fcfe (git): * lib/rexml/document.rb (REXML::Document#write): Add :encoding option
- to support custom XML encoding.
[Feature #4872] (work in progress)
* test/rexml/test_document.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Feature #6609: Toplevel as self extended module
- > We thought your slide included multiple requests.
Basically there were only two. It might seem like more b/c it is comprehensive in scope, covering many details in one go, i.e. Toplevel as a self extended module would provide #defin... -
06:39 AM Feature #6609: Toplevel as self extended module
- > We thought your slide included multiple requests.
Basically there were only two. It might seem like more b/c it is comprehensive in scope, covering many details in one go, i.e. Toplevel as a self extended module would provide #defin... - 06:01 AM Revision 292c659b (git): * lib/rexml/document.rb (REXML::Document#write): Remove needless
- indent in document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:59 AM Revision de2e09e0 (git): * lib/rexml/document.rb (REXML::Document#write): Accept options
- Hash as argument.
* test/rexml/test_document.rb: Add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Feature #7226: Add Set#join method as a shortcut for to_a.join
- Sorry, previous patch contained a typo. Here's an updated patch.
-
05:38 AM Feature #7226 (Rejected): Add Set#join method as a shortcut for to_a.join
- I was surprised that `Set.new.join` gives me a NoMethodError.
This patch that adds a #join method to Set, which is a shortcut for `to_a.join`.
- 05:10 AM Revision 134ded5d (git): * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage
- in document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:05 AM Revision 64c46476 (git): * lib/rexml/document.rb (REXML::Document#write): Fix wrong method
- names in document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 AM Bug #6809 (Assigned): Deprecation of Config
- Eregon (Benoit Daloze) wrote:
>
> ...
I do thin the warning should stay longer considering it was "recently" introduced in 1.9.3
While lot of projects have updated their code, there are still lot of extensions and libraries that use... -
01:13 AM Revision f8d34b2a (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the
- same thing on every call.
* test/psych/visitors/test_yaml_tree.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:06 AM Revision dbe6250a (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: YAML Tree object should
- be able to take an emitter object as it's output.
* test/psych/visitors/test_yaml_tree.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 AM Feature #4299 (Closed): no warning: found = in conditional, should be ==
- This issue was solved with changeset r37344.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: warn static content assign in cond
* parse.y (assig... -
12:42 AM Feature #2255: unicode parameters cannot be passed to ruby
- Thank you!
-
12:09 AM Feature #6372: More specific error for uncaught throw
- =begin
Is your objection to `#thrown?`. If so, that's not the feature request. It is just an example of usage. Consider this example instead from MiniTest:
##
# Fails unless the block throws +sym+
def assert_throws sym, msg... -
12:06 AM Feature #3388: regexp support for start_with? and end_with?
- I had a try implementing a global persistent cache for Regexps.
Is a global persistent cache OK? It seems bad for dynamically created regexps.
Maybe some kind of weak reference map?
akr: What kind of cache did you think to? -
12:03 AM Revision f3e5f2cd (git): * bignum.c (bignew_1): Bignum instances are frozen.
- Feature #3222
* include/ruby/ruby.h: Fixnum instances are also frozen.
* class.c (singleton_class_of): check Bignum before
singleton cheking.
* test/ruby/test_bignum.rb: add a test.
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/marsha...
10/27/2012
-
11:55 PM Feature #5552 (Rejected): Array#ljust, Array#rjust
- Hi,
I'm closing this ticket because of no feedback.
Please reopen if you still need these methods. -
11:51 PM Feature #4269 (Closed): command with && should execute as shell
- I think this has been implemented in #7143 (r37322).
Therefore, closing as duplicate. -
11:40 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Indeed in Greg's patch (4) load path cache remains when current working directory was changed. But so far I cannot find any test cases which fail with Greg's patch.
In rb_find_file_safe() in file.c load path is expanded without cache, s... -
12:43 AM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- Checking for "shares same array" is a great catch :) I like it.
But my patch #5767 for $LOAD_PATH so "invasive" cause there is markable benefits from overriding "$:.push", so that whole $LOAD_PATH will not be re-scaped after each $: <... -
11:29 PM Feature #3346: __DIR__ revisted
- mame (Yusuke Endoh) wrote:
> Thomas Sawyer and Yutaka Hara,
> ...
Sorry, I forgot to reply. I don't have a patch right now. -
11:25 PM Feature #3222: Can bignums have singleton class & methods?
- Accepted.
Matz.
-
10:29 PM Feature #3222: Can bignums have singleton class & methods?
- (2012/10/27 22:20), Eregon (Benoit Daloze) wrote:
> It makes sense to me to have them frozen, but I think we would need to freeze all Numeric instances as well for consistency (currently, Fixnum, Rational and Complex can have ivars).
... -
10:20 PM Feature #3222: Can bignums have singleton class & methods?
- ko1 (Koichi Sasada) wrote:
> How about "Freeze" all of Bignum instance?
> ...
It makes sense to me to have them frozen, but I think we would need to freeze all Numeric instances as well for consistency (currently, Fixnum, Rational and ... -
05:42 AM Feature #3222: Can bignums have singleton class & methods?
- How about "Freeze" all of Bignum instance?
It is big change, but I believe no impact on it.
Related ticket:
[ruby-dev:46081] [ruby-trunk - Feature #6936][Assigned] Forbid singleton class and instance variabls for float
(how to... -
11:22 PM Revision 5dc9855a (git): vm_insnhelper.c: fix indentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:00 PM Bug #6809: Deprecation of Config
- I would like some feedback on this.
It seems a potential compatibility problem, and is very annoying because it might fail to build a gem/extension which would be just fine otherwise.
I'm thinking the warning should stay in 2.0, so m... -
08:54 PM Feature #7019: allow `private` and `protected` keywords to take blocks
- Please do not forget also `module_function` and such. (Or are they different in some sense?).
Alexey. -
06:47 PM Feature #7019 (Assigned): allow `private` and `protected` keywords to take blocks
- > IMO, it is too slow to introduce such a big feature.
Completely agreed.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:36 AM Feature #7019: allow `private` and `protected` keywords to take blocks
- mame-san, could you judge this ticket?
IMO, it is too slow to introduce such a big feature.
-
08:12 PM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
- In Ruby, it is not a good idea to propose something because of consistency.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:16 AM Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
- No feedback there.
-
08:04 PM Feature #1482 (Assigned): Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Now ruby recognize batch files as "programs", so they are simply passed to
CreateProcess() API.
So, current behavior is Windows' spec.
However, I suspect that this (= simply being passed to CreateProcess API) is not intended.
I'll ... -
08:00 PM Bug #7221 (Feedback): Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- Could you show us a small example of extconf.rb to reproduce this issue?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:37 AM Bug #7221 (Rejected): Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- The kgio gem is unable to be compiled under 1.9.3-p286. The problem is the same as reported here: https://github.com/wayneeseguin/rvm/issues/1157, specifically the same issue is seen under ruby-1.9.3-p194 as reported here at https://gith...
-
07:59 PM Feature #2255: unicode parameters cannot be passed to ruby
- I think that if `-Eutf-8` is specified `ARGV` should be parsed from `GetCommandLineW()`
and converted to UTF-8.
But it's difficult to change ruby with keeping compatibility.
I'll try it till code freeze, but I can't promise that it wi... -
07:47 PM Revision 2731767b (git): * vm.c (vm_define_method): remove type and frozen checking.
- Checking is done in `rb_singleton_class()'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 PM Feature #1927: rb_w32_readdir seems to be superseded by rb_w32_readdir_with_enc
- I'll be remove it (and other useless APIs) before code freeze.
-
07:33 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
- headius (Charles Nutter) wrote:
> mame: I do not understand how there's any way Linux would be different from any other platform. If there's no room in contiguous memory to expand a pointer, the data must be moved elsewhere in memory. A... -
03:51 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
- mame: I do not understand how there's any way Linux would be different from any other platform. If there's no room in contiguous memory to expand a pointer, the data must be moved elsewhere in memory. Am I missing something?
-
10:50 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- ko1 (Koichi Sasada) wrote:
> Who can judge this ticket?
> ...
Not concluded, but currently we know:
- This feature provides "a Ruby-level workaround" for a poor realloc
implementation on some runtime, such as JVM, and possibly os... -
10:44 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- Hello headius,
headius (Charles Nutter) wrote:
> Trying to wake this beast up...
> ...
Linux's realloc(3) man-page does NOT say that.
http://www.kernel.org/doc/man-pages/online/pages/man3/malloc.3.html
Perhaps you saw os x's r... -
04:39 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
- Who can judge this ticket?
I can't understand this issue because there is long discussion.
Could anyone summarize a conclusion? -
07:09 PM Bug #7107 (Assigned): Ruby can no longer find constants in methods in anonymous modules
- Indeed, it looks a bug. Nobu, could you investigate?
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:06 PM Feature #6286: Add Exception#format method
- ko1 (Koichi Sasada) wrote:
> mame-san, could you check it?
Looks too specific to include it in core...
At least, it is not a urgent need, I think.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:26 AM Feature #6286 (Assigned): Add Exception#format method
- mame-san, could you check it?
-
06:58 PM Feature #6596 (Assigned): New method `Array#indexes`
- ko1 (Koichi Sasada) wrote:
> Is it a bug or a feature?
I think it is a feature, in every respect.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:24 AM Feature #6596: New method `Array#indexes`
- Is it a bug or a feature?
-
06:49 PM Bug #6914 (Assigned): unable to build ruby-head
- I don't have os x. Sorah, could you handle this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:22 AM Bug #6914 (Feedback): unable to build ruby-head
- Could you reproduce this issue yet?
-
06:38 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Eric,
drbrain (Eric Hodel) wrote:
> Removing it in 3.0 with a warning in 2.x would be more appropriate.
We are actually trying to do so. r37316 is a warning patch for that.
And the warning, not changing syntax, caused many test ... -
01:57 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- I indeed agree
-
01:49 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- I don't think it is appropriate to include this change in the ruby 2.x series without any deprecation period. I have many libraries that depend on it.
Removing it in 3.0 with a warning in 2.x would be more appropriate. - 03:49 PM Revision 492fcfda (git): * 2012-10-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:49 PM Revision e672994d (git): parse.y: warn static content assign in cond
- * parse.y (assign_in_cond): warn for static content object asignments
in conditional statements. [ruby-dev:43083] [Feature #4299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:55 PM Bug #6558 (Rejected): Crash in garbage collection - using caller inside finalizer method
- Ummm.. I can't reproduce SEGV in trunk.
Please reopen this ticket if you reproduce it.
Thanks. -
09:25 AM Bug #6558: Crash in garbage collection - using caller inside finalizer method
- nari-san, could you check it?
-
02:36 PM Revision 1fe57831 (git): * gc.c (gc_profile_result, gc_profile_report): use internal structures
- to avoid allocations and progressively print the output for #report.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:23 PM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- "brixen (Brian Ford)" <brixen@gmail.com> wrote:
> There are serious problems with aliasing the same fd as IO#dup does.
> It is not consistent across platforms. At the very least, the
> implementation leaves huge holes, like allowi... -
12:30 PM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- drbrain (Eric Hodel) wrote:
> This is intentional behavior which has existed since 1998. It is not a bug.
> ...
Ruby's accidental POSIX semantics are a problem that eg JRuby and any attempt to make Ruby function well on Windows must co... -
12:28 PM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- drbrain (Eric Hodel) wrote:
> This is intentional behavior which has existed since 1998. It is not a bug.
> ...
The time it has been implemented is a ridiculous standard. So is requiring it to be easy to adapt to. Nothing that has chan... -
11:23 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- "brixen (Brian Ford)" <brixen@gmail.com> wrote:
> There is no other Ruby core class that causes aliasing when calling
> #dup. String#dup, for example, is called in code precisely to create a
> new String so the original would not ... -
10:54 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- "brixen (Brian Ford)" <brixen@gmail.com> wrote:
> There's also a dup2() system call. Why don't we provide that one as well?
IO#reopen already provides dup2() (or dup3() if available) -
10:18 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- This is intentional behavior which has existed since 1998. It is not a bug.
When I am working with IOs I expect the ruby methods to follow POSIX conventions more than ruby conventions. This method is not the only one in the standard lib... -
06:55 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- There's also a dup2() system call. Why don't we provide that one as well?
-
06:46 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- If dup(2) functionality is actually needed, create an IO.system_dup method that return a dup(2) fd and use that fd in IO.new/IO.for_fd.
The fact there there is a dup() system call should not make IO.dup inconsistent with the semantics... -
06:15 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- IO#dup calls dup(2) and StringIO#dup matches this behavior.
Making IO#dup call open(2) would break backwards compatibility.
How do you propose we implement dup(2) for IO? -
04:42 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- If StringIO manifests this behavior as a copy of IO's behavior, both should be consider bugs.
RubySpec has a quarantined spec for this behavior in IO with a comment stating that there are platform incompatibilities with this IO "state... -
04:23 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- I believe, as you supposed on IRC, that this is designed to mimic IO behavior. IO#dup will dup the underlying file descriptor, but they do not maintain their own notion of position into the file; advancing one advances the other. Surely ...
-
03:53 AM Feature #7220: Separate IO#dup, StringIO#initialize_copy from dup(2)
- I have found the test for #dup that actually asserts this behavior is correct. Please tell me that is a mistake.
Thanks,
Brian -
03:38 AM Feature #7220 (Open): Separate IO#dup, StringIO#initialize_copy from dup(2)
- Calling StringIO#initialize_copy causes the two objects to share the position, and eof status.
Is this a bug?
sasha:rubinius brian$ irb
1.9.3p286 :001 > require 'stringio'
=> true
1.9.3p286 :002 > a = StringIO.new "abcdefuq"
... -
02:12 PM Feature #6910 (Rejected): Loading syck's broken yaml with psych
- I've pushed a gem for people that want to upgrade to Ruby 2.0.0, but still have Syck's YAML:
https://rubygems.org/gems/syck
Since libyaml does the actual YAML parsing, we would either have to include syck with psych, or ship liby... -
02:02 PM Feature #6555 (Rejected): New comparison operators
- I am still in doubt for adding more comparison operators.
We need clear benefit to make a big change like this.
Matz.
-
01:58 PM Feature #6539: public and private for core methods
- Concrete counter proposal:
Should be made private:
Object and descendants
#initialize_clone
#initialize_dup
#respond_to_missing?
Rational & Complex
#marshal_dump
#marshal_load
Time
#_dump
._... -
01:45 PM Feature #6372 (Rejected): More specific error for uncaught throw
- I don't like the design that uses thrown instead of catch, since it disrespect the tradition of catch/throw from Lisp.
Matz.
-
01:26 PM Feature #6973 (Assigned): Add an #integral? method to Numeric to test for whole-number values
- I think mrkn is eligible to handle this ticket.
The following is my personal comment.
regularfry (Alex Young) wrote:
> > Personally, I'm not entirely convinced this method is a good idea.
> ...
Your points is valid as long as we c... -
07:35 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- mame-san, could you judge on it?
-
12:52 PM Feature #6841 (Assigned): Shorthand for Assigning Return Value of Method to Self
- It requires matz's approval.
My personal comment: I agree, in fact I have thought the same thing
(and as I recall, unak implemented a patch).
But "..= to_i" resembles a variable named `to_i'. I wonder if matz
is interested or not.... -
07:32 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- mame-san, could you judge this ticket?
-
12:31 PM Feature #6824 (Rejected): StopIteration gets a source method
- Hello,
jasiek (Jan Szumiec) wrote:
> This is useful when you're merging multiple collections using min/max - when one of the collections is exhausted it can be easily ignored.
You are misunderstanding merge sort.
Your example doe... -
07:31 AM Feature #6824: StopIteration gets a source method
- mame-san, could you judge this ticket?
-
12:29 PM Bug #7171: test-all failure on OS X (RubyCI)
- OS のファイアウォールが ON のときに該当のエラーが発生し、OFF のときに発生しない事を確認しました。
CI を動かす環境のファイアウォールは OFF にしておいた良さそうですね。
Mountain Lion の方は VMware Fusion に環境を移行しようと思いますので、それまで出続けるかもしれませんが、しばしお待ちください。
Lion の方は会社のマシンを使っていて VMware Fusion のライセンスを持っていないので、すぐに対応出来ない... -
11:51 AM Feature #6636 (Assigned): Enumerable#size
-
11:45 AM Feature #6671 (Assigned): File.split_all and File.split_root
- I think I have no right to accept any feature.
Even if I have, I won't use the right without any particular reason.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:13 AM Feature #6671: File.split_all and File.split_root
- mame-san: Please judge this ticket.
-
11:39 AM Feature #6609: Toplevel as self extended module
- Sorry for my very late reply.
We thought your slide included multiple requests.
Some were accepted, and others rejected.
- Matz rejected "module Main". He said that "Toplevel pollution" (you are
saying) is actually designed.
... -
07:11 AM Feature #6609: Toplevel as self extended module
- Could you tell us the result of dev-meeting about it and judge this ticket?
-
11:23 AM Feature #6936: Forbid singleton class and instance variabls for float
- (2012/10/27 10:45), SASADA Koichi wrote:
> rubyspec のほうはまだ見ておりません.コメント頂ければ幸いです.
("%s" % -0.0.taint).tainted?.should == true # -0.0 is not flonum
こういうテストなんですが,消せば良いんではないかと思います.
# -0.0 は flonum じゃない,ってのは ad-hoc 過ぎる気が... -
11:23 AM Feature #6936: Forbid singleton class and instance variabls for float
- (2012/09/05 11:09), naruse (Yui NARUSE) wrote:
> 以下のような感じですかね
このパッチで気づいたんですが(これをあてると),
p 1.frozen? #=> false
p 1.0.frozen? #=> true
のように,Float は frozen なんですが,Fixnum は frozen じゃないんですね.
--
// SASADA Koichi at ... -
11:10 AM Feature #6936 (Closed): Forbid singleton class and instance variabls for float
- This issue was solved with changeset r37341.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_float_new_in_heap), include/ruby/ruby.h:
make al... -
10:54 AM Feature #6936: Forbid singleton class and instance variabls for float
- (2012/10/27 10:02), SASADA Koichi wrote:
> とりあえず,テストを直せば良さそうだなぁと思っています.
直しながら考えてたんですが,現在
- 1 や :sym などは "can't define singleton method (TypeError)"
- frozen object は "can't modify frozen Float (RuntimeError)" のよう
に,Runti... -
10:23 AM Feature #6936: Forbid singleton class and instance variabls for float
- (2012/10/27 9:05), SASADA Koichi wrote:
> (2012/10/27 8:38), matz (Yukihiro Matsumoto) wrote:
>> Assignee changed from matz (Yukihiro Matsumoto) to ko1 (Koichi Sasada)
>>
>> OK, I'd like to see if everything goes well. Merge it... -
09:23 AM Feature #6936: Forbid singleton class and instance variabls for float
- (2012/10/27 8:38), matz (Yukihiro Matsumoto) wrote:
> Assignee changed from matz (Yukihiro Matsumoto) to ko1 (Koichi Sasada)
>
> OK, I'd like to see if everything goes well. Merge it.
Roger, boss.
--
// SASADA Koich... -
08:38 AM Feature #6936: Forbid singleton class and instance variabls for float
- OK, I'd like to see if everything goes well. Merge it.
Matz.
-
11:23 AM Feature #6762: Control interrupt timing
- (2012/10/27 11:10), Eric Wong wrote:
>> Eric (Wong), will you attend RubyConf?
>
> No.
:(
--
// SASADA Koichi at atdot dot net -
11:23 AM Feature #6762: Control interrupt timing
- "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> Eric (Wong), will you attend RubyConf?
No. -
07:26 AM Feature #6762: Control interrupt timing
- It still remains naming consideration.
Comments are welcome.
And we need `signal handling' feature.
Kosaki-san, could we discuss about it at RubyConf next week?
Eric (Wong), will you attend RubyConf? -
11:23 AM Feature #5690: Module#qualified_const_get - On Sat, Oct 27, 2012 at 09:11:51AM +0900, ko1 (Koichi Sasada) wrote:
>
> Issue #5690 has been updated by ko1 (Koichi Sasada).
>
>
> I got SEGV.
> could you run "make test-rubyspec" on your environment?
I can't seem t... -
09:11 AM Feature #5690: Module#qualified_const_get
- I got SEGV.
could you run "make test-rubyspec" on your environment?
/mnt/sdb1/ruby/trunk/spec/rubyspec/core/module/const_get_spec.rb:34: [BUG] Segmentation fault
ruby 2.0.0dev (2012-10-27 trunk 37336) [x86_64-linux]
-- Control fr... -
11:13 AM Feature #6594: Integrated Functor
- This ticket was rejected, but the reason was too difficult for me to write.
So I asked matz to reply to this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:03 AM Feature #6594: Integrated Functor
- mame-san, could you write the result of dev-meeting and judge this ticket?
-
11:06 AM Revision 493d2533 (git): * struct.c: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:01 AM Feature #3207 (Closed): refinement of IO's bizarre behavior
- Those tickets have been all closed/rejected in any way.
So I think we can close this ticket too.
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:38 AM Feature #3207: refinement of IO's bizarre behavior
- mame-san, could you give us your comment?
-
10:59 AM Feature #2740: Extend const_missing to pass in the nesting
- It looks we need matz's approval.
Sorry I cannot remember the detailed status immediately.
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:32 AM Feature #2740: Extend const_missing to pass in the nesting
- Who's ball?
mame-san, could you give us the response? -
10:54 AM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
- "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> Ad-hoc solution, but environment variable (such as
> RUBY_THREAD_MACHINE_STACK_SIZE) is enough for this issue?
I think environment variable is too ugly, but it's your (or m... -
06:08 AM Feature #4614 (Feedback): [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
- Ad-hoc solution, but environment variable (such as RUBY_THREAD_MACHINE_STACK_SIZE) is enough for this issue?
-
10:44 AM Feature #6284 (Feedback): Add composition for procs
- Positive about adding function composition. But we need method name consensus before adding it?
Is `#*` OK for everyone?
Matz.
-
10:33 AM Feature #6678: Precedence of ^ operator
- > gives me a 404 (There isn't a GitHub Page hosted here, sorry.).
It was just the same write-up with different formatting. So nothing missed.
> ...
It's a valid reason. I was just saying what I concluded putting that particular reason ... -
06:29 AM Feature #6678: Precedence of ^ operator
- On 2012/10/27 1:04, trans (Thomas Sawyer) wrote:
>
> Issue #6678 has been updated by trans (Thomas Sawyer).
>
>
> I take it you read the article? Do you see the issue I am having in need of an operator with a precedence above ... -
01:04 AM Feature #6678: Precedence of ^ operator
- I take it you read the article? Do you see the issue I am having in need of an operator with a precedence above + - * and /? So what solution would you recommend?
Note, I am not saying '^' should stop being XOR, or that it should beco... -
10:17 AM Feature #2447: reduce GC pressure by symbol table without String instance
- うーん、他の作業がすべて終わったあとで気力があればやります。ないかも
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:09 AM Feature #2447: reduce GC pressure by symbol table without String instance
- すみません,「やります」と書いておきながら,全然覚えてないんですが,
私はとくに反論ないので(テストが通るなら),遠藤さん入れちゃいませんか?
-
10:13 AM Feature #6757 (Assigned): [PATCH] Add Process.getsid
- こういうシステム系の機能は判断する自信ないです。
一家言ありそうな akr さんに振ってみます。
テストがないですが、意味のあるテストは書けないものですかね。
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:23 AM Feature #6757: [PATCH] Add Process.getsid
- 遠藤さん,どうしたもんでしょうか.
-
10:08 AM Feature #1493 (Closed): [patch] lex_state as bit field / IS_lex_state() macro
- This issue was solved with changeset r37338.
Dave, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: bit field lex_state
* parse.y (enum lex_state_e): [EXPE... -
09:54 AM Feature #2709: $VERBOSE, $DEBUG and Kernel#sprintf
- +1 The behavior seems too surprising. In general I do not think $DEBUG and $VERBOSE should alter execution, but rather only serve to change information provided to user/developer. In other words, it should be an error, or not, independen...
-
05:54 AM Feature #2709: $VERBOSE, $DEBUG and Kernel#sprintf
- I personally like this feature so I really hesitate to reject, but as matz do not like it so much, there are relatively few chances for the proposal now.
We have to persuade him. -
09:46 AM Feature #6724 (Closed): waaaaaaant! (ISeq.load)
-
09:28 AM Bug #4387: test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- 誰に押しつけたモノだか迷ったのですが,とりあえず詳しそうななるせさんに振りました.
これ,どうするべきでしょうか. -
09:27 AM Feature #5994 (Assigned): Dir.glob without wildcards returns pattern, not filename
- nobu, could you reply to it?
-
08:30 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
- ko1 (Koichi Sasada) wrote:
> これ,どうでしょう.
> ...
はい。遅くならないうちに入れます。
それはそうとしてGlass_Sagaはにコミット権をあげた方が便利ではないかという気がしています。 -
05:14 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
- これ,どうでしょう.
卜部君にお願いすればいいでしょうか.
-
08:10 AM Feature #7075: const_get でトップレベルの定数を参照する時に警告
- const_getをする人は事態を把握しているのではないかと思って警告してなかったんですが、必要ですかねえ。
まあ、やってみてくださっても構いません。 -
07:38 AM Feature #7075: const_get でトップレベルの定数を参照する時に警告
- 近永さんがさくっと入れちゃうとどうでしょうか.
警告だとあまり困る人は居なさそう?
string concatenation の警告では,テストが全然通らなくなった,という例が
最近あったので,その辺が問題無ければいいような気がするんですが,どうでしょう.
まつもとさん,いかがでしょうか.
-
08:06 AM Feature #6177: array.cのrb_ary_equal()の高速化
- コミット権、さしあげます。cvs-admin at ruby-lang.org にssh2の公開鍵をgpgでサインして送ってください。
Matz.
-
08:03 AM Feature #2348: RBTree Should be Added to the Standard Library
- I am not positive about adding a new library to the distribution while we are discussion moving toward gems.
I am not refusuig, however, so I label this "next minor".
Matz. -
05:08 AM Feature #2348: RBTree Should be Added to the Standard Library
- ping. status?
-
07:53 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
- ko1 (Koichi Sasada) wrote:
> ping.
> ...
Replied in [ruby-core:48192], still working on a patch, might show some progress this weekend. -
07:30 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
- ping.
status?
-
07:35 AM Feature #6980: OpenSSL support for AEAD additional authenticated data and tags
- Marin, how about this ticket?
-
07:27 AM Feature #6763 (Closed): Introduce Flonum technique to speedup floating computation on th 64bit environment
- I already merged.
Thanks.
-
07:25 AM Feature #836: Patches for StringScanner, adding #size, #captures and #values_at
- Seems fine to me.
-
07:21 AM Feature #6714: Code injection framework
- Sorry, maybe I don't have enough time to make it until 2.0 release.
I will introduce C level (helper?) API to implement this feature if I can. -
07:17 AM Feature #6707: Remove checks for Ruby 1.9 in trunk
- ping.
status?
-
07:16 AM Feature #6695: Configuration for Thread/Fiber creation
- Same as #6693 ...
-
07:15 AM Feature #6694: Thread.new without block.
- I don't have good name about it.
I postpone this ticket.
-
07:13 AM Feature #6670: str.chars.last should be possible
- ping.
status?
-
07:12 AM Feature #6637 (Closed): Add HTML5 support to CGI
- It seems closed.
-
07:07 AM Feature #6602: Tail call optimization: enable by default?
- Alexey: to introduce new syntax (or method), we need more discussion (mainly on name ;)).
I changed target to next minor.
-
06:57 AM Feature #6376: Feature lookup and checking if feature is loaded
- mame-san, could you judge this ticket?
-
06:53 AM Feature #6256: Slightly improve ruby_qsort performance
- ping. status?
-
06:52 AM Feature #6251: Magic comments for compile options
- Sorry, I can't implement it until 2.0 release.
-
06:51 AM Feature #6216: SystemStackError backtraces should not be reduced to one line
- Matz, could you reply to it?
-
06:50 AM Feature #6210: load should provide a way to specify the top-level module
- I changed target to next minor because no discussion on it.
-
06:46 AM Feature #6173: re.cのrb_memsearch()におけるmemchr()の利用
- パッチの判断は中田さん,お願い出来ますか&コミット頂けませんか.
コミッタ権の判断は,まつもとさんでもいいんですが,多分反対は無さそうですが.
-
06:44 AM Feature #4243 (Closed): [PATCH] DRb should not forefully close connections on DRb#stop_service
- I close this ticket. Seki-san said no such problem now.
Please re-open this ticket if the issue is not gone. -
06:39 AM Feature #6056: Enhancements to OpenStruct
- ping.
status?
-
06:38 AM Feature #6047: read_all: Grow buffer exponentially in generic case
- ping. status?
Do you need helps or comments?
-
06:36 AM Feature #5866: ValidationError
- I changed target to next minor because no feedback there.
-
06:35 AM Bug #7070 (Third Party's Issue): sometimes backticks can fail to return data
- I'm going to guess for now that this is a windows bug (or cmd.exe bug)--when you run cmd.exe and it also includes redirection, sometimes it returns nothing (even with python). Weird. Work around might be to use ffi or Process.spawn inst...
-
06:34 AM Feature #5825: Sweet instance var assignment in the object initializer
- I changed target to next minor.
I think someone who want to introduce it need to persuade matz.
-
06:31 AM Feature #5781: Query attributes (attribute methods ending in `?` mark)
- I changed target to next minor because no discussion on it.
-
06:30 AM Feature #5741: Secure Erasure of Passwords
- ping. status?
I think matz doesn't know this ticket.
Could someone grab this ticket?
-
06:27 AM Feature #5643: require/load options and binding option
- I changed target to next minor because no discussion on it.
-
06:23 AM Bug #7097: Thread locals don't work inside Enumerator - On Sat, Oct 27, 2012 at 05:09:36AM +0900, Eregon (Benoit Daloze) wrote:
>
> Issue #7097 has been updated by Eregon (Benoit Daloze).
[snip]
> > If we implement these 4 new method in my patch, our API footprint is
> > o... -
05:59 AM Bug #7097: Thread locals don't work inside Enumerator
- On 26 October 2012 22:26, SASADA Koichi <ko1@atdot.net> wrote:
> (2012/10/27 5:09), Eregon (Benoit Daloze) wrote:
>> Yeah, I think these examples are not particularly the best, but I see no other good name (well, #[] and #[]= but th... -
05:29 AM Bug #7097: Thread locals don't work inside Enumerator
- (2012/10/27 5:09), Eregon (Benoit Daloze) wrote:
> Yeah, I think these examples are not particularly the best, but I see no other good name (well, #[] and #[]= but they are already taken). I'd rather remove the 'thread_' prefix from n... -
05:09 AM Bug #7097: Thread locals don't work inside Enumerator
- Aaron wrote:
> On Fri, Oct 26, 2012 at 11:38:19PM +0900, Eregon (Benoit Daloze) wrote:
> ...
Yeah, I think these examples are not particularly the best, but I see no other good name (well, #[] and #[]= but they are already taken). I'd ... -
02:53 AM Bug #7097: Thread locals don't work inside Enumerator - On Fri, Oct 26, 2012 at 04:41:09PM +0900, SASADA Koichi wrote:
> (2012/10/26 15:41), Aaron Patterson wrote:
> >> I recommend that Thread#[] should be reference to
> >> > Thread#thread_variable_get, and so on.
> > The documentati... -
02:53 AM Bug #7097: Thread locals don't work inside Enumerator - On Fri, Oct 26, 2012 at 11:38:19PM +0900, Eregon (Benoit Daloze) wrote:
>
> Issue #7097 has been updated by Eregon (Benoit Daloze).
>
>
> tenderlovemaking (Aaron Patterson) wrote:
> > I spoke with ko1-san and Usa-san last... -
02:40 AM Bug #7097: Thread locals don't work inside Enumerator
- Updated patch with documentation.
-
06:23 AM Feature #5434: Allow per-class whitelisting of methods safe to expose through DRb
- I changed target to next minor because no discussion on it
-
06:17 AM Feature #5133: Array#unzip as an alias of Array#transpose
- ええと,まつもとさんアサインで進むのだろうか?
mrkn さんがまつもとさんを説得して,next minor から 2.0 に戻して下さい. -
06:14 AM Feature #4978: forwardable: support for 'delegate :method => :accessor'
- I changed target to next minor because no discussion.
-
06:11 AM Feature #4766: Range#bsearch
- ping. status?
-
06:09 AM Feature #4647 (Closed): [PATCH] io/wait: add IO#wait_writable method
- I closed this ticket because it is duplicated.
-
06:02 AM Feature #3917 (Closed): [proposal] called_from() which is much faster than caller()
- I close this ticket.
Let's discuss naming issue with
https://bugs.ruby-lang.org/issues/7051
-
06:01 AM Feature #2565: adding hooks for better tracing
- Oops, yes. I've updated the probes. I removed `line` and added some probes around tracing instruction sequences. It's basically the same information that the vm_collect_usage functions collect, but you don't need to recompile ruby to ...
-
05:10 AM Feature #2565: adding hooks for better tracing
- ping. progress? :)
-
05:58 AM Feature #4532: [PATCH] add IO#pread and IO#pwrite methods
- kosaki-san, could you talk with matz about this ticket?
Please change target to 2.0 if you success to persuade matz.
-
05:56 AM Feature #4299: no warning: found = in conditional, should be ==
- 放置されているようなので next minor に送っておきます.
-
05:54 AM Feature #4183: [ext/openssl] Timestamp support
- ping. status?
-
05:52 AM Feature #4046: Saving C's **argv and cwd allows Ruby programs to reliably restart themselves
- I changed target to next minor because no feedback.
-
05:51 AM Feature #2631: Allow IO#reopen to take a block
- I was poked by _ko1. But we lack a implementation proposal.
So I move its target to next minor. It might happen to be implemented some time later but not today.
Any opinions? -
05:48 AM Feature #3731: Easier Embedding API for Ruby
- Ah, sorry for pending.
I need one more body (brain?) of myself.
-
05:43 AM Feature #3251 (Rejected): allow to unlock mutex locked by another thread
- 小崎さん,ありがとうございます.
とりあえず,Mutex になんかするのは reject ということで,
すみませんが,整理して別 ticket としてください>遠藤さん -
05:37 AM Feature #3187: Allow dynamic Fiber stack size
- I'm considering it because no progress on https://bugs.ruby-lang.org/issues/6694 (sorry, it is naming issue, I think).
Can I add an environment variable (such as RUBY_FIBER_MACHINE_STACK_SIZE) to avoid this issue temporarily?
-
05:34 AM Feature #3001: Ruby stdlib: Benchmark::Tms #memberwise drops labels
- I changed target to next minor because there is no discussion on it.
No feedback? -
05:33 AM Feature #2832: Vector#each and Enumerable
- ping. status?
-
05:30 AM Feature #2710: Kernel#load loads a relative path
- I changed target to next minor because no discussion on it.
-
05:23 AM Feature #2645 (Rejected): Have a method in StringScanner which returns the position in characters rather than in bytes
-
05:23 AM Feature #1586: Including a module already present in ancestors should not be ignored
- I'm looking forward to consistent module inclusion :-)
I should have talked about Marc-andre's example with multiple inclusion at
the same level (same class/module/object), coz I don't think it should be
done this way. The exam... -
04:47 AM Feature #1586: Including a module already present in ancestors should not be ignored
- Nobu, could you help to implement (1)?
I'm not sure (2) can get 2.0 release. Sorry.
-
05:14 AM Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination
- I changed target to next minor because there is no discussion about it.
-
05:04 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- I need to read this patch carefully. Sorry for long absent.
-
04:56 AM Feature #2152: Split functionality of Float#inspect and Float#to_s
- Who's ball?
-
04:53 AM Feature #1952: cannot stop with Ctrl+C
- I'll fix it soon, at least before 2.0.
-
04:52 AM Feature #1906 (Closed): Kernel#backtrace: Objectifying Kernel#caller
- I close this issue because #3917 was accepted.
Please re-open I'm misunderstanding.
-
04:49 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
- I changed the target to "next minor" because no discussion there.
-
04:42 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
- ping. status?
-
04:41 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
- I changed the target "next minor" this ticket because no response here.
-
04:33 AM Feature #614: instance_method(ancestor)
- Discussion was stopped.
-
04:32 AM Feature #5922: Migrate equal? to identical?
- Someone else suggested `#same?` as alternate name.
Seems unfortunate to see a clear improvement held back by tradition alone.
-
02:10 AM Revision 180c744b (git): * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h:
- make all Float objects frozen.
[ruby-dev:46081] [ruby-trunk - Feature #6936]
Most part of patch by NARUSE, Yui <naruse@ruby-lang.org>.
* class.c (singleton_class_of): raise TypeError when
trying to define a singleton method on Flo... -
01:51 AM Revision 909bc583 (git): * object.c (rb_mod_const_get): make sure the constant name is
- converted to a string before searching. [ruby-core:48405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:16 AM Revision d090f17f (git): * iseq.c (rb_iseq_compile_with_option): Instead of testing
- respond_to, just check if the argument is actually a file,
because by calling user-defined gets something weired can
happen. Patch by Glass_saga. [ruby-dev:40202] [Bug #2861]
* parse.y (ripper_initialize): ditto.
git-svn-id: svn+... -
01:07 AM Revision 197e7b81 (git): parse.y: bit field lex_state
- * parse.y (enum lex_state_e): [EXPERIMENTAL] lex_state as bit field /
IS_lex_state() macro. based on the patch by Dave B in
[ruby-core:23503]. [Feature #1493]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37338 b2dd03c8-39d4-... -
01:05 AM Revision 854c5ec4 (git): win32.h: fstat on mingw32
- * include/ruby/win32.h (fstat): use _fstati64() instead of fstati64()
on mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/26/2012
-
11:38 PM Bug #7097: Thread locals don't work inside Enumerator
- tenderlovemaking (Aaron Patterson) wrote:
> I spoke with ko1-san and Usa-san last night, and we thought that thread_variable_(get|set) would be good (similar to instance_variable_(get|set)). I've attached an updated patch to make that ... -
04:53 PM Bug #7097: Thread locals don't work inside Enumerator
- (2012/10/26 15:41), Aaron Patterson wrote:
>> I recommend that Thread#[] should be reference to
>> > Thread#thread_variable_get, and so on.
> The documentation I added for Thread#thread_variable_get does reference
> Thread#[], a... -
03:53 PM Bug #7097: Thread locals don't work inside Enumerator - On Fri, Oct 26, 2012 at 02:40:53PM +0900, SASADA Koichi wrote:
> I don't have any objection.
>
> I recommend that Thread#[] should be reference to
> Thread#thread_variable_get, and so on.
The documentation I added for Thre... -
02:53 PM Bug #7097: Thread locals don't work inside Enumerator
- I don't have any objection.
I recommend that Thread#[] should be reference to
Thread#thread_variable_get, and so on.
----
Should we add the following new methods to clarify thread local and
fiber local?
Thread#fi... -
07:19 AM Bug #7097: Thread locals don't work inside Enumerator
- I spoke with ko1-san and Usa-san last night, and we thought that thread_variable_(get|set) would be good (similar to instance_variable_(get|set)). I've attached an updated patch to make that change. The documentation includes examples ...
-
10:11 PM Feature #6875: Make test/unit default gem
- I comment on this issue.
I think that this issue is the right issue for talking about only test-unit.gemspec. If you want to talk about "default gem", #5481 is the right issue. If the latter is true, please use #5481.
vo.x (Vit Ondru... - 09:31 PM Revision bc9428b7 (git): * 2012-10-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:31 PM Revision 82af182e (git): * object.c (rb_mod_const_get): const_get accepts qualified constant
- strings. e.g. Object.const_get("Foo::Bar::Baz") [ruby-core:41404]
* test/ruby/test_module.rb: tests for new behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:28 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Right now I'm in the middle of some very tight deadlines in my job and won't have time to fix all usages of this kind of string concatenation but I'd be happy to do so next year, although I'm afraid I wouldn't be on time for Ruby 2.0 rel...
-
08:10 PM Bug #7158: require is slow in its bookkeeping; can make Rails startup 2.2x faster
- I heard that taru-san's analysis of for your patch (1) to (4).
(1) to (3) are good (no compatibility issue). "freezing" strings are acceptable (no impact, I think). I want to introduce them.
However, (4) has compatibility issue bec... -
12:10 PM Feature #6478: BasicObject#__class__
- =begin
"Method transplanting" is introduced into 2.0, so you can write:
class Foo < BasicObject
include ::Module.new {
[:dup, :initialize_dup, :initialize_copy].each {|m|
define_method(m, ::Kernel.instance_method... -
11:59 AM Feature #6023 (Rejected): Add "a ?= 2" support for meaning "a = a.nil? ? 2 : a"
-
11:57 AM Feature #6561 (Rejected): ?= operator
- I'm not against this feature concept, but '?=' conflicts with existing syntax.
You have to propose different syntax. -
11:54 AM Feature #6678 (Rejected): Precedence of ^ operator
- '^' is not a power operator in Ruby.
-
10:53 AM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles
- Eregon (Benoit Daloze) wrote:
> authorNari (Narihiro Nakamura) wrote:
> ...
I see. This patch is OK for me. Could you commit it?
> BTW, should unused fields in gc_profile_record not be defined when GC_PROFILE_MORE_DETAIL is false?
... -
01:09 AM Bug #6865: GC::Profiler.report might create a huge String and invoke a few GC cycles
- authorNari (Narihiro Nakamura) wrote:
> I see. It is better for memory usage to progressively write the IO stream on #report.
> ...
Yes. I tried to have a common buffer for all lines, but I could not make it work as rb_io_write() (and ... -
09:19 AM Bug #7216 (Closed): object.c defines clone method for objects that cannot be cloned.
- As the subject says, in object.c, the clone method is defined and then special cased for certain object types. The end result is that all respond_to?(:clone) returns true for all objects, but then thows an fatal error in some cases. He...
- 08:22 AM Revision 43294dff (git): merge revision(s) 34397: [Backport #6881]
- * file.c (append_fspath): need to set the encoding to result always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:18 AM Bug #7166 (Closed): Speed up Hash#dup by patching Hash#initialize_copy
-
05:33 AM Bug #4443 (Open): odd evaluation order in a multiple assignment
- It looks to be closed by mistake.
- 05:08 AM Revision 48e95864 (git): merge revision(s) 34374: [Backport #6681]
- * file.c (rmext): no extension to strip if empty string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:24 AM Revision 8ee4f0ad (git): * 2012-10-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:24 AM Revision e7576a77 (git): parse.y: concatenated literals
- * parse.y (literal_concat_gen): merge fixed strings across
concatenated literals, after an interpolation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:02 AM Bug #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)
- @usa I'm sorry but http://bugs.ruby-lang.org/projects/ruby-193/repository/revisions/37155 does not backport tool/mkconfig.rb please check again the description.
-
03:43 AM Feature #5481: Gemifying Ruby standard library
- Thank you for clarification, waiting for NaHi and offering my help.
- 03:01 AM Revision 0e6dcc7a (git): merge revision(s) 32826,34732: [Backport #6681]
- * file.c (rb_enc_path_next, rb_enc_path_skip_prefix)
(rb_enc_path_last_separator, rb_enc_path_end)
(ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware
path handling functions.
* file.c (rb_home_dir, file_expand_path, r... - 12:52 AM Revision c5b7d11e (git): merge revision(s) 35488:
- * ext/-test-/win32/dln/extconf.rb: remove test DLL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 AM Feature #4569: Replace IPAddr with IPAddress
- I've made a hopefully last set of changes to ipaddr.rb in trunk a couple months ago:
- introduction of IPAddr::Error for ease of selectively catching IP address errors
- inhibition of zero-filled IPv4 address notation which is ambigu... -
12:10 AM Bug #7215 (Assigned): Remaining messages on OpenSSL error queue after Certificate#verify