Project

General

Profile

Activity

From 02/01/2009 to 02/07/2009

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)

02/05/2009

11:59 PM Bug #1105: Ruby1.9でのrescue節の例外ハンドラのマッチの処理
=begin
 ささだです.

Nobuyoshi Nakada wrote::
> +static VALUE
> +m_core_handle_rescue_single(VALUE self, VALUE klass, VALUE exc)
> +{
> + check_rescue_arg(klass);

+ check_rescue_arg(exc);

> + return rb_funcall(klass, i...
ko1 (Koichi Sasada)
09:04 AM Bug #1105: Ruby1.9でのrescue節の例外ハンドラのマッチの処理
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37903] Re: [Bug #1105] Ruby1.9でのrescue節の例外ハンドラのマッチの処理"
on Wed, 4 Feb 2009 20:21:21 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|At Wed, 4 Feb 2009 16:45:09 +0900,
|Tatsuj...
matz (Yukihiro Matsumoto)
11:19 PM Feature #1112 (Closed): with_index_from
=begin
遠藤です。

with_index の開始インデックスを指定できるバージョンがあると便利だと
思います。


$ ./ruby -e 'p %w(a b c).map.with_index_from(1) {|c, i| [c, i] }'
[["a", 1], ["b", 2], ["c", 3]]


インデックスを指定したい理由としては、

- ユーザインターフェイスでは 1 番目から数えることが多い
(参照) htt...
mame (Yusuke Endoh)
10:53 PM Revision 1bd61114 (git): * ext/pty/pty.c (chfunc): type fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:53 PM Revision 68ac487d (git): * string.c (rb_str_each_codepoint): update RDoc for
String#codepoints. a patch from Radoslaw Bulat in
[ruby-core:21835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:51 PM Bug #1111 (Closed): -E and -K on shbang
=begin
shbang行の-Eや-KがEncoding.default_externalに作用していません。
プラットフォーム依存なし、1.9.1p0でも再現します。

% cat foo.rb
#!ruby -Ku
p Encoding.default_external

% LANG= ruby aaa.rb
#<Encoding:US-ASCII>
=end
usa (Usaku NAKAMURA)
05:18 PM Feature #1106: Script encoding vs. default_internal: Implicitly transcode strings/regexps
=begin
Thanks for the summary. I'm not really sure what problem the current solution is supposed to solve but it's not mine to question it.

IMHO ruby should inform users about such conflicts or simply throw an error. Currently, rub...
tomel (Tom Link)
08:07 AM Feature #1106: Script encoding vs. default_internal: Implicitly transcode strings/regexps
=begin
There were a number of quite long discussions about String (and Regexp) literal encodings (as well as other encoding compatibility issues) last year.
The decisions (as I recall) were:
- There should be NO silent transcoding i...
mike (Michael Selig)
05:01 PM Bug #1110 (Closed): encoding warning
=begin
 ささだです.

 以下のように,-v や -w 付きの ruby で erb を require すると,"coding:
..." の場所が違うよ,という警告が出ます.

$ cat test.rb
require 'erb'

$ /tmp/trunk/bin/ruby -v test.rb
ruby 1.9.2dev (2009-02-05 trunk 22076) [x86_64-linux]
test....
ko1 (Koichi Sasada)
04:13 PM Revision bbb86032 (git): * 2009-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:13 PM Revision 495293a1 (git): * cont.c (cont_mark, cont_capture, cont_restore_1): use #else instead
of #elif. a patch from NISHIMATSU Takeshi <t_nissie at yahoo.co.jp>
in [ruby-list:45856].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:01 PM Revision d779fbe7 (git): * 2009-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:01 PM Revision 95b22614 (git): merged revision 21628:
* configure.in (darwin): get rid of strange settings issue of
apple gcc port, which searches /usr/local/include always but
/usr/local/lib not.
* ext/readline/readline.c (Init_readline): suppress warnings with...
nobu (Nobuyoshi Nakada)
11:33 AM Revision 74063bf4 (git): * include/ruby/intern.h (rb_run_exec_options_err): renamed from
rb_run_exec_options.
(rb_exec_err): renamed from rb_exec.
(rb_fork_err): renamed from rb_fork.
(rb_spawn_err): renamed from rb_spawn.
(rb_run_exec_options): declared with 1.9.1 compatible signature.
(rb_exec): ditto.
(rb_fork...
akr (Akira Tanaka)
11:01 AM Revision 88f04bdd (git): * ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:02 AM Bug #454 (Rejected): URI does not follow the last rfc about uri syntax
=begin
URI.escape does not parse the argument string as an URI.
The method only replace all UNSAFE chars in the string.
=end
akira (akira yamada)
07:18 AM Revision b3e66576 (git): * configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix for
NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:05 AM Revision 1754ec8a (git): * win32/Makefile.sub (config.h): follow recent changes about paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:26 AM Revision 1fbd605d (git): * configure.in (MAJOR, MINOR, TEENY): uses RUBY_VERSION_*.
* mkconfig.rb (prefix): uses ruby_version in config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 AM Bug #1104 (Closed): TZ and Time.now
=begin
Applied in changeset r22053.
=end
matz (Yukihiro Matsumoto)
04:01 AM Bug #1108 (Closed): Typo in String#codepoints documentation.
=begin
Index: string.c
===================================================================
--- string.c (wersja 22052)
+++ string.c (kopia robocza)
@@ -5750,7 +5750,7 @@
* when applied to Unicode strings. If a block is give...
radarek (Radosław Bułat)
03:25 AM Bug #1107: lack consistency in hash iteration
=begin
まつもと ゆきひろです

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@tsg.ne.jp> writes:

|> * このパッチの対象は1.9ですか、1.8ですか?
|
|[Bug:1.9] のとおり、...
matz (Yukihiro Matsumoto)
03:19 AM Bug #1107: lack consistency in hash iteration
=begin
遠藤です。

2009/02/05 3:11 Yukihiro Matsumoto <matz@ruby-lang.org>:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:37910] [Bug:1.9] lack consistency in hash iteration"
> on Thu, 5 Feb 2009 02:51:16 +0900, Yusuke ENDOH <mame@tsg...
mame (Yusuke Endoh)
03:11 AM Bug #1107: lack consistency in hash iteration
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37910] [Bug:1.9] lack consistency in hash iteration"
on Thu, 5 Feb 2009 02:51:16 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|[ruby-core:21812] で調べていて気が付いたことですが、
|
|$ ./ruby -e ...
matz (Yukihiro Matsumoto)
02:52 AM Bug #1107 (Closed): lack consistency in hash iteration
=begin
遠藤です。

[ruby-core:21812] で調べていて気が付いたことですが、

$ ./ruby -e 'h = {0 => nil}; i = 1; h.each_key { h[i] = nil; i += 1 }'

は停止し、

$ ./ruby -e 'h = {0 => nil, 1 => nil}; i = 2; h.each_key { h[i] = nil; i += 1 }'

は無限ループになります。
...
mame (Yusuke Endoh)
03:24 AM Revision a2c7fdc7 (git): * array.c (rb_ary_uniq): gets rid of copying.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:01 AM Revision e3c8cdca (git): * array.c (ary_add_hash): split from ary_make_hash().
* array.c (ary_recycle_hash): clears internally used hash. this
name came from [ruby-dev:37908].
* array.c (rb_ary_diff, rb_ary_and, rb_ary_or, rb_ary_uniq_bang):
recycle hashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
02:37 AM Revision 8b093ebc (git): * array.c (ary_make_hash): hide a Hash used internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:24 AM Revision 38a6dfcb (git): * id.c (Init_id): use semicolons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:21 AM Revision f4e9d9a2 (git): * configure.in (RUBY_LIB_VERSION): added for library version, to
split from core version. [ruby-dev:37748]
* configure.in (RUBY_LIB_PATH, etc): moved actual version
dependent stuff to version.c.
* ruby.c (ruby_init_loadpath_safe): ditto.
* version.c (ruby_initial_load_paths): moved initial load ...
nobu (Nobuyoshi Nakada)
12:39 AM Revision d17f8b06 (git): merge revision(s) 20142:
* ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
conversion. [ruby-list:45609]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:38 AM Revision cde7c409 (git): merge revision(s) 20142:
* ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
conversion. [ruby-list:45609]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
12:09 AM Revision 0d0fe1a5 (git): don't connect to unspecified address (0.0.0.0). OpenBSD reject it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:03 AM Revision 1323a6e4 (git): merge revision(s) 20121:
* lib/rexml/entity.rb (unnormalized): do not call
document.record_entity_expansion if document is nil.
see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>.
Thanks, Naohisa Goto. backported from tr...
shyouhei (Shyouhei Urabe)
12:02 AM Revision 284dc8ef (git): merge revision(s) 20121:
* lib/rexml/entity.rb (unnormalized): do not call
document.record_entity_expansion if document is nil.
see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>.
Thanks, Naohisa Goto. backported from tr...
shyouhei (Shyouhei Urabe)

02/04/2009

11:55 PM Revision d7542187 (git): merge revision(s) 20103:
* array.c (rb_ary_join): do not repeat self in a recursive array.
[ruby-dev:37019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
11:55 PM Revision a120cd59 (git): merge revision(s) 20103:
* array.c (rb_ary_join): do not repeat self in a recursive array.
[ruby-dev:37019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:46 PM Revision 4a7a6794 (git): change from assigned variable to called function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:42 PM Revision 37131afd (git): * ext/readline/readline.c (Init_readline): entry may be NULL.
[ruby-dev:37891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
08:22 PM Bug #1105: Ruby1.9でのrescue節の例外ハンドラのマッチの処理
=begin
なかだです。

At Wed, 4 Feb 2009 16:45:09 +0900,
Tatsuji Kawai wrote in [ruby-dev:37898]:
> Ruby1.9とRuby1.8では、例外ハンドルクラスのリストにExceptionのサブ
> クラス以外のオブジェクトが含まれている場合の挙動に違いがあります。

これでどうでしょうか。


Index: compile.c
==================...
nobu (Nobuyoshi Nakada)
04:45 PM Bug #1105 (Rejected): Ruby1.9でのrescue節の例外ハンドラのマッチの処理
=begin
河井です。

Ruby1.9とRuby1.8では、例外ハンドルクラスのリストにExceptionのサブ
クラス以外のオブジェクトが含まれている場合の挙動に違いがあります。

例えば以下のプログラムを実行した場合、

begin
raise
rescue Object.new, RuntimeError => e
p e
end

ruby 1.9.2dev (2009-02-02 trunk 2...
tkawai (Tatsuji Kawai)
07:09 PM Revision b5ae8db5 (git): * time.c (LOCALTIME): should call tzset() before localtime_r().
[ruby-dev:37896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:53 PM Feature #1106: Script encoding vs. default_internal: Implicitly transcode strings/regexps
=begin
Unicode codepoint is compatible with ISO-8859-1, converting regexp is not harmful.
But for example in Windows-1252, /[~-€]/ matches only Tilde and DEL and Euro Sign.
But after converted to UTF-8, /[~-€]/ means /[\u007E-\u20AC...
naruse (Yui NARUSE)
06:22 PM Feature #1106 (Rejected): Script encoding vs. default_internal: Implicitly transcode strings/regexps
=begin
If I'm not mistaken, a related issue was discussed in the past (eg [1]). Anyway, please take a sec and consider the following scripts and input files:


FILE: test2.rb:
# encoding: UTF-8
Encoding.default_internal = Enco...
tomel (Tom Link)
06:30 PM Bug #1098: Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
=begin
At 10:38 09/02/04, you wrote:
>Hi,
>
>In message "Re: [ruby-core:21802] [Bug #1098] Unclear encoding error:
>#<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to
>ISO-8859-1 in conversion from CP850 to ISO-88...
duerst (Martin Dürst)
02:55 PM Bug #1098: Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
=begin
> You declared in magic comment as CP850, but your exact script encoding seems ISO-8859-1.

It wasn't there in the original script. But you're right.
=end
tomel (Tom Link)
02:52 PM Bug #1098: Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
=begin
> First, since we haven't implemented direct conversion path from CP850
> to ISO-8859-1 (yet), Ruby converts strings via UTF-8, hence the
> message.  If you have suggestion for better description, we are open.

I'd suggest so...
tomel (Tom Link)
02:31 PM Bug #1098 (Rejected): Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
=begin
You declared in magic comment as CP850, but your exact script encoding seems ISO-8859-1.

Your character: U+00DF (Latin Small Leter Sharp S) is,
\xDF in ISO-8859-1
\xE1 in CP850

"\xdf".encode("iso-8859-1","CP850")
...
naruse (Yui NARUSE)
10:38 AM Bug #1098: Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
=begin
Hi,

In message "Re: [ruby-core:21802] [Bug #1098] Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>"
on Tue, 3 Feb 2009 22:53:34 ...
matz (Yukihiro Matsumoto)
05:42 PM Revision efdc317e (git): Updated Symbain configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
05:31 PM Revision dfbe79f2 (git): Updated Symbain configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
05:31 PM Revision c501546e (git): Updated Symbain configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
04:45 PM Revision b916afdd (git): * transcode.c (make_econv_exception): refine error message for
undefined conversion. [ruby-core:21828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:21 PM Revision 5127799e (git): add Socket.pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:20 PM Revision 5ce10c13 (git): * ext/socket/socket.c (sock_s_socketpair): make 3rd argument optional.
* ext/socket/unixsocket.c (unix_s_socketpair): follow the above
change.
* ext/socket/rubysocket.h (sock_s_socketpair): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:54 PM Bug #1104 (Closed): TZ and Time.now
=begin
ENV["TZ"] を変えながら Time.now の出力を見ると、以下のように何か変な感じです。

$ echo $TZ

$ cat tz.rb
p Time.now
puts(ENV["TZ"] = "EST")
p Time.now
p Time.now
puts(ENV["TZ"] = "Asia/Tokyo")
p Time.now
p Time.now
$ ruby -v tz.rb
r...
no6v (Nobuhiro IMAI)
03:42 PM Revision 1934c7a8 (git): test relaxed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:34 PM Revision 3eab1912 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:12 PM Revision e2f0aeb4 (git): relax tests for MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:10 PM Revision 1d46aa9f (git): * 2009-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 9dfc90dc (git): * ext/socket/raddrinfo.c (addrinfo_ipv6_to_ipv4): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:51 PM Revision ac5b6813 (git): Updated Symbian configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
01:38 PM Revision 9845b50c (git): relax tests for IPv4 compat/mapped IPv6 addresss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:01 PM Revision e193fa79 (git): * transcode.c (make_econv_exception): show U+XXXX form for undefined
conversion error from UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:59 PM Revision 54936663 (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:58 PM Revision 28e33ad6 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:58 PM Revision 6ae8b15d (git): * string.c (rb_str_dump): use MBCLEN_CHARFOUND_P properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:58 PM Feature #1103 (Closed): Ruby used for webrick cgi should be configurable
=begin
The ruby used for cgi in webrick is not configurable.

This patch allows the ruby binary to be configurable so that ruby does not need to be installed to use webrick cgi.

This also fixes webrick tests.
=end
tenderlovemaking (Aaron Patterson)
12:57 PM Revision c77f3230 (git): * bootstraptest/runner.rb: refine success message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:37 AM Feature #1102 (Closed): Prepend Module
=begin
Currently when a module is included into a classes, it is appended to the class hierarchy (ie. the method lookup order). This of course makes sense, but there are times when it would be useful to *prepend* the module. For exampl...
trans (Thomas Sawyer)
10:47 AM Revision 9a783473 (git): add Dir.home
update s of new method(s)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:45 AM Revision c5229b7d (git): fixed typos and remove some spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:43 AM Revision 26ea147c (git): * 2009-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:43 AM Revision 53995ed1 (git): fixed typos and remove some spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:17 AM Bug #1100 (Closed): parsing bad YAML crashes interpreter
=begin
Applied in changeset r22024.
=end
matz (Yukihiro Matsumoto)
08:07 AM Bug #1100: parsing bad YAML crashes interpreter
=begin
PRIdPTRDIFF may define with the length modifier 't' in include/ruby/ruby.h,
but missing/vsnprintf.c does not support the length modifier 't'.

% cat bug1100.c
#include <ruby/ruby.h>

void
Init_bug1100(void)
{
...
znz (Kazuhiro NISHIYAMA)
04:09 AM Bug #1100 (Closed): parsing bad YAML crashes interpreter
=begin
$ ruby18 -ryaml -e 'YAML.load("{: 1}")'
/usr/local/ruby/1.8.7-gc/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 0, col 2: `{: 1}' (ArgumentError)
from /usr/local/ruby/1.8.7-gc/lib/ruby/1.8/yaml.rb:133:in `load'
...
bitsweat (Jeremy Daer)
10:10 AM Revision 136f31b0 (git): * Makefile.in (id.h): updates from parse.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:52 AM Bug #1099: Invalid value of StringIO#pos after StringIO#ungetc
=begin
The following issue was reported to the redmine4ruby-lang project but it
should be reported to ruby-core.

On 2/3/09 11:56 PM, Yauheni Akhotnikau wrote:
> Bug #1099: Invalid value of StringIO#pos after StringIO#ungetc
> http...
yugui (Yuki Sonoda)
09:38 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
Hi,

In message "Re: [ruby-core:21817] Re: [Feature #908] Should be an easy way of reading N characters from am I/O stream"
on Wed, 4 Feb 2009 09:33:44 +0900, Michal Suchanek <hramrach@centrum.cz> writes:

|> Re: seeki...
matz (Yukihiro Matsumoto)
09:34 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
On 04/02/2009, Michael Selig <redmine@ruby-lang.org> wrote:

>
> Re: seeking by character count - it would be nice, but I have no idea how it could be implemented efficiently!

For UTF-8/UTF-16/SJIS/EUC-JP/BIG5 .. no. UTF-3...
hramrach (Michal Suchanek)
08:27 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
I have a simple use-case:

Existing datafile has fixed length records, currently single-byte chars. I want to convert the application (which is quite old) to support multi-byte characters, but I don't want to have to go to th...
mike (Michael Selig)
12:47 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
I wonder also about byte-oriented IO#seek if someone want to have
character-oriented seek. It looks like byte-oriented seekd is useless
in multibyte character-oriented stream because it could jump to bad
position (in the middl...
radarek (Radosław Bułat)
08:23 AM Bug #1085: Got the error message, after run 'gem install --test'.
=begin

On Feb 1, 2009, at 05:26 , Takao Kouji wrote:

> Hi, Ryan.
>
> I use ruby 1.9.1p5000 (2009-01-31 trunk 21924) [i386-darwin9.6.0].
> I got the error message, after I run 'gem install --test <gem
> package>'.
>
> ERROR...
zenspider (Ryan Davis)
05:27 AM Revision fead30ad (git): merge revision(s) 20072:
* dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:26 AM Revision 1e6e5658 (git): merge revision(s) 20072:
* dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:50 AM Revision fbea35aa (git): * win32/mkexports.rb: shouldn't export DllMain.
reported at http://pc11.2ch.net/test/read.cgi/tech/1233686068/21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:16 AM Revision 049d98c6 (git): * missing/vsnprintf.c (BSD_vfprintf): should support 't' format
modifier to handle PRIdPTRDIFF. thanks for the info from
Kazuhiro NISHIYAMA. [ruby-core:21807]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)

02/03/2009

11:56 PM Bug #1099 (Closed): Invalid value of StringIO#pos after StringIO#ungetc
=begin
This unit test is passed under Ruby 1.8.7 and failed under Ruby 1.9.1-p0 (mswin32):

require 'stringio'
require 'test/unit'

class TC_StringIO_Ungetc < Test::Unit::TestCase
def test_ungetc
b = '\\b00010001 \\B...
eao197 (Yauheni Akhotnikau)
11:17 PM Bug #1096 (Closed): Failure: test_build_extensions_extconf_bad(TestGemInstaller)
=begin
Applied in changeset r22016.
=end
nobu (Nobuyoshi Nakada)
04:23 PM Bug #1096 (Closed): Failure: test_build_extensions_extconf_bad(TestGemInstaller)
=begin
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/last
1) Failure:
test_build_extensions_extconf_bad(TestGemInstaller) [/home/akr/chkbuild/tmp/build/ruby-trunk/20090203T103700/ruby/test/rubygems/test_gem_installer.rb:7...
znz (Kazuhiro NISHIYAMA)
11:06 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
I needed this in the standard CSV library.

My use case was that I peek ahead in the stream to determine what kind of line endings it has. I just grab a block of characters and see if I find any standard line endings in ther...
JEG2 (James Gray)
10:21 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
Reading N characters from stream is (at least for me) as natural as reading N bytes. Usecases are almost the same as for bytes but when you want operate on characters. For example you have file encoded in utf-8 and want to read f...
radarek (Radosław Bułat)
10:44 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
What's the usecases?
=end
akr (Akira Tanaka)
10:42 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin

=end
shyouhei (Shyouhei Urabe)
10:53 PM Bug #1098 (Rejected): Unclear encoding error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>
=begin
The test script below exits with the error: #<Encoding::UndefinedConversionError: "\xE2\x96\x80" from UTF-8 to ISO-8859-1 in conversion from CP850 to ISO-8859-1>

This is weird/unclear/incomprehensible because I fail to see w...
tomel (Tom Link)
10:50 PM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
Just trying to compile trunk-after-1.9.1 (#22011) using llvm-gcc-4.2 (aka llvm-2.4). miniruby still spins unless configure is given the "--with-setjmp-type=setjmp" parameter. Seems to be running fine compiled like this. Intere...
roberto (Ollivier Robert)
10:33 PM Bug #1097: Ruby 1.9.1 における sqlite3-ruby のインストール時のエラー
=begin
応答ありがとうございます。仰る通り、sqlite3-ruby 1.2.4 の mswin32 版バイナリはまだ配布されていませんでした。

調べてみたところ、sqlite3-ruby 1.2.3 はビルド済の mswin32 版バイナリが配布されていたので
> gem install sqlite3-ruby --version=1.2.3
と version を指定してインストールしてみたところ上手くいきました。


=end
redcat (Jun Kudo)
09:31 PM Bug #1097 (Rejected): Ruby 1.9.1 における sqlite3-ruby のインストール時のエラー
=begin
たぶんsqlite3-rubyの1.9.1-p0-mswin32用のバイナリが配布されていないので、自前で拡張ライブラリをビルドしようとしているのでしょう。
その場合は当然前提となる諸々(コンパイラ、ライブラリ、などなど)を自分の環境に用意しておく必要があります。

揃っていて、それでも問題が出ているのなら、またOpenしてください。
=end
usa (Usaku NAKAMURA)
09:09 PM Bug #1097 (Rejected): Ruby 1.9.1 における sqlite3-ruby のインストール時のエラー
=begin
Ruby 1.9.1-p0-mswin32 バイナリ版で、gem install rails を実行したあと、gem で sqlite3-ruby をインストールしようとすると、一般に解説されているようなメッセージではなく、以下のメッセージが出てしまいます。

エラーかな ? と思ったので、トラッカーは Bug にしておきました。

---- エラーメッセージここから ----
C:\Ruby\bin>gem install sqli...
redcat (Jun Kudo)
09:17 PM Feature #1095 (Closed): Readline.completion_proc = nil を許可する。
=begin
Applied in changeset r22012.
=end
kouji (Kouji Takao)
05:17 PM Feature #1095: Readline.completion_proc = nil を許可する。
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37880] [FEATURE:trunk] Readline.completion_proc = nil を許可する。"
on Tue, 3 Feb 2009 14:57:10 +0900, Takao Kouji <kouji@takao7.net> writes:

|Readline.readlineの補完候補を取得する Proc を Readlin...
matz (Yukihiro Matsumoto)
03:02 PM Feature #1095: Readline.completion_proc = nil を許可する。
=begin

=end
kouji (Kouji Takao)
02:57 PM Feature #1095 (Closed): Readline.completion_proc = nil を許可する。
=begin
高尾宏治です。

Readline.readlineの補完候補を取得する Proc を Readline.completion_proc= で指定できます。
しかし、補完候補を取得する処理をデフォルトのものに戻す方法がありません。
Readline.completion_proc に nil をセットできればデフォルトの挙動になるので、
それを許可しようと思います。以下のような記述ができるようになります。

begin
...
kouji (Kouji Takao)
05:53 PM Feature #859: open-uri doesn't allow redirection to https
=begin
I quote from [ruby-core:21234] :

But first of all the HTTP --> HTTPS redirection should be still considered ok.

Regarding the other way, well, the Referer should be set to the URL that redirected us. I believe this is n...
romanbsd (Roman Shterenzon)
05:50 PM Feature #859: open-uri doesn't allow redirection to https
=begin
Originally reported on:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
=end
romanbsd (Roman Shterenzon)
10:58 AM Feature #859: open-uri doesn't allow redirection to https
=begin
[ruby-core:21203]
=end
akr (Akira Tanaka)
10:57 AM Feature #859: open-uri doesn't allow redirection to https
=begin

=end
shyouhei (Shyouhei Urabe)
05:50 PM Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
=begin

=end
akr (Akira Tanaka)
04:40 PM Revision 12a5cf82 (git): revert useless change part in the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:29 PM Revision 20ac101d (git): * ext/socket/extconf.rb: fix struct in_pktinfo and struct in6_pktinfo
detection.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:39 PM Revision c07b4ef1 (git): * test/etc/test_etc.rb(test_getpwnam, test_getgrgid, test_getgrnam):
support an envirionment that has duplicative entries. a patch from
Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp> in
[ruby-dev:37882].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22021 b2dd03c8-39d4-4d8f-98ff-8...
mame (Yusuke Endoh)
03:21 PM Revision ee3c53a7 (git): * 2009-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 9274fbfa (git): * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): skip
socket creation error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:11 PM Bug #1093: make test fails
=begin

=end
akr (Akira Tanaka)
02:39 PM Bug #1093 (Closed): make test fails
=begin
[...]
#223 test_io.rb:11:in `<top (required)>':
begin
require "io/nonblock"
r, w = IO.pipe
w.nonblock = true
w.write_nonblock("a" * 100000)
w.nonblock = false
t1 = T...
gdonald (Greg Donald)
02:58 PM Bug #1094 (Third Party's Issue): fuse_common.h:32:2: error
=begin
Sorry, We don't know how to deal with your local header.
=end
shyouhei (Shyouhei Urabe)
02:43 PM Bug #1094 (Third Party's Issue): fuse_common.h:32:2: error
=begin
./configure --prefix=$HOME/bin/ruby19
[...]
checking whether ELF binaries are produced... no
checking whether OS depend dynamic link works... In file included from /usr/local/include/fuse/fuse.h:26,
from ...
gdonald (Greg Donald)
02:50 PM Revision 5a56fc35 (git): don't connect to unspecified address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:37 PM Revision 813dad7a (git): * ruby.c (load_file_internal): resets EOF flag after parse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:13 PM Revision bca5029d (git): * vm.c (vm_backtrace): always returns non-nil array if lev is
negative. [ruby-core:21795]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 PM Feature #1081: add File::write() convenience method
=begin
Hi,

Sorry for my late response.

Matz wrote:
> What do you think proper API for combined File.open?
>
> File::write(path, string, mode, opt)

I prefer this order of parameters because it feels natural:

...
sunaku (Suraj Kurapati)
12:50 PM Feature #259: String crypt method's salt argument should be optional
=begin

=end
shyouhei (Shyouhei Urabe)
12:37 PM Bug #445: [PATCH] Net::HTTPHeaders#fetch raises NoMethodError instead of returning default values
=begin

=end
shyouhei (Shyouhei Urabe)
12:35 PM Bug #446: [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError
=begin

=end
shyouhei (Shyouhei Urabe)
12:33 PM Bug #447: [PATCH] Net::HTTPHeaders iterator methods should return Enumerators
=begin

=end
shyouhei (Shyouhei Urabe)
12:30 PM Bug #454: URI does not follow the last rfc about uri syntax
=begin

=end
shyouhei (Shyouhei Urabe)
12:28 PM Revision e2fc3f38 (git): * NEWS: added comment for Readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kouji (Kouji Takao)
12:21 PM Revision d60cd5b3 (git): * ext/readline/extconf.rb: checked rl_set_screen_size and
rl_get_screen_size.
* ext/readline/readline.c (readline_s_set_screen_size): added
Readline.set_screen_size.
* ext/readline/readline.c (readline_s_get_screen_size): added
Readline.get_screen_size.
git-svn-id: svn+ssh://ci.ruby-lan...
kouji (Kouji Takao)
12:19 PM Bug #496: DRb.start_service(nil) is very slow
=begin

=end
shyouhei (Shyouhei Urabe)
12:17 PM Revision 4a2b6b20 (git): * ext/readline/readline.c: updated year of copyright.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kouji (Kouji Takao)
12:16 PM Feature #512: String#% behavior
=begin

=end
shyouhei (Shyouhei Urabe)
12:15 PM Revision dbf657ca (git): * ext/readline/readline.c (readline_s_set_completion_proc): set
default if proc is nil. fix #1095
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
12:14 PM Bug #514: OpenSSL::OCSP::Response's to_der always returns an empty string
=begin

=end
shyouhei (Shyouhei Urabe)
11:58 AM Feature #583: TmpdirとTempfile
=begin

=end
shyouhei (Shyouhei Urabe)
11:57 AM Bug #585: BigDecimal#remainder is not correct with small divisors
=begin

=end
shyouhei (Shyouhei Urabe)
11:51 AM Bug #1060: mkmf refuses to find 3rd party extensions - ruby 1.9.1 trunk
=begin

>
> At Tue, 27 Jan 2009 17:36:44 +0900,
> Charlie Savage wrote in [ruby-core:21603]:
>> The problem is that mkmf calls Kernel::Sytem, which runs
>> commands in a subshell, which I'm going to guess is windows
>> command.ex...
cfis (Charlie Savage)
11:51 AM Bug #1057: ripper does not compile with mingw
=begin
Hi Nobu,

> How are macros "top_srcdir", "srcdir", "topdir", "hdrdir",
> "arch_hdrdir" defined in ext/ripper/Makefile?

I pasted the generated make file below

> I suspect it might be a VPATH problem of make on msys. If i...
cfis (Charlie Savage)
11:50 AM Bug #655: Query part lost when using Net::HTTP.post_form function
=begin

=end
shyouhei (Shyouhei Urabe)
11:50 AM Bug #1010: Ruby-1.9's rake sh doesn't work on Windows (but fix provided)
=begin
On Wed, Jan 28, 2009 at 1:15 PM, Chauk-Mean Proum <redmine@ruby-lang.org> wrote:
> Issue #1010 has been updated by Chauk-Mean Proum.
>
>
>
> So rake sh command will not work with Ruby 1.9.1 on Windows ?
> I really don't und...
luislavena (Luis Lavena)
11:37 AM Bug #719: yaml not precise on some strings
=begin

=end
shyouhei (Shyouhei Urabe)
11:12 AM Bug #814 (Closed): NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
=begin

=end
shyouhei (Shyouhei Urabe)
11:06 AM Feature #839: Add code on each line of a backtrace output to the screen
=begin

=end
shyouhei (Shyouhei Urabe)
11:02 AM Bug #843: RubyGems include useless libraries
=begin

=end
shyouhei (Shyouhei Urabe)
11:01 AM Bug #853: Rake のテストが無い
=begin

=end
shyouhei (Shyouhei Urabe)
11:00 AM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
=begin

=end
shyouhei (Shyouhei Urabe)
10:53 AM Bug #865: [Fwd: some mistakes in Rake RDoc]
=begin

=end
shyouhei (Shyouhei Urabe)
10:52 AM Bug #866: gem(1) gemrc(5)
=begin

=end
shyouhei (Shyouhei Urabe)
10:45 AM Feature #904 (Closed): C API reference with Doxygen
=begin

=end
shyouhei (Shyouhei Urabe)
10:44 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin

=end
shyouhei (Shyouhei Urabe)
10:41 AM Bug #1092 (Rejected): miniruby cause SEGV on x64-mswin64_90
=begin
(this issue is reported by <yesmar _AT_ speakeasy.net>)

I tried to register with redmine to file this bug but the system would not let me login. Since your name is associated with this bug I decided to directly email the det...
usa (Usaku NAKAMURA)
10:30 AM Bug #921: autoload is not thread-safe
=begin

=end
shyouhei (Shyouhei Urabe)
10:28 AM Bug #924: encoding for stdio's
=begin

=end
shyouhei (Shyouhei Urabe)
10:25 AM Feature #934: request for Time.parse to no longer return Time.now on failure
=begin

=end
shyouhei (Shyouhei Urabe)
10:15 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
=begin

=end
shyouhei (Shyouhei Urabe)
10:13 AM Feature #1089 (Feedback): Stable sorting for sort and sort_by
shyouhei (Shyouhei Urabe)
09:35 AM Revision 45108851 (git): * ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock
mutex if got an exception while waiting, and should ensure unlocked
after signaled. [ruby-dev:37545]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:51 AM Feature #973: EncDet again
=begin
 ささだです.

NARUSE, Yui wrote::
> いっそ prelude に入れてしまいませんか。
> そうすればライブラリ名に関しては悩む必要がなくなります。

 そんなに使うものなんですか?

--
// SASADA Koichi at atdot dot net
=end
ko1 (Koichi Sasada)
04:08 AM Feature #973: EncDet again
=begin
成瀬です。

Yukihiro Matsumoto wrote:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:37679] [FEATURE:trunk] EncDet again"
> on Sat, 3 Jan 2009 19:21:37 +0900, "Yugui (Yuki Sonoda)" <yugui@yugui.jp> writes:
>
> |私はIOへの機能追加が良...
naruse (Yui NARUSE)
07:55 AM Revision 8b729eed (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:36 AM Revision 2b692644 (git): * NEWS: add Array#sort_by!.
* array.c (rb_ary_sort_by_bang): RDoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
07:30 AM Revision 22f6e2e7 (git): fixed typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:25 AM Revision 24eafe83 (git): * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): new
private function for allocating same port both IPv4 and IPv6.
(Socket.tcp_server_sockets): use tcp_server_sockets_port0 for port 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:37 AM Revision 260d0d03 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:27 AM Revision 4aec56ba (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:12 AM Revision 1643d1c2 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:35 AM Revision 6249e5f7 (git): merge revision(s) 19774:
* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
[ruby-dev:36631]
* test/net/pop/test_pop.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22002 b2dd03c8-39d4-4d8f-98ff-823...
shyouhei (Shyouhei Urabe)
05:34 AM Revision 299a6992 (git): merge revision(s) 19774:
* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
[ruby-dev:36631]
* test/net/pop/test_pop.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22000 b2dd03c8-39d4-4d8f-98ff-823...
shyouhei (Shyouhei Urabe)
05:20 AM Revision 1c400db1 (git): * re.c (match_array): replace match_check().
* re.c (match_values_at): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:14 AM Revision 3f59f0e0 (git): * lib/net/imap.rb: validate data before sending to a server.
[ruby-core:20320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
03:31 AM Revision 4e625904 (git): * re.c (match_check): check if MatchData is initialized.
[ruby-core:18749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:12 AM Revision bb9435a7 (git): * lib/net/imap.rb (hmac_md5): should use String#ord to get ascii
code from the one-character string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:41 AM Revision dccb5383 (git): * 2009-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:41 AM Revision 0df96eb7 (git): * lib/rexml/rexml.rb: incremented Ruby::VERSION. Thanks, Jeremy
Kemper. [ruby-core:20113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:25 AM Revision 0f9422ef (git): * load.c (load_lock): warn for circular require. [ruby-core:20794],
[ruby-core:20797]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:00 AM Feature #1084: request for: Array#sort_by!
=begin
On Mon, Feb 2, 2009 at 3:30 PM, Florian Frank <flori@nixe.ping.de> wrote:
> I already asked in ruby-core:21318 and didn't get a reply, but what about
> Hash#sort and Hash#sort_by or even the !-methods? With insertion-ordered ha...
radarek (Radosław Bułat)
12:56 AM Bug #956: Encoding: nl_langinfo(CODESET) on cygwin 1.5 always returns US-ASCII
=begin
It seems that the locale recognition doesn't work 100% or maybe I'm just doing it wrong.

On cygwin, the default external encoding is cp850. If I set LANG=de_DE.UTF-8, then

rube -e "Encoding.default_external"
=> UTF-8
...
tomel (Tom Link)

02/02/2009

11:36 PM Feature #1089: Stable sorting for sort and sort_by
Kornelius Kalnbach wrote:
> I'd like to have stable sorting in Ruby. Stable sorting means that if two items are ==, they will retain their order in the list after sorting. In other words, stable sort does never switch two equal items....
headius (Charles Nutter)
04:32 PM Feature #1089 (Rejected): Stable sorting for sort and sort_by
=begin
I'd like to have stable sorting in Ruby. Stable sorting means that if two items are ==, they will retain their order in the list after sorting. In other words, stable sort does never switch two equal items.

In Ruby 1.9.1, y...
murphy (Kornelius Kalnbach)
11:36 PM Revision 13a468db (git): * ext/socket/lib/socket.rb (Socket.tcp_server_sockets): extracted from
Socket.tcp_server_loop.
(Socket.accept_loop): ditto.
(Socket.unix_server_socket): extracted from Socket.unix_server_loop.
(Socket.unix_server_loop): use Socket.accept_loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21992...
akr (Akira Tanaka)
11:30 PM Revision 2df1053c (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:21 PM Revision fe39ce87 (git): * test/ruby/test_readpartial.rb (make_pipe): readpartial does not
work in text mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:18 PM Revision 5ac71d9f (git): * cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
* win32/mkexports.rb (Exports::Cygwin): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:16 PM Feature #1027: Dir.home
=begin
Thanks for doing that Nobu.
-=r
=end
rogerdpack (Roger Pack)
04:37 PM Feature #1027 (Closed): Dir.home
=begin
Applied in changeset r21953.
=end
nobu (Nobuyoshi Nakada)
12:44 PM Feature #1027: Dir.home
=begin

=end
ko1 (Koichi Sasada)
11:15 PM Revision dc960b87 (git): * tool/generic_erb.rb: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:10 PM Revision 42e0d76c (git): * common.mk (Doxyfile): moved from Makefile.in.
* template/Doxyfile.tmpl: split from Doxyfile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:01 PM Revision 209cfdcf (git): * win32/win32.c (rb_w32_write): use of cast expressions as lvalues
is deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:58 PM Revision b256c5fb (git): * ext/socket/extconf.rb (in_pktinfo, in6_pktinfo),
ext/socket/ancdata.c: defined in w32api/ws2tcpip.h on cygwin but
cannot compile for some reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:31 PM Revision e53c88a4 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:02 PM Revision a1dd4a61 (git): * missing/langinfo.c (nl_langinfo_codeset): accepts iso-8859
fragment. [ruby-core:21757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:01 PM Revision 28155915 (git): * mkconfig.rb (patchlevel): config.status may not contain
PATCHLEVEL even if other version numbers exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:57 PM Feature #1084: request for: Array#sort_by!
=begin
Excerpts from Kornelius Kalnbach's message of Mon Feb 02 13:32:33 +0200 2009:
> Eero Saynatkari wrote:
> > This seems to break expectations for Enumerable, since the
> > method cannot be reasonably supported there (and #sort_b...
rue (Eero Saynatkari)
08:47 PM Feature #1084: request for: Array#sort_by!
=begin
Now the documentation seems a bit confusing:

enum.sort_by! {| obj | block } -> array

Shouldn't it be "array" instead of "enum"?
=end
murphy (Kornelius Kalnbach)
08:33 PM Feature #1084: request for: Array#sort_by!
=begin
Eero Saynatkari wrote:
> This seems to break expectations for Enumerable, since the
> method cannot be reasonably supported there (and #sort_by
> is still defined in Enumerable, as I understand it.) If it
> is to remain, I th...
murphy (Kornelius Kalnbach)
08:29 PM Feature #1084: request for: Array#sort_by!
=begin
Excerpts from Henri Suur-Inkeroinen's message of Mon Feb 02 12:46:52 +0200 2009:
> Issue #1084 has been updated by Yukihiro Matsumoto.
>
> Status changed from Open to Closed
> % Done changed from 0 to 100
>
> Applied in c...
rue (Eero Saynatkari)
07:47 PM Feature #1084 (Closed): request for: Array#sort_by!
=begin
Applied in changeset r21967.
=end
matz (Yukihiro Matsumoto)
04:13 PM Feature #1084: request for: Array#sort_by!
=begin
Yukihiro Matsumoto wrote:
> Despite how you expect, sort_by! is not faster than sort_by at all.
> In fact, it would use sort_by internal then replace the receiver.
I don't expect bang methods to be generally faster, so this wo...
murphy (Kornelius Kalnbach)
02:51 PM Feature #1084: request for: Array#sort_by!
=begin
Hi,

In message "Re: [ruby-core:21729] Re: [Feature #1084] request for: Array#sort_by!"
on Mon, 2 Feb 2009 12:59:10 +0900, James Gray <james@grayproductions.net> writes:

|> Despite how you expect, sort_by! is not faster...
matz (Yukihiro Matsumoto)
12:00 PM Feature #1084: request for: Array#sort_by!
=begin

=end
ko1 (Koichi Sasada)
11:56 AM Feature #1084: request for: Array#sort_by!
=begin
Hi,

In message "Re: [ruby-core:21709] [Feature #1084] request for: Array#sort_by!"
on Sun, 1 Feb 2009 11:11:26 +0900, Radosław Bułat <redmine@ruby-lang.org> writes:

|sort and sort! override it's version from Enumerable...
matz (Yukihiro Matsumoto)
08:07 PM Bug #1087 (Closed): Failure: test_ipv6_address_predicates(TestSocketAddrInfo)
=begin
Applied in changeset r21968.
=end
akr (Akira Tanaka)
11:59 AM Bug #1087: Failure: test_ipv6_address_predicates(TestSocketAddrInfo)
=begin

=end
ko1 (Koichi Sasada)
11:52 AM Bug #1087 (Closed): Failure: test_ipv6_address_predicates(TestSocketAddrInfo)
=begin
configureで--with-lookup-order-hack=INETをつけていると
AddrInfo.ip("::ffff:0.0.0.0").ipv6_v4mapped?
がfalseになるようです。

% ruby-trunk -v test/socket/test_addrinfo.rb
ruby 1.9.1p5000 (2009-02-02 trunk 21938) [i686-linux]
Loaded sui...
znz (Kazuhiro NISHIYAMA)
07:51 PM Bug #1076 (Third Party's Issue): wxRuby crashes with SIGSEGV
=begin
wxruby gem installs 1.8 binary even for 1.9.
It can't work.
=end
nobu (Nobuyoshi Nakada)
12:06 PM Bug #1076: wxRuby crashes with SIGSEGV
=begin

=end
ko1 (Koichi Sasada)
07:27 PM Bug #1083 (Closed): Typos in NEWS file (branch 1_9_1)
=begin
Applied in changeset r21966.
=end
matz (Yukihiro Matsumoto)
12:01 PM Bug #1083: Typos in NEWS file (branch 1_9_1)
=begin

=end
ko1 (Koichi Sasada)
06:57 PM Bug #1074: crash on variable reference in BEGIN inside class
=begin
Hi,

In message "Re: [Bug #1074] crash on variable reference in BEGIN inside class"
on Sat, 31 Jan 2009 09:32:11 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|I fixed this issue in r21876 by changing syntax to pr...
matz (Yukihiro Matsumoto)
12:18 PM Bug #1074: crash on variable reference in BEGIN inside class
=begin

=end
ko1 (Koichi Sasada)
12:15 PM Bug #1074: crash on variable reference in BEGIN inside class
=begin

=end
ko1 (Koichi Sasada)
04:18 PM Bug #963: /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
=begin

=end
akr (Akira Tanaka)
01:08 PM Bug #963: /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
=begin

=end
ko1 (Koichi Sasada)
04:10 PM Feature #1081: add File::write() convenience method
=begin
Yukihiro Matsumoto wrote:
> What do you think proper API for combined File.open?
>
> File::write(path, string, mode, opt)
>
> or
>
> File::write(string, path, mode, opt)
we badly need keyword arguments.

[murphy]
=end
murphy (Kornelius Kalnbach)
03:28 PM Feature #1081: add File::write() convenience method
=begin
Hi,

In message "Re: [ruby-core:21701] [Feature #1081] add File::write() convenience method"
on Sun, 1 Feb 2009 05:46:57 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:

|Please add a File::write() convenience meth...
matz (Yukihiro Matsumoto)
12:02 PM Feature #1081: add File::write() convenience method
=begin

=end
ko1 (Koichi Sasada)
03:02 PM Revision 04ae31eb (git): * 2009-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 2b241a33 (git): add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:44 PM Revision 9946e700 (git): * ext/socket/raddrinfo.c (Init_addrinfo): add AddrInfo#to_s as an
alias of AddrInfo#to_sockaddr.
* ext/socket/option.c (Init_sockopt): add Socket::Option#to_s as an
alias of Socket::Option#data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:08 PM Feature #973: EncDet again
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37679] [FEATURE:trunk] EncDet again"
on Sat, 3 Jan 2009 19:21:37 +0900, "Yugui (Yuki Sonoda)" <yugui@yugui.jp> writes:

|私はIOへの機能追加が良いのではないかと思いました。
| io/encdet.rb

encはencodingの...
matz (Yukihiro Matsumoto)
01:02 PM Feature #973: EncDet again
=begin

=end
ko1 (Koichi Sasada)
01:05 PM Feature #966: String#[] should accept (Regexp, String) args so named groups can be used
=begin

=end
ko1 (Koichi Sasada)
01:03 PM Feature #971: Reinstate RubyVM::InstructionSequence::load
=begin

=end
ko1 (Koichi Sasada)
12:59 PM Feature #977: caller for all threads patch
=begin

=end
ko1 (Koichi Sasada)
12:51 PM Feature #994: Hash-order preservation should be declared a feature; documentation needs to be adapted
=begin

=end
ko1 (Koichi Sasada)
12:51 PM Bug #999: SSL & ZIP missing from ruby-1.9.1-preview1-i386-mswin32
=begin

=end
ko1 (Koichi Sasada)
12:48 PM Bug #1020: Matrix#rank loops in some circumstances
=begin

=end
ko1 (Koichi Sasada)
12:47 PM Feature #1022 (Rejected): backlog option for TCPServer and UNIXServer
=begin

=end
ko1 (Koichi Sasada)
12:47 PM Bug #1073 (Closed): test_to_s(Complex_Test) fails on Solaris
=begin
Applied in changeset r21945.
=end
shugo (Shugo Maeda)
12:18 PM Bug #1073: test_to_s(Complex_Test) fails on Solaris
=begin

=end
ko1 (Koichi Sasada)
12:42 PM Bug #1036 (Feedback): 1.9.1 build failing at mt.exe
=begin

=end
ko1 (Koichi Sasada)
12:41 PM Bug #1040: rubygems/builder.rb should require user_interaction
=begin

=end
ko1 (Koichi Sasada)
12:40 PM Bug #1042: RDoc crashes while generating HTML after parsing a Ruby DSL.
=begin

=end
ko1 (Koichi Sasada)
12:39 PM Feature #1045: nicer icon for ruby.exe
=begin

=end
ko1 (Koichi Sasada)
12:39 PM Feature #1046 (Rejected): request: ability to run without specifying .rb
=begin

=end
ko1 (Koichi Sasada)
12:38 PM Feature #1047: request: getters, setters for the GC
=begin

=end
ko1 (Koichi Sasada)
12:37 PM Bug #1053: Obsolete methods in Pathname
=begin

=end
ko1 (Koichi Sasada)
12:37 PM Bug #1054 (Closed): Pathname has invalid delegates for FileTest
=begin

=end
ko1 (Koichi Sasada)
12:25 PM Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
=begin

=end
ko1 (Koichi Sasada)
12:20 PM Bug #1071: ripper: 改行を含む正規表現のon_regexp_endが変
=begin

=end
ko1 (Koichi Sasada)
12:07 PM Bug #1075: \r\n と \n が混在した CSV がエラーになる
=begin

=end
ko1 (Koichi Sasada)
12:06 PM Revision c9b6c940 (git): * 2009-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:06 PM Revision 301a7c8c (git): * enumerator.c: Introduce id_each to save rb_itern() and SYM2ID()
calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
12:05 PM Bug #1080: SSL error when running the program "gem"
=begin

=end
ko1 (Koichi Sasada)
12:05 PM Revision 092861f3 (git): * array.c (rb_ary_sort_by_bang): RDoc update. [ruby-core:21742]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
12:01 PM Bug #1077 (Closed): Ruby 1.9.1 build fails in miniruby invocation on Linux
=begin

=end
nobu (Nobuyoshi Nakada)
10:28 AM Bug #1077: Ruby 1.9.1 build fails in miniruby invocation on Linux
=begin
Updating to SuSE 11.1 (gcc 4.3.2) worked, thanks!
=end
prsangamon (Patrick Roemer)
12:01 PM Feature #1082: add Object#singleton_class method
=begin

=end
ko1 (Koichi Sasada)
12:00 PM Bug #1085: Got the error message, after run 'gem install --test'.
=begin

=end
ko1 (Koichi Sasada)
11:56 AM Bug #1060 (Rejected): mkmf refuses to find 3rd party extensions - ruby 1.9.1 trunk
=begin

=end
nobu (Nobuyoshi Nakada)
11:50 AM Revision 2654904a (git): * enumerator.c: Introduce id_each to save rb_itern() and SYM2ID()
calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
11:33 AM Revision 1d551324 (git): adds a test case for r21955 and r21917.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
11:09 AM Revision 416ab0f7 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:04 AM Revision 8d6d95d3 (git): merge revision(s) 19742:
* time.c (time_mdump, time_mload): preserves GMT status.
[ruby-core:19252]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@21971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
11:03 AM Revision e50a1dc1 (git): merge revision(s) 19742:
* time.c (time_mdump, time_mload): preserves GMT status.
[ruby-core:19252]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@21969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:59 AM Revision 352dcd9e (git): * test/socket/test_addrinfo.rb: use AddrInfo.getaddrinfo to generate
IPv6 address. AddrInfo.ip generates IPv4 address for IPv4 mapped
IPv6 address if --with-lookup-order-hack=INET.
[ruby-dev:37868]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:43 AM Revision 765a6be7 (git): * array.c (rb_ary_sort_by_bang): new method. requested in
[ruby-core:21709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:19 AM Revision 1d07fd73 (git): * doc/NEWS-1.9.1: typo fixed: collect_all -> collect.
[ruby-core:21706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:34 AM Revision 678b9240 (git): strip trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:57 AM Bug #1064 (Closed): [BUG] object allocation during garbage collection phase
=begin
Applied in changeset r21934.
=end
nobu (Nobuyoshi Nakada)
08:23 AM Revision 083e01b0 (git): * cygwin/GNUmakefile.in (dir.o, win32.o): depend on win32/dir.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:17 AM Bug #1086 (Closed): instruby.rb is broken on default Win64 install
=begin
Applied in changeset r21933.
=end
nobu (Nobuyoshi Nakada)
06:56 AM Bug #1086 (Closed): instruby.rb is broken on default Win64 install
=begin
instruby.rb conditionally includes 'win32.h' in the header files when installing under Windows. It checks among others for 'mswin32':

unless RUBY_PLATFORM =~ /mswin32|mingw|bccwin32/
noinst << "win32.h"
end

...
nrieck (Nico Rieck)
08:14 AM Revision b204d48f (git): * mkconfig.rb: patchlevel is somtimes minus.
* win32/resource.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:12 AM Revision 29bd8928 (git): * ext/socket/ancdata.c (cmsg_type_to_sym): add #ifdef for no IPv6
environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:08 AM Revision 21675bb6 (git): reduce test time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:07 AM Revision f4c3951e (git): merges r21933 from trunk into ruby_1_9_1. win64 support.
* lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded
platform names.
* lib/resolv.rb (Resolv::Hosts::DefaultFileName),
(Resolv::DNS::Config.default_config_hash): tries win32/resolv on
mswin64 too.
* lib/rubygems/specifica...
yugui (Yuki Sonoda)
08:07 AM Revision 9d2c121e (git): merges r21945 from trunk into ruby_1_9_1.
* complex.c (f_signbit): regard NaN as a positive value.
[ruby-dev:37861].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision aa90ca26 (git): merges r21930 from trunk into ruby_1_9_1.
* encoding.c (rb_filesystem_encoding): Windows' filesystem encoding is
sometimes ANSI code page and sometimes OEM code page. we should check
whether code page is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
yugui (Yuki Sonoda)
08:07 AM Revision eb8e7eaf (git): * 2009-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:07 AM Revision db2f9b17 (git): merges r21925 from trunk into ruby_1_9_1.
* variable.c (rb_const_get_0), vm_insnhelper.c (vm_get_ev_const):
avoids infinite self recursion autoload. [ruby-core:21696]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision ce44723c (git): * file.c (rb_find_file_ext): should not be infected from other
load paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:59 AM Revision aac16ed1 (git): * file.c (rb_home_dir): needs p on DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:33 AM Revision 043f6652 (git): * dir.c (dir_s_home): new method. [ruby-core:21454]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:31 AM Revision 4072b839 (git): eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:07 AM Revision 41eb896e (git): * version.h: bump up to 1.9.2 patchlevel -1.
yugui recommend "-1" strongly.
* lib/rubygems/version.rb: accept negative patchlevel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:55 AM Revision 5ad05f37 (git): * ext/socket/socket.c (sock_initialize): make 3rd argument, protocol,
optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:23 AM Revision 57d85f32 (git): * ext/socket/constants.c (cmsg_type_arg): INET6 check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:19 AM Revision 197747f7 (git): * win32/dir.h: forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:18 AM Revision b41a9abb (git): * ext/socket/option.c: use INET6 instead of IPV6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:48 AM Revision bf23d53b (git): * ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 for
VC++6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:45 AM Revision a98cbcbf (git): * complex.c (f_signbit): regard NaN as a positive value.
[ruby-dev:37861].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
03:39 AM Revision ce720ca0 (git): * sample/test.rb (valid_syntax?), test/ruby/test_system.rb
(TestSystem::valid_syntax?): use catch and throw instead of
return inside BEGIN block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 AM Revision 61fc0c6c (git): * ext/socket/rubysocket.h (cmsg_type_arg): declared.
(Init_ancdata): ditto.
* ext/socket/init.c (Init_socket_init): call Init_ancdata.
* ext/socket/constants.c (cmsg_type_arg): defined.
* ext/socket/depend: add dependency for ancdata.o.
* ext/socket/mkconstants.rb: generate scm_optname...
akr (Akira Tanaka)
02:37 AM Revision c3425690 (git): merge revision(s) 19710:
* variable.c (autoload_delete, autoload_file): should not delete
autoload table, since it may be shared with duplicated modules.
[ruby-core:19181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@2194...
shyouhei (Shyouhei Urabe)
02:34 AM Revision 1201b970 (git): merge revision(s) 19710:
* variable.c (autoload_delete, autoload_file): should not delete
autoload table, since it may be shared with duplicated modules.
[ruby-core:19181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@2193...
shyouhei (Shyouhei Urabe)
02:34 AM Revision c618d018 (git): eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:59 AM Revision 41e77094 (git): * win32/win32.c (open_dir_handle, rb_w32_opendir, move_to_next_entry,
rb_w32_readdir, check_valid_dir): change backend API from A to W.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:53 AM Revision ef9206bb (git): * ext/socket/rubysocket.h (rb_cSockOpt): declared.
(sockopt_new): ditto.
(Init_sockopt): ditto.
* ext/socket/init.c (Init_socket_init): call Init_sockopt.
* ext/socket/depend: add dependency for option.o
* ext/socket/mkconstants.rb: generate intern_level, intern_so_optname,
intern...
akr (Akira Tanaka)
12:49 AM Revision a2d8643e (git): * vm.c (vm_backtrace_each): progname is not available at
initializing phase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/01/2009

11:52 PM Revision 7b5c9eb0 (git): r21932 was for [ruby-core:21619].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:12 PM Revision 2478f1ca (git): * lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded
platform names.
* lib/resolv.rb (Resolv::Hosts::DefaultFileName),
(Resolv::DNS::Config.default_config_hash): tries win32/resolv on
mswin64 too.
* lib/rubygems/specification.rb (Gem::Specification#ruby_code):
aded mswin64.
* lib/...
nobu (Nobuyoshi Nakada)
10:36 PM Revision a7b5c603 (git): * vm.c (vm_backtrace_each): now takes an iterator function.
* vm_core.h (rb_make_backtrace, rb_backtrace_each): added
prototypes.
* vm_dump.c (rb_vm_bugreport), vm_eval.c (rb_backtrace): gets rid
of allocating objects.
* vm_eval.c (rb_backtrace_each): new function which iterates over
each...
nobu (Nobuyoshi Nakada)
10:26 PM Bug #1085 (Closed): Got the error message, after run 'gem install --test'.
=begin
Hi, Ryan.

I use ruby 1.9.1p5000 (2009-01-31 trunk 21924) [i386-darwin9.6.0].
I got the error message, after I run 'gem install --test <gem package>'.

ERROR: While executing gem ... (NoMethodError)
undefined...
kouji (Kouji Takao)
10:08 PM Bug #1016 (Closed): Raises LocalJump exception in MiniTest::Unit.autorun.
=begin
closed.
=end
kouji (Kouji Takao)
09:53 PM Revision 1c4e92c1 (git): * 2009-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:53 PM Revision 9bd77cfd (git): * encoding.c (rb_filesystem_encoding): Windows' filesystem encoding is
sometimes ANSI code page and sometimes OEM code page. we should check
whether code page is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:31 PM Feature #1082: add Object#singleton_class method
=begin
Hi --

On Sun, 1 Feb 2009, Kornelius Kalnbach wrote:

> Issue #1082 has been updated by Kornelius Kalnbach.
>
>
> +1
> I thought this feature was already added to 1.9? class << self; self; end is not very helpful for begi...
dblack (David Black)
10:02 AM Feature #1082: add Object#singleton_class method
=begin
+1
I thought this feature was already added to 1.9? class << self; self; end is not very helpful for beginners.

What about singleton_class_eval? (Or singleton_class.eval, for that matter...)
=end
murphy (Kornelius Kalnbach)
07:00 AM Feature #1082: add Object#singleton_class method
=begin
+1
"Singleton" is most popular name for describe... singleton classes (sometimes named eigenclass, virtual class, metaclass). To be consistent with singleton_methods, define_singleton_method it would be very nice to name it sin...
radarek (Radosław Bułat)
05:58 AM Feature #1082 (Closed): add Object#singleton_class method
=begin
Please add Object#singleton_class method to the Ruby API.

This method would allow us to write:

hello.singleton_class

Instead of always having to write:

(class << hello; self; end)

Furthermore, the nam...
sunaku (Suraj Kurapati)
05:07 PM Bug #1080: SSL error when running the program "gem"
=begin
I am using MacPorts and it is installed at /opt. As a result, if I do the following things the above errors are gone:

$ ./configure --prefix=/Users/ngocdt/opt/ruby CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib CPPFLAG...
ngocdaothanh (Ngoc Dao)
05:00 AM Bug #1080 (Rejected): SSL error when running the program "gem"
=begin
After installing Ruby 1.9.1 (2009-01-30 revision 21907) on Leopard with:
$ configure --prefix=/Users/ngocdt/opt/ruby
$ make
$ make install

There are errors when running the program "gem":

$ ~/opt/ruby/bin/gem help...
ngocdaothanh (Ngoc Dao)
12:51 PM Revision 845103b7 (git): * cont.c (rb_fiber_current), dln.c (dln_print_undef, dln_undefined),
eval.c (rb_iterator_p, rb_need_block), load.c: (Init_load), ruby.c
(uscore_get, rb_f_chop), st.c (stat_col), signal.c
(rb_signal_buff_size, ruby_sig_finalize), thread.c
(rb_thread_sleep_forever, rb_thread_sleep_deadly, rb_thread_al...
nobu (Nobuyoshi Nakada)
12:28 PM Revision f1137963 (git): * ext/socket/raddrinfo.c (addrinfo_ipv4_private_p): new method.
(addrinfo_ipv4_loopback_p): ditto.
(addrinfo_ipv4_multicast_p): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:11 AM Feature #1084 (Closed): request for: Array#sort_by!
=begin
$ ruby1.9.1 -e "p Array.instance_methods.grep /sort/"
[:sort, :sort!, :sort_by]

sort and sort! override it's version from Enumerable and sort_by is directly from Enumerable, but for symmetry and consistency it would be nic...
radarek (Radosław Bułat)
09:47 AM Bug #1083 (Closed): Typos in NEWS file (branch 1_9_1)
=begin
NEWS file has some small typos. Patch to fix it attached below.

Index: NEWS
===================================================================
--- NEWS (wersja 21925)
+++ NEWS (kopia robocza)
@@ -45,14 +45,14 @@
...
radarek (Radosław Bułat)
07:14 AM Revision c737e6d9 (git): * lib/optparse.rb (Switch#summarize): strips an equal sign from
short option, and fills right sides in shorter lines.
[ruby-talk:326414]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:10 AM Revision d99eeabe (git): * lib/optparse.rb (Switch#summarize): strips an equal sign from
short option, and fills right sides in shorter lines.
[ruby-talk:326414]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:46 AM Feature #1081 (Closed): add File::write() convenience method
=begin
Please add a File::write() convenience method to the core Ruby API.

Currently, it is easier to read whole files than to write them:

# reading a whole file --- less effort
text = File::read('foo.txt')

# wri...
sunaku (Suraj Kurapati)
05:27 AM Bug #1079 (Closed): failed autoload hangs the interpreter
=begin
Applied in changeset r21925.
=end
nobu (Nobuyoshi Nakada)
03:28 AM Bug #1079 (Closed): failed autoload hangs the interpreter
=begin
# foo.rb
module Foo; end

# 1.8.7
>> module Bar; autoload :Foo, 'foo' end
=> nil
>> Bar::Foo
NameError: uninitialized constant Bar::Foo
from (irb):3

# 1.9.1
>> module Bar; autoload :Foo, 'foo' end
=> nil...
bitsweat (Jeremy Daer)
 

Also available in: Atom