Activity
From 09/17/2011 to 09/23/2011
09/23/2011
-
11:43 PM Bug #5350: WeakRef で謎の NoMethodError
- @@final内でのMutex#synchronizeをやめる(添付のpatch1.diff)か、Mutexのロック前にGC.disableして解放後にenableする(patch2)かすれば再現しなくなりました。
-
11:23 PM Bug #5350: WeakRef で謎の NoMethodError
- 書こうと思っていて忘れたので追記.
どうやらmutex.synchronize中に何かの拍子でfinalizerが走り,そのfinalizerの中で同じmutexをsynchronizeすると起こってしまう模様.
そしてさっき古い再現しない再現コードを載せてしまいました… 再現するコードはこちらです.
a = Object.new
mutex = Mutex.new
ObjectSpace.define_finalizer(a) {
mute... -
11:13 PM Bug #5350: WeakRef で謎の NoMethodError
- a = Object.new
mutex = Mutex.new
ObjectSpace.define_finalizer(a) {
begin
mutex.synchronize { p "hi" }
rescue Exception => e
p e
end
}
mutex.synchronize {
a = nil
GC.stress = true
loop{ Object.new }
}
-... -
10:45 PM Bug #5350: WeakRef で謎の NoMethodError
- 調査結果を報告します.
再現コードさらに短縮--
require "weakref"
class Foo
def initialize
@hoge = "fuga"
end
attr_reader :hoge
end
A = Array.new(5000) do
WeakRef.new Foo.new
end
GC.start
A.each do |x|
begin
x.hoge
... -
08:17 PM Bug #5350: WeakRef で謎の NoMethodError
- =begin
もう少しシンプルなコードにしてみました。
大量のWeakRefオブジェクトを生成すると、たまに正しく参照できない事があるようです。
require "weakref"
class Foo
def hoge; end
end
TIMES = 100000
A = []
TIMES.times do
A.push WeakRef.new Foo.new
end
A.each do ... -
08:47 PM Bug #5269: All ThreadError in PStore transaction will be caught and replaced with PStore::Error
- I amended the patch.
Rescue modifier can't be specified exception class to catch. -
07:02 PM Bug #5357 (Closed): Indentation of nested operators should nest
- Hi!
Currently,
```ruby
return if
hash.
values_at(:a, :b, :c).
reject{ |e| e.nil? or e.empty? }.
empty?
```
is indented
as
```ruby
return if
hash.
values_at(:a, :b, :c).
reject{ |e| e.nil? or e... -
06:59 PM Bug #5356 (Third Party's Issue): Add ? to ruby-operator-re
- Hi!
ruby-operator-re should include ? so that ending a line with ? indents the following lines an additional level.
(Should things affecting ruby-mode.el be posted to emacs-devel?) -
01:51 PM Bug #4961 (Closed): [ext/openssl] SSLSession#initialize fails with OpenSSL 0.9.7 - This issue was solved with changeset r33315.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_ssl_session.rb: execute test_session_exts_r... -
12:24 PM Bug #5336: [PATCH] test_ssl_session: wait for callbacks to run in server thread
- When looping I encountered the same behaviour as Eric.
With his patch the problem is now gone. -
12:14 PM Bug #5336 (Closed): [PATCH] test_ssl_session: wait for callbacks to run in server thread - This issue was solved with changeset r33311.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_ssl_session.rb: ensure server calls callbacks... -
11:53 AM Bug #5355 (Closed): Sync_mにBug #5195やBug #5258と同様のバグ
- =begin
Sync_mにもBug #5195やBug #5258と同様のバグがあります。
require 'sync'
class Foo; include Sync_m; end
foo = Foo.new
foo.sync_lock(:EX)
t = Thread.new { foo.sync_lock(:EX) }
nil until t.stop?
p foo.sync_waiting
t.... -
10:53 AM Feature #5352: How about using <> to represent Here Document?
- On Fri, Sep 23, 2011 at 7:08 AM, Martin Dürst <duerst@it.aoyama.ac.jp> wrote:
[...]
> If anything is done in this direction, I'd prefer
> Â str -
10:37 AM Feature #5352: How about using <> to represent Here Document?
- If anything is done in this direction, I'd prefer
```ruby
str = <>SECT1.upcase + <>SECT2.downcase
```
over
```ruby
str = <SECT1>.upcase + <SECT2>.downcase
```
It seems to stick out much better. -
09:53 AM Bug #5353: TLS v1.0 and less - Attack on CBC mode - -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(2011/09/23 9:25), Hiroshi Nakamura wrote:
> For existing TLS/SSL + CBC IV vuln issue, I rarely set
> SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS since clients I write don't
> allow
... -
09:29 AM Bug #5353: TLS v1.0 and less - Attack on CBC mode - -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(2011/09/23 1:14), Martin Bosslet wrote:
> A well-known vulnerability of TLS v1.0 and earlier has recently
> gained some attention:
>
> http://www.theregister.co.uk/2011/09/1... -
01:14 AM Bug #5353 (Closed): TLS v1.0 and less - Attack on CBC mode
- A well-known vulnerability of TLS v1.0 and earlier has recently gained some attention:
http://www.theregister.co.uk/2011/09/19/beast_exploits_paypal_ssl/
Although this has been known for a long time (http://www.openssl.org/~bodo/tl... -
07:57 AM Bug #5354 (Closed): Module#remove_const documentation is confusing
- =begin
The documentation for Module#remove_const says:
> Removes the definition of the given constant, returning that constant’s value. Predefined classes and singleton objects (such as true) cannot be removed.
Based on this docum... -
05:21 AM Revision 3a163623 (git): * ext/openssl/ossl_asn1.c: remove unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:17 AM Revision 4d752775 (git): * ext/openssl/ossl_asn1.c
- ext/openssl/ossl_pkey.c: Remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:56 AM Revision 387b4169 (git): * backport r33315 from trunk.
- * test/openssl/test_ssl_session.rb: execute test_session_exts_read
only for OpenSSL versions >= 0.9.8k. Thanks, Eric Wong, for
reporting this.
[Bug #4961] [ruby-core:37726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub... -
04:51 AM Revision e2694c59 (git): * test/openssl/test_ssl_session.rb: execute test_session_exts_read
- only for OpenSSL versions >= 0.9.8k. Thanks, Eric Wong, for
reporting this.
[Bug #4961] [ruby-core:37726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:22 AM Revision 58d30b96 (git): * 2011-09-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 AM Revision b3e0a543 (git): * backport r33311 from trunk.
- * test/openssl/test_ssl_session.rb: ensure server calls callbacks in
test_ctx_server_session_cb. Thanks to Eric Wong for the patch.
[Bug #5336] [ruby-core:39619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33313... - 03:14 AM Revision 4c3f08ca (git): * 2011-09-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 AM Revision e3af0655 (git): * test/openssl/test_ssl_session.rb: ensure server calls callbacks in
- test_ctx_server_session_cb. Thanks to Eric Wong for the patch.
[Bug #5336] [ruby-core:39619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/22/2011
-
11:16 PM Feature #5352 (Rejected): How about using <> to represent Here Document?
- "<<" is a frequently used method in text manipulation. Meanwhile, it's also the beginning token of a here-document.
Sometimes it may be confusing to newbies.
Unlike Perl, in which "<>" is a very very frequently used operator to read... -
01:53 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number - A basis that sums to unity reduces error, due to convex hull property:
int n; double min, max;
for ( int i = 0; i <= n; ++ i ) {
double u = (double) i / (double) n;
double _u_1 = 1.0 - u;
double v = min * u1 + max ... -
12:12 PM Bug #4961 (Assigned): [ext/openssl] SSLSession#initialize fails with OpenSSL 0.9.7
- Thanks Eric, I'll try to sort out the correct version of 0.9.8!
-
10:45 AM Revision 010c8e59 (git): merge revision(s) 33307:
- * thread_pthread.c (ubf_select): activate timer thread when interrupt
blocking thread.
A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343]
to cover race condition, timer thread periodically send ... -
06:48 AM Bug #5350 (Closed): WeakRef で謎の NoMethodError
- 添付のようなスクリプトを r18232 以降の ruby 1.9 で走らせると、以下のように
RefError ではなく NoMethodError が上がってくる、ということが起きます。
( value メソッドを呼ぶ直前に weakref_alive? を呼んでみると true が
返っています )
r18220 以前では正常に動きます( r18221 ~ r18231 では core を吐きます)。
ruby 1.9.0 (2008-07-27 ... -
05:20 AM Bug #5349 (Closed): Add back documentation for Proc#call and Proc#[]
- When matz added support for Proc#=== (https://github.com/akahn/ruby/commit/dd27b8f4577a96385a29d91e4bd75fb547213fc9), rdoc stopped outputting the documentation for Proc#call and Proc#[], which are far more commonly used. This patch adds ...
-
04:23 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- Tomoyuki Chikanaga <nagachika00@gmail.com> wrote:
> To cover this race condition, ubf_select() also call
> add_signal_thread_list() to register "signal thread list". Timer
> thread periodically send SIGVTALRM to threads in signal ... -
02:53 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- (2011/09/21 9:38), Tomoyuki Chikanaga wrote:
>> Could you commit it? Maybe 1.9.3 also needs this patch. But I'm not
>> sure how to commit frozen 1.9.3 branch.
> I'd be happy to commit it. I'll check in it to trunk and create a... -
02:02 AM Bug #5343 (Closed): Unexpected blocking behavior when interrupt Socket#accept
- This issue was solved with changeset r33307.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (ubf_select): activate timer thread when i... -
01:38 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- Koichi Sasada wrote:
> Could you commit it? Maybe 1.9.3 also needs this patch. But I'm not
> ...
I'd be happy to commit it. I'll check in it to trunk and create a backport request ticket.
BTW, let me summarize the reason why this... -
02:51 AM Bug #5348 (Closed): test/rubygems/test_gem_indexer.rb leaves temporary directory
- =begin
setup in test_gem_indexer.rb changes @tempdir, so teardown fails to clean it properly.
$ mkdir ~/tmp/gemtest
$ TMPDIR=~/tmp/gemtest ./ruby test/rubygems/test_gem_indexer.rb
Run options: --seed 37319
# Running te... -
01:34 AM Bug #5333 (Third Party's Issue): Coverage library giving wrong results
- Hello,
Some people told me that the issue reproduces on os x. Thanks!
@nagachika, @n0kada and I investigated this issue. As a result,
I'm sad that I'd have to say this is third party's issue.
The following patch will show t...
09/21/2011
-
11:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- On 21 September 2011 14:25, masa <masa16.tanaka@gmail.com> wrote:
> I haven't explained the reason of the error estimation in
> Range#step for Float;
>
> double n = (end - beg)/unit;
> double err = (fabs(beg) + fabs(end) + ... -
09:29 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I haven't explained the reason of the error estimation in
Range#step for Float;
double n = (end - beg)/unit;
double err = (fabs(beg) + fabs(end) + fabs(end-beg)) / fabs(unit) * epsilon;
The reason is as follows... -
07:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/20 Tanaka Akira <akr@fsij.org>:
> However the algorithm doesn't solve [ruby-core:39602] and [ruby-core:39606].
>
> % ./ruby -e 'a = (1.0..12.7).step(1.3).to_a; p a.all? {|n| n <= 12.7 }, a.last'
> false
> 12.70000000000... -
11:27 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I made a patch which fixes following 3 cases:
* the error of loop count
* duplicated values from underflow
* excess of the end value
diff --git a/ChangeLog b/ChangeLog
index 0abb211..0f0c28b 100644
--- a/ChangeLog
+++ b/ChangeLo... -
05:53 PM Revision 64b7b548 (git): * vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
- `volatile type *var' doesn't make var itself volatile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:02 PM Revision 7f4c92c4 (git): * 2011-09-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:02 PM Revision f80896c2 (git): * thread_pthread.c (ubf_select): activate timer thread when interrupt
- blocking thread.
A patch created by Koichi Sasada. [ruby-core:39634] [Bug #5343]
to cover race condition, timer thread periodically send SIGVTARLM to
threads in signal thread list. so you should activate timer thread
when interru... -
04:36 PM Feature #5346 (Rejected): Please Reopen Issue #4893
-
04:10 PM Feature #5346 (Rejected): Please Reopen Issue #4893
- =begin
Please reopen issue #4893.
=end
-
04:11 PM Feature #4893: Literal Instantiation breaks Object Model
- =begin
related issue: #5346
=end
-
01:53 PM Bug #5345 (Closed): error running make for 1.9.2-p290: Generating RI => 'marshal data too short'
- It sounds like an RHEL 5.5 specific issue, and seems already fixed.
-
11:40 AM Bug #5345 (Closed): error running make for 1.9.2-p290: Generating RI => 'marshal data too short'
- Can't successfully build ruby 1.9.2-p290 from a git clone on RedHat Enterprise 5.5, make fails while generating RI with the error 'marshal data too short'
Can successfully build 1.9.2-p302 and ruby_1_9_3 on the same system.
I don't... -
09:53 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- Thanks Eric and Chikanaga-san.
Could you commit it? Maybe 1.9.3 also needs this patch. But I'm not
sure how to commit frozen 1.9.3 branch.
Regards,
Koichi
(2011/09/20 17:25), Tomoyuki Chikanaga wrote:
>
> Issue... -
09:25 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- Hi, sasada san.
With your patch, over 60000 times trials pass successfully.
Your patch works fine for me too.
Thank you. -
05:59 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- SASADA Koichi <ko1@atdot.net> wrote:
> (2011/09/20 2:22), Tomoyuki Chikanaga wrote:
> > I guess this is because SIGVTALRM from send from ubf_select() is received by blocking thread after GVL release but before enter poll(2)/ppoll(2)... -
09:25 AM Feature #4830: Provide Default Variables for Array#each and other iterators
- =begin
For a simple case, such as
(({some_array.map { foo(it) }.select { bar(it) }.each { baz(it) }}))
You can do
(({some_array.map(&method(:foo)).select(&method(:bar)).each(&method(:bar))}))
instead.
> PS: Since $dollar... -
07:36 AM Feature #4830: Provide Default Variables for Array#each and other iterators
- I agree with Adam.
In my opinion, this would be "convention over configuration" pushed to extreme.
A person seeing for the first time a piece of code with these default variables will have no way to know what is going on.
"Conventions ov... -
09:14 AM Bug #5344 (Closed): Clarified Array.new Documentation
- Main comment didn't match the examples. Show output of the code
examples. - 08:02 AM Revision bf8826c5 (git): * 2011-09-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:02 AM Revision df1a46fd (git): * test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
- behavior of mingw is just same with mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:02 AM Revision f48ef8bb (git): * test/io/wait/test_io_wait.rb (TestIOWait#setup): of course, the
- behavior of mingw is just same with mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/20/2011
-
11:53 PM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- (2011/09/20 2:22), Tomoyuki Chikanaga wrote:
>
> Issue #5343 has been updated by Tomoyuki Chikanaga.
>
>
> Hi,
>
> I've found that this issue is not specific problem of TCPServer#accept.
>
> The following script a... -
07:14 PM Bug #5343 (Assigned): Unexpected blocking behavior when interrupt Socket#accept
- Aghh. This is regression since 1.9.3.
-
06:22 PM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
- Hi,
I've found that this issue is not specific problem of TCPServer#accept.
The following script also rarely blocks forever.
require "thread"
queue = Queue.new
r, w = IO.pipe
th = Thread.start {
queue.push(nil)
r.read... -
02:48 PM Bug #5343 (Closed): Unexpected blocking behavior when interrupt Socket#accept
- In CentOS release 5.6 (Kernel: 2.6.18-238.12.1.el5, glibc 2.5),
the following sample script rarely (about once every 1000) blocks at Thread#join with 1.9.3-head.
require "socket"
require "thread"
queue = Queue.new
th = Thread.... -
06:40 PM Bug #5340 (Feedback): mysql2.bundle: [BUG] Segmentation fault
-
09:23 AM Bug #5340: mysql2.bundle: [BUG] Segmentation fault
- da Bee <redmine@ruby-lang.org> wrote:
> HQ:simple_cms rich$ rails g controller demo index
> /Users/rich/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.7/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
> ruby 1.9.2p290 (2011-07-09 re... -
01:09 AM Bug #5340 (Rejected): mysql2.bundle: [BUG] Segmentation fault
- HQ:simple_cms rich$ rails g controller demo index
/Users/rich/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.7/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
-- control... -
06:34 PM Bug #5305: YAML::DBM#update、#replace のコメントの間違いを修正する
- I think, YAML::DBM#update be able to rewrite without #keys.
--- lib/yaml/dbm.rb
+++ lib/yaml/dbm.rb
@@ -185,8 +185,8 @@ class DBM < ::DBM
#
# Returns +self+.
def update( hsh )
- hsh.keys.each do |k|
- ... -
05:59 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Masahiro TANAKA <masa16.tanaka@gmail.com>:
> I have not been watching ruby-core, but let me give a comment for this issue.
> I proposed Numeric#step algorithm for Float in [ruby-dev:20177],
> but that was only for the in... -
05:53 PM Bug #5333: Coverage library giving wrong results
- Hello, sorry for late reply. I had a short trip.
2011/9/17 Christoph Olszowka <christoph@olszowka.de>:
> I'm the author of the simplecov gem, a wrapper on top of the Coverage library.
Thank you for the useful gem! simpleco... -
05:02 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable ... -
03:04 PM Revision e0d1292e (git): merge revision(s) r33303:
- ------------------------------------------------------------------------
r33303 | naruse | 2011-09-20 21:16:08 +0900 (Tue, 20 Sep 2011) | 3 lines
Avoid cfp consistency error by LLVM.
volatile is not enough.
----------------------------... -
12:16 PM Revision 192292af (git): Avoid cfp consistency error by LLVM.
- volatile is not enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 AM Revision f9576738 (git): * vm_insnhelper.c (vm_get_cvar_base): reduce duplicated checks and
- move a warning outside the loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Feature #5341: Add SSL session reuse to Net::HTTP
- The original patch has unrelated changes.
-
06:55 AM Feature #5341 (Closed): Add SSL session reuse to Net::HTTP
- SSL session reuse allows reconnection to an HTTPS server to avoid an SSL handshake which avoids extra computations and network round-trips and increases the performance of SSL connections.
-
07:18 AM Revision 3a902c4d (git): Skip patented algorithms: IDEA and RC5 on NetBSD.
- On NetBSD, if it uses patented algorithms without explicit option,
openssl will abort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Revision c7b58831 (git): Explicitly close the tcp connection.
- Without this, the connection will be alive without GC after exit
the block and the test will fail as "TCPServer was closed and SSLServer
is still alive" on 64bit Unix: at least CentOS, Ubuntu, and FreeBSD.
git-svn-id: svn+ssh://ci.ruby-... -
01:02 AM Bug #5339 (Closed): ERB generates extra newlines on Windows
- Steps to reproduce:
(1) Create files from this gist: https://gist.github.com/1226780.
(2) Run `ruby erbug.rb`.
(3) If you're on windows, you'll see something like
* 1
* 2
* 3
Otherwise, it will be like this:
* 1
...
09/19/2011
-
07:34 PM Feature #5337 (Closed): Use outbufs in FileUtils.compare_stream
- This issue was solved with changeset r33297.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb (module FileUtils): improve performance of
... -
06:01 PM Feature #5337 (Closed): Use outbufs in FileUtils.compare_stream
- =begin
I propose using outbufs in FileUtils.compare_stream.
It will increase performance.
I executed the following code to performance test.
require 'fileutils'
require "stringio"
str = "hoge" * 100000000
a = StringI... - 06:30 PM Revision 35c065ae (git): * 2011-09-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:30 PM Revision fbf4c1d2 (git): OepnSSL supports TLS extension from 0.9.8f.
- http://www.openssl.org/news/changelog.html
Reported by Eric Wong. [ruby-core:39617] [Bug #4961]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:35 PM Bug #5336 (Closed): [PATCH] test_ssl_session: wait for callbacks to run in server thread
- test/openssl/test_ssl_session.rb: wait for callbacks to run in server thread
Closing the SSL connection on the client side does not ensure the
server side has closed and called all the needed callbacks in
the server thread. Using T... -
03:33 PM Bug #4961: [ext/openssl] SSLSession#initialize fails with OpenSSL 0.9.7
- I'm getting the following error on CentOS 5.6, perhaps the version check needs
to be bumped? I am using: OpenSSL 0.9.8e-rhel5 01 Jul 2008
1) Error:
test_session_exts_read(OpenSSL::TestSSLSession):
ArgumentError: unknown type: expe... -
10:34 AM Revision 6ec841b2 (git): * lib/fileutils.rb (module FileUtils): improve performance of
- FileUtils.compare_stream. a patch by Masaki Matsushita.
[Feature #5337] [ruby-core:39622]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:47 AM Revision d4db53a0 (git): * test/-ext-/old_thread_select/test_old_thread_select.rb:
- select() with timeout may return early in old Linux kernels
with 250 Hz tickrate and no dynticks, so skip everything older
than 2.6.32 (which has long term support).
And, Make the timing assertions consistently use assert_operator ... -
07:54 AM Bug #5274 (Closed): [ruby-dev:44460] Class の clone と Class の生成を組み合わせたときのバグ
- This issue was solved with changeset r33292.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_obj_clone): singleton class should be attached
... -
12:32 AM Revision cb5f093e (git): Hide Makefile and extconf.rb
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 AM Revision 7c371d46 (git): * test/openssl/test_ssl.rb (class OpenSSL): Test
- OpenSSL::SSL::SSLSocket#session and #session=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/18/2011
-
11:25 PM Bug #5334 (Closed): Segmentation fault in InternetExplorer IServiceProvider interface
- The following code causes a segmentation fault in Ruby 1.9.2:
require 'win32ole'
browser = WIN32OLE.new("InternetExplorer.Application")
provider = browser.ole_query_interface("{6D5140C1-7436-11CE-8034-00AA006009FA}")
provider.ole_o... - 10:54 PM Revision 3b17a1d0 (git): * 2011-09-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:54 PM Revision 125b62e7 (git): * object.c (rb_obj_clone): singleton class should be attached
- singleton object to. a patch by Satoshi Shiba <shiba AT rvm.jp>
at [ruby-dev:44460]. [Bug #5274]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:16 PM Feature #5310: Integral objects
- @Brian, if i understood correctly, the proposal is intending to fix the problem that Float and BigDecimal should not respond to #to_int, and in some other cases #to_int should raise an Error on some inputs.
Sorry, this sounds like a tau... -
07:07 PM Feature #5310: Integral objects
- Hello, i also do not understand very well the issue.
Am i right that it has to do with the difference between #to_int and #to_i methods, similar to the difference between #to_ary and #to_a methods?
Do i understand correctly that #to_a i... -
06:53 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- On 17 September 2011 07:05, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> Hello,
>
> 2011/9/17 Tanaka Akira <akr@fsij.org>:
>> But in the following script, which changes "a...b" to "a..b" from the above
>> script, the result length doesn'... -
08:29 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Yusuke ENDOH <mame@tsg.ne.jp>:
> Maybe this "consideration" causes the following behavior:
>
> p (1.0..12.7).step(1.3).all? {|n| n <= 12.7 } #=> false
> p (1.0..12.7).step(1.3).to_a
> #=> [1.0, 2.3, 3.6, 4.9...
09/17/2011
-
11:58 PM Bug #5333 (Third Party's Issue): Coverage library giving wrong results
- I'm the author of the simplecov gem, a wrapper on top of the Coverage library. You can find it on Github at https://github.com/colszowka/simplecov
I keep getting reports from users that code they have cleary tested is not reported as ... -
07:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I have not been watching ruby-core, but let me give a comment for this issue.
I proposed Numeric#step algorithm for Float in [ruby-dev:20177],
but that was only for the include_end-case.
> (1...6.3).step.to_a # => [1.0, 2.0, 3.0, 4.0, ... -
06:29 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- (2011/09/17 16:14), Yusuke ENDOH wrote:
> Hello,
>
> 2011/9/17 NARUSE, Yui <naruse@airemix.jp>:
>> In my current understanding, the error is
>> fabs(beg) * epsilon + fabs(unit) * epsilon * n + fabs(end) * epsilon
>> = (fabs... -
04:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
2011/9/17 NARUSE, Yui <naruse@airemix.jp>:
> In my current understanding, the error is
> fabs(beg) * epsilon + fabs(unit) * epsilon * n + fabs(end) * epsilon
> = (fabs(beg) + fabs(end) + fabs(end-beg)) * epsilon
> //... -
04:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Yusuke ENDOH <mame@tsg.ne.jp>:
> Maybe this "consideration" causes the following behavior:
>
> p (1.0..12.7).step(1.3).all? {|n| n <= 12.7 } #=> false
> p (1.0..12.7).step(1.3).to_a
> #=> [1.0, 2.3, 3.6, 4.9... -
03:59 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- (2011/09/17 9:07), Tanaka Akira wrote:
> So my understanding of this problem is that no one implemented
> proper exclude_end support with well considered float errors, yet.
In my current understanding, the error is
fabs(beg) ... -
02:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Hello,
2011/9/17 Tanaka Akira <akr@fsij.org>:
> But in the following script, which changes "a...b" to "a..b" from the above
> script, the result length doesn't vary.
>
> % ./ruby -e '
> h -
09:23 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Tanaka Akira <akr@fsij.org>:
>
> I don't think the patch is a appropriate fix for this problem.
>
> The test, "n*unit+beg < end", is fragile.
I made a sample script to show the fragileness on x86_64 to explain
t... -
07:29 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- 2011/9/17 Marc-Andre Lafortune <ruby-core@marc-andre.ca>:
>
> I'd like to thank Vit Ondruch and Aleš Mareček for pointing out this issue, investigating it and providing insight as to how to fix it.
>
> I am sorry that this problem h... -
01:10 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- I'd like to thank Vit Ondruch and Aleš Mareček for pointing out this issue, investigating it and providing insight as to how to fix it.
I am sorry that this problem has not been fixed yet. I completely agree that this is a bug and tha... -
12:42 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
- Marc-Andre Lafortune wrote:
> On Tue, Sep 13, 2011 at 9:13 AM, Shyouhei Urabe <shyouhei@ruby-lang.org> wrote:
> ...
I'm pretty sure Matz wasn't interested in the current implementation. He always says what he wants i.e. his statements... -
12:05 AM Bug #4576 (Open): Range#step miss the last value, if end-exclusive and has float number
- Hi,
Michal Suchanek wrote:
> == is meaningless with floats.
> ...
If `foo != bar`, it doesn't tell you all that much about `foo` and `bar`, as they could differ by a lot, or possibly by very little due to a calculation rounding.
... -
02:34 PM Revision c4d77cb4 (git): * parse.y (parser_data_type): inherit the core type in ripper so
- that checks in core would work. [ruby-core:39591] [Bug #5331]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:21 PM Revision b4519b3b (git): * 2011-09-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:21 PM Revision 3be8a6a9 (git): * vm.c (rb_vm_make_env_object, rb_vm_get_sourceline): export as a
- workaround for ruby-debug19 for the time being.
[ruby-core:38972] [Bug #5193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- Hi,
(11/09/16 18:44), Charlie Savage wrote:
> But instead of discussing that here, should a new ticket be opened for a creating an official debugger api for 1.9.4?
I (and maybe nobu) will try them. Actually, I've needed to ... -
10:44 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
- > So we had requested the API proposal and its use cases
> ...
First, is there anything else we need to do for ruby 1.9.3? The current status is that both ruby-debug-base19 and ruby-debug-base19x (JetBrain's fork) both compile now. ru... - 03:51 AM Revision 19c312af (git): * 2011-09-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:49 AM Revision d52be39f (git): * lib/find.rb (Find.find): add documentation that Find.find
- without block returns an enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e