Activity
From 06/27/2012 to 07/03/2012
07/03/2012
-
11:53 PM Bug #6689: r36284: symbol referenceng error: atomic_swap_long in Solaris
- そもそも,gc.c の変更は本当に必要なんでしょうか.
(2012/07/03 23:17), ngoto (Naohisa Goto) wrote:
>
> Issue #6689 has been reported by ngoto (Naohisa Goto).
>
> ----------------------------------------
> Bug #6689: r36284: symbol referenc... -
11:25 PM Bug #6689 (Closed): r36284: symbol referenceng error: atomic_swap_long in Solaris
- This issue was solved with changeset r36290.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (ATOMIC_SIZE_EXCHANGE): fix function name on Solaris [B... -
11:17 PM Bug #6689 (Closed): r36284: symbol referenceng error: atomic_swap_long in Solaris
- r36284以降、sparc上の Solaris 10 + Oracle Solaris Studio 12 にて、
atomic_swap_long が見つからない symbol referenceng error になり、
minirubyが出来ません。以下のパッチで治りました。
ところで、r36284で追加された ATOMIC_SIZE_**** というマクロ群は、
gc.c に直書きではなく、以前からatomic操作関連のマクロを置いている
ato... - 11:32 PM Revision 07132e06 (git): Wed Jul 4 08:24:28 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi/util.rb: Add ' to CGI's HTML escaping.[Feature #6620]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:29 PM Revision ab63d24b (git): * array.c (rb_ary_aref): Updated documentation to indicate the
- starting index is an index into the array or string. Updated
examples to show behavior of indexes at the end of an array or
string. Based on patch by Marcus Stollsteimer. [Bug #6680]
* array.c (rb_ary_aset): ditto.
* string.c (rb... - 11:19 PM Revision ad187bde (git): Wed Jul 4 08:18:01 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi/html.rb: fix some elements to upper case.[Bug #6632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:19 PM Revision b25f7430 (git): Wed Jul 4 08:11:15 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
- * lib/cgi/core.rb,html.rb: fix typo.[Bug #6632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:04 PM Feature #6688: Object#replace
- =begin
I don't think #replace works on Enumerables, rather it works on Array and Hash.
It does seem a rather powerful notion to be able to replace an object with another wherever is may be referenced. Though @shudo may be right that it ... -
06:02 PM Feature #6688: Object#replace
- prijutme4ty (Ilya Vorontsov) wrote:
> I suggest that #replace works not only on Enumerables but on any Object. It can make use the same object in different places more consistent.
Smalltalk has such a method called "become:", which s... -
05:05 PM Feature #6688 (Rejected): Object#replace
- I suggest that #replace works not only on Enumerables but on any Object. It can make use the same object in different places more consistent. It makes it possible to write
class Egg; end
class Hen; end
class HenHouse; attr_accessor :s... -
11:01 PM Feature #6414: Destructuring Assignment
- sorry but I couldn't find the proposal you're talking about, but looking at the examples it seems there is no difference.
But one thing that is supported in CoffeeScript and is not in the examples is to mix both forms. For example, in... -
10:53 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- Yura, thanks for letting me know. I'll give it a try when I find some time.
-
10:08 PM Revision 0e9b0c8c (git): * test/zlib/test_zlib.rb (test_inflate_partial_input): Added test for
- inflating incomplete zlib streams.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:19 PM Revision 98cbc707 (git): * 2012-07-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:19 PM Revision 91a254fd (git): bootstraptest: no stderr output
- * bootstraptest/runner.rb (assert_check): capture stderr and ensure
nothing is output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:06 PM Feature #6679: Default Ruby source file encoding to utf-8
- You could at least consider it for 3.0 and yielding a deprecation warning in such strings on 2.0... Although I think much more people are currently complaining about UTF-8 not being default when compared to those who might complain becau...
-
10:33 AM Feature #6679: Default Ruby source file encoding to utf-8
- = Default Ruby source file encoding to utf-8
it almost can keep compatibility but breaks
* escaped bytes in string literal like "a\xff", its encoding changed from ASCII-8BIT to UTF-8.
* escaped bytes in regexp literal like above
... -
05:49 AM Feature #6679: Default Ruby source file encoding to utf-8
- duerst (Martin Dürst) wrote:
> I think this is the right direction to go, and doing it for a major
> ...
#5206 (make -K warn) may be relevant to removing -U -
12:23 AM Feature #6679: Default Ruby source file encoding to utf-8
- On Mon, Jul 2, 2012 at 2:34 AM, "Martin J. Dürst" <duerst@it.aoyama.ac.jp>wrote:
> 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 a... -
12:23 AM 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?
>
Sure. Ruby 1.9 forced us to specify the encoding for code that was not pure
ASCII.
I'm no expert, but... -
08:53 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
- (2012/07/03 18:41), nobu (Nobuyoshi Nakada) wrote:
> "int" may not be large enough to keep a pointer.
+1.
--
// SASADA Koichi at atdot dot net -
06:41 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
- "int" may not be large enough to keep a pointer.
-
06:37 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
- ko1 (Koichi Sasada) wrote:
> Should we change it from VALUE to 'void *'?
IMHO VALUE is misleading and should be changed for rb_thread_blocking_region() and rb_blocking_function_t. But isn't it better to use "int" instead of "void*" ?... -
07:29 PM Bug #6683: DateTime#strftime("%s") overflow on 32-bit platform
- Fixed in r36265.
-
07:17 PM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
- This issue was solved with changeset r36286.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
merge revision(s) 36259:
* KNOWNBUGS.rb: add tests. [ruby-dev... -
06:53 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- On 02/07/12 15:51, Aaron Patterson wrote:
> 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 ... -
06:02 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- kosaki (Motohiro KOSAKI) wrote:
> On Tue, Jul 3, 2012 at 12:35 AM, vo.x (Vit Ondruch)
> ...
It is interesting to see you position, since such collaboration works for JSON gem for example (if I am not mistaken).
Yes, you are right, t... -
05:23 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- On Tue, Jul 3, 2012 at 12:35 AM, vo.x (Vit Ondruch)
<v.ondruch@tiscali.cz> wrote:
>
> Issue #6590 has been updated by vo.x (Vit Ondruch).
>
>
> kosaki (Motohiro KOSAKI) wrote:
>> Actually, this is not bigdecimal issue. It is gem... -
01:35 PM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- kosaki (Motohiro KOSAKI) wrote:
> Actually, this is not bigdecimal issue. It is gem discovery issue. MRI
> ...
Actually that is exactly what RubyGems do and what Aaron is proposing. Take nokogiri [1] for example. If you are using MRI,... -
11:59 AM Feature #6590: Dealing with bigdecimal, etc gems in JRuby
- On Mon, Jul 2, 2012 at 10:51 AM, Aaron Patterson
<tenderlove@ruby-lang.org> wrote:
> On Sun, Jul 01, 2012 at 04:22:59PM +0900, mrkn (Kenta Murata) wrote:
>>
>> Issue #6590 has been updated by mrkn (Kenta Murata).
>>
>>
>> ... - 03:39 PM Revision 74c0b593 (git): * 2012-07-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 PM Revision 4e273f76 (git): Revert r36279; it breaks C API compatibility.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:23 PM Feature #5206: ruby -K should warn
- (2012/07/03 14:46), usa (Usaku NAKAMURA) wrote:
> Status changed from Closed to Assigned
>
> I think that it is good for warning, but isn't only the time of -w option being specified?
I often use -Ks option for temporary ru... -
02:46 PM Feature #5206 (Assigned): ruby -K should warn
- I think that it is good for warning, but isn't only the time of -w option being specified?
-
10:52 AM Feature #5206 (Closed): ruby -K should warn
- This issue was solved with changeset r36274.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ruby.c (proc_options): warn if -K option is specified. [Feature... -
03:02 PM Feature #1917 (Third Party's Issue): Curses::Window#keypad(true) fails for Curses::Key::ENTER ?
- robert (Robert Gleeson) wrote:
> After creating an instance of Curses::Window, setting keypad to true, it is possible to catch Curses::Key::UP/DOWN/LEFT/RIGHT, but when I try to catch Curses::Key::ENTER, it fails.
> ...
The man page f... -
02:25 PM Revision 1e972da3 (git): * gc.c (ATOMIC_SIZE_EXCHANGE): fix function name on Solaris [Bug #6689]
- [ruby-dev:45904]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:26 PM Feature #2565: adding hooks for better tracing
- ko1 (Koichi Sasada) wrote:
> (but I can't understand sed script ^^; I prefer ruby script :)
As I said, there are several conditions which should be fulfilled. If you don't want to
1) store the generated files in SCM
2) generate... -
08:23 AM Feature #2565: adding hooks for better tracing
- (2012/07/02 23:32), Aaron Patterson wrote:
> ko1 said he was OK to merge in [ruby-core:44788].
I want to discuss what probes and parameters we need.
(Maybe I said same thing before)
Your patch will be a beginning of this d... -
06:23 AM Feature #2565: adding hooks for better tracing - On Tue, Jul 03, 2012 at 01:31:53AM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #2565 has been updated by vo.x (Vit Ondruch).
>
>
> > AFAIK, the only open issue (that Vit raised [ruby-core:44980]) is that
> > we shouldn't check... -
01:31 AM Feature #2565: adding hooks for better tracing
- > AFAIK, the only open issue (that Vit raised [ruby-core:44980]) is that
> ...
Well, I proposed two options, either have both versions in SCM or keep it out of the SCM. I'm still in favor of the latter, however I realized later that th... -
01:14 PM Feature #6617: Net::HTTP: Bind to a specific local IP/port
- It looks good.
Could you provide a test for it?
It should be a patch for test/net/http/test_http.rb -
11:55 AM Feature #4328: export rb_thread_call_with_gvl()
- I was going to use rb_thread_call_with_gvl for #6612, but the declaration was moved to internal.h which is not exported and causes a warning when compiling zlib.c. Was this intentional? The current location seems to allow use by core r...
-
11:52 AM Revision fdde6957 (git): Revert r36285; it is fixed in r36286 in 1.9.3.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 AM Revision 662ec841 (git): merge revision(s) 34374:
- * file.c (rmext): no extension to strip if empty string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:20 AM Revision 54952586 (git): * proc.c (rb_vm_rewrite_dfp_in_errinfo): Fix `unexpected return'
- occurs when a proc is called in ensure. [Backport #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Revision 309cef7e (git): merge revision(s) 36259:
- * KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Revision 1686286e (git): merge revision(s) 36258:
- * KNOWNBUGS.rb: Bug #2330 was fixed in r26718.
[ruby-dev:40234] [ruby-core:27959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Revision a7c6f0af (git): gc.c: atomic operations for malloc_params
- * gc.c (vm_malloc_fixup, vm_xrealloc, vm_xfree, after_gc_sweep): use
atomic operations to update malloc_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:12 AM Bug #6666 (Closed): Documentation Improve - rdoc does not know where rb_obj_methods is (#methods)
- This issue was solved with changeset r36272.
markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (Init_Object): Added RDoc location pointers for
K... -
06:03 AM Feature #6615 (Closed): Release GVL in zlib when calling inflate() or deflate()
- This issue was solved with changeset r36270.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/zlib/zlib.c (zstream_run): Process zlib streams without GV... -
05:52 AM Revision 1884f1c0 (git): * ext/zlib/zlib.c (zstream_run_func): Fix bug that caused early exit
- of GVL-free loop. [Feature #6615]
* ext/zlib/zlib.c: Fix style to match existing functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:37 AM Revision c7c397f9 (git): fix allocated_size
- * gc.c (vm_xrealloc): fix allocated_size update, should not ignore old
size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:15 AM Feature #6373: public #self
- Does it really need a slide? Does someone at developers meeting want to bring it up? It's such a simple thing. It's probably a one line addition to code to make `self` available as public method. Only question is name, which seems to me,...
- 03:10 AM Revision 1f233501 (git): * ext/dl/cfunc.c (rb_dlcfunc_call): also needed the workaround for VC8
- for x64. [ruby-dev:45875] [Bug #6676]
reported by aves_ramphastos (Seigo Ishigane)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 11387569 (git): * ext/zlib/zlib.c (zstream_detach_buffer): Refactored tainting of
- output string, moving it from the callee to zstream_detach_buffer.
* ext/zlib/zlib.c (rb_zstream_finish): ditto
* ext/zlib/zlib.c (rb_zstream_flush_next_out): ditto
* ext/zlib/zlib.c (rb_deflate_deflate): ditto
* ext/zlib/zlib.c (rb_d... -
02:44 AM Revision 42c34dd3 (git): merge revision(s) 34372:
- * file.c (rb_enc_path_next, rb_enc_path_skip_prefix)
(rb_enc_path_last_separator, rb_enc_path_end)
(ruby_enc_find_basename, ruby_enc_find_extname): encoding-aware
path handling functions.
* file.c (... -
02:44 AM Revision 83c7e46a (git): merge revision(s) 34348:
- * dir.c (dir_chdir, check_dirname): get rid of optimization-out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:16 AM Revision 3fceaf10 (git): make runnable
- * common.mk (runnable): make symbolic links to run in build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Revision 66d0ad36 (git): Undef on_parallel_worker? before redefine.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:10 AM Revision b697018e (git): Fix tests for previous commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 AM Revision c2a87e27 (git): * ruby.c (proc_options): warn if -K option is specified. [Feature #5206]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:44 AM Bug #6632: Typos in CGI (core.rb)
- sorry for the separate updates...
-
01:09 AM Bug #6632: Typos in CGI (core.rb)
- =begin
also in rdoc for html.rb
=end
-
01:17 AM Feature #6687: Enumerable#with
- That's a beautiful demonstration.
I indeed find #each_with_object too long, and that makes me use a local variable instead most of the time.
The other reason I hesitate to use it is for cases with multiple arguments in the enumeratio... -
12:23 AM Feature #4985: Add %S[] support for making a list of symbols
- +1, I'd use that a lot.
Do we need two versions? Why not always interpolate? Can't see who's going
to need a symbol with a litteral #{ or \whatever in it.
This way we could have only %S and it always interpolates.
--
<l...
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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) <nakahiro@gmail.com>:
>> 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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
02:58 AM Feature #5922: Migrate equal? to identical?
- Received, thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
02:41 AM Feature #6499: Array::zip
- Received. Thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
02:18 AM Feature #6594 (Assigned): Integrated Functor
- Received, thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:09 AM Feature #6636 (Assigned): Enumerable#size
- Received. Thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:05 AM Feature #4151: Enumerable#categorize
- Marc-Andre and Eregon, your slides (!) are received. Thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
01:35 AM Feature #6669 (Assigned): A method like Hash#map but returns hash
- Received, thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp -
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 <mame@tsg.ne.jp> -
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 <mame@tsg.ne.jp> -
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) <
prijutme4ty@gmail.com> 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, <kosaki.motohiro@gmail.com> 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 <alex@blackkettle.org> 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 <alex@blackkettle.org> 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)" <erik@hollensbe.org> 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 <zn@mbf.nifty.com>:
> から連想すると共通の 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...