Activity
From 02/15/2011 to 02/21/2011
02/21/2011
-
11:45 PM Bug #4418 (Rejected): OpenSSL::PKey::DH#public_key
- =begin
OpenSSL::PKey::DH#public_key がその名前に反して DH パラメータのみを複製して返しています。
require 'openssl'
dh = OpenSSL::PKey::DH.generate(1024) # => パラメータと鍵の生成、時間がかかる
p dh.pub_key # => 公開鍵の整数を表示
p dh.public_key.pub_key # => nil
DH の場... -
11:22 PM Bug #4417 (Closed): OpenSSL::Buffering#each_byte がブロックに文字をStringで渡している
- =begin
現状では Ruby 1.9.x では OpenSSL::Buffering#each_byte は、渡されたブロックに String オブジェクトを
(1文字づつ)渡しています。
しかし IO#each_byte などからの類推としてこれは Integer を渡すべきではないでしょうか。
=end
-
10:53 PM Bug #4416 (Closed): OpenSSL::SSL::Session#session_new_cb
- =begin
SSL_CTX_sess_set_new_cb で渡すコールバックの返り値は、
「0 を返すと新しく作られた SSL_SESSION のリファレンスカウンタの
値を減らし(て SSL_SESSION を解放し)、
それ以外を返すとリファレンスカウンタを減らさない」となっています。
しかし、ext/openssl/ossl_ssl.c:ossl_sslctx_session_new_cb ではその中で
リファレンスカウンタの値を... -
10:50 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
須藤です。
ここ1,2ヶ月は手をつけられそうなので、今、考えている分だけ書
いておきます。
In <4CEAAED7.5090808@airemix.jp>
"[ruby-dev:42618] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures without iconv" on Tue, 23 Nov 2010 02:... -
10:33 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
- =begin
ふむ。では修正してから取りこみます。
2011/2/21 Kouhei Sutou <kou@cozmixng.org>:
> 水を差すようで申し訳ないのですが、a, b, xなどの名前に意味の
> ない変数名を使わないようにするなど、もう少し整理した方がよい
> 気がします。
--
Shota Fukumori a.k.a. @sora_h - http://codnote.net/
=end
-
10:27 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
- =begin
あ、ありがとうございます!
これから出てくるバグに備えて、lib/test/*のメンテナにも立候補したいと思います。
2011/2/21 Yukihiro Matsumoto <matz@ruby-lang.org>:
> コミット権も差し上げましょう。希望するアカウント名、PGP署名
> したssh2公開鍵を cvs-admin@ruby-lang.org に送ってください。
>
> 久々の最年少更新か。
--
Shota... -
10:23 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
- =begin
須藤です。
In <4d6263f6f161d_1dc2aafe934324d4@redmine.ruby-lang.org>
"[ruby-dev:43226] [Ruby 1.9-Feature#4415][Open] Rubyのtest-allを並列化するパッチが完成しました" on Mon, 21 Feb 2011 22:09:12 +0900,
Shota Fukumori <redmine@ruby-lang.org> wr... -
10:17 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:43226] [Ruby 1.9-Feature#4415][Open] Rubyのtest-allを並列化するパッチが完成しました"
on Mon, 21 Feb 2011 22:09:12 +0900, Shota Fukumori <redmine@ruby-lang.org> writes:
|Feature #4415: Rubyのtest-all... -
10:09 PM Feature #4415 (Closed): Rubyのtest-allを並列化するパッチが完成しました
- =begin
# [ruby-dev:43222] の続きです。経緯などはそちらを参照していただければと思います。
パッチが完成したのでチケットを作成しました。
まつもとさんは[ruby-dev:43224]で「バグがとれたら入れちゃったら?」と言っていました。
一部テストについては改変していますが、それについては取りこまなくてもFailになることは無いと思います。
(workerで失敗したテストは並列では無く実行をしなおす為。ただし... -
09:13 PM Revision a6fcf3e5 (git): Apply documentation patch from mathew murphy. [Bug #4149]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:09 PM Revision 7b494b09 (git): * ext/psych/lib/psych.rb: increase Psych to 1.1.0 for help with
- debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 PM Revision 4ed82ae5 (git): * ext/psych/lib/psych/streaming.rb: refactor streaming methods to a
- module.
* ext/psych/lib/psych/stream.rb: extracted streaming specific methods
to a module.
* ext/psych/lib/psych/json/stream.rb: JSON stream inherits from
JSONTree and includes streaming methods.
* ext/psych/lib/psych/visitors/json_t... -
06:09 PM Revision 10ec858f (git): should have used anchor, not oid
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:42 PM Revision 88014ea8 (git): * 2011-02-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:42 PM Revision 846b8118 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb (accept): use Hash#key?
- when looking up object references to err on the side of cache
misses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 PM Feature #4414: Addition to String.split
- =begin
Your proposal seems valid, because current String#split only accept arguments whose first argument has to_str method.
The problem is the use case can be solbed by String#unpack (or lib/scanf.rb) like following.
version,... -
01:51 PM Feature #4414 (Rejected): Addition to String.split
- =begin
I'm wondering whether the following feature is acceptable before I work on a patch:
When String.split is given one or more integer arguments, the string is divided at those indices.
str = '1.9ruby30932'
version, lang... -
02:44 AM Bug #4413 (Rejected): Segmentation fault when using deliver for GMAIL SMTP
- =begin
Hi,
First of all please advise me if I make any mistakes in this post. I've done ruby and rails for about a month.
On my local machine I have a problem with sending email through SMTP. Any time I create a new mail and ... -
02:00 AM Revision 8b5a3b7d (git): * ext/psych/lib/psych/json/yaml_events.rb: refactoring JSON event
- handling methods to a module for reuse.
* ext/psych/lib/psych/json/tree_builder.rb: AST builder uses JSON
event methods.
* ext/psych/lib/psych/json/stream.rb: stream emitter uses JSON event
methods.
git-svn-id: svn+ssh://ci.ruby-lan... -
01:56 AM Revision 6f37c467 (git): * ext/psych/lib/psych/json/stream.rb: do not emit custom tags in maps
- or sequences when emitting JSON.
* ext/psych/lib/psych/json/tree_builder.rb: do not emit custom tags in
sequences when emitting JSON.
* test/psych/json/test_stream.rb: tests for custom stream emits.
* test/psych/test_json_tree.rb: test... -
01:49 AM Revision 816c7900 (git): moving autoload to require so that the correct files are required
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:45 AM Feature #4412 (Closed): [ext/openssl] Create Digest by OID
- =begin
Currently it is not possible to create a Digest instance by using
the OID instead of the name (sn or ln).
oid = OpenSSL::ASN1::ObjectId.new('SHA1')
digest = OpenSSL::ASN1::Digest.new(oid.oid)
=> Unsupported digest... -
01:06 AM Revision 73af8137 (git): * ext/psych/lib/psych/json/ruby_events.rb: DRY up ruby event handling
- for JSON.
* ext/psych/lib/psych/visitors/json_tree.rb: use ruby events module
* ext/psych/lib/psych/json/stream.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:02 AM Revision 6673f4e8 (git): * ext/psych/lib/psych/json/stream.rb: fix JSON stream emits to use
- double quotes during stream.
* test/psych/json/test_stream.rb: tests to reflect changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/20/2011
- 03:39 PM Revision 39160bd4 (git): * 2011-02-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision deeda1ca (git): * test/ruby/test_system.rb (TestSystem#test_system_at):
- add testcase for bug4396.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:59 AM Revision 408a903c (git): * ext/openssl/ossl_cipher.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:09 AM Bug #4373 (Rejected): http.rb:677: [BUG] Segmentation fault
- =begin
=end
-
01:27 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Just an update. I uninstalled any variation of macport postgresql and openssl, via:
sudo port uninstall --follow-dependents portname openssl
---> Deactivating postgresql83-server @8.3.13_0
---> Cleaning postgresql83-se... -
07:26 AM Revision c4cc4d31 (git): * thread.c (exec_recursive): prevent temporary objects from GC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:26 AM Revision 43055ad2 (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 AM Revision e7c0a6e1 (git): * prevent temporary objects from GC, and should not use
- RSTRING_PTR() for function calls since it evaluates the argument
a couple of times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:22 AM Revision 4ab39d22 (git): * file.c (rb_file_flock): use rb_thread_io_blocking_region for the
- time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/19/2011
-
10:54 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Ok, I have pinpointed the problem. I do not need to move /opt. To diagnose this, I created a new rails app. I have included the gem file. In there you will see that it includes the twitter gem. HOWEVER, I've commented line 9: gem... -
09:34 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
On 19 February 2011 03:08, Christian Fazzini <redmine@ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
> Benoit, I'll go through those steps you suggested.
>
> By the way, is 1.9.3 safe to use in ... -
11:08 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Benoit, I'll go through those steps you suggested.
By the way, is 1.9.3 safe to use in production? Any reason, why you didnt try reproducing in 1.9.2?
=end
-
06:38 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
On 6 February 2011 18:43, Christian Fazzini <redmine@ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
>
> Openssl is already installed via macports. Actually, the replication is quite simple. I hav... - 08:44 PM Revision 4f00a27f (git): lib/minitest/*.rb: Imported minitest 2.0.2 r6207
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:14 PM Revision df52785d (git): * signal.c (sig_trap): avoid pthread_sigmask(xx, &mask, &mask) usage
- because FreeBSD don't permit it. If it's used, it behave as
pthread_sigmask(xx, NULL, &mask).
* signal.c (init_sigchld): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:47 PM Revision 4250c745 (git): * 2011-02-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision 1343f8c5 (git): * ext/openssl/ossl_bn.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:41 PM Revision e3cc8344 (git): * vm_insnhelper.c (vm_check_if_namespace): guard temporary object
- from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 PM Revision 84b96e1b (git): Fix tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:50 AM Bug #4408: Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
- =begin
The Cipher class uses the OpenSSL EVP API, but if you look in the file evp.h in all available OpenSSL versions (including >= 1.0.0) you will find this:
#if 0
const EVP_CIPHER *EVP_aes_128_ctr(void);
#endif
As soon a... -
08:57 AM Bug #4410: Install fails with missing readline.so in fileutils.rb
- =begin
Doesn't happen with a plain make install either. I'd be interested to know what's going on, though.
=end
-
08:44 AM Bug #4410: Install fails with missing readline.so in fileutils.rb
- =begin
Problem doesn't seem to occur on RHEL 5.3.
=end
-
08:41 AM Bug #4410 (Third Party's Issue): Install fails with missing readline.so in fileutils.rb
- =begin
Checkinstall running make install:
[ many lines omitted ]
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=... -
06:47 AM Bug #3972 (Closed): r28668 breaks test/unit when combined with the testing rake task - =begin
This issue was solved with changeset r30913.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* lib/test/unit.rb: partial revert of r30849. [ruby-core:... -
06:19 AM Bug #4405: WIN32OLE & Threads incompatible
- =begin
We struggled with this a bit on JRuby too while implementing win32ole. The contract under which we implemented it also called for high concurrency, so we needed to figure out the right bits and pieces and threading models and so ... -
06:06 AM Bug #4409 (Closed): DRb: discrepency between DRb.here? and DRb.uri leads to failure to dereference a DrbObject
- =begin
When a reference on a local object is sent back by a client to a server, it may not be recognised as a local object during marshalling:
An object instance being sent as a reference is wrapped in a DRbObject built by make_proxy... -
03:57 AM Bug #4394: Bug in floating point multiplication
- You can also do
>> (12.4 * 1.05).round(2)
=> 13.02
02/18/2011
- 09:39 PM Revision 774eeba6 (git): * 2011-02-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:39 PM Revision c36abbfd (git): * lib/test/unit.rb: partial revert of r30849. [ruby-core:32864]
- * test/testunit/test_rake_integration.rb: adding an integration test
with the rake loader to prevent regressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:14 PM Bug #4407: rubygems test should use require_relative
- =begin
On Feb 17, 2011, at 05:13 , Shota Fukumori wrote:
> require 'rubygems/package/tar_test_case'
> -require 'test/rubygems/simple_gem'
> +if respond_to?(:require_relative)
> + require_relative 'simple_gem'
> +else
> + req... -
12:32 PM Revision 03022c9d (git): merge revision(s) 30903:
- * test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
Test for below.
* error.c (exc_to_s): untainted strings can be tainted via
Exception#to_s, which enables attackers to overwrite s... -
12:18 PM Revision 4f4dc7b2 (git): merge revision(s) 30905:
- * lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this me... -
12:02 PM Revision b593b831 (git): merges r30896 from trunk into ruby_1_9_2.
- --
* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this method is executing.
... -
11:59 AM Revision 9f89da18 (git): merges r30896 from trunk into ruby_1_9_1.
- --
* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this method is executing.
... -
11:48 AM Revision 452c5aff (git): merge revision(s) 30896:
- * lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this me... - 11:05 AM Revision c13f6287 (git): * 2011-02-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:05 AM Revision fca16b0c (git): * error.c (exc_to_s): untainted strings can be tainted via
- Exception#to_s, which enables attackers to overwrite sane strings.
Reported by: Yusuke Endoh <mame at tsg.ne.jp>.
* error.c (name_err_to_s): ditto.
* test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
Tes... -
10:47 AM Revision e86bf2db (git): merge revision(s) 30604:
- * win32/win32.c (init_stdhandle): backport mistake of r29382.
some code are needless in ruby 1.8.
[ruby-core:34579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30902 b2dd03c8-39d4-4d8f-98ff-823fe... -
10:43 AM Revision 4fdfac49 (git): merges r30721 from trunk into ruby_1_9_2.
- --
* array.c (rb_ary_join): [].join.encoding must be US-ASCII.
[ruby-list:47790]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:43 AM Revision b0416f34 (git): merges r30699 and r30700 from trunk into ruby_1_9_2.
- --
* configure.in: Add #include<sys/stat.h> when struct stat is
tested. Otherwise, incomplete type dereference error will occur.
--
We don't only need to change "struct stat.st_size" test, but also
need to change "stru... -
10:43 AM Revision b5296022 (git): merges r30683 and r30684 from trunk into ruby_1_9_2.
- --
* hash.c (rb_hash_fetch_m): add GC guard to prevent intermediate
variable from GC.
--
* re.c (rb_reg_raise): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lan... -
10:43 AM Revision 7c9904b2 (git): merges r30659 from trunk into ruby_1_9_2.
- --
* class.c (clone_method): add GC guard to prevent intermediate
variable from GC. [Bug #4321] [ruby-dev:43107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:43 AM Revision a474c66f (git): merges r30657 from trunk into ruby_1_9_2.
- --
* vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
variable from GC. [Bug #4322] [ruby-dev:43108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:42 AM Revision c1afbd39 (git): * lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
- race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this method is executing.
Reported by: Nicholas Jefferson <nicholas at pythonic.com.au>
git-s... -
10:37 AM Revision b0e9e1d4 (git): * configure.in: revert revision r29854. This revision introduced
- binary incompatibilities on some circumstances. The bug that
revision was fixing gets reopened by this reversion.
[ruby-dev:43152] cf. [Bug #2553]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30895 b2dd03c8-39d4... -
08:49 AM Bug #4408 (Third Party's Issue): Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
- =begin
It is my understanding that due to the current Ruby OpenSSL bindings, only the following ciphers modes are supported in Net:SSH:
>> Net::SSH supports the following ciphers:
aes128-cbc
3des-cbc
blowfish-cbc
cas... -
05:20 AM Bug #4404: Make Dir.glob respect backslash as if slash in windows
- =begin
sorry for the poor example, the proposal should have been to make
Dir['C:\Users\Public\Desktop\*']
work.
-r
=end
-
04:25 AM Bug #3972 (Open): r28668 breaks test/unit when combined with the testing rake task
- =begin
r30849 causes this bug again. Please revert r30849 or stop including `include Test::Unit::RequireFiles` in `class Runner`.
=end
-
02:30 AM Bug #4400: nested at_exit hooks run in strange order
- =begin
On Thu, Feb 17, 2011 at 10:16 AM, Charles Nutter <redmine@ruby-lang.org>wrote:
> Issue #4400 has been updated by Charles Nutter.
>
>
> FWIW, JRuby already seems to match the C ordering, thought I don't think we
> did it on... -
12:16 AM Bug #4400: nested at_exit hooks run in strange order
- =begin
FWIW, JRuby already seems to match the C ordering, thought I don't think we did it on purpose:
~/projects/jruby ➔ jruby at_exit.rb
outer3
outer2_begin
outer2_end
inner2
outer1_begin
outer1_end
inner1
oute... -
01:00 AM Bug #4401: override :method method breaks Psych
- =begin
Fails the same in JRuby (we just reuse Psych's .rb code): http://jira.codehaus.org/browse/JRUBY-5520
=end
-
12:50 AM Feature #4265: Provide a core method Kernel#ruby for invoking a new Ruby instance
- =begin
On Wed, Feb 16, 2011 at 5:40 PM, Roger Pack <rogerdpack2@gmail.com> wrote:
>> As Hongli pointed out, and as Gem.ruby shows, it's easy enough to
>> stitch together the right bits to re-launch the current Ruby. It's not
>> so ea...
02/17/2011
-
10:47 PM Bug #3720 (Closed): test_marshal_dump_extra_iv doesn't check as intended
- =begin
This issue was solved with changeset r30891.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* test/ruby/test_marshal.rb (test_marshal_dump_extra_i... -
10:13 PM Bug #4407 (Closed): rubygems test should use require_relative
- =begin
hi,
rubygem's some tests should use require_relative.
Patch is here
diff --git test/rubygems/test_gem_format.rb test/rubygems/test_gem_format.rb
index f964cab..b808398 100644
--- test/rubygems/test_gem_format.r... -
08:03 PM Bug #4401: override :method method breaks Psych
- =begin
The other way, might be:
Object.instance_method(:method).bind(target).call(:to_yaml).source_location.first
Either way is fine for me.
=end
-
06:37 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Sorry, I can't suggest any ways.
Anyone can suggest a way to he?
=end
-
05:56 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Shota, what approach can I take to overcome this issue? What do you suggest? Perhaps, I can remove RVM completely? Or uninstall OpenSSL via MacPorts? I could also do a reformat of the entire system, but that would take far too lo... -
05:30 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
1.9.2's ruby_lib_version is 1.9.1, so library directory is 1.9.1. (See 1.9.2's NEWS)
And I can't decide "ruby's issue" or "openssl's issue" or "rails issue."
Anyone can decide a factor for this problem?
=end
-
04:43 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Yea it is. Earlier you told me to do $LOADED_FEATURES. I was just checking if its normal for the output of $LOADED_FEATURES to return:
"/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle... -
04:39 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Related to your issue (this thread's issue)
=end
-
04:36 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Shota, what is the related issue? I am still getting the same error as initial post.
=end
-
02:07 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
[ruby-list:47892] (Japanese) is related issue?
--
Shota Fukumori a.k.a. @sora_h - http://codnote.net/
=end
-
02:06 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Any updates on this?
At above paste. Is it normal that openssl is bundled/using ruby 1.9.1. Look at this line:
"/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/x86_64-darwin10.6.0/openssl.bundle"
=end
-
05:45 PM Bug #4405 (Closed): WIN32OLE & Threads incompatible
- =begin
The WIN32OLE library does not work when using Ruby threads. It may raise exceptions such as this:
(druby://localhost:2002) threadsys.rb:7:in `connect': failed to parse display name of moniker `winmgmts://localhost/root/cimv... -
04:13 PM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- =begin
よしだあつしです。
Rubyのポリシーとして環境変数にパスワードは書いてはいけないということはわかりました。
ただ私が問題だと思ったのはcurlやwgetでは受け入れられているものが
「何も言わずに無視される」点です。
無視するにしてもせめてwarningを出すということは無理なのでしょうか?
On Mon, 14 Feb 2011 13:00:27 +0900
Tanaka Akira <akr@fsij.org> wrote:
... -
03:32 PM Revision 80466e3f (git): * compile.c (get_exception_sym2type): guard temporary object from GC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:08 PM Revision 946e37cf (git): * 2011-02-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision 8147a76b (git): * iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_info
- with nil. this fix exception in rb_iseq_load().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 PM Feature #4402 (Closed): Include an "in" operator
- =begin
Duplicated: http://redmine.ruby-lang.org/issues/show/3845
=end
-
02:13 PM Bug #4359 (Rejected): regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
- =begin
> I suppose I could add a special case, but that seems strange. It also
> seems strange that inspect will not allow us to differentiate between
> regular expressions with different options.
inspect shows only essential ... -
10:48 AM Bug #4359: regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
- =begin
On Tue, Feb 15, 2011 at 04:23:24PM +0900, Yui NARUSE wrote:
> Issue #4359 has been updated by Yui NARUSE.
>
> Status changed from Open to Feedback
>
> I don't think we must show Regexp#fixed_encoding? in Regexp#inspect.
... -
01:37 PM Revision 594f2fcf (git): * test/ruby/test_marshal.rb (test_marshal_dump_extra_iv):
- fix a typo of local variable. [Bug #3720] [ruby-dev:42083]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 PM Feature #4257: switch_hitter - an acceleration of date library
- =begin
Looks good, no unexpected failures in home_run's test suite.
=end
-
06:43 AM Feature #4257: switch_hitter - an acceleration of date library
- =begin
Added http://jira.codehaus.org/browse/JRUBY-5518 to track this. We'll want to implement a Java version of switch_hitter, most likely.
=end
- 12:33 PM Revision 1d403c3b (git): * 2011-02-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:33 PM Revision 52061198 (git): * ext/openssl/ossl.h: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:58 AM Bug #4404: Make Dir.glob respect backslash as if slash in windows
- =begin
Hi,
You should escape backslash in double quoted string literal("" or %!!) as follows,
Dir[%!C:\\Users\\Public\\Desktop\\*!]
or you can use single-quoted string literal('' or %q!!).
Dir['C:\Users\Public\Deskto... -
09:52 AM Bug #4404: Make Dir.glob respect backslash as if slash in windows
- =begin
I don't think your example string means what you think it means:
$ ruby -e 'p %!a\x65!, %q!a\x65!'
"ae"
"a\\x65"
=end
-
05:17 AM Bug #4404 (Rejected): Make Dir.glob respect backslash as if slash in windows
- =begin
Hello all.
Related to
http://redmine.ruby-lang.org/issues/show/2625
I at times find myself using windows paths in glob's:
Dir[%!C:\Users\Public\Desktop\*!]
But it never works, as the backslash must be (man... -
06:48 AM Bug #3660: Trace events seem to be missing
- =begin
It's worth mentioning that tracer is broken in JRuby for the same reason. Depending on caller to be the same all the time is a bit fragile. Ideally there'd be a better marker for whether tracer should be started up right away or ... -
03:24 AM Bug #4403: require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
- =begin
On Wed, Feb 16, 2011 at 7:48 AM, Robert Pankowecki
<redmine@ruby-lang.org> wrote:
> Bug #4403: require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
> http://redmine.ru...
02/16/2011
-
11:48 PM Bug #4403 (Rejected): require command loads file twice when required symlink or file under directory which is symlink (symbolic link)
- =begin
Consider this file structure:
~/test/symbolic > tree
.
|-- a
| `-- a.rb
|-- b -> a
|-- c.rb
`-- d.rb -> c.rb
Current behavior:
ruby-1.9.2-p136 :001 > require './c'
=> true
ruby-1.9.2-p136 :... -
08:47 PM Bug #4400 (Closed): nested at_exit hooks run in strange order
- =begin
This issue was solved with changeset r30888.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* eval_jump.c (rb_exec_end_proc): changed at_exit and END... -
05:21 AM Bug #4400: nested at_exit hooks run in strange order
- =begin
> |> ko1, what do you think?
> |
> |I don't have any idea about it. However, I think it should be a
> |specification issue == Matz issue.
>
> OK, I choose C's behavior. Although I don't recommend to rely too
> much on the... -
04:25 AM Bug #4400: nested at_exit hooks run in strange order
- =begin
Cool! I prefer C's behavior also. Thank you.
=end
-
08:45 PM Feature #4402 (Closed): Include an "in" operator
- =begin
It would be great to support the syntax
return if result in [nil, 'exit', 'quit']
which is a more humanized way to write
return if [nil, 'exit', 'quit'].include? result
The syntax is already support in for-in ... -
11:42 AM Revision 36a0a1a3 (git): * eval_jump.c (rb_exec_end_proc): changed at_exit and END proc
- evaluation order. [Bug #4400] [ruby-core:35237]
* eval_jump.c (rb_mark_end_proc): ditto.
* test/ruby/test_beginendblock.rb (TestBeginEndBlock#test_nested_at_exit):
added a test for nested at_exit.
* test/ruby/test_beginendblock.rb (Te... - 11:17 AM Revision 90b86c51 (git): * 2011-02-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:17 AM Revision 7bcc7db8 (git): * ext/openssl/openssl_missing.h: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:04 AM Feature #4335: String#split for empty string is always empty array
- =begin
'/'.split('/', -1) returns ["", ""].
I don't think it's necessary to be default.
=end
-
01:37 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
I get:
$ rvm use 1.9.2
Using /Users/Chris/.rvm/gems/ruby-1.9.2-p136
$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
$ rails console
Loading development environment (Rails 3.0.3)
r... -
12:12 AM Bug #4401 (Closed): override :method method breaks Psych
- =begin
I am not sure if this could be considered a bug, but it used to work.
To reproduce it:
ruby -r psych -v -e 'Psych.dump(Struct.new(:method).new)'
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.5.0]
/usr/lo...
02/15/2011
-
11:48 PM Bug #4400: nested at_exit hooks run in strange order
- =begin
Hi,
In message "Re: [ruby-core:35252] Re: [Ruby 1.9-Bug#4400] nested at_exit hooks run in strange order"
on Tue, 15 Feb 2011 22:32:39 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
|(2011/02/15 20:25), Motohiro KOSAKI w... -
10:32 PM Bug #4400: nested at_exit hooks run in strange order
- =begin
(2011/02/15 20:25), Motohiro KOSAKI wrote:
> ko1, what do you think?
I don't have any idea about it. However, I think it should be a
specification issue == Matz issue.
Regards,
Koichi
--
// SASADA Koichi at atdot d... -
10:31 PM Bug #4400: nested at_exit hooks run in strange order
- =begin
> btw, C's atexit() has different behavior.
>
> (snip)
>
> % gcc at_exit.c; ./a.out
> outer3
> outer2_begin
> outer2_end
> inner2
> outer1_begin
> outer1_end
> inner1
> outer0
Python has the same behavior with C.
... -
08:25 PM Bug #4400: nested at_exit hooks run in strange order
- =begin
The attached patch is to adapt C's behavior.
And, Current behavior seems to be introduced by following commit.
Therefore we should hear ko1's opinion. I think.
ko1, what do you think?
--------------------------... -
07:38 PM Bug #4400: nested at_exit hooks run in strange order
- =begin
2011/2/15 Suraj Kurapati <redmine@ruby-lang.org>:
> Bug #4400: nested at_exit hooks run in strange order
> http://redmine.ruby-lang.org/issues/show/4400
>
> Author: Suraj Kurapati
> Status: Open, Priority: Normal
> Category... -
03:56 PM Bug #4400: nested at_exit hooks run in strange order
- =begin
By the way, this issue is not contrived. It prevents propagation of a
proper exit status when using Test::Unit with Capybara (Selenium driver)
where a unit test (run from Test::Unit's at_exit hook) loads the Capybara
libr... -
03:49 PM Bug #4400 (Closed): nested at_exit hooks run in strange order
- =begin
Hello,
The documentation for Kernel#at_exit says "If multiple [at_exit] handlers are
registered, they are executed in reverse order of registration". However, does
not seem to be true for nested at_exit hooks (registeri... -
10:58 PM Bug #1813 (Open): Threading seg fault (1.9.1-p129 Linux/Mac)
- =begin
This issue can be still reproduced on trunk. (ruby 1.9.3dev (2011-02-15 trunk 30882) [x86_64-linux])
reopened.
=end
-
08:37 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
I wanna check that it isn't issue of irb.
Hmm... could you try the following line in `rails console`?
$ rails console
>>$LOADED_FEATURES
=end
-
05:38 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Hi Shota, yea that seems to work. Why doesn't it work in Rails console though?
$ irb -rtwitter
ruby-1.9.2-p136 :001 > Twitter.user("sferik").location
=> "San Francisco"
=end
-
05:20 PM Bug #4373 (Feedback): http.rb:677: [BUG] Segmentation fault
- =begin
Could you try at irb
$ irb -rtwitter
>> Twitter.user("sferik").location
?
=end
-
05:06 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Hi Sakuro, this is what I get in Rails console:
ruby-1.9.2-p136 :001 > require 'openssl'
=> nil
ruby-1.9.2-p136 :002 > system "otool -L #{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
/Users/Chris/.rvm/rubies/... -
09:28 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Try this in both console to see which openssl is used.
require 'openssl'
system "otool -L #{$LOADED_FEATURES.grep(/openssl.bundle/).join (' ')}"
=end
-
06:57 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
I think you don't using `rvm install 1.9.2 -C --with-openssl-dir=/usr`'s ruby at rails
=end
-
03:54 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Hi Benoit, I tried both rvm install 1.9.2 -C --with-openssl-dir=/usr and rvm install 1.9.2 --with-openssl-dir=/usr -C --with-openssl-dir=/usr. Still get the problem in Rails console.
ruby -r twitter -e 'puts Twitter.user("sfer... -
07:25 PM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
- =begin
Hi Jon,
Thanks for good demonstration. It encourage to me very much.
But #3 is a bit misleading. ^ was removed when command line parsing (ie python interpreter invoking) phase. therefore system() haven't seen ^.
Examp... -
01:51 AM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
- =begin
and...
C:\>lua -e "os.execute(\"^@echo foo\")"
foo
C:\>python -c "import os;os.system(\"^@echo foo\")"
foo
=end
-
01:45 AM Bug #4396: windows commands starting with "@" should run at all even though command string is quoted by `"'.
- =begin
fwiw, behavior on win7 32-bit with lua v5.1.4 and python v2.7.1...
C:\>lua -e "os.execute('@echo foo')"
foo
C:\>lua -e "os.execute('^@echo foo')"
'@echo' is not recognized as an internal or external command,
opera... -
04:30 PM Feature #3685: Struct does not define #to_ary, needed for implicit-splat.
- =begin
=end
-
04:27 PM Bug #4349 (Closed): typo of rdoc in marshal.c
- =begin
This issue was solved with changeset r30882.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
Fix typo of rdoc. [ruby-core:35016]
=end
-
04:23 PM Bug #4359 (Feedback): regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
- =begin
I don't think we must show Regexp#fixed_encoding? in Regexp#inspect.
=end
-
04:22 PM Feature #4335 (Feedback): String#split for empty string is always empty array
- =begin
We don't think we should follow Python's result
and your this proposal doesn't have enough reason to change current behavior even if it breaks compatibility.
I don't say there is no chance but it should be hard that you ca... -
04:17 PM Bug #4381 (Closed): Encoding of result is not consistent for String#[]=
- =begin
This issue was solved with changeset r30881.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
Add a test for the encoding of str_aset. [ruby-core:35142]... -
04:17 PM Bug #4382 (Closed): Encoding of result string for String#gsub! is not consistent for BINARY
- =begin
This issue was solved with changeset r30876.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* string.c (rb_enc_cr_str_buf_cat): remove special treatme... -
04:17 PM Bug #4380 (Closed): Encoding of result string for String#gsub! is not consistent for BINARY
- =begin
This issue was solved with changeset r30876.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----
* string.c (rb_enc_cr_str_buf_cat): remove special treatme... -
12:38 PM Revision 85caed47 (git): * ext/gdbm/gdbm.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 PM Bug #3660: Trace events seem to be missing
- =begin
I think this was fixed by r29914 which changes
elsif caller.size <= 1
to:
elsif caller.count {|bt| /\A<internal:[^<>]+>:/ !~ bt} <= 1
=end
-
11:35 AM Revision 67b9e488 (git): * array.c (ary_join_1): fix array size.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:44 AM Revision 61a4ee9b (git): * configure.in: fix and resubmit r30621. [ruby-dev:43203]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:24 AM Revision 01e84b10 (git): Fix typo of rdoc. [ruby-core:35016]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:14 AM Revision 1a492ba1 (git): Add a test for the encoding of str_aset. [ruby-core:35142]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 AM Revision c7d3b3f1 (git): * array.c (array_join): copy the encoding of the first element as
- an initial encoding.
* array.c (array_join_0): ditto.
* array.c (array_join_1): ditto.
* array.c (inspect_ary): ditto.
* array.c (array_join_1): add an argument to check the appending is
first one or not.
git-svn-id: svn+ssh://ci.... -
07:08 AM Revision 7798b966 (git): * hash.c (inspect_i): copy the encoding of the first key as
- an initial encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision 366e1c38 (git): * array.c (inspect_ary): don't taint the inspected result of a
- recursive array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision a8f5a06a (git): * encoding.c (rb_enc_compatible): change the rule for empty strings:
- remove the special treatment of the US-ASCII encoded empty string.
Now Encoding.compatible? usually respect the encoding of the
receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision 443b1517 (git): * string.c (rb_enc_cr_str_buf_cat): remove special treatment of
- ASCII-8BIT receivers.
* string.c (str_gsub): set initial encoding of the buffer as the
same of the receiver. [ruby-core:35141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:35 AM Bug #4398 (Third Party's Issue): Highlighting of "'?" in Emacs
- =begin
The string "'?" breaks syntax highlighting in Emacs. Emacs considers the string unterminated. See attached file for an example.
=end
- 12:51 AM Revision 7da18cf1 (git): * 2011-02-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:51 AM Revision 25a4c792 (git): * test/ruby/test_system.rb (TestSystem#test_system_at): use findstr
- command instead of find command, because the latter is confusing
another famous Unix command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e