Project

General

Profile

Activity

From 05/01/2013 to 05/07/2013

05/07/2013

11:39 PM Bug #8379 (Closed): json dependency problem
json の Makefile の依存関係ですが、generator.o と parser.o の依存先の
ヘッダファイルが足りないようです。
過不足を調べてくれるスクリプト (update-deps) によれば、以下が足りな...
akr (Akira Tanaka)
10:51 PM Revision 2816e539 (git): * 2013-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:51 PM Revision bbcf97fa (git): * ext/socket/socket.c (socket_s_ip_address_list): fix wrongly filled
sin6_scope_id on KAME introduced by r40593 for OpenIndiana.
KAME uses fe80:<scope_id>::<interface id> for link-loca...
naruse (Yui NARUSE)
10:26 PM Bug #8378 (Closed): json/generator/generator.c: warning: array subscript has type 'char'
ふと、cygwin を target とする cross-compile をしてみたところ、
以下の警告を見つけました。
(たぶん cross でなくても警告されると思います)
make[2]: Entering direc...
akr (Akira Tanaka)
09:51 PM Bug #8376: utc method changes original time object
I admit this is a bad design, but changing it introduces incompatibility.
We don't consider it as a bug (thus we rej...
matz (Yukihiro Matsumoto)
09:39 PM Bug #8376: utc method changes original time object
naruse (Yui NARUSE) wrote:
> Time#utc is destructive method.
> Use dup if you want a copy.
That seems the point ...
mosselman (Achilleas Buisman)
07:35 PM Bug #8376 (Rejected): utc method changes original time object
Time#utc is destructive method.
Use dup if you want a copy.
naruse (Yui NARUSE)
07:32 PM Bug #8376 (Rejected): utc method changes original time object
The utc method changes the original time object when called.
For example when on a system with a CET timezone.
...
arjan0307 (Arjan Diepenbroek)
07:49 PM Feature #8377 (Rejected): Deprecate :: for method calls in 2.1
=begin
(({::})) is usually a constant lookup operator, but it can also be used to call methods. This can confusing t...
Anonymous
04:49 PM Revision 555035a3 (git): merge revision(s) 40208: [Backport #8380]
* internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
(MUL_OVERFLOW_FIXNUM_P): Ditto.
(MUL_OVE...
nagachika (Tomoyuki Chikanaga)
04:45 PM Bug #8374 (Assigned): race condition when two threads require a gem
Seems rubygems specific. nobu (Nobuyoshi Nakada)
02:43 PM Bug #8374 (Closed): race condition when two threads require a gem
=begin
Requiring a gem with a C extension seems to be not threadsafe.
Any one of the require lines below will fre...
vjoel (Joel VanderWerf)
01:15 PM Revision 42642407 (git): * ext/readline/readline.c (insert_ignore_escape): Add a cast to
unsigned char * before dereference.
This suppress a warning on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
akr (Akira Tanaka)
12:12 PM Bug #8373 (Rejected): Failure to run "rails server"
"[BUG] unknown type 0x22" is most probably T_DATA for ruby 1.8.
You have an extension library (or more) for older ru...
nobu (Nobuyoshi Nakada)
07:47 AM Bug #8373 (Rejected): Failure to run "rails server"
Yesterday, running "rails server" worked. Today it didn't. What happened is the following:
First, I will describe ...
surrealdetective (Alex Au)
11:18 AM Revision b6f0a306 (git): * test/ruby/test_thread.rb (invoke_rec): extend timeout 10 -> 50 sec,
to investigate test failure on rubyci.
http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-2.0.0-m64-o0/log/20130507...
nagachika (Tomoyuki Chikanaga)
10:03 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
=begin
Thank you for valuable input.
That indicates the need for something like (({str.strip(:ascii)})), or oppos...
matz (Yukihiro Matsumoto)
01:59 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
matz (Yukihiro Matsumoto) wrote:
> Akira, Thank you for pointing out.
>
> But it's hard for me to imagine concret...
naruse (Yui NARUSE)
01:12 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Akira, Thank you for pointing out.
But it's hard for me to imagine concrete problematic cases.
When text from net...
matz (Yukihiro Matsumoto)
03:41 AM Bug #8372 (Rejected): Segmentation fault with Factory Girl when using :class, typo on related factory
This is a duplicate of #8100
Please try it again with trunk.
zzak (zzak _)
02:29 AM Bug #8372 (Rejected): Segmentation fault with Factory Girl when using :class, typo on related factory
=begin
This bug is partially the result of a typo, partially learning and switching things around in FactoryGirl, an...
jshirley (Jay Shirley)
03:19 AM Revision 593c24f8 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): Add a cast to
suppress warning.
Bionic defines socklen_t as int.
Bionic defines msg_controllen as unsigned int (__kernel_size_t...
akr (Akira Tanaka)
03:14 AM Revision cb2f3c1b (git): * ext/socket/ancdata.c (ancillary_inspect): Don't call
anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO.
anc_inspect_ipv6_pktinfo is not defined in the case.
...
akr (Akira Tanaka)
03:12 AM Revision 2b792abd (git): * ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE as
int. This suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40597 b2dd03c8-39d4-4d8f-98ff-823...
akr (Akira Tanaka)
03:10 AM Revision 301821bd (git): * ext/socket/extconf.rb: Set close_fds false for Cygwin.
Cygwin doesn't support fd passing.
This enables socket extension library cross-compilable by default.
git-svn-id...
akr (Akira Tanaka)
03:09 AM Revision f4fd7790 (git): * 2013-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 AM Revision 570015a1 (git): * pack.c (swap32): Don't redefine it if it is already defined.
Bionic defines it.
(swap64): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40594 b2dd03c8-39d4-4d8f-9...
akr (Akira Tanaka)
03:01 AM Feature #8366: Exception.message take time to execute depending on the instance variables
nobu (Nobuyoshi Nakada) wrote:
> You should define inspect method.
But it is not practical to define inspect on a...
anuraguniyal (anurag uniyal)

05/06/2013

10:53 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
2013/5/6 matz (Yukihiro Matsumoto) <[email protected]>:
>
> Everything that can be resolved without locale/lang...
akr (Akira Tanaka)
09:52 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Everything that can be resolved without locale/language information (for most of the cases).
Case conversion may hav...
matz (Yukihiro Matsumoto)
09:25 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Current string-related policy is ASCII-based.
If it is changed, how wide it is applied is the issue; for example
* ...
naruse (Yui NARUSE)
05:58 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Five yeas have passed since the decision in [ruby-core:19379], and Unicode had almost taken over the world.
Maybe it...
matz (Yukihiro Matsumoto)
02:28 PM Feature #7845 (Open): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
naruse (Yui NARUSE) wrote:
> Did you read [ruby-core:19379]?
I did.
Out of respect, I will assume that you re...
marcandre (Marc-Andre Lafortune)
10:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/5/6 SASADA Koichi <[email protected]>:
>
> You are right. It was my mistake.

RGenGC is ABI incompatible.
...
akr (Akira Tanaka)
09:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/06 21:23), Tanaka Akira wrote:
> I think many extension libraries uses RARRAY_PTR macro.
> I feel such ...
ko1 (Koichi Sasada)
09:29 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/5/6 SASADA Koichi <[email protected]>:

> (a) ABI compatibility will be braek
> (b) But normal C-exts can w...
akr (Akira Tanaka)
03:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/06 11:47), sam.saffron (Sam Saffron) wrote:
> @ko1 can we backport the GC optimisations (non rgengc ones ...
ko1 (Koichi Sasada)
03:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/06 11:50), Tanaka Akira wrote:
> Is it ABI compatible?

(1) ABI compatbible for most of part.

Yo...
ko1 (Koichi Sasada)
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/5/4 SASADA Koichi <[email protected]>:
>
> Thank you for your positive response.
> I will merge it soon.

...
akr (Akira Tanaka)
11:47 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
@ko1 can we backport the GC optimisations (non rgengc ones in this branch into 2.0? ) sam.saffron (Sam Saffron)
08:33 PM Feature #8368: Socket.getifaddrs
I updated the patch to fix compile error on environments which has no getifaddrs().
Also I refined the result of Soc...
akr (Akira Tanaka)
01:40 AM Feature #8368: Socket.getifaddrs
judofyr (Magnus Holm) wrote:
> Shouldn't this be moved to CommonRuby?
There's no such consensus yet, especially b...
naruse (Yui NARUSE)
01:23 AM Feature #8368: Socket.getifaddrs
Shouldn't this be moved to CommonRuby? judofyr (Magnus Holm)
12:00 AM Feature #8368: Socket.getifaddrs
I'm for this method. naruse (Yui NARUSE)
06:17 PM Bug #8364: Vim's if_ruby feature sometimes crash.
Thank you for your advice.
You can close this issue.
Anonymous
11:51 AM Revision 9e08404b (git): * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_id
if getifaddrs() returns an IPv6 link local address which
sin6_scope_id is zero, such as on OpenIndiana SunOS 5.11.
...
akr (Akira Tanaka)
06:40 AM Revision 85bfd730 (git): * compar.c (Comparable#==): fix typo.
Patch by Andrew Grimm. [Fix GH-297]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40592 b2dd03c8-39d4-4d8f-98ff-...
Eregon (Benoit Daloze)
04:26 AM Feature #8371 (Feedback): Make some enumerators mimic arrays
Some enumerators yields data by one element so that in some way such enumerators can be treated as arrays in some way... prijutme4ty (Ilya Vorontsov)
02:31 AM Bug #8369 (Closed): r40574 build fail
zzak (zzak _)
02:29 AM Bug #8310 (Rejected): resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
Duplicate of #8100 zzak (zzak _)
01:22 AM Revision ef07aa79 (git): * 2013-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision 912f9dcc (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

05/05/2013

09:59 PM Feature #8365: Make variables objects
Interesting, but this would make Ruby VERY SLOW.
I am not sure whether it's worth the performance degration.
Matz.
matz (Yukihiro Matsumoto)
03:26 PM Feature #8365: Make variables objects
Here is my understanding of the original author's idea, which, I hope, will not turn out to be dismally and irremedia... Anonymous
08:54 PM Feature #8370 (Closed): Constants MAX_MULTIPART_LENGTH in cgi/core.rb
Reported by Andreas Kraus via gmail.
> hi xibbar,
>
> I try to understand why the `MAX_MULTIPART_LENGTH` is a Cons...
xibbar (Takeyuki FUJIOKA)
06:54 PM Bug #8364: Vim's if_ruby feature sometimes crash.
I don't know the rationale, but adding RUBY_INIT_STACK before init() seems to suppress the crash.
int main(int arg...
h.shirosaki (Hiroshi Shirosaki)
01:19 PM Bug #8364: Vim's if_ruby feature sometimes crash.
You are right. With -Wall flag, I got warning "implicit declaration of
function 'ruby_error_print'". But it is not...
Anonymous
12:40 PM Bug #8364: Vim's if_ruby feature sometimes crash.
=begin
I couldn't link your source because (({ruby_error_print})) is not exported.
It run successfully by replacing t...
nobu (Nobuyoshi Nakada)
04:08 PM Revision e5463b4c (git): merge revision(s) 40587:
* lib/cgi/session.rb: Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40589 b2dd03c8-39d...
nagachika (Tomoyuki Chikanaga)
04:08 PM Revision 8aceebf8 (git): merge revision(s) 40586:
* doc/syntax/refinements.rdoc : Fix a missing quote
Patch by Robin Dupret. [Fix GH-271]
git-svn-id: svn+ssh://ci.r...
nagachika (Tomoyuki Chikanaga)
02:07 PM Feature #4592: Tempfileを直接保存したい
Tempfile#to_file!(path)
とか?
# 自分の提起チケットなので反応してみました。
# いろいろあった結果、担当がMatzになっていますね。
xibbar (Takeyuki FUJIOKA)
01:28 PM Bug #8369: r40574 build fail
Ah yes, a red herring issue. Removing those ignored, generated files from the source dir fixed it, and they're now be... jonforums (Jon Forums)
12:34 PM Bug #8369: r40574 build fail
Hello,
I have encountered the same build failure few days ago.
In my case, removing id.h and id.c in the source d...
nagachika (Tomoyuki Chikanaga)
11:35 AM Bug #8369: r40574 build fail
Similar build fails on 64bit arch (gcc 4.8.0) and 64bit ubuntu server 13.04 (gcc 4.7.3) jonforums (Jon Forums)
10:46 AM Bug #8369 (Closed): r40574 build fail
The following build fail info is from my arch 32bit system with gcc 4.8.0, but I see the same fail (less descriptive ... jonforums (Jon Forums)
01:27 PM Revision 3957501d (git): * lib/cgi/session.rb: Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
11:49 AM Revision 96e14ad2 (git): * doc/syntax/refinements.rdoc : Fix a missing quote
Patch by Robin Dupret. [Fix GH-271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40586 b2dd03c8-39d4-4d8f-98ff-...
Eregon (Benoit Daloze)
10:02 AM Revision f620e9e7 (git): * test/ruby/test_defined.rb (TestDefined#test_super_toplevel):
additional test for r40584.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40585 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
09:57 AM Revision babae049 (git): insns.def: refactor by wanabe
* insns.def (defined): use vm_search_superclass() like as normal super
call. based on a patch <https://gist.github...
nobu (Nobuyoshi Nakada)
09:24 AM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
@zzak Just tried it on trunk, seems fixed for me after ~15 minutes of running (v2.1.0dev with redis: 1.24.1, redis: 3... teeray (Timothy Raymond)
07:29 AM Revision 08fbd2ce (git): insns.def: method entry from method frame
* insns.def (defined): get method entry from the method top level
frame, not block frame. [ruby-core:54769] [Bug #...
nobu (Nobuyoshi Nakada)
06:54 AM Revision 13bd7afc (git): configure.in: default LINK_SO
* configure.in: should not strip newline at the beginning for the
default link command.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
04:37 AM Revision 38ea534c (git): configure.in: keep POSTLINK
* configure.in: keep POSTLINK in LINK_SO macro till rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
nobu (Nobuyoshi Nakada)
04:29 AM Revision 36de5e4d (git): ruby.pc.in: rubyarchhdrdir
* template/ruby.pc.in (Cflags): use rubyarchhdrdir for multiarch.
[Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
02:40 AM Revision f259b884 (git): * 2013-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:40 AM Revision 4bbd1d9d (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:03 AM Feature #7845 (Rejected): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
marcandre (Marc-Andre Lafortune) wrote:
> Let's reopen this issue.
>
> Yui: could you explain why strip wouldn't ...
naruse (Yui NARUSE)
01:50 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
A patch for this is pretty straightforward, see https://gist.github.com/tgarnett/5032660 which is only a couple of li... timothyg56 (Timothy Garnett)
01:24 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
Hello,
matz (Yukihiro Matsumoto) wrote:
> I agree with most of your changes in the patch, especially using rb_che...
Eregon (Benoit Daloze)

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 person...
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 cl...
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 yo...
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
...
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 <...
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 por...
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 case...
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 ...
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/r...
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 ...
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...
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 wor...
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 t...
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....
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 wort...
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*...
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}
# ...
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 ...
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 ...
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): Annota...
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/...
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 ...
xibbar (Takeyuki FUJIOKA)
10:59 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
CGI でも、いわゆるロジックっぽい部分で h を使うのは推奨されないと思うんですが、
確かに CGI の html 生成の部分は、ERB と同じ理由で短い名前が欲しそうですね。
納得しました。賛成しないのを取り下げます。
...
mame (Yusuke Endoh)
08:57 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
一般的なコードの中でescapeHTMLが多用されるとは思わないのですが、
cgiアプリの中ではある程度escapeHTMLが必要になります。
これが随所に出てきて、
@cgi = CGI.new("html5")
login...
xibbar (Takeyuki FUJIOKA)
12:10 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
escapeHTML を関数として呼び出せるのはいいと思います。
しかし h のエイリアスはあまり賛成でないです。一般的なプログラムの中で
s = h s
みたいなコードを書くことを Ruby が推奨しているとは...
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://...
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.
...
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.
> GC related events are special. So I wa...
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
gi...
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://c...
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 uin...
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/tru...
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 b...
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 han...
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 e... 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? h... 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 ...}))?...
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:...
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")...
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) F...
phasis68 (Heesob Park)
05:08 PM Bug #8353 (Closed): segfault with puma-1.6.3
trevor (trevor 6) wrote:
> /lib64/libpthread.so.0() [0x3533c0f500]
> /usr/local/lib/libruby.so.2.0(+0x7fa38) [0x7f3...
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...
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/rub...
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::IN...
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_inherit...
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-39d...
nobu (Nobuyoshi Nakada)
08:43 AM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
cgi/util.rb には CGI.escapeHTML などのメソッドがあります。
これらを使うにはCGI.escapeHTML(str) みたいにして
いちいち全部書かなきゃならなくて、
長いと思っています。
erbを使...
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:...
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 inst...
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/rub...
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 b2dd03...
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 s...
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+...
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@4...
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 p... 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) Er...
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...
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. As...
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-gettin...
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 ...
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...
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...
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...
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 fallb...
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" ...
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 i...
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 b2dd03c...
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 ...
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 librari...
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.
> There is also a different usage of `String...
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 strin...
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_cont...
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+s...
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+...
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...
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): ditt...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom