Project

General

Profile

Activity

From 07/06/2013 to 07/12/2013

07/12/2013

11:53 PM Feature #8629: Method#parameters should include the default value
Hm, seems I missed that part. Having said that, I think Charles makes a
valid point in just returning something like `:expression` instead.
There would probably be overhead to storing the actual values (be it as
a Proc or somethin...
yorickpeterse (Yorick Peterse)
11:23 PM Feature #8629: Method#parameters should include the default value
Yorick, I believe I used exactly your case in my first example, didn't I? In that case, Method#parameters wouldn't evaluate Time.now but return a proc instead. It's up to the framework to decide if it will call the proc or not...
Charle...
rosenfeld (Rodrigo Rosenfeld Rosas)
10:41 PM Feature #8629: Method#parameters should include the default value
I could see this being valid if it were limited to showing literal types when the default value is a literal and something like :expression when it's anything more complex (though that obviously isn't the right choice since :expression a... headius (Charles Nutter)
10:23 PM Feature #8629: Method#parameters should include the default value
How would this take dynamic default values into account such as the
following?:

def some_method(time = Time.now)

end

Unless UnboundMethod#parameters would re-query this information on every
call I don't see ...
yorickpeterse (Yorick Peterse)
10:20 PM Feature #8629: Method#parameters should include the default value
This would avoid the need of hacks like this one: https://github.com/wycats/merb/blob/master/merb-action-args/lib/merb-action-args/mri_args.rb rosenfeld (Rodrigo Rosenfeld Rosas)
10:16 PM Feature #8629 (Rejected): Method#parameters should include the default value
def a_method arg1=1, now = Time.now, arg2 = arg1 + 1
end
method(:a_method).parameters == [[:opt, :arg1], [:opt, :now], [:opt, :arg2]]
I'd prefer if it could return [[:opt, :arg1, 1], [:opt, :now, now_proc], [:opt, :arg2, arg2_proc...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:31 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
naruse (Yui NARUSE) wrote:
> Maybe I misunderstood, why is the assertion is needed?
> ...
I agree, it does not seem XMLRPC's job to check Content-Length.
Could we please solve this issue promptly?
Such a bad bug should not be left ...
Eregon (Benoit Daloze)
07:25 PM Bug #8628: Parse error with method argument that is a Hash with a specific pattern
@nobu.
My apologies for this false alarm.
Thank you for pointing the grammatical ambiguity:
/=/ can be parsed as the /= operator followed by a regexp literal or the regexp literal /=/ itself.
Didn't realize this.
dimitri-lo2u (Dimitri Geshef)
04:18 PM Bug #8628 (Rejected): Parse error with method argument that is a Hash with a specific pattern
`p /=/' is interpreted as `p /= /.../', an assignment to a variable `p'. nobu (Nobuyoshi Nakada)
03:55 PM Bug #8628: Parse error with method argument that is a Hash with a specific pattern
# Could also reproduce the problem with the regexp /,/
# In other words, this will also result in a parse error:
p /,/ => 'problematic too'
# /in comment/ => 'parse fails in this line'
dimitri-lo2u (Dimitri Geshef)
03:38 PM Bug #8628: Parse error with method argument that is a Hash with a specific pattern
The error message when you run the snippet in attachment is:
snippet.rb:9: syntax error, unexpected tIDENTIFIER, expecting $end
# /in comment/ => 'fails'
^
dimitri-lo2u (Dimitri Geshef)
03:35 PM Bug #8628: Parse error with method argument that is a Hash with a specific pattern
First detected in ruby 1.9.3p374 (2013-01-15) [i386-mingw32] dimitri-lo2u (Dimitri Geshef)
03:33 PM Bug #8628 (Rejected): Parse error with method argument that is a Hash with a specific pattern
# The next two lines cause a parse error
p /=/ => 'works'
# /in comment/ => 'fails'
# The reported error is:
# syntax error, unexpected ',', expecting $end
# /in comment/ => 'fails'
# ^
# The issue is caused by the ...
dimitri-lo2u (Dimitri Geshef)
06:53 PM Bug #8624: illegal hardware instruction in csv test
2013/7/12 nobu (Nobuyoshi Nakada) <nobu@ruby-lang.org>:
>
> 手元のx86_64-linux環境では、illegal hardware instructionも再現せず、
> valgrindも何も出さなず、x86_64-darwnでもvalgrindのエラーは出たものの
> illegal hardware instructionは再現せず、でした。
>
> とりあえず、valgrin...
akr (Akira Tanaka)
04:34 PM Bug #8624: illegal hardware instruction in csv test
手元のx86_64-linux環境では、illegal hardware instructionも再現せず、
valgrindも何も出さなず、x86_64-darwnでもvalgrindのエラーは出たものの
illegal hardware instructionは再現せず、でした。
とりあえず、valgrindのエラーは出なくなったと思いますが、まだ落ちるよう
ならreopenしてください。
nobu (Nobuyoshi Nakada)
04:28 PM Bug #8624 (Closed): illegal hardware instruction in csv test
This issue was solved with changeset r41930.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
encoding.c: refill terminator at associating encoding
* encodin...
nobu (Nobuyoshi Nakada)
04:05 PM Revision a82f8c78 (git): * 2013-07-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision 5de05f57 (git): * lib/rubygems/psych_additions.rb: Ignore Psych docs here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:01 PM Bug #8612: nil in ERB::Util.url_encode
seki leave to xibbar. xibbar (Takeyuki FUJIOKA)
03:24 PM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
I upgraded to ruby 193 p429 and still see the cfp consistency error....I am attaching the new trace file too....
Thanks
Praven
praveend (Praveen Devarao)
02:06 PM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
Hi,
I am now able to reproduce this issue on my system too, while running the Rails 4 test suite. I see that the error is turning out in different places during different runs. Could you kindly let me know what causes cfp consistency ...
praveend (Praveen Devarao)
10:47 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
It seems that this issue occurs on Ubuntu 13.04 and already fixed on trunk with the revision r41215
phasis68 (Heesob Park)
08:53 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
"xinjin (Sujin Phil)" <sujin.phil@gmail.com> wrote:
> (({
> 2.0.0p247 :001 > require 'socket'
> => true
> 2.0.0p247 :002 > Socket.pack_sockaddr_in(500, "fdgfdgd")
> (irb):2: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
> ru...
normalperson (Eric Wong)
07:53 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
2013/7/12 xinjin (Sujin Phil) <sujin.phil@gmail.com>:
> Bug #8627: Socket.pack_sockaddr_in crashes ruby
> https://bugs.ruby-lang.org/issues/8627

> 2.0.0p247 :001 > require 'socket'
> => true
> 2.0.0p247 :002 > Socket.pack_...
akr (Akira Tanaka)
07:15 AM Bug #8627: Socket.pack_sockaddr_in crashes ruby
/home/developer/.rvm/rubies/ruby-2.0.0-p247/bin/irb:16:in `<main>'
/home/developer/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/irb.rb:396:in `start'
/home/developer/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/irb.rb:396:in `catch'
/home...
xinjin (Sujin Phil)
07:10 AM Bug #8627 (Closed): Socket.pack_sockaddr_in crashes ruby
(({
2.0.0p247 :001 > require 'socket'
=> true
2.0.0p247 :002 > Socket.pack_sockaddr_in(500, "fdgfdgd")
(irb):2: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
-- Control fr...
xinjin (Sujin Phil)
10:34 AM Bug #8507: Keyword splat does not convert arg to Hash
So let's think about why we have `splat(*nil)`. Ordinarily you wouldn't write this code like that of course, but you might have a variable foo and unbeknownst to you (or perhaps not), foo happens to be nil, so you end up with `splat(*nil... mcmire (Elliot Winkler)
10:14 AM Feature #8614: Object#singleton_class with a block
I'm not sure I like this, but I do agree about the use case. What about adding a method `singleton_class_eval` instead? mcmire (Elliot Winkler)
09:11 AM Revision e9ce31bf (git): * ext/fiddle/win32/lib/win32/registry.rb
(Win32::Registry::API#make_wstr): same as r41922.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:37 AM Revision 342259a3 (git): signal.c: for valgrind
* signal.c (ruby_signal): suppress valgrind error in
install_sighandler().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:28 AM Revision 8b8cce32 (git): encoding.c: refill terminator at associating encoding
* encoding.c (rb_enc_associate_index): refill the terminator if it
becomes longer than before. [ruby-dev:47500] [Bug #8624]
* string.c (str_null_char, str_fill_term): get rid of out of bound
access.
* string.c (rb_str_fill_terminato...
nobu (Nobuyoshi Nakada)
05:59 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Fri, Jul 12, 2013 at 03:55:16AM +0900, Eric Wong wrote:
> Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> > It occurs to me that this is pretty similar to IO#readpartial. The main
> > difference being that readpartial auto...
Anonymous
03:59 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> It occurs to me that this is pretty similar to IO#readpartial. The main
> difference being that readpartial automatically retries on EWOULDBLOCK
> and raises an EOF error. Mayb...
normalperson (Eric Wong)
02:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Wed, Jul 10, 2013 at 10:52:26AM +0900, Eric Wong wrote:
> Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> > On Wed, Jul 10, 2013 at 09:03:19AM +0900, Eric Wong wrote:
> > > "tenderlovemaking (Aaron Patterson)" <aaron@tender...
Anonymous
03:07 AM Bug #8621 (Assigned): MinGW: Rational tests are causing error
Thank you nobu, but seems we are back to the floating error again:
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1784/console
~~~
1) Failure:
TestSprintf#test_float [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-...
luislavena (Luis Lavena)
02:35 AM Revision bc241235 (git): * hash.c (rb_hash_reject_bang): do not call rb_hash_foreach() if RHash
has ntbl and it is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:22 AM Revision b9a9a024 (git): * hash.c (recursive_hash): use RHASH_SIZE() to check hash size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
01:34 AM Feature #8626: Add a Set coercion method to the standard lib: Set(possible_set)
I've created a pull request for MRI here https://github.com/ruby/ruby/pull/359 saturnflyer (Jim Gay)
01:26 AM Feature #8626 (Open): Add a Set coercion method to the standard lib: Set(possible_set)
=begin
I'd like to be able to take an object that may already be a Set (or not) and ensure that it is one
For example:
set1 = Set.new
set2 = Set(set1)
set3 = Set(nil)
assert set1.equal?(set2)
assert_instanc...
saturnflyer (Jim Gay)

07/11/2013

11:54 PM Bug #8625 (Closed): IO#read(len, buf) shortens buf even if data is not read actually
By r34580, `IO#read(len, buf)` does not expand _buf_ until data is read actually,
but it still shortens if the original _buf_ size is greater than _len_.
Is this an intended behavior?
~~~ruby
def m(s)
IO.pipe do |r, w|
t = ...
no6v (Nobuhiro IMAI)
11:51 PM Bug #8624 (Closed): illegal hardware instruction in csv test
以下のように illegal hardware instruction になることがあるようです。
% ./ruby -v
ruby 2.1.0dev (2013-07-11 trunk 41923) [x86_64-linux]
% ./ruby ../../ruby/test/runner.rb ../../ruby/test/csv
Run options:
# Running tests:
[ 36/302] TestCSV::Enco...
akr (Akira Tanaka)
11:08 PM Bug #8612: nil in ERB::Util.url_encode
=begin
The same issue exists in (({CGI::escape})). Internally it calls (({$1.bytesize})) and (({$1})) is (({nil})).
For example calling:
CGI::escape(ActiveSupport::SafeBuffer.new('é'))
results in:
NoMethodError: undefine...
fotos (Fotos Georgiadis)
10:58 PM Bug #7311 (Assigned): DRb test suite fails when hostname cannot be reached
I don't like the patch, maybe seki-san can review it.
seki: please check 0001-Fallback-to-localhost-if-hostname-is-not-associated-.patch
zzak (zzak _)
05:36 PM Bug #7311 (Open): DRb test suite fails when hostname cannot be reached
Thanks for applying. However, there is also 0001-Fallback-to-localhost-if-hostname-is-not-associated-.patch attached, which does not look to be applied. Could you please review? Thanks. vo.x (Vit Ondruch)
02:24 PM Bug #7311 (Closed): DRb test suite fails when hostname cannot be reached
This issue was solved with changeset r41916.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311]
Pat...
zzak (zzak _)
10:57 PM Bug #5563 (Closed): Fix bug in drb tests if hostname does not resolve to a local IP
Thanks Jeremy! zzak (zzak _)
03:12 PM Bug #5563: Fix bug in drb tests if hostname does not resolve to a local IP
This bug can be closed. Bug #7311 was a duplicate of this bug with the exact same patch I provided, and the patch was applied at r41916. jeremyevans0 (Jeremy Evans)
09:30 PM Bug #8621 (Closed): MinGW: Rational tests are causing error
This issue was solved with changeset r41923.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32.c: fix infinite recursion
* win32/win32.c (rb_w32_pow): un...
nobu (Nobuyoshi Nakada)
12:05 PM Bug #8621: MinGW: Rational tests are causing error
This issue is raise from pow function failure of float on mingw-w64 x86.
C:\work>irb
irb(main):001:0> 1 ** 2
=> 1
irb(main):002:0> 1.0 ** 2.0
C:\work>
Exited without return value or exception.
I found t...
phasis68 (Heesob Park)
12:40 AM Bug #8621 (Closed): MinGW: Rational tests are causing error
Hello,
It seems that Rational related tests are causing failure in RubyInstaller CI:
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1772/console
ComplexRational_Test#test_comp_srat = 0.00 s = .
ComplexRational_Test#tes...
luislavena (Luis Lavena)
06:09 PM Bug #8623 (Assigned): Make stable Gem::Specification.files in default .gemspecs
naruse (Yui NARUSE)
05:56 PM Bug #8623 (Closed): Make stable Gem::Specification.files in default .gemspecs
Although the .gemspec files for default gems are same in function, the different order of their "s.files" makes them different therefore possibly conflicting in multilib scenario. Simple sorting fixes this issue.
vo.x (Vit Ondruch)
05:53 PM Feature #8619: Standard Profiling API
> In what ways is GC::Profiler insufficient?

GC::Profiler only provides fairly limited details on garbage collection.
It also doesn't provide any information as to what methods actually
triggered garbage collection and the asso...
yorickpeterse (Yorick Peterse)
06:53 AM Feature #8619: Standard Profiling API
In what ways is GC::Profiler insufficient? drbrain (Eric Hodel)
05:51 PM Bug #8590: Second call of https.get results in timeout
drbrain (Eric Hodel) wrote:
> I can reproduce it with OpenSSL 1.0.1e 11 Feb 2013 and ruby trunk, it seems related to SSL session reuse.
> ...
The reuse_ssl_session = false feels workaround; it can't be applied generally.
As far as I u...
naruse (Yui NARUSE)
08:51 AM Bug #8590: Second call of https.get results in timeout
=begin
I can reproduce it with OpenSSL 1.0.1e 11 Feb 2013 and ruby trunk, it seems related to SSL session reuse.
(({openssl s_client})) for 1.0.1e behaves strangely with this server, however. (({openssl s_client -host secure.nicovideo.j...
drbrain (Eric Hodel)
03:25 PM Revision 7a171aa8 (git): * hash.c (rb_hash_size): use RHASH_SIZE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
03:09 PM Revision 76a400ff (git): * hash.c (rb_hash_values): set array capa to RHASH_SIZE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
03:06 PM Revision 9ae1b8f9 (git): * 2013-07-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision c459495c (git): * hash.c (rb_hash_keys): set array capa to RHASH_SIZE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Glass_saga (Masaki Matsushita)
01:52 PM Misc #8545 (Closed): Backport r41431 to 1.9.3
Backport requests are for bugs only. zzak (zzak _)
12:30 PM Revision 3c9e6f1e (git): win32.c: fix infinite recursion
* win32/win32.c (rb_w32_pow): undef pow to get rid of infinite
recursive call. re-fix [Bug #8495]. [ruby-core:55923] [Bug #8621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:18 AM Revision 4997572f (git): win32/registry.rb: remove workaround
* ext/dl/win32/lib/win32/registry.rb (Win32::Registry::API#make_wstr):
remove workaround to append WCHAR terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:18 AM Revision 18030d18 (git): transcode.c: fill terminator
* transcode.c (str_encode_associate): fill terminator after conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:18 AM Revision 1549894a (git): string.c: multi-byte terminator
* string.c (rb_enc_str_new, rb_str_set_len, rb_str_resize): fill
minimum length of the encoding as the terminator.
* string.c (str_buf_cat, rb_str_buf_append, rb_str_splice_0): ditto.
* string.c (str_make_independent_expand, rb_str_mod...
nobu (Nobuyoshi Nakada)
11:17 AM Revision b271a8c9 (git): string.c: multi-byte terminator
* string.c (rb_string_value_cstr): fill minimum length of the encoding
as the terminator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:17 AM Revision db3ddad3 (git): string.c: check null char
* string.c (rb_string_value_cstr): check null char in char, not in
byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:51 AM Revision be698dbc (git): * array.c: Replace confusing example for #reverse_each in overview
Patch by Earl St Sauver [Fixes documenting-ruby/ruby-12]
https://github.com/documenting-ruby/ruby/pull/12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:24 AM Revision c1f78cc6 (git): * test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311]
Patch by Vit Ondruch [ruby-core:49101]
* test/drb/ut_array.rb: ditto
* test/drb/ut_array_drbssl.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:23 AM Bug #7583: Update DTrace probes description in Wiki
tenderlovemaking (Aaron Patterson) wrote:
> I've updated the wiki and added a script that will generate wiki format from the probes file.
Thanks
> ...
Wow, I was not aware of this tool. I need to look at it and thank to Motohiro :)
vo.x (Vit Ondruch)
03:23 AM Bug #7583 (Closed): Update DTrace probes description in Wiki
I've updated the wiki and added a script that will generate wiki format from the probes file. It looks like there is a script for generating system tap probes already under tool, so I'll close this. If we need more system tap stuff, pl... tenderlovemaking (Aaron Patterson)
04:49 AM Revision ed0736dd (git): * sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]
https://github.com/ruby/ruby/pull/357
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:01 AM Revision 84247a63 (git): * lib/securerandom.rb: Refactor conditions by Rafal Chmiel
[Fixes GH-326] https://github.com/ruby/ruby/pull/326
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:53 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
Actually I personally do have a use case for the argument names being
available, but I wouldn't be too surprised if I was one of the few ones
that actually needed it. In my case I have some code that builds
definitions of Ruby met...
yorickpeterse (Yorick Peterse)
02:53 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
FWIW, here's output from and patch to enable "rich" parameter
information on JRuby. We do not provide the argument names because
JRuby often implements multiple-arity methods with multiple native
code bodies (so there's potentiall...
headius (Charles Nutter)
02:53 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
On Wed, Jul 10, 2013 at 11:16 AM, Yorick Peterse
<yorickpeterse@gmail.com> wrote:
> The problem, at least with MRI, is that the moment you do something
> similar with methods that are written in C all meaningful information is
>...
headius (Charles Nutter)
12:23 AM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
Consider the following code:

def example(required, optional = 10)
end

method(:example).parameters

On all Ruby implementations this works as expected and results in the
following:

[[:req, :requ...
yorickpeterse (Yorick Peterse)
03:41 AM Bug #6495 (Closed): uninitialized constant due to missing require
This was fixed in r37391, so I'm closing this. Thanks! tenderlovemaking (Aaron Patterson)
03:38 AM Bug #7029 (Closed): yaml#load_file too slow under Psych
=begin
Hi,
The latest release of the psych gem cuts the time for this benchmark. It may still be slightly slower than Syck, but the parsers are different (YAML 1.0 vs YAML 1.1), so we can't really compare apples to apples. I'll con...
tenderlovemaking (Aaron Patterson)
03:30 AM Bug #4821 (Rejected): Random Segfaults (in start_thread?)
I'm closing this since I haven't heard any feedback from the reporter. If you can post an isolated example, I would be happy to help out.
Thanks!
tenderlovemaking (Aaron Patterson)
03:06 AM Bug #7585 (Closed): DTrace probes are inconsistent
Hi, I made the inconsistent probes you mentioned have consistent parameters. I'm not totally sure about the utility of making the method entry and return probes match the require entry / return probes. The method probes have different ... tenderlovemaking (Aaron Patterson)
03:06 AM Revision 973d8553 (git): * bignum.c: Don't use toom3 after once karatsuba is choosen.
(mulfunc_t): New type.
(bary_mul_toom3_start): Renamed from bary_mul.
(bary_mul_karatsuba_start): Renamed from bary_mul.
(bary_mul_balance_with_mulfunc): Renamed from bary_mul_balance and
new argument, mulfunc, is added.
(rb_bi...
akr (Akira Tanaka)
01:57 AM Bug #8622 (Closed): Tracepoint API: B_RETURN_EVENT not triggered when "return" used inside lambda
=begin
I'm using the Tracepoint API in my gem and I noticed that when the keyword `return` is used inside a lambda, a block return event (B_RETURN_EVENT) is not triggered. For example, I would expect the same number of B_CALL_EVENT an...
deivid (David Rodríguez)
01:46 AM Revision 9e2fc969 (git): probes_to_wiki.rb: fix comment and reduce unnecessary array
* tool/probes_to_wiki.rb: fix usage comment. use Enumerable#grep
which yields each elements to reduce unnecessary array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 AM Revision e2a17dad (git): call GC.start before fork-related tests to decrease GC cost on fork children
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:13 AM Revision 300b7c80 (git): * process.c (rb_daemon): daemon(3) is implemented with fork(2).
Therefore it needs rb_thread_atfork(). (and revert r41903)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:09 AM Revision 24eff272 (git): merge revision(s) 41623,41723: [Backport #8603]
* ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix for the cases when
the argument x is not a BigDecimal.
This change is based on the patch made by Garth Snyder.
[Fix GH-332] https://github.com/ruby/ruby/pul...
U.Nakamura
12:50 AM Bug #8615 (Closed): Add examples for SimpleDelegator
This issue was solved with changeset r41905.
Caleb, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/delegate.rb: Add example for __setobj__ and __getobj__
[...
zzak (zzak _)

07/10/2013

11:44 PM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
What do you mean "accurate results when using UnboundMethod#parameters"?
$ bin/jruby -e "def foo(a, b=1, *c, &d); end; p self.class.instance_method(:foo).parameters"
[[:req, :a], [:opt, :b], [:rest, :c], [:block, :d]]

...
headius (Charles Nutter)
07:16 PM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
As a follow up, a while ago I resolved a similar issue in Rubinius. Although
Rubinius would provide correct argument types it would consider all local
variables in a method as block arguments. As a result you'd quickly end up with
met...
yorickpeterse (Yorick Peterse)
11:25 PM Bug #8567 (Closed): Logger#add can never return +false+
This issue was solved with changeset r41901.
Tim, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/logger.rb (#add): Remove incorrect rdoc for return value
[...
zzak (zzak _)
01:11 PM Bug #8567 (Assigned): Logger#add can never return +false+
zzak (zzak _)
07:53 PM Feature #8619: Standard Profiling API
For those that are curious, this is the patch for ruby-prof that I'm talking
about: https://gist.github.com/YorickPeterse/5944545
yorickpeterse (Yorick Peterse)
07:51 PM Feature #8619 (Open): Standard Profiling API
At the time of writing there are many different Ruby implementations ranging
from the common ones such as MRI, Jruby and Rubinius to slightly less common
ones such as mruby and Topaz.
A recurring problem in all these implementation...
yorickpeterse (Yorick Peterse)
06:23 PM Revision f328b9d0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:22 PM Revision 4580394a (git): * tool/probes_to_wiki.rb: adding a script to convert probes.d to wiki
format for easy wiki updates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:34 PM Bug #8590 (Feedback): Second call of https.get results in timeout
I can't reproduce on
* ruby 2.1.0dev (2013-07-10 trunk 41892) [x86_64-freebsd9.1]
* OpenSSL 0.9.8y 5 Feb 2013
Feedback and patch is welcome
naruse (Yui NARUSE)
05:10 PM Bug #8590: Second call of https.get results in timeout
It can be reproduced on trunk r41889. Glass_saga (Masaki Matsushita)
01:39 PM Bug #8590 (Assigned): Second call of https.get results in timeout
zzak (zzak _)
05:10 PM Bug #8386: OpenSSL thread safety
ktsj (Kazuki Tsujimoto) wrote:
> MartinBosslet (Martin Bosslet) wrote:
> ...
Thanks! Ok, that seems good enough. I'll try to extract something in isolation from that.
MartinBosslet (Martin Bosslet)
03:55 PM Revision cd224452 (git): * man/ri.1: Incorrect use of .Dd macro [Bug #8620] by Tristan Hill
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:50 PM Revision 0357488b (git): * lib/delegate.rb: Add example for __setobj__ and __getobj__
[Bug #8615] Patch by Caleb Thompson
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:36 PM Revision e82591d0 (git): * 2013-07-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:36 PM Revision 843f3a65 (git): On FreeBSD, threads don't die on daemon(3)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:30 PM Revision 30ce930f (git): * lib/logger.rb: Use :call-seq: for method signature rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:25 PM Revision fef0a7de (git): * lib/logger.rb (#add): Remove incorrect rdoc for return value
[Bug #8567] Reported by Tim Pease.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:23 PM Bug #8493: Random Segmentation fault in sass
Could either of you provide a reproducible script? Just 'sass' the dependency doesn't help much.
Also, have you tried the latest of the 1.9 series: 1.9.3-p448?
zzak (zzak _)
08:18 AM Bug #8493: Random Segmentation fault in sass
=begin
We are running into the same issue on SmartOS. Here is the output of our segfault:

/path/to/ruby/1.9.1/gems/sass-3.2.9/lib/sass/cache_stores/filesystem.rb:20: [BUG] Segmentation fault
ruby 1.9.3p392 (2013-02-22 revision ...
sax (Eric Saxby)
02:12 PM Revision d5284438 (git): string.c: rb_str_subpos
* string.c (rb_str_subpos): make public function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 PM Bug #8613 (Closed): Update to rdoc 4.0.1
My mistake, we can just use #8037.
Sorry!
zzak (zzak _)
02:08 PM Bug #8037 (Assigned): rdoc issues preventing docs generating after ruby was compiled
@stomar Oops, you are correct!
I think Eric is working on another release of RDoc, so hopefully he can merge soon.
zzak (zzak _)
02:03 PM Bug #8612 (Assigned): nil in ERB::Util.url_encode
zzak (zzak _)
01:46 PM Revision c0796c36 (git): * bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:35 PM Revision 2a2ac623 (git): * string.c (rb_str_index): cache single byte flag and some
cosmetic changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
01:23 PM Bug #8560: CSV, skip_lines option causes error when passing a string
@Kyle you might want to try to ping JEG2 on that ticket as well. He
may not see this.
zzak (zzak _)
01:06 PM Revision 55e60d05 (git): * bignum.c (bary_2comp): Don't use bary_plus_one.
(bary_add_one): Replaced by the implementation of bary_plus_one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:55 PM Misc #8548: Correction for a String#include? usage example
@mattonrails this bug was actually fixed just recently in rdoc, see https://github.com/rdoc/rdoc/issues/220 zzak (zzak _)
12:50 PM Bug #8482 (Assigned): native rake gem has broken path
Assigning to Eric, since it wouldn't let me assign it to Jim? zzak (zzak _)
12:48 PM Bug #8551 (Closed): rake 10.0.4 regression from 0.9.6 - prints verbose stacktrace
See ruby-core:55575 zzak (zzak _)
11:48 AM Revision c37e6ab2 (git): bignum.c: sizeof_bdigit_dbl
* bignum.c (sizeof_bdigit_dbl): check sizeof(BDIGIT_DBL).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:47 AM Revision c169b513 (git): internal.h: STATIC_ASSERT
* internal.h (STATIC_ASSERT): move from enum.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:10 AM Revision 716c93be (git): * bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> On Wed, Jul 10, 2013 at 09:03:19AM +0900, Eric Wong wrote:
> > "tenderlovemaking (Aaron Patterson)" <aaron@tenderlovemaking.com> wrote:
> > > As for Erlang style return values. ...
normalperson (Eric Wong)
09:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Wed, Jul 10, 2013 at 09:03:19AM +0900, Eric Wong wrote:
> "tenderlovemaking (Aaron Patterson)" <aaron@tenderlovemaking.com> wrote:
> > As for Erlang style return values. It seems interesting, but that
> > means every call to `...
Anonymous
09:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
"tenderlovemaking (Aaron Patterson)" <aaron@tenderlovemaking.com> wrote:
> As for Erlang style return values. It seems interesting, but that
> means every call to `try_read_nonblock` would allocate an array. The
> only possible ...
normalperson (Eric Wong)
09:12 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
=begin
Just another data point. I ran the benchmarks that Charles showed on my implementation in MRI. We also see a good speed improvement on MRI:
$ ruby -rbenchmark -rsocket -e "sock = TCPSocket.new('google.com', 80); 10.times {...
tenderlovemaking (Aaron Patterson)
06:24 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
=begin
Hi, I've updated the patch to apply against trunk (please find it attached).
Matz, akr, with regard to get_* vs try_read_*, I don't think it will work. For example, should try_write_* be set_*? I think it would look strange ...
tenderlovemaking (Aaron Patterson)
10:53 AM Bug #8616: Process.daemon messes up threads
No, it shouldn't raise an exception. Process.daemon and fork both use
after_fork() in C. That function should iterate all the threads and mark
them as KILLED since they are all dead.


On Tue, Jul 9, 2013 at 6:14 PM, Tanaka Ak...
evanphx (Evan Phoenix)
10:23 AM Bug #8616: Process.daemon messes up threads
2013/7/10 tenderlovemaking (Aaron Patterson) <aaron@tenderlovemaking.com>:
> Bug #8616: Process.daemon messes up threads
> https://bugs.ruby-lang.org/issues/8616

Process.daemon cannot preserve threads because
it uses fork and...
akr (Akira Tanaka)
07:29 AM Bug #8616 (Closed): Process.daemon messes up threads
=begin
Hi,
When I daemonize a process, it somehow messes up threads from the parent process. Here is a script to reproduce the problem:
r1, w1 = IO.pipe
r2, w2 = IO.pipe

t = Thread.new {
puts "start"
w1.writ...
tenderlovemaking (Aaron Patterson)
09:53 AM Feature #8469: ABI checker とか導入しませんか
2013年7月9日 10:25 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

> Lowはどうせみんな無視すると思ってるので 8
> だけでいいと思います。当面は。Highで補足できない(かつ我々が補足したい)具体事例が出てからプラスα考えればいいと思います。
> abi-compliance-checkerコマンド起動するときに -abi オプションつければソースコンパチビリティをチェックしなくなるので、...
akr (Akira Tanaka)
08:34 AM Bug #8615: Add examples for SimpleDelegator
reassigning to zzak as he has more bandwidth for doc commits. drbrain (Eric Hodel)
03:41 AM Bug #8615 (Closed): Add examples for SimpleDelegator
SimpleDelegator’s documentation lacked an example of its primary
feature, that it automatically sets the object passed to its initializer
as the delegated object.

* Add implicit __setobj__ example
* Add example showing that sup...
calebthompson (Caleb Thompson)
08:34 AM Bug #8557 (Closed): rubygems/security.rb is loaded twice if openssl is unavailable
Fixed by r41873 drbrain (Eric Hodel)
08:27 AM Revision 7bc77b76 (git): Use Tempfile.create to unlink the tempfile on Windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:10 AM Revision 6d45dd20 (git): fix PATH environ related test failure introduced at r41873
On Windows PATH_SEPARATOR is ';'.
Therefore it can't be hardcoded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:10 AM Revision 372a9b1b (git): fix shebang test failure introduced at r41873
On Windows, it doesn't use /usr/bin/env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:02 AM Revision ef9fd492 (git): remove duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:45 AM Revision 83240be2 (git): fix test failure introduced at r41873
it needs switching windows or othres because lib/rubygems/test_case.rb:283
switches the platform string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:33 AM Feature #6626: Readline.delete_text
大変遅くなりましたが、これを取り込もうと思って作業しています。
手元の環境(Mac OS X 10.7, GNU Readline 6.2)での動作確認は終わりました。
あと、Mac OSに標準添付されているEditLine(libedit)での動作を確認したらcommitしようかなと思っていたのですが、
このパッチには、string.cで定義されているrb_str_subpos関数を非公開から公開にする修正が含まれています。これを取り込んでもいいものなのか私...
kouji (Kouji Takao)
05:58 AM Revision cc47b029 (git): bignum.c: select by preprocessor conditions
* bignum.c (maxpow_in_bdigit_dbl, maxpow_in_bdigit): select by
preprocessor conditions to reduce dead code and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:54 AM Revision 94e7608b (git): Turns out [Fix GH-***] doesn't work while [Fixes GH-***] does.
Fix existing tags for future reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
05:19 AM Revision 863d148a (git): process.c: kill threads in daemon process
* process.c (fork_daemon): kill the other threads all and abandon the
kept mutexes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Revision d3e8f0fe (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:59 AM Revision 011faff5 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:56 AM Feature #7677 (Closed): YAML load mode that does instantiate Ruby
`Psych.safe_load` method has been introduced, which should deal with this issue. Thanks! tenderlovemaking (Aaron Patterson)
02:55 AM Bug #7227 (Rejected): failed to build native extension for bcrypt-ruby gem under cygwin on windows xp
Looks like Aman fixed this in the bcrypt repository. It is not a bug in MRI, but a problem with the bcrypt-ruby extension. tenderlovemaking (Aaron Patterson)
02:38 AM Revision 26ac0589 (git): * test/net/http/test_http.rb (TestNetHTTP_v1_2#test_get,
TestNetHTTP_v1_2_chunked#test_get): shoudn't check
HttpResponse#decode_content if Zlib is not available.
ko1 complained via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:19 AM Revision 84c08bc3 (git): ossl.c: fix argument type
* ext/openssl/ossl.c (ossl_lock_callback): fix argument type, and
remove redundant casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 AM Revision b72bd6c0 (git): ossl.c: rb_gc_register_mark_object
* ext/openssl/ossl.c (Init_ossl_locks): use rb_gc_register_mark_object
instead of rb_global_variable. probably RArray may be used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 AM Revision 351932cb (git): ossl.c: check allocation
* ext/openssl/ossl.c (Init_ossl_locks): check if locks array is
allocated successfully.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 AM Revision c341e85b (git): ossl.c: check integer overflow
* ext/openssl/ossl.c (Init_ossl_locks): check integer overflow.
OPENSSL_malloc() takes int only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Revision 322ce91a (git): * include/ruby/intern.h (rb_path_next, rb_path_skip_prefix,
rb_path_last_separator, rb_path_end, ruby_find_basename,
ruby_find_extname): restore the declarations of these functions for
backword compatibility.
* filc.c (rb_path_next, rb_path_skip_prefix, rb_path_last_separator,
rb_path_end,...
U.Nakamura
01:21 AM Revision 1734e481 (git): * tool/rbinstall.rb: always require rubygems to stabilize rubygems
related status like whether Gem::Specification is defined or not.
* tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:21 AM Revision af15922b (git): * include/ruby/intern.h (rb_f_lambda): mark as deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@41876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:06 AM Revision 4032339a (git): * include/ruby/intern.h (rb_f_lambda): restore the declaration of
rb_f_lambda() for backword compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@41875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:04 AM Feature #8614 (Open): Object#singleton_class with a block
=begin
Most of the time when I use `Object#singleton_class`, I use it with `class_eval` following it, like follows:
class Foo
singleton_class.class_eval{attr_accessor :bar}
end
I think it would be convenient if `Ob...
sawa (Tsuyoshi Sawada)

07/09/2013

11:41 PM Revision 71110cb7 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:21 PM Revision 47f0248b (git): * lib/rubygems: Import RubyGems 2.1
* test/rubygems: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:16 PM Bug #8386: OpenSSL thread safety
MartinBosslet (Martin Bosslet) wrote:
> @ktsj Does the error occur every time you run the tests in parallel? Or only sporadically?
The latter (it is about 30-40% reproducible on my environment).
ktsj (Kazuki Tsujimoto)
10:34 PM Revision cd9f9e47 (git): * lib/rubygems/ext/ext_conf_builder.rb: Remove siteconf file after
building the gem.
* test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above.
* lib/rubygems/psych_tree.rb (module Gem): Add backward compatibility
for r41148
* test/rubygems/test_gem_package.rb: Add backward compatibili...
drbrain (Eric Hodel)
09:24 PM Revision dafbdd68 (git): * ext/date/date_parse.c (date_zone_to_diff): [ruby-core:55831].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:33 PM Bug #8611 (Feedback): Minitest encoding problems.
You know, this must have reproducible code. naruse (Yui NARUSE)
04:07 PM Feature #6823: Where/how should ruby-mode issues be reported?
I also support the removal of ruby-mode.el. Its presence in the Ruby codebase creates a lot of confusion for Emacs users. bozhidar (Bozhidar Batsov)
01:10 AM Feature #6823: Where/how should ruby-mode issues be reported?
I vote to remove it as well.
Is there anything we can or should do in the Emacs trunk to speed it up?
dgutov (Dmitry Gutov)
03:43 PM Revision 07dc8257 (git): * 2013-07-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:43 PM Revision 5ec8b6e7 (git): * bignum.c (bary_mul): x*1 is x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:57 PM Bug #8613 (Closed): Update to rdoc 4.0.1
Please update rdoc from 4.0.0 to 4.0.1 in trunk and in 2.0.0 branch.
rdoc 4.0.1 fixes an issue with ri doc installation, see also
* issue #8037
* https://github.com/rdoc/rdoc/issues/193
* https://github.com/rdoc/rdoc/issues/194
...
stomar (Marcus Stollsteimer)
02:31 PM Bug #8037: rdoc issues preventing docs generating after ruby was compiled
Sorry, I don't understand. Why backport? If I'm not wrong, trunk still uses rdoc 4.0.0, too.
Update: See #8613.
stomar (Marcus Stollsteimer)
01:15 PM Bug #8037: rdoc issues preventing docs generating after ruby was compiled
@stomar That's up to Eric, could you open a backport ticket? zzak (zzak _)
09:48 AM Bug #8037: rdoc issues preventing docs generating after ruby was compiled
This has been fixed in rdoc 4.0.1, but trunk and ruby_2_0_0 still use rdoc 4.0.0, apparently. Could they be updated? stomar (Marcus Stollsteimer)
01:44 PM Revision 55cbeefb (git): * bignum.c (bary_mul_single): Invoke MEMZERO here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:25 PM Revision 59d1fc36 (git): * object.c (rb_obj_cmp): Improve doc for Kernel#<=>
to clarify #equal? is not called. [See GH-352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
01:19 PM Revision 0c620c2e (git): * bignum.c (bary_mul1): No need to invoke MEMZERO at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:42 PM Revision 52ecaae8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:41 PM Revision c279e7ee (git): * test/rexml/test_text.rb: Add missing tests for Text#<<.
Reported by nagachika. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
12:38 PM Bug #8607 (Closed): Stack consistency error (sp: 16, bp: 17)
Thank you for your investigation.
I close this ticket.
nagachika (Tomoyuki Chikanaga)
12:03 PM Revision 331f22cd (git): Module extended doc by @PragTob [fixes GH-335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:48 AM Revision 7eeb6539 (git): fixup stying of `Json#generate` parameter docs by @daveworth [fixes GH-339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:40 AM Revision 78db3589 (git): Add a missing line for rb_str_equal of string.c by @JuanitoFatas [fixes GH-353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:29 AM Feature #8469: ABI checker とか導入しませんか
2013/7/8 Tanaka Akira <akr@fsij.org>:
> 2013年7月9日 9:11 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>>
>> 閉じてから聞くのもアレなんですが、rubyci.org のトップページの表に ABI breakage のカラムを追加するのは誰に相談すればよいでしょうか?
>
> 1. (私が開発している) chkbuild が recent.html ...
kosaki (Motohiro KOSAKI)
09:53 AM Feature #8469: ABI checker とか導入しませんか
2013年7月9日 9:11 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
> 閉じてから聞くのもアレなんですが、rubyci.org のトップページの表に ABI breakage のカラムを追加するのは誰に相談すればよいでしょうか?

1. (私が開発している) chkbuild が recent.html などを生成
recent.html の例:
http://www.rubyist....
akr (Akira Tanaka)
09:53 AM Feature #8469: ABI checker とか導入しませんか
こんにちは、なかむら(う)です。

In message "[ruby-dev:47493] Re: [ruby-trunk - Feature #8469][Closed] ABI checker とか導入しませんか"
on Jul.09,2013 09:11:18, <kosaki.motohiro@gmail.com> wrote:
> 閉じてから聞くのもアレなんですが、rubyci.org のトップページの表に ABI breakag...
usa (Usaku NAKAMURA)
09:23 AM Feature #8469: ABI checker とか導入しませんか
2013/7/8 kosaki (Motohiro KOSAKI) <kosaki.motohiro@gmail.com>:
>
> Issue #8469 has been updated by kosaki (Motohiro KOSAKI).
>
> Status changed from Open to Closed
>
> Closeするの忘れてました。すいません。

閉じてから聞くのもアレなんですが、rubyci.org の...
kosaki (Motohiro KOSAKI)
06:42 AM Feature #8469 (Closed): ABI checker とか導入しませんか
Closeするの忘れてました。すいません。 kosaki (Motohiro KOSAKI)
09:03 AM Revision 1e2a6a20 (git): * lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal even
if user and group are both nil, to be consistent with #chown and
other commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
09:03 AM Revision 3488db94 (git): * test/fileutils/fileasserts.rb
(Test::Unit::FileAssertions#{assert_filemode,assert_equal_timestamp}):
New utility assertion methods for testing file modes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
09:03 AM Revision 3ac1eeb3 (git): * test/fileutils/test_fileutils.rb
(TestFileUtils#assert_output_lines): New utility assertion
method for testing verbose output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
08:44 AM Revision 2afa9b88 (git): * test/test_tracer.rb: catch up recent rubygems changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:00 AM Revision 7212ee13 (git): * ext/{dl,fiddle}/win32/lib/win32/registry.rb: hope that the final
resolution to fix the failure of test-all. and includes Win64
support (fixed a potential bug).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:38 AM Revision 9ae50950 (git): Revert r41786 "broken utf-8"
revert unexpected commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:11 AM Bug #8594: [BUG] rb_update_max_fd: invalid fd (4) given
It does fail in 2.0.0p195.
Running this script against a local filesystem will probably not produce any errors. I am using it to test networked filesystems during network disconnects. My FS will frequently return EINVAL - you won't ...
chris.frederick (Chris Frederick)
07:10 AM Bug #8374 (Closed): race condition when two threads require a gem
This has been fixed in rubygems master and 2.0 branches. drbrain (Eric Hodel)
07:02 AM Revision b0bc85f9 (git): * object.c: Fix rdoc for Kernel#<=>. [Fix GH-352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
07:02 AM Revision a6e3d4be (git): * lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() also
as singleton method, or FileUtils.chmod fails in verbose mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
07:02 AM Revision f5a6a2a7 (git): * test/fileutils/fileasserts.rb
(Test::Unit::FileAssertions#assert_not_symlink): Add a missing
optional argument "message".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
07:01 AM Revision 02f61f87 (git): * lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): If user
and group are both nil, print ":".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:49 AM Revision 8ce3f4be (git): * io.c (appendline): use READ_CHAR_PENDING_XXX macros and
RSTRING_END().
* io.c (rb_io_getline_1): rewrite nested if statement into one
statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:23 AM Bug #8592: when outputing to console, it's encoding is ignored for Windows
yeah, I didn't noticed it at first. But it's still weird why it crashes and that font still does support those characters. Also in Windows those raster fonts are default when it's just fresh installed. User have to specially change them.
davispuh (Dāvis Mosāns)
02:06 AM Revision b35c6a42 (git): * ext/{dl,fiddle}/win32/lib/win32/registry.rb (Win32::Regstry#check):
should report the position of the error.
* ext/{dl,fiddle}/win32/lib/win32/registry.rb
(Win32::Regstry#QueryValue): workaround for test-all crash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41849 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
01:45 AM Revision a189f7f6 (git): * ext/{dl,fiddle}/win32/lib/win32/registry.rb: typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:30 AM Revision b16b5afa (git): * ext/{dl,fiddle}/win32/lib/win32/registry.rb
(Win32::Registry.expand_environ): use suitable encoding for the
string.
* ext/{dl,fiddle}/win32/lib/win32/registry.rb (Win32::Registry#read):
should return REG_SZ, REG_EXPAND_SZ and REG_MULTI_SZ values with
the expected encoding -...
U.Nakamura
01:27 AM Revision d9194a46 (git): Apply r41148 again
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:04 AM Revision abc0b2f1 (git): * ext/{dl,fiddle}/win32/lib/win32/registry.rb
(Win32::Registry::Error#initialize): use suitable encoding for the
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:58 AM Bug #8612 (Rejected): nil in ERB::Util.url_encode
=begin
We hit a bug while using Rails and trying to URL encode an ActiveSupport::SafeBuffer. I have managed to reproduce it using a small test case for Ruby 1.9.3 and Ruby 2.0.0 (both attached) that shows a minimum set of requirements t...
fotos (Fotos Georgiadis)
12:49 AM Revision d9726121 (git): * ext/dl/win32/lib/win32/registry.rb (Win32::Registry.expand_environ):
use suitable encoding for the string. fixed a test-all error of
r41838.
* ext/fiddle/win32/lib/win32/registry.rb: same changes of r41838 and
this revision of dl's win32/registry.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
U.Nakamura

07/08/2013

11:36 PM Bug #8508 (Closed): Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
This issue was solved with changeset r41838.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32/registry.rb: use WCHAR
* ext/dl/win32/lib/win32/registry...
nobu (Nobuyoshi Nakada)
11:12 PM Bug #8495 (Closed): include/ruby/win32.h assumes that __STRICT_ANSI__ isn’t set
This issue was solved with changeset r41834.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32: for strict ANSI
* thread_win32.c (w32_thread_start_fun...
nobu (Nobuyoshi Nakada)
07:09 AM Bug #8495 (Assigned): include/ruby/win32.h assumes that __STRICT_ANSI__ isn’t set
luislavena (Luis Lavena)
10:41 PM Revision 7083cebe (git): * lib/rubygems: Update to RubyGems 2.0.4. See
https://github.com/rubygems/rubygems/blob/2.0/History.txt for changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:50 PM Revision fa343a79 (git): * bignum.c (biglsh_bang): Don't shift a BDIGIT with BITSPERDIG bits.
(bigrsh_bang): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:19 PM Revision fa1e85c9 (git): * bignum.c (bigrsh_bang): Fix bignum digits overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:56 PM Bug #8611: Minitest encoding problems.
Sorry for a terse report and lack of supporting materials, I'm extremely busy now. Anonymous
03:55 PM Bug #8611 (Closed): Minitest encoding problems.
A long standing annoying misfeature of minitest is the problem with encoding, which I have solved by patching the backtrace.join line in units.rb, #puke method with map{ |str| str.force_encoding( "UTF-8 ) }. If I don't do this, the tests... Anonymous
03:48 PM Revision 2db6f96c (git): * 2013-07-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:48 PM Revision be2a1ad4 (git): * bignum.c (biglsh_bang): Fix bignum digits under-run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:36 PM Revision 9db6beb0 (git): win32/registry.rb: use WCHAR
* ext/dl/win32/lib/win32/registry.rb (Error, API): use WCHAR
interfaces. c.f. [Bug #8508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:23 PM Revision f9e1c078 (git): win32.c: suppress warnings
* win32/win32.c (CharNextExA): cast to suppress warnings by VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:13 PM Revision 3d7fa44b (git): win32.c: for strict ANSI
* win32/win32.c (rb_w32_pow): move from win32.h and disable strict
ANSI mode macro to let _controlfp() stuff defined.
[ruby-core:55312] [Bug #8495]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41836 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
02:12 PM Revision 9487b2cd (git): numeric.c: for strict ANSI
* numeric.c (finite): add declaration for strict ANSI.
[ruby-core:55312] [Bug #8495]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:12 PM Revision 444f08f6 (git): win32: for strict ANSI
* thread_win32.c (w32_thread_start_func, thread_start_func_1),
(timer_thread_func): use __stdcall instead of _stdcall which is
unavailable in strict ANSI mode. [ruby-core:55312] [Bug #8495]
* win32/win32.c (gettimeofday): use __cdec...
nobu (Nobuyoshi Nakada)
01:44 PM Revision 1ffdd828 (git): * bignum.c (bary_mul): Arguments for work memory added.
(bary_mul_balance): Ditto.
(bary_mul_karatsuba): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:05 PM Revision 6fdad008 (git): * bignum.c (rb_big_sq_fast): New function for testing.
(rb_big_mul_toom3): Ditto.
* internal.h (rb_big_sq_fast): Declared.
(rb_big_mul_toom3): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:00 PM Revision 85855a22 (git): * bignum.c (bary_mul_balance): Initialize a local variable to suppress
a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:56 AM Revision ffe55cdc (git): * bignum.c (bary_mul_balance): Reduce work memory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:53 AM Bug #8605: TestSocket_TCPSocket#test_initialize_failure fails on Windows
2013年7月8日 11:21 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>:
>
> あー、そうかー、言われてみたらそんな話あったわー、という感じです。
> わざわざ調べていただきありがとうございます。
> (ちなみにさらに遡ったら r1800 からのようですね。)
>
> 事情は [ruby-core:6765] で説明されている通りですが、これは現在も
> 変わってないので、おとなしく諦めま...
akr (Akira Tanaka)
11:21 AM Bug #8605 (Rejected): TestSocket_TCPSocket#test_initialize_failure fails on Windows
あー、そうかー、言われてみたらそんな話あったわー、という感じです。
わざわざ調べていただきありがとうございます。
(ちなみにさらに遡ったら r1800 からのようですね。)
事情は [ruby-core:6765] で説明されている通りですが、これは現在も
変わってないので、おとなしく諦めますかね。
テストの方は #8574 への対応ということで成瀬さんが既に変更済みですし。
usa (Usaku NAKAMURA)
10:27 AM Bug #8358: TestSprintf#test_float test failure
nobu: ping? luislavena (Luis Lavena)
10:24 AM Bug #8358: TestSprintf#test_float test failure
Is there any progress about this issue?
This is the only test failure persisted over 2 months.
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1742/console
phasis68 (Heesob Park)
10:20 AM Bug #6360: Debug information build even without requesting it
nobu: ping?
I'm still suffering this and is affecting developers cross-compiling gems in Linux targetting Windows, at it generates binary extensions of 6MB in size due the debug symbols.
-ggdb3 shouldn't be set for debugflags unles...
luislavena (Luis Lavena)
10:15 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
Krzysztof Wilczynski, would you mind provide an updated patch that return NotImplementedError on Windows?
Feel free to send a pull request on GitHub and I'll get these bits merged.
Thank you.
luislavena (Luis Lavena)
10:08 AM Bug #8610 (Closed): MinGW: OpenSSL test failures
Build fixed. Thank you Martin! luislavena (Luis Lavena)
09:29 AM Bug #8610: MinGW: OpenSSL test failures
MartinBosslet (Martin Bosslet) wrote:
> Thanks! The errors should disappear with the last update of #8384?
It is building right now, we can check in a bit:
http://ci.rubyinstaller.org/view/All/builds
luislavena (Luis Lavena)
09:26 AM Bug #8610: MinGW: OpenSSL test failures
Thanks! The errors should disappear with the last update of #8384? MartinBosslet (Martin Bosslet)
07:26 AM Bug #8610 (Closed): MinGW: OpenSSL test failures
=begin
Hello,
RubyInstaller CI is reporting some failures of OpenSSL tests that might be worth to take a look:
http://ci.rubyinstaller.org/view/All/job/ruby-trunk-x86-test-all/1740/console
http://ci.rubyinstaller.org/view/All/job...
luislavena (Luis Lavena)
10:06 AM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
The patch for `io_fwrite` is equivalent to the patch for `rb_w32_write`.
Only `rb_w32_write` needs to be patched.
phasis68 (Heesob Park)
07:35 AM Bug #7758: Ruby on Windows crashes when active codepage is codepage 65001 and outputting unicode character
Hello,
I missed this entire thread a few months ago, sorry about that.
Picking up this, is not clear to me if both io_fwrite and win32 rb_w32_write needs to be patched together.
Heesob Park, can you confirm?
Thank you.
luislavena (Luis Lavena)
09:58 AM Bug #7968 (Assigned): Poor UDPSocket#send performance in ruby 2.0.0 on windows
Any suggestion about this? luislavena (Luis Lavena)
09:06 AM Bug #8386: OpenSSL thread safety
Ok, this is gonna be fun... The error occurs in a test that triggers RSA key generation, which was implemented to run with 'rb_thread_call_without_gvl'. The OpenSSL callbacks for thread safety make use of rb_mutex_lock/rb_mutex_unlock. M... MartinBosslet (Martin Bosslet)
08:33 AM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
The breaking build was related to "Oakley" curves, which are part of the built-in curves, but a) not suitable for ECDSA and b) their Object Identifier seems not to be registered with OpenSSL by default. This caused the tests to fail. Wor... MartinBosslet (Martin Bosslet)
08:30 AM Bug #8384 (Closed): Cannot build ruby against OpenSSL build with "no-ec2m"
This issue was solved with changeset r41829.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_pkey_ec.rb: Skip tests for "Oakley" curves as
...
Anonymous
06:46 AM Bug #8569 (Closed): DLL exports interfere with Win32 Application Embedding Ruby 1.9.3
Hello,
I'm not a native english speaker, so dunno how to word this accordingly.
Please feel free to take a look to the source code, even on GitHub:
http://github.com/ruby/ruby
Send a pull request and open an issue here for co...
luislavena (Luis Lavena)
06:40 AM Bug #8594: [BUG] rb_update_max_fd: invalid fd (4) given
Hello,
I tested this against:
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]
Without failures. OS Windows 7 x64.
Can you test if the following script also fails on latest version?
htt...
luislavena (Luis Lavena)
06:17 AM Bug #8592 (Third Party's Issue): when outputing to console, it's encoding is ignored for Windows
Yeah, forgot to mention that raster fonts are a real problem on Windows.
Closing this now.
luislavena (Luis Lavena)
04:32 AM Feature #7854: New method Symbol[string]
Let me just point out that this is the right way to solve a problem that we have in Ruby-based protocol implementations.
Right now, there is no safe way on the Ruby level to use symbols to represent strings coming in on an unchecked int...
cabo (Carsten Bormann)
12:18 AM Bug #8607: Stack consistency error (sp: 16, bp: 17)
Sorry, this bug is fixed in Ruby 2.0.0p247. Please dismiss this. sawa (Tsuyoshi Sawada)
12:01 AM Bug #8607 (Closed): Stack consistency error (sp: 16, bp: 17)
The following code:
class A
attr_accessor :foo
end
class B
def initialize(parent)
@parent = parent
end
def method_missing(method, *args, &block)
@parent.send(method)
e...
sawa (Tsuyoshi Sawada)

07/07/2013

11:30 PM Revision ed92ae81 (git): * test/openssl/test_pkey_ec.rb: Skip tests for "Oakley" curves as
they are not suitable for ECDSA.
[ruby-core:54881] [Bug #8384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
11:04 PM Revision a25f95f8 (git): * bignum.c (bary_mul): Add a RB_GC_GUARD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:21 PM Revision 4cb5abe2 (git): * 2013-07-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 1210743c (git): * bignum.c (bary_mul_karatsuba): Unreachable code removed. Remove
several branches.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:06 PM Revision c5161596 (git): Ignore config.guess and config.sub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:01 PM Revision 29634bca (git): * internal.h (rb_big_mul_normal): Declared.
(rb_big_mul_balance): Ditto.
(rb_big_mul_karatsuba): Ditto.
* bignum.c (rb_big_mul_normal): New function for tests.
(rb_big_mul_balance): Ditto.
(rb_big_mul_karatsuba): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
akr (Akira Tanaka)
11:53 AM Bug #8602: REXML::Element#add_text and REXML::Text#<<
Text#<<のドキュメントを読むと、rawモードのときだけサポートしているようにみえました。
rawモードだと@normalize/@unnormalizeを使わないので、ここでこれらをクリアーしていないのは意図的だったのだろうと思います。
ただ、キャッシュをクリアーすることによりrawモードでもrawモードでなくても動くようになるので、キャッシュをクリアーすることにしました!
報告ありがとうございました!
kou (Kouhei Sutou)
11:50 AM Bug #8602 (Closed): REXML::Element#add_text and REXML::Text#<<
This issue was solved with changeset r41819.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/text.rb (REXML::Text#<<): Support appending in not
...
kou (Kouhei Sutou)
11:04 AM Revision d7c2f3f8 (git): Useless comment removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:02 AM Revision 42d60200 (git): * bignum.c: Reorder functions to decrease forward reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:23 AM Bug #8507: Keyword splat does not convert arg to Hash
Tried my best to thoughtfully address questions before: http://bugs.ruby-lang.org/issues/8507#note-6
Does anyone have any additional thoughts on the matter?
stephencelis (Stephen Celis)
06:03 AM Revision 8dbf5660 (git): * bignum.c: (bigsub_core): Use bary_sub.
(bary_sub): Returns a borrow flag. Use bary_subb.
(bary_subb): New function for actually calculating subtraction with
borrow.
(bary_sub_one): New function.
(bigadd_core): Use bary_add.
(bary_add): Returns a carry flag. Use ba...
akr (Akira Tanaka)
02:55 AM Revision 8f50a210 (git): * NEWS: Add REXML::Text#<< related updates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
02:50 AM Revision 0e1cb279 (git): * lib/rexml/text.rb (REXML::Text#<<): Support appending in not
"raw" mode. [Bug #8602] [ruby-dev:47482]
Reported by Ippei Obayashi. Thanks!!!
* test/rexml/test_text.rb (TextTester#test_shift_operator_cache):
Add a test for the above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41819...
Sutou Kouhei
02:48 AM Revision fbaec78e (git): * lib/rexml/text.rb (REXML::Text#<<): Support method chain use by "<<"
like other objects.
* test/rexml/test_text.rb (TextTester#test_shift_operator_chain):
Add a test for the above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:35 AM Revision afbc25c4 (git): * lib/rexml/text.rb (REXML::Text#clear_cache): Extract common
cache clear code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:07 AM Bug #8575: Crash in openssl verify_certificate_identity
I've backported r41805 into ruby_2_0_0 branch at r41812. nagachika (Tomoyuki Chikanaga)
02:01 AM Revision 2114ad42 (git): configure.in: check exit statuses
* configure.in (RUBY_DTRACE_POSTPROCESS): check exit statuses of
commands. [Bug #8606]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:01 AM Revision 2b5f033c (git): configure.in: correctly tests dtrace -G in version 1.11
* configure.in (RUBY_DTRACE_POSTPROCESS): dtrace version SUN D 1.11
introduces a check in the dtrace compiler to ensure that probes
actually exist. If there are no probes, then the -G step will
fail. As this test is only being used...
nobu (Nobuyoshi Nakada)
01:22 AM Revision 0241a448 (git): * 2013-07-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision b2cf5f36 (git): * bignum.c (bary_sq_fast): Extracted from bigsqr_fast and
ensure not to access zds[2*xn].
(bigsqr_fast): Allocate the result bignum with 2*xn words.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

07/06/2013

11:38 PM Bug #8386: OpenSSL thread safety
ktsj (Kazuki Tsujimoto) wrote:
>
> ...
Sure, thanks for the heads up!
MartinBosslet (Martin Bosslet)
11:22 PM Bug #8386 (Assigned): OpenSSL thread safety
=begin
Seems r41806 introduced a test failure under Ubuntu 13.04(x86_64):
$ while :; do make TESTS='openssl -j2' test-all || cat; done
[snip]
/home/k_tsj/work/ruby/lib/test/unit/parallel.rb:37: [BUG] vm_call0_cfunc_with_frame: c...
ktsj (Kazuki Tsujimoto)
06:45 AM Bug #8386 (Closed): OpenSSL thread safety
This issue was solved with changeset r41806.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl.c: Provide CRYPTO_set_locking_callback() an...
Anonymous
10:22 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
naruse (Yui NARUSE) wrote:
> r41808 breaks non-FIPS environments like http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130705T230301Z.diff.html.gz
Crap, compatibility is hard :) I'll fix it tomorrow!
MartinBosslet (Martin Bosslet)
06:16 PM Bug #8384 (Assigned): Cannot build ruby against OpenSSL build with "no-ec2m"
r41808 breaks non-FIPS environments like http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130705T230301Z.diff.html.gz naruse (Yui NARUSE)
04:18 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
Thanks for applying this patch.
Could this be backported into 2.0.0? Thanks.
vo.x (Vit Ondruch)
07:47 AM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
vo.x (Vit Ondruch) wrote:
> So I made the patch pass the test suite. The test suite is now querying OpenSSL for built-in curves, instead of explicitly enumerating just some of them.
Thank you, iterating over the built-in curves inste...
MartinBosslet (Martin Bosslet)
07:46 AM Bug #8384 (Closed): Cannot build ruby against OpenSSL build with "no-ec2m"
This issue was solved with changeset r41808.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
...
Anonymous
10:20 PM Feature #8601 (Assigned): Win32API.rb long life plan
Hello Arton,
In rb-readline project we used DL be able to access Windows API due the warning/removal of Win32API.rb after 2.0
Park Heesob wrote some wrapper on top of DL, and a few days ago we received a pull request that uses Fidd...
luislavena (Luis Lavena)
05:05 PM Revision 239d52c8 (git): merge revision(s) 41805: [Backport #8575] [Backport #8582]
* lib/openssl/ssl.rb: Fix SSL client connection crash for SAN marked
critical.
The patch for CVE-2013-4073 caused SSL crash when a SSL server returns
the certificate that has critical SAN value. X509 extens...
nagachika (Tomoyuki Chikanaga)
04:58 PM Revision f17c697c (git): merge revision(s) 41781: [Backport #8604]
* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrong
character class [+-=], which happened to match all desired
characters but also match undesired characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nagachika (Tomoyuki Chikanaga)
04:57 PM Revision 26dc1902 (git): merge revision(s) 41796:
* lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): Fix the
wrong output message when user is nil, which should be "chown
:group file" instead of "chown group file".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nagachika (Tomoyuki Chikanaga)
04:52 PM Revision b4359a3a (git): merge revision(s) 41785:
Fix comment typo by @parroty [fix GH-350]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:31 PM Feature #8546: super errors in UnboundMethods
headius (Charles Nutter) wrote:
> I don't see how it would know the order in which to do the super logic. What do you expect to happen?
>
> First off, if the "supering" M was actually included into O, there would still be nothing...
saturnflyer (Jim Gay)
09:21 AM Bug #8605: TestSocket_TCPSocket#test_initialize_failure fails on Windows
Bug #8574 にもあって、なにが起きてるのかなぁ、と思っていたのですが、
調べてみると、_WIN32 と __CYGWIN__ では SO_REUSEADDR を使っていないようです。
ext/socket/ipsocket.c:
9627 usa #if !defined(_WIN32) && !defined(__CYGWIN__)
9627 usa status = 1;
9627...
akr (Akira Tanaka)
07:53 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
akr (Akira Tanaka) wrote:
> 2013/6/5 Tanaka Akira <akr@fsij.org>:
> ...
Wow, that looks nice, I need to give that a spin soon!
MartinBosslet (Martin Bosslet)
07:34 AM Bug #8439: test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
vo.x (Vit Ondruch) wrote:
> Might be related/duplicate to #8221
Yes, very much sounds like it. I need to take a deeper look at what happens in the OpenSSL implementation that might explain the random failures.
MartinBosslet (Martin Bosslet)
07:30 AM Bug #8178: OpenSSL::PKCS7::SignerInfo
I agree that SignerInfo#name is misleading. It should be easier to get the relevant information, I'll consider your proposal and will think about other ways to improve the API! MartinBosslet (Martin Bosslet)
07:24 AM Feature #8126: OpenSSL::SSL::SSLSocket does not define #recv and #send messages
I agree that it would be better design if SSLSocket responded to the same interface that TCPSocket responds to. However, that's quite a bunch of methods, it would take quite a while to implement them all... Are there any methods in parti... MartinBosslet (Martin Bosslet)
07:16 AM Bug #8114: Issue in test coverage for CRL
vipulnsward (Vipul Amler) wrote:
> wrt: https://github.com/ruby/ruby/blob/trunk/test/openssl/test_x509crl.rb#L104
> ...
Nice catch! Thanks!
MartinBosslet (Martin Bosslet)
07:16 AM Bug #8114 (Closed): Issue in test coverage for CRL
This issue was solved with changeset r41807.
Vipul, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_x509crl.rb: Remove unused variable.
[ruby-...
Anonymous
06:08 AM Bug #8575 (Closed): Crash in openssl verify_certificate_identity
This issue was solved with changeset r41805.
Maximilian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/openssl/ssl.rb: Fix SSL client connection crash for S...
Anonymous
01:57 AM Bug #8575: Crash in openssl verify_certificate_identity
jeremyevans0 (Jeremy Evans) wrote:
> I humbly request that the fix be backported to 1.8.7 and a new 1.8.7 patch release be issued. Considering that this regression was reported before 1.8.7 support was dropped, I don't think it's fair ...
MartinBosslet (Martin Bosslet)
01:43 AM Bug #8575: Crash in openssl verify_certificate_identity
I humbly request that the fix be backported to 1.8.7 and a new 1.8.7 patch release be issued. Considering that this regression was reported before 1.8.7 support was dropped, I don't think it's fair to 1.8.7 users not to backport it, esp... jeremyevans0 (Jeremy Evans)
03:38 AM Bug #8574 (Closed): CI Build failure introduced by r41686
This issue was solved with changeset r41802.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Use server_port for Windows
fix r41686 [Bug #8574]
naruse (Yui NARUSE)
 

Also available in: Atom