Activity
From 10/12/2011 to 10/18/2011
10/18/2011
-
10:12 PM Bug #5459: Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf
- I reviewed your patch. +1 me too.
-
06:52 PM Bug #5459: Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf
- +1. It seems harmless.
-
06:12 PM Bug #5459 (Closed): Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf
- The attached patch silences -Wmissing-declarations and -Wold-style-definition warnings in c files generated by mkmf. This is required, as mkmf uses $CFLAGS when running the c compiler on the generated c files.
-
08:53 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- Hello,
I'm glad to here the solution of this problem.
Thanks to all the people that tackled it.
There is only one proposal from me.
In mswin, /Oy- is always specified.
So, in mingw, We should specify -fno-omit-frame-poin... -
08:11 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- I have same issues as above.
trunk@33473 and 1.9.3dev build fails on Windows XP SP3 with gcc version 4.6.1 (tdm-1).
And build with -fno-omit-frame-pointer flag works fine.
This document explains about setjmp and Frame-Pointer Om... -
06:20 PM Feature #5460 (Closed): Improve "CONNECT" code in net/http. (patch inclulded)
- The net/http sends "CONNECT" request when communicate https server via proxy.
At this time, net/http calls "write" each request.
This is a fair but inefficient code because it increases the system call invocation and packet fragmenta... -
03:53 PM Feature #5444: Object.free - help
Best,
Eric Scrivner,
Level2 Designs
On Oct 13, 2011, at 8:28 AM, Thomas Sawyer wrote:
Issue #5444 has been reported by Thomas Sawyer.
----------------------------------------
Feature #5444: Object.fre... -
02:53 PM Feature #5454: keyword arguments - See below.
--
Evan Phoenix // evan@phx.io
On Monday, October 17, 2011 at 10:33 PM, Haase, Konstantin wrote:
> From the current patch it seems to me that this would raise an ArgumentError, as it does now. Neither name nor... -
02:53 PM Feature #5454: keyword arguments
- From the current patch it seems to me that this would raise an ArgumentError, as it does now. Neither name nor age are "keyword arguments". There is no way to define keyword arguments without a default.
Also, these are really named... -
02:31 PM Feature #5454: keyword arguments
- Please ask such question at the Rails mailing list, the ruby-talk mailing list, or Stack Overflow. The core list is about developing Ruby, not developing *in* Ruby.
Konstantin
On Oct 17, 2011, at 22:14 , Praveer Dikshit wrote:... -
02:31 PM Feature #5454: keyword arguments - Thanks for the translation!
I've got a question about the proposal that will help me understand how it would be implemented.
Given a method:
def foo(name, age)
p [name, age]
end
And then code that calls this method:
ar... -
02:26 PM Feature #5454: keyword arguments - Do I need to learn Ruby first to learn Rails?
Loving Ruby and want to learn it.
Thanks
2011/10/18 Yukihiro Matsumoto <matz@ruby-lang.org>
> Hi,
>
> I should have posted in English at first.
> Thank you guys for translatio... -
01:23 PM Feature #5454: keyword arguments
- Hi,
I should have posted in English at first.
Thank you guys for translation.
matz.
In message "Re: [ruby-core:40191] Re: [Ruby 2.0 - Feature #5454] keyword arguments"
on Tue, 18 Oct 2011 11:56:29 +0900, Yu... -
11:59 AM Feature #5454: keyword arguments - Hi,
2011年10月18日8:13 Evan Phoenix <evan@phx.io>:
> This looks very interesting! Would someone be willing to translate to english? I've only got a vague idea of what is being discussed.
>
I and NaHi translated the mails.
http://r... -
08:23 AM Feature #5454: keyword arguments - This looks very interesting! Would someone be willing to translate to english? I've only got a vague idea of what is being discussed.
--
Evan Phoenix // evan@phx.io -
07:55 AM Feature #5454: keyword arguments
- |細かいことはまだ気にしていませんが、キーワード引数が 2.0 に入る
|ことはかなり確定的なので、とりあえず trunk に入れて考えるという
|のはどうでしょうか。
賛成です。trunkに入れちゃっていいのかな。そういう機能の入っ
ていない1.9ブランチが欲しい人は急いで切ったほうがいいと思い
ますよ。
|以下は未実装・懸案です。
|
| - 残りのキーワード引数を受け取る方法が必要か
|
| def foo(str: "foo", ... -
01:21 AM Feature #5454 (Rejected): keyword arguments
- 遠藤です。
キーワード引数を実装してみました。
$ cat t.rb
def foo(str: "foo", num: 424242)
p [str, num]
end
foo(str: "bar")
$ ./ruby t.rb
["bar", 424242]
細かいことはまだ気にしていませんが、キーワード引数が 2.0 に入る
ことはかなり確定的なので、とりあえず trunk に入れて考えるという
... -
02:28 PM Revision 12c497dc (git): * hash.c (identhash): share with type_numhash.
- * st.c (st_hashtype_num): rename from type_numhash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 PM Revision eb21db77 (git): * vm_core.h (ruby_current_thread): probeprofiler has been removed
- long ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 PM Revision 560a6c6f (git): * ext/ripper/eventids2.c (ripper_init_eventids2): separate
- initializations of IDs and objects.
* ext/ripper/tools/generate.rb (generate_eventids1): ditto.
* parse.y (Init_ripper, InitVM_ripper): fix inversed roles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33474 b2dd03c8-39d4-4d8f-98ff-... -
02:05 PM Bug #5450 (Open): rake 0.9.2.2 does not exist in rubygems.org
- The problem I raised is an issue of "importing third party's gem as a standard library", not an issue of bundler. Sorry for let you confusing, Nobu.
The latest version of rake is 0.9.2 on RubyGems.org, but we're going to release modif... -
04:08 AM Feature #5458 (Closed): DL should be removed
- DL and fiddle are redundant. Moreover DL has no maintainer and its code is problematic.
-
04:06 AM Feature #5456 (Assigned): kernel#syscall() should be removed.
- It doesn't works correctly a long time. It's not portable and JRuby have no chance to implement it.
Moreover, Fiddle provides better interface.
-
04:04 AM Feature #5455 (Rejected): $SAFE should be removed
- see
[ruby-dev:44554](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/44554)
[ruby-dev:44572](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-dev/44572) -
02:33 AM Bug #5451 (Closed): cgi/core.rbのread_multipart()で$stdioを直接使っているために、ruby-fcgiでmultipart/form-dataが使えない
- This issue was solved with changeset r33472.
Kazuhiko, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang...
10/17/2011
-
11:53 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- Hi,
2011/10/17 Luis Lavena <luislavena@gmail.com>
> On Mon, Oct 17, 2011 at 11:59 AM, Heesob Park <phasis@gmail.com> wrote:
> >
> > Issue #5407 has been updated by Heesob Park.
> >
> >
> > After some trial and error,... -
11:23 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- On Mon, Oct 17, 2011 at 11:59 AM, Heesob Park <phasis@gmail.com> wrote:
>
> Issue #5407 has been updated by Heesob Park.
>
>
> After some trial and error, it turns out this bug is GCC 4.6.1 optimization flag issue.
>
> According ... -
06:59 PM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
- After some trial and error, it turns out this bug is GCC 4.6.1 optimization flag issue.
According to the document of gcc 4.6.1(http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#index-fomit_002dframe_002dpointer-691):
... -
10:00 PM Bug #5450 (Third Party's Issue): rake 0.9.2.2 does not exist in rubygems.org
- It just seems a bug of bundler or a mis-release of rake.
Why do we have to remove rake "gem"? -
07:18 PM Feature #5453 (Third Party's Issue): Add gemspecs to auto-mode-alist for ruby-mode
- ruby-mode is now a part of GNU Emacs so please report there.
The one we have is for older Emacs versions, like Emacs 21. -
06:27 PM Feature #5453 (Third Party's Issue): Add gemspecs to auto-mode-alist for ruby-mode
- "\\.gemspec\\'" should be added to auto-mode-alist for ruby-mode, as they are Ruby files.
-
06:20 PM Feature #4523: Kernel#require to return the path of the loaded file
- False, the same as currently.
-
05:50 PM Bug #5437: Using fibers leads to huge memory leak
- I tried to use your setting but as you can see in the results files it does not change very much. Also I added finalizers to those fibers to make sure that they are garbage collected and most of them are. So why is the memory increasing ...
- 05:34 PM Revision 1a3f365c (git): * 2011-10-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:33 PM Revision 673448c2 (git): Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi/core.rb (QueryExtension#read_multiparat): replace 'stdinput'
from '$stdin' because using fast cgi. [Bug #5451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 arguments when only 3 are supported and the :mode isn't explained - please update the docs.
- 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 (homepage): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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/core.rbのread_multipart()でだけ$stdinを直接使っているために、以下のように例外が発生します。 ( https://github.com/tdiary/tdiary-core/issues/102 )
/usr/l... -
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 a local directory containing:
fixture/
abbrev.rb
Then:
$ irb
>> $LOAD_PATH.unshift('./fixture')
... -
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, because one could do it with accessors as well. However, beside that a Singleton can just have one instance, there's nothing s...
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 works perfectly:
V:\>ruby -v
ruby 1.9.4dev (2011-10-14 trunk 33469) [i386-mingw32]
V:\>ruby -rpsych -ve "puts Psych.l... -
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 repository.
I heard that it makes bundler confuse. For some environment (not 100%), bundler generates Gemfile.lock w... -
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::Bar ||= 42
both raise a SyntaxError: constant re-assignment.
(Note: I had to use the (({...})) syntax so Redmine wou...
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 < Foo
include Singleton
def initialize
super(1)
end
end
=end
-
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 method. This should be changed, because sometimes it's necessary to give some initial state information to the single(t... -
08:53 PM Feature #5445: Need RUBYOPT -r before ARGV -r
- Hello,
2011/10/14 Thomas Sawyer <transfire@gmail.com>:
> Libraries given by -r options in RUBYOPT should be loaded before ones in direct command line arguments.
How about adding a new environment variable, such as RUBYOPT... -
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
@@ -1251,9 +1251,13 @@ process_options(int argc, char **argv, struct cmdline_options *opt)
VALUE src_enc_name = opt->src... -
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 custom load system for development that I have been using for years and it works very well for me. But Ruby has some edge ... -
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@rails3.1.1
rvm --default use 1.9.3-head@rails3.1.1
gem install rails
cd Documents/EMC/Émilie/rails/
rails new test_app
... -
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 threaded.
but ruby code invocation definitely need to use malloc which not async-signal-safe. so, it's pretty hard to implem... -
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 and agnostically reinitialize resources
such as open IO objects in child processes whenever fork() is called by a user
... -
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=1&w=2.
-
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 core.
Use the gem.
matz. -
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 to have this feature built-in to the core language. While not useful in most cases, it could be very useful to power-use... -
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-39d4-4d8f-98ff-823fe69b080e -
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 particular issue, it provides me some additional clarity on how best to present issues in the future.
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 the comma beforehand. i.e.
Hash[:a, <<-EOS, :b, 'other']
some text
EOS -
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
syntax error, unexpected ',', expecting ']' -
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 is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 is greatly appreciated.
May Ruby be with you.
----------
* gc.c (rb_gc_finalize_deferred, rb_objspace_call_finalizer):
... -
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/ の命令つかって、atomicに動くように実装する
Solaris10ではヘッダの場所が #include <atomic.h> となっているのがOpenSolarisと違いますが、関数の仕様は同じのようです。(もっとも、Solar... -
03:13 PM Bug #5439: r33361以降sample/test.rb:systemがFになる
- 代入前の値を知りたいときは ATOMIC_EXCHANGE 使わないとダメ。
やらないといけないことが3つあって
1.ATOMIC_SETに void キャストいれて、戻り値使おうとしたらコンパイルエラーになるようにする
2.指摘されてる間違った ATOMIC_SEC を ATOMIC_EXCHANGEに変換
3.いまatomicに対応してるのはgccとVCだけなので、#if defined(__SUNPRO_CC) だったら
http://w... -
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 にて確認)
% make test
(中略)
sample/test.rb:eval .............................
sample/test.rb:system .FFFF.F.
samp... -
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-823fe69b080e -
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-823fe69b080e - 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.ruby-lang.org/ruby/trunk@33460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 <robert.pankowecki@gmail.com> wrote:
> ruby -v: ruby 1.9.3dev (2011-10-11 revision 33457) [x86_64-linux]
> fibers = []
>
> GC.start
GC.start is never guaranteed to release memory (especially not with
... -
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 <naruse@airemix.jp> wrote:
[...]
> It's too late for 1.9.3.
> Its feature is frozen on July 10.
It is not a feature, just an optimization. So if it works well, it can
be included,... -
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) [i386-mingw32]` and passes all `make test-all TESTS='openssl fiddle psych' && make test`
Planning to benchmark and test s... -
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 hit that.
When Apple disclose that exact condition, we are possible to workaround. -
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.
> ...
It is an Apple's fault.
The first thing to be done is to blame Apple, not to report here.
You are a customer of Apple, not us.
However if you are not a customer but an employ... -
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 script:
-
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 occur, and "make test" is finished without error.
% export PATH=/opt/solstudio12.2/bin:$PATH
% ./configure --prefix=/... -
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 accepted there, then perhaps someday it will
find its way back into ruby-core. One can only dream. :) - 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 以降についての提案は一旦ひっこめます。
あと、るりまの記述を確認していったところ、確認しきれなかったので、
どなたかわかるかたに質問したいのですが、
> 子プロセスの状態を監視するために SIGCHLD シグナルを捕捉します。... -
09:29 AM Bug #4157: test_pty で、たまに出る Failure
- 2011年10月12日9:03 KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>:
> 「テストがたまに fail」の原因は、ktrace してみると read の時点で読めて
> ない、ということ以外、皆目掴めないのですが、PTY.open と Kernel#spawn
> を組み合わせて同じことをやった場合は問題が出ないようですし、Kernel#spawn
> の新しい機能を使えば PTY#getpty(... -
09:23 AM Bug #4157: test_pty で、たまに出る Failure
- きしもとです
PTY についてですが、さらにいくつか気になったので、中間まとめを作ります。
・(るりま)1.9.2 で protect_signal が削除されたことに対応していない
・(るりま)1.9.2 (?) で SIGCHLD の捕捉をおこなわなくなったことに
対応していない
・PTY.check を第二引数 raise=true で実行すると、子プロセスが実行中でも
PTY::ChildExited が発生する(これは... -
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'
> ...
This issue has 3 options:
(1) ignore
(2) return end
(3) change step
In this thread, we don't ignore it, so (2) or (3).
... -
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:
> ...
I was also curious how it performed so I made a benchmark.
Please have a look at https://gist.github.com/1278881 -
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:
> ...
With my application
Before patch:
RAILS_ENV=production rails runner 'puts $LOADED_FEATURES.size'
985
real 0m6.089s
user 0m5.644s
sys 0m0.308s
...