Activity
From 06/26/2012 to 07/02/2012
07/02/2012
-
11:53 PM
Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- On Sun, Jul 01, 2012 at 04:22:59PM +0900, mrkn (Kenta Murata) wrote:
>
> Issue #6590 has been updated by mrkn (Kenta Murata).
>
>
> I don't know how do I allow the JRuby team to uload the Java version of BigDecimal.
> What shou... -
11:53 PM
Feature #5690: Module#qualified_const_get
- On Mon, Jul 02, 2012 at 01:54:32AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #5690 has been updated by mame (Yusuke Endoh).
>
>
> Aaron, your slide is received. Thank you.
>
> marcandre (Marc-Andre Lafortune) wrote:
> > +... -
01:54 AM Feature #5690: Module#qualified_const_get
- Aaron, your slide is received. Thank you.
marcandre (Marc-Andre Lafortune) wrote:
> +1 from me, but modifying existing `const_get`.
I'll add it verbally during the presentation, if I recall.
--
Yusuke Endoh <[email protected]> -
11:53 PM
Feature #2565: adding hooks for better tracing
- On Mon, Jul 02, 2012 at 03:06:59AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #2565 has been updated by mame (Yusuke Endoh).
>
>
> Yugui-san, your slide is received. Thank you.
> (Using a link is unfair :-)
>
> I wonder if... -
03:06 AM Feature #2565: adding hooks for better tracing
- Yugui-san, your slide is received. Thank you.
(Using a link is unfair :-)
I wonder if this proposal is not accepted by matz.
What this proposal needs is not matz's approval, but the conclusion of API design. I guess.
Anyway, pl... -
11:29 PM
Feature #4985: Add %S[] support for making a list of symbols
- On Mon, Jul 02, 2012 at 06:45:38AM +0900, SASADA Koichi wrote:
> I guessed that %S(...) is S-expr syntax.
>
> example:
> %S((foo bar (baz boo)) #=> [:foo, :bar, [:baz, :boo]]
>
>
> (I have no idea about use-case of this S-ex... -
11:29 PM
Feature #4985: Add %S[] support for making a list of symbols
- On Mon, Jul 02, 2012 at 02:17:12AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #4985 has been updated by mame (Yusuke Endoh).
>
>
> Received. Thank you!
>
> The second page is mysterious... A cat or something walked a straig... -
06:53 AM Feature #4985: Add %S[] support for making a list of symbols
- I guessed that %S(...) is S-expr syntax.
example:
%S((foo bar (baz boo)) #=> [:foo, :bar, [:baz, :boo]]
(I have no idea about use-case of this S-expr literal, except Lisp like DSL)
--
// SASADA Koichi at atdot d... -
02:17 AM Feature #4985: Add %S[] support for making a list of symbols
- Received. Thank you!
The second page is mysterious... A cat or something walked a straight line of your keyboard? :-)
--
Yusuke Endoh <[email protected]> -
11:22 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- 正直なところ何が嬉しいのかさっぱりだったので放っておいたのですが…。
バージョンが一致しないlibrubyがロードされると嬉しくないのは同感なのですが、このチェックによって ./ruby が実行できなくなるとそのストレスは解消するものなんでしょうか。
-
10:38 PM Feature #6687 (Open): Enumerable#with
- =begin
Let me propose `Enumerable#with` for an alias of `Enumerable#each_with_object` or replace of it.
`Enumerable#each_with_object`のエイリアス、またはその置き換えとして、`Enumerable#with`を提案します。
##Reason
##理由
When you create a hash using `En... -
10:15 PM Bug #5750 (Closed): Thread.current local-variables behavior
- This issue was solved with changeset r36269.
Julien, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (rb_thread_aref): add explanation for why Thread#[] ... -
09:15 PM Revision cda2bf55 (git): * ext/zlib/zlib.c: Restored the comment explaining the choice of
- buffer expansion size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:12 PM Revision db0126b6 (git): * object.c (Init_Object): Added RDoc location pointers for
- Kernel#methods, Kernel#protected_methods, Kernel#private_methods and
Kernel#public_methods. [Bug #6666]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:03 PM Revision 7c3d6a8d (git): * 2012-07-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 PM Revision 802c468f (git): * ext/zlib/zlib.c (zstream_run): Process zlib streams without GVL.
- [Feature #6615]
* NEWS: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:29 PM Feature #5654: Introduce global lock to avoid concurrent require
- Hello,
2012/7/2, nahi (Hiroshi Nakamura) <[email protected]>:
>> NOT received
>
> Fair because it's a regulation.
Sorry, just joking.
> I updated the slide at
> https://docs.google.com/presentation/d/1pXgUPtzo... -
09:13 AM Feature #5654: Introduce global lock to avoid concurrent require
- > NOT received
Fair because it's a regulation.
I updated the slide at https://docs.google.com/presentation/d/1pXgUPtzoy4qFBznuuTSv0lzwmyoxUbxFyMk8GtzcXgI/edit
Do you accept it now? -
02:35 AM Feature #5654: Introduce global lock to avoid concurrent require
- NOT received because your slide includes no figure...!
Please make a presentation yourself at the meeting :-)
--
Yusuke Endoh <[email protected]> -
05:06 PM Bug #6662 (Closed): prepend した Class/Module が継承ツリー上にある Class/Module で ancestors に Class が入り込む
- This issue was solved with changeset r36266.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
prepend: fix mixing with include
* class.c (rb_include_modul... -
04:01 PM Bug #6667: Package config does not include a reference to the /usr/include/x86_64-linux
- kosaki (Motohiro KOSAKI) wrote:
> A header location is decided by distros, not ruby project. Include path is decided from CMake, not ruby project. I don't think we can help you.
Of course for distribution, there is possible to use --... -
03:53 PM Feature #6679: Default Ruby source file encoding to utf-8
- I think this is the right direction to go, and doing it for a major
version (2.0) is the right timing.
Maybe we can also on this occasion abolish the -U option and make its
action the default? Matz proposed that quite a long ... -
02:20 PM Feature #6679: Default Ruby source file encoding to utf-8
- claytrump (Clay Trump) wrote:
> • Ruby 1.9 forced encoding for code that was not pure ASCII,
Could you elaborate?
-
03:15 AM Feature #6679 (Assigned): Default Ruby source file encoding to utf-8
- Received. Thank you!
Naruse-san, what do you think?
--
Yusuke Endoh <[email protected]> -
02:54 PM Feature #5741: Secure Erasure of Passwords
- Is there any update on the status of this issue? This is simply a layperson's perspective (I'm not an expert regarding Ruby's internals), but I'd imagine this to be as easy as querying GC for all copies of the object, and overwriting the...
-
02:28 PM Bug #6685 (Rejected): duplicate results in Dir[]
- Yes, it's expected.
-
11:18 AM Bug #6685: duplicate results in Dir[]
- Hmm, according to http://www.ruby-forum.com/topic/153846 this is intended behavior.
-
11:08 AM Bug #6685 (Rejected): duplicate results in Dir[]
- $ mkdir a
$ touch a/b.rb
$ irb
>> Dir['a{,/**}/*.rb']
=> ["a/b.rb", "a/b.rb"]
I expected ["a/b.rb"]. -
01:15 PM Revision c03d1c27 (git): * thread.c (rb_thread_aref): add explanation for why Thread#[] and
- Thread#[]= are fiber-local and not thread-local.
reported by Julien A. [ruby-core:41606] [ruby-trunk - Bug #5750]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 PM Revision 83eceb2a (git): * time.c (timew_out_of_timet_range): specialization for
- SIZEOF_TIME_T == SIZEOF_INT64_T.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:07 PM Feature #6670: str.chars.last should be possible
- Hi,
trans (Thomas Sawyer) wrote:
> This issue might also have some relation to the issue about Enumerable#size, #6636.
Not directly. Being able to calculate lazily a size does not mean it is easy to have random access, and the api... -
02:59 AM Feature #6670: str.chars.last should be possible
- While I realize it doesn't exactly fit with the whole iteration thing particularly well, I nonetheless do not think it's unreasonable for Enumerator to support something like #last(n=1). In most cases that just means it has to iterate on...
-
01:41 AM Feature #6670 (Assigned): str.chars.last should be possible
- Received. Thank you!
You really want just #last?
--
Yusuke Endoh <[email protected]> -
11:07 AM Feature #6684 (Rejected): Object#do
- =begin
#Object#do
This is my first post.
初めての投稿です。よろしくお願いします。
Let me propose a new method `Object#do`.
次のような実装の`Object#do`を提案します。
class Object
def do(*args, &blk)
yield(self, *args)
end
end
... -
10:03 AM Bug #6675 (Feedback): Raise exception when convert encoding of a character from GBK to UTF
- The test passes my environment:
* ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
* ruby 1.9.3p203 (2012-05-04 revision 35536) [x86_64-freebsd9.0]
* ruby 1.9.3p243 (2012-06-28 revision 36244) [x86_64-freebsd9.0]
* ru... -
08:07 AM Revision 5f8dfdd9 (git): rp_class rb_ancestors
- * .gdbinit (rp_class): Print the content of a Class/Module.
* .gdbinit (rb_ancestors): Print ancestors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Revision edb1fc4e (git): prepend: fix mixing with include
- * class.c (rb_include_module): include modules after the origin.
* class.c (include_modules_at): skip prepended modules.
* class.c (rb_prepend_module): now basic.klass in ICLASS refers the
old original class/module. [ruby-dev:45868][B... -
06:04 AM Feature #6253: Implement a way to pass keyword options to curried procs
- =begin
Currently, Proc#curry returns an instance of Proc.
Technically speaking, currying takes an n-arity Proc, and turns it into n nested 1-arity Procs. However, Ruby's implementation does not follow this strictly. In Ruby, currying... -
02:46 AM Feature #6253: Implement a way to pass keyword options to curried procs
- Is the return value of #curry an instance of Method? Or is it some other thing in itself, e.g. a Curry object?
-
12:41 AM Feature #6253: Implement a way to pass keyword options to curried procs
- Your slide is received. Thank you!
--
Yusuke Endoh <[email protected]> -
05:59 AM Bug #6652 (Closed): broken Marshal compatibilities on Date and DateTime
- already accepts if rational also accept
-
05:57 AM Bug #6683 (Closed): DateTime#strftime("%s") overflow on 32-bit platform
-
01:17 AM Bug #6683 (Closed): DateTime#strftime("%s") overflow on 32-bit platform
- The improvements to date and time in 1.9.3 introduced a regression from 1.9.2 with respect to DateTime#strftime("%s") (%s is seconds since the UNIX epoch). e.g.
# Ruby 1.9.2p320
1.9.2p320 :001 > require 'date'
1.9.2p320 :002 > requi... -
03:56 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> sorry, but I didn't get it. It is pretty easy to demonstrate the difference in performance between using autoload and require.
> ...
Considering start-up time: many people uses patch #5767 (... -
03:32 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- I just want to note that start-up times should be able to be improve somewhat by optimizing #require_relative.
Also, by putting #require_relative in #initialize methods of classes that need library instead of at toplevel and speed imp... -
03:13 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- NaHi-san,
Please make a presentation yourself at the meeting!
--
Yusuke Endoh <[email protected]> -
03:44 AM Bug #6597 (Closed): README.EXT と README.EXT.ja の内容が違う
- This issue was solved with changeset r36262.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* README.EXT.ja: fixed args, same as r35977. [Bug #6597] -
03:26 AM Feature #6637: Add HTML5 support to CGI
- Received, thank you!
Unfortunately, CGI maintainer (Takeyuki Fujioka) is not planning to attend the developers' meeting.
So it may be difficult to determine to accept your proposal. But we'll discuss it. Thank you again!
--
Yu... -
01:54 AM Feature #6637: Add HTML5 support to CGI
- Slide added (attached 6637.pdf).
Content:
Feature #6637: Add HTML5 support to CGI, now!
---------------------------------------------
Motivation
- CGI: provides methods for generating HTML elements
- HTML5 already wid... -
03:22 AM Feature #6414: Destructuring Assignment
- Marc-Andre, your slide is received. Thank you!
Rodrigo, I don't know CoffeeScript, but what is the difference between OP's (second) proposal and yours?
> name = "John"
> ...
--
Yusuke Endoh <[email protected]> -
03:15 AM Feature #4778: IO#each_chomped
- How about just `each_chomp(str="\n")` ?
-
02:38 AM Feature #4778: IO#each_chomped
- Received, thank you!
I missed (or forgot) this feature request, but I love it.
Thank you putting this in the spotlight!
--
Yusuke Endoh <[email protected]> -
02:58 AM Feature #5922: Migrate equal? to identical?
- Received, thank you!
--
Yusuke Endoh <[email protected]> -
02:52 AM Feature #6609 (Assigned): Toplevel as self extended module
- Received, thank you!
This proposal seems to require careful case study.
So I guess it is difficult for matz to accept it without sufficient thought.
But it will be valuable to know his impression.
--
Yusuke Endoh <[email protected]> -
02:41 AM Feature #6499: Array::zip
- Received. Thank you!
--
Yusuke Endoh <[email protected]> -
02:30 AM Feature #5481 (Assigned): Gemifying Ruby standard library
- Received, thank you.
I don't think this issue will be settled in a few minutes,
but it may be valuable enough to hear matz's view.
--
Yusuke Endoh <[email protected]> -
02:18 AM Feature #6594 (Assigned): Integrated Functor
- Received, thank you!
--
Yusuke Endoh <[email protected]> -
02:09 AM Feature #6636 (Assigned): Enumerable#size
- Received. Thank you!
--
Yusuke Endoh <[email protected]> -
02:05 AM Feature #4151: Enumerable#categorize
- Marc-Andre and Eregon, your slides (!) are received. Thank you!
--
Yusuke Endoh <[email protected]> -
01:58 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Aaron, I received your slide. Thank you!
--
Yusuke Endoh <[email protected]> -
01:35 AM Feature #6669 (Assigned): A method like Hash#map but returns hash
- Received, thank you!
--
Yusuke Endoh <[email protected]> -
01:33 AM Feature #3346: __DIR__ revisted
- Yhara-san, your slide is received. Thank you!
But, matz has already accepted this proposal basically.
The remaining issue is its API (including name). Right?
If so, I'm afraid if just listing candidates will make no progress.
It ... -
01:16 AM Feature #6361: Bitwise string operations
- Your slide is received. Thank you!
A new class, not bitwise string operations, is now being discussed in this thread?
(I don't read the long discussion ;-)
If so, it may be good to get a fresh start by opening another ticket.
An... -
12:54 AM Bug #6666 (Assigned): Documentation Improve - rdoc does not know where rb_obj_methods is (#methods)
- Maybe the comment is needed after rb_define_method, not in class.c?
- rb_define_method(rb_mKernel, "methods", rb_obj_methods, -1);
+ rb_define_method(rb_mKernel, "methods", rb_obj_methods, -1); /* in class.c */
Eric, could y...
07/01/2012
-
11:09 PM Feature #2674: RubyVM::InstructionSequence to accept IOs
- あー、時間差でGlass_sagaと同じものを作ってしまった。残念
https://github.com/ruby/ruby/pull/136/files
中身見ても同じなのでどっちを採用しても大差ないです。 -
10:57 PM Feature #2674: RubyVM::InstructionSequence to accept IOs
- IOとして受け付けるかをT_FILE かどうかで判断するパッチを作りました。
また、ripperについてもT_FILEかどうかで判断し、rb_funcall()経由でgetsを呼ぶのではなくrb_io_gets()を使うパッチを作りました。
2つのパッチを添付します。 -
10:04 AM Feature #2674 (Feedback): RubyVM::InstructionSequence to accept IOs
- パッチ募集中だそうです。
--
Yusuke Endoh <[email protected] -
10:21 PM Feature #6414: Destructuring Assignment
- -1. I'd still like to see Ruby supporting CoffeeScript hash style for this common pattern:
Instead of
a = 1; b = 2; c = {a: a, b: b}
I'd prefer to write just c = {a, b}. The current proposed syntax wouldn't allow such a feature in... -
06:27 AM Feature #6414: Destructuring Assignment
- Attaching a one-minute slide. It doesn't cover the "construction" part of this request though.
-
10:15 PM Feature #6679: Default Ruby source file encoding to utf-8
- +1
-
07:23 AM Feature #6679: Default Ruby source file encoding to utf-8
- Oh, and here's a slide for the feature meetup. It's ugly, I know.
--
<lay trum/> -
06:41 AM Feature #6679 (Closed): Default Ruby source file encoding to utf-8
- Let's change the default encoding for Ruby source files from US-ASCII
to UTF-8 in Ruby 2.0
• Convention over Configuration
• Ruby 1.9 forced encoding for code that was not pure ASCII, so
existing codebase already has magic comments... -
10:10 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- sorry, but I didn't get it. It is pretty easy to demonstrate the difference in performance between using autoload and require.
Just change "config.cache_classes = false" to "true" in config/environments/development.rb.
Then, `time rail... -
07:23 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- Slightly updated version. You can comment it, too: https://docs.google.com/presentation/d/1pP8XZBzoA5HehA5xyWBHda6qgpvFvmdMsVWaWauyr2o/edit
I'm not sure if we need to add the demonstration at this moment because the most important par... -
01:35 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- I totally support this slide. The differences in start-up time of a typical Rails application will reveal very noticeable with and without auto-loading. It would be great to include this demonstration during the slide shows. Would that b...
-
12:24 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- Endoh-san, here's "slide-show" of this proposal.
- 08:56 PM Revision bd52bed9 (git): * ext/date/date_core.c: [ruby-core:46058].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:37 PM Revision c8cde4e2 (git): * ext/date/date_core.c (d_lite_marshal_load): accepts old dump.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:22 PM Feature #6682 (Assigned): Add a method to return an instance attached by a singleton class
- =begin
Currently, there is no easy way to get the attached instance from a singleton class. For MRI, we have to resort to writing an C extension. So it'll be useful to add an instance method to Class to return the attached instance if t... -
07:13 PM Bug #6460: `unexpected return' occurs when a proc is called in ensure
- パッチを添付します。
-
07:12 PM Bug #6460 (Assigned): `unexpected return' occurs when a proc is called in ensure
- バックポートチケット化しておきます。
-
02:46 PM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
- This issue was solved with changeset r36259.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460] -
07:12 PM Feature #6483: parametric map
- Thank you for much more elegant code. It works with all of my specs except one:
```ruby
['abc','cdef','xy','z','wwww'].select(&:size.() == 4) # ==> ['cdef', 'wwww']
```
It looks that one cannot make this work without proxy obj... - 06:44 PM Revision 2d3fd695 (git): * 2012-07-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 PM Revision 0de52e15 (git): * README.EXT.ja: fixed args, same as r35977. [Bug #6597]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:22 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- I don't know how do I allow the JRuby team to uload the Java version of BigDecimal.
What should I do?
-
01:32 PM Revision fb3c4a2d (git): * ext/zlib/zlib.c: cosmetic changes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:23 PM Feature #2565: adding hooks for better tracing
- I was in a rush and mistook this for the issue dedicated to proposal submissions. The last three posts do not pertain to this. Sorry.
-
08:53 AM Feature #2565: adding hooks for better tracing
- Here is better 5922. Please disregard previous.
-
10:52 AM Bug #6573 (Assigned): Webrick test failures
-
10:45 AM Feature #6637 (Assigned): Add HTML5 support to CGI
-
10:44 AM Feature #1586: Including a module already present in ancestors should not be ignored
- Hi Clay and MarcAndre,
I received your slide. Thanks!
--
Yusuke Endoh <[email protected]> -
08:53 AM Feature #1586: Including a module already present in ancestors should not be ignored
- I guess I'll do it. Hopefully this slide can be useful.
--
<lay trum/> -
10:29 AM Bug #6629 (Assigned): [PATCH] io.c: avoid rb_thread_wait_fd() if we may call rb_io_wait_readable()
-
10:25 AM Bug #5950 (Assigned): open-uri: https redirect fix
-
10:11 AM Feature #6639: ArgumentError から ArityError を分離
- 資料受け取りました。
が、ext の開発者がどう嬉しいのか理解できず、タイムアウトになる予感がします。
--
Yusuke Endoh <[email protected]> -
10:01 AM Feature #2447: reduce GC pressure by symbol table without String instance
- > 明らかに feature request なので移動します。
自分へのツッコミですが、「明らかに bug ではない」が正確ですね。
こういう最適化みたいに、ユーザが直接観察できない改善は、feature request deadline 後でもいいと思います。
ただ、(時期は決めてなかったと思いますが) code freeze 後ではダメだし、branch を切った後でも面倒になると思うので、なるべく早めにやってください。
--
Yusuke... -
09:52 AM Feature #5053: ruby コマンドと libruby の食い違いチェック
- 資料受け取りました。
(よく読んでませんが) これ、まつもとさんの認可が必要な内容なんですかね。
なかださんか誰かが勝手にやってしまえばいいレベルの話な気も。
まあ一応聞いてみます。 -
09:50 AM Feature #4043: グローバル関数current_classの提案
- 受け取りました。具体的なユースケースが書いてないので、そこでひっかかってしまうかも。
「まつもとさんは機能自体には賛成していて、名前の議論だけとなっている」と明示するとよいかも。 -
08:20 AM Feature #6609: Toplevel as self extended module
- Here is slide for this feature.
-
07:59 AM Feature #6499: Array::zip
- I've had the same issue in the past, so here's a slide for this feature.
On Fri, Jun 1, 2012 at 2:54 AM, prijutme4ty (Ilya Vorontsov) <
[email protected]> wrote:
>
> Issue #6499 has been updated by prijutme4ty (Ilya Voron... -
07:35 AM Bug #6124 (Open): remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- Vit proposed either of these;
(1) remove the "spec-only gems" in Ruby 1.9.3
(2) make "default gems" from the "spec-only" gems right now for Ruby 1.9.3
Since (2) should wait for #5481 and 2.0 so (1) is the only option right now I thi... -
07:32 AM Feature #4778: IO#each_chomped
- Attached one-minute slide for this proposal.
I think the name might still be matter of discussion (it could maybe even be an option of #each_line), but it would be interesting to get the general idea evaluated. -
07:27 AM Bug #6680 (Closed): Unclear rdoc for Array and String slicing
- =begin
Slicing of arrays and strings specifying start/length or using a range is not documented well, and often leads to confusion, see for example
<http://stackoverflow.com/questions/3568222/array-slicing-in-ruby-looking-for-explana... -
07:25 AM Feature #5654: Introduce global lock to avoid concurrent require
- Please suggest how we can improve the slide here: https://docs.google.com/presentation/d/1pXgUPtzoy4qFBznuuTSv0lzwmyoxUbxFyMk8GtzcXgI/edit
-
12:24 AM Feature #5654: Introduce global lock to avoid concurrent require
- Endoh-san, here's "slide-show" of this proposal.
-
07:24 AM Feature #5481: Gemifying Ruby standard library
- Please suggest how we can improve the slide here: https://docs.google.com/presentation/d/15sc7sDcHRrl2v1z_Eju9KSQXhjH2WFsWFyV-MHTf7Z0/edit
-
12:24 AM Feature #5481: Gemifying Ruby standard library
- Endoh-san, here's "slide-show" of this proposal.
-
06:32 AM Feature #6678 (Rejected): Precedence of ^ operator
- I wrote about this here: http://trans.github.com/2009/12/13/a-failure-of-precedence.html (or https://github.com/trans/trans.github.com/wiki/2009-12-13-a-failure-of-precedence if you prefer)
In short I would like to see `^` operator mo... -
06:08 AM Feature #6671: File.split_all and File.split_root
- Its also not so simple b/c of variation in file systems, e.g. `a\b\c`.
-
06:05 AM Feature #6594: Integrated Functor
- Here is a PDF for said proposal.
-
05:27 AM Feature #6594: Integrated Functor
- @prijutme4ty I think you last paragraph actually makes it quite clear why I make this proposal.
You say that "only libraries should use methods like `#send` and other metaprogramming techniques". But you see meta-programming is the *o... -
05:47 AM Feature #4985: Add %S[] support for making a list of symbols
- I don't understand why your pdfs have a second weird slide :)
-
04:27 AM Feature #4985: Add %S[] support for making a list of symbols
- adding a slide
- 05:46 AM Revision 069fe9c6 (git): * 2012-07-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 AM Revision e5463024 (git): * KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 AM Revision 86c382a2 (git): * KNOWNBUGS.rb: Bug #2330 was fixed in r26718.
- [ruby-dev:40234] [ruby-core:27959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:26 AM Feature #6636: Enumerable#size
- Attaching one-minute slide
-
04:57 AM Feature #4151: Enumerable#categorize
- marcandre (Marc-Andre Lafortune) wrote:
> Attaching one-minute slide-show
Attaching mine.
I hope both can be shown if it makes sense, after all there are many features about this. -
04:48 AM Feature #4151: Enumerable#categorize
- Attaching one-minute slide-show
-
04:01 AM Feature #4151: Enumerable#categorize
- Eregon (Benoit Daloze) wrote:
> Reading this again (and what I could understand from the ruby-dev part), I think this is a very important feature, and I also believe one that has much been asked.
> ...
I agree about the importance and ... -
01:04 AM Feature #4151: Enumerable#categorize
- Reading this again (and what I could understand from the ruby-dev part), I think this is a very important feature, and I also believe one that has much been asked.
I think the need for the Hash part of Array#map is the clearer. I was ... -
04:53 AM
Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- On Sun, Jul 01, 2012 at 02:47:58AM +0900, drbrain (Eric Hodel) wrote:
>
> Issue #5138 has been updated by drbrain (Eric Hodel).
>
>
> The goal is to avoid the creation hundreds (if not thousands) of Errno::EWOULDBLOCK, IO::WaitR... -
04:51 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Great! I'm just not sure if the second slide was meant to be present in the generated PDF :P
-
04:34 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- New slide.
-
02:47 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- The goal is to avoid the creation hundreds (if not thousands) of Errno::EWOULDBLOCK, IO::WaitReadable and IO::WaitWritable exceptions (including their backtraces) that are immediately rescued in the course of a typical non-blocking socke...
-
01:29 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Aaron, with due respect, I'm not sure if the examples in your slide are good enough for promoting it. The logic looks like the same in both current and proposed version. Maybe some use cases where the current approach would require too m...
-
12:55 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- I've attached a slide for this.
-
03:00 AM Feature #5690: Module#qualified_const_get
- I agree with marcandre. Why bother with an additional (and long named) method, when current method can suffice?
-
01:41 AM Feature #5690: Module#qualified_const_get
- Cool slide :-)
+1 from me, but modifying existing `const_get`. No incompatibility as "Foo::Bar" are currently invalid constant names. And `const_set` should be modified as well (raises a Name if the path up to the last constant name d... -
01:29 AM Feature #5690: Module#qualified_const_get
- updating the pdf
-
01:25 AM Feature #5690: Module#qualified_const_get
- Adding a slide for this feature.
-
01:29 AM Feature #5666 (Closed): Make rb_path2class public
- This is a dup of #5690, so I'm closing it.
-
01:28 AM Bug #5670: Emacs ruby-mode syntax highlighting issue
- Releated Emacs bug: http://lists.gnu.org/archive/html/bug-gnu-emacs/2010-05/msg00726.html
Any update here?
06/30/2012
-
11:33 PM Bug #6608: File.join behavior
- Could I get some feedback on this?
Or should I go ahead and propose what I think is the right behavior as a feature? -
11:26 PM Bug #6677 (Closed): Bignum#== and Float#== should be symmetric
- Reading #3429 again, I noticed a related bug (and by the way, thank you nobu for solving that bug!):
I wrote:
"Also, while doing some tests about this I noticed that "bignum == Float::INFINITY" [...], while it should not, as it is al... -
11:24 PM Bug #6650: Fixing win32ole test errors
- Masaki,
Can you confirm tests pass after applying Hiroshi's patch?
Thank you. -
10:41 AM Bug #6650: Fixing win32ole test errors
- > You're encoding the string first as UTF-16LE and then force encoding as UTF-16 when sending it to FSO.
> ...
I did force_encoding("UTF-16") because FSO doesn't allow UTF-16LE encoding and an error occurs. Bosko's patch also uses UTF-1... -
08:38 AM Bug #6650: Fixing win32ole test errors
- h.shirosaki (Hiroshi Shirosaki) wrote:
> I had same failure on Win7 with chcp 932(default), 1252 and 65001. I guess it depends on Windows system default encoding.
> ...
Hiroshi, I don't fully follow the rationale in the patch.
You'r... -
06:42 PM Bug #6634: Deadlock with join and ConditionVariable
- The library is just ~250 lines.
The issue is that it's thinking it's deadlocking when actually another thread is going to shutdown the threadpool (hence broadcasting on the cond and not being a deadlock). -
05:43 AM Bug #6634: Deadlock with join and ConditionVariable
- Unfortunately, we don't have an esp capability. "The library works both in Rubinius and JRuby, so I guess it's a bug." don't gave me any hint. sorry.
-
02:03 AM Bug #6634: Deadlock with join and ConditionVariable
- Then I can't come up with a reduced testcase, I know that it triggers a fatal deadlock in my gem when it's actually not a deadlock.
It works both in JRuby and Rubinius. -
03:13 PM Bug #6675 (Rejected): Raise exception when convert encoding of a character from GBK to UTF
- #!/usr/bin/env ruby -w
# encoding: utf-8
require 'test/unit'
class Tests < Test::Unit::TestCase
def test_gbk
assert_raise Encoding::UndefinedConversionError do
"\ue863".encode('gbk').encode('utf-8')
end
end
... -
02:25 PM Feature #2565: adding hooks for better tracing
- Uploads a presentation slide for the feature triage meeting on 2012-07-21.
- 09:36 AM Revision 70601757 (git): * 2012-06-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 AM Revision af2e9982 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:10 AM Feature #6672: Calling #() without dot before braces
- nobu (Nobuyoshi Nakada) wrote:
> FYI, this is a feature which had been implemented once and reverted in the past.
> ...
Sadly. It looks that code basing on such a spec isn't written in a good manner =\ -
08:04 AM Feature #6672: Calling #() without dot before braces
- FYI, this is a feature which had been implemented once and reverted in the past.
> I don't know if it's a spec, I suppose that one mustn't use both variable and method at the same place. So even it's a spec it can be revised in future... -
07:13 AM Feature #6672 (Rejected): Calling #() without dot before braces
- =begin
It looks odd to call Proc/Method `(({pr}))` using `(({pr.(*args)}))` or `(({pr[*args]}))` syntax. Why not to use (({pr(*args)})) syntax? In such a case methods(procs) would become nearer to first-class object and calls are more s... -
08:23 AM Bug #6674 (Closed): 1.9 parser regression: not ()
- 4482 % ruby18 -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
4483 % ruby19 -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
4484 % ruby18 -cwe '! (a); not (a); ! (); not ()'
Syntax OK
4485 % rub... -
08:15 AM Bug #6673 (Closed): No longer able to run tests in parallel (-j2)
- =begin
Hello,
Since a few revisions back, I'm no longer able to run tests in parallel, getting output like the following:
# Running tests:
[666/690] 116=test_utils 4824=test_err_in_callbackC:/Users/Worker/Code/ruby/ruby/lib/... -
06:22 AM Feature #6594: Integrated Functor
- trans (Thomas Sawyer) wrote:
> @prijutme4ty Your link appears to be broken, but I am glad to see your interest on HOM. I would need to know more about your callable symbols idea to know if it is HOM like Functor. My impression from your... -
05:56 AM Bug #6667: Package config does not include a reference to the /usr/include/x86_64-linux
- The problem turns out to have been in our Cmake build environment and not in the way it interacted with Ruby.
-
05:41 AM Bug #6667 (Rejected): Package config does not include a reference to the /usr/include/x86_64-linux
- A header location is decided by distros, not ruby project. Include path is decided from CMake, not ruby project. I don't think we can help you.
-
05:52 AM Feature #6671: File.split_all and File.split_root
- marcandre (Marc-Andre Lafortune) wrote:
> How about:
> ...
I guess that might be problematic for absolute paths:
> "/a/b/c".split '/'
=> ["", "a", "b", "c"]
> "/a/b/c".partition '/'
=> ["", "/", "a/b/c"]
Is the... -
04:50 AM Feature #6671: File.split_all and File.split_root
- How about:
'a/b/c'.split('/') # => ['a','b','c']
And
root, _, path = 'a/b/c'.partition('/')
root #=> 'a'
path #=> 'b/c' -
04:29 AM Feature #6671: File.split_all and File.split_root
- Typo in that last example, it should be `split_root` obviously.
-
04:28 AM Feature #6671 (Assigned): File.split_all and File.split_root
- =begin
Is there a method for this already?
File.split_all('a/b/c') #=> ['a','b','c']
If not I propose it be added. I've had need of such more than a few times.
It's too bad that File.split can't do this, as it would make mor... -
02:54 AM Feature #6670: str.chars.last should be possible
- Adding presentation slide for the feature request meeting ([ruby-dev:45708])
-
02:52 AM Feature #6670 (Closed): str.chars.last should be possible
- =begin
Since str.chars returns an Enumerator, we need explicit to_a for some operations:
str.chars.to_a.last
str.chars.to_a[1,3]
But often I forget that and write:
str.chars.last
str.chars[1,3]
Besides that, I feel... -
02:34 AM Feature #6669: A method like Hash#map but returns hash
- Hi, I just want to mention that Facets has this using name #mash (map hash) with alias #graph, which was the original name. So those are two names to consider. Thanks.
-
02:27 AM Feature #6669: A method like Hash#map but returns hash
- Adding presentation slide for the feature request meeting ([ruby-dev:45708])
-
02:23 AM Feature #6669 (Closed): A method like Hash#map but returns hash
- Given a hash `h`, `h.map` returns an array(alist), but sometimes I hope it returned a hash.
Example:
~~~ruby
class Hash
def apply(&block)
self.inject({}) do |h, (k, v)|
new_k, new_v = *block.call(k, v)
h[new_... -
02:13 AM Feature #3346: __DIR__ revisted
- Adding presentation slide for the feature request meeting ([ruby-dev:45708])
-
02:11 AM Feature #6668 (Rejected): Multiple assignment should not return an Array object
- Currently, when doing multiple assignment, the entire expression must return the right-hand side as an array.
system ~ $ ruby -e "ret = (a, b, c = 1, 2, 3); p ret"
[1, 2, 3]
This is an artifact of MRI's implementation, since multi... -
12:13 AM Feature #6361: Bitwise string operations
- Second feature request. I picked this issue for this feature request because it contains the most recent discussion on this topic. Please let me know if a new, more specific, feature request would be more appropriate.
06/29/2012
-
10:55 PM Bug #6667 (Rejected): Package config does not include a reference to the /usr/include/x86_64-linux
- (this bug description is taken from the Fedora ticket about this issue: https://bugzilla.redhat.com/show_bug.cgi?id=830234)
Description of problem:
There needs to be a reference in the package config file to the architecture-specif... -
09:39 PM Bug #6650: Fixing win32ole test errors
- I had same failure on Win7 with chcp 932(default), 1252 and 65001. I guess it depends on Windows system default encoding.
If I change the string from UTF-8 to UTF-16LE, the test works fine for me.
UTF-16LE or ASCII String might be bett... -
06:54 AM Bug #6650 (Feedback): Fixing win32ole test errors
- suke,
Can you tell us a bit more about WIN32OLE.locale and WIN32OLE.codepage prior running the tests? what is the default locale (chcp)?
These test work under WIN32OLE.codepage 1252 and 65001, so I'm wondering why they are not in your ... -
06:38 AM Bug #6650: Fixing win32ole test errors
- I received the following error.
test_s_codepage_changed(TestWin32OLE) [C:/cygwin/home/svn/ruby/test/win32ole/test_win32ole.rb:363]:
<"\xE3\x81\x82"> expected but was
<"\xE3\x81\x81E">.
Finished tests in 53.506664s, 4.1303 tests/s... -
08:30 PM Bug #6644: Weird behavior of defined?(super) check invoked from a metaprogrammatically defined class method
- Hello? Is anyone here? :)
-
05:53 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- Hi,
(2012/06/26 16:18), funny_falcon (Yura Sokolov) wrote:
> It seems that there is no need for mutex in a native queue implementation (considering we have GVL),
> and so that queue_synchronized wrapper:
> rb_mutex_sleep coul... -
03:53 PM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- (2012/06/27 21:54), trans (Thomas Sawyer) wrote:
> This should help. I added some YARD docs. See http://rubydoc.info/github/rubyworks/tracepoint/master/frames
Thanks. I understand the API of TracePoint.
How about to close t... -
02:47 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- mrkn (Kenta Murata) wrote:
> I'm sorry I don't understand JRuby.
You don't have to understand JRuby. You just need to allow the JRuby team to upload the Java version of BigDecimal. So if they do "gem install bigdecimal" using JRuby, ... -
01:12 PM Revision 22113b1b (git): Use Syck module after it is defined.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:31 PM Revision e48d99f0 (git): merge revision(s) 36251:
- * eval.c (stack_extend): prevent ALLOCA_N, which reserves a memory
space with for restoring machine stack stored in each threads, from
optimization out. backport r34278 from the trunk.
git-svn-id: svn+ssh://ci.ruby... - 12:19 PM Revision 9de0a76a (git): * 2012-06-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@36252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 PM Revision bdaaae41 (git): stack_extend
- * eval.c (stack_extend): prevent ALLOCA_N, which reserves a memory
space with for restoring machine stack stored in each threads, from
optimization out. backport r34278 from the trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br... -
05:57 AM Bug #6666 (Closed): Documentation Improve - rdoc does not know where rb_obj_methods is (#methods)
- Hi.
It seems there is no simple online documentation available what
#methods is doing in Ruby:
<davidcelis> can't find #methods anywhere in the docs
<tds> really strange
<tds> the docs are normally quite thorough
Upon looking... -
05:46 AM Bug #6665 (Closed): Import RubyGems 1.8.24 into trunk
- Hello,
Current trunk has RubyGems 1.8.23, which out of the box can't install gems from HTTPS sources due missing .pem file (varies from OS to OS, talking this case about Windows)
Can you import 1.8.24 in trunk to solve this issue?
... -
05:11 AM Bug #6604 (Closed): trunkでtest-all が完走しない (-j 使用時のみ)
- This issue was solved with changeset r36247.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit/parallel.rb: workaround fix for rubygems.
R... -
02:26 AM Revision 13bc74fa (git): rb_builtin_type_name
- * error.c (rb_builtin_type_name): extract from rb_check_type() for
debug purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/28/2012
-
10:01 PM Bug #6664 (Rejected): Object finalizer do not run until program exit
- =begin
No.
(1) an object may not be collected even if it seems not referred from reading the code.
(2) finalizers may not run just after the object is collected.
=end
-
05:24 PM Bug #6664 (Rejected): Object finalizer do not run until program exit
- Test script: https://gist.github.com/3009867
Conclusions:
- Ruby 1.8.7 (REE) is able to run finalizer on GC when its proc is created outside of scope and so that does not handle object in its binding.
- even Ruby 1.8.7 not able to r... -
09:33 PM Bug #6650 (Closed): Fixing win32ole test errors
- This issue was solved with changeset r36246.
Boško, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/win32ole/test_win32ole.rb (test_s_codepage_changed):
Fi... - 08:11 PM Revision 468c703d (git): * 2012-06-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 PM Revision d42df491 (git): * lib/test/unit/parallel.rb: workaround fix for rubygems.
- RubyGems can't find rake if the source directory is not equal to
the directory which is running the test. [Bug #6604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- It seems that ObjectSpace.define_finalizer is complitely broken with Ruby 1.9.3
And even in Ruby 1.8.7 finalizer proc ought to be created in other scope to not hold reference to object in its binding.
See #6664 and https://gist.github.... -
05:05 PM Feature #6253: Implement a way to pass keyword options to curried procs
- First feature request. Please let me know if PDF is not acceptable.
-
12:58 PM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- Thank you. I'm convinced this is good feature. :)
So, +1 from me. -
12:45 PM Bug #6634 (Feedback): Deadlock with join and ConditionVariable
- >thread = Thread.new {
> ...
This is true deadlock. The above thread.join has no chance to exit successfully.
Can you please elaborate your point?
-
12:33 PM Revision 030111ac (git): * test/win32ole/test_win32ole.rb (test_s_codepage_changed):
- FileSystemObject only supports ANSI or UTF-16LE encoding.
Patch by bosko (Bosko Ivanisevic) [ruby-trunk - Bug #6650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:29 PM Feature #6643: io.seek(off, :end)
- > > から連想すると共通の prefix を省略したシンボルになりそうなので、
> > 大文字の :END や :CUR などになるのかと思ったのですが、
> > 小文字にしたのはなぜでしょうか?
>
> あぁ、たしかに。大文字がいいかなぁ。
どちらかだけにしたい理由理由が特にないのなら、大文字も小文字も
両方受け付けるようにすれば良いのではないでしょうか。 -
09:53 AM Feature #6643: io.seek(off, :end)
- こんにちは、なかむら(う)です。
In message "[ruby-dev:45864] Re: [ruby-trunk - Feature #6643][Open] io.seek(off, :end)"
on Jun.28,2012 03:51:25, <[email protected]> wrote:
> Socketの場合は、英単語からは想像しづらい動作をするケースがままあるので
> C由来だから、字面を信じず... -
03:53 AM Feature #6643: io.seek(off, :end)
- > ソケットライブラリの改善
> http://rubykaigi.org/2009/ja/talks/19M02
>
> から連想すると共通の prefix を省略したシンボルになりそうなので、
> 大文字の :END や :CUR などになるのかと思ったのですが、
> 小文字にしたのはなぜでしょうか?
Socketの場合は、英単語からは想像しづらい動作をするケースがままあるので
C由来だから、字面を信じずにマニュアルちゃんと読みや... -
10:38 AM Revision f559d616 (git): update doc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:08 AM Bug #6662 (Closed): prepend した Class/Module が継承ツリー上にある Class/Module で ancestors に Class が入り込む
- prepend した Class/Module で Module#ancestors の順番や Class が入り込む問題は r36241 で対処されましたが
まだ ancestors を呼ぶ Class/Module そのものではなくてその superclass や include している Module で
prepend を使っていると順番が include と同じになる & Class が入り込むようです。
module M; end
class... -
09:42 AM Feature #6546: Net::HTTP to check for HTTP_PROXY environment setting.
- =begin
Here is an updated patch that uses the battle-tested code from open-uri. This patch reads the proxy from ((|ENV|)) by default like open-uri. It is safe in a CGI environment just like open-uri.
Details:
URI::Generic#find_p... -
09:39 AM Bug #6660 (Closed): prepend したクラスの instance_methods(false)が空になる
- This issue was solved with changeset r36243.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* class.c (class_instance_method_list): consider prepended Cl... -
09:36 AM Bug #6660: prepend したクラスの instance_methods(false)が空になる
- なかださん、ありがとうございます。コミットします。
しかし今度は prepend したクラスのオブジェクトに特異クラスを作ってから Object#methods(false) した時にどうなるかというのが気になってきました。
prepend した時に作られる IClass に何かフラグが付けられるといいような気がしてきました。 -
06:16 AM Bug #6660 (Assigned): prepend したクラスの instance_methods(false)が空になる
- よいと思います。
お願いします。 -
03:42 AM Bug #6660 (Closed): prepend したクラスの instance_methods(false)が空になる
- Module#prepend を実行したクラスの instance_methods(false)を実行すると結果が常に空になってしまうようです。
パッチを添付します。 -
08:58 AM Revision 1d15cf4b (git): merge revision(s) 32549,32557: [Backport #6661]
- * 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_i... -
06:12 AM Bug #6658 (Closed): Module#ancestors & prepend
- This issue was solved with changeset r36241.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
prepend: fix ancestors order
* class.c (rb_mod_ancestors):... -
03:16 AM Bug #6658 (Closed): Module#ancestors & prepend
- Wouldn't it be best if `Module#ancestors` returned the modules & classes in the order they will be looked at?
Currently:
module M; end
class C; prepend M; end
C.ancestors # => [C, M, Class, Object, Kernel, BasicObject... -
03:35 AM Bug #6659 (Rejected): prepend した Class/Module の ancestors に Class が混入する
- #6658 と重複してしまったのでこちらは閉じます。
-
03:32 AM Bug #6659 (Rejected): prepend した Class/Module の ancestors に Class が混入する
- Module#prepend を利用した Class/Module に対して ancestors を呼ぶと Class が入りこみます。
ancestors に入るだけで Object#is_a? の判定やメソッド呼び出しができるようになったりはしていないようです。
module M1
end
module M2
prepend M1
end
M2.ancestors # => [M2, M1, Class]
class... -
12:39 AM Revision 912df4b6 (git): * class.c (class_instance_method_list): consider prepended Class/Module
- when recur != 0. [ruby-dev:45863] [Bug #6660]
* test/ruby/test_module.rb (test_prepend_instance_methods_false): add
a test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/27/2012
-
11:27 PM Bug #6657 (Closed): IRB.fail
- NotImplementError が残っていたので NotImplementedError に変更していて気づいたのですが、
以下のように IRB.fail が NoMethodError になるようです。
% ruby -v -r irb/output-method -e 'IRB::OutputMethod.new.print'
ruby 2.0.0dev (2012-06-27 trunk 36240) [x86_64-linux]
.../lib/... -
09:54 PM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- This should help. I added some YARD docs. See http://rubydoc.info/github/rubyworks/tracepoint/master/frames
-
10:29 AM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- (2012/06/26 23:32), trans (Thomas Sawyer) wrote:
> I assume referring to [ruby-core:5528] (https://bugs.ruby-lang.org/issues/5528)
Sound interesting.
Can I see the reference of TracePoint? I found README.rdoc and
lib/trac... -
09:31 PM Bug #6654 (Closed): Module#prepend does not honor included modules
- This issue was solved with changeset r36237.
Konstantin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ancestor modules
* class.c (rb_prepend_module): ancestors ... -
08:25 PM Bug #6654 (Closed): Module#prepend does not honor included modules
- =begin
I really love that Module#prepend landed in core. I just had a play with it. I'm not sure if the following behavior is intentional:
module A
def a; end
end
module B
include A
def b; end
... -
09:21 PM Feature #5394: Anonymous Symbols, Anonymous Methods
- I just thought myself about anonymous methods and wanted to post it here with "Joke" status. I thought about a possibility to change at runtime the method name, or switch two method bodies, and not to require that every method have a na...
- 09:12 PM Revision a4932b54 (git): * 2012-06-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:12 PM Revision 3f322590 (git): prepend: fix ancestors order
- * class.c (rb_mod_ancestors): fix ancestors order.
[ruby-core:45919][Bug #6658] [ruby-dev:45861][Bug #6659]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:01 PM Bug #6655 (Closed): Calling instance_methods after prepend causes VM crash
- This issue was solved with changeset r36236.
Konstantin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
fix null m_tbl
* class.c (class_instance_method_list): m_t... -
08:50 PM Bug #6655 (Closed): Calling instance_methods after prepend causes VM crash
- =begin
This code:
class Example
prepend Module.new
instance_methods
end
Causes the following crash on trunk:
example.rb:3: [BUG] Segmentation fault
ruby 2.0.0dev (2012-06-27 trunk 36234) [x86_6... -
08:24 PM Feature #6647: Exceptions raised in threads should be logged
- normalperson (Eric Wong) wrote:
> Alex Young <[email protected]> wrote:
> ...
You are probably correct. Reconsidering the issue, the benefit of raising
is probably not enough to offset that, thus leaving the $stderr/warn as the
be... -
11:23 AM Feature #6647: Exceptions raised in threads should be logged
- Alex Young <[email protected]> wrote:
> On 25/06/12 23:44, rue (Eero Saynatkari) wrote:
> >Issue #6647 has been updated by rue (Eero Saynatkari).
> >
> >$stderr/warn, but this would improve the current situation significantly... -
06:32 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- cjheath (Clifford Heath) wrote:
> On 27/06/2012, at 4:35 PM, nobu (Nobuyoshi Nakada) wrote:
> ...
When a proc that touches an object is attatched to that object's finalizer, that finalizer can "escape" that object.
ObjectSpace.def... -
05:23 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- On 27/06/2012, at 4:35 PM, nobu (Nobuyoshi Nakada) wrote:
> headius (Charles Nutter) wrote:
>> Finalizers in JRuby are stored on a reference from the object itself, so they don't actually prevent the object from collecting.
>
> You... -
03:35 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- headius (Charles Nutter) wrote:
> Finalizers in JRuby are stored on a reference from the object itself, so they don't actually prevent the object from collecting.
You're missing the point.
-
02:03 PM Bug #6614: GC doesn't collect objects bound to (collectable) proc
- Finalizers in JRuby are stored on a reference from the object itself, so they don't actually prevent the object from collecting.
I'd vote for MRI to do the same, but I don't think I'll win that fight :) -
02:23 AM
Bug #6614: GC doesn't collect objects bound to (collectable) proc
- > Your code uses `print' but not `printf', so the arguments cannot be optimized out, even if necessary assumptions are all met.
> A possibility would be JRuby calls finalizers *BEFORE* the destruction.
> What's printed in JRuby?
... -
05:25 PM Bug #6547: DateTime.new does not call #initialize
- I disagree, I believe this is a bug since it results in extremely surprising behaviour, and no other stdlib classes do this (even String.new calls initialize).
I've fixed this myself by adding calls to rb_obj_call_init in date_core.c, a... -
04:48 PM Feature #1102 (Closed): Prepend Module
- This issue was solved with changeset r36234.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Module#prepend
* class.c (rb_prepend_module): prepend module i... -
04:43 PM Feature #6638: Array as queue
- Another couple of commits to https://github.com/ruby/ruby/pull/133 :
- fixed error in rb_ary_cat_to_shared which leads to memory corruption
- avoid pathological performance cases (when array length is close to capacity)
by increasi... -
02:18 PM Revision c6869862 (git): NotImplementError is not exist.
- * lib/racc/parser.rb: NotImplementError is not exist.
* lib/irb/output-method.rb (IRB::OutputMethod#print): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision 3e96f56f (git): remove from original m_tbl
- * vm_method.c (remove_method): remove the method from the original
m_tbl on a prepended module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision d4269d7b (git): fix null m_tbl
- * class.c (rb_obj_singleton_methods): m_tbl in prepended class/module
is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 PM Revision cf3a8f09 (git): ancestor modules
- * class.c (rb_prepend_module): ancestors of prepending module also
should be included. [ruby-core:45914][Bug #6654]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 PM Revision 48c04ad0 (git): fix null m_tbl
- * class.c (class_instance_method_list): m_tbl in prepended
class/module is NULL. [ruby-core:45915][Bug #6655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:36 AM Revision 28cb8f5d (git): fix null m_tbl
- * ext/objspace/objspace.c (memsize_of): m_tbl in prepended
class/module is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 AM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- "erikh (Erik Hollensbe)" <[email protected]> wrote:
> Issue #6653 has been reported by erikh (Erik Hollensbe).
>
> ----------------------------------------
> Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connection... -
08:19 AM Bug #6653 (Closed): 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- the script: https://gist.github.com/4f36f8543ad702861096
the trace + output of the run: https://gist.github.com/cf7dd137ad65802c46ae
ruby -v is 1.9.2-p290, but we're seeing this in 1.9.3-p194 as well.
This does *not* exhibit on OS... -
10:05 AM Feature #6651 (Closed): Re: [ruby-cvs:43389] nobu:r36213 (trunk): popen: shell commands with envvar
- r36230
-
09:23 AM Feature #6643: io.seek(off, :end)
- 2012年6月26日 22:56 Kazuhiro NISHIYAMA <[email protected]>:
> から連想すると共通の prefix を省略したシンボルになりそうなので、
> 大文字の :END や :CUR などになるのかと思ったのですが、
> 小文字にしたのはなぜでしょうか?
あぁ、たしかに。大文字がいいかなぁ。
--
[田中 哲][たなか あきら][Tanaka Akira] -
09:13 AM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- I feel that a shim for JRuby would do the job for now. Whether or not JRuby can RubyBigDecimal.java into a gem is a separate issue; I feel that this might be a case where behavioral difference between MRI and JRuby is tolerated.
-
12:59 AM Feature #6590 (Open): Dealing with bigdecimal, etc gems in JRuby
- If JRuby has problems because of the new bundled gems, should we not try to find a solution?
Maybe Nahi can help? -
08:06 AM Bug #5776: irb のトップレベルで定義したメソッドが public になる
- I ran into this bug recently and I did a bit of investigating. This is due to a change introduced by #3406 (r29578) that made inner method definitions public regardless of the visibility of the method they were defined in.
I've attach... -
07:48 AM Revision 8ddbbb33 (git): Module#prepend
- * class.c (rb_prepend_module): prepend module into another module.
* eval.c (rb_mod_prepend): new method Module#prepend. [Feature #1102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Revision 8634544f (git): name of klass
- * vm_method.c (rb_method_entry_make): use name of klass explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
Re-running this last benchmark with only 10,000 files across 50 runs, using ministat from FreeBSD to calculate the decrease in time, the real run time is reduced 2.6% +/- 1.9% at 99% confidence:
$ ministat -c 99 -s without w... -
06:57 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
Since the last benchmark is so close, this benchmark uses the same deflate file set, but adds GVL contention by deflating the set across four threads. Since no buffer expansion occurs this will benchmark cost of GVL release vs rb... -
06:47 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
This benchmarks inflates 100,000 1000byte deflate strings. 1000 bytes is smaller than the default Zlib buffer size, so use of realloc vs REALLOC_N should not matter.
Code:
require 'zlib'
require 'benchmark'
r = Random... -
06:23 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
This benchmark inflates ~43,000 100KB deflate strings (~1GB total input) using the same ruby version as above.
Code:
require 'zlib'
require 'benchmark'
r = Random.new 0
file_count = 2**30 / 100_000 # 100KB chunks i... -
06:02 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- =begin
Here is a second benchmark using a gzipped file of 1GB from /dev/random, but only for a single thread using
ruby 2.0.0dev (2012-06-26 trunk 36225) [x86_64-darwin11.4.0]
Code:
require 'zlib'
require 'benchmark'
... -
03:23 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- Here is a demonstration video:
http://www.youtube.com/watch?v=uvidgwKyPh4
To skip past the code, use:
http://www.youtube.com/watch?v=uvidgwKyPh4#t=41 -
05:37 AM Revision f4d2374b (git): adjust style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:46 AM Bug #6650 (Assigned): Fixing win32ole test errors
-
04:10 AM Revision 07d9c294 (git): NOEX_NOREDEF
- * vm_method.c (rb_method_entry_make): use NOEX_NOREDEF itself for the
condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:10 AM Feature #5531: deep_value for dealing with nested hashes
- I'd really like to see this in the next version of Ruby, it's a really common pattern.
-
02:22 AM Bug #6652 (Closed): broken Marshal compatibilities on Date and DateTime
- =begin
(({Date})) and (({DateTime})) dumped by 1.8 or earlier cannot be loaded by trunk.
$ /usr/bin/ruby -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
$ ruby -v
ruby 2.0.0dev (2012-06-26 trunk 36225) [... - 12:15 AM Revision f70724c3 (git): * 2012-06-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:15 AM Revision 2240eb37 (git): popen: shell commands with envvars and execopts
- * io.c (is_popen_fork): check if fork and raise NotImplementedError if
unavailable.
* io.c (rb_io_s_popen): allow environment variables hash and exec
options as flat parameters, not in an array arguments.
[Feature#6651] [EXPERIMENT...
06/26/2012
-
11:32 PM Feature #6649: Add new set_trace_func events "b-call", "b-return"
- > Making an alternative API which can replace set_trace_func() (correctly speaking, set_trace_func() can be implemented with this new API) is another proposal.
I assume referring to [ruby-core:5528] (https://bugs.ruby-lang.org/issues/... -
04:09 PM Feature #6649 (Rejected): Add new set_trace_func events "b-call", "b-return"
- =begin
= Abstract
Add new events "b-call", "b-return" for set_trace_func().
When block is invoked, then "b-call" is called.
When block is finished, then "b-return" is called.
= Background
set_trace_func() has several events:
... -
11:32 PM Revision f52f0339 (git): merge revision(s) 34633: [Backport #5124]
- * insns.def (splatarray): make new array if flag is set.
* compile.c (iseq_compile_each): make new array with
splat. [ruby-core:21901][Feature #1125]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36... -
11:25 PM Feature #6651 (Closed): Re: [ruby-cvs:43389] nobu:r36213 (trunk): popen: shell commands with envvar
- =begin
なかだです。
: At Mon, 25 Jun 2012 17:13:56 +0900,
: Tanaka Akira wrote in [ruby-dev:45812]:
とりあえず、現在はドキュメントと整合していない状態になっています。
すいません、自分で入れた仕様を忘れてました。
何がしたいかというと環境変数を指定してpopenをしたい、ただしコマ
ンドはArrayにはわかれていない単一の文字列、といったところです。
... -
10:59 PM Feature #6643: io.seek(off, :end)
- 西山和広です。
At Tue, 26 Jun 2012 05:10:47 +0900,
Tanaka Akira wrote:
>
> >> IO::SEEK_CUR と等価な指定として :cur,
> >
> > :current がよいと思います。
>
> :current にしても
> IO::SEEK_CUR よりも短いからそれでもいいかなぁ。
>
> あるいは、:cur と :current の両方受け... -
10:23 PM Feature #6643: io.seek(off, :end)
- 須藤です。
In <CANjopZHFG3ZQ+VA_dJPCAxn8UnQ6FqqfyfOyxLy536tkwqaWbA@mail.gmail.com>
"[ruby-dev:45843] Re: [ruby-trunk - Feature #6643][Open] io.seek(off, :end)" on Tue, 26 Jun 2012 05:10:47 +0900,
Tanaka Akira <[email protected]> wrot... -
05:24 AM Feature #6643: io.seek(off, :end)
- 2012年6月25日 23:37 SATOH Fumiyasu <[email protected]>:
>> IO::SEEK_CUR と等価な指定として :cur,
>
> :current がよいと思います。
:current にしても
IO::SEEK_CUR よりも短いからそれでもいいかなぁ。
あるいは、:cur と :current の両方受け付けるとするか。
--
[田中 哲][たなか あきら][Ta... -
04:53 AM Feature #6643: io.seek(off, :end)
- 2012年6月25日 23:31 SASADA Koichi <[email protected]>:
> これ,例えば IO::SEEK_END も値が :end になるんでしょうか(なっちゃいけ
> ない理由はあるんかな).
してもいいんですが、今はしていません。
値に興味を持つ奇特な人がいるかもしれないと頭をよぎっただけですが。
--
[田中 哲][たなか あきら][Tanaka Akira] -
10:43 PM Bug #6650 (Closed): Fixing win32ole test errors
- Since FileSystemObject is limited only to ANSI and UTF-16LE encoding tests shouldn't try to use other encodings since they will certainly fail. Instead UTF-16 encoding should be used to check whether writing/reading to/from FSO is proper...
-
10:07 PM Feature #6590 (Third Party's Issue): Dealing with bigdecimal, etc gems in JRuby
-
10:06 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- I'm sorry I don't understand JRuby.
-
07:38 PM Feature #6638: Array as queue
- I've add a couple commits to https://github.com/ruby/ruby/pull/133 and now Array becomes fully useful as a deque:
- `#shift` behaves old way: used shared array for circular buffer
- `#push` now knows if array is shared, and when `ARY_SH... -
06:00 PM Feature #6638: Array as queue
- This patch actually fixes non-linear Queue behaviour considered in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/391324
-
07:23 PM Revision eeb409a2 (git): merge revision(s) 35913: [Backport #6640]
- * win32/win32.c (rb_w32_sysinit): let the system not display the
critical-error-handler message box and the Windows Error Reporting
dialog. [ruby-core:45389] [Bug #6535]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
07:21 PM Revision 49dbacf7 (git): merge revision(s) 35081: [Backport #6605]
- * bignum.c (rb_big_pow): estimate result bit size more precisely.
[ruby-core:30735][Feature #3429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Bug #6645 (Feedback): Segmentation fault in net/http.rb
- The C level stack trace says someone gives Ruby a broken array.
Anyone can make a small reproducible code? -
06:35 AM Bug #6645: Segmentation fault in net/http.rb
- You have many C extensions loaded, one of these may be causing the crash. Can you reproduce this crash without loading so many extensions? I see pg, hpricot, bson_ext, ruby-prof, nokogiri, bcrypt-ruby, gherkin, eventmachine.
Can you... -
06:23 PM Feature #6647: Exceptions raised in threads should be logged
- On 25/06/12 23:44, rue (Eero Saynatkari) wrote:
>
> Issue #6647 has been updated by rue (Eero Saynatkari).
>
>
> headius (Charles Nutter) wrote:
>> Many applications and users I have dealt with have run into bugs due to Ruby... -
07:44 AM Feature #6647: Exceptions raised in threads should be logged
- headius (Charles Nutter) wrote:
> Many applications and users I have dealt with have run into bugs due to Ruby's behavior of quietly swallowing exceptions raised in threads. I believe this is a bug, and threads should always at least lo... -
07:24 AM Feature #6647: Exceptions raised in threads should be logged
- FWIW, precedent: Java threads log their exceptions by default. I have *never* found the feature to be a bother, and it makes it nearly impossible to ignore fatally-flawed thread logic that spins up and fails lots of threads.
-
07:21 AM Feature #6647 (Closed): Exceptions raised in threads should be logged
- Many applications and users I have dealt with have run into bugs due to Ruby's behavior of quietly swallowing exceptions raised in threads. I believe this is a bug, and threads should always at least log exceptions that bubble all the wa...
-
05:01 PM Bug #6235 (Closed): Call to malloc not checked in thread_pthread.c
- This issue was solved with changeset r36222.
Ruby, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (register_cached_thread_and_wait):
return im... -
04:18 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- It seems that there is no need for mutex in a native queue implementation (considering we have GVL),
and so that queue_synchronized wrapper:
rb_mutex_sleep could be replaces with rb_thread_sleep_forever without semantic change.
With... -
09:53 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- "ko1 (Koichi Sasada)" <[email protected]> wrote:
> Eric, can this patch work fine on current trunk?
> ... which patch should I use?
Yes, I just tested final-queue.patch with current trunk (r36217)
and it works.
The .... -
04:35 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- Sorry for absent from this request.
Eric, can this patch work fine on current trunk?
... which patch should I use?
-
02:23 PM Feature #6641: Hash.auto constructor
- > Hash.with_default(0)
> Hash.with_default{Time.now}
> Hash.with_default{|k| k.to_sym}
> {}.with_default(0)
> {}.with_default{Time.now}
> {}.with_default{|k| k.to_sym}
I like with_default than auto. It describe the behavi... -
12:19 PM Feature #6641: Hash.auto constructor
- -1.
I don't like the destructive default proc, which sets new keys automatically. -
01:35 PM Revision 1ca611f3 (git): test: scan ARGV
- * sample/test.rb: scan ARGV all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:59 AM Feature #6646 (Closed): Objectified caller
-
05:59 AM Feature #6646: Objectified caller
- Yep! And Yeah!
-
05:57 AM Feature #6646: Objectified caller
- is [ruby-core:45693] not enough?
loc = caller_locations[0]
loc#label # #in
loc#lineno # #line
loc#path # #file
-
05:22 AM Feature #6646 (Closed): Objectified caller
- In Feature #3917 it is mentioned short-coming of caller:
* caller() returns an array of "filename:linenum in `method'" string.
User must parse it and retrieve filename and linenum by rexp.
It is also very heavy weight task.
I... -
11:53 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- 2012/6/25 SASADA Koichi <[email protected]>:
> (2012/06/26 6:24), KOSAKI Motohiro wrote:
>>> こういう話もあったんですね.
>>> >
>>> > POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
>>> > あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime sign... -
06:53 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- (2012/06/26 6:24), KOSAKI Motohiro wrote:
>> こういう話もあったんですね.
>> >
>> > POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
>> > あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime signal 以外).
> C言語は遅延ですね。捨てられるのは2つ以上遅延した場合ですから
... -
06:29 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- > こういう話もあったんですね.
>
> POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
> あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime signal 以外).
C言語は遅延ですね。捨てられるのは2つ以上遅延した場合ですから
> それとも,trap 自体を禁止する感じでしょうか.
>
> この仕組みは "[ruby-... -
05:24 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- こういう話もあったんですね.
POSIX signal を考えると,同じシグナルは mask しておく(遅延する)という感じでしょうか.
あ,POSIX signal の場合は遅延じゃなくて,単に捨てるんだっけ(realtime signal 以外).
それとも,trap 自体を禁止する感じでしょうか.
この仕組みは "[ruby-dev:45827] Re: 非同期割り込みに対する対処案(日本語版)" と独立に作るべきか,混ぜちゃうべきか.... -
11:47 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- Can you please mesure performance impact? Because GVL acquire is costly operation. The performance benefit is not obvious to me.
-
08:27 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
- This patch allocates one extra byte for the '\0' sentinel like rb_str_resize()
-
11:38 AM Revision 0659c535 (git): merge revision(s) 35434:[Backport #6593]
- * lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
report... -
11:36 AM Revision 898b9c1b (git): merge revision(s) 34552: [Backport #6516]
- * ext/zlib/zlib.c (do_inflate): Inflate more data if buffered data
exists. Allows Zlib::Inflate#set_dictionary to work.
[ruby-trunk - Bug #5929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3622... -
09:54 AM Feature #6483: parametric map
- In `golf_prelude.rb`:
```ruby
class Symbol
def call(*args, &block)
proc do |recv|
recv.__send__(self, *args, &block)
end
end
end
```
It might use `public_send`, indeed.
-
08:26 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- I'm positive to the feature, but RubyVM wouldn't be right place.
It is CRuby specific and unexpected to be in other implementations. -
07:56 AM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- Oops, this should be a feature request.
-
07:56 AM Feature #6648 (Assigned): Provide a standard API for retrieving all command-line flags passed to Ruby
- Currently there are no standard mechanisms to get the flags passed to the currently running Ruby implementation. The available mechanisms are not ideal:
* Scanning globals and hoping they have not been tweaked to new settings
* Using... -
08:01 AM Revision 91aba07a (git): * thread_pthread.c (register_cached_thread_and_wait):
- return immediately if malloc() failed.
[ruby-core:43960] [ruby-trunk - Bug #6235]
* thread_pthread.c (USE_THREAD_CACHE): check already defined or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36222 b2dd03c8-39d4-4d8f-98ff-8... -
07:46 AM Revision 5605afa5 (git): test: reduce output if succeded
- * bootstraptest/runner.rb (exec_test): reduce output if succeded.
* sample/test.rb (PROGRESS.finish): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Revision ffa20cf1 (git): use rb_check_hash_type
- * class.c (rb_scan_args): use rb_check_hash_type.
* process.c (rb_exec_getargs): ditto.
* sprintf.c (get_hash): ditto.
* string.c (rb_str_sub_bang, str_gsub): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36220 b2dd03c8-39d4-... -
05:56 AM Feature #3917: [proposal] called_from() which is much faster than caller()
- #caller_locations, is this what I just (re)proposed in #6646? Sorry if so, I can't read Japanese :(
Maybe better name: #callstack ?
-
04:46 AM Feature #3917 (Feedback): [proposal] called_from() which is much faster than caller()
- I made caller_locations() (see [ruby-core:45253] [RFC] RubyVM::FrameInfo.caller method).
Maybe the last problem is naming of this method.
-
05:49 AM Bug #6460: `unexpected return' occurs when a proc is called in ensure
- こちらも遅くなって済みません.
テストを trunk に,
パッチを 1.9.3 にバックポート,
が良いのではないかと思います.
テストは btest の KNOWNBUGS.rb かなぁ. -
05:41 AM Bug #5832: 意図しないブロック渡しが行われる
- 見落としていてすみません.
良さそうに見えるので,テストが通れば,テストを追加してコミット頂けませんか.
-
05:37 AM Feature #5669 (Feedback): Random thread scheduling based on a seed
-
05:36 AM Feature #5543 (Feedback): rb_thread_blocking_region() API is poorly designed
- ping: cjameshuff
-
05:29 AM Feature #5088 (Closed): Refactor and Document vm_method.c / method.h
- I think we need to discuss about each spec, before implementation (of course, a proposal with an implementation is welcome). Please persuade matz before you try to commit your patch.
-
05:25 AM Feature #5016 (Closed): Kernel#caller with negative limit should limit result to N initial frames
- See https://bugs.ruby-lang.org/issues/3917
-
05:22 AM Feature #4326 (Closed): Fiber should respond to call() and []
- I close this ticket.
Please re-open it if anyone have any comment which we need to discuss again.
-
05:10 AM Feature #4146: Improvement of Symbol and Proc
- これ,なんで私なんだっけ.
まつもとさんが最初に気に入らない,と言っているところですが,
今見直してみるとどうでしょうか.
-
04:55 AM Feature #3251: allow to unlock mutex locked by another thread
- 1)まず元々の提案は非同期例外を救うというモチベーションから来ているので、専用構文のほうがベターであろう。よってたぶんmutexの変更は不要
2)やるなら、semaphoeをつくるほうがいいなあ -
04:31 AM Feature #3251: allow to unlock mutex locked by another thread
- これ,どういう話で止まってるんでしたっけ....
なんか,いろんな話が混ざってる気がします. -
04:51 AM Bug #4008 (Feedback): Rails 3::declarative_authorization::authorization_rules request => segvault ruby 1.9.2
- Could you try on current trunk?
-
04:49 AM Feature #3944: Add Fiber#root? method
- Sorry for long absent.
I'm not sure why `Fiber#root?` is needed.
Could you give the examples?
I think if you don't use `Fiber#root`, then `Fiber#root?` is not needed.
And I can't understand why `Fiber#root` is needed.
(I think `Fi... -
04:38 AM Feature #3731: Easier Embedding API for Ruby
- I'll write document for embedding Ruby on your application.
At first, in Japanese,
Second, translate in English.
Please revise it after I finished.
-
04:33 AM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
- Thanks Kosaki-san!
-
04:28 AM Feature #3206 (Feedback): Problems manipulating the signal mask with Ruby
- I'm so sorry for absence from this ticket.
From Ruby 1.9.3, we unmask all mask of all threads (main thread, timer thread and all other threads) to accept signals.
Generally speaking, Kernel.trap() should be used for signal manipulati... -
04:22 AM Bug #6634 (Assigned): Deadlock with join and ConditionVariable
-
01:59 AM Bug #6634: Deadlock with join and ConditionVariable
- Always happens, on Arch Linux x86_64.
> ruby reduced.rb
reduced.rb:13:in `join': deadlock detected (fatal)
from reduced.rb:13:in `<main>'
-
04:20 AM Feature #3638 (Closed): VM内データ構造へアクセスするマクロ
- こちら,心を入れ替えて書き直しているので close とさせて下さい.
-
04:20 AM Feature #3187: Allow dynamic Fiber stack size
- Any other idea about it? It's only API design.
I'm not sure nahi-san's idea is good for Ruby or not.
I feel that it is too different from current style.
-
04:15 AM Bug #2788: nil.instance_eval pushes nil onto cref
- I'm so sorry to miss your ticket for long time.
Always I get confusing about instance eval with special variables (nil, false, etc).
Matz (shugo-san is specialist?), could you determine the specification?
-
04:10 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
- 随分放置しております.すみません.
とくに異論はないんですが,今のにあたる,BUG らないパッチ下さい,って感じでしょうか. -
04:08 AM Feature #2447: reduce GC pressure by symbol table without String instance
- あれ,これ私ですか.
ええと,今度やります.これは,big feature じゃないから遅くてもいいよね. -
04:04 AM Feature #2080: Proc#to_source, Method#to_source
- この件,まつもとさんは何かご意見はありますか?
-
04:00 AM Feature #1102: Prepend Module
- Nobu will commit it.
-
03:44 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
- The patch adds accessors for @local_host and @local_port and uses both in TCPSocket.open call.
-
02:17 AM Feature #4254: Allow method transplanting
- That makes sense. But I am not sure it matters a great deal. Modules too can have interdependent methods and reference instance variables. I get the concept, but ultimately I'd just prefer to have full flexibility and be done with it, ra...
-
12:47 AM Feature #4254: Allow method transplanting
- I guess it wouldn't make much sense and would lead to other developer's confusion as the method may rely on some internal state of an instance of that class...
-
12:08 AM Feature #4254: Allow method transplanting
- What prevents methods from being transplanted *from* a class?
- 01:02 AM Revision 9ac51c29 (git): * 2012-06-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:01 AM Revision 876d4c4c (git): Revert r36213 "popen: shell commands with envvar"
- * io.c (rb_io_s_popen): revert r36213 "popen: shell commands with
envvar" because it disabled to let single command bypass shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e