Project

General

Profile

Activity

From 02/19/2009 to 02/25/2009

02/25/2009

10:54 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/24 Michael Selig <michael.selig@fs.com.au>:
> Hi Michal,
>
> On Wed, 25 Feb 2009 00:20:52 +1100, Michal Suchanek <hramrach@centrum.cz>
> wrote:
>
>>>> BTW the same goes for "reading N bytes up to a character boundary...
hramrach (Michal Suchanek)
04:35 PM Revision 2276b2f9 (git): * ext/socket/mkconstants.rb: more MSG_* constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:26 PM Revision 20bb7abc (git): * 2009-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision e6f0b1de (git): * ext/socket/option.c (sockopt_level): extracted from sockopt_level_m.
(sockopt_optname): extracted from sockopt_optname_m.
(sockopt_data): apply StringValue.
(sockopt_s_linger): new method.
(sockopt_linger): new method.
(inspect_linger): show onoff value if it is neither 0 nor 1.
git-svn-id: svn+...
akr (Akira Tanaka)
02:39 PM Revision 52a6728b (git): * ext/socket/socket.c (unix_recv_io): prevent FD leak when 2 fd is
sent on LP64 platform.
(rsock_discard_cmsg_resource): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:24 PM Revision 1ff020df (git): * ext/socket/ancdata.c (ancillary_unix_rights): raise
NotImplementedError if no fd passing feature.
(ancillary_timestamp): raise NotImplementedError if no timestamp
feature.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:19 PM Revision 56c52c1d (git): * ext/socket/ancdata.c (ancillary_s_unix_rights): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:03 PM Revision c17b915e (git): * ext/socket/unixsocket.c (unix_recv_io): prevent FD leak when 2 fd is
sent on LP64 platform.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): declared.
* ext/socket/ancdata.c (rsock_discard_cmsg_resource): renamed from
discard_cmsg_resource. export it.
git-svn-id: svn+ssh://ci.ruby-lang.org...
akr (Akira Tanaka)
01:54 PM Revision 5f305864 (git): * win32/Makefile.sub (config.status): use un.rb as cp instead of
cmd.exe's copy command.
* lib/mkmf.rb (create_makefile): no longer need to convert path
separator when copying file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22629 b2dd03c8-39d4-4d8f-98ff-823fe6...
U.Nakamura
01:54 PM Revision 00f53c1e (git): * 2009-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:54 PM Revision 5a31cfc8 (git): * eval.c (rb_thread_schedule): mswin32 doesn't have F_GETFD, so check
with another method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:37 PM Bug #1204 (Closed): Bug in String#force_encoding?
=begin
Applied in changeset r22611.
=end
nobu (Nobuyoshi Nakada)
08:20 AM Bug #1204 (Closed): Bug in String#force_encoding?
=begin
Running the attached test program (on UTF-8 terminal):

$ ruby test.rb
#<Encoding:ASCII-8BIT> "\xC3\xB6" 2
#<Encoding:UTF-8> "ö" 2
#<Encoding:ASCII-8BIT> "\xC3\xB6" 2
#<Encoding:UTF-8> "ö" 1

I don't understand wh...
ba (Alexander Beisig)
12:07 PM Bug #1203 (Closed): IO#gets ignores the limit parameter when sep is nil
=begin
Applied in changeset r22610.
=end
nobu (Nobuyoshi Nakada)
08:00 AM Bug #1203 (Closed): IO#gets ignores the limit parameter when sep is nil
=begin
According to the doc f.gets(nil) returns the rest of the file. This works fine. But the doc also says that "limit" should restrict the length of the character string returned. Therefore I expect
f.gets(nil, 10)
to return...
mike (Michael Selig)
11:48 AM Bug #1202 (Third Party's Issue): mongrel-1.1.5-x86-mswin32-60 error
=begin

=end
nobu (Nobuyoshi Nakada)
07:08 AM Bug #1202: mongrel-1.1.5-x86-mswin32-60 error
=begin
On Tue, Feb 24, 2009 at 4:54 PM, Vladimir Tkach <redmine@ruby-lang.org> wrote:
> Bug #1202: mongrel-1.1.5-x86-mswin32-60 error
> http://redmine.ruby-lang.org/issues/show/1202
>

Two things:

Mongrel 1.1.5 has not been upda...
luislavena (Luis Lavena)
06:54 AM Bug #1202 (Third Party's Issue): mongrel-1.1.5-x86-mswin32-60 error
=begin
C:/ruby/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5-x86-mswin32-60/lib/http11.so: [BUG] Segmentation fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

-- control frame ----------
c:0020 p:-12625328 s:0074 b:0074 l...
timka (Vladimir Tkach)
09:38 AM Bug #1205 (Closed): SET_STACK_END crashes due to uninitialized ruby_current_thread
=begin
I ported ruby-1.9.1-p0 to Android. It built fine with a few patches and a custom Android.mk with a target of "miniruby."

The executable crashed at an early stage. I succeeded in tracing the crash to a null pointer reference ...
hsugawar (hiro sugawara)
08:36 AM Revision a898f0fb (git): * io.c (sysopen_func, rb_sysopen_internal, rb_sysopen): open file
by UTF-16'ed filename on Windows.
* io.c (rb_file_open_generic, rb_io_s_sysopen, rb_io_reopen,
argf_next_argv): follow above change.
* io.c (rb_scan_open_args): no longer need to convert filepath here on
...
U.Nakamura
06:15 AM Revision 732f1795 (git): merge revision(s) 21677:
* node.h (rb_thread_raised_clear): should not clear flags other than
raised flags. a patch by Tomoyuki Chikanaga <chikanag AT
nippon-control-system.co.jp> at [ruby-dev:37794]. [ruby-dev:37776]
git-svn-id: svn+ssh:...
shyouhei (Shyouhei Urabe)
06:15 AM Revision b5956395 (git): merge revision(s) 21677:
* node.h (rb_thread_raised_clear): should not clear flags other than
raised flags. a patch by Tomoyuki Chikanaga <chikanag AT
nippon-control-system.co.jp> at [ruby-dev:37794]. [ruby-dev:37776]
git-svn-id: svn+ssh:...
shyouhei (Shyouhei Urabe)
06:07 AM Revision 3540727a (git): * win32/Makefile.sub (config.status): use un.rb as cp instead of
cmd.exe's copy command.
* lib/mkmf.rb (create_makefile): no longer need to convert path
separator when copying file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:06 AM Revision c5ffd3b2 (git): merge revision(s) 21505:
* ext/socket/extconf.rb (gai_strerror): checks if available and if
returns const pointer.
* ext/socket/getaddrinfo.c (gai_strerror): defines only if non
available. [ruby-core:21328]
git-svn-id: svn+ssh://ci...
shyouhei (Shyouhei Urabe)
06:05 AM Revision 145f9e6f (git): merge revision(s) 21505:
* ext/socket/extconf.rb (gai_strerror): checks if available and if
returns const pointer.
* ext/socket/getaddrinfo.c (gai_strerror): defines only if non
available. [ruby-core:21328]
git-svn-id: svn+ssh://ci...
shyouhei (Shyouhei Urabe)
05:57 AM Revision c7b60068 (git): merge revision(s) 21447:
* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.
* win32/win32.c (winnt_stat): gets rid of strange behavior of
GetFileAttributes(). [ruby-core:21269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
shyouhei (Shyouhei Urabe)
05:56 AM Revision 6eda1948 (git): merge revision(s) 21447:
* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.
* win32/win32.c (winnt_stat): gets rid of strange behavior of
GetFileAttributes(). [ruby-core:21269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
shyouhei (Shyouhei Urabe)
03:29 AM Revision dd43561f (git): * string.c (rb_str_each_line): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:28 AM Revision 43b96849 (git): * string.c (rb_str_force_encoding): should clear coderange at changing
encoding. [ruby-core:22437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision ac9d09ba (git): * io.c (rb_io_getline_1): enables limit even if rs is given.
[ruby-core:22434]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Bug #1199 (Closed): wrong coderange in multiple String methods
=begin
Applied in changeset r22608.
=end
nobu (Nobuyoshi Nakada)
12:54 AM Bug #1199 (Closed): wrong coderange in multiple String methods
=begin
Sumilar to Bug #1192 [ruby-core:22326]

$ ruby -e 'p "a".hash,"a\u0101".chomp("\u0101").hash'
857012484
857012485

Discussion: http://www.ruby-forum.com/topic/179303
=end
do1 (Do One)
01:18 AM Feature #1200: Possibility for using named and normal groups together in regular expressions
=begin
Typo: I've written "[0-9}+" instead of "[0-9]+" several times, sorry.
=end
WoNaDo (Wolfgang Nádasi-Donner)
01:14 AM Feature #1200 (Rejected): Possibility for using named and normal groups together in regular expressions
=begin
It should be possible to use named and normal groups together in ane regular expression.

Reason: The new relative adressing possibilities for groups, \k<-n>, \k'-n', \g<-n>, and \g'-n' are very helpful for writing regular s...
WoNaDo (Wolfgang Nádasi-Donner)
01:16 AM Feature #1201 (Closed): Add relative group reference in back reference with nest level in regular expressions (e.g. \k<-5+1>)
=begin
It should be possible to use relative group references in back reference with nest level.

Reason: As named in Ticket 1200 relative group references can be very helpful in writing subexpessions, which can be used later on as...
WoNaDo (Wolfgang Nádasi-Donner)

02/24/2009

11:46 PM Revision 9594c893 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:21 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/24 Michael Selig <michael.selig@fs.com.au>:
> On Mon, 23 Feb 2009 21:35:30 +1100, Michal Suchanek <hramrach@centrum.cz>
> wrote:
>
>>> Theoretically if separate (combining) character accents are considered
>>> part of...
hramrach (Michal Suchanek)
10:07 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 19:02 09/02/23, Michal Suchanek wrote:

>Theoretically if separate (combining) character accents are considered
>part of the character then a character might be quite long - I guess
>about ten codepoints

For actual real...
duerst (Martin Dürst)
07:56 PM Bug #1198: corrupted iteratoin during "enum_for :inject"
=begin

=end
knu (Akinori MUSHA)
07:54 PM Bug #1198: corrupted iteratoin during "enum_for :inject"
=begin
ただ、この場合分けは1.9で整理した単値・多値の扱いの一貫性を崩すことにもなるので
もう少し考えた方がいいと思います。

with_index-compat.patch の通り、1.8では、

- yield() されたら yield(nil, idx) する
- yield(single) されたら yield(single, idx) する
- yield(*multiple) されたら yield(multiple, idx) する
...
knu (Akinori MUSHA)
07:39 PM Bug #1198: corrupted iteratoin during "enum_for :inject"
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38076] [Bug #1198] corrupted iteratoin during "enum_for :inject""
on Tue, 24 Feb 2009 19:29:44 +0900, Akinori MUSHA <redmine@ruby-lang.org> writes:

|振る舞いが違うのは (each_)with_index の方で...
matz (Yukihiro Matsumoto)
07:30 PM Bug #1198: corrupted iteratoin during "enum_for :inject"
=begin
振る舞いが違うのは (each_)with_index の方です。
1.9では、イテレータ関数の第一引数には最初の引数だけが渡るようになり、
多値を取りたければ第三第四引数でargc/argvを見る必要があります。
この変更に対応する変更が施されていないため、そのような挙動になっています。

単に1.8と同じように振る舞わせるためには添付のパッチでいいはずです。
=end
knu (Akinori MUSHA)
05:13 PM Bug #1198 (Closed): corrupted iteratoin during "enum_for :inject"
=begin
以下のように、1.8と1.9でenum_for(:inject)したときの振る舞いが違うようです。

zsh % ruby -ve '[:x].enum_for(:inject, :y).with_index {|*a| p a }'
ruby 1.8.7p5000 (2009-02-24 revision 22586) [x86_64-linux]
[[:y, :x], 0]

zsh % ruby -ve '[:x].enum...
shyouhei (Shyouhei Urabe)
07:08 PM Feature #1193: Justified Error Messages
=begin
Hi,

In message "Re: [ruby-core:22333] [Feature #1193] Justified Error Messages"
on Mon, 23 Feb 2009 01:44:46 +0900, Simon Chiang <redmine@ruby-lang.org> writes:

|One nice thing about Test::Unit output is that failures ...
matz (Yukihiro Matsumoto)
05:28 PM Revision 6dd93885 (git): * string.c (rb_str_chomp_bang): coderange may change.
[ruby-core:22414]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:18 PM Revision 01e9a7be (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:17 PM Revision 42eeb2c1 (git): * string.c (rb_str_delete_bang): should recalculate coderange.
[ruby-talk:329267]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:07 PM Revision 4b265d3e (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:45 PM Revision 8428347e (git): * file.c (rb_file_size): new method added. [ruby-core:22088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
03:41 PM Revision 400ded93 (git): * class.c (rb_scan_args): Allow specifying the number of trailing
mandatory arguments right after the number of optional arguments
only if the number of leading mandatory arguments is not omitted.
* ext/socket/tcpserver.c (tcp_svr_init): Make use of it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Akinori MUSHA
03:19 PM Revision 02316f11 (git): * ext/curses/curses.c (curses_colors): new method added. a patch
from Alexander Beisig in [ruby-core:22331].
* ext/curses/curses.c (curses_color_pairs): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:15 PM Revision ca292099 (git): * class.c (rb_scan_args): Revamp rb_scan_args() to compute the
number of required and optional arguments precisely to prepare
for a more informative error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:02 PM Revision d91f52ae (git): * 2009-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 0d0d5e9f (git): * array.c (rb_ary_index, rb_ary_rindex): Emit a warning that a
given block is unused when an argument is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
01:19 PM Revision 47010386 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:02 PM Revision 0ae09794 (git): * ext/socket/socket.c (sockaddr_obj): convert fe80:1::1 to fe80::1%1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:08 PM Revision 7e20506e (git): reordered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:00 AM Revision 62b787b5 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:56 AM Revision e137e939 (git): * ext/socket/ancdata.c (ancillary_timestamp): support SCM_BINTIME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:45 AM Revision b404c651 (git): * ext/socket/ancdata.c (ancillary_timestamp): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:01 AM Revision cb7bc8db (git): * common.mk (main): split from exts and makes main program after
building exts with miniruby, to get rid of overwriting running
program. [ruby-core:22339]
* Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to
run script file.
* ext/extmk.rb (parse_args): added --command-output optio...
nobu (Nobuyoshi Nakada)
10:01 AM Revision 96322412 (git): * common.mk (main): split from exts and makes main program after
building exts with miniruby, to get rid of overwriting running
program. [ruby-core:22339]
* Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to
run script file.
* ext/extmk.rb (parse_args): added --command-output optio...
nobu (Nobuyoshi Nakada)
08:58 AM Revision ff9bfed8 (git): * common.mk (ripper.c): exec can't work on Windows.
* ext/ripper/depend (.SUFFIXES): nmake doesn't have .y by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:54 AM Revision 11abc445 (git): * Makefile.in (id.h): overwrites unconditinally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 AM Revision 5028921a (git): * missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger than
long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:21 AM Revision 6bdeed2b (git): * signal.c (rb_disable_interrupt, rb_enable_interrupt): see
USE_TRAP_MASK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 AM Revision 85034513 (git): * process.c (rb_waitpid): last argument was missing.
* process.c (waitall_each): fixed typo. a patch from shinichiro.h
<shinichiro.hamaji AT gmail.com> at [ruby-dev:38054].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:27 AM Bug #1181 (Closed): [BUG] thread_free: keeping_mutexes must be NULL
=begin
Applied in changeset r22577.
=end
mame (Yusuke Endoh)
01:09 AM Feature #1159 (Feedback): StringScanner に文字ベースでのインデックスを返すメソッドがほしい
=begin

=end
naruse (Yui NARUSE)

02/23/2009

10:11 PM Revision 6836882a (git): * 2009-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:11 PM Revision 168aacde (git): * regex.c (re_compile_pattern): \s should include \v too.
a patch from Masahiro Tomita. [ruby-dev:38070]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:36 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/23 Michal Suchanek <hramrach@centrum.cz>:
> 2009/2/22 Michael Selig <michael.selig@fs.com.au>:
>> On Mon, 23 Feb 2009 03:00:41 +1100, Tanaka Akira <akr@fsij.org> wrote:
>>
>>> In article <6.0.0.20.2.20090220134502.0823...
hramrach (Michal Suchanek)
07:02 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/22 Michael Selig <michael.selig@fs.com.au>:
> On Mon, 23 Feb 2009 03:00:41 +1100, Tanaka Akira <akr@fsij.org> wrote:
>
>> In article <6.0.0.20.2.20090220134502.0823ee98@localhost>,
>>  Martin Duerst <duerst@it.aoyama.a...
hramrach (Michal Suchanek)
05:34 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 01:00 09/02/23, Tanaka Akira wrote:
>In article <6.0.0.20.2.20090220134502.0823ee98@localhost>,
> Martin Duerst <duerst@it.aoyama.ac.jp> writes:

>> Can you give more specific explanations of why reading a number
>> of c...
duerst (Martin Dürst)
05:44 PM Revision c3e9fe6a (git): merge revision(s) 21432:
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
%> bug. [ruby-dev:37751] [Bug #997]
* test/erb/test_erb.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22583 b2dd03c8-39d4...
shyouhei (Shyouhei Urabe)
05:43 PM Revision 3435f0c1 (git): merge revision(s) 21432:
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
%> bug. [ruby-dev:37751] [Bug #997]
* test/erb/test_erb.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22581 b2dd03c8-39d4...
shyouhei (Shyouhei Urabe)
05:40 PM Revision f9593a4f (git): merge revision(s) 21423:
* hash.c (rb_hash_s_create): set nil as the value if assoc length
is not enough. [ruby-core:21249]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:23 PM Bug #1162: Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
=begin
Hi,

At Mon, 23 Feb 2009 12:44:32 +0900,
Charlie Savage wrote in [ruby-core:22345]:
> >It is a compile time flag and irrelevant to debug built msvcrt.
>
> Not sure what you mean. VC2008 (and earlier versions) set
> the -...
nobu (Nobuyoshi Nakada)
12:45 PM Bug #1162: Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
=begin
>It is a compile time flag and irrelevant to debug built msvcrt.

Not sure what you mean. VC2008 (and earlier versions) set the -RTC1 flag by default when creating debug builds of C/C++ projects. The -RTC1 flag causes the b...
cfis (Charlie Savage)
12:01 PM Bug #1162: Build Assertion Failure with VC+++ - Incorrect flushing of stdout/stderr
=begin
Hi,

At Mon, 16 Feb 2009 07:40:51 +0900,
Charlie Savage wrote in [ruby-core:22170]:
> The other problem with the patch is that it doesn't actually
> work. To test it I applied to locally. The assertion error
> does not go...
nobu (Nobuyoshi Nakada)
05:15 PM Revision 60e8b398 (git): * numeric.c (flo_eq): remove unnecessary NaN check using isnan().
comparison regarding NaN is false anyway.
* numeric.c (flo_gt, flo_ge, flo_lt, flo_le, flo_eql): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:57 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
Hi,

In message "Re: [ruby-core:22292] Re: [Bug #1181] [BUG] thread_free: keeping_mutexes must be NULL"
on Fri, 20 Feb 2009 21:09:38 +0900, Yusuke ENDOH <mame@tsg.ne.jp> writes:

|The following patch should fix the issu...
matz (Yukihiro Matsumoto)
04:35 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
I can confirm that your patch fixes the problem. Thanks for your quick help!

Chris
=end
orem (Chris Schlaeger)
04:24 PM Revision c43236ea (git): * bootstraptest/test_thread.rb: fix for environment where fork is not
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:20 PM Revision c55dd9b7 (git): * thread.c (thread_cleanup_func): unlock all locked mutexes even when
forking. [ruby-core:22269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:12 PM Revision 70191870 (git): * insns.def (opt_minus): inline float operation.
* insns.def (opt_lt, opt_gt): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:51 PM Revision 0b586758 (git): * math.c (Need_Float): call rb_to_float() only when it is really
needed. small performance improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:46 PM Revision e69f2129 (git): * range.c (range_each): check #succ only when it is really
needed. small performance improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:20 PM Revision 20f46281 (git): * 2009-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 PM Revision b47b9fbb (git): * lib/pathname.rb (Pathname#foreachline): removed wrongly
resurrected method. [ruby-dev:38065]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
11:41 AM Revision 605cd659 (git): * ext/socket/ancdata.c (inspect_timespec_as_abstime): new function to
show struct timespec.
(ancillary_inspect): use it for SCM_TIMESTAMPNS on GNU/Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:32 AM Revision 23e286f3 (git): * ext/socket/ancdata.c (inspect_bintime_as_abstime): new function to
show struct bintime.
(ancillary_inspect): use it for SCM_BINTIME on FreeBSD.
* ext/socket/mkconstants.rb: define SCM_BINTIME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:21 AM Revision a0e3e8e4 (git): * ext/socket/ancdata.c (inspect_timeval_as_abstime): use time_t
variable to avoid a warning on environments which use long as
tv_sec as NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:54 AM Revision 1a1990df (git): * array.c (rb_ary_index, rb_ary_rindex): We know that argc is not
zero when we reach here.
* array.c (rb_ary_initialize, rb_ary_index): Shrink a double
space. (NFC)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
05:47 AM Revision b080500c (git): * lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:47 AM Revision bcf6fd2c (git): * lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 AM Feature #1193 (Closed): Justified Error Messages
=begin
One nice thing about Test::Unit output is that failures are justified making string comparisons easier.

In Test::Unit

<"minitest/unit is a small and fast replacement for ruby's huge and slow test/unit."> expected but w...
bahuvrihi (Simon Chiang)
01:19 AM Revision 15700ff0 (git): * include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods,
#singleton_methods and so on return Symbols. [ruby-talk:328775]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 AM Revision 7e162b15 (git): * README.EXT, README.EXT.ja: added macros for the Compatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:14 AM Revision 02bfe1f6 (git): typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/22/2009

10:47 PM Bug #1192 (Closed): encoding problem with tr() and hash keys 1.9.1
=begin
Applied in changeset r22547.
=end
nobu (Nobuyoshi Nakada)
09:45 PM Bug #1192 (Open): encoding problem with tr() and hash keys 1.9.1
=begin
Hi,

The fix in r22525 seems to be incomplete:

$ ruby19 -ve 'p ["a".hash, "a".tr("a", "\u0101").tr("\u0101", "a").hash]'
ruby 1.9.2dev (2009-02-22 trunk 22527) [i686-linux]
[903321233, 903321232]

--
Yusuke EN...
mame (Yusuke Endoh)
07:27 PM Bug #1192 (Closed): encoding problem with tr() and hash keys 1.9.1
=begin
Applied in changeset r22525.
=end
nobu (Nobuyoshi Nakada)
06:33 PM Bug #1192 (Closed): encoding problem with tr() and hash keys 1.9.1
=begin
In utf-8 environment I do:

irb(main):121:0> h = {"a" => 1, "\u0101" => 2}
=> {"a"=>1, "ā"=>2}
irb(main):122:0> h.key? "a".tr("z", "\u0101")
=> false <--- wrong!
irb(main):123:0> h.key? "\u0101".tr("z", "\u0101")
=>...
do1 (Do One)
08:36 PM Bug #1177 (Feedback): eof for socket block script
=begin

=end
nobu (Nobuyoshi Nakada)
06:20 PM Revision 97ef9728 (git): * ext/socket/mkconstants.rb: define SO_TIMESTAMPNS and SCM_TIMESTAMPNS
if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:14 PM Revision decee680 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:55 PM Revision b7fe0657 (git): * ext/socket/ancdata.c (ancillary_inspect): use SCM_TIMESTAMP instead
of SO_TIMESTAMP. SCM_TIMESTAMP != SO_TIMESTAMP on MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:46 PM Revision 475a350d (git): * ext/socket/ancdata.c (inspect_timeval_as_abstime): new function.
(ancillary_inspect): use it for SO_TIMESTAMP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:27 PM Revision 0c95958c (git): * ext/socket/option.c (inspect_timeval_as_interval): renamed from
inspect_timeval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:10 PM Revision cdca4e19 (git): * ext/socket/option.c (inspect_timeval): fix the size test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:25 PM Revision e5dd6a79 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:22 PM Revision 5a980f59 (git): * 2009-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:22 PM Revision 2e0a20d3 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:38 PM Revision a384273d (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:26 PM Revision 83930529 (git): stripped trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:23 PM Revision 12d2c8ba (git): stripped trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:05 PM Revision 41031667 (git): merges r22494 and r22495 from trunk into ruby_1_9_1.
* vm_eval.c (method_missing): should not pop cfp if missing method
is method_missing. [ruby-core:22298]
* vm_eval.c (rb_raise_method_missing): new function to directly
raise NoMethodError.
* vm_insnhelper.c (vm_call_method): fixed...
yugui (Yuki Sonoda)
02:05 PM Revision 5fd244b4 (git): merges r22471 from trunk into ruby_1_9_1.
* util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because
couldn't free the returned pointer from ruby_dtoa().
* missing/vsnprintf.c (cvt): receive buffer and use/return it instead
of returning ...
yugui (Yuki Sonoda)
02:05 PM Revision 82d36b59 (git): merges r22440 from trunk into ruby_1_9_1.
* ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22549 b2dd03c8-39d4-4d8f-98ff-823f...
yugui (Yuki Sonoda)
02:05 PM Revision c19edf67 (git): merges r22393 from trunk into ruby_1_9_1.
* file.c (rb_file_s_extname): fix for spaces before extention.
[ruby-dev:38044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:42 PM Revision 624d07b0 (git): * string.c (tr_trans): should recalculate coderange.
[ruby-core:22326] (reopened at [ruby-core:22328])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:38 PM Revision 7b1bbd59 (git): * test/ruby/test_string.rb (test_tr): test for [ruby-core:22328].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:10 PM Revision ebe322b1 (git): merge revision(s) 21354:
* eval.c (stack_extend): streamlined rb_thread_restore_context()
to ensure O(1) time. based on a patch by Brent Roman <brent AT
mbari.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22544 b2dd...
shyouhei (Shyouhei Urabe)
01:08 PM Revision 214d80f8 (git): merge revision(s) 21354:
* eval.c (stack_extend): streamlined rb_thread_restore_context()
to ensure O(1) time. based on a patch by Brent Roman <brent AT
mbari.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22542 b2dd...
shyouhei (Shyouhei Urabe)
01:04 PM Revision cb016e32 (git): merge revision(s) 21353:
* eval.c (cc_mark): frees the continuation's stack if its thread
is dead to avoid recursive gc that segfaults. [ruby-core:13889]
a patch by Brent Roman <brent AT mbari.org>.
* eval.c (rb_cont_check): checks f...
shyouhei (Shyouhei Urabe)
01:01 PM Revision 935b0347 (git): merge revision(s) 21353:
* eval.c (cc_mark): frees the continuation's stack if its thread
is dead to avoid recursive gc that segfaults. [ruby-core:13889]
a patch by Brent Roman <brent AT mbari.org>.
* eval.c (rb_cont_check): checks f...
shyouhei (Shyouhei Urabe)
12:49 PM Revision 7fa70202 (git): merges r22389 from trunk into ruby_1_9_1.
* thread.c (thread_start_func_2): do not delete main thread from
living_threads. [ruby-core:19385], [ruby-core:22158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 4a3765a2 (git): merges r22363 from trunk into ruby_1_9_1.
* compile.c: fix to add "ensure" codes across "while" clause
before "return" expression. [ruby-dev:37967]
* bootstraptest/test_flow.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22536 b2dd03c8-39d4-4...
yugui (Yuki Sonoda)
12:49 PM Revision 8335857e (git): merges r22322 from trunk into ruby_1_9_1.
* variable.c (rb_define_hooked_variable): suppress false assertion
with VC9. [ruby-core:22115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 174eed35 (git): merges r22275 from trunk into ruby_1_9_1.
* vm_eval.c (eval_string_with_cref): use rb_vm_get_ruby_level_next_cfp()
instead of vm_get_ruby_level_caller_cfp(). checking a upper frame
is not enough. [ruby-dev:37984]
* proc.c, vm_core.h: declare rb_vm_get_ruby_level_next_cfp()...
yugui (Yuki Sonoda)
12:49 PM Revision c7782f91 (git): merges r22259 from trunk into ruby_1_9_1.
* 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/branches/rub...
yugui (Yuki Sonoda)
12:49 PM Revision f08b595a (git): merges r22255 from trunk into ruby_1_9_1.
* 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 (putstr...
yugui (Yuki Sonoda)
12:49 PM Revision 1efaf20e (git): merges r22253 from trunk into ruby_1_9_1.
* ext/stringio/stringio.c (strio_ungetc): calculates new position
before reallocation. [Bug#1099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:49 PM Revision 3c9aa0e6 (git): merges r22247 from trunk into ruby_1_9_1.
update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:43 PM Revision 6cec6748 (git): merge revision(s) 21298:
* numeric.c (ruby_float_step): extracted from num_step().
* range.c (range_step): uses ruby_float_step() for float range.
[ruby-dev:37691]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22528 b2dd03c8...
shyouhei (Shyouhei Urabe)
11:09 AM Revision 80d230c3 (git): * ext/socket/option.c (inspect_linger): message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:47 AM Bug #1185 (Closed): Segfault after removal of method_missing
=begin
Applied in changeset r22494.
=end
nobu (Nobuyoshi Nakada)
10:28 AM Revision 22cef963 (git): * ext/socket/init.c (s_recvfrom): use rb_io_wait_readable after
recvfrom.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:23 AM Revision ec5d31b3 (git): * ChangeLog: [ruby-core:22326] has been fixed at r22505.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:49 AM Revision bdc75418 (git): merges r22180 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision 6ac1783d (git): merges r22146 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision bb8f8db5 (git): merges r22132 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22522 b2dd03c...
yugui (Yuki Sonoda)
09:48 AM Revision b80b04fe (git): merges r22130 from trunk into ruby_1_9_1.
* 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]
gi...
yugui (Yuki Sonoda)
09:48 AM Revision 70b3d782 (git): merges r22123 from trunk into ruby_1_9_1.
* include/ruby/backward/rubysig.h: extern "C" was missing.
[ruby-core:21929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision b08d687d (git): merges r22121 from trunk into ruby_1_9_1.
* io.c (rb_io_s_binread): ensures file path. [ruby-dev:37940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision 930729e6 (git): merges r22099 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision c6b4cb12 (git): merges r22091 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision 051558c9 (git): merges r22085 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 81e2c9e1 (git): merges r22083 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 32c10534 (git): merges r22081 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22514 b...
yugui (Yuki Sonoda)
09:47 AM Revision 71a800a5 (git): merges r22054 and r22055 from trunk into ruby_1_9_1.
* ext/readline/readline.c (Init_readline): entry may be NULL.
[ruby-dev:37891]
--
change from assigned variable to called function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 083d726b (git): merges r22053 from trunk into ruby_1_9_1.
* time.c (LOCALTIME): should call tzset() before localtime_r().
[ruby-dev:37896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 0cc6f32d (git): merges r22037 from trunk into ruby_1_9_1.
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision de16edce (git): merges r22025 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:47 AM Revision 441746f4 (git): merges r22024 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22509 b...
yugui (Yuki Sonoda)
09:47 AM Revision 9a62ed56 (git): gets rid of ^D^D to quit script from stdin.
merges r22017 from trunk into ruby_1_9_1.
* ruby.c (load_file_internal): resets EOF flag after parse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:40 AM Revision c160c6e5 (git): * ext/socket/option.c (inspect_errno): new function.
(sockopt_inspect): use inspect_errno for SO_ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:12 AM Revision af7d8584 (git): * re.c (Init_Regexp): define Regexp::FIXEDENCODING. [ruby-dev:38066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:33 AM Revision bc59123d (git): * string.c (tr_trans): should not be affected by the encoding of
replacement unless actually modified. [ruby-talk:328967]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:38 AM Revision 0ec57a60 (git): * ext/socket/init.c (s_recvfrom_nonblock): handles EAGAIN too.
* ext/socket/init.c (s_accept_nonblock): ditto, and EPROTO depends
on platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:37 AM Feature #1133 (Closed): Pathname.binread
=begin
Applied in changeset r22493.
=end
matz (Yukihiro Matsumoto)
04:30 AM Revision 898d3136 (git): merges r21998 from trunk into ruby_1_9_1.
* lib/net/imap.rb: validate data before sending to a server.
[ruby-core:20320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:30 AM Revision 0d1513fa (git): merges r21996 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@22502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:30 AM Revision 759ab70c (git): * 2009-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:30 AM Revision abc40f03 (git): merges r21917, r21955 and r21974 from trunk into ruby_1_9_1.
* load.c (rb_require_safe): raises when the path to be loaded is
tainted. [ruby-dev:37843]
---
* file.c (rb_find_file_ext): should not be infected from other
load paths.
---
* adds a test case for r21955 and r21917.
git-svn-id: svn...
yugui (Yuki Sonoda)
04:06 AM Revision 88860a06 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:04 AM Revision 5c94b5d1 (git): * eval.c (ruby_options): evaluator now expects iseq instead of tree.
* ruby.c (ruby_process_options): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:03 AM Revision e99fb316 (git): * Makefile.in (configure): unset PWD to use symlink to building
directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision 510f34d6 (git): * Makefile.in (configure): unset PWD to use symlink to building
directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:56 AM Revision 70946fb3 (git): * Makefile.in (up): cd doesn't need LC_TIME, VCS needs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:47 AM Revision 1e51a7b2 (git): * vm_eval.c (method_missing): should not pop cfp if missing method
is method_missing. [ruby-core:22298]
* vm_eval.c (rb_raise_method_missing): new function to directly
raise NoMethodError.
* vm_insnhelper.c (vm_call_method): fixed the case method_missing
is missing.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 19bbab61 (git): * vm_eval.c (method_missing): should not pop cfp if missing method
is method_missing. [ruby-core:22298]
* vm_eval.c (rb_raise_method_missing): new function to directly
raise NoMethodError.
* vm_insnhelper.c (vm_call_method): fixed the case method_missing
is missing.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
12:39 AM Feature #1122: request for: Object#try
=begin
On 21/02/2009, Roger Pack <rogerdpack@gmail.com> wrote:
...
>
> > The other thing I occasionally do and which could be more streamlined
> > looks like this:
> >
> > here fd of a pipe might be already closed but it may n...
hramrach (Michal Suchanek)
12:15 AM Bug #1190 (Closed): irb's "help" command errs in 1.9
=begin
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32]"
irb(main):002:0> help "String#chars"
NameError: undefined method `execute' for module `IRB::ExtendCommand::Help'
from ...
rogerdpack (Roger Pack)

02/21/2009

11:56 PM Bug #1186 (Rejected): :method_missing not shown as an instance_method of BasicObject
=begin

=end
shyouhei (Shyouhei Urabe)
03:06 PM Bug #1186: :method_missing not shown as an instance_method of BasicObject
=begin
It's private.

> ruby1.9 -v -e 'p BasicObject.private_instance_methods'
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9]
[:initialize, :singleton_method_added, :singleton_method_removed, :singleton_method_undefined...
godfat (Lin Jen-Shin)
04:57 AM Bug #1186 (Rejected): :method_missing not shown as an instance_method of BasicObject
=begin
Although BasicObject seems to implement :method_missing...
------------------------------------------------------------------------
514/15 > ruby -v -e 'p BasicObject.instance_method( :method_missing )'
ruby 1.9.1p0 (2009-0...
RobertDober (Robert Dober)
07:32 PM Revision 3b39217f (git): * lib/pathname.rb (Pathname#binread): added. [ruby-dev:37952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
05:16 PM Revision 47c6ecfa (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): handle EMSGSIZE as
well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:04 PM Revision 6b0f5967 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): check max length
overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:54 PM Revision ce1f8cfd (git): * 2009-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:54 PM Revision ac896ee3 (git): * Makefile.in (update-rubyspec, test-rubyspec): Catch up to
rubyspec merge. A patch by Brian Ford at [ruby-core:21032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
04:53 PM Revision 60f2cec6 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): don't call
discard_cmsg_resource when EMFILE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:49 PM Revision ad2f293d (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): gc when SCM_RIGHTS
hit the file descriptor limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:57 PM Revision 9cfe35ad (git): * io.c (io_getpartial): error message describes what should be
waited after nonblocking error.
(rb_io_write_nonblock): ditto.
* ext/socket/init.c (s_recvfrom_nonblock): ditto.
(s_accept_nonblock): ditto.
* ext/socket/socket.c (sock_connect_nonblock): ditto.
* ext/socket/ancdata.c (bsock_sendm...
akr (Akira Tanaka)
03:50 PM Revision 6d55a704 (git): merge revision(s) 21297:
* ext/extmk.rb (extmake): does not use both of makefile.rb and
extconf.rb at the same time.
* lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_...
shyouhei (Shyouhei Urabe)
03:49 PM Revision 2af8e54e (git): merge revision(s) 21297:
* ext/extmk.rb (extmake): does not use both of makefile.rb and
extconf.rb at the same time.
* lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_...
shyouhei (Shyouhei Urabe)
03:32 PM Revision 6adda037 (git): * 2009-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision d227ca29 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): check recvmsg error
earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:19 PM Revision d842d1bc (git): merge revision(s) 21165:
* eval.c (rb_thread_schedule): Don't change status of threads which
don't run next even if select notify readability/writability.
[ruby-core:20446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@224...
shyouhei (Shyouhei Urabe)
03:18 PM Revision f87b1a53 (git): merge revision(s) 21165:
* eval.c (rb_thread_schedule): Don't change status of threads which
don't run next even if select notify readability/writability.
[ruby-core:20446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@224...
shyouhei (Shyouhei Urabe)
02:05 PM Revision 90fc8d84 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:50 AM Bug #1185 (Closed): Segfault after removal of method_missing
=begin
After removing method_missing from BasicObject, ruby bombs on a missing method
-----------------------------------------------------------------------------------
ruby -v -e 'class BasicObject; remove_method :method_missing e...
RobertDober (Robert Dober)
02:22 AM Revision ca38e81f (git): * 2009-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:22 AM Revision ab1a639c (git): mention the platform which causes cmsg_len > msg_controllen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/20/2009

11:37 PM Bug #1164 (Closed): 1.9/windows memroy leak with rand() AND inspect
=begin
Applied in changeset r22471.
=end
usa (Usaku NAKAMURA)
09:10 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
Hi,

2009/2/20 Yusuke ENDOH <mame@tsg.ne.jp>:
> HI,
>
> 2009/2/20 Chris Schlaeger <redmine@ruby-lang.org>:
>> I've tried to run taskjuggler with ruby 1.9 CVS from today and got internal error messages. The applications runs...
mame (Yusuke Endoh)
12:45 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin

=end
shyouhei (Shyouhei Urabe)
12:39 PM Bug #1181: [BUG] thread_free: keeping_mutexes must be NULL
=begin
HI,

2009/2/20 Chris Schlaeger <redmine@ruby-lang.org>:
> I've tried to run taskjuggler with ruby 1.9 CVS from today and got internal error messages. The applications runs fine with ruby 1.8.7. I tried to cut it down to a smal...
mame (Yusuke Endoh)
05:10 AM Bug #1181 (Closed): [BUG] thread_free: keeping_mutexes must be NULL
=begin
I've tried to run taskjuggler with ruby 1.9 CVS from today and got internal error messages. The applications runs fine with ruby 1.8.7. I tried to cut it down to a smaller test case, but it seems like you need the full app to tri...
orem (Chris Schlaeger)
08:51 PM Bug #1180: gethostbyname
=begin
Hi,

At Fri, 20 Feb 2009 01:32:06 +0900,
Oleg Puchinin wrote in [ruby-core:22261]:
> where is "getnamebyhost" ?

Is what you want Socket.getnameinfo?

--
Nobu Nakada
=end
nobu (Nobuyoshi Nakada)
12:14 PM Bug #1180 (Feedback): gethostbyname
=begin
What do you mean?

$ dig www.example.com | grep -w IN
;www.example.com. IN A
www.example.com. 80 IN A 208.77.188.166
=end
nobu (Nobuyoshi Nakada)
01:32 AM Bug #1180 (Rejected): gethostbyname
=begin
Socket.gethostbyname("192.0.34.166")
return ["192.0.34.166", [], 2, "\xC0\x00\"\xA6"],
not ["www.example.com", [], 2, "\300\000\"\246"]

where is "getnamebyhost" ?

Best regards,
Oleg.
=end
OlegPuchinin (Oleg Puchinin)
02:59 PM Bug #1177: eof for socket block script
=begin
Hi,

At Thu, 19 Feb 2009 23:23:23 +0900,
Oleg Puchinin wrote in [ruby-core:22258]:
> eof and eof? run awhile
> Is it OK ?
> How to check socket EOF without blocking ?

Could you show the reproduceable code?

--
Nobu N...
nobu (Nobuyoshi Nakada)
02:29 PM Revision 6ccdc76f (git): * 2009-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:29 PM Revision 8563b285 (git): * util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because
couldn't free the returned pointer from ruby_dtoa().
* missing/vsnprintf.c (cvt): receive buffer and use/return it instead
of returning the pointer returned from BSD__dtoa().
* missing/vsnprintf.c (BSD_vfprint...
U.Nakamura
01:51 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 19:00 09/02/19, Tanaka Akira wrote:

>It seems the number, 40, is a number for "big enough for
>names".
>
>Why don't you use 40 bytes data format, both with Ruby 1.8
>and 1.9?
>
>Do you think that 40 bytes is not big e...
duerst (Martin Dürst)
01:51 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
At 19:59 09/02/19, Michael Selig wrote:

>Also there are reports reading the data which expect the data to be 40
>characters wide. If it wasn't 40 chars, the formatting of the report may
>screw up.

Hello Michael,

In...
duerst (Martin Dürst)
12:02 PM Bug #1178 (Feedback): circular dependency on missing ffi
=begin
I couldn't reproduce it, with or without sudo.

$ gem19 install ffi
WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.9.1 and
/usr/bin aren't both writable.
WARNING: You don't have /home/nobu/.gem/ruby/1.9.1...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #1178 (Rejected): circular dependency on missing ffi
=begin
On Linux version 2.6.27.10-desktop-1mnb (qateam@titan.mandriva.com) (gcc version 4.3.2 (GCC) ) #1 SMP Thu Jan 29 10:49:40 EST 2009, I downloaded, configured, made, and installed ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linu...
sinobra (Fred Obermann)
11:43 AM Revision 28d53ca8 (git): merge revision(s) 21066:
* lib/optparse.rb (OptionParser::List#summarize): gives priority
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
git-svn-id: svn+s...
shyouhei (Shyouhei Urabe)
11:42 AM Revision 54b82ec9 (git): merge revision(s) 21066:
* lib/optparse.rb (OptionParser::List#summarize): gives priority
to latter switches. [ruby-dev:36692]
* lib/optparse.rb (OptionParser#summarize): do not append
unnecessary line terminator.
git-svn-id: svn+s...
shyouhei (Shyouhei Urabe)
10:35 AM Revision bffc1805 (git): merge revision(s) 20884:
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:34 AM Revision b0fc5e54 (git): merge revision(s) 20884:
* lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
09:06 AM Revision 4d17c733 (git): merge revision(s) 20855:
Merged 20854 from trunk.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
...
shyouhei (Shyouhei Urabe)
09:06 AM Revision c1009be7 (git): merge revision(s) 20855:
Merged 20854 from trunk.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
...
shyouhei (Shyouhei Urabe)
04:49 AM Feature #1122: request for: Object#try
=begin
2009/2/19 Radosław Bułat <radek.bulat@gmail.com>:
>
> It doesn't convince me. It can lead to bad programming style and could
> hide important error from programmer (the same goes to "blah() rescue
> nil" thing which should be...
hramrach (Michal Suchanek)
01:08 AM Feature #1122: request for: Object#try
=begin
On Thu, Feb 19, 2009 at 2:55 PM, Michal Suchanek <hramrach@centrum.cz> wrote:
> I think you are off the track here, at least WRT the original use of try.
>
> The #try(:name,...) would try to call :name on the object, and retur...
radarek (Radosław Bułat)

02/19/2009

11:23 PM Bug #1177 (Rejected): eof for socket block script
=begin
eof and eof? run awhile
Is it OK ?
How to check socket EOF without blocking ?
=end
OlegPuchinin (Oleg Puchinin)
10:55 PM Feature #1122: request for: Object#try
=begin
2009/2/19 Joel VanderWerf <vjoel@path.berkeley.edu>:
> Roger Pack wrote:
>>
>> On Wed, Feb 18, 2009 at 2:35 PM, Joel VanderWerf
>> <vjoel@path.berkeley.edu> wrote:
>>>
>>> Roger Pack wrote:
>>>>>>>
>>>>>>> Then how it is ...
hramrach (Michal Suchanek)
03:10 AM Feature #1122: request for: Object#try
=begin
On Wed, Feb 18, 2009 at 6:29 PM, Roger Pack <rogerdpack@gmail.com> wrote:
>> IMHO, foo.?bar should behave as "call-except-if-nil". Not only it
>> would be more consistent with other languages (like Io and Groovy),
>> but I thi...
radarek (Radosław Bułat)
08:01 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/19 Tanaka Akira <akr@fsij.org>:
> In article <op.upklh9q19245dp@kool>,
> "Michael Selig" <michael.selig@fs.com.au> writes:
>
>> In more detail: I have a legacy system that uses fixed length fields. Yes,
>> a name is ...
hramrach (Michal Suchanek)
07:55 PM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/19 Tanaka Akira <akr@fsij.org>:
> In article <op.upklh9q19245dp@kool>,
> "Michael Selig" <michael.selig@fs.com.au> writes:

>> Also it seems to me that the current usage of the "limit" parameter of
>> IO#gets is not ...
hramrach (Michal Suchanek)
12:21 AM Feature #908: Should be an easy way of reading N characters from am I/O stream
=begin
2009/2/18 Tanaka Akira <akr@fsij.org>:
> In article <a5d587fb0902160252u56b50cfdv8e0fd36bb4f0b1b3@mail.gmail.com>,
> Michal Suchanek <hramrach@centrum.cz> writes:
>
>>> What is represented by the N chars?
>>
>> I don't und...
hramrach (Michal Suchanek)
04:41 PM Revision e2608406 (git): merge revision(s) 20752:
* lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed.
a patch from [ruby-core:20561]
* lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before
exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
shyouhei (Shyouhei Urabe)
04:40 PM Revision dd97bd1d (git): merge revision(s) 20752:
* lib/sync.rb (Sync_m#sync_try_lock): wrong variable name fixed.
a patch from [ruby-core:20561]
* lib/sync.rb (Sync_m::Err.Fail): turn off Thread.critical before
exit.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
shyouhei (Shyouhei Urabe)
03:27 PM Bug #1176 (Third Party's Issue): uninitialized constant Zlib::FFI after fresh ruby compilation
=begin

=end
nobu (Nobuyoshi Nakada)
02:56 PM Bug #1176 (Third Party's Issue): uninitialized constant Zlib::FFI after fresh ruby compilation
=begin
I just installed 1.9.1 onto Mandriva 2009 (Linux version 2.6.27.10-desktop-1mnb (qateam@titan.mandriva.com) (gcc version 4.3.2 (GCC) ))

zlib is installed on the machine, details as follows:
Version: 1.2.3-12mdv2009.0
...
sinobra (Fred Obermann)
02:01 PM Revision 09396dcf (git): * ext/socket/ancdata.c (make_io_for_unix_rights): cmsg_len may be
bigger than msg_controllen.
freeze unix_rights array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:57 PM Bug #1175 (Closed): File.expand_path("~user") dose not work
=begin
Applied in changeset r22428.
=end
nobu (Nobuyoshi Nakada)
12:23 PM Bug #1175 (Closed): File.expand_path("~user") dose not work
=begin
File.expand_path が "~user" のような特定ユーザのホームディレクトリ指定を含む
パスを展開しなくなっているようです。

% ruby-trunk -v -e 'p File.expand_path("~user")'
ruby 1.9.2dev (2009-02-19 trunk 22427) [i686-linux]
"~user"

HAVE_GETPWENT が定義されていないといけないのに co...
nagachika (Tomoyuki Chikanaga)
01:18 PM Revision 98f82fc6 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): fix exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:13 PM Revision bed42944 (git): * ext/socket/ancdata.c (ancillary_unix_rights): method renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:33 AM Bug #1164: 1.9/windows memroy leak with rand() AND inspect
=begin
can reproduce in this code:
loop{0.0.inspect}

this problem seems to occur only when ruby is compiled with VC6.
so, it maybe compilers problem.
=end
usa (Usaku NAKAMURA)
09:02 AM Revision 619450c2 (git): merge revision(s) 20581:
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
09:01 AM Revision aa98314c (git): merge revision(s) 20581:
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
just ignores '*' in these cases.
[ruby-dev:37289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:26 AM Revision 8d81fc6d (git): merge revision(s) 20580:
* pack.c (pack_pack): fixed length for odd length string.
[ruby-dev:37283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:25 AM Revision d7f27048 (git): merge revision(s) 20580:
* pack.c (pack_pack): fixed length for odd length string.
[ruby-dev:37283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:19 AM Revision fe9c4e61 (git): merge revision(s) 20578:
* eval.c (rb_yield_0): Qundef means no argument. [ruby-Bugs-22525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:47 AM Revision 7c769004 (git): * template/fake.rb.in: extracted from Makefile.in.
* configure.in (fake.rb): prefixed with $(arch)-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:39 AM Revision 3e1394f3 (git): * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify
returns positive value on success, not non-zero. [ruby-core:21762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:34 AM Bug #1169: Thread#priority still doesn't work
=begin

Native threaded implementations will have a difficult time implementing the
same semantics as the green threaded Thread.priority=
One would probably have to resort to a "real-time" thread classes.
Under Linux, I'm pretty sur...
brent (Brent Roman)
06:17 AM Revision a285f856 (git): * lib/tmpdir.rb (@@systmpdir): File.expand_path also joins paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:14 AM Revision 22f1a984 (git): * ext/etc/etc.c (etc_each_group): defines only when Etc::Group is
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Revision f35308b3 (git): * eval_intern.h (translit_char): moved from ruby.c.
* load.c (load_ext): transliterates file separators and back if
needed.
* symbian/setup (DLN_NEEDS_ALT_SEPARATOR): defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:48 AM Revision 6d3ceb6c (git): * configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:39 AM Revision e2f62813 (git): * configure.in (darwin): uses -unexported_symbol option of ld instead
of objcopy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:24 AM Revision c59107a9 (git): * configure.in (darwin): makes dylib instead of so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:22 AM Revision 636b14b7 (git): * lib/mkmf.rb (create_makefile): added phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:22 AM Revision 030eed8f (git): * lib/mkmf.rb (create_makefile): added phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:18 AM Revision fb3fee22 (git): * lib/mkmf.rb (create_makefile): removes directories in the depth
order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 AM Revision a3fb4ee3 (git): * 2009-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:14 AM Revision 6784d8fd (git): * lib/mkmf.rb (create_makefile): creates target directories before
copying. [ruby-core:21958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 AM Revision 6ae8d52a (git): * lib/soap/mimemessage.rb (MIMEMessage#to_s): Fix a fatal
method name typo. [Bug #1173]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:56 AM Revision 4caba4eb (git): * file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:27 AM Bug #1170 (Closed): test_file_exhaustive.rb fails if building as root
=begin
Applied in changeset r22423.
=end
mame (Yusuke Endoh)
03:23 AM Bug #1170: test_file_exhaustive.rb fails if building as root
=begin
Done. Thank you!


2009/2/18 Lucas Nussbaum <redmine@ruby-lang.org>:
> Bug #1170: test_file_exhaustive.rb fails if building as root
> http://redmine.ruby-lang.org/issues/show/1170
>
> Author: Lucas Nussbaum
> Status: Ope...
mame (Yusuke Endoh)
02:05 AM Feature #934: request for Time.parse to no longer return Time.now on failure
=begin
Thanks for doing that.
Also what happened to default parameters?
>> ->(c=1) {}.parameters
=> [[:opt, :c]]
Thanks!
-=r
=end
rogerdpack (Roger Pack)
 

Also available in: Atom