Project

General

Profile

Activity

From 09/19/2012 to 09/25/2012

09/25/2012

11:58 PM Feature #7067 (Closed): IO#reopen should accept File::Constants
Hello,
I think IO#reopen should accept File::Constants because it is difficult to get mode string from File::Const...
Glass_saga (Masaki Matsushita)
09:06 PM Feature #6682: Add a method to return an instance attached by a singleton class
=begin
There is a problem in the original proposal. It is that we can't determine whether a given class is singleton...
ryoqun (Ryo Onodera)
06:50 PM Bug #7066 (Closed): test_segv_test(TestRubyOptions) が F になる
手元の環境で test_segv_test(TestRubyOptions) が、以下のように F になっています
1) Failure:
test_segv_test(TestRubyOptions) [/home/ks...
metanest (Makoto Kishimoto)
04:59 PM Feature #7047: Add new C API: rb_newobj_with
ささだです.
1点気になるのが, rb_newobj_with(VALUE, enum ruby_value_type) が flag 取らなくてもいいんかな,という点でして.いや,NEWOBJ_WITH() だと,問答無用で ...
ko1 (Koichi Sasada)
04:53 PM Bug #6822: Race Condition with Fiber and Process
(2012/09/22 15:45), MartinBosslet (Martin Bosslet) wrote:
>> > No. You don't need Mutex at all.
>> > You only...
ko1 (Koichi Sasada)
04:53 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
(2012/09/25 16:02), ko1 (Koichi Sasada) wrote:
> Summery: I want to discuss about 1 and 4. Other points should be...
ko1 (Koichi Sasada)
04:02 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
Hi,
Thank you for your interest about this API.
Summery: I want to discuss about 1 and 4. Other points should ...
ko1 (Koichi Sasada)
11:14 AM Bug #6673 (Closed): No longer able to run tests in parallel (-j2)
This issue was solved with changeset r37032.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
07:58 AM Bug #6673: No longer able to run tests in parallel (-j2)
=begin
I was able to reproduce this with mingw ruby.
ruby 2.0.0dev (2012-09-24 trunk 37025) [x64-mingw32]
If tes...
h.shirosaki (Hiroshi Shirosaki)
10:58 AM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
I would really like this to be added! (Thank you for writing the patch) tenderlovemaking (Aaron Patterson)
09:59 AM Bug #7064 (Closed): super from at_exit will segv
This issue was solved with changeset r37030.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
06:27 AM Bug #7064: super from at_exit will segv
This did not happen with ruby 2.0.0dev (2012-07-15 trunk 36395) [x86_64-darwin10.8.0].
Eregon (Benoit Daloze)
05:42 AM Bug #7064 (Closed): super from at_exit will segv
Calling super inside at_exit will segv. For example:
$ ruby -e'at_exit { super }'
I'm not sure what super *sho...
tenderlovemaking (Aaron Patterson)
07:14 AM Bug #7065 (Closed): Syslog::Logger should have a formatter
Hi, Syslog::Logger should have a formatter so that it can behave similar to the regular Logger class. I've attached ... tenderlovemaking (Aaron Patterson)
03:14 AM Bug #7062: Rdoc for String#=~
Thank you stomar, I've discussed this with Eric and will be happy to commit it. zzak (zzak _)
02:14 AM Revision 2301f983 (git): test_gem_installer.rb: restore ARGV
* test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_install_creates_binstub_that_dont_trust_encoding):
r...
nobu (Nobuyoshi Nakada)
01:10 AM Revision 26df05b2 (git): test_super.rb: super from BEGIN
* test/ruby/test_super.rb (TestSuper#test_super_in_BEGIN):
for BEGIN. [ruby-core:47680] [Bug #7064]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
12:59 AM Revision 1e565489 (git): insns.def: super from at_exit
* insns.def (invokesuper): klass in cfp is not valid in at_exit and
END blocks. [ruby-core:47680] [Bug #7064]
git...
nobu (Nobuyoshi Nakada)
12:30 AM Revision 6249dac0 (git): merge revision(s) 36544: [Backport #7017]
* win32/mkexports.rb: should not export DllMain().
reported by luis at [ruby-core:46743] [Bug #6790], solve...
naruse (Yui NARUSE)

09/24/2012

11:58 PM Feature #7035 (Closed): defined? should return cached, frozen strings
Thank you Yui NARUSE, r37026 solved the error.
Closing this now.
luislavena (Luis Lavena)
08:47 PM Feature #7035 (Assigned): defined? should return cached, frozen strings
=begin
Hello Nobu,
I'm seeing this failing on both i386-mingw32 and x86-mingw32:
2) Error:
test_defined_i...
luislavena (Luis Lavena)
05:36 PM Feature #7035 (Closed): defined? should return cached, frozen strings
This issue was solved with changeset r37025.
Charles, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
11:18 PM Revision 80440ed0 (git): * 2012-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:17 PM Revision 2eadff34 (git): * iseq.c (rb_iseq_defined_string): the index of defined_strings must
be the value of type - 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:10 PM Revision 418bbce8 (git): use assert_predicate for unary operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:30 AM Bug #7045 (Closed): DelegateClass array subtraction
> I'm not sure that explains it. The first and third tests pass
Sorry, I didn't focus on the other tests. So the r...
marcandre (Marc-Andre Lafortune)
09:53 AM Feature #7055 (Rejected): Allow `.foo=` as a synonym of `self.foo=`
Closing this suggestion, as this would be a compatibility nightmare. marcandre (Marc-Andre Lafortune)
01:23 AM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
I've thought a bit more about this, and in my opinion, using the "empty dot" to continue the previous line is a waste... alexeymuranov (Alexey Muranov)
09:33 AM Bug #7061 (Closed): Privacy issue: Please change the registration page to indicate 'Login Name' will be visible to all as in a 'User Name'
> The registration form did not indicate that this would actually be my 'User Name' and visible to all.
Usually lo...
naruse (Yui NARUSE)
03:13 AM Bug #7061 (Closed): Privacy issue: Please change the registration page to indicate 'Login Name' will be visible to all as in a 'User Name'
I just registered to report my first bug.
I registered my 'Login Name' as my email.
The registration form did...
harrison.uhl (Harrison Uhl)
08:36 AM Revision 2314b80d (git): Feature #7035
* compile.c (defined_expr), insns.def (defined): share single frozen
strings. [EXPERIMENTAL] [ruby-core:47558][Fea...
nobu (Nobuyoshi Nakada)
07:34 AM Revision 0414c9b9 (git): merge revision(s) 36522: [Backport #7016]
* include/ruby/win32.h (rb_w32_pow): add new function.
We use powl() instead of broken pow() for x64-mingw3...
naruse (Yui NARUSE)
04:46 AM Bug #7062 (Closed): Rdoc for String#=~
=begin
This patch clarifies the different behaviour for str =~ regexp and regexp =~ str regarding captured strings a...
stomar (Marcus Stollsteimer)
04:24 AM Bug #7042: String#=~ is not equal to Regexp#=~
=begin
...and further down in the Regexp docs:
"This assignment is implemented in the Ruby parser. The parser det...
stomar (Marcus Stollsteimer)
03:10 AM Feature #7060 (Open): Broaden support for chmod
Currently file permission bit features in all Ruby versions include only chmod and (if supported by the target platfo... tonysidaway (Tony Sidaway)
03:03 AM Bug #7059 (Third Party's Issue): rb_name_err_mesg_new at shut down appears to cause: [BUG] object allocation during garbage collection phase
On shut down of a long running app, a rb_name_err_mesg_new appears to be causing a "object allocation during garbage ... harrison.uhl (Harrison Uhl)
02:23 AM Revision 8ac52a95 (git): * tool/merger.rb: add --ticket option to add ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:39 AM Revision 5841efa3 (git): merge revision(s) 36508: [Backport #7015]
* test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
used to identify mingw-w64 (x64-ming...
naruse (Yui NARUSE)
01:38 AM Revision e518f1dd (git): merge revision(s) 36247: [Backport #7014]
* lib/test/unit/parallel.rb: workaround fix for rubygems.
RubyGems can't find rake if the source directory ...
naruse (Yui NARUSE)
01:18 AM Revision a7353f69 (git): enum.c: id_call
* enum.c (enum_find): use id_call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37020 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
01:16 AM Revision 96e4afdb (git): * 2012-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:16 AM Revision 8a3856dc (git): enum.c: id_call
* enum.c (id_call): intern first and share.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37018 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)

09/23/2012

11:19 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
... although I guess there is no real use-case for the continuing dot with a method ending with "=", so it might be p... Eregon (Benoit Daloze)
11:14 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
alexeymuranov (Alexey Muranov) wrote:
> [...] it does not just use the previous statement value as the receiver, it i...
Eregon (Benoit Daloze)
09:42 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
Thanks, I didn't know about this!
However, this use of a beginning dot does not excite me: it does not just use t...
alexeymuranov (Alexey Muranov)
08:06 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
It would collide with existing notation:
h = {}
.default = 3

p h # => 3
A dot beginning a l...
Eregon (Benoit Daloze)
05:25 PM Feature #7055 (Rejected): Allow `.foo=` as a synonym of `self.foo=`
=begin
I propose to make the use of `self` in method calls optional:
.foo = 'bar'
instead of
self.foo =...
alexeymuranov (Alexey Muranov)
10:40 PM Bug #7042: String#=~ is not equal to Regexp#=~
=begin
From the documentation for Regexp:
"When named capture groups are used with a literal regexp on the left-h...
stomar (Marcus Stollsteimer)
09:52 PM Bug #7036 (Closed): Compiling extensions with Ruby in a path with spaces
This issue was solved with changeset r37017.
Luis, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
03:46 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
also, lineno seems a bit of an odd name, should it be line_number? sam.saffron (Sam Saffron)
03:43 PM Feature #7051 (Closed): Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
The new caller_locations api allows one to get label, base_label, path, lineno, absolute_path.
I feel this API sh...
sam.saffron (Sam Saffron)
12:52 PM Revision aed254f3 (git): mkmf.rb: unspace
* lib/mkmf.rb (String#unspace): unescape with backslashes. normal
makes need to escape spaces with backslashes. n...
nobu (Nobuyoshi Nakada)
12:48 PM Revision ba3d6005 (git): mkmf.rb: directory timestamp
* lib/mkmf.rb (create_makefile): use timestamp file dependencies for
directories.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
12:46 PM Revision 9f4f1545 (git): mkmf.rb: unexpand macros
* lib/mkmf.rb: unexpand macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37015 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 255e1b05 (git): mkmf.rb: library path quote
* lib/mkmf.rb (LIBPATHFLAG): no needs to escape library path here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
12:44 PM Revision de9093ad (git): mkmf.rb: use internal path
* lib/mkmf.rb (MakeMakefile#configuration): make prefix paths
internal to deal with in Makefile.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:42 PM Revision 87fe2bfd (git): mkmf.rb: fallback mkintpath
* lib/mkmf.rb (MakeMakefile#mkintpath): not a global function now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
05:09 AM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
I would of course also add Aaron's test for SecureRandom hexdigests if this is fine to be merged. Eregon (Benoit Daloze)
05:03 AM Bug #7050 (Closed): encoding of String#unpack for 'H', 'h', 'B' and 'b'
Originally mentioned in #6799, I think the encoding of the resulting Strings for the 'H', 'h', 'B' and 'b' directives... Eregon (Benoit Daloze)
02:58 AM Feature #6637: Add HTML5 support to CGI
=begin
Hi Takeyuki,
have you come to any conclusions?
In case you consider support of all new HTML5 tags,
inc...
stomar (Marcus Stollsteimer)
01:12 AM Bug #7045: DelegateClass array subtraction
This seems like a duplicate of http://bugs.ruby-lang.org/issues/6408. Not sure how to close this, but it can be closed. Anonymous

09/22/2012

08:59 PM Feature #5481: Gemifying Ruby standard library
Thanks for your reply.
> I did the presentation at the last dev meeting and I think I/we need to clarify a part of...
kou (Kouhei Sutou)
05:36 PM Revision ca7ffa34 (git): * 2012-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:36 PM Revision 63f6cda8 (git): * complex.c: Fix examples of r36993.
Keep the simple definition, mathematics define the result.
Based on patch by Robin Dupret. Fixes #188 on github.
g...
Eregon (Benoit Daloze)
03:45 PM Bug #6822: Race Condition with Fiber and Process
ko1 (Koichi Sasada) wrote:
> No. You don't need Mutex at all.
> You only need to use variables (such as global...
MartinBosslet (Martin Bosslet)
02:29 PM Bug #6822: Race Condition with Fiber and Process
(2012/09/21 22:14), MartinBosslet (Martin Bosslet) wrote:
>
> Issue #6822 has been updated by MartinBosslet (Ma...
ko1 (Koichi Sasada)
02:14 PM Bug #6822: Race Condition with Fiber and Process
ko1 (Koichi Sasada) wrote:
> In general, you can sync with variables because Fibers are not changed automatically. ...
MartinBosslet (Martin Bosslet)
07:44 AM Bug #6822 (Closed): Race Condition with Fiber and Process
In general, you can sync with variables because Fibers are not changed automatically. In other words, you can comple... ko1 (Koichi Sasada)
02:57 PM Feature #7047 (Closed): Add new C API: rb_newobj_with
nariです。
現在のCRubyではオブジェクトを割り当てる際に rb_newobj() という関数を利
用していますが、引数にtypeやklassがないため、たとえばT_STRINGだけ違うと
ころに割り当てるなどの特別な...
authorNari (Narihiro Nakamura)
01:23 PM Bug #4911: timer_thread_function() が thead unsafe
(2012/09/21 17:44), kosaki (Motohiro KOSAKI) wrote:
> で、Comment#4のパッチだと残念なことにタイマースレッドとスレッド解放ルートに共通のロックがないため、グローバル変...
ko1 (Koichi Sasada)
09:44 AM Bug #4911: timer_thread_function() が thead unsafe
で、Comment#4のパッチだと残念なことにタイマースレッドとスレッド解放ルートに共通のロックがないため、グローバル変数に代入してもメモリバリア的な意味でthread_free() からは可視にならなさそう kosaki (Motohiro KOSAKI)
09:41 AM Bug #4911: timer_thread_function() が thead unsafe
> 問題はわかったのですが,
> これがどうして解決するのかわかりません.
>(結局,+ if (!vm->running_thread->yielding) の部分で running_thread を触っているように見える)
...
kosaki (Motohiro KOSAKI)
07:32 AM Bug #4911: timer_thread_function() が thead unsafe
(2012/09/21 15:10), ko1 (Koichi Sasada) wrote:
> では,どうやって解決するかというと難しいですね.タイマスレッドが動いている間は free しない,とか,そういうのになりそうな感じ...
ko1 (Koichi Sasada)
07:10 AM Bug #4911: timer_thread_function() が thead unsafe
問題はわかったのですが,
これがどうして解決するのかわかりません.
(結局,+ if (!vm->running_thread->yielding) の部分で running_thread を触っているように見える)
解説...
ko1 (Koichi Sasada)
09:40 AM Bug #4559: Proc#== does not match the documented behaviour
To solve this ticket, I only need to remove Proc#== from proc.c, isn't it?
ko1 (Koichi Sasada)
09:23 AM Feature #4328 (Closed): export rb_thread_call_with_gvl()
Now we have include/ruby/thread.h: void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
ko1 (Koichi Sasada)
09:14 AM Bug #4285: Ruby don't have asynchrounous exception safe syntax and It should have.
I don't follow all of discussion about it, this is solved by [ruby-trunk - Feature #6762]?
ko1 (Koichi Sasada)
09:05 AM Feature #4085: Refinements and nested methods
Any problem now? ko1 (Koichi Sasada)
09:02 AM Feature #3944 (Feedback): Add Fiber#root? method
ko1 (Koichi Sasada)
09:00 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
ping.
ko1 (Koichi Sasada)
08:54 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
前も書いたけど特に意見はないのでてきとうに入れといてもらってもいいでしょうか. ko1 (Koichi Sasada)
07:22 AM Bug #7045: DelegateClass array subtraction
I'm not sure that explains it. The first and third tests pass, and all of them used to pass in 1.8. Anonymous
03:41 AM Bug #7045: DelegateClass array subtraction
The issue is that most classes' method `eql?` return false unless the object has the same class
require 'deleg...
marcandre (Marc-Andre Lafortune)
02:56 AM Bug #7045: DelegateClass array subtraction
The failing test is "test_nested_array_subtraction" Anonymous
02:56 AM Bug #7045 (Closed): DelegateClass array subtraction
When I have an array that contains an array that contains a single instance of a class that inherits from DelegateCla... Anonymous
12:26 AM Bug #7044 (Closed): BigDecimal#power randomly raises coercion errors
When running the following code:
require 'bigdecimal'
10000.times { BigDecimal.new('1001.10')**0.75; pu...
twooster (Tony Wooster)

09/21/2012

11:35 PM Feature #5481: Gemifying Ruby standard library
Kou, thanks for the cooperation. We would need your help soon.
kou (Kouhei Sutou) wrote:
> NaHi, could you tell u...
nahi (Hiroshi Nakamura)
10:15 PM Revision f9ff1505 (git): * 2012-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:15 PM Revision e4ac8fa2 (git): * ext/ripper/lib/ripper.rb:
Match sample output to Ripper.sexp from current trunk version.
[Bug #6929]
git-svn-id: svn+ssh://ci.ruby-lang.org...
zzak (zzak _)
10:12 PM Bug #7043: bug with Require
hm, i found a difference "./"
ruby ./a/bins/bin.rb
OK
ruby a/bins/bin.rb
/home/kostya/.rvm/rubies/ruby-1.9.3-...
eyeshield21 (Eyeshield 21)
09:51 PM Bug #7043 (Rejected): bug with Require
~/projects/a/bins/bin.rb
~/projects/a/env.rb
cat ~/projects/a/bins/bin.rb
require File.join(File.dirname(__FILE_...
eyeshield21 (Eyeshield 21)
02:00 PM Bug #7042 (Rejected): String#=~ is not equal to Regexp#=~
i found out that string =~ regexp is not equal to regexp =~ string
when you use named captures:
"6:15 PM" =~ /(?<...
Hanmac (Hans Mackowiak)
10:53 AM Revision 01865d5b (git): merge revision(s) 35485: [Backport #7013]
* ext/dl/cfunc.c (rb_dlcfunc_call): should convert a Bignum value to
unsigned long long on Win64.
...
naruse (Yui NARUSE)
09:45 AM Revision a0a7608b (git): merge revision(s) 33989:["7012"]
* include/ruby/win32.h: undef stat to silence mingw-w64 stat
redefinition warnings (GCC 4.6.3).
git-svn-i...
naruse (Yui NARUSE)
08:55 AM Revision 9b6f7d38 (git): merge revision(s) 33830: [Backport #7011]
* configure.in: add -Wall always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37005 b2dd03c8-39...
naruse (Yui NARUSE)
06:29 AM Feature #7022: add event hook for garbage collection
I looked into this on JRuby/JVM last night, and found that they have
recently added a nonstandard API for getting G...
headius (Charles Nutter)
12:57 AM Bug #6929: Documentation for Ripper
nagachika: That is correct. I just tried again on ruby-trunk, there are 6 +nil+s zzak (zzak _)
12:45 AM Bug #6929: Documentation for Ripper
Hello,
In r36992, sample output from Ripper.sexp seems not from current trunk version. doesn't it?
-# ...
nagachika (Tomoyuki Chikanaga)
12:35 AM Revision 523290ac (git): * 2012-09-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:35 AM Revision ecc80b3c (git): mkmf.rb: untabify
* lib/mkmf.rb: untabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/20/2012

11:16 PM Bug #7041 (Closed): Memory leak in Mutex
This issue was solved with changeset r37001.
Stanislav, thank you for reporting this issue.
Your contribution to Ruby...
kosaki (Motohiro KOSAKI)
10:54 PM Bug #7041: Memory leak in Mutex
good catch.
kosaki (Motohiro KOSAKI)
04:28 PM Bug #7041 (Assigned): Memory leak in Mutex
shyouhei (Shyouhei Urabe)
04:22 PM Bug #7041: Memory leak in Mutex
Ruby does not destroy pthread condattr structure after allocating and using it in pthread_thread.c:native_cond_initia... stass (Stanislav Sedov)
04:20 PM Bug #7041 (Closed): Memory leak in Mutex
=begin
Ruby does not destroy pthread condattr structure after allocating and using it in pthread_thread.c:native_con...
stass (Stanislav Sedov)
03:26 PM Bug #7036: Compiling extensions with Ruby in a path with spaces
Nobu,
Looking at some of the changes you did couldn't understand entirely, but understood that $extmk gets set onl...
luislavena (Luis Lavena)
02:22 PM Bug #7036: Compiling extensions with Ruby in a path with spaces
=begin
nobu (Nobuyoshi Nakada) wrote:
> Now trying: https://github.com/ruby/ruby/pull/185
Thank you Nobu, but th...
luislavena (Luis Lavena)
01:38 AM Bug #7036: Compiling extensions with Ruby in a path with spaces
Now trying: https://github.com/ruby/ruby/pull/185 nobu (Nobuyoshi Nakada)
01:25 AM Bug #7036: Compiling extensions with Ruby in a path with spaces
nobu (Nobuyoshi Nakada) wrote:
> Does your patch work to compile an extension library after installing in a director...
luislavena (Luis Lavena)
12:48 AM Bug #7036: Compiling extensions with Ruby in a path with spaces
Does your patch work to compile an extension library after installing in a directory with spaces? nobu (Nobuyoshi Nakada)
02:34 PM Revision 3ae3c424 (git): * thread_pthread.c (native_cond_initialize): destroy condattr
after using it. Patch by Stanislav Sedov. Thank you.
[Bug #7041] [ruby-core:47619]
git-svn-id: svn+ssh://ci.ruby...
kosaki (Motohiro KOSAKI)
02:33 PM Bug #6246 (Closed): 1.9.3-p125 intermittent segfault
Hi!
I think ruby-1.9.3-p194 fixed this bug.
if you see the crash with ruby-1.9.3-p194, please reopen this ticket....
authorNari (Narihiro Nakamura)
02:16 PM Revision d9dfe2e5 (git): * thread_pthread.c (native_cond_initialize): destroy condattr
after using it. Patch by Stanislav Sedov. Thank you.
[Bug #7041] [ruby-core:47619]
git-svn-id: svn+ssh://ci.ruby-l...
kosaki (Motohiro KOSAKI)
02:15 PM Revision 187d2bc1 (git): * thread_pthread.c (native_cond_initialize): clean up #ifdef condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:06 PM Bug #6441 (Rejected): IO.pipe on ENFILE
私の環境でも調べて見ましたが、近永さんからご報告いただいたいのと同じ状況で、ゴミ参照が残っていて ulimit で絞り過ぎると落ちるみたいでした。
これは仕方ないかなぁと思います。
追加の情報などがあればreopenをお願いします。
authorNari (Narihiro Nakamura)
11:57 AM Bug #7040: gem install で特定の gem がインストールできない
Hello,
I'd like to switch to ruby-core, but I don't know how to do it on redmine...
Anyway, I've found that zstream...
nagachika (Tomoyuki Chikanaga)
10:29 AM Bug #7040 (Closed): gem install で特定の gem がインストールできない
trunk で特定の gem(例えば libv8等)をインストールしようとすると必ず失敗してしまいます。
% gem i libv8
ERROR: While executing gem ... (Zlib::BufEr...
hsbt (Hiroshi SHIBATA)
11:38 AM Bug #7037: float formatting inconsistently rounds half to even
I would agree with leaving this behavior unspecified. Our behavior also matches underlying platform. headius (Charles Nutter)
10:55 AM Bug #7037 (Assigned): float formatting inconsistently rounds half to even
Anyway I'm assigning this to matz, as it turned out to be a spec issue. How do you feel matz? shyouhei (Shyouhei Urabe)
10:52 AM Bug #7037: float formatting inconsistently rounds half to even
It seems Ruby is just following C here.
zsh % cat tmp.c
#include <stdio.h>
#include <stdlib.h>
int main(void)
...
shyouhei (Shyouhei Urabe)
10:18 AM Bug #7037: float formatting inconsistently rounds half to even
Oh, and if we agree that rounding for float formatting is implementation-defined (like rounding for arithmetic, accor... headius (Charles Nutter)
10:15 AM Bug #7037: float formatting inconsistently rounds half to even
The only definition I could find is a sideways use of "processor" to mean "Ruby processor", as in a Ruby language pro... headius (Charles Nutter)
09:58 AM Bug #7037: float formatting inconsistently rounds half to even
If we want to go by the letter of the spec (and I may have an older copy...please confirm), it says "if the underlyin... headius (Charles Nutter)
07:56 AM Bug #7037: float formatting inconsistently rounds half to even
headius (Charles Nutter) wrote:
> * Is strict IEEE 754 floating-point precision a specified behavior of Ruby?
ISO...
naruse (Yui NARUSE)
01:04 AM Bug #7037: float formatting inconsistently rounds half to even
Ok, I can buy the precision argument, and it fits if I expand my example to all values of 1.x5:
irb(main):002:0> "...
headius (Charles Nutter)
10:45 AM Feature #6530 (Closed): Improve Racc documentation coverage
Closing in favor of github pull request for racc:
https://github.com/tenderlove/racc/pull/10
zzak (zzak _)
10:32 AM Bug #7027: Tempfile#inspect is Confusing
In my opinion, Tempfile should not use Delegator at all.
In JRuby, Tempfile actually is a File.
irb(main):001:0...
headius (Charles Nutter)
12:51 AM Bug #7027: Tempfile#inspect is Confusing
in my opinion Delegator should be improved
so it shows that its a Tempfile, but is_a? should also show that its a Fi...
Hanmac (Hans Mackowiak)
10:21 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
I was mistaken...it is ARGF, not ARGV that is a special class. ARGV is a normal array.
Another option: ENV, which ...
headius (Charles Nutter)
08:05 AM Revision 025a2479 (git): * lib/drb/ssl.rb (DRb::DRbSSLSocket::SSLConfig::DEFAULT): add
SSLTmpDhCallback for configuration option.
* lib/drb/ssl.rb (setup_ssl_context): copy the value of tmp_dh_callback.
...
naruse (Yui NARUSE)
08:05 AM Revision 796700ac (git): check @there if it is nil to prevent infinite loop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:14 AM Revision 4e195e0f (git): Revert r36994 "* lib/find.rb: Error in documentation example"
* lib/find.rb: revert wrong example.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36997 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
07:07 AM Bug #6880 (Closed): csv: nodoc native classes Object, String and Array
This issue was solved with changeset r36991.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
zzak (zzak _)
07:06 AM Revision 2b64e10f (git): remove garbages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:29 AM Feature #7019: allow `private` and `protected` keywords to take blocks
Probably not much, but it is possible. Could be "`protected`" instead as well. Also, other helpers can be created bes... trans (Thomas Sawyer)
05:10 AM Feature #7019: allow `private` and `protected` keywords to take blocks
Excuse me Thomas, what's the point in a "`private attribute accessor`"? alexeymuranov (Alexey Muranov)
01:59 AM Revision a9fefe75 (git): * test/drb/ut_drb.rb: revert a part of r36987, and get rid of a warning
with another method. if the substitution is removed, the ExtSrv
object will be GC'ed and some tests will be blocke...
U.Nakamura
01:32 AM Revision 2a50ceca (git): * lib/find.rb: Error in documentation example
Found by Herwin Weststrate, thank you!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36994 b2dd03c8-39d4-4d8f-9...
zzak (zzak _)
12:42 AM Bug #7038 (Closed): Array#zip に配列以外のオブジェクトを指定した場合の例外がわかり辛い
This issue was solved with changeset r36989.
Sho, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)

09/19/2012

11:47 PM Feature #7019: allow `private` and `protected` keywords to take blocks
Would need to accept array of those too (whether its a method or symbol) for things like:
~~~ruby
private attr_ac...
trans (Thomas Sawyer)
11:43 PM Feature #6669: A method like Hash#map but returns hash
> * mash
> Such a created word is not good.
I think when no other choices suffice one is left with two options, e...
trans (Thomas Sawyer)
04:15 PM Feature #6669: A method like Hash#map but returns hash
Please ignore my previous comment; I see that you want a new Hash rather than replacing the keys/values of the existi... david_macmahon (David MacMahon)
03:09 PM Feature #6669: A method like Hash#map but returns hash
What about #map! (or are bang methods frowned upon these days)? david_macmahon (David MacMahon)
02:30 PM Feature #6669: A method like Hash#map but returns hash
What about #remap
#select and #reject only change the number of k/v pairs and do not change the mapping.
Compared t...
ryenus (_ ryenus)
11:32 PM Bug #6441: IO.pipe on ENFILE
どこから mark されてるんだろうかと追跡してみたところ
mark_current_machine_context() の rb_gc_mark_locations() から、つまり machine stack からでした。
...
nagachika (Tomoyuki Chikanaga)
09:25 PM Bug #6441: IO.pipe on ENFILE
どうも IO.pipe で最後に開いた IO 2つは GC.start で手動で GC を実行しても回収されないみたいです。
$ ruby -ve 'GC.start;loop{IO.pipe.tap{|i|p i}.clea...
nagachika (Tomoyuki Chikanaga)
05:53 PM Bug #6441: IO.pipe on ENFILE
shyouhei (Shyouhei Urabe) wrote:
> authorNari (Narihiro Nakamura) wrote:
> > naruse (Yui NARUSE) wrote:
> > > 今の R...
authorNari (Narihiro Nakamura)
10:46 PM Bug #7038 (Closed): Array#zip に配列以外のオブジェクトを指定した場合の例外がわかり辛い
=begin
1.9 以降でArray#zip に配列以外のオブジェクトを指定した場合の例外が NoMethodError ではわかり辛いのではないかと思います。
$ ruby -ve 'p [1,2,3].zip(1)'...
sho-h (Sho Hashimoto)
10:23 PM Revision 7c4d0468 (git): * complex.c: Examples for Complex Documentation.
Patch by Robin Dupret.
Fixes #184 on github.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36993 b2dd03c8-39d...
zzak (zzak _)
10:17 PM Revision cca61daf (git): * ext/ripper/lib/ripper.rb: Documentation for Ripper.
+:void_stmt+ is meaningless
[Bug #6929] [ruby-core:47507]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36992...
zzak (zzak _)
10:07 PM Revision 0503756f (git): * lib/csv.rb (Object#CSV, Array#to_csv, String#parse_csv):
Examples and documentation for CSV.
[Bug #6880] [ruby-core:47218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
zzak (zzak _)
08:08 PM Bug #7037: float formatting inconsistently rounds half to even
Sorry, it's my bad.
Indeed, "half even" not "half up".
nobu (Nobuyoshi Nakada)
06:05 PM Bug #7037: float formatting inconsistently rounds half to even
I can't under stand what @nobu says so I did this myself.
@headius mixed two points.
* 1.15 for instance is not...
shyouhei (Shyouhei Urabe)
05:13 PM Bug #7037 (Closed): float formatting inconsistently rounds half to even
=begin
Just formats the value with full precision and "rounds half up" the next char.
(gdb) printf "%.17f\n", 1....
nobu (Nobuyoshi Nakada)
04:05 PM Bug #7037 (Closed): float formatting inconsistently rounds half to even
MRI does not appear to consistently round half to even. I'm not sure what rounding strategy this is, but it rounds xx... headius (Charles Nutter)
07:53 PM Feature #6668: Multiple assignment should not return an Array object
(2012/09/19 0:08), headius (Charles Nutter) wrote:
> This is an artifact of MRI's implementation, since multiple a...
ko1 (Koichi Sasada)
04:08 PM Feature #6668: Multiple assignment should not return an Array object
Ping! headius (Charles Nutter)
06:35 PM Bug #7031: Date::mjd_to_jd disappeared
thanks for your lecture.
foolish man who doesn't know details
make me irritated.
tadf (tadayoshi funaba)
01:36 PM Bug #7031: Date::mjd_to_jd disappeared
Well, what's done is done. One cannot put the toothpaste back in the tube. It looks like "wew" (William Webber, I p... david_macmahon (David MacMahon)
07:49 AM Bug #7031: Date::mjd_to_jd disappeared
the latest 1.8 documentation is by William Webber.
he wanted to describe nearly all even private.
he should have re...
tadf (tadayoshi funaba)
02:57 AM Bug #7031: Date::mjd_to_jd disappeared
Removing undocumented methods that have "escaped into the wild" is reasonable, but since these well documented method... david_macmahon (David MacMahon)
04:36 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
Just a technical comment, not for the feature itself:
headius (Charles Nutter) wrote:
> to by ptr, realloc()...
shyouhei (Shyouhei Urabe)
04:17 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
Trying to wake this beast up...
mame: I don't think we can say it would not help MRI without testing an implementa...
headius (Charles Nutter)
04:09 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
ARGV is a special class; perhaps ARGV could have the methods? headius (Charles Nutter)
04:07 PM Bug #6994: yield plus splat unwraps too much
Ok, I accept the explanation. We will support the MRI behavior in JRuby. headius (Charles Nutter)
03:42 PM Revision f205ac49 (git): * 2012-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:42 PM Revision abeedb08 (git): array.c, enum.c: TypeError in zip
* array.c (take_items), enum.c (enum_zip): raise TypeError at
non-enumerable objects, not NoMethodError. [ruby-dev...
nobu (Nobuyoshi Nakada)
02:49 PM Revision b70f99d1 (git): * 2012-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:49 PM Revision 18181542 (git): suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom