Project

General

Profile

Activity

From 09/20/2011 to 09/26/2011

09/26/2011

11:53 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
(2011/09/26 7:03), m_takao wrote:
> これは「ensure節の実行中に止めるのはNG」ということですよね?
> いまの実装 (rev.33339) では、ensure節の実行中であっても、t...
ko1 (Koichi Sasada)
11:23 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
高尾と申します。

>  (2) については仕様です.ご提案の修正方法では,とにかく生きていたら殺
> す,ということをしていますが,例えば他のスレッドで何か時間のかかる終了処
> 理をしていた場合(例えば,終了時に...
Anonymous
10:53 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
kosaki (Motohiro KOSAKI)
02:29 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
(2011/09/25 21:51), Masaki Matsushita wrote:
> 次のコードを実行するとCPU使用率が跳ね上がった状態になりインタプリタが終了しません。
>
> Thread.new do...
ko1 (Koichi Sasada)
01:51 PM Bug #5368 (Closed): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
=begin
次のコードを実行するとCPU使用率が跳ね上がった状態になりインタプリタが終了しません。
Thread.new do
begin
sleep
ensure
sleep
...
Glass_saga (Masaki Matsushita)
10:29 PM Bug #5279: $SAFEが3以上の時にString#encodeがSecurityErrorを発生させるケースがある
> かずひこです。
>
> On 06/09/2011 12:10, Kazuhiko wrote:
>> On 06/09/2011 06:10, Shota Fukumori (sora_h) wrote:
>>...
kosaki (Motohiro KOSAKI)
07:01 PM Revision 38fe7da8 (git): Oops! fix psych -> syck
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:52 PM Revision 379d519f (git): * test/rexml/test_sax.rb: add require 'rexml/document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:52 PM Revision 81ed2fda (git): Fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:37 PM Revision 23b4b59a (git): * 2011-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:37 PM Revision 375d9f91 (git): * test/psych/test_yamldbm.rb (require): fix #setup and #terdown.
[Bug #5370] [ruby-core:39730]
* test/syck/test_yamldbm.rb (require): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
ayumin (Ayumu AIZAWA)
04:53 PM Bug #5353: TLS v1.0 and less - Attack on CBC mode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/24/2011 08:44 PM, Martin Bosslet wrote:
> http://www.ed...
nahi (Hiroshi Nakamura)
03:37 PM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
Well, Proc instances and Method instances are both closures. To obtain a closure, the Ruby idiom is almost from a blo... yimutang (Joey Zhou)
12:38 PM Feature #5364 (Open): How about new syntax: "object.\method" returns a Method instance?
Hello,
To prevent `bikeshed' discussion, we should focus use case first
about this ticket, I think. Why don't yo...
mame (Yusuke Endoh)
12:16 PM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
It's just a convenience thing, so I think it's not possible to prove a "real use case" as such. And as only a static ... trans (Thomas Sawyer)
11:19 AM Feature #5364 (Feedback): How about new syntax: "object.\method" returns a Method instance?
We need a needs fot this syntax. I don't reject it right now, because there's a
room for someone to find a real use...
shyouhei (Shyouhei Urabe)
10:53 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
Joshua Ballanco <[email protected]> wrote:
> On Sun, Sep 25, 2011 at 10:36 AM, Joey Zhou <[email protected]> wro...
normalperson (Eric Wong)
09:29 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
On Sun, Sep 25, 2011 at 10:36 AM, Joey Zhou <[email protected]> wrote:

>
> 1. It makes people happy, writing...
jballanc (Joshua Ballanco)
07:23 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
On Sun, Sep 25, 2011 at 8:34 PM, Juan Wajnerman <[email protected]> wrote:
>
> Issue #5364 has been update...
yeban (Anurag Priyam)
05:53 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
Of note, there is already a working patch (for a very similar feature) for the 1.9 branch at the ruby-patches github... Anonymous
05:13 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
=begin
I find myself rarely needing to call #method and I don't often see code where other people call #method, so I...
drbrain (Eric Hodel)
01:23 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
What about object:method ? The \ version doesn't seem very appealing. aprescott (Adam Prescott)
12:04 AM Feature #5364: How about new syntax: "object.\method" returns a Method instance?
How about "object.:method" ? Looks more Ruby style for me. waj (Juan Wajnerman)
12:49 PM Bug #5365: WEBrick lacks the application/javascript and image/svg+xml MIME types.
On 2011/09/26 9:52, Yui NARUSE wrote:
>
> Issue #5365 has been updated by Yui NARUSE.
>
>
> RFC3203 says S...
duerst (Martin Dürst)
11:28 AM Bug #5365 (Closed): WEBrick lacks the application/javascript and image/svg+xml MIME types.
This issue was solved with changeset r33339.
Hal, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
11:22 AM Bug #5365: WEBrick lacks the application/javascript and image/svg+xml MIME types.
Oops, you are correct. Patch re-uploaded. postmodern (Hal Brodigan)
09:52 AM Bug #5365: WEBrick lacks the application/javascript and image/svg+xml MIME types.
RFC3203 says SVG's MIME Type is image/svg+xml, isn't it?
http://www.ietf.org/rfc/rfc3023.txt
naruse (Yui NARUSE)
05:12 AM Bug #5365 (Closed): WEBrick lacks the application/javascript and image/svg+xml MIME types.
WEBrick::HTTPUtils::DefaultMimeTypes (webrick/httputils.rb) does not define MIME types for the file extensions 'js' a... postmodern (Hal Brodigan)
11:53 AM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
2011/9/22 Kurt Stephens <[email protected]>:
> A basis that sums to unity reduces error, due to convex hull prope...
naruse (Yui NARUSE)
10:10 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
+1 I use #to_h often and always have to implement myself when needed. It's annoying. trans (Thomas Sawyer)
05:45 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
Any chance of this getting into Ruby 1.9.3? Thanks. sunaku (Suraj Kurapati)
07:31 AM Bug #5345: error running make for 1.9.2-p290: Generating RI => 'marshal data too short'
Also have the same problem with ruby_1_9_3_rc1 stepheneb (Stephen Bannasch)
07:12 AM Bug #5345: error running make for 1.9.2-p290: Generating RI => 'marshal data too short'
I'm now getting the same error when building 1.9.2-p302 (which worked last week):
When using miniruby to generate ...
stepheneb (Stephen Bannasch)
06:59 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
On Mon, Sep 26, 2011 at 1:52 AM, Suraj Kurapati <[email protected]> wrote:
>
> Issue #3131 has been updated by Sura...
yeban (Anurag Priyam)
05:22 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
Any chance of this getting into Ruby 1.9.3? Thanks. sunaku (Suraj Kurapati)
02:28 AM Revision 7b6677f1 (git): * lib/webrick/httputils.rb: Add MIME Type definition of .js and .svg.
patched by Hal Brodigan. [ruby-core:39704] [Bug #5365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33339 b2dd0...
naruse (Yui NARUSE)
12:21 AM Revision 36a1e760 (git): * configure.in: remove DJGPP support. It's not longer supported
since ruby 1.9.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:19 AM Revision 20ae79b0 (git): * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
support. Last activity of their OSs are 7 years ago.
* configure.in: ditto.
* dir.c: ditto.
* ext/tk/extconf.rb: ditt...
kosaki (Motohiro KOSAKI)
12:06 AM Feature #5352: How about using <> to represent Here Document?
Nobuyoshi Nakada wrote:
> I'm somewhat negative.
> It looks like Perl's "<>" but is pretty different, so I'm afraid...
yimutang (Joey Zhou)
12:05 AM Revision 6823334c (git): * configure.in: remove a code for human68k. it's no longer
supported since r19677.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:02 AM Bug #5363 (Feedback): OpenSSL::ASN1.decode_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する
Yui NARUSE wrote:
> Chikanaga says this is a regression from 1.9.3 and https://gist.github.com/1239801 fixes this.
Y...
MartinBosslet (Martin Bosslet)

09/25/2011

11:51 PM Bug #5363 (Closed): OpenSSL::ASN1.decode_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する
This issue was solved with changeset r33333.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
Anonymous
07:22 PM Bug #5363 (Assigned): OpenSSL::ASN1.decode_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する
Chikanaga says this is a regression from 1.9.3 and https://gist.github.com/1239801 fixes this. naruse (Yui NARUSE)
12:00 PM Bug #5363: OpenSSL::ASN1.decode_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する
ruby 1.9.4dev (2011-09-23 trunk 33318) [x86_64-darwin10.8.0] および
ruby 1.9.3dev (2011-09-24 revision 33322) [x86_64-d...
nagachika (Tomoyuki Chikanaga)
10:52 AM Bug #5363 (Closed): OpenSSL::ASN1.decode_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生する
Ruby 1.9.3 rc1 で OpenSSL::ASN1.decode_all の引数に PEM 形式の証明書を指定すると Segmentation fault が発生します。
== 環境
Ubuntu 11.04 6...
Hexa (Hiroshi Yoshida)
11:36 PM Feature #5364 (Rejected): How about new syntax: "object.\method" returns a Method instance?
I'm afraid the normal way of creating a Method instance is circuitous and a bit hard to write:
a_method = obje...
yimutang (Joey Zhou)
09:05 PM Bug #5305 (Closed): YAML::DBM#update、#replace のコメントの間違いを修正する
This issue was solved with changeset r33329.
Sho, thank you for reporting this issue.
Your contribution to Ruby is gr...
ayumin (Ayumu AIZAWA)
03:10 PM Revision 69bebb05 (git): * 2011-09-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 9643aa94 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:51 PM Revision 8b7e1087 (git): * ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being
fed arbitrary string values.
Clearly distinguish between the cases "universal, infinite and
not a SEQUENCE or SET...
MartinBosslet (Martin Bosslet)
01:40 PM Revision b4bc086a (git): * README.ja, README.EXT.ja: remove garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:20 PM Revision d7000de9 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:05 PM Revision 3255adcd (git): * test/syck/test/yamldbm.rb: add test for Syck::DBM.
* test/psych/test_yamldbm.rb: add test for Psych::DBM.
* test/psych/test_yamlstore.rb: add test for Psych::PStore.
g...
ayumin (Ayumu AIZAWA)
12:05 PM Revision 73bd9e56 (git): * lib/yaml/dbm/dbm.rb: fix #update, add #key for using istead #index.
[Bug #5305][ruby-dev:44485]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33329 b2dd03c8-39d4-4d8f-98ff-823fe69b...
ayumin (Ayumu AIZAWA)
07:54 AM Revision fecda0d9 (git): * encoding.c (require_enc): reject only loading from untrusted
load paths. [ruby-dev:44541] [Bug #5279]
* transcode.c (load_transcoder_entry): ditto.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
07:45 AM Revision 256f355a (git): * configure.in: ignore all warnings from an arbitrary
header in /usr/local/include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33327 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
07:42 AM Revision 62dfc45b (git): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:53 AM Bug #5279: $SAFEが3以上の時にString#encodeがSecurityErrorを発生させるケースがある
かずひこです。

On 06/09/2011 12:10, Kazuhiko wrote:
> On 06/09/2011 06:10, Shota Fukumori (sora_h) wrote:
>> じゃぁ,大...
kazuhiko (Kazuhiko Shiozaki)
02:01 AM Feature #5360: BasicObject#binding
Sure. I think the most obvious usecase is with ERB. If I want to strictly control the available interface to an ERB t... trans (Thomas Sawyer)

09/24/2011

08:44 PM Bug #5353: TLS v1.0 and less - Attack on CBC mode
Some first reactions:
http://www.educatedguesswork.org/2011/09/security_impact_of_the_rizzodu.html
http://www.imp...
MartinBosslet (Martin Bosslet)
06:43 PM Revision 9e3a3be8 (git): * 2011-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:43 PM Revision 73220a23 (git): * enum.c (slice_before_i): use rb_attr_get to surpress wrong warning
for internal instance variable slicebefore_initial_state.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33324 b2...
naruse (Yui NARUSE)
03:02 PM Bug #5350: WeakRef で謎の NoMethodError
ささださんがパッチを書いてくれました.
(許可を得て)MLに転載しておきます.
手元では再現しなくなりましたが, ([ruby-dev:44525] の再現コードを使用)
どうでしょうか.
diff --git a/l...
sorah (Sorah Fukumori)
11:53 AM Bug #5350: WeakRef で謎の NoMethodError
(2011/09/23 19:02), SASADA Koichi wrote:
>  うーん,これはどうするべきかな.ファイナライズ処理を遅延させるように
> コードを書き換えれば解決できますが,ちょっと大がかりな気もしま...
ko1 (Koichi Sasada)
11:23 AM Bug #5350: WeakRef で謎の NoMethodError
(2011/09/23 18:58), SASADA Koichi wrote:
>  ファイナライザの実行は,何時起こるかわからないものなので,デッドロック
> の可能性がある処理を行うのは,プログラムが悪い,ということに...
ko1 (Koichi Sasada)
10:59 AM Bug #5350: WeakRef で謎の NoMethodError
 ささだです.

(2011/09/23 18:47), Shota Fukumori (sora_h) wrote:
> 元の問題がややこしくなっているので一旦まとめると,
>
> a = Object.ne...
ko1 (Koichi Sasada)
10:23 AM Bug #5350: WeakRef で謎の NoMethodError
(2011/09/23 17:44), Shota Fukumori wrote:
> test-allは通ったけど,はたしてこれでいいんだろうか.

 良くないです.Mutex の保持と finalizer の実行は関...
ko1 (Koichi Sasada)
09:44 AM Bug #5350: WeakRef で謎の NoMethodError
test-allは通ったけど,はたしてこれでいいんだろうか.
diff --git a/thread.c b/thread.c
index 10b73eb..de63c3a 100644
--- a/thread.c
++...
sorah (Sorah Fukumori)
06:55 AM Bug #5350: WeakRef で謎の NoMethodError
両方共その場しのぎ,症状に対して防止策をしているだけだと思うのでこの2つのパッチはあまり根本的な解決にはならないと思います. sorah (Sorah Fukumori)
02:41 PM Feature #5360 (Feedback): BasicObject#binding
Can you elaborate? nobu (Nobuyoshi Nakada)
10:57 AM Feature #5360 (Feedback): BasicObject#binding
For meta-programming purposes I think there needs to be a way to get a BasicObject's binding.
trans (Thomas Sawyer)
11:05 AM Feature #5361 (Rejected): Lice?
Err... why is there a new String method for getting the lice of bytes?
'hello'.byteslice(2, 2) # => "ll"
I d...
trans (Thomas Sawyer)
09:46 AM Bug #5358: YAML 中のタグの扱いについて
ありがとうございます。確かに教えてもらった通りになりました。
上記はつまり以下という事でいいですか?
* !str は Ruby では特別扱いする(ただのローカルタグとして扱う)
* !<tag:yaml.org,200...
sho-h (Sho Hashimoto)
03:12 AM Bug #5358: YAML 中のタグの扱いについて
これは syck のバグです。Ruby 1.9.2 で最初に require 'psych' と書いてから、require 'yaml' と書けば、バグは発生しません。
例:
ruby-1.9.2-p290 :001 > ...
tenderlovemaking (Aaron Patterson)
02:21 AM Bug #5358 (Closed): YAML 中のタグの扱いについて
http://yaml.org/ によると、以下はいずれも同じグローバルタグを指定してると思うのですが、結果が異なります。
YAML.load("--- !<tag:yaml.org,2002>:str foo")
#...
sho-h (Sho Hashimoto)
05:25 AM Feature #5352: How about using <> to represent Here Document?
Joey Zhou wrote:
> Unlike Perl, in which "<>" is a very very frequently used operator to read lines from a filehandl...
nobu (Nobuyoshi Nakada)
05:21 AM Revision dc119662 (git): * 2011-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:21 AM Revision a49bd026 (git): merges r33291 from trunk into ruby_1_9_3.
--
* parse.y (parser_data_type): inherit the core type in ripper so
that checks in core would work. [ruby-core:395...
yugui (Yuki Sonoda)
05:20 AM Revision 48ddab1e (git): * 2011-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:20 AM Revision 76822e87 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

09/23/2011

11:43 PM Bug #5350: WeakRef で謎の NoMethodError
@@final内でのMutex#synchronizeをやめる(添付のpatch1.diff)か、Mutexのロック前にGC.disableして解放後にenableする(patch2)かすれば再現しなくなりました。 Glass_saga (Masaki Matsushita)
11:23 PM Bug #5350: WeakRef で謎の NoMethodError
書こうと思っていて忘れたので追記.
どうやらmutex.synchronize中に何かの拍子でfinalizerが走り,そのfinalizerの中で同じmutexをsynchronizeすると起こってしまう模様.
そしてさ...
sorah (Sorah Fukumori)
11:13 PM Bug #5350: WeakRef で謎の NoMethodError
a = Object.new
mutex = Mutex.new
ObjectSpace.define_finalizer(a) {
begin
mutex.synchronize { p "hi" }
re...
sorah (Sorah Fukumori)
10:45 PM Bug #5350: WeakRef で謎の NoMethodError
調査結果を報告します.
再現コードさらに短縮--
require "weakref"
class Foo
def initialize
@hoge = "fuga"
end
attr_...
sorah (Sorah Fukumori)
08:17 PM Bug #5350: WeakRef で謎の NoMethodError
=begin
もう少しシンプルなコードにしてみました。
大量のWeakRefオブジェクトを生成すると、たまに正しく参照できない事があるようです。
require "weakref"

class Foo
d...
Glass_saga (Masaki Matsushita)
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.
Glass_saga (Masaki Matsushita)
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? }.
...
now (Nikolai Weibull)
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...
now (Nikolai Weibull)
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...
Anonymous
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.
MartinBosslet (Martin Bosslet)
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 g...
Anonymous
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...
Glass_saga (Masaki Matsushita)
10:53 AM Feature #5352: How about using <> to represent Here Document?
On Fri, Sep 23, 2011 at 7:08 AM, Martin Dürst <[email protected]> wrote:
[...]
> If anything is done in this...
yeban (Anurag Priyam)
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...
duerst (Martin Dürst)
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...
Anonymous
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 vulne...
Anonymous
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.u...
MartinBosslet (Martin Bosslet)
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 ...
agrimm (Andrew Grimm)
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 MartinBosslet (Martin Bosslet)
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@3...
MartinBosslet (Martin Bosslet)
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, Eri...
MartinBosslet (Martin Bosslet)
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-s...
MartinBosslet (Martin Bosslet)
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 svn[bot]
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 Won...
MartinBosslet (Martin Bosslet)
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 svn[bot]
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:...
MartinBosslet (Martin Bosslet)

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.
...
yimutang (Joey Zhou)
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; ...
Anonymous
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! MartinBosslet (Martin Bosslet)
10:45 AM Revision 010c8e59 (git): merge revision(s) 33307:
* thread_pthread.c (ubf_select): activate timer thread when interrupt
blocking thread.
A patch cr...
kosaki (Motohiro KOSAKI)
06:48 AM Bug #5350 (Closed): WeakRef で謎の NoMethodError
添付のようなスクリプトを r18232 以降の ruby 1.9 で走らせると、以下のように
RefError ではなく NoMethodError が上がってくる、ということが起きます。
( value メソッドを呼ぶ直前に w...
metanest (Makoto Kishimoto)
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),... akahn (Alexander Kahn)
04:23 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
Tomoyuki Chikanaga <[email protected]> wrote:
> To cover this race condition, ubf_select() also call
> add_s...
normalperson (Eric Wong)
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...
ko1 (Koichi Sasada)
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 ...
nagachika (Tomoyuki Chikanaga)
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
> sure how to commit...
nagachika (Tomoyuki Chikanaga)
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/gem...
nobu (Nobuyoshi Nakada)
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 t...
mame (Yusuke Endoh)

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 <[email protected]> wrote:
> I haven't explained the reason of the error est...
hramrach (Michal Suchanek)
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)/...
masa16 (Masahiro Tanaka)
07:23 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
2011/9/20 Tanaka Akira <[email protected]>:
> However the algorithm doesn't solve [ruby-core:39602] and [ruby-core:3960...
masa16 (Masahiro Tanaka)
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
* exces...
naruse (Yui NARUSE)
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 b2dd0...
nobu (Nobuyoshi Nakada)
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 svn[bot]
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 t...
nagachika (Tomoyuki Chikanaga)
04:36 PM Feature #5346 (Rejected): Please Reopen Issue #4893
naruse (Yui NARUSE)
04:10 PM Feature #5346 (Rejected): Please Reopen Issue #4893
=begin
Please reopen issue #4893.
=end
lazaridis.com (Lazaridis Ilias)
04:11 PM Feature #4893: Literal Instantiation breaks Object Model
=begin
related issue: #5346
=end
lazaridis.com (Lazaridis Ilias)
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. nobu (Nobuyoshi Nakada)
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 wi... stepheneb (Stephen Bannasch)
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...
ko1 (Koichi Sasada)
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.
Than...
nagachika (Tomoyuki Chikanaga)
05:59 AM Bug #5343: Unexpected blocking behavior when interrupt Socket#accept
SASADA Koichi <[email protected]> wrote:
> (2011/09/20 2:22), Tomoyuki Chikanaga wrote:
> > I guess this is because ...
normalperson (Eric Wong)
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 ca...
agrimm (Andrew Grimm)
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 fo...
alexeymuranov (Alexey Muranov)
09:14 AM Bug #5344 (Closed): Clarified Array.new Documentation
Main comment didn't match the examples. Show output of the code
examples.
henry.maddocks (Henry Maddocks)
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 svn[bot]
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 b2...
U.Nakamura
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-4d...
U.Nakamura

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.
>
>
...
ko1 (Koichi Sasada)
07:14 PM Bug #5343 (Assigned): Unexpected blocking behavior when interrupt Socket#accept
Aghh. This is regression since 1.9.3.
kosaki (Motohiro KOSAKI)
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 bl...
nagachika (Tomoyuki Chikanaga)
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...
nagachika (Tomoyuki Chikanaga)
06:40 PM Bug #5340 (Feedback): mysql2.bundle: [BUG] Segmentation fault
ayumin (Ayumu AIZAWA)
09:23 AM Bug #5340: mysql2.bundle: [BUG] Segmentation fault
da Bee <[email protected]> wrote:
> HQ:simple_cms rich$ rails g controller demo index
> /Users/rich/.rvm/gem...
normalperson (Eric Wong)
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...
daBee (da Bee)
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 +1...
ayumin (Ayumu AIZAWA)
05:59 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
2011/9/17 Masahiro TANAKA <[email protected]>:
> I have not been watching ruby-core, but let me give a comme...
akr (Akira Tanaka)
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 <[email protected]>:
> I'm...
mame (Yusuke Endoh)
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] yo...
vo.x (Vit Ondruch)
03:04 PM Revision e0d1292e (git): merge revision(s) r33303:
------------------------------------------------------------------------
r33303 | naruse | 2011-09-20 21:16:08 +0900 ...
naruse (Yui NARUSE)
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
naruse (Yui NARUSE)
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-823...
nobu (Nobuyoshi Nakada)
07:35 AM Feature #5341: Add SSL session reuse to Net::HTTP
The original patch has unrelated changes. drbrain (Eric Hodel)
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 an... drbrain (Eric Hodel)
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...
naruse (Yui NARUSE)
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 c...
naruse (Yui NARUSE)
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`.
(...
DNNX (Viktar Basharymau)
 

Also available in: Atom