Activity
From 07/09/2011 to 07/15/2011
07/15/2011
- 09:32 PM Revision 22120bcc (git): * Backport of r32559 from trunk
- * lib/uri/common.rb (module): Remove optional parser argument to Kernel#URI
[ruby-core:38061]
* lib/uri/generic.rb (module): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32560 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
09:28 PM Bug #4731: ruby -S irb fails with mingw/msys vanilla builds
- Nobuyoshi Nakada wrote:
> I can't reproduce it.
> ...
After `make install` the end result in the indicated prefix is a series of batch files like: irb.bat which contains a mix of windows commands and the Ruby script in it, which is the... -
11:10 AM Bug #4731 (Feedback): ruby -S irb fails with mingw/msys vanilla builds
- I can't reproduce it.
Is irb only a batch file, or an exe file? - 09:28 PM Revision c2dfaa7d (git): * lib/uri/common.rb (module): Remove optional parser argument to Kernel#URI
- [ruby-core:38061]
* lib/uri/generic.rb (module): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 PM Bug #4456 (Assigned): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
-
08:07 PM Bug #4456 (Open): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
-
06:41 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- ruby_1_9_3のリビジョン32548にて、sparc Solaris10 (32ビット, Solaris Studio 12)ではSEGVが未だに発生します。パッチを添付するので適用希望です。
デバッガ上で実行すると以下のような感じです。
$ dbx ../../sparc32-cc12-debug-svn193/bin/ruby
(===snip===)
(dbx) run -e 'Time.now.strftime("%1000000000F... -
07:16 PM Bug #4223 (Closed): GC.stress = true で謎の ArgumentError
- This issue was solved with changeset r32551.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (bigsub_int): add RB_GC_GUARD. This patch is made b... - 06:24 PM Revision e05e9928 (git): * ChangeLog: mention to the ticket.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:22 PM Revision 5a7a4ce4 (git): * win32/win32.c (is_socket, is_console): add prototypes to fix compile
- problem with gcc introduced at r32549.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:16 PM Revision f11eb9bb (git): merge revision(s) 32554:
- * time.c (time_dup): used rb_obj_class() instead of CLASS_OF().
The patch is made by Kazuki Tsujimoto. [Bug #5012] [ruby-dev:44071]
* test/ruby/test_time.rb (TestTime#test_getlocal_dont_share_eigenclass):
add... - 04:06 PM Revision 61254671 (git): * 2011-07-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:06 PM Revision 6270ce85 (git): * time.c (time_dup): used rb_obj_class() instead of CLASS_OF().
- The patch is made by Kazuki Tsujimoto. [Bug #5012] [ruby-dev:44071]
* test/ruby/test_time.rb (TestTime#test_getlocal_dont_share_eigenclass):
added a new test for eigenclass of time object.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
01:34 PM Bug #4611: [BUG] Segementation fault reported
- Piotr, thanks for feedback. Nice, it includes both OpenSSL 0.9.8 (from ruby) and 1.0.0 (from mysql).
Please try to compile your ruby (/usr/local/bin/ruby) with OpenSSL 1.0.0. I don't know much about Mac OS X but giving '--with-openssl... -
01:20 PM Bug #4875 (Closed): Segmentation fault in http.rb
- I close this as a duplicate of #4611.
-
01:18 PM Bug #4320 (Closed): Bus Error in digest/sha2 on sparc
- I applied the last patch to trunk at r32546 and ruby_1_9_3 at r32547.
Nils, sorry for not merging your patch directly. The reason I didn't apply yours is almost from the size of the patch. Would you please report the issue to the upst... -
01:05 AM Bug #4320: Bus Error in digest/sha2 on sparc
- This looks much simpler. I'll check this patch tomorrow.
Index: ext/digest/sha2/sha2.c
===================================================================
--- ext/digest/sha2/sha2.c (revision 32536)
+++ ext/digest/sha2/sha2.c (work... - 11:27 AM Revision 2cdfa81a (git): * bignum.c (bigsub_int): add RB_GC_GUARD. This patch is made by
- Makoto Kishimoto. fixes #4223 [ruby-dev:42907]
* bignum.c (bigadd_int): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:12 AM Bug #5012 (Assigned): Timeオブジェクト間で特異オブジェクトが共有される
- 10:16 AM Revision 4b29cccf (git): * bignum.c (bigsub_int): add RB_GC_GUARD. This patch is made by
- Makoto Kishimoto. fixes #4223 [ruby-dev:42907]
* bignum.c (bigadd_int): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:37 AM Revision ade91aca (git): * ChangeLog: typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:34 AM Feature #5029 (Closed): accept multiple args in Kernel#warn(), like puts()
- Hello,
Please make Kernel#warn() like Kernel#puts():
* Accept multiple arguments.
* Print them separated by newline.
This will allow me to warn exceptions easily:
begin
...
rescue => error
warn error.inspect, error.ba... - 05:33 AM Revision f15d0dea (git): * win32/win32.c, include/ruby/win32.h (rb_w32_io_cancelable_p): renamed
- from rb_w32_has_cancel_io(). now it takes a parameter as fd to check
the fd is console or not, because we cannot cancel console input even
if we have cancel_io function.
* io.c (WAIT_FD_IN_WIN32): call above function instead of the... -
05:00 AM Feature #5009: Bang method (!) consistency in Ruby 2 API
- Interesting, the Rails' save/save! example makes sense.
And why worry about keeping backwards compatibility?
Ruby 2 can break it, in the interest of removing cruft. - 03:05 AM Revision 22a0e9e9 (git): * 2011-07-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:05 AM Revision b03e3cc5 (git): * backport r32546 from trunk.
- * ext/digest/sha2/sha2.c (SHA256_Update, SHA512_Update): avoid Bus
Error caused by unalignment access on Sparc-Solaris (and possibly on
other similar environment.) This patch just do memcpy always instead
of checking architecture. ... - 03:03 AM Revision e56f2abe (git): * ext/digest/sha2/sha2.c (SHA256_Update, SHA512_Update): avoid Bus
- Error caused by unalignment access on Sparc-Solaris (and possibly on
other similar environment.) This patch just do memcpy always instead
of checking architecture. I see no perf drop on my 64bit env. For
more details, see #4320.
*... -
02:27 AM Bug #5028 (Third Party's Issue): Solaris encoding problems with rdiscount & redcarpet
- It is the issue of markdown.c in redcarpet.
In ext/redcarpet/redcarpet.c it passes the data from Ruby's String to markdown.c's input_buffer without Ruby's encoding:
input_buf.data = RSTRING_PTR(text);
input_buf.size = RSTRING_LE... -
01:24 AM Bug #5028 (Third Party's Issue): Solaris encoding problems with rdiscount & redcarpet
- =begin
Hi,
I've been having encoding problems under 1.9.2 and Solaris, which I've been unable to explain.
Certain strings produce invalid encodings when passed through Redcarpet/RDiscount - for example, the tamil character ழ - (U+0BB4...
07/14/2011
-
10:38 PM Bug #4611: [BUG] Segementation fault reported
- Hiroshi Nakamura wrote:
> Deryl, Peter, I think it's related OpenSSL version conflict. Please see #4875 and https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686
> ...
And how can I do that? Having sim... -
10:01 PM Bug #4863: config.charset not found
- #1423 と同様に検索してみた ( http://www.ctan.org/search.html?search=config.charset&search_type=filename ) ところ、
http://mirror.ctan.org/macros/texinfo/contrib/texinfo-hu/texinfo/intl/config.charset
http://mirror.ctan.org/macros/texinfo/texinfo/gnu... -
06:47 PM Bug #4320: Bus Error in digest/sha2 on sparc
- Nils, thanks for the patch, and sorry for late reply.
Since sha2.c has an upstream version http://www.aarongifford.com/computers/sha.html (which does not support sparc-solaris I think), I want to minimize the patch. Here's my version ... - 04:51 PM Revision 0419cfc2 (git): * 2011-07-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:51 PM Revision e8ab94ed (git): * regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): Power PC does not
- allow unaligned word access.
* st.c (UNALIGNED_WORD_ACCESS): x86_64 allows unaligned word
access as well as i386.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Bug #4445 (Closed): ext/openssl の verify_callback が rb_protect で保護されていない
- r32537でtrunk、r32538でruby_1_9_3を修正しました。結果的には、Obayashiさん(前回呼び捨てですいません)のpatchをそのまま当て、かつ例外を投げている場合にはwarnで警告をする(しかし無視して、通常の検証失敗とする)ようにしました。テストを書いてみたらSSL接続が残ったままになり、GCで回収されるまでそのままという、いかにも危ない挙動になった(当たり前)ので、この時期ではありますが対処しました。
挙動変更は以下です: verif... -
09:52 AM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
- Yui NARUSE wrote:
> Hmm, it can be implemented by the way I implemented UTF8-MAC.
> ...
Ah, okay, I'll have a look at UTF8-MAC. Regards, Martin. -
09:41 AM Bug #5027 (Closed): Snapshot(2011-07-14) Build Test Error @Cygwin
- % ./configure --enable-shared; make ; make test
解凍実行後、以下の様に落ちてました。
他にioで10個Faile出てます。
---
test_fork.rb .[BUG] Segmentation fault
ruby 1.9.4dev (2011-07-13) [i386-cygwin]
-- Control frame information --------------------------... -
07:56 AM Revision 301a11b2 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:53 AM Revision 268b6ddd (git): * eval.c (ruby_setjmp): need to save the stack after r2 (the Table
- of Contents on ppc64) is saved onto the stack by getcontext().
based on <https://bugzilla.redhat.com/show_bug.cgi?id=628715>.
Bug#4411
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32542 b2dd03c8-39d4-4d8f-98ff-823f... -
07:28 AM Bug #5026 (Closed): 1.9.3 allows URI(uri, parser)
- r28699 introduces a new API: the second argument of URI(uri [, parser]).
But I object this because such parser argument should be obsolete. - 06:00 AM Revision a1bad3ac (git): * 2011-07-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:00 AM Revision eec2b69e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:46 AM Revision 94ed480c (git): * 2011-07-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:46 AM Revision bdd7cf15 (git): * backport r32537 from trunk.
- * ext/openssl/ossl.c (ossl_verify_cb): trap the exception from
verify callback of SSLContext and X509Store and make the
verification fail normally. Raising exception directly from callback
causes orphan resouces in OpenSSL stack. P... - 05:41 AM Revision ab86f1cf (git): * ext/openssl/ossl.c (ossl_verify_cb): trap the exception from
- verify callback of SSLContext and X509Store and make the
verification fail normally. Raising exception directly from callback
causes orphan resouces in OpenSSL stack. Patched by Ippei Obayashi.
See #4445.
* test/openssl/test_ssl.r... -
03:53 AM Feature #4893: Literal Instantiation breaks Object Model
- YARV already has flags to see if methods are redefined (used for fast
numeric operations). Maybe you could use them? See
vm_init_redefined_flag(void) in vm.c. -
03:37 AM Feature #4893: Literal Instantiation breaks Object Model
- Lazaridis Ilias wrote:
> Although the latest version (v4) works fine, I dislike to use the callbacks to set/clear the flag.
> ...
You are hijacking the callbacks - if anyone implemented any of the callbacks your implementation fails be... -
02:40 AM Feature #4893: Literal Instantiation breaks Object Model
- Although the latest version (v4) works fine, I dislike to use the callbacks to set/clear the flag.
I have "fuzzily" the perfect implementation in mind, but it will take a few days until it becomes clear. Until then, I would be "glad" ... -
02:40 AM Bug #5022: WEBrick returns improper response for malformed HTTP Request
- Nobuyoshi Nakada wrote:
> assert(hash) does not seem nice.
> ...
Has to be assert_nothing_raised { } at least, since meta_vars won't be empty with no headers.
Improved test case:
def test_simple_request
msg = <<-_end_of_me... - 01:54 AM Revision f10ef64f (git): * 2011-07-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 AM Revision 489345b8 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:30 AM Bug #5025: YAML::Syck::Map#children returns [nil, nil]
- Try that again:
<pre
ruby-1.9.2-p0 > d = YAML.parse('--- { a: 1, b: 2 }')
=> #<Syck::Map:0x00000001890840>
ruby-1.9.2-p0 > d.children
=> [nil, nil]
</pre> -
01:29 AM Bug #5025 (Rejected): YAML::Syck::Map#children returns [nil, nil]
- ruby-1.9.2-p0 > d = YAML.load('--- { a: 1, b: 2 }')
=> {"a"=>1, "b"=>2}
ruby-1.9.2-p0 > d = YAML.parse('--- { a: 1, b: 2 }')
=> #<Syck::Map:0x00000001890840>
ruby-1.9.2-p0 > d.children
=> [nil, nil]
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)? -
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... -
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... -
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... -
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. -
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 ... -
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... -
02:43 PM Bug #4445: ext/openssl の verify_callback が rb_protect で保護されていない
- 騒いでおいてすいません。 #4611 #4875 へのリンクを外しました。ちゃんとスタックを見たら、関係ありませんでした。
で、このチケットですが、Obayashiのおっしゃる通り、確かに今のコードはダメですね。他のcallback同様、事後に例外を上げられるといいんですが、verify callbackはOpenSSL側から何度も呼ばれるので、「事後」がうまく定義できません。
というわけで、1.9.4ではverify_callback内での例外は検証失敗扱... -
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... -
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. -
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 ... -
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 -
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</... -
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... -
05:06 PM Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes
- Sorry, I meant revision 30909 in the description.
-
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 /... -
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... -
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 -
02:27 PM Bug #5019: Ruby runtime crashes and indicates a 'Bus Error' bug
- Please give me a small code for reproducing this problem.
-
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
... -
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
- 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
-
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 -
11:48 AM Bug #4223: GC.stress = true で謎の ArgumentError
- はい。やっておきます。
-
10:19 AM Bug #4223: GC.stress = true で謎の ArgumentError
- これは1.9.3 ターゲットのままでいいですよね? > むらけんさん
-
09:48 AM Bug #4223: GC.stress = true で謎の ArgumentError
- 新しいパッチです。
更新点は、
* bigsub_int() も対策した
* RB_GC_GUARD をコントロールフロー的に十分に後ろの場所に移動した
の 2 点です。
コミット(とバックポート)とクローズ(でいいですよね)お願いします。 -
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... -
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. ... -
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... -
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... -
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_... -
06:10 AM Feature #4893: Literal Instantiation breaks Object Model
- =begin
related issue #5015
=end
-
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
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. -
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... -
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. -
09:44 PM Bug #5018 (Assigned): ruby_1_9_3 branch is missing from official GitHub mirror
-
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... -
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... -
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.
- 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
-
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 -
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-... -
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
... -
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... -
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 ...
-
05:40 PM Feature #5016: Kernel#caller with negative limit should limit result to N initial frames
- Dup of #1906 and #3917.
-
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)]
一方で、レシーバと引... -
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 ...
-
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 ... -
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.
-
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... -
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."
-
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... -
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. -
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... -
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... -
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... -
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... -
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... -
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... -
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.
... -
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...
-
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 ... -
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...
-
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
-
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... -
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 -
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 -
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 -
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... -
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
-
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
-
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... - 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
- 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
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> -
11:05 PM Bug #3924: Performance bug (in require?)
- +1 on 1.9x
-
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.
-
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. -
09:00 AM Bug #3924 (Assigned): Performance bug (in require?)
- Nahi-san, Yugui-san, May I ask current status of this?
-
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 ... -
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... -
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...
-
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
-
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... -
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のように引数でコントロールできる
>> ようにする(デフォルトではスーパークラス... -
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のように引数でコントロールできる
>> ようにする(デフォルトではスーパークラス... -
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. -
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. -
03:09 PM Bug #2479 (Assigned): bugs in ruby-mode
-
03:09 PM Bug #3320 (Assigned): emacs ruby-mode.el font-lock fails on symboled string ending with ?
-
03:08 PM Bug #3618 (Assigned): inf-ruby prompt and tab completion
-
03:08 PM Bug #4923 (Assigned): [ext/openssl] test_ssl.rb: test_client_auth fails
- 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 - 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 -
02:45 PM Bug #3827 (Closed): ext/readline can't handle cursor keys and cp932 chars
- 確認がとれたようなのでcloseします。また問題が起きたら別チケット作りましょう
-
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のせいだと思いたい)。 - 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 - 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
- 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
-
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... -
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
... -
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
-
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... - 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... - 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
- 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 -
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... -
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... -
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... -
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
... -
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... -
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").
... -
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>
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 ...
-
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... -
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.
-
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... -
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? -
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:
>
> -
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 ... -
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... -
01:13 PM Bug #5002 (Assigned): Ripper fails to distinguish local vars from vcalls [PATCH]
-
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... -
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 ... - 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 -
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. -
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... -
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 ... -
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().... -
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 ... -
03:40 PM Bug #4700 (Assigned): JSON Documentation
-
04:51 PM Feature #5009: Bang method (!) consistency in Ruby 2 API
- -1
ActiveRecord's save/save! is also a good example. -
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...
-
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... -
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... -
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. -
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.
-
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... -
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?
-
04:18 PM Bug #5013 (Closed): bootstrap/runner.rb の assert_normal_exit() がSEGVを検知できないことがある
- r32490.
-
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()は内部でロック取るのでデッドロックリスクあり。
-
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_... -
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.
- 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
- 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
-
03:40 PM Bug #4864: RubyGems が環境変数 MAKE を見てくれない
- Ryan, can you please review this?
- 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
- 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 -
03:35 PM Bug #3827: ext/readline can't handle cursor keys and cp932 chars
- artonさん、こちら、いかがでしょうか?
-
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 -
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... -
01:43 PM Bug #4886 (Assigned): autoload in instance_eval doesn't work
- 1.9.3を狙うなら Assigned に変更されるべき。報告の雰囲気からしてなるせさんは自分で直すつもりだと勝手にみなしてなるせさんにアサインします
-
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?
-
03:15 PM Feature #4574 (Assigned): Numeric#within
- It's too late for 1.9.3.
-
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... -
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
-
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... -
02:58 PM Bug #4438: rescue args type check omitted
- Let's discuss spec and impl. before 1.9.4 release.
-
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... -
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).
-
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
-
02:28 PM Bug #3351: stack overflow on super
- I'll challenge this issue on 1.9.4. Sorry.
-
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... -
02:15 PM Bug #2402: super in instance_eval
- すみません,1.9.4 送りで....
-
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
- 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... -
02:01 PM Bug #4834 (Assigned): Adding documentation for prettyprint library
-
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
-
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.
-
01:51 PM Bug #4957: IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
- 残念なことに、Cygwinは現在アクティブメンテナーがいないので、誰かがパッチを作ってポストしない限り放置されるかもしれません。
パッチは歓迎します。 -
01:39 PM Bug #3272 (Closed): BigDecimal#** が実用的な速度ではない
- チケットが重複していました。
-
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 -
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... -
01:13 PM Bug #4995 (Feedback): 1 test fails on AIX
-
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
-
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... -
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... -
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... -
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... -
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... -
10:57 AM Bug #3804 (Rejected): ruby crashed while running spork
- There is no feedback.
Closing -
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.
... -
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... -
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] -
02:58 AM Bug #5004 (Assigned): Version of rubygems needs update
-
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 -
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 -
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... -
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 -
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 ... -
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
-
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 - 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 -
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 - 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
-
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... -
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 - 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... -
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 -
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 -
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... -
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... - 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 -
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, ... -
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
07/09/2011
-
11:27 PM Feature #5005: Provide convenient access to original methods
- The idea to address the issue is the "prepend" feature planned for Ruby 2.0.
class Original
def any_method
...
end
end
module Modifier
def any_method
#custom code
super # call the original any_method, passi... -
11:13 PM Feature #5005: Provide convenient access to original methods
- Ondrej,
When module is included into a class, Ruby adds a new anonymous (in a sense that it will be skipped by Class#superclass calls) class into the inheritance chain: https://gist.github.com/1073599. So it is appending, not prependi... -
10:43 PM Feature #5005: Provide convenient access to original methods
- Michael Klishin wrote:
> This approach with aliasing seems to be pretty popular because many people do not know that it is possible to define a module with #any_method and include it into a class (in your example, String) and call super... -
09:55 PM Feature #5005: Provide convenient access to original methods
- This approach with aliasing seems to be pretty popular because many people do not know that it is possible to define a module with #any_method and include it into a class (in your example, String) and call super in that module method. Th...
-
08:05 PM Feature #5005 (Rejected): Provide convenient access to original methods
- The languag allows a class to be "reopened", thus it's behaviour can be redefined:
class String
def any_method
#custom code
end
end
the original method can be called, using this construct:
class String
alias_metho... -
11:26 PM Feature #5007 (Assigned): Proc#call_under: Unifying instance_eval and instance_exec
- I'm proposing a method called `Proc#call_under` (the name could be
discussed) which both unifies `instance_eval` and `instance_exec`, and makes
it possible to call a `Proc` with a block and a scope:
`Proc#call_under(self, *args, &bl... -
09:53 PM Bug #5002: Ripper fails to distinguish local vars from vcalls [PATCH]
- Hi,
At Sat, 9 Jul 2011 12:24:04 +0900,
Michael Edgar wrote in [ruby-core:37908]:
> The funny thing is, the parser already *is* doing almost all
> of the work! It's just not looking at the local variable
> tables when it com... -
12:24 PM Bug #5002 (Closed): Ripper fails to distinguish local vars from vcalls [PATCH]
- Ripper always parses the `variable` grammar production (which includes identifiers, {i,c,g}vars, nil, __FILE__, etc) as a `var_ref` node, whose only child is the token itself.
This is a problem for one huge reason: local variables loo... -
09:42 PM Feature #5006 (Rejected): Allow ~> as a method
- It occurs to me that since RubyGems uses ~> as a recognized version constraint operator (along with >, <, >= and <=) it would be nice if Ruby supported it as a valid method. Ultimately RubyGems could use the new method in it's code. But ...
-
07:20 PM Bug #5004 (Closed): Version of rubygems needs update
- =begin
source:NEWS#L244
> Rubygems has been upgraded to rubygems 1.5.0.
This should be updated to 1.8.5.1 in the trunk.
=end
- 07:11 PM Revision 19065fe3 (git): * 2011-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:11 PM Revision 53e667a9 (git): Remove duplicated definition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 PM Feature #4893: Literal Instantiation breaks Object Model
- Yukihiro Matsumoto wrote:
> |This is really a (class)local status, see this issue subjecting terminology:
> ...
[...]
Commented there.
> |This change has a trivial influence, as nothing can go wrong. Even if the flag is set, thi... -
06:33 PM Feature #4984: [TERMINOLOGY] Provide Document for Terminology (e.g. "Global Status")
- =begin
Lazaridis Ilias wrote:
> =begin
> ...
[...]
I've created a draft version of the document, this should clarify this issue:
((<URL:http://redmine.ruby-lang.org/projects/ruby/wiki/Terminology>))
=end
-
01:11 AM Feature #4984: [TERMINOLOGY] Provide Document for Terminology (e.g. "Global Status")
- Yukihiro Matsumoto wrote:
> =begin
> ...
Nothing more than to provide a document, where some terminology which is used within the project is written down.
Note that (as always) this issue addresses the project, and not you individua... -
04:25 PM Bug #3784: Seg fault in IO.select from webrick
- Hiroshi asked if the problem happens with a later version of Ruby -- it does. I am using 1.9.2p180 on Windows 7 64-bit. Ruby was installed using the installer from rubyinstaller.org. So now we have a full set -- it happens on Unix, Li...
-
03:59 PM Bug #5001 (Closed): unsigned warning raised by error.c
- This issue was solved with changeset r32470.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (rb_w32_{read,write}): should be signed.
Bug #5001 -
01:41 AM Bug #5001 (Closed): unsigned warning raised by error.c
- Building on trunk, a warning around error.c worries me:
-
02:41 PM Feature #4891 (Closed): Vector#normalize
- Applied as r32467, thank you!
-
02:32 PM Bug #3866 (Closed): Multipart Form Parsing bug
- This issue was solved with changeset r32469.
Heinrich, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/core.rb: fix multipart form parsing bug. [Bug #3866] -
01:34 PM Bug #4962: come back gem_prelude!
- And, here is laster benchmark comparision on Linux Fedora15 x86-64.
You have to ignore vm_thead_xx and vm3_clearmethodcache. They are influenced another changes.
And only followint three have significant difference.
name 192... -
01:20 PM Bug #4962: come back gem_prelude!
- Now, nobu is reviewing Aaron's patch. Please don't close it awhile. Instead I reassign the ticket to nobu.
Thanks. -
09:36 AM Bug #4962: come back gem_prelude!
- May I close this ticket?
-
12:55 PM Feature #4935: Quoted Label Form for 1.9 Hashes
- With the feature freeze coming up in a couple days, is there a chance this sees 1.9.3? It doesn't break any old syntax, only introduces new syntax, and rounds out the label feature of the 1.9 branch nicely.
- 11:12 AM Revision 59323038 (git): * 2011-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:12 AM Revision 00720b2f (git): * ext/tk/extconf.rb: I gave up to fix the build issue of ext/tk with Windows
- installer (mingw32). Ported whole ext/tk/extconf.rb from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:06 AM Revision aef70074 (git): * internal.h: rb_rational_reciprocal is defined in rational.c.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:50 AM Revision bc11aa72 (git): * internal.h: added declarations.
- * complex.c: followed the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 AM Feature #4865: Documentation of FileUtils is very unclear on how errors are handled
- I do not have the experience to document the error handling of FileUtils.
Assigning to nobody as there appears to be no FileUtils maintainer at this time. -
09:26 AM Bug #3022: What are $. and ARGF.lineno ?
- I will need to add support to RDoc for global variables, I don't have time to add the feature for 1.9.3.
ARGF.lineno is documented now. -
09:25 AM Bug #4757 (Closed): Attempt to make Enumerator docs more clear (patch included)
- This issue was solved with changeset r32466.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enumerator.c: Remove "enumeration sequenced by".
[Ruby 1.9... -
09:21 AM Bug #4902 (Closed): IO#each counts lineno
- This issue was solved with changeset r32465.
b, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c: Note that methods other than IO#gets may increase IO#lineno... -
08:56 AM Bug #4519 (Closed): rubygems/test_gem_package_task.rb breaks rake/test_filelist.rb
- I cannot reproduce this, I think it has been fixed.
$ make test-all TESTS='rubygems rake -v'
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common .... -
08:47 AM Bug #4485: Gem.bin_path('rake') does not return the path of the system-installed rake
- The attached patch adds executables to the stub gemspecs and installs a copy of bin/rake into the gem directory.
Can I have it reviewed? - 08:25 AM Revision 88b6d505 (git): * NEWS: bigdecimal is not a builtin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:18 AM Revision 057e0a37 (git): * ext/date/date_core.c: some improvements for performance.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:03 AM Feature #1136 (Closed): "ri Kernel#require" is broken
- I cannot reproduce:
$ gem19 install rails -i ~/tmp/gems
…
24 gems installed
$ GEM_HOME=~/tmp/gems ri19 Kernel#require
Kernel#require
(from ruby core)
…
$ GEM_HOME=~/tmp/gems ri19 --version
ri19 3.8
$ ruby19 --version
rub... -
07:56 AM Revision 2a8a9d1d (git): * atomic.h (ATOMIC_OR): _InterlockedOr is unavailable in VC6.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:54 AM Revision 03c618da (git): * numeric.c (ULLONG_MAX): fallback definition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 AM Bug #4994 (Rejected): DelegateClass don't find extern global public method in 1.9.2
- It's a spec change for [ruby-dev:39154].
* Delegator now tries to forward all methods as possible,
* but not for private methods, and
* test_that? is a private method.
Probably, it would need a way to tell how the method is calle... -
06:59 AM Revision 63ab1901 (git): * win32/win32.c (rb_w32_{read,write}): should be signed.
- Bug #5001
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:32 AM Revision 7fd78fad (git): * lib/cgi/core.rb: fix multipart form parsing bug. [Bug #3866]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 AM Revision 57da3d94 (git): comment clarification. Only Leopard or earlier has ENOTSUPP
- issue if my kernel code reading is correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Bug #4989: Document Socket constants
- On Jul 8, 2011, at 10:04 AM, KOSAKI Motohiro wrote:
> 2011/7/9 James Cox <james@imaj.es>:
>> On Fri, Jul 8, 2011 at 08:25, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>>> Hi
>>>
>>>> Why change all the statuses to low here?... -
02:23 AM Bug #4989: Document Socket constants
- 2011/7/9 James Cox <james@imaj.es>:
> On Fri, Jul 8, 2011 at 08:25, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> Hi
>>
>>> Why change all the statuses to low here? I don't see the validity of
>>> your change, especial... -
01:23 AM Bug #4989: Document Socket constants - On Fri, Jul 8, 2011 at 08:25, KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
>> Why change all the statuses to low here? I don't see the validity of
>> your change, especially as this one comes with a patch: surely th... - 02:41 AM Revision 1e696acc (git): * lib/matrix.rb: Add Vector#normalize [ruby-dev:43829]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 AM Feature #5000 (Closed): skip string creation of when clause
- 遠藤です。
when 節に文字列リテラルをそのまま書くことは結構あると思います。
case str
when "foo"
when "bar"
when "baz"
end
現在は when 節の比較を実行するごとに、String オブジェクトが生成
されています。しかし、この場合は毎回同じオブジェクトを返せばいい
と思います。最良のケースで、このくらい高速化します。
$ cat t.rb
50000... -
01:24 AM Bug #4999 (Closed): configure.in issues are breaking the build under MinGW
- Shyouhei Urabe wrote:
> Hmm, the autoconf I used to ship the 1.8.7 was autoconf 2.65. Is it perhaps not a MinGW specific issue but an autoconf 2.67 problem?
Hmn, I've entered 1.8.7-p334 in ruby -v field because is the base ruby I us... -
01:08 AM Bug #4999: configure.in issues are breaking the build under MinGW
- Hmm, the autoconf I used to ship the 1.8.7 was autoconf 2.65. Is it perhaps not a MinGW specific issue but an autoconf 2.67 problem?
-
12:53 AM Bug #4999 (Closed): configure.in issues are breaking the build under MinGW
- At r32461, configure.in is generating a warning during autoconf:
-
01:15 AM Bug #4992: finalizer中のThread.newでSEGV
- How's this?
```diff
Index: vm_core.h
===================================================================
--- vm_core.h (revision 32446)
+++ vm_core.h (working copy)
@@ -285,6 +285,7 @@
VALUE thgroup_default;
int running;
+ ... -
12:53 AM Bug #4995: 1 test fails on AIX
- Hi Perry,
Could you please try , for example,
# ldedit -b maxdata -
12:40 AM Bug #4799: M17N tests are too JP specific
- I doubt some gems/library set Encoding.default_internal and its breaks those tests.
Can you run test-all in clean environment?
configure --prefix=/somewhere may help you. -
12:25 AM Revision d137810d (git): * enumerator.c: Remove "enumeration sequenced by".
- [Ruby 1.9 - Bug #4757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 AM Revision 0c3833ec (git): * io.c: Note that methods other than IO#gets may increase IO#lineno.
- [Ruby 1.9 - Bug #4902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e