Activity
From 07/03/2011 to 07/09/2011
07/09/2011
-
11:27 PM Feature #5005: Provide convenient access to original methods
- The idea to address the issue is the "prepend" feature planned for Ruby 2.0.
class Original
def any_method
...
end
end
module Modifier
def any_method
#custom code
super # call the original any_method, passi... -
11:13 PM Feature #5005: Provide convenient access to original methods
- Ondrej,
When module is included into a class, Ruby adds a new anonymous (in a sense that it will be skipped by Class#superclass calls) class into the inheritance chain: https://gist.github.com/1073599. So it is appending, not prependi... -
10:43 PM Feature #5005: Provide convenient access to original methods
- Michael Klishin wrote:
> This approach with aliasing seems to be pretty popular because many people do not know that it is possible to define a module with #any_method and include it into a class (in your example, String) and call super... -
09:55 PM Feature #5005: Provide convenient access to original methods
- This approach with aliasing seems to be pretty popular because many people do not know that it is possible to define a module with #any_method and include it into a class (in your example, String) and call super in that module method. Th...
-
08:05 PM Feature #5005 (Rejected): Provide convenient access to original methods
- The languag allows a class to be "reopened", thus it's behaviour can be redefined:
class String
def any_method
#custom code
end
end
the original method can be called, using this construct:
class String
alias_metho... -
11:26 PM Feature #5007 (Assigned): Proc#call_under: Unifying instance_eval and instance_exec
- I'm proposing a method called `Proc#call_under` (the name could be
discussed) which both unifies `instance_eval` and `instance_exec`, and makes
it possible to call a `Proc` with a block and a scope:
`Proc#call_under(self, *args, &bl... -
09:53 PM Bug #5002: Ripper fails to distinguish local vars from vcalls [PATCH]
- Hi,
At Sat, 9 Jul 2011 12:24:04 +0900,
Michael Edgar wrote in [ruby-core:37908]:
> The funny thing is, the parser already *is* doing almost all
> of the work! It's just not looking at the local variable
> tables when it com... -
12:24 PM Bug #5002 (Closed): Ripper fails to distinguish local vars from vcalls [PATCH]
- Ripper always parses the `variable` grammar production (which includes identifiers, {i,c,g}vars, nil, __FILE__, etc) as a `var_ref` node, whose only child is the token itself.
This is a problem for one huge reason: local variables loo... -
09:42 PM Feature #5006 (Rejected): Allow ~> as a method
- It occurs to me that since RubyGems uses ~> as a recognized version constraint operator (along with >, <, >= and <=) it would be nice if Ruby supported it as a valid method. Ultimately RubyGems could use the new method in it's code. But ...
-
07:20 PM Bug #5004 (Closed): Version of rubygems needs update
- =begin
source:NEWS#L244
> Rubygems has been upgraded to rubygems 1.5.0.
This should be updated to 1.8.5.1 in the trunk.
=end
- 07:11 PM Revision 19065fe3 (git): * 2011-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:11 PM Revision 53e667a9 (git): Remove duplicated definition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 PM Feature #4893: Literal Instantiation breaks Object Model
- Yukihiro Matsumoto wrote:
> |This is really a (class)local status, see this issue subjecting terminology:
> ...
[...]
Commented there.
> |This change has a trivial influence, as nothing can go wrong. Even if the flag is set, thi... -
06:33 PM Feature #4984: [TERMINOLOGY] Provide Document for Terminology (e.g. "Global Status")
- =begin
Lazaridis Ilias wrote:
> =begin
> ...
[...]
I've created a draft version of the document, this should clarify this issue:
((<URL:http://redmine.ruby-lang.org/projects/ruby/wiki/Terminology>))
=end
-
01:11 AM Feature #4984: [TERMINOLOGY] Provide Document for Terminology (e.g. "Global Status")
- Yukihiro Matsumoto wrote:
> =begin
> ...
Nothing more than to provide a document, where some terminology which is used within the project is written down.
Note that (as always) this issue addresses the project, and not you individua... -
04:25 PM Bug #3784: Seg fault in IO.select from webrick
- Hiroshi asked if the problem happens with a later version of Ruby -- it does. I am using 1.9.2p180 on Windows 7 64-bit. Ruby was installed using the installer from rubyinstaller.org. So now we have a full set -- it happens on Unix, Li...
-
03:59 PM Bug #5001 (Closed): unsigned warning raised by error.c
- This issue was solved with changeset r32470.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (rb_w32_{read,write}): should be signed.
Bug #5001 -
01:41 AM Bug #5001 (Closed): unsigned warning raised by error.c
- Building on trunk, a warning around error.c worries me:
-
02:41 PM Feature #4891 (Closed): Vector#normalize
- Applied as r32467, thank you!
-
02:32 PM Bug #3866 (Closed): Multipart Form Parsing bug
- This issue was solved with changeset r32469.
Heinrich, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/core.rb: fix multipart form parsing bug. [Bug #3866] -
01:34 PM Bug #4962: come back gem_prelude!
- And, here is laster benchmark comparision on Linux Fedora15 x86-64.
You have to ignore vm_thead_xx and vm3_clearmethodcache. They are influenced another changes.
And only followint three have significant difference.
name 192... -
01:20 PM Bug #4962: come back gem_prelude!
- Now, nobu is reviewing Aaron's patch. Please don't close it awhile. Instead I reassign the ticket to nobu.
Thanks. -
09:36 AM Bug #4962: come back gem_prelude!
- May I close this ticket?
-
12:55 PM Feature #4935: Quoted Label Form for 1.9 Hashes
- With the feature freeze coming up in a couple days, is there a chance this sees 1.9.3? It doesn't break any old syntax, only introduces new syntax, and rounds out the label feature of the 1.9 branch nicely.
- 11:12 AM Revision 59323038 (git): * 2011-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:12 AM Revision 00720b2f (git): * ext/tk/extconf.rb: I gave up to fix the build issue of ext/tk with Windows
- installer (mingw32). Ported whole ext/tk/extconf.rb from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:06 AM Revision aef70074 (git): * internal.h: rb_rational_reciprocal is defined in rational.c.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:50 AM Revision bc11aa72 (git): * internal.h: added declarations.
- * complex.c: followed the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 AM Feature #4865: Documentation of FileUtils is very unclear on how errors are handled
- I do not have the experience to document the error handling of FileUtils.
Assigning to nobody as there appears to be no FileUtils maintainer at this time. -
09:26 AM Bug #3022: What are $. and ARGF.lineno ?
- I will need to add support to RDoc for global variables, I don't have time to add the feature for 1.9.3.
ARGF.lineno is documented now. -
09:25 AM Bug #4757 (Closed): Attempt to make Enumerator docs more clear (patch included)
- This issue was solved with changeset r32466.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Remove "enumeration sequenced by".
[Ruby 1.9... -
09:21 AM Bug #4902 (Closed): IO#each counts lineno
- This issue was solved with changeset r32465.
b, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c: Note that methods other than IO#gets may increase IO#lineno... -
08:56 AM Bug #4519 (Closed): rubygems/test_gem_package_task.rb breaks rake/test_filelist.rb
- I cannot reproduce this, I think it has been fixed.
$ make test-all TESTS='rubygems rake -v'
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common .... -
08:47 AM Bug #4485: Gem.bin_path('rake') does not return the path of the system-installed rake
- The attached patch adds executables to the stub gemspecs and installs a copy of bin/rake into the gem directory.
Can I have it reviewed? - 08:25 AM Revision 88b6d505 (git): * NEWS: bigdecimal is not a builtin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:18 AM Revision 057e0a37 (git): * ext/date/date_core.c: some improvements for performance.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:03 AM Feature #1136 (Closed): "ri Kernel#require" is broken
- I cannot reproduce:
$ gem19 install rails -i ~/tmp/gems
…
24 gems installed
$ GEM_HOME=~/tmp/gems ri19 Kernel#require
Kernel#require
(from ruby core)
…
$ GEM_HOME=~/tmp/gems ri19 --version
ri19 3.8
$ ruby19 --version
rub... -
07:56 AM Revision 2a8a9d1d (git): * atomic.h (ATOMIC_OR): _InterlockedOr is unavailable in VC6.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:54 AM Revision 03c618da (git): * numeric.c (ULLONG_MAX): fallback definition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 AM Bug #4994 (Rejected): DelegateClass don't find extern global public method in 1.9.2
- It's a spec change for [ruby-dev:39154].
* Delegator now tries to forward all methods as possible,
* but not for private methods, and
* test_that? is a private method.
Probably, it would need a way to tell how the method is calle... -
06:59 AM Revision 63ab1901 (git): * win32/win32.c (rb_w32_{read,write}): should be signed.
- Bug #5001
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:32 AM Revision 7fd78fad (git): * lib/cgi/core.rb: fix multipart form parsing bug. [Bug #3866]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 AM Revision 57da3d94 (git): comment clarification. Only Leopard or earlier has ENOTSUPP
- issue if my kernel code reading is correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Bug #4989: Document Socket constants
- On Jul 8, 2011, at 10:04 AM, KOSAKI Motohiro wrote:
> 2011/7/9 James Cox <james@imaj.es>:
>> On Fri, Jul 8, 2011 at 08:25, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>>> Hi
>>>
>>>> Why change all the statuses to low here?... -
02:23 AM Bug #4989: Document Socket constants
- 2011/7/9 James Cox <james@imaj.es>:
> On Fri, Jul 8, 2011 at 08:25, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> Hi
>>
>>> Why change all the statuses to low here? I don't see the validity of
>>> your change, especial... -
01:23 AM Bug #4989: Document Socket constants - On Fri, Jul 8, 2011 at 08:25, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
>> Why change all the statuses to low here? I don't see the validity of
>> your change, especially as this one comes with a patch: surely th... - 02:41 AM Revision 1e696acc (git): * lib/matrix.rb: Add Vector#normalize [ruby-dev:43829]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 AM Feature #5000 (Closed): skip string creation of when clause
- 遠藤です。
when 節に文字列リテラルをそのまま書くことは結構あると思います。
case str
when "foo"
when "bar"
when "baz"
end
現在は when 節の比較を実行するごとに、String オブジェクトが生成
されています。しかし、この場合は毎回同じオブジェクトを返せばいい
と思います。最良のケースで、このくらい高速化します。
$ cat t.rb
50000... -
01:24 AM Bug #4999 (Closed): configure.in issues are breaking the build under MinGW
- Shyouhei Urabe wrote:
> Hmm, the autoconf I used to ship the 1.8.7 was autoconf 2.65. Is it perhaps not a MinGW specific issue but an autoconf 2.67 problem?
Hmn, I've entered 1.8.7-p334 in ruby -v field because is the base ruby I us... -
01:08 AM Bug #4999: configure.in issues are breaking the build under MinGW
- Hmm, the autoconf I used to ship the 1.8.7 was autoconf 2.65. Is it perhaps not a MinGW specific issue but an autoconf 2.67 problem?
-
12:53 AM Bug #4999 (Closed): configure.in issues are breaking the build under MinGW
- At r32461, configure.in is generating a warning during autoconf:
-
01:15 AM Bug #4992: finalizer中のThread.newでSEGV
- How's this?
```diff
Index: vm_core.h
===================================================================
--- vm_core.h (revision 32446)
+++ vm_core.h (working copy)
@@ -285,6 +285,7 @@
VALUE thgroup_default;
int running;
+ ... -
12:53 AM Bug #4995: 1 test fails on AIX
- Hi Perry,
Could you please try , for example,
# ldedit -b maxdata -
12:40 AM Bug #4799: M17N tests are too JP specific
- I doubt some gems/library set Encoding.default_internal and its breaks those tests.
Can you run test-all in clean environment?
configure --prefix=/somewhere may help you. -
12:25 AM Revision d137810d (git): * enumerator.c: Remove "enumeration sequenced by".
- [Ruby 1.9 - Bug #4757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 AM Revision 0c3833ec (git): * io.c: Note that methods other than IO#gets may increase IO#lineno.
- [Ruby 1.9 - Bug #4902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/08/2011
-
11:57 PM Bug #4473: Calling return within begin still executes else
- Hello,
> |(2011/06/11 16:21), Nobuyoshi Nakada wrote:
> ...
I have no idea which behavior is better. But, at least, the
behavior of 1.9 seems to be caused by a wrong optimization:
def foo
begin
return
rescue... -
11:39 PM Revision dd2dfc71 (git): * common.mk (RUN_OPT): disable gems.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:37 PM Revision 01d18fe0 (git): * 2011-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:37 PM Revision dc3697f6 (git): * io.c (rb_io_close): close(2) on a fd which is being read by
- another thread causes deadlock on Mac OS X 10.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:56 PM Bug #4997 (Third Party's Issue): Rake Aborted
- This is most likely an issue with MySQL gem and the incorrect libmysql.dll
The binary version of mysql gem is very specific during the installation about the MySQL DLLs that it requires.
You can avoid downloading and changing your ... -
08:54 PM Bug #4997 (Third Party's Issue): Rake Aborted
- When I run the command "Rake db:create" on the command prompt and type in my password for my mysql, I usually get the following bug issues.
rake aborted!
Access denied for user 'root'@'localhost' (using password: YES)
C:/Ruby192/lib... -
09:55 PM Bug #4929 (Closed): test/dl/test_func.rb was crashed on Mac
- Hm,
Today's trunk don't reproduce this issue. I'll close this ticket.
Thanks guys! -
09:50 PM Bug #4992 (Assigned): finalizer中のThread.newでSEGV
-
12:53 PM Bug #4992: finalizer中のThread.newでSEGV
- 2011/7/8 SASADA Koichi <ko1@atdot.net>:
> (2011/07/08 10:24), KOSAKI Motohiro wrote:
>> IOW, we shouldn't allow to create new thread in finalizer.
>> It's disaster. just my 2 cent.
>
> Why that?
After ruby_finalize_1(), m... -
11:53 AM Bug #4992: finalizer中のThread.newでSEGV
- (2011/07/08 10:24), KOSAKI Motohiro wrote:
> IOW, we shouldn't allow to create new thread in finalizer.
> It's disaster. just my 2 cent.
Why that?
--
// SASADA Koichi at atdot dot net -
10:29 AM Bug #4992: finalizer中のThread.newでSEGV
- > -- Thread.new in finalizer raises SEGV
>
> The following code raises SEGV sometimes:
>
> $ ruby -e'ObjectSpace.define_finalizer(""){Thread.new{}}'
> $ ruby -e'ObjectSpace.define_finalizer(""){Thread.new{}}'
> SEGV received... -
10:19 AM Bug #4992: finalizer中のThread.newでSEGV
- Oops, I sent this issue into ruby-core.
I wrote this issue again in English:
-- Thread.new in finalizer raises SEGV
The following code raises SEGV sometimes:
$ ruby -e'ObjectSpace.define_finalizer(""){Thread.new{}}'
$ ruby... -
10:16 AM Bug #4992 (Closed): finalizer中のThread.newでSEGV
- 以下のようなコードを実行するとSEGVします.
$ ruby -e'ObjectSpace.define_finalizer(""){Thread.new{}}'
$ ruby -e'ObjectSpace.define_finalizer(""){Thread.new{}}'
SEGV received in SEGV handler
$ ruby -e'ObjectSpace.define_finalizer(""){2.times{Thread.n... -
09:29 PM Bug #4989: Document Socket constants
- Hi
> Why change all the statuses to low here? I don't see the validity of
> your change, especially as this one comes with a patch: surely that
> should be higher, to ensure the patch can be cleanly applied?
'low' mean thi... -
09:23 PM Bug #4989: Document Socket constants - Why change all the statuses to low here? I don't see the validity of
your change, especially as this one comes with a patch: surely that
should be higher, to ensure the patch can be cleanly applied?
On Fri, Jul 8, 2011 at 04:50... -
05:43 AM Bug #4989 (Closed): Document Socket constants
- The attached patch documents most of the Socket constants by adding a third field to ext/socket/mkconstants.rb containing the documentation.
I'm not sure if all the documentation I wrote is correct since finding the appropriate inform... -
09:23 PM Bug #4998 (Closed): addr2line.c with SunStudio (Oracle Solaris Studio) cc
- This issue was solved with changeset r32461.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* addr2line.c: use USE_ELF instead of __ELF__ because Solaris
... -
09:05 PM Bug #4998 (Closed): addr2line.c with SunStudio (Oracle Solaris Studio) cc
- addr2line.c にて
#ifdef __ELF__
(中略)
#else /* defined(__ELF__) */
#error not supported
#endif
のように __ELF__ の有無をチェックしていますが、Solaris の cc はこのマクロを定義しないようで、"not supported"になってしまいました。(sparc64で動くSolaris 10上のSun Studio 11とOracle Solaris... -
08:23 PM Bug #4223: GC.stress = true で謎の ArgumentError
- むらたです。
On Friday, July 8, 2011 at 7:55 PM, KOSAKI Motohiro wrote:
> あ、すいません。昨日僕のいない間に #ruby-jaで議論して後ろに移動させるという
> 結論になったみたいです。
>
> 22:49:17 <n0kada> 途中に付けても無駄になることがある
> 22:50:09 <n0kada> 最後じゃなくてもいいけど、ガードが必要な部分のあとにないとダメ
> 22:5... -
08:23 PM Bug #4223: GC.stress = true で謎の ArgumentError
- むらたです。
On Friday, July 8, 2011 at 7:55 PM, KOSAKI Motohiro wrote:
> あ、すいません。昨日僕のいない間に #ruby-jaで議論して後ろに移動させるという
> 結論になったみたいです。
>
> 22:49:17 <n0kada> 途中に付けても無駄になることがある
> 22:50:09 <n0kada> 最後じゃなくてもいいけど、ガードが必要な部分のあとにないとダメ
> 22:5... -
07:59 PM Bug #4223: GC.stress = true で謎の ArgumentError
- 2011年7月8日19:34 Kenta Murata <muraken@gmail.com>:
> むらたです。
>
>
> On Thursday, July 7, 2011 at 9:49 PM, Motohiro KOSAKI wrote:
>
>> 直感的には、関数の最後でRB_GC_GUARD()しないといけない気がしますがどう思います? > むらけんさん
>
> z = bignew(zn, RBIGNUM_SIGN(x)... -
07:59 PM Bug #4223: GC.stress = true で謎の ArgumentError
- 2011年7月8日19:34 Kenta Murata <muraken@gmail.com>:
> むらたです。
>
>
> On Thursday, July 7, 2011 at 9:49 PM, Motohiro KOSAKI wrote:
>
>> 直感的には、関数の最後でRB_GC_GUARD()しないといけない気がしますがどう思います? > むらけんさん
>
> z = bignew(zn, RBIGNUM_SIGN(x)... -
07:53 PM Bug #4223: GC.stress = true で謎の ArgumentError
- むらたです。
On Thursday, July 7, 2011 at 9:49 PM, Motohiro KOSAKI wrote:
> 直感的には、関数の最後でRB_GC_GUARD()しないといけない気がしますがどう思います? > むらけんさん
z = bignew(zn, RBIGNUM_SIGN(x));
ここで GC が走る可能性があって、そういう場合に x をガードする事が目的なんだと思います。
ですから、bigadd_in... -
07:53 PM Bug #4223: GC.stress = true で謎の ArgumentError
- むらたです。
On Thursday, July 7, 2011 at 9:49 PM, Motohiro KOSAKI wrote:
> 直感的には、関数の最後でRB_GC_GUARD()しないといけない気がしますがどう思います? > むらけんさん
z = bignew(zn, RBIGNUM_SIGN(x));
ここで GC が走る可能性があって、そういう場合に x をガードする事が目的なんだと思います。
ですから、bigadd_in... -
06:34 PM Bug #4971: Module#class_variables
- Motohiro KOSAKI wrote:
> うーん、議論が止まっているように見えて遺憾であります。前田さん、これって治らないとどのぐらい致命的でしょうか。
今まで文句が出なかったということはたぶんあまり使われていないと思うので、targetを1.9.xに
しましょうか。
個人的には、Module#class_variablesもModule#constantsのように引数でコントロールできる
ようにする(デフォルトではスーパークラスも探索する)の... -
05:53 PM Bug #4971: Module#class_variables
- うーん、議論が止まっているように見えて遺憾であります。前田さん、これって治らないとどのぐらい致命的でしょうか。
-
05:56 PM Bug #4591: (1.5...2).max #=> 1 (Range#max)
- > 今回のbug報告はこの時の変更に追従して変更すべきだったのを
> ...
この issue が max の定義についての議論ではなく、
以前に報告された bug への対応漏れという認識で理解しました。
-
05:24 PM Bug #4566 (Third Party's Issue): followup of [ruby-core:32747]
- I'm using Linux Fedora 15 and following gcc version. It also works fine without the patch.
So, this is obviously no ruby issue. Please update gcc.
% LANG=C gcc -v
LANG=C gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLE... -
05:22 PM Bug #4995 (Assigned): 1 test fails on AIX
-
02:53 PM Bug #4995 (Closed): 1 test fails on AIX - I'm compiling and testing ruby-1.9.2-p180 on AIX 6100-05-06-1119 using gcc 4.5.2. My "make check" failed with:
> test_thread.rb ..bootstraptest.tmp.rb:4:in `new': failed to allocate memory (NoMemoryError)
> from bootstra... -
01:51 PM Bug #4994 (Rejected): DelegateClass don't find extern global public method in 1.9.2
- How to reproduce:
-
01:40 PM Bug #4988 (Closed): ObjectSpace.#define_finalizer内でMutexをロックして解放しないまま抜けるとabortする
- This issue was solved with changeset r32446.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (thread_unlock_all_locking_mutexes): rename to
rb_... -
01:19 AM Bug #4988: ObjectSpace.#define_finalizer内でMutexをロックして解放しないまま抜けるとabortする
- `at_exit`の中から`vm->main_thread`が見えないようにするためにわざと`ruby_vm_run_at_exit_hooks()`を今の位置で呼んでるんでしたっけ。
だとしたらこのパッチではダメですが。
~~~diff
Index: thread.c
===================================================================
--- thread.c (revision ... -
12:55 AM Bug #4988: ObjectSpace.#define_finalizer内でMutexをロックして解放しないまま抜けるとabortする
- 書いてしまってから気づきましたが、rb_thread_terminate_all()の前にfinalizerを呼ぶのは明らかに問題がありますね。
無知丸出しだなあ、という感じです。
finalizerを動かした後に、もしロックされたMutexがあればもう一度rb_mutex_unlock_all()すれば良いかと思いましたが、rb_mutex_unlock_all()はthread.cからしか呼べないのでした。 -
12:32 AM Bug #4988 (Closed): ObjectSpace.#define_finalizer内でMutexをロックして解放しないまま抜けるとabortする
- =begin
次のコードを実行すると、
ObjectSpace.define_finalizer("") do
Mutex.new.lock
end
以下のようにabortします。
[BUG] thread_free: keeping_mutexes must be NULL (0x1fa0510:0x21f8ac0)
ruby 1.9.3dev (2011-07-07 trunk 32437) [x86_64-linux]
... -
12:23 PM Revision e33183ac (git): * addr2line.c: use USE_ELF instead of __ELF__ because Solaris
- doesn't define it. USE_ELF is already provided by configure.
patched by Naohisa Goto. [ruby-dev:44066] [Bug #4998]
* addr2line.h: ditto.
* vm_dump.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32461 b2dd03c8-39d4-4d8f-... -
12:23 PM Feature #4985: Add %S[] support for making a list of symbols
- Hi,
At Fri, 8 Jul 2011 02:36:50 +0900,
Rodrigo Rosenfeld Rosas wrote in [ruby-core:37850]:
> How about "%:(symbol1 symbol2)"?
$ ruby -e 'p %:(:'
"("
Already ":" manages hard works. Don't overload anymore.
--
... -
02:36 AM Feature #4985: Add %S[] support for making a list of symbols
- How about "%:(symbol1 symbol2)"?
-
02:29 AM Feature #4985: Add %S[] support for making a list of symbols
- On Thu, Jul 07, 2011 at 04:48:51PM +0900, Yukihiro Matsumoto wrote:
>
> Issue #4985 has been updated by Yukihiro Matsumoto.
>
>
> Interesting idea (include Joel's)! But I am not sure whether they are the right prefix.
How ab... -
02:23 AM Feature #4985: Add %S[] support for making a list of symbols
- On Thu, Jul 07, 2011 at 04:48:51PM +0900, Yukihiro Matsumoto wrote:
>
> Issue #4985 has been updated by Yukihiro Matsumoto.
>
>
> Interesting idea (include Joel's)! But I am not sure whether they are the right prefix.
Ya. W... -
11:08 AM Bug #4993 (Closed): crash in test_enc_associate.rb on MacOS X
- This issue was solved with changeset r32443.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/-test-/string/enc_associate.c: needs ruby/encoding.h fo... -
10:32 AM Bug #4993 (Closed): crash in test_enc_associate.rb on MacOS X
- Today, test-all made following segfault.
Test_StrEncAssociate#test_frozen = /Users/kosaki/ruby/trunk/test/-ext-/string/test_enc_associate.rb:9: [BUG] Segmentation fault
ruby 1.9.3dev (2011-07-08 trunk 32438) [x86_64-darwin10.8.0]
... -
09:34 AM Bug #4991 (Closed): Add a method to retrieve raw data from GC::Profiler
- GC::Profiler.result gives a String report but there is no access to the raw profile data. There is no way to extract data for automatic comparison without parsing the output String.
The attached patch adds GC::Profile.data which ex... -
09:00 AM Revision 29e497d2 (git): * ext/json/{generator/generator.c,parser/parser.rl}: fix indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:00 AM Revision bc1fd945 (git): * ext/json/parser/parser.rl (JSON_parse_object): add missing parens.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:40 AM Revision 4902ef7d (git): * ext/json/parser/parser.rl (convert_encoding): should not modify
- the argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:39 AM Revision b16fd086 (git): * ext/json/parser/parser.rl (convert_encoding): no needs to use
- force_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:39 AM Revision b0f8bda2 (git): * common.mk: add dependencies for EXT_SRCS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 AM Revision c23dea55 (git): * ext/json/parser/prereq.mk: remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 AM Revision 837e73ab (git): * thread.c (cmp_tv, subtract_tv): no longer used on Win32.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:55 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- > This GC API should be supported on both 1.8 and 1.9 code lines.
There's no chance to add new API to 1.8. 1.8 has been dead new-feature-wise-ly.
matz. -
05:50 AM Feature #4990 (Closed): Proposal: Internal GC/memory subsystem API
- There is significant interest in improving/altering the performance, behavior and features of MRI's GC in 1.8 and 1.9 series.
Proposal: MRI should support an internal GC API -- to separate MRI core from its current GC implementation,
... -
06:53 AM Revision 9878d219 (git): * error.c (rb_bug): get rid of segfault after all threads
- disposed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:03 AM Revision 8de18f9c (git): * ext/openssl/ossl.h: include openssl/e_os2.h before checking the
- defition of OPENSSL_SYS_WIN32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:41 AM Revision fc225636 (git): * win32/win32.c (wunlink): reverted a part of r32426. it was mistakenly
- mixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Revision c3e05262 (git): * configure.in: can't subtract void *.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:36 AM Revision b4582e79 (git): * win32/Makefile.sub (config.h): define GC_MARK_STACKFRAME_WORD.
- fixed build problem of r32438. the value (30) is temporary value.
maybe it's enough by 20~24 according to my observation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Bug #4987: test/rake doesn't work at all
- In the rake repository the tests depend upon the flexmock gem. Installing the gem will allow the tests to run.
I won't be able to remove this testing dependency until after RubyKaigi. -
04:57 AM Revision 8739bb30 (git): add test for [ruby-dev:44049].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 AM Revision 554a33d8 (git): * thread.c (rb_mutex_unlock_all): folded into
- rb_threadptr_unlock_all_locking_mutexes.
* thread.c (rb_threadptr_unlock_all_locking_mutexes) ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 AM Revision 87412745 (git): * thread.c (thread_unlock_all_locking_mutexes): rename to
- rb_threadptr_unlock_all_locking_mutexes and remove static.
* vm_core.h: add rb_threadptr_unlock_all_locking_mutexes declaration.
* thread.c (thread_start_func_2): adjust the above rename.
* eval.c (ruby_cleanup): call rb_threadptr_unloc... -
04:09 AM Revision 4ad2d02a (git): * cont.c (FIBER_MACHINE_STACK_ALLOCATION_SIZE): Fiber stack size
- don't need to keep multiple number of sizeof(VALUE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:39 AM Revision b43b6cf7 (git): * common.mk (sudo-precheck): true command is not standard on
- Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:08 AM Revision 4837d6d5 (git): * ext/-test-/string/enc_associate.c: needs ruby/encoding.h for
- rb_to_encoding(). fixed #4993.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 AM Revision affa47ae (git): * thread_pthread.c (gvl_destroy): fix cond_t leak.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 AM Revision 50b64ee7 (git): * gc.c: Improve documentation
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/07/2011
-
11:59 PM Bug #3781 (Closed): FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- This issue was solved with changeset r32438.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c: change water_mark value value that may call
gc_mark(l... -
10:33 PM Bug #4987 (Closed): test/rake doesn't work at all
- It just emits error messages.
test/rake/test_rake.rb: cannot load such file -- flexmock/test_unit_integration
Why it depends on non-existent library? -
09:49 PM Bug #4223: GC.stress = true で謎の ArgumentError
- 直感的には、関数の最後でRB_GC_GUARD()しないといけない気がしますがどう思います? > むらけんさん
-
09:39 PM Bug #4223: GC.stress = true で謎の ArgumentError
- 直りました。パッチ添付します
-
06:53 PM Feature #4985: Add %S[] support for making a list of symbols
- Hi,
At Thu, 7 Jul 2011 16:15:36 +0900,
Joel VanderWerf wrote in [ruby-core:37843]:
> Wondering idly if the following could be parsed...
>
> :[foo bar]
It would be possible, but conflicts with :[] ("[]".to_sym).
--... -
04:48 PM Feature #4985: Add %S[] support for making a list of symbols
- Interesting idea (include Joel's)! But I am not sure whether they are the right prefix.
matz. -
04:15 PM Feature #4985: Add %S[] support for making a list of symbols
- Wondering idly if the following could be parsed...
:[foo bar]
Eh, maybe it's too inconsistent with % notation anyway. -
01:02 PM Feature #4985: Add %S[] support for making a list of symbols
- Adding a new patch with correct indentation for parse.y
-
01:00 PM Feature #4985 (Closed): Add %S[] support for making a list of symbols
- I would like to add %S, which would create a list of symbols.
For example:
%S[foo bar] # => [:foo, :bar]
I've attached a patch which implements this along with ripper events and tests. Thanks to Josh Susser for thinking of ... - 03:23 PM Revision ba64040e (git): * 2011-07-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:23 PM Revision f90739e2 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 PM Revision 17bb77fd (git): * gc.c: change water_mark value value that may call
- gc_mark(lev <= GC_LEVEL_MAX) in gc_mark().
In ruby_stack_check(), water_mark is a value that may call some
C function. Fixes Bug #3781
* configure.in: define GC_MARK_STACKFRAME_WORD that approximate
size of gc_mark() and gc_mark_c... -
12:53 PM Bug #4567 (Closed): BigDecimal::ROUND_HALF_DOWN
- thank you for the notice, Shane.
-
10:40 AM Bug #4507 (Closed): FileUtils.cp in 1.9 doesn't preserve permissions unless :preserve is set
- Fixed at r31123. Thank you.
-
09:31 AM Bug #4977 (Assigned): CFLAGSやLDFLAGSの-m64が消されるためsparc64(sparc v9)バイナリ作成不能
- これか。
commit 7035fd60088016c75814d08cf69c2d9492bba90a
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Tue Jul 13 11:58:58 2010 +0000
* configure.in (RUBY_DEFAULT_ARCH): adjust for target
cpu. [ruby-core... -
09:09 AM Revision 68a0d412 (git): add a comment why FreeBSD can't use MAP_STACK.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:56 AM Revision 1a1c9540 (git): * test/testunit/test_parallel.rb (TestParallelWorker#teardown): wait
- the child process even if the communition pipe is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Feature #4984 (Rejected): [TERMINOLOGY] Provide Document for Terminology (e.g. "Global Status")
- =begin
I am sorry but I don't understand what you mean by this issue. Both global status and local status has String.call_initialize in examples. Contradicting proposals should be rejected, until the OP make it clear. By the way, any... -
03:07 AM Feature #4984 (Rejected): [TERMINOLOGY] Provide Document for Terminology (e.g. "Global Status")
- =begin
In order to avoid communication barriers, a document containing basic terminology should be provided (ideally directly within the source-code tree).
As an example (based on an communication problem within issue #4893), this ... -
07:51 AM Feature #4893: Literal Instantiation breaks Object Model
- |This is really a (class)local status, see this issue subjecting terminology:
|
|http://redmine.ruby-lang.org/issues/4984
I am sorry but I don't understand what you mean by issue #4984. Both
global status and local status has Stri... -
05:26 AM Feature #4893: Literal Instantiation breaks Object Model
- Yukihiro Matsumoto wrote:
> |VARIABLE:
> ...
This is really a (class)local status, see this issue subjecting terminology:
http://redmine.ruby-lang.org/issues/4984
> Comparing to other usage of global statuses (some of
> ...
This... -
07:29 AM Bug #4962: come back gem_prelude!
- On Jul 6, 2011, at 3:02 PM, Benoit Daloze wrote:
> On 6 July 2011 23:21, Eric Hodel <drbrain@segment7.net> wrote:
>>
>> Please try r32429
>
> I just tried, and here are some numbers.
> Surprising how such a change can move num... -
07:23 AM Bug #4962: come back gem_prelude!
- On 6 July 2011 23:21, Eric Hodel <drbrain@segment7.net> wrote:
>
> Please try r32429
I just tried, and here are some numbers.
Surprising how such a change can move numbers.
$ time ruby -e ''
before: 0.045
no-gems: 0.... -
06:21 AM Bug #4962: come back gem_prelude!
- Please try r32429
-
03:23 AM Bug #4962: come back gem_prelude!
- On Jul 6, 2011, at 4:57 AM, Yusuke ENDOH wrote:
> 2011/7/6 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> Anyway, personally I think it is acceptable and no more improvemnt
>> because usually people only
>> compare 1.9.2 and 1.9.3 ... -
03:23 AM Bug #4962: come back gem_prelude!
- On Jul 6, 2011, at 2:48 AM, KOSAKI Motohiro wrote:
>> Here are the average differences from 1.9.2-p180:
>>
>> stock ruby trunk: 6.953
>> --disable-gems: -12.919
>> rubygems patches: -9.959
>>
>> Is the slowdown of... -
06:48 AM Feature #4982 (Closed): Print difference of benchmark runs for `make benchmark`
- This issue was solved with changeset r32430.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* benchmark/driver.rb: Add difference column to report that aver... -
06:44 AM Revision cfa00359 (git): * encoding.c (rb_enc_set_index, rb_enc_associate_index): should
- check if frozen.
* parse.y (rb_intern3), ruby.c (process_options, ruby_script):
defer freezing after associating encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision f4ca906d (git): * ext/-test-/string/modify.c: split from init.c.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:23 AM Revision 136c117f (git): * numeric.c (rb_num2ull): use own switch sentense.
- Current implementation can't convert 18446744073709551615.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:36 AM Feature #4969: Subtle issue with require
- @Aaron Yea, the problem isn't with loading a file *of* wedge. It has to do with what wedge does. The code I presented is a slightly simplified "wedge" in the project itself. The wedge gem is a lot like polyglot, but works a bit different...
-
04:31 AM Bug #4716 (Closed): Ripper orders rescue_mod subnodes inconsistently [PATCH]
- This issue was solved with changeset r32428.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (arg): rescue_mod is in inverse order from other
m... -
12:43 AM Bug #4943 (Closed): test/testunit/test_parallel.rb reports an Error on mswin/mingw
- This issue was solved with changeset r32426.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (kill): check the process exited or not before
... -
12:39 AM Bug #3456 (Closed): bisarre comma
- This issue was solved with changeset r32424.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (`opt_call_args`): allow trailing comma afte... -
12:35 AM Bug #3456: bisarre comma
- 意図してません。修正します。
07/06/2011
-
09:57 PM Revision a259db72 (git): * cont.c (FIBER_STACK_FLAGS): workaround fix for r32420 on FreeBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 PM Revision 17448159 (git): Hide bmlog files from subversion
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:47 PM Revision 789b288d (git): * benchmark/driver.rb: Add difference column to report that averages
- across all runs of a benchmark. [Ruby 1.9 - Feature #4982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 PM Bug #4983 (Closed): Fiberのガードページの設定が間違ってる
- This issue was solved with changeset r32421.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c (fiber_machine_stack_alloc): fix mprotect misuse. A ... -
09:16 PM Bug #4983: Fiberのガードページの設定が間違ってる
- 別件でささださんに質問があるのですが、ファイバーのスタックサイズは
#define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000 / sizeof(VALUE))
のように sizeof(VALUE)での割り算を入れることにより、sizeof(VALUE)の倍数を保とうとしている痕跡がありますが、
ガードページ用に1ページ食われてしまうので、結局、真のスタックサイズは sizeof(VALUE)の倍数である保証... -
09:13 PM Bug #4983 (Closed): Fiberのガードページの設定が間違ってる
- 以下の関数でスタックのアロケーションとガードページの設定をしていますが、ガードページがPROT_READ|PROT_WRITEなのは
なにかの間違いだと思います。あとで直しておきます。
static VALUE*
fiber_machine_stack_alloc(size_t size)
{
VALUE *ptr;
(snip)
}
else {
void *page;
STACK_GROW_DIR_DETECT... -
09:19 PM Revision 0e7da28c (git): * lib/rubygems.rb: Reduce requires to improve `make benchmark`.
- [#4962]
* lib/rubygems/specification.rb: Delay initialization of rubygems
until require is called.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 PM Bug #4962: come back gem_prelude!
- Hello,
2011/7/6 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
> Anyway, personally I think it is acceptable and no more improvemnt
> because usually people only
> compare 1.9.2 and 1.9.3 and don't compare individual patches in... -
06:53 PM Bug #4962: come back gem_prelude!
- Hi
Nice improvement!
> Issue #4962 has been updated by Eric Hodel.
>
> Status changed from Open to Assigned
>
> I have made three runs of `make benchmark` using the following revisions of ruby:
>
> ruby 1.9.2p180 (2011-02-18... -
01:13 PM Bug #4962 (Assigned): come back gem_prelude!
- I have made three runs of `make benchmark` using the following revisions of ruby:
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.8.0]
ruby 1.9.3dev (2011-07-05 trunk 32413) [x86_64-darwin10.8.0]
The benchmark bm_vm_... -
11:06 AM Bug #4962: come back gem_prelude!
- I need to verify both correctness of the behavior of RubyGems and speed improvements in `make benchmark`.
I should be able to commit my changes and report my findings tomorrow.
It would help if someone could comment on Aaron's rbco... -
09:23 AM Bug #4962: come back gem_prelude!
- > I have found some unnecessary work in rubygems and am running benchmarks to see what effect delaying them until they're necessary have on `make benchmark`.
Great!
Do we have any chance to get your improvement until 1.9.3 release? -
08:46 AM Bug #4962: come back gem_prelude!
- I have found some unnecessary work in rubygems and am running benchmarks to see what effect delaying them until they're necessary have on `make benchmark`.
-
07:23 AM Bug #4962: come back gem_prelude!
- On Wed, Jul 06, 2011 at 07:01:37AM +0900, Luis Lavena wrote:
> On Tue, Jul 5, 2011 at 6:56 PM, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
> >
> > We can also help rbconfig go on a diet. I know it's not enough, but
> > t... -
07:23 AM Bug #4962: come back gem_prelude!
- On Tue, Jul 5, 2011 at 6:56 PM, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
>
> We can also help rbconfig go on a diet. Â I know it's not enough, but
> this eliminated ~400 object allocations on my machine. Â (what is the
>... -
06:59 AM Bug #4962: come back gem_prelude!
- On Sat, Jul 02, 2011 at 02:18:35PM +0900, Yusuke Endoh wrote:
>
> Issue #4962 has been reported by Yusuke Endoh.
>
> ----------------------------------------
> Bug #4962: come back gem_prelude!
> http://redmine.ruby-lang.org/iss... -
07:31 PM Revision c1d84bfc (git): * parse.y (arg): rescue_mod is in inverse order from other
- modifiers. patched by michael.j.edgar AT dartmouth.edu at
[ruby-core:36248]. fixed #4716.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 PM Feature #4982: Print difference of benchmark runs for `make benchmark`
- This sound good idea.
'make benchmark' result is not stable. then, I always use "-r 5". So, It would be better if we can compare average performance.
-
01:19 PM Feature #4982 (Closed): Print difference of benchmark runs for `make benchmark`
- The attached patch adds printing of the difference in time between BASERUBY and RUNRUBY when `make benchmark` is run.
This makes it easy to quickly determine if changes have increased or decreased the speed of ruby. -
05:17 PM Feature #4893: Literal Instantiation breaks Object Model
- |VARIABLE:
|* I don't use *any* global variable (but an internal class-object scope variable)
|* I use the same (string-)class-object scope flags that are used *excessively* within the existent ruby source-codes.
OK, you don't use t... - 04:12 PM Revision ca252765 (git): * ChangeLog: typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Feature #4299 (Feedback): no warning: found = in conditional, should be ==
- この警告が出るのは、右辺が静的なリテラル(数値と、式展開のない文字列、nil、false、true)であるときだけです。
つまり、実行時に動的に作られるArrayやHashに対して出ないのは意図的なものですが、この条件を拡げるべきだという論点はありうると思います。 - 03:43 PM Revision b76263fa (git): * win32/win32.c (kill): check the process exited or not before
- teminationg it. [Bug #4943]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:39 PM Revision 1fc2d3e4 (git): * 2011-07-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision aab018f8 (git): * parse.y (opt_call_args): allow trailing comma after assoc
- argument e.g. 'foo(bar:1,)'. fixed #3456
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 PM Bug #4543 (Closed): Ripperで"<<-eos\neos"を正常にパースできない
- r32412で修正しました。
-
01:13 PM Revision 2ab094ba (git): * test/cgi/test_cgi_header.rb(test_cgi_header_nph): Validate date in
- "Date:" header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 PM Revision 0242fe81 (git): * cont.c (fiber_machine_stack_alloc): cleanup pointer arithmetic.
- "size/sizeof(VALUE)" is ugly and easy confusing.
* cont.c (fiber_initialize_machine_stack_context): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:29 PM Revision 032e56fb (git): * cont.c (fiber_machine_stack_alloc): fix mprotect misuse. A stack
- guard page should have PROT_NONE.
* cont.c (fiber_initialize_machine_stack_context):
th->machine_stack_maxsize shouldn't be included guard pages size.
[Bug #4983][ruby-dev:44043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3... -
12:24 PM Revision c454ee6c (git): * cont.c (fiber_machine_stack_alloc): use MAP_STACK if it's provided.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 PM Revision 302fcb56 (git): * cont.c (fiber_machine_stack_alloc): use MAP_FAILED instead of -1.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 PM Revision a737fc8a (git): * cont.c (fiber_machine_stack_alloc): remove unnecessary cast.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:53 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- >> int
>> ruby_stack_check(void)
>> {
>> #if defined(POSIX_SIGNAL) && defined(SIGSEGV) && defined(HAVE_SIGALTSTACK)
>> return 0;
>> #else
>> - return stack_check();
>> + return stack_check(WATER_MARK);
>> ... -
11:53 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- >> int
>> ruby_stack_check(void)
>> {
>> #if defined(POSIX_SIGNAL) && defined(SIGSEGV) && defined(HAVE_SIGALTSTACK)
>> return 0;
>> #else
>> - return stack_check();
>> + return stack_check(WATER_MARK);
>> ... -
09:12 AM Revision 5738ab33 (git): * test/cgi/test_cgi_header.rb(test_cgi_header_nph): Adding space after
- comma.
* test/cgi/test_cgi_header.rb(test_cgi_header_nph): Remove variable
`now`. Suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:00 AM Bug #4567: BigDecimal::ROUND_HALF_DOWN
- Issue 3803 already handles this case. This issue can be closed with a reference to 3803.
-
07:23 AM Bug #4956: [PATCH] string.c (tr_s_bang): fix leak with heap strings
- On Wed, Jul 06, 2011 at 06:29:24AM +0900, Eric Wong wrote:
> Aaron Patterson <aaron@tenderlovemaking.com> wrote:
> > I suggest opening a backport ticket to ease yugui's job:
> >
> > http://redmine.ruby-lang.org/projects/ruby-192/... -
06:53 AM Bug #4956: [PATCH] string.c (tr_s_bang): fix leak with heap strings
- Aaron Patterson <aaron@tenderlovemaking.com> wrote:
> I suggest opening a backport ticket to ease yugui's job:
>
> http://redmine.ruby-lang.org/projects/ruby-192/issues?set_filter=1&tracker_id=4
I've considered opening bac... -
05:59 AM Bug #4956: [PATCH] string.c (tr_s_bang): fix leak with heap strings
- On Wed, Jul 06, 2011 at 04:46:44AM +0900, Eric Wong wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > This also affects Ruby 1.9.2-p180
>
> Now this is in trunk, can we also get this backported to the 1.9.2
> branch? Thanks!
... -
04:53 AM Bug #4956: [PATCH] string.c (tr_s_bang): fix leak with heap strings
- Eric Wong <normalperson@yhbt.net> wrote:
> This also affects Ruby 1.9.2-p180
Now this is in trunk, can we also get this backported to the 1.9.2
branch? Thanks! -
05:59 AM Feature #4969: Subtle issue with require
- On Mon, Jul 04, 2011 at 04:19:42AM +0900, Thomas Sawyer wrote:
[snip]
> How is Ruby confusing the two? Can it be fixed? Or is there at least a work around?
I'm not sure about the code you presented above, but you should be able... - 05:54 AM Revision eb983e86 (git): * 2011-07-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:54 AM Revision 453726f2 (git): * test/cgi/test_cgi_header.rb(test_cgi_header_nph): Fix bug depends to
- time. The test fails if time past 1 second in line 136-145
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:45 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- You're right, it does work. I recollect testing it, but I must have misconstrued the actual error I was getting at the time. Too long ago now to recall the details.
Okay. I will write up docs on using #const_missing with BasicObject a... -
12:34 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- Thomas, your example works on 1.9.2p180:
$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-openbsd4.9]
$ cat > q.rb
class R
end
class Q < BasicObject
def r; R.new; end
end
$ irb
irb(main):001:0> modul... -
12:09 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- @jeremy You make a good case. My general sense of it is YAGNI, but I can't completely rule it out. Who knows, maybe someone will have need of a very clever way to resolve constants for their own classes. But, I think we are perilously cl...
-
01:39 AM Feature #4978 (Rejected): forwardable: support for 'delegate :method => :accessor'
- Hello,
A few months ago, I met a bug with lib/forwardable.rb:
delegate :method => :accessor
would not work, although mentioned in the documentation.
Keiju solved this at r31507, being faster than me :)
However, I would s... -
01:23 AM Feature #4967: dmalloc reported memory leaks in ruby - > ----------------------------------------
> Bug #4967: dmalloc reported memory leaks in ruby
What about valgrind? -
01:06 AM Bug #4975 (Assigned): DateTime.civil calculates seconds incorrectly with fractional offsets
07/05/2011
-
11:31 PM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- @nikolai Yes, that will work in some cases. For a case where it will not, see the eval example I gave above.
-
08:29 PM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- On Sun, Jul 3, 2011 at 21:05, Thomas Sawyer <transfire@gmail.com> wrote:
> ruby-1.9.2-p0 > class X < BasicObject
> ruby-1.9.2-p0 ?> include M
> ruby-1.9.2-p0 ?> end
> NameError: uninitialized constant X::M
Writing
... -
02:34 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- =begin
Yukihiro Matsumoto wrote:
> This is not a bug.
The author has reported a "bug", which was rejected. It's not necessary to change the issue type, in fact it's wrong to do so (because this remains a bug-report and not a featur... -
11:23 PM Feature #4893: Literal Instantiation breaks Object Model
- On Tue, Jul 5, 2011 at 15:46, Lazaridis Ilias <ilias@lazaridis.com> wrote:
> * I do not use a "C global variable", but a class-object variable.
> * There is no "global status", but a class-object status.
The point is that it’s st... -
10:46 PM Feature #4893: Literal Instantiation breaks Object Model
- Yukihiro Matsumoto wrote:
> |DEFINITION:
> ...
* I do not use a "C global variable", but a class-object variable.
* There is no "global status", but a class-object status.
> |Would it be still a "global status", if the flag would b... -
02:45 AM Feature #4893: Literal Instantiation breaks Object Model
- |DEFINITION:
|
|What do you mean with "global status"?
That something you implemented by the C global variable in this case.
|Would it be still a "global status", if the flag would be set automatically and internally, without use... -
02:07 AM Feature #4893: Literal Instantiation breaks Object Model
- Yukihiro Matsumoto wrote:
> Perhaps you don't (want to) understand my comment.
Perhaps you don't (want to) understand a technically perfectly valid solution?
> ...
DEFINITION:
What do you mean with "global status"?
Would i... -
12:44 AM Feature #4893: Literal Instantiation breaks Object Model
- Perhaps you don't (want to) understand my comment. Introducing new global status is not acceptable as String's new feature. Period.
matz.
-
12:28 AM Feature #4893: Literal Instantiation breaks Object Model
- Lazaridis Ilias wrote:
[...]
> I've found the "(singleton_)method_added/removed/undefined group of call-backs, those should be usable to implement the last step (automated activation/deactivation of the flag).
Although it's possible... -
10:59 PM Revision 43dc0d40 (git): Hide fasta and wc files generated by running benchmarks
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- John Higgins wrote:
[...]
> win32\configure --disable-rubygems
I don't want to disable rubygems. What I want is described in this issue, which is rejected.
So we can leave it here. -
09:17 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Nobuyoshi Nakada wrote:
> Sorry, deleting "ruby -v" was a mistake. I'm not sure why/how it happened.
No problem, thank you.
-
03:32 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Sorry, deleting "ruby -v" was a mistake. I'm not sure why/how it happened.
-
05:34 AM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- > The new mechanism to load rubygems, introduced in 1.9.3dev, *disables* a "newborn" ruby, and this is to be rated as a "bug" (or at least: "unnecessary loss of flexibility"):
> ...
I will say it again - this is not a bug but a misconfi... -
09:23 PM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- nariです。
kosakiさん、パッチのレビュー、ありがとうございます。
指摘された箇所を直してみました。
# configure.inをいじるのは初めてだったのでその辺りは大分不安です。
diff --git a/configure.in b/configure.in
index 7f74fd1..6b08b2e 100644
--- a/configure.in
+++ b/configure.in
@@ -12... -
09:23 PM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- nariです。
kosakiさん、パッチのレビュー、ありがとうございます。
指摘された箇所を直してみました。
# configure.inをいじるのは初めてだったのでその辺りは大分不安です。
diff --git a/configure.in b/configure.in
index 7f74fd1..6b08b2e 100644
--- a/configure.in
+++ b/configure.in
@@ -12... -
06:56 PM Bug #3456 (Assigned): bisarre comma
- このコミットから、以下が SyntaxError になるようになりましたが、意図されていますか?
irb(main):001:0> p(foo:123,)
SyntaxError: (irb):1: syntax error, unexpected ')'
from /home/naruse/local/ruby/bin/irb:12:in `<main>'
-
05:02 PM Bug #4977 (Closed): CFLAGSやLDFLAGSの-m64が消されるためsparc64(sparc v9)バイナリ作成不能
- CFLAGSやLDFLAGSに-m64を指定しても、configureで消されてしまうため、
sparc Solarisでsparc v9向けの64ビットコンパイルができません。
32ビット(sparc v8)バイナリができてしまいます。
CC=gcc-4.4 \
CFLAGS="-m64 -I/usr/local/64/include -I/usr/local/64/lib/libffi-3.0.9/include" \
CXX=g++-4.4 \... -
04:50 PM Feature #4976 (Rejected): Pathname#=~ が undef されている理由
- Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
Init_pathname の中で明示的に undef されている事に気が付きました。
このメソッドが undef されている理由を教えて頂けませんか。
その理由を伺ったうえで、=~ を以下と同じ挙動を持つメソッドとして追加することを提案するかどうか決めたいです。
class Pathname
def =~(pattern... -
02:06 PM Feature #4936 (Closed): Android標準ブラウザに対してWEBrickのDigest認証を行った際の挙動
- This issue was solved with changeset r32410.
blue, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/webrick/httpauth/digestauth.rb (_authenticate):
Literal t... -
12:52 PM Bug #4487: require_relative fails in an eval'ed file
- Related to #4352.
I need matz's judgment.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:53 AM Bug #4487: require_relative fails in an eval'ed file
- Hello,
> Â $cat eval_me1.rb
> Â eval(File.read('eval_me2.rb'), binding, File.expand_path('./eval_me2.rb'))
> Â $cat eval_me2.rb
> Â require_relative 'eval_me1.rb'
> Â $ ruby eval_me1.rb
> Â C:/dev/ruby/faster_require/spec/eval_m... -
12:50 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Hi, matz
This ticket includes some design concerns.
The source_location seems important information not only for
human users, but also for tools, such as a debugger, lint,
coverage measurement, etc.
James and Rocky seem to be in... -
10:09 AM Revision c9730974 (git): Remove debug print of r32410.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 AM Revision 2ac460af (git): * parse.y (parser_here_document): should dispatch heredoc_end
- scanner event on an empty here document. fixed Bug#4543.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:08 AM Revision eb78d224 (git): * addr2line.c: fix r32407 to check HAVE_ALLOCA_H.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 AM Revision 8fb2058d (git): * lib/webrick/httpauth/digestauth.rb (_authenticate):
- Literal texts in HTTP ABNF is case-insensitive (RFC2616 2.1),
and a ample implementation in RFC2617 also ignores the case
of algorithms. So now this ignores those cases.
[ruby-dev:43965] [Feature #4936]
* lib/webrick/httpauth/dige... -
02:45 AM Bug #4975 (Rejected): DateTime.civil calculates seconds incorrectly with fractional offsets
- Ruby Version 1.9.2p180
DateTime.civil(2011, 5, 13, 17, 31, 13, -0.25).sec # => 12 -
02:07 AM Bug #2756: Issues with Math and Complex behavior on 1.9
- Hello,
> Q. Should 1.9 coerce arguments to Math methods?
> ...
Though there is no official maintainer for both lib/complex.rb and
lib/cmath.rb, I guess mrkn, keiju and tadf have a thorough knowledge
of them. So pass this ticket to... -
01:51 AM Feature #4095 (Feedback): C1 Coverage
- Hello, sorry for very late response...
I agree that C1 coverage is very helpful. But I have no plan to
implement the feature. It will be a tough task.
Your contribution is wanted. If anyone writes a patch, please
send us.
-... -
01:45 AM Bug #4974 (Closed): [ext/tk] ruby_1_9_2@32391 build failure with MinGW
- On Win7 Ultimate 32bit using either MinGW (TDM-1) GCC 4.5.2 or MinGW-W64 GCC 4.5.4 I get the following build failure. The baseruby used to build was `ruby 1.9.3dev (2011-07-04 trunk 32395) [i386-mingw32]` with RubyGems 1.8.5 and `rake, v...
-
01:35 AM Bug #1341 (Open): pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
- Hello,
> Now, following two links are dead. Do anyone know new URLs?
> ...
Here.
http://download.oracle.com/docs/cd/E19683-01/816-0216/6m6ngupgv/index.html
EINVAL
Invalid argument. For cond_init(), type is not a recognized typ... -
12:55 AM Feature #4796: Coverage should be restartable
- That's the best! Thank you nagachika!
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:55 AM Feature #4796 (Closed): Coverage should be restartable
- This issue was solved with changeset r32404.
Xavier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/coverage/coverage.c: resurrect r32071 + add GC guard for
... -
12:47 AM Feature #4796 (Assigned): Coverage should be restartable
- Sorry, I don't have extra Mac. But I can show a patch.
I'll commit it.
07/04/2011
-
11:51 PM Bug #4927: crash on test/coverage/test_coverage.rb
- Sorry for late response.
I've reduced reproducible script at x86_64-darwin10.8.0 as follows.
require "coverage"
GC.stress = true
Coverage.start
Coverage.result
p [0]
Coverage.start
Coverage.result
I'll try to investiga... -
10:24 PM Bug #4927 (Closed): crash on test/coverage/test_coverage.rb
- r32071 reverted. Bummer!
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:33 PM Bug #4966 (Closed): OpenSSL まわりで GC.stress で [BUG]
-
11:02 AM Bug #4966: OpenSSL まわりで GC.stress で [BUG]
- r32395 で直りました。クローズお願いします
-
09:11 PM Feature #4893: Literal Instantiation breaks Object Model
- Please ignore patch "String_call_initialize_v3", it contains a merge-error.
New version: String_call_initialize_v3b
-
09:02 PM Feature #4893: Literal Instantiation breaks Object Model
- Find attached a patch which removes the translation-unit-visible "static int call_initialize" flag, and introduces the low-level flag "FL_USER18" of the String class object.
There was no documentation about those flags. "FL_USER18" s... -
06:10 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
Nobuyoshi Nakada wrote:
> Hi,
> ...
"Make" is a build/make tool.
"ruby" is a dynamic interpreted language, far more powerful than a make tool. ruby should be able to operate autonomously as soon as possible.
The new mechanism to load ...-
04:32 PM Revision fed26e91 (git): * thread_pthread.c (native_sleep): cut the waiting time up to
- 100,000,000 because Solaris cond_timedwait() return EINVAL if an
argument is greater than current_time + 100,000,000. This is
considered as a kind of spurious wakeup. The caller to native_sleep
should care about spurious wakeup.
... -
04:32 PM Revision d6a5698d (git): * cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any
- Fiber caused SEGV. I haven't follow up the issue deeply, but it
works when disabling the feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:32 PM Revision a5305216 (git): * addr2line.c: include <alloca.h> to fix a build issue on Solaris.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 PM Revision 917df93b (git): * ChangeLog: fix typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:07 PM Feature #4967: dmalloc reported memory leaks in ruby
- and cumulative result from preceeding log
total-byte count src line
746668032 45573 gc.c 1033
388703018 2920209 string.c 395
277872640 530 vm.c 1634
171948600 7164525 st.c 532
106382904 4432621 st.c 463
88318756 1734835 st.c 191
... -
12:56 AM Feature #4967: dmalloc reported memory leaks in ruby
- also i ran './ruby.exe -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb"' here is the result.
log files with some glitch(size>1000KB) have been pruned. - 03:55 PM Revision f4139924 (git): * 2011-07-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:55 PM Revision ea8b9163 (git): * ext/coverage/coverage.c: resurrect r32071 + add GC guard for
- rb_coverages. [ruby-core:37352] [Bug #4927]
[ruby-core:36539] [Feature #4796]
* test/coverage/test_coverage.rb resurrect r32071.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:38 PM Bug #4971 (Closed): Module#class_variables
- Ruby 1.9だとModule#class_variablesはスーパークラスのクラス変数を返しませんが、仕様でしょうか?
class Foo
@@foo = 123
end
class Bar < Foo
@@bar = 456
end
p Bar.class_variables #=> 1.8では["@@bar", "@@foo"], 1.9では[:@@bar]
commit logには
... -
01:27 PM Revision e6d42f34 (git): * thread_pthread.c (get_stack): For NetBSD/FreeBSD, use
- pthread_attr_getstack() if possible. and, remove an assumption
of stack growing direction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 PM Revision 1e8adda1 (git): comment fix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:38 PM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- This is not a bug.
-
11:16 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- I disagree that the behavior is "clearly broken". Just like methods defined in Object don't apply to BasicObject, you shouldn't expect constants defined in Object to apply to BasicObject.
You assume that normal constant lookup is alw... -
10:48 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- @Jeremy The very need of it is why I reported the issue.
The behavior is clearly broken. It's a pretty fundamental expectation that a subclass of BasicObject would have working constant lookup. To think otherwise is to assert that no ... -
09:38 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- If BasicObject.const_missing calls Object.const_get and the constant does not exist in Object, you've at best got a SystemStackError (I got SIGILL when I tried). I suppose this could work:
class BasicObject
def self.const_miss... -
09:07 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- I am not sure that <i>a</i> fix is such a huge change. Look-up can be delegated:
class BasicObject
def self.const_missing(name)
::Object.const_get(name)
end
end
But yes, I think the ultimate fix does need a re... -
07:37 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- Haven't I explained the reason?
The M is defined under the Object class. The BasicObject does not inherit from Object. So there's no reason M can be accessed from BasicObject, under the current behavior of constant accessing in Ruby... -
04:05 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- How can this be rejected? The example I gave is a glaring problem.
-
12:21 PM Revision 74454f57 (git): * ext/coverage/coverage.c: revert r32071. The commit caused SEGV on
- some minor nonfree OS. I have no means of debugging the bug. My
personal opinion is that such OS should be unsupported unless there
is an active maintainer. [ruby-core:37352]
* test/coverage/test_coverage.rb: ditto.
git-svn-id: ... - 10:22 AM Revision 27603322 (git): * NEWS: The incompatibility of Rexml introduced at r29646 is reverted at r31008.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:55 AM Feature #4970 (Closed): FileUtils refactored
- I've been working with FileUtils a good bit, and concluded it could use some refactoring to make the code clearer and easier to work with. Here is the pull request:
https://github.com/ruby/ruby/pull/30
Essentially, I have removed... -
06:52 AM Revision 49c0b143 (git): * insns.def: written in Shift_JIS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:52 AM Revision 6dad6f5c (git): * thread_pthread.c (thread_start_func_1): suppress an unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 AM Revision cc30e403 (git): * remove garbages.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 AM Revision d55560d5 (git): * NEWS (rexml) encoding methods return encoding names as strings again since r31008.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- > nariです。
>
> ちと話を整理させてください。
> 本件で、GCに関するバグを直す方法は今のところ以下の2つの案があります。
>
> (1)gc_mark()時に必ずstack_check()を呼ぶようにする
> (2)GC_WATER_MARKをlev<=GC_LEVEL_MAXまでgc_mark()を呼び出せる(おおまかな)サイズにする
>
> (1)に関してはstack_check()の精度がよく、ギリギリまでマシンスタ... -
05:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- > nariです。
>
> ちと話を整理させてください。
> 本件で、GCに関するバグを直す方法は今のところ以下の2つの案があります。
>
> (1)gc_mark()時に必ずstack_check()を呼ぶようにする
> (2)GC_WATER_MARKをlev<=GC_LEVEL_MAXまでgc_mark()を呼び出せる(おおまかな)サイズにする
>
> (1)に関してはstack_check()の精度がよく、ギリギリまでマシンスタ... -
04:21 AM Feature #4969: Subtle issue with require
- Note: ignore the lib_find documentation about the load option, I removed the option hash to simplify this example.
-
04:19 AM Feature #4969 (Rejected): Subtle issue with require
- If I have a library with same name as Ruby standard library in load path (as an example):
lib/abbrev.rb
There is conflict with loading. Ok, I work around:
require 'rbconfig'
# Notice that rubylibdir takes precendence.
...
07/03/2011
-
11:23 PM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- nariです。
ちと話を整理させてください。
本件で、GCに関するバグを直す方法は今のところ以下の2つの案があります。
(1)gc_mark()時に必ずstack_check()を呼ぶようにする
(2)GC_WATER_MARKをlev<=GC_LEVEL_MAXまでgc_mark()を呼び出せる(おおまかな)サイズにする
(1)に関してはstack_check()の精度がよく、ギリギリまでマシンスタックを使
うことができます... -
11:23 PM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- nariです。
ちと話を整理させてください。
本件で、GCに関するバグを直す方法は今のところ以下の2つの案があります。
(1)gc_mark()時に必ずstack_check()を呼ぶようにする
(2)GC_WATER_MARKをlev<=GC_LEVEL_MAXまでgc_mark()を呼び出せる(おおまかな)サイズにする
(1)に関してはstack_check()の精度がよく、ギリギリまでマシンスタックを使
うことができます... -
10:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- nariです。
2011年7月3日0:01 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> GC::Profiler.enable
>> a = []
>> 10000000.times{a << "a".dup}
>> p GC::Profiler.total_time
>>
>> パッチ適用後: 1.410000000000001
>> バッチ適用前: 1.48999999999... -
10:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- nariです。
2011年7月3日0:01 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> GC::Profiler.enable
>> a = []
>> 10000000.times{a << "a".dup}
>> p GC::Profiler.total_time
>>
>> パッチ適用後: 1.410000000000001
>> バッチ適用前: 1.48999999999... -
09:53 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- 須藤です。
In <CAHGf_=piq-HnqW=K2onmR1cg_bUxAEUVyVx+zh8Uukf_wxuirQ@mail.gmail.com>
"[ruby-dev:44021] Re: [ruby-core:37707] [Ruby 1.9 - Bug #3781] FIBER_USE_NATIVE が有効だと落ちるスクリプトがある" on Sun, 3 Jul 2011 00:01:59 +0900,
KOSAKI Motoh... -
09:53 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- 須藤です。
In <CAHGf_=piq-HnqW=K2onmR1cg_bUxAEUVyVx+zh8Uukf_wxuirQ@mail.gmail.com>
"[ruby-dev:44021] Re: [ruby-core:37707] [Ruby 1.9 - Bug #3781] FIBER_USE_NATIVE が有効だと落ちるスクリプトがある" on Sun, 3 Jul 2011 00:01:59 +0900,
KOSAKI Motoh... -
12:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- > GC::Profiler.enable
> a = []
> 10000000.times{a << "a".dup}
> p GC::Profiler.total_time
>
> パッチ適用後: 1.410000000000001
> バッチ適用前: 1.4899999999999998
>
> と、4%くらい劣化してます。
> これくらいなら入れしまっていいかもしれませんが。
> うーん、バグ修正で4%も性能が落ちるの... -
12:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
- > GC::Profiler.enable
> a = []
> 10000000.times{a << "a".dup}
> p GC::Profiler.total_time
>
> パッチ適用後: 1.410000000000001
> バッチ適用前: 1.4899999999999998
>
> と、4%くらい劣化してます。
> これくらいなら入れしまっていいかもしれませんが。
> うーん、バグ修正で4%も性能が落ちるの... -
10:53 PM Bug #4941: cannot load such file -- rubygems.rb (LoadError)
- Hi,
At Sat, 2 Jul 2011 15:38:57 +0900,
Lazaridis Ilias wrote in [ruby-core:37731]:
> * Status compiled : interpreter works as-is within the source-tree
$ make runruby TESTSCRIPT=script_whatever_you_want_to_run
--
N... -
10:53 PM Feature #4963: Refine and Document the Issue Tracking Process
- Hi,
At Sat, 2 Jul 2011 17:33:26 +0900,
Lazaridis Ilias wrote in [ruby-core:37732]:
> * Possibly rename "bug" to "defect".
I prefer to keep it than the less familiar word.
--
Nobu Nakada -
10:26 PM Feature #4968 (Closed): BigDecimal#sqrt は BigMath.sqrt へ移動すべき
- Math.sqrt との対称性から、BigDecimal#sqrt は BigMath.sqrt として提供すべきでしょう。
-
10:16 PM Revision 948f01a8 (git): * thread_pthread.c (get_stack): the return address of get_stack
- must be the highest address of the current thread's stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:56 PM Revision eb35bb0b (git): * include/ruby/intern.h, thread_pthread.c (rb_reserved_fd_p,
- RB_RESERVED_FD_P): added. This C API is to limit to access
fds which are used by RubyVM internal. In this version of
CRuby, return 1 if fd is communication pipe.
If your application needs to close all file descriptors to
preent... - 09:09 PM Revision 4937a6de (git): * 2011-07-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:09 PM Revision 05117a49 (git): add NEWS for O_DIRECT
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 PM Feature #4967 (Rejected): dmalloc reported memory leaks in ruby
- hi i've modified dmalloc,pthreads-win32 to make it work win32. and dmalloc_t passed so far.
and then, ruby is chosen to check memory leaks.
for dmalloc to work with ruby, some part of ruby has been patched.
after successful build of r... -
05:45 PM Bug #4966 (Closed): OpenSSL まわりで GC.stress で [BUG]
- 私の環境で、trunk の r32371 以降で(ですが、おそらくその変更で、潜んでいたバグが顕在化した模様)以下のようなスクリプトで以下のように [BUG] になります
/usr/local/lib/ruby/1.9.1/openssl/ssl-internal.rb:162: [BUG] gc_sweep(): unknown data type 0x0(0x80134fdd8)
全メッセージとバックトレースは添付ファイルにしました
また、test... - 03:29 PM Revision d963b0a1 (git): * 2011-07-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:29 PM Revision c56e0878 (git): * ext/tk/extconf.rb (find_tcl): fixed a TypeError on --with-opt-dir.
- reported by luislavena and ksmakoto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Revision 3b63aee1 (git): * ext/extmk.rb (extmake): suppresses outputs from extconf.rb.
- (extmake) warns a failure in extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 PM Revision 1da517be (git): * ext/zlib/zlib.c: added a prototype to get rid of SEGV on x86_64
- darwin.
Reported by kosaki and nagachika. Patch by nagachika.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 PM Revision da87fc0e (git): * ext/socket/extconf.rb (have_type("PADDRINFO")): new check.
- * ext/socket/addrinfo.h: fixed a compilation problem with VC++ 2010.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 PM Revision b8f2f0e5 (git): merges a part of r31742, r31947, r31894, r3202 and r32287 from trunk
- into ruby_1_9_2.
--
* ex/tk/extconf.rb: support for the latest ActiveTcl with mingw.
--
* ext/tk/extconf.rb: fails on Mac OS X [Ruby 1.9 - Bug #4853]
--
* ext/tk/extconf.rb: fix for uninitialized global variables. [Ruby 1.9 - Bug #4811]
... -
12:24 PM Revision c039cd8e (git): merges r32067 from trunk into ruby_1_9_2.
- --
* parse.y (parser_parse_string): flush delayed token. based on a
patch by Masaya Tarui in [ruby-dev:43762]. Bug #4544
* parse.y (yylex): revert r24557. delayed token at the end of
string should be flushed already by the above c... -
12:24 PM Revision 78f0aebe (git): merges r32067 from trunk into ruby_1_9_2.
- --
* parse.y (parser_parse_string): flush delayed token. based on a
patch by Masaya Tarui in [ruby-dev:43762]. Bug #4544
* parse.y (yylex): revert r24557. delayed token at the end of
string should be flushed already by the above c... -
12:24 PM Revision 877a9a7d (git): merges r32062 from trunk into ruby_1_9_2.
- --
* ext/socket/unixsocket.c (unix_send_io): race condition fixed.
(unix_recv_io): ditto.
fixed by Eric Wong. [ruby-core:35574]
* test/socket/test_unix.rb: test added for above problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
12:24 PM Revision 8a571111 (git): merges r31528 from trunk into ruby_1_9_2. fixes #4861.
- --
* ext/openssl/ossl_ssl.c: By trunk@31346, function check of SSLv2 is executed.
However, the problem is not revised in this.
This adds the control of using function of SSLv2 in made macro by function check.
git... -
12:23 PM Revision 970ce1fd (git): merges r32050 from trunk into ruby_1_9_2.
- --
* lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state
to prevent random number sequence repeatation at forked child
process which has same pid.
reported by Eric Wong. [ruby-core:35765]
git-svn-id: svn+ssh://ci.r... -
12:23 PM Revision 909a92ea (git): merges r32000 from trunk into ruby_1_9_2.
- --
* io.c (io_getc): should be 7bit if ascii. fixes #4557
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Revision 6cdc9b60 (git): merges r31997 from trunk into ruby_1_9_2.
- --
* lib/rexml/formatters/pretty.rb
(REXML::Formatters::Pretty#write_text),
test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): don't ignore
'width' parameter in pretty formatter. fixes #4498
Reported by Micha... -
12:23 PM Revision fb2f8e0f (git): merges r31995 and r31998 from trunk into ruby_1_9_2.
- --
* lib/rexml/parsers/xpathparser.rb
(REXML::Parsers::XPathParser#parse),
test/rexml/test_elements.rb
(ElementsTester::test_each_with_frozen_condition):
don't modify original XPath. fixes #4164
Reported by Pavel Shved. Thanks!... -
12:23 PM Revision fe21cf8b (git): merges r31948 from trunk into ruby_1_9_2.
- --
* time.c (rb_gmtime_r2): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Revision 185a5a72 (git): merges r31930 from trunk into ruby_1_9_2.
- --
* ext/psych/parser.c (parse): release event objects to plug memory
leak. Thanks Mark J. Titorenko!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Revision 4ca870d0 (git): merges r30272 from trunk into ruby_1_9_2.
- --
* thread.c (thread_cleanup_func): Don't touch native threading
resource at fork. Sadly this is purely bandaid. We need to
implement proper fix later. [Bug #4169] [ruby-core:33767]
git-svn-id: svn+ssh://ci.... -
12:18 PM Bug #4716: Ripper orders rescue_mod subnodes inconsistently [PATCH]
- I feel this merits inclusion in Ruby 1.9.3. Otherwise, Ripper will have known user-facing bugs for another point release. A patch has been available for a month and a half, as well. Any chance for an update?
-
06:24 AM Bug #1813: Threading seg fault (1.9.1-p129 Linux/Mac)
- Linux and MacOS X had completely different bugs. Thus I've commited two patches, r32369 and 32371.
Now, both platform raise SystemStackError correctly.
thanks. -
04:59 AM Bug #1813 (Closed): Threading seg fault (1.9.1-p129 Linux/Mac)
- This issue was solved with changeset r32369.
Charlton, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (get_stack): add to a care of gurad page o... -
05:02 AM Feature #4965: The problem of "print line if line = DATA.gets"
- Some technical background: the current issue stems from how the parser must differentiate between local variables and method calls. Presently, local variables are created by the parser upon their introduction (assignment, rescue handlers...
-
01:23 AM Feature #4965 (Rejected): The problem of "print line if line = DATA.gets"
- Right now, I find the following code will raise an exception:
print line if line = DATA.gets
__END__
abcdef
# undefined local variable or method `line' for main:Object (NameError)
"print line while line = DATA.gets" also does... - 04:45 AM Revision 361c10af (git): * 2011-07-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:44 AM Revision 6343e30c (git): * array.c (ary_reject_bang): should not remove elements which are
- not yielded. [Bug #2545]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:44 AM Revision f0299205 (git): * array.c (ary_reject_bang): should not remove elements which are
- not yielded. [Bug #2545]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 AM Feature #4893: Literal Instantiation breaks Object Model
- Lazaridis Ilias wrote:
[...]
> I still need to verify that this draft implementation does not break existent behaviour. If assumed that passing all "make test" is not enough, and indeed "make test-all" uncovered some problems.
Find ... -
01:07 AM Revision b582f2a1 (git): * ChangeLog: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e