Activity
From 10/17/2014 to 10/23/2014
10/23/2014
-
02:13 PM Bug #10413: Unexpected block invocation with unknown keywords
- Hello.
r48114 introduce an incompatibility. I'll backport only r48102 into `ruby_2_1`.
Is there any problem about... -
12:43 PM Bug #10413 (Closed): Unexpected block invocation with unknown keywords
- Applied in changeset r48114.
----------
hash.c: rb_hash_delete does not call the block
* hash.c (rb_hash_delete): n... -
02:56 AM Bug #10413: Unexpected block invocation with unknown keywords
- Nobu also proposed that
(1) export rb_hash_delete_key()
(2) and obsolete rb_hash_delete() (show warning)
This ... -
12:56 AM Bug #10413 (Open): Unexpected block invocation with unknown keywords
- How about to change rb_hash_delete()?
Nobody expect rb_hash_delete() invoke a passed block.
```
Index: hash.c
=... -
12:27 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Incidentally, yesterday I was not aware about `set_params`.
If we decide to keep the status quo that Chikanaga-san d... -
12:20 PM Bug #9424 (Feedback): ruby 1.9 & 2.x has insecure SSL/TLS client defaults
-
12:08 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Hi,
I investigated about usage of SSLContext in std libs.
* net/pop, net/imap
* OpenSSL::SSL:SSLContext#set_... -
11:40 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- BTW, these changes are only affect to the scripts which call `OpenSSL::SSL:SSLContext#set_params`.
Can we say "Yeh, ... -
10:00 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Backported into `ruby_2_0_0` at r48110.
-
09:59 AM Bug #9424 (Closed): ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Applied in changeset ruby-200:r48110.
----------
merge revision(s) 45274,45278,45280,48097: [Backport #9424]
* lib... -
03:28 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Zachary Scott wrote:
> Why not backport to 1.9.3?
>
> Is there a workaround we can tell 1.9 users about?
Users... -
10:13 AM Bug #10421 (Closed): BasicObject継承クラスで object_id メソッドを定義すると redefining ... 警告が出る
- Applied in changeset r48111.
----------
vm_method.c: no redefinition warnings for undefined methods
* vm_method.c (... -
07:04 AM Bug #10421: BasicObject継承クラスで object_id メソッドを定義すると redefining ... 警告が出る
- 提案された方と似たような状況かと思いますが、`method_missing`を使用しているときに`BasicObject`のインスタンスが紛れ込むと、デバッグするために`inspect`で正体を見ようとすると無限再帰呼び出しを起こして...
-
06:25 AM Bug #10421 (Closed): BasicObject継承クラスで object_id メソッドを定義すると redefining ... 警告が出る
- BasicObject 継承クラスに通常 `#object_id` がありませんが、これだと pp などに該当オブジェクトを与えると NoMethodError 例外が出たりして実用上困るケースがあります。ただし `#object_i...
-
10:11 AM Bug #9681: miniruby Bus Error at 0x3d44c4
- please try another patch (file 20141023-compile_data_alloc-word-align.patch in https://bugs.ruby-lang.org/issues/968...
-
08:24 AM Bug #10418: REXML's encoding is broken if reading UTF-16 XML and Encondig.default_internal is set
- EnvUtil.with_default_internalを使ったりしながら取り込みました!
-
08:23 AM Bug #10418 (Closed): REXML's encoding is broken if reading UTF-16 XML and Encondig.default_internal is set
- Applied in changeset r48109.
----------
* lib/rexml/source.rb (REXML::IOSource#encoding_updated): Fix a
bug that c... -
07:44 AM Bug #10422 (Closed): RDoc for BasicObject has methods that do not exist
- RDoc for BasicObject (http://www.ruby-doc.org/core-2.1.3/BasicObject.html) has descriptions for methods `object_id` a...
-
05:59 AM Feature #6739: One-line rescue statement should support specifying an exception class
- No new reserved word, as possible.
I don't think it is acceptable. -
02:53 AM Feature #10420 (Closed): Cannot set IV length to OpenSSL::Cipher
- GCM cipher accepts variable iv length, but Ruby OpenSSL implementation does not provide a way to set it.
This is cri... -
01:08 AM Feature #10344: [PATCH] Implement Fiber#raise
- Knut Franke wrote:
> > I understand this feature helps some libraries. But I can't understand why it is important.
... -
01:05 AM Feature #10344: [PATCH] Implement Fiber#raise
- Yura Sokolov wrote:
> > At least, such feature should be located at ext/fiber.
>
> even if ext/fiber it is still ... -
12:24 AM Feature #10394: An instance method on Enumerator that evaluates the block under with self being the block variable.
- It might be confusing if such a thing only exists for Enumerator blocks and nothing else.
~~~ruby
["foo", "bar"]....
10/22/2014
-
11:10 PM Feature #6739: One-line rescue statement should support specifying an exception class
- @NobuyoshiNakada, how then about my `resc` suggestion?
-
11:00 PM Feature #6452: Allow extend to override class methods
- There is the problem of feature creep, like classes becoming harder and harder to learn... That's what I meant ny no ...
-
06:44 PM Bug #10419 (Closed): ruby 2.1.3 kackes during IO.readlines of huge file
- Trying to read massive text file - here's the one line program with all info included
a = IO.readlines('sentences.... -
06:42 PM Bug #10413 (Closed): Unexpected block invocation with unknown keywords
- Applied in changeset r48102.
----------
class.c: delete expected keywords directly
* class.c (unknown_keyword_error... -
08:24 AM Bug #10413 (Closed): Unexpected block invocation with unknown keywords
- When unknown keywords are passed, unexpected block is invoked.
```ruby
def bar(k2: 'v2')
end
def foo
bar(k... -
05:53 PM Bug #10418: REXML's encoding is broken if reading UTF-16 XML and Encondig.default_internal is set
- -wで警告が出そうなので、`EnvUtil.with_default_internal`を使うかこれに相当するようにしたほうがいいんじゃないでしょうか。
-
04:08 PM Bug #10418 (Closed): REXML's encoding is broken if reading UTF-16 XML and Encondig.default_internal is set
- `Encoding.default_internal`がセットされている状態でREXMLにUTF-16なIOを食わせると、`REXML::Document#encoding`がUTF-16ではなく`Encoding.default_i...
-
05:47 PM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
- It affects only developers who build from the repository.
Released packages should have the latest (and fixed) versi... -
11:27 AM Bug #10416 (Assigned): Create mechanism for updating of Unicode data files downstreams when we want
- The current mechanism for updating Unicode data files will create the following problem:
Downstream compilers/packag... -
05:42 PM Bug #10417: IO#set_encoding without int_enc doesn't keep current internal encoding
- fptr.encs.enc と fptr.encs.enc2 って不可分なものな気がするのと、
set_encoding というそれまでの前提が覆ってる状況で前の状態を尊重する理由をあんまり感じないので、
現在の値を保持するべきだ... -
03:50 PM Bug #10417 (Closed): IO#set_encoding without int_enc doesn't keep current internal encoding
- bugかfeatureか迷ったんですが、とりあえずbugで。
`IO#set_encoding`を1引数で呼び出したとき、つまりexternal encodingのみを指定した場合、internal encodingは`nil`... -
05:33 PM Bug #10415 (Closed): Unicode data files (in enc/unicode/data) don't get updated even if ALWAYS_UPDATE_UNICODE = yes is uncommented
- Applied in changeset r48101.
----------
common.mk: update unicode files every times
* common.mk (update-unicode): i... -
11:10 AM Bug #10415 (Closed): Unicode data files (in enc/unicode/data) don't get updated even if ALWAYS_UPDATE_UNICODE = yes is uncommented
- The current makefile logic doesn't update the files in enc/unicode/data even if
ALWAYS_UPDATE_UNICODE = yes
is acti... -
05:25 PM Bug #9005: object.send(:define_method, ...){...} creates private method
- This isn't fixed on 2.1.3. Has that changeset not made it into a release?
```
2.1.3 :001 > RUBY_VERSION
=> "2.... -
05:25 PM Bug #10414 (Closed): makefile doesn't generate lib/unicode_normalize/tables.rb automatically
- Applied in changeset r48099.
----------
common.mk: update source tree
* common.mk (after-update): update files unde... -
10:48 AM Bug #10414 (Closed): makefile doesn't generate lib/unicode_normalize/tables.rb automatically
- The current makefile logic doesn't generate the file lib/unicode_normalize/tables.rb automatically.
How tested: Remo... -
05:15 PM Bug #9424 (Feedback): ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Why not backport to 1.9.3?
Is there a workaround we can tell 1.9 users about?
Should we also add something to N... -
02:18 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- r45274, r45278, r45280 and r48097 are backported into `ruby_2_1` branch at r48098.
-
01:43 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Result of contemplation, I have decided that I don't apply this patch for 1.9.3 for compatibility.
-
01:34 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- Hello, Stephen
Good catch! Thank you so much.
Your right. I will check in my patch.
~~~
--- a/ext/openssl/lib... -
01:24 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
- According to the discussion at #9640, we decide to backport the patch into stable branches.
-
12:49 PM Bug #9681: miniruby Bus Error at 0x3d44c4
- It looks like building with the compile.c patch still produces a miniruby with the bus error. Here's the backtrace:
... -
10:53 AM Feature #10084 (Closed): Add Unicode String Normalization to String class
- Closing because the tests (test/test_unicode_normalize.rb) run correctly
(45 tests, 531826 assertions). There are so... -
09:11 AM Feature #10351: [PATCH] prevent CVE-2014-6277
- I see this patch is (basically) good to have.
One thing sprung in my mind is that perhaps we should also freeze e... -
07:36 AM Bug #10412 (Closed): DNS Resolv broken when resolv.conf has option ndots > 1
- This was originally reported by Frank Hirtz at Red Hat's Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=113... -
03:29 AM Bug #10411 (Closed): Ripper.sexp("foo\n .bar") extract a wrong method name " .bar"
- 以下のように、ripper が、メソッド名として " .bar" などといった
空白やピリオドの入った文字列を取り出してくることがあります。
```
% ./ruby -v -rripper -e 'p Ri...
10/21/2014
-
08:31 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
- Nobuyoshi Nakada wrote:
> Is EVP API necessary?
The EVP API has been recommended over the old digest-specific API... -
04:46 PM Bug #9681: miniruby Bus Error at 0x3d44c4
- Please try this patch. (attached file, or see below)
~~~
Index: compile.c
======================================... -
12:39 PM Bug #9681: miniruby Bus Error at 0x3d44c4
- The issue still exists using the suggested ./configure and optflags. Not sure if this is obvious from the thread, but...
-
03:42 PM Bug #10408: [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
- FYI, latest rubyinstaller-2.0.0-p576.exe has no issues at all. All is fine on the same machine.
-
03:27 PM Bug #10408: [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
- Hey Hiroshi,
Thanks for your answer! From this log, do you have any idea what could cause that? Ruby 2.1.3 x64 giv... -
12:34 PM Bug #10408: [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
- I can't reproduce this with Windows 8.1. (x86-mingw32)
-
06:30 AM Bug #10408 (Closed): [BUG] Segmentation fault ruby 2.1.3p242 (2014-09-19 revision 47630) [i386-mingw32]
- Platform Win7 x64. Just installed. Getting this error after using next command.
~~~
C:\usr\ruby2>gem update --sys... -
08:56 AM Feature #10084: Add Unicode String Normalization to String class
- Yui NARUSE wrote:
> > class Unicode < self
> > def self.download(name, *rest)
> > super("http://www.un... -
08:32 AM Feature #10084: Add Unicode String Normalization to String class
- Hello Yui,
On 2014/10/21 16:34, [email protected] wrote:
> Issue #10084 has been updated by Yui NARUSE.
>
>
>... -
07:34 AM Feature #10084: Add Unicode String Normalization to String class
- > class Unicode < self
> def self.download(name, *rest)
> super("http://www.unicode.org/Public/UCD/late... -
08:35 AM Bug #10409 (Closed): Can't build Ruby checked out from official GitHub mirror
- Fixed with r48073.
-
07:45 AM Bug #10409 (Assigned): Can't build Ruby checked out from official GitHub mirror
- I got same situation. Please fix it.
-
07:24 AM Bug #10409 (Closed): Can't build Ruby checked out from official GitHub mirror
- When I tried to compile official github mirror version of ruby on linux system, I get the error:
~~~
$ ./configur... -
07:46 AM Bug #10410 (Closed): TestGc#test_latest_gc_info often fails
- 例:
~~~
1) Failure:
TestGc#test_latest_gc_info [D:/tmp/mswin-build20141021-4796-12lae3v/ruby/test/ruby/test_gc.... -
06:42 AM Bug #10317 (Third Party's Issue): JSON::State is not using the parameter space_before
- Could you contribute it to upstream?
https://github.com/flori/json
10/20/2014
-
08:29 PM Feature #10351: [PATCH] prevent CVE-2014-6277
- How about supporting ENV.freeze instead?
Currently ENV.freeze is a no-op, this patch changes that:
http://80x24.... -
04:39 PM Feature #10351: [PATCH] prevent CVE-2014-6277
- Jeremy Evans wrote:
> The costs of this proposed change are much higher than the benefits. This just makes interact... -
02:12 PM Feature #10406 (Rejected): Method starting with a capital is not detected when parentheses and receiver are omitted
- Unlike local variables, constants are not resolved statically. That's the reason behind this behavior.
If you have f... -
12:07 PM Feature #10406: Method starting with a capital is not detected when parentheses and receiver are omitted
- Oops, I see. Sorry for the noise!
--
Yusuke Endoh <[email protected]> -
11:51 AM Feature #10406: Method starting with a capital is not detected when parentheses and receiver are omitted
- Yusuke Endoh wrote:
> I believe this is intentional. Otherwise, we would become unable to refer Array, Integer, Flo... -
11:46 AM Feature #10406: Method starting with a capital is not detected when parentheses and receiver are omitted
- I believe this is intentional. Otherwise, we would become unable to refer Array, Integer, Float, String, and Hash cl...
-
11:42 AM Feature #10406 (Assigned): Method starting with a capital is not detected when parentheses and receiver are omitted
- It's a ruby's naming rule.
-
11:32 AM Feature #10406 (Rejected): Method starting with a capital is not detected when parentheses and receiver are omitted
- A method whose name starts with a capital is not detected when parentheses and receiver are omitted.
~~~ruby
def ... -
02:06 PM Bug #7215: Remaining messages on OpenSSL error queue after Certificate#verify
- the only solution at the moment is running :
### OpenSSL.errors.clear
after certificate verifying. This clears ... -
11:50 AM Bug #10407 (Closed): Update gc stack marking for m68k
- This fixes a crash due to running past the stack bounds.
-
10:23 AM Bug #10405 (Closed): syntax error inconsistency between ruby -c and ripper
- 以下のように、a / b c という内容のファイルを
ruby -c で検査すると syntax error になるのですが
Ripper.sexp に適用するとなにか構文木が返ってきます。
```
% cat z.rb
... -
08:14 AM Feature #10404 (Assigned): Allow individual finalizers to be removed with ObjectSpace.undefine_finalizer
- Pretty self-explanatory: allow removal of individual define_finalizer blocks without removing all of them as undefine...
-
05:46 AM Bug #10368: GC mark miss on bindings
- Backported into `ruby_2_0_0` at r48048.
-
01:25 AM Feature #10084 (Assigned): Add Unicode String Normalization to String class
- Sorry, I accidentally close this ticket.
-
12:39 AM Bug #10402 (Assigned): URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
-
12:38 AM Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
- c.f. https://bugs.ruby-lang.org/issues/2542#note-20
10/19/2014
-
08:24 PM Bug #10403 (Closed): `puts` documentation fix
- Patch attached. It's a minor documentation fix after something confused me in the docs. The previous docs seem to imp...
-
07:01 PM Bug #10402 (Closed): URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
- ~~~
$ ruby -v -ruri -e "URI 'http://example.com/?a[]=b&a[]=c'"
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-d... -
05:23 PM Feature #10396 (Closed): Increase instance variable retrieval performance by removing -w/$VERBOSE warning
- Applied in changeset r48035.
----------
variable.c, vm_insnhelper.c: improve performance
* variable.c (rb_ivar_get)... -
02:35 AM Feature #10396 (Closed): Increase instance variable retrieval performance by removing -w/$VERBOSE warning
- This patch removes the "instance variable @foo not initialized" -w/$VERBOSE warning, increasing instance variable ret...
-
02:34 PM Feature #10084 (Closed): Add Unicode String Normalization to String class
- Applied in changeset ruby-trunk:r48027.
----------
* lib/unicode_normalize.rb: (unicode_normalize!): change method n... -
01:17 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
- Hidetoshi Nagai wrote:
> Please apply the attached patch.
I guess that these patches are corresponding to r48018 ... -
12:55 PM Bug #8000 (Closed): "require 'tk'" segfaults on 64-bit linux with Tk 8.6
- Please apply the attached patch.
-
12:31 PM Bug #10398 (Closed): Server Name Indication support broken when reusing a (dead) session
- RFC3546 recommend that the client includes the server_name in each client hello message when possible.
The ruby op... -
07:59 AM Bug #10397: gcc 4.1.2 for x86 can't build trunk
- [email protected] wrote:
> Bug #10397: gcc 4.1.2 for x86 can't build trunk
> https://bugs.ruby-lang.org/issues/103... -
07:12 AM Bug #10397 (Closed): gcc 4.1.2 for x86 can't build trunk
- Recently CentOS 5.6 x86 can't build ruby-trunk.
This is since r47562 and it hit [gcc bug](https://gcc.gnu.org/bugzil...
10/18/2014
-
10:38 PM Feature #10351: [PATCH] prevent CVE-2014-6277
- I agree with Eric, this change is too likely to break things, including the principle of least surprise. No other pr...
-
07:54 PM Feature #10351: [PATCH] prevent CVE-2014-6277
- Akira Tanaka wrote:
> Shyouhei Urabe wrote:
> > Akira, isn't it obvious this patch introduce a backward incompatibi... -
06:35 PM Bug #10368: GC mark miss on bindings
- Backported into `ruby_2_1` at r48004.
-
11:46 AM Bug #10368 (Closed): GC mark miss on bindings
- Applied in changeset r48000.
----------
* vm_core.h, vm.c, proc.c: fix GC mark miss on bindings.
[ruby-dev:48616] ... -
06:22 PM Bug #10392: Ripper.sexp("<<'E'\n E\n\n")
- Backported into `ruby_2_1` at r48003.
-
01:55 PM Feature #10344: [PATCH] Implement Fiber#raise
- > I understand this feature helps some libraries. But I can't understand why it is important.
Without Fiber#raise,... -
12:11 PM Feature #10344: [PATCH] Implement Fiber#raise
- > At least, such feature should be located at ext/fiber.
even if ext/fiber it is still should be implemented in C ... -
11:20 AM Feature #10341: Fiber switch performance improvements
- D'oh. Thanks for fixing the win32/non-native issues.
And great to see this included. :-) -
05:30 AM Feature #10394: An instance method on Enumerator that evaluates the block under with self being the block variable.
- If the name is less than five characters, then it would need less typing than the original form, (i.e., five-letter n...
-
04:31 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
- @David MacMahon
Thank you for your valuable comment.
I definitely agree with you. I really want 'built-in way... -
03:11 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
- Eric Wong <[email protected]> wrote:
> For some method names (include?/delete/key?); I see them often used with... -
02:28 AM Feature #10395: erb: allow variables to be set from the command line
- Thanks Nobu, that looks like a much better implementation. Appreciate your help.
10/17/2014
-
08:21 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
- なかださんが(最初の報告における前者の挙動に)直してくれたようです。
後者の挙動にしたければ、それは仕様変更なので、別のチケットにするのが適切かと思います。 -
06:06 AM Bug #10382 (Closed): s = '\x80'; /#{s}/ raises an exception in US-ASCII script
- Applied in changeset r47992.
----------
re.c: mak eregexps with binary escapes ASCII-8BIT
* re.c (unescape_nonascii... -
12:52 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
- デフォルトのソースエンコーディングが UTF-8 になったことはこっちも仕様を変更する理由になるかもしれませんね。
-
06:40 AM Feature #10395 (Assigned): erb: allow variables to be set from the command line
- No new features for maintenance branches.
And your patch doesn't allow options after variables.
https://github.co... -
05:36 AM Feature #10395 (Closed): erb: allow variables to be set from the command line
- This would make erb more useful from the command line. Granted the use of Binding#eval is dangerous so one has to be ...
-
04:23 AM Bug #10392: Ripper.sexp("<<'E'\n E\n\n")
- Backported into `ruby_2_0_0` at r47989.
-
04:20 AM Bug #10285: StringIO with encodings broken due to #9769
- Backported into `ruby_2_0_0` at r47988.
-
04:13 AM Bug #10263: `super` does not work from binding eval context
- Backported into `ruby_2_0_0` at r47987.
-
01:03 AM Bug #10393 (Rejected): String#start_with?の1.9.x非互換バグ
- start_with? に nil が渡されるのはバグの可能性が高く、それが検出できないのは問題の発覚を引き延ばしているだけのように思います。2.0とメジャーバージョンアップがあったので、バグの発見を遅らせる軽微な互換性は維持する必要...
Also available in: Atom