Activity
From 06/22/2012 to 06/28/2012
06/28/2012
-
10:01 PM Bug #6664 (Rejected): Object finalizer do not run until program exit
- =begin
No.
(1) an object may not be collected even if it seems not referred from reading the code.
(2) finalizers may not run just after the object is collected.
=end
-
05:24 PM Bug #6664 (Rejected): Object finalizer do not run until program exit
- Test script: https://gist.github.com/3009867
Conclusions:
- Ruby 1.8.7 (REE) is able to run finalizer on GC when its proc is created outside of scope and so that does not handle object in its binding.
- even Ruby 1.8.7 not able to r... -
09:33 PM Bug #6650 (Closed): Fixing win32ole test errors
- This issue was solved with changeset r36246.
Boško, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/win32ole/test_win32ole.rb (test_s_codepage_changed):
Fi... - 08:11 PM Revision 468c703d (git): * 2012-06-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 PM Revision d42df491 (git): * lib/test/unit/parallel.rb: workaround fix for rubygems.
- RubyGems can't find rake if the source directory is not equal to
the directory which is running the test. [Bug #6604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- It seems that ObjectSpace.define_finalizer is complitely broken with Ruby 1.9.3
And even in Ruby 1.8.7 finalizer proc ought to be created in other scope to not hold reference to object in its binding.
See #6664 and https://gist.github.... -
05:05 PM Feature #6253: Implement a way to pass keyword options to curried procs
- First feature request. Please let me know if PDF is not acceptable.
-
12:58 PM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- Thank you. I'm convinced this is good feature. :)
So, +1 from me. -
12:45 PM Bug #6634 (Feedback): Deadlock with join and ConditionVariable
- >thread = Thread.new {
> ...
This is true deadlock. The above thread.join has no chance to exit successfully.
Can you please elaborate your point?
-
12:33 PM Revision 030111ac (git): * test/win32ole/test_win32ole.rb (test_s_codepage_changed):
- FileSystemObject only supports ANSI or UTF-16LE encoding.
Patch by bosko (Bosko Ivanisevic) [ruby-trunk - Bug #6650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:29 PM Feature #6643: io.seek(off, :end)
- > > から連想すると共通の prefix を省略したシンボルになりそうなので、
> > 大文字の :END や :CUR などになるのかと思ったのですが、
> > 小文字にしたのはなぜでしょうか?
>
> あぁ、たしかに。大文字がいいかなぁ。
どちらかだけにしたい理由理由が特にないのなら、大文字も小文字も
両方受け付けるようにすれば良いのではないでしょうか。 -
09:53 AM Feature #6643: io.seek(off, :end)
- こんにちは、なかむら(う)です。
In message "[ruby-dev:45864] Re: [ruby-trunk - Feature #6643][Open] io.seek(off, :end)"
on Jun.28,2012 03:51:25, <kosaki.motohiro@gmail.com> wrote:
> Socketの場合は、英単語からは想像しづらい動作をするケースがままあるので
> C由来だから、字面を信じず... -
03:53 AM Feature #6643: io.seek(off, :end)
- > ソケットライブラリの改善
> http://rubykaigi.org/2009/ja/talks/19M02
>
> から連想すると共通の prefix を省略したシンボルになりそうなので、
> 大文字の :END や :CUR などになるのかと思ったのですが、
> 小文字にしたのはなぜでしょうか?
Socketの場合は、英単語からは想像しづらい動作をするケースがままあるので
C由来だから、字面を信じずにマニュアルちゃんと読みや... -
10:38 AM Revision f559d616 (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:08 AM Bug #6662 (Closed): prepend した Class/Module が継承ツリー上にある Class/Module で ancestors に Class が入り込む
- prepend した Class/Module で Module#ancestors の順番や Class が入り込む問題は r36241 で対処されましたが
まだ ancestors を呼ぶ Class/Module そのものではなくてその superclass や include している Module で
prepend を使っていると順番が include と同じになる & Class が入り込むようです。
module M; end
class... -
09:42 AM Feature #6546: Net::HTTP to check for HTTP_PROXY environment setting.
- =begin
Here is an updated patch that uses the battle-tested code from open-uri. This patch reads the proxy from ((|ENV|)) by default like open-uri. It is safe in a CGI environment just like open-uri.
Details:
URI::Generic#find_p... -
09:39 AM Bug #6660 (Closed): prepend したクラスの instance_methods(false)が空になる
- This issue was solved with changeset r36243.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* class.c (class_instance_method_list): consider prepended Cl... -
09:36 AM Bug #6660: prepend したクラスの instance_methods(false)が空になる
- なかださん、ありがとうございます。コミットします。
しかし今度は prepend したクラスのオブジェクトに特異クラスを作ってから Object#methods(false) した時にどうなるかというのが気になってきました。
prepend した時に作られる IClass に何かフラグが付けられるといいような気がしてきました。 -
06:16 AM Bug #6660 (Assigned): prepend したクラスの instance_methods(false)が空になる
- よいと思います。
お願いします。 -
03:42 AM Bug #6660 (Closed): prepend したクラスの instance_methods(false)が空になる
- Module#prepend を実行したクラスの instance_methods(false)を実行すると結果が常に空になってしまうようです。
パッチを添付します。 -
08:58 AM Revision 1d15cf4b (git): merge revision(s) 32549,32557: [Backport #6661]
- * win32/win32.c, include/ruby/win32.h (rb_w32_io_cancelable_p): renamed
from rb_w32_has_cancel_io(). now it takes a parameter as fd to check
the fd is console or not, because we cannot cancel console input even
if we have cancel_i... -
06:12 AM Bug #6658 (Closed): Module#ancestors & prepend
- This issue was solved with changeset r36241.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
prepend: fix ancestors order
* class.c (rb_mod_ancestors):... -
03:16 AM Bug #6658 (Closed): Module#ancestors & prepend
- Wouldn't it be best if `Module#ancestors` returned the modules & classes in the order they will be looked at?
Currently:
module M; end
class C; prepend M; end
C.ancestors # => [C, M, Class, Object, Kernel, BasicObject... -
03:35 AM Bug #6659 (Rejected): prepend した Class/Module の ancestors に Class が混入する
- #6658 と重複してしまったのでこちらは閉じます。
-
03:32 AM Bug #6659 (Rejected): prepend した Class/Module の ancestors に Class が混入する
- Module#prepend を利用した Class/Module に対して ancestors を呼ぶと Class が入りこみます。
ancestors に入るだけで Object#is_a? の判定やメソッド呼び出しができるようになったりはしていないようです。
module M1
end
module M2
prepend M1
end
M2.ancestors # => [M2, M1, Class]
class... -
12:39 AM Revision 912df4b6 (git): * class.c (class_instance_method_list): consider prepended Class/Module
- when recur != 0. [ruby-dev:45863] [Bug #6660]
* test/ruby/test_module.rb (test_prepend_instance_methods_false): add
a test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/27/2012
-
11:27 PM Bug #6657 (Closed): IRB.fail
- NotImplementError が残っていたので NotImplementedError に変更していて気づいたのですが、
以下のように IRB.fail が NoMethodError になるようです。
% ruby -v -r irb/output-method -e 'IRB::OutputMethod.new.print'
ruby 2.0.0dev (2012-06-27 trunk 36240) [x86_64-linux]
.../lib/... -
09:54 PM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- This should help. I added some YARD docs. See http://rubydoc.info/github/rubyworks/tracepoint/master/frames
-
10:29 AM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- (2012/06/26 23:32), trans (Thomas Sawyer) wrote:
> I assume referring to [ruby-core:5528] (https://bugs.ruby-lang.org/issues/5528)
Sound interesting.
Can I see the reference of TracePoint? I found README.rdoc and
lib/trac... -
09:31 PM Bug #6654 (Closed): Module#prepend does not honor included modules
- This issue was solved with changeset r36237.
Konstantin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ancestor modules
* class.c (rb_prepend_module): ancestors ... -
08:25 PM Bug #6654 (Closed): Module#prepend does not honor included modules
- =begin
I really love that Module#prepend landed in core. I just had a play with it. I'm not sure if the following behavior is intentional:
module A
def a; end
end
module B
include A
def b; end
... -
09:21 PM Feature #5394: Anonymous Symbols, Anonymous Methods
- I just thought myself about anonymous methods and wanted to post it here with "Joke" status. I thought about a possibility to change at runtime the method name, or switch two method bodies, and not to require that every method have a na...
- 09:12 PM Revision a4932b54 (git): * 2012-06-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:12 PM Revision 3f322590 (git): prepend: fix ancestors order
- * class.c (rb_mod_ancestors): fix ancestors order.
[ruby-core:45919][Bug #6658] [ruby-dev:45861][Bug #6659]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:01 PM Bug #6655 (Closed): Calling instance_methods after prepend causes VM crash
- This issue was solved with changeset r36236.
Konstantin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
fix null m_tbl
* class.c (class_instance_method_list): m_t... -
08:50 PM Bug #6655 (Closed): Calling instance_methods after prepend causes VM crash
- =begin
This code:
class Example
prepend Module.new
instance_methods
end
Causes the following crash on trunk:
example.rb:3: [BUG] Segmentation fault
ruby 2.0.0dev (2012-06-27 trunk 36234) [x86_6... -
08:24 PM Feature #6647: Exceptions raised in threads should be logged
- normalperson (Eric Wong) wrote:
> Alex Young <alex@blackkettle.org> wrote:
> ...
You are probably correct. Reconsidering the issue, the benefit of raising
is probably not enough to offset that, thus leaving the $stderr/warn as the
be... -
11:23 AM Feature #6647: Exceptions raised in threads should be logged
- Alex Young <alex@blackkettle.org> wrote:
> On 25/06/12 23:44, rue (Eero Saynatkari) wrote:
> >Issue #6647 has been updated by rue (Eero Saynatkari).
> >
> >$stderr/warn, but this would improve the current situation significantly... -
06:32 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- cjheath (Clifford Heath) wrote:
> On 27/06/2012, at 4:35 PM, nobu (Nobuyoshi Nakada) wrote:
> ...
When a proc that touches an object is attatched to that object's finalizer, that finalizer can "escape" that object.
ObjectSpace.def... -
05:23 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- On 27/06/2012, at 4:35 PM, nobu (Nobuyoshi Nakada) wrote:
> headius (Charles Nutter) wrote:
>> Finalizers in JRuby are stored on a reference from the object itself, so they don't actually prevent the object from collecting.
>
> You... -
03:35 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- headius (Charles Nutter) wrote:
> Finalizers in JRuby are stored on a reference from the object itself, so they don't actually prevent the object from collecting.
You're missing the point.
-
02:03 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- Finalizers in JRuby are stored on a reference from the object itself, so they don't actually prevent the object from collecting.
I'd vote for MRI to do the same, but I don't think I'll win that fight :) -
02:23 AM Bug #6614: GC doesn't collect objects bound to (collectable) proc - > Your code uses `print' but not `printf', so the arguments cannot be optimized out, even if necessary assumptions are all met.
> A possibility would be JRuby calls finalizers *BEFORE* the destruction.
> What's printed in JRuby?
... -
05:25 PM Bug #6547: DateTime.new does not call #initialize
- I disagree, I believe this is a bug since it results in extremely surprising behaviour, and no other stdlib classes do this (even String.new calls initialize).
I've fixed this myself by adding calls to rb_obj_call_init in date_core.c, a... -
04:48 PM Feature #1102 (Closed): Prepend Module
- This issue was solved with changeset r36234.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Module#prepend
* class.c (rb_prepend_module): prepend module i... -
04:43 PM Feature #6638: Array as queue
- Another couple of commits to https://github.com/ruby/ruby/pull/133 :
- fixed error in rb_ary_cat_to_shared which leads to memory corruption
- avoid pathological performance cases (when array length is close to capacity)
by increasi... -
02:18 PM Revision c6869862 (git): NotImplementError is not exist.
- * lib/racc/parser.rb: NotImplementError is not exist.
* lib/irb/output-method.rb (IRB::OutputMethod#print): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision 3e96f56f (git): remove from original m_tbl
- * vm_method.c (remove_method): remove the method from the original
m_tbl on a prepended module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision d4269d7b (git): fix null m_tbl
- * class.c (rb_obj_singleton_methods): m_tbl in prepended class/module
is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 PM Revision cf3a8f09 (git): ancestor modules
- * class.c (rb_prepend_module): ancestors of prepending module also
should be included. [ruby-core:45914][Bug #6654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 PM Revision 48c04ad0 (git): fix null m_tbl
- * class.c (class_instance_method_list): m_tbl in prepended
class/module is NULL. [ruby-core:45915][Bug #6655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:36 AM Revision 28cb8f5d (git): fix null m_tbl
- * ext/objspace/objspace.c (memsize_of): m_tbl in prepended
class/module is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 AM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- "erikh (Erik Hollensbe)" <erik@hollensbe.org> wrote:
> Issue #6653 has been reported by erikh (Erik Hollensbe).
>
> ----------------------------------------
> Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connection... -
08:19 AM Bug #6653 (Closed): 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- the script: https://gist.github.com/4f36f8543ad702861096
the trace + output of the run: https://gist.github.com/cf7dd137ad65802c46ae
ruby -v is 1.9.2-p290, but we're seeing this in 1.9.3-p194 as well.
This does *not* exhibit on OS... -
10:05 AM Feature #6651 (Closed): Re: [ruby-cvs:43389] nobu:r36213 (trunk): popen: shell commands with envvar
- r36230
-
09:23 AM Feature #6643: io.seek(off, :end)
- 2012年6月26日 22:56 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>:
> から連想すると共通の prefix を省略したシンボルになりそうなので、
> 大文字の :END や :CUR などになるのかと思ったのですが、
> 小文字にしたのはなぜでしょうか?
あぁ、たしかに。大文字がいいかなぁ。
--
[田中 哲][たなか あきら][Tanaka Akira] -
09:13 AM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- I feel that a shim for JRuby would do the job for now. Whether or not JRuby can RubyBigDecimal.java into a gem is a separate issue; I feel that this might be a case where behavioral difference between MRI and JRuby is tolerated.
-
12:59 AM Feature #6590 (Open): Dealing with bigdecimal, etc gems in JRuby
- If JRuby has problems because of the new bundled gems, should we not try to find a solution?
Maybe Nahi can help? -
08:06 AM Bug #5776: irb のトップレベルで定義したメソッドが public になる
- I ran into this bug recently and I did a bit of investigating. This is due to a change introduced by #3406 (r29578) that made inner method definitions public regardless of the visibility of the method they were defined in.
I've attach... -
07:48 AM Revision 8ddbbb33 (git): Module#prepend
- * class.c (rb_prepend_module): prepend module into another module.
* eval.c (rb_mod_prepend): new method Module#prepend. [Feature #1102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Revision 8634544f (git): name of klass
- * vm_method.c (rb_method_entry_make): use name of klass explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
Re-running this last benchmark with only 10,000 files across 50 runs, using ministat from FreeBSD to calculate the decrease in time, the real run time is reduced 2.6% +/- 1.9% at 99% confidence:
$ ministat -c 99 -s without w... -
06:57 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
Since the last benchmark is so close, this benchmark uses the same deflate file set, but adds GVL contention by deflating the set across four threads. Since no buffer expansion occurs this will benchmark cost of GVL release vs rb... -
06:47 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
This benchmarks inflates 100,000 1000byte deflate strings. 1000 bytes is smaller than the default Zlib buffer size, so use of realloc vs REALLOC_N should not matter.
Code:
require 'zlib'
require 'benchmark'
r = Random... -
06:23 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
This benchmark inflates ~43,000 100KB deflate strings (~1GB total input) using the same ruby version as above.
Code:
require 'zlib'
require 'benchmark'
r = Random.new 0
file_count = 2**30 / 100_000 # 100KB chunks i... -
06:02 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
Here is a second benchmark using a gzipped file of 1GB from /dev/random, but only for a single thread using
ruby 2.0.0dev (2012-06-26 trunk 36225) [x86_64-darwin11.4.0]
Code:
require 'zlib'
require 'benchmark'
... -
03:23 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- Here is a demonstration video:
http://www.youtube.com/watch?v=uvidgwKyPh4
To skip past the code, use:
http://www.youtube.com/watch?v=uvidgwKyPh4#t=41 -
05:37 AM Revision f4d2374b (git): adjust style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:46 AM Bug #6650 (Assigned): Fixing win32ole test errors
-
04:10 AM Revision 07d9c294 (git): NOEX_NOREDEF
- * vm_method.c (rb_method_entry_make): use NOEX_NOREDEF itself for the
condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:10 AM Feature #5531: deep_value for dealing with nested hashes
- I'd really like to see this in the next version of Ruby, it's a really common pattern.
-
02:22 AM Bug #6652 (Closed): broken Marshal compatibilities on Date and DateTime
- =begin
(({Date})) and (({DateTime})) dumped by 1.8 or earlier cannot be loaded by trunk.
$ /usr/bin/ruby -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
$ ruby -v
ruby 2.0.0dev (2012-06-26 trunk 36225) [... - 12:15 AM Revision f70724c3 (git): * 2012-06-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:15 AM Revision 2240eb37 (git): popen: shell commands with envvars and execopts
- * io.c (is_popen_fork): check if fork and raise NotImplementedError if
unavailable.
* io.c (rb_io_s_popen): allow environment variables hash and exec
options as flat parameters, not in an array arguments.
[Feature#6651] [EXPERIMENT...
06/26/2012
-
11:32 PM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- > Making an alternative API which can replace set_trace_func() (correctly speaking, set_trace_func() can be implemented with this new API) is another proposal.
I assume referring to [ruby-core:5528] (https://bugs.ruby-lang.org/issues/... -
04:09 PM Feature #6649 (Rejected): Add new set_trace_func events "b-call", "b-return"
- =begin
= Abstract
Add new events "b-call", "b-return" for set_trace_func().
When block is invoked, then "b-call" is called.
When block is finished, then "b-return" is called.
= Background
set_trace_func() has several events:
... -
11:32 PM Revision f52f0339 (git): merge revision(s) 34633: [Backport #5124]
- * insns.def (splatarray): make new array if flag is set.
* compile.c (iseq_compile_each): make new array with
splat. [ruby-core:21901][Feature #1125]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36... -
11:25 PM Feature #6651 (Closed): Re: [ruby-cvs:43389] nobu:r36213 (trunk): popen: shell commands with envvar
- =begin
なかだです。
: At Mon, 25 Jun 2012 17:13:56 +0900,
: Tanaka Akira wrote in [ruby-dev:45812]:
とりあえず、現在はドキュメントと整合していない状態になっています。
すいません、自分で入れた仕様を忘れてました。
何がしたいかというと環境変数を指定してpopenをしたい、ただしコマ
ンドはArrayにはわかれていない単一の文字列、といったところです。
... -
10:59 PM Feature #6643: io.seek(off, :end)
- 西山和広です。
At Tue, 26 Jun 2012 05:10:47 +0900,
Tanaka Akira wrote:
>
> >> IO::SEEK_CUR と等価な指定として :cur,
> >
> > :current がよいと思います。
>
> :current にしても
> IO::SEEK_CUR よりも短いからそれでもいいかなぁ。
>
> あるいは、:cur と :current の両方受け... -
10:23 PM Feature #6643: io.seek(off, :end)
- 須藤です。
In <CANjopZHFG3ZQ+VA_dJPCAxn8UnQ6FqqfyfOyxLy536tkwqaWbA@mail.gmail.com>
"[ruby-dev:45843] Re: [ruby-trunk - Feature #6643][Open] io.seek(off, :end)" on Tue, 26 Jun 2012 05:10:47 +0900,
Tanaka Akira <akr@fsij.org> wrot... -
05:24 AM Feature #6643: io.seek(off, :end)
- 2012年6月25日 23:37 SATOH Fumiyasu <fumiyas@osstech.jp>:
>> IO::SEEK_CUR と等価な指定として :cur,
>
> :current がよいと思います。
:current にしても
IO::SEEK_CUR よりも短いからそれでもいいかなぁ。
あるいは、:cur と :current の両方受け付けるとするか。
--
[田中 哲][たなか あきら][Ta... -
04:53 AM Feature #6643: io.seek(off, :end)
- 2012年6月25日 23:31 SASADA Koichi <ko1@atdot.net>:
> これ,例えば IO::SEEK_END も値が :end になるんでしょうか(なっちゃいけ
> ない理由はあるんかな).
してもいいんですが、今はしていません。
値に興味を持つ奇特な人がいるかもしれないと頭をよぎっただけですが。
--
[田中 哲][たなか あきら][Tanaka Akira] -
10:43 PM Bug #6650 (Closed): Fixing win32ole test errors
- Since FileSystemObject is limited only to ANSI and UTF-16LE encoding tests shouldn't try to use other encodings since they will certainly fail. Instead UTF-16 encoding should be used to check whether writing/reading to/from FSO is proper...
-
10:07 PM Feature #6590 (Third Party's Issue): Dealing with bigdecimal, etc gems in JRuby
-
10:06 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- I'm sorry I don't understand JRuby.
-
07:38 PM Feature #6638: Array as queue
- I've add a couple commits to https://github.com/ruby/ruby/pull/133 and now Array becomes fully useful as a deque:
- `#shift` behaves old way: used shared array for circular buffer
- `#push` now knows if array is shared, and when `ARY_SH... -
06:00 PM Feature #6638: Array as queue
- This patch actually fixes non-linear Queue behaviour considered in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391324
-
07:23 PM Revision eeb409a2 (git): merge revision(s) 35913: [Backport #6640]
- * win32/win32.c (rb_w32_sysinit): let the system not display the
critical-error-handler message box and the Windows Error Reporting
dialog. [ruby-core:45389] [Bug #6535]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
07:21 PM Revision 49dbacf7 (git): merge revision(s) 35081: [Backport #6605]
- * bignum.c (rb_big_pow): estimate result bit size more precisely.
[ruby-core:30735][Feature #3429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Bug #6645 (Feedback): Segmentation fault in net/http.rb
- The C level stack trace says someone gives Ruby a broken array.
Anyone can make a small reproducible code? -
06:35 AM Bug #6645: Segmentation fault in net/http.rb
- You have many C extensions loaded, one of these may be causing the crash. Can you reproduce this crash without loading so many extensions? I see pg, hpricot, bson_ext, ruby-prof, nokogiri, bcrypt-ruby, gherkin, eventmachine.
Can you... -
06:23 PM Feature #6647: Exceptions raised in threads should be logged
- On 25/06/12 23:44, rue (Eero Saynatkari) wrote:
>
> Issue #6647 has been updated by rue (Eero Saynatkari).
>
>
> headius (Charles Nutter) wrote:
>> Many applications and users I have dealt with have run into bugs due to Ruby... -
07:44 AM Feature #6647: Exceptions raised in threads should be logged
- headius (Charles Nutter) wrote:
> Many applications and users I have dealt with have run into bugs due to Ruby's behavior of quietly swallowing exceptions raised in threads. I believe this is a bug, and threads should always at least lo... -
07:24 AM Feature #6647: Exceptions raised in threads should be logged
- FWIW, precedent: Java threads log their exceptions by default. I have *never* found the feature to be a bother, and it makes it nearly impossible to ignore fatally-flawed thread logic that spins up and fails lots of threads.
-
07:21 AM Feature #6647 (Closed): Exceptions raised in threads should be logged
- Many applications and users I have dealt with have run into bugs due to Ruby's behavior of quietly swallowing exceptions raised in threads. I believe this is a bug, and threads should always at least log exceptions that bubble all the wa...
-
05:01 PM Bug #6235 (Closed): Call to malloc not checked in thread_pthread.c
- This issue was solved with changeset r36222.
Ruby, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (register_cached_thread_and_wait):
return im... -
04:18 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- It seems that there is no need for mutex in a native queue implementation (considering we have GVL),
and so that queue_synchronized wrapper:
rb_mutex_sleep could be replaces with rb_thread_sleep_forever without semantic change.
With... -
09:53 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> Eric, can this patch work fine on current trunk?
> ... which patch should I use?
Yes, I just tested final-queue.patch with current trunk (r36217)
and it works.
The .... -
04:35 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- Sorry for absent from this request.
Eric, can this patch work fine on current trunk?
... which patch should I use?
-
02:23 PM Feature #6641: Hash.auto constructor
- > Hash.with_default(0)
> Hash.with_default{Time.now}
> Hash.with_default{|k| k.to_sym}
> {}.with_default(0)
> {}.with_default{Time.now}
> {}.with_default{|k| k.to_sym}
I like with_default than auto. It describe the behavi... -
12:19 PM Feature #6641: Hash.auto constructor
- -1.
I don't like the destructive default proc, which sets new keys automatically. -
01:35 PM Revision 1ca611f3 (git): test: scan ARGV
- * sample/test.rb: scan ARGV all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:59 AM Feature #6646 (Closed): Objectified caller
-
05:59 AM Feature #6646: Objectified caller
- Yep! And Yeah!
-
05:57 AM Feature #6646: Objectified caller
- is [ruby-core:45693] not enough?
loc = caller_locations[0]
loc#label # #in
loc#lineno # #line
loc#path # #file
-
05:22 AM Feature #6646 (Closed): Objectified caller
- In Feature #3917 it is mentioned short-coming of caller:
* caller() returns an array of "filename:linenum in `method'" string.
User must parse it and retrieve filename and linenum by rexp.
It is also very heavy weight task.
I... -
11:53 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- 2012/6/25 SASADA Koichi <ko1@atdot.net>:
> (2012/06/26 6:24), KOSAKI Motohiro wrote:
>>> こういう話もあったんですね.
>>> >
>>> > POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
>>> > あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime sign... -
06:53 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- (2012/06/26 6:24), KOSAKI Motohiro wrote:
>> こういう話もあったんですね.
>> >
>> > POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
>> > あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime signal 以外).
> C言語は遅延ですね。捨てられるのは2つ以上遅延した場合ですから
... -
06:29 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- > こういう話もあったんですね.
>
> POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
> あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime signal 以外).
C言語は遅延ですね。捨てられるのは2つ以上遅延した場合ですから
> それとも,trap 自体を禁止する感じでしょうか.
>
> この仕組みは "[ruby-... -
05:24 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- こういう話もあったんですね.
POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime signal 以外).
それとも,trap 自体を禁止する感じでしょうか.
この仕組みは "[ruby-dev:45827] Re: 非同期割り込みに対する対処案(日本語版)" と独立に作るべきか,混ぜちゃうべきか.... -
11:47 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- Can you please mesure performance impact? Because GVL acquire is costly operation. The performance benefit is not obvious to me.
-
08:27 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- This patch allocates one extra byte for the '\0' sentinel like rb_str_resize()
-
11:38 AM Revision 0659c535 (git): merge revision(s) 35434:[Backport #6593]
- * lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
report... -
11:36 AM Revision 898b9c1b (git): merge revision(s) 34552: [Backport #6516]
- * ext/zlib/zlib.c (do_inflate): Inflate more data if buffered data
exists. Allows Zlib::Inflate#set_dictionary to work.
[ruby-trunk - Bug #5929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3622... -
09:54 AM Feature #6483: parametric map
- In `golf_prelude.rb`:
```ruby
class Symbol
def call(*args, &block)
proc do |recv|
recv.__send__(self, *args, &block)
end
end
end
```
It might use `public_send`, indeed.
-
08:26 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- I'm positive to the feature, but RubyVM wouldn't be right place.
It is CRuby specific and unexpected to be in other implementations. -
07:56 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- Oops, this should be a feature request.
-
07:56 AM Feature #6648 (Assigned): Provide a standard API for retrieving all command-line flags passed to Ruby
- Currently there are no standard mechanisms to get the flags passed to the currently running Ruby implementation. The available mechanisms are not ideal:
* Scanning globals and hoping they have not been tweaked to new settings
* Using... -
08:01 AM Revision 91aba07a (git): * thread_pthread.c (register_cached_thread_and_wait):
- return immediately if malloc() failed.
[ruby-core:43960] [ruby-trunk - Bug #6235]
* thread_pthread.c (USE_THREAD_CACHE): check already defined or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36222 b2dd03c8-39d4-4d8f-98ff-8... -
07:46 AM Revision 5605afa5 (git): test: reduce output if succeded
- * bootstraptest/runner.rb (exec_test): reduce output if succeded.
* sample/test.rb (PROGRESS.finish): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Revision ffa20cf1 (git): use rb_check_hash_type
- * class.c (rb_scan_args): use rb_check_hash_type.
* process.c (rb_exec_getargs): ditto.
* sprintf.c (get_hash): ditto.
* string.c (rb_str_sub_bang, str_gsub): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36220 b2dd03c8-39d4-... -
05:56 AM Feature #3917: [proposal] called_from() which is much faster than caller()
- #caller_locations, is this what I just (re)proposed in #6646? Sorry if so, I can't read Japanese :(
Maybe better name: #callstack ?
-
04:46 AM Feature #3917 (Feedback): [proposal] called_from() which is much faster than caller()
- I made caller_locations() (see [ruby-core:45253] [RFC] RubyVM::FrameInfo.caller method).
Maybe the last problem is naming of this method.
-
05:49 AM Bug #6460: `unexpected return' occurs when a proc is called in ensure
- こちらも遅くなって済みません.
テストを trunk に,
パッチを 1.9.3 にバックポート,
が良いのではないかと思います.
テストは btest の KNOWNBUGS.rb かなぁ. -
05:41 AM Bug #5832: 意図しないブロック渡しが行われる
- 見落としていてすみません.
良さそうに見えるので,テストが通れば,テストを追加してコミット頂けませんか.
-
05:37 AM Feature #5669 (Feedback): Random thread scheduling based on a seed
-
05:36 AM Feature #5543 (Feedback): rb_thread_blocking_region() API is poorly designed
- ping: cjameshuff
-
05:29 AM Feature #5088 (Closed): Refactor and Document vm_method.c / method.h
- I think we need to discuss about each spec, before implementation (of course, a proposal with an implementation is welcome). Please persuade matz before you try to commit your patch.
-
05:25 AM Feature #5016 (Closed): Kernel#caller with negative limit should limit result to N initial frames
- See https://bugs.ruby-lang.org/issues/3917
-
05:22 AM Feature #4326 (Closed): Fiber should respond to call() and []
- I close this ticket.
Please re-open it if anyone have any comment which we need to discuss again.
-
05:10 AM Feature #4146: Improvement of Symbol and Proc
- これ,なんで私なんだっけ.
まつもとさんが最初に気に入らない,と言っているところですが,
今見直してみるとどうでしょうか.
-
04:55 AM Feature #3251: allow to unlock mutex locked by another thread
- 1)まず元々の提案は非同期例外を救うというモチベーションから来ているので、専用構文のほうがベターであろう。よってたぶんmutexの変更は不要
2)やるなら、semaphoeをつくるほうがいいなあ -
04:31 AM Feature #3251: allow to unlock mutex locked by another thread
- これ,どういう話で止まってるんでしたっけ....
なんか,いろんな話が混ざってる気がします. -
04:51 AM Bug #4008 (Feedback): Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
- Could you try on current trunk?
-
04:49 AM Feature #3944: Add Fiber#root? method
- Sorry for long absent.
I'm not sure why `Fiber#root?` is needed.
Could you give the examples?
I think if you don't use `Fiber#root`, then `Fiber#root?` is not needed.
And I can't understand why `Fiber#root` is needed.
(I think `Fi... -
04:38 AM Feature #3731: Easier Embedding API for Ruby
- I'll write document for embedding Ruby on your application.
At first, in Japanese,
Second, translate in English.
Please revise it after I finished.
-
04:33 AM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
- Thanks Kosaki-san!
-
04:28 AM Feature #3206 (Feedback): Problems manipulating the signal mask with Ruby
- I'm so sorry for absence from this ticket.
From Ruby 1.9.3, we unmask all mask of all threads (main thread, timer thread and all other threads) to accept signals.
Generally speaking, Kernel.trap() should be used for signal manipulati... -
04:22 AM Bug #6634 (Assigned): Deadlock with join and ConditionVariable
-
01:59 AM Bug #6634: Deadlock with join and ConditionVariable
- Always happens, on Arch Linux x86_64.
> ruby reduced.rb
reduced.rb:13:in `join': deadlock detected (fatal)
from reduced.rb:13:in `<main>'
-
04:20 AM Feature #3638 (Closed): VM内データ構造へアクセスするマクロ
- こちら,心を入れ替えて書き直しているので close とさせて下さい.
-
04:20 AM Feature #3187: Allow dynamic Fiber stack size
- Any other idea about it? It's only API design.
I'm not sure nahi-san's idea is good for Ruby or not.
I feel that it is too different from current style.
-
04:15 AM Bug #2788: nil.instance_eval pushes nil onto cref
- I'm so sorry to miss your ticket for long time.
Always I get confusing about instance eval with special variables (nil, false, etc).
Matz (shugo-san is specialist?), could you determine the specification?
-
04:10 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
- 随分放置しております.すみません.
とくに異論はないんですが,今のにあたる,BUG らないパッチ下さい,って感じでしょうか. -
04:08 AM Feature #2447: reduce GC pressure by symbol table without String instance
- あれ,これ私ですか.
ええと,今度やります.これは,big feature じゃないから遅くてもいいよね. -
04:04 AM Feature #2080: Proc#to_source, Method#to_source
- この件,まつもとさんは何かご意見はありますか?
-
04:00 AM Feature #1102: Prepend Module
- Nobu will commit it.
-
03:44 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
- The patch adds accessors for @local_host and @local_port and uses both in TCPSocket.open call.
-
02:17 AM Feature #4254: Allow method transplanting
- That makes sense. But I am not sure it matters a great deal. Modules too can have interdependent methods and reference instance variables. I get the concept, but ultimately I'd just prefer to have full flexibility and be done with it, ra...
-
12:47 AM Feature #4254: Allow method transplanting
- I guess it wouldn't make much sense and would lead to other developer's confusion as the method may rely on some internal state of an instance of that class...
-
12:08 AM Feature #4254: Allow method transplanting
- What prevents methods from being transplanted *from* a class?
- 01:02 AM Revision 9ac51c29 (git): * 2012-06-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:01 AM Revision 876d4c4c (git): Revert r36213 "popen: shell commands with envvar"
- * io.c (rb_io_s_popen): revert r36213 "popen: shell commands with
envvar" because it disabled to let single command bypass shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/25/2012
-
11:59 PM Bug #6645 (Rejected): Segmentation fault in net/http.rb
- =begin
Today I ran into the problem titled above. The error message looks like this:
/home/yuki/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:761: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_6... -
11:53 PM Feature #6643: io.seek(off, :end)
- At Mon, 25 Jun 2012 19:32:06 +0900,
akr (Akira Tanaka) wrote:
> IO#seek メソッドの whence 引数としてシンボルを受け付けるようにしませんか。
>
> つまり、
> io.seek(0, IO::SEEK_END)
> のかわりに
> io.seek(0, :end)
> とかけるようにする、ということです。
>
> IO::SEEK_END... -
11:53 PM Feature #6643: io.seek(off, :end)
- (2012/06/25 23:17), KOSAKI Motohiro wrote:
>> >
>> > IO::SEEK_END と等価な指定として :end,
>> > IO::SEEK_CUR と等価な指定として :cur,
>> > IO::SEEK_SET と等価な指定として :set を
> +1.
> というかIOまわりの定数は全部シンボルで指定したいぐらい。。
これ,例えば IO::SEEK_END も値が :en... -
11:23 PM Feature #6643: io.seek(off, :end)
- (6/25/12 6:32 AM), akr (Akira Tanaka) wrote:
>
> Issue #6643 has been reported by akr (Akira Tanaka).
>
> ----------------------------------------
> Feature #6643: io.seek(off, :end)
> https://bugs.ruby-lang.org/issues/664... -
07:31 PM Feature #6643 (Closed): io.seek(off, :end)
- IO#seek メソッドの whence 引数としてシンボルを受け付けるようにしませんか。
つまり、
io.seek(0, IO::SEEK_END)
のかわりに
io.seek(0, :end)
とかけるようにする、ということです。
IO::SEEK_END と等価な指定として :end,
IO::SEEK_CUR と等価な指定として :cur,
IO::SEEK_SET と等価な指定として :set を
受け付けるようにします。
... -
09:29 PM Feature #6641: Hash.auto constructor
- Eregon (Benoit Daloze) [2012-06-25 12:33]:
> But at the same time, this is clearly a specialization of
> Hash.new with a block, which loses some flexibility (you can not
> use the key for example).
why not? you can yield the key... -
09:24 PM Feature #6641: Hash.auto constructor
- Maybe something like Hash.with_default{[]}. "with_default" could be both a class and an instance method so that you could have something like {a: 1, b: 2}.with_default(0).merge... It would always return the hash itself...
Groovy has som... -
07:33 PM Feature #6641: Hash.auto constructor
- trans (Thomas Sawyer) wrote:
> It is not uncommon to need a Hash following the pattern:
> ...
I agree, this is a pattern I see quite often and the `Hash.new { |h,k| h[k] = ... }` form is not the most natural or expressive in my opinion... -
09:34 AM Feature #6641 (Assigned): Hash.auto constructor
- =begin
It is not uncommon to need a Hash following the pattern:
Hash.new{ |h,k| h[k]={} }
Another common example:
Hash.new{ |h,k| h[k]=[] }
This is common enough that it would very nice if we could have a more concise ... -
09:04 PM Bug #6644 (Closed): Weird behavior of defined?(super) check invoked from a metaprogrammatically defined class method
- =begin
Lately I came across some weird behavior with the (({defined?})) operator used to check if (({super})) keyword can be invoked in current context. Usually it works fine, but when I tried to combine the (({defined? super})) check w... -
05:23 PM Bug #6344: 1.9.3 p125, p194 ruby causes SEGV with test_massign.rb on ppc/ppc64
- Weird, it still/again crashes with ruby 2.0.0dev (2012-06-25 trunk 36213) [powerpc-linux]
http://ppc.koji.fedoraproject.org/koji/getfile?taskID=597002&name=build.log -
04:57 PM Feature #4254 (Closed): Allow method transplanting
- This issue was solved with changeset r36214.
Jonas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
method transplanting
* proc.c (rb_mod_define_method): allow met... -
03:51 PM Feature #4254: Allow method transplanting
- matz (Yukihiro Matsumoto) wrote:
> I'd like to allow method transplanting from a module, not a class, to either class or module.
> ...
I think this is a step in the right direction. Both JavaScript and Python allow functions (including... -
03:38 PM Feature #4254: Allow method transplanting
- I'd like to allow method transplanting from a module, not a class, to either class or module.
Any objection?
Matz.
-
04:43 PM Bug #6604 (Assigned): trunkでtest-all が完走しない (-j 使用時のみ)
- > ruby 2.0.0dev (2012-06-25 trunk 36211) [x86_64-darwin11.3.0] で再現しませんでした。
エスパーではないので、この文章から求めているフィードバックを読み取ることはできません。
ruby 2.0.0dev (2012-06-25 trunk 36213) [x86_64-darwin11.4.0] では再現します。
-
09:19 AM Bug #6604 (Feedback): trunkでtest-all が完走しない (-j 使用時のみ)
- ruby 2.0.0dev (2012-06-25 trunk 36211) [x86_64-darwin11.3.0] で再現しませんでした。
-
04:25 PM Bug #6573: Webrick test failures - Thinking of it further, I realized that this may be caused by order in which tests are required - and I think that they aren't required in the same order every time. So maybe I was just lucky when running test suite. But your proposed so...
-
02:54 PM Bug #6573: Webrick test failures - Hmm, it is strange that I don't have any problems building with my patch - all tests pass for me. Are you sure you didn't make any further adjustments?
-
03:35 PM Feature #6638: Array as queue
- I've fixed error introduced in second commit on the case `x.concat(x)`.
-
12:35 PM Feature #6638: Array as queue
- If it doesn't change the behavior, I am positive to merge this.
Matz.
-
10:21 AM Revision f4af54f2 (git): add tests for IO#seek.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:13 AM Bug #6632 (Assigned): Typos in CGI (core.rb)
-
08:49 AM Revision 82a408fb (git): Revert r31873 Module#mix
- * class.c (rb_mix_module): revert Module#mix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Revision 7c3d0ce3 (git): method transplanting
- * proc.c (rb_mod_define_method): allow method transplanting from a
module to either class or module. [ruby-core:34267][Feature #4254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:57 AM Revision e6f1e3f4 (git): method transplanting
- * proc.c (rb_mod_define_method): allow method transplanting from a
module to either class or module. [ruby-core:34267][Feature #4254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Revision 0f0f0f44 (git): popen: shell commands with envvar
- * io.c (is_popen_fork): check if fork and raise NotImplementedError if
unavailable.
* io.c (rb_io_s_popen): allow shell commands with modified environment
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36213 b2dd03c8-3... - 02:35 AM Revision 0e8395d6 (git): * internal.h: use rb_pid_t instead of pid_t because of there is no
- definition of pid_t here on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/24/2012
-
08:00 PM Feature #6639: ArgumentError から ArityError を分離
- > =begin
> ArgumentError と TypeError の違いがわかりにくい、という話がありました( #6423 )。
> 違いがわかりにくい原因として、メソッドやブロックの呼び出し時に、次のような感じで、
> エラーの発生する場所が混在しているため、という理由が考えられます。
> (1) 実引数の個数が正しいかをチェック → ダメなら ArgumentError
> (2) 実引数の型(期待するメソッドがあるか)をチェック → ダメなら ... -
05:03 PM Feature #6639 (Rejected): ArgumentError から ArityError を分離
- =begin
ArgumentError と TypeError の違いがわかりにくい、という話がありました( #6423 )。
違いがわかりにくい原因として、メソッドやブロックの呼び出し時に、次のような感じで、
エラーの発生する場所が混在しているため、という理由が考えられます。
(1) 実引数の個数が正しいかをチェック → ダメなら ArgumentError
(2) 実引数の型(期待するメソッドがあるか)をチェック → ダメなら TypeError
(3... -
05:48 PM Bug #6625: broken Marshal compatibilities on Complex and Rational
- ok, support forever.
-
04:49 AM Bug #6625: broken Marshal compatibilities on Complex and Rational
- tadf (tadayoshi funaba) wrote:
> should we still support 1.8 dump?
Yes please. We no longer need to write old formats, but I still need to read. Otherwise I cannot convert them into new formats. -
05:10 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- [ruby-dev:45708] コンペ向けの資料を添付
-
05:10 PM Feature #4043: グローバル関数current_classの提案
- [ruby-dev:45708] コンペ向けの資料を添付
-
04:41 PM Feature #6638 (Closed): Array as queue
- Many libraries use Array as queue (cause stdlib has no real dequeue class).
And typical pattern is to use #push and #shift methods with small count of #push
with following small count of #shift.
But currently big array makes a copy ... - 03:42 PM Revision 7563b69c (git): * 2012-06-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:42 PM Revision 1ebe152e (git): * configure.in (for stack end address): remove human68k specific
- check. It is no longer supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 PM Feature #6611: Comments requested on implementation of set_parse_func
- Generally speaking on ruby, feature request is hard to accept.
Submitter must make people understand why the feature is required.
The challenger must explain
* Background
* use case and current workaround
* how the new feature make ... -
02:02 PM Revision cc1c97ae (git): io.c: spawnv
- * io.c (pipe_open): merge win32 code using spawnv().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Revision 5be0ab59 (git): process.c: separate check_exec_fds_1
- * process.c (check_exec_fds): separate check_exec_fds_1() since
nonstatic initializer of an aggregate type is not allowed by C89.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 5cc2112e (git): trailing spaces
- * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 PM Revision 78993d43 (git): update async-signal-safe comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:54 PM Feature #4151: Enumerable#categorize
- @marcandre
> There are many already in the discussion... A simple one:
So you are referring then the original #categorize method you proposed? That being so, I remain convinced it is far too complicated.
> ...
Actually it might ... -
04:20 AM Feature #4151: Enumerable#categorize
- Hi,
trans (Thomas Sawyer) wrote:
> Could you give an example of #categorize?
There are many already in the discussion... A simple one:
[:a, "foo", :a, :a].categorize(:+){|i| ["occurences of #{i}", 1]} # => { "occurences of... -
02:40 AM Feature #4151: Enumerable#categorize
- Could you give an example of #categorize?
Also, I thought this method(s) purpose is to convert Enumerable to Hash not just Hash to Hash. Examples with Arrays would be good too.
Glancing at ActiveSupport's #index_by, I am not sure a... -
01:03 AM Feature #4151: Enumerable#categorize
- Is anyone going to submit a slide-show about this?
I'm starting to think these could be split into 3 methods:
Enumerable#index_by, #associate and #categorize.
index_by uses the result of the block as key and the enumeration as v... -
06:54 AM Feature #4189: FileUtils#ln_r
- This ticket hasn't seen action in a year, but I wanted to chime in and +1 the feature.
Having a convenience function to recursively create hard links based on a source directory is a rare need, but a need, nonetheless. I think FileUti... -
06:53 AM Feature #6637 (Closed): Add HTML5 support to CGI
- =begin
The attached patch adds support for HTML 5, providing
the doctype <!DOCTYPE html> and the tag helpers for the
new HTML elements (article, section, ...).
Changes were made in
* `lib/cgi/core.rb'
* `lib/cgi/html.rb'
Tests... -
05:54 AM Bug #6634: Deadlock with join and ConditionVariable - On Sat, Jun 23, 2012 at 11:49:14PM +0900, meh. (meh. I don't care) wrote:
>
> Issue #6634 has been reported by meh. (meh. I don't care).
>
> ----------------------------------------
> Bug #6634: Deadlock with join and ConditionVa... -
03:34 AM Feature #6373: public #self
- I second the addition of `Object#self`.
For the objection that `self` is a keyword, so is `class`. And there wouldn't ever be a need to call `self.self` :-)
Do we need a slide-show for this? -
03:22 AM Feature #5690: Module#qualified_const_get
- Is anyone producing a slide-show for this?
-
03:20 AM Feature #1586: Including a module already present in ancestors should not be ignored
- Has this feature been accepted by Matz? Or else, is anyone producing a one minute slide-show?
-
02:49 AM Feature #6636 (Closed): Enumerable#size
- Now that it has been made clear that `Enumerable#count` never calls `#size` and that we have `Enumerable#lazy`, let me propose again an API for a lazy way to get the size of an Enumerable: `Enumerable#size`.
* call-seq:
* enum.size... -
02:41 AM Bug #6635 (Closed): Make test fails On Windows 7 64bit
- Closing this out, OP request.
-
02:39 AM Bug #6635: Make test fails On Windows 7 64bit
- I have just realized that this issue was already reported and fixed. My apologies, if this could be removed it would be appreciated.
-
02:34 AM Bug #6635 (Closed): Make test fails On Windows 7 64bit
- I downloaded the ruby-1.9.3-p194 tarball, but...
$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-cygwin]
Running make test after compilation resulted in test 248 failure:
#248 test_fork.rb:
a = []
trap(:INT) ... -
02:23 AM Feature #6499: Array::zip
- Wouldn't it be best if both `Array.product` and `Array.zip` were lazy?
Will someone produce a one-minute slide-show for this?
06/23/2012
-
11:49 PM Bug #6634 (Rejected): Deadlock with join and ConditionVariable
- I'm getting a fatal deadlock in one of my gems, it's a simple threadpool implementation.
The library works both in Rubinius and JRuby, so I guess it's a bug.
The gem is here: https://github.com/meh/ruby-threadpool
The example th... -
11:43 PM Bug #6633 (Closed): MinGW: broken build caused by changes in process.c (execve)
- =begin
akr (Akira Tanaka) wrote:
>
> ...
Yes, it does, thank you.
I'm still seeing a bunch of warnings:
compiling ../process.c
../process.c: In function 'proc_exec_cmd':
../process.c:1138:9: warning: passing argument 2 of '... -
11:23 PM Bug #6633: MinGW: broken build caused by changes in process.c (execve)
- 2012/6/23 luislavena (Luis Lavena) <luislavena@gmail.com>:
>
> Issue #6633 has been reported by luislavena (Luis Lavena).
> I find myself unable to compile trunk (r36201) caused by errors in process.c (execve):
>
> compili... -
10:46 PM Bug #6633 (Closed): MinGW: broken build caused by changes in process.c (execve)
- =begin
Hello,
I find myself unable to compile trunk (r36201) caused by errors in process.c (execve):
compiling ../process.c
../process.c: In function 'proc_exec_cmd':
../process.c:1138:9: warning: passing argument 2 of 'execv... -
11:33 PM Bug #4332: Some seemingly random segfaults
- Sorry for the even later response, the issue wasn't MRI related, apparently it was the versionomy gem doing some weird stuff from a C extension.
I found out because I was having the same issue with another program that was using versi... - 10:48 PM Revision de60be15 (git): * 2012-06-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:48 PM Revision 72bbf982 (git): * internal.h (rb_execarg): options field removed.
- * process.c: follow the rb_execarg change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:32 PM Bug #6632 (Closed): Typos in CGI (core.rb)
- Fixes typos: wrong call-seq in rdoc / trailing whitespaces
-
04:54 PM Bug #6625: broken Marshal compatibilities on Complex and Rational
- should we still support 1.8 dump?
-
02:50 PM Revision 1ad4751a (git): * process.c (proc_spawn_cmd): unused variable removed to suppress a
- warning.
(save_env): ditto.
[ruby-core:45797] reported by Luis Lavena.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:21 PM Revision f1734b42 (git): * internal.h (rb_execarg): add new_pgroup_given and new_pgroup_flag
- fields.
* process.c (EXEC_OPTION_NEW_PGROUP): removed.
(proc_spawn_cmd): take a struct rb_execarg argument.
use the new fields.
(rb_execarg_addopt): use the new fields.
(rb_spawn_process): follow the proc_spawn_cmd change.
gi... -
12:04 PM Bug #6629 (Closed): [PATCH] io.c: avoid rb_thread_wait_fd() if we may call rb_io_wait_readable()
- Blindly calling rb_thread_wait_fd() is an extra, unnecessary
system call in some cases. Since we already call
rb_io_wait_readable() when encountering EAGAIN, there is no
user-visible change in behavior and a small potential for
spee... -
11:35 AM Revision 345ecf37 (git): * internal.h (rb_execarg): add fd_dup2, fd_close, fd_open,
- fd_dup2_child fields.
* process.c (EXEC_OPTION_DUP2): removed.
(EXEC_OPTION_CLOSE): removed.
(EXEC_OPTION_OPEN): removed.
(EXEC_OPTION_DUP2_CHILD): removed.
(mark_exec_arg): mark the new fields.
(check_exec_redirect1): change ... -
10:01 AM Revision fe688f2d (git): * process.c (rb_execarg_fixup): fix envopts condition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:44 AM Revision 759c214a (git): * process.c (check_exec_redirect1): extracted from
- check_exec_redirect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Revision 92af9ddd (git): * process.c (save_env): don't use EXEC_OPTION_UNSETENV_OTHERS.
- (rb_execarg_run_options): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision 26ecb6cb (git): * internal.h (rb_execarg): add env_modification field.
- * process.c (EXEC_OPTION_ENV): removed.
(mark_exec_arg): mark env_modification field.
(rb_exec_fillarg): update the new field, instead of options array.
(rb_execarg_fixup): use the new field.
(save_env): ditto.
(rb_execarg_run_... -
08:17 AM Bug #6573: Webrick test failures
- Unfortunately, like I mentioned earlier, just doing this for test_httpproxy.rb fixed it when just running webrick tests, but still failed when running the entire test suite, as some other non-webrick test includes webrick without first i...
-
07:30 AM Revision f732c504 (git): * internal.h (rb_execarg): add rlimit_limits field.
- * process.c (EXEC_OPTION_RLIMIT): removed.
(mark_exec_arg): mark rlimit_limits field.
(rb_execarg_addopt): update the new fields, instead of options array.
(run_exec_rlimit): use the new field.
(rb_execarg_run_options): clear sar... -
06:23 AM Revision b25b9569 (git): * internal.h (rb_execarg): add chdir_given and chdir_dir fields.
- * process.c (EXEC_OPTION_CHDIR): removed.
(mark_exec_arg): mark chdir_dir field.
(rb_execarg_addopt): update the new fields, instead of options array.
(rb_execarg_run_options): use the new fields.
git-svn-id: svn+ssh://ci.ruby-l... -
04:23 AM Revision f527ad62 (git): * internal.h (rb_execarg): add close_others_given, close_others_do and
- close_others_maxhint fields.
* process.c (EXEC_OPTION_CLOSE_OTHERS): removed.
(rb_execarg_addopt): update the new fields, instead of options array.
(check_exec_fds): take eargp as an argument. update the
close_others_maxhint fiel... -
01:43 AM Revision 40ae2e01 (git): * internal.h (rb_execarg): add unsetenv_others_given and
- unsetenv_others_do fields.
* process.c (EXEC_OPTION_UNSETENV_OTHERS): removed.
(rb_execarg_addopt): update the new fields, instead of options array.
(rb_execarg_fixup): use the new fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
12:42 AM Feature #6609: Toplevel as self extended module
- @nikolai You are correct in part. I'm a big-time supporter of your previous proposal as well. The two don't completely overlap though. Using a self-extended module as top-level object also gives the top-level all the capabilities you wou...
-
12:36 AM Revision 2a15a26c (git): * process.c: use the variable name "soptions" for sargp->options.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 AM Revision 5c25fad6 (git): * process.c: use the name "sargp" for struct rb_execarg variables
- consistently for saving process attributes.
* io.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/22/2012
- 11:30 PM Revision 0b3b2e88 (git): revert some tests
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:09 PM Revision 3eafc166 (git): * process.c: use the name "eargp" for struct rb_execarg variables
- consistently except for saving process attributes.
* io.c: ditto.
* ext/pty/pty.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:05 PM Bug #5950: open-uri: https redirect fix
- Seems like a duplicate of http://bugs.ruby-lang.org/issues/859
-
07:36 PM Feature #6130: inspect using to_s is pain
- Updated patch for the tests according to nobu's comment in https://github.com/eregon/ruby/commit/f9ac4cd1daadd7c37c722c79a36296f3d161058b#commitcomment-1490653.
-
05:47 AM Feature #6130: inspect using to_s is pain
- If there are no objections I will commit this Monday (unless Benoit gets a commit bit sooner)
-
07:24 PM Bug #6573: Webrick test failures - r
On Fri, Jun 22, 2012 at 1:03 PM, bkabrda (Bohuslav Kabrda) <
bkabrda@redhat.com> wrote:
>
> Issue #6573 has been updated by bkabrda (Bohuslav Kabrda).
>
> File ruby-1.9.3.p195-fix-webrick-tests.patch added
>
> Mi... -
06:03 PM Bug #6573: Webrick test failures - Michael, thanks, a very helpful information. I believe that the patch you are proposing is correct, yet I would prefer a different approach (attaching). A little problem that I see with your proposed patch that it alters environment for ...
-
05:52 AM Bug #6573: Webrick test failures
- It appears that WEBrick::HTTPServlet::CGIHandler (webrick/httpservlet/cgihandler.rb) file embeds RbConfig.ruby into a constant when the file is required. test/ruby/envutil.rb monkeypatches RbConfig.ruby to use the newly compiled Ruby. ...
-
01:09 AM Bug #6573: Webrick test failures
- I'm seeing the same behavior with CentOS 6.2, both using your (Fedora's) RPM spec file and building Ruby from scratch.
Based on @bkabrada's "fixes" via commenting the webrick 'requires's, I dug a little deeper. It looks like "requi... -
07:24 PM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Hi,
I put together patch (available in my github [1] fork), which demonstrates on Rake, how the situation could be improved. Would you mind to review it and let me know if such approach would be acceptable? If yes, I am willing to wor... -
05:26 PM Revision f7fc42a7 (git): * ChangeLog: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:23 PM Feature #6609: Toplevel as self extended module
- On Fri, Jun 22, 2012 at 3:03 AM, drbrain (Eric Hodel)
<drbrain@segment7.net> wrote:
> It is easy to create a clean-room DSL evaluation context now:
>
> m = Module.new do
> extend SomeDSL
> end
>
> m.instance_eval File.re... -
11:40 AM Feature #6609: Toplevel as self extended module
- =begin
> These aren't delegated, they are singleton methods which add behavior to make top-self more useful.
static VALUE
top_include(int argc, VALUE *argv, VALUE self)
{
rb_thread_t *th = GET_THREAD();
rb_secur... -
10:03 AM Feature #6609: Toplevel as self extended module
- trans (Thomas Sawyer) wrote:
> > There are no method calls on the top-level object in this example. Nothing is delegated.
> ...
These aren't delegated, they are singleton methods which add behavior to make top-self more useful.
rb_d... -
09:31 AM Feature #6609: Toplevel as self extended module
- > There are no method calls on the top-level object in this example. Nothing is delegated.
I've been able to find the code for three methods which delegate:
eval.c: rb_define_singleton_method(rb_vm_top_self(), "include", top_i... -
03:20 AM Feature #6609: Toplevel as self extended module
- trans (Thomas Sawyer) wrote:
> > What is a "partial Object class proxy"? It does not seem to exist. The top-level object (rb_vm_top_self) is an instance of Object where to_s is overridden to return "main" (see Init_top_self in vm.c).
>... - 03:51 PM Revision f120641e (git): * 2012-06-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:51 PM Revision 5a7db505 (git): .gdbinit: improve rp for class
- * .gdbinit (rp): improve for class/iclass/module so print content of
RClass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 PM Feature #6626 (Closed): Readline.delete_text
- =begin
[Feature #5785]でinsert_textなどが追加されましたが、line_bufferを編集するためにはdelete_textも必要ではないでしょうか。
現状ではline_bufferから文字を削除するためには、test_readline.rbでやっているように、かなり周りくどい上にキーバインディングに依存する処理が必要になります。
パッチは((<PR#132|URL:https://github.com/ruby/ruby/p... -
02:08 PM Bug #6625 (Closed): broken Marshal compatibilities on Complex and Rational
- =begin
(({Complex})) and (({Rational})) dumped by 1.8 or earlier cannot be loaded by trunk.
$ /usr/bin/ruby -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
$ ruby -v
ruby 2.0.0dev (2012-06-22 trunk 36175... -
01:37 PM Revision 91fcdd18 (git): [Bug #6540]
- * test/ruby/test_rand.rb (TestRand#test_initialize_frozen): add
missing test for [Bug #6540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 PM Bug #6540 (Closed): marshal_load discards frozen objects
- This issue was solved with changeset r36175.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
random.c: check initialize and load
* random.c (random_init... -
01:36 PM Bug #6541 (Closed): marshal_load discards frozen objects
- This issue was solved with changeset r36175.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
random.c: check initialize and load
* random.c (random_init... -
12:45 PM Revision 48fc3121 (git): lib/test/unit.rb: show file count in parallel mode
- * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): show file count
in parallel mode. since worker processes run tests per files, the
parent process cannot tell how many tests will be run in advance.
git-svn-id: svn+ssh://ci.rub... -
12:45 PM Revision 6e4c8260 (git): lib/test/unit.rb: initialize ivar
- * lib/test/unit.rb (Test::Unit::Runner#del_status_line): initialize
@status_line_size if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 PM Revision 5e06b539 (git): * common.mk: Add missing dependencies.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:30 AM Revision bcadfd9c (git): * internal.h (rb_execarg): add pgroup_given and pgroup_pgid fields.
- * process.c (EXEC_OPTION_PGROUP): removed.
(rb_execarg_addopt): update the new fields, instead of options array.
(run_exec_pgroup): take a struct rb_execarg argument. refer the new
fields.
(rb_execarg_run_options): follow run_ex... -
10:15 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
- I agree. You can pass both local_ip and local_port to TCPSocket.open in Net::HTTP#connect.
Having the setter exposed would allow the user to change the local IP address between connections. Any ideas if this could cause problems with ... -
08:43 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
- Bind to a local port like TCPSocket.new does? I'm sure this feature could be added.
I think the easiest way to add it would result in an API like:
http = Net::HTTP.new remote_host
http.local_host = local_host
http.start do... -
09:57 AM Feature #6621 (Feedback): Accept a CGI parameter without a value
- Why do you need it?
Shouldn't it be an error? -
07:58 AM Feature #6621 (Closed): Accept a CGI parameter without a value
- So "id" will be treaded like "id="
From https://github.com/ruby/ruby/pull/58
Patch by Michel Martens: https://github.com/ruby/ruby/pull/58.diff - 09:52 AM Revision 7b036a8e (git): * README.EXT, README.EXT.ja: use "sval" for the third argument
- name of Data_Wrap_Struct().
Suggested by @satoh_fumiyasu. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:37 AM Bug #6325 (Closed): Can't install
-
09:32 AM Revision c4bc9b57 (git): * iseq.c, vm_eval.c: set th->base_block properly.
- th->base_block is information for (a) parsing, (b) compiling
and (c) setting up the frame to execute the program passed by
`eval' method. For example, (1) parser need to know up-level
variables to detect it is variable or method w... -
09:24 AM Revision 471d8d25 (git): * process.c: pass struct rb_execarg value instead of its options
- field for saving process attribute changing functions.
(save_redirect_fd): take a struct rb_execarg argument.
(run_exec_dup2): ditto.
(run_exec_close): ditto.
(run_exec_open): ditto.
(run_exec_dup2_child): ditto.
(run_exec_pg... -
08:58 AM Revision a359da84 (git): * test/ruby/test_backtrace.rb: decrease recursion depth
- to reduce consuming stack size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 AM Bug #6623 (Closed): Tracer output does not use Tracer.stdout
- Tracer uses Kernel#sprintf ($stdout) instead of the user-configured IO
From: https://github.com/ruby/ruby/pull/111
Patch by Jörg Schray: https://github.com/ruby/ruby/pull/111.diff -
08:05 AM Feature #6622 (Closed): Add <, >, <=, >= to Set
- Each operator is defined as an alias to an existing method.
From https://github.com/ruby/ruby/pull/59
Patch by Alexander E. Fischer: https://github.com/ruby/ruby/pull/59.diff -
07:53 AM Feature #6620 (Closed): Add ' to CGI's HTML escaping
- From https://github.com/ruby/ruby/pull/52
Patch by Igor Sales: https://github.com/ruby/ruby/pull/52.diff -
05:56 AM Bug #6619 (Closed): Fixed Typo in eval.c GH#131
- This issue was solved with changeset r36170.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (ruby_cleanup): Fixed typo. Patch by Trever Dawe.
... -
01:56 AM Bug #6619 (Closed): Fixed Typo in eval.c GH#131
- I've added Trevor's patch to fix a typo in eval.c documentation from https://github.com/ruby/ruby/pull/131
-
05:22 AM Revision 407e3274 (git): marshal.c: io_needed
- * marshal.c (io_needed): extract from marshal_dump and marshal_load.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:36 AM Revision 0b0dea75 (git): random.c: check initialize and load
- * random.c (random_init, random_load): cannot initialize frozen object
again, nor with tainted/untrusted object. [Bug #6540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:32 AM Revision 77898c33 (git): error.c: rb_check_copyable
- * error.c (rb_check_copyable): new function, to ensure the target is
not frozen and the source is not tainted nor untrusted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Revision 47c6131b (git): process.c: constant expression
- * process.c (rb_exec_async_signal_safe): use a constant expression
instead of a macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Revision 52d85c10 (git): variable.c: fix indent
- * variable.c (rb_ivar_count, rb_autoloading_value): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:23 AM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP - On Thu, Jun 21, 2012 at 02:41:10PM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #6592 has been updated by vo.x (Vit Ondruch).
>
>
> > I think we need to delete the CFunc code. The problem with that class
> > is we cannot tell ... -
01:06 AM Bug #6616 (Closed): MinGW: cannot build extensions or run tests due changes in exec_arg?
- Thank you Park for the details.
Thank you Akira Tanaka for solving this.
Closing this out. -
12:29 AM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
- On Thu, Jun 21, 2012 at 7:49 AM, Tanaka Akira <akr@fsij.org> wrote:
> 2012/6/21 phasis68 (Heesob Park) <phasis@gmail.com>:
>>
>> process.c:3502:5: warning: passing argument 2 of 'rb_run_exec_options_err' from incompatible pointer typ...