Project

General

Profile

Activity

From 07/07/2011 to 07/13/2011

07/13/2011

07:46 PM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
Hmm, it can be implemented by the way I implemented UTF8-MAC.
Will you implement it (on UTF8-MAC's way or some another way)?
naruse (Yui NARUSE)
05:50 PM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
Yui NARUSE wrote:
> Lazaridis Ilias wrote:
> ...
Just for the record, this may not be true. Windows-1258, used for Vietnamese, is not supported (yet). The reason is that when converting it to (NFC) UTF-8, the conversion is not one-to...
duerst (Martin Dürst)
07:29 PM Bug #2616: unable to trap in doze
>> For clarification, now SIGFPE, SIGILL and SIGSEGV can't be trapped from ruby script if you have multi threads and use windows.
>> but I don't think it's big matter.
>
> Agreed--nobody seems to have noticed it but myself until n...
kosaki (Motohiro KOSAKI)
11:23 AM Bug #2616: unable to trap in doze
> For clarification, now SIGFPE, SIGILL and SIGSEGV can't be trapped from ruby script if you have multi threads and use windows.
> but I don't think it's big matter.

Agreed--nobody seems to have noticed it but myself until now...
Anonymous
07:21 PM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
> Martin, you can change Assignee and take this as you like :)
Thanks, Hiroshi!

If I get #4961 done in time I will also try to have this fixed for the 1.9.3 release.
MartinBosslet (Martin Bosslet)
07:18 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
Hiroshi Nakamura wrote:
> Do you think you can handle #4961? I don't think it's a release blocker since we just added tests which does not run with OpenSSL 0.9.7. It has not yet worked ever. But there could be a chance to find a easy ...
MartinBosslet (Martin Bosslet)
04:28 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
Martin Bosslet wrote:
> Sure - if you feel it's related to the other two issues then you are clearly in a better position to design this properly. Should I look into #4923 and #4961 instead? Or are there any other urgencies where I coul...
nahi (Hiroshi Nakamura)
02:43 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
騒いでおいてすいません。 #4611 #4875 へのリンクを外しました。ちゃんとスタックを見たら、関係ありませんでした。
で、このチケットですが、Obayashiのおっしゃる通り、確かに今のコードはダメですね。他のcallback同様、事後に例外を上げられるといいんですが、verify callbackはOpenSSL側から何度も呼ばれるので、「事後」がうまく定義できません。
というわけで、1.9.4ではverify_callback内での例外は検証失敗扱...
nahi (Hiroshi Nakamura)
06:53 PM Bug #3924: Performance bug (in require?)
On 11 July 2011 15:58, Michael Klishin <redmine@ruby-lang.org> wrote:
>
> Issue #3924 has been updated by Michael Klishin.
>
>
> I second Hiroshi's suggestion to solve this for 1.9.x and not just 1.9.3.

1.9.x means it sho...
Eregon (Benoit Daloze)
05:30 PM Bug #5022: WEBrick returns improper response for malformed HTTP Request
assert(hash) does not seem nice.
assert_equal({}, hash) would be better.
nobu (Nobuyoshi Nakada)
04:56 PM Bug #5022: WEBrick returns improper response for malformed HTTP Request
Aaron Patterson wrote:
> Can you add a test?
> ...
Hi, yes, this should not be a 400 bad request at all (I was incorrect in labeling it as a malformed HTTP request) - however, it is still broken without my patch since it returns a 500 ...
felixalias (Felix Jodoin)
03:39 PM Bug #5022: WEBrick returns improper response for malformed HTTP Request
Can you add a test?
Also, I'm not sure that this should be an error. In section 4.1 of RFC 1945, it says that simple requests are OK. Simple requests do not require an http version:
Simple-Request = "GET" SP Request-URI CRLF
tenderlovemaking (Aaron Patterson)
03:25 PM Bug #5022 (Closed): WEBrick returns improper response for malformed HTTP Request
=begin
When sending an improper HTTP request in the form of:
GET /\n
(with any valid or invalid HTTP verb), WEBrick returns:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD><TITLE>Internal Server Error</...
felixalias (Felix Jodoin)
05:21 PM Bug #4611 (Feedback): [BUG] Segementation fault reported
Deryl, Peter, I think it's related OpenSSL version conflict. Please see #4875 and https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686
Would you please make sure you're using same OpenSSL libraries...
nahi (Hiroshi Nakamura)
05:06 PM Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes
Sorry, I meant revision 30909 in the description. slickrobert (Robert Smith)
05:05 PM Bug #5024 (Third Party's Issue): ruby-mode.el syntax highlighting breaks on regular expression with quotes
I am using 1.9.2-p160 revision 29036
If there are an odd number of quotation marks inside a regular expression, the syntax highlighting breaks, continuing the regular expression color until another quotation mark is found.
method /...
slickrobert (Robert Smith)
05:01 PM Bug #4875 (Feedback): Segmentation fault in http.rb
Jerome, thanks for letting us know about 'pg'. With your help I found that a similar bug and solution.
https://github.com/rackspace/ruby-cloudfiles/issues/43
The reporter said that it was an error on OpenSSL when using a macports ins...
nahi (Hiroshi Nakamura)
02:54 PM Bug #5019 (Feedback): Ruby runtime crashes and indicates a 'Bus Error' bug
Don't use Backport92 to report bug.
See Also: http://redmine.ruby-lang.org/projects/ruby/wiki/HowToReport
sorah (Sorah Fukumori)
02:27 PM Bug #5019: Ruby runtime crashes and indicates a 'Bus Error' bug
Please give me a small code for reproducing this problem.
mrkn (Kenta Murata)
02:53 PM Bug #4962: come back gem_prelude!
On Mon, Jul 11, 2011 at 08:50:12AM +0900, Nobuyoshi Nakada wrote:
> Hi,
>
> At Wed, 6 Jul 2011 06:56:09 +0900,
> Aaron Patterson wrote in [ruby-core:37813]:
> > We can also help rbconfig go on a diet. I know it's not enough, but
...
tenderlovemaking (Aaron Patterson)
01:55 PM Revision dc08ed03 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:11 PM Revision a289ef41 (git): * 2011-07-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:11 PM Revision 145b7218 (git): * ChangeLog: fix tyops.
* doc/ChangeLog-1.9.3: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:48 AM Bug #4223: GC.stress = true で謎の ArgumentError
はい。やっておきます。 mrkn (Kenta Murata)
10:19 AM Bug #4223: GC.stress = true で謎の ArgumentError
これは1.9.3 ターゲットのままでいいですよね? > むらけんさん kosaki (Motohiro KOSAKI)
09:48 AM Bug #4223: GC.stress = true で謎の ArgumentError
新しいパッチです。
更新点は、
* bigsub_int() も対策した
* RB_GC_GUARD をコントロールフロー的に十分に後ろの場所に移動した
の 2 点です。
コミット(とバックポート)とクローズ(でいいですよね)お願いします。
metanest (Makoto Kishimoto)
11:23 AM Feature #3917: [proposal] called_from() which is much faster than caller()
> Feature #3917: [proposal] called_from() which is much faster than caller()
> http://redmine.ruby-lang.org/issues/3917


+1 for this one--I was wishing for this the other day (or for caller
to give you depth starting from the...
Anonymous
10:04 AM Feature #5005: Provide convenient access to original methods
Just some general thoughts on making metaprogramming easier:
Using metaprogramming in Ruby is on average somewhat more lengthy/clumsy than straightforward/plain (i.e. non-meta) programming. I have been thinking about why that may be. ...
duerst (Martin Dürst)
08:32 AM Feature #5005: Provide convenient access to original methods
Lazaridis Ilias wrote:
> The languag allows a class to be "reopened", thus it's behaviour can be redefined:
[...]
> ...
Just realized that "previous" would be a more concise term.
* super : the super(class) method, standard OO t...
lazaridis.com (Lazaridis Ilias)
12:39 AM Feature #5005: Provide convenient access to original methods
=begin
I've notice a related issue, #3688, which suggests the introduction of "redef". This, in combination of "original", would be an extension more native to the language - avoiding this way to (ab)use the general construct "super(c...
lazaridis.com (Lazaridis Ilias)
08:18 AM Feature #4893: Literal Instantiation breaks Object Model
Attached an updated patch, where the flag becomes an internal implementation detail, not accessible from outside.
test-all passes, having this code within test/runner.rb active:
class String
@@running_counter = 0
alias :orig_...
lazaridis.com (Lazaridis Ilias)
06:10 AM Feature #4893: Literal Instantiation breaks Object Model
=begin
related issue #5015
=end
lazaridis.com (Lazaridis Ilias)
12:47 AM Feature #3688: redef keyword for method redefinition in Ruby 2.0
=begin
See related issue #5005 with a suggested implementation of "original"
=end
lazaridis.com (Lazaridis Ilias)

07/12/2011

11:53 PM Bug #5018: ruby_1_9_3 branch is missing from official GitHub mirror
(07/12/2011 11:11 PM), KOSAKI Motohiro wrote:
> trunk is also stopping to mirror svn. just fyi.

I know. Resync is triggered when someone checks in. I' waiting for one.
shyouhei (Shyouhei Urabe)
11:23 PM Bug #5018: ruby_1_9_3 branch is missing from official GitHub mirror
Hi

2011/7/12 Shyouhei Urabe <shyouhei@ruby-lang.org>:
>
> Issue #5018 has been updated by Shyouhei Urabe.
>
> Status changed from Assigned to Closed
>
> Oops, my cron script was complaining "error: unable to push to unq...
kosaki (Motohiro KOSAKI)
10:15 PM Bug #5018 (Closed): ruby_1_9_3 branch is missing from official GitHub mirror
Oops, my cron script was complaining "error: unable to push to unqualified destination: ruby_1_9_3".
I did it by hand.
shyouhei (Shyouhei Urabe)
09:44 PM Bug #5018 (Assigned): ruby_1_9_3 branch is missing from official GitHub mirror
naruse (Yui NARUSE)
05:24 AM Bug #5018 (Closed): ruby_1_9_3 branch is missing from official GitHub mirror
Yesterday trunk was branches into ruby_1_9_3:
http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_3/
But branch is missing from official GitHub mirror:
https://github.com/ruby/ruby
Dunno who is responsable for the mirroring...
luislavena (Luis Lavena)
11:34 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
Hiroshi Nakamura wrote:
> Martin, how's the status? Can I take over this issue again? I think #4875 and #4611 relates to this issue.
Sure - if you feel it's related to the other two issues then you are clearly in a better position to...
MartinBosslet (Martin Bosslet)
06:24 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
Martin, how's the status? Can I take over this issue again? I think #4875 and #4611 relates to this issue. nahi (Hiroshi Nakamura)
11:22 PM Revision 3fc759ae (git): * 2011-07-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision 1335b154 (git): * lib/test/unit.rb(Test::Unit::Options#process_args): Fix bug.
Fix process_args didn't return `@option` after r30939. Backported
r32526 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
11:02 PM Bug #5021 (Closed): test_empty(DL::TestCFunc): DL::DLError: unknown symbol "strcpy"
手元の環境(FreeBSD 8.2 STABLE)で、
make test-all TESTS='-n test_empty dl/test_cfunc.rb open-uri/test_open-uri.rb'
のようにして test-all を実行すると、DL::TestCFunc の test_empty で以下のようにエラーが起きます
$ make test-all TESTS='-n test_empty dl/test_cfunc.rb open-...
metanest (Makoto Kishimoto)
08:33 PM Bug #1650 (Rejected): Time range === is slow
Hello,
> If Range#=== works exactly the same as Range#include?, the docs should say that. If they differ when beg/end are numeric, the docs should say that.
That is an implementation detail, I think. Not a bug. So I'm closing
...
mame (Yusuke Endoh)
06:18 PM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
I'm on 64bit Ubuntu 11.04 box, and I can replicate the error with 0.9.8o...
Though we still don't know the culprit of this failure, I mark this Low-priority since it's not a report from user.
Martin, you can change Assignee and tak...
nahi (Hiroshi Nakamura)
06:14 PM Feature #5016: Kernel#caller with negative limit should limit result to N initial frames
I wouldn’t say “dup”, but it’s certainly related. This interface can be used instead of adding Kernel#called_from, if we want to keep the number of methods down. Also, even if we objectify the backtrace as per #1906 that still doesn’t ... now (Nikolai Weibull)
05:40 PM Feature #5016: Kernel#caller with negative limit should limit result to N initial frames
Dup of #1906 and #3917. ddebernardy (Denis de Bernardy)
05:49 PM Bug #5020 (Closed): Rational cannot coerce into Complex with imag.
とある実験をしていて気付いたのですが、虚部ありのComplexを引数としてRational#coerceを呼ぶとTypeErrorが発生します。
Rational(1,2).coerce(Complex(1,1)) #=> TypeError
虚部がなければ問題ありません。ちなみに結果はRationalになります。
Rational(1,2).coerce(Complex(1,0)) #=> [(1/1), (1/2)]
一方で、レシーバと引...
usa (Usaku NAKAMURA)
05:23 PM Bug #5019 (Rejected): Ruby runtime crashes and indicates a 'Bus Error' bug
Ruby 1.9.2 crashes when I run the rake command. I've tried 1.9.2-head and 1.9.2-p180, they both result in a similar runtime error. I've cleaned up the RVM environment, reinstalled Ruby a few times, the result is the same: it doesn't run ... isaka (Isaka Traore)
05:15 PM Bug #5015 (Closed): method_added" is called in addition to "method_undefined
This issue was solved with changeset r32527.
Lazaridis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_method.c (rb_add_method): should not call method_added ...
matz (Yukihiro Matsumoto)
05:02 AM Bug #5015: method_added" is called in addition to "method_undefined
Lazaridis Ilias: changing behaviors of the fundamental classes because of one use case doesn't feel right. In fact, it sounds scary. antares (Michael Klishin)
04:47 AM Bug #5015: method_added" is called in addition to "method_undefined
Lazaridis Ilias wrote:
> John Higgins wrote:
> ...
Very technical response - thanks for the rebuttal, I'm sure the "related developer" will be more than happy to implement a patch which turns off a callback that clearly and without que...
wishdev (John Higgins)
04:42 AM Bug #5015: method_added" is called in addition to "method_undefined
John Higgins wrote:
[...]
no comment.
"I'll await the response of the related developer."
lazaridis.com (Lazaridis Ilias)
04:26 AM Bug #5015: method_added" is called in addition to "method_undefined
Lazaridis Ilias wrote:
> John Higgins wrote:
> ...
Again, what are you basing this on? I asked you what rule/concept states that internal implementations cannot fire callbacks. Why is it an error if the implementation of undef_method a...
wishdev (John Higgins)
04:24 AM Bug #5015: method_added" is called in addition to "method_undefined
+1 on 'not a defect.'
If a method is added, I expect the method_added callback to be fired. undef_method adds a method. This is pretty open-and-shut.
steveklabnik (Steve Klabnik)
04:15 AM Bug #5015: method_added" is called in addition to "method_undefined
[edit: please ignore the first patch send (32kB), the 1001 Bytes one is the correct]
Attached a simple patch, which avoids the method_added callback for
VM_METHOD_TYPE_UNDEF
-
OUTPUT:
undef method (buildin)
callback: undefined capi...
lazaridis.com (Lazaridis Ilias)
04:05 AM Bug #5015: method_added" is called in addition to "method_undefined
John Higgins wrote:
> Lazaridis Ilias wrote:
> ...
[...]
No, I can't, because it is irrelevant (and thus I do not invest any energy to analyse). I've provided a use-case. In context of this use-case, the callback "method_added :capi...
lazaridis.com (Lazaridis Ilias)
03:38 AM Bug #5015: method_added" is called in addition to "method_undefined
Lazaridis Ilias wrote:
> John Higgins wrote:
> ...
Would you care to, even in passing, explain how I'm incorrect when it comes to the Child class example I gave? Or does clear, simple, 13 line examples showing specific cases where your...
wishdev (John Higgins)
03:16 AM Bug #5015: method_added" is called in addition to "method_undefined
John Higgins wrote:
[...]
Mr. Higgins, you could write a book in your non-technical tenor about this issue, the fact remains:
* callback: added any_method # false callback, "any_method" was *not* added by user
I'll await th...
lazaridis.com (Lazaridis Ilias)
02:28 AM Bug #5015: method_added" is called in addition to "method_undefined
Lazaridis Ilias wrote:
> Magnus Holm wrote:
> ...
What rule exactly says that internal implementations can't fire callbacks? You are specifically interested in internal implementation issues when you are interested in things like "meth...
wishdev (John Higgins)
01:54 AM Bug #5015: method_added" is called in addition to "method_undefined
Magnus Holm wrote:
> But undef_method *does* actually add a new method: it adds a method
which prevents the superclass' method being called
[...]
Whatever "undef_method" does, is an internal implementation detail, which should *no...
lazaridis.com (Lazaridis Ilias)
05:14 PM Feature #1906: Kernel#backtrace: Objectifying Kernel#caller
Is this (or #3917, which also looks neat) anything that might make it into ruby 1.9.3? I was wondering how to get the calling file's name earlier today without resorting to caller() -- which yields an unnecessarily large string array.
...
ddebernardy (Denis de Bernardy)
05:13 PM Feature #3917: [proposal] called_from() which is much faster than caller()
I'm not making much sense of the japanese in this ticket. Is this (or #1906, which also looks neat) anything that might make it into ruby 1.9.3? I was wondering how to get the calling file's name earlier today without resorting to caller... ddebernardy (Denis de Bernardy)
03:16 PM Feature #5009: Bang method (!) consistency in Ruby 2 API
Martin Dürst wrote:
> Just for the record, there is one method that I think we should add a bang if we still could, and this is String#force_encoding. The reason isn't that it changes String itself (which it does), but that I have come ...
naruse (Yui NARUSE)
03:06 PM Feature #5009: Bang method (!) consistency in Ruby 2 API
Just for the record, there is one method that I think we should add a bang if we still could, and this is String#force_encoding. The reason isn't that it changes String itself (which it does), but that I have come across quite some place... duerst (Martin Dürst)
02:42 PM Revision 8cf76cae (git): * NEWS: add a description of Signal.trap change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:55 PM Bug #2616 (Closed): unable to trap in doze
This issue was solved with changeset r32523.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* signal.c (sig_trap): don't permit to change a signal handler w...
kosaki (Motohiro KOSAKI)
11:04 AM Revision 55b3bfbc (git): * signal.c (reserved_signal_p): reverted a part of r32523.
chikanaga noticed trap(:CHLD) has some realworld usecase.
* test/ruby/test_signal.rb (TestSignal#test_reserved_signal):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:15 AM Revision ba5d7858 (git): * vm_method.c (rb_add_method): should not call method_added hook
for undef operation. [Bug #5015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:09 AM Revision 1d4da24e (git): * lib/test/unit.rb(Test::Unit::Options#process_args): Fix bug.
Fix process_args didn't return `@option` after r30939.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
06:04 AM Feature #4963: Refine and Document the Issue Tracking Process
Yui NARUSE wrote:
> Lazaridis Ilias wrote:
[...]
> ...
You're possibly right here.
Status: Open, Assigned, Accepted, Closed, Rejected
> I think changing "Reject" to some friendly name is better.
Possibly "Negated" is the fr...
lazaridis.com (Lazaridis Ilias)
05:12 AM Revision 7fd82665 (git): small cleanup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
05:08 AM Revision c3075235 (git): * signal.c (install_sighandler): fixed a race.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:55 AM Revision 89e2951b (git): * signal.c (sig_trap): don't permit to change a signal handler which
the interpreter reserved.
* signal.c (reserved_signal_p): ditto.
[Bug #2616] [ruby-core:27625]
* test/ruby/test_signal.rb (TestSignal#test_reserved_signal):
added a test for reserved signal.
git-svn-id: svn+ssh://ci.ruby-lang.org...
kosaki (Motohiro KOSAKI)
02:59 AM Revision 888d8e93 (git): * 2011-07-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:59 AM Revision edeba4db (git): * win32/setup.mak: support x86-amd64 cross compile environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

07/11/2011

11:19 PM Feature #4243: [PATCH] DRb should not forefully close connections on DRb#stop_service
This ticket is a feature, not a bug. Moving to Feature tracker.
And the feature proposed introduces incompatibility. We have to
be careful about the ticket.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:05 PM Bug #3924: Performance bug (in require?)
+1 on 1.9x svenfuchs (Sven Fuchs)
10:58 PM Bug #3924: Performance bug (in require?)
I second Hiroshi's suggestion to solve this for 1.9.x and not just 1.9.3. antares (Michael Klishin)
10:37 PM Bug #3924: Performance bug (in require?)
Issues left are;
* Find a way to merge Xavier's work.
* Merge Shyouhei's optimization by cache.
I suggest to change Target version to 1.9.X.
nahi (Hiroshi Nakamura)
09:00 AM Bug #3924 (Assigned): Performance bug (in require?)
Nahi-san, Yugui-san, May I ask current status of this? kosaki (Motohiro KOSAKI)
11:02 PM Bug #4997: Rake Aborted
Eseosa Oshodin wrote:
> I had another error after solving the previous bug. When I run "rake db:migrate" on the command prompt, I got the error below:
> ...
This seems to be an error on your table definition. We can't help you on that ...
luislavena (Luis Lavena)
09:44 PM Bug #4997: Rake Aborted
I had another error after solving the previous bug. When I run "rake db:migrate" on the command prompt, I got the error below:
Mysql::Error: BLOB/TEXT column 'comment' can't have a default value: CREATE TABL
E `comments` (`id` int(11...
sabsosa (Eseosa Oshodin)
04:44 PM Feature #5016 (Closed): Kernel#caller with negative limit should limit result to N initial frames
Calling Kernel#caller with a negative limit should limit result to N initial frames. When using Kernel#caller you often only want the first element of the result to get the information of the immediate caller. Generating the whole back... now (Nikolai Weibull)
04:06 PM Bug #5004: Version of rubygems needs update
=begin
Ryan Davis wrote:
> % ack VERSION lib/rubygems.rb
source:lib/rubygems.rb#L127 shows 1.8.5.1.
=end
sakuro (Sakuro OZAWA)
03:53 PM Bug #5004: Version of rubygems needs update
On Jul 9, 2011, at 03:20 , Sakuro OZAWA wrote:

>
> Issue #5004 has been reported by Sakuro OZAWA.
>
> ----------------------------------------
> Bug #5004: Version of rubygems needs update
> http://redmine.ruby-lang.org...
zenspider (Ryan Davis)
03:53 PM Bug #4971: Module#class_variables
前田です。

2011年7月8日22:11 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> 今まで文句が出なかったということはたぶんあまり使われていないと思うので、targetを1.9.xに
>> しましょうか。
>>
>> 個人的には、Module#class_variablesもModule#constantsのように引数でコントロールできる
>> ようにする(デフォルトではスーパークラス...
shugo (Shugo Maeda)
03:53 PM Bug #4971: Module#class_variables
前田です。

2011年7月8日22:11 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> 今まで文句が出なかったということはたぶんあまり使われていないと思うので、targetを1.9.xに
>> しましょうか。
>>
>> 個人的には、Module#class_variablesもModule#constantsのように引数でコントロールできる
>> ようにする(デフォルトではスーパークラス...
shugo (Shugo Maeda)
03:40 PM Bug #2616: unable to trap in doze
For clarification, now SIGFPE, SIGILL and SIGSEGV can't be trapped from ruby script if you have multi threads and use windows.
but I don't think it's big matter.
kosaki (Motohiro KOSAKI)
03:34 PM Bug #2616: unable to trap in doze
This issue need to be rewritten signal related code widely and SIGILL isn't so much important on practical application.
Therefore I'll change target version.
kosaki (Motohiro KOSAKI)
03:09 PM Bug #2479 (Assigned): bugs in ruby-mode
kosaki (Motohiro KOSAKI)
03:09 PM Bug #3320 (Assigned): emacs ruby-mode.el font-lock fails on symboled string ending with ?
kosaki (Motohiro KOSAKI)
03:08 PM Bug #3618 (Assigned): inf-ruby prompt and tab completion
kosaki (Motohiro KOSAKI)
03:08 PM Bug #4923 (Assigned): [ext/openssl] test_ssl.rb: test_client_auth fails
kosaki (Motohiro KOSAKI)
02:52 PM Revision 63046f31 (git): time.c: can't compile time.c on AIX due to missing declaration for
ffs(). It is declared in strings.h on AIX.
backported r32518 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto
02:49 PM Revision 25af5ee5 (git): thread_pthread.c (get_stack): need to adjust stack addr for
[Bug #1813] on AIX. backported r32511 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto
02:45 PM Bug #3827 (Closed): ext/readline can't handle cursor keys and cp932 chars
確認がとれたようなのでcloseします。また問題が起きたら別チケット作りましょう kosaki (Motohiro KOSAKI)
02:42 PM Bug #3827: ext/readline can't handle cursor keys and cp932 chars
ちょっと見てみました。
o カーソルキー -> 使えるようになった
o HomeおよびEndキー -> 使えるようになった
o マルチバイト文字 -> 入力できるようになった
x マルチバイト文字に対するバックスペース -> 1バイトだけ消しやがる
とりあえず、rubyとしては問題解決と言えると思います(最後の1個はreadlineのせいだと思いたい)。
usa (Usaku NAKAMURA)
02:29 PM Revision 2a5aa8cd (git): time.c: can't compile time.c on AIX due to missing declaration for
ffs(). It is declared in strings.h on AIX.
If I need to add something like '&& defined(_AIX)',
please let me know.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto
09:56 AM Revision f078ced9 (git): updated news for minitest
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
09:56 AM Revision 53ee1fb4 (git): updated news for minitest
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
08:56 AM Bug #4962 (Closed): come back gem_prelude!
> MAKEFILE_CONFIG keeps make macros unexpanded. So you should
> ...
Then, I'll close this ticket.
Aaron, if you have a motivation of a respin, could you please create a new ticket ?
This thread is already too long and have multiple t...
kosaki (Motohiro KOSAKI)
08:53 AM Bug #4962: come back gem_prelude!
Hi,

At Wed, 6 Jul 2011 06:56:09 +0900,
Aaron Patterson wrote in [ruby-core:37813]:
> 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
...
nobu (Nobuyoshi Nakada)
06:56 AM Revision abf99e80 (git): * process.c: removed signal() macro. It's no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:53 AM Feature #4978: forwardable: support for 'delegate :method => :accessor'
Motohiro KOSAKI wrote:
> I believe this is new feature, not bug. However if Keiju will accept and commit it _before_ preview1, I have no objection.
> ...
My mistake, I meant it as a feature.
The delay is fine, this is not urgent at al...
Eregon (Benoit Daloze)
06:19 AM Revision d7080856 (git): * numeric.c (rb_num2ull): use FIX2LONG instead of FIX2ULONG. see
rb_num2ulong(). fixed the problem of ObjectSpace._id2ref of IL32LLP64
platforms, introduced at r32433.
backported r32512 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32514 b2dd03c8-39d4-4d8f-98ff-823f...
U.Nakamura
06:16 AM Revision 9826b820 (git): * ChangeLog: more details.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:03 AM Revision 12adf25a (git): * numeric.c (rb_num2ull): use FIX2LONG instead of FIX2ULONG. see
rb_num2ulong().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:53 AM Feature #4347: Tracing cannot be re-enabled after callcc [patch]
> But note that there is still other issues, and that this issue may
> have a relapse in future.  If you want not to hit a land mine, do
> not use callcc seriously.  It is very fun, joke feature, I think.

Gotos are a joke feature t...
judofyr (Magnus Holm)
03:13 AM Feature #4347: Tracing cannot be re-enabled after callcc [patch]
Hello,
2011/1/31 James M. Lawrence <redmine@ruby-lang.org>:
> In thread.c (thread_suppress_tracing) the code after (*func)(arg, running)
> ...
Thank you for your reporting and providing patch.
The root cause of this issue is th...
mame (Yusuke Endoh)
03:43 AM Bug #4974: [ext/tk] ruby_1_9_2@32391 build failure with MinGW
Yes, r32477 works for me when building with either TDM GCC 4.5.2 or mingw-w64 GCC 4.5.4 on Win7 32bit.
While I've run only toy tests like
ruby -rtk -e 'puts Tk::TK_PATCHLEVEL'
ruby -rtk -e "Tk.messageBox :message => 'Hello Rub...
jonforums (Jon Forums)
02:04 AM Bug #4765 (Closed): signal が正しくマスクされておらず main thread でシグナルハンドラが動いている
This issue was solved with changeset r32510.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (rb_thread_create_timer_thread): removed
...
kosaki (Motohiro KOSAKI)
01:53 AM Bug #5015: method_added" is called in addition to "method_undefined
But undef_method *does* actually add a new method: it adds a method
which prevents the superclass' method being called:

class Foo < String; def +() end; undef_method :+ end
Foo.new + "test" # => raises error

class Ba...
judofyr (Magnus Holm)
01:11 AM Bug #5015 (Closed): method_added" is called in addition to "method_undefined
When a method is undefined via "undef_method :any_method", the following methods are called back:
* method_added
* method_undefined
The expected behaviour is that only "method_undefined" is called (similar to "remove_method").
...
lazaridis.com (Lazaridis Ilias)
12:09 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
I submitted documentation addition.
<a href="https://github.com/ruby/ruby/pull/31">https://github.com/ruby/ruby/pull/31</a>
trans (Thomas Sawyer)

07/10/2011

11:10 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Sorry, I still didn't get it. I understand that you don't want any DSL when you talk about instance_eval, right? Any reason why you find it confusing, since this is a common pattern when writing DSL's in Ruby? I mean, is there some real ... rosenfeld (Rodrigo Rosenfeld Rosas)
01:23 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
On Sun, Jul 10, 2011 at 10:16:25AM +0900, Eric Hodel wrote:
> On Jul 9, 2011, at 4:19 PM, Rodrigo Rosenfeld Rosas wrote:
> > Em 09-07-2011 20:13, Nobuyoshi Nakada escreveu:
>
> > Sorry, Nobu, I didn't get it. Could you explain...
neleai (Ondrej Bilka)
11:08 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Would much rather see <a href="https://github.com/soveran/clap">CLAP</a>(-like) in standard library.
It's so simple. Maybe integrate into Shellwords module.
trans (Thomas Sawyer)
10:23 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
On Jul 9, 2011, at 4:19 PM, Rodrigo Rosenfeld Rosas wrote:
> Em 09-07-2011 20:13, Nobuyoshi Nakada escreveu:
>> At Sun, 10 Jul 2011 08:01:58 +0900,
>> Rodrigo Rosenfeld Rosas wrote in [ruby-core:37936]:
>>> This is the equivalent in...
drbrain (Eric Hodel)
08:23 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
> Hidden instance_eval is cause of confusion. It's a way
> OptionParser has thrown away.

Sorry, Nobu, I didn't get it. Could you explain it better?
rosenfeld (Rodrigo Rosenfeld Rosas)
08:23 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Hi,

At Sun, 10 Jul 2011 08:01:58 +0900,
Rodrigo Rosenfeld Rosas wrote in [ruby-core:37936]:
> This is the equivalent in Slop:
>
>
nobu (Nobuyoshi Nakada)
08:01 AM Feature #5010 (Closed): Add Slop(-like) in stdlib and deprecate current OptionParser API
I always found the OptionParser API not as well designed as it could be.
I've just found this gem:
http://lee.jarvis.co/slop/
Much better API and I think we should integrate it to Ruby 2.0.
Take a look at the minimal example ...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:38 PM Bug #5002 (Closed): Ripper fails to distinguish local vars from vcalls [PATCH]
This issue was solved with changeset r32498.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (var_ref): distinguish vcall from local variable
r...
nobu (Nobuyoshi Nakada)
01:13 PM Bug #5002 (Assigned): Ripper fails to distinguish local vars from vcalls [PATCH]
kosaki (Motohiro KOSAKI)
08:23 AM Bug #5002: Ripper fails to distinguish local vars from vcalls [PATCH]
Hi,

At Sun, 10 Jul 2011 04:55:07 +0900,
Michael Edgar wrote in [ruby-core:37931]:
> As you note, splitting the variable node is necessary. I
> split 'variable' into 'user_variable' and 'keyword_variable',
> removing 'variable' en...
nobu (Nobuyoshi Nakada)
04:55 AM Bug #5002: Ripper fails to distinguish local vars from vcalls [PATCH]
Ack - I missed how nil/self would be caught as vcalls there.
As you note, splitting the variable node is necessary. I split 'variable' into 'user_variable' and 'keyword_variable', removing 'variable' entirely (since it would give r/r ...
adgar (Michael Edgar)
08:39 PM Revision e4c452da (git): * thread_pthread.c (get_stack): need to adjust stack addr for
[Bug #1813] on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto
07:18 PM Bug #4974: [ext/tk] ruby_1_9_2@32391 build failure with MinGW
Luis and Jon,
How about r32477? It works for me with mingw32.
yugui (Yuki Sonoda)
02:15 AM Bug #4974: [ext/tk] ruby_1_9_2@32391 build failure with MinGW
Thanks! It now works for me with MinGW (TDM-1) GCC 4.5.2. I'll check later with MinGW-W64 GCC 4.5.4 and report back if needed.
sh-3.1$ ruby --version
ruby 1.9.2p290 (2011-07-09 revision 32478) [i386-mingw32]
sh-3.1$ ruby -rtk -e 'pu...
jonforums (Jon Forums)
06:04 PM Bug #4648 (Closed): lambda上のclass定義からのreturnでSEGV
This issue was solved with changeset r32495.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_throw): check a class frame.
Fixes Bug ...
ko1 (Koichi Sasada)
05:04 PM Revision 74b339e9 (git): * thread_pthread.c (rb_thread_create_timer_thread): removed
rb_disable_interrupt()/rb_enable_interrupt().
* vm_core.h: ditto.
* process.c (static void before_exec): ditto.
* process.c (static void after_exec): ditto.
[Bug #4765] [ruby-dev:43571]
* eval_intern.h: removed rb_trap_restore_mask()....
kosaki (Motohiro KOSAKI)
05:01 PM Bug #4700 (Closed): JSON Documentation
This issue was solved with changeset r32493.
Cory, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/json: Merge json gem 1.5.4+ (f7f78896607b6f6226cd).
[Bug ...
naruse (Yui NARUSE)
03:40 PM Bug #4700 (Assigned): JSON Documentation
naruse (Yui NARUSE)
04:51 PM Feature #5009: Bang method (!) consistency in Ruby 2 API
-1
ActiveRecord's save/save! is also a good example.
naruse (Yui NARUSE)
06:20 AM Feature #5009: Bang method (!) consistency in Ruby 2 API
If this is a proposal for renaming aforementioned methods, it will break a lot of existing code. If the idea is to add aliases, it will introduce Ruby 2-specific methods that will not be used for a really long time by developers who want... antares (Michael Klishin)
06:12 AM Feature #5009: Bang method (!) consistency in Ruby 2 API
This is a common misconception about the use of bang methods in Ruby. Bang does not indicate that a method mutates its receiver, merely that it should be used with caution.
A good writeup on this can be found here: http://dablog.rubyp...
adgar (Michael Edgar)
06:07 AM Feature #5009 (Closed): Bang method (!) consistency in Ruby 2 API
=begin
Hello,
In Ruby 2, please use bang methods (those that end with !) consistently in the API. For example, the Ruby 1 API inconsistently names the following "destructive" methods plainly (without a bang):
* Array#push
* Arra...
sunaku (Suraj Kurapati)
04:47 PM Bug #2008: test_io.rb: test 2 fails on FreeBSD
Motohiro KOSAKI wrote:
> At least, current trunk + FreeBSD 8.2 don't reproduce this issue.
This issue is about GNU/kfreebsd, not normal FreeBSD.
naruse (Yui NARUSE)
03:29 PM Bug #2008: test_io.rb: test 2 fails on FreeBSD
At least, current trunk + FreeBSD 8.2 don't reproduce this issue.
kosaki (Motohiro KOSAKI)
04:46 PM Bug #4992 (Closed): finalizer中のThread.newでSEGV
This issue was solved with changeset r32492.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_core.h (typedef struct rb_vm_struct): create a new
'inhib...
kosaki (Motohiro KOSAKI)
01:53 PM Bug #4992: finalizer中のThread.newでSEGV
Motohiro KOSAKI wrote:
> How's this?
Thank you. On 1.9.3, it is Okay. Could you commit it?
ko1 (Koichi Sasada)
04:18 PM Bug #5013 (Closed): bootstrap/runner.rb の assert_normal_exit() がSEGVを検知できないことがある
r32490.
kosaki (Motohiro KOSAKI)
04:16 PM Bug #5013: bootstrap/runner.rb の assert_normal_exit() がSEGVを検知できないことがある
何人かの人と相談のうえ、結局 rubyのsigsegvを直すことにしました。今後は
・普通のSEGV
→ rb_bug()経由でabrot()
・SEGV中にさらにSEGV
→ 直接abort() を呼ぶ
のようになり、統一された動作となります。
後から気づいたのですが、さらにいうと、exit()はasync signal safe じゃないので元々論外でした。
exit()は内部でロック取るのでデッドロックリスクあり。
kosaki (Motohiro KOSAKI)
03:05 PM Bug #5013 (Closed): bootstrap/runner.rb の assert_normal_exit() がSEGVを検知できないことがある
Bug#4992 をコミットしようとして気づいたのですが、
bootstrap/runner.rb の assert_normal_exit() がSEGVを検知しそこねることがあります。原因は
1.assert_normal_exit はシグナルで死んだ場合のみ F. exit(1) はテスト成功とみなす
2.rubyのsigsegv()はnested SEGVが起きたときに exit(SIGSEGV) でも abort() でもなく、exit(EXIT_...
kosaki (Motohiro KOSAKI)
03:52 PM Bug #4681 (Rejected): Timeout.timeout doesn't actually time out?
I think Eric described the reason and workaround at commetn#1. IOW, it's spec unfortunately.
kosaki (Motohiro KOSAKI)
03:41 PM Revision 93b59e38 (git): * 2011-07-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision be46eca8 (git): * NEWS: describe the improvement of BigDecimal#power and BigDecimal#**.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
03:40 PM Bug #4864: RubyGems が環境変数 MAKE を見てくれない
Ryan, can you please review this? kosaki (Motohiro KOSAKI)
03:40 PM Revision 0b6c9402 (git): * 2011-07-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision 0b2db1ab (git): * doc/NEWS-1.9.3: describe the improvement of BigDecimal#power and
BigDecimal#**.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:35 PM Bug #3827: ext/readline can't handle cursor keys and cp932 chars
artonさん、こちら、いかがでしょうか? kosaki (Motohiro KOSAKI)
03:35 PM Feature #4893 (Assigned): Literal Instantiation breaks Object Model
Matz, this is long-term issue.
Can you handle other issues before you handle this?
See http://redmine.ruby-lang.org/projects/ruby-19/issues?query_id=72
naruse (Yui NARUSE)
03:32 PM Bug #4886 (Closed): autoload in instance_eval doesn't work
This issue was solved with changeset r32489.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* load.c (rb_f_autoload): prevent to autoload for singleton
clas...
mrkn (Kenta Murata)
01:43 PM Bug #4886 (Assigned): autoload in instance_eval doesn't work
1.9.3を狙うなら Assigned に変更されるべき。報告の雰囲気からしてなるせさんは自分で直すつもりだと勝手にみなしてなるせさんにアサインします kosaki (Motohiro KOSAKI)
03:18 PM Bug #3422: Object.const_get(:A, false) can access BasicObject::A
>Oh sorry, it must be:
> ...
matz, could you please answer to Yui?
kosaki (Motohiro KOSAKI)
03:15 PM Feature #4574 (Assigned): Numeric#within
It's too late for 1.9.3.
kosaki (Motohiro KOSAKI)
03:11 PM Feature #4903 (Closed): Documentation for lib/test/unit/assertions.rb
This issue was solved with changeset r32488.
Justin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit/assertions.rb: Import documentation patch by Ju...
sorah (Sorah Fukumori)
02:59 PM Revision 5a3318c2 (git): * version.h: 1.9.3 is no longer trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:59 PM Revision c1183af5 (git): reverted Module#mix -- r31873, r31917 and r31918.
--
* class.c (rb_mix_module): implement Module#mix.
--
* class.c (check_mix_method_i, do_mix_method_i): not mix methods
--
* test/ruby/test_module.rb (TestModule#test_mix_const): test for
git-svn-id: svn+ssh://ci.ruby-lang.o...
yugui (Yuki Sonoda)
02:58 PM Bug #4438: rescue args type check omitted
Let's discuss spec and impl. before 1.9.4 release.
ko1 (Koichi Sasada)
02:54 PM Revision a4f423f1 (git): * docs/NEWS-1.9.3: moved from NEWS.
* docs/ChangeLog-1.9.3: merged ChangeLog for 1.9.3.
* NEWS: NEWS for 1.9.4 that describes changes since 1.9.3
* ChangeLog: new ChangeLog for 1.9.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32503 b2dd03c8-39d4-4d8f-98ff-823fe6...
yugui (Yuki Sonoda)
02:31 PM Bug #4008: Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
I send it to 1.9.x. (don't touch it before 1.9.3).
ko1 (Koichi Sasada)
02:31 PM Revision 431812bd (git): * version.h (RUBY_VERSION): ruby_1_9_3 branch was forked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:28 PM Bug #3351: stack overflow on super
I'll challenge this issue on 1.9.4. Sorry. ko1 (Koichi Sasada)
02:19 PM Feature #4328 (Closed): export rb_thread_call_with_gvl()
This issue was solved with changeset r32486.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* internal.h (rb_thread_call_with_gvl, rb_thread_call_without_gvl...
ko1 (Koichi Sasada)
02:15 PM Bug #2402: super in instance_eval
すみません,1.9.4 送りで.... ko1 (Koichi Sasada)
02:06 PM Revision 80a01400 (git): Release branch of Ruby 1.9.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:05 PM Revision 99f8f14d (git): * ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal): fix
precision treatment errors.
* test/bigdecimal/test_bigdecimal.rb: add tests for the above change.
fix precision treatment errors.
* ext/bigdecimal/bigdecimal.c (BigDecimal_power): precision argument
should be optional for its compati...
Kenta Murata
02:01 PM Bug #4834 (Assigned): Adding documentation for prettyprint library
kosaki (Motohiro KOSAKI)
01:59 PM Revision 819c2418 (git): * process.c (rb_exec_arg_addopt): fix preprocess condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:56 PM Bug #4958 (Closed): Internal server error (PhusionPassenger::Rack::ApplicationSpawner::Error)
Ko1 made new API. Thus I'll close the ticket.
see [ruby-core:37727], [ruby-core:37759] and r32394.
kosaki (Motohiro KOSAKI)
01:51 PM Bug #4957: IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
残念なことに、Cygwinは現在アクティブメンテナーがいないので、誰かがパッチを作ってポストしない限り放置されるかもしれません。
パッチは歓迎します。
kosaki (Motohiro KOSAKI)
01:39 PM Bug #3272 (Closed): BigDecimal#** が実用的な速度ではない
チケットが重複していました。 mrkn (Kenta Murata)
01:38 PM Revision 577c03c7 (git): * parse.y (var_ref): distinguish vcall from local variable
references. based on a patch by Michael Edgar michael.j.edgar
AT dartmouth.edu. Bug #5002
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 PM Feature #4978 (Assigned): forwardable: support for 'delegate :method => :accessor'
I believe this is new feature, not bug. However if Keiju will accept and commit it _before_ preview1, I have no objection.
Otherwise I'll change it 'Feature' for 1.9.4. I'm sorry this is very short time limit, but the proposal seems too...
kosaki (Motohiro KOSAKI)
01:13 PM Bug #4995 (Feedback): 1 test fails on AIX
kosaki (Motohiro KOSAKI)
12:52 PM Revision ce698d4c (git): * internal.h: add comments (cautions).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:32 PM Bug #5012 (Closed): Timeオブジェクト間で特異オブジェクトが共有される
=begin
辻本です。
Time#getlocalなどによって返されるTimeオブジェクトが、
レシーバと特異オブジェクトを共有してしまっています。
t0 = Time.now
class <<t0; end

t1 = t0.getlocal

def t0.m
0
end

p t0.m # => 0
p t1.m # => 0
以下のパッチでどうでしょうか。
diff --git a/t...
ktsj (Kazuki Tsujimoto)
12:19 PM Bug #3271 (Closed): BigMath.power が遅い
This issue was solved with changeset r32485.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/bigdecimal.c (BigDecimal_power): support non-in...
mrkn (Kenta Murata)
12:19 PM Revision 7506a580 (git): * lib/test/unit.rb: Add new class variable `@@testfile_prefix`.
This is for changing test name prefix. (For testing)
* test/testunit/tests_for_parallel/ptest_first.rb: Renamed from
test_first.rb
* test/testunit/tests_for_parallel/ptest_second.rb: Renamed from
test_second.rb
* test/testunit/tes...
sorah (Sorah Fukumori)
12:11 PM Feature #5000 (Closed): skip string creation of when clause
This issue was solved with changeset r32484.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* compile.c (when_vals): when a string literal is written on wh...
mame (Yusuke Endoh)
11:42 AM Bug #4473 (Closed): Calling return within begin still executes else
This issue was solved with changeset r32483.
Todd, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (reduce_nodes_gen): NODE_RETURN in rescue body must not...
mame (Yusuke Endoh)
10:57 AM Bug #3804 (Rejected): ruby crashed while running spork
There is no feedback.
Closing
sorah (Sorah Fukumori)
09:47 AM Bug #4591 (Closed): (1.5...2).max #=> 1 (Range#max)
This issue was solved with changeset r32482.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* range.c (range_max): fix behavior with excluded end value.
...
tarui (Masaya Tarui)
09:22 AM Feature #3845: "in" infix operator
I personally believe `in` belongs as an operator, it should match natural, mathematical, set-inclusion notation, and it should invoke `include?`.
Many have discussed how it is just as possible to write "does S include x" as well as "i...
adgar (Michael Edgar)
09:13 AM Bug #5004 (Closed): Version of rubygems needs update
This issue was solved with changeset r32481.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS: Fix RubyGems version. [Ruby 1.9 - Bug #5004]
drbrain (Eric Hodel)
02:58 AM Bug #5004 (Assigned): Version of rubygems needs update
naruse (Yui NARUSE)
09:04 AM Revision 9cf9d5ea (git): * vm_insnhelper.c (vm_throw): check a class frame.
Fixes Bug #4648.
The patch is contributed by Kazuki Tsujimoto.
* bootstraptest/test_proc.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:29 AM Revision b9a13f49 (git): * thread_pthread.c (mutex_debug): use exit(EXIT_FAILURE) instad of
exit(1).
* thread_pthread.c (add_signal_thread_list): ditto.
* thread.c (rb_thread_call_with_gvl): ditto.
* util.c (Bug): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:11 AM Feature #5011 (Rejected): Add Perl 6-like main method definition support: accept command-line arguments as method arguments
Take a look at this:
http://perlgeek.de/en/article/5-to-6#post_14
I'm not really sure how this would look like in Ruby, but I like the idea of defining a main method could extract their params from command-line params.
This woul...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:01 AM Revision a2e497d5 (git): * ext/json: Merge json gem 1.5.4+ (f7f78896607b6f6226cd).
[Bug #4700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:46 AM Revision a119b9d1 (git): * vm_core.h (typedef struct rb_vm_struct): create a new
'inhibit_thread_createion' field.
* thread.c (rb_thread_terminate_all): set inhibit_thread_creation.
* thread.c (thread_s_new): don't permit to create new thread
if the VM is under destruction. Otherwise evil finalizer code
can make ...
kosaki (Motohiro KOSAKI)
07:17 AM Revision 04b182a4 (git): add a ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
07:12 AM Revision 2acd6155 (git): * signal.c (sigsegv): use abort() instead of exit() when nested
SEGV was happen. Because unnested SEGV use abort().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:32 AM Revision 564fb6a7 (git): * load.c (rb_f_autoload): prevent to autoload for singleton
classes. fixes [Bug #4886] [ruby-dev:43816]
* bootstraptest/test_autoload.rb: add tests for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
06:11 AM Revision 8c812c9a (git): * lib/test/unit/assertions.rb: Import documentation patch by Justin
Collins. [ruby-core:37225] [Feature #4903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
05:59 AM Revision 32af4ed4 (git): * ext/date/date_core.c: canonicalizes nth and sf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:57 AM Feature #5008 (Rejected): Equal rights for Hash (like Array, String, Integer, Float)
=begin
Hello,
I am using ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux].
Although Ruby has a rich set of primitive data types and structures,
the Hash seems neglected in the Ruby API in comparison to its peers:
* S...
sunaku (Suraj Kurapati)
05:19 AM Revision 919978a8 (git): * internal.h (rb_thread_call_with_gvl, rb_thread_call_without_gvl):
make them visible as experimental C APIs. fixes Feature #4328.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:19 AM Revision ebd61e5f (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_power): support non-integral
exponent. fixes #3271
* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal): ditto.
* ext/bigdecimal/bigdecimal.c (BigDecimal_power_op): add a function to
only use for "**" operator.
* test/bigdecimal/test_bigdecimal.rb: add a bun...
Kenta Murata
03:11 AM Revision b88daae7 (git): * compile.c (when_vals): when a string literal is written on when
clause, skip string creation to make it faster. [ruby-dev:44068]
[Feature #5000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:42 AM Revision b0f115da (git): * parse.y (reduce_nodes_gen): NODE_RETURN in rescue body must not be
reduced when there is an else clause. This caused bizarre behavior
in [Bug #4473] [ruby-core:35629] [ruby-core:37884].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:53 AM Feature #5005: Provide convenient access to original methods
One of answers is use AOP like aquarium(But I didn't tried it so I dont
know if it isn't overkill).
Currently best solution is use unbound method which is not much intuitive
From perspective that easiest solution should be too wro...
neleai (Ondrej Bilka)
12:59 AM Bug #4925 (Rejected): Infinite recursion allowed in rescue clause
Hello,
> Expected behavior: A SystemStackError should be raised.
> ...
No, unfortunately. This is caused by an intended spec change.
The root spec change is that 1.9 retains the full backtrace.
The change itself is useful, I t...
mame (Yusuke Endoh)
12:47 AM Revision d22e08f9 (git): * range.c (range_max): fix behavior with excluded end value.
[Bug #4591]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
12:21 AM Feature #4788: resolv.rb refactoring
I have a vested interest in this patch since I am the developer of RubyDNS. This update will allow RubyDNS to hook into resolve.rb more efficiently. Right now, I have to duplicate code in resolve.rb to get the right behaviour.
Also, ...
ioquatix (Samuel Williams)
12:13 AM Revision b1d647c8 (git): * NEWS: Fix RubyGems version. [Ruby 1.9 - Bug #5004]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)

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...
matz (Yukihiro Matsumoto)
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...
antares (Michael Klishin)
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...
neleai (Ondrej Bilka)
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... antares (Michael Klishin)
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...
lazaridis.com (Lazaridis Ilias)
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...
judofyr (Magnus Holm)
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...
nobu (Nobuyoshi Nakada)
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...
adgar (Michael Edgar)
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 ... trans (Thomas Sawyer)
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
sakuro (Sakuro OZAWA)
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 svn[bot]
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 naruse (Yui NARUSE)
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...
lazaridis.com (Lazaridis Ilias)
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
lazaridis.com (Lazaridis Ilias)
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...
lazaridis.com (Lazaridis Ilias)
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... ptressel (Pat Tressel)
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
nobu (Nobuyoshi Nakada)
01:41 AM Bug #5001 (Closed): unsigned warning raised by error.c
Building on trunk, a warning around error.c worries me: luislavena (Luis Lavena)
02:41 PM Feature #4891 (Closed): Vector#normalize
Applied as r32467, thank you! marcandre (Marc-Andre Lafortune)
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]
xibbar (Takeyuki FUJIOKA)
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...
kosaki (Motohiro KOSAKI)
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.
kosaki (Motohiro KOSAKI)
09:36 AM Bug #4962: come back gem_prelude!
May I close this ticket? drbrain (Eric Hodel)
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. adgar (Michael Edgar)
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 svn[bot]
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
yugui (Yuki Sonoda)
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 Tadayoshi Funaba
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
Tadayoshi Funaba
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.
drbrain (Eric Hodel)
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.
drbrain (Eric Hodel)
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...
drbrain (Eric Hodel)
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...
drbrain (Eric Hodel)
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 ....
drbrain (Eric Hodel)
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?
drbrain (Eric Hodel)
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 Tadayoshi Funaba
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 Tadayoshi Funaba
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...
drbrain (Eric Hodel)
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 nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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 Takeyuki FUJIOKA
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
kosaki (Motohiro KOSAKI)
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?...
drbrain (Eric Hodel)
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...
kosaki (Motohiro KOSAKI)
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...
Anonymous
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 Marc-Andre Lafortune
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...
mame (Yusuke Endoh)
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...
luislavena (Luis Lavena)
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? shyouhei (Shyouhei Urabe)
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: luislavena (Luis Lavena)
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;
+ ...
kosaki (Motohiro KOSAKI)
12:53 AM Bug #4995: 1 test fails on AIX
Hi Perry,

Could you please try , for example,
# ldedit -b maxdata
kanemoto (Yutaka Kanemoto)
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.
naruse (Yui NARUSE)
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
drbrain (Eric Hodel)
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
drbrain (Eric Hodel)

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...
mame (Yusuke Endoh)
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 nobu (Nobuyoshi Nakada)
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 svn[bot]
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
nobu (Nobuyoshi Nakada)
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 ...
luislavena (Luis Lavena)
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...
sabsosa (Eseosa Oshodin)
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!
kosaki (Motohiro KOSAKI)
09:50 PM Bug #4992 (Assigned): finalizer中のThread.newでSEGV
kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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
ko1 (Koichi Sasada)
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...
kosaki (Motohiro KOSAKI)
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...
sorah (Sorah Fukumori)
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...
sorah (Sorah Fukumori)
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...
kosaki (Motohiro KOSAKI)
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...
Anonymous
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...
drbrain (Eric Hodel)
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
...
naruse (Yui NARUSE)
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...
ngoto (Naohisa Goto)
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...
mrkn (Kenta Murata)
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...
mrkn (Kenta Murata)
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)...
kosaki (Motohiro KOSAKI)
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)...
kosaki (Motohiro KOSAKI)
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...
mrkn (Kenta Murata)
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...
mrkn (Kenta Murata)
06:34 PM Bug #4971: Module#class_variables
Motohiro KOSAKI wrote:
> うーん、議論が止まっているように見えて遺憾であります。前田さん、これって治らないとどのぐらい致命的でしょうか。
今まで文句が出なかったということはたぶんあまり使われていないと思うので、targetを1.9.xに
しましょうか。
個人的には、Module#class_variablesもModule#constantsのように引数でコントロールできる
ようにする(デフォルトではスーパークラスも探索する)の...
shugo (Shugo Maeda)
05:53 PM Bug #4971: Module#class_variables
うーん、議論が止まっているように見えて遺憾であります。前田さん、これって治らないとどのぐらい致命的でしょうか。 kosaki (Motohiro KOSAKI)
05:56 PM Bug #4591: (1.5...2).max #=> 1 (Range#max)
> 今回のbug報告はこの時の変更に追従して変更すべきだったのを
> ...
この issue が max の定義についての議論ではなく、
以前に報告された bug への対応漏れという認識で理解しました。
mrkn (Kenta Murata)
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...
kosaki (Motohiro KOSAKI)
05:22 PM Bug #4995 (Assigned): 1 test fails on AIX
naruse (Yui NARUSE)
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...
Anonymous
01:51 PM Bug #4994 (Rejected): DelegateClass don't find extern global public method in 1.9.2
How to reproduce: sylvain303 (Sylvain Viart)
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_...
kosaki (Motohiro KOSAKI)
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 ...
shyouhei (Shyouhei Urabe)
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からしか呼べないのでした。
Glass_saga (Masaki Matsushita)
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]
...
Glass_saga (Masaki Matsushita)
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-...
naruse (Yui NARUSE)
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.

--
...
nobu (Nobuyoshi Nakada)
02:36 AM Feature #4985: Add %S[] support for making a list of symbols
How about "%:(symbol1 symbol2)"? rosenfeld (Rodrigo Rosenfeld Rosas)
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...
tenderlovemaking (Aaron Patterson)
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...
tenderlovemaking (Aaron Patterson)
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...
nobu (Nobuyoshi Nakada)
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]
...
kosaki (Motohiro KOSAKI)
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...
drbrain (Eric Hodel)
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 nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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.
matz (Yukihiro Matsumoto)
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,
...
kstephens (Kurt Stephens)
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
nobu (Nobuyoshi Nakada)
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
U.Nakamura
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
U.Nakamura
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 authorNari (Narihiro Nakamura)
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
U.Nakamura
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.
drbrain (Eric Hodel)
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 kosaki (Motohiro KOSAKI)
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
kosaki (Motohiro KOSAKI)
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...
kosaki (Motohiro KOSAKI)
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
kosaki (Motohiro KOSAKI)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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 kosaki (Motohiro KOSAKI)
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 drbrain (Eric Hodel)

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...
authorNari (Narihiro Nakamura)
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?
nobu (Nobuyoshi Nakada)
09:49 PM Bug #4223: GC.stress = true で謎の ArgumentError
直感的には、関数の最後でRB_GC_GUARD()しないといけない気がしますがどう思います? > むらけんさん kosaki (Motohiro KOSAKI)
09:39 PM Bug #4223: GC.stress = true で謎の ArgumentError
直りました。パッチ添付します metanest (Makoto Kishimoto)
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).

--...
nobu (Nobuyoshi Nakada)
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.
matz (Yukihiro Matsumoto)
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.
vjoel (Joel VanderWerf)
01:02 PM Feature #4985: Add %S[] support for making a list of symbols
Adding a new patch with correct indentation for parse.y tenderlovemaking (Aaron Patterson)
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 ...
tenderlovemaking (Aaron Patterson)
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 svn[bot]
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 znz (Kazuhiro NISHIYAMA)
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...
authorNari (Narihiro Nakamura)
12:53 PM Bug #4567 (Closed): BigDecimal::ROUND_HALF_DOWN
thank you for the notice, Shane.
mrkn (Kenta Murata)
10:40 AM Bug #4507 (Closed): FileUtils.cp in 1.9 doesn't preserve permissions unless :preserve is set
Fixed at r31123. Thank you. nobu (Nobuyoshi Nakada)
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...
kosaki (Motohiro KOSAKI)
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 kosaki (Motohiro KOSAKI)
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
U.Nakamura
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...
matz (Yukihiro Matsumoto)
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 ...
lazaridis.com (Lazaridis Ilias)
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...
matz (Yukihiro Matsumoto)
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...
lazaridis.com (Lazaridis Ilias)
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...
drbrain (Eric Hodel)
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....
Eregon (Benoit Daloze)
06:21 AM Bug #4962: come back gem_prelude!
Please try r32429 drbrain (Eric Hodel)
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 ...
drbrain (Eric Hodel)
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...
drbrain (Eric Hodel)
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...
drbrain (Eric Hodel)
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
nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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
naruse (Yui NARUSE)
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... trans (Thomas Sawyer)
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...
nobu (Nobuyoshi Nakada)
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
...
usa (Usaku NAKAMURA)
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...
matz (Yukihiro Matsumoto)
12:35 AM Bug #3456: bisarre comma
意図してません。修正します。 matz (Yukihiro Matsumoto)
 

Also available in: Atom