Project

General

Profile

Activity

From 11/26/2010 to 12/02/2010

12/02/2010

11:39 PM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/12/2 Shugo Maeda <shugo@ruby-lang.org>:
> My proposal is to use modules as namespaces for refinements. So
> indentation is a necessary evil. Otherwise, we need syntax like Java
> packages and one file for each pa...
mame (Yusuke Endoh)
11:20 PM Feature #4085: Refinements and nested methods
=begin


On 12/2/2010 7:55 AM, Shugo Maeda wrote:
>
> Could you tell me why
>
> refine Foo
> def bar; end
> end
>
> is good but
>
> refine Foo do
> def bar; end
> end
>
> is not so good?

The "ref...
lsegal (Loren Segal)
09:55 PM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/30 Yusuke ENDOH <mame@tsg.ne.jp>:
>>> Because it requires less indentation, I thought.
>>
>> I see.  refine without blocks looks confusing for me because it works
>> different from refine with a block.
>
> Ma...
shugo (Shugo Maeda)
09:34 PM Feature #4085: Refinements and nested methods
=begin
On Dec 2, 2010, at 12:30 , Shugo Maeda wrote:

> 2010/11/27 Haase, Konstantin <Konstantin.Haase@student.hpi.uni-potsdam.de>:
>> So, is local rebinding still on the table? From my point of view local rebinding is far more intui...
rkh (Konstantin Haase)
08:47 PM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/28 Magnus Holm <judofyr@gmail.com>:
> Thanks a lot. Could you explain why included modules are rebound though?

It was a bug. Please try the following three patches instead of
refinement-r29837-20101124.diff.
...
shugo (Shugo Maeda)
08:41 PM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/27 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |Matz doesn't like it, but I think it's worth considering.
> |However, it's a problem that we have main#include, where main is self
> |at the top-level, but not Kern...
shugo (Shugo Maeda)
08:30 PM Feature #4085: Refinements and nested methods
=begin
Sorry for the delay. I had acute gastroenteritis....

2010/11/27 Haase, Konstantin <Konstantin.Haase@student.hpi.uni-potsdam.de>:
> So, is local rebinding still on the table? From my point of view local rebinding is far more ...
shugo (Shugo Maeda)
11:14 PM Feature #4111 (Closed): Add XLIST support to Net::IMAP
=begin
Is there any chance of adding support for the XLIST command to Net::IMAP?

It's basically an extended version of the LIST command - it includes flags indicating the designation of folders, e.g. \Sent for a the sent mail folde...
geoffyoungs (Geoff Youngs)
10:22 PM Bug #4110 (Closed): ホスト名の先頭が数字であるとき、WEBrickのテストでErrorが出る
=begin
ホスト名の先頭が数字であるような環境において、WEBrickのテストでErrorが出ます。

これは、WEBrick::HTTPRequest#parse_uriの中においてURI#host=でホスト名を設定する際、
先頭が数字であるような(ドットを含まない)ホスト名は許されないので例外が発生しているためです。

ひとまず、設定の:ServerNameを'localhost'にしてみたらテストは通りました。


$ ~/l...
kyanagi (Kouhei Yanagita)
10:08 PM Revision bfcd4e54 (git): * ext/stringio/stringio.c (strio_getline): round upto next char
boundary. [ruby-dev:42674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:53 PM Revision 15dad95d (git): * compile.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:45 PM Revision cd13326a (git): * eval.c (ruby_cleanup): fix type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:32 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
=begin
2010年11月25日10:57 Usaku NAKAMURA <redmine@ruby-lang.org>:
> チケット #3946 が更新されました。 (by Usaku NAKAMURA)

> ユースケース1件発生しました。r29925を参照。
>
> というわけで、q!(Q!)をLONG_LONGとして扱うという仕様を希望します。
> LONG_LONGがないプラットフォームは現状サポート外だと思いますが、
> その場合はAr...
akr (Akira Tanaka)
07:19 PM Revision e59b9e9e (git): * encoding.c (enc_alias_internal): use st_insert2 and change return
value to int.
* encoding.c (enc_alias): follow enc_alias_internal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:19 PM Revision 30107582 (git): Revert "* re.c (rb_reg_initialize): don't set US-ASCII to regexp"
This reverts commit r30058.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:40 PM Revision 4e788aa1 (git): * re.c (rb_reg_initialize): don't set US-ASCII to regexp
when parser make initially compile a regexp.
Usually regexp are used for the same of its script encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:40 PM Revision 13bfd090 (git): * 2010-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:40 PM Revision c99a895e (git): * encoding.c (enc_alias_internal): use xfree instead of free.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:05 PM Bug #4108: irb hangs on Windows with trunk
=begin
Hello,

In message "[ruby-core:33513] Re: [Ruby 1.9-Bug#4108][Closed] irb hangs on Windows with trunk"
on Dec.02,2010 15:19:29, <phasis@gmail.com> wrote:
> After applying r30017 and r30018, irb is not working well with
>...
usa (Usaku NAKAMURA)
03:19 PM Bug #4108: irb hangs on Windows with trunk
=begin
2010/12/2 Usaku NAKAMURA <redmine@ruby-lang.org>:
> Issue #4108 has been updated by Usaku NAKAMURA.
>
> Status changed from Open to Closed
> % Done changed from 0 to 100
>
> This issue was solved with changeset r30017.

A...
phasis68 (Heesob Park)
01:47 PM Bug #4108 (Closed): irb hangs on Windows with trunk
=begin
This issue was solved with changeset r30017.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
11:29 AM Bug #4108 (Closed): irb hangs on Windows with trunk
=begin
Due to r29980, irb hangs. please revert r29980.

C:\work>irb
irb(main):001:0> a = 1
=end
phasis68 (Heesob Park)
02:58 PM Revision 7911d42f (git): * NEWS: entry for ruby_vm_at_exit().
* eval.c (ruby_cleanup): bug fix around at_exit (1) timing was
wrong. (2) execution order was opposite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:06 PM Revision 2f1a781e (git): * win32/Makefile.sub (RCFLAGS): -nologo switch is only available in
newer versions of rc.exe. fixed the problem of r30012.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:28 PM Revision c20b8f75 (git): * ext/json/lib/json/add/rails.rb: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:28 PM Revision 260e8ce6 (git): * encoding.c (enc_alias_internal): free the copied key and
return NULL when given key is already regisitered.
* encoding.c (enc_alias): call set_encoding_const only when the
alias is not registered yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:23 PM Revision de7048ce (git): * Makefile.in (fake.rb): need to expand the topdir in case of it
being relative, a patch from Luis Lavena <luislavena at gmail.com>.
[ruby-core:33466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
11:06 AM Revision 51da92ea (git): * vm.c (ruby_vm_at_exit): new API. This enables extension libs to
hook a VM termination. Right now, because the VM we have is
process global, most extensions do not deallocate resources and
leave them to Operating System's reaping userland processes. But
in a future we p...
shyouhei (Shyouhei Urabe)
08:07 AM Revision b1d2491f (git): merges r29518 from trunk into ruby_1_9_2.
--
* class.c (rb_define_{class,module}_id_under): register to be
marked, which probably are defined and used internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision 27b1ee27 (git): merges r29517 from trunk into ruby_1_9_2.
--
* ext/win32ole/win32ole.c (ole_encoding2cp): set codepage 20936
according to GB2312. [Bug #3937] [ruby-core:32758]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision 8633eacb (git): merges r29493,r29494,r29505 and r29509 from trunk into ruby_1_9_2.
--
* file.c (DEVT2NUM): added. Size of dev_t is depend on the
environment even if POSIX defines dev_t as unsigned integer.
For example, OpenVMS, 64bit Solaris 9, and NetBSD 6 defines
dev_t as 64bit unsigned integer.
* file.c (rb_s...
yugui (Yuki Sonoda)
08:07 AM Revision faeed9b5 (git): merges r29495 from trunk into ruby_1_9_2.
--
* ext/win32ole/win32ole.c (reg_get_val): expand environment in
the pathname. [Bug #3907]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision 0672c5fc (git): merges r29490 from trunk into ruby_1_9_2.
--
* numeric.c (ruby_float_step): fix Numeric#step with infinity unit
doesn't works well. [ruby-core:32779]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision 51f6ed81 (git): merges r29484 from trunk into ruby_1_9_2.
--
* lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibyte
string. Thanks nobu and tDiary dev members. [Bug #3909]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision ebea538a (git): merges r29467 from trunk into ruby_1_9_2.
--
* win32/win32.c (rb_w32_open_osfhandle, rb_w32_wopen, rb_w32_pipe):
use uintptr_t instead of long for win64.
* win32/win32.c (socketpair_internal): suppress warnings.
* win32/win32.c (ftruncate): use HANDLE instead of long for win...
yugui (Yuki Sonoda)
08:07 AM Revision 0d7d1bb5 (git): merges r29466 from trunk into ruby_1_9_2.
--
* vsnprintf.c (BSD_vfprintf): fix cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:07 AM Revision d589c293 (git): merges r29454 from trunk into ruby_1_9_2.
--
* io.c (rb_io_ungetc): always see Bignum. On 32bit valid value
may be a Bignum. On 64bit for errors. [ruby-dev:42366]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:06 AM Revision 931e3b6a (git): merges r29453 from trunk into ruby_1_9_2.
--
* string.c (rb_str_concat): use unsigned int for GB18030.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:06 AM Revision cd504997 (git): merges r29449 from trunk into ruby_1_9_2.
--
* win32/win32.c (rb_w32_strerror): unmap some range of errno for
workaround of VC10's strerror() and sys_nerr problem.
based on a patch from Akio Tajima, [ruby-dev:42355].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby...
yugui (Yuki Sonoda)
08:06 AM Revision 230b8b52 (git): merges r29446 and r29448 from trunk into ruby_1_9_2.
--
* numeric.c (rb_enc_uint_chr): split from int_chr.
* numeric.c (int_chr): use rb_enc_uint_chr.
* include/ruby/encoding.h (rb_enc_uint_chr): added.
--
* io.c (rb_io_ungetc): use unsigned int for GB18030.
git-svn-id: svn+ssh://ci.rub...
yugui (Yuki Sonoda)
08:06 AM Revision 55eecb54 (git): merges r29445 from trunk into ruby_1_9_2.
--
* numeric.c (int_chr): a codepoint of Ruby M17N must be 32bit
unsigned int; GB18030 uses MSB. Also note that OnigCodePoint
is defined as uisigned int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30037 b2dd03c8...
yugui (Yuki Sonoda)
08:06 AM Revision f099a11c (git): merges r29442 from trunk into ruby_1_9_2.
--
* lib/net/http.rb (HTTP.get): specify ASCII-8BIT as the result
encoding of Zlib::GzipReader.
http://hibari.2ch.net/test/read.cgi/tech/1281473294/271
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30036 b2dd03c8-3...
yugui (Yuki Sonoda)
08:06 AM Revision dcc316b8 (git): merges r29438 from trunk into ruby_1_9_2.
--
* error.c (syserr_initialize): set the encoding of Errno::*#message
as locale. [ruby-dev:42358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:06 AM Revision 9b612539 (git): merges r29435 from trunk into ruby_1_9_2.
--
* io.c (rb_io_set_encoding): use rb_funcall2 when the io is not
a T_FILE. [ruby-dev:42356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:06 AM Revision 93d4433c (git): merges r29422 from trunk into ruby_1_9_2.
--
* lib/csv.rb: Fixing documentation typos. [ruby-core:32712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:06 AM Revision e3e97791 (git): merges r29421 from trunk into ruby_1_9_2.
--
* cygwin/GNUmakefile.in, win32/Makefile.sub (RCFILES): depend on
real config.rb file. [ruby-core:32709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:06 AM Revision 15527e52 (git): merges r29415 from trunk into ruby_1_9_2.
--
* io.c (fptr_finalize): write_mutex might have been destroyed
already in finalization phase, as the order of finalizers is not
guaranteed. rb_mutex_t should be used in place of Mutex object
in the future.
git-svn-id: svn+ssh:/...
yugui (Yuki Sonoda)
08:06 AM Revision 3923e587 (git): merges r29413 from trunk into ruby_1_9_2.
--
* vm_core.h: add missing prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision cd28b651 (git): merges r29410 from trunk into ruby_1_9_2.
--
* parse.y (regexp): dregexp has literal string only at the head
and successors are array. [ruby-core:32682]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision 0ce00dce (git): merges r29407 from trunk into ruby_1_9_2.
--
* ext/openssl/lib/openssl/bn.rb (Integer#to_bn): OpenSSL::BN.new
accepts only Strings, so call Integer#to_s(16).
16 is for an optimization. [ruby-dev:42336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30028 b2...
yugui (Yuki Sonoda)
08:05 AM Revision 3bd554d3 (git): merges r29406 from trunk into ruby_1_9_2.
--
* cont.c (fiber_memsize): Return size.
Before this change, fiber_memsize always returns 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision 404886ce (git): merges r29394 from trunk into ruby_1_9_2.
--
test/win32ole/test_thread.rb: add for win32ole with Thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision 0a04644b (git): merges r29378 from trunk into ruby_1_9_2.
--
* win32/win32.c (rb_w32_getenv): should return NULL if specified name
is empty. a patch from Heesob Park at [ruby-core:32650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision 37309d99 (git): merges r29136 from trunk into ruby_1_9_2.
--
* vm.c (rb_thread_method_id_and_class): curried proc has no
method. [ruby-core:31871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:05 AM Revision 45ba4645 (git): merges r29335 from trunk into ruby_1_9_2.
--
* string.c (sym_call), vm.c (invoke_block_from_c),
vm_insnhelper.c (vm_yield_with_cfunc): pass given block.
[ruby-core:32075]
* vm_eval.c (rb_funcall_passing_block): new function to call
method with passing given block.
git-sv...
yugui (Yuki Sonoda)
08:05 AM Revision aadbcc5b (git): merges r29335 from trunk into ruby_1_9_2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
08:01 AM Revision cf39e78e (git): * bignum.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:37 AM Revision 064f6af2 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:32 AM Revision 82ec8baa (git): * win32/win32.c (rb_w43_read): more fix. [ruby-core:33513]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:49 AM Revision 77049334 (git): * win32/win32.c (rb_w32_read): rollback debug code of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:42 AM Revision 6f3225f6 (git): * win32/win32.c (rb_w32_read): workaround for console reading troubles.
fixed [ruby-core:33511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:36 AM Revision 7eadd51d (git): Setup Symbol#to_json to avoid conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:33 AM Revision e41ed50b (git): * lib/uri/common.rb (URI.encode_www_form):
split key-value when the value is Array like object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:33 AM Feature #4100: Improve Net::HTTP documentation
=begin
On Dec 1, 2010, at 07:17, Yui NARUSE wrote:

> Issue #4100 has been updated by Yui NARUSE.
>
> Status changed from Open to Closed
> % Done changed from 0 to 100
>
> This issue was solved with changeset r30001.

I commi...
drbrain (Eric Hodel)
12:17 AM Feature #4100 (Closed): Improve Net::HTTP documentation
=begin
This issue was solved with changeset r30001.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
01:46 AM Revision f5bdc774 (git): * lib/net/http.rb (Net::HTTP#set_form_data):
use URI.encode_www_form for application/x-www-form-urlencoded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:46 AM Revision 1cdcd40e (git): * ext/extmk.rb: remove $makeflags.defined?, it should be $mflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:27 AM Bug #4053 (Closed): JSON Extension Uses Iconv
=begin
This issue was solved with changeset r30004.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
01:20 AM Revision 173f6914 (git): * win32/Makefile.sub (rc): suppress meaningless message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:12 AM Revision 6d744580 (git): * ext/json/generator/extconf.rb: remove the lines which set -O3
when -O option is not set.
Note that -O3 doesn't always exist.
* ext/json/parser/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:03 AM Revision a04d93ac (git): * ext/extmk.rb: define $makeflags.defined? like $mflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

12/01/2010

10:24 PM Bug #4106 (Rejected): 1.9.2 regression - invoking protected singleton methods
=begin
Issue:

Invoking a method that has been made protected in an object's
singleton class fails with
NoMethodError: protected method `xxxx' called.

Invoking this protected method succeeds in 1.8.7 and 1.9.1.

Rel...
dmendel (Dion Mendel)
10:20 PM Revision 5f37d690 (git): * lib/test/unit.rb (Test::Unit::GCStressOption): --gc-stress
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:15 PM Revision 64740adc (git): * lib/test/unit.rb (Test::Unit::Mini#_run_suites): show the result
even when interrupted on the way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:08 PM Revision 0e24a11b (git): * ext/io/console/console.c (setattr): should retry on EINTR.
[ruby-dev:42666]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:07 PM Bug #4105 (Closed): Bug in numeric.c for Borland compiler
=begin
This issue was solved with changeset r29998.
W, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
10:02 PM Bug #4105: Bug in numeric.c for Borland compiler
=begin
> This will only appear when borland and for example microsoft dll's are mixed.
> This can happend when OpenGl dll's are used
>
> Btw. This source is also present in 1.8
>
> I found this problem because I created a borland d...
kosaki (Motohiro KOSAKI)
09:46 PM Bug #4105 (Closed): Bug in numeric.c for Borland compiler
=begin
There is a potential bug in Init_Numeric()

#elif defined(__BORLANDC__)
/* Turn off floating point exceptions for overflow, etc. */
_control87(MCW_EM, MCW_EM);
#endif

This call wil set the coprocessor in a ...
wvdbos (W van den Bos)
05:31 PM Revision ec8f4038 (git): Fix positional wording in lib/net/http.rb to match revised order
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
04:40 PM Revision 95bff6e8 (git): Improve rdoc of net/http/http.rb.
* use URI(..)
* normalize Net::HTTP.start()
* use Net::HTTP.start(hostname, :use_ssl). Feature #2579
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:26 PM Revision 521876c3 (git): * ext/json/lib/json/common.rb: don't use iconv on 1.9.
patched by Shota Fukumori [ruby-core:33164]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:26 PM Revision 4a84c27e (git): * ext/json: Update github/flori/json from 1.4.2+ to
e22b2f2bdfe6a9b0. this fixes some bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:07 PM Revision b60cc779 (git): * 2010-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision 594633fb (git): * lib/net/http.rb: improve rdoc.
This change the order of chapter because such overview should
begin with simple examples.
patched by Eric Hodel [ruby-core:33469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:37 PM Bug #4104 (Closed): String#hash should return different value for different string.
=begin
This issue was solved with changeset r29991.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
10:43 AM Bug #4104 (Closed): String#hash should return different value for different string.
=begin
On Ruby 1.9.x, String#hash returns same value for any "\x00" trailing string.

C:\work>irb
irb(main):001:0> "a".hash
=> -242103097
irb(main):002:0> "a\x00".hash
=> -242103097
irb(main):003:0> "a\x00\x00".hash
=> -...
phasis68 (Heesob Park)
01:06 PM Revision 693a6cde (git): * 2010-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:06 PM Revision 21be8efa (git): * numeric.c (Init_Numeric): fixed a potential bug when using bccwin32
ruby with Microsoft's dll. [ruby-core:33503]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:05 PM Revision 91d2ee73 (git): * numeric.c (Init_Numeric): fixed a potential bug when using bccwin32
ruby with Microsoft's dll, though we already gave up of supporting
bccwin32. [ruby-core:33503]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:44 PM Revision 8c881423 (git): * array.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:42 PM Revision 6dea556e (git): * test/socket/test_addrinfo.rb: extract Errno::EADDRINUSE as a method.
* test/socket/test_socket.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:08 AM Bug #4097 (Assigned): Unexpected result of STDIN.read on Windows
=begin

=end
usa (Usaku NAKAMURA)
11:07 AM Revision bb9464de (git): fix typos in man
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:07 AM Revision c3757c21 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:56 AM Bug #4030: ext/openssl OpenSSL::ASN1::decode / to_der
=begin
I'd like to propose a patch that would resolve the issue for me.

After analyzing the signatures in more detail I found out that the only BER encodings used were infinite length constructed encodings e.g. for sequence, set an...
MartinBosslet (Martin Bosslet)
09:37 AM Feature #4096 (Closed): Follow .gnu_debuglink section.
=begin
This issue was solved with changeset r29987.
Shinichiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
06:09 AM Revision 1972f9ee (git): * test/openssl/test_ssl.rb (test_not_started_session): non socket
argument of SSLSocket.new is not supported on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:03 AM Revision b5e1dfdb (git): Remove unused logics
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:36 AM Revision 417ea3a3 (git): * string.c (rb_memhash): zero-filled strings should return
different values. [ruby-core:33500]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:33 AM Revision d264d3cc (git): Imported minitest 2.0.0 r5952. Fixed test/unit.rb to work with changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
03:40 AM Bug #4103 (Closed): String#hash not returning consistent values in different sessions
=begin
See also: http://perldoc.perl.org/perlsec.html#Algorithmic-Complexity-Attacks
=end
shyouhei (Shyouhei Urabe)
02:07 AM Bug #4103: String#hash not returning consistent values in different sessions
=begin
Hi,

(2010/12/01 0:30), Ryan Ong wrote:
> I open one irb session
>
> ruby-1.9.2-p0> 'test'.hash => -658842761 ruby-1.9.2-p0>
> 'test'.hash => -658842761
>
> The second time I open it
>
> ruby-1.9.2-p0> 'test'.hash =...
naruse (Yui NARUSE)
12:30 AM Bug #4103 (Closed): String#hash not returning consistent values in different sessions
=begin
I open one irb session

ruby-1.9.2-p0 > 'test'.hash
=> -658842761
ruby-1.9.2-p0 > 'test'.hash
=> -658842761

The second time I open it

ruby-1.9.2-p0 > 'test'.hash
=> 11032433
ruby-1.9.2-p0 > 'test'.ha...
ryanong (Ryan Ong)
02:06 AM Feature #4100: Improve Net::HTTP documentation
=begin

=end
drbrain (Eric Hodel)
02:06 AM Feature #4100: Improve Net::HTTP documentation
=begin
I see you changed the proxy example, I agree.

I have fixed the examples to use #value instead of #error!

Attached is an updated patch that applies atop the existing changes and removes the rejected chunks.

Also, th...
drbrain (Eric Hodel)
01:59 AM Feature #4100: Improve Net::HTTP documentation
=begin
(2010/12/01 1:30), Eric Hodel wrote:
> On Nov 29, 2010, at 21:08, Yui NARUSE wrote:
>
>> Issue #4100 has been updated by Yui NARUSE.
>>
>> I reject Hunk #7 because :nodoc: method is not a public API.
>
> Then should the ex...
naruse (Yui NARUSE)
01:37 AM Feature #4100: Improve Net::HTTP documentation
=begin
On Nov 29, 2010, at 19:09, Yui NARUSE wrote:

> Issue #4100 has been updated by Yui NARUSE.
>
> In Hunk #4, why partly using HTTP_PROXY?
> And it assumes HTTP_PROXY begins with http:// though it is not always URI.
>
> Ah...
drbrain (Eric Hodel)
01:31 AM Feature #4100: Improve Net::HTTP documentation
=begin
On Nov 29, 2010, at 21:08, Yui NARUSE wrote:

> Issue #4100 has been updated by Yui NARUSE.
>
> I reject Hunk #7 because :nodoc: method is not a public API.

Then should the examples switch from using #error! to #value?

...
drbrain (Eric Hodel)
01:20 AM Revision ed22b0ec (git): * string.c (rb_str_inspect): fix typo (not 0xFD but 0xFE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:12 AM Revision 54fd6de0 (git): Revert r29986: "Imported minitest 2.0.0 r5952"
This breaks test-all:
* two test-all errors (test_run_passing and test_run_failing_filtered).
* -v option to test-all is ignored
Additional to say, please describe summary of the change when you
import from external repository.
And, RU...
naruse (Yui NARUSE)
12:32 AM Revision 22b2c638 (git): * addr2line.c: Follow .gnu_debuglink section.
A user of distribution provided ruby will see line
info if s/he has a debug package for ruby.
patched by Shinichiro Hamaji [ruby-dev:42655]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

11/30/2010

10:45 PM Revision 3632f4cf (git): Imported minitest 2.0.0 r5952
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
09:34 PM Feature #4102: Proposal for 'let'. A new approach using block-defaults in 1.9
=begin
On 30 November 2010 04:47, john mair <redmine@ruby-lang.org> wrote:
> Here are some example uses of the proposed 'let':

None of this example does actually "speak" to me.

Could you maybe elaborate the usefulness and show a ...
Eregon (Benoit Daloze)
08:09 PM Feature #4102: Proposal for 'let'. A new approach using block-defaults in 1.9
=begin

On Nov 29, 2010, at 19:47 , john mair wrote:

> This is a very simple function, it would be implemented as follows:
>
> module Kernel
> private
> def let() yield end
> end
>
> First of all, do not dis...
zenspider (Ryan Davis)
07:05 PM Feature #4102: Proposal for 'let'. A new approach using block-defaults in 1.9
=begin
On Tue, Nov 30, 2010 at 04:47, john mair <redmine@ruby-lang.org> wrote:

> I note that after the publication of "Metaprogramming in Ruby" by Paolo
> Perrotta the following idiom has started to appear:
>
>    proc do
>      ...
now (Nikolai Weibull)
12:46 PM Feature #4102 (Rejected): Proposal for 'let'. A new approach using block-defaults in 1.9
=begin
This is a very simple function, it would be implemented as follows:

module Kernel
private
def let() yield end
end

First of all, do not dismiss this functionality out of hand because of
its ...
banister (john mair)
08:09 PM Feature #4085: Refinements and nested methods
=begin
It would be great to finally have scoped monkey patching for Ruby, but I am finding some problems with this approach.

There are many ways for refinements to leak out of the lexical scope that uses them:

1. Inheritance (...
jedediah (Jedediah Smith)
07:20 PM Feature #4085: Refinements and nested methods
=begin
This is a long response, and for that I apologize. I want to make sure
I'm being clear about my concerns, so they can be addressed in a
meaningful way.

SUMMARY:

* "using" not being a keyword requires all calls to check fo...
headius (Charles Nutter)
12:29 PM Feature #4085: Refinements and nested methods
=begin
Hi,

Sorry for late reply.


2010/11/26 Shugo Maeda <shugo@ruby-lang.org>:
>>
>> Because it requires less indentation, I thought.
>
> I see. refine without blocks looks confusing for me because it works
> different fro...
mame (Yusuke Endoh)
04:47 PM Revision 715ec081 (git): * 2010-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:47 PM Revision 05d7d889 (git): * string.c (rb_str_inspect): inspect as a dummy encoding string
when a UTF-16/32 (not BE/LE) string does not have a BOM.
Unicode and some RFCs say that a string labeld as UTF-16/32
doesn't have a BOM, it should be considered big endian.
But many Windows programs generates little endian UTF-16
...
naruse (Yui NARUSE)
04:26 PM Bug #4101: Bug in Action Caching
=begin
This is probably fixed in higher patch levels of 1.9.2. Unfortunately, (even though announced) there has not yet been another 1.9.2 release. If you happen to use rvm, it's pretty easy to upgrade, though: rvm install 1.9.2-head.
...
rkh (Konstantin Haase)
09:02 AM Bug #4101 (Closed): Bug in Action Caching
=begin
I was following the screencast http://railscasts.com/episodes/93-action-caching

In my controller
caches_action :index, :cache_path => :index_cache_path.to_proc
def index_cache_path
if user_signed_in?
"...
rodrigo.pest (Rodrigo Pestana)
02:08 PM Feature #4100: Improve Net::HTTP documentation
=begin
Ah, HTTP_PROXY is from original doc.

I reject Hunk #7 because :nodoc: method is not a public API.
=end
naruse (Yui NARUSE)
12:09 PM Feature #4100: Improve Net::HTTP documentation
=begin
Applying eric's patch, the result of http.rb is following:
Hunk #1 failed at 32.
Hunk #2 failed at 677.
Hunk #3 succeeded at 763 (offset 65 lines).
Hunk #4 failed at 918.
Hunk #5 succeeded at 1781 with fuzz 2 (offset 36...
naruse (Yui NARUSE)
12:00 PM Feature #4100: Improve Net::HTTP documentation
=begin
First, I merged mathew's patch.
I didn't delete the exception/error class hierarchy
because class hierarchy overview with status code is not available.
=end
naruse (Yui NARUSE)
11:58 AM Feature #4100: Improve Net::HTTP documentation
=begin
On Mon, Nov 29, 2010 at 19:09, Eric Hodel <drbrain@segment7.net> wrote:

> Chunks 1, 3, 4, 5, 6 and possibly 2 will conflict with my patch.
>

Does anyone else want to take a look at the conflicts, or shall I try
resolving ...
meta (mathew murphy)
10:09 AM Feature #4100: Improve Net::HTTP documentation
=begin
On Nov 29, 2010, at 15:26, mathew murphy wrote:

> Issue #4100 has been updated by mathew murphy.
>
> File net-http-2010.patch added
>
> I submitted some improvements to the net/http documentation back in 2005. Most of th...
drbrain (Eric Hodel)
08:45 AM Feature #4100: Improve Net::HTTP documentation
=begin

On Nov 29, 2010, at 15:26 , mathew murphy wrote:

> I submitted some improvements to the net/http documentation back in 2005. Most of them were ignored, including several additional examples. Since the state of the documentat...
zenspider (Ryan Davis)
08:26 AM Feature #4100: Improve Net::HTTP documentation
=begin
I submitted some improvements to the net/http documentation back in 2005. Most of them were ignored, including several additional examples. Since the state of the documentation is currently being discussed on the web, I decided t...
meta (mathew murphy)
05:36 AM Feature #4100 (Closed): Improve Net::HTTP documentation
=begin
The attached patch reorganizes and further explains how to use Net::HTTP.

The patch emphasizes using the persistent connection APIs over the simpler but more convenient non-persistent APIs.

The documentation now starts ...
drbrain (Eric Hodel)
12:07 PM Bug #4097: Unexpected result of STDIN.read on Windows
=begin
Hi,

2010/11/30 Masaya TARUI <tarui@prx.jp>:
> Hello,
>
> WindowsXP seems have a bug at read functions under multibyte console inputs.
> I found a issue of coming from same bug of Windows. :-(
>
> does anybody have a good...
phasis68 (Heesob Park)
06:06 AM Bug #4097: Unexpected result of STDIN.read on Windows
=begin
Hello,

WindowsXP seems have a bug at read functions under multibyte console inputs.
I found a issue of coming from same bug of Windows. :-(

does anybody have a good workaround idea ?

> ruby -ve 'a=STDIN.read(6);p [a,a.l...
tarui (Masaya Tarui)
11:54 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
On Sat, Nov 27, 2010 at 19:28, tadayoshi funaba <redmine@ruby-lang.org>wrote:

> stolen_base will accept what all of Time represents thing except zonename
> references and leapseconds.
>

Time zone abbreviations/names are a...
meta (mathew murphy)
08:06 AM Revision 87703540 (git): * addr2line.c (parse_debug_line_cu): ignore DW_LNE_set_discriminator.
To ignore, it needs to read a sigle unsigned LEB128 integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:06 AM Revision a926288b (git): * vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other
words backtrace() is libexecinfo) and it is optimized.
This temporary hack should be also applied to other libexecinfo
environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:06 AM Revision 4bded50f (git): * lib/net/http.rb: improve rdoc.
patched by Eric Hodel ref #4100
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:26 AM Revision e4288860 (git): * win32/win32.c (rb_w32_read): read only 1 byte at once on console.
workaround of Windows bug. see [ruby-core:33460].
this is not the final solution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:56 AM Revision 80c21e35 (git): * lib/net/http.rb: improve rdoc.
patched by mathew murphy [ruby-core:33472] ref #4100
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

11/29/2010

10:42 PM Bug #4097: Unexpected result of STDIN.read on Windows
=begin
Hi,

2010/11/29 U.Nakamura <usa@garbagecollect.jp>:
> Hello,
>
> In message "[ruby-core:33460] [Ruby 1.9-Bug#4097][Open] Unexpected result of STDIN.read on Windows"
>    on Nov.29,2010 18:26:13, <redmine@ruby-lang.org> wrot...
phasis68 (Heesob Park)
09:45 PM Bug #4097: Unexpected result of STDIN.read on Windows
=begin
On Mon, Nov 29, 2010 at 8:44 AM, U.Nakamura <usa@garbagecollect.jp> wrote:
> Hello,
>
> In message "[ruby-core:33460] [Ruby 1.9-Bug#4097][Open] Unexpected result of STDIN.read on Windows"
>    on Nov.29,2010 18:26:13, <redmin...
luislavena (Luis Lavena)
08:44 PM Bug #4097: Unexpected result of STDIN.read on Windows
=begin
Hello,

In message "[ruby-core:33460] [Ruby 1.9-Bug#4097][Open] Unexpected result of STDIN.read on Windows"
on Nov.29,2010 18:26:13, <redmine@ruby-lang.org> wrote:
> On Ruby 1.9.x, in case of non-ASCII input, STDIN.read(n...
usa (Usaku NAKAMURA)
06:26 PM Bug #4097 (Third Party's Issue): Unexpected result of STDIN.read on Windows
=begin
On Ruby 1.9.x, in case of non-ASCII input, STDIN.read(n) returns some garbage attached string.

C:\work>ruby -ve 'a=STDIN.read(10);p a;p a.length'
ruby 1.9.3dev (2010-11-28 trunk 29965) [i386-mswin32_90]
가나다라abcd
"\xB0...
phasis68 (Heesob Park)
08:24 PM Revision fbf5f324 (git): * 2010-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:23 PM Revision ff3e943d (git): Improve documentation for URI::Common#encode_www_form, OpenSSL::SSL::SSLContext#ssl_version=.
Add documentation for OpenSSL::SSL::SSLContext#ciphers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
02:19 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi,

In message "Re: [ruby-core:33458] Re: [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run"
on Mon, 29 Nov 2010 14:10:02 +0900, Tanaka Akira <akr@fsij.org> writes:

|> Availability of...
matz (Yukihiro Matsumoto)
02:10 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
2010/11/29 Yukihiro Matsumoto <matz@ruby-lang.org>:

> Availability of undocumented feature on the specific version of
> specific implementation does not assure anything. If we specify

It is documented.

time.c:
2209: *...
akr (Akira Tanaka)
01:56 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi,

In message "Re: [ruby-core:33445] [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run"
on Sun, 28 Nov 2010 17:35:28 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|> I am n...
matz (Yukihiro Matsumoto)
09:10 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
2010/11/28 tadayoshi funaba <redmine@ruby-lang.org>:
> Issue #4068 has been updated by tadayoshi funaba.
>
>
> i'll welcome you if you support stolen_base with me.
> however, i think we will need support of matz and akr who ...
akr (Akira Tanaka)
06:21 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi,

In message "Re: [ruby-core:33446] [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run"
on Sun, 28 Nov 2010 17:43:42 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|i'll wel...
matz (Yukihiro Matsumoto)
05:24 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi Matz,

On 27 November 2010 15:48, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
| Hi,
|
| I have a few questions for the community.
|
| * If we have to pick one, which we should choose? Performance?
| Precision?
...
Eregon (Benoit Daloze)
01:55 PM Revision 839ee606 (git): * lib/uri/common.rb (URI::WFKV_): get rid of backtrack explosion
by nested repeat operators. [ruby-core:33464]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:53 PM Revision f0a2b08b (git): * win32/Makefile.sub (scriptbin.mk): fix generated rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:52 PM Revision 8fba2b63 (git): * win32/win32.c (rb_w32_write_console): fix argument type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:43 PM Bug #3890: ビジースレッドがあるとコンテキストスイッチが起きづらくなる
=begin
ruby 1.9.3dev (2010-11-28 trunk 29965) [x64-mswin64_90]
ですぐに終了すること確認しました。
対応ありがとうございます。
=end
beuniv (shintaro kuwamoto)
01:39 PM Feature #4095: C1 Coverage
=begin

=end
yugui (Yuki Sonoda)
12:12 PM Revision f4c909b9 (git): * misc/ruby-mode.el (ruby-forward-sexp): stop after literal hash
key labels.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 PM Revision 05a0c30a (git): * misc/ruby-mode.el (ruby-font-lock-keywords): highlight literal
hash key labels as symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:38 AM Feature #4096 (Closed): Follow .gnu_debuglink section.
=begin
浜地です。

先日取り込んでいただいた行情報のパッチですが、
ディストリビューションなんかが配布する ruby バイナリは、

# debug 情報を持っていない
/usr/bin/ruby
# debug 情報を持っている
# debug package をインストールした場合に存在する。
/usr/lib/debug/usr/bin/ruby

とかいう感じで二つに別れています。
バグレポートする人の中...
shinh (Shinichiro Hamaji)
09:55 AM Revision 62cd7732 (git): * ChangeLog: add [experimental].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:33 AM Revision 5ff2c82a (git): test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):
- Removed commented-out options that are no longer under discussion.
- Added two more tests for forthcomming clarifications.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
05:33 AM Revision 95f0f27d (git): * win32/win32.c (rb_w32_isatty): use GetConsoleMode() to determine the
fd is console or not, just like rb_w32_write_console().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:20 AM Revision dd4c3945 (git): * include/ruby/win32.h (rb_w32_write_console): wrong prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:11 AM Revision 5b54e9e6 (git): * 2010-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:11 AM Revision 3d245920 (git): * win32/win32.c (rb_w32_write_console): fixed indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

11/28/2010

05:53 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
2010/11/28 tadayoshi funaba <redmine@ruby-lang.org>:
>
>> I am not sure if we need to guarantee granularity less than a nano
>> second. Do we?
>
> ?? but, we already have

I used Time to represent struct bintime in FreeBS...
akr (Akira Tanaka)
05:43 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
i'll welcome you if you support stolen_base with me.
however, i think we will need support of matz and akr who is the maintainer of Time firstly.
=end
tadf (tadayoshi funaba)
05:35 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
> I am not sure if we need to guarantee granularity less than a nano
> second. Do we?

?? but, we already have

$ irb193dev -r time -r date
main@193-20101128> Time.parse('23:59.59.' + '9'*100).iso8601(100)
#=> "201...
tadf (tadayoshi funaba)
04:30 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi,

In message "Re: [ruby-core:33440] [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run"
on Sun, 28 Nov 2010 10:28:49 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|stolen_b...
matz (Yukihiro Matsumoto)
02:16 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
The reason for the difference in Tadayoshi's first example is because home_run has nanosecond level resolution.

The reason for the difference in Tadayoshi's second example is because home_run doesn't implement the undocument...
jeremyevans0 (Jeremy Evans)
11:46 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
i've attached new patch and a script.

i tried to test some parts.

i admit home_run is fast.
however, stolen_base gives good results.
it's reasonable.
and stolen_base is faster on sort of array of DateTime.

ho...
tadf (tadayoshi funaba)
10:28 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
the former.

stolen_base will accept what all of Time represents thing except zonename references and leapseconds.
in my experience, i suppose nearly all of users believe they do so naturally.
=end
tadf (tadayoshi funaba)
05:01 PM Feature #4095 (Closed): C1 Coverage
=begin
The built-in coverage in Ruby 1.9 is great, but it only offers line-by-line coverage.

It would be better if we could determine which parts of each line have been run e.g:

# File 'coverage_example.rb'
true ? 'always r...
DanielHeath (Daniel Heath)
01:25 PM Revision 53d06bb0 (git): * test/iconv/utils.rb: suppress warning message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:16 PM Revision 283c36e7 (git): * thread_pthread.c (NATIVE_MUTEX_LOCK_DEBUG): move and use it.
* ChangeLog: fix my timezone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:00 PM Revision e4cf9c59 (git): * thread_pthread.c: remove pthread_atfork().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:55 PM Revision 7a4b9912 (git): * thread_pthread.c (native_cond_*): Check return code.
(Some OSs except Linux return error code).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
12:46 PM Revision 16d4733e (git): * thread_pthread.c (thread_start_func_1): initialize native thread
data immediately before starting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:56 AM Revision bc8b1008 (git): * io.c (struct argf): make lineno long, and reorder members.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:55 AM Revision f0445d15 (git): * thread_win32.c (gvl_release, gvl_init): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:48 AM Revision 925da00b (git): * thread_pthread.c (gvl_release, gvl_init): suppress warnings.
* vm_core.h (rb_vm_gvl_destroy): add prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:46 AM Revision 079545cd (git): * thread_pthread.c (gvl_reinit): register atfork hander only in
the parent process, to get rid of dead lock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Bug #3890 (Closed): ビジースレッドがあるとコンテキストスイッチが起きづらくなる
=begin
This issue was solved with changeset r29956.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
ko1 (Koichi Sasada)
05:16 AM Bug #3890: ビジースレッドがあるとコンテキストスイッチが起きづらくなる
=begin
(2010/09/30 9:42), U.Nakamura wrote:
>> ためしにCriticalSectionではなく、USE_WIN32_MUTEXで、Mutexを使うように変更するとすぐ終わるようになりました。

 安易ですが、mutex を使うようにしてみました。どうでしょうか。

--
// SASADA Koichi at atdot dot net
=end
ko1 (Koichi Sasada)
05:17 AM Bug #2359 (Closed): test_threads.rb:test_list
=begin
This issue was solved with changeset r29956.
Christian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
ko1 (Koichi Sasada)
04:27 AM Feature #4093 (Closed): net/http rdoc improvements
=begin
This issue was solved with changeset r29953.
Mike, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
04:22 AM Feature #4093: net/http rdoc improvements
=begin
I merge your patch, thanks!

Following are comments:

> + # url.query = params.inject([]) { |memo, (k, v)| memo << "#{k}=#{CGI::escape(v.to_s)}"; memo }.join("&")

You can use URI.encode_www_form(params).

> -...
naruse (Yui NARUSE)
02:49 AM Feature #4093 (Closed): net/http rdoc improvements
=begin
I've reworked the main net/http rdoc to fix English grammar and give more examples:

* request and response headers
* GET with static and dynamic parameters
* response status code

All of these were actual things t...
mperham (Mike Perham)
01:10 AM Feature #4085: Refinements and nested methods
=begin
Thanks for your answers,

On Fri, Nov 26, 2010 at 03:24, Shugo Maeda <shugo@ruby-lang.org> wrote:
> Hi,
>
> 2010/11/26 Magnus Holm <judofyr@gmail.com>:
>> Woah, this is very nice stuff! Some comments/questions:
>>
>> 1. C...
judofyr (Magnus Holm)

11/27/2010

11:55 PM Feature #4065: Rename or alias module#append_features to module#include_module
=begin
Hi,

In message "Re: [ruby-core:33419] [Ruby 1.9-Feature#4065] Rename or alias module#append_features to module#include_module"
on Sat, 27 Nov 2010 17:14:44 +0900, Chauk-Mean Proum <redmine@ruby-lang.org> writes:

|Issue...
matz (Yukihiro Matsumoto)
05:14 PM Feature #4065: Rename or alias module#append_features to module#include_module
=begin

Given the discussion from http://www.ruby-forum.com/topic/469691#new ,

I revised my proposal as following :
For Object#extend, the hook/callbacks methods would be :
- pre_extended (instead of extend_object)
- extend...
Chauk-Mean (Chauk-Mean Proum)
11:49 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi,

In message "Re: [ruby-core:33420] [Ruby 1.9-Feature#4068] Replace current standard Date/DateTime library with home_run"
on Sat, 27 Nov 2010 17:15:20 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|i'm sorr...
matz (Yukihiro Matsumoto)
05:15 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
i'm sorry.
i have to say no.
bacause, stolen_base gives better results.


$ cat p-sb.rb
a = DateTime.new(2000)
b = DateTime.new(2000,1,1, 0,1,0)

p 1000.times.inject(a){|s, | s + Rational(1, 259200)}.strftime('%...
tadf (tadayoshi funaba)
03:41 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
Hi,

(2010/11/27 8:05), tadayoshi funaba wrote:
> Issue #4068 has been updated by tadayoshi funaba.
>
>
> i don't have any rights about such an agreement on the ruby development or distribution.
> however, i have big doubt...
naruse (Yui NARUSE)
09:05 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
i have doubt to adopt home_run.
however, if we don't need luxury seat,
i'll propose yet another date library "stolen_base" which is based on built-in Time.
so, we don't need to have many similar implementations.
it does n...
tadf (tadayoshi funaba)
08:05 AM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
i don't have any rights about such an agreement on the ruby development or distribution.
however, i have big doubt to adopt home_run.


$ cat p.rb
require 'date'
require 'date/delta'
a = DateTime.new(2000)
b = Dat...
tadf (tadayoshi funaba)
11:46 PM Feature #4085: Refinements and nested methods
=begin
Hi Matz,

>For specifying namespace, "using" is used in many languages, C++, C#
>etc. On the other hand, as far as I know, no language use the keyword
>"use" for namespaces, but for other purposes. For example, Perl6's
...
Chauk-Mean (Chauk-Mean Proum)
11:27 PM Feature #4085: Refinements and nested methods
=begin
Hi,

In message "Re: [ruby-core:33421] [Ruby 1.9-Feature#4085] Refinements and nested methods"
on Sat, 27 Nov 2010 17:35:43 +0900, Chauk-Mean Proum <redmine@ruby-lang.org> writes:

|>Some other people said the same, but ...
matz (Yukihiro Matsumoto)
10:32 PM Feature #4085: Refinements and nested methods
=begin
11/27/2010 09:46 AM - Loren Segal wrote :
>> I also prefer use instead of using.
>> May be the core team can request Rack developers to rename their use method to e.g. rack_use.
>> I guess that this new feature will be avai...
Chauk-Mean (Chauk-Mean Proum)
05:46 PM Feature #4085: Refinements and nested methods
=begin

On 11/27/2010 3:35 AM, Chauk-Mean Proum wrote:
> IMHO, it would be a shame to have such a new core feature with a "strange" naming.
> I also prefer use instead of using.
> May be the core team can request Rack developers to ...
lsegal (Loren Segal)
05:43 PM Feature #4085: Refinements and nested methods
=begin

On Nov 27, 2010, at 06:10 , Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: [ruby-core:33396] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods"
> on Fri, 26 Nov 2010 11:24:43 +0900, Shugo Maeda <sh...
rkh (Konstantin Haase)
05:40 PM Feature #4085: Refinements and nested methods
=begin

On Nov 27, 2010, at 09:35 , Chauk-Mean Proum wrote:

> Issue #4085 has been updated by Chauk-Mean Proum.
>
>
>>> Regarding naming: how about using the name `use' instead of `using'? This
>>> would be in line with other ...
rkh (Konstantin Haase)
05:35 PM Feature #4085: Refinements and nested methods
=begin
>> Regarding naming: how about using the name `use' instead of `using'? This
>> would be in line with other names such as `include', `extend', etc.

>Some other people said the same, but I think `using' is better than
>`u...
Chauk-Mean (Chauk-Mean Proum)
02:10 PM Feature #4085: Refinements and nested methods
=begin
Hi,

In message "Re: [ruby-core:33396] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods"
on Fri, 26 Nov 2010 11:24:43 +0900, Shugo Maeda <shugo@ruby-lang.org> writes:

|Matz doesn't like it, but I think i...
matz (Yukihiro Matsumoto)
01:57 PM Feature #4085: Refinements and nested methods
=begin
Hi,

In message "Re: [ruby-core:33393] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods"
on Fri, 26 Nov 2010 11:02:28 +0900, Shugo Maeda <shugo@ruby-lang.org> writes:

|>> Do we need Kernel#refine?
|>
|...
matz (Yukihiro Matsumoto)
01:39 PM Feature #4085: Refinements and nested methods
=begin
Hi,

> How about to separate them into the following three patches?
>
> 1. changes of control frames and method lookup
> 2. Refinements support
> 3. nested methods support

I have attached these three patches.
...
shugo (Shugo Maeda)
09:36 PM Feature #2351: system() hardlinked to /bin/sh
=begin
2010/11/27 mathew <meta@pobox.com>:
> On Fri, Nov 26, 2010 at 08:18, Motohiro KOSAKI <redmine@ruby-lang.org>
> wrote:
>>
>> And if we accept this proposal, system() will lose user enviroment
>> portability. e.g. csh has comp...
kosaki (Motohiro KOSAKI)
08:58 AM Feature #2351: system() hardlinked to /bin/sh
=begin
On Fri, Nov 26, 2010 at 08:18, Motohiro KOSAKI <redmine@ruby-lang.org>wrote:

> And if we accept this proposal, system() will lose user enviroment
> portability. e.g. csh has completely different syntax from /bin/sh. Thus,
> ...
meta (mathew murphy)
08:15 PM Revision 450463d5 (git): * thread.c, vm_core.h: make gvl_acquire/release/init/destruct
APIs to modularize GVL implementation.
* thread_pthread.c, thread_pthread.h: Two GVL implementations.
(1) Simple locking GVL which is same as existing GVL.
(2) Wake-up queued threads. The wake-up order is simple FIFO.
(We can make...
ko1 (Koichi Sasada)
07:49 PM Revision ac0f5a53 (git): * io.c (io_fwrite): use rb_w32_write_console under Windows.
* win32/win32.c (rb_w32_write_console): added to write to write
Unicode using WriteConsoleW for stdout/stderr. [ruby-core:33166]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
luislavena (Luis Lavena)
07:22 PM Revision 1342c3ba (git): * 2010-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:22 PM Revision baf7a09d (git): * lib/net/http.rb: improve rdoc.
patched by Mike Perham [ruby-core:33433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:21 PM Feature #4071: support basic auth for Net::HTTP.get requests
=begin
On Wed, Nov 24, 2010 at 22:12, Marc-Andre Lafortune
<redmine@ruby-lang.org>wrote:

> If the patch won't be accepted, the documentation of either `post_form` or
> `get` should be made more explicit to state that one supports i...
meta (mathew murphy)
03:51 PM Feature #4071: support basic auth for Net::HTTP.get requests
=begin
(2010/11/26 19:38), coderrr . wrote:
> Yui,
>
> I should point out that the RFC actually does provide an "out" for
> allowing a password in the userinfo in section 7.5: "A password
> appearing within the userinfo component i...
naruse (Yui NARUSE)
06:17 PM Bug #4090 (Closed): Time::new に時差を与えたとき、正しい日付が得られない事がある
=begin
This issue was solved with changeset r29951.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
05:03 PM Bug #4090: Time::new に時差を与えたとき、正しい日付が得られない事がある
=begin
そういう意味ではなく、「new に時差を与えると」と書きましたが、
例で挙げたように、時差が new に与えられていないが、地方時が -12:00 であったからそうなった場合と
new に時差を与えた場合とで結果が異なっているようだ、という事を言っているわけです。

とりあえず、他でも再現が出来たという事は判りました。
=end
tadf (tadayoshi funaba)
10:55 AM Bug #4090: Time::new に時差を与えたとき、正しい日付が得られない事がある
=begin
sora_hです。
+1200だからダメっていう感じがしますが…

>> Time.new(2001,2,28,23,59,30,'+09:00') #=> 2001-02-28 23:59:30 0900
>> Time.new(2001,2,28,23,59,30,'-09:00') #=> 2001-02-28 23:59:30 -0900
>> Time.new(2001,2,28,23,59,30,'-13:00') #=>...
sorah (Sorah Fukumori)
09:25 AM Bug #4090 (Closed): Time::new に時差を与えたとき、正しい日付が得られない事がある
=begin
Time::new に時差を与えたとき、正しい日付が得られない事がある。

Time.new(2001,2,28,23,59,30,'-12:00')
#=> 2001-02-29 23:59:30 -1200

と 28日ではなく、29日になります。

時差が、-12:00 である事が原因ではなくて、
ある場合に、new に時差を与えると起るようです。

Time.new(1970,2,28,23,59,30)
...
tadf (tadayoshi funaba)
02:07 PM Bug #4092 (Closed): r29946 でビルドが通らない
=begin
This issue was solved with changeset r29947.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
shugo (Shugo Maeda)
01:05 PM Bug #4092: r29946 でビルドが通らない
=begin
ビルド時エラーをpasteし忘れました。

CFLAGS = -O0 -gdwarf-2 -g3 -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -arch x86_64 -fno-commo...
sorah (Sorah Fukumori)
01:04 PM Bug #4092 (Closed): r29946 でビルドが通らない
=begin
sora_hです。
r29946でビルドが通りません。


diff --git lib/optparse.rb lib/optparse.rb
index 91308a9..6d9c46f 100644
--- lib/optparse.rb
+++ lib/optparse.rb
@@ -1549,7 +1549,7 @@ XXX
end
pat = Completion.regexp(wo...
sorah (Sorah Fukumori)
12:17 PM Bug #4091 (Closed): Ruby man page
=begin
This issue was solved with changeset r29946.
Arthur, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
10:40 AM Bug #4091 (Closed): Ruby man page
=begin
I installed 1.9.2 recently and was reading through its man page. It seems to be a little out of date and contains some miss-spellings and awkward english.

I've attached a patch (also available at https://github.com/gunn/ruby...
gunn (Arthur Gunn)
10:12 AM Revision cf869bc1 (git): * time.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:08 AM Revision 2451d735 (git): * time.c (leap_year_v_p): fixed typo. [ruby-dev:42631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:03 AM Revision 0ebec8cf (git): * resolv.rb (Resolv::DNS): use the same DNS server when retry using TCP.
reported by Julian Mehnle. [ruby-core:32970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:51 AM Bug #3150: net/https peer verification doesn't do anything
=begin
Thank you for sharing your time. It's bad to know that the problem still exists...
=end
nahi (Hiroshi Nakamura)
03:16 AM Bug #3150: net/https peer verification doesn't do anything
=begin
On Thu, Nov 25, 2010 at 08:48:59PM +0900, Hiroshi NAKAMURA wrote:
> Issue #3150 has been updated by Hiroshi NAKAMURA.
>
>
> I found that the OS X 10.6.5 includes security fix for OpenSSL. http://support.apple.com/kb/HT4435
...
tenderlovemaking (Aaron Patterson)
06:45 AM Revision 3e57529e (git): * vm_dump.c (rb_vm_bugreport): see CrashReport log on Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:43 AM Revision 3c36edc0 (git): * configure.in: link addr2line only for ELF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:01 AM Revision 23819840 (git): * lib/optparse.rb (OptionParser#candidate): : was missing. Thanks,
Shota Fukumori. [ruby-dev:42634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
03:08 AM Revision d412050e (git): * man/ruby.1: Ruby man page from Arthur Gunn in [ruby-core:33412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
02:29 AM Revision 7050069d (git): * lib/optparse.rb (OptionParser#candidate): get rid of 1.9 syntax
so that BASERUBY can be 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 AM Revision e394ddd2 (git): * addr2line.c: needs <errno.h>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

11/26/2010

11:42 PM Revision 52659f50 (git): * ext/dl/extconf.rb, ext/iconv/charset_alias.rb: use RbConfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:18 PM Feature #2351: system() hardlinked to /bin/sh
=begin
And if we accept this proposal, system() will lose user enviroment portability. e.g. csh has completely different syntax from /bin/sh. Thus, distributed ruby scripts will not be able to use system().
=end
kosaki (Motohiro KOSAKI)
10:37 PM Feature #2351: system() hardlinked to /bin/sh
=begin
Hi

SUS says

> The environment of the executed command shall be as if a child process were created using fork(), and the child process invoked
> the sh utility using execl() as follows:
>
> execl(<shell path>, "sh"...
kosaki (Motohiro KOSAKI)
11:16 PM Revision ca86a063 (git): * addr2line.c (rb_dump_backtrace_with_lines): should close fd on
edge case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:38 PM Feature #4071: support basic auth for Net::HTTP.get requests
=begin
Yui,

I should point out that the RFC actually does provide an "out" for allowing a password in the userinfo in section 7.5: "A password appearing within the userinfo component is deprecated and should be considered an error ...
coderrr (coderrr .)
01:39 PM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Yusuke ENDOH <mame@tsg.ne.jp>:
>>>  module FooExt
>>>    refine(Foo)
>>>    ...
>>>  end
>>>
>>> (equivalent to)
>>>
>>>  module FooExt
>>>    refine(Foo) { include FooExt }
>>>    ...
>>>  end
>>
>...
shugo (Shugo Maeda)
12:45 PM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Shugo Maeda <shugo@ruby-lang.org>:
>>> I guess Module#refine works the same as using_refine in this case.
>>
>> Hmm.  Then, when no block is given to Module#refine, how about
>> adding an implicit block that...
mame (Yusuke Endoh)
11:29 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Jos Backus <jos@catnook.com>:
> Regarding naming: how about using the name `use' instead of `using'? This
> would be in line with other names such as `include', `extend', etc.

Some other people said the sam...
shugo (Shugo Maeda)
11:26 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Haase, Konstantin <Konstantin.Haase@student.hpi.uni-potsdam.de>:
>>> Do we need Kernel#refine?
>>
>> I want it.
>
> What would be the difference between Kernel#refine and Module#prepend?
> I mean, what poi...
shugo (Shugo Maeda)
11:24 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Magnus Holm <judofyr@gmail.com>:
> Woah, this is very nice stuff! Some comments/questions:
>
> 1. Could you give an example of how it would behave if it had local
> rebinding as in classbox?

If it had loc...
shugo (Shugo Maeda)
11:08 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Yusuke ENDOH <mame@tsg.ne.jp>:
> Are these intended?
>
> (1)
>
>  class Foo
>  end
>  module FooExtCore
>    def foo
>      bar
>    end
>    def bar
>    end
>  end
>  module FooExt
>    refine(F...
shugo (Shugo Maeda)
11:02 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/26 Yusuke ENDOH <mame@tsg.ne.jp>:
>> How about to separate them into the following three patches?
>>
>>  1. changes of control frames and method lookup
>>  2. Refinements support
>>  3. nested methods support
...
shugo (Shugo Maeda)
10:25 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/25 SASADA Koichi <ko1@atdot.net>:
>> I have run "make benchmark" 5 times, and it shows that the modified
>> version is slower than average 2.5% than the original version.
>>
>> The benchmark result is available...
shugo (Shugo Maeda)
07:39 AM Feature #4085: Refinements and nested methods
=begin

On Nov 25, 2010, at 22:06 , Magnus Holm wrote:

> 2. I don't like the idea of having both #using and #include. I don't
> want to think about which one to use; I just want to use the module! I
> think this is getting even mo...
rkh (Konstantin Haase)
07:35 AM Feature #4085: Refinements and nested methods
=begin
On Nov 25, 2010, at 18:02 , Yusuke ENDOH wrote:

>> Do we need Kernel#refine?
>
> I want it.

What would be the difference between Kernel#refine and Module#prepend?
I mean, what point do local refinements have in a global...
rkh (Konstantin Haase)
06:07 AM Feature #4085: Refinements and nested methods
=begin
Woah, this is very nice stuff! Some comments/questions:

1. Could you give an example of how it would behave if it had local
rebinding as in classbox?

2. I don't like the idea of having both #using and #include. I don't
wa...
judofyr (Magnus Holm)
02:25 AM Feature #4085: Refinements and nested methods
=begin
Hi,

Are these intended?

(1)

class Foo
end
module FooExtCore
def foo
bar
end
def bar
end
end
module FooExt
refine(Foo) { include FooExtCore }
end
using(FooExt)
Foo.ne...
mame (Yusuke Endoh)
02:02 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/25 Shugo Maeda <shugo@ruby-lang.org>:
> How about to separate them into the following three patches?
>
>  1. changes of control frames and method lookup
>  2. Refinements support
>  3. nested methods support
...
mame (Yusuke Endoh)
12:48 AM Feature #4085: Refinements and nested methods
=begin
Hi,

2010/11/25 SASADA Koichi <ko1@atdot.net>:
> (2010/11/25 13:55), Shugo Maeda wrote:
>> I have run "make benchmark" 5 times, and it shows that the modified
>> version is slower than average 2.5% than the original version....
mame (Yusuke Endoh)
12:37 PM Feature #4089 (Closed): Add addr2line for C level backtrace
=begin
This issue was solved with changeset r29940.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
10:52 AM Feature #4089: Add addr2line for C level backtrace
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:42627] Re: [Ruby 1.9-Feature#4089][Open] Add addr2line for C level backtrace"
on Nov.26,2010 10:20:52, <naruse@airemix.jp> wrote:
> > これ具体的にはどんな出力になりますか?
> > できれば合わせようと思うので。
>
>...
usa (Usaku NAKAMURA)
10:21 AM Feature #4089: Add addr2line for C level backtrace
=begin
成瀬です。

2010年11月26日9:41 U.Nakamura <usa@garbagecollect.jp>:
>> glibc 環境 (つまり Linux) や、libexecinfo を導入している FreeBSD や NetBSD など (のELFなバイナリ) で動きます。
>
> これ具体的にはどんな出力になりますか?
> できれば合わせようと思うので。

なんと、glibc と libexecinfo で違います。

...
naruse (Yui NARUSE)
09:42 AM Feature #4089: Add addr2line for C level backtrace
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:42625] [Ruby 1.9-Feature#4089][Open] Add addr2line for C level backtrace"
on Nov.26,2010 09:22:38, <redmine@ruby-lang.org> wrote:
> ところが、C level backtrace だけ見ても実のところあまり助けにならないことが多いの...
usa (Usaku NAKAMURA)
09:22 AM Feature #4089 (Closed): Add addr2line for C level backtrace
=begin
最近の Ruby は SEGV や BUG 時に Ruby level backtrace を出したり、
取れるときは C level backtrace を出したりしています。

ところが、C level backtrace だけ見ても実のところあまり助けにならないことが多いので、
ソースコードのファイルや行数も可能ならば出したいところです。

などと言っていたら浜地さんがパッチを作ってくれたので、これを取り込みませんか。
...
naruse (Yui NARUSE)
12:37 PM Bug #4088 (Closed): Case Sensitivity in Regular Expressions with Lookbehind
=begin
This issue was solved with changeset r29939.
Robert, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
04:39 AM Revision 39e7b2fb (git): * addr2line.c: apply a patch from shinichiro.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:28 AM Revision 086301ac (git): * addr2line.c: added to show source filename and line number of
functions in backtrace. [ruby-dev:42625]
a patch from shinichiro.h <shinichiro.hamaji AT gmail.com>
* addr2line.h: ditto.
* common.mk: add addr2line.$(OBJEXT).
* configure.in: check dl_iterate_phdr.
* vm_dump.c (rb_vm_bugreport): u...
naruse (Yui NARUSE)
03:28 AM Revision f8f35854 (git): * regcomp.c (setup_tree): restart setup_tree() for a node whose
AnchorNode's type is ANCHOR_PREC_BEHIND or ANCHOR_PREC_BEHIND_NOT
and divide_look_behind_alternatives() divided it to NT_ALT or
NT_LIST. [ruby-core:33370]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29939 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
02:42 AM Revision f55d567b (git): * vm_dump.c (dump_thread): get only required rights of the target
thread because THREAD_ALL_ACCESS causes an access error on XP.
reported by Masaya TARUI via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:10 AM Revision 952a3572 (git): * vm_dump.c (dump_thread): show the displacement from the beginning
of the symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:50 AM Revision b96d267c (git): * vm_dump.c (dump_thread): follow the output of glibc.
see [ruby-dev:42627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:09 AM Revision bb88a5a2 (git): * win32/Makefile.sub (WARNFLAGS): shut up the meaningless warnings of
Japanese version of VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:08 AM Revision 0b947106 (git): * 2010-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:08 AM Revision 282ec842 (git): * re.c (rb_reg_regcomp): should succeed the taint status from the
origin. [ruby-core:33338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:50 AM Revision ca840529 (git): * re.c (rb_reg_initialize_str): should succeed the taint status from
the origin. [ruby-core:33338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:34 AM Revision cc494bcb (git): * ChangeLog: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:34 AM Revision 6f581a68 (git): * vm_dump.c (dump_thread): seems to be necessary the 3rd argument of
SymGetLineFromAddr64(), even though MSDN says it can be zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:24 AM Revision bc0fcc53 (git): * 2010-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:24 AM Revision 25787431 (git): * regcomp.c (onig_is_prelude): added to check whether ruby is still
in prelude (or other boot processes) or not.
* regcomp.c (optimize_node_left): use onig_is_prelude for printing.
* regcomp.c (set_optimize_info_from_tree): ditto.
* regcomp.c (onig_compile): ditto.
* regcomp.c (print_compiled_byte_co...
naruse (Yui NARUSE)
 

Also available in: Atom