Activity
From 01/14/2012 to 01/20/2012
01/20/2012
-
09:48 PM Feature #5903: Optimize st_table (take 2)
- I've updated pool_allocation patch to use more efficient pool algorithm.
No separate commit, I just rewrite branch. -
09:29 PM Bug #5914: Calling extend with an anonymous module requires use of parentheses
- On Fri, Jan 20, 2012 at 08:52:08PM +0900, Юрий Соколов wrote:
> When you call without parentheses, then block `do` ... -
08:53 PM Bug #5914: Calling extend with an anonymous module requires use of parentheses
- When you call without parentheses, then block `do` is going to `extend`
method, but not `Module.new`
2012/1/2... -
07:58 PM Bug #5914 (Rejected): Calling extend with an anonymous module requires use of parentheses
- =begin
Given Ruby 2.0.0dev, 1.9.3 or 1.8.7 and this code:
class Dude
def initialize
extend Module... -
08:51 PM Bug #5913 (Closed): CGI.escape cannot escape a string with invalid byte sequence.
- r34346 で修正しました。
-
07:38 PM Bug #5913: CGI.escape cannot escape a string with invalid byte sequence.
- はい、お願いします。
-
05:44 PM Bug #5913: CGI.escape cannot escape a string with invalid byte sequence.
- 新しいパッチを作りました。
https://gist.github.com/1646162
これで問題なければ、コミットします。良いですか? -
05:11 PM Bug #5913: CGI.escape cannot escape a string with invalid byte sequence.
- バグじゃないかと思います。
パッチについては、String#valid_encoding? は文字列スキャンが走るので、
常時 ASCII-8BIT を設定して戻したほうがいいんじゃないかと思います。 -
04:58 PM Bug #5913 (Closed): CGI.escape cannot escape a string with invalid byte sequence.
- 不正なバイト列を持つ文字列を CGI.escape に渡すと ArgumentError が起きます。
$ .prefix/bin/ruby -rcgi -ve 'p CGI.escape("\xC0<<".force_enco... -
05:02 PM Feature #5820: Merge Onigmo to Ruby 2.0
- Ken Takata wrote:
> 私としては、せっかく (?au) を入れたので使えないのはもったいないなと思います。Perlの他にはPythonでも /u 相当が使えることですし需要はあるでしょう。
> /u がぶつかる問... -
03:07 PM Bug #5912 (Closed): Interpreter crashes when trying to invoke implicit block via Binding#eval
- Here's how to reproduce the problem:
[1] pry(main)> def foo
[1] pry(main)* binding
[1] pry(main)* end
=> ni... -
02:56 PM Bug #5790 (Closed): net/http の EOFError と Keep-Alive
- This issue was solved with changeset r34341.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr... -
02:56 PM Bug #5813 (Closed): net/http's EOFError and Keep-Alive
- This issue was solved with changeset r34341.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr... -
11:08 AM Feature #5877: Poor performance of initial and final UTF-8 substrings
- You didn't write gist url. I haven't catch your point.
-
10:24 AM Feature #5877 (Feedback): Poor performance of initial and final UTF-8 substrings
-
10:23 AM Bug #5884 (Rejected): Float::NAN and 0.0/0.0 is represented differently when packed with 'g'
-
03:09 AM Bug #5906: CSV converter option fails in case of :date_time
- I've added a failing test to confirm this.
01/19/2012
-
01:34 PM Bug #5910 (Closed): [PATCH] docs: Kernel#require: add documentation about constants and globals within require'd source files
- My first patch to Ruby!
Let me know if there's anything I'm missing, or where I can improve.
Thanks
Zak -
11:25 AM Bug #5906 (Assigned): CSV converter option fails in case of :date_time
-
01:34 AM Bug #5906 (Rejected): CSV converter option fails in case of :date_time
- The built-in converters of CSV with the name :date_time does not convert dates, nor does the :any converter
-
07:14 AM Bug #5908 (Closed): Date.httpdate, rfc2822, and xmlschema mutate their arguments
-
04:21 AM Bug #5908 (Closed): Date.httpdate, rfc2822, and xmlschema mutate their arguments
- Date.httpdate, rfc2822, and xmlschema all mutate the string that is passed in.
I've attached a patch that fixes th...
01/18/2012
-
07:14 PM Feature #5767: Cache expanded_load_path to reduce startup time
- I removed messing with file.c.
Instead rb_get_load_path returns expanded paths when optimization is enabled.
I ha... -
04:35 PM Bug #5902: Array#join with an unused, infected separator may or may not infect the result
- The tests are included in my previous patch.
-
03:56 PM Bug #5902: Array#join with an unused, infected separator may or may not infect the result
- A potential patch to address this problem is attached. CAUTION: This patch isn't tested yet! (I'm not in a place wher...
-
03:53 PM Bug #5902: Array#join with an unused, infected separator may or may not infect the result
- Hi Matz,
On 2012/01/17 22:57, Yukihiro Matsumoto wrote:
>
> Issue #5902 has been updated by Yukihiro Matsum... -
03:26 AM Feature #5904 (Rejected): Freezing true, false, nil, ordinals, symbols...
- Elementary objects mentioned in the title can be frozen. This easter egg made me love #freeze method very much. I esp...
01/17/2012
-
11:37 PM Feature #5903 (Closed): Optimize st_table (take 2)
- Given some of preparations to this patches already merged into ruby-trunk,
I suggest patches for improving st_table ... -
10:57 PM Bug #5902: Array#join with an unused, infected separator may or may not infect the result
- In this case, tainted/untrusted string info is never used in the result. Why should it be tainted?
Matz. -
05:34 PM Bug #5902 (Assigned): Array#join with an unused, infected separator may or may not infect the result
- Sounds reasonable.
-
01:13 PM Bug #5902: Array#join with an unused, infected separator may or may not infect the result
- To clarify, I would expect the result of the 1-element case to be untainted and trusted, since the separator was unused.
-
12:24 PM Bug #5902 (Closed): Array#join with an unused, infected separator may or may not infect the result
- =begin
It's infected if the separator is unused because there is only one element, but not if there are zero element... -
02:20 PM Bug #5897 (Feedback): RubyからWinAPIのCreateProcessを使ったときに引数を間違えるとバグがでる
- =begin
再現しません。
$ ruby -v -rWin32API -e "CreateProcess = Win32API.new('kernel32', 'CreateProcess', %w(ipiiiiiipp... -
11:15 AM Bug #5901: OpenBSD "[FATAL] failed to allocate memory"
- You don't have to edit gc.c. Instead, please make a workaround in configure.in. We only need aligned alloc, and don't...
-
09:03 AM Bug #5901 (Closed): OpenBSD "[FATAL] failed to allocate memory"
- =begin
Ruby trunk fails to build with OpenBSD. During the build, miniruby fails with message
[FATAL] failed to all... -
07:09 AM Feature #5899: chaining comparsions.
- What is a good way to do chained comparison in Ruby?
My best attempt, so far, is
```ruby
[1, 2, 3, 4].each_con... -
06:54 AM Feature #5873: Adopt FFI over DL
- On Sat, Jan 14, 2012 at 12:30:02PM +0900, KOSAKI Motohiro wrote:
> > To remove original DL completely, we have to b... -
06:30 AM Bug #5900 (Rejected): RegExp – Newline and \Z Anchor
- It is expected behavior.
See doc/re.rdoc:
* <tt>\Z</tt> - Matches end of string. If string ends with a newline,
... -
02:54 AM Bug #5900 (Rejected): RegExp – Newline and \Z Anchor
- /\Aaaa\Z/ =~ "aaa\n"
=> 0 #and should be nil
Same result in MRI 1.9.2. -
01:17 AM Feature #5898: raise and Exception#initialize
- How does adding #super help?
Maybe I've over explained (as I am wont to do) and I should just put it this way: It ...
01/16/2012
-
11:04 PM Bug #5697 (Closed): Wrong flag for enabling PIE executables with clang
- r33928 and r33929.
-
10:00 PM Feature #5896: object representation in rb_enc_vsprintf()
- Motohiro KOSAKI wrote:
> 基本的には賛成なのですが、PRIsVALUEはなくちゃダメ?
>
> \StringValue(v);
> rb_raise("%p")
>
> と書くよりもコードが汚... -
03:22 PM Feature #5896: object representation in rb_enc_vsprintf()
- 基本的には賛成なのですが、PRIsVALUEはなくちゃダメ?
\StringValue(v);
rb_raise("%p")
と書くよりもコードが汚くなってしまうのは、せっかくのいい提案を殺してしまうような気がします -
09:59 PM Feature #5899: chaining comparsions.
- Ondrej Bilka wrote in post #1041080:
> Issue #5899 has been reported by Ondrej Bilka.
>
> --------------------... -
09:10 PM Feature #5899 (Rejected): chaining comparsions.
- Migration from python to ruby is problematic because ruby lacks certain features.
Most important python advantage is... -
12:23 PM Feature #5898: raise and Exception#initialize
- Hi,
(12/01/16 11:56), Thomas Sawyer wrote:
>>> class MyError < RuntimeError
>>> >> def initialize(*args)
... -
11:56 AM Feature #5898: raise and Exception#initialize
- Actually, I just did something rather interesting that better illustrates the discrepancy:
trans@logisys:assertion... -
11:45 AM Feature #5898: raise and Exception#initialize
- > One of simplest ways I can think of would be:
>
> raise MyError.new('foo', 'bar')
>
> Wow, this works with your d... -
11:23 AM Feature #5898: raise and Exception#initialize
- Hi,
(12/01/16 11:03), Nobuyoshi Nakada wrote:
> How do you tell if the second argument is a part of messages,... -
11:23 AM Feature #5898: raise and Exception#initialize
- Hi,
(12/01/16 10:03), Thomas Sawyer wrote:
> class MyError < Exception
> def initialize(a,b)
> ... -
10:03 AM Feature #5898 (Rejected): raise and Exception#initialize
- Calling `#raise` with a `message` parameter passes the argument on the Exception class' initialize method. But it doe...
-
10:59 AM Feature #5873: Adopt FFI over DL
- 2012/1/15 Hiroshi Nakamura <[email protected]>:
> (2012/01/14 12:30), KOSAKI Motohiro wrote:
>>> To remove origin...
01/15/2012
-
06:21 PM Bug #5897 (Rejected): RubyからWinAPIのCreateProcessを使ったときに引数を間違えるとバグがでる
- require 'Win32API'
CreateProcess = Win32API.new('kernel32', 'CreateProcess', %w(ipiiiiiipp), 'i')
NULL = 0
FAL... -
04:46 PM Feature #5896 (Closed): object representation in rb_enc_vsprintf()
- =begin
(({rb_enc_vsprintf()}))で(({VALUE}))を受け付けるようにする拡張です。
文字列化したオブジェクトを含むメッセージを組み立てる場合、
(({StringValueCStr()}))... -
04:28 PM Bug #5848 (Closed): Array#inspect having an element with non-ASCII compatible #inspect result
- This issue was solved with changeset r34308.
John, thank you for reporting this issue.
Your contribution to Ruby is g... -
02:38 PM Feature #5820: Merge Onigmo to Ruby 2.0
- 私としては、せっかく (?au) を入れたので使えないのはもったいないなと思います。Perlの他にはPythonでも /u 相当が使えることですし需要はあるでしょう。
/u がぶつかる問題は、大文字で /A/U にするとか?
... -
01:31 PM Bug #5892 (Rejected): REXML always wraps long tag text regardless the page width setting.
- =begin
It seems that this had been fixed in Ruby 1.9.3. Please update your ruby or request a backport for r31997 and... -
10:38 AM Bug #5892 (Assigned): REXML always wraps long tag text regardless the page width setting.
-
11:38 AM Feature #5895: rb_iter_break_value
- =begin
=end
01/14/2012
-
11:42 PM Feature #5895 (Closed): rb_iter_break_value
- =begin
Rubyレベルではbreakで値を返すことができますが、Cレベルでは今のところ方法がありません。
(({void rb_iter_break_value(VALUE)}))というインターフェースを提案します。
... -
09:56 PM Bug #5894 (Closed): ISeq#compile with line no 0
- This issue was solved with changeset r34303.
Hideki, thank you for reporting this issue.
Your contribution to Ruby is... -
05:31 PM Bug #5894 (Closed): ISeq#compile with line no 0
- 三浦英樹と申します
以下のようにISeq.compile、ISeq#to_aを以下のように呼びだすと、セグメンテーションフォルトが発生します。
行番号(第4引数)を正数にするとこの現象は発生しないようです。
Rubyのバ... -
12:53 PM Feature #5873: Adopt FFI over DL
- > To remove original DL completely, we have to bundle libffi itself
> wholly.
Why?
Example, openssl is r... -
11:53 AM Feature #5873: Adopt FFI over DL
- Hi,
(12/01/14 8:48), Aaron Patterson wrote:
> On Tue, Jan 10, 2012 at 10:01:26PM +0900, Heesob Park wrote:
... -
08:59 AM Feature #5873: Adopt FFI over DL
- libffi has bash wrapper script to compile with cl.exe
It should work, however was not part of mswin builds.
... -
08:53 AM Feature #5873: Adopt FFI over DL
- On Tue, Jan 10, 2012 at 10:01:26PM +0900, Heesob Park wrote:
>
> Issue #5873 has been updated by Heesob Park.
> ... -
12:05 PM Bug #5887: The documentation of Module.constants is incorrect
- Oh, ok. Let's wait for Matz to confirm this feature.
-
12:00 PM Bug #5865 (Closed): Exception#== should return false if the classes differ
- This issue was solved with changeset r34299.
Hiro, thank you for reporting this issue.
Your contribution to Ruby is g... -
08:42 AM Bug #5865 (Assigned): Exception#== should return false if the classes differ
-
08:46 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
- Ondrej Bilka wrote:
> So regular expessions dont offer level1:basic unicode support?
> See http://unicode.org/repo... -
05:53 AM Bug #5871: regexp \W matches some word characters when inside a case-insensitive character class
- So regular expessions dont offer level1:basic unicode support?
See http://unicode.org/reports/tr18/
On Tue, J... -
02:59 AM Bug #5891: prelude.rb rdocs are not included on ruby-doc.org
- I concur, it appears that ruby-doc.org is not processing prelude.rb per the .document in ruby. From ruby-trunk:
... -
12:23 AM Feature #5893: named return,next...
- 2012/1/13 Ondřej Bílka <[email protected]>:
> Yukihiro Matsumoto wrote:
>> throw can pass the result to catch.
>
... -
12:23 AM Feature #5893: named return,next...
- On Fri, Jan 13, 2012 at 11:34:17PM +0900, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:4211...
Also available in: Atom