Project

General

Profile

Activity

From 04/28/2013 to 05/04/2013

05/04/2013

11:22 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
I agree with most of your changes in the patch, especially using rb_check_funcall instead of rb_rescue.
But I personally dislike the equal operator (==) to raise error, since equal comparison is so fundamental, and most of us write code...
matz (Yukihiro Matsumoto)
06:23 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
matz (Yukihiro Matsumoto) wrote:
> Show us the patch first. I am afraid I misunderstand you.
Sorry, I was not clear.
My intent is to remove error hiding, that is not reporting in any way exceptions.
In the case of Range checki...
Eregon (Benoit Daloze)
09:00 PM Feature #8366: Exception.message take time to execute depending on the instance variables
You should define inspect method. nobu (Nobuyoshi Nakada)
04:02 PM Feature #8366: Exception.message take time to execute depending on the instance variables
nobu (Nobuyoshi Nakada) wrote:
> You can see the reason by reducing the size of the instance variable.
What do you mean? I have a big project where I load plugins and each plugin can have megabytes of data and if one plugin does not ...
anuraguniyal (anurag uniyal)
03:22 PM Feature #8366: Exception.message take time to execute depending on the instance variables
You can see the reason by reducing the size of the instance variable. nobu (Nobuyoshi Nakada)
08:16 AM Feature #8366: Exception.message take time to execute depending on the instance variables
also tried with ruby 2.0.0 at http://www.compileonline.com/execute_ruby_online.php anuraguniyal (anurag uniyal)
08:11 AM Feature #8366 (Open): Exception.message take time to execute depending on the instance variables
I am seeing very interesting and catastrophic behavior with ruby, see the code below
class ExceptionTest

def test
@result = [0]*500000

begin
no_such_method
rescue Exception ...
anuraguniyal (anurag uniyal)
07:12 PM Bug #8364: Vim's if_ruby feature sometimes crash.
Thank you for your advice.
I tried RUBY_INIT_STACK in rbexe(). But it still crash.
/* rubyembed.c */
#include <ruby.h>
void rbinit() {
int dummy_argc = 2;
char *dummy_argv[] = {"foo", "-e0"};
RUBY_INIT_STACK;
...
Anonymous
02:10 PM Bug #8364 (Third Party's Issue): Vim's if_ruby feature sometimes crash.
rbexe() also needs RUBY_INIT_STACK, in every interface function calling ruby from outside.
Your patch is not a portable fix.
# You can't use Markdiwn here, RD only.
nobu (Nobuyoshi Nakada)
06:14 PM Feature #8361: Alternative syntax for block parameter
=begin
Nobu: i do not think the conflict with ternary expression is the worst part: i think that if in ambiguous cases the colon was interpreted as a part of ternary expression, there would be no conflict with existing code.
It was prob...
alexeymuranov (Alexey Muranov)
03:12 PM Feature #8361: Alternative syntax for block parameter
It conflicts with ternary expressions, and symbol literals.
You should abandon use of colon and brackets.
nobu (Nobuyoshi Nakada)
04:57 PM Feature #8368 (Closed): Socket.getifaddrs
I'd like to add a method: Socket.getifaddrs.
This method is a wrapper to getifaddrs() function.
The result is an array of instances of Socket::Ifaddr class as follows.
% ./ruby -rpp -rsocket -e 'pp Socket.getifaddrs'
[#<Socke...
akr (Akira Tanaka)
03:00 PM Revision 649d6f47 (git): * 2013-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision ec1f8cbb (git): merge revision(s) 40574:
* doc/security.rdoc: Add note about reporting security vulns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:48 PM Revision f824c6f1 (git): merge revision(s) 40561: [Backport #8357]
* object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
nagachika (Tomoyuki Chikanaga)
02:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/04 12:08), Narihiro Nakamura wrote:
>> > How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
> I agree :)

Thank you for your positive response.
I will merge it soon.

--
// SASADA Koic...
ko1 (Koichi Sasada)
12:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/4/28 SASADA Koichi <[email protected]>:
> (2013/04/28 9:23), authorNari (Narihiro Nakamura) wrote:
>> Great work!!! Does RGenGC Ruby pass test-all?
>
> Sure.

Great!

> How about to introduce this new GC algorithm/imple...
authorNari (Narihiro Nakamura)
12:12 PM Feature #8365 (Feedback): Make variables objects
I am sorry I don't understand the proposal, nothing more than vague idea.
Proposals should be concrete and be able to implement.
Could you describe both the model and the syntax for the proposal?
Matz.
matz (Yukihiro Matsumoto)
01:45 AM Feature #8365 (Feedback): Make variables objects
While refactoring a wiki article about Ruby, I found this anonymous proposal:
"How about making variables objects. And assignment is the default message you send to the variable object (not the underlying reference). anintvar 5, now t...
Anonymous

05/03/2013

10:24 PM Feature #8361: Alternative syntax for block parameter
=begin
I agree, it is getting complicated, maybe it was a bad idea. It may be closed if you do not think it is worth consideration.
The best i could think of was to allow to use some symbol, the colon for example, to separate explic...
alexeymuranov (Alexey Muranov)
08:17 PM Feature #8361: Alternative syntax for block parameter
I don't think the syntax cannot be defined without conflict.
Prove me I am wrong.
Matz.
matz (Yukihiro Matsumoto)
06:40 PM Feature #8361: Alternative syntax for block parameter
=begin
It's unacceptable to distinguish two semantics of "(({[ ]}))" by a token following ((*after*)) it.
=end
nobu (Nobuyoshi Nakada)
04:32 PM Feature #8361: Alternative syntax for block parameter
=begin
From the top of my mind, i can propose only this:
p = lambda [x]->{
# ...
}
[2, 3, 4].map [x]->{x*x}.reduce [0, 1] [m, o]->{m << o}
(i didn't like the new lambda syntax anyway:) ).
Another possibility:
p = lambda ...
alexeymuranov (Alexey Muranov)
04:25 PM Feature #8361: Alternative syntax for block parameter
=begin
You are right, there is a problem. It is similar to the problem with hashes:
def f(h); end
f {1=>2}
# => SyntaxError: unexpected =>, expecting '}'
It can be worked around in the same way:
foo([1, 2, 3]) [x] {x*x}
But ...
alexeymuranov (Alexey Muranov)
09:17 AM Feature #8361 (Feedback): Alternative syntax for block parameter
nobu (Nobuyoshi Nakada)
09:17 AM Feature #8361: Alternative syntax for block parameter
If it were introduced, how could you pass an array with a block? nobu (Nobuyoshi Nakada)
08:00 AM Feature #8361 (Closed): Alternative syntax for block parameter
=begin
I propose an alternative syntax for block parameters:
p = lambda [x] {
# do whatever you like with x here, but be sure to return the result
}
instead of
p = lambda { |x|
# ...
}
This would be consi...
alexeymuranov (Alexey Muranov)
10:23 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
Show us the patch first. I am afraid I misunderstand you.
Matz
matz (Yukihiro Matsumoto)
10:21 PM Revision 5835461b (git): * doc/security.rdoc: Add note about reporting security vulns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
10:10 PM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
Workaround :
I uninstall all macports ruby packages. And install RVM (https://rvm.io/rvm/). Activate ruby 2.0.0-p0 by rvm. And now, the "gem list -r" is fully functionnal. So, we have a bug with gem in macport.
I opened a bug in macpo...
legerf (Frederic Leger)
09:04 PM Revision b2580fb2 (git): * 2013-05-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:03 PM Revision 9b89888d (git): * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New for
attribute((alloc_size(params))).
* include/ruby/defines.h (xmalloc, xmalloc2, xcalloc)
(xrealloc, xrealloc2): Annotated by RUBY_ATTR_ALLOC_SIZE.
* include/ruby/ruby.h (rb_alloc_tmp_buffer): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org...
kosaki (Motohiro KOSAKI)
08:50 PM Bug #8364 (Third Party's Issue): Vim's if_ruby feature sometimes crash.
=begin
This problem was originally reported to vim-jp project. See
((<URL:https://github.com/vim-jp/issues/issues/372>)) (Japanese discussion).
((<Vim|URL:http://www.vim.org/>)) is an text editor and it supports embedded
ruby inte...
Anonymous
08:23 PM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
This issue was solved with changeset r40571.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/util.rb: class methods modulize for using like a fu...
xibbar (Takeyuki FUJIOKA)
10:59 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
CGI でも、いわゆるロジックっぽい部分で h を使うのは推奨されないと思うんですが、
確かに CGI の html 生成の部分は、ERB と同じ理由で短い名前が欲しそうですね。
納得しました。賛成しないのを取り下げます。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:57 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
一般的なコードの中でescapeHTMLが多用されるとは思わないのですが、
cgiアプリの中ではある程度escapeHTMLが必要になります。
これが随所に出てきて、
@cgi = CGI.new("html5")
login = @cgi['login']
family_name = @cgi[family_name']
first_name = @cgi[first_name']
@cgi.out do
@cgi.header do
@...
xibbar (Takeyuki FUJIOKA)
12:10 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
escapeHTML を関数として呼び出せるのはいいと思います。
しかし h のエイリアスはあまり賛成でないです。一般的なプログラムの中で
s = h s
みたいなコードを書くことを Ruby が推奨しているとは思わないので。
ERB の h は原則として <%=h ... %> というイディオム限定で許されていると
思います。
他に 1 文字メソッドというと p がありますが、こっちはデバッグ時限定で
許されていると思います。(最終的...
mame (Yusuke Endoh)
04:56 PM Bug #8330 (Rejected): WEBrick::HTTPUtils::parse_query replaces plus (+) with space
WEBrick::HTTPUtils::parse_query decodes application/x-www-form-urlencoded; it's encodes " " as "+".
see also http://url.spec.whatwg.org/#application/x-www-form-urlencoded
naruse (Yui NARUSE)
04:33 PM Bug #8330: WEBrick::HTTPUtils::parse_query replaces plus (+) with space
I am not sure about RFC, but attached patch could fix this issue.
I want to get feedback from an expert about this.
https://github.com/ayumin/ruby/commit/179602196f25d1fd7350cfd88a44f0a5c49be3aa
ayumin (Ayumu AIZAWA)
12:47 PM Feature #8107: [patch] runtime flag to track object allocation metadata
> Another consideration is lack of EVENTs bit. It is restricted to 32bit.
> ...
ko1-san, is this what you have in mind?
/* GC events (c-api only) */
#define RUBY_EVENT_OBJ (1<<31)
#define RUBY_EVENT_OBJ_NEW (RUBY_EVE...
tmm1 (Aman Karmani)
11:23 AM Revision b35529bb (git): * lib/cgi/util.rb: class methods modulize for using like a function.
[Feature #8354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
05:11 AM Revision 86d4511f (git): * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12).
http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:50 AM Revision d0b7b41e (git): * common.mk (yes-test-all): needs sudo-precheck for dtrace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:35 AM Revision 8202d626 (git): {getaddrinfo,getnameinfo}.c: fix for old platforms
* ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not
defined, e.g., older VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:29 AM Revision 3b62e8e7 (git): win32.h: INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX
* include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): also
should be defined when defining intptr_t and uintptr_t.
bigdecimal.c requires the former two now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40567 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
04:22 AM Revision 6d32a4e3 (git): win32.c: fix build error
* win32/win32.c (poll_child_status): fix build error on older mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:22 AM Revision c61af204 (git): win32.c: optimization
* win32/win32.c (poll_child_status): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/02/2013

11:56 PM Bug #8342 (Assigned): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
leocassarani (Leo Cassarani) wrote:
> Thanks naruse. However, this seems inconsistent with the way encodings are handled for individual IO instances. For example:
> ...
That side sounds buggy
naruse (Yui NARUSE)
11:12 PM Bug #8342: IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
Thanks naruse. However, this seems inconsistent with the way encodings are handled for individual IO instances. For example:
io = File.open('hi', :encoding => "ascii-8bit:utf-16")
puts io.gets.encoding
# => UTF-16
This happens ev...
leocassarani (Leo Cassarani)
10:50 PM Feature #7701: Non-optional (required) keyword args
(Same question as Charles) this will be included with 2.1 (I didn't see it in this list, but assume it will anyway? https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap#Ruby-210 ).
Thank you.
rogerdpack (Roger Pack)
09:04 PM Bug #8359: If p is a proc, p.call(x) can take a block, but p[x] cannot
=begin
Ok, maybe this is not a bug report but a feature request. Is there a reason to not allow (({ p[x] do ...}))?
=end
alexeymuranov (Alexey Muranov)
08:45 PM Bug #8359 (Rejected): If p is a proc, p.call(x) can take a block, but p[x] cannot
=begin
You can pass a block to (({ #[] })) in two ways:
format[[1, 2], "\n", &proc {|c| "[ #{ c } ]"}]
or:
format.[]([1, 2], "\n") {|c| "[ #{ c } ]"}
=end
Anonymous
07:46 PM Bug #8359 (Rejected): If p is a proc, p.call(x) can take a block, but p[x] cannot
=begin
format = lambda { |l, s = '', &w|
l.map {|e| w ? w[e] : e}.join(s)
}
format.call([1, 2], "\n") {|c| "[ #{ c } ]"}
# => "[ 1 ]\n[ 2 ]"
format[[1, 2], "\n"] {|c| "[ #{ c } ]"}
# => SyntaxError: unexpected ...
alexeymuranov (Alexey Muranov)
05:57 PM Bug #8358 (Closed): TestSprintf#test_float test failure
I noticed TestSprintf#test_float
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1287/console
~~~
1) Failure:
TestSprintf#test_float [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/ruby/test_sprintf.rb:193]:
...
phasis68 (Heesob Park)
05:08 PM Bug #8353 (Closed): segfault with puma-1.6.3
trevor (trevor 6) wrote:
> /lib64/libpthread.so.0() [0x3533c0f500]
> ...
This line is rb_gc_mark_unlinked_live_method_entries(), and it seems same as [Bug #8100].
nobu (Nobuyoshi Nakada)
08:57 AM Bug #8353: segfault with puma-1.6.3
charliesome (Charlie Somerville) wrote:
> Are you able to provide the 'Loaded features' section of the segfault info dump?
I was able to get the following partial (I can email someone the reported process memory map off-list if it'...
trevor (trevor 6)
07:52 AM Bug #8353: segfault with puma-1.6.3
Are you able to provide the 'Loaded features' section of the segfault info dump? Anonymous
07:40 AM Bug #8353 (Closed): segfault with puma-1.6.3
not sure if this is helpful, but it's all I can provide.
intel xeon X5670, linux 2.6.32
---
/usr/local/lib/ruby/gems/2.0.0/gems/puma-1.6.3/lib/puma/client.rb:127: [BUG] Segmentation fault
ruby 2.0.0p0 (2013-02-24 revision 39474) ...
trevor (trevor 6)
03:22 PM Revision 4aa97ae6 (git): * 2013-05-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:22 PM Revision b5d877e6 (git): * common.mk: remove timestamp in distclean-ext realclean-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
02:40 PM Revision 453bb57d (git): merge revision(s) 39939: [Backport #8360]
* thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
SEGV by Thread.new {}.join(Float::INFINITY) on
Debian GNU/Linux (amd64).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40562 b...
nagachika (Tomoyuki Chikanaga)
02:23 PM Revision a58c224d (git): object.c: skip prepending modules
* object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40561 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
01:11 PM Revision 908e7018 (git): irb: dead code
* bin/irb: remove dead code from sample/irb.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:43 AM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
cgi/util.rb には CGI.escapeHTML などのメソッドがあります。
これらを使うにはCGI.escapeHTML(str) みたいにして
いちいち全部書かなきゃならなくて、
長いと思っています。
erbを使っている人なら include ERB::Util すると h(str) と使えるのですが、
私はerb使わずに素のCGIを書いているので、hが使えず不便でした。
なので、中身をutil.rb の中身を丸ごとmoduleにして
inc...
xibbar (Takeyuki FUJIOKA)
08:32 AM Revision 5e79c1a5 (git): marshal.c: no overwriting ivars
* marshal.c (copy_ivar_i): get rid of overwriting already copied
instance variales. c.f. [Bug #8276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:30 AM Revision b996367e (git): variable.c: move warnings to rb_ivar_get
* variable.c (generic_ivar_get, ivar_get): return undef value instead
of Qnil with warnings, for uninitialized instance variable.
* variable.c (rb_ivar_get): warn for uninitialized instance variable
here.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:55 AM Revision 31457774 (git): thread.c: id locals
* thread.c (id_locals): use cached ID.
* vm.c (ruby_thread_init): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 AM Revision 97982e82 (git): id.def: predefined IDs
* defs/id.def: add more predefined IDs used in core.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:30 AM Revision 149f8f17 (git): Fix rondom failure introduced by r40553
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:07 AM Revision 078ffd0e (git): Fix test of parallel test breaked by r40553
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:48 AM Revision f8e5c7c7 (git): Imported minitest 4.7.4 (r8483)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
04:02 AM Revision ce3029cd (git): process.c: fix failed status with spawnv
* process.c (proc_spawn_cmd_internal, proc_spawn_sh): spawn() with
P_NOWAIT returns process ID, so it must not be set as a status.
* process.c (rb_spawn_process): set failed status on error on
platforms using spawnv not only on Wind...
nobu (Nobuyoshi Nakada)
03:35 AM Revision 30afde95 (git): * win32/win32.c (poll_child_status): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:34 AM Revision 50cc7057 (git): * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now
we can test it.
* test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:34 AM Revision 25acda25 (git): * win32/win32.c (poll_child_status): [experimental] set the cause of
a child's death to status if its exitcode seems to be an error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:34 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
s/RFC 2896/RFC 2396/ knu (Akinori MUSHA)
02:27 AM Bug #8352 (Closed): URI squeezes a sequence of slashes in merging paths when it shouldn't
RFC 2396 (on which the library currently is based) or RFC 3986 says nothing about a sequence of slashes in the path part except for parsing rules when a URI (path) starts with two slashes.
It should be perfectly valid to have a slash ...
knu (Akinori MUSHA)
02:24 AM Revision fe2177fd (git): * 2013-05-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:24 AM Revision 0b9b99c1 (git): * lib/yaml.rb: nodoc EngineManager, add History doc #8344
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

05/01/2013

11:00 PM Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
=begin
Is this related to ((<URL:https://s3.amazonaws.com/archive.travis-ci.org/jobs/6783150/log.txt>))?
4) Error:
test_aes_gcm_wrong_tag(OpenSSL::TestCipher):
OpenSSL::Cipher::CipherError: unable to set GCM tag
/home/tr...
nobu (Nobuyoshi Nakada)
07:04 PM Bug #8351 (Closed): Error message is not grammatical
This issue was solved with changeset r40539.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c (Enumerable#chunk): fix grammar of error message
for...
Eregon (Benoit Daloze)
07:01 PM Bug #8351: Error message is not grammatical
Thanks, it will be committed soon! Eregon (Benoit Daloze)
04:54 PM Bug #8351 (Closed): Error message is not grammatical
Enumerable#chunk has the error message "symbol begins with an underscore is reserved".
This is not grammatical. Assuming that error messages can be modified, possible fixes include
"symbol begins with an underscore, which is reserv...
agrimm (Andrew Grimm)
04:47 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
@ko1 I ran some basic benches against Discourse, results are here:
http://meta.discourse.org/t/ruby-may-be-getting-a-generational-gc-what-this-means-to-you/6289
was surprised that the tuned stack performed better for requests not ...
sam.saffron (Sam Saffron)
03:40 PM Revision 5362d2e2 (git): merge revision(s) 40498:
* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for Tensilica
Xtensa Processor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_...
nagachika (Tomoyuki Chikanaga)
03:20 PM Revision 83222f7c (git): merge revision(s) 40478: [Backport #8334]
* dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:17 PM Revision 72c4bf29 (git): merge revision(s) 40504,40505,40507,40511: [Backport #7982]
* README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
* README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
* README.EX...
nagachika (Tomoyuki Chikanaga)
03:14 PM Revision 4dfec53d (git): * 2013-05-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 682e5bef (git): merge revision(s) 39932,39934,39935,39937,39955,40491:
Use assert_separately to speed up on test-all
This creates large string and it pressure GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:52 PM Revision 4d3df433 (git): merge revision(s) 40462: [Backport #8323]
* io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bo...
nagachika (Tomoyuki Chikanaga)
01:09 PM Bug #8347 (Assigned): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
Fixed warning but ri does not work:
`ri Rake` does not show the README content, only "includes" and "extended by" for other classes
zzak (zzak _)
12:21 PM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
This issue was solved with changeset r40535.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rake/version.rb: Fix RDoc warning with :include: [Bug #...
zzak (zzak _)
12:12 PM Revision a4460ddb (git): * time.c (localtime_with_gmtoff_zone): musl libc may return NULL for
tm_zone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:04 AM Revision bd14f5bf (git): * enum.c (Enumerable#chunk): fix grammar of error message
for symbols beginning with an underscore [Bug #8351]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
07:48 AM Revision f0a5e1fc (git): curses/extconf.rb: simplify
* ext/curses/extconf.rb (curses_version): try once for each tests, a
function or a variable. fallback to variable for old SVR4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:17 AM Revision 262669e6 (git): extmk.rb: always dynamic non-install extensions
* ext/extmk.rb (extmake): extensions not to be installed should not
make static libraries, but make dynamic libraries always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:16 AM Feature #8350 (Rejected): Extending `%{}` notation in string to accept an array
sawa (Tsuyoshi Sawada) wrote:
> but that would not cause any conflict.
> ...
It does allow.
"%2$-5s: %1$08x" % [self.object_id, "ID"] #=> "ID : 200e14d6"
nobu (Nobuyoshi Nakada)
02:09 AM Feature #8350 (Rejected): Extending `%{}` notation in string to accept an array
=begin
`String#%` accepts a hash as an argument and interpolates the values into `%{}`-notated portions of the string:
"%{b} said %{a} to %{c}" % {a: "Foo", b: "Bar", c: "Baz"} #=> "Bar said Foo to Baz"
I would like to ...
sawa (Tsuyoshi Sawada)
04:43 AM Revision 84c8319c (git): ancdata.c: suppress warnings
* ext/socket/ancdata.c (bsock_sendmsg_internal): suppress warnings on
platforms where msghdr does not have msg_control.
* ext/socket/ancdata.c (bsock_recvmsg_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40536 b...
nobu (Nobuyoshi Nakada)
03:21 AM Revision bb35edf3 (git): * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:14 AM Revision cdce1dd4 (git): process.c: rb_daemon should not raise
* process.c (rb_daemon): should not raise exceptions, since
proc_daemon() will deal with errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:03 AM Revision 93f83417 (git): configure.bat: remove stale message
* win32/configure.bat (help): remove stale message. win95 support had
been thrown away long ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:40 AM Revision 7ef7a65d (git): eval.c: use predefined IDs
* eval.c (frame_func_id): use predefined IDs.
* vm.c (rb_vm_control_frame_id_and_class): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 AM Revision 84ad7e65 (git): * 2013-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision 9644f9b5 (git): proc.c: use predefined IDs
* defs/id.def (predefined): add "idProc".
* proc.c (mnew, mproc, mlambda): use predefined IDs.
* vm.c (Init_VM): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/30/2013

10:37 PM Bug #8349 (Closed): [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
phasis68 (Heesob Park) wrote:
> I think -mstackrealign flag is the proper solution of this issue.
> ...
Thank you. I'll use -mstackrealign with sse.
I've confirmed that with disassemble.
https://gist.github.com/shirosaki/5488699
h.shirosaki (Hiroshi Shirosaki)
08:08 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
I think -mstackrealign flag is the proper solution of this issue.
Refer to
http://www.peterstock.co.uk/games/mingw_sse/
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#index-mpc80-1472
phasis68 (Heesob Park)
07:37 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
うーん、SSE を使って自動ベクトル化するときに何かバグを踏んでいるんですかねぇ。
objdump か何かでそれぞれの関数を逆アセンブルして貼って頂けませんか。
naruse (Yui NARUSE)
06:37 PM Bug #8349 (Closed): [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
I tried -mfpmath=sse -msse2 with mingw on Windows 7 and got 2 segv while make test-all.
Here is the detail.
https://gist.github.com/anonymous/5487498
I don't know why these options causes segv, but adding volatile seems to fix thi...
h.shirosaki (Hiroshi Shirosaki)
08:00 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Confirmed the recent push resolves it, will try to gather some benchmarks against Discourse tomorrow. sam.saffron (Sam Saffron)
05:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/30 17:41), SASADA Koichi wrote:
> ko1debugfiber.resume
>
Maybe I can yield non-bug version.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
05:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/30 17:05), sam.saffron (Sam Saffron) wrote:
>
>> > And can you pass all tests by `make test-all' on your environment?
> Nope, its core dumping with the exact same assertion

Thank you for your report. I can reproduce...
ko1 (Koichi Sasada)
05:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/30 15:59), sam.saffron (Sam Saffron) wrote:
> Having trouble testing this against Discourse, can't get it to install ruby gems
>
> /home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion...
ko1 (Koichi Sasada)
05:05 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
> And can you pass all tests by `make test-all' on your environment?
Nope, its core dumping with the exact same assertion
sam.saffron (Sam Saffron)
04:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/30 16:03), SASADA Koichi wrote:
> Thanks. How to reproduce?

And can you pass all tests by `make test-all' on your environment?

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
04:43 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Install latest ubuntu x64, grab latest source, make install seems to do the trick for me, will try to install on my mac and see what happens.
gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Found...
sam.saffron (Sam Saffron)
04:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/30 15:59), sam.saffron (Sam Saffron) wrote:
> Having trouble testing this against Discourse, can't get it to install ruby gems
>
> /home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion...
ko1 (Koichi Sasada)
03:59 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Having trouble testing this against Discourse, can't get it to install ruby gems
/home/sam/.rvm/gems/ruby-head-rgengc@global/bin/bundle: gc.c:587: alloc_bitmap: Assertion `objspace->heap.free_bitmap != ((void *)0)' failed.
Aborted (core...
sam.saffron (Sam Saffron)
03:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Now, I add "disable RGENGC feature".
A macro USE_RGENGC in include/ruby/ruby.h enable/disable RGENGC completely.

If performance of RGENGC is not enough, then it can be disabled easily.

It is a big change. So I hope someone v...
ko1 (Koichi Sasada)
05:27 PM Feature #8343 (Assigned): StringScanner#[] should accept names of named captures
rkh (Konstantin Haase) wrote:
> On a related note: should the patch be submitted in a second issue on the ruby-trunk project?
Here is also correct place now.
I'll merge this if there are no objection.
naruse (Yui NARUSE)
04:06 PM Bug #8348 (Rejected): ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
=begin
Ruby scripts that use Process.daemon seem to hang randomly on Debian GNU/kFreeBSD.
Steps to reproduce:
(1) Install Debian GNU/kFreeBSD Wheezy
(2) Install rvm: (({curl -L https://get.rvm.io | bash -s stable}))
(3) Install ...
JoeKun (Joel Lopes Da Silva)
02:19 PM Revision c322f10a (git): * lib/benchmark.rb: Update Benchmark results on newer CPU
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
10:09 AM Bug #8298: Module include inconsistency
Student (Nathan Zook) wrote:
> I think that perhaps I was too brief. My complaint is only that `N` precedes `M` (and `C`) in the ancestor list. The other matters are clear.
Indeed, it is a bit surprising. When including `M`, it man...
marcandre (Marc-Andre Lafortune)
06:44 AM Bug #8298: Module include inconsistency
I think that perhaps I was too brief. My complaint is only that `N` precedes `M` (and `C`) in the ancestor list. The other matters are clear.
~~~ruby
module M ; def foo ; M ; end ; end
module N ; def foo ; N ; end ; end
class C ;...
Student (Nathan Zook)
05:58 AM Bug #8344: Status of Psych and Syck
@tenderlove What about rubygems dependency on EngineManager? See Gem::Specification#to_yaml and lib/rubygems/syck_hack.rb zzak (zzak _)
04:23 AM Bug #8344: Status of Psych and Syck
On Mon, Apr 29, 2013 at 10:06:10PM +0900, zzak (Zachary Scott) wrote:
>
> Issue #8344 has been updated by zzak (Zachary Scott).
>
> Assignee changed from tenderlovemaking (Aaron Patterson) to zzak (Zachary Scott)
> Target ve...
Anonymous
04:00 AM Bug #8346: If a module is included, its public instance methods behave like module functions
Ok, thanks for the explanation. alexeymuranov (Alexey Muranov)
12:21 AM Bug #8346 (Rejected): If a module is included, its public instance methods behave like module functions
jacknagel (Jack Nagel) wrote:
> Here you have included M in Object, which is why the method is now available on M itself.
Indeed. Another way to understand it: the include has the same effect as doing a `def foo` at the top level.
...
marcandre (Marc-Andre Lafortune)
12:09 AM Bug #8346: If a module is included, its public instance methods behave like module functions
alexeymuranov (Alexey Muranov) wrote:
> =begin
> ...
Here you have included M in Object, which is why the method is now available on M itself.
Object.method_defined?(:f) => true
Anonymous
03:31 AM Revision 787cdae5 (git): proc.c: frozen core methods
* proc.c (mproc, mlambda): use frozen core methods instead of plain
global methods, so that methods cannot be overridden.
[ruby-core:54687] [Bug #8345]
* vm.c (Init_VM): define proc and lambda on the frozen core object.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
03:30 AM Revision e9fa3108 (git): * 2013-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 AM Revision 3a0641a8 (git): intern.h: rb_block_lambda
* include/ruby/intern.h (rb_block_lambda): add declaration instead of
deprecated rb_f_lambda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:30 AM Revision 71a68705 (git): proc.c: remove unnecessary static function
* proc.c (proc_lambda): remove and use rb_block_lambda directly
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:34 AM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
zzak (zzak _)
12:12 AM Bug #6634: Deadlock with join and ConditionVariable
Hi there,
I've faced similar problem with ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.1.0] (installed with rvm)
Please checkout my attached code. Let me know if I could help you more. Or if i'm doing something dumb :)
we4tech (nhm tanveeer hossain khan)

04/29/2013

10:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/29 11:45), SASADA Koichi wrote:
> (2013/04/29 2:19), Magnus Holm wrote:
>> What exactly does "moving memory areas" mean? Do you have any links?
>
> This is pseudo code:
> ary_push(VALUE ary, VALUE item)
> {
> o...
ko1 (Koichi Sasada)
03:59 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/29 15:46), headius (Charles Nutter) wrote:
> * Most of the benchmarks do not have enough old data to make a difference.

Yes.

We can see
- overhead of WBs
- overhead of generational gc (increasing dead but un-col...
ko1 (Koichi Sasada)
03:46 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
I like the technique. I have some observations.
* Most of the benchmarks do not have enough old data to make a difference.
Small benchmarks, in particular, will not show anything useful. These benchmarks could be made more interest...
headius (Charles Nutter)
12:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/29 11:41), SASADA Koichi wrote:
> (2013/04/29 5:00), Eric Wong wrote:
>> What is the expected performance impact for short-lived scripts and
>> one-liners? I hope there is no (or very little) regression.
>
> Maybe i...
ko1 (Koichi Sasada)
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/29 2:19), Magnus Holm wrote:
> What exactly does "moving memory areas" mean? Do you have any links?

This is pseudo code:
ary_push(VALUE ary, VALUE item)
{
old_size = RARRA_LEN(ary);
realloc(RARRAY_PTR(ary), ...
ko1 (Koichi Sasada)
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/29 5:00), Eric Wong wrote:
> What is the expected performance impact for short-lived scripts and
> one-liners? I hope there is no (or very little) regression.

Maybe it is a little (up to 10% down).
We need more meas...
ko1 (Koichi Sasada)
05:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
"ko1 (Koichi Sasada)" <[email protected]> wrote:
> How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?

What is the expected performance impact for short-lived scripts and
one-liners? I hope there i...
normalperson (Eric Wong)
02:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
On Sun, Apr 28, 2013 at 6:29 PM, SASADA Koichi <[email protected]> wrote:

> (2013/04/29 1:19), Magnus Holm wrote:
> > In hindsight I think that the sliding views-technique is only required
> > if you have multiple threads running a...
judofyr (Magnus Holm)
01:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/29 1:19), Magnus Holm wrote:
> In hindsight I think that the sliding views-technique is only required
> if you have multiple threads running at the same time. In CRuby there
> will only be a single thread running Ruby cod...
ko1 (Koichi Sasada)
01:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
On Sun, Apr 28, 2013 at 6:07 PM, SASADA Koichi <[email protected]> wrote:

> (2013/04/28 23:34), SASADA Koichi wrote:
> >> Another thing: What about passing the old value to OBJ_WB too?
> OBJ_WB(from, to, old)? In this implementatio...
judofyr (Magnus Holm)
01:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/28 23:34), SASADA Koichi wrote:
>> Another thing: What about passing the old value to OBJ_WB too? OBJ_WB(from, to, old)? In this implementation it would just be a no-op. There are some nice garbage collectors that you can imp...
ko1 (Koichi Sasada)
10:24 PM Bug #8298 (Rejected): Module include inconsistency
This is official restriction on module mix-in.
1. modifications to modules after they are included would not be change existing relation, thus `N` will not be included to `C`.
2. `#include` does not add already included modules, thus...
matz (Yukihiro Matsumoto)
10:07 PM Feature #6183: Enumerator::Lazy performance issue
@gregolsen Sure, np! zzak (zzak _)
07:10 PM Feature #6183: Enumerator::Lazy performance issue
Zachary Scott, thanks for your interest. I'm afraid it doesn't merge into trunk cleanly anymore after introducing lazy #size. I'll try to fix it and let you know when ready. gregolsen (Innokenty Mikhailov)
10:06 PM Bug #8344: Status of Psych and Syck
Aaron has stated that we should remove the EngineManager code for 2.1.0: https://twitter.com/tenderlove/status/328745442970066945
I can write this patch while I'm updating the documentation.
zzak (zzak _)
12:58 AM Bug #8344: Status of Psych and Syck
I did the doc change and zzak has some nice ideas to improve it, so I give him the ticket.
I would like to hear opinions about removing Psych::EngineManager.
Eregon (Benoit Daloze)
12:17 AM Bug #8344: Status of Psych and Syck
We should update the YAML module overview in lib/yaml.rb to reflect this more clearly.
Maybe we add a History or just Syck section. I can write this patch.
Regarding the EngineManager, I think it should be deprecated and eventually...
zzak (zzak _)
12:02 AM Bug #8344 (Closed): Status of Psych and Syck
Hello,
The current state of YAML being Psych is still a bit unclear (see lib/yaml.rb).
I propose to document YAML as always being (=) Psych,
and give a tip about the syck gem which might be used with the Syck constant (but the YAM...
Eregon (Benoit Daloze)
09:56 PM Bug #8346: If a module is included, its public instance methods behave like module functions
Compare with:
```ruby
module M
def self.f
0
end
def f
1
end
end
include M
M.f # => 0
alexeymuranov (Alexey Muranov)
09:53 PM Bug #8346 (Rejected): If a module is included, its public instance methods behave like module functions
=begin
This behavior is unexpected to me:
module M
def f
1
end
end
include M
M.f # => 1
After including the module (({M})), the method (({f})) becomes an instance method of the module for no apparent ...
alexeymuranov (Alexey Muranov)
06:33 PM Revision df9991fe (git): * ext/tk/MANUAL_tcltklib.ja, ext/tk/old-README.tcltklib.ja: rename from *.jp to *.ja
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
05:05 PM Feature #8338 (Closed): compilation failure in nkf with Bionic (Android's libc)
This issue was solved with changeset r40520.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
[Fe...
naruse (Yui NARUSE)
04:23 PM Feature #8257: Exception#cause to carry originating exception along with new one
I love the idea of having $! be the cause. It would also mean instant adoption. rkh (Konstantin Haase)
04:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
On Sat, Apr 27, 2013 at 6:09 PM, SASADA Koichi <[email protected]> wrote:
> Summary:
> (1) raise method captures $! as @cause.
> (2) Adding new method Exception#cause returns @cause.
>
> * I'm not sure #cause is good name.
> T...
headius (Charles Nutter)
02:53 PM Feature #8324: Net::Telnet.new のオプション
net/* なので naruse さんがメンテナかと思っていました。失礼しました。 hsbt (Hiroshi SHIBATA)
12:13 PM Feature #8324: Net::Telnet.new のオプション
telnet にはメンテナいません naruse (Yui NARUSE)
02:00 PM Bug #8342 (Rejected): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
If external encoding is ASCII-8BIT, the input content is considered as binary.
It is out of text encoding conversion and its encoding kept as ASCII-8BIT even if default_internal is set.
naruse (Yui NARUSE)
09:35 AM Bug #8342 (Assigned): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
Seems intended behavior to me. nobu (Nobuyoshi Nakada)
11:24 AM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
jaは国名コードなので、この場合は言語コードのjaを使うべきだと思います。
少なくともREADME.jaやdoc/*.jaはこちらを使っています。
nobu (Nobuyoshi Nakada)
09:21 AM Bug #8084 (Closed): ext/tk/MANUAL_tcltklib.eucj is utf-8
This issue was solved with changeset r40519.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltkl...
nagai (Hidetoshi Nagai)
12:39 AM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
I suggest to rename from *.eucj to *.utf8 (or something else).
But I do not know whether any files depend on the filename or not.
znz (Kazuhiro NISHIYAMA)
09:01 AM Revision e3e9c568 (git): Add comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:44 AM Revision c81f5fd3 (git): * vm.c (VM_EP_LEP): simplify infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:06 AM Revision 6a880801 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:05 AM Revision ecf017a9 (git): * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
[Feature #8338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:03 AM Bug #8337: Test failure and memory leak with OpenSSL::BN
oh...
I'm sorry for bother you.
nagachika (Tomoyuki Chikanaga)
01:11 AM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN
nagachika (Tomoyuki Chikanaga) wrote:
> Hello,
> ...
I use ALLOCA_N only for Fixnum and ALLOC_N is used for Bignum that needs xfree().
https://github.com/ruby/ruby/blob/be4aa330374d42cdead52a94144be189b5054e67/ext/openssl/ossl_bn.c#...
h.shirosaki (Hiroshi Shirosaki)
12:27 AM Bug #8337 (Assigned): Test failure and memory leak with OpenSSL::BN
Hello,
I think ALLOCA_N() uses alloca() to allocate memory from machine stack and xfree() is not necessary.
nagachika (Tomoyuki Chikanaga)
02:45 AM Feature #8343: StringScanner#[] should accept names of named captures
On a related note: should the patch be submitted in a second issue on the ruby-trunk project? rkh (Konstantin Haase)
12:20 AM Revision fb5d3a0a (git): * ext/tk/MANUAL_tcltklib.jp: rename from ext/tk/MANUAL_tcltklib.eucj [ruby-trunk - Bug #8084]
* ext/tk/old-README.tcltklib.jp: rename from ext/tk/old-README.tcltklib.eucj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)

04/28/2013

11:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/28 21:40), Magnus Holm wrote:
> Are instances of user-level Ruby classes (`class MyClass; end`) marked
> as sunny by default as well? If not, would it be difficult?

Not difficult (I think). I'll try ASAP.

> Also, ...
ko1 (Koichi Sasada)
10:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
On Sat, Apr 27, 2013 at 8:19 PM, ko1 (Koichi Sasada)
<[email protected]>wrote:

> We Heroku Matz team developed a new generational mark&sweep garbage
> collection algorithm RGenGC for CRuby/MRI.
> (correctly speaking, it i...
judofyr (Magnus Holm)
09:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
On Sat, Apr 27, 2013 at 8:19 PM, ko1 (Koichi Sasada)
<[email protected]>wrote:

> We Heroku Matz team developed a new generational mark&sweep garbage
> collection algorithm RGenGC for CRuby/MRI.
> (correctly speaking, it i...
judofyr (Magnus Holm)
08:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/28 20:27), rkh (Konstantin Haase) wrote:
> Wow, nice! Is there a patch/branch around somewhere already to take a look at?


> Code is: https://github.com/ko1/ruby/tree/rgengc

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
08:27 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Wow, nice! Is there a patch/branch around somewhere already to take a look at?
Keep up the good work!
rkh (Konstantin Haase)
03:54 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/04/28 9:23), authorNari (Narihiro Nakamura) wrote:
> Great work!!! Does RGenGC Ruby pass test-all?

Sure.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
09:23 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Great work!!! Does RGenGC Ruby pass test-all?
> How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
+1
authorNari (Narihiro Nakamura)
04:01 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
=begin
Great, even a simpleton like me understood. So (({Dog.new.speak})) will get incinerated as soon as it finishes its ((%"Bow wow"%)), while senior objects have tenure. Btw. let me express thanks for 2.0, it's noticeably faster than...
Anonymous
03:19 AM Feature #8339 (Closed): Introducing Geneartional Garbage Collection for CRuby/MRI
| One day a Rubyist came to Koichi and said, "I understand how to improve
| CRuby's performance. We must use a generational garbage collector." Koichi
| patiently told the Rubyist the following story: "One day a Rubyist came
| t...
ko1 (Koichi Sasada)
11:46 PM Feature #8343 (Closed): StringScanner#[] should accept names of named captures
Example:
s = StringScanner.new("Fri Dec 12 1975 14:39")
s.scan(/(?<wday>\w+) (?<month>\w+) (?<day>\d+) /)
# this currently works
s[0] # -> "Fri Dec 12 "
s[1] ...
rkh (Konstantin Haase)
11:38 PM Feature #6183: Enumerator::Lazy performance issue
This patch is big, but I hope to review it soon as I will be working on Lazy soon zzak (zzak _)
11:34 PM Bug #8084: ext/tk/MANUAL_tcltklib.eucj is utf-8
@znz what do you suggest? zzak (zzak _)
11:22 PM Bug #8213: No documentation for `ri YAML`
zzak (Zachary Scott) wrote:
> @eregon Hi! Yes, nobu pointed out another way here: https://twitter.com/n0kada/status/328342207511801856
> ...
Still a bit hacky but sure I will do that :)
Eregon (Benoit Daloze)
10:52 PM Bug #8213: No documentation for `ri YAML`
@eregon Hi! Yes, nobu pointed out another way here: https://twitter.com/n0kada/status/328342207511801856
Want to write a patch?
zzak (zzak _)
10:13 PM Bug #8213: No documentation for `ri YAML`
zzak (Zachary Scott) wrote:
> @nobuhiro-san Thank you, I'm sorry for this mistake. Please check it now after r40509
Is there not a way to tell rdoc to document the YAML module without declaring it in the code?
The "if false" just lo...
Eregon (Benoit Daloze)
10:30 AM Bug #8213: No documentation for `ri YAML`
@zzak-san It works without warnings, thank you!
no6v (Nobuhiro IMAI)
10:14 AM Bug #8213: No documentation for `ri YAML`
@nobuhiro-san Thank you, I'm sorry for this mistake. Please check it now after r40509 zzak (zzak _)
09:18 AM Bug #8213: No documentation for `ri YAML`
=begin
Hi, this causes warnings as follow:
$ ruby -ryaml -ve ''
ruby 2.1.0dev (2013-04-28 trunk 40506) [x86_64-linux]
/home/nov/.rvm/rubies/ruby-head/lib/ruby/2.1.0/yaml.rb:83: warning: already initialized constant YAML
/home/...
no6v (Nobuhiro IMAI)
10:20 PM Bug #8337 (Closed): Test failure and memory leak with OpenSSL::BN
This issue was solved with changeset r40513.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ossl_bn.c: fix ossl_bn_initialize bug with integer
* ext/open...
Anonymous
09:58 PM Revision 6fb5140d (git): ossl_bn.c: reduce alloca/malloc
* ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for
small fixed size array.
* ext/openssl/ossl_bn.c (ossl_bn_initialize): check overflow first,
and use alloca for small size input.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
09:13 PM Bug #8342 (Closed): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
Under normal circumstances, IO.readlines will transcode from Encoding.default_external to Encoding.default_internal:
File.open('hi', 'w') { |f| f.puts "hello\n" }
Encoding.default_external = Encoding::US_ASCII
Encoding.default_inter...
leocassarani (Leo Cassarani)
08:53 PM Feature #8291: Allow retrieving the root Fiber of a Thread
(2013/04/28 19:35), halorgium (Tim Carey-Smith) wrote:
> I am proposing adding the ability to call Thread#root_fiber to return the Fiber which is considered the original co-routine for the specified Thread.
> This is useful to be a...
ko1 (Koichi Sasada)
07:35 PM Feature #8291: Allow retrieving the root Fiber of a Thread
I am proposing adding the ability to call Thread#root_fiber to return the Fiber which is considered the original co-routine for the specified Thread.
This is useful to be able to retrieve information about the original Fiber for the Th...
halorgium (Tim Carey-Smith)
07:53 AM Feature #8291: Allow retrieving the root Fiber of a Thread
(13/04/28 7:40), SASADA Koichi wrote:
> BTW, there are no Thread.backtrace method.
>
> Thread.backtrace
> #=>
> ruby 2.1.0dev (2013-03-18 trunk 39808) [i386-mswin32_100]
> t.rb:1:in `<main>': undefined method `backtrace' fo...
nobu (Nobuyoshi Nakada)
07:53 AM Feature #8291: Allow retrieving the root Fiber of a Thread
(2013/04/19 15:53), halorgium (Tim Carey-Smith) wrote:
> Currently (({Thread.backtrace})) returns the stack frames for the currently running (({Fiber})).
> It is not possible to retrieve the backtrace.
>
> Building on http://...
ko1 (Koichi Sasada)
07:30 PM Feature #8263: Support discovering yield state of individual Fibers
When you have many Fibers inside a Thread.
You cannot find where the FIbers are currently suspended.
I propose adding a method to Fiber to return this information.
Calling Fiber.current.backtrace would be equivalent to Thread.c...
halorgium (Tim Carey-Smith)
07:53 AM Feature #8263: Support discovering yield state of individual Fibers
Sorry, I can't understand what is your proposal.
At first example <https://gist.github.com/halorgium/f63abf177a96d7113ce3>,
there is only "thread.backtrace". However, we have already Thread#backtrace.
p Thread.current.backtrace
#...
ko1 (Koichi Sasada)
05:00 PM Feature #6242: Ruby should support lists
List processing is a draw back??
http://www.venkotech.com
jasonsmith (jason smith)
03:40 PM Revision 312a5a8c (git): * 2013-04-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision bdc8087f (git): * lib/yaml.rb: Clarify documentation about YAML being always Psych.
Give a tip about using Syck. See #8344.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
02:34 PM Revision 253f49db (git): * lib/yaml.rb: Use another trick to define the YAML module.
https://twitter.com/n0kada/status/328342207511801856
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
02:19 PM Revision 531d47d6 (git): * lib/pp.rb: Update PP module overview by @geopet
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:20 PM Revision be4aa330 (git): ossl_bn.c: fix ossl_bn_initialize bug with integer
* ext/openssl/ossl_bn.c (ossl_bn_initialize): fix buffer overflow on
x64 Windows and memory leak when initializing with integer.
[ruby-core:54615] [Bug #8337]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40513 b2dd03c8-39d4-4d8...
h.shirosaki (Hiroshi Shirosaki)
10:50 AM Bug #8225 (Closed): Missing RI file for Kernel.open
I've moved this over to RDoc's bug tracker: https://github.com/rdoc/rdoc/issues/222 zzak (zzak _)
10:40 AM Bug #8242: Fix rdoc of Range#bsearch
@marcandre What do you suggest? zzak (zzak _)
09:51 AM Bug #8162 (Closed): Documentation for trust/taint lacking
This issue was solved with changeset r40508.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Documentation for taint and trust [Bug #8162]
zzak (zzak _)
08:30 AM Feature #8121 (Closed): updated Curses::Window example
This issue was solved with changeset r40506.
Michal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/curses/curses.c: Update Curses::Window example for nicer ...
zzak (zzak _)
08:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
(2013/04/28 7:59), Charles Oliver Nutter wrote:
>> > (2) How about to use `$!' forcibly?
> Do you mean automatically stick $! into Exception#cause when creating
> (or perhaps better, when raising) a new Exception? That's not a bad...
ko1 (Koichi Sasada)
08:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
On Sat, Apr 27, 2013 at 5:19 PM, SASADA Koichi <[email protected]> wrote:
> (1) introduce new keyword?
>
> example: raise(..., cause: e)

Yeah, that's not bad. Keywords allow us to avoid changing the
signature in new/incompatib...
headius (Charles Nutter)
07:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
(2013/04/28 7:19), SASADA Koichi wrote:
> (2) How about to use `$!' forcibly?

because I think Exception#cause= is not cool.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
07:23 AM Feature #8257: Exception#cause to carry originating exception along with new one
(2013/04/12 1:40), headius (Charles Nutter) wrote:
> * A new set of Kernel#raise overloads that accept (as a trailing argument, probably) the "cause" exception.

(1) introduce new keyword?

example: raise(..., cause: e)

...
ko1 (Koichi Sasada)
07:59 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
(2013/04/17 2:54), headius (Charles Nutter) wrote:
>
> What's the next step here? Do we need a patch to proceed? It seems like this feature is universally liked.

I don't have any objection about it now.

Patches are welcom...
ko1 (Koichi Sasada)
07:29 AM Feature #8270: Ruby should build without thread support (aka minix)
(2013/04/16 4:04), eike.rb (Eike Dierks) wrote:
> I'd like to suggest that ruby should still build on platforms without threads.

Should I spend a time for this issue?
It is easy to solve, but not in short time.

I feel it i...
ko1 (Koichi Sasada)
07:07 AM Feature #4211 (Rejected): Converting the Ruby and C API documentation to YARD syntax
I'm going to reject this, if you have a specific proposal how to improve RDoc please open a feature ticket. zzak (zzak _)
07:04 AM Feature #7712 (Rejected): Add .txt extensions to all plain-text documentation files for Windows users
I'm going to reject this, I agree with Luis [ruby-core:51610]. zzak (zzak _)
05:58 AM Feature #8338: compilation failure in nkf with Bionic (Android's libc)
そのパッチを当てると、make, make install まで通るようになります。
(もちろん動かしていないので、そこから先は知りません)
akr (Akira Tanaka)
05:15 AM Feature #8338 (Assigned): compilation failure in nkf with Bionic (Android's libc)
こんな感じで通りますかね
diff --git a/nkf.h b/nkf.h
index cbe5f56..af44320 100755
--- a/nkf.h
+++ b/nkf.h
@@ -152,6 +152,7 @@ void setbinmode(FILE *fp)
# ifndef HAVE_LOCALE_H
# define HAVE_LOCALE_H
# endif
+#elif defined(__BIONIC__) ...
naruse (Yui NARUSE)
01:04 AM Feature #8338 (Closed): compilation failure in nkf with Bionic (Android's libc)
buildroot 以外での cross compile もしてみようかと思って、
Android を試したところ、nkf のところで compile に失敗します。
Bionic (Android の libc) には langinfo.h がないのが原因のようです。
nkf.h を見たところ、どう修正するのが適切なのかわからなかったので
issue としておきます。
私の環境 (x86_64 な Debian GNU/Linux (squeez...
akr (Akira Tanaka)
05:58 AM Bug #8340: rubyzip does not save time of zipped files
Another try to fix this is to add
def kind_of?( arg )
super( arg ) || __getobj__.kind_of?( arg )
end
to c:\win\Ruby200x64\lib\ruby\gems\2.0.0\gems\rubyzip-0.9.9\lib\zip\zip_streamable_stream.rb
Thilo.Opaterny (Thilo Opaterny)
05:49 AM Bug #8340 (Third Party's Issue): rubyzip does not save time of zipped files
Report this to rubyzip's tracker.
https://github.com/aussiegeek/rubyzip
naruse (Yui NARUSE)
05:36 AM Bug #8340 (Third Party's Issue): rubyzip does not save time of zipped files
I wrote a little test
----------------------
require 'zip/zip'
zipName = "test.zip"
zipFile = Zip::ZipFile.open( zipName, Zip::ZipFile::CREATE )
file = File.open( "save.rb", "rb")
puts time = Zip::DOSTime.at( file.mtime )
zipE...
Thilo.Opaterny (Thilo Opaterny)
03:54 AM Revision 1e51f304 (git): test_io_console.rb: investigate hang-up
* test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
grab error outputs and stop the loop upto 3 seconds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:38 AM Revision 66c0e012 (git): README.EXT: update note
* README.EXT: correct method name to be used. [Bug #7982]
* README.EXT.ja: add notes too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:18 AM Feature #2509: Recursive freezing?
I would beg to make the method name #deep_freeze, if possible. Anonymous
01:35 AM Revision 9ef25d88 (git): * object.c: With feedback from Steve Klabnik, reverted a change to
#untrusted? and #tainted?. Also adjusted grammar for $SAFE levels
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
01:11 AM Revision 2068f3ce (git): * lib/yaml.rb: Disable setting YAML const twice [ruby-core:54642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:51 AM Revision 6fe3e9e4 (git): * object.c: Documentation for taint and trust [Bug #8162]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:42 AM Revision e7316275 (git): * README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
 

Also available in: Atom