Project

General

Profile

Activity

From 12/20/2010 to 12/26/2010

12/26/2010

11:30 PM Revision d298593f (git): * misc/rb_optparse.zsh: add compdef for generator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:30 PM Revision 0924e52c (git): * lib/optparse.rb (OptionParser#compsys): escape brackets too.
[ruby-dev:42754]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:27 PM Bug #4209 (Closed): nmake reports warning in ext/ripper
=begin
This issue was solved with changeset r30389.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
09:08 PM Bug #4209 (Closed): nmake reports warning in ext/ripper
=begin
こんなのが出ます。

compiling ripper
NMAKE : warning U4006: 特殊マクロは定義されていません : '$<'
extracting ripper.y from
compiling compiler ripper.y

nmakeは明示的なルールにおいて$<を定義しませんので直して下さい。
ちなみに r29748 から発生しています。
=end
usa (Usaku NAKAMURA)
04:31 PM Revision 2ea38fdd (git): * 2010-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:31 PM Revision 011bcd47 (git): * ext/socket/mkconstants.rb: add IF_NAMESIZE.
add a default for INET6_ADDRSTRLEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:26 PM Bug #3992: irb's "help" command errs in 1.9.x
=begin
What feedback?
=end
phasis68 (Heesob Park)
02:55 PM Bug #3992 (Rejected): irb's "help" command errs in 1.9.x
=begin
No feedback.
=end
naruse (Yui NARUSE)
03:26 PM Bug #4101 (Closed): Bug in Action Caching
=begin
Ruby 1.9.2-p136 is released
=end
naruse (Yui NARUSE)
03:24 PM Bug #4123 (Third Party's Issue): thread-safe problem in libxml_ruby.so
=begin
It seems that libxml-ruby makes a wronb object and crashes when GC collect it.
=end
naruse (Yui NARUSE)
03:21 PM Feature #4145 (Closed): The result of UTF-16 encoded string concatenation
=begin

=end
naruse (Yui NARUSE)
03:10 PM Feature #3622: Net::HTTP does not wait to send request body with Expect: 100-continue
=begin
What's going on?
=end
naruse (Yui NARUSE)
03:05 PM Bug #2717: Requiring rubygems/specification causes tons of warnings for NoMethodError
=begin
What's going on?
=end
naruse (Yui NARUSE)
03:04 PM Bug #2641: Seg fault running miniruby during ruby build on Haiku
=begin
What's going on?
=end
naruse (Yui NARUSE)
02:57 PM Bug #4044 (Rejected): Regex matching errors when using \W character class and /i option
I think, current behavior is reasonable.
naruse (Yui NARUSE)
02:56 PM Bug #3799 (Rejected): Unexpected behaviour of require_relative
=begin
No feedback.
=end
naruse (Yui NARUSE)
02:55 PM Bug #3782 (Rejected): NendoのテストスイートでSEGVが発生する
=begin
No feedback.
=end
naruse (Yui NARUSE)
02:55 PM Feature #3767 (Rejected): String#scan enumerator?
=begin
No feedback.
=end
naruse (Yui NARUSE)
02:55 PM Bug #3760 (Rejected): help "String.new" (for example) no longer works in irb
=begin
No feedback.
=end
naruse (Yui NARUSE)
02:55 PM Bug #3763 (Rejected): 1.9.2-p0 SEGV in String:+
=begin
No feedback.
=end
naruse (Yui NARUSE)
02:55 PM Bug #3766 (Rejected): SEGFAULT
=begin
No feedback.
=end
naruse (Yui NARUSE)
02:53 PM Bug #3889: Incorrectly detected i686-w64-mingw32 as x64-mingw
=begin
What's going on?
=end
naruse (Yui NARUSE)
02:53 PM Bug #3861 (Feedback): Endian bugs in fiddle/dl on sparc64
=begin

=end
naruse (Yui NARUSE)
02:52 PM Bug #3862: Bugs in the OpenSSL extension on sparc64
=begin

=end
naruse (Yui NARUSE)
02:48 PM Bug #3934 (Assigned): ChangeLog-1.9.3
=begin

=end
naruse (Yui NARUSE)
02:44 PM Bug #4153: Minitest or ruby bug - wrong return code
=begin
What's current status?
If this is resolved, please close this.
=end
naruse (Yui NARUSE)
02:43 PM Feature #4184 (Rejected): String that has the same object_id in an each occurrence in a code
=begin

=end
naruse (Yui NARUSE)
02:42 PM Bug #4152 (Assigned): optparseのzsh compsysでrspecの補完が出来ない
=begin
コミットしてください
=end
naruse (Yui NARUSE)
02:41 PM Bug #4161 (Assigned): ReXML wants "elements.each" argument to be not frozen
=begin

=end
naruse (Yui NARUSE)
02:39 PM Bug #4188 (Closed): minitest warnings in 1.9.3
=begin
This is fixed at r30345, r30347, and r30348
=end
naruse (Yui NARUSE)
02:10 PM Revision 205cc6c0 (git): * win32/Makefile.sub: suppress a strange error message when RMALL
found no such file.
* win32/rmall.bat: new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:46 PM Revision 43b4bae5 (git): * win32/Makefile.sub: fix 'nmake clean-enc' breakage since r28322.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:25 PM Revision cf7dae0e (git): * ext/ripper/depend (ripper.y): fix messages with nmake.
[ruby-dev:42896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:24 PM Revision 1b00c45d (git): * file.c (file_expand_path): get rid of warnings caused by
-Wdeclaration-after-statement on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:59 PM Revision 5d276ea1 (git): * process.c (before_exec): add small comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:17 PM Bug #4202 (Closed): RDoc raises exception on non-HOME envrionemt
=begin
This issue was solved with changeset r30382.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
11:54 AM Revision 2316cd4d (git): * ext/socket/mkconstants.rb: define INET_ADDRSTRLEN as 16 if not
available. fix compilation error on mswin32-60. reported by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:43 AM Revision 9694fa95 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:38 AM Revision 6446be30 (git): * ext/socket/option.c: define IFNAMSIZ if not available.
fix compilation error on mingw32. reported by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:18 AM Feature #4183: [ext/openssl] Timestamp support
=begin
On Sat, Dec 25, 2010 at 11:58:56PM +0900, Hiroshi Nakamura wrote:
> Hi,
>
> On Sat, Dec 25, 2010 at 06:32, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
> > This patch is really long, so if nobody objects after a we...
tenderlovemaking (Aaron Patterson)
04:37 AM Bug #4203 (Closed): broken RegCreateKeyExA definition in registry.rb
=begin
This issue was solved with changeset r30377.
Rafał, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
luislavena (Luis Lavena)
04:24 AM Bug #4203: broken RegCreateKeyExA definition in registry.rb
=begin

=end
luislavena (Luis Lavena)
04:24 AM Bug #4203: broken RegCreateKeyExA definition in registry.rb
=begin
Hello,

Indeed is a bug, will apply patch to trunk first.

Thank you.
=end
luislavena (Luis Lavena)
04:26 AM Revision bcd39a08 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:16 AM Revision fc0df967 (git): * lib/rdoc/ri/paths.rb (RDoc::RI::Paths::HOMEDIR): no exception if
HOME is not set. [ruby-core:33867]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:39 AM Revision cc479b25 (git): * parse.y (stmt): missing ripper rule. i.e., `a::B ||= c 1'.
http://twitter.com/#!/wannabe53/status/18797576396472321
http://twitter.com/#!/wannabe53/status/18798416150663168
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:27 AM Feature #4204 (Closed): IO#advise should raise error for unknown symbol
=begin
This issue was solved with changeset r30375.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
kosaki (Motohiro KOSAKI)
01:39 AM Feature #4204: IO#advise should raise error for unknown symbol
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42890] [Ruby 1.9-Feature#4204] IO#advise should raise error for unknown symbol"
on Sun, 26 Dec 2010 01:34:29 +0900, Motohiro KOSAKI <redmine@ruby-lang.org> writes:

|チケット #4204 が更新さ...
matz (Yukihiro Matsumoto)
01:34 AM Feature #4204: IO#advise should raise error for unknown symbol
=begin
こういうこと? (パッチを添付します)
=end
kosaki (Motohiro KOSAKI)
01:04 AM Feature #4204: IO#advise should raise error for unknown symbol
=begin
[Feature #4038] に関連
=end
kosaki (Motohiro KOSAKI)
02:15 AM Revision 6d8c13bc (git): * test/with_different_ofs.rb (DifferentOFS): should not affect
original classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:36 AM Revision dd5ad247 (git): * rational.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:25 AM Revision 326ec51f (git): * ext/socket/option.c (rb_if_indextoname): new function to abstract
environments without if_indextoname.
(inspect_ipv6_multicast_if): new function to inspect
IPV6_MULTICAST_IF.
Socket::Option.new(:INET6, :IPV6, :MULTICAST_IF,
[2].pack("I!")).inspect is
"#<Socket::Option: INET6 IPV6 MULTICAST_IF...
akr (Akira Tanaka)

12/25/2010

11:59 PM Feature #4183: [ext/openssl] Timestamp support
=begin
Hi,

On Sat, Dec 25, 2010 at 06:32, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
> This patch is really long, so if nobody objects after a week or two,
> I'll apply.

Isn't it good to ask him to be a ruby-ossl maint...
nahi (Hiroshi Nakamura)
10:44 AM Feature #4183: [ext/openssl] Timestamp support

Hi,

At Sat, 25 Dec 2010 06:32:14 +0900,
Aaron Patterson wrote in [ruby-core:33858]:
> The patch seems good. I noticed some code that is not necessary though.

Just curious for my eyes,
In `ossl_ts_verify()`:
~~~c
...
nobu (Nobuyoshi Nakada)
06:37 AM Feature #4183: [ext/openssl] Timestamp support

On Wed, Dec 22, 2010 at 03:19:12AM +0900, Martin Bosslet wrote:
> Feature #4183: [ext/openssl] Timestamp support
> http://redmine.ruby-lang.org/issues/show/4183
>
> Author: Martin Bosslet
> Status: Open, Priority: Normal
...
tenderlovemaking (Aaron Patterson)
11:42 PM Feature #4204: IO#advise should raise error for unknown symbol
=begin
>r30299 で導入された
すみません、r30229 の間違いでした。
=end
nagachika (Tomoyuki Chikanaga)
11:32 PM Feature #4204 (Closed): IO#advise should raise error for unknown symbol
=begin
r30299 で導入された IO#advise メソッドは、引数に Symbol であれば何でも受け付けて、
対応していない Symbol が渡されても特にエラーにはなりません。

プラットフォームの対応状況の違いで未サポートなものは無言のままで良いと思いますが、
うっかりタイプミスなどで間違った Symbol を渡した時に気が付くことができないので、
IO#advise がどのプラットフォームでも対応していないような Symbol ...
nagachika (Tomoyuki Chikanaga)
09:45 PM Bug #4203 (Closed): broken RegCreateKeyExA definition in registry.rb
=begin
in ext/dl/win32/lib/win32/registry.rb:

definition of advapi32.dll function: RegCreateKeyExA is broken (missing one argument). See: http://msdn.microsoft.com/en-us/library/ms724844%28v=vs.85%29.aspx
This bug was introduced ...
royaltm (Rafał Michalski)
08:59 PM Bug #4199: make test ruby-1.9.2-p0 failed on Solaris10 x86
=begin
On Sat, Dec 25, 2010 at 7:10 PM, Yui NARUSE <redmine@ruby-lang.org> wrote:
> Solaris is not supported.

Solaris IS supported as a "best effort" platform. however, it does not
reproduce, at least on sparc platform.

--
Yuk...
yugui (Yuki Sonoda)
07:10 PM Bug #4199: make test ruby-1.9.2-p0 failed on Solaris10 x86
=begin
Solaris is not supported.
=end
naruse (Yui NARUSE)
07:33 PM Revision 5d479651 (git): * ext/dl/win32/registry.rb: Corrected RegCreateKeyExA signature.
Patch by Rafal Michalski [ruby-core:33874] [Ruby 1.9-Bug#4203]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
luislavena (Luis Lavena)
05:45 PM Feature #4151: Enumerable#categorize
=begin
2010/12/20 "Martin J. Dürst" <duerst@it.aoyama.ac.jp>:

>> Enumerable#categorize is more general than Enumerable#group_by.
>
> I know. I think it's way too general and difficult to understand.

I don't think it is too diffi...
akr (Akira Tanaka)
05:37 PM Revision acc69509 (git): This ifdef should be useless after r30374.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:25 PM Revision 085e40d4 (git): * io.c (advice_arg_check): Change argument check.
Now, an unsupported advice makes NotImplementedError.
[ruby-dev:42887] [Ruby 1.9-Feature#4204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:21 PM Revision 6bd4afaa (git): * ext/socket/extconf.rb: Fix build error which was introduced r30372.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:41 PM Revision f30eca26 (git): * 2010-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:41 PM Revision 7c9fbd22 (git): * ext/socket/extconf.rb: check the existence of if_indextoname().
* ext/socket/option.c: yesterday's akr's commits destroyed the build of
some unrelated platforms (such as Windows).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:37 PM Bug #4121 (Closed): test_getpty_nonexistentで止まることがある
=begin
This issue was solved with changeset r30350.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
kosaki (Motohiro KOSAKI)
02:35 PM Revision 01da08a2 (git): * ext/socket/option.c (inspect_ipv4_add_drop_membership): new function
to inspect struct ip_mreq and struct ip_mreqn for
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
Socket::Option.new(:INET, :IP, :ADD_MEMBERSHIP,
[239,255,99,81, 0,0,0,0].pack("CCCCCCCC")).inspect is now
"#<Socket::Option: INET IP ADD_...
akr (Akira Tanaka)
02:34 PM Bug #4202 (Closed): RDoc raises exception on non-HOME envrionemt
=begin
Hi Eric,

I'm running my Ruby compilation as a cron job and fails on "make rdoc", saying following:

/src/lib/rdoc/ri/paths.rb:22:in `expand_path': couldn't find HOME environment -- expanding `~' (ArgumentError)
...
shyouhei (Shyouhei Urabe)
01:49 PM Revision ef990446 (git): * test/csv: DifferentOFS needs to be include in each classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Revision c41b036f (git): test/with_different_ofs.rb: fixed typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:32 PM Revision 3e7c6811 (git): * test/digest/test_digest_extend.rb (TestDigestExtend#setup):
should not depend on the result of previous tests
* test/with_diffent_ofs.rb (DifferentOFS::WithDifferentOFS): give
name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:08 PM Revision 7df8b949 (git): * test/with_diffent_ofs.rb (DifferentOFS): test suite for test
suites affected by $,.
* test/digest/test_digest_extend.rb (TestDigestExtend): should not
assume $, invariant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:04 PM Revision 36feefec (git): * test/csv/test_data_converters.rb, test/csv/test_table.rb: don't
not call setup within tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:22 AM Revision c9958d6a (git): * io.c (pipe_open): Added rb_thread_atfork(). We must reinitialize
GVL at new process creation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:37 AM Revision 9638cd5b (git): * 2010-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:37 AM Revision 6223c55b (git): merges r30350 from trunk into ruby_1_9_2.
--
* ext/pty/pty.c (chfunc): Added rb_thread_atfork_before_exec().
We must reinitialize GVL when new process creation. Otherwise
we may meet an insane deadlock. [Bug #4121][ruby-dev:42686]
git-svn-id: svn+ssh://ci.ruby-l...
yugui (Yuki Sonoda)
09:29 AM Revision 1b40391d (git): * ext/socket/option.c (inspect_ipv6_mreq): new function to inspect
struct ipv6_mreq for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
Socket::Option.new(:INET6, :IPV6, :JOIN_GROUP,
[0xff12,0,0,0,0,0,0,1, 2].pack("nnnnnnnnI!")).inspect is now:
"#<Socket::Option: INET6 IPV6 JOIN_GROUP ff12::1 eth0>"
* ext/...
akr (Akira Tanaka)
09:04 AM Revision 08d99ac9 (git): * lib/csv.rb (CSV.foreach): 'rb' mode is defaulted in open.
* lib/csv.rb (CSV#init_separators): cannonicalize encoding options
as Encoding objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:02 AM Revision 9ff4e237 (git): Support OpenSSL 1.1; it supports RSA1024 and DSS1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:50 AM Revision e271684d (git): * thread.c (rb_thread_atfork): Add small comment why we need
reset random seed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:33 AM Revision eadc6395 (git): * test/csv/base.rb (TestCSV.with_diffrent_ofs): give name to
anonymous classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:32 AM Revision 9c017ca5 (git): * lib/csv.rb (CSV#init_separators): use IO#gets with length
parameter to get rid of wrong convertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:44 AM Revision 9a907880 (git): * lib/csv.rb (CSV::foreach, CSV#initialize): fixed passing options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:04 AM Revision b4876f5e (git): * lib/csv.rb (CSV::foreach, CSV#initialize): directly use encoding
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:58 AM Revision d0521710 (git): * lib/csv.rb, test/csv: should not assume $, invariant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:28 AM Revision 47a1cd12 (git): * signal.c: change rb_atomic_t definition from uchar to uint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
06:04 AM Revision 9b0f2e48 (git): * test/csv/test_encodings.rb (TestEncodings#setup): fix evil test
suite writing to the source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:47 AM Bug #4188: minitest warnings in 1.9.3
=begin
On Thu, Dec 23, 2010 at 10:11:36AM +0900, Ryan Davis wrote:
>
> On Dec 22, 2010, at 16:24 , Aaron Patterson wrote:
>
> > Bug #4188: minitest warnings in 1.9.3
> > http://redmine.ruby-lang.org/issues/show/4188
> >
> > Au...
tenderlovemaking (Aaron Patterson)
05:31 AM Revision 40240274 (git): * ext/pty/pty.c (chfunc): Added rb_thread_atfork_before_exec().
We must reinitialize GVL when new process creation. Otherwise
we may meet an insane deadlock. [Bug #4121][ruby-dev:42686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:27 AM Revision 522c538e (git): * io.c (rb_io_extract_encoding_option): accept Encoding object as
encoding: optional argument. [ruby-dev:42884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:01 AM Revision f83bc706 (git): Fixed a minor warning in 1.9.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
04:55 AM Revision 9698217c (git): Imported minitest 2.0.2 r6093
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
04:49 AM Revision 03ca4797 (git): * ext/json/generator/generator.{c,h} (fbuffer_free_only_buffer):
unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Revision 4a722bd7 (git): Dunno why this conflicted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
04:08 AM Revision 0c232beb (git): * random.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:48 AM Revision 1aff775d (git): * load.c (rb_f_require_relative): don't omit return type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:07 AM Revision d0830a22 (git): Document require_relative
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
02:02 AM Revision 91c6ba23 (git): * ext/zlib/zlib.c (gzreader_gets): support optional length
parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Revision aeb8d7f5 (git): * ext/zlib/zlib.c (gzfile_read, gzfile_readpartial): length should
be long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:54 AM Revision bd3c7a7e (git): * test/zlib/test_zlib.rb (test_readline): renamed from test_gets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:51 AM Revision 514a5b3b (git): * ext/json/generator/generator.c (fbuffer_free): unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:50 AM Revision d0598d27 (git): * 2010-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:49 AM Revision 483bfa27 (git): * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): add casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

12/24/2010

08:40 PM Bug #4199 (Rejected): make test ruby-1.9.2-p0 failed on Solaris10 x86
=begin
#./configure
#./make
#./make test
make: Warning: Illegal dependency list for target `.DEFAULT'

sample/test.rb:assignment ......
.............
test_thread.rb .............................................bootstrapte...
dp (Dmitry Perfilyev)
10:32 AM Bug #4186 (Closed): Failure: test_imaps_with_ca_file(IMAPTest)
=begin
r30304で対応しました。
=end
yugui (Yuki Sonoda)
09:30 AM Bug #4198 (Rejected): parse error involving spaceship operator
=begin
Hi,

I'm not sure if this is a bug? I'm getting a parse error on
the last line of the following code, unless I add parenthesis:

op-test-simple.rb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cla...
spatulasnout (B Kelly)
09:29 AM Feature #4147: Array#sample で重みを指定したい
=begin
むらたです。

On 2010/12/23, at 14:56, Yusuke ENDOH wrote:

>> Ojima さんが欲しがってる「n標本だけの重み付き抽出」を Array#sample で対応するなら、
>> 次のようにすると良いのではないでしょうか。
>>
>> - Array#sample では重みを配列かハッシュで受け取る。
>> - Array#sample_by を用意し、後置ブロック経由で重みを与えられるよう...
mrkn (Kenta Murata)
08:04 AM Feature #4195: option for Socket#sendmsg
=begin
2010年12月24日7:42 Nobuyoshi Nakada <nobu@ruby-lang.org>:

> s1.sendmsg "stdin", 0, nil, Socket::AncillaryData.unix_rights(STDIN)
>
> という書き方は、Socket::AncillaryDataという指定が長ったらしいことと、こ
> れがなければ省略できるflagsやdest_sockaddrが省略できなくなることが嬉...
akr (Akira Tanaka)
07:42 AM Feature #4195: option for Socket#sendmsg
=begin
なかだです。

At Fri, 24 Dec 2010 00:31:09 +0900,
Tanaka Akira wrote in [ruby-dev:42875]:
> 2010年12月23日23:26 Yukihiro Matsumoto <matz@ruby-lang.org>:
>> |まず、現在でも以下のように可能です。

それはテストを見て気づきました。最初はsend_ioにデータを追加することを考
えていたのですが。

...
nobu (Nobuyoshi Nakada)
12:31 AM Feature #4195: option for Socket#sendmsg
=begin
2010年12月23日23:26 Yukihiro Matsumoto <matz@ruby-lang.org>:
>
> |まず、現在でも以下のように可能です。

> 知りませんでした。

提案からそれがわからないのはちょっと舌足らずですよね。

> |追加したい意図は何でしょう?
>
> 純粋に楽に書きたいということでは。

たしかに消去法で推測するとそうだろうとは思うのですが、
推測の上に展開するより、まず尋ねたほうが確実...
akr (Akira Tanaka)
05:47 AM Feature #4197 (Closed): Improvement of the benchmark library
=begin
Hello Rubyists !

The Benchmark library's code is now becoming a bit old, and I would like to keep it up to date.

http://redmine.ruby-lang.org/wiki/ruby/Maintainers says there is no maintainer for lib/benchmark.
Howev...
Eregon (Benoit Daloze)
03:24 AM Revision 5be97645 (git): merges r29197 from trunk into ruby_1_9_2.
--
* ext/openssl/ossl_ssl.c (ssl_get_error): Thread context switch was
blocked on Windows while blocking call for SSLSocket. Need to
convert errno for letting rb_io_wait_readable detect EWOULDBLOCK.
...
yugui (Yuki Sonoda)
03:23 AM Revision bab65966 (git): * version.h: forgotten increasing patch level at r30331.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
03:20 AM Revision 939935ef (git): * 2010-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:20 AM Revision 7174a4e7 (git): * ChangeLog: removes duplicate/wrong entries. Patch by
Tomoyuki Chikanaga <nagachika00 AT gmail.com>.
http://twitter.com/#!/nagachika/status/18134422343647232
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:01 AM Bug #3737: DateTime#to_time doesn't preserve zone
=begin
I'm suffering from this same issue, as described here: http://stackoverflow.com/questions/4518967/making-sense-of-rails-timezone.

If this is not a bug then what's the best way to go around this issue?

Best regards,
DB...
DBA (Diogo Almeida)

12/23/2010

11:52 PM Revision a0484364 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:46 PM Revision a041f129 (git): * process.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:26 PM Feature #4195: option for Socket#sendmsg
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42873] Re: [feature:trunk] option for Socket#sendmsg"
on Thu, 23 Dec 2010 23:02:09 +0900, Tanaka Akira <akr@fsij.org> writes:

|まず、現在でも以下のように可能です。
|
|% ./ruby -rsocket -e '
|s1, ...
matz (Yukihiro Matsumoto)
11:02 PM Feature #4195: option for Socket#sendmsg
=begin
2010年12月23日21:01 Nobuyoshi Nakada <nobu@ruby-lang.org>:
>
> Socket#recvmsgは scm_rights: true を指定するだけでメインのデータだけで
> なく簡単にIOを受け取ることができますが、一方でSocket#sendmsg側には対応
> する指定ができません。以下のようなオプションを追加するのはどうでしょう
> か。
>
> s.sendmsg("foo",...
akr (Akira Tanaka)
09:43 PM Feature #4195: option for Socket#sendmsg
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42869] [feature:trunk] option for Socket#sendmsg"
on Thu, 23 Dec 2010 21:01:19 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|Socket#recvmsgは scm_rights: true を指定するだけでメインのデー...
matz (Yukihiro Matsumoto)
09:09 PM Feature #4195: option for Socket#sendmsg
=begin

=end
nobu (Nobuyoshi Nakada)
09:01 PM Feature #4195 (Rejected): option for Socket#sendmsg
=begin
なかだです。

Socket#recvmsgは scm_rights: true を指定するだけでメインのデータだけで
なく簡単にIOを受け取ることができますが、一方でSocket#sendmsg側には対応
する指定ができません。以下のようなオプションを追加するのはどうでしょう
か。

s.sendmsg("foo", scm_rights: STDIN)
s.sendmsg("foo", scm_rights:...
nobu (Nobuyoshi Nakada)
11:22 PM Revision 2383807c (git): * 2010-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision 60188665 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:49 PM Bug #4185: ruby 1.9.2 p0 installation issue
=begin
Hi,

At Thu, 23 Dec 2010 16:35:52 +0900,
ravish nayak wrote in [ruby-core:33830]:
> 1) Can I get the URL link or Bug ID that you have mentioned in the
> above reply i.e "This bug has been fixed in the trunk already and
> ba...
nobu (Nobuyoshi Nakada)
04:35 PM Bug #4185: ruby 1.9.2 p0 installation issue
=begin
Hi Nobu,

Thanks for your valuable solution..

I need some information regarding above issues

1) Can I get the URL link or Bug ID that you have mentioned in the above reply i.e "This bug has been fixed in the trunk ...
ravish (ravish nayak)
10:50 AM Bug #4185 (Closed): ruby 1.9.2 p0 installation issue
=begin

=end
nobu (Nobuyoshi Nakada)
10:50 AM Bug #4185: ruby 1.9.2 p0 installation issue
=begin
Hi,

At Wed, 22 Dec 2010 21:21:17 +0900,
ravish nayak wrote in [ruby-core:33814]:
> tmk: Setting permissions on '/scratch/ravnay01/tmp_ruby_ruby_1.9.2/TOOLROOT/ruby/ruby/1.9.2/
> rhe4-x86_64'
> chmod 775 .
> find rhe4-x86_...
nobu (Nobuyoshi Nakada)
05:21 PM Feature #4043: グローバル関数current_classの提案
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42861] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案"
on Thu, 23 Dec 2010 12:36:51 +0900, Masaya TARUI <tarui@prx.jp> writes:

|個人的にはRubyVMって一般的過ぎてもう少し抽象的なもの、つまり
|「Rub...
matz (Yukihiro Matsumoto)
12:37 PM Feature #4043: グローバル関数current_classの提案
=begin
たるいです。

個人的にはRubyVMって一般的過ぎてもう少し抽象的なもの、つまり
「RubyのVMが持っているべき特徴」 を示すイメージなのですが、
あくまでYARVを指すことには変わりないという事ですね。

一つ、一般的な実行環境を示すモジュールを用意して幾つか要素をその中に
押し込めたい気がしますが、いまここでそれをいうのも大げさだと思うので、、

Module.current

に一票に変えておきます。


2010年...
tarui (Masaya Tarui)
04:27 PM Bug #4174: 1F1E on rdoc tests
=begin

On Dec 20, 2010, at 16:14, NARUSE, Yui wrote:

> 2010/12/21 Eric Hodel <drbrain@segment7.net>:
>> I could not rub test-all when I committed due to a drbssl/RSA error.
>
> Skip that tests like following:
> make RUBYOPT=-w...
drbrain (Eric Hodel)
03:28 PM Feature #3688: redef keyword for method redefinition in Ruby 2.0
=begin
Just to clarify, I'm not completely against the introduction of 'redef', it's just it would have to serve more a purpose than just allow access to the old implementation of a method. For example, if it became a requirement of the...
wardrop (Tom Wardrop)
03:24 PM Feature #3688: redef keyword for method redefinition in Ruby 2.0
=begin
I came on here to suggest the exact same thing. As someone relatively new to Ruby (got into about 5 months ago), I'm surprised there's no easy way of achieving this given that so many developers seem to do this. It's what makes R...
wardrop (Tom Wardrop)
03:15 PM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月22日18:01 Yoji Ojima <redmine@ruby-lang.org>:
>
> おっしゃる通り、個人的には全く気にしません。
> 気にする人たちのことを考えて仕様を検討してほしいとは思っています。

いろんなひとの思惑が重なって大きな話になっていますが、
小さい変化で済むといいですね。

将来のためには大きな話を検討したほうがいいですけど、
実際の進め方としては (可能なら) うまく分割して漸進的に
...
akr (Akira Tanaka)
03:04 PM Feature #4147: Array#sample で重みを指定したい
=begin
遠藤です。

議論が大分入り組んで来たので、一旦現在の API とその実装の案を
まとめてみました。sample_each は each_sample に改名してます。


Array#sample([size, [opt]])
- API
- size が省略されたら 1 つサンプリングして返す
- size が与えられたら size 分だけ非復元抽出して配列で返す
- opt の意味:
w...
mame (Yusuke Endoh)
02:56 PM Feature #4147: Array#sample で重みを指定したい
=begin
遠藤です。

2010年12月23日14:00 Kenta Murata <muraken@gmail.com>:
> 復元抽出が可能なようにする方法として replace キーワードが分かりにくいという
> 意見が出ていたので、成瀬さんが提案しているように choice メソッドとして
> 提供する方法が良いのではないかと。

この名前については ruby-core で議論すべきだと思います。
個人的には sample/choice の...
mame (Yusuke Endoh)
02:00 PM Feature #4147: Array#sample で重みを指定したい
=begin
むらたです。

yugui さんのおかげでこのスレに気付けました。ありがとうございます。

# Math/Random の話しが長くなったので、引用を前後させます。

On 2010/12/19, at 21:15, Yugui wrote:

> 2010/12/19 Masaya TARUI <tarui@prx.jp>:
>>> じゃあ反対ないので実装はともかく、この仕様は基本入れる方向で考えましょう。反対の人は意思表示お早めに。...
mrkn (Kenta Murata)
02:30 PM Revision 2b862ea9 (git): * common.mk, win32/Makefile.sub: fixes dependencies.
patch by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:31 PM Revision 859ed453 (git): * io.c (io_fillbuf): fixes a mistake on merging r30280, at r30321.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
12:46 PM Revision c2e1f019 (git): merges r30295,r30298 and r30299 from trunk into ruby_1_9_2.
--
adding tests for the SMTP response parser
--
adding more tests for Net::SMTP::Response class
--
adding tests for Net::SMTP::Response#exception_class
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30324 b2dd03c8-39d4-...
yugui (Yuki Sonoda)
12:45 PM Revision 6e210138 (git): merges r30294 from trunk into ruby_1_9_2.
--
* lib/net/smtp.rb: Net::SMTP should close the SSL connection if the
connection verification fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision a8b6a6f3 (git): merges r30284 from trunk into ruby_1_9_2.
--
* test/rexml/test_contrib.rb (ContribTester#test_pos): should not
use fixed path name for tests. [ruby-dev:42827]
* test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use
fixed port for tests. [ruby-dev:42828]
git-svn-...
yugui (Yuki Sonoda)
12:45 PM Revision a4610bae (git): merges r30280 from trunk into ruby_1_9_2.
--
* io.c : add an extra byte to buffer for the specification of read
in Windows. see [ruby-core:33460] and r29980. and, we have to
discuss how to do this one byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
yugui (Yuki Sonoda)
12:45 PM Revision 6a1ab2d3 (git): merges r30213 from trunk into ruby_1_9_2.
--
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):
fix compile error when !HAVE_X509V3_SET_NCONF. Thanks
Chikanaga-san. [ruby-dev:42761] [Ruby 1.9-Bug#4158]
git-svn-id: svn+ssh://ci.ruby-lang.o...
yugui (Yuki Sonoda)
12:45 PM Revision 5ef68cb6 (git): merges r30169 and r30170 from trunk into ruby_1_9_2.
--
* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.
[ruby-dev:42716] [Ruby 1.9-Bug#4129]
* ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit.
--
add an entry.
git-svn-id: svn+ssh://ci.rub...
yugui (Yuki Sonoda)
12:45 PM Revision d80452a1 (git): merges r30147 from trunk into ruby_1_9_2.
--
* test/irb/test_option.rb (test_end_of_option): don't read .irbrc. Bug#4138
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 243faf28 (git): merges r30122 from trunk into ruby_1_9_2.
--
* io.c (io_read): duplicate string if shared. [ruby-dev:42719]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 929bdcab (git): merges r30117 from trunk into ruby_1_9_2.
--
* lib/rexml/light/node.rb: remove circular require.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 1f849b54 (git): merges r30112 from trunk into ruby_1_9_2.
--
* ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc.
patched by Kouhei Yanagita [ruby-dev:42696]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 57eb3170 (git): merges r30104 from trunk into ruby_1_9_2.
--
* win32/win32.c (rb_w32_read): fixed more for readline, and so on. [ruby-core:33511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:45 PM Revision 461b1452 (git): merges r30094 from trunk into ruby_1_9_2.
--
* test/ruby/test_string.rb (TestString#test_scan): add a test for
[ruby-core:33338] #4087.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:53 AM Bug #4182 (Rejected): Possible Ruby1.9.2/Sqlite3 bug when used with Rails 2.3.8 and TOG 0.6
=begin
You use an extension library for ruby 1.8 with ruby 1.9.
=end
nobu (Nobuyoshi Nakada)
10:49 AM Revision 7869d38b (git): merges r30304 from trunk into ruby_1_9_2.
--
* test/net/imap/cacert.pem: updated because it has been expired.
* test/net/imap/server.crt: signed again because CA cert was expired.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30312 b2dd03c8-39d4-4d8f-98ff-82...
yugui (Yuki Sonoda)
10:49 AM Revision b3ae334e (git): merges r30086 from trunk into ruby_1_9_2.
--
* class.c (make_metaclass): fix probable typo. builtin type flag
cannot be used with FL_TEST.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:49 AM Revision 06dc853a (git): merges r30085 from trunk into ruby_1_9_2.
--
* lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:49 AM Revision 9afa601a (git): merges r30084 from trunk into ruby_1_9_2.
--
* ruby.c (load_file_internal): decrement for ungotten line.
[ruby-dev:42680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:49 AM Revision 91c7169d (git): merges r30063 from trunk into ruby_1_9_2.
--
* ext/stringio/stringio.c (strio_getline): round upto next char
boundary. [ruby-dev:42674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:49 AM Revision a46abaca (git): merges r29980,r30017,r30018,r30019 and r30020 from trunk into ruby_1_9_2.
--
* 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.
--
* win32/win32.c (rb_w32_read): workaround for console reading troubles.
fix...
yugui (Yuki Sonoda)
10:49 AM Revision c9d697ab (git): merges r29976 from trunk into ruby_1_9_2.
--
* 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/branches/ruby_1_9_2@30306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:48 AM Revision f33246da (git): merges r29970 from trunk into ruby_1_9_2.
--
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/r...
yugui (Yuki Sonoda)
10:25 AM Revision dae189e8 (git): * test/net/imap/cacert.pem: updated because it has been expired.
* test/net/imap/server.crt: signed again because CA cert was expired.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:25 AM Feature #4189 (Closed): FileUtils#ln_r
=begin
I wrote a method for FileUtils to do recursive hard linking. It works just like cp_r but links instead of copies.

The code can be found along with the pull request I made to ruby/ruby on Github:

http://github.com/rub...
trans (Thomas Sawyer)
10:12 AM Bug #4188: minitest warnings in 1.9.3
=begin

On Dec 22, 2010, at 16:24 , Aaron Patterson wrote:

> Bug #4188: minitest warnings in 1.9.3
> http://redmine.ruby-lang.org/issues/show/4188
>
> Author: Aaron Patterson
> Status: Open, Priority: Normal
> Assigned to: Rya...
zenspider (Ryan Davis)
09:24 AM Bug #4188 (Closed): minitest warnings in 1.9.3
=begin
When running tests with minitests, I get warnings:

/Users/apatterson/.local/lib/ruby/1.9.1/minitest/unit.rb:631: warning: assigned but unused variable - ac
/Users/apatterson/.local/lib/ruby/1.9.1/minitest/unit.rb:632: warn...
tenderlovemaking (Aaron Patterson)
07:46 AM Bug #4187 (Closed): Error: test_starttls(IMAPTest)
=begin
test_starttls で Error になります。
IOError の方が多いのですが、何度か実行していると OpenSSL::SSL::SSLError になることもあるようです。
表面化するようになった理由は #4186 と同じ証明書の期限切れのようです。

assert がないのでエラーになった方が良いのかもしれませんが、 imap.logout と imap.disconnect の
ところに imap.disconne...
znz (Kazuhiro NISHIYAMA)
07:27 AM Bug #4186 (Closed): Failure: test_imaps_with_ca_file(IMAPTest)
=begin
証明書 (test/net/imap/cacert.pem) の期限切れでテストが失敗するようになっています。

1) Failure:
test_imaps_with_ca_file(IMAPTest) [/home/chkbuild/tmp/build/ruby-trunk/20101221T223930Z/ruby/test/net/imap/test_imap.rb:66]:
Exception raised:
<#<Op...
znz (Kazuhiro NISHIYAMA)
03:22 AM Revision 196d4a7d (git): merge revision(s) 30302:
* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
[ruby-core:29501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
03:12 AM Revision 5859f149 (git): merge revision(s) 27388:27390:
* lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
[ruby-core:29501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
02:17 AM Revision 462f3626 (git): * parse.y: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:00 AM Revision c5a19b38 (git): * error.c (rb_check_type): check for type from extensions for ruby
1.8. see [ruby-core:33797].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/22/2010

11:32 PM Revision 26e6372a (git): adding tests for Net::SMTP::Response#exception_class
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:26 PM Revision 3971bc3c (git): adding more tests for Net::SMTP::Response class
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:18 PM Revision d236a0ca (git): passing nil to split is not necessary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:13 PM Revision 0a2392a5 (git): * lib/net/smtp.rb: refactoring Net::SMTP#esmtp= to use an
attr_accessor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
11:09 PM Revision df8e7db7 (git): adding tests for the SMTP response parser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
09:37 PM Revision 4a7f4d1f (git): * lib/net/smtp.rb: Net::SMTP should close the SSL connection if the
connection verification fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:19 PM Bug #4185 (Closed): ruby 1.9.2 p0 installation issue
=begin
Hi,

I am trying to install ruby 1.9.2 p0 and 1.9.2 rc2 version on redhat linux4 under x86 architecture while compiling the source code I am
getting following errors and compilation was not successfull

First one is
...
ravish (ravish nayak)
07:10 PM Bug #4121: test_getpty_nonexistentで止まることがある
=begin
誰が悪いのかはわかりませんが、以下の2つのコミットが間違っていることと、現在のtrunkだと
fork時に子プロセスがGVLを再初期化するまえにGVLをacquireするケースがあるので、forkが動くのは
ただのミラクルということが分かりました。

あと、Process#fork()以外のfork(IO#popenとか)だとrb_thread_atforkが呼ばれてないので、
消滅したスレッドの掃除もされないし、GVLも再初期化され...
kosaki (Motohiro KOSAKI)
05:09 PM Bug #4121 (Assigned): test_getpty_nonexistentで止まることがある
=begin
わたしの手には負えないかもしれないですけど、誰も手を動かしていない気配があるのでとりあえず自分にアサインします。誰か手を動かしている人がいれば遠慮なく奪ってください
=end
kosaki (Motohiro KOSAKI)
04:55 PM Bug #4121: test_getpty_nonexistentで止まることがある
=begin
うちでも起きる環境と起きない環境がありました。

起きない
RHEL ES 3.8 Kernel 2.4.21-47.ELsmp, Xeon 5160(2core) x 2CPU
Ubuntu 9.04 Kernel 2.6.28-19-generic, Pentium4 x 1CPU

起きる
RHEL ES 4.8 Kernel 2.6.9-89.ELlargesmp, Xeon X5570(2core) x ...
nagachika (Tomoyuki Chikanaga)
06:01 PM Feature #4147: Array#sample で重みを指定したい
=begin
>そして、ひとつだけ取り出すなら、復元抽出でも非復元抽出でもかわりないので、
>どちらでも気にしないんじゃないかと思っています。

おっしゃる通り、個人的には全く気にしません。
気にする人たちのことを考えて仕様を検討してほしいとは思っています。
=end
oj (Yoji Ojima)
03:29 PM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月22日13:08 Tanaka Akira <akr@fsij.org>:
> 2010年12月21日15:20 NARUSE, Yui <naruse@airemix.jp>:
>>
>> == 復元抽出の指定
>>
>> まず、今回のおみくじは復元抽出なので、復元抽出の指定を追加する必要があります。
>
> いまさらこのスレッドの最初の方を読み直したんですが、
> どっちかっていうと、 一回の呼び出しで複数取り出すこと...
naruse (Yui NARUSE)
03:23 PM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月21日17:59 Yoji Ojima <redmine@ruby-lang.org>:
>>> これなら悪くないと思います。
>>> ただ sample_each.each となると少し変なので、名前は要検討かと。
>>
>>その場合は sample_each {|x| .. } とするだろうので、変にはなりませんね。
>
> そうでしたか、失礼。
> これを採用する可能性を考えると、重みをブロックで指定する方式は整合性が...
naruse (Yui NARUSE)
01:08 PM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月21日15:20 NARUSE, Yui <naruse@airemix.jp>:
>
> == 復元抽出の指定
>
> まず、今回のおみくじは復元抽出なので、復元抽出の指定を追加する必要があります。

いまさらこのスレッドの最初の方を読み直したんですが、
どっちかっていうと、 一回の呼び出しで複数取り出すことはあまり考えていなかった
のではないか、という印象を受けます。

[ruby-dev:42735] のサンプル...
akr (Akira Tanaka)
12:34 AM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月21日21:35 Tanaka Akira <akr@fsij.org>:
>
> Pavlos S. Efraimidis, Paul G. Spirakis
> Weighted random sampling with a reservoir
> Information Processing Letters
> Volume 97, Issue 5 (16 March 2006)
>
> というアルゴリズムがあるようで...
akr (Akira Tanaka)
04:49 PM Revision 7a033184 (git): * 2010-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:49 PM Revision 1ebba08d (git): * NEWS: remove #object_id. [ruby-dev:42840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:30 PM Feature #4043: グローバル関数current_classの提案
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42850] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案"
on Wed, 22 Dec 2010 12:57:26 +0900, Masaya TARUI <tarui@prx.jp> writes:

|ユースケースがRubyの理解という事だし、どこの所属かを考えたら
|
|Ru...
matz (Yukihiro Matsumoto)
12:57 PM Feature #4043: グローバル関数current_classの提案
=begin
たるいです。

ユースケースがRubyの理解という事だし、どこの所属かを考えたら

RubyVM.current_class

が良かったりしませんか?
候補の一つとして。

--
樽家昌也(Masaya TARUI)
No Tool,No Life.
=end
tarui (Masaya Tarui)
10:19 AM Feature #4043: グローバル関数current_classの提案
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:42845] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案"
on Dec.22,2010 01:35:44, <matz@ruby-lang.org> wrote:
> current_moduleという名前なのにクラスを返すこともあるというの
> はやや抵抗がありますね。current...
usa (Usaku NAKAMURA)
09:58 AM Feature #4043: グローバル関数current_classの提案
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:42847] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案"
on Dec.22,2010 09:37:33, <kosaki.motohiro@gmail.com> wrote:
> 個人的な経験ですが、descriptorという用語はUnixのファイルディスクリプタの
> イメージが...
usa (Usaku NAKAMURA)
09:37 AM Feature #4043: グローバル関数current_classの提案
=begin
>>current_moduleという名前なのにクラスを返すこともあるというの
>>はやや抵抗がありますね。current_classという別名を用意しても
>>良いのですが、他にアイディアはありませんかね。
>
> モデリング界では,
>
> descriptor
>
> を使っています. instance との対語として使います. インスタンスがクラス
> のインスタンスに限らないのでそのような呼び名が出てきたんだと思います.
...
kosaki (Motohiro KOSAKI)
02:51 AM Feature #4043: グローバル関数current_classの提案
=begin
けいじゅ@いしつかです.

In [ruby-dev:42845] the message: "[ruby-dev:42845] Re: [Ruby
1.9-Feature#4043][Open] グローバル関数current_classの提案", on Dec/22
01:35(JST) Yukihiro Matsumoto writes:

>まつもと ゆきひろです

>current_moduleという名前なのにクラスを返すこともあ...
keiju (Keiju Ishitsuka)
01:35 AM Feature #4043: グローバル関数current_classの提案
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42838] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案"
on Tue, 21 Dec 2010 17:37:16 +0900, "KISHIMOTO, Makoto" <ksmakoto@dd.iij4u.or.jp> writes:

|> その場合、Module.current_c...
matz (Yukihiro Matsumoto)
12:09 PM Bug #3787: TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
=begin
Oh, sorry. You're right.

In my case, while I can connect to 1200 via v4,

% ruby -d -v -rsocket -e "p TCPSocket.new('127.0.0.1', 1200)"
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]
#<TCPSocket:0x10018a078>
...
matsuda (Akira Matsuda)
08:51 AM Bug #3787: TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
=begin
@a_matsuda: Isn't that a different situation? The original issue is that the reporter cannot connect to 'localhost', while he seems to be possible to connect to '::1'.
=end
shyouhei (Shyouhei Urabe)
12:02 PM Feature #3908 (Assigned): private constant
=begin
Hi, NaHi

> Just as a notification since I see this ticket closed today.

Kazu committed a change of NEWS with ML ref, which closed this
ticket. I think that he did not intend to close this ticket.
That is, it is jus...
mame (Yusuke Endoh)
11:22 AM Feature #3908: private constant
=begin
Hi,

Yusuke, patches in the mail I'm replying are not applied and we still
need discuss about followings, right?

- Module#constants includes a private constant?
- Module#const_get raises NameError for a private constant?
...
nahi (Hiroshi Nakamura)
09:07 AM Feature #3908 (Closed): private constant
=begin
This issue was solved with changeset r30290.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
10:33 AM Feature #4184: String that has the same object_id in an each occurrence in a code
=begin
Then it should be the GC to be fixed. Introducing a new syntax to cover a poor GC is just wrong.
=end
shyouhei (Shyouhei Urabe)
10:22 AM Feature #4184: String that has the same object_id in an each occurrence in a code
=begin

The cost of GC increases with the number of allocated and referenced objects. The copy-on-write internal String buffers reduces the needless copying of the String buffers, if they are likely to be dup'ed and not mutated, but ...
kstephens (Kurt Stephens)
09:27 AM Feature #4184: String that has the same object_id in an each occurrence in a code
=begin
Why to bother object_id? Strings with duplicated contents are optimized already. No memory copies happen unless they are small enough -- very cheap anyway.
=end
shyouhei (Shyouhei Urabe)
05:40 AM Feature #4184: String that has the same object_id in an each occurrence in a code
=begin


On 12/21/2010 3:01 PM, Pavel Rosputko wrote:
> Propose:
> 5.times { %c(asdasdf).object_id } -> same!
>
> Example of usefullness:
>
> a,b,c,d = data.unpack %c(ccNc) |
> e,f,g,h = a.unpack %c(cvaN) | repeated many t...
lsegal (Loren Segal)
05:01 AM Feature #4184 (Rejected): String that has the same object_id in an each occurrence in a code
=begin
Regexp literals:
5.times { p /abcdasdf/.object_id } -> same!

String literals:
5.times { 'asdasdf'.object_id } -> different

Propose:
5.times { %c(asdasdf).object_id } -> same!

Example of usefullness:

a,b,...
pavelrosputko (Pavel Rosputko)
05:38 AM Revision 049cdff0 (git): * gc.c (Init_GC): move back object_id to Kernel. [ruby-dev:42840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
03:15 AM Feature #4183 (Closed): [ext/openssl] Timestamp support
=begin
Hi,

I'd like to propose the attached code to support timestamp creation and verification in ext/openssl under a new module OpenSSL::Timestamp. It comes also with various tests and rDoc documentation. Since OpenSSL only supp...
MartinBosslet (Martin Bosslet)
01:14 AM Bug #4182: Possible Ruby1.9.2/Sqlite3 bug when used with Rails 2.3.8 and TOG 0.6
=begin
Same problem with MySQL, as well:

alex@laptop ~/Projects/hello_tog $ gem install mysql

alex@laptop ~/Projects/hello_tog $ script/server=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=>...
alexbottoni (Alessandro Bottoni)
12:18 AM Bug #4182 (Rejected): Possible Ruby1.9.2/Sqlite3 bug when used with Rails 2.3.8 and TOG 0.6
=begin
I installed RVM 1.1.6, Ruby 1.9.2, RubyGems 1.3.7 , Rails 2.3.9 and tog 0,6 (http://www.toghq.com/) on LinuxMint 10 Julia. I generated a TOG project with this command line:

rails _2.3.8_ hello_tog -m http://tr.im/tog_current...
alexbottoni (Alessandro Bottoni)

12/21/2010

11:59 PM Revision 6a50d272 (git): * NEWS: add Module#private_constant and Module#public_constant.
[ruby-dev:39685][ruby-core:32698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:59 PM Revision 92413833 (git): sort and remove s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:03 PM Revision ee4a024c (git): * 2010-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:03 PM Revision d5eea8c1 (git): NEWS: add IO#advise.
[ruby-core:33110] [Ruby 1.9-Feature#4038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:18 PM Bug #3787: TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
=begin
I just got the same error on my machine (Mac OSX 10.6) with both Ruby 1.8.7 and 1.9.2.

% ruby -d -v -rsocket -e "TCPSocket.new '::1', 1200"
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]
Exception `Errno::ECONNRE...
matsuda (Akira Matsuda)
09:35 PM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月20日22:56 Tanaka Akira <akr@fsij.org>:

> なので、被復元抽出を効率的に実装する方法について検討が必要ですが、
> それはちょっと自明ではありません。

Pavlos S. Efraimidis, Paul G. Spirakis
Weighted random sampling with a reservoir
Information Processing Letters
Volum...
akr (Akira Tanaka)
05:58 PM Feature #4147: Array#sample で重みを指定したい
=begin
>まず、今回のおみくじは復元抽出なので、復元抽出の指定を追加する必要があります。
>optional hashで指定という論もありますが、わたしは Array#choice という名の復元抽出
>メソッド追加を推します。

賛成です。1.8.7 であったものが急に使えなくなる問題も自然と解消されますし。

>> これなら悪くないと思います。
>> ただ sample_each.each となると少し変なので、名前は要検討かと。...
oj (Yoji Ojima)
03:20 PM Feature #4147: Array#sample で重みを指定したい
=begin
今の論点は以下の三つだと思います。
* 復元抽出の指定
* 重みの指定 (引数/block)
* 効率 (ユースケースはなにか、何に対して最適化するか)

== 復元抽出の指定

まず、今回のおみくじは復元抽出なので、復元抽出の指定を追加する必要があります。
optional hashで指定という論もありますが、わたしは Array#choice という名の復元抽出
メソッド追加を推します。

Array#choice は 1.8....
naruse (Yui NARUSE)
12:36 PM Feature #4147: Array#sample で重みを指定したい
=begin
>ところで以前 naruse さんが (IRC で) 言ってたアイデアなのですが、
>Enumerator で返すという API が考えられます。つまり、
>
> e = %(大吉 中吉 小吉 凶).sample_each
> e.each {|x| p x } #=> 凶 中吉 大吉 小吉
>
> e = %(大吉 中吉 小吉 凶).sample_each(unique: false, weight: [1000, 100...
oj (Yoji Ojima)
01:33 AM Feature #4147: Array#sample で重みを指定したい
=begin
遠藤です。

2010年12月20日22:33 Yoji Ojima <redmine@ruby-lang.org>:
>>「重みを変えずに繰り返し抽選したい」というユースケースで有利になる
>>んですが、汎用性に欠けますかね。結構ありそうだと思うんですが。
>
> ほとんどの場合は一回の呼び出しで大量の抽出を行うことで代替可能ではないでしょうか。

最初に大量抽出でプールしておいて、ちょっとずつ消費し、無くなったら
また大量抽出してプ...
mame (Yusuke Endoh)
05:37 PM Feature #4043: グローバル関数current_classの提案
=begin
きしもとです

> |> そういう機能の追加には賛成しますが、グローバル関数は増やした
> |> くありません。どうするのがよいでしょうね。
> |
> |さがしてみたところ、Module の特異メソッドに、レシーバとは関係ない、
> |現在のコンテキストについて動作するものがありました。
> |
> |なので、Module の特異メソッドではどうでしょうか?
>
> その場合、Module.current_class という名前に...
metanest (Makoto Kishimoto)
11:53 AM Feature #4043: グローバル関数current_classの提案
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42834] Re: [Ruby 1.9-Feature#4043][Open] グローバル関数current_classの提案"
on Tue, 21 Dec 2010 11:21:32 +0900, "KISHIMOTO, Makoto" <ksmakoto@dd.iij4u.or.jp> writes:

|> そういう機能の追加には賛成しますが、グロー...
matz (Yukihiro Matsumoto)
11:21 AM Feature #4043: グローバル関数current_classの提案
=begin
きしもとです

> |カレントクラス(MRIの内部でいうところのcref)をRubyから調べられるメソッドcurrent_classを提案します。
> |グローバル関数(Kernelのプライベートメソッド)にする理由は、self(ないしなんらかのオブジェクト)とは関係ない値を返すメソッドであるため、です。
>
> そういう機能の追加には賛成しますが、グローバル関数は増やした
> くありません。どうするのがよいでしょうね。

さがしてみた...
metanest (Makoto Kishimoto)
10:34 AM Feature #4180 (Closed): Add Zlib.deflate / Zlib.inflate
=begin
Zlib::Deflate.deflate ってムダに長いと思いんです。
Rails 的な言葉で言うと、DRY じゃないと言いますか。
Zlib.deflate でいいんじゃないかと。

同様に、Zlib::Inflate.inflate も Zlib.inflate でいいのではないでしょうか。
=end
naruse (Yui NARUSE)
09:14 AM Bug #4174: 1F1E on rdoc tests
=begin
2010/12/21 Eric Hodel <drbrain@segment7.net>:
> I could not rub test-all when I committed due to a drbssl/RSA error.

Skip that tests like following:
make RUBYOPT=-w TESTS='-v -n"/\A(?!test_getpty_nonexistent)/"'
TMPDIR=/tmp...
naruse (Yui NARUSE)
05:52 AM Bug #4174: 1F1E on rdoc tests
=begin
On Dec 20, 2010, at 3:57, Kouhei Yanagita <redmine@ruby-lang.org> wrote:

> Bug #4174: 1F1E on rdoc tests
> http://redmine.ruby-lang.org/issues/show/4174
>
> Author: Kouhei Yanagita
> Status: Open, Priority: Normal
> ruby...
drbrain (Eric Hodel)
08:55 AM Bug #4179: OpenStruct#method_missing handles #[]= wrongly
=begin
On 20 Dec 2010, at 23:43, Caius Durling wrote:

> Bug #4179: OpenStruct#method_missing handles #[]= wrongly
> http://redmine.ruby-lang.org/issues/show/4179

Erm, not quite sure why reloading the redmine page triggered anothe...
caius (Caius Durling)
08:40 AM Bug #4179 (Closed): OpenStruct#method_missing handles #[]= wrongly
=begin
## Code to reproduce:

require "ostruct"
OpenStruct.new[:foo] = true

## Expected

`NoMethodError` to be raised, as `OpenStruct#[]=` is not a defined method.

## Actual

`wrong number of arguments (...
caius (Caius Durling)
08:39 AM Bug #4178 (Closed): test/rubygems/gemutilities.rb で、よくわからない ArgumentError
=begin
(bisectによれば)trunk の r29064 以降、test-all でたまに発生しているのですが、
(たとえば http://mrkn.jp/chkbuild/ruby-trunk/log/20100925T163004Z.diff.html.gz
<n>) Error:
+test_install_ignore_dependencies(TestGemDependencyInstaller):
+ArgumentError...
metanest (Makoto Kishimoto)
06:27 AM Bug #4177 (Closed): wrong fixed value at test/rexml/test_sax.rb(test_socket)
=begin
This issue was solved with changeset r30284.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
01:10 AM Bug #4177 (Closed): wrong fixed value at test/rexml/test_sax.rb(test_socket)
=begin
test/rexml/test_sax.rb の test_socketでportが12345番固定でテストされているため、
12345番が使用されている時にerrorになります。
テスト内容を見るに固定する必要はなさそうなので普通にシステムに割り振ってもらえばいいと思います。

#とあるアンチウィルスソフトがこのポートを占拠していたりします。
=end
tarui (Masaya Tarui)
06:27 AM Bug #4176 (Closed): wrong fixed value at test_contrib.rb(test_pos)
=begin
This issue was solved with changeset r30284.
Masaya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
01:02 AM Bug #4176 (Closed): wrong fixed value at test_contrib.rb(test_pos)
=begin
test/rexml/test_contrib.rbのtest_posでtestfileが/tmpの存在を仮定してますが、
Tempfileを使うべきだと思います。


#windowsでは標準では/tmpがないのでerrorになります。
=end
tarui (Masaya Tarui)
03:45 AM Revision 12329a58 (git): * configure.in (target_archs): remove temporary objects.
* enc/Makefile.in, enc/depend (clean): remove work directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:10 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
JRuby already maps WeakRef to the native JVM construct. In addition, the "weakling" gem provides reference queues and a simple weak ID hash based on them. Weak references without reference queues are much more difficult to use, s...
headius (Charles Nutter)
02:54 AM Bug #4149: Documentation submission: syslog standard library
=begin
I am (definitely) attaching an updated documentation patch with call-seq: directives, since they now work in RDoc 2.0.1.
=end
meta (mathew murphy)
01:14 AM Feature #4172: Named arguments/parameters support
=begin
Great! Is there any place I can see the spec?

Thank you and best regards!

Rodrigo
=end
rosenfeld (Rodrigo Rosenfeld Rosas)
12:17 AM Bug #4169 (Closed): Forked processes locked, won't exit
=begin
This issue was solved with changeset r30272.
Ilya, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
kosaki (Motohiro KOSAKI)

12/20/2010

11:09 PM Feature #3647: Array#sample(n, replace=false)
2010年12月19日23:22 Yusuke ENDOH <mame@tsg.ne.jp>:
> 入れるとしたら `sample(何かキーワード: true)` だと思うんですが、
> ...
`unique` とか。
現在の挙動 (非復元抽出) が `unique: true` で。
`unique: false` とすると復元抽出。
(`uniq` でも)
--
[田中 哲][たなか あきら][Tanaka Akira]
akr (Akira Tanaka)
10:56 PM Feature #4147: Array#sample で重みを指定したい
=begin
2010年12月19日21:15 Yugui <yugui@yugui.jp>:

> * 効率的な実装の可能な仕様であるべきです。

もしこの話が復元抽出 (同じものが何回でも現れても良い)の話なら、
それを効率的に実装する乱数は、どんな分布にせよ、

x = f(rand(n))

として、f, n を適当に選ぶことで表現できるので、

f, n = Random.分布変換関数生成_分布の種類(パラメータ)

とかが効率的な...
akr (Akira Tanaka)
10:33 PM Feature #4147: Array#sample で重みを指定したい
=begin
>「重みを変えずに繰り返し抽選したい」というユースケースで有利になる
>んですが、汎用性に欠けますかね。結構ありそうだと思うんですが。

ほとんどの場合は一回の呼び出しで大量の抽出を行うことで代替可能ではないでしょうか。

繰り返しになりますが、二分探索は最適なアルゴリズムではない(簡便性を犠牲にする割に半端にしか速くならない)というのも重要な点で、高速な細切れ抽出を本当に求めるのであれば、以下のサイトのコードのように専用のクラスを用...
oj (Yoji Ojima)
09:32 PM Feature #4147: Array#sample で重みを指定したい
=begin
遠藤です。

2010年12月20日14:06 Yoji Ojima <redmine@ruby-lang.org>:
>>係数レベルの性能には私も大して興味ないんですが、オーダが違うとなると
>>さすがに気になります。特に、機能的には O(log n) で実現できるのに、
>>見た目の都合で API を O(n) にしか実装できないよう制約してしまおうと
>>いう話ですから。記述性の話もよくわかるので、悩ましいところですが。
>
> メ...
mame (Yusuke Endoh)
02:06 PM Feature #4147: Array#sample で重みを指定したい
=begin
>係数レベルの性能には私も大して興味ないんですが、オーダが違うとなると
>さすがに気になります。特に、機能的には O(log n) で実現できるのに、
>見た目の都合で API を O(n) にしか実装できないよう制約してしまおうと
>いう話ですから。記述性の話もよくわかるので、悩ましいところですが。

メソッド自体が高速であっても、そのために累積分布を渡す必要があるというのでは、たとえば要素の重みを一つだけ変えて再抽選というときには...
oj (Yoji Ojima)
12:43 PM Feature #4147: Array#sample で重みを指定したい
=begin
遠藤です。

2010年12月20日1:27 Yoji Ojima <redmine@ruby-lang.org>:
> 私個人としては高速性に興味はなく、最初のサンプルのような処理を標準機能の範囲で簡潔に記述することができさえすれば満足です。

係数レベルの性能には私も大して興味ないんですが、オーダが違うとなると
さすがに気になります。特に、機能的には O(log n) で実現できるのに、
見た目の都合で API を O(n) にしか実装...
mame (Yusuke Endoh)
01:26 AM Feature #4147: Array#sample で重みを指定したい
=begin
>Ruby でも同じ使われ方が期待できるんですかねえ。
>いよいよ、まずは gem で作って配布して、多くの需要があることがわかった
>ら取り込む、という手順を踏むほうがいいような気がしてきました。

私個人としては高速性に興味はなく、最初のサンプルのような処理を標準機能の範囲で簡潔に記述することができさえすれば満足です。

単純な復元抽出に関しては (1..n).map { ary.sample } で代替できるので不要という意...
oj (Yoji Ojima)
12:41 AM Feature #4147: Array#sample で重みを指定したい
=begin
遠藤です。

2010年12月19日22:52 Yoji Ojima <redmine@ruby-lang.org>:
>>でも、重みを累積分布として与える例はないですねえ。
>>sample ごときで常に O(n) かかってほしくないと思うのですが。
>
> 復元抽出の高速アルゴリズムである Walker's alias method を使うのに必要な情報は累積分布ではないので、それを引数として与えるというのは、簡便性重視と高速性重視のどち...
mame (Yusuke Endoh)
10:39 PM Revision 379f68fe (git): * pack.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:33 PM Bug #4174 (Assigned): 1F1E on rdoc tests
=begin

=end
naruse (Yui NARUSE)
08:57 PM Bug #4174 (Closed): 1F1E on rdoc tests
=begin
During `make test-all', rdoc tests fails as follows:

1) Failure:
test_inline_source_is_enabled_by_default(Rake::TestRDocTask) [/home/yanagi/ruby/test/rake/test_rdoc_task.rb:65]:
Failed assertion, no message given.

...
kyanagi (Kouhei Yanagita)
09:25 PM Revision 182b6148 (git): * test/rexml/test_contrib.rb (ContribTester#test_pos): should not
use fixed path name for tests. [ruby-dev:42827]
* test/rexml/test_sax.rb (SAX2Tester#test_socket): should not use
fixed port for tests. [ruby-dev:42828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30284 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
09:10 PM Revision f4db8aed (git): * compile.c (setup_args), vm.c (invoke_block_from_c),
vm_insnhelper.c (caller_setup_args): reverted r30241 and r30243
except for the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:55 PM Revision 2d0d54f2 (git): * 2010-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:55 PM Revision 20ac254b (git): * lib/webrick/https.rb: uninitialized instance variables.
Backport a part of r20864 for ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@30281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
04:45 PM Revision da4d3e84 (git): * io.c : add an extra byte to buffer for the specification of read
in Windows. see [ruby-core:33460] and r29980. and, we have to
discuss how to do this one byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
04:14 PM Feature #4151: Enumerable#categorize
=begin
Hello Akira,

On 2010/12/14 18:41, Tanaka Akira wrote:
> 2010/12/12 "Martin J. Dürst"<duerst@it.aoyama.ac.jp>:
>>
>> There are already such methods. At least group_by. Your proposal seems to be
>> a very special way to conv...
duerst (Martin Dürst)
04:07 PM Revision 36f1477f (git): * Backported the fix at
Mon Sep 13 09:23:58 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
with rb_scan_args. Before this fix, OpenSSL::BN#prime?
is fully broken.
git-svn-id: s...
Hiroshi Nakamura
04:05 PM Revision e4906ffa (git): Make test-all run. require_relative is from 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
03:40 PM Revision 12b8ff1f (git): * error.c: Fix build error for win32. This regression was
introduced by r30271.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:21 PM Revision 855cf86a (git): * 2010-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision cb0ea9dd (git): * Backported the fix at
Mon Oct 4 09:30:42 2010 NARUSE, Yui <naruse@ruby-lang.org>
* 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-...
Hiroshi Nakamura
03:20 PM Revision 1ff6a195 (git): * thread.c (thread_cleanup_func): Moved interrupted_lock
destroying code from native_thread_destroy() to
thread_cleanup_func() because it's platform independent logic.
* thread_win32.c (native_thread_destroy): ditto.
* thread_pthread.c (native_thread_destroy): ditto....
kosaki (Motohiro KOSAKI)
03:16 PM Revision 49fbf28b (git): * 2010-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 97da02b2 (git): * thread.c (thread_cleanup_func): Don't touch native threading
resource at fork. Sadly this is purely bandaid. We need to
implement proper fix later. [Bug #4169] [ruby-core:33767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:49 PM Revision 7503f193 (git): * error.c (exit_success_p): Check status code more carefully.
status code may have garbage in upper bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:13 PM Revision 8f6c7296 (git): * node.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:28 PM Feature #4172: Named arguments/parameters support
=begin
Hi,

In message "Re: [ruby-core:33774] [Ruby 1.9-Feature#4172][Open] Named arguments/parameters support"
on Mon, 20 Dec 2010 08:13:36 +0900, Rodrigo Rosenfeld Rosas <redmine@ruby-lang.org> writes:

|Feature #4172: Named ...
matz (Yukihiro Matsumoto)
08:13 AM Feature #4172: Named arguments/parameters support
=begin
Sorry, I meant:

tag(tag_name -> 'div', content -> 'Ruby is getting even more awesome with this feature!')
=end
rosenfeld (Rodrigo Rosenfeld Rosas)
08:12 AM Feature #4172 (Rejected): Named arguments/parameters support
=begin
It is usual in the Ruby community to use the idiom

def method(options={})
param1, param2 = options.values_at(:param1, :param2) # or {param1: 'default1', param2: 2}.collect{|k, v| options[k] || v }
...
end

ins...
rosenfeld (Rodrigo Rosenfeld Rosas)
01:23 PM Revision 32d4fcdc (git): merges r29962 from trunk into ruby_1_9_2.
--
* 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/branches/ruby_1_9_2@30269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:23 PM Revision 479bf5e5 (git): merges r29952 from trunk into ruby_1_9_2.
--
* time.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:23 PM Revision d66c22bf (git): merges r29951 from trunk into ruby_1_9_2.
--
* time.c (leap_year_v_p): fixed typo. [ruby-dev:42631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:23 PM Revision ac0a41e9 (git): merges r29932 from trunk into ruby_1_9_2.
--
* 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/branches/ruby_1_9_2@30266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:23 PM Revision c870705d (git): merges r29885 from trunk into ruby_1_9_2.
--
* vm.c (rb_thread_mark): should mark self in conrol
frames. [ruby-core:33289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision cc3a7df1 (git): merges r29630 from trunk into ruby_1_9_2.
--
* iseq.c (iseq_s_compile): fix optional argument.
a patch from Yutaka HARA [ruby-core:32953] [Ruby 1.9-Bug#4001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision 26879c17 (git): merges most of r29882 from trunk into ruby_1_9_2.
--
added some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision d3418343 (git): merges r29868 and r29872 from trunk into ruby_1_9_2.
--
* string.c (rb_str_inspect): append for each chars instead of bulk
copy if encoding conversion is needed. [ruby-core:33283]
--
* string.c (rb_str_inspect): fix for ascii-compatible external
encoding and different encoding string....
yugui (Yuki Sonoda)
01:22 PM Revision 0d0636d2 (git): merges r29848 and r29852 from trunk into ruby_1_9_2.
--
* string.c (rb_str_concat): set ENC_CODERANGE_VALID when the
receiver is 7BIT and the argument is non ASCII.
--
Fix r29848's test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30261 b2dd03c8-39d4-4d8f-98ff-823fe6...
yugui (Yuki Sonoda)
01:22 PM Revision 7decd09b (git): merges r29840 from trunk into ruby_1_9_2.
--
add dependency(insns.inc) to compile.obj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision 35c70b21 (git): merges r29808 and r29822 from trunk into ruby_1_9_2.; workaround for StringIO.
--
* lib/csv.rb: Upgrading output encoding as needed. [ruby-core:33135]
--
* lib/csv.rb: Upgrading output encoding with ASCII content
as needed. [ruby-core:33229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30259...
yugui (Yuki Sonoda)
01:22 PM Revision 0e1cd3e3 (git): merges r29807 from trunk into ruby_1_9_2.
--
* vm_insnhelper.c (vm_throw): remove fear of undefined behavior :-)
Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision 139ab718 (git): merges r29804 from trunk into ruby_1_9_2.
--
* pack.c (PACK_ITEM_ADJUST): return nil not result array and yield
values if block is given. [ruby-core:33193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision 79128855 (git): merges r29803 from trunk into ruby_1_9_2.
--
* regparse.c (and_cclass, or_cclass): fix memory leak. Coverity Scan
found this bug. [ruby-dev:42579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:22 PM Revision b6e3b715 (git): merges r29800 from trunk into ruby_1_9_2.
--
* eval_intern.h (CHECK_STACK_OVERFLOW): it was not intended to add
size_t to a pointer typed VALUE*. Coverity Scan found this defect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30255 b2dd03c8-39d4-4d8f-98ff-82...
yugui (Yuki Sonoda)
01:22 PM Revision a90f3bcb (git): merges r29799 from trunk into ruby_1_9_2.
--
* compile.c (iseq_set_exception_local_table, iseq_set_local_table,
rb_iseq_build_from_ary): fix type inconsistency (which is benign
because sizeof(ID) == sizeof(ID*), though). Coverity Scan found
these bugs.
git-svn-id: svn+ss...
yugui (Yuki Sonoda)
12:56 PM Bug #4173 (Closed): TestProcess#test_wait_and_sigchild が、たまに失敗する
=begin
ごくたまに、ruby/test_process.rb の TestProcess#test_wait_and_sigchild が失敗します。

1) Failure:
test_wait_and_sigchild(TestProcess) [/export/home/ksmakoto/ruby-git/test/ruby/test_process.rb:1194]:
[ruby-core:19744].
<[true]> ex...
metanest (Makoto Kishimoto)
11:06 AM Revision 13569788 (git): * NEWS: add #__id__ and #object_id. [ruby-dev:42778]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:25 AM Revision 237edd7a (git): * thread_pthread.c (native_thread_destroy): Fixed gvl_cond leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:50 AM Revision 1695653f (git): Update NEWS, add ChangeLog entry for RDoc 3.0.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:32 AM Revision 9d767bc2 (git): There is no Perl parser in RDoc 3 ☹
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:22 AM Revision 2ef9c50c (git): Import RDoc 3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:27 AM Feature #4015 (Closed): File::DIRECT Constant for O_DIRECT
=begin
This issue was solved with changeset r30247.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
kosaki (Motohiro KOSAKI)
12:57 AM Bug #4169: Forked processes locked, won't exit
=begin
Hi Ilya,

Can you please try the attached patch?
=end
kosaki (Motohiro KOSAKI)
 

Also available in: Atom