Activity
From 10/10/2011 to 10/16/2011
10/16/2011
-
12:14 PM Feature #1081: add File::write() convenience method
- It seems the docs here are wrong http://www.ruby-doc.org/core-1.9.3/IO.html#method-c-write -- they mention 4 argument...
- 10:47 AM Revision 4db34663 (git): * 2011-10-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:46 AM Revision e6ce15c6 (git): * ext/bigdecimal/bigdecimal.gemspec (files): fixed typo, and
- removed nonexistent file.
* ext/bigdecimal/bigdecimal.gemspec (homepage): added.
* ext/io/console/io-console.gemspec ... -
04:43 AM Bug #5451 (Closed): cgi/core.rbのread_multipart()で$stdioを直接使っているために、ruby-fcgiでmultipart/form-dataが使えない
- ruby-fcgiを使うと、multipart/form-dataの時にPOSTできないことに気づきました。
調べたところ、ruby-fcgiでは、CGI#stdinputを@request.inに上書きしているのに、cgi/cor... -
04:06 AM Feature #4969: Subtle issue with require
- Then it works.
>> $LOADED_FEATURES.reject! { |i| i =~/abbrev/ }
>> require 'abbrev'
true
-
02:23 AM Feature #4969: Subtle issue with require
- what happens when you put `$LOADED_FEATURES.reject! { |i| i =~/abbrev/ }` before the last `require`
-
01:36 AM Feature #4969: Subtle issue with require
- Okay, I finally got around to digging into this a bit more. The issue can be seen from this simple example.
Given... -
12:24 AM Feature #5448: Singleton module's ::instance method should forward parameters
- Nobuyoshi Nakada wrote:
> Singleton has only one instance, why do you need parameters?
Maybe you're right, becaus...
10/15/2011
-
09:55 PM Bug #5375: [mingw32] segfault on WinXP SP3 with 1.9.3dev@33347
- Hello,
This seems to be a regression of the VM perhaps? Using same compiler (GCC 4.6.1) but against trunk, it work... -
12:48 PM Bug #5450 (Closed): rake 0.9.2.2 does not exist in rubygems.org
- 1.9.3 installs rake as a 'default gems' which version is 0.9.2.2, but the version does not exist in RubyGems's source...
-
09:33 AM Feature #4523 (Feedback): Kernel#require to return the path of the loaded file
- What do you expect when the library has loaded already?
-
08:52 AM Feature #4523: Kernel#require to return the path of the loaded file
- +1
-
08:32 AM Bug #5449 (Closed): nested constant opasign not working
- =begin
This code works on 1.9:
Foo ||= 42
However, (({ ::Foo ||= 42 })) and
Foo ||= Module.new
Foo::Ba...
10/14/2011
-
11:54 PM Feature #5448 (Feedback): Singleton module's ::instance method should forward parameters
- =begin
Singleton has only one instance, why do you need parameters?
What's wrong with:
class FooSingleton < ... -
11:30 PM Feature #5448 (Rejected): Singleton module's ::instance method should forward parameters
- Hi there,
Classes mixing in the Singleton module currently aren't allowed to have parameters for their initialize... -
08:53 PM Feature #5445: Need RUBYOPT -r before ARGV -r
- Hello,
2011/10/14 Thomas Sawyer <[email protected]>:
> Libraries given by -r options in RUBYOPT should be l... -
11:25 AM Feature #5445: Need RUBYOPT -r before ARGV -r
- =begin
A patch follows.
diff --git i/ruby.c w/ruby.c
index 2e6751f..3c8bb3a 100644
--- i/ruby.c
+++ w/ruby.c
@@... -
12:47 AM Feature #5445 (Assigned): Need RUBYOPT -r before ARGV -r
- Libraries given by -r options in RUBYOPT should be loaded before ones in direct command line arguments.
I use a cu... -
06:07 PM Bug #5447 (Third Party's Issue): Rails can't create a new app when a folder with accented letter is in the path
- It's thor's bug.
-
05:03 PM Bug #5447 (Closed): Rails can't create a new app when a folder with accented letter is in the path
- On OS X Lion 10.7.2
With ruby 1.9.3-RC1 and ruby 1.9.3-head
rvm install 1.9.3-head
rvm --create 1.9.3-head@rails... -
05:15 PM Feature #5446: at_fork callback API
- As you know, we can only call asynchronous-signal-safe function between fork and exec when the process is multi threa...
-
11:10 AM Feature #5446 (Closed): at_fork callback API
- It would be good if Ruby provides an API for registering fork() handlers.
This allows libraries to automatically a... -
01:54 PM Revision 6d7df91c (git): * ChangeLog: fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:19 AM Bug #5244: Continuation causes Bus Error on Debian sparc
- Discussion of this issue is ongoing in this thread on sparclinux mailing list: http://marc.info/?t=131806608400002&r=...
-
07:12 AM Feature #5444: Object.free
- And, of course, the gem is not guaranteed across revisions.
-
01:17 AM Feature #5444 (Rejected): Object.free
- While it might be considered useful from some brave power users, we are not going to add such unsafe features to the ...
-
12:28 AM Feature #5444 (Rejected): Object.free
- I came across this gem today:
http://github.com/banister/free
Which led me to wonder if it might not be good ... -
03:14 AM Revision 039f12b5 (git): * ext/pty/pty.c (pty_check): should return nil until the child
- terminates or stops. [ruby-dev:44600] [Bug #2642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33468 b2dd03c8-... -
02:19 AM Revision 3a0e582e (git): * include/ruby/intern.h (rb_ary_reverse): export.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:50 AM Feature #5421: -r option useless
- Thank you, Eric. I do believe that may be the most helpful comment you have ever given me. Even beyond this particula...
10/13/2011
-
10:37 PM Bug #5442: heredoc inside Hash initialization
- I see, thanks
-
10:23 PM Bug #5442 (Rejected): heredoc inside Hash initialization
- That's identical to
Hash[:a, "some text\n"
,:b,'other']
and produces a same error. So it is consistent. Place... -
10:06 PM Bug #5442 (Rejected): heredoc inside Hash initialization
- Shouldn't this initialization be valid?
Hash[:a,<<-EOS
some text
EOS
,:b,'other']
gives the following error
... -
09:16 PM Revision 4f731db7 (git): * cont.c (fiber_store): balance braces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:58 PM Revision f3a62db7 (git): * 2011-10-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:58 PM Revision c96c193e (git): * atomic.h (ATOMIC_INC, ATOMIC_DEC): return old values.
- [ruby-dev:44596] [Bug #5439]
* signal.c (ruby_atomic_exchange): no needs to define on the
platforms where atomic.h ... -
06:04 PM Bug #5439 (Closed): r33361以降sample/test.rb:systemがFになる
- This issue was solved with changeset r33460.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i... -
03:41 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
- > 3.いまatomicに対応してるのはgccとVCだけなので、#if defined(__SUNPRO_CC) だったら http://www.unix.com/man-page/OpenSolaris/9f/atomic_ops/...
-
03:13 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
- 代入前の値を知りたいときは ATOMIC_EXCHANGE 使わないとダメ。
やらないといけないことが3つあって
1.ATOMIC_SETに void キャストいれて、戻り値使おうとしたらコンパイルエラーになるようにする
2... -
03:12 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
- その他のコンパイラの場合はそれはそれで修正すべきと思いますが、sparc上のccにはatomic test and setみたいなインストラクション(があるのか存じ上げませんが)を生成する方法はないのでしょうか? あるのならそちらを使...
-
01:48 PM Bug #5439 (Closed): r33361以降sample/test.rb:systemがFになる
- r33361の変更により、ccでコンパイルすると、プログラム終了時にfinalizerが呼ばれなくなり、sample/test.rb:system にFが出ます。
(Solaris 10, sparc, Sun Studio 11 ... -
10:39 AM Revision 5558de40 (git): * atomic.h (ATOMIC_*): use atomic_ops(3C) when SunStudio on Solaris.
- [ruby-dev:44596] [Bug #5439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33463 b2dd03c8-39d4-4d8f-98ff-823fe6... -
09:19 AM Revision 123645aa (git): * atomic.h(ATOMIC_SET): add cast to void to prevent misuse.
- [ruby-dev:44596] [Bug #5439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33462 b2dd03c8-39d4-4d8f-98ff-823fe... - 09:04 AM Revision 09d18bec (git): * 2011-10-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:04 AM Revision c180eabf (git): * gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):
- should use ATOMIC_EXCHANGE() to check the previous value.
[ruby-dev:44596] [Bug #5439]
git-svn-id: svn+ssh://ci.ru... -
07:44 AM Feature #3631 (Closed): [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
-
06:50 AM Feature #3631: [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
- Patch was rejected upstream, so please close this issue.
-
05:23 AM Bug #5437: Using fibers leads to huge memory leak
- Robert Pankowecki <[email protected]> wrote:
> ruby -v: ruby 1.9.3dev (2011-10-11 revision 33457) [x86_6... -
04:23 AM Feature #5427: Not complex patch to improve `require` time (load.c)
- On Mon, Oct 10, 2011 at 1:53 AM, Yui NARUSE <[email protected]> wrote:
[...]
> It's too late for 1.9.3.
> Its ... -
01:15 AM Feature #5427: Not complex patch to improve `require` time (load.c)
- Patch applies cleanly, builds on my Win7 32bit using TDM-GCC 4.6.1 at `ruby 1.9.3dev (2011-10-11 revision 33457) [i38...
-
02:19 AM Bug #5438 (Closed): [PATCH] Add exception hierarchy in Exception class documentation.
- [PATCH] * error.c: Add exception hierarchy in Exception class documentation.
10/12/2011
-
10:41 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- @argami_toro It seems there may be some circumstances for Lion kernel to panic.
It is not always. 1.9.3 happen to hi... -
10:20 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- So i have a question if is kernel bug why give a kernel error in 1.9.2 and not 1.9.3 or 1.8.7.
-
09:09 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- Motohiro KOSAKI wrote:
> > Obviously, kernel bug.
>
> Even if so, we need workaround. isn't it?
It is an Apple... -
08:51 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- > Obviously, kernel bug.
Even if so, we need workaround. isn't it?
-
05:50 PM Bug #5433 (Third Party's Issue): PTY.spawn Kernel panic on macos lion
- Obviously, kernel bug.
-
10:06 PM Bug #5437 (Rejected): Using fibers leads to huge memory leak
- It appears to me that there is something wrong with reallocating (reusing?) memory used by fibers. Here is a little s...
-
09:42 PM Feature #3187: Allow dynamic Fiber stack size
- I would also welcome such improvement.
-
07:08 PM Bug #5432: ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
- On my machine running Solaris 10 on sparc, with Oracle Solaris Studio 12.2 and openssl 1.0.0d, the issue does not occ...
-
02:54 PM Feature #3631: [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
- I submitted this patch directly to the Rake project:
https://github.com/jimweirich/rake/pull/79
If it is acce... - 02:41 PM Revision 9f3f24e2 (git): * 2011-10-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:41 PM Revision a31495b1 (git): * test/openssl/test_ssl.rb: Move duplicated tests for SSL::Session to
- test_ssl_session.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 AM Bug #4157: test_pty で、たまに出る Failure
- きしもとです
> 同じことができるというのは事実誤認です。
>
> 少なくとも PTY.open と spawn には制御端末を設定する機能がありません。
わかりました。deprecated 以降につい... -
09:29 AM Bug #4157: test_pty で、たまに出る Failure
- 2011年10月12日9:03 KISHIMOTO, Makoto <[email protected]>:
> 「テストがたまに fail」の原因は、ktrace してみると read の時点で読めて
>... -
09:23 AM Bug #4157: test_pty で、たまに出る Failure
- きしもとです
PTY についてですが、さらにいくつか気になったので、中間まとめを作ります。
・(るりま)1.9.2 で protect_signal が削除されたことに対応していない
・(るりま)1.9.2 ... -
07:33 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I updated a patch.
> % ./ruby -e 'a = (1.0..12.7).step(1.3).to_a; p a.all? {|n| n <= 12.7 }, a.last'
> > false
>... -
03:51 AM Feature #5427: Not complex patch to improve `require` time (load.c)
- On 11 October 2011 04:42, Urabe Shyouhei wrote:
> On 10/10/2011 07:51 PM, Yura Sokolov wrote:
>> Anyway, is idea lo... -
01:02 AM Feature #5427: Not complex patch to improve `require` time (load.c)
- 11.10.2011 06:42, Urabe Shyouhei пишет:
> On 10/10/2011 07:51 PM, Yura Sokolov wrote:
>> Anyway, is idea looks good?
...
10/11/2011
-
11:23 PM Feature #5434: Allow per-class whitelisting of methods safe to expose through DRb
- えっと、ブラックリストもそうなんですけど
ホワイトリスト以外のメソッドも工夫したら
すり抜けられると思いますけどどうしますか?
うっかりミスを防ぐことはできるから
宣言としての効果があるという意味でしょうか。
... -
01:11 PM Feature #5434 (Assigned): Allow per-class whitelisting of methods safe to expose through DRb
- We have following pull-request.
https://github.com/ruby/ruby/pull/50
How do you feel? I can merge this if you ... -
09:53 PM Bug #4157: test_pty で、たまに出る Failure
- がさごそやっていてちょっと気になったのですが、
PTY.getpty の rdoc には、疑似端末のマスターデバイスにつながった r と w
のオブジェクトが IO と書かれていますが、コードのほうは File を生成... -
07:47 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- ok in this 2 i have the issue
ruby 1.9.2p312 (2011-08-11 revision 32926) [x86_64-darwin11.0.1]
ruby 1.9.2p180 (2011-... -
05:44 PM Bug #5433 (Feedback): PTY.spawn Kernel panic on macos lion
-
05:43 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- Gamaliel, please give us the precise information of "ruby -v".
Moreover, please tell us what compiler you use for co... -
05:42 PM Bug #5433: PTY.spawn Kernel panic on macos lion
- Any kernel panic logs?
-
06:48 AM Bug #5433: PTY.spawn Kernel panic on macos lion
- On Ruby 1.9.2-p290 compiled with GCC (not LLVM-GCC) OS X 10.7.1 panics when I run your command.
-
06:17 AM Bug #5433: PTY.spawn Kernel panic on macos lion
- Just happen in 1.9.2 in 1.9.3-head its ok
-
05:58 AM Bug #5433 (Third Party's Issue): PTY.spawn Kernel panic on macos lion
- If you execute a PTY.spawn with a non existing command give a kernel panic.
Example
require 'pty'
PTY.spawn('n... -
10:55 AM Bug #5432 (Assigned): ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
-
05:29 AM Bug #5432 (Closed): ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
- I've tried building ruby 1.9.2-p290 and ruby 1.8.7-p352 on x86_64-sun-solaris2.10 (Solaris 10 10/08, update 6) with t...
-
10:27 AM Bug #5425: Improves Array's uniq/uniq! example
- Eric Hodel wrote:
> Please watch for trailing whitespace in your patches.
Will do. Sorry for that. The idea is to... -
08:50 AM Bug #5425 (Closed): Improves Array's uniq/uniq! example
- This issue was solved with changeset r33453.
Alvaro, thank you for reporting this issue.
Your contribution to Ruby is... -
08:44 AM Bug #5425: Improves Array's uniq/uniq! example
- Please watch for trailing whitespace in your patches.
-
07:58 AM Bug #5412: Array documentation
- I made a few minor changes to your patch:
I aligned the various example result (#=>) markers for better readabilit... -
07:55 AM Bug #5412 (Closed): Array documentation
- This issue was solved with changeset r33451.
Andrea, thank you for reporting this issue.
Your contribution to Ruby is... -
06:10 AM Bug #5430 (Closed): [PATCH] Update documentation for PP
- This issue was solved with changeset r33450.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby i... -
06:06 AM Bug #5428 (Closed): [PATCH] Update documentation for Coverage
- This issue was solved with changeset r33449.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby i... -
05:54 AM Bug #5426 (Closed): Adds reference to BasicObject on Object
- This issue was solved with changeset r33447.
Alvaro, thank you for reporting this issue.
Your contribution to Ruby is... -
05:54 AM Bug #5426: Adds reference to BasicObject on Object
- Please trim your trailing whitespace.
I modified your patch slightly to make it a bit more readable. -
05:18 AM Feature #5431: Check issue with ruby-1.9.3-rc1
- > /home/verbus/ruby-1.9.3-rc1/test/dl/test_func.rb:92: [BUG] Segmentation fault
> ruby 1.9.3dev (2011-09-23 revision... -
04:13 AM Feature #5431 (Rejected): Check issue with ruby-1.9.3-rc1
- Error Message: You may have encountered a bug in the Ruby interpreter or extension libraries.
See attached file fo... -
02:50 AM Revision 14c3e60d (git): Skip too heavy test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:33 AM Revision 62b19328 (git): merge revision(s) 33296:
- * test/-ext-/old_thread_select/test_old_thread_select.rb:
select() with timeout may return early in old Lin... - 02:21 AM Revision 82f2c168 (git): * 2011-10-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 AM Revision 2f75c644 (git): merge revision(s) 33203:
- ------------------------------------------------------------------------
r33203 | naruse | 2011-09-06 04:11:21 -0400 ... -
12:53 AM Feature #5400: Remove flip-flops in 2.0
- > I have no objection to deletion, but I'm just curious.
> Why do you want to delete it aggressively?
>
> --
...
10/10/2011
-
11:50 PM Revision 48cbe202 (git): * array.c (rb_ary_initialize): Improve explanation of Array.new
- parameters. Patch by Alvaro Pereyra Rabanal. [Ruby 1.9 - Bug #5425]
* array.c (rb_ary_s_try_convert): Fix typo (tr... -
11:14 PM Revision 84405113 (git): merge revision(s) r33265:
- * lib/pstore.rb, test/test_pstore.rb: suppress warnings with -v.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branch... -
10:55 PM Revision 06e3f349 (git): * array.c: Add a description to Array, minor cleanups. Patch by
- Andrea Singh. [Ruby 1.9 - Bug #5412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33451 b2dd03c8-39d4-4d8f-98... -
09:10 PM Revision 627c179a (git): * lib/pp.rb: Move PP documentation to top of class PP. Patch by
- Sylvain Daubert. [Ruby 1.9 - Bug #5430]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33450 b2dd03c8-39d4-4d8f... -
09:06 PM Revision ccec5b49 (git): * ext/coverage/coverage.c (Init_coverage): Change list format and
- describe Coverage.result output. Patch by Sylvain Daubert.
[Ruby 1.9 - Bug #5428]
git-svn-id: svn+ssh://ci.ruby-... - 08:54 PM Revision 55b3a88b (git): * 2011-10-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:54 PM Revision ee8fd5f1 (git): * object.c (Init_Object): Add reference to BasicObject, brief
- explanation of constant lookup. Based on patch by Alvaro Pereyra
Rabanal.
[Ruby 1.9 - Bug #5426]
git-svn-id: s... -
02:13 PM Bug #5401: Ruby 1.9.3 interpreter crash
- I cannot reproduce this issue because therubyracer isn't able to install on my environment, Mac OS X 10.7 with Xcode ...
-
05:23 AM Feature #5427: Not complex patch to improve `require` time (load.c)
- It's too late for 1.9.3.
Its feature is frozen on July 10.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-c... -
04:53 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- > == Linux
> extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
> manpageは以下の通りだが、実際のヘッダは異なる... -
01:52 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- ざっと調べてみましたが、
== POSIX
int ioctl(int fildes, int request, ... /* arg */);
http://pubs.opengroup.org/onlinepubs/96... -
12:39 AM Bug #5429 (Closed): 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- 64ビットなFreeBSD 8において、ioctl(2)のプロトタイプ宣言は以下のように
なっていて、
int
ioctl(int d, unsigned long request, ...);
ビット31(32ビット... -
03:25 AM Bug #5425: Improves Array's uniq/uniq! example
- Thanks Benoit. I've fixed that typo and used the same explanation for both uniq and uniq!. Also made some other chang...
-
02:06 AM Bug #5412: Array documentation
- Hi Eric,
I made the adjustments you requested. I added the * for blank lines and linked the references to other me... -
01:37 AM Bug #5430 (Closed): [PATCH] Update documentation for PP
- Move documentation block in front of class definition.
Also available in: Atom