Activity
From 11/14/2009 to 11/20/2009
11/20/2009
-
09:40 PM Bug #2390 (Closed): Marshal.dump pass a hidden object
- =begin
以下のようにすると、hidden T_STRING object であるとされて例外になります。
$ ruby -ve '
r, w = IO.pipe
def w.write(str)
p str
end
Marshal.dump(Object.new, w)
'
ruby 1.9.2dev (2009-11-20 trunk 25868) [i386-mingw32]
-e:4:in `p': metho... -
03:49 PM Bug #2388 (Rejected): test-all 中に popen で ruby.exe が落ちる
- =begin
開発環境は Visual Studio 2008 Express Edition です。
以下に nmake test-all のログを添付します。
C:\src\ruby.git\build>nmake test-all
Microsoft(R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. Al... -
03:38 PM Bug #2387 (Closed): test/mkmf/base.rb は RbConfig::CONFIG['cppflags'] が nil のとき例外で止まる
- =begin
test/mkmf/base.rb は RbConfig::CONFIG['cppflags'] と CONFIG['cppflags'] が
nil ではないことを前提に書かれており、これらが nil の場合に NoMethodError で止まります。
開発環境は Visual Studio 2008 Express Edition です。
添付のパッチを当てれば治ります。
=end
-
12:17 PM Bug #2369: ENV's strange behavior on WinXP
- =begin
=end
-
11:58 AM Bug #2369: ENV's strange behavior on WinXP
- =begin
(単なるメモです)
前者はGetEnvironmentStringsA()のバグ。Wを使えば回避可能ではある。
後者はさっきのは私の勘違いで、msvcrtのputenv()のバグ。1.9.1ではputenv()使ってないので落ちはしない。
=end
-
11:28 AM Bug #2369: ENV's strange behavior on WinXP
- =begin
(単なるメモです)
XP SP3で確認。
msvcrtは関係なし。GetEnvironmentStrings()らしい。
=end
-
12:17 PM Revision 0089bfe4 (git): * vm_eval.c (rb_search_method_entry): avoid trigraph.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:56 AM Bug #2386 (Assigned): r25230 causes SEGV arround Marshal
- =begin
=end
-
07:54 AM Bug #2386 (Closed): r25230 causes SEGV arround Marshal
- =begin
以下のコミット以降、後述の現象が発生するそうです。
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Sun Oct 4 10:30:56 2009 +0000
* marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local varia... -
06:52 AM Revision b27be82d (git): merge revision(s) 25246:
- * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
(Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
bind_random_port.
[ruby-core:25970]
git-svn-id: svn+ssh://ci.ruby-... - 05:33 AM Revision 64a96d6d (git): * 2009-11-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@25872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:33 AM Revision 3765c7b6 (git): backport r24713 which adds a check for freelist exhaustion in gc_sweep; this prevents segfaults from certain tight loops. An example test case: Time.now while true
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@25871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:46 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Whoops, I attached the same static allocation example twice.
I'm attaching the dynamic allocation example this time.
=end
11/19/2009
- 10:47 PM Revision c9fc0ff3 (git): * 2009-11-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:47 PM Revision 34286de2 (git): move Test::Unit::Assertions#invoke_ruby to EnvUtil.invoke_ruby.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:45 PM Bug #2380 (Open): IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms
- =begin
=end
-
07:41 PM Bug #2380: IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms
- =begin
Hello,
In message "[ruby-core:26800] [Bug #2380] IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms"
on Nov.18,2009 17:36:35, <redmine@ruby-lang.org> wrote:
> This error duplicates [Bug #2168] I would... -
07:25 PM Bug #2369: ENV's strange behavior on WinXP
- =begin
(単なるメモです)
Windows 7でrubyのバージョンによらず再現せず。
=end
-
07:20 PM Bug #2384: mkmf find_executable doesn't find batch files in doze
- =begin
Roger,
You should explain that "gcc.bat" is a wrapper used by RubyInstaller DevKit to avoid polluting the PATH with all MSYS/MinGW binaries.
Any executable (.bat, .com, .exe) should be considered executable my mkmf.
... -
10:13 AM Bug #2384 (Assigned): mkmf find_executable doesn't find batch files in doze
- =begin
=end
-
09:58 AM Bug #2384 (Closed): mkmf find_executable doesn't find batch files in doze
- =begin
find_executable('gcc') fails even if gcc.bat is present in the path.
Thanks!
-r
=end
-
05:05 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
Suraj Kurapati wrote:
> I will create a thrid example that uses libpthread to demonstrate
> how this patch lets you embed Ruby 1.9 inside a pthread.
As promised, I am attaching two new example test cases:
... -
06:51 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
In message "Re: [ruby-core:26818] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine"
on Thu, 19 Nov 2009 06:15:50 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:
|> As far as I understand, ... -
06:15 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
matz writes:
> Suraj Kurapati writes:
> |please note that I also provided a second example that uses libpcl[1]
>
> As far as I understand, libpcl is under GPL, that cannot be used in
> the core Ruby. Since Ru... -
04:54 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
In message "Re: [ruby-core:26816] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine"
on Thu, 19 Nov 2009 04:30:49 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:
|You are referring only to ... -
04:30 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
Nobu Nakada wrote:
> Switching stack using setcontext() can't work on all platforms.
> For instance, on NetBSD and older LinuxThread stack address is
> tightly bound to thread, and can't be changed. That is, your
... -
02:23 PM Revision 5cd52d02 (git): * lib/net/ftp.rb (putbinaryfile): use APPE for resume.
- Thanks, Tomoyuki Chikanaga.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:21 PM Revision 64e6f141 (git): * lib/net/ftp.rb (putbinaryfile): use APPE for resume.
- Thanks, Tomoyuki Chikanaga.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision 62f13647 (git): added a ChangeLog entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:56 PM Revision 718ceb54 (git): * lib/net/imap.rb (flag_list): untaint strings to intern in the safe
- level 1.
* lib/net/imap.rb (max_flag_count=): new methods to set the max
number of flags interned to symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 PM Revision e5f3893c (git): added a ChangeLog entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 PM Revision c20c7f1e (git): * lib/net/imap.rb (flag_list): untaint strings to intern in the safe
- level 1.
* lib/net/imap.rb (max_flag_count=): new methods to set the max
number of flags interned to symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:44 AM Revision ffffc0ce (git): * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros.
- reported by Kenta Murata <mrkn AT mrkn.jp> via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 AM Revision d7b8cbba (git): merge revision(s) 25230:25233:
- * lib/cgi.rb (CGI.unescapeHTML): fix for hex values 80-FF,
single-byte hex entity encodings from 80-FF are valid HTML.
[ruby-core:25702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25856 b2... - 08:16 AM Revision cdcdabfc (git): * 2009-11-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:16 AM Revision 7c564d3e (git): * win32/Makefile.sub: nmake executes the file named echo if it exists
- in the PATH. reported by Kenta Murata <mrkn AT mrkn.jp> via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:04 AM Revision e569adce (git): * win32/Makefile.sub: nmake execute the file named echo if it exists
- in the PATH. reported by Kenta Murata <mrkn AT mrkn.jp> via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:51 AM Revision 2dae3d23 (git): merge revision(s) 25181:
- * io.c (rb_io_fptr_finalize): free fptr to avoid memory leaks.
fixed: #2009 [ruby-core:25173] [ruby-dev:39410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 AM Revision 6cef092f (git): merge revision(s) 25098:
- * lib/net/http.rb (transport_request): Handle timeout error by
closing socket if exception raised. [ruby-core:20976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:56 AM Revision 19687171 (git): * test_thread.rb: DO NOT USE FORK WITHOUT RESCUE.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/18/2009
-
11:50 PM Bug #2382: test_process.rb runs very slowly
- =begin
Same behavior - latest trunk, Snow Leopard
Here's dtruss output until the first stall while running "make test" :
https://gist.github.com/9a7a5f20b581c0bcf8b7
=end
-
11:37 PM Bug #2382: test_process.rb runs very slowly
- =begin
I'm running on OS X Snow Leopard, if that matters.
=end
-
11:37 PM Bug #2382 (Closed): test_process.rb runs very slowly
- =begin
Ever since revision 25835, test_process.rb runs very slowly, sometimes appearing to completely freeze. Problem can be reproduced by running this command in the Ruby 1.9 sources:
./ruby -v test/ruby/test_process.rb -v
... -
11:15 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
In message "Re: [ruby-core:26803] [Feature #2294](Rejected) [PATCH] ruby_bind_stack() to embed Ruby in coroutine"
on Wed, 18 Nov 2009 18:42:31 +0900, Nobuyoshi Nakada <redmine@ruby-lang.org> writes:
|I don't think ... -
06:42 PM Feature #2294 (Rejected): [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
I don't think it's good idea to it as public API.
=end
-
06:41 PM Feature #2294 (Open): [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Sorry, mistaken.
=end
-
06:27 PM Feature #2294 (Closed): [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
This issue was solved with changeset r25842.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
05:20 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
At Wed, 18 Nov 2009 15:55:07 +0900,
Suraj Kurapati wrote in [ruby-core:26797]:
> Sorry to be impatient, but has there been any
> further decision or consideration about this patch?
Sorry to be late.
> The only fee... -
03:55 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- =begin
Hi,
Sorry to be impatient, but has there been any
further decision or consideration about this patch?
The only feedback I've received so far is that:
* An early version of this patch did not support
multi-thr... -
10:52 PM Feature #2372: read_all() with buffering
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:39708] Re: [Feature #2372](Closed) read_all() with buffering"
on Wed, 18 Nov 2009 07:16:32 +0900, Tanaka Akira <akr@fsij.org> writes:
|思うんですが、ワナベさんがやりたかったのはむしろ
|ECONV_AFTER_OUTPU... -
08:24 PM Feature #2372: read_all() with buffering
- =begin
ワナベです。
2009/11/18, Tanaka Akira <akr@fsij.org>:
> 思うんですが、ワナベさんがやりたかったのはむしろ
> ECONV_AFTER_OUTPUT を外したかったということなんじゃないです
> かねぇ。
>
> こうするとこちらでは速くなる感じですが、そちらではどうでしょ
> う。
ありがとうございます。格段に速くなりました。
short r ... -
06:47 PM Bug #1525 (Closed): Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
This issue was solved with changeset r25844.
Hongli, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
03:07 AM Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
The patch is to be applied on top of Ruby's SVN sources.
=end
-
01:19 AM Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
Very good news, thanks. Where do I fetch the latest sources that include your patch so that I can test with our use case?
Thanks.
=end
-
06:27 PM Bug #2258 (Closed): Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
- =begin
This issue was solved with changeset r25842.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
06:27 PM Feature #2126 (Closed): ruby_init_stack() - add ability to specify or query max_stack_size
- =begin
This issue was solved with changeset r25842.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
05:52 PM Revision 2038c0f3 (git): * vm_eval.c (rb_search_method_entry): show the type of the hidden
- object.
(rb_type_str): new function for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:36 PM Bug #2380: IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms
- =begin
This error duplicates [Bug #2168] I would say
=end
-
04:31 PM Bug #2380: IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms
- =begin
Actually, I see it on 1.9.1 pl129 and earlier 1.9.1 builds as well, and not only mingw, bun mswin32 as well. And looking at the (git mirror of) MRI repo, there were no IO changes between 129 and 243, so the regression is done som... -
08:59 AM Bug #2380 (Assigned): IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms
- =begin
=end
-
07:15 AM Bug #2380 (Closed): IO#eof? behavior different with 1.9.1p243-mingw32 than other platforms
- =begin
In the following code:
open('somefile.txt', 'r') do |f|
until f.eof? do
raise 'nil character' if f.getc.nil?
end
end
The code runs without error in both Ruby 1.8 and 1.9 on Ubuntu, and 1.8 on W... - 03:47 PM Revision 8d6b4e18 (git): * 2009-11-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision 973841cb (git): * io.c (MORE_CHAR_SUSPENDED): renamed from MORE_CHAR_CBUF_FULL.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:02 PM Revision 1e7f2caa (git): add test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:02 PM Revision 4c6eda22 (git): * io.c (fill_cbuf): extracted from more_char.
- (io_shift_cbuf): fix memmove condition.
(read_all): use fill_cbuf directly to avoid ECONV_AFTER_OUTPUT.
[ruby-dev:39708]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:09 PM Bug #2381: Math.gammaの挙動がx86_64とia64で異なる
- =begin
こんにちは
高野です。
U.Nakamura さんは書きました:
> こんにちは、なかむら(う)です。
>
> In message "[ruby-dev:39710] [Bug #2381] Math.gammaの挙動がx86_64とia64で異なる"
> on Nov.18,2009 11:30:57, <redmine@ruby-lang.org> wrote:
>
>> math.cの671行目付近での 0 < ... -
12:07 PM Bug #2381 (Closed): Math.gammaの挙動がx86_64とia64で異なる
- =begin
This issue was solved with changeset r25836.
Mitsuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
11:40 AM Bug #2381: Math.gammaの挙動がx86_64とia64で異なる
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:39710] [Bug #2381] Math.gammaの挙動がx86_64とia64で異なる"
on Nov.18,2009 11:30:57, <redmine@ruby-lang.org> wrote:
> math.cの671行目付近での 0 < intpart という条件式にて intpart が 0 よりも微妙に大きい double型であったため... -
11:29 AM Bug #2381: Math.gammaの挙動がx86_64とia64で異なる
- =begin
math.cの671行目付近での 0 < intpart という条件式にて intpart が 0 よりも微妙に大きい double型であったため、意図した処理ではなくなったように思える。
該当部分のパッチを添付する。
=end
-
10:50 AM Bug #2381 (Closed): Math.gammaの挙動がx86_64とia64で異なる
- =begin
x86_64とia64でMath.gamma(4294967296) の結果などが異なる。
$ ./ruby -ve 'p Math.gamma(4294967296) '
ruby 1.9.2dev (2009-11-17 trunk 25805) [x86_64-linux]
Infinity
$ ./ruby -ve 'p Math.gamma(4294967296).finite? '
ruby 1.9.2dev ... -
09:39 AM Revision 817f5030 (git): * thread.c (rb_thread_atfork_internal): reinitialize global lock
- at fork to get rid of deadlock. based on the patch from Hongli
Lai in [ruby-core:26783]. [ruby-core:23572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:26 AM Bug #2377: update documentation for IO#eof?
- =begin
Updated patch attached.
=end
-
09:25 AM Revision a000201f (git): * thread.c (rb_thread_atfork_internal): reinitialize global lock
- at fork to get rid of deadlock. based on the patch from Hongli
Lai in [ruby-core:26783]. [ruby-core:26361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:25 AM Revision 748fe216 (git): * thread.c (rb_thread_atfork_internal): reinitialize global lock
- at fork to get rid of deadlock. based on the patch from Hongli
Lai in [ruby-core:26783]. [ruby-core:26361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:48 AM Revision e8c17f1a (git): * thread.c (terminate_atfork_i): all mutex locks by other threads
- have been abandoned at fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:47 AM Bug #2379 (Closed): String#[] returns invalid values for short multibyte strings
- =begin
This issue was solved with changeset r25830.
Alexey, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
08:08 AM Bug #2379: String#[] returns invalid values for short multibyte strings
- =begin
This happens for all UTF-8 strings shorter than sizeof(VALUE) bytes and len greater than sizeof(VALUE)*2. Problem lies somewhere in str_utf8_nth() function.
=end
-
07:50 AM Bug #2379 (Assigned): String#[] returns invalid values for short multibyte strings
- =begin
=end
-
07:26 AM Bug #2379: String#[] returns invalid values for short multibyte strings
- =begin
"\u{444}" is better test string.
=end
-
07:06 AM Bug #2379 (Closed): String#[] returns invalid values for short multibyte strings
- =begin
In UTF-8 locale command
ruby -e 'print "й"[0,30]' | od -t x1
prints:
0000000 d0 b9 00 00
for ruby 1.9.1p333 (2009-11-02) [i586-linux-gnu]
0000000 d0 b9 00 00 00 00 00 00
for ruby 1.9.1p333 (2009-11-02) [x86_64-l... - 06:28 AM Revision 4bfd1339 (git): * file.c (file_path_convert): delay getting filesystem encoding
- while really needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Revision 5b3f05ab (git): merge revision(s) 25069:
- * ext/openssl/ossl_config.c (ossl_config_add_value_m,
ossl_config_set_section): Check if frozen (or untainted for $SECURE >=
4) [ruby-core:18377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25839... -
05:13 AM Revision 4a965795 (git): merge revision(s) 24993:24997,25069:25074:
- * win32/win32.c (rb_w32_select): wait specified time on select.
* win32/win32.c (rb_w32_select): on 1.8, we don't need to poll sockets,
because our select is never called from multiple threads.
* instruby.rb: wi... -
03:38 AM Revision a7db2c1e (git): * encoding.c (enc_set_default_encoding): reset filesytem
- encoding because on resetting default_external because
Unix's filesystem encoding depends on default_external.
* encoding.c (enc_set_filesystem_encoding): added.
* ruby.c (process_options): don't call rb_filesystem_encoding
because... -
03:06 AM Revision a1c4d605 (git): * math.c (math_gamma): fix incorrect comparison expression.
- see also [ruby-dev:39709] [Bug #2381]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 AM Revision 6c2373ea (git): * io.c (rb_scan_open_args): move path encoding conversion
- for filesystem encoding of Mac OS X.
* file.c (file_path_convert): added for convert encoding
of file path.
* file.c (rb_get_path_check): add file_path_convert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25835 b2dd03c8-39d4-4... -
01:46 AM Revision 20492556 (git): * test/ruby/test_undef.rb: eol-style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 AM Revision 612b7434 (git): * string.c (str_utf8_nth): no count_utf8_lead_bytes_with_word
- optimization for short string. [ruby-core:26787]
* string.c (str_utf8_offset): str_utf8_nth never return NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:14 AM Revision 4e073fbb (git): forgot to add test_undef.rb in the previous revision.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:13 AM Revision 63c3b2d2 (git): * vm_method.c (rb_undef): should raise TypeError if klass is nil.
- 1.instance_eval { undef to_s } causes SEGV before this fix.
* test/ruby/test_undef.rb: new tests for undef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/17/2009
-
11:41 PM Revision e43c0bde (git): * string.c (str_utf8_nth): fixed overrun. [ruby-core:26787]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:41 PM Revision 93259100 (git): * test/ruby/test_m17n.rb: get rid of empty string interpolations
- confusing ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:52 PM Revision 8d84e28c (git): * 2009-11-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 PM Revision cde9a50b (git): * io.c (parse_mode_enc): fix invalid access.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:58 PM Bug #1525: Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork?
- =begin
The attached patch fixes the problem. Before forking there might be an arbitrary number of threads waiting on the lock, causing it to enter an undefined state after forking, which in turn causes a deadlock on some platforms. This... -
05:57 PM Feature #1784 (Closed): More encoding (Big5 series) support?
- =begin
This issue was solved with changeset r25822.
Lin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
02:53 PM Revision 86d46b54 (git): * vm_method.c (rb_alias): should raise TypeError if klass is nil.
- 1.instance_eval { alias to_string to_s } causes SEGV before this
fix.
* test/ruby/test_alias.rb (test_special_const_alias): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Bug #452: config.guess returns "i386" on Mac OSX 10.5.4.
- =begin
Hi
This change has been in place for more than a year and I don't think anyone has complained about it, so I believe Kouji's fears were misplaced. Also, I don't see how using the processor name provided by the OS can be anyt... -
01:24 PM Revision 10b7e0e4 (git): rdoc update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:24 PM Revision 85bf0a2e (git): unused argument removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:04 AM Revision b8f78637 (git): * enc/trans/big5-uao-tbl.rb: eol-style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:56 AM Revision e0436c54 (git): * enc/big5.c, enc/trans/big5.trans, enc/trans/big5-uao-tbl.rb,
- test/ruby/test-transcode.rb: Added Encoding 'Big5-UAO' and transcoding
for it (from Tatsuya Mizuno) (see Bug #1784)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision fab47c96 (git): * ksvndifftest/date/test_date_parse.rb: use UTF-8 literals.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:16 AM Revision bf5ae9cf (git): * test/ruby/test_dir_m17n.rb, test/yaml/test*.rb: eol-style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:32 AM Revision 8162d69d (git): merge revision(s) 24958,24979:
- * eval.c (rb_thread_start_timer): start to catch SIGVTALRM together
with timer thread. [ruby-core:25606]
* eval.c (rb_thread_atfork): stop timer thread.
* eval.c (rb_thread_start_0, rb_thread_start_1): should ... -
07:26 AM Revision 9e68d0dc (git): * insns.def (opt_case_dispatch): runtime value cannot be used as
- an element initializer.
* vm_insnhelper.c (opt_case_dispatch_i): gets rid of type-punning
calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision eaa8ca6b (git): merge revision(s) 24913:
- * lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the
cookie itself. A patch by Arthur Schreiber [ruby-core:17634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25817 b2dd03c8-39d4-4d8f-98ff-8... -
07:05 AM Revision f2e6cb4f (git): * regparse.c (parse_char_class): fixes a wrong merge r25531.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:01 AM Revision f4d1fd31 (git): * insns.def (opt_case_dispatch): need cast.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:51 AM Revision 29929d79 (git): merge revision(s) 24911:
- * lib/irb/ext/multi-irb.rb: Fix arguments handling for shell commands
in irb; a patch by Yusuke Endoh [ruby-dev:35075]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:47 AM Revision 44895d6e (git): * dir.c (READDIR): this branch doesn't have rb_w32_readdir_with_enc().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:44 AM Revision d9abe051 (git): merge revision(s) 24751:
- * io.c (rb_io_binmode): check if closed regardless platforms.
[ruby-core:25363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:31 AM Revision cfa3a72c (git): merge revision(s) 24750:
- * numeric.c (round): added declaration. [ruby-dev:39222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:13 AM Revision 7533c275 (git): * 2009-11-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:13 AM Revision 174b4fb8 (git): merges r24984 and r24987 from trunk into ruby_1_9_1.
- --
* lib/mkmf.rb (rm_f, rm_rf): FileUtils.rm can take an array.
[ruby-dev:39345]
--
* test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25809 b2dd03c8-39d... -
05:00 AM Bug #2377 (Closed): update documentation for IO#eof?
- =begin
Here's a small patch to update the rdoc for IO#eof? noting the rewind method.
ref:
http://www.ruby-forum.com/topic/177011#new
=end
-
02:37 AM Bug #2363 (Closed): Syck needs more tests - =begin
This issue was solved with changeset r25804.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
11/16/2009
- 05:27 PM Revision 5a8c6a5c (git): * 2009-11-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:27 PM Revision 8f90252c (git): Adding yaml tests [ruby-core:26732]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:07 PM Bug #2375 (Closed): protected singleton methods can be called from other instances
- =begin
This issue was solved with changeset r25796.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
02:56 PM Bug #2375: protected singleton methods can be called from other instances
- =begin
Hi,
In message "Re: [ruby-core:26761] [Bug #2375] protected singleton methods can be called from other instances"
on Mon, 16 Nov 2009 14:26:23 +0900, Shugo Maeda <redmine@ruby-lang.org> writes:
|On IronRuby, Foo.new.ba... -
02:26 PM Bug #2375 (Closed): protected singleton methods can be called from other instances
- =begin
It seems that protected singleton methods of an object can be called from other instances of the class of the object.
class Foo
end
FOO = Foo.new
class << FOO
protected
def bar
... -
02:10 PM Feature #2372: read_all() with buffering
- =begin
ワナベです。
2009/11/16, Tanaka Akira <akr@fsij.org>:
> In article <4b0081d7e73af_8bc5c2a894735e@redmine.ruby-lang.org>,
> _ wanabe <redmine@ruby-lang.org> writes:
>
>> チケット #2372 が更新されました。 (by _ wanabe)
>>
>> ステータス OpenからCl... -
07:33 AM Feature #2372 (Closed): read_all() with buffering
- =begin
ではコミットさせていただきます。
計測にお付き合い頂きありがとうございました。
=end
-
07:09 AM Feature #2372: read_all() with buffering
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:39699] Re: [Feature #2372] read_all() with buffering"
on Mon, 16 Nov 2009 00:19:25 +0900, "NARUSE, Yui" <naruse@airemix.jp> writes:
|_ wanabe wrote:
|> io.c の read_all() で、変換が必要な場合の... -
12:19 AM Feature #2372: read_all() with buffering
- =begin
成瀬です。
_ wanabe wrote:
> io.c の read_all() で、変換が必要な場合の処理が少し重いようだったので
> バッファに少し溜めてから io_shift_cbuf() を呼び出すようにするパッチを書きました。
> 溜めるバイト数は io_shift_cbuf() 中にあった式を参考にしています。
あー、なるほど、IO の待ちよりも、transcode の呼び出し (more_char の処理 ?)
の方が... -
02:02 PM Bug #2373 (Assigned): URI.parse は hier-part が空である URI をパースできない
- =begin
=end
-
01:24 PM Bug #2373 (Rejected): URI.parse は hier-part が空である URI をパースできない
- =begin
RFC 3986 では、hier-part が空であるような URI は scheme によっては許容されている(RFC 3986では制限されていない)と思うのですが
hier-part が空である URI を URI.parse しようとすると scheme によらずに URI::InvalidURIError になります。
http://www.ietf.org/rfc/rfc3986 [Appendix A]
URI ... -
02:02 PM Bug #2374 (Assigned): URI.regexp('http') が 'http://' にマッチする
- =begin
=end
-
01:34 PM Bug #2374 (Rejected): URI.regexp('http') が 'http://' にマッチする
- =begin
URI.regexp('http') が 'http://' にマッチしますが、'http://' は有効な URI ではありません。
% ~/local/ruby-trunk/bin/ruby -v -ruri -e 'URI.regexp =~ "http://"; p $&'
ruby 1.9.2dev (2009-11-16 trunk 25792) [i686-linux]
"http://"
http://www.... -
01:45 PM Revision 31ee9fd9 (git): add tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Bug #2369 (Assigned): ENV's strange behavior on WinXP
- =begin
=end
-
11:00 AM Revision 50c667a8 (git): merge revision(s) 24713:
- * gc.c (gc_sweep): makes new room if object space is full of
finalized objects and has no free objects. [ruby-dev:39201]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:53 AM Revision 3eafecb7 (git): merge revision(s) 23353:
- * util.c: suppress strict-aliasing warning with gcc-4.4.0 -O2 to fix
infinite loop by ruby -e "1.402e-45" .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:42 AM Revision 3e488e98 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): revert a part of
- r23645, which was not a bug fix. [ruby-dev:39474]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:01 AM Revision 3dc8a69d (git): * vm_insnhelper.c (vm_call_method): protected singleton methods of
- an object should not be able to called from other instances of the
class of the object. [ruby-core:26761]
* vm_eval.c (rb_method_call_status): ditto.
* test/ruby/test_module.rb (test_protected_singleton_method): ditto.
git-svn-id: s... -
05:06 AM Revision 98cf9c43 (git): * io.c (read_all): shift read buffer if exception occured.
- pointed out in [ruby-dev:39702].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:02 AM Revision ca7b3263 (git): Rolled out last change
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:57 AM Revision ffe69c2d (git): Rolled out last change
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:01 AM Revision 36ed53ff (git): Minor cleanup to improve hash use
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:50 AM Revision ad3fa7af (git): Minor cleanup to improve hash use
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:17 AM Bug #2371 (Closed): [BUG] thread_free: locking _mutex must be NULL
- =begin
This issue was solved with changeset r25771.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
12:17 AM Bug #2370 (Closed): Forked process generates spurious signal errors
- =begin
This issue was solved with changeset r25771.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
11/15/2009
-
11:57 PM Revision 8c3f13f9 (git): fix previous change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:17 PM Bug #2371: [BUG] thread_free: locking _mutex must be NULL
- =begin
Thanks for the very quick response!
> The following patch should fix the issue. Could you try?
Sure.
> diff --git a/thread.c b/thread.c
> index ba717bd..5ea1982 100644
> --- a/thread.c
> +++ b/thread.c
> @@ -380,6 +... -
08:51 PM Bug #2371: [BUG] thread_free: locking _mutex must be NULL
- =begin
Hi --
2009/11/15 Chris Schlaeger <redmine@ruby-lang.org>:
> Here is how to reproduce the problem:
>
> 1. Download the taskjuggler gem: http://www.taskjuggler.org/tj3/taskjuggler-0.0.3.gem and install it
> 2. change to the ... -
05:26 PM Bug #2371 (Closed): [BUG] thread_free: locking _mutex must be NULL
- =begin
During the development of a project management application I encountered the following problem. Every 10th run or so, the ruby interpreter crashes with the error message in the subject. I've attached a full backtrace in the log f... -
11:11 PM Revision d8a754cc (git): * io.c (read_all): don't call io_shift_cbuf until bufffering enough or
- econv_finished. [ruby-dev:39696]
* io.c (more_char): don't call clear_readconv to read buffer after
econv_finished.
* io.c (appendline, rb_io_each_codepoint): clear readconv when done.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... - 10:49 PM Revision e579955b (git): * 2009-11-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:49 PM Revision 45cf42a5 (git): Fixed rdoc errors. Made heredoc more obvious
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 PM Feature #2372: read_all() with buffering
- =begin
遠藤です。
2009年11月15日21:21 _ wanabe <redmine@ruby-lang.org>:
> io.c の read_all() で、変換が必要な場合の処理が少し重いようだったので
> バッファに少し溜めてから io_shift_cbuf() を呼び出すようにするパッチを書きました。
> 溜めるバイト数は io_shift_cbuf() 中にあった式を参考にしています。
パッチの内容は理解していませんが
... -
09:21 PM Feature #2372 (Closed): read_all() with buffering
- =begin
io.c の read_all() で、変換が必要な場合の処理が少し重いようだったので
バッファに少し溜めてから io_shift_cbuf() を呼び出すようにするパッチを書きました。
溜めるバイト数は io_shift_cbuf() 中にあった式を参考にしています。
ベンチマークスクリプトとその結果を併せて添付します。
bm_io_file_read.rb を参考に、エンコーディングやモードを複数試すようにしています。
Wi... -
09:48 PM Bug #2363: Syck needs more tests
- =begin
You can add tests.
=end
-
05:58 PM Revision 5f221c31 (git): add a test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:14 PM Revision e88009f4 (git): add tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 PM Revision 453890a9 (git): tests refined.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 PM Bug #2370 (Closed): Forked process generates spurious signal errors
- =begin
The attached test program demonstrates the problem. About 25% percent of the time the forked-off program terminates with a signal error.
For best results the first parameter of the doRun() call should be set to a value sligh... -
04:59 PM Revision 9ea0bed1 (git): * include/ruby/ruby.h (rb_classext_t): annotate @internal.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:37 PM Revision 1aba3f9d (git): * encoding.c (rb_filesystem_encindex): use default external encoding
- instead of locale encoding in Unix.
* ruby.c (process_options): delay inifilesystem encoding
initialization after default external encoding initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25782 b2dd03c8-39d4-4d8f-9... -
04:24 PM Revision 43bd807c (git): add tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:10 PM Revision f5936bc8 (git): * 2009-11-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 31c0e338 (git): * thread.c (thread_cleanup_func): delete locking_mutex when thread
- object become dummy because of fork. [ruby-core:26744]
[ruby-core:26745]
* bootstraptest/test_thread.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 PM Bug #2369 (Rejected): ENV's strange behavior on WinXP
- =begin
Windows XP SP2 環境の Mingw で、環境変数に最大文字数に近い長さの値か
または最大文字数を超えた長さの値を設定しようとした場合の挙動がおかしいようです。
確認用のスクリプトを添付します。
スクリプトのコメントに書きましたとおり、
32767 文字よりやや短い値をセットすると値が正しく取り出せません。
GetEnvironmentVariableAで確認すると正しく取り出せているようです。
また、32... -
03:50 AM Feature #2366: private constant
- =begin
遠藤です。
> なるほど、良いアイディアだと思います。採用するタイミングは
> Yuguiさんに訊いてみないといけませんが、いずれ採用したいと思い
> ます。
ありがとうございます。
ささださんと話して、もうちょっとちゃんとした実装を作りました。
結構巨大な変更になったので、3 段階のパッチに分けました。
1. const_tbl.patch:
クラスの持つ定数やクラス変数やその他をごちゃ...
11/14/2009
-
05:39 PM Feature #2366: private constant
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:39685] [Feature #2366] private constant"
on Sat, 14 Nov 2009 14:30:32 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:
|今の Ruby には、クラスが公開 API かどうかを伝える手段がドキュメント
|しかありません。そのため、ER... -
02:30 PM Feature #2366 (Closed): private constant
- =begin
遠藤です。
今の Ruby には、クラスが公開 API かどうかを伝える手段がドキュメント
しかありません。そのため、ERB::Compiler など、ライブラリの中の公開
でない (と思われる) inner class を外から自由に参照できてしまいます。
これを防ぐためには、匿名クラスを用いて定義すれば大分隠蔽できますが、
記述が相当煩雑になってしまいます。また、そのようにしてしまうと、
「非公開というのは承知の上... -
04:47 PM Bug #2353 (Closed): hash.c:setenv causes crashes in Solaris
- =begin
This issue was solved with changeset r25766.
Christian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
-
12:56 PM Revision 4a761c32 (git): * class.c (rb_mod_init_copy): fix memory leak of Class#dup.
- [ruby-dev:39687]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:35 AM Bug #2365 (Closed): Matrix: poor handling of coercion errors [patch]
- =begin
rubydev -r matrix -e 'p Matrix.I(2) - nil'
/usr/local/rubydev/lib/ruby/1.9.1/matrix.rb:533:in `-': undefined method `coerce' for nil:NilClass (NoMethodError)
from -e:1:in `<main>'
Expected:
some_where_in_the/matrix.rb... -
09:29 AM Bug #2363 (Closed): Syck needs more tests
- =begin
Here are some tests for serializing strings and dealing with "to_yaml_properties"
=end
-
08:09 AM Revision 5e15f021 (git): * configure.in (--with-opt-dir): ignore and suppress a warning.
- [ruby-dev:39684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 85ca612b (git): * configure.in (--with-opt-dir): ignore and suppress a warning.
- [ruby-dev:39684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:43 AM Revision a06fd216 (git): * hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.
- [ruby-core:26668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:43 AM Revision de13a30d (git): * hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.
- [ruby-core:26668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 AM Feature #707: Documentation for Enumerator chaining
- =begin
> Is this also possible in 1.8?
Sure. Block-form Enumerator is surprisingly straightforward to implement, see
http://github.com/trans/facets/blob/master/lib/more/facets/enumerator.rb
But since 1.9 has it already, I th... -
03:04 AM Feature #707: Documentation for Enumerator chaining
- =begin
Is this also possible in 1.8?
http://www.ruby-forum.com/topic/198804#new
http://github.com/trans/facets/blob/master/lib/core/facets/denumerable.rb
Brian do you think you could write the tutorial on chaining started he... - 12:17 AM Revision c07e7d16 (git): * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): Fix comparisons [ruby-core:26646]
- * test/bigdecimal/test_bigdecimal.rb (class): Fix and improve tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e