Project

General

Profile

Activity

From 11/22/2008 to 11/28/2008

11/28/2008

09:10 PM Feature #747: /\A/u ignores BOM
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37223] [Feature #747] /\A/u ignores BOM"
on Fri, 28 Nov 2008 19:18:13 +0900, Shyouhei Urabe <redmine@ruby-lang.org> writes:

|なお、べつに正規表現で対応されていなくても、私が直面している問題(つまり/\A#{foo}/に
|File#...
matz (Yukihiro Matsumoto)
07:23 PM Feature #747: /\A/u ignores BOM
=begin
なお、べつに正規表現で対応されていなくても、私が直面している問題(つまり/\A#{foo}/に
File#readした文字列を渡しても意図したマッチにならない)が解決されれば構いません。

つまり正規表現で対応しないならopen側で対応して欲しいわけですが、それは新たにチケット
起こした方がいいんですかね?
=end
shyouhei (Shyouhei Urabe)
06:49 PM Feature #747 (Rejected): /\A/u ignores BOM
=begin
BOM対応が不要とは言いませんが、正規表現で対応するのはよくないと思います。
=end
matz (Yukihiro Matsumoto)
06:56 PM Bug #755: select in windows errantly accepts too many fd's
=begin

=end
matz (Yukihiro Matsumoto)
06:55 PM Feature #735 (Closed): Date#inspect
matz (Yukihiro Matsumoto)
06:53 PM Bug #743 (Rejected): Socket.gethostbyname returns odd values
=begin
I think you have to do reverse lookup explicitly.
And I couldn't merge the "fix" patch since it disables IPv6 support.
=end
matz (Yukihiro Matsumoto)
06:48 PM Feature #715 (Rejected): Ruby interpreter should understand UTF-8 symbols with special meaning
It's worse than you thought. Trust me.
We had similar temptation to use Japanese characters in our programs.
And if we did, I bet you don't use Ruby now.
matz (Yukihiro Matsumoto)
05:02 PM Bug #797: bug or feature: local method ?
=begin
Hi --

On Fri, 28 Nov 2008, Daniel Luz wrote:

> Isn't the current behavior the same as using def self.foo?
>
> For example:
>
> class C
> def foo1
> def bar
> :bar
> end
> end
>
> def foo2
> def self.ba...
dblack (David Black)
04:56 AM Bug #797: bug or feature: local method ?
=begin
On Fri, Nov 28, 2008 at 03:41:40AM +0900, Francoys wrote:
> -------------------------------------------------------------------------
> technic 1 (bad)
>
> a_list = # a big link list
> b_list = # another big link list
> c_...
candlerb (Brian Candler)
03:46 AM Bug #797: bug or feature: local method ?
=begin
Brian Candler wrote:
> On Thu, Nov 27, 2008 at 03:32:18AM +0900, Francoys wrote:
>
>> declaring variables inside a method that are accessibles to all the
>> nested methods.
>>
>
> You can do this with closures:
>
...
Francoys_Proulx (Francois Proulx)
03:23 PM Revision 7701fde3 (git): * 2008-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:23 PM Revision 776af67b (git): * cont.c (fiber_alloc): separate allocation and initialization.
allow subclass to override #initialize. [ruby-core:20086]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:32 AM Revision 46e431e3 (git): * ext/socket/socket.c (sock_s_getaddrinfo): refactored to remove
code duplication regarding getaddrinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:00 AM Revision 3c6b1bfb (git): * ChangLog: spell miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e keiju (Keiju Ishitsuka)
08:59 AM Revision 157ed5c6 (git): * lib/foerwardable.rb: should be usable def_single_delegator for
Class and Module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
keiju (Keiju Ishitsuka)
04:19 AM Revision 46e3b0fe (git): * iseq.c (simple_default_value): extracts simplest default
argument value.
* iseq.c (rb_iseq_parameters): returns parameter list.
* proc.c (get_proc_iseq, get_method_iseq): handles ifunc and
bmethod.
* proc.c (rb_proc_parameters, rb_method_parameters): added
Proc#parameters and Method#par...
nobu (Nobuyoshi Nakada)

11/27/2008

05:20 PM Revision 4d3f3af8 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimal
division (including modulo) should raise ZeroDivisionError as
integer division. [incompatible]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:01 PM Revision 6fd76fdb (git): * 2008-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:01 PM Revision 90add5db (git): * numeric.c (flodivmod): floating point division should raise
ZeroDivisionError as integer division. [incompatible]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:55 PM Revision ce5063c2 (git): * gc.c (gc_mark): still needs to check stack depth during GC.
* gc.c (stack_check): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
01:03 PM Bug #702: 1+1+1+...+1 dumps core
=begin
なかだです。

At Mon, 17 Nov 2008 00:04:12 +0900,
Hiro Yoshioka wrote in [ruby-dev:37102]:
> 下記はsigaltstack(2)を使って実装した例です。
>
> $ ./ruby -e 'p eval("1+" * 14154 + "1")'
> -e:1: [BUG] Segmentation fault
> ruby 1.9.0 (2008-11-01 ...
nobu (Nobuyoshi Nakada)
12:43 PM Revision 24a64163 (git): * strftime.c (rb_strftime): should add padding for %%.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:06 PM Bug #699: removing Exception#initialize dumps core
=begin
なかだです。

At Fri, 21 Nov 2008 16:02:12 +0900,
Hiro Yoshioka wrote in [ruby-dev:37134]:
> rb_warn() でどうにかリカバリを試みているようですが、あきらめちゃうというのは
> だめなんでしょうか?

あきらめちゃうことには反対しませんが、rb_bug()はダメでしょう。
rb_bug()はruby自身が修正対象となるバグということです。ユーザスク
...
nobu (Nobuyoshi Nakada)
10:09 AM Bug #743: Socket.gethostbyname returns odd values
=begin
Hi,

In message "Re: [ruby-core:19989] [Bug #743] Socket.gethostbyname returns odd values"
on Wed, 19 Nov 2008 18:58:25 +0900, Alan Johnson <redmine@ruby-lang.org> writes:

|File bug743.patch added
|
|gethostbyname/get...
matz (Yukihiro Matsumoto)
07:40 AM Bug #797: bug or feature: local method ?
=begin
On Thu, Nov 27, 2008 at 03:32:18AM +0900, Francoys wrote:
> declaring variables inside a method that are accessibles to all the
> nested methods.

You can do this with closures:

f = lambda { |a|
x = 0
g = lambd...
candlerb (Brian Candler)
04:01 AM Bug #797: bug or feature: local method ?
=begin
On Wed, Nov 26, 2008 at 1:32 PM, Francoys <francois.pr@videotron.ca> wrote:
> As who see, i am facing a real life situation where nested methods
> seem very useful and the more elegant solution.

Nested methods in Ruby don't ...
austin (Austin Ziegler)
03:37 AM Bug #797: bug or feature: local method ?
=begin
Yukihiro Matsumoto wrote:
>
> Ah, maybe. But this syntax can be spared for more fantastic purpose,
> such as defining a method only visible from enclosing method, for
> example. You can redefine a method using #define_metho...
Francoys_Proulx (Francois Proulx)
07:32 AM Revision ab9fd5db (git): * signal.c (register_sigaltstack): stores alt stack for debug
purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:12 AM Revision 550f10ca (git): * signal.c (ruby_sigaction_t): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:02 AM Bug #799 (Closed): cross compile 1.9.1-preview1 is not possible
=begin
Hello everybody.

I tried to cross compile 1.9.1-preview1 under ubuntu. It succeeded with 1.8.6-p287 and p114 but failed with 1.9.

Used the following compile flags:
luislavena (Luis Lavena)
06:59 AM Revision 079505c0 (git): * signal.c (ALT_STACK_SIZE): default minimum size is insufficient
for method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:05 AM Revision 7348aa61 (git): * gc.c (ruby_stack_check): no check if using sigaltstack.
* signal.c (register_sigaltstack): minimum size is insufficient for
method calls.
* signal.c (sigsegv): handles stack overflow if possible.
* thread.c (ruby_thread_stack_overflow): helper function to raise
sysstack_error.
* thread...
nobu (Nobuyoshi Nakada)
02:26 AM Revision cb89138e (git): * 2008-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:26 AM Revision d6a38b68 (git): * range.c: Add Range#cover? as a new alias to #include? for the
forward compatibility with 1.9, in which the behavior of
Range#include? has changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
01:43 AM Revision fc75648b (git): * 2008-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision 5337b9b5 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return
Integer for #div operation.
* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should raise
ZeroDivisionError if divisor is zero. [ruby-dev:37207]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20368 b2dd03c8-39d4-4d8f-98ff-823fe69...
matz (Yukihiro Matsumoto)
12:17 AM Bug #793: BigDecimal('Infinity').to_r が零になる
=begin
EXCEPTION_ZERODIVIDE を設定した場合、BigDecimal#/ で例外になります
が、div や divmod ではなりません。Float でも、div は例外ですが、
divmod では例外になりません。Integer では、div、divmod ともに例外
になります。

違いがありますが、このあたりどうなんでしょう。それぞれについて divmod
と modulo の関係には矛盾はないようです。


$ ./i...
tadf (tadayoshi funaba)

11/26/2008

11:43 PM Bug #796: dynamic constant assignment
=begin
Hi,

In message "Re: [ruby-core:20114] Re: [Bug #796] dynamic constant assignment"
on Wed, 26 Nov 2008 22:05:52 +0900, Trans <transfire@gmail.com> writes:

|Indeed. And yet, I'm not sure what the current middle ground ap...
matz (Yukihiro Matsumoto)
11:40 PM Bug #796: dynamic constant assignment
=begin
On 26.11.2008, at 15:05, Trans wrote:

> And yet, I'm not sure what the current middle ground approach
> buys us either. You can still change them via remove_const and
> const_set, so what's the difference?

I agree here, s...
antares (Michael Klishin)
10:10 PM Bug #796: dynamic constant assignment
=begin


On Nov 25, 1:53 pm, Yukihiro Matsumoto <m...@ruby-lang.org> wrote:
> Hi,
>
> In message "Re: [ruby-core:20096] Re: [Bug #796] dynamic constant assignment"
>     on Wed, 26 Nov 2008 03:42:29 +0900, Jim Deville <jdevi...@mi...
trans (Thomas Sawyer)
03:58 AM Bug #796: dynamic constant assignment
=begin
Hi,

In message "Re: [ruby-core:20096] Re: [Bug #796] dynamic constant assignment"
on Wed, 26 Nov 2008 03:42:29 +0900, Jim Deville <jdeville@microsoft.com> writes:

|What about a conditional dynamic assignment. It would ...
matz (Yukihiro Matsumoto)
03:47 AM Bug #796: dynamic constant assignment
=begin
> -----Original Message-----
> From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]
> Sent: Tuesday, November 25, 2008 10:39 AM
> To: ruby-core@ruby-lang.org
> Subject: [ruby-core:20095] Re: [Bug #796] dynamic constant assign...
jredville (Jim Deville)
03:44 AM Bug #796 (Closed): dynamic constant assignment
=begin

=end
matz (Yukihiro Matsumoto)
03:43 AM Bug #796: dynamic constant assignment
=begin
Hi,

In message "Re: [ruby-core:20091] [Bug #796] dynamic constant assignment"
on Wed, 26 Nov 2008 03:05:12 +0900, Francois Proulx <redmine@ruby-lang.org> writes:

|I understand the difference in the use of variable and ...
matz (Yukihiro Matsumoto)
03:41 AM Bug #796: dynamic constant assignment
=begin
Hi,

In message "Re: [ruby-core:20093] [Bug #796] dynamic constant assignment"
on Wed, 26 Nov 2008 03:28:30 +0900, Tomas Matousek <redmine@ruby-lang.org> writes:

|The restriction is IMO unnecesary and should be removed....
matz (Yukihiro Matsumoto)
03:33 AM Bug #796: dynamic constant assignment
=begin
The error is reported e.g. in this case:

def foo
C = 1
end

>> SyntaxError: (irb):2: dynamic constant assignment

but is not reported if eval is used. This works:

def foo
eval('C = 1')
end

The r...
tmat (Tomas Matousek)
03:09 AM Bug #796 (Closed): dynamic constant assignment
=begin
I understand the difference in the use of variable and constant. But sometime you need to be able to assigned a value dynamiquely when you are initializing your application. I see 2 possibility to address the problem:

- a in...
Francoys_Proulx (Francois Proulx)
11:01 PM Bug #793: BigDecimal('Infinity').to_r が零になる
=begin
> EXCEPTION_ZERODIVIDE(とEXCEPTION_OVERFLOW)が、どういうわけだ
> かEXCEPTION_INFINITYの別名になってますね。本来は使い分けるべ
> きだと思うのですが。

ああ、なるほど。元の仕様だと BigDecimal('Infinity').to_i で例外を上げる
には EXCEPTION_INFINITY を設定しなければならない、でも、そうすると
BigDecimal('Infinit...
tadf (tadayoshi funaba)
10:17 PM Bug #793: BigDecimal('Infinity').to_r が零になる
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37204] Re: [Bug #793] BigDecimal('Infinity').to_r が零になる"
on Wed, 26 Nov 2008 22:01:52 +0900, Tadayoshi Funaba <tadf@dotrb.org> writes:

|そのモードで EXCEPTION_ZERODIVIDE を有効にすると Infinity...
matz (Yukihiro Matsumoto)
10:06 PM Bug #793: BigDecimal('Infinity').to_r が零になる
=begin
> どうもBigDecimalの仕様を見てると
>
> * BigDecimal.modeという属性があり、どのような時に例外が発
> 生するかグローバルな状態として設定できる
>
> * デフォルトではあらゆる例外を発生させない

そのモードで EXCEPTION_ZERODIVIDE を有効にすると Infinity 自体を作れな
くなるんですね。零割で Infinity を生じるのと、Infinity を作ること...
tadf (tadayoshi funaba)
03:23 AM Bug #793 (Closed): BigDecimal('Infinity').to_r が零になる
=begin
fixed by r20360.
=end
matz (Yukihiro Matsumoto)
03:15 AM Bug #793: BigDecimal('Infinity').to_r が零になる
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37187] [Bug #793] BigDecimal('Infinity').to_r が零になる"
on Tue, 25 Nov 2008 23:29:59 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|$ ./ruby -rbigdecimal -e "p BigDecimal('...
matz (Yukihiro Matsumoto)
10:57 PM Feature #578: add method to disassemble Proc objects
=begin
thanks for looking into that :)
-=R
=end
rogerdpack (Roger Pack)
02:30 PM Revision b0f3bd5d (git): * strftime.c (STRFTIME): use rb_strftime() recursively, instead of
platform's strftime().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:04 PM Revision 0434b0f0 (git): * ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zero
division should raise FloatDomainError if mode
VP_EXCEPTION_ZERODIVIDE is set. [ruby-dev:37204]
* ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle
VP_EXCEPTION_ZERODIVIDE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
matz (Yukihiro Matsumoto)
01:41 PM Revision 527701d5 (git): add comment and test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:18 AM Bug #797: bug or feature: local method ?
=begin
On Tue, Nov 25, 2008 at 12:20 PM, Ezra Zygmuntowicz <ezmobius@gmail.com> wrote:
>
> On Nov 25, 2008, at 11:05 AM, Dave Thomas wrote:
>
>>
>> On Nov 25, 2008, at 12:59 PM, Yukihiro Matsumoto wrote:
>>
>>> But your post made...
bitsweat (Jeremy Daer)
04:10 AM Bug #797: bug or feature: local method ?
=begin

On Nov 25, 2008, at 12:59 PM, Yukihiro Matsumoto wrote:

> But your post made me think using this syntax in the future might be
> impossible. It already abused somewhere (in the real code). Sigh.

I'm OK if you deprecate...
pragdave (Dave Thomas)
04:04 AM Bug #797: bug or feature: local method ?
=begin
Hi,

In message "Re: [ruby-core:20098] Re: [Bug #797] bug or feature: local method ?"
on Wed, 26 Nov 2008 03:52:55 +0900, Dave Thomas <dave@pragprog.com> writes:
|
|> Even though it's syntactically allowed, we have never...
matz (Yukihiro Matsumoto)
03:57 AM Bug #797: bug or feature: local method ?
=begin

On Nov 25, 2008, at 12:44 PM, Yukihiro Matsumoto wrote:

> Even though it's syntactically allowed, we have never made it
> "official". The current behavior is useless. It's not a bug either.
> It's undocumented and should...
pragdave (Dave Thomas)
03:51 AM Bug #797 (Closed): bug or feature: local method ?
=begin

=end
matz (Yukihiro Matsumoto)
03:49 AM Bug #797: bug or feature: local method ?
=begin
Hi,

In message "Re: [ruby-core:20092] [Bug #797] bug or feature: local method ?"
on Wed, 26 Nov 2008 03:20:35 +0900, Francois Proulx <redmine@ruby-lang.org> writes:

|It's possible to create a method inside a method. I'...
matz (Yukihiro Matsumoto)
03:25 AM Bug #797 (Closed): bug or feature: local method ?
=begin
It's possible to create a method inside a method. I've never see any mention of this in any documentation. It's a feature that is officially part the spec of the language or it's a bug ?
=end
Francoys_Proulx (Francois Proulx)
06:39 AM Revision 27e3cc84 (git): * ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:15 AM Revision ece7e2a5 (git): mention fixed memory leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:33 AM Revision b0bbe8ae (git): * 2008-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 AM Revision 2fa77408 (git): * ext/gdbm/gdbm.c: do not set members of RSTRING(str) directly.
[ruby-dev:37182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:22 AM Bug #786 (Closed): Time#strftime で %s が負である場合に桁を間違える
=begin
fixed by r20352.
=end
matz (Yukihiro Matsumoto)
03:08 AM Bug #794 (Closed): BigDecimal が Segmentation fault で落ることがある
=begin
Applied in changeset r20359.
=end
matz (Yukihiro Matsumoto)
12:00 AM Bug #794 (Closed): BigDecimal が Segmentation fault で落ることがある
=begin
$ ./ruby -r bigdecimal -e 'BigDecimal("1"*10000000)'
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (2008-11-25 revision 20353) [i686-linux]

-- control frame ----------
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :...
tadf (tadayoshi funaba)
12:43 AM Bug #781: Numeric#step で step として Infinity をつかうと NaN を生成することがある
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37188] [Bug #781] Numeric#step で step として Infinity をつかうと NaN を生成することがある"
on Tue, 25 Nov 2008 23:39:19 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|単に確認ですが、step が浮動小...
matz (Yukihiro Matsumoto)
12:37 AM Bug #792 (Closed): Time#strftime の %[xXrR] などで幅指定が効かない
=begin
Applied in changeset r20357.
=end
matz (Yukihiro Matsumoto)

11/25/2008

11:43 PM Bug #781: Numeric#step で step として Infinity をつかうと NaN を生成することがある
=begin
単に確認ですが、step が浮動小数点数だと、最初から浮動小数点数になっ
ていて、他の場合と違うように見えます。これはこういうものですか。


$ ./ruby -e "p 0.step(3,1.0){|x| p [x, x.class]}"
[0.0, Float]
[1.0, Float]
[2.0, Float]
[3.0, Float]
0

$ ./ruby -e "p 0.step(3,Ration...
tadf (tadayoshi funaba)
03:41 AM Bug #781 (Closed): Numeric#step で step として Infinity をつかうと NaN を生成することがある
=begin
fixed by r20348.
=end
matz (Yukihiro Matsumoto)
11:31 PM Bug #793 (Closed): BigDecimal('Infinity').to_r が零になる
=begin
$ ./ruby -rbigdecimal -e "p BigDecimal('Infinity').to_r"
(0/1)

1.8 でも同じです。

$ ruby18 -rbigdecimal -rbigdecimal/util -rrational -e "p BigDecimal('Infinity').to_r"
Rational(0, 1)

以前、訊ねたと思うのですが、to_i が nil になるのも問題があ...
tadf (tadayoshi funaba)
11:27 PM Bug #787 (Closed): Time#strftime で %i は "%i" になるのに、%[EO-_] などは "%" に置換される
=begin
Applied in changeset r20355.
=end
matz (Yukihiro Matsumoto)
07:04 AM Bug #787: Time#strftime で %i は "%i" になるのに、%[EO-_] などは "%" に置換される
=begin
> で、これらの修飾子が不完全なまま文字列の終端が来た場合、どう
> するべきなのかは議論の余地があると思います。

%i をそのまま返したり、%- が % に置換される意味はなんなのか、ということ
が気になります。

たとえば、glibc では、パターンに一致しないものはそのまま保存という方針
があったと思います。これは、エンコーディングがらみの問題になるべく中立
的に振る舞おうとするからですが、もし、そういうことに拘らないのであれば、...
tadf (tadayoshi funaba)
02:20 AM Bug #787: Time#strftime で %i は "%i" になるのに、%[EO-_] などは "%" に置換される
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37170] [Bug #787] Time#strftime で %i は "%i" になるのに、%[EO-_] などは "%" に置換される"
on Tue, 25 Nov 2008 00:24:38 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:
|
|Bug #787: Time#...
matz (Yukihiro Matsumoto)
12:29 AM Bug #787 (Closed): Time#strftime で %i は "%i" になるのに、%[EO-_] などは "%" に置換される
=begin
$ ./ruby -e "p Time.now.strftime('%i')"
"%i"

$ ./ruby -e "p Time.now.strftime('%E')"
"%"

$ ./ruby -e "p Time.now.strftime('%-')"
"%"

一般には、まったく置換されないか、存在しないパターンでは "" に置き
換えられることが多いように思います。
=end
tadf (tadayoshi funaba)
11:21 PM Bug #792 (Closed): Time#strftime の %[xXrR] などで幅指定が効かない
=begin
$ ./ruby -e "p Time.now.strftime('%30x')"
"11/25/08"

$ ruby18 -e "p Time.now.strftime('%30x')"
" 11/25/08"
=end
tadf (tadayoshi funaba)
06:32 PM Bug #791 (Closed): Fiber using a Proc object with a parameter having default value doesn't work
=begin
If you pass a Proc with a default value on a parameter into a Fiber, the default value is ignored.

Example by Wolfgang Nádasi-Donner:

irb(main):001:0> p = ->(i=4){i+5}
=> #<Proc:0xe8a370@(irb):1 (lambda)>
irb(main):...
Skade (Florian Gilcher)
06:29 PM Bug #790: Unexpected Behaviour: Fibers as superclass don
=begin
Sorry, hit the wrong button:

Fibers as superclass don't call initialize of derived class. This is probably intended, but not documented.

Description by Wolfgang Nádasi-Donner:

The following code...

class Hugo ...
Skade (Florian Gilcher)
06:27 PM Bug #790 (Closed): Unexpected Behaviour: Fibers as superclass don
=begin
This is possibly just undocumented and intended behaviour:
=end
Skade (Florian Gilcher)
06:19 PM Revision 93283e75 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): raise exception
for nan/inf conversion. [ruby-dev:37187] fix #793
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:02 PM Revision a4263735 (git): * ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoid
segmentation fault caused by (insanely) long decimal values.
[ruby-dev:37189] fix #794
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i,
BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split,
BigDecimal_inspect): ditto...
matz (Yukihiro Matsumoto)
03:28 PM Revision 20681e37 (git): * 2008-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:28 PM Revision 60997906 (git): * strftime.c (STRFTIME): should add padding for %[xXrR] etc.
[ruby-dev:37185] fix: #792
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:29 PM Revision 405b5272 (git): * array.c (rb_ary_times): taint (and untrust) status should be
inherited by "ary * 0". [ruby-dev:37024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:24 PM Revision 446ea127 (git): * strftime.c (rb_strftime): should not swallow incomplete
formatter, e.g. "%E". [ruby-dev:37170] fix: #787
* strftime.c (rb_strftime): clear flags before processing unknown
formatter, e.g. "%i". [ruby-dev:37180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20355 b2dd03c8-39d4-4d8f-98...
matz (Yukihiro Matsumoto)
07:48 AM Bug #786: Time#strftime で %s が負である場合に桁を間違える
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37180] Re: [Bug #786] Time#strftime で %s が負である場合に桁を間違える"
on Tue, 25 Nov 2008 07:34:19 +0900, Tadayoshi Funaba <tadf@dotrb.org> writes:

|> >ruby -e "p Time.at(-1).strftime('[%3s]')"...
matz (Yukihiro Matsumoto)
07:39 AM Bug #786: Time#strftime で %s が負である場合に桁を間違える
=begin
> >ruby -e "p Time.at(-1).strftime('[%3s]')"
>
> の結果は、という話だと思うのですが、ここで0を補っちゃうと空
> 白で補うという指定ができないんじゃないでしょうか。デフォルト
> では空白、%03sは0で補うんじゃないでしょうか。Time.strftimeは
> 現状では空白で補ってます。

%e、%k、%l などは空白ですが、あとは大体 0 ですね。%s はどちらにも分類で
きないパタ...
tadf (tadayoshi funaba)
02:57 AM Bug #786: Time#strftime で %s が負である場合に桁を間違える
=begin
まつもと ゆきひろです

もうひとつ。

In message "Re: [ruby-dev:37168] [Bug #786] Time#strftime で %s が負である場合に桁を間違える"
on Mon, 24 Nov 2008 23:47:08 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|なお、%s が桁を補う場合のデフォルトが 0 なのか空白な...
matz (Yukihiro Matsumoto)
02:44 AM Bug #786: Time#strftime で %s が負である場合に桁を間違える
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37168] [Bug #786] Time#strftime で %s が負である場合に桁を間違える"
on Mon, 24 Nov 2008 23:47:08 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|$ ./ruby -e "p Time.at(-1).strftime('[%...
matz (Yukihiro Matsumoto)
07:09 AM Revision d5a75a35 (git): * string.c (str_independent): no independent string points null_str.
[ruby-core:20082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:42 AM Revision a689e572 (git): * strftime.c (rb_strftime): "%^P" should convert to upper case.
[ruby-dev:37180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:38 AM Bug #779 (Closed): Time#strftime が正しく機能しない
=begin
fixed by r20338.
=end
matz (Yukihiro Matsumoto)
02:37 AM Bug #780 (Closed): Time#strftime で、フラグ 0 が幅と解釈される
=begin
fixed by r20338.
=end
matz (Yukihiro Matsumoto)
02:34 AM Bug #785 (Closed): Time#strftime で %#[ABabh] などが期待する結果にならない
=begin
fixed by r20342.
=end
matz (Yukihiro Matsumoto)
02:33 AM Bug #784 (Closed): Time#strftime で %t、%n について幅指定が無効になる
=begin
fixed by r20340.
=end
matz (Yukihiro Matsumoto)
12:24 AM Revision 15b183c2 (git): * strftime.c (FMT): use "%0d" formatter for zero padding, not "%.d".
[ruby-dev:37168] fix: #768
* strftime.c (rb_strftime): %s to use zero padding by default.
[ruby-dev:37180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)

11/24/2008

11:51 PM Bug #786 (Closed): Time#strftime で %s が負である場合に桁を間違える
=begin
$ ./ruby -e "p Time.at(-1).strftime('[%03s]')"
"[-001]"

ちなみにうちの環境だと glibc がボロボロのよう。

$ ruby18 -e "p Time.at(-1).strftime('[%05s]')"
"[000-1]"

$ ruby18 -e "p Time.at(-1).strftime('[%05z]')"
"[0000+00900]"

...
tadf (tadayoshi funaba)
11:27 PM Bug #782 (Closed): 余分な外部シンボル
=begin
Applied in changeset r20341.
=end
matz (Yukihiro Matsumoto)
11:13 PM Bug #782: 余分な外部シンボル
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37158] [Bug #782] 余分な外部シンボル"
on Mon, 24 Nov 2008 21:14:44 +0900, Tadashi Saito <redmine@ruby-lang.org> writes:
|
|Bug #782: 余分な外部シンボル
|http://redmine.ruby-lang.org/issues/show/782
...
matz (Yukihiro Matsumoto)
09:19 PM Bug #782 (Closed): 余分な外部シンボル
=begin
無意味に外部シンボルを増やさないでください。

Index: signal.c
===================================================================
--- signal.c (revision 20337)
+++ signal.c (working copy)
@@ -49,7 +49,6 @@

#if defined(SIGSEGV)...
tad (Tadashi Saito)
11:04 PM Bug #780: Time#strftime で、フラグ 0 が幅と解釈される
=begin
前田です。

2008/11/24 22:52 Tadayoshi Funaba <tadf@dotrb.org>:
>> $ ruby-trunk -ve "p Time.at(0.012345678).strftime('%_10N')"
>> ruby 1.9.0 (2008-11-24 revision 20338) [i686-linux]
>> "0123456780"
>>
>> これは"012345678 "になるべきでしょ...
shugo (Shugo Maeda)
10:57 PM Bug #780: Time#strftime で、フラグ 0 が幅と解釈される
=begin
> > %0N、%0L が幅が零の文字列を作り出します。しかし、0 は一貫し
> > てフラグとして解釈されるべきだと思います。
>
> とりあえず上記のケースは修正しましたが、そもそも_のようなフラグ
> が効いてないようですね。

なるほど。

> $ ruby-trunk -ve "p Time.at(0.012345678).strftime('%_10N')"
> ruby 1.9.0 (2008-11-24 revisio...
tadf (tadayoshi funaba)
10:26 PM Bug #780: Time#strftime で、フラグ 0 が幅と解釈される
=begin
前田です。

2008/11/24 20:21 tadayoshi funaba <redmine@ruby-lang.org>:
> $ ./ruby -e "p Time.mktime(1970,1,1).strftime('%0N')"
> ""
>
> %0N、%0L が幅が零の文字列を作り出します。しかし、0 は一貫し
> てフラグとして解釈されるべきだと思います。

とりあえず上記のケースは修正しましたが、そもそも_のような...
shugo (Shugo Maeda)
08:25 PM Bug #780 (Closed): Time#strftime で、フラグ 0 が幅と解釈される
=begin
$ ./ruby -e "p Time.mktime(1970,1,1).strftime('%0N')"
""

%0N、%0L が幅が零の文字列を作り出します。しかし、0 は一貫し
てフラグとして解釈されるべきだと思います。
=end
tadf (tadayoshi funaba)
10:24 PM Bug #785 (Closed): Time#strftime で %#[ABabh] などが期待する結果にならない
=begin
$ ./ruby -e "p Time.now.strftime('[%#A]')"
"[Monday]"

$ ruby18 -e "p Time.now.strftime('[%#A]')"
"[MONDAY]"
=end
tadf (tadayoshi funaba)
09:49 PM Bug #784 (Closed): Time#strftime で %t、%n について幅指定が無効になる
=begin
$ ./ruby -e "p Time.now.strftime('[%010t]')"
"[\t]"

$ ./ruby -e "p Time.now.strftime('[%010n]')"
"[\n]"

$ ruby18 -e "p Time.now.strftime('[%010t]')"
"[000000000\t]"

$ ruby18 -e "p Time.now.strftime('[%010n]')...
tadf (tadayoshi funaba)
09:00 PM Bug #781 (Closed): Numeric#step で step として Infinity をつかうと NaN を生成することがある
=begin
1.0/0 = Infinity として

$ ./ruby -ve "0.step(10,1.0/0){|x| p x}"
ruby 1.9.0 (2008-11-24 revision 20336) [i686-linux]
NaN

1.8 も同じですが、1.6 はなりません。

$ ruby168 -ve "0.step(10,1.0/0){|x| p x}"
ruby 1.6.8 (2002-12-24) [...
tadf (tadayoshi funaba)
08:14 PM Bug #779 (Closed): Time#strftime が正しく機能しない
=begin
以下のように、%w の結果が得られない事があるようです。

$ ./ruby -e "p Time.mktime(1970,1,18).strftime('%Y %U %w')"
"1970 03 "

0 である場合におかしいのかもしれません。

$ ./ruby -e "p Time.mktime(1970,1,17).strftime('%Y %U %w')"
"1970 02 6"
$ ./ruby -e "p...
tadf (tadayoshi funaba)
06:50 PM Revision 264e35b5 (git): * 2008-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:50 PM Revision 9bb9f4ec (git): * ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb:
fix many bugs. Now, those work properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
06:49 PM Revision 9a206a80 (git): * ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb:
fix many bugs. Now, those work properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
06:40 PM Revision 012fee94 (git): * numeric.c (num_step): treat infinite step specially.
[ruby-dev:37157] fix: #781.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:32 PM Bug #731 (Closed): Net::HTTPHeader []= method does not work as expected
=begin
we cannot reproduce the problem on the latest.
=end
matz (Yukihiro Matsumoto)
06:29 PM Bug #702 (Closed): 1+1+1+...+1 dumps core
=begin
fixed by r20293 (on linux).
=end
matz (Yukihiro Matsumoto)
04:26 PM Revision 46717246 (git): * lib/date/format.rb (strftime): ignores '_' flag for %[LN].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:08 PM Revision 4d6d0a93 (git): * process.c (rb_fork): stops the timer thread during fork.
[ruby-dev:37117]
* thread.c (rb_thread_start_timer_thread): timer thread needs
system_working to be set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 PM Revision 652b6f19 (git): * lib/logger.rb: imported upstream version (logger/1.2.7)
* do not raise an exception even if log writing failed.
* do not raise ShiftingError if an aged file already exists.
(no ShiftingError will be raised from 1.2.7, just warn() instead)
* test/logger/test_logge...
Hiroshi Nakamura
02:48 PM Revision c1221d04 (git): * 2008-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:48 PM Revision 49ff3955 (git): * time.c: RDoc typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
02:29 PM Revision 361a713f (git): * strftime.c (rb_strftime): The # flag should work with %a, %A, %b,
%B, and %h. [ruby-dev:37162]
* test/ruby/test_time.rb (test_strftime): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:25 PM Revision 3380a05b (git): * signal.c (register_sigaltstack): should not add external
variable (with some cosmetic changes). [ruby-dev:37158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:01 PM Revision bf1d53e2 (git): * strftime.c (rb_strftime): A width specifier for %t and %n should
work. [ruby-dev:37160]
* test/ruby/test_time.rb (test_strftime): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
01:10 PM Revision aa498028 (git): * strftime.c (rb_strftime): The precision of %0N should be 9.
[ruby-dev:37156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:42 PM Revision 32aed810 (git): * strftime.c (rb_strftime): The default precision should be 1, not
0. [ruby-dev:37155]
* test/ruby/test_time.rb (test_strftime): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
10:55 AM Revision 15378558 (git): * lib/date.rb (inspect): changed again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:38 AM Revision 417b288d (git): * 2008-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:38 AM Revision 66041e3e (git): * lib/time.rb: r20251 reverted. The patched behavior do not round
trip. [ruby-core:19988]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:08 AM Feature #578: add method to disassemble Proc objects
=begin
I want to fix it with modifying ISeq#disasm to receive Proc object on 1.9.2. Sorry for late response.
=end
ko1 (Koichi Sasada)

11/23/2008

01:27 PM Bug #775 (Closed): trunk build fails on Mac OS X 10.5.5
=begin
Applied in changeset r20331.
=end
yugui (Yuki Sonoda)
10:58 AM Bug #775: trunk build fails on Mac OS X 10.5.5
=begin
you can get by this temporarily by commenting out the calls to register_sigalstack in signal.c
GL
-=R
=end
rogerdpack (Roger Pack)
10:02 AM Bug #775 (Closed): trunk build fails on Mac OS X 10.5.5
=begin
I have trunk r20317 checked out on a Mac OS X 10.5.5 Intel Core 2 Duo system and have the following error compiling:

[matzruby.git (trunk)]$ autoconf && ./configure --prefix=/Users/stephen/dev/ruby/builds/mri/trunk
[matzr...
stepheneb (Stephen Bannasch)
11:35 AM Bug #743: Socket.gethostbyname returns odd values
=begin
If adding back a TCPSocket.gethostbyname that eliminated that step got this patch accepted I'd be happy to do that. I still believe that gethostbyname/gethostbyaddr should behave like their POSIX namesakes, and that returning th...
alanwj (Alan Johnson)
08:17 AM Bug #743: Socket.gethostbyname returns odd values
=begin
Does this require you to now use Socket.inet_ntoa ? That seems kind of stepping backward...then again, I am a little inherently lazy :)
Thanks!
-=R
=end
rogerdpack (Roger Pack)
07:07 AM Revision 28e9777e (git): * signal.c (default_handler, Init_signal): compile error if
USE_SIGALTSTACK is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
07:07 AM Revision 0abd67ea (git): * signal.c (default_handler, Init_signal): compile error if
USE_SIGALTSTACK is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:44 AM Revision 9ec2adf8 (git): * ext/pty/pty.c: reverts 20326. [ruby-dev:37146].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
04:17 AM Revision 7606241c (git): * 2008-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 AM Revision 7c9a77f8 (git): * signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X.
Uses SIGSTKSZ. this fixes [ruby-core:20040].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)

11/22/2008

03:02 PM Revision 9278a97b (git): * 2008-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 11f692e8 (git): * lib/time.rb: reverts r20305. [ruby-dev:37144].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:53 PM Revision d2cd7f72 (git): merges r20304 from trunk into ruby_1_9_1.
* file.c (rb_file_world_writable_p): should return nil for non
world-writable files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:52 PM Revision 3569a8ec (git): merges r20299 and r20303 from trunk into ruby_1_9_1.
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:52 PM Revision 9fd68bfe (git): merges r20298 from trunk into ruby_1_9_1.
* ext/pty/pty.c (get_device_once): abandon asynchronous exception
that might cause serious problem if a program terminated early.
asynchronous exception is a very bad thing anyway. use
Process.waitpid(pid) or PTY.check(pid) to pol...
yugui (Yuki Sonoda)
02:52 PM Revision 4c0a702c (git): merges r20295 from trunk into ruby_1_9_1.
* ruby.c (usage): -W description updated. [ruby-core:19858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:52 PM Revision d9370969 (git): * signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X.
Uses SIGSTKSZ.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:52 PM Revision 54a59308 (git): merges r20293 from trunk into ruby_1_9_1.
* signal.c (register_sigaltstack): use alternative stack for
SIGSEGV to avoid uncaught stack overflow. based on a patch from
Hiro Yoshioka <hyoshiok at miraclelinux.com> in [ruby-dev:37134].
[ruby-dev:36993]
git-svn-id: svn+ssh://...
yugui (Yuki Sonoda)
02:52 PM Revision 290f2b0c (git): merges r20291 from trunk into ruby_1_9_1.
* vm.c (thread_free): th->vm may be NULL when pthread_create
failed for ENOMEM. [ruby-dev:37095]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:52 PM Revision 1e92c0b9 (git): merges r20290 from trunk into ruby_1_9_1
* lib/logger.rb (Logger): should handle the case that cvs/svn do
not expand $Id keyword. [ruby-core:19991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:51 PM Revision dc3c09cb (git): merges r20288 from trunk into ruby_1_9_1.
* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
indentation to shut up warning. [ruby-core:19993]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:51 PM Revision 6e22e6b7 (git): merges r20286 from trunk into ruby_1_9_1.
* ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a value
out of range of Time. [ruby-core:19919]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:50 PM Revision 3a272994 (git): * test/ruby/test_method.rb (TestMethod#test_default_accessibility):
fixed a wrong expectation in the test case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:41 PM Revision 31c82916 (git): * test/ruby/test_method.rb (TestMethod#test_default_accessibility):
fixed a wrong expectation in the test case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:36 PM Revision b53d7429 (git): merges r20309 from ruby_1_9_1 to trunk.
* test/cgi/test_cgi_session.rb (setup, teardown): uses a temporary
directory for testing session stores.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:34 PM Revision 9ba0b674 (git): * test/ruby/test_method.rb (test_default_accessiblity): test case for
[ruby-dev:37124].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:34 PM Revision ab8114f4 (git): * test/ruby/test_method.rb (test_default_accessiblity): test case for
[ruby-dev:37124].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:13 PM Revision d6acdffa (git): merges r20285 from trunk into ruby_1_9_1.
* node.h (NOEX_MODFUNC): should be include NOEX_PRIVATE.
[ruby-dev:37124]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:13 PM Revision 7099b7d4 (git): merges r20281 from trunk into ruby_1_9_1.
* ChangeLog: fixed date format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:13 PM Revision aafe2922 (git): merges r20280 from trunk into ruby_1_9_1.
* vm_exec.h (RUBY_VM_EXEC_H): fixed include guard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:12 PM Revision 92d814a8 (git): merges r20276 and r20278 from trunk into ruby_1_9_1.
fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:12 PM Revision 41bb8815 (git): merges r20275 from trunk into ruby_1_9_1.
* error.c (Init_syserr): moved function definition itself from
template/known_errors.inc.tmpl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:11 PM Revision da9c2dc5 (git): * test/cgi/test_cgi_session.rb (setup, teardown): uses a temporary
directory for testing session stores.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:11 PM Revision 3f53f289 (git): merges r20257 from trunk into ruby_1_9_1.
fixed NoMethodError problem from NaHi [ruby-dev:37110].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:11 PM Revision 93a44fb2 (git): merges r20256 from trunk into ruby_1_9_1.
* cont.c (cont_mark, cont_capture, cont_restore_1): speed up
continuation by copying only valid YARV stack. [ruby-dev:37106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:10 PM Revision 46759279 (git): * 2008-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:10 PM Revision 04800d3d (git): merges r20251 from trunk into ruby_1_9_1.
* lib/time.rb: according to RFC2822, -0000 means local time, +0000
means UTC. a patch from Chun Wang. [ruby-core:19578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:28 AM Revision c5ce3ea0 (git): * file.c (rb_file_world_writable_p): should return nil for non
world-writable files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:47 AM Bug #694 (Closed): eof? call on a pty IO object causes application to exit
=begin
Applied in changeset r20298.
=end
matz (Yukihiro Matsumoto)
01:43 AM Revision 89f11183 (git): * ext/tk/lib/tkextlib/version.rb, ext/tk/ChangeLog.tkextlib: update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
01:43 AM Revision 3361fdc1 (git): * ext/tk/lib/tkextlib/version.rb, ext/tk/ChangeLog.tkextlib: update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
01:38 AM Revision 4ea68164 (git): * 2008-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision c65828a8 (git): * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
01:37 AM Revision 2e1ee398 (git): * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
12:14 AM Bug #742: 1.9.1-preview1 build fails on Mac OS X 10.4
=begin
This issue has been both confirmed, but also reported to be solved in the latest nightly builds. See the mp ticket.
=end
febeling (Florian Ebeling)
 

Also available in: Atom