Project

General

Profile

Activity

From 04/01/2013 to 04/07/2013

04/07/2013

11:53 PM Bug #8185: Thread/fork issue
2013/4/7 KOSAKI Motohiro <[email protected]>:

> Also, Process.exit! escape to run at_exit handler. I th...
akr (Akira Tanaka)
11:29 PM Bug #8185: Thread/fork issue
> On second thought, I feel exit! is more essential solution.
>
> Because there may be other objects which behav...
kosaki (Motohiro KOSAKI)
10:23 AM Bug #8185: Thread/fork issue
2013/4/3 Tanaka Akira <[email protected]>:
> 2013/4/3 KOSAKI Motohiro <[email protected]>:
>>
>> I believe ...
akr (Akira Tanaka)
10:40 PM Feature #4270 (Closed): Resolv does not handle UTF8 domain names.
It seems this feature is provided by a gem.
So I close this issue now.
akr (Akira Tanaka)
08:27 PM Feature #4270: Resolv does not handle UTF8 domain names.
For now, I've rolled up some code into a gem: resolv-idn
steakknife (Barry Allard)
05:39 PM Feature #4270: Resolv does not handle UTF8 domain names.
That was a rough suggestion that works right now, it's definitely not perfect. It makes sense for someone to create ... steakknife (Barry Allard)
02:44 PM Feature #4270: Resolv does not handle UTF8 domain names.
It is not appropriate to use external library from bundled library such as resolv.rb. akr (Akira Tanaka)
11:33 AM Feature #4270: Resolv does not handle UTF8 domain names.
We've been using a monkey patch based on gnu libidn's functions for rfcs 3490, 3491 & 3492.
Here's an extract of the...
steakknife (Barry Allard)
09:42 PM Bug #5463 (Feedback): PTY or IO.select timing issue results in no EOF
I tried to reproduce the problem on Debian GNU/Linux and FreeBSD. (I don't have Mac OS X.)
It is possible but very ...
akr (Akira Tanaka)
07:13 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
Yup, I am sorry if that was not clear!
I also am very interested in being able to get the backtrace of a `Fiber` t...
halorgium (Tim Carey-Smith)
06:25 PM Feature #8232 (Assigned): Rudiments of abstract algebra in Ruby
I have recently been struggling with Matrix class to make it accept physical magnitudes for matrix multiplication, an... Anonymous
03:11 PM Bug #8226: incorrect timezone offset under Solaris 11 x64
This bug is a duplicate of bug #7868.
It was already fixed and backported to 2.0.0.
phasis68 (Heesob Park)
07:26 AM Bug #8226: incorrect timezone offset under Solaris 11 x64
I cannot reproduce with 2.1.0dev from Git.
$ /opt/apache2/ruby-2.1.0/bin/ruby -v
ruby 2.1.0dev (2013-04-07 trunk 40...
[email protected] (John Groenveld)
03:11 PM Revision 8e4d69ad (git): merge revision(s) 39810: [Backport #8145]
* gc.c: Fix unlimited memory growth with large values of
RUBY_FREE_MIN. patched by tmm1(Aman Gupta).
...
nagachika (Tomoyuki Chikanaga)
01:34 PM Revision 28221e35 (git): merge revision(s) 39811: [Backport #8146]
* gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).
[Bug #8093] [ruby-core:53393]
git-svn...
nagachika (Tomoyuki Chikanaga)
01:14 PM Bug #8230: Segmentation fault: at_exit
I couldn't reproduce on trunk r40172 and ruby 1.9.3p392. Glass_saga (Masaki Matsushita)
11:32 AM Bug #8230: Segmentation fault: at_exit
At least i couldn't reproduce on trunk.
% build/ruby-trunk --disable-gems -v -r ./at_exit.rb -e "q"
ruby 2.1.0dev...
kosaki (Motohiro KOSAKI)
08:57 AM Bug #8230: Segmentation fault: at_exit
(gdb) bt
#0 0x00007fff8c484212 in __pthread_kill ()
#1 0x00007fff8578fb54 in pthread_kill ()
#2 0x00007fff857d3...
gojpeg (Peter Leonov)
08:51 AM Bug #8230: Segmentation fault: at_exit
~/Library/Logs/CrashReporter/ is empty, and /Library/Logs/CrashReporter/ doesn't exist. gojpeg (Peter Leonov)
08:43 AM Bug #8230 (Rejected): Segmentation fault: at_exit
Got segfault usin TextMate run script window. Thought it up to TextMate and started to digg.
Ended up with heisenbug...
gojpeg (Peter Leonov)
12:28 PM Revision 6cb682a4 (git): * object.c (rb_mod_const_set): call to_str for string only once.
to_str was called from rb_is_const_name and rb_to_id before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40175...
naruse (Yui NARUSE)
12:18 PM Revision d9ff5c22 (git): * object.c (rb_mod_cvar_set): call to_str for string only once.
to_str was called from rb_is_class_name and rb_to_id before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40174...
naruse (Yui NARUSE)
09:07 AM Feature #5677 (Feedback): IO C API
It seems no one design/implement seriously on such an IO framework.
akr (Akira Tanaka)
08:14 AM Feature #8229 (Assigned): extend Hash.include?
I'd like to suggest to extend the Hash.include? method.
Currently Hash.include? can only be used to ask for a key,...
eike.rb (Eike Dierks)
05:33 AM Feature #8223: Make Matrix more omnivorous.
So with another apology, I will use this space to write down a few more remarks so that I do not forget about them. M... Anonymous
04:48 AM Feature #8223: Make Matrix more omnivorous.
Ahh, I remembered now, initial zero has to be provided to make empty collections work.
My suggested patch breaks emp...
Anonymous
04:30 AM Feature #8223: Make Matrix more omnivorous.
For starters, I propose changing the existing Matrix#* method to the following:
class Matrix
# Matrix multiplic...
Anonymous
05:11 AM Revision 875bba3f (git): Regexp.escape(RUBY_PLATFORM)
* test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
RUBY_PLATFORM should escape as Regexp,
beca...
znz (Kazuhiro NISHIYAMA)
02:00 AM Revision 1f32d095 (git): * include/ruby/defines.h: Simplify the logic to include sys/select.h.
This fixes a compilation error on Haiku (gcc2 and gcc4).
* configure.in: Use shared linker as $(CC) for Haiku.
Thi...
akr (Akira Tanaka)
01:42 AM Revision 672490d0 (git): * lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:14 AM Feature #3348: rubyspec: Kernel.spawn redirects both STDERR and STDOUT to the given name ERROR
>この機能ですが、Ruby 2.1 で minor incompatibilities を許容するならそろそろ入れてもいいんじゃないでしょうか。
わたしも入れていいと思います。
kosaki (Motohiro KOSAKI)
12:01 AM Feature #3348: rubyspec: Kernel.spawn redirects both STDERR and STDOUT to the given name ERROR
この機能ですが、Ruby 2.1 で minor incompatibilities を許容するならそろそろ入れてもいいんじゃないでしょうか。 akr (Akira Tanaka)
01:02 AM Bug #6247 (Closed): Range not checked for day of year
This issue was solved with changeset r40165.
Ruby, thank you for reporting this issue.
Your contribution to Ruby is g...
akr (Akira Tanaka)
12:53 AM Feature #8191: Short-hand syntax for duck-typing
On Apr 6, 2013 9:12 PM, "rosenfeld (Rodrigo Rosenfeld Rosas)" <
[email protected]> wrote:
>
> Matthew, if you ha...
phluid61 (Matthew Kerwin)

04/06/2013

11:52 PM Feature #1436 (Closed): Please consider this addition to resolv.rb which adds methods for resolving LOC resources
This issue was solved with changeset r40162.
JB, thank you for reporting this issue.
Your contribution to Ruby is gre...
akr (Akira Tanaka)
11:32 PM Feature #8089 (Closed): Add one-shot multicast DNS support to Resolv
This issue was solved with changeset r40160.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
akr (Akira Tanaka)
11:11 PM Bug #6456 (Third Party's Issue): [readline] Readline.point when history edited
Readline.pointの実体はGNU readlineの変数rl_pointですが、次のようなコードで検証したところ
#include <stdlib.h>
#include <stdio.h>
#include <r...
Glass_saga (Masaki Matsushita)
10:16 PM Feature #4788 (Closed): resolv.rb refactoring
This issue was solved with changeset r40159.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is...
akr (Akira Tanaka)
08:11 PM Feature #8191: Short-hand syntax for duck-typing
Matthew, if you have tried to provide a real use case you'd understand what I meant. For user.profile.website.thumbna... rosenfeld (Rodrigo Rosenfeld Rosas)
01:36 PM Feature #8191: Short-hand syntax for duck-typing
=begin
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Matthew, I'm curious. What method would you call over "false"?...
phluid61 (Matthew Kerwin)
11:11 AM Feature #8191: Short-hand syntax for duck-typing
Matthew, I'm curious. What method would you call over "false"? It would help if could provide a real-world use case s... rosenfeld (Rodrigo Rosenfeld Rosas)
11:01 AM Feature #8191: Short-hand syntax for duck-typing
=begin
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> 1. Abort on nil
> 2. Abort on falsey
> 3. Abort when respo...
phluid61 (Matthew Kerwin)
09:19 AM Feature #8191: Short-hand syntax for duck-typing
I forgot to state why I believe 2 shouldn't be accepted. It doesn't make sense in any of the real-world software I've... rosenfeld (Rodrigo Rosenfeld Rosas)
09:18 AM Feature #8191: Short-hand syntax for duck-typing
Matthew, I agree this is off-topic and I've already read about why it's hard to support that in another issue... Sorr... rosenfeld (Rodrigo Rosenfeld Rosas)
08:58 AM Feature #8191: Short-hand syntax for duck-typing
=begin
To clarify, there's no single official proposal here. My original post and subsequents posts touch on various ...
wardrop (Tom Wardrop)
08:53 AM Feature #8191: Short-hand syntax for duck-typing
On Apr 5, 2013 11:20 PM, "rosenfeld (Rodrigo Rosenfeld Rosas)" <
[email protected]> wrote:
>
>
> Issue #8191 ha...
phluid61 (Matthew Kerwin)
07:27 PM Revision c73c876d (git): * addr2line.c: use more generic type:
* u_char -> unsigned char
* u_short -> unsigned short
* u_int -> unsigned int
* u_long -> unsigned long
* qua...
naruse (Yui NARUSE)
06:34 PM Bug #8159: Build failure introduced by Rinda changes
h.shirosaki (Hiroshi Shirosaki) wrote:
> I created a patch to fix test errors.
> It seems a socket should be binded...
naruse (Yui NARUSE)
06:15 PM Bug #8159: Build failure introduced by Rinda changes
I created a patch to fix test errors.
It seems a socket should be binded to another non multicast address and join a...
h.shirosaki (Hiroshi Shirosaki)
06:07 PM Revision 6c0822f0 (git): merge revision(s) 39858: [Backport #8135]
* parse.y (simple_re_meta): escape all closing characters, not only
round parenthesis. [ruby-core:53578] [...
nagachika (Tomoyuki Chikanaga)
05:57 PM Revision 03e6d4ea (git): merge revision(s) 39812: [Backport #8147]
* gc.c: Improve accuracy of objspace_live_num() and
allocated/freed counters. patched by tmm1(Aman Gupta).
...
nagachika (Tomoyuki Chikanaga)
05:51 PM Revision ff1bd2ba (git): merge revision(s) 39785: [Backport #8108]
* array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
nagachika (Tomoyuki Chikanaga)
04:43 PM Revision 59eacb45 (git): Improve ruby-electric-mode.
* misc/ruby-electric.el (ruby-electric-hash): New electric
function that expands a hash sign inside a string or reg...
Akinori MUSHA
04:02 PM Revision 14e72b1c (git): * strftime.c (rb_strftime_with_timespec): Test yday range.
[ruby-core:44088] [Bug #6247] reported by Ruby Submit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40165 b2d...
akr (Akira Tanaka)
03:00 PM Revision 387b4205 (git): * 2013-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision f70a7cd2 (git): * configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
* ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or earlier if atomic.h is not available. [ruby-dev:4722... ngoto (Naohisa Goto)
02:52 PM Revision c4d8cc4e (git): * lib/resolv.rb: Support LOC resources.
[ruby-core:23361] [Feature #1436] by JB Smith.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40162 b2dd03c8-39d...
akr (Akira Tanaka)
02:45 PM Revision 5427a5df (git): * addr2line.c: quad_t and u_quad_t is not available on Solaris.
__inline is not available with old compilers on Solaris.
[ruby-dev:47229] [Bug #8227]
git-svn-id: svn+ssh://ci.r...
ngoto (Naohisa Goto)
02:32 PM Revision 97913535 (git): * lib/resolv.rb: Add one-shot multicast DNS support.
[ruby-core:53387] [Feature #8089] by Eric Hodel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40160 b2dd03c8-...
akr (Akira Tanaka)
01:16 PM Revision 4c1e9722 (git): * lib/resolv.rb (Resolv::DNS.fetch_resource): New method to obtain
full result.
[ruby-dev:43587] [Feature #4788] proposed by Makoto Kishimoto.
git-svn-id: svn+ssh://ci.ruby-lang.o...
akr (Akira Tanaka)
12:56 PM Feature #7396 (Rejected): encode location header
URI.encode is almost always wrong.
For example, URI.encode encodes "%" as "%25".
So, a valid URI which contains "...
akr (Akira Tanaka)
12:44 PM Bug #2008: test_io.rb: test 2 fails on FreeBSD
Oops. I forgot to note what ruby I tested.
% ./ruby -v
ruby 2.1.0dev (2013-04-06 trunk 40143) [x86_64-kfreebsd8....
akr (Akira Tanaka)
10:04 AM Bug #2008 (Closed): test_io.rb: test 2 fails on FreeBSD
Finally I installed Debian GNU/kFreeBSD 6.0.7 (squeeze) and
Debian GNU/kFreeBSD 7.0 (wheezy) and tested test_io.rb.
...
akr (Akira Tanaka)
12:21 PM Bug #8226 (Closed): incorrect timezone offset under Solaris 11 x64
US/Eastern is GMT-4, not GMT+4.
DateTime has it back asswards.
I can reproduce with ruby-2.0.0 as well.
$ env PA...
[email protected] (John Groenveld)
11:39 AM Feature #6583 (Closed): Improve socket exception message when bind() fails
This issue was solved with changeset r40149.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
akr (Akira Tanaka)
11:21 AM Revision d818a6ab (git): * ext/socket/socket.c (rsock_sys_fail_raddrinfo): Renamed from
rsock_sys_fail_addrinfo.
(rsock_sys_fail_raddrinfo_or_sockaddr): Renamed from
rsock_sys_fail_addrinfo_or_sockaddr...
akr (Akira Tanaka)
11:04 AM Revision 67fe038d (git): * ext/socket/socket.c (rsock_sys_fail_sockaddr): Takes struct sockaddr
and socklen_t instead of String object.
(rsock_sys_fail_addrinfo_or_sockaddr): Follow the above change.
* ext/sock...
akr (Akira Tanaka)
07:58 AM Revision c7135ddd (git): socket/extconf.rb: RSTRING_SOCKLEN
* ext/socket/extconf.rb (RSTRING_SOCKLEN): macro to cast RSTRING_LEN
to socklen_t.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
07:58 AM Revision 7e4a95cd (git): socket.c: suppress warnings
* ext/socket/socket.c (rsock_sys_fail_sockaddr): cast down explicitly
to suppress warnings.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
07:53 AM Bug #7829: Rounding error in Ruby Time
2013/4/6 David MacMahon <[email protected]>:

> I understand that the Float returned by Rational#to_f has ...
akr (Akira Tanaka)
04:29 AM Bug #7829: Rounding error in Ruby Time
On Apr 4, 2013, at 7:02 PM, Tanaka Akira wrote:

> It is expected that Rational#to_f can error because Float has o...
david_macmahon (David MacMahon)
05:50 AM Revision cb302bf3 (git): * ext/socket/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro.
(rsock_sockaddr_string_value_with_addrinfo): New declaration.
(rsock_addrinfo_inspect_sockaddr): Ditto.
(rsock_sy...
akr (Akira Tanaka)
04:35 AM Revision b1fd376c (git): * ext/socket/socket.c (rsock_sys_fail_sockaddr): Delete 2nd argument.
* ext/socket/rubysocket.h (rsock_sys_fail_sockaddr): Follow above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org...
akr (Akira Tanaka)
04:14 AM Revision 8c6c7374 (git): * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect only
for String to avoid SEGV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40152 b2dd03c8-39d4-4d8f-98ff-823fe69b...
akr (Akira Tanaka)
03:41 AM Revision 24ee6971 (git): * ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN.
(rsock_sys_fail_path): Ditto.
(rsock_sys_fail_sockaddr): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
akr (Akira Tanaka)
02:50 AM Revision 11a9d772 (git): * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the
path contains a NUL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:39 AM Revision d933fb22 (git): * ext/socket: Improve socket exception message to show socket address.
[ruby-core:45617] [Feature #6583] proposed Eric Hodel.
* ext/socket/rubysocket.h (rsock_sys_fail_host_port): Declare...
akr (Akira Tanaka)
02:30 AM Revision e4283fd3 (git): * test/ruby/test_require.rb (TestRequire#test_require_nonascii_path):
fix load path for encoding to run the test as stand-alone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40148 b...
h.shirosaki (Hiroshi Shirosaki)
02:30 AM Bug #8224 (Closed): defined?(()) and defined? () are inconsistent
This issue was solved with changeset r40138.
Charlie, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
12:59 AM Revision 8ee121d0 (git): * test/dtrace/helper.rb (DTrace::TestCase#trap_probe): needs to pass
some paths by environment variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40147 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
12:56 AM Revision 8483e9bd (git): * ChangeLog: remove duplicated entry due to git-svn conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:54 AM Revision c3fcd1b8 (git): pack.c: fix definition order
* pack.c (NATINT_LEN): fix definition order, must be after
NATINT_PACK.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
12:44 AM Bug #8225: Missing RI file for Kernel.open
I know about invoking documentation for instance methods. It's about `open` is listed & linked in Kernel's class meth... dunric (David Unric)
12:10 AM Revision 37872dbf (git): add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

04/05/2013

11:03 PM Bug #8225 (Feedback): Missing RI file for Kernel.open
zzak (zzak _)
11:02 PM Bug #8225: Missing RI file for Kernel.open
Try `ri Kernel#open` instead zzak (zzak _)
10:48 PM Bug #8225 (Closed): Missing RI file for Kernel.open
Hi,
just would like to report following error in Ruby 2.0.0p0 & 2.1.0-dev documentation:
ri 'Kernel.open'
/usr...
dunric (David Unric)
11:00 PM Revision 0667aac9 (git): Add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:19 PM Feature #8191: Short-hand syntax for duck-typing
phluid61 (Matthew Kerwin) wrote:
> ==== Incidentally
>
> > In CoffeeScript, something that helps a lot and I'd love...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:21 PM Feature #8191: Short-hand syntax for duck-typing
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> ... But, as I understand, the proposal is about a.nil? ? nil : a.b.
...
Anonymous
08:49 AM Feature #8191: Short-hand syntax for duck-typing
=begin
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> I don't believe this proposal, as I understand it, is about ch...
phluid61 (Matthew Kerwin)
09:26 PM Bug #8200: Segmentation fault - rails 4 -> sidekiq-> tilt
May be related to #8100 Anonymous
09:19 PM Bug #8224 (Closed): defined?(()) and defined? () are inconsistent
=begin
(({defined?(())})) and (({defined? ()})) return different values.
I would there to be no difference betwee...
Anonymous
08:55 PM Feature #8223 (Third Party's Issue): Make Matrix more omnivorous.
Let's imagine a class Metre, whose instances represent physical magnitudes in metres.
class Metre
attr_...
Anonymous
08:14 PM Feature #8206: Should Ruby core implement String#blank?
Fair enough:
> "" =~ /()|()/
=> 0
> "".include? ""
=> true
I guess optimising for the empty string is...
sam.saffron (Sam Saffron)
05:53 PM Feature #8206: Should Ruby core implement String#blank?
On Fri, Apr 5, 2013 at 5:19 AM, sam.saffron (Sam Saffron)
<[email protected]> wrote:

> Essentially includ...
now (Nikolai Weibull)
12:19 PM Feature #8206: Should Ruby core implement String#blank?
This is a MASSIVE improvement:
```ruby
#!/usr/bin/env ruby
$: << File.dirname(__FILE__)+'/lib'
require 'benchma...
sam.saffron (Sam Saffron)
08:06 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
Ah, sorry, I thought it was only misunderstanding of Thread#[] and such. Eregon (Benoit Daloze)
06:27 PM Feature #8215 (Open): Support accessing Fiber-locals and backtraces for a Fiber
According to that rubinius issue tracker, it seems a feature request for `Fiber#[]` and `Fiber#[]=`.
nobu (Nobuyoshi Nakada)
06:12 PM Revision 2a58706e (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: fix symbol keys in coder
emission. Thanks @tjwallace
* test/psych/test_coder.rb: test for change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
tenderlovemaking (Aaron Patterson)
06:02 PM Revision 0cb251e0 (git): change test name to be more helpful
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:57 PM Revision 58709e4e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:55 PM Revision 476a62fb (git): * ext/psych/lib/psych/exception.rb: there should be only one exception
base class. Fixes tenderlove/psych #125
* ext/psych/lib/psych.rb: require the correct exception class
* ext/psych/lib...
tenderlovemaking (Aaron Patterson)
05:30 PM Revision 40370296 (git): parse.y: "nil" for defined? with empty expression
* parse.y (new_defined): remove all extra parentheses, and return
"nil" for defined? with empty expression.
[ruby...
nobu (Nobuyoshi Nakada)
05:11 PM Revision 7a7bb644 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: correctly register
self-referential strings. Fixes tenderlove/psych #135
* test/psych/test_string.rb: appropriate test.
git-svn-id: sv...
tenderlovemaking (Aaron Patterson)
04:40 PM Revision fbb29bc0 (git): * ext/socket/init.c (cloexec_accept): Fix a compile error on
Debian GNU/kFreeBSD. Consider HAVE_ACCEPT4 is defined
but SOCK_CLOEXEC is not defined.
git-svn-id: svn+ssh://ci...
akr (Akira Tanaka)
03:30 PM Revision 07636ed4 (git): * load.c (features_index_add): use rb_str_subseq() to specify C string
position properly to fix require non ascii path.
[ruby-core:53733] [Bug #8165]
* test/ruby/test_require.rb (TestRe...
h.shirosaki (Hiroshi Shirosaki)
03:21 PM Revision 21d47b73 (git): * 2013-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 11391aa0 (git): thread.c: no allocate before deleting
* thread.c (rb_thread_local_aset): no needs to allocate local_storage
before deleting.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
02:08 PM Revision 23335c78 (git): configure.in: gcc_major
* configure.in: use gcc_major value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40132 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
02:08 PM Revision b493f30a (git): configure.in: no -Wextra-token on gcc 3
* configure.in (warnflags): -Wextra-tokens is same as -Wextra and
let -Wno- options ignored on gcc 3.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
01:45 PM Feature #8110: Regex methods not changing global variables
+1 for skip globals: when `String#match` used, there is no need to set globals, but no way to avoid it.
Equally `Str...
funny_falcon (Yura Sokolov)
01:21 PM Bug #7877: E::Lazy#with_index should be lazy
zzak (Zachary Scott) wrote:
> Propose to move this to next major?
Do you mean because of "potential incompatibili...
duerst (Martin Dürst)
11:32 AM Bug #7877: E::Lazy#with_index should be lazy
Propose to move this to next major? zzak (zzak _)
01:00 PM Feature #8181: New flag for strftime that supports adding ordinal suffixes to numbers
ActiveSupport has ordinalize, maybe you want to use that instead. zzak (zzak _)
12:34 PM Revision 647dc4fd (git): configure.in: -Werror=extra-tokens
* configure.in (warnflags): bail out at extra tokens, instead
continuing with lots of warnings.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
12:06 PM Revision 5ec185c8 (git): update comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:57 AM Revision e9382c73 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:44 AM Revision 755e09eb (git): * include/ruby/defines.h (HAVE_TRUE_LONG_LONG): Defined to distinguish
availability of long long and availability of 64bit integer type.
* pack.c: Use HAVE_TRUE_LONG_LONG to distinguish q...
akr (Akira Tanaka)
11:38 AM Bug #7537: OptionParser treats negative digits as options
I've attached the patch from the associated pull request. zzak (zzak _)
11:31 AM Revision d966f1b2 (git): pack.c: use LONG_LONG
* pack.c (NATINT_LEN_Q): do not use long long directly, use LONG_LONG
instead. fix compilation error on mswin.
gi...
nobu (Nobuyoshi Nakada)
11:23 AM Revision 702250a4 (git): * addr2line.c: include ruby/missing.h to fix compile error on Debian.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Bug #7829: Rounding error in Ruby Time
2013/4/5 David MacMahon <[email protected]>:

> Of course you're right about String#to_r being correct. ...
akr (Akira Tanaka)
10:23 AM Bug #7829: Rounding error in Ruby Time
On Apr 3, 2013, at 6:30 PM, Tanaka Akira wrote:

> 2013/4/4 David MacMahon <[email protected]>:
>>
>>>>...
david_macmahon (David MacMahon)
10:40 AM Revision 0c5d73e8 (git): compile.c: defined? with empty expression
* compile.c (iseq_compile_each): fix of defined? with empty
expression. [ruby-core:53999] [Bug #8220]
git-svn-id:...
nobu (Nobuyoshi Nakada)
10:29 AM Revision 78626954 (git): configure.in: no -include options
* configure.in (XCFLAGS): stop including missing.h by command line
option, as the header seems included necessary p...
nobu (Nobuyoshi Nakada)
10:29 AM Revision bff997e0 (git): defines.h: RUBY_SYMBOL_EXPORT_{BEGIN,END}
* include/ruby/defines.h (RUBY_SYMBOL_EXPORT_{BEGIN,END}): visibility
control macros.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
09:53 AM Feature #7767: Tempfileで自動的にファイルを削除する
2013年4月4日 18:34 shugo (Shugo Maeda) <[email protected]>:

> Tempfile.openとTempfile.open!で違うクラスのインスタンスが作成されるの...
akr (Akira Tanaka)
09:37 AM Bug #8219 (Assigned): ruby 2.0.0-p0 socket.recv MSG_OOB problem?
naruse (Yui NARUSE)
12:29 AM Bug #8219 (Rejected): ruby 2.0.0-p0 socket.recv MSG_OOB problem?
server1.rb
-------
require 'socket'
ssc = TCPServer.new '', 9989
sc = ssc.accept
p sc.recv(1024)
p sc.rec...
windwiny (wind winy)
09:36 AM Bug #8221 (Assigned): 2 AES-128-GCM (probably same in AES-256-GCM) bug?
naruse (Yui NARUSE)
03:04 AM Bug #8221 (Closed): 2 AES-128-GCM (probably same in AES-256-GCM) bug?
1. OpenSSL::Cipher::AES.new(128, :GDM) doesn't work
2. You can't set iv before key
Sample code here.
https://g...
nov (nov matake)
08:58 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
I am prepared to commit this fix if there's no other commentary.
A quick benchmark to show it in action: https://g...
headius (Charles Nutter)
07:49 AM Revision 5f77f234 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:46 AM Revision c3f2cc53 (git): ext/-test-/win32/dln: remove static library
* ext/-test-/win32/dln/extconf.rb: remove static library too at clean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
07:46 AM Revision d0536f65 (git): dl/dl.h: suppress warning
* ext/dl/dl.h (dlopen): suppress unused-but-set-variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
04:53 AM Bug #8211 (Closed): Performance regression of method calls
marcandre (Marc-Andre Lafortune)
12:39 AM Bug #8211: Performance regression of method calls
Asking to close this issue (reason: suboptimal compiler flags).
I've rebuilt Ruby with the following options and n...
dunric (David Unric)
12:22 AM Bug #8211: Performance regression of method calls
bitsweat (Jeremy Kemper) wrote:
> David, this looks a lot like the CFLAGS issues folks were hitting with rvm. Essent...
dunric (David Unric)
04:23 AM Revision e3b9ed76 (git): curses.c: fix function
* ext/curses/curses.c (Init_curses): fix implementation function,
crmode should be same as cbreak. [ruby-core:5401...
nobu (Nobuyoshi Nakada)
04:23 AM Revision 7cd3fcfb (git): * test/test_curses.rb: tests for getch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:10 AM Revision b0446f37 (git): * ext/curses/hello.rb: Typo in Curses example by Drew Blas
[Fixes GH-273]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
01:51 AM Feature #7292: Enumerable#to_h
+1 from me. Sometimes after converting from an array to a hash I want to "convert back" to a hash and inevitably I r... rogerdpack (Roger Pack)

04/04/2013

11:55 PM Bug #7183 (Closed): Resolv::DNS::getresources throws Errno::EACCES: Permission denied - bind(2) on solaris
This issue was solved with changeset r40112.
Frank, thank you for reporting this issue.
Your contribution to Ruby is ...
akr (Akira Tanaka)
11:49 PM Feature #4195 (Rejected): option for Socket#sendmsg
頻度から考えて、とくに簡単にしなくてもいいんじゃないかと思います。
やりかたが複数になるのも気に入りませんし。
akr (Akira Tanaka)
11:41 PM Bug #5988 (Rejected): Time class interprets "2012-02-30" as "2012-03-01"
No reply after explanation long time. akr (Akira Tanaka)
11:36 PM Feature #4976 (Rejected): Pathname#=~ が undef されている理由
No reply after feedback. akr (Akira Tanaka)
11:32 PM Feature #6528 (Closed): Add Pathname#write and Pathname#binwrite
akr (Akira Tanaka)
10:51 PM Feature #7401 (Rejected): Pathname#cleanpath default consider_symlink to true
I reject this issue because it is incompatible.
Also, I feel the conservative algorithm is not so useful because it ...
akr (Akira Tanaka)
10:37 PM Bug #7829 (Closed): Rounding error in Ruby Time
This issue was solved with changeset r40109.
Philippe, thank you for reporting this issue.
Your contribution to Ruby ...
akr (Akira Tanaka)
10:53 AM Bug #7829: Rounding error in Ruby Time
2013/4/4 David MacMahon <[email protected]>:
>
>>> f=57563.232824357045
> => 57563.232824357045
>
...
akr (Akira Tanaka)
04:53 AM Bug #7829: Rounding error in Ruby Time
On Apr 3, 2013, at 5:15 AM, Tanaka Akira wrote:

> 2013/2/22 David MacMahon <[email protected]>:
>
>> W...
david_macmahon (David MacMahon)
10:20 PM Feature #8191: Short-hand syntax for duck-typing
I don't believe this proposal, as I understand it, is about chicken typing. It would be if a??.b was equivalent to a.... rosenfeld (Rodrigo Rosenfeld Rosas)
09:08 PM Feature #8191: Short-hand syntax for duck-typing
@wardrop: Tom, you must be a masochist. Proposing this here is like volunteering
to run a gauntlet :-), and like othe...
Anonymous
02:24 PM Feature #8191: Short-hand syntax for duck-typing
=begin
wardrop (Tom Wardrop) wrote:
> Personally, the double question mark syntax is still the best proposal.
> ...
phluid61 (Matthew Kerwin)
09:28 AM Feature #8191: Short-hand syntax for duck-typing
=begin
I think whatever the solution, it needs to be generic. Amending the language is a pretty big deal. Whatever we...
wardrop (Tom Wardrop)
09:50 PM Feature #8215 (Closed): Support accessing Fiber-locals and backtraces for a Fiber
Thread#[] and friends access *Fiber*-local variables, as the doc says:
(Attribute Reference---Returns the value of...
Eregon (Benoit Daloze)
08:47 AM Feature #8215 (Closed): Support accessing Fiber-locals and backtraces for a Fiber
=begin
As part of debugging celluloid, I have been wanting to diagnose where the Fibers are running and their variou...
halorgium (Tim Carey-Smith)
09:36 PM Revision 3d42f007 (git): * 2013-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 PM Revision 672b8bf1 (git): object.c: avoid inadvertent symbol creation
* object.c (rb_mod_cvar_set): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40114 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
08:12 PM Feature #7378 (Closed): Adding Pathname#write
This issue was solved with changeset r40107.
Alexander E., thank you for reporting this issue.
Your contribution to R...
akr (Akira Tanaka)
06:34 PM Feature #7767: Tempfileで自動的にファイルを削除する
akr (Akira Tanaka) wrote:
> > メソッド名ですが、
> > * 使いやすさを考えると、openと同じくらいに書きやすい(短い)ものがよい
> > * Tempfile.openはブロックを抜ける...
shugo (Shugo Maeda)
04:53 PM Bug #8211: Performance regression of method calls
Is your platform 32bit? Than it is cause of -fPIE


2013/4/4 bitsweat (Jeremy Kemper) <[email protected]>
...
funny_falcon (Yura Sokolov)
02:08 PM Bug #8211: Performance regression of method calls
David, this looks a lot like the CFLAGS issues folks were hitting with rvm. Essentially, getting unoptimized Ruby bui... bitsweat (Jeremy Daer)
07:33 AM Bug #8211: Performance regression of method calls
=begin
I can't replicate the 1.9.3 vs. 2.0.0 results on my old Win7 32-bit box. 1.9.3 was built with mingw 4.6.2, and...
jonforums (Jon Forums)
06:14 AM Bug #8211: Performance regression of method calls
=begin
I can't reproduce with clang on OS X:
ruby 2.1.0dev (2013-04-04 trunk 40091) [x86_64-darwin12.3.0]
la...
drbrain (Eric Hodel)
03:59 PM Feature #8217 (Closed): OpenSSL::BN.new with integers
Current OpenSSL::BN.new gets only strings, so users must do integer.to_s, it costs extra resource.
Therefore I propo...
naruse (Yui NARUSE)
03:56 PM Revision 926d1cbf (git): merge revision(s) 40090:
* ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nagachika (Tomoyuki Chikanaga)
03:53 PM Feature #8110: Regex methods not changing global variables
sam.saffron (Sam Saffron) wrote:
> another slight note, I wonder how far this can stretch into onigaruma itself, can...
naruse (Yui NARUSE)
03:16 PM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
One issue preventing this from work fixed in RubyGems [1]. I am not aware of any other after rebuild of more then 400... vo.x (Vit Ondruch)
02:55 PM Revision dc5b184b (git): * lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS.
bind() on SunOS for port 2049 (nfs) and 4045 (lockd) causes
EACCES with unprivileged process. cf. PRIV_SYS_NFS in ...
akr (Akira Tanaka)
02:27 PM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
okay that solvs a bit, so the generated Bignums are zero too,
but for sample
ObjectSpace.each_object(Bignum).sel...
Hanmac (Hans Mackowiak)
02:25 PM Revision b2a1339f (git): * ext/socket/extconf.rb: Remove condition for bcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:54 PM Revision 61b245cc (git): * include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:37 PM Revision f674d862 (git): * time.c (time_strftime): Describe %L and %N truncates digits under
the specified length.
[ruby-core:52130] [Bug #7829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40109 b2dd0...
akr (Akira Tanaka)
01:26 PM Revision a4587840 (git): * object.c (rb_mod_cvar_set): Reverted "avoid inadvertent
symbol creation" to avoid SEGV by
Class.new.class_variable_set(1, 2).
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
akr (Akira Tanaka)
11:12 AM Revision c3d1fde2 (git): * ext/pathname/pathname.c (path_write): New method.
(path_binwrite): Ditto.
[ruby-core:49468] [Feature #7378]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4010...
akr (Akira Tanaka)
10:13 AM Feature #8201 (Assigned): Turn off builded colorizing
usa (Usaku NAKAMURA)
08:23 AM Revision 12bf1de1 (git): envutil.rb: assert stderr if marshal failed
* test/ruby/envutil.rb (assert_separately): force to assert stderr to
be empty if marshal failed, as something is e...
nobu (Nobuyoshi Nakada)
08:23 AM Revision fd7dc1b6 (git): reduce overhead of TYPE
* array.c (ary_join_1): reduce overhead of TYPE().
* eval.c (rb_frozen_class_p, rb_mod_{append,prepend}_features): d...
nobu (Nobuyoshi Nakada)
08:18 AM Revision 5e2c39ed (git): object.c: avoid inadvertent symbol creation
* object.c (rb_mod_const_set): fix symbol name check.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): ditto.
git-sv...
nobu (Nobuyoshi Nakada)
08:01 AM Revision 75b4c8f4 (git): * thread_pthread.c: Fixes wrong scopes of #if USE_SLEEPY_TIMER_THREAD
.. #endif sections. This fixes a build error on NativeClient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@401...
yugui (Yuki Sonoda)
08:01 AM Revision 360edb1c (git): * thread_pthread.c (ruby_init_stack): Avoid using uninitialized value.
stackaddr and size are not set if get_stack() fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40102 b2dd03c...
yugui (Yuki Sonoda)
07:55 AM Revision 112a3b1f (git): struct.c: avoid inadvertent symbol creation
* struct.c (make_struct): avoid inadvertent symbol creation.
(rb_struct_aref): ditto.
(rb_struct_aset): ditto.
...
nobu (Nobuyoshi Nakada)
07:54 AM Revision 4e59c822 (git): object.c: avoid inadvertent symbol creation
* object.c (rb_mod_const_set): avoid inadvertent symbol creation.
(rb_obj_ivar_set): ditto.
(rb_mod_cvar_set): di...
nobu (Nobuyoshi Nakada)
07:42 AM Feature #7792: Make symbols and strings the same thing
@spatulasnout Yes on your first point. One should always compare :symbol with :symbol rather than by their internal I... wardrop (Tom Wardrop)
07:22 AM Revision 9188504a (git): * ext/objspace/objspace.c (count_nodes): fix key for unknown node.
based on a patch by tmm1 (Aman Gupta) in [ruby-core:53130] [Bug #8014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
U.Nakamura
07:19 AM Revision 6c7a8b17 (git): merge revision(s) 39578: [Backport #8009]
* Makefile.in (miniruby, ruby): move MAINLIBC because linker arguments
must appear after object files with ...
U.Nakamura
06:46 AM Revision 9f87297c (git): enum.c: avoid inadvertent symbol creation
* enum.c (enum_inject): avoid inadvertent symbol creation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40097 b...
nobu (Nobuyoshi Nakada)
06:20 AM Feature #8190 (Rejected): Truly parallel assignment
As Nobu stated the evaluation order goes from left to right.
And if you change this, you will introduce incompatibil...
matz (Yukihiro Matsumoto)
05:37 AM Revision 80748440 (git): thread.c: avoid inadvertent symbol creation
* thread.c (rb_thread_aref): avoid inadvertent symbol creation.
(rb_thread_variable_get): ditto.
(rb_thread_key_p...
nobu (Nobuyoshi Nakada)
05:37 AM Revision f00035a4 (git): thread.c: error message
* thread.c (rb_thread_variable_get): fix error message. getter
doesn't modify thread variables.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
02:55 AM Feature #8206: Should Ruby core implement String#blank?
I came up with an idea, `String#include?` with regexp without backref.
Could you try and comment this?
```ruby
%...
naruse (Yui NARUSE)
02:35 AM Revision 10659582 (git): * ext/openssl/ossl_bn.c (ossl_bn_to_i): Use bn2hex to speed up.
In general, binary to/from decimal needs extra cost.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40094 b2dd03c...
naruse (Yui NARUSE)
12:49 AM Revision f04daf3b (git): merge revision(s) 36338: [Backport #6709]
* configure.in (DLDFLAGS): use TARGET_ENTRY to specify an entry point
instead of TARGET which may contain n...
U.Nakamura
12:45 AM Feature #8214 (Closed): デッドロックチェックに全スレッドのバックトレースダンプの追加
さいきん、くくぱど方面のデッドロックバグの調査を手伝っていて気づいたのですが、
現在のRubyのdeadlock detectorは開発者に優しくないです。
例外があがるとスタックが巻戻ってしまって証拠が消えてしまうので、例外...
kosaki (Motohiro KOSAKI)
12:25 AM Bug #8213 (Closed): No documentation for `ri YAML`
I believe the RI output for YAML needs to be fixed to display more detailed information on usage. Currently, it displ... injekt (Lee Jarvis)

04/03/2013

10:53 PM Feature #8191: Short-hand syntax for duck-typing
On Apr 3, 2013 9:30 PM, "Rodrigo Rosenfeld Rosas" <[email protected]>
wrote:
>
> Em 03-04-2013 01:10, phluid6...
phluid61 (Matthew Kerwin)
08:53 PM Feature #8191: Short-hand syntax for duck-typing
Em 02-04-2013 22:39, "Martin J. Dürst" escreveu:
> On 2013/04/03 9:54, wardrop (Tom Wardrop) wrote:
>>
>> Issu...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:53 PM Feature #8191: Short-hand syntax for duck-typing
Em 03-04-2013 01:10, phluid61 (Matthew Kerwin) escreveu:
> Issue #8191 has been updated by phluid61 (Matthew Kerwi...
rosenfeld (Rodrigo Rosenfeld Rosas)
05:29 PM Feature #8191: Short-hand syntax for duck-typing
On Wed, 2013-04-03 at 14:47 +0900, wardrop (Tom Wardrop) wrote:
> Issue #8191 has been updated by wardrop (Tom War...
regularfry (Alex Young)
02:47 PM Feature #8191: Short-hand syntax for duck-typing
=begin
I don't mind that. In fact, it gives me an idea for something even more generic, and with more potential appli...
wardrop (Tom Wardrop)
01:10 PM Feature #8191: Short-hand syntax for duck-typing
=begin
Throwing this out there for discussion: how about a completely different syntax?
user&&.profile&&.website...
phluid61 (Matthew Kerwin)
12:18 PM Feature #8191: Short-hand syntax for duck-typing
You've chopped off a bit of Matz quote there (actually, a quote of a quote of Matz): "He then said there is no good r... wardrop (Tom Wardrop)
11:49 AM Feature #8191: Short-hand syntax for duck-typing
@wardrop The reason we all love Ruby is because it makes us happy. This suggestion makes me unhappy, so I'm saying so... JonRowe (Jon Rowe)
11:23 AM Feature #8191: Short-hand syntax for duck-typing
=begin
@JonRowe That's a very high-level idealistic point of view. Telling others to do things for us is all well and...
wardrop (Tom Wardrop)
11:10 AM Feature #8191: Short-hand syntax for duck-typing
@parndt Law of Demeter essentially states that method chaining is bad. I personally don't see it's relevance to Ruby.... wardrop (Tom Wardrop)
11:03 AM Feature #8191: Short-hand syntax for duck-typing
OP's original examples involve Rails views, where I'd have to say that a helper or presenter would reduce the view lo... jamesotron (James Harton)
11:01 AM Feature #8191: Short-hand syntax for duck-typing
Although this is just my 2¢... I think this is a bad idea... and here's why...
1) One of the principles of good sof...
JonRowe (Jon Rowe)
10:56 AM Feature #8191: Short-hand syntax for duck-typing
@duerst
Correct. Methods already ending in a question mark, such as (({empty?})), will have two extra question marks...
wardrop (Tom Wardrop)
10:55 AM Feature #8191: Short-hand syntax for duck-typing
I'm very -1 on this for the same reason Object#try (#1122) was rejected and also because I can't see how this could r... parndt (Philip Arndt)
10:53 AM Feature #8191: Short-hand syntax for duck-typing
On 2013/04/03 9:54, wardrop (Tom Wardrop) wrote:
>
> Issue #8191 has been updated by wardrop (Tom Wardrop).

...
duerst (Martin Dürst)
09:54 AM Feature #8191: Short-hand syntax for duck-typing
=begin
In my example using (({user.profile??.website??.thumbnail})), it assumes that if the (({website})) method exi...
wardrop (Tom Wardrop)
06:23 AM Feature #8191: Short-hand syntax for duck-typing
I'm sitting here lurking on this thread and to me the proposal makes
everything seem convoluted. Though user??.webs...
davidderyldowney (David Deryl Downey)
05:59 AM Feature #8191: Short-hand syntax for duck-typing
On Apr 3, 2013 12:03 AM, "rosenfeld (Rodrigo Rosenfeld Rosas)" <
[email protected]> wrote:
>
> I believe you did...
phluid61 (Matthew Kerwin)
10:29 PM Feature #7792: Make symbols and strings the same thing
wardrop (Tom Wardrop) wrote:

> === Immutable
> A symbol is an alias for a numeric ID. The symbol representati...
spatulasnout (B Kelly)
09:01 PM Feature #7792: Make symbols and strings the same thing
No that's spelt correctly. I sadly couldn't embed any pictures of palm trees and coconuts ;). Fixed, thanks. wardrop (Tom Wardrop)
07:44 PM Feature #7792: Make symbols and strings the same thing
=begin
In that case, I suggest that the long term solution is education.
By the way: "((*A symbol is an alias for...
phluid61 (Matthew Kerwin)
07:06 PM Feature #7792: Make symbols and strings the same thing
=begin
= To Summarise...
== Symbol Differences
=== Immutable
A symbol is an alias for a numeric ID. The symbol rep...
wardrop (Tom Wardrop)
10:24 PM Revision da391999 (git): * ext/socket/extconf.rb: Specify arguments to test functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:53 PM Feature #6643: io.seek(off, :end)
2012年11月24日 10:35 mame (Yusuke Endoh) <[email protected]>:

> Feature #6643: io.seek(off, :end)
> https://bugs.ru...
akr (Akira Tanaka)
09:25 PM Feature #6643 (Closed): io.seek(off, :end)
This issue was solved with changeset r40084.
Akira, thank you for reporting this issue.
Your contribution to Ruby is ...
akr (Akira Tanaka)
09:23 PM Bug #7829: Rounding error in Ruby Time
2013/2/22 David MacMahon <[email protected]>:

> What do people thing about changing num_exact() in time...
akr (Akira Tanaka)
08:59 PM Bug #7167 (Closed): Segmentation Fault
I have no idea. akr (Akira Tanaka)
08:55 PM Bug #7489 (Closed): Kernel.spawn sometimes executes string directly
This issue was solved with changeset r40083.
Julius, thank you for reporting this issue.
Your contribution to Ruby is...
akr (Akira Tanaka)
07:27 PM Feature #8190: Truly parallel assignment
I think it's good that Lavir is bringing this up, although I share MA's
feeling. I don't see how his proposal it woul...
Anonymous
02:49 PM Feature #8190: Truly parallel assignment
=begin
((%Lavir_the_Whiolet when you change this you will break code like%))
(({a,b = b,a}))
wich is a fe...
Hanmac (Hans Mackowiak)
02:27 PM Feature #8190: Truly parallel assignment
The evaluation obeys the left-to-right order.
It doesn't seem like a bug to me.
nobu (Nobuyoshi Nakada)
11:33 AM Feature #8190: Truly parallel assignment
My first reflex would be to say "don't write code like this".
Do you have an actual use case?
FWIW, CoffeeScrip...
marcandre (Marc-Andre Lafortune)
07:21 PM Feature #8201: Turn off builded colorizing
Passing unknown escape sequences is not solution. Some escape sequences behaviour is depended from earlier escape seq... Versum (Denis Zinin)
07:16 PM Feature #8201: Turn off builded colorizing
Last development version ConEmu working for me.
nobu (Nobuyoshi Nakada) wrote:
> ConEmu doesn't seem working with...
Versum (Denis Zinin)
05:37 PM Feature #8201 (Open): Turn off builded colorizing
nobu (Nobuyoshi Nakada)
05:11 PM Feature #8201 (Closed): Turn off builded colorizing
This issue was solved with changeset r40078.
Denis, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
11:42 AM Feature #8201: Turn off builded colorizing
ConEmu doesn't seem working with 1.9.3 to me.
While it shows color bars certainly when `type AnsiColor16.ans', howev...
nobu (Nobuyoshi Nakada)
06:29 PM Revision a8f95d66 (git): * 2013-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:28 PM Revision 7b58445e (git): * ext/openssl/ossl_bn.c (ossl_bn_initialize): fix can't create from bn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:07 PM Bug #8211: Performance regression of method calls
I had to add the testing platform is Linux x86_64 and interpreters were built with GCC 4.7.2 .
dunric (David Unric)
05:45 PM Bug #8211 (Closed): Performance regression of method calls
There are significant performance regressions in the newer Ruby versions.
When compared to the last 1.9 patch build,...
dunric (David Unric)
05:27 PM Revision d825fc8d (git): merge revision(s) 39725: [Backport #8054]
* lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rd
argument only if non-nil value is given.
...
nagachika (Tomoyuki Chikanaga)
05:25 PM Revision d393aa08 (git): merge revision(s) 39718: [Backport #8001] [Backport #8023]
* Merge Onigmo d4bad41e16e3eccd97ccce6f1f96712e557c4518.
fix lookbehind assertion fails with /m mode enable...
nagachika (Tomoyuki Chikanaga)
05:11 PM Revision 279b256d (git): merge revision(s) 39650: [Backport #8043]
* marshal.c (w_extended): check for prepended object.
[ruby-core:53206] [Bug #8043]
git-svn-id: svn+ssh:/...
nagachika (Tomoyuki Chikanaga)
04:34 PM Bug #8204 (Closed): ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
This issue was solved with changeset r40076.
Hans, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #8204: ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
Note that you can obtain whichever Bignum you want using coerce. For
example:
x = (1 << 100).coerce(42).first # => 4...
Anonymous
03:55 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
=begin
(({Regarding obj.foo.bar.baz = .to_i})) syntax, with the dot prefix on the ((|to_i|)), another proposal has b...
wardrop (Tom Wardrop)
01:55 PM Feature #8206: Should Ruby core implement String#blank?
@marcandre I tried pretty much every combination possible interestingly depending on the string `/\A[[:space:]]*\z/`... sam.saffron (Sam Saffron)
11:21 AM Feature #8206: Should Ruby core implement String#blank?
marcandre (Marc-Andre Lafortune) wrote:
> Your rb_str_blank is 5-8x faster than regexp? You compared it to `/\A[[:sp...
headius (Charles Nutter)
11:18 AM Feature #8206: Should Ruby core implement String#blank?
Your rb_str_blank is 5-8x faster than regexp? You compared it to `/\A[[:space:]]*\z/ =~ str`? marcandre (Marc-Andre Lafortune)
09:32 AM Feature #8206 (Open): Should Ruby core implement String#blank?
There has been some discussion about porting the `#blank?` protocol over to Ruby in the past that has been rejected b... sam.saffron (Sam Saffron)
01:10 PM Revision 7181490d (git): * ext/socket/extconf.rb: Test functions and libraries after headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:36 PM Revision 694207c7 (git): Add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:25 PM Revision b81ea661 (git): * io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.
(interpret_seek_whence): New function.
[ruby-dev:45818] [Feature #6643]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
akr (Akira Tanaka)
11:55 AM Revision 2767139e (git): * process.c: Describe the behavior which Ruby invokes a commandline
directly without shell if the commandline is simple enough.
[ruby-core:50459] [Bug #7489]
git-svn-id: svn+ssh://c...
akr (Akira Tanaka)
11:43 AM Revision b87ba9f8 (git): fix a typo in NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:28 AM Revision ee2b2182 (git): * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure
clause.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:55 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Updated patch with new exception variables made static. headius (Charles Nutter)
10:23 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
normalperson (Eric Wong) wrote:
> > +VALUE rb_eEAGAINWaitReadable;
> > +VALUE rb_eEAGAINWaitWritable;
> > +VALU...
headius (Charles Nutter)
08:53 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
"headius (Charles Nutter)" <[email protected]> wrote:
> make test-all passes. Please review and comment.

> ...
normalperson (Eric Wong)
07:47 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
And by EAGAIN == exception I meant EAGAIN == exception.class, of course. headius (Charles Nutter)
07:46 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
charliesome: Yeah, I was thinking about that as I created this patch.
It's possible, but it introduces a rather st...
headius (Charles Nutter)
07:37 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
=begin
Crazy idea, but could you avoid introducing a new class by caching the iclass?
So instead of something lik...
Anonymous
07:20 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Ok, here's the updated patch. Here's a list of changes from the last time I updated:
* Names have been changed to EA...
headius (Charles Nutter)
02:23 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
Working on this today. I will post an updated patch for review before committing. headius (Charles Nutter)
10:43 AM Bug #8208 (Rejected): Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
Currently, all nonblocking IO APIs raise exceptions when the IO channel cannot perform the requested read or write wi... headius (Charles Nutter)
10:34 AM Bug #8207 (Closed): Array#delete_if docs can be confusing to beginners
The Array#delete_if method docs can be a little confusing to beginners (variable names are not descriptive, a compari... johnnymugs (Jonathan Mukai)
10:00 AM Revision 1d339ff2 (git): * ext/extmk.rb (extmake): Use Logging.open to switch stdout and
stderr. Delay Logging::log_close until the failure message is
written. Write the failure message only if log file...
akr (Akira Tanaka)
09:37 AM Feature #8110: Regex methods not changing global variables
another slight note, I wonder how far this can stretch into onigaruma itself, can it be smart enough to avoid uneeded... sam.saffron (Sam Saffron)
09:18 AM Feature #8110: Regex methods not changing global variables
A slight concern here is naming, since:
```c
rb_define_virtual_variable("$~", match_getter, match_setter);
...
sam.saffron (Sam Saffron)
09:13 AM Feature #8110: Regex methods not changing global variables
@naruse
There is a perf implication that really needs addressing here that would help elsewhere:
in re.c, the...
sam.saffron (Sam Saffron)
08:11 AM Revision 9089f572 (git): win32.c: pass through unknown sequence
* win32/win32.c (constat_apply): pass through unknown sequence which
starts with ESC but is not followed by a brack...
nobu (Nobuyoshi Nakada)
08:11 AM Revision 111f4a8f (git): win32.c: pass through unknown sequence
* win32/win32.c (constat_apply): pass through unknown sequence which
starts with ESC but is not followed by a brack...
nobu (Nobuyoshi Nakada)
07:35 AM Revision adf1c94f (git): bignum.c: hide intermediate Bignums
* bignum.c (rb_big_eq): hide intermediate Bignums not just freeing
memory. [ruby-core:53893] [Bug #8204]
* object....
nobu (Nobuyoshi Nakada)
07:34 AM Revision b30a6b8d (git): bignum.c: Bignum zero comparison
* bignum.c (rb_big_eq): test as Fixnum if possible and get rid of zero
length Bignum. [ruby-core:53893] [Bug #8204...
nobu (Nobuyoshi Nakada)
07:23 AM Bug #8185: Thread/fork issue
2013/4/3 KOSAKI Motohiro <[email protected]>:
>
> I believe fork() should flush all IO objects automatic...
akr (Akira Tanaka)
04:53 AM Bug #8185: Thread/fork issue
> I wrote a simple script to reproduce the problem.
> This script doesn't use multi-threads.
>
> % ./ruby -ve ...
kosaki (Motohiro KOSAKI)
07:23 AM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
2013/4/3 Eric Wong <[email protected]>:

>> This is Linux-specific and only defined in linux headers
>> su...
akr (Akira Tanaka)
06:23 AM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
Tanaka Akira <[email protected]> wrote:
> 2013/2/24 ko1 (Koichi Sasada) <[email protected]>:
>
> > Feature #74...
normalperson (Eric Wong)
12:09 AM Bug #6928 (Closed): SecureRandom.random_bytes: assume zero entropy for seed value
This issue was solved with changeset r40072.
Martin, thank you for reporting this issue.
Your contribution to Ruby is...
akr (Akira Tanaka)

04/02/2013

11:21 PM Bug #8205 (Closed): Regexp.union behavior and Regexp.try_convert
Hi! Why Regexp.union('/../') trying to convert string with directly call rb_check_regexp_type(arg) (re.c:3139) instea... avyy (Alexander Yunin)
11:02 PM Feature #8191: Short-hand syntax for duck-typing
I believe you didn't understand the proposal, Matthew. a??.b would mean (a.nil? ? nil : a.b). So user.profile??.websi... rosenfeld (Rodrigo Rosenfeld Rosas)
08:34 PM Feature #8191: Short-hand syntax for duck-typing
wardrop (Tom Wardrop) wrote:
>
> if user && user.profile && user.profile.website && user.profile.website.thumb...
phluid61 (Matthew Kerwin)
06:19 PM Feature #8191 (Assigned): Short-hand syntax for duck-typing
naruse (Yui NARUSE)
10:30 PM Bug #8204 (Closed): ObjectSpace.each_object(Bignum) can generate Bignums that are to small to be Bignums
when i do:
p ObjectSpace.each_object(Bignum).to_a
=> [18446744073709551615, 3, 2394213621560389257607583714845333...
Hanmac (Hans Mackowiak)
09:06 PM Feature #3946 (Closed): Array#packのqQ指定子に機種依存サイズフラグ!を追加
committed at r40067 & r40068. akr (Akira Tanaka)
08:53 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
2012年10月28日 23:11 akr (Akira Tanaka) <[email protected]>:
>
> 読み直してみましたが、決着していないのは例外をどれにするかでしょうか。
>
> 私は、新規の例外を定義...
akr (Akira Tanaka)
08:25 PM Revision a85a0ddf (git): merge revision(s) 40069:
win32.c: missing break
* win32/win32.c (constat_attr): fix missing break.
git-svn-id: svn+ssh://ci.ruby-lan...
nagachika (Tomoyuki Chikanaga)
07:56 PM Revision 525c60b4 (git): merge revision(s) 40048:
fix typo: s/@ca_cert/@cacert/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40074 b2dd03c8-39d4-4d...
nagachika (Tomoyuki Chikanaga)
07:08 PM Bug #7811 (Closed): SecureRandom::random_bytes Only use random bytes, not extra String
This issue was solved with changeset r40065.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
akr (Akira Tanaka)
06:14 PM Bug #8179 (Closed): configure.in requires newer Autoconf than specified by AC_PREREQ
As far as we know, 2.64 and 2.66 are buggy, so we bumped AC_PRE_REQ to 2.67 (Debian Squeeze uses this) at r40034, tha... naruse (Yui NARUSE)
05:44 PM Bug #8151 (Closed): Duplicate character class warning
This issue was solved with changeset r40063.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is ...
naruse (Yui NARUSE)
11:08 AM Bug #8151: Duplicate character class warning
The warning is proposed by [ruby-core:24593] [Feature #1831] (2009-07-29) and committed by naruse.
It is seven yea...
akr (Akira Tanaka)
03:29 PM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
2013/2/24 ko1 (Koichi Sasada) <[email protected]>:

> Feature #7476: missing "IP_TRANSPARENT" constant for I...
akr (Akira Tanaka)
03:09 PM Revision 8ab35353 (git): * 2013-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision c3c4ffa9 (git): * lib/securerandom.rb (SecureRandom.random_bytes): Use
OpenSSL::Random.random_add instead of OpenSSL::Random.seed and
specify 0.0 as the entropy.
[ruby-core:47308] [Bug...
akr (Akira Tanaka)
02:59 PM Revision 28a15075 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:58 PM Revision 90e58877 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:58 PM Revision ff9c262f (git): win32.c: missing break
* win32/win32.c (constat_attr): fix missing break.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40069 b2dd03c8-...
nobu (Nobuyoshi Nakada)
11:31 AM Revision 0af16197 (git): add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:28 AM Revision 583c8e89 (git): * pack.c: Support Q! and q! for long long.
(natstr): Moved to toplevel. Add q and Q if there is long long type.
(endstr): Moved to toplevel.
(NATINT_PACK):...
akr (Akira Tanaka)
11:00 AM Bug #8203 (Closed): Rinda: recycled object
test-allで以下のメッセージが出ているんですが、これってなんですか?
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130402T010302Z.log.html.gz#te...
naruse (Yui NARUSE)
10:26 AM Revision 6d0c59f1 (git): * ext/-test-/num2int/num2int.c: Define utility methods
as module methods of Num2int.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
git-svn-id: svn+ssh:...
akr (Akira Tanaka)
10:23 AM Bug #8185: Thread/fork issue
2013/3/30 Tanaka Akira <[email protected]>:
> 2013/3/30 Jason Gladish <[email protected]>:
>>
>> I've foun...
akr (Akira Tanaka)
10:08 AM Revision 817a96a4 (git): * lib/securerandom.rb: Don't use Array#to_s.
[ruby-core:52058] [Bug #7811] fixed by zzak (Zachary Scott).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@400...
akr (Akira Tanaka)
09:48 AM Revision e89c029f (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:44 AM Revision 5fd798d1 (git): * re.c (rb_reg_to_s): suppress duplicated charclass warning.
Regexp#to_s suppress extra its whole regexp options by calling
onig_new with its source, but it doesn't call rb_reg...
naruse (Yui NARUSE)
07:02 AM Revision a1a6fd90 (git): * vm_dump.c (rb_print_backtrace): separate to ease showing C backtrace.
* internal.h (rb_print_backtrace): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40062 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
06:28 AM Revision 5376610d (git): Add ignore_stderr because it outputs "circular require" warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:28 AM Revision 1ee9f375 (git): Use assert_separately to speed up on test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:28 AM Revision a26d663b (git): * test/ruby/envutil.rb (assert_separately): stop_auto_run of
Test::Unit::Runner to prevent auto runner use ARGV.
* test/ruby/envutil.rb (assert_separately): add $: to separate p...
naruse (Yui NARUSE)
06:28 AM Revision 63f33c5e (git): Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:28 AM Revision 4046585a (git): use long_ary to suppress warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:02 AM Bug #8159: Build failure introduced by Rinda changes
It is odd, considering IPV6_MULTICAST_IF, but I will make these updates.
Thank you for researching this for me whi...
drbrain (Eric Hodel)
04:13 AM Revision be36df7f (git): merge revision(s) 35112,35121: [Backport #6190]
* transcode.c (str_encode_bang, encoded_dup): if nothing was
transcoded, just set encoding but leave codera...
U.Nakamura
04:09 AM Revision b6a72bcf (git): merge revision(s) 40015: [Backport #8196]
doumentation by @toolmantim [GH fixes #270]
* timeout.rb: Document Timeout::timeout 0 and nil argument behavior
...
U.Nakamura
04:07 AM Revision c921d0e1 (git): merge revision(s) 39967: [Backport #8194]
* time.c (num_exact): use to_r method only if to_int method is
available.
[ruby-core:53764] [Bug ...
U.Nakamura
04:04 AM Revision 8f610b17 (git): merge revision(s) 36432: [Backport #6734]
* configure.in (EXTDLDFLAGS): split options for each extension
libraries, and unused in ruby.pc. [Bug #673...
U.Nakamura
04:00 AM Revision d24ea3b6 (git): merge revision(s) 33365: [Backport #8106]
* test/ruby/test_bignum.rb (TestBignum#test_interrupt): fix for
faster CPU.
git-svn-id: svn+ssh://ci.ruby-lang.org...
U.Nakamura
03:59 AM Revision dbe75ed4 (git): merge revision(s) 37743: [Backport #7379]
* win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
API.
based on the patch by...
U.Nakamura
03:58 AM Revision 3108dc4b (git): merge revision(s) 39354,39356,39382: [Backport #5014]
* signal.c (sigsegv): avoid to use async signal unsafe functions
when nested sigsegv is happen.
[...
U.Nakamura
02:57 AM Bug #8200 (Feedback): Segmentation fault - rails 4 -> sidekiq-> tilt
Your log said,
>-- Crash Report log information --------------------------------------------
> See Crash Report...
kosaki (Motohiro KOSAKI)
02:14 AM Revision 7a77e124 (git): Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:02 AM Revision 0fb23a94 (git): fix typo: s/@ca_cert/@cacert/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:44 AM Bug #8202 (Closed): Turn off builded colorizing
Closed as duplicate of #8201 (which was moved to ruby-trunk) luislavena (Luis Lavena)
12:22 AM Bug #8202 (Closed): Turn off builded colorizing
GD!

In Ruby 1.9.3 the output into console does not process escape secuences and it was good for me becouse i use ...
Versum (Denis Zinin)
12:19 AM Feature #8201: Turn off builded colorizing
I think it will be better to introduce comand line key to disable builtin escape secuences processing (and it will be... Versum (Denis Zinin)

04/01/2013

11:56 PM Feature #8201 (Assigned): Turn off builded colorizing
Hello Denis,
As commented on RubyInstaller list, I think will be better to extend the functionality of built-in AN...
luislavena (Luis Lavena)
11:52 PM Feature #8201 (Closed): Turn off builded colorizing
GD!
 
In Ruby 1.9.3 the output into console does not process escape secuences and it was good for me becouse i use ...
Versum (Denis Zinin)
11:44 PM Bug #7171 (Closed): test-all failure on OS X (RubyCI)
mrkn (Kenta Murata)
11:43 PM Bug #7171: test-all failure on OS X (RubyCI)
問題が起きない環境を作ったので閉じます。 mrkn (Kenta Murata)
10:59 PM Revision 662d67f1 (git): Unused module removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:45 PM Revision 17cf784d (git): conditional test fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:41 PM Revision e47f41fb (git): more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:49 PM Revision d40335aa (git): * ext/-test-/num2int/num2int.c: Rename utility methods
to global functions to ease manual experiments.
* test/-ext-/num2int/test_num2int.rb: Follow the above change.
gi...
akr (Akira Tanaka)
09:12 PM Bug #8136: gsub strange behavior when substituting "\\'"
nobu (Nobuyoshi Nakada) wrote:
> =begin
> You need more escapes.
>
> "foo".gsub("f", "\\\\'")
> =end
Thank...
alexeymuranov (Alexey Muranov)
04:57 PM Bug #8136: gsub strange behavior when substituting "\\'"
=begin
You need more escapes.
"foo".gsub("f", "\\\\'")
=end
nobu (Nobuyoshi Nakada)
06:01 PM Bug #8200 (Closed): Segmentation fault - rails 4 -> sidekiq-> tilt
I see thie segfault on ruby 2.0 after a few reloads of the sidekiq dashboard mounted as engine in rails 4.
System:...
mmack (Maximilian Mack)
05:34 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Sample code to reproduce the issue using Flickr. With 1.9.3 this gives "Invalid API key" which is fine, but 2.0.0 ret... tsagadar (Marcel Mueller)
05:22 PM Bug #8159: Build failure introduced by Rinda changes
On Linux, IPv6 UDP multicast with link-local IP address (FF02::1 is link-local) requires scope_id specified.
http://...
naruse (Yui NARUSE)
03:10 PM Revision 7d3db3cc (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:00 PM Revision bd67f48e (git): * 2013-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision b5550361 (git): test_optparse.rb: skip no_error in backtrace
* test/optparse/test_optparse.rb (TestOptionParser#assert_no_error):
prefix with assert_ so it will be skipped in b...
nobu (Nobuyoshi Nakada)
01:34 PM Revision 87877eb0 (git): * ext/zlib/zlib.c (rb_gzfile_set_mtime): Use NUM2UINT.
The old logic doesn't work well on LP64 platforms as:
.. -2**63-1 => error,
-2**63 .. -2**62-1 => success,
-2**...
akr (Akira Tanaka)
01:08 PM Revision f4eeca1d (git): * ext/zlib/zlib.c (Zlib::Inflate.new):
Fix documentation syntax and naming errors.
Based on patch by Robin Dupret. Fix GH-271.
git-svn-id: svn+ssh://ci.r...
Eregon (Benoit Daloze)
12:58 PM Bug #8195 (Rejected): Time-dependent tests
No actual log. akr (Akira Tanaka)
12:56 PM Bug #8195: Time-dependent tests
On a second thought, this seems to be a poorly chosen "example". You can close this ticket. If I come across a better... hasari (Hiro Asari)
10:53 AM Bug #8195: Time-dependent tests
2013/4/1 hasari (Hiro Asari) <[email protected]>:

> Bug #8195: Time-dependent tests
> https://bugs.ruby-la...
akr (Akira Tanaka)
10:21 AM Bug #8195 (Rejected): Time-dependent tests
There are some tests that depend on timing of the execution, and fail sporadically.
I have not surveyed the entire...
hasari (Hiro Asari)
12:22 PM Revision 809a7618 (git): * test/-ext-/num2int/test_num2int.rb: Test small bignums.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:14 PM Revision d6daffbb (git): * numeric.c (rb_num2ulong_internal): Don't cast a negative double value
into unsigned long, which is undefined behavior.
(rb_num2ull): Don't cast a value bigger than LLONG_MAX into
long...
akr (Akira Tanaka)
11:58 AM Revision 0cbe2f49 (git): * ext/-test-/num2int/num2int.c: Return string for result, instead of
printing.
* test/-ext-/num2int/test_num2int.rb: updated to follow above change.
git-svn-id: svn+ssh://ci.ruby-lan...
akr (Akira Tanaka)
11:14 AM Feature #8191: Short-hand syntax for duck-typing
The more I think about this and it's potential use cases, the more I like the inline double question-mark syntax. Thi... wardrop (Tom Wardrop)
09:14 AM Feature #8191: Short-hand syntax for duck-typing
I know what duck-typing is, and it's a bit of a stretch to call this duck-typing, but it follows the duck-typing phil... wardrop (Tom Wardrop)
11:08 AM Revision 4e52c3c6 (git): * numeric.c (rb_num2long): Don't use SIGNED_VALUE uselessly.
(check_int): Ditto.
(check_short): Ditto.
(rb_num2fix): Ditto.
(rb_num2ulong_internal): Add a cast.
git-svn-...
akr (Akira Tanaka)
09:41 AM Revision ecb9b987 (git): configure.in: prereq 2.67
* configure.in: skip autoconf 2.64 and 2.66, 2.67 seems short-lived
but stick on it for Debian Squeeze.
git-svn-id...
nobu (Nobuyoshi Nakada)
09:39 AM Revision 3eb4b0aa (git): sha2.c: suppress warnings
* ext/digest/sha2/sha2.c (SHA256_Final, SHA512_Last): suppress
strict-aliasing warnings on gcc 4.8.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
09:26 AM Bug #8180 (Closed): Backport r39967 to 1.9.3 and 2.0.x
moved https://bugs.ruby-lang.org/issues/8193 and https://bugs.ruby-lang.org/issues/8194 hsbt (Hiroshi SHIBATA)
07:00 AM Revision 318e8835 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:41 AM Revision 39626559 (git): configure.in: clang check
* configure.in: should not use AC_COMPILE_IFELSE before
AC_USE_SYSTEM_EXTENSIONS. [Bug #8192]
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
05:22 AM Revision 90e8a9b4 (git): configure.in: clang check
* configure.in: check clang version by predefined macro values.
[Bug #8192]
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
03:06 AM Revision 92f59c6d (git): * numeric.c (check_uint): Take the 1st argument as unsigned long,
instead of VALUE. Refine the validity test conditions.
(check_ushort): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang...
akr (Akira Tanaka)
 

Also available in: Atom