Project

General

Profile

Activity

From 09/09/2009 to 09/15/2009

09/15/2009

08:50 PM Bug #1914: ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0
=begin
Hello all,

Sorry but I couldn't test all stuff published on this forum <http://www.ruby-forum.com/topic/193040#841466> just because am I out of office for some holiday ;<)

That said, I couldn't read comments because my ...
rubisher (Joel Soete)
06:59 AM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
I wanted to use rb_catch_obj at first but I saw the following issues:

1) rb_catch_obj sends :catch to nil. If for some strange evil purpose catch was redefined by the user (in Kernel, Object or as a singleton method of nil),...
marcandre (Marc-Andre Lafortune)
02:51 AM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
Hi,

In message "Re: [ruby-core:25543] [Bug #1852] Enumerable's #hash Raises ArgumentError When Recursive Values are Present"
on Sun, 13 Sep 2009 14:46:43 +0900, Marc-Andre Lafortune <[email protected]> writes:

|Her...
matz (Yukihiro Matsumoto)
03:17 AM Feature #2093 (Closed): String#stripの対象は\sか[:space:]か
=begin
Applied in changeset r24926.
=end
matz (Yukihiro Matsumoto)
03:06 AM Feature #2093: String#stripの対象は\sか[:space:]か
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39336] Re: [Feature #2093] String#stripの対象は\sか[:space:]か"
on Tue, 15 Sep 2009 02:56:04 +0900, Yukihiro Matsumoto <[email protected]> writes:

||現在、String#strip は rb_enc_isspace を使っ...
matz (Yukihiro Matsumoto)
02:56 AM Feature #2093: String#stripの対象は\sか[:space:]か
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39322] [Feature #2093] String#stripの対象は\sか[:space:]か"
on Sun, 13 Sep 2009 02:25:08 +0900, Yui NARUSE <[email protected]> writes:

|現在、String#strip は rb_enc_isspace を使っています。
|つま...
matz (Yukihiro Matsumoto)

09/14/2009

08:51 PM Feature #2080: Proc#to_source, Method#to_source
=begin
2009年9月11日2:43 SASADA Koichi <[email protected]>:
>  私も便利だと思うんですが、ちょっと便利すぎだし、仕様の検討も、凄く自由
> 度のあるわりに議論が十分ではないので 1.9.3 を目指して議論するといいと思
> うんですが、どうでしょうか(つまり、2ヶ月で収束するとは思えません)。

明らかに後から足しても困らないものではあるので、ゆっくり仕様を練りますか。

> たとえば、Rails だと...
yugui (Yuki Sonoda)
04:39 PM Bug #2097: fork NotImplementedError on FreeBSD
=begin
use Process.spawn.
=end
naruse (Yui NARUSE)
03:23 PM Bug #2097 (Third Party's Issue): fork NotImplementedError on FreeBSD
=begin

=end
nobu (Nobuyoshi Nakada)
03:19 PM Bug #2097: fork NotImplementedError on FreeBSD
=begin
Hi,

At Mon, 14 Sep 2009 14:16:11 +0900,
robert gleeson wrote in [ruby-core:25564]:
> I'm not sure if a fix should be applied via patches to the
> FreeBSD port of ruby or in ruby itself, but on Ruby
> 1.9.1(patchlevel 129) ...
nobu (Nobuyoshi Nakada)
02:16 PM Bug #2097 (Third Party's Issue): fork NotImplementedError on FreeBSD
=begin
Hi,

I'm not sure if a fix should be applied via patches to the FreeBSD port of ruby or in ruby itself, but on Ruby 1.9.1(patchlevel 129) you cannot fork a process.

irb(main):002:0> Process.fork
NotImplementedError: f...
robertgleeson (Robert Gleeson)
04:09 PM Bug #2095: Oniguruma No Longer Understands Unihan Characters
=begin
> Anyway I thougt UnicodeData.txt and Scripts.txt are also large.

They're nothing compared to the full XML dump (~130MB). ;-)

> So you can use XML dump :-)

Well given that I've written the script now, I guess it do...
runpaint (Run Paint Run Run)
03:52 PM Bug #2095: Oniguruma No Longer Understands Unihan Characters
=begin


On 2009/09/14 10:43, Yui NARUSE wrote:
> Issue #2095 has been updated by Yui NARUSE.
>
> Status changed from Open to Closed
>
> ok I close this.
>
> Anyway I thougt UnicodeData.txt and Scripts.txt are also large.

Pl...
duerst (Martin Dürst)
03:41 PM Bug #2095: Oniguruma No Longer Understands Unihan Characters
=begin


On 2009/09/13 9:21, Run Paint Run Run wrote:
> Bug #2095: Oniguruma No Longer Understands Unihan Characters
> http://redmine.ruby-lang.org/issues/show/2095
>
> Author: Run Paint Run Run
> Status: Open, Priority: High
> ...
duerst (Martin Dürst)
10:43 AM Bug #2095 (Closed): Oniguruma No Longer Understands Unihan Characters
=begin
ok I close this.

Anyway I thougt UnicodeData.txt and Scripts.txt are also large.
So those source data shouldn't be bundled with Ruby, and download by enc-unicode.rb when it runs and uset them.

So you can use XML dump ...
naruse (Yui NARUSE)
09:31 AM Bug #2095: Oniguruma No Longer Understands Unihan Characters
=begin
Having re-written said script I discovered that my initial analysis was wrong; there is no bug. This ticket can be closed. I apologize. :-/
=end
runpaint (Run Paint Run Run)
11:44 AM Bug #140 (Closed): [PATCH] Set#== performance improvement
=begin
Applied in changeset 24910
=end
marcandre (Marc-Andre Lafortune)
08:37 AM Bug #447 (Closed): [PATCH] Net::HTTPHeaders iterator methods should return Enumerators
=begin
Applied in changeset r24915.
=end
marcandre (Marc-Andre Lafortune)
07:40 AM Bug #2050 (Closed): Abbreviated Assignment Operators No Longer Return rvalue
=begin
Applied in changeset r24761.
=end
nobu (Nobuyoshi Nakada)
05:37 AM Bug #445 (Closed): [PATCH] Net::HTTPHeaders#fetch raises NoMethodError instead of returning default values
=begin
Applied in changeset r24912.
=end
marcandre (Marc-Andre Lafortune)
05:34 AM Bug #1665 (Closed): Enumerable#reverse_each, #entries, #to_a documentation [patch]
=begin
Duplicate of http://redmine.ruby-lang.org/issues/show/1665
=end
marcandre (Marc-Andre Lafortune)

09/13/2009

08:33 PM Feature #2080: Proc#to_source, Method#to_source
=begin
An other way would be to create a spec to represent ruby code into s-expression.
Each interpreter transforms its internal representation into a standard s-expression,
so ruby gains a cool and powerful lisp feature.
Maybe a...
dohzya (Etienne Vallette d'Osia)
02:46 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
Here is a patch that provides a hash for recursive Array, Hash, Struct and Range. As discussed, there will be hash collisions when recursion is detected, although the hash of a recursive array with 1 element will be different fro...
marcandre (Marc-Andre Lafortune)
09:47 AM Bug #2094 (Closed): prime.rb has warning.
=begin
Applied in changeset r24884.
=end
nobu (Nobuyoshi Nakada)
03:22 AM Bug #2094 (Closed): prime.rb has warning.
=begin
The following program:

$VERBOSE = true
require 'prime'
42.prime?

prints a warning:
/var/tmp/ruby-1.9.2-preview1/lib/ruby/1.9.1/prime.rb:261: warning: instance variable @ubound not initialized

I've tried with ...
d3z (David Brown)
09:40 AM Bug #2095: Oniguruma No Longer Understands Unihan Characters
=begin

=end
nobu (Nobuyoshi Nakada)
09:21 AM Bug #2095 (Closed): Oniguruma No Longer Understands Unihan Characters
=begin
As Oniguruma was undocumented, the recent update was based mainly on guesswork. While working on a Unicode library to create an exhaustive test suite I noticed that the update introduced a serious regression. We based the update ...
runpaint (Run Paint Run Run)
02:42 AM Bug #1837: Test failure (test_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0
=begin
これ、今でも症状出ますか?
なお、うちの FreeBSD 7.2-STABLE amd64 では発生しません。
=end
naruse (Yui NARUSE)
02:39 AM Feature #2074: json の j や jj は module_function にするべき?
=begin
jやjjが変数などで埋まっていても呼べるというメリットはありますね。
どちらにしても、Ruby全体として方針を合わせた方がいいかなと思います。
=end
naruse (Yui NARUSE)
02:24 AM Feature #2093 (Closed): String#stripの対象は\sか[:space:]か
=begin
現在、String#strip は rb_enc_isspace を使っています。
つまり、[:space:] にマッチするものを落とすため、
例えばいわゆる全角空白等も切り落とす対象になっています。

しかし、他の Ruby core API は ASCII を意識した動きをすることが多く、
strip はちょっと予想を裏切る動作になっています。

なんとなくただの修正漏れのように感じるのですがどうでしょう?
=end
naruse (Yui NARUSE)

09/12/2009

09:18 PM Feature #1905: How about IPAddr#<=> to take care of mask_addr?
=begin
いまいです。

From: Nobuhiro IMAI <nov_at_yo.rim.or.jp>
Date: Fri, 14 Aug 2009 21:19:42 +0900

> 少し時間が開いてしまいましたが、
>
> * アドレスが同じ場合、ネットマスク長が長い方が IPAddr として大きいとみ
> なす(IPAddr#<=> で @mask_addr を考慮する)
> * <=> と Comparable により == ...
no6v (Nobuhiro IMAI)
12:34 AM Bug #1914: ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0
=begin
金本と申します。
返答が遅くなってどうもすみません。

> まず、このdlopenの件と次のシンボルの話はわけるべきではないかと。
はい。おっしゃるとおりです。
先日送ったパッチにも本題と外れる部分(-gxcoffとか)が入っていて
ご面倒をおかけしてどうもすみませんでした。

> http://en.wikipedia.org/wiki/IBM_AIX#Versions を見ると、4.1は
> 1994年ですね。
いくつかほかのソフ...
kanemoto (Yutaka Kanemoto)

09/11/2009

09:57 PM Bug #2086 (Closed): Update NEWS for 1.9.2
=begin
Applied in changeset r24854.
=end
nobu (Nobuyoshi Nakada)
06:10 PM Bug #2086 (Closed): Update NEWS for 1.9.2
=begin
NEWS needs updating. I started on this (rough diff attached) but then realised it was more work than I expected. ;-) Is anybody else working on this? Is there a better approach than going through the ChangeLog line by line? Perha...
runpaint (Run Paint Run Run)
05:04 PM Bug #2053: `for` No Longer Splats When RHS Returns More Values Than LHS Expects
=begin
Thanks, nobu. I've updated the spec. Don't leave this ticket open on my account. :-)
=end
runpaint (Run Paint Run Run)
05:03 PM Feature #2084 (Closed): Method#source_location and Methods Created with `attr`
=begin
$ cat /tmp/attr.rb
class C
attr :a
end

p C.instance_methods(false)
p C.instance_method(:a).source_location

$ ruby -v /tmp/attr.rb
ruby 1.9.2dev (2009-09-11) [i686-linux]
[:a]
nil

...
runpaint (Run Paint Run Run)
03:03 PM Feature #2061: Named Unicode Character Escapes
=begin
> * Normalise the name by converting to uppercase and replacing underscores with spaces.
done this for properties in r24836.
=end
naruse (Yui NARUSE)
06:41 AM Bug #1978: fixed crash in lib/logger.rb from dependency on svn keywork expansion
=begin
Kirk,

Can you let me know if there is anything else I need to do to get this patch into 1_8_6?

I'd like to use git to manage the deployment of ruby to several servers and it would be easier to be able to refer to a tag ...
stepheneb (Stephen Bannasch)
02:43 AM Feature #2080: Proc#to_source, Method#to_source
=begin
 ささだです。

Yuki Sonoda wrote::
> 担当者: Koichi Sasada, カテゴリ: core, Target version: 1.9.2
>
> [ruby-core:24673]に見るように、Proc#to_sourceやMethod#to_sourceがあると、1.8時代にnode.hを利用してしまっていたようなライブラリの問題の多くを解決できます。そこでnodeやiseqに元のソースコードを持たせておいて...
ko1 (Koichi Sasada)
01:10 AM Feature #2080 (Rejected): Proc#to_source, Method#to_source
=begin
[ruby-core:24673]に見るように、Proc#to_sourceやMethod#to_sourceがあると、1.8時代にnode.hを利用してしまっていたようなライブラリの問題の多くを解決できます。そこでnodeやiseqに元のソースコードを持たせておいて、必要に応じてiseqから取得することを提案します。

一般的にはコードは処理データに比べて十分に小さいので、メモリ所要量の増加は許容範囲ではないでしょうか。

例:
...
yugui (Yuki Sonoda)
01:59 AM Bug #1914: ruby-1.9.1-p243 failed to build from source on aix 5.3 with gcc 4.2.0
=begin
金本です。


2009/9/10 Nobuyoshi Nakada <[email protected]>:
> なかだです。
> これだと、LIBRUBY_DLDFLAGSには-bexpallがついて-bE:${ARCHFILE}が
> 含まれなくなるように見えます。
すみません。見落としていました。
添付のパッチでは削ってあります。

> gccなら-gxcoffを指定していますが、man gccではなんとなくどこで
> も...
kanemoto (Yutaka Kanemoto)
01:37 AM Bug #446 (Closed): [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError
=begin
Applied in changeset r24830.
=end
Anonymous
01:35 AM Bug #2072: Segmentation faults with libxml-ruby and ruby 1.9.1
=begin
On Thu, Sep 10, 2009 at 5:57 PM, Nobuyoshi Nakada <[email protected]> wrote:
> Hi,
>
> At Fri, 11 Sep 2009 00:45:12 +0900,
> Aaron Patterson wrote in [ruby-core:25516]:
>> This is not a bug.  The libxml-ruby gem that ships ...
luislavena (Luis Lavena)
12:57 AM Bug #2072: Segmentation faults with libxml-ruby and ruby 1.9.1
=begin
Hi,

At Fri, 11 Sep 2009 00:45:12 +0900,
Aaron Patterson wrote in [ruby-core:25516]:
> This is not a bug. The libxml-ruby gem that ships for windows is
> compiled against 1.8.6, and will not work with 1.9. You need to
...
nobu (Nobuyoshi Nakada)

09/10/2009

11:14 PM Bug #2053: `for` No Longer Splats When RHS Returns More Values Than LHS Expects
=begin
Hi,

At Sun, 6 Sep 2009 02:17:17 +0900,
Run Paint Run Run wrote in [ruby-core:25414]:
> $ cat /tmp/for.rb
> class OFor
> def each
> [[1,2,3], [4,5,6]].each do |a|
> yield(a[0],a[1],a[2])
> end
...
nobu (Nobuyoshi Nakada)
11:07 PM Bug #2077 (Closed): Patch for issue 1337 is incomplete/does not work as intended
=begin
Applied in changeset r24829.
=end
nobu (Nobuyoshi Nakada)
08:37 PM Bug #2077 (Closed): Patch for issue 1337 is incomplete/does not work as intended
=begin
The patch in issue 1337 does not take into consideration data install, which also fails when using make -jN install.

At the same time, the idea of the patch is not really correct: depending directly on a directory in make gi...
Flameeyes (Diego Elio Pettenò)
04:38 PM Bug #2072 (Third Party's Issue): Segmentation faults with libxml-ruby and ruby 1.9.1
=begin
The binary gem of libxml-ruby is for 1.8, not 1.9.
Ask the distributor of the gem.
=end
usa (Usaku NAKAMURA)
03:05 PM Bug #2072 (Third Party's Issue): Segmentation faults with libxml-ruby and ruby 1.9.1
=begin
I encountered segmentation fault when I used LibXML-ruby with Ruby 1.9.1.
My environment is as follows:
OS: Windows XP Professional SP2
Ruby: ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
LibXml-ruby: 1.1....
Kenji (賢司 高橋)
04:19 PM Bug #2075 (Closed): ext/json/ext/generator/generator.c のドキュメントへの小さなパッチ
=begin
コードを見た感じでは call-seq がおかしいと思ったのでパッチを書いてみました。
よろしくお願いします。

Index: ext/json/ext/generator/generator.c
===================================================================
--- ext/json/ext/generator/generator.c (revision 248...
okkez (okkez _)
04:14 PM Feature #2074 (Third Party's Issue): json の j や jj は module_function にするべき?
=begin
p や pp が module_function なので json の j や jj も合わせるべきかもしれません。

yaml の y や yy も module_function になっていません。

Kernel.j や Kernel.jj というような呼び出しができるようになるだけなので、うれしさはあまり無いのですが。
=end
okkez (okkez _)
04:07 PM Feature #1949 (Closed): Warn needless escaped characters
=begin
Applied in changeset r24825.
=end
naruse (Yui NARUSE)
12:38 PM Bug #2063 (Feedback): Core dump on AIX
=begin
No diff is attached.
=end
nobu (Nobuyoshi Nakada)

09/09/2009

10:03 PM Bug #2068 (Closed): FileUtils.cp should not create dest if src cannot be found.
=begin
Applied in changeset r24823.
=end
nobu (Nobuyoshi Nakada)
09:42 PM Bug #2068 (Closed): FileUtils.cp should not create dest if src cannot be found.
=begin
irb(main):009:0> Dir['*']
=> []
irb(main):010:0> FileUtils.cp '', 'dest'
Errno::ENOENT: No such file or directory -
from c:/r192vc-w32/lib/ruby/1.9.1/fileutils.rb:1265:in `initialize'
from c:/r192vc-w32/...
vo.x (Vit Ondruch)
06:25 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
Tanaka,

Thank you for your explanation. :-) I haven't fully understood the
issues involved yet, but assuming that we don't revert this commit...

In the case of Hash, if recursive keys are to be prohibited, why don't
metho...
runpaint (Run Paint Run Run)
09:49 AM Bug #2066 (Closed): Merge Latest RDoc/Ri
=begin
Could RDoc/Ri be merged before the release of 1.9.2? We're on version 2.2.2 and the latest released version is 2.4.3. :-) (Apologies if this is already being taken care of).
=end
runpaint (Run Paint Run Run)
08:27 AM Feature #2061: Named Unicode Character Escapes
=begin
> If you can't change regexp or other core things, I can do.

Thank you. I made a couple of attempts but made no progress. :-(
=end
runpaint (Run Paint Run Run)
02:09 AM Feature #2061 (Assigned): Named Unicode Character Escapes
=begin
I agree this.
If you can't change regexp or other core things, I can do.

You may already know but for others, related documents are:
http://www.unicode.org/Public/5.1.0/ucd/UCD.html#Name
http://www.unicode.org/Public/5...
naruse (Yui NARUSE)
01:22 AM Bug #1960 (Assigned): errors in configure on AIX
=begin
I'm looking at this right now.
=end
wyhaines (Kirk Haines)
12:38 AM Feature #2065 (Rejected): An ancestors iterator
=begin
I have implemented DSLs that add features to a class/module that should be inherited like methods. In those cases I end up iterating ancestors to find the first time a feature has been added (the same way I imagine methods are ...
bahuvrihi (Simon Chiang)
12:16 AM Bug #2064 (Closed): Missing exports
=begin
This is connected to issue 2063. The problem is that, for example, .ext/powerpc-aix5.3.0.0/enc/iso_8859_1.so, needs to import OnigEncISO_8859_1_ToLowerCaseTable. gcc 4.4.1 puts this in the text section because it is const data....
pedz (Perry Smith)
12:09 AM Bug #2063 (Closed): Core dump on AIX
=begin
The aix_loaderror routine has many problems. First, if loadquery fails, messages has not been initialized. So the next if statement coredumps:

for(i = 0; message[i] && *message[i]; i++) {

message[i] is set to ...
pedz (Perry Smith)
 

Also available in: Atom