Project

General

Profile

Activity

From 08/21/2014 to 08/27/2014

08/27/2014

11:11 PM Feature #9867: Introduce each/else block into ruby
Sorry for the delay.
I don't think I am able in specifying it in needed level of detail: (. If that's up to me, the ...
Killa (Łukasz Strzebińczyk)
10:57 PM Feature #10177 (Open): Hash#has_key? and Hash#has_value? should be deprecated
I referred to this Matz's remark.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/43765
And I agree...
gogotanaka (Kazuki Tanaka)
10:46 PM Feature #10176 (Open): Document how to perform net/http calls in parallel
The typhoeus gem is a big source of Ruby VM crashes. It seems to me that the only reason people use this gem is beca... mperham (Mike Perham)
07:52 PM Feature #10175 (Open): There’s no reason to prefer Proc.new over Kernel#proc anymore
We could’t use `Kernel#proc` if someone wanted to write code in the same way on both Ruby 1.8 and Ruby 1.9.
Now tha...
gogotanaka (Kazuki Tanaka)
05:39 PM Bug #10155 (Assigned): lib/shellwords.rb: proofreading documentation
nagachika (Tomoyuki Chikanaga)
04:51 PM Bug #10148 (Assigned): [TracePoint API] Extra block events generated
nagachika (Tomoyuki Chikanaga)
04:45 PM Bug #9559 (Assigned): build failure with clang 3.4
The can be applied cleanly to trunk (and 2.0.0/2.1).
It can be a new issue.
I move this ticket to ruby-trun...
nagachika (Tomoyuki Chikanaga)
02:47 PM Feature #10137: Introducing Incremental GC algorithm
Go ahead. We need to experiment in real use cases.
Matz.
matz (Yukihiro Matsumoto)
02:36 PM Revision c4ad649e (git): * lib/tempfile.rb: remove "require 'thread'". its features are no
longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:06 PM Revision 3644b94b (git): fix failed condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:21 PM Feature #10174 (Closed): [] Removed meaningless #to_s methods in interpolation
Applied in changeset r47299.
----------
* lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
[Fea...
hsbt (Hiroshi SHIBATA)
09:38 AM Feature #10174 (Closed): [] Removed meaningless #to_s methods in interpolation
I found meaningless #to_s methods in interpolation like ... `"Failed to load #{filename}, #{e.to_s}"`
So I cha...
gogotanaka (Kazuki Tanaka)
12:21 PM Revision e47fec1f (git): * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
[Feature #10174][ruby-core:64584]
* lib/erb.rb: ditto.
* lib/observer.rb: ditto.
* lib/rake/invocation_chain.rb: ditt...
hsbt (Hiroshi SHIBATA)
12:10 PM Feature #10172 (Closed): [] Module#attr is already deprecated
Applied in changeset r47298.
----------
* lib/drb/drb.rb: use attr_reader instead of Module#attr.
[Feature #10172]...
hsbt (Hiroshi SHIBATA)
09:12 AM Feature #10172 (Closed): [] Module#attr is already deprecated
Module#attr is already deprecated.
But I found Module#attr without boolean argument (it means this identical to at...
gogotanaka (Kazuki Tanaka)
12:10 PM Revision 3e8515bf (git): * lib/drb/drb.rb: use attr_reader instead of Module#attr.
[Feature #10172][ruby-core:64582]
* lib/irb/ruby-token.rb: ditto.
* lib/net/telnet.rb: ditto.
* lib/rdoc/ruby_token.r...
hsbt (Hiroshi SHIBATA)
10:57 AM Revision ef7b9bf3 (git): * ext/win32ole/win32ole.c (vtdate2rbtime): try to convert millisecond
of VT_DATE VARIANT to nsec of Time object.
* test/win32ole/test_win32ole_variant.rb
(test_conversion_dbl2date_with_...
suke (Masaki Suketa)
09:23 AM Feature #10173 (Closed): Remove meaningless ensure
I suppose 'empty ensure' like that ↓ has no meaning,
```
begin
r.document args
rescue Errno::EACCES => e
d...
gogotanaka (Kazuki Tanaka)
08:59 AM Feature #10171 (Rejected): [] File.exists? is already deprecated
It is already fixed in upstream https://.com/rubygems/rubygems/blob/master/lib/rubygems/doctor.rb#L108 hsbt (Hiroshi SHIBATA)
08:53 AM Feature #10171 (Rejected): [] File.exists? is already deprecated
Ruby 2.1.0 deprecated the `File.exists?`
But I found `File#exists?` in `lib/rubygems/doctor.rb`, so I replaced `F...
gogotanaka (Kazuki Tanaka)
07:09 AM Bug #10170: Core dumped when using recursion in define_method
2.1.2p207 seems working. nobu (Nobuyoshi Nakada)
05:00 AM Bug #10170: Core dumped when using recursion in define_method
Okay, ruby 2.1.2 gives everytime
`abort (core dumped)`
for
`A.new.a`
in pry, irb and `ruby -e 'class A; def...
liligga (Igor Grebennikov)
03:25 AM Bug #10170 (Feedback): Core dumped when using recursion in define_method
Could you try newer versions? nobu (Nobuyoshi Nakada)
03:09 AM Bug #10170: Core dumped when using recursion in define_method
Initial issue is wrong a little.
So if we have this
> ~~~ruby
> class A
> define_method :a do
> a
> end...
liligga (Igor Grebennikov)
02:52 AM Bug #10170 (Closed): Core dumped when using recursion in define_method
So if we have this
```ruby
class A
define_method :a do
a
end
end
```
and call `A.new.a` we got `S...
liligga (Igor Grebennikov)
05:34 AM Feature #10169: It might be better to make Mathn class deprecated
@Hiroshi SHIBATA
I really appreciate you doing what I should do.
gogotanaka (Kazuki Tanaka)
04:25 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
Bravo! headius (Charles Nutter)
02:45 AM Bug #2121 (Closed): mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
mathn library is deprecated on trunk [Feature #10169] hsbt (Hiroshi SHIBATA)
02:58 AM Bug #8479 (Feedback): make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
1.9.3-p392 is too old. Please try latest version of ruby 1.9 or 2.0/2.1 hsbt (Hiroshi SHIBATA)
02:10 AM Revision 66c2bbde (git): parse.y: use rb_ary_tmp_new_fill
* parse.y (coverage): use rb_ary_tmp_new_fill() instead of setting
internal structure directly.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
12:58 AM Revision e7bcea38 (git): * test/ruby/test_complex.rb: removed unreachable code.
* test/ruby/test_rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47295 b2dd03c8-39d4-4d8f-98ff...
hsbt (Hiroshi SHIBATA)

08/26/2014

11:24 PM Revision a12ee80b (git): compile.c: assigned in REALLOC_N
* compile.c (iseq_set_sequence): assigned in REALLOC_N, no further
assignment.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
11:00 PM Revision 3f9aa744 (git): * 2014-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:00 PM Revision 65f7aa19 (git): compile.c (iseq_set_sequence): check for multiplication overflow
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
08:22 PM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
What is the conclusion for this post?
butching314 (Marvin Reyes)
08:14 AM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
Seems intended to ignore `IOError` and `NoMethodError`. nobu (Nobuyoshi Nakada)
08:13 AM Bug #10153 (Closed): File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
Applied in changeset r47288.
----------
io.c: do not swallow exceptions at end of block
* io.c (io_close): ignore o...
nobu (Nobuyoshi Nakada)
01:30 PM Revision 618dadaa (git): * test/ruby/test_complex.rb: cherry-picked working assertions from r47251.
* test/ruby/test_rational.rb: cherry-picked working assertions from r47263.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
hsbt (Hiroshi SHIBATA)
12:08 PM Bug #10086 (Closed): [] Remove exponents calculation from mathn.rb
Applied in changeset r47290.
----------
lib/mathn.rb: remove built-in methods
* lib/mathn.rb (Fixnum#**, Bignum#**,...
nobu (Nobuyoshi Nakada)
12:07 PM Revision 63683cb4 (git): lib/mathn.rb: remove built-in methods
* lib/mathn.rb (Fixnum#**, Bignum#**, Float#**, Rational#**):
remove as these are now built-in. [ruby-core:63973] ...
nobu (Nobuyoshi Nakada)
11:48 AM Revision 092c647c (git): * time.c (rb_time_unmagnify_to_float): Avoid double rounding.
Reported by Tsuyoshi Sawada.
https://bugs.ruby-lang.org/issues/10135#note-1
git-svn-id: svn+ssh://ci.ruby-lang.o...
akr (Akira Tanaka)
08:12 AM Revision febf2cef (git): io.c: do not swallow exceptions at end of block
* io.c (io_close): ignore only "closed stream" IOError and
NoMethodError, do not swallow other exceptions at the en...
nobu (Nobuyoshi Nakada)
06:19 AM Bug #10135: Time.at is inaccurate
Tsuyoshi Sawada wrote:
>
> the float stored by `Time.at` is not the same float:
>
> ~~~ruby
> Time.at(1381...
akr (Akira Tanaka)
06:02 AM Bug #10135 (Rejected): Time.at is inaccurate
John Smart wrote:
> It seems that somewhere in the MRI, someone is using floating-point math to represent a Time.
...
akr (Akira Tanaka)
04:51 AM Revision eec0176d (git): * template/fake.rb.in: fix failed to make install when srcdir != builddir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:44 AM Revision 949634f5 (git): * test/ruby/test_range.rb: added workaround for VERBOSE message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:39 AM Revision ab0fe78f (git): * test/test_mathn.rb: added workaround for VERBOSE messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:06 AM Bug #10167: Prime#include?(mod) hangs up
Even `Prime.include?(4)` hangs up too.
This method seems useless.
nobu (Nobuyoshi Nakada)
12:38 AM Bug #10167: Prime#include?(mod) hangs up
workaround:
~~~ruby
enumerables = []
module_include_p = Module.method(:include?).unbind
ObjectSpace.each_object...
znz (Kazuhiro NISHIYAMA)
02:44 AM Revision 1f48a338 (git): * lib/shell/process-controller.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:39 AM Revision f4e5a6f0 (git): * lib/thwait.rb (ThreadsWait): removed needless constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:33 AM Feature #10169 (Open): It might be better to make Mathn class deprecated
hsbt (Hiroshi SHIBATA)
12:31 AM Feature #10169 (Closed): It might be better to make Mathn class deprecated
Applied in changeset r47282.
----------
* lib/mathn.rb: mathn library is deprecated on ruby 2.2.
[Feature #10169][...
hsbt (Hiroshi SHIBATA)
12:21 AM Feature #10169: It might be better to make Mathn class deprecated
Approved. Organize transition path.
Matz.
matz (Yukihiro Matsumoto)
12:31 AM Revision fb66bf2d (git): * lib/mathn.rb: mathn library is deprecated on ruby 2.2.
[Feature #10169][ruby-core:64553]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47282 b2dd03c8-39d4-4d8f-98ff-82...
hsbt (Hiroshi SHIBATA)
12:25 AM Revision 2530d3e3 (git): * 2014-08-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:25 AM Revision daa90738 (git): * lib/mathn.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

08/25/2014

08:09 PM Feature #10169 (Closed): It might be better to make Mathn class deprecated
#English
As I mentioned in https://bugs.ruby-lang.org/issues/10086#change-48156,
1. Now that we are able to hun...
gogotanaka (Kazuki Tanaka)
05:56 PM Bug #10133: Bug in ruby

I could call library libSamplesize.dylib successfully in console application
and ruby script (not in thread). W...
lxh37 (Liz Huang)
03:02 PM Bug #10133: Bug in ruby
Liz Huang wrote:
> "libSamplesize.dylib" is external library I genereated from C codes.
Then you can debug it.
nobu (Nobuyoshi Nakada)
01:17 PM Bug #10133: Bug in ruby
"libSamplesize.dylib" is external library I genereated from C codes. Hope you read
the thread before you post answer...
lxh37 (Liz Huang)
03:26 PM Feature #10168 (Open): Native Object#inspect method should single quote strings that don't need to be double quoted
When these strings get printed, copied and pasted into source code, RuboCop will complain, eg:
spec/recipes/de...
pghalliday (Peter Halliday)
03:09 PM Bug #9818: __builtin_setjmp and __builtin_longjmp caused a build failure on PPC Linux with gcc 4.4.0
Backported into `ruby_2_1` branch at r47279. nagachika (Tomoyuki Chikanaga)
03:08 PM Revision a1f28fb5 (git): merge revision(s) r45885: [Backport #9818]
* configure.in (RUBY_SETJMP_TYPE): check for setjmp type after
CCDLFLAGS is appended to CFLAGS, since __bui...
nagachika (Tomoyuki Chikanaga)
03:07 PM Bug #9710: __builtin_setjmp/longjmp causes SEGV with mingw
Backported into `ruby_2_1` branch at r47278. nagachika (Tomoyuki Chikanaga)
03:07 PM Revision c901347d (git): merge revision(s) r45537: [Backport #9710]
* configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
x64-mingw, which causes SEGV with callcc.
...
nagachika (Tomoyuki Chikanaga)
03:06 PM Bug #9698: r45509以降、Solarisにて configureが thread model is missing でエラー
r45512, r45513 and r45515 were backported into `ruby_2_1` branch at r47277. nagachika (Tomoyuki Chikanaga)
03:06 PM Revision fc6dd7db (git): merge revision(s) r45512,r45513,r45515: [Backport #9698]
configure.in: indent
* configure.in (ac_cv_func___builtin_setjmp): adjust indent.
* configure.in (ac...
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
r45503, r45504, r45508, r45509 and r47275 were backported into `ruby_2_1` branch at r47276. nagachika (Tomoyuki Chikanaga)
03:03 PM Revision 6f6a0760 (git): merge revision(s) r45503,r45504,r45508,r45509,r47275: [Backport #9692]
* configure.in (ac_cv_func___builtin_setjmp): gcc 4.9 disallows a
variable as the second argument of __buil...
nagachika (Tomoyuki Chikanaga)
02:57 PM Bug #10167 (Closed): Prime#include?(mod) hangs up
We expect `Prime` class implements `Module#include?(mod)`. But `Prime#include?(mod)` hangs up, because it is overwri... nitoyon (Kenichi Saita)
02:55 PM Revision d4bee0dc (git): ChangeLog: fix clang version
* ChangeLog: fix clang version in r45508, 5.1 is the version by
Apple, the upstream version is 3.4. [ci skip]
git...
nobu (Nobuyoshi Nakada)
02:24 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
Is there any progress? nagachika (Tomoyuki Chikanaga)
02:22 PM Bug #9562: Cannot install gems from gzip-compressing gem server
ping? nagachika (Tomoyuki Chikanaga)
02:21 PM Bug #9624: Unrecognized command-line option (CLANG/Xcode 5.1) "-multiply_definedsuppress" prevents installation of gems / ruby on OS X
Then, should I backport r45339, r45340, r45348 into 2.1?
In other words, these changesets solve any problems?
nagachika (Tomoyuki Chikanaga)
11:18 AM Revision 108c4e44 (git): * ext/win32ole/win32ole.c(fole_s_connect, fole_initialize): raise a
security error with the tainted string object.
* ext/win32ole/win32ole_event.c(ev_advise): ditto.
* test/win32ole/tes...
suke (Masaki Suketa)
07:29 AM Revision 682f3a78 (git): uri/common.rb: use negative look-ahead
* lib/uri/common.rb (URI.decode_www_form_component): use negative
look-ahead instead of nested repeat operators, to...
nobu (Nobuyoshi Nakada)
04:03 AM Revision 2bded596 (git): logger.rb: simplify
* lib/logger.rb (format_datetime): simplify and freeze the default
format so that it can be shared.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
03:56 AM Revision 51560a87 (git): lib/logger.rb: use %N
* lib/logger.rb (format_datetime): use "%6N" to show microsecond.
[Fix GH-704]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
02:49 AM Bug #10153 (Assigned): File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
This behavior was introduced at r10623 by matz, but the commit log is only:
* io.c (io_close): always calls "c...
nobu (Nobuyoshi Nakada)
02:24 AM Revision 4f662fe7 (git): * 2014-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:24 AM Revision 0ae8dd16 (git): rb_iseq_location_t: change first_lineno type to VALUE
Nearly all current uses of iseq->location.first_lineno are as a
VALUE, not a size_t. The only exception was the expe...
Eric Wong
01:08 AM Bug #10120: TestSprintf#test_float still an issue
Hello,
Now after r47129, mingw-w64 is failing again, so we are back to the beginning.
~~~
ruby -v: ruby 2.2.0d...
luislavena (Luis Lavena)

08/24/2014

03:44 PM Bug #10117: Invalid char does not cause syntax error in eval
Backported into `ruby_2_1` branch at r47268. nagachika (Tomoyuki Chikanaga)
03:44 PM Revision a4f174ac (git): merge revision(s) r47098: [Backport #10117]
* parse.y (parser_yylex): fix invalid char in eval, should raise
an syntax error too, as well as directly c...
nagachika (Tomoyuki Chikanaga)
03:35 PM Bug #10114: syntax error raised from instance_eval has unexpected encoding
Backported into `ruby_2_1` branch at r47267. nagachika (Tomoyuki Chikanaga)
03:35 PM Revision 9704c840 (git): merge revision(s) r47090: [Backport #10114]
* parse.y (parser_yyerror): preserve source code encoding in
syntax error messages. [ruby-core:64228] [Bug...
nagachika (Tomoyuki Chikanaga)
03:15 PM Bug #10113 (Feedback): Ruby memoization behaving oddly when using hash keys with spaces
Hello, Ron. Thank you for your report.
But I cannot understand what is the "fail" you mean. Please give us a self-co...
nagachika (Tomoyuki Chikanaga)
02:42 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
Hello, Rafael.
Thank you for your report.
I can reproduce with your sample on 2.0.0p433 and 2.1.2, and it can be ...
nagachika (Tomoyuki Chikanaga)
02:00 PM Bug #8000 (Assigned): "require 'tk'" segfaults on 64-bit linux with Tk 8.6
nagachika (Tomoyuki Chikanaga)
10:23 AM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
I can reproduce 2.2.0dev with `/dev/full`.
~~~
% ruby -ve 'File.open("/dev/full", "w"){|f|f.puts "test"}'
ruby 2...
znz (Kazuhiro NISHIYAMA)
07:16 AM Revision 2afed6ec (git): * lib/e2mmap.rb: remove needless instance variables.
* lib/irb.rb: ditto.
* lib/irb/**/*.rb: ditto.
* lib/shell.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
hsbt (Hiroshi SHIBATA)
03:45 AM Revision a3a6c696 (git): * test/ruby/test_complex.rb: removed needless conditions.
* test/ruby/test_rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47265 b2dd03c8-39d4-4d8f-98ff...
hsbt (Hiroshi SHIBATA)
02:47 AM Revision 6d67a488 (git): * test/ruby/test_rational.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:44 AM Revision e9e99651 (git): * test/ruby/test_rational.rb: remove commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:19 AM Feature #10165: Use Process.clock_gettime to speed up Benchmark.realtime.
Thanks Pete! I committed your as r47260.
I couldn't resist, so I also made r47622 to modify measure, too.
(...
normalperson (Eric Wong)
02:03 AM Feature #10165 (Closed): Use Process.clock_gettime to speed up Benchmark.realtime.
Applied in changeset r47260.
----------
lib/benchmark.rb: speedup by reducing allocations
* lib/benchmark.rb (modul...
Anonymous
12:23 AM Feature #10165: Use Process.clock_gettime to speed up Benchmark.realtime.
Eric Wong wrote:
> I like this. The speedup is from reduction of allocations+GC
>
> I think you need to fall b...
phiggins (Pete Higgins)
02:10 AM Revision 03fa0c49 (git): lib/benchmark.rb (measure): reduce allocations as in r47260
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
02:03 AM Revision 4d31df03 (git): * 2014-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:03 AM Revision 249bd1ed (git): lib/benchmark.rb: speedup by reducing allocations
* lib/benchmark.rb (module Benchmark): define BENCHMARK_CLOCK
(realtime): use Process.clock_gettime(BENCHMARK_CLOCK...
Eric Wong

08/23/2014

11:51 PM Bug #10164: Reproducable segfault for 2.1
I can reproduce only 2.1.2.
```
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
die_ruby.rb:10: [B...
hsbt (Hiroshi SHIBATA)
05:11 PM Bug #10164 (Closed): Reproducable segfault for 2.1
Hi,
I have a snippet of code that crashes Ruby 2.1.{1,2} every time for me.
~~~
class Exception
def set_bac...
gsamokovarov (Genadi Samokovarov)
09:48 PM Feature #10165: Use Process.clock_gettime to speed up Benchmark.realtime.
I like this. The speedup is from reduction of allocations+GC

I think you need to fall back to CLOCK_REALTIME on ...
normalperson (Eric Wong)
09:01 PM Feature #10165 (Closed): Use Process.clock_gettime to speed up Benchmark.realtime.
This changes the Benchmark.realtime method to use the Process.clock_gettime internally when generating the time... phiggins (Pete Higgins)
09:23 PM Bug #10166: Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
Ok, I recompiled ruby, and strangely enough, ext/openssl suddenly works.
Possibly it does something more than run ...
shevegen (Robert A. Heiler)
09:07 PM Bug #10166: Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
Sorry for the strange last line, I did not intend to have python appear so big - the last line
was a set of = so I a...
shevegen (Robert A. Heiler)
09:05 PM Bug #10166 (Closed): Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
Hi guys,
Not sure if it is worth reporting but I guess it is better to
report twice than zero times, in the even...
shevegen (Robert A. Heiler)
03:16 PM Bug #9092: Update Unicode data to Unicode Version 7.0
This is just an additional comment for future reference:
The Unicode Consortium has announced
(http://unicode-inc...
duerst (Martin Dürst)
01:32 PM Revision ccbeb0d6 (git): * win32/win32.c (cmdglob): use inline function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:12 AM Feature #10098: [] Timing-safe string comparison for OpenSSL::HMAC
Changelog:
* Renamed `rb_tsafe_eql` => `rb_consttime_memequal`.
* Renamed `rb_str_tsafe_eql` => `rb_str_consttime...
arrtchiu (Matt U)
02:52 AM Revision e6983110 (git): * 2014-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:52 AM Revision e2418c39 (git): ruby.c: reduce RARRAY_PTR_USE region
* ruby.c (process_options): reduce RARRAY_PTR_USE region, make the
path to be set before entering the region.
git-...
nobu (Nobuyoshi Nakada)
01:33 AM Bug #10133: Bug in ruby
What does "libsamplesize"?
FFI is not a magic that make you free from C.
It just eases memory management, data co...
nobu (Nobuyoshi Nakada)
01:22 AM Bug #10163 (Feedback): Error using spring/rails/rake
2.1.2 has been released, can you try with it or the trunk? nobu (Nobuyoshi Nakada)
12:38 AM Bug #10161: C API docs not generated properly without baseruby
As time.rb requires date.so, tool/vcs.rb couldn't work on miniruby, which can't load extension libraries.
Now tool/v...
nobu (Nobuyoshi Nakada)

08/22/2014

06:24 PM Bug #10133: Bug in ruby

When I wrap my code by thread, it has trouble to finish. I only see the output
of "Started At ....", never get ...
lxh37 (Liz Huang)
05:50 PM Bug #10133: Bug in ruby

Thanks for trying to help.
Thread is new to me, I understand "Wrapping your code into Thread.new do your_code en...
lxh37 (Liz Huang)
05:39 PM Bug #10133: Bug in ruby
Can you test script with threads? Wrapping your code into Thread.new do your_code end.join . And wrap it in a loop ag... funny_falcon (Yura Sokolov)
02:00 PM Bug #10133: Bug in ruby

Where can I get help to fix this bug?
lxh37 (Liz Huang)
05:50 PM Bug #10106: Segfault when refining BasicObject
Backported into `ruby_2_1` branch at r47256. nagachika (Tomoyuki Chikanaga)
05:49 PM Revision 80aa5ce5 (git): merge revision(s) r47037: [Backport #10106]
* vm_insnhelper.c (vm_call_method): unusable super class should cause
method missing when BasicObject is re...
nagachika (Tomoyuki Chikanaga)
05:38 PM Bug #10078: String#count() returns wrong count under specific conditions
Backported into `ruby_2_1` branch at r47255. nagachika (Tomoyuki Chikanaga)
05:37 PM Revision b4893fc3 (git): merge revision(s) r46896,r46897,r46898: [Backport #10078]
* string.c (rb_str_count): fix wrong single-byte optimization.
7bit ascii can be a trailing byte in Shift_J...
nagachika (Tomoyuki Chikanaga)
04:00 PM Bug #10142: named params don't always capture passed named args
First Last wrote:
> Koichi Sasada wrote:
> > Sorry I missed this line.
> >
> > > in this specific example, key a...
rits (First Last)
12:54 PM Bug #10161: C API docs not generated properly without baseruby
Thanks for the quick fix. I was looking at the commit, and wondering, did something perhaps unrelated slip into the c... swills (Steve Wills)
06:36 AM Bug #10161 (Closed): C API docs not generated properly without baseruby
Applied in changeset r47248.
----------
tool/vcs.rb: no time.rb
* common.mk (Doxyfile): revert r43888, not to requi...
nobu (Nobuyoshi Nakada)
12:06 PM Bug #10163 (Closed): Error using spring/rails/rake
Today, I runned a `spring rake` in Rails task and got the following error:
> ~~~
> /home/andrey/.rvm/rubies/ruby-...
Anonymous
11:54 AM Revision 01606c71 (git): ChangeLog: Remove garbage introduced at r47253.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
11:24 AM Revision 7bfaa467 (git): * string.c (rb_fstring): fix condition (easy to cause infinite loop!).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
11:16 AM Revision 32dcb81d (git): * string.c (rb_fstring, fstr_update_callback): simply delete garbage
key first.
Garbage keys can be swept by lazy sweeping invoked by creating new
fstring. So that simply do:
(1) ...
ko1 (Koichi Sasada)
10:30 AM Revision 51c3acb6 (git): * test/ruby/test_complex.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:28 AM Revision 8a29e5b4 (git): * test/ruby/test_complex.rb: fixed broken tests. Math is not
compatible CMath now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:06 AM Bug #10162 (Closed): Error while installing ruby 2.1.2 on freebsd
Below is error while doing make install.
rm -f probes.o
linking miniruby
/usr/bin/ld: probes.o: relocation R_X86...
yogesh (yogesh yadav)
08:01 AM Revision 9261f25e (git): provide backward compatibilities
* complex.c (Init_Complex): provide the feature for backward
compatibility.
* rational.c (Init_Rational): ditto.
...
nobu (Nobuyoshi Nakada)
06:36 AM Revision f024d46f (git): tool/vcs.rb: no time.rb
* common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161]
git-svn-i...
nobu (Nobuyoshi Nakada)
06:36 AM Revision 3229456d (git): rbinstall.rb: remove unused variable
* tool/rbinstall.rb: $vcs is no longer used since r46513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2...
nobu (Nobuyoshi Nakada)
03:32 AM Revision 4c91cbb9 (git): * lib/shell.rb: removed commented-out code.
* lib/shell/builtin-command.rb: ditto.
* lib/shell/command-processor.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.o...
hsbt (Hiroshi SHIBATA)
03:21 AM Revision 6f74ab1d (git): * lib/complex.rb: removed deprecated library.
* lib/rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:39 AM Revision faa92cde (git): * 2014-08-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision a84821f8 (git): * lib/prettyprint.rb: removed PrettyPrint#first?
because it is obsoleted method since Ruby 1.8.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47243 b2dd03c8-39d...
hsbt (Hiroshi SHIBATA)

08/21/2014

09:58 PM Bug #9607: Change the full GC timing
Thanks, I can confirm good results on 2.1.2! normalperson (Eric Wong)
09:15 AM Bug #9607: Change the full GC timing
I checked benchmark results and no big regression are observed comapre with current edge of Ruby 2.1.
http://www.atd...
ko1 (Koichi Sasada)
05:32 PM Bug #9559: build failure with clang 3.4
Sorry, didn't see this comment until now. The is:
http://svnweb.freebsd.org/ports/head/lang/ruby21/files/pat...
swills (Steve Wills)
05:19 PM Bug #10135: Time.at is inaccurate
John Smart wrote:
> I believe I have found an issue with Time.at. Many runtimes and DBs use milliseconds since epoc...
david_macmahon (David MacMahon)
11:28 AM Bug #10135: Time.at is inaccurate
1381089302.195 cannot be represented in binary format.
AFAIK, it should be a spec by akr that `Time#strftime('%N')` ...
nobu (Nobuyoshi Nakada)
02:59 PM Bug #10133: Bug in ruby

BTW, errmsg was set to a string with 70 empty spaces in both places, when I paste it in my previous post, it doesn'...
lxh37 (Liz Huang)
02:54 PM Bug #10133: Bug in ruby

I used fiddle in my Ruby script and it works! but when I use it in the same way
on Ruby On Rails, it crashed. I p...
lxh37 (Liz Huang)
05:03 AM Bug #10133 (Third Party's Issue): Bug in ruby
Using fiddle?
Check if the arguments are correct, and the library works.
nobu (Nobuyoshi Nakada)
01:50 PM Bug #10161 (Closed): C API docs not generated properly without baseruby
In 1.9.x, the C API docs would be generated properly even if you didn't have ruby installed first. However, this has ... swills (Steve Wills)
01:10 PM Revision 34ec7c5b (git): win32/test_console_attr.rb: reset attributes
* ext/-test-/win32/console/attribute.c (console_set_attribute):
set console attribute.
* test/-ext-/win32/test_con...
nobu (Nobuyoshi Nakada)
08:26 AM Feature #10090: Display of program name in process listing under AIX
This is **absolutely** not a 3rd party issue if the setting of the process name worked as expected on AIX under Ruby ... mckern (Ryan McKern)
08:10 AM Bug #10158 (Closed): Windowsにてエスケープシーケンスのreverse指定が正常に処理されない
Applied in changeset r47241.
----------
win32.c: manage reverse video
* win32/win32.c (constat_attr): manage revers...
nobu (Nobuyoshi Nakada)
08:10 AM Revision 43b00d8a (git): win32.c: manage reverse video
* win32/win32.c (constat_attr): manage reverse video internally
since Windows console window does not manage it. b...
nobu (Nobuyoshi Nakada)
05:45 AM Revision 4d9de3db (git): * lib/e2mmap.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:39 AM Revision 3118c4c4 (git): compar.c: use Module#to_s
* compar.c (rb_cmperr): use Module#to_s so that names in a message
can be overridden by to_s.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
04:39 AM Revision dafeb23e (git): struct.c: no rb_class_real twice
* struct.c (inspect_struct): as rb_obj_class() returns real class
name, so rb_class_name is not needed.
git-svn-id...
nobu (Nobuyoshi Nakada)
04:24 AM Revision 36ee0a83 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:23 AM Revision 59ca9465 (git): * lib/rinda/ring.rb: split executable code into sample directory.
* sample/rinda-ring.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47236 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
04:23 AM Revision bff692b9 (git): * lib/drb/acl.rb: split executable code into sample directory.
* sample/drb/acl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47235 b2dd03c8-39d4-4d8f-98ff-823fe69b...
hsbt (Hiroshi SHIBATA)
03:55 AM Revision 9cb4054c (git): * .gitignore: ignored temporary file for Changelog.
http://mkosaki.blog46.fc2.com/blog-entry-1284.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47234 b2dd03c8-...
hsbt (Hiroshi SHIBATA)
03:40 AM Revision 8759a731 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 AM Revision ef4c2572 (git): * lib/net/imap.rb: split executable code into sample directory.
* sample/net-imap.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47232 b2dd03c8-39d4-4d8f-98ff-823fe69...
hsbt (Hiroshi SHIBATA)
03:24 AM Revision 2fbca477 (git): * 2014-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 AM Revision c6efc649 (git): * lib/net/imap.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:15 AM Feature #10056: [ 0/1]Add #adjugate method to matrix class
Hello,
The seems fine to me.
I'd like to add some assertions for the testcase.
These are deribed from "Pro...
nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom