Project

General

Profile

Activity

From 02/06/2009 to 02/12/2009

02/12/2009

11:27 PM Bug #1146 (Closed): TestSocket#test_udp_server hangs when configure --with-lookup-order-hack=INET
=begin
Applied in changeset r22260.
=end
akr (Akira Tanaka)
10:58 AM Bug #1146 (Closed): TestSocket#test_udp_server hangs when configure --with-lookup-order-hack=INET
=begin
configureのときに--with-lookup-order-hack=INETをつけていると
Socket.udp_server_sockets(0) {|sockets| ... } で sockets に
IPv6で待ち受けていないのに、Socket.ip_address_list には IPv6 の
アドレスがあるので、IPv6でのsendmsgで止まってしまうようです。

以下のようにして調べてみると "::" の有無が...
znz (Kazuhiro NISHIYAMA)
09:13 PM Bug #1149 (Rejected): gem update --system failed
=begin
It's outdated.
=end
nobu (Nobuyoshi Nakada)
06:30 PM Bug #1149 (Rejected): gem update --system failed
=begin
when I had a try to update with command "gem update --system", there was somethings wrong with rubygems.rb. I think it might be a bug.

[detail]:
C:/ruby/lib/ruby/1.9.1/rubygems.rb:405: [BUG] Segmentation fault
ruby 1.9.1...
wzstar2008 (Nick Wang Wang)
08:02 PM Revision 31734b90 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:47 PM Bug #1137 (Closed): I can modify literals
=begin
Applied in changeset r22255.
=end
nobu (Nobuyoshi Nakada)
04:55 PM Bug #1137: I can modify literals
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37971] Re: [Bug:trunk] I can modify literals"
on Thu, 12 Feb 2009 11:35:16 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|freeze以前に、ObjectSpaceから不可視であるべきではないかと思いま
|す。また、隠しオ...
matz (Yukihiro Matsumoto)
11:36 AM Bug #1137: I can modify literals
=begin
なかだです。

At Thu, 12 Feb 2009 10:34:51 +0900,
Yukihiro Matsumoto wrote in [ruby-dev:37969]:
> * ObjectSpaceは裏技。やる方が悪い(からバグじゃない)
> * 禁止できるものなら禁止した方がよい(からバグ)
>
> の両方の考え方ができると思います。
>
> ....
>
> いろいろ考えましたが、過去にもObjectS...
nobu (Nobuyoshi Nakada)
10:36 AM Bug #1137: I can modify literals
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37959] [Bug:trunk] I can modify literals"
on Wed, 11 Feb 2009 02:16:05 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|ObjectSpace を使うと種々のリテラルを書き換えることができてしまうようですが、
|仕様でしょうか。

うーん、...
matz (Yukihiro Matsumoto)
05:27 PM Bug #1099 (Closed): Invalid value of StringIO#pos after StringIO#ungetc
=begin
Applied in changeset r22253.
=end
nobu (Nobuyoshi Nakada)
05:06 PM Bug #1148 (Closed): CGI::prettyの正規表現の改良
=begin
IRCの成瀬さんより、
gsub(/<(?:.|\n)*?>(?!\n)/, "\\0\n")
はstrip済みな場合にstack overflowする場合がある。
gsub(/<[.\n]*?>(?!\n)/, "\\0\n")とか
gsub(/<.*?>(?!$)/m, "\\&\n")にする必要がある。
=end
xibbar (Takeyuki FUJIOKA)
05:00 PM Bug #1115 (Assigned): $SAFE=1でのrequireがSecurityErrorになる
=begin

=end
nobu (Nobuyoshi Nakada)
04:58 PM Bug #1115: $SAFE=1でのrequireがSecurityErrorになる
=begin
Applied in changeset r21917 in the trunk.
=end
nobu (Nobuyoshi Nakada)
05:00 PM Feature #1119 (Closed): with_index_from
=begin
separated from #1112 unintentionally.
=end
nobu (Nobuyoshi Nakada)
04:57 PM Bug #1120 (Closed): [PATCH] fix build on GNU/kOpenSolaris
=begin
Applied in changeset r22252.
=end
nobu (Nobuyoshi Nakada)
04:53 PM Bug #1116 (Assigned): Compilation error for Solaris 10 sparc
=begin
cf. [ruby-core:21872].
=end
nobu (Nobuyoshi Nakada)
04:45 PM Revision ae6ba9f0 (git): * compile.c (iseq_compile_each): just freeze xstr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:40 PM Feature #1147 (Closed): File.expand_path('~') should honor ENV['USERPROFILE'] on Windows
=begin

=end
nobu (Nobuyoshi Nakada)
04:01 PM Feature #1147: File.expand_path('~') should honor ENV['USERPROFILE'] on Windows
=begin
Ack! Please excuse my ignorance.

It seems Ruby 1.9's File.expand_path() already provides
consistent semantics for '~', as the patch[1] shows.

This request can be closed. Sorry for the confusion.

[1]: http://red...
sunaku (Suraj Kurapati)
03:48 PM Feature #1147 (Closed): File.expand_path('~') should honor ENV['USERPROFILE'] on Windows
=begin
Please improve File.expand_path() to look for ENV['USERPROFILE']
(which is the path to the user's home directory on windows) if
ENV['HOME'] is not defined.

This will give consistent semantics to '~' (represents the home
...
sunaku (Suraj Kurapati)
04:29 PM Revision 11a4e694 (git): * compile.c (iseq_set_sequence, compile_dstr_fragments),
(iseq_compile_each): hides other internal objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:48 PM Revision 6b7dbd3e (git): * insns.def (defineclass): try to autoload const to be overridden.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:04 PM Revision 3d9c0014 (git): * 2009-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 385b6a15 (git): Update with branches/ruby_1_9_1/NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:03 PM Revision cb2f0c9d (git): * 2009-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 8d6e1edb (git): typo fixed: collect_all -> collect. [ruby-core:21706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:56 PM Revision 692b8283 (git): * 2009-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:56 PM Revision 466e2b90 (git): Mention that Enumerator#enum_cons and Enumerator#enum_slice are
removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
02:28 PM Revision 643b8cb4 (git): * gc.c (vm_xmalloc, vm_xrealloc): comparisons had no meanings on
platforms where size_t is unsigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:26 PM Revision 3abae536 (git): * process.c (rb_fork): initialization with dynamic values is not
allowed in C89.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 PM Revision a6178639 (git): * test/socket/test_socket.rb (test_udp_server): filter out unreachable
addresses. [ruby-dev:37970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:51 PM Revision 5dd1a4c1 (git): * compile.c (hide_obj): OBJ_FREEZE() is not an expression. a patch
from nagachika <nagachika00 AT gmail.com> at [ruby-dev:37977].
* compile.c (insn_set_sc_state): fixed typoe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:57 PM Revision 7882b61a (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:45 PM Revision 97a922e2 (git): test only if Socket::AncillaryData exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:43 PM Revision 7a01268a (git): * ext/socket/basicsocket.c (bsock_getpeereid): implemented for Solaris
using getpeerucred.
* ext/socket/extconf.rb: check ucred.h and getpeerucred.
* ext/socket/rubysocket.h: include ucred.h if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:42 AM Revision e52da919 (git): * compile.c (compile_array_, defined_expr, iseq_compile_each): hide
and freeze internal literal objects, to prevent from modifying.
[ruby-dev:37959]
* iseq.c (insn_operand_intern): copy internal literal objects.
* insns.def (putstring, duparray): ditto.
* string.c (rb_str_replace): exported.
git-s...
nobu (Nobuyoshi Nakada)
10:41 AM Revision 48149dff (git): * test/stringio/test_stringio.rb (test_ungetc_pos): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:13 AM Bug #1145 (Closed): IRB adds trailing quote to wtring methods when performing auto-completion
=begin
IRB adds a trailing quote to some method names when performing an autocompletion. IRB does this for single quote and double quote string literals.
Not all methods are effected (for example '.delete' is fine) but at least the ...
gtoast (C I)
08:17 AM Revision ee159271 (git): * ext/stringio/stringio.c (strio_ungetc): calculates new position
before reallocation. [Bug#1099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:50 AM Revision 9565e98b (git): * configure.in: a patch to build on GNU/kOpenSolaris from Robert
Millan at [ruby-core:21888].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:21 AM Revision 04e2a72f (git): * thread.c: inline should be at beginning of declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:38 AM Revision ee5f857a (git): * iseq.c (simple_default_value): allow plain strings as default
values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
01:56 AM Bug #1143 (Closed): ruby 1.9.1p0でensure節が実行されない
=begin
ruby 1.9.1p0で以下を実行した場合、ensure節が実行されません。


def test
return while true
ensure
puts("ENSURE")
end

test


$ ruby -v test.rb
ruby 1.9.1p0 (2009-01-20 revision 21700) [i386-mingw32]

$


別スレ...
snowfield (Jirou Iizuka)
12:25 AM Bug #1142 (Rejected): /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
=begin
After executing ruby19 test.rb of the project: git://rubyforge.org/dram.git

I don't know if it's the same as bug "Bug #1080".
/opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
ruby 1.9.1p0 (2009-01-30 revis...
ricard (Ricard Forniol Agustí)

02/11/2009

09:00 PM Bug #999 (Third Party's Issue): SSL & ZIP missing from ruby-1.9.1-preview1-i386-mswin32
=begin

=end
usa (Usaku NAKAMURA)
05:44 PM Bug #1137: I can modify literals
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37964] Re: [Bug:trunk] I can modify literals"
on Wed, 11 Feb 2009 16:11:06 +0900, "U.Nakamura" <usa@garbagecollect.jp> writes:

|元の問題も気になりますが、frozenなオブジェクトに対してfinalizer
|を付け替えできてしま...
matz (Yukihiro Matsumoto)
04:12 PM Bug #1137: I can modify literals
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:37959] [Bug:trunk] I can modify literals"
on Feb.11,2009 02:16:05, <mame@tsg.ne.jp> wrote:
> バグだとして、リテラルを freeze するパッチを書きましたが、IRC では
>
> - freeze で解決するのが正しいやり方なのか
> - freeze...
usa (Usaku NAKAMURA)
04:23 AM Bug #1137: I can modify literals
=begin
 ささだです.

SASADA Koichi wrote::
> Index: compile.c
> ===================================================================
> --- compile.c (リビジョン 22118)
> +++ compile.c (作業コピー)
> @@ -398,6 +398,13 @@
> iseq_add_mark_object(...
ko1 (Koichi Sasada)
04:21 AM Bug #1137: I can modify literals
=begin
 ささだです.

Yusuke ENDOH wrote::
> ObjectSpace を使うと種々のリテラルを書き換えることができてしまうようですが、
> 仕様でしょうか。

 他にも,Regexp などの Immutable と言われてるオブジェクトに勝手に特異メ
ソッドなりを追加できちゃう,とかもあります.Regexp なんかは,リテラルで
毎回同じオブジェクトを返すので,仕様的にはどう解決したものだか(これはそ
のままとするのが...
ko1 (Koichi Sasada)
02:17 AM Bug #1137 (Closed): I can modify literals
=begin
遠藤です。

ObjectSpace を使うと種々のリテラルを書き換えることができてしまうようですが、
仕様でしょうか。


def foo
"foobarbaz"
end

ObjectSpace.each_object(String) do |s|
s.replace("evil") if /foobarbaz/ =~ s && !s.frozen?
end

p foo #=> "evil"

def ba...
mame (Yusuke Endoh)
03:54 PM Revision 4b2d8912 (git): * 2009-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision b672d85d (git): update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e gotoken (Kentaro Goto)
03:49 PM Revision 208b52a3 (git): update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e gotoken (Kentaro Goto)
03:29 PM Revision c1cb2740 (git): * 2009-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:29 PM Revision 3032bdb1 (git): test updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:37 PM Revision 2fed0e8e (git): merge revision(s) 20228:
* ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
pointed by Ryan Platte fixed(Patch to the patch from "NATORI
Shin"). [ruby-talk:273360]
back ported from 1.9. fix [ruby-core:19791]
git-svn-id:...
shyouhei (Shyouhei Urabe)
02:36 PM Revision d8cf7990 (git): merge revision(s) 20228:
* ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
pointed by Ryan Platte fixed(Patch to the patch from "NATORI
Shin"). [ruby-talk:273360]
back ported from 1.9. fix [ruby-core:19791]
git-svn-id:...
shyouhei (Shyouhei Urabe)
09:33 AM Feature #1122: request for: Object#try
=begin
Providing new syntax change for such a small thing is IMHO
unnecessary. New method is good thing (because it can be easily
monkey-patched when necessary).

--
Pozdrawiam

Radosław Bułat
http://radarek.jogger.pl - mój blo...
radarek (Radosław Bułat)
07:43 AM Feature #1122: request for: Object#try
=begin
Hi --

On Wed, 11 Feb 2009, Michal Babej wrote:

> Hi,
>
> On Sunday 08 of February 2009 11:58:18 David A. Black wrote:
>> It's a bit punctuation-heavy but I think it's preferable. Of course
>> the whole thing leaves the ...
dblack (David Black)
09:11 AM Revision e3c5fbba (git): * gc.c (define_final, undefine_final): shouldn't add/remove finalizer
of forzen objects.
* gc.c (undefine_final): should remove FL_FINALIZE flag.
[ruby-dev:37964] (also see [ruby-dev:37959])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:49 AM Revision a2c779be (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:39 AM Revision 83eddaad (git): * ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the block
if given. close the sockets when the block exits.
(Socket.udp_server_loop): use udp_server_sockets in block form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:35 AM Revision b9d2a439 (git): * ext/socket/lib/socket.rb (Socket.tcp_server_sockets): call the block
if given. close the sockets when the block exits.
(Socket.tcp_server_loop): use tcp_server_sockets in block form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:13 AM Revision d27c1748 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:03 AM Revision 630e4ef4 (git): * ext/socket/lib/socket.rb (Socket.unix_server_loop): use
unix_server_socket with a block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:54 AM Revision 3f0d724d (git): * ext/socket/lib/socket.rb (Socket.unix_server_socket): close the
socket when the block exits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:51 AM Revision 0a954e91 (git): * ext/socket/lib/socket.rb (Socket.unix_server_socket): call the block
if given. remove the socket file when the block exits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:44 AM Revision ff955766 (git): * ext/socket/ancdata.c (ancillary_s_ip_pktinfo): make 3rd argument
optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:47 AM Revision f23292af (git): * array.c (ary_make_shared): returns shared root array itself, and
frozen array can be shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 AM Bug #1139: Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907)
=begin
Could you show your program, or make short reproduce-able script?
I'm not sure about pauldix-sax-machine-0.0.7, but it seems library's issue.

Shenouda Bertel wrote::
> Bug #1139: Segmentation fault ruby 1.9.1p0 (2009-01-30 r...
ko1 (Koichi Sasada)
04:27 AM Bug #1139 (Third Party's Issue): Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907)
=begin
/usr/local/lib/ruby/gems/1.9.1/gems/pauldix-sax-machine-0.0.7/lib/sax-machine/sax_handler.rb:64: [BUG] Segmentation fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

-- control frame ----------
c:0018 p:0012 s:...
ShenoudaB (Shenouda Bertel)
06:12 AM Feature #1141 (Rejected): assignment of variable in "right" if statement fails
=begin
In Ruby 1.8

>> p(x) if x=42
(irb):1: warning: found = in conditional, should be ==
NameError: undefined local variable or method `x' for main:Object
from (irb):1

In Ruby 1.9

$ irb19
irb(main):001:0> p (x) i...
hagus (Luke Burton)
05:46 AM Revision 9da4ec12 (git): svn:eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:46 AM Revision 66a5fcab (git): * insns.def (setspecial, putstring): fixed typos in rdoc.
* insns.def (toregexp): uses rb_ary_tmp_new(), and clears it after
used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:10 AM Revision 4b036bb6 (git): * ext/socket/ancdata.c (anc_inspect_socket_rights): return 1 on
success. 0 on failure.
(anc_inspect_passcred_credentials): ditto.
(anc_inspect_socket_creds): ditto.
(anc_inspect_socket_creds): ditto.
(anc_inspect_socket_creds): ditto.
(anc_inspect_ip_recvdstaddr): ditto.
(anc_inspect_ip_...
akr (Akira Tanaka)
04:31 AM Revision 6e6676a2 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:29 AM Revision f871e8cf (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:17 AM Revision a8de15e0 (git): rename tests classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:11 AM Revision c9c3437b (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:56 AM Revision c7a66ff8 (git): * ext/socket/ancdata.c (anc_inspect_ip_pktinfo): make result bit
succinct.
(Init_ancdata): fix number of arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:17 AM Bug #1138 (Rejected): rdoc of taint/untrust
=begin
taintとuntrustのrdocのcall-seqの「->」は「=>」の間違いではないでしょうか?

* call-seq:
* obj.taint -> obj

* call-seq:
* obj.untrust -> obj
=end
znz (Kazuhiro NISHIYAMA)
02:48 AM Revision fa65ca09 (git): * ext/socket/ipsocket.c (Init_ipsocket): undef getpeereid at IPSocket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:38 AM Revision c645978f (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:30 AM Revision fdf5d808 (git): add getpeereid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:22 AM Revision b4e50055 (git): * ext/socket/extconf.rb: check getpeereid.
* ext/socket/basicsocket.c (bsock_getpeereid): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:59 AM Revision b8147c44 (git): * ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable
name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

02/10/2009

11:13 PM Feature #1136: "ri Kernel#require" is broken
=begin
Jeremy Henty wrote:
> Bug #1136: "ri Kernel#require" is broken
> http://redmine.ruby-lang.org/issues/show/1136
>
> Author: Jeremy Henty
> Status: Open, Priority: Normal
> ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [i68...
murphy (Kornelius Kalnbach)
11:01 PM Feature #1136 (Closed): "ri Kernel#require" is broken
=begin
$ ri Kernel#require
More than one method matched your request. You can refine
your search by asking for information on one of:

Kernel#require, Kernel#rescue_require, Kernel#require

Now what do I do to see the ...
jeremy_henty (Jeremy Henty)
11:00 PM Bug #1135 (Closed): Problem renaming CMath.hypot in Ruby1.9
=begin
# Running the following program with Ruby1.9 ...

require 'complex'
class Module
def alias_method_chain( target, feature )
alias_method "#{target}_without_#{feature}", target
alias_method target, "#{target}_...
wedesoft (Jan Wedekind)
05:31 PM Feature #1133: Pathname.binread
=begin

=end
akr (Akira Tanaka)
03:43 PM Revision bb4abd61 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:39 PM Revision 923284e2 (git): * 2009-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision be25c486 (git): * ext/socket/socket.c (sock_gethostname): use HOST_NAME_MAX.
* ext/socket/raddrinfo.c (make_ipaddr): local variable renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:46 PM Revision 2ee08591 (git): * ext/socket/init.c (struct recvfrom_arg): use struct
sockaddr_storage.
(recvfrom_blocking): follow struct recvfrom_arg change.
(s_recvfrom): ditto.
(s_recvfrom_nonblock): use struct sockaddr_storage.
* ext/socket/socket.c (sock_accept): use struct sockaddr_storage.
(sock_accept_no...
akr (Akira Tanaka)
02:31 PM Revision 6245caf5 (git): * ext/socket/basicsocket.c (bsock_getpeername): use struct
sockaddr_storage.
(bsock_local_address): ditto.
(bsock_remote_address): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:38 PM Revision 1463f1df (git): * ext/socket/lib/socket.rb (Socket.udp_server_sockets): new method.
(Socket.udp_server_loop_on): new method.
(Socket.udp_server_loop): new method
(Socket.ip_sockets_port0): extracted from tcp_server_sockets_port0.
(Socket::UDPSource): new class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2...
akr (Akira Tanaka)
12:15 PM Revision a038fab6 (git): * ext/socket/socket.c (sockaddr_obj): fill pfamily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:09 PM Revision 98d3eca7 (git): * ext/socket/option.c (sockopt_s_bool): new method.
(sockopt_bool): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:59 AM Revision 7be3cdbc (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:59 AM Revision 939efe7d (git): * ext/socket/option.c (sockopt_family_m): renamed from sockopt_family.
(sockopt_level_m): renamed from sockopt_level.
(sockopt_optname_m): renamed from sockopt_optname.
(inspect_local_peercred): follow the renaming.
(Init_sockopt): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22208 b2dd0...
akr (Akira Tanaka)
11:57 AM Revision ba75dd6b (git): * ext/socket/ancdata.c (anc_inspect_socket_creds): refactored to avoid
a rb_str_cat2 call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:01 AM Revision 79c3f54d (git): merge revision(s) 20225:
* eval.c (load_lock): makes circular require deadlock.
[ruby-core:19821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
11:00 AM Revision 75841340 (git): merge revision(s) 20225:
* eval.c (load_lock): makes circular require deadlock.
[ruby-core:19821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:41 AM Revision d896aedf (git): merge revision(s) 20214:
* eval.c (rb_feature_p): returns found feature name if loading.
[ruby-core:19798]
* eval.c (search_required): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22201 b2dd03c8-39d4-4d8f-98ff-823fe6...
shyouhei (Shyouhei Urabe)
10:40 AM Revision c09d66ba (git): merge revision(s) 20214:
* eval.c (rb_feature_p): returns found feature name if loading.
[ruby-core:19798]
* eval.c (search_required): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22199 b2dd03c8-39d4-4d8f-98ff-823fe6...
shyouhei (Shyouhei Urabe)
09:05 AM Revision a34c9c25 (git): * 2009-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:05 AM Revision bda2980b (git): Fix grammos regarding the verb "refer".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
08:55 AM Revision df0f575e (git): Fix grammos regarding the verb "refer".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:25 AM Bug #1134 (Closed): [PATCH] Update racc runtime and fix warnings
=begin
This updates the racc runtime version to the currently released version and fixes warnings.
=end
tenderlovemaking (Aaron Patterson)
03:57 AM Revision 160c230f (git): * ext/socket/option.c (inspect_local_peercred): constfied.
* ext/socket/ancdata.c (anc_inspect_socket_creds): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:54 AM Revision 395abae9 (git): configure.in (when): use all parameters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:18 AM Revision 2acc18ad (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/09/2009

08:34 PM Bug #1132: compile error on win32ole with Mingw of MacPorts
=begin
なかだです。

At Mon, 9 Feb 2009 08:19:01 +0900,
Masaki Suketa wrote in [ruby-dev:37953]:
> ところで、よくわかってないのですが、MacPorts(?)の環境で
> win32oleって動作するものなんでしょうか?
>
> 元々、IMultiLanguageがなくてwin32oleが動く環境というのを
> ちゃんと想定してなかったので、中途半端な対応になってい...
nobu (Nobuyoshi Nakada)
08:17 PM Bug #1132 (Closed): compile error on win32ole with Mingw of MacPorts
=begin
Applied in changeset r22180.
=end
nobu (Nobuyoshi Nakada)
08:07 PM Revision d1ec9291 (git): * configure.in: needs to quote commas.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:34 PM Revision 4165800c (git): * configure.in (when): makes parentheses balanced.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:29 PM Revision c6ea4377 (git): * ext/socket/ancdata.c (ip_cmsg_type_to_sym): renamed from
cmsg_type_to_sym.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:23 PM Revision b877fc2f (git): * ext/socket/option.c (sockopt_inspect): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:03 PM Revision 41f256b4 (git): * 2009-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:03 PM Revision 97ba0d4a (git): * ext/socket/mkconstants.rb: generate intern_family_noprefix.
* ext/socket/option.c (sockopt_inspect): use intern_family_noprefix
not to show AF_ prefix.
* ext/socket/ancdata.c (ancillary_inspect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22187 b2dd03c8-39d4-4d8f-98ff-823fe69b...
akr (Akira Tanaka)
02:23 PM Revision 810dd43a (git): * ext/socket/constants.c (level_arg): use unknown_level_to_int for
non internet protocol.
(optname_arg): use only so_optname_to_int for non internet protocol.
(cmsg_type_arg): use only scm_optname_to_int for non internet
protocol.
* ext/socket/mkconstants.rb: generate unknown_level_to_int.
rena...
akr (Akira Tanaka)
02:05 PM Revision 2dd3fa9f (git): * ext/socket/mkconstants.rb: rename level_to_int to iplevel_to_int.
rename intern_level to intern_iplevel.
* ext/socket/constants.c: follow the renaming.
* ext/socket/option.c: ditto.
* ext/socket/ancdata.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22185 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
01:56 PM Revision f5da7031 (git): * ext/socket/rubysocket.h (level_arg): add family argument.
(optname_arg): ditto.
(cmsg_type_arg): ditto.
(rb_sock_getfamily): declared.
* ext/socket/constants.c (level_arg): add family argument.
(optname_arg): ditto.
(cmsg_type_arg): ditto.
* ext/socket/init.c (rb_sock_getfamily): defi...
akr (Akira Tanaka)
12:52 PM Revision 2092fbcc (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:49 PM Revision ecfea8e2 (git): * ext/socket/ancdata.c (ancillary_inspect): show address family.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:19 AM Revision 8977fe1e (git): * ext/socket/basicsocket.c (bsock_getsockname): use sockaddr_storage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:11 AM Revision a9a17a5a (git): * ext/win32ole/win32ole.c (load_conv_function51932): fixed for the
case IMultiLanguage is not available. [ruby-dev:37950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:04 AM Revision 7ad35679 (git): * ext/socket/option.c (inspect_int): return 1/0 on success/failure.
(inspect_uint): ditto.
(inspect_linger): ditto.
(inspect_socktype): ditto.
(inspect_timeval): ditto.
(inspect_peercred): ditto.
(inspect_local_peercred): ditto.
(sockopt_inspect): refactored.
git-svn-id: svn+ssh://ci.ruby-l...
akr (Akira Tanaka)
11:00 AM Revision bee960d4 (git): * ext/socket/mkconstants.rb: more constants for Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:59 AM Revision 7d63280c (git): * ext/socket/basicsocket.c (bsock_getsockopt): refine address family
examination.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:52 AM Revision 48de4753 (git): * ext/socket/option.c (sockopt_initialize): argument conversion
reordered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:49 AM Revision fd9c7e8a (git): * ext/socket/ancdata.c (ancillary_initialize): add family argument.
(ancdata_new): ditto.
(ancillary_s_int): ditto.
(ancillary_family): new function.
(ancillary_family_m): new method.
(ancillary_s_ip_pktinfo): follow ancdata_new change.
(ancillary_s_ipv6_pktinfo): ditto.
(bsock_recvmsg_intern...
akr (Akira Tanaka)
08:35 AM Revision 06df50e3 (git): merge revision(s) 20189:
* win32/win32.c (rb_w32_accept): secure fd before accept because if
error causes in securing, cannot restore the state of accepted
socket.
fixed [ruby-core:19728]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
shyouhei (Shyouhei Urabe)
08:35 AM Revision 9755536a (git): merge revision(s) 20189:
* win32/win32.c (rb_w32_accept): secure fd before accept because if
error causes in securing, cannot restore the state of accepted
socket.
fixed [ruby-core:19728]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
shyouhei (Shyouhei Urabe)
05:52 AM Revision 3a701d72 (git): Slightly fix rdoc of with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:51 AM Revision 03d38468 (git): Mention Enumerator#with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
04:42 AM Revision 7e7ae140 (git): merge revision(s) 20166:
* win32/win32.c (ifs_open_socket): should retry without proto_buffer
if cannot find the suitable protocol. a patch from Heesob Park.
fixed [ruby-core:19713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
shyouhei (Shyouhei Urabe)
04:41 AM Revision fc601f0f (git): merge revision(s) 20166:
* win32/win32.c (ifs_open_socket): should retry without proto_buffer
if cannot find the suitable protocol. a patch from Heesob Park.
fixed [ruby-core:19713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
shyouhei (Shyouhei Urabe)
04:40 AM Revision d8646119 (git): merge revision(s) 20151:
* ext/stringio/stringio.c (strio_ungetc): should allow ungetc at
the top of the buffer. ref #701
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:39 AM Revision 783b5e40 (git): merge revision(s) 20151:
* ext/stringio/stringio.c (strio_ungetc): should allow ungetc at
the top of the buffer. ref #701
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
03:42 AM Revision 4579551c (git): Mention the changes just made in open-uri.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:20 AM Revision 7af830bd (git): r22168@crimson: knu | 2009-02-09 12:05:32 +0900
Fix a typo and remove trailing spaces. (r16810, r19345)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:16 AM Revision 89f7a63d (git): r22165@crimson: knu | 2009-02-09 11:55:30 +0900
(OpenURI.open_http): rescue URI::InvalidURIError by URI.parse
for location URI. (r15406)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:16 AM Revision 133156e3 (git): r22164@crimson: knu | 2009-02-09 11:52:38 +0900
(OpenURI::Meta#content_type_parse): fix tests. [ruby-dev:33336]
(r15200)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:16 AM Revision 4c3e5f2c (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:16 AM Revision e60935e2 (git): r22144@crimson: knu | 2009-02-08 22:34:15 +0900
(OpenURI::Buffer): use Meta ===. [ruby-core:14295] (r14609)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 35814b3a (git): r22143@crimson: knu | 2009-02-08 22:30:20 +0900
(:redirect) new option to disable redirection. (r13788)
(OpenURI::HTTPRedirect): new exception class for
redirection. (r13788)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 1cf094c5 (git): r22142@crimson: knu | 2009-02-08 22:27:31 +0900
(:ftp_active_mode) new option. (r13307)
(URI::FTP.buffer_open) turn ftp passive mode on if
:ftp_active_mode => false is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 21bb30e6 (git): r22141@crimson: knu | 2009-02-08 22:04:26 +0900
(:ssl_verify_mode): new option suggested by Will Glynn. (r9958)
(:ssl_ca_cert): new option. (r9958, r13691)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 634b10ef (git): r22140@crimson: knu | 2009-02-08 21:54:23 +0900
(OpenURI.open_loop): find_proxy should return nil when proxy does not
exist. [ruby-dev:27630] (r9500)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 6570774c (git): r22139@crimson: knu | 2009-02-08 21:52:57 +0900
(OpenURI.open_loop): prohibit multiple proxy options. (r9339)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 8bb303a5 (git): r22138@crimson: knu | 2009-02-08 21:45:17 +0900
(:proxy_http_basic_authentication): new option. (r9336)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:15 AM Revision 21f7aa68 (git): r22137@crimson: knu | 2009-02-08 21:40:10 +0900
* add :read_timeout option. [ruby-core:4848] (r9166)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:00 AM Revision b503b7b4 (git): Fix a typo in a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:35 AM Revision 646e2efa (git): * io.c (io_encoding_set): ignore second argument when external and
internal are same. [ruby-dev:37939]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:17 AM Feature #1133 (Closed): Pathname.binread
=begin
#1129 にいくぶん関連しますが、Pathname#read があるのですから、Pathname#binread があってもよいのではないでしょうか。
=end
sakuro (Sakuro OZAWA)
12:06 AM Revision 70f76601 (git): * ext/socket/option.c (inspect_local_peercred): check version.
(sockopt_inspect): suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

02/08/2009

11:47 PM Feature #1112 (Closed): with_index_from
=begin
Applied in changeset r22134.
=end
mame (Yusuke Endoh)
11:43 PM Bug #1132 (Closed): compile error on win32ole with Mingw of MacPorts
=begin
なかだです。

MacPortsにmingw-gccまであるというのに驚いて試してみたのですが、
win32oleでコンパイルエラーになりました。対応が古いのか、
IMultiLanguage2どころかmlang.hもないようです。win32ole.cでは一見
対応しているように見えますが、実際にはvoid*を使うコードになって
しまうためコンパイルできません。IMultiLanguageもないときは以下の
どちらかあたりにするのがよいので...
nobu (Nobuyoshi Nakada)
11:37 PM Bug #1107 (Closed): lack consistency in hash iteration
=begin
Applied in changeset r22132.
=end
mame (Yusuke Endoh)
11:28 PM Bug #1130 (Assigned): [PATCH] extern rb_thread_blocking_region_begin/end
=begin

=end
nobu (Nobuyoshi Nakada)
11:18 PM Bug #1130 (Closed): [PATCH] extern rb_thread_blocking_region_begin/end
=begin
All under include/ruby/backward are deprecated.
=end
nobu (Nobuyoshi Nakada)
10:45 PM Bug #1130 (Assigned): [PATCH] extern rb_thread_blocking_region_begin/end
=begin

=end
nobu (Nobuyoshi Nakada)
08:31 PM Bug #1130: [PATCH] extern rb_thread_blocking_region_begin/end
=begin
Also, I think these functions should be added to intern.h so they can be used without rubysig.h

diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index db3bd2e..8c0511b 100644
--- a/include/ruby/intern.h
+++ b...
tmm1 (Aman Karmani)
08:25 PM Bug #1130: [PATCH] extern rb_thread_blocking_region_begin/end
=begin
Still having issues with g++:

/tmp/ruby19/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete
g++ -I. -I/tmp/ruby19/include/ruby-1.9.1/x86_64-linux -I/tmp/ruby19/include/ruby-1.9.1/ruby...
tmm1 (Aman Karmani)
07:07 PM Bug #1130 (Closed): [PATCH] extern rb_thread_blocking_region_begin/end
=begin
Applied in changeset r22123.
=end
nobu (Nobuyoshi Nakada)
05:19 PM Bug #1130 (Closed): [PATCH] extern rb_thread_blocking_region_begin/end
=begin
rubysig.h uses:

RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void);
RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *);

which compiles and links, but do...
tmm1 (Aman Karmani)
08:01 PM Feature #1122: request for: Object#try
=begin
Hi --

On Sun, 8 Feb 2009, Roger Pack wrote:

>>>> Anyone has better name?
>
> For me try's name is good but not perfect.
>
> There are a few more options described at [1]. if_not_nil is one.
> andand is one.
>
> I'd ...
dblack (David Black)
07:59 PM Feature #1122: request for: Object#try
=begin
Hi--

On Sun, 8 Feb 2009, Yusuke ENDOH wrote:

> Hi,
>
> 2009/2/7 David A. Black <dblack@rubypal.com>:
>> Hi --
>>
>> On Sat, 7 Feb 2009, Yusuke ENDOH wrote:
>>
>>> Hi,
>>>
>>> 2009/2/7 Narihiro Nakamura <redmine@ru...
dblack (David Black)
01:24 PM Feature #1122: request for: Object#try
=begin
On 08/02/2009, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> Hi,
>
> 2009/2/7 David A. Black <dblack@rubypal.com>:
>
> > Hi --
> >
> > On Sat, 7 Feb 2009, Yusuke ENDOH wrote:
> >
> >> Hi,
> >>
> >> 2009/2/7 Narihiro Na...
hramrach (Michal Suchanek)
12:32 PM Feature #1122: request for: Object#try
=begin
Hi,

2009/2/7 David A. Black <dblack@rubypal.com>:
> Hi --
>
> On Sat, 7 Feb 2009, Yusuke ENDOH wrote:
>
>> Hi,
>>
>> 2009/2/7 Narihiro Nakamura <redmine@ruby-lang.org>:
>>>
>>> Feature #1122: request for: Object#try
...
mame (Yusuke Endoh)
06:37 PM Bug #1129 (Closed): IO.binread(Pathname(...)) dumps core
=begin
Applied in changeset r22121.
=end
nobu (Nobuyoshi Nakada)
02:29 PM Bug #1129 (Closed): IO.binread(Pathname(...)) dumps core
=begin
Pathnameのインスタンスを引数にしたとき、
IO.binreadがコアを吐きます。
IO.readは吐きません。

MacOS X Leopard 10.5.6のMacPortsのruby19
Ubuntu Linux 8.04(Low Price Intel Architecture)で自分でコンパイルしたもの
で確認。

% ruby -rpathname -e 'puts IO.read(Pathname("/...
sakuro (Sakuro OZAWA)
05:04 PM Revision 64f12a46 (git): * ext/socket/option.c (inspect_peercred): struct ucred contains
effective uid/gid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:28 PM Revision 0fe7022c (git): add a note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:27 PM Revision 50f6e9d9 (git): * 2009-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:27 PM Revision 564f5a41 (git): * ext/socket/socket.c (unix_recv_io): relax msg_controllen error
check for x86_64-openbsd4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:49 PM Revision 29926422 (git): LOCAL_PEERCRED is also available on MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:45 PM Revision d0454a21 (git): * ext/socket/option.c (sockopt_inspect): add ifdef guard for
LOCAL_PEERCRED.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:42 PM Revision f11d2b55 (git): * ext/socket/option.c (inspect_local_peercred): cr_uid is a effective
uid, not a real uid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:37 PM Revision 9e457481 (git): * ext/socket/extconf.rb: check sys/param.h and sys/ucred.h.
* ext/socket/rubysocket.h: include sys/param.h and sys/ucred.h.
* ext/socket/option.c (inspect_local_peercred): new function to show
LOCAL_PEERCRED socket option on FreeBSD.
(sockopt_inspect): show as LOCAL_* socket option if AF_UNI...
akr (Akira Tanaka)
03:12 PM Revision ce6e0937 (git): * 2009-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision c02ce887 (git): * ext/socket/rubysocket.h (sockopt_new): add family argument.
* ext/socket/option.c (sockopt_initialize): add vfamily argument.
(sockopt_new): add family argument and record it in the object.
(sockopt_family): new method.
(sockopt_s_int): add vfamily argument.
(sockopt_inspect): show family...
akr (Akira Tanaka)
02:42 PM Revision 3e11901f (git): * enumerator.c (enumerator_with_index): receives one argument which
represents a start offset. [ruby-dev:37921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:39 PM Revision e5f588c8 (git): remove debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:34 PM Revision f64018b1 (git): * include/ruby/st.h, st.c: order entries by a linked list instead of
a loop to fix iteration miss when hash is modified during iteration.
[ruby-dev:37910]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:23 PM Revision 8f9d6d18 (git): * ext/socket/option.c (inspect_peercred): new function to show
SO_PEERCRED socket option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:44 PM Revision 5baafac0 (git): * include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),
(rb_thread_blocking_region_end): marked as deprecated.
* include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++. a
patch from Aman Gupta at [ruby-core:21934]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22130 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
12:53 PM Revision 411e9997 (git): * ext/socket/extconf.rb: check struct cmsgcred.
* ext/socket/ancdata.c (anc_inspect_passcred_credentials): add
"(ucred)".
(anc_inspect_socket_creds): show struct cmsgcred too, for FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:06 PM Revision c79dac1c (git): * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
detach spawned process. [ruby-dev:37936]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:37 AM Revision eb636217 (git): test renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:36 AM Revision e960cf41 (git): * ext/socket/extconf.rb: check struct sockcred.
* ext/socket/ancdata.c (anc_inspect_socket_creds): new function to
show SCM_CREDS on NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:30 AM Revision 732b6951 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:24 AM Revision aa287073 (git): more constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:05 AM Revision e1fc8872 (git): * include/ruby/backward/rubysig.h: extern "C" was missing.
[ruby-core:21929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:47 AM Revision a23547ca (git): * ext/socket/ancdata.c (anc_inspect_passcred_credentials): new
function to show SCM_CREDENTIALS on GNU/Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:34 AM Revision 25d14edf (git): * io.c (rb_io_s_binread): ensures file path. [ruby-dev:37940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:53 AM Revision 03149710 (git): * ext/socket/raddrinfo.c (init_unix_addrinfo): add socktype argument.
(addrinfo_initialize): follow init_unix_addrinfo change.
(addrinfo_s_unix): add optional argument: socktype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:09 AM Revision 6dd9865f (git): * configure.in (RUBY_APPEND_OPTION, RUBY_APPEND_OPTIONS),
(RUBY_PREPEND_OPTION, RUBY_PREPEND_OPTIONS): add option(s)
without duplication.
* configure.in (RUBY_DEFINE_IF): changed parameter order, now
condition comes first.
* configure.in (universal_binary): checks architecture macros, and...
nobu (Nobuyoshi Nakada)
02:10 AM Revision e3cc17a3 (git): fix rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:01 AM Revision 6294d065 (git): select before read_nonblock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:58 AM Bug #1128 (Closed): OptParse outputs a misleading display
=begin
Fixed at r21926 in 1.9 trunk and 1.8 trunk.
=end
nobu (Nobuyoshi Nakada)
12:57 AM Bug #1128 (Closed): OptParse outputs a misleading display
=begin
as discussed
http://www.ruby-forum.com/topic/177288#new

>> require 'optparse' ; OptionParser.new do |o|
o.on('-p', '--123456789012345678901234567890=NAME',
'multiples variant ex: ') {}
end.parse(['-h']...
rogerdpack (Roger Pack)
12:41 AM Revision 048acb66 (git): * runruby.rb: gets extout and arch from rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:10 AM Revision a61cd5ed (git): * 2009-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:10 AM Revision ad235344 (git): specify exception class for rescue clause.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/07/2009

11:43 PM Feature #1122: request for: Object#try
=begin
Hi --

On Sat, 7 Feb 2009, Yusuke ENDOH wrote:

> Hi,
>
> 2009/2/7 Narihiro Nakamura <redmine@ruby-lang.org>:
>> Feature #1122: request for: Object#try
>> http://redmine.ruby-lang.org/issues/show/1122
>>
>> Author: Nari...
dblack (David Black)
10:48 PM Feature #1122: request for: Object#try
=begin
Hi,

2009/2/7 Narihiro Nakamura <redmine@ruby-lang.org>:
> Feature #1122: request for: Object#try
> http://redmine.ruby-lang.org/issues/show/1122
>
> Author: Narihiro Nakamura
> Status: Open, Priority: Normal
>
> Hi.
>
...
mame (Yusuke Endoh)
02:41 AM Feature #1122: request for: Object#try
=begin
Narihiro Nakamura wrote:
> Object#try is new feature of rails2.3.
I mostly use @person.name rescue nil ^_^ #try is nice.

> Matz said: "OK, good name is the last problem." Anyone has better
> name?
since IO and Groovy use a...
murphy (Kornelius Kalnbach)
01:52 AM Feature #1122 (Rejected): request for: Object#try
=begin
Hi.

Object#try is new feature of rails2.3.

http://guides.rubyonrails.org/2_3_release_notes.html
http://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/try.rb
http://ozmm.org/posts/try.h...
authorNari (Narihiro Nakamura)
02:50 PM Revision 1babcafb (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:28 PM Bug #806: Net::Protocol#rbuf_fill is slow
=begin
Breaks if the IO doesn't respond to read_nonblock. StringIO, for example. Fall back to sysread in that case:

Index: lib/net/protocol.rb
===================================================================
--- lib/net/prot...
bitsweat (Jeremy Daer)
12:33 PM Revision b83188dc (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:28 PM Revision 2b8ab6c5 (git): * test/socket/test_addrinfo.rb (test_family_addrinfo): don't use
www.ruby-lang.org.
http://d.hatena.ne.jp/nagachika/20090204/working_for_0f0e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:04 PM Revision dc20aac2 (git): add not about IO#pos and IO#readpartial.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:31 AM Revision 2af799db (git): * 2009-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:31 AM Revision 1f642a1a (git): a test removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:22 AM Revision af14ba14 (git): test setrlimit in a child process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:02 AM Revision 5610e5dc (git): * configure.in (--with-arch): added new option to support
universal binary. replaced --enable-fat-binary option which
didn't work actually.
* configure.in (RUBY_FUNC_ATTRIBUTE): added conditional test.
* configure.in (ac_cv_type_getgroups): decalared because getgroups()
fills rest of the...
nobu (Nobuyoshi Nakada)
08:48 AM Feature #1125 (Closed): [*x] (array consisting only of a splat) does not necessarily return a new array
=begin
For [*x], these are basically the possible outcomes:

1. if x is an Array, returns it unmodified.
2. elsif x responds to to_ary (to_a on 1.9.1), invokes that method and returns its result unmodified.
3. else, returns a n...
mernen (Daniel Luz)
03:31 AM Revision 3c164fd9 (git): * runruby.rb: added --cpu option.
* runruby.rb: skips version check in rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:57 AM Revision 7f0a43c1 (git): * runruby.rb: added --precommand and --show options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:44 AM Revision 7c93e565 (git): * lib/mkmf.rb (have_header): needs dependent headers if trying to
compile.
* ext/socket/extconf.rb: net/if.h depends on other headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:06 AM Feature #1089: Stable sorting for sort and sort_by
Charles Oliver Nutter wrote:
> In JRuby, we recently put in place an unstable hybrid of a couple
> ...
can you remember which version if JRuby still contains the stable sort?
I'd like to do benchmarks...
[murphy]
murphy (Kornelius Kalnbach)
12:57 AM Feature #1089: Stable sorting for sort and sort_by
Charles Oliver Nutter wrote:
> Your two cases make sense to me, and are similar to reasons I gave
> ...
actually, I'd prefer the feature of "stable sort" over "fast sort". I
use Ruby for convenience, not for speed. still: what is the ...
murphy (Kornelius Kalnbach)
12:57 AM Bug #1107: lack consistency in hash iteration
=begin
遠藤です。

2009/02/06 1:01 Yusuke ENDOH <mame@tsg.ne.jp>:
> 同じ要素を複数回 yield する可能性があります。
>
> $ ./ruby -e 'h = {1=>1,2=>2}; h.each {|x| p x; h.delete(2) }'
> [1, 1]
> [1, 1]
>
> すぐには解決策が思いつかないので、ちょっと考えます。


現状の st_foreach だと...
mame (Yusuke Endoh)
12:50 AM Feature #1119: with_index_from
=begin
遠藤です。

2009/2/6 Yukihiro Matsumoto <matz@ruby-lang.org>:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:37928] Re: [Feature:trunk] with_index_from"
> on Fri, 6 Feb 2009 12:04:30 +0900, "Akinori MUSHA" <knu@iDaemons.org> wri...
mame (Yusuke Endoh)

02/06/2009

11:38 PM Feature #1089: Stable sorting for sort and sort_by
Kornelius Kalnbach wrote:
> Charles Oliver Nutter wrote:
> ...
Your two cases make sense to me, and are similar to reasons I gave for
us not to abandon a stable sort. I eventually overruled myself, however,
after more published ben...
headius (Charles Nutter)
03:06 AM Feature #1089: Stable sorting for sort and sort_by
Hello,
it took me some time to answer. Your question wasn't easy ;)
Charles Oliver Nutter wrote:
> I'd love to hear why you're interested in a stable sort.
Two use cases come to my mind where stable sort is needed. Excuse me fo...
murphy (Kornelius Kalnbach)
09:37 PM Bug #1120 (Closed): [PATCH] fix build on GNU/kOpenSolaris
=begin
Simple fix to build on GNU/kOpenSolaris.
=end
rmh (Robert Millan)
08:32 PM Bug #1113: Compilation fails on Ubuntu 8.10, 64 bit
=begin
I can confirm what Shyouhei Urabe says. It runs very long and can eat big amount of memory but it shouldn't hung forever. I use ubuntu 8.10 64bit and has that behavior.
=end
radarek (Radosław Bułat)
04:00 PM Bug #1113 (Third Party's Issue): Compilation fails on Ubuntu 8.10, 64 bit
=begin
We cannot fix a bug of GCC.

To be fair, it just runs very long, not forever.
=end
shyouhei (Shyouhei Urabe)
10:33 AM Bug #1113: Compilation fails on Ubuntu 8.10, 64 bit
=begin
Hi,

At Fri, 6 Feb 2009 01:14:56 +0900,
Tadashi Saito wrote in [ruby-core:21857]:
>> During the make process, the make is stuck on this line; it runs forever:
>> gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-l...
nobu (Nobuyoshi Nakada)
12:10 AM Bug #1113 (Third Party's Issue): Compilation fails on Ubuntu 8.10, 64 bit
=begin
During the make process, the make is stuck on this line; it runs forever:
gcc -O2 -g -Wall -Wno-parentheses -I. -I.ext/include/x86_64-linux -I./include -I. -DRUBY_EXPORT -o parse.o -c parse.c

this is my gcc config:

...
Jakko (Jacques Lemire)
07:04 PM Revision 0c0f9873 (git): * dir.c (dir_read): don't disable rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:40 PM Feature #1119 (Closed): with_index_from
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37928] Re: [Feature:trunk] with_index_from"
on Fri, 6 Feb 2009 12:04:30 +0900, "Akinori MUSHA" <knu@iDaemons.org> writes:

| しかし、 each_with_index_from という名前は長すぎると思います。
|また ea...
matz (Yukihiro Matsumoto)
05:56 PM Bug #1118 (Closed): irb core dumps with 'CTRL-C' with zsh
=begin
Ruby core-dumps when 'CTRL-C' is entered in irb. I only see
this behavior with zsh. Bash appears to do ok.

I'm not sure if this is a Ruby or a zsh issue. I'll be happy
to provide more information.

spitfire% which zs...
emiel (Emiel van de Laar)
03:29 PM Revision 641bdd84 (git): * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): used
conditionally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:26 PM Revision d89dbc4d (git): * test/etc/test_etc.rb: trivial.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:46 PM Revision a0b54e6c (git): * io.c (io_fread): use rb_io_wait_readable for retry
avoid Errno::EINTR on ruby -e 'trap(:CHLD) {}; spawn("sleep 1"); STDIN.read'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:45 PM Revision 7f38c3b1 (git): thread_pthread.c (native_thread_create) [__SYMBIAN32__]: reduced pthread stack size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:35 PM Bug #1066 (Closed): Frequent failure: test_io.rb test 2 on OS X 10.5.6
=begin

=end
akr (Akira Tanaka)
01:33 PM Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
=begin
I couldn't find a problem in the test case.
So I think this is a Ruby bug.

However I cannot reproduce the problem on my GNU/Linux environment.
So assignment cleared.
=end
akr (Akira Tanaka)
01:35 PM Bug #1093 (Closed): make test fails
=begin

=end
akr (Akira Tanaka)
01:34 PM Bug #1093: make test fails
=begin
closed because duplicated.
=end
akr (Akira Tanaka)
01:35 PM Revision 07a25065 (git): thread_pthread.c (native_thread_create) [__SYMBIAN32__]: reduced pthread stack size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:31 PM Revision 71dd7921 (git): (pipe_open) [__SYMBIAN32__]: fixed compile time error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:13 PM Revision cbee174e (git): [__SYMBIAN32__]: included <sys/select.h> for fd_set definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:09 PM Revision c4fe2b28 (git): [__SYMBIAN32__]: included <sys/select.h> for fd_set definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:04 PM Revision 3539c932 (git): Created execl stub as a missing PIPS function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
12:54 PM Revision 7ecbd56a (git): Created execl stub as a missing PIPS function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
12:07 PM Bug #1111 (Closed): -E and -K on shbang
=begin
Applied in changeset r22085.
=end
usa (Usaku NAKAMURA)
11:40 AM Revision 4e214162 (git): * signal.c (register_sigaltstack): ignore sigaltstack error.
It fails on OpenBSD 4.4 when pthread library is linked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:36 AM Revision fb128ef2 (git): no need to restore rlimit in child process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:19 AM Revision 48823bbd (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:18 AM Revision 7e1050e6 (git): * win32/win32.c (rb_w32_readdir_with_enc): fallback to OS convertion
when ASCII-8BIT is passed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:23 AM Revision 6343c99a (git): * win32/{dir.h, win32.c} (rb_w32_readdir_with_enc): new function to
read entry with specified enc.
* win32/win32.c (readdir_internal): extract from rb_w32_opendir().
* win32/win32.c (opendir_internal): extract from rb_w32_readdir().
* dir.c (dir_read, dir_each): use new READDIR...
U.Nakamura
04:52 AM Bug #1116 (Closed): Compilation error for Solaris 10 sparc
=begin
I configured with "./configure --prefix=/usr/local --enable-pthread"

I have tried to compile both ruby-1.9.1-p0 and ruby-1.9.1-rc2. I receive the same error with both.

The error I get is:

make[1]: Entering director...
Luke (Luke McOmber)
03:12 AM Revision 03c73322 (git): * ruby.c (process_options): set initial default_external before -r.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:05 AM Revision 5067bfe3 (git): * ruby.c (process_options): -K and -E in shebang should be reflect to
default_external. [ruby-dev:37920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:57 AM Bug #1108 (Closed): Typo in String#codepoints documentation.
=begin
Applied in changeset r22083.
=end
matz (Yukihiro Matsumoto)
02:53 AM Feature #1084: request for: Array#sort_by!
=begin
Yukihiro Matsumoto wrote:
> Although I now recognize the ordered hash as 1.9 spec, I still
> hesitate to add sorting method that returns "sorted" hash to the Hash
> class.
I think I see your point. I always disliked Hash me...
murphy (Kornelius Kalnbach)
12:25 AM Feature #1084: request for: Array#sort_by!
=begin
Hi,

In message "Re: [ruby-core:21752] Re: [Feature #1084](Closed) request for: Array#sort_by!"
on Mon, 2 Feb 2009 23:30:47 +0900, "Florian Frank" <flori@nixe.ping.de> writes:

|I already asked in ruby-core:21318 and did...
matz (Yukihiro Matsumoto)
02:44 AM Bug #1105: Ruby1.9でのrescue節の例外ハンドラのマッチの処理
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37922] Re: [Bug #1105] Ruby1.9でのrescue節の例外ハンドラのマッチの処理"
on Thu, 5 Feb 2009 23:58:56 +0900, SASADA Koichi <ko1@atdot.net> writes:

|# そもそも,これは以前まつもとさんに「この仕様でいいですかね」と確認を
|# とったんだけどなぁ....
matz (Yukihiro Matsumoto)
02:35 AM Bug #883: Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin
reported in [ruby-dev:37919], failed when path of source tree includes '-'.
=end
znz (Kazuhiro NISHIYAMA)
02:20 AM Bug #1115 (Closed): $SAFE=1でのrequireがSecurityErrorになる
=begin
[ruby-dev:37843]の件がredmineにチケットとして登録されていなかったので、登録します。

現在わかっている条件は以下の2つです。

1. *.soをrequireする。

% ruby-1.9.1 -ve '$SAFE=1;p require "zlib"'
ruby 1.9.1p0 (2009-02-02 revision 21960) [i686-linux]
-e:1:in `require': ...
znz (Kazuhiro NISHIYAMA)
01:02 AM Bug #1107: lack consistency in hash iteration
=begin
遠藤です。

2009/02/05 3:25 Yukihiro Matsumoto <matz@ruby-lang.org>:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:37912] Re: [Bug:1.9] lack consistency in hash iteration"
> on Thu, 5 Feb 2009 03:18:19 +0900, Yusuke ENDOH <mame...
mame (Yusuke Endoh)
12:59 AM Feature #1112: with_index_from
=begin
遠藤です。

2009/02/06 0:43 Akinori MUSHA <knu@idaemons.org>:
> At Thu, 5 Feb 2009 23:18:49 +0900,
> Yusuke ENDOH wrote:
>> with_index の開始インデックスを指定できるバージョンがあると便利だと
>> 思います。
>>
>>
>> $ ./ruby -e 'p %w(a b c).map.with_index_fro...
mame (Yusuke Endoh)
 

Also available in: Atom