Project

General

Profile

Activity

From 04/08/2009 to 04/14/2009

04/14/2009

09:10 PM Bug #1379 (Closed): Dir.glob should not convert entries on UNIX
=begin
こんばんは sheepman です。

r23189 の適用後でも以下のように Shift_JIS のファイル名がある場合に
例外が発生しますが、これはこういうものでしょうか。Dir.glob の目的から
言っ...
sheepman (Takashi Tamura)
06:17 PM Bug #1378 (Closed): Dir.glob should not convert entries on UNIX
=begin
Applied in changeset r23189.
=end
nobu (Nobuyoshi Nakada)
04:23 PM Bug #1378 (Closed): Dir.glob should not convert entries on UNIX
=begin
ujihisaといいます。

r23171 から、bracketを含むDir.globがうまく動いていませんでした。
$ ./ruby -e "p Dir.glob('/[ae]tc/')"
[]

以下は...
ujihisa (Tatsuhiro Ujihisa)
05:22 PM Bug #1336: Change in string representation of Floats
=begin

On Apr 13, 2009, at 00:19 , Eero Saynatkari wrote:

> I think I am in agreement, but I would like to ame...
zenspider (Ryan Davis)
03:06 PM Bug #1336: Change in string representation of Floats
=begin
Gary Wright wrote:
>
> I don't think it is even possible unless you introduce binary (or maybe
> hex) flo...
shyouhei (Shyouhei Urabe)
02:22 PM Bug #1336: Change in string representation of Floats
=begin
Yukihiro Matsumoto wrote:
> The reason for the change (increased precision) was too many people do
> not un...
headius (Charles Nutter)
02:05 PM Bug #1336: Change in string representation of Floats
=begin
Hi,

In message "Re: [ruby-core:23189] Re: [Bug #1336] Change in string representation of Floats"
on M...
matz (Yukihiro Matsumoto)
01:45 PM Bug #1336: Change in string representation of Floats
=begin
currently (for curiosity sake) trunk does:

>> [1,2,3].to_s
=> "[1, 2, 3]"
>> [1,2,3].inspect
=> "[...
rogerdpack (Roger Pack)
09:11 AM Revision 205c4b49 (git): * dir.c (bracket): if same in bytes, path is matching.
[ruby-dev:38305]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:25 AM Feature #1377: Please provide constant File::NOATIME
=begin
For the curious, my intended use for this is in http://launchpad.net/foton when scanning for images.
=end
walles (Johan Walles)
02:19 AM Feature #1377 (Closed): Please provide constant File::NOATIME
=begin
I would like to be able to specify File::NOATIME mode when opening a file through File.new():

irb(main):...
walles (Johan Walles)

04/13/2009

05:28 PM Bug #1376: inline symbols/fixnums in a case expression do not honor an overwritten #=== method
=begin
In case of variable, it works.

class Symbol
def ===(o)
p 42
true
end
end

# th...
phasis68 (Heesob Park)
02:45 PM Bug #1376 (Closed): inline symbols/fixnums in a case expression do not honor an overwritten #=== method
=begin
The case expression in Ruby 1.9 does not seem to honor the fact that Symbol#=== could have been overwritten p...
lrz (Laurent Sansonetti)
04:19 PM Bug #1336: Change in string representation of Floats
=begin
Excerpts from Yukihiro Matsumoto's message of Mon Apr 13 05:17:28 +0300 2009:
> Perhaps we need 3 ways for s...
rue (Eero Saynatkari)
01:12 PM Bug #1336: Change in string representation of Floats
=begin

I'm not sure I understand the difference between "mere string" and "human
readable" representations.
Coul...
brent (Brent Roman)
11:17 AM Bug #1336: Change in string representation of Floats
=begin
Hi,

In message "Re: [ruby-core:23187] Re: [Bug #1336] Change in string representation of Floats"
on M...
matz (Yukihiro Matsumoto)
10:55 AM Bug #1336: Change in string representation of Floats
=begin

Perhaps I'm not understanding the question.
Consider:

s = "string"
s.inspect ==> "string" #this w...
brent (Brent Roman)
07:28 AM Bug #1336: Change in string representation of Floats
=begin
Hi,

In message "Re: [ruby-core:23181] Re: [Bug #1336] Change in string representation of Floats"
on S...
matz (Yukihiro Matsumoto)
12:58 PM Bug #1375 (Closed): Zlib::GzipReaderに対するエンコーディング指定
=begin
Zlib::GzipReaderでエンコーディングを指定しても効果がないようですが、これはそういうもので、
読んだ結果を適宜エンコーディングするのが正しいやり方でしょうか。

$irb -rzlib --p...
sakuro (Sakuro OZAWA)
08:21 AM Revision 946fe699 (git): * sprintf.c (rb_str_format): scan coderange incrementally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:40 AM Revision b2ac99df (git): * sprintf.c (rb_str_format): optimize previous commit.
[ruby-list:45954]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:00 AM Revision 87335c3e (git): * sprintf.c (rb_str_format): check encoding compatibility only on
real parts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

04/12/2009

02:03 PM Revision 48667901 (git): merges r22902 from trunk into ruby_1_9_1.
--
* io.c (copy_stream_fallback_body): off_t may be larger than long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
yugui (Yuki Sonoda)
02:03 PM Revision ea258b36 (git): merges r22901 from trunk into ruby_1_9_1.
--
* iseq.c (rb_iseq_disasm): RSTRING_LEN() returns long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
yugui (Yuki Sonoda)
02:03 PM Revision fe5fa9be (git): merges r22900 from trunk into ruby_1_9_1.
--
* process.c (rb_f_sleep): time() needs time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23...
yugui (Yuki Sonoda)
02:03 PM Revision d21f0f42 (git): merges r22898 from trunk into ruby_1_9_1.
--
* thread_pthread.c (ruby_init_stack): range of rlim_cur may be
larger than int.
git-svn-id: svn+ssh://ci.ruby-l...
yugui (Yuki Sonoda)
02:03 PM Revision 45b4a724 (git): merges r22891 from trunk into ruby_1_9_1.
--
* ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol
name. [ruby-dev:38150]
git-svn-id: svn+ssh:/...
yugui (Yuki Sonoda)
02:02 PM Revision 1eba6170 (git): merges r22883 from trunk into ruby_1_9_1.
--
* ext/dl/handle.c (rb_dlhandle_sym): fixed heap corruption.
[ruby-core:22822]
git-svn-id: svn+ssh://ci.ruby-lan...
yugui (Yuki Sonoda)
02:02 PM Revision 318d48df (git): merges r22870 from trunk into ruby_1_9_1.
--
* win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SO
and so on. based on a patch by Charlie Savage ...
yugui (Yuki Sonoda)
02:02 PM Revision 7a54bfe2 (git): merges r22869 from trunk into ruby_1_9_1.
--
* win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb so
that extconf.rb could refer it. [ruby-core:22...
yugui (Yuki Sonoda)
02:02 PM Revision f6895634 (git): merges r22744 from trunk into ruby_1_9_1.
--
* lib/csv.rb: Some minor documentation fixes from Gregory Brown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
yugui (Yuki Sonoda)
02:02 PM Revision 447818ea (git): merges r22741 from trunk into ruby_1_9_1.
--
* lib/prime.rb (Prime::prime?): used to return a wrong answer.
[ruby-core:22646].
* test/test_prime.rb (test_p...
yugui (Yuki Sonoda)
02:02 PM Revision 59429eeb (git): merges r22777 from trunk into ruby_1_9_1.
--
* win32/Makefile.sub (miniruby.exe): workaround for a failure of
mt.exe on Windows 7 beta. [ruby-talk:330284]
...
yugui (Yuki Sonoda)
02:02 PM Revision 13147305 (git): merges r22769 from trunk into ruby_1_9_1.
--
* win32/README.win32 (Requirement): VC++ 5.0 is not supported
already.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
yugui (Yuki Sonoda)
02:01 PM Revision 6069996a (git): * 2009-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:01 PM Revision 3f12adfa (git): merges r22765 from trunk into ruby_1_9_1.
--
* lib/thread.rb (SizedQueue#push): fix limit condition.
[ruby-dev:38135]
git-svn-id: svn+ssh://ci.ruby-lang.org...
yugui (Yuki Sonoda)
10:54 AM Revision 207becd9 (git): * dir.c (bracket, fnmatch_helper): compare bytewise first, to get
rid of invalid byte sequence. [ruby-dev:38303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23171 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
03:59 AM Bug #1336: Change in string representation of Floats
=begin

Your latter example seems quite nice.
Especially if it would accept unabbreviated forms such as this:

0...
brent (Brent Roman)
03:53 AM Bug #1336: Change in string representation of Floats
=begin

I'd prefer that Float#to_s => rounded, Float#inspect => non rounded
(i.e. 0.9.inspect => "0.8999999999")
...
brent (Brent Roman)

04/11/2009

04:03 PM Bug #1336: Change in string representation of Floats
=begin
Hi,

At Sat, 11 Apr 2009 15:17:24 +0900,
Roger Pack wrote in [ruby-core:23179]:
> Is this satisfactory, o...
nobu (Nobuyoshi Nakada)
03:17 PM Bug #1336: Change in string representation of Floats
=begin
I like the recent change. Now it acts like this:

>> 0.9
=> 0.9
>> 2.1 - 3.0
=> -0.89999999999999...
rogerdpack (Roger Pack)
03:42 PM Feature #1031 (Assigned): -U オプションの説明が --help にない
=begin

=end
nobu (Nobuyoshi Nakada)
01:11 PM Feature #1031: -U オプションの説明が --help にない
=begin
権限のある方、ステータスを Assigned に変更してください。
=end
sakuro (Sakuro OZAWA)
11:41 AM Feature #1374 (Closed): location of already initialized constant
=begin
なかだです。

初期化済み定数の警告で、定義された場所を表示するのはどうでしょうか。

$ ./ruby -e X=1 -e X=2
-e:2: warning: already initiali...
nobu (Nobuyoshi Nakada)
12:04 AM Revision 63347979 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/10/2009

11:45 PM Revision 6e785b17 (git): * configure.in (Makefile): phoeny ruby target needs empty command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:18 AM Bug #1372: Kernel.catch not accepting &block
=begin
Suraj Kurapati wrote::
> $ cat catch.rb
> b = lambda { throw :foo }
> catch :foo, &b
...
> catch.rb:2:i...
ko1 (Koichi Sasada)
06:51 AM Bug #1372 (Closed): Kernel.catch not accepting &block
=begin
Please observe:


$ cat catch.rb
b = lambda { throw :foo }
catch :foo, &b


$ multiruby catc...
sunaku (Suraj Kurapati)
02:32 AM Revision 4ab8fb1a (git): * common.mk (up): updates timestamp file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/09/2009

07:54 PM Revision 5c532941 (git): * configure.in (Makefile): info-program needs common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:46 PM Revision 3a60f6ef (git): * configure.in (RUBY_INSTALL_NAME): use --program-transform-name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:01 PM Revision 8191f129 (git): * instruby.rb, mkconfig.rb: deal with --program-transform-name
better. now supports s, y commands and single addressing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23165 ...
nobu (Nobuyoshi Nakada)
02:59 PM Revision 7bce5959 (git): * 2009-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:59 PM Revision 07aede58 (git): * configure.in: don't override the rule for ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:44 AM Bug #1370 (Closed): in `glob': invalid byte sequence in UTF-8
=begin
Code page is CP949 and file name is "\xC7\xD1.exe"

Here is sample code:
# encoding: UTF-8
a = Dir.gl...
phasis68 (Heesob Park)
11:28 AM Bug #1366 (Assigned): Pathname#relative_path_from should handle the scenario where the argument uses a different case for the Windows drive letter
=begin
Already fixed in r23093, and would be backported by the next patch release.
=end
nobu (Nobuyoshi Nakada)
02:40 AM Bug #1366 (Closed): Pathname#relative_path_from should handle the scenario where the argument uses a different case for the Windows drive letter
=begin
On Windows, the case of the drive letter can be either upper case or lower case (eg, "C:" or "c:") on the sam...
shri (Shri Borde)
09:04 AM Bug #1368 (Closed): ruby19 trunk (svn revision 23160) build fails compiling dl ext on win32
=begin
Hi,

In attempting to build from the current svn trunk (revision 23160)
on win32, I'm getting a failure...
spatulasnout (B Kelly)
08:01 AM Bug #1367 (Closed): flatten(0) is not consistent with flatten(), flatten(1), etc.
=begin
> a = [1, 2]
> a2 = a.flatten
> a2 << :a
> a2
=> [1, 2, :a]
> a
=> [1, 2]

> b = [3, 4]
> b...
pjlewis (Paul Lewis)
03:56 AM Feature #578: add method to disassemble Proc objects
=begin
Any progress on this? any way I can help?
Thanks!
-=r
=end
rogerdpack (Roger Pack)
02:11 AM Revision d58b0f8e (git): * 2009-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:11 AM Revision 27a12555 (git): * ext/nkf/nkf.c: RDoc typo fixed. [ruby-core:23170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)

04/08/2009

10:07 PM Bug #1365 (Closed): String#dump with non-ascii-compatible string provides invalid code
=begin
Applied in changeset r23160.
=end
mame (Yusuke Endoh)
09:58 PM Bug #1365 (Closed): String#dump with non-ascii-compatible string provides invalid code
=begin
遠藤です。

アスキー非互換な文字列を String#dump すると eval できない文字列が
得られました。

$ ./ruby -e 'p "\u3042".encode("UTF-16LE").du...
mame (Yusuke Endoh)
09:59 PM Bug #1342: signal handling on HP-UX
=begin
OK, so the problem with Segmentation faults was related to the previous changes I had made to use getcontext/...
graza (Graham Agnew)
08:59 PM Bug #1342: signal handling on HP-UX
=begin
Some progress on this:

In the HP-UX documentation it says that on Itanium, PTHREAD_STACK_MIN is 256KB. ...
graza (Graham Agnew)
08:23 PM Bug #1364 (Closed): /usr/local/lib/ruby/1.9.1/rexml/text.rb:375: [BUG] Segmentation fault
=begin
ruby 1.9.1p0 with mysql-ruby-2.8.1 running on SuSE Linux Enterprise Server 10 SP1 running Ruby program oddbod...
kpmurray (Kevin Murray)
02:38 PM Bug #1363 (Rejected): Wrong value for Hash of NaN
=begin
Ruby cannot handle NaN as a unique key of Hash.

Here is an example:

irb(main):001:0> h = {}
=> {}...
phasis68 (Heesob Park)
01:05 PM Revision a5596dc6 (git): * string.c (rb_str_dump): buffer length plus one byte for null
terminator. [ruby-dev:38294]
* test/ruby/test_m17n.rb (test_str_dump): add a test for above.
git-svn-id: svn+ssh:...
mame (Yusuke Endoh)
11:08 AM Revision 6387c5dc (git): * string.c (rb_str_rstrip_bang): should not sign-expand non-ascii.
[ruby-core:23158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:48 AM Revision c9ad044d (git): * test/ruby/test_string.rb (test_chop, test_chop!): tests for [ruby-core:23155].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:00 AM Bug #1361: Configure fails to recognize the absence of bison
=begin
Hi,

At Wed, 8 Apr 2009 06:16:43 +0900,
Wesha the Leopard wrote in [ruby-core:23148]:
> Bison is NOT inst...
nobu (Nobuyoshi Nakada)
06:16 AM Bug #1361 (Rejected): Configure fails to recognize the absence of bison
=begin
There is a line "YACC = bison" in Makefile.in; but configure fails to recognize the absence of bison

Bis...
wesha (Wesha the Leopard)
09:59 AM Revision e1a304ff (git): merge revision(s) 19486:
* win32/win32.c (subtruct): check tv_sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23156 b2d...
shyouhei (Shyouhei Urabe)
08:31 AM Revision 8b95a0df (git): * string.c (rb_str_chop_bang): reset coderange. [ruby-core:23155]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:00 AM Revision a6fa5855 (git): * lib/mkmf.rb (what_type?): fixed typo, and refined for member of
aggregation types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:57 AM Revision 6b806a8a (git): * lib/mkmf.rb (Logging.postpone): copy postponed output always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:57 AM Revision 64be577b (git): * lib/mkmf.rb (Logging.postpone): copy postponed output always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:46 AM Revision 0b05fc5a (git): * lib/mkmf.rb (what_type?): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:42 AM Bug #1357: Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers
=begin
Hi,

At Mon, 6 Apr 2009 19:38:09 +0900,
Ollivier Robert wrote in [ruby-core:23137]:
> clang uses __clang_...
nobu (Nobuyoshi Nakada)
12:46 AM Revision 34f01201 (git): * configure.in (LIBRUBY_SO): removed redundant additional version
numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom