Project

General

Profile

Activity

From 02/04/2012 to 02/10/2012

02/10/2012

11:06 PM Revision 83af59b8 (git): merge revision(s) 33508:
* test/openssl/test_ssl.rb (test_multibyte_read_write): start server
for each length to avoid race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:02 PM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
Usa,
Do you approve this be merged?
Thank you.
luislavena (Luis Lavena)
10:44 PM Feature #5999 (Closed): Optimize for faster loading time and win32/file.c refactoring
This was originally discussed at [ruby-core:41799] `Best way to separate implementation specific code?`.
Ruby startup time (loading time) is slow when loading a lot of libraries such as Rails. Some works were done to improve performan...
h.shirosaki (Hiroshi Shirosaki)
10:13 PM Bug #5353: TLS v1.0 and less - Attack on CBC mode
At first, I misunderstood the message from Martin that he just want to turn off the flag by default. I thought we can turn off the SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS flag if we want.
Based on Apple's report at January, I realized that...
nahi (Hiroshi Nakamura)
02:24 AM Bug #5353: TLS v1.0 and less - Attack on CBC mode
Backported to ruby_1_9_3 in r34524 and to ruby_1_9_2 in r34525. MartinBosslet (Martin Bosslet)
09:32 PM Revision c0cdff2c (git): Revert r34538.
* backport 33935,33936,33987 (fix private constant)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:14 PM Revision d14b60ff (git): merge revision(s) 34547:
* dir.c (fnmatch): The * needs to be escaped to avoid formatting in
fnmatch comment.
patched by @dalton. https://github.com/ruby/ruby/pull/91
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34548 b2d...
naruse (Yui NARUSE)
09:12 PM Revision c13d0b0c (git): * dir.c (fnmatch): The * needs to be escaped to avoid formatting in
fnmatch comment.
patched by @dalton. https://github.com/ruby/ruby/pull/91
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:39 PM Revision a208a750 (git): merge revision(s) 34043,34045,34132: [Backport #5791]
* win32/win32.c, include/ruby/win32.h (rb_w32_fd_is_text): new function.
* win32/win32.c (init_stdhandle): set default mode of stdin as binmode.
* io.c (set_binary_mode_with_seek_cur): new function to replace
...
naruse (Yui NARUSE)
06:38 PM Revision 87746919 (git): merge revision(s) 33981: [Backport #5792]
* test/rexml/test_order.rb (OrderTester#test_more_ordering): use
GZip::GzReader.open instead of GZip::GzReader.new with File.new.
fixed a test error on Windows introduced at r33946.
fixed test errors on Wind...
naruse (Yui NARUSE)
06:37 PM Revision 6d0f11de (git): merge revision(s) 33946:
* ext/zlib/zlib.c (rb_gzreader_initialize): revert a part of r33937.
1st, to change the mode of an IO is very sensitive problem, so
the maintainer of this library should judge it.
2nd, usually Zlib::GzReader...
naruse (Yui NARUSE)
06:24 PM Revision 773b80bf (git): merge revision(s) 33937: [Backport #5704]
* ext/zlib/zlib.c (rb_gzreader_initialize): use binary mode by default
under Windows. Patch by Hiroshi Shirosaki. [ruby-core:40706]
[Feature #5562]
* include/ruby/encoding.h (void rb_econv_binmode): define NE...
naruse (Yui NARUSE)
06:21 PM Revision 093ade0e (git): merge revision(s) 33662,33666,33770: [Backport #5793]
------------------------------------------------------------------------
r33662 | usa | 2011-11-08 02:48:11 +0900 (Tue, 08 Nov 2011) | 18 lines
* include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_READ_MASK,
ECONV_NEWLINE_DECORATOR_WRIT...
naruse (Yui NARUSE)
06:19 PM Revision 45501bec (git): merge revision(s) 33152,33649:
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
default_mode_on_unix,text_mode,binary_mode}): sorry for wrong test
committed in r33144. I'd misunderstood the spec of ruby's universal
...
naruse (Yui NARUSE)
06:18 PM Revision 3d3cf970 (git): merge revision(s) 33144:
* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
default_mode_on_unix,text_mode,binary_mode}): tests for [Bug #5164].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34540 b2dd03c8-39d4-4...
naruse (Yui NARUSE)
06:13 PM Revision 04e65c38 (git): merge revision(s) 33200: [Backport #5794]
* transcode.c: enabled econv newline option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:12 PM Revision 84a867fa (git): merge revision(s) 33935,33936,33987:
* variable.c (set_const_visibility): Module#private_constant has
changed the visibility of only the first argument. Now it changes
all of them. [ruby-list:48558]
* test/ruby/test_module.rb: add a test for a...
naruse (Yui NARUSE)
06:07 PM Bug #5998 (Closed): docs: Array#select! return object
Array#select! returns `self` not `new_ary`. bt (Bernd Homuth)
06:04 PM Feature #5980: Trying to Load File When Too Many Files Open Should Raise Something Other Than Plain LoadError
If it raises other than LoadError, it breaks codes which uses LoadError.
Changing additional message can be accepted.
naruse (Yui NARUSE)
06:02 PM Bug #5739: [BUG] object allocation during garbage collection phase
Issue #5739 has been updated by Fused Team.


This thing actually occurring when there's infinite loop and stack overflow, but it should say "stack level too deep", not generate bug scary messages. I was wrong about not being able...
fused (Fused Team)
05:54 PM Bug #5739: [BUG] object allocation during garbage collection phase
Issue #5739 has been updated by Fused Team.


This thing actually occurring when there's infinite loop and stack overflow, but it should say "stack level too deep", not generate bug scary messages. I was wrong about not being able...
fused (Fused Team)
05:54 PM Bug #5739: [BUG] object allocation during garbage collection phase
Issue #5739 has been updated by Fused Team.


This thing actually occurring when there's infinite loop and stack overflow, but it should say "stack level too deep", not generate bug scary messages. I was wrong about not being able...
fused (Fused Team)
05:49 PM Bug #5931 (Feedback): Random SEGV during execution on YARD specs
Could you try trunk/latest 1.9.3?
I doubt this is caused by the same reason of #5851.
naruse (Yui NARUSE)
05:46 PM Revision ca42d13e (git): merge revision(s) 34535:
* array.c: Fix rdoc for Array#select!
patched by b t [ruby-core:42478] [Bug #5998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:45 PM Bug #5076 (Closed): Mac OS X Lion Support
From r34278, ruby-trunk should support Lion with following clang:
% clang --version
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
naruse (Yui NARUSE)
05:38 PM Bug #5933 (Closed): thin と Rack::FiberPool で SEGV が発生
clang でビルドした Ruby を使ったんじゃないでしょうか。
で、おそらく 1.9.3-p26 (r34288) で修正された問題だと思います。
naruse (Yui NARUSE)
05:37 PM Revision 198736fb (git): * 2012-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:37 PM Revision 6a8c05e3 (git): * array.c: Fix rdoc for Array#select!
patched by b t [ruby-core:42478] [Bug #5998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:27 PM Revision 2c5d6bae (git): merge revision(s) 33485:
* lib/openssl/buffering.rb: Force multi-byte strings to be treated as
binary data.
* test/openssl/test_ssl.rb: Add test for it.
Thanks to Niklas Baumstark for reporting the issue!
[Ruby 1.9 - Bug #5233]...
naruse (Yui NARUSE)
05:05 PM Bug #5429 (Closed): 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
Makoto Kishimoto wrote:
> とりあえず今気づきましたというACKだけ。
> ...
じゃあ、なしで。
> trunkで問題が起きないことを確認すればいいんですよね?
> ...
問題のスクリプトとやらをこのチケットに貼っておいて頂けますか。
naruse (Yui NARUSE)
04:54 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
確認しました。
最初の報告にあるような、ウォーニングシステムメッセージは出なくなっています。
クローズお願いします。
metanest (Makoto Kishimoto)
04:45 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
とりあえず今気づきましたというACKだけ。
特に何か「これは困る」というものではないので、
1.9.3へのバックポートは、なしで、私はかまいません。
trunkで問題が起きないことを確認すればいいんですよね?
(さて問題のスクリプトはハードディスクのどこだっけ……)
metanest (Makoto Kishimoto)
04:27 PM Feature #5994: Dir.glob without wildcards returns pattern, not filename
Hi Nobu,
I expected:
~~~ruby
p Dir.glob('foO') #=> ["Foo"]
~~~
The current behaviour would be difficult to justify.
The doc string says ...
"Returns the filenames found by expanding *pattern* ..."
There is no filename "fo...
daz (Dave B)
03:31 PM Feature #5994 (Feedback): Dir.glob without wildcards returns pattern, not filename
Dave B wrote:
> ~~~ruby
> ...
What do you want, an empty array same as case-sensitive systems?
nobu (Nobuyoshi Nakada)
01:23 PM Feature #5994: Dir.glob without wildcards returns pattern, not filename
This *nix behaviour would be fine, for me.
~~~ruby
# ruby 1.8.7p302 (2010-08-16) [i486-linux]
#-----------------------------------------------------
p Dir.glob('*') #=> ["Foo"] ok
p Dir.glob('f?O') ...
daz (Dave B)
12:52 PM Feature #5994 (Closed): Dir.glob without wildcards returns pattern, not filename
This is Windows specific, I guess, as filename case doesn't matter there.
Ruby version is not specific to 1.9.3p0 (ruby 1.8.7p334 gives the same).
The script below produces results that seem inconsistent.
Using special characters (wil...
daz (Dave B)
02:14 PM Feature #5995 (Rejected): calling io_advise_internal() in read_all()
=begin
I propose to call io_advise_internal() in read_all().
It will increase performance.
I created a dummy file:
dd if=/dev/zero of=dummy bs=1M count=100
Then, I ran the following:
require 'benchmark'

Benchmark.bm do...
Glass_saga (Masaki Matsushita)
09:29 AM Bug #5988: Time class interprets "2012-02-30" as "2012-03-01"
2012/2/10 Yui NARUSE <naruse@airemix.jp>:

> The time class seems to accept any number from 1-31 as a valid day for any month of the year, even if the month has less than 31 days. If the day exceeds the number of days, it just spills ...
akr (Akira Tanaka)
02:26 AM Bug #5988 (Assigned): Time class interprets "2012-02-30" as "2012-03-01"
naruse (Yui NARUSE)
08:28 AM Revision c3e465b5 (git): merge revision(s) 33795,33796:
* lib/set.rb (SortedSet.setup): don't remove old_init. The remove
makes the warning prevention fragile. [ruby-dev:44892]
* lib/set.rb (SortedSet.setup): remove old_init after initialize
method is redefined....
naruse (Yui NARUSE)
08:02 AM Revision d91a05c8 (git): merge revision(s) 34033: [Backport #5996]
* thread_pthread.c (rb_thread_create_timer_thread): fix memory
leak. [ruby-dev:44904] [Bug #5688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:29 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
(2/9/12 2:19 PM), U.Nakamura wrote:
> こんにちは、なかむら(う)です。
>
> In message "[ruby-dev:45219] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
> on Feb.10,2012 02:45:01,<kosaki.motohiro@gmail.com> wrote:
>>...
kosaki (Motohiro KOSAKI)
04:23 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
こんにちは、なかむら(う)です。

In message "[ruby-dev:45219] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
on Feb.10,2012 02:45:01, <kosaki.motohiro@gmail.com> wrote:
> > では、以前も述べたように存在しないときの挙動はArgumentErrorで
> > よ...
usa (Usaku NAKAMURA)
02:53 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
>> > LONG_LONGという言葉を使うとCRuby固有に聞こえますけど、要する
>> > にlong longのデータをどう扱いますか、ということなので、あまり
>> > LONG_LONGという字面にとらわれて考える必要はないと思います。
>>
>> 純粋に C の long long を実現するもので、
>> long long が存在しないときの挙動に合意が取れるなら
>> それはとくに問題ないんじゃないでしょうか。
>
>...
kosaki (Motohiro KOSAKI)
02:29 AM Bug #5920 (Rejected): Encoding.compatible? gives inconsistent results with String vs Encoding arguments
naruse (Yui NARUSE)
02:27 AM Bug #5990 (Feedback): Random Segmentation Fault when running on Linux Fedora
Could you show a small reproducible code? naruse (Yui NARUSE)
02:23 AM Feature #5987 (Assigned): IPAddr#initialize should display the invalid address when raising ArgumentError
naruse (Yui NARUSE)
01:59 AM Bug #5993 (Closed): Thread.new{ Fiber.new { Thread.exit }.resume }.join で例外
以下のように Fiber 内で Thread.exit するとメッセージが空の RuntimeError が発生します。
Thread.new{ Fiber.new { Thread.exit }.resume }.join #=> RuntimeError:
rb_fiber_start() で Thread.exit 時の TAG_FATAL での TAG_JUMP を想定していないためだと思います。とりあえず以下のようにすると例外にならなくなります。
...
nagachika (Tomoyuki Chikanaga)
01:50 AM Feature #5992 (Closed): DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t
=begin
(({size_t})) and (({ptrdiff_t})) can be resulted by built-in operators, so they should be provided as well as other primitive types.
Also ruby often needs (({uintptr_t})) as (({VALUE})).
Patch attached.
=end
nobu (Nobuyoshi Nakada)
12:53 AM Bug #5978: YAML.load_stream should process documents as they are read
Cool. trans (Thomas Sawyer)
12:38 AM Bug #5991 (Closed): fiddle/conversion.c ignores unsigned qualifier
=begin
In (({value_to_generic()})), ((|signed_p|)) seems to be ignored except for
(({TYPE_LONG})), and (({NUM2LONG()})) is used even if ((|signed_p|)) is not set.
(({NUM2INT()})) and (({NUM2UINT()})) have different value ranges, so I
...
nobu (Nobuyoshi Nakada)

02/09/2012

11:47 PM Feature #5903: Optimize st_table (take 2)
I've updated `table packing` patch to correlate with trunk
https://github.com/ruby/ruby/pull/84
https://github.com/ruby/ruby/pull/84.patch
Also there is additional commit which increases usage of `st_foreach_nocheck`
https://githu...
funny_falcon (Yura Sokolov)
09:13 PM Revision 513b0988 (git): merge revision(s) 33517:
------------------------------------------------------------------------
r33517 | naruse | 2011-10-24 15:41:57 +0900 (Mon, 24 Oct 2011) | 6 lines
Follow the error format changed by FreeBSD 9.
FreeBSD 8.2's last line is
"./configure: Ca...
naruse (Yui NARUSE)
08:25 PM Revision 4bfa061e (git): Partially revert r27949.
* cont.c (fiber_setcontext): Use longjmp() instead of swapcontext() on
FreeBSD 9. [ruby-dev:41316] [Bug #3295] [Bug #5526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:13 PM Revision 47bb7f37 (git): merge revision(s) 34277: [Backport #5881]
* object.c: Added examples for Object#is_a? and
Object#instance_of? patcheed from Manoj Kumar.
[Bug #5880] [ruby-core:42057]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34529 b2dd03c8-39d4-4d8f-9...
naruse (Yui NARUSE)
08:12 PM Revision 36b3d557 (git): merge revision(s) 34409,34412,34417:
* io.c (argf_close): skip stdin, which should be readable again.
[ruby-dev:45160] [Bug #5952]
* io.c (argf_readlines): reinitialize after all read to be
readable again.
* io.c (argf_next_argv): reset...
naruse (Yui NARUSE)
07:10 PM Bug #5990 (Third Party's Issue): Random Segmentation Fault when running on Linux Fedora
I am parsing a large library of html documents with ruby mechanize/nokogiri. Randomly, I encounter a segmentation fault.
This happens on both ruby 1.9.2 (ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]) and 1.9.3 (ruby 1.9.3...
blairsilverberg (Blair Silverberg)
06:44 PM Revision 59a13448 (git): * ext/psych/parser.c: removed external encoding setter, allow parser
to be reused.
* ext/psych/lib/psych/parser.rb: added external encoding setter.
* test/psych/test_parser.rb: test parser reuse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:23 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
こんにちは、なかむら(う)です。

In message "[ruby-dev:45216] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
on Feb.09,2012 17:03:19, <akr@fsij.org> wrote:
> > 質問に質問で返すのはよくないですが、「Ruby内部」ってどこまで
> > を想定しておられますか。
> > ...
usa (Usaku NAKAMURA)
05:23 PM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
2012年2月9日16:47 U.Nakamura <usa@garbagecollect.jp>:
>
> 古いチケットですが、r34507でまた踏んだので蒸し返します。
>
> In message "[ruby-dev:42671] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
> on Dec.02,2010 21:30:53, <akr@fsi...
akr (Akira Tanaka)
05:20 PM Revision fada2e46 (git): * 2012-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:20 PM Revision 85fd9aad (git): * backport r34482 from trunk
* ext/openssl/ossl_ssl.c: Add SSL constants and allow to unset SSL
option to prevent BEAST attack. See [Bug #5353].
In OpenSSL, OP_DONT_INSERT_EMPTY_FRAGMENTS is used to prevent
TLS-CBC-IV vulunerability described at
http://www....
MartinBosslet (Martin Bosslet)
05:04 PM Revision 0234bcfd (git): * backport r34482 from trunk
* ext/openssl/ossl_ssl.c: Add SSL constants and allow to unset SSL
option to prevent BEAST attack. See [Bug #5353].
In OpenSSL, OP_DONT_INSERT_EMPTY_FRAGMENTS is used to prevent
TLS-CBC-IV vulunerability described at
http://www....
MartinBosslet (Martin Bosslet)
04:41 PM Revision 14c97cf9 (git): * ext/dl/extconf.rb: clang does not use -fno-defer-pop during compilation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:30 PM Revision 96ab3701 (git): * ext/dl/dl.h (ALIGN_OF): use offsetof().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:29 PM Revision 19615115 (git): * ext/dl/dl.h (DLALIGN): round up at once and get rid of overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:47 PM Revision 5ee0135a (git): * test/ruby/envutil.rb (assert_no_memory_leak): new assertion to
check memory leak by invoking child ruby process and watch its
memory size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:16 PM Revision ba89c7d7 (git): * 2012-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 4f193625 (git): * 2012-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision d77b2387 (git): * ext/fiddle/fiddle.c (Init_fiddle): declare in modern style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:15 PM Revision 5c99e2f6 (git): * ext/fiddle/fiddle.c (Init_fiddle): declare in modern style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:44 PM Revision 42144fc3 (git): * test/pathname/test_pathname.rb (test_binread): add assertion to
check encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:18 PM Revision aabd3d0b (git): * ChangeLog: remove duplicated entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:15 PM Bug #5989 (Closed): Keyword spash is syntax error when there are no explicit keyword arguments
$ ruby -e 'def a(a:1, **h); p h; end; a(b: 1)'
{:b=>1}
$ ruby -e 'def a(**h); p h; end; a(b: 1)'
-e:1: syntax error, unexpected tPOW, expecting ')'
def a(**h); p h; end
^
funny_falcon (Yura Sokolov)
01:18 PM Revision 3b1276eb (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Bug #5978: YAML.load_stream should process documents as they are read
On Thu, Feb 09, 2012 at 03:51:53AM +0900, Thomas Sawyer wrote:
>
> Issue #5978 has been updated by Thomas Sawyer.
>
>
> Yea, that would suffice. It would still be nice to have a more intuitive/convenient class method though.
> ...
Anonymous
03:51 AM Bug #5978: YAML.load_stream should process documents as they are read
Yea, that would suffice. It would still be nice to have a more intuitive/convenient class method though.
What about a new method, `process_stream` or `each_document`, or something like that, to wrap that code? Oh wait... why not just ...
trans (Thomas Sawyer)
02:23 AM Bug #5978: YAML.load_stream should process documents as they are read
On Wed, Feb 08, 2012 at 01:47:31AM +0900, Thomas Sawyer wrote:
>
> Issue #5978 has been reported by Thomas Sawyer.
>
> ----------------------------------------
> Bug #5978: YAML.load_stream should process documents as they are re...
Anonymous
10:59 AM Bug #5951 (Assigned): Exported RSA keys allow pass phrases that are too short
Aah, that's bad. You can override the check for four characters by passing the password as an additional parameter (probably not what you want) or by giving a block that returns the password to PKey.new.
Other than that, I fear the only...
MartinBosslet (Martin Bosslet)
09:43 AM Bug #5886 (Closed): OpenSSL ASN.1 time values may not round-trip their type
I checked, it's fine. I was confused, the type information itself is present in the subclass of ASN1Data holding the actual time value. MartinBosslet (Martin Bosslet)
08:08 AM Revision 475f86f4 (git): merge revision(s) 33410:
* cont.c (cont_mark): mark original Thread object from saved_thread.
[ruby-dev:44567] [Bug #5386]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:05 AM Revision 44cf55ac (git): merge revision(s) 32875:
* cont.c (HAVE_GETCONTEXT): see getcontext(3) because DragonFly BSD
x64 port doesn't have it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:53 AM Revision c7f16b86 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:48 AM Revision f90f02ab (git): * ext/dl/dl.c (Init_dl): fix mangled documnet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:43 AM Bug #5986: Segmentation Fault
This simple project fails (and I can share its code), and It makes me wonder if the failure is just that Ruby is allowing a stack overflow error cause a segmentation fault:
$ thin -V -D start
>> Using rack adapter
> ...
GET /admin H...
levmatta (Luis Matta)
05:43 AM Bug #5986: Segmentation Fault
I can not, no code is running (besides ActiveAdmin Dashboard/Home -- and I have not Customized it), it is my project.
The login screen works, bug after that it crashes.
Maybe a plain ActiveAdmin+Rails3.2.1+Thin+Nginx project would cr...
levmatta (Luis Matta)
04:32 AM Bug #5986 (Feedback): Segmentation Fault
Could you make a self-contained small reproducible code? naruse (Yui NARUSE)
04:12 AM Bug #5986 (Closed): Segmentation Fault
Simply trying to render the home page of active-admin.
I have tested this on Ubuntu 10.04 LTS 64bits, using rvm ruby 1.9.3-head (with and without "rvm pkg install openssl"), and 1.9.2-head.
The structure: Nginx 1.0.11 (using ppa), RV...
levmatta (Luis Matta)
07:20 AM Revision b97d91dd (git): merge revision(s) 34504,34506,34507,34508:
* ext/dl/lib/types.rb: Win64 support.
* ext/fiddle/conversions.c (value_to_generic): src is not guranteed as
a Bignum if the type is LONG_LONG. it may be a Fixnum if the value
is small.
* ext/dl/lib...
naruse (Yui NARUSE)
07:11 AM Revision 71837f62 (git): * test/ruby/memory_status.rb (Memory::Win32): 64bit support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:10 AM Revision b2ba3242 (git): * ext/dl/lib/value.rb (DL::ValueUtil.{unsigned_value,signed_value}):
currenly pack/unpack does not accept "q!" and "Q!".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:03 AM Revision da098bd3 (git): * ext/fiddle/conversions.c (value_to_generic): src is not guranteed as
a Bignum if the type is LONG_LONG. it may be a Fixnum if the value
is small.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:09 AM Bug #5988: Time class interprets "2012-02-30" as "2012-03-01"
=begin
By comparison, the Date class handles this properly:
irb(main):004:0> Date.new 2012, 2, 29
=> #<Date: 2012-02-29 ((2455987j,0s,0n),+0s,2299161j)>
irb(main):005:0> Date.new 2012, 2, 30
ArgumentError: invalid date
from...
dmarkow (Dylan Markow)
06:00 AM Bug #5988 (Rejected): Time class interprets "2012-02-30" as "2012-03-01"
=begin
The time class seems to accept any number from 1-31 as a valid day for any month of the year, even if the month has less than 31 days. If the day exceeds the number of days, it just spills over into the following month; "2012-02-...
dmarkow (Dylan Markow)
04:24 AM Feature #5987 (Closed): IPAddr#initialize should display the invalid address when raising ArgumentError
I noticed that when IPAddr#initialize raises an ArgumentError on invalid addresses, it does not include the offending address in the exception message. This makes debugging difficult. postmodern (Hal Brodigan)
04:05 AM Bug #5985 (Closed): miniruby skews "make benchmark" results
miniruby has fewer objects and a smaller heap than the normal "ruby",
benchmarks that are affected by GC performance is skewed heavily.
This is most noticeable with the vm3_gc benchmark using the same
Ruby revision/build but different...
normalperson (Eric Wong)
03:25 AM Revision c65134a3 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 AM Revision 57b21752 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:32 AM Revision 70b504ba (git): * ext/dl/lib/types.rb: Win64 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:23 AM Revision 8b322b5c (git): merge revision(s) 34338-34340: [Backport #5909]
* test/ruby/test_file_exhaustive.rb (test_expand_path): add tests for
absolute paths and drive letters. [ruby-core:42177]
* test/ruby/test_file_exhaustive.rb (test_expand_path): ignore case of
paths on DOSIS...
naruse (Yui NARUSE)
02:12 AM Revision 6b3ba691 (git): merge revision(s) 33959,33963,34265:
* ext/dbm/extconf.rb: detect gdbm_version in libgdbm.
* ext/dbm/dbm.c: make DBM::VERSION more informative for gdbm, qdbm and
Berkeley DB 1.x. [ruby-dev:44944]
* ext/dbm/dbm.c: use db_version() instead of DB_V...
naruse (Yui NARUSE)
12:07 AM Bug #5384 (Third Party's Issue): Ruby 1.9.3-RC1 Fails to Compile on Illumos (OpenSolaris)
I think this is a bug of Illumos (OpenSolaris).
In Solaris 11, it was treated as a bug of Solaris 11 and was already fixed.
http://wesunsolve.net/bugid/id/6997934
See the discussion in Illumos community for the progress.
https://...
ngoto (Naohisa Goto)

02/08/2012

11:28 PM Feature #4172: Named arguments/parameters support
I wouldn't say this was rejected, but implemented/accepted instead ;) rosenfeld (Rodrigo Rosenfeld Rosas)
05:39 AM Feature #4172 (Rejected): Named arguments/parameters support
Current trunk (for 2.0) has a keyword argument feature. Please look at and give us comments.
Thanks.
kosaki (Motohiro KOSAKI)
10:34 PM Revision e0f8351d (git): merge revision(s) 34236: [Backport #5890]
* numeric.c (rb_enc_uint_char): raise RangeError when added codepoint
is invalid. [Feature #5855] [Bug #5863] [Bug #5864]
* string.c (rb_str_concat): ditto.
* string.c (rb_str_concat): set encoding as ASCII-8B...
naruse (Yui NARUSE)
10:31 PM Revision 2bd2ea82 (git): merge revision(s) 34499:
* test/pathname/test_pathname.rb: not read but binread.
patched by Benoit Daloze, [ruby-core:42440] [Bug #5984]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:14 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Are there any news on this issue?
Manually installing the unreleased gems via somthing like
curl -LO http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
curl -LO http://rubyforge.org/frs/download.php/75415/r...
janvarwig (Jan Varwig)
07:38 PM Feature #5976: abolition of MD5 calculation in pstore.rb
Benoit Daloze wrote:
> @Yui I guess you meant gsub! ? In that case it indeed breaks.
Ah yes, it's gsub!
naruse (Yui NARUSE)
07:33 PM Feature #5976: abolition of MD5 calculation in pstore.rb
@Yui I guess you meant gsub! ? In that case it indeed breaks. Eregon (Benoit Daloze)
10:00 AM Feature #5976 (Rejected): abolition of MD5 calculation in pstore.rb
It breaks following:
store = PStore.new(file)
store.transaction do
store["hoge"] = "hoge" * 100
end
store.transaction do
store["hoge"].gsub(/hoge/, "fuga")
end
naruse (Yui NARUSE)
07:13 PM Revision 7bde0843 (git): * test/pathname/test_pathname.rb: not read but binread.
patched by Benoit Daloze, [ruby-core:42440] [Bug #5984]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:30 PM Revision 42c62552 (git): merge revision(s) 34497:
------------------------------------------------------------------------
r34497 | naruse | 2012-02-09 03:29:52 +0900 (Thu, 09 Feb 2012) | 1 line
FreeBSD needs multiple -o.
----------------------------------------------------------------...
naruse (Yui NARUSE)
06:29 PM Revision 7fa3f1c5 (git): FreeBSD needs multiple -o.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:03 PM Revision ee827e52 (git): eliminate `shadowing outer local variable - name` warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:04 PM Feature #4830: Provide Default Variables for Array#each and other iterators
The last example:
some_array.map(&method(:foo)).select(&method(:bar)).each(&method(:bar))
Is no advantage. First, it is longer. Second, using & is ugly.
I think it would be nice to access block arguments by position somehow, w...
shevegen (Robert A. Heiler)
03:44 PM Revision bbc50e2a (git): * 2012-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 PM Revision de25f35c (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:38 PM Feature #707: Documentation for Enumerator chaining
I will work on it, thank you. drbrain (Eric Hodel)
03:10 PM Bug #5353: TLS v1.0 and less - Attack on CBC mode
Backported to ruby_1_8 and ruby_1_8_7 by r34485 and r34486 respectively. nahi (Hiroshi Nakamura)
02:30 PM Bug #5353 (Open): TLS v1.0 and less - Attack on CBC mode
Should have written 'See #5353' not 'See [Bug #5353]'. I don't like machinery autoclosing. :( nahi (Hiroshi Nakamura)
02:27 PM Bug #5353 (Closed): TLS v1.0 and less - Attack on CBC mode
This issue was solved with changeset r34482.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_ssl.c: Add SSL constants and allow to unset ...
nahi (Hiroshi Nakamura)
01:35 PM Revision c709040b (git): * test/-ext-/string/test_modify_expand.rb: test for r34492.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:35 PM Revision fc018c9b (git): * test/-ext-/string/test_modify_expand.rb: test for r34492.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:30 PM Revision 4e39dc86 (git): * string.c (rb_str_modify_expand): fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:30 PM Revision 83c7d9df (git): * string.c (rb_str_modify_expand): fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:19 PM Feature #5787 (Closed): OpenSSL::X509::Name#to_a Improvement (Patch Attached)
This issue was solved with changeset r34481.
Paul, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_x509name.c: Use the numerical representation o...
Anonymous
11:53 AM Feature #708: Lazy Enumerator#select, Enumerator#map etc.
Konnichiwa matz,

Which term do you prefer for the method #lazy or #defer ?

Also organization (regardless of actual names), there is Enumerable
namespace, e.g.

module Enumerable
class Deferred < Enumerator
...
trans (Thomas Sawyer)
11:23 AM Feature #708: Lazy Enumerator#select, Enumerator#map etc.
Hi,

In message "Re: [ruby-core:42411] [ruby-trunk - Feature #708] Lazy Enumerator#select, Enumerator#map etc."
on Wed, 8 Feb 2012 04:22:24 +0900, Yusuke Endoh <mame@tsg.ne.jp> writes:

|I think no one doubt if this featur...
matz (Yukihiro Matsumoto)
04:22 AM Feature #708: Lazy Enumerator#select, Enumerator#map etc.
Hello,
I think no one doubt if this feature is useful and actually needed.
In fact, there are some proposals for the same (or similar) motivation.
- #4653 (focuses only map ?)
- #4890 (a new class Enumerable::Lazy)
- #5663...
mame (Yusuke Endoh)
03:37 AM Feature #708: Lazy Enumerator#select, Enumerator#map etc.
There may be easy "first edition" solution to this. Facets has Denunumerable/Denumerator and defer.
* https://github.com/rubyworks/facets/blob/master/lib/core/facets/denumerable.rb
* https://github.com/rubyworks/facets/blob/master/li...
trans (Thomas Sawyer)
03:09 AM Feature #708: Lazy Enumerator#select, Enumerator#map etc.
Can anyone take a feedback? If nothing, I have to close this ticket sadly.
kosaki (Motohiro KOSAKI)
11:47 AM Revision 9a57bc8f (git): merge revision(s) 34490: [Backport #5983]
------------------------------------------------------------------------
r34490 | naruse | 2012-02-08 20:47:00 +0900 (Wed, 08 Feb 2012) | 1 line
Fix condition.
------------------------------------------------------------------------
g...
naruse (Yui NARUSE)
11:47 AM Revision 54b90b7b (git): Fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:07 AM Feature #5974: Access PC_NAME_MAX and PC_PATH_MAX values
The portable way to check the too long filename is just make a file and catch Errno::ENAMETOOLONG.
Unix has many related constants and functions but they are useless.
naruse (Yui NARUSE)
10:03 AM Bug #5972 (Closed): OpenSSL::ASN1::GeneralString - double INT2NUM() results in invalid ASN.1 tag
This issue was solved with changeset r34469.
Mantas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_asn1.c: Call INT2NUM only once for GeneralSt...
Anonymous
09:51 AM Revision ee19d586 (git): merge revision(s) 34481,34488: [Backport #5983]
* ext/openssl/ossl_x509name.c: Use the numerical representation of
unrecognized OIDs instead of the sn "UNDEF".
* test/openssl/test_x509name.rb: Add tests for the fixed behavior.
Patch provided by Paul Kehr...
naruse (Yui NARUSE)
09:49 AM Revision f75a3077 (git): "street" for X509 Name is not supported before 0.9.8m.
It is added openssl/crypto/objects/obj_mac.h 1.83.
http://cvs.openssl.org/rlog?f=openssl/crypto/objects/obj_mac.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:11 AM Feature #5980 (Rejected): Trying to Load File When Too Many Files Open Should Raise Something Other Than Plain LoadError
Currently encountering too many open file handles when trying to load/require a file simply raises a LoadError. It's not easy to determine that the root cause is exhaustion (see below for demonstration).
The error should be changed ei...
rue (Eero Saynatkari)
06:42 AM Revision 9e2e9208 (git): merge revision(s) 34394,34398:
------------------------------------------------------------------------
r34394 | naruse | 2012-01-29 23:24:05 +0900 (Sun, 29 Jan 2012) | 1 line
Skip test if locale is not Japanese nor UTF-8.
--------------------------------------------...
naruse (Yui NARUSE)
06:09 AM Revision 2cb7a6c0 (git): Backport r34482 from trunk. See #5353
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@34486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
05:57 AM Revision 0dea8a71 (git): Backport r34482 from trunk. See #5353
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
05:51 AM Feature #973: EncDet again
>> 実は当面File.openの機能拡張のみで済んでしまうのではないでしょうか。たとえば、
> ...
すでにパッチが投稿されているようですが、これでダメな理由がよく分かりません。実装があるものに対してrejectはないかなと思っているのでまつもとさんがコメントしないと永久に棚晒しじゃないですかねえ
kosaki (Motohiro KOSAKI)
05:48 AM Revision 910d475d (git): * 2012-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:48 AM Revision e3f049d2 (git): merge revision(s) 31346,31528:
* ext/openssl/extconf.rb: Should check SSLv2_*method.
openssl compiled with "no-ssl2" the extconf don't fail
when running `make' having this compilation errors.
Patched by Laurent Arnoud. fixes #4562, #4556
...
Hiroshi Nakamura
05:43 AM Feature #5979 (Rejected): deprecate Thread#raise
as discussed in ruby-core, we should probably deprecate Thread#raise since it's dangerous.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42318
rogerdpack (Roger Pack)
05:43 AM Feature #2323: "Z".."Z".succが空
これは勝手には閉じられないなあ。どこかで集中して議論するタイミングが必要かも kosaki (Motohiro KOSAKI)
05:40 AM Feature #3922 (Rejected): Syntax awkwardness
no progress very long time. kosaki (Motohiro KOSAKI)
05:32 AM Feature #839 (Rejected): Add code on each line of a backtrace output to the screen
> I believe there is a gem called 'callsite' which does something like this. Maybe others too.
OK, thank you for giving very useful comment. now I can close this one safely.
kosaki (Motohiro KOSAKI)
05:07 AM Feature #839: Add code on each line of a backtrace output to the screen
If all it is, is to add source code line to backtrace then I don think that's enough.
I think the feature people would like to see in this area is an objectified backtrace, e.g.
error.objectified_backtrace.each do |b|
b....
trans (Thomas Sawyer)
02:59 AM Feature #839: Add code on each line of a backtrace output to the screen
> Matz if you get a chance to look at this patch, it "objectify's" Exception#backtrace which might be nice.
> ...
Can anyone take a feedback? If nothing, I have to close this ticket sadly.
kosaki (Motohiro KOSAKI)
05:27 AM Revision 3ff2f9f3 (git): * ext/openssl/ossl_ssl.c: Add SSL constants and allow to unset SSL
option to prevent BEAST attack. See [Bug #5353].
In OpenSSL, OP_DONT_INSERT_EMPTY_FRAGMENTS is used to prevent
TLS-CBC-IV vulunerability described at
http://www.openssl.org/~bodo/tls-cbc.txt
It's known issue of TLSv1/SSLv3 but i...
Hiroshi Nakamura
04:19 AM Revision 45706e70 (git): * ext/openssl/ossl_x509name.c: Use the numerical representation of
unrecognized OIDs instead of the sn "UNDEF".
* test/openssl/test_x509name.rb: Add tests for the fixed behavior.
Patch provided by Paul Kehrer, thanḱ you!
[ruby-core:41769] [Feature #5787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
MartinBosslet (Martin Bosslet)
03:36 AM Feature #1269 (Rejected): warning when Kernel#p is used
これも問答無用で閉じてしまいます。蒸し返したい人がreopenしてください。個人的には 1)pで警告を出したい と 2)パーサーでpを検出したい の間に距離があるので2つの事をパラで議論するチケットになってしまっていて収束する傾向に見えないです kosaki (Motohiro KOSAKI)
03:29 AM Feature #1211 (Rejected): nested loop construct
三年前の高速化ネタを蒸し返すのも不毛なのでCloseしますね。たぶん今計り直すと全然違う結果が得られる気がするので新チケットで最初から議論しなおしたほうがマシでしょう kosaki (Motohiro KOSAKI)
03:25 AM Feature #4878 (Rejected): CMath に frexp, ldexp, hypot の3関数は不要ではないか
提案者が提案を取り下げているようなのでrejectします kosaki (Motohiro KOSAKI)
03:21 AM Feature #1031 (Rejected): -U オプションの説明が --help にない
非常に感じ悪い事は承知しているけど、長期間進展のない自転車置き場の議論は復活させるのも不毛なので問答無用で閉じます。問題意識のあるひとがパッチと共に新規チケットつくってほしいです。
kosaki (Motohiro KOSAKI)
03:15 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Matz, should we close this ticket? kosaki (Motohiro KOSAKI)
02:52 AM Feature #490 (Closed): relayouting struct RNode
ええと nd_file を reservedに変える変更はすでに入ってるので、これ閉じていいですよね?
魅力的な新機能を思いついた人がチケットを切り直してください
kosaki (Motohiro KOSAKI)
02:01 AM Revision d66b539d (git): merge revision(s) 34391:
* ext/readline/readline.c (readline_attempted_completion_function):
respect encodings. [Bug #5941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:58 AM Revision 36cfe460 (git): merge revision(s) 34254,34256:
* ext/readline/readline.c (readline_attempted_completion_function):
empty completion result does not mean memory error.
* ext/readline/readline.c (readline_attempted_completion_function):
fix compile error.
...
naruse (Yui NARUSE)
01:55 AM Revision 381821de (git): merge revision(s) 34116:
* ext/readline/readline.c (readline_readline): check if outstream
is closed to get rid of a bug of readline 6. [ruby-dev:45043]
[Bug #5803]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34478 b2dd...
naruse (Yui NARUSE)
01:54 AM Revision 4051fadb (git): merge revision(s) 33626:
* ext/readline/readline.c (Init_readline): like r18313, libedit's
replace_history_entry may use offset instead of which.
so introduce history_replace_offset_func and initialize it.
* ext/readline/readline.c (...
naruse (Yui NARUSE)
01:52 AM Revision 1a4d1281 (git): merge revision(s) 33625:
* ext/readline/readline.c (Init_readline): fix wrong condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:50 AM Revision a9500bbc (git): merge revision(s) 33049:
* test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty
should be manipulated because master pty may not be a tty on some
environment (e.g. Solaris). [Bug:#5222] [ruby-dev:44420]
git-svn-id: svn+ssh://ci...
naruse (Yui NARUSE)
01:47 AM Bug #5978 (Closed): YAML.load_stream should process documents as they are read
Psych say YAML.load_documents is deprecated and say to use `YAML.load_stream` instead.
Looking at the implementation for `load_stream()`, looks to me as if it waits for all documents in the stream to load before anything can be done w...
trans (Thomas Sawyer)
01:39 AM Revision d22e2877 (git): merge revision(s) 33934: [Backport #5975]
* Makefile.in (CFLAGS): append ARCH_FLAG.
* configure.in (ARCH_FLAG): exclude from CFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:38 AM Revision 9da8b416 (git): merge revision(s) 34123,34126,34127,34463: [Backport #5981]
* ext/openssl/ossl_cipher.c: Update and complete documentation.
* ext/openssl/ossl_cipher.c: Add warning about key as IV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:36 AM Revision a59554c7 (git): merge revision(s) 34469: [Backport #5982]
* ext/openssl/ossl_asn1.c: Call INT2NUM only once for GeneralString.
Thanks to Mantas Mikulenas for noticing and providing a patch!
[ruby-core:42358] [Bug #5972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/...
naruse (Yui NARUSE)
01:35 AM Revision e1dabb0f (git): merge revision(s) 34109:
* ext/readline/readline.c (readline_attempted_completion_function):
in Readline module with GNU Readline 6 case, Readline module
resets completion_append_character to " ", after it executes
completion. So, R...
naruse (Yui NARUSE)
01:20 AM Feature #614 (Assigned): instance_method(ancestor)
Okay, reopened.
In fact, a use case is not necessarily needed.
Ultimately, what you need is an approval from matz.
But matz will require other use cases, I guess.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:04 AM Revision 1a991ffe (git): * tool/merger.rb: don't abort, update first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:03 AM Revision 460c8907 (git): * ext/openssl/ossl_asn1.c: Call INT2NUM only once for GeneralString.
Thanks to Mantas Mikulenas for noticing and providing a patch!
[ruby-core:42358] [Bug #5972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:48 AM Revision b818c6e1 (git): merge revision(s) 33762:
* test/ruby/test_sleep.rb (test_sleep_5sec): 0.1sec tolerance is too
small for busy environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:46 AM Revision 4e3c9289 (git): merge revision(s) 33673:
* test/dbm/test_dbm.rb: split tests for read only database.
* test/gdbm/test_gdbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:44 AM Revision 79634569 (git): merge revision(s) 34028,34030:
* error.c (name_err_mesg_to_str): clear rb_thread_t::errinfo when
ignore exception under rb_protect().
* test/ruby/test_exception.rb (test_exception_in_name_error_to_str):
add a corresponding test.
...
naruse (Yui NARUSE)
12:40 AM Revision b7f40d86 (git): merge revision(s) 33201,33249,33328: [Backport #5564]
* encoding.c (load_encoding): predefined encoding names are safe.
[ruby-dev:44469] [Bug #5279]
* transcode.c (load_transcoder_entry): ditto.
* encoding.c (require_enc): reject only loading from untrusted
...
naruse (Yui NARUSE)
12:29 AM Revision 539d6ba2 (git): * 2012-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:29 AM Revision aa3854e3 (git): * ext/openssl/ossl_cipher.c: Add warning about key as IV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)

02/07/2012

11:55 PM Feature #707: Documentation for Enumerator chaining
Drbrain, could you take over this documentation ticket?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:53 PM Feature #679 (Rejected): Integer#to_s(:step=>3, :sep=>",") が欲しい
長期間進展がみられないので閉じます。[ruby-core:42391] を参照。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:52 PM Feature #615 (Rejected): "with" operator
I'm rejecting this feature ticket because no progress has been made
for a long time. See [ruby-core:42391].
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:38 PM Feature #583 (Rejected): TmpdirとTempfile
長期間進展がみられないので閉じます。[ruby-core:42391] を参照。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:34 PM Feature #614: instance_method(ancestor)
This is a good feature idea. It was even assigned!
The use case is specific b/c it is a specific example of use. What other kind can there be? I don't propose #conflict? as feature b/c I think THAT is too specific when this more gene...
trans (Thomas Sawyer)
08:47 PM Feature #614 (Rejected): instance_method(ancestor)
Hello,
I'm rejecting this feature ticket because no progress has been made
for a long time. See [ruby-core:42391].
The following is *just my personal comment*.
The use case you mentioned (Module#conflict?) looks too specif...
mame (Yusuke Endoh)
09:38 PM Feature #5977 (Rejected): Remove $, and avoid perlish global variables
Hello,
As I mentioned at RubyConf, I would like the $, global variable to be removed for 2.0.
I would like to avoid "perlish" global variables in general, but I think many can't be removed for compatibility, and a few are actually ...
Eregon (Benoit Daloze)
09:28 PM Feature #512 (Rejected): String#% behavior
Hello,
I'm rejecting this feature ticket because no progress has been made
for a long time. See [ruby-core:42391].
The following is *just my personal comment*.
An implementation detail is an implementation detail, even if ...
mame (Yusuke Endoh)
09:05 PM Feature #641 (Rejected): GC patch to cache the most recent heap for is_pointer_to_heap
Hello,
I'm rejecting this feature ticket because no progress has been made
for a long time. See [ruby-core:42391].
Nari, are you willing to treat this ticket? If you are, please
reopen this. Maybe because lazy sweeping was...
mame (Yusuke Endoh)
08:53 PM Feature #546 (Rejected): String#gsub と Strnig#scan のブロックパラメータの一致
遠藤です。
長期間進展がみられないので閉じます。[ruby-core:42391] を参照。
このチケットのように、まつもとさんがなんとなく乗り気になれない提案は、
定期的に忍耐強くまつもとさんに働きかけるなどしないと、採択の見込みは
薄いと思います。
(とか言ったらこのメールが刺激になって話が進んだりして)
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
05:41 PM Bug #5973 (Feedback): Bus Error in simple project requiring YARD
Could you try build ruby-1.9.2 with gcc-4.2, or build ruby-1.9.3-head (p26 or later),
and run the test with it?
naruse (Yui NARUSE)
05:37 PM Bug #5973: Bus Error in simple project requiring YARD
How did you install the ruby-1.9.2?
You built it with clang, didn't it?
naruse (Yui NARUSE)
03:37 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
同じソースでもコンパイルオプションを変えれば異なるバイナリが生成される可能性は十分ありますから、ソースの同一性だけでは判定できない気がします。 mrkn (Kenta Murata)
03:33 PM Bug #5971 (Closed): bigdecimal-1.1.0 が rubygems.org 上に無い
mrkn (Kenta Murata)
03:17 PM Bug #5971: bigdecimal-1.1.0 が rubygems.org 上に無い
ごめんなさい。 mrkn (Kenta Murata)
12:00 PM Feature #5976 (Rejected): abolition of MD5 calculation in pstore.rb
=begin
I suggest abolition of MD5 calculation in pstore.rb.
The present pstore.rb reads the whole detabase file to calculate MD5 digest, and
reads the whole one to Marshal.load again.
I think MD5 calculation in pstore.rb is for avo...
Glass_saga (Masaki Matsushita)
11:13 AM Revision 89a2a105 (git): * error.c (exc_inspect): Fix typo. patch from Trent Ogren
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
10:37 AM Revision 4a43f920 (git): * st.c: refactor packed entries using structs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:27 AM Feature #5974 (Rejected): Access PC_NAME_MAX and PC_PATH_MAX values
Ugh. I didn't know that is the behavior on linux. I agree this would cause confusion, so I will just close it. Thanks for reading! tenderlovemaking (Aaron Patterson)
04:53 AM Feature #5974: Access PC_NAME_MAX and PC_PATH_MAX values
> Hi,
>
> In order to construct file names that don't raise Errno::ENAMETOOLONG, I'd like to be able to access PC_NAME_MAX and PC_PATH_MAX from pathconf given a particular directory object.
>
> I've attached a patch which expose...
kosaki (Motohiro KOSAKI)
04:16 AM Feature #5974 (Rejected): Access PC_NAME_MAX and PC_PATH_MAX values
Hi,
In order to construct file names that don't raise Errno::ENAMETOOLONG, I'd like to be able to access PC_NAME_MAX and PC_PATH_MAX from pathconf given a particular directory object.
I've attached a patch which exposes both of the...
tenderlovemaking (Aaron Patterson)
05:56 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
Tom Wardrop wrote:
> When designing an API, it's rarely a straight-forward process deciding on whether to use a String or Symbol for a particular task - it's not like it's always obvious where a String should be used, and where a Symbol...
kstephens (Kurt Stephens)
05:52 AM Revision cf1a22fd (git): * st.c (st_update): table can be unpacked in the callback.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:46 AM Revision 911e4ee1 (git): * removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:43 AM Revision af01b0fb (git): * ext/-test-/st/numhash/numhash.c (numhash_alloc): free st_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:43 AM Revision 882dda96 (git): * ext/-test-/st/numhash/numhash.c (numhash_alloc): free st_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:29 AM Revision d82aafd1 (git): * 2012-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:29 AM Revision ad40f8a2 (git): * st.c (st_foreach): should not yield same pair when checking
after unpacking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:29 AM Revision 97c3c987 (git): * st.c (st_foreach): should not yield same pair when checking
after unpacking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:27 AM Bug #5829: /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
This isn't a backport request. fix it. kosaki (Motohiro KOSAKI)
05:04 AM Revision bdb4fa70 (git): merge revision(s) 34252:
* lib/tempfile.rb (Tempfile#_close): clear @tempfile and @data[1] even
when exception is raised at @tempfile.close. [ruby-dev:45113]
* lib/tempfile.rb (Tempfile#unlink): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang...
ayumin (Ayumu AIZAWA)
05:02 AM Revision b460f884 (git): merge revision(s) 34253:
* test/ruby/test_io.rb (test_autoclose_true_closed_by_finalizer,
test_autoclose_true_closed_by_finalizer): skip if IO objects are
not recycled yet. [ruby-dev:45098] [Bug #5850]
git-svn-id: svn+ssh://ci.ruby-lang.org...
ayumin (Ayumu AIZAWA)
04:59 AM Revision cb94d9df (git): merge revision(s) 34250:
* gc.c (run_finalizer): clear rb_thread_t::errinfo when ignore
an exception under rb_protect(). [ruby-dev:45113]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
04:56 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
思ったよりもパッチが大きくなったのと元報告者のKishimoto さんからFreeBSDでのフィードバックが得られていないので1.9.3ではrejectにしようかと考えています。ご意見お聞かせください
kosaki (Motohiro KOSAKI)

02/06/2012

08:35 PM Revision 04918f81 (git): merge revision(s) 33567,33573:
* ruby.c (fill_standard_fds): new function to open closed standard
file descriptors.
(ruby_sysinit): call fill_standard_fds.
* ruby.c (fill_standard_fds): use fstat() instead of fcntl(F_GETFD)
for M...
kosaki (Motohiro KOSAKI)
08:19 PM Revision ea0ef6af (git): merge revision(s) r33826:
* io.c (rb_io_fsync,rb_io_fdatasync): release GVL during fsync().
fsync() and fdatasync() may take a long time on slow disks and/or
if there is much dirty data.
Patch by Eric Wong. [Feature #5665] [ruby-core...
kosaki (Motohiro KOSAKI)
08:03 PM Revision 4b295bb7 (git): merge revision(s) r34399:
* vm_eval.c (vm_call0): should pass block to enumerators. patched
by Kazuki Tsujimoto. [ruby-dev:44961][Bug #5731]
* vm_eval.c (method_missing), vm_insnhelper.c (vm_call_method):
ditto. patched by satoshi ...
kosaki (Motohiro KOSAKI)
03:46 PM Bug #5973: Bus Error in simple project requiring YARD
Error message attached ggilder (Gabriel Gilder)
03:45 PM Bug #5973 (Closed): Bus Error in simple project requiring YARD
Hi, I've created a simple sample project that reliably triggers a bus error in Ruby 1.9.2p290 on Mac OS X. It seems to be triggered simply by requiring the YARD gem.
I've posted the sample project to reproduce the error here:
https:/...
ggilder (Gabriel Gilder)
01:23 PM Feature #5959: Addrinfo#inspectname
2012年2月5日23:06 NARUSE, Yui <naruse@airemix.jp>:
>
> 現状では ad hoc にそうやってるんですが、API になっていないと他をいじりづらいんですよね。
> 以下のようなことをやりたいんですが。

これって、前に、net/http に ipaddr: を加えようとした、
[ruby-dev:44368] の再挑戦ですかね。

「他をいじる」というのの「他」があまり明確ではありませんが、...
akr (Akira Tanaka)
12:55 PM Revision b33dc193 (git): * tool/merger.rb: abort if the working directory is dirty.
* tool/merger.rb: update the working directory after commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:53 PM Revision 15090079 (git): merge revision(s) 33886: [Backport #5682]
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
to man pages. Fixes #5598.
(do-install-nodoc, do-install-local, do-install-man,
dont-install-nodoc, dont-install-local, dont-install-man):
...
naruse (Yui NARUSE)
12:32 PM Revision f63222ea (git): merge revision(s) 34232:
------------------------------------------------------------------------
r34232 | naruse | 2012-01-08 08:04:20 +0900 (Sun, 08 Jan 2012) | 2 lines
Cent OS 5.6 (2.6.18-238.19.1.el5xen) doesn't correctly work
sendmsg with pktinfo for link-...
naruse (Yui NARUSE)
12:29 PM Revision 5879bd9c (git): merge revision(s) 34335,34337:
* ext/date/date_parse.c: [ruby-core:42173].
* ext/date/date_strptime.c: moved detector of leftover.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:26 PM Revision 234753ae (git): merge revision(s) 33691,33692:
* io.c (rb_update_max_fd): fstat(2) can fail with other than
EBADF. [ruby-dev:44837] [Backport #4339]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html
EBADF. [ruby-dev:44837] [Bug...
naruse (Yui NARUSE)
12:21 PM Revision d95723ea (git): merge revision(s) 33784:
* test/unit/assertions.rb (MINI_DIR): quick dirty hack to get rid of
warnings when using assert/assert_respond_to.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:12 PM Revision 7e82751c (git): merge revision(s) 34232:
------------------------------------------------------------------------
r34232 | naruse | 2012-01-08 08:04:20 +0900 (Sun, 08 Jan 2012) | 2 lines
Cent OS 5.6 (2.6.18-238.19.1.el5xen) doesn't correctly work
sendmsg with pktinfo for link-...
naruse (Yui NARUSE)
12:11 PM Revision 739b5e1e (git): merge revision(s) 33956,33960,33961,33962:
------------------------------------------------------------------------
r33956 | naruse | 2011-12-06 06:47:16 +0900 (Tue, 06 Dec 2011) | 1 line
Comment out tests which fails with GDBM-DBM compat mode.
----------------------------------...
naruse (Yui NARUSE)
11:38 AM Revision 0e305c5a (git): merge revision(s) 33603: [Backport #5533] [Backport #5911]
* file.c (file_expand_path): reset coderange after expanding path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:35 AM Revision 9104e80b (git): merge revision(s) 34335,34337: [Backport #5907]
* ext/date/date_parse.c: [ruby-core:42173].
* ext/date/date_strptime.c: moved detector of leftover.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:31 AM Revision 401168aa (git): merge revision(s) 34072,34075,34082:
* ext/date/date_core.c: [ruby-dev:45008].
* ext/date/date_core.c (wholenum): fix the type of the return value.
* ext/date/date_core.c: uses to_integer instead.
* test/date/test_switch_hitter.rb: added a test.
...
naruse (Yui NARUSE)
07:39 AM Revision ad837e5a (git): merge rivision(s) 33685:
* win32/win32.c (unixtime_to_filetime): should check the return value
of localtime(). reported by snowjail at gmail.com.
[ruby-dev:44838] [Bug #5596]
[Backport #5596]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_...
U.Nakamura
07:37 AM Revision 25f531a9 (git): merge revision(s) 33691,33692
* io.c (rb_update_max_fd): fstat(2) can fail with other than
EBADF. [ruby-dev:44837] [Bug #5593]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html
[Backport #5593]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
U.Nakamura
07:32 AM Revision a3fcbc97 (git): merge revision(s) 33667:
* io.c (io_fwrite): call rb_w32_write_console() only if FMODE_TTY is
set. this is the one of the reason of IO writing slowness of Windows
in 1.9.3 or later.
[Backport #5592]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru...
U.Nakamura
07:25 AM Revision 3f8c4ba7 (git): merge revision(s) 33603:
* file.c (file_expand_path): reset coderange after expanding path.
[Backport #5601] [Backport #5629]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:17 AM Bug #5968 (Closed): Encoding.compatible? with binary string
This issue was solved with changeset r34433.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd s...
naruse (Yui NARUSE)

02/05/2012

11:50 PM Feature #5903: Optimize st_table (take 2)
Table packing slows down `st_foreach` a bit, and GC suffers from it.
So that I add a `st_foreach_nocheck` to fix GC https://github.com/funny-falcon/ruby/commit/84d08af5d2943c3dd1a1d0c361fa22c2c7ae5ca4
funny_falcon (Yura Sokolov)
11:23 PM Feature #5959: Addrinfo#inspectname
(2012/02/05 21:23), Tanaka Akira wrote:
> 2012年2月2日19:13 NARUSE, Yui <naruse@airemix.jp>:
>
>> なるほど、ならばわたしが欲しいのは「inspectnameの一部」ですね。
>> 削ればいいだけのように聞こえます。
>
> 削ればいいのなら、inspect を使うのはどうでしょうか。
>
> inspectname の安定性は、名前から類推...
naruse (Yui NARUSE)
09:23 PM Feature #5959: Addrinfo#inspectname
2012年2月2日19:13 NARUSE, Yui <naruse@airemix.jp>:

> なるほど、ならばわたしが欲しいのは「inspectnameの一部」ですね。
> 削ればいいだけのように聞こえます。

削ればいいのなら、inspect を使うのはどうでしょうか。

inspectname の安定性は、名前から類推できるように、inspect と同程度の見込みです。
--
[田中 哲][たなか あきら][Tanak...
akr (Akira Tanaka)
10:29 PM Bug #5972 (Closed): OpenSSL::ASN1::GeneralString - double INT2NUM() results in invalid ASN.1 tag
In ext/openssl/ossl_asn1.c, INT2NUM() is being called twice for V_ASN1_GENERALSTRING:
rb_hash_aset(class_tag_map, cASN1GeneralString, INT2NUM(INT2NUM(V_ASN1_GENERALSTRING)));
This causes OpenSSL::ASN1::GeneralString.new to return ...
grawity (Mantas Mikulėnas)
08:25 PM Bug #5971 (Closed): bigdecimal-1.1.0 が rubygems.org 上に無い
標準 gem となっている bigdecimal-1.1.0 が rubygems.org 上にありません。
そのため gem pristine --all コマンドが bigdecimal をリストアできずに失敗してしまいます。
hsbt (Hiroshi SHIBATA)
05:27 PM Feature #5970 (Assigned): Add Enumerable#join with same semantics as Array#join
Currently, to join the elements of an Enumerable, you need to call #to_a on the Enumerable and then #join the result. With Enumerable#join one wouldn’t need need to create an intermediate Array.
now (Nikolai Weibull)
04:52 PM Feature #5964: Make Symbols an Alternate Syntax for Strings
In reply to "Symbols represent concepts, Strings represent data". That's true, and so I agree, but it's also a bit of an ideology. How strings and symbol's are used in actual code (i.e. open-source ruby libraries), does not always reflec... wardrop (Tom Wardrop)
03:25 PM Feature #5964: Make Symbols an Alternate Syntax for Strings
Joshua Ballanco wrote:
> But leaving all of that aside, you have to consider that Symbols are *never* collected. This is required for their semantics.
True, CRuby Symbols are not collected. However, in general, this is not required...
kstephens (Kurt Stephens)
03:17 PM Revision 730d3c56 (git): * 2012-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision b346d7a6 (git): * encoding.c (rb_enc_compatible): return ASCII-8BIT even if 2nd string
is ascii only string. [ruby-core:42354] [Bug #5968]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:06 PM Revision 63da304f (git): merge revision(s) 34306:
* ext/json/parser/parser.rl (json_string_unescape): workaround fix
for over optimization of GCC 4.7. [ruby-core:42085] [Bug #5888]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51862
git-svn-id: svn+ssh://ci.ruby-lang...
naruse (Yui NARUSE)
08:28 AM Bug #5968 (Closed): Encoding.compatible? with binary string
=begin
According to #5920:
The original meaning of Encoding.compatible?(str1, str2) is the encoding of concatenated string.
In other codes, it is
str = str1.dup.concat str2
str.encoding <- this!
But observe:
a = ...
john_firebaugh (John Firebaugh)
03:27 AM Revision 84a48ac7 (git): * 2012-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 AM Revision b657c159 (git): merges r32349 from trunk into ruby_1_9_2.
--
* string.c (tr_trans): free heap ptr when the str is not embeded.
patched by Eric Wong. [Bug #4956] [ruby-core:37708]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:27 AM Revision 83b5388b (git): merges r32347 from trunk into ruby_1_9_2.
--
* vm_insnhelper.c (vm_getivar): check vm state version
to invalidate inline chache (ivar index).
fixes Bug #4926.
* vm_insnhelper.c (vm_setivar): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@34429 b2dd03...
yugui (Yuki Sonoda)

02/04/2012

02:54 PM Feature #5767: Cache expanded_load_path to reduce startup time
https://gist.github.com/1688857
Most of success of that gist is cause of this issue.
Cites from comments:
Thanks for sharing that. Indeed the speed increase is quite impressive! I've tested the time it take to run some rspec test ...
funny_falcon (Yura Sokolov)
02:25 PM Bug #5966 (Closed): ->{} doesn't work in BasicObject
=begin
$ ./ruby -ve 'BasicObject.new.instance_eval { ->{} }'
ruby 2.0.0dev (2012-02-03 trunk 34424) [x86_64-linux]
-e:1:in `block in <main>': undefined method `lambda' for #<BasicObject:0x007ffff847ef28> (NoMethodError)
f...
ktsj (Kazuki Tsujimoto)
01:12 PM Revision 546eeb5f (git): * 2012-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:12 PM Revision 40f4c929 (git): add ML ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:06 PM Feature #5964: Make Symbols an Alternate Syntax for Strings
It is better to think of Symbols as numbers with labels attached, rather than Strings with slightly different semantics. "String.to_sym" is the equivalent of looking in a hash table of these labeled numbers for one with a label that matc... jballanc (Joshua Ballanco)
10:34 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
I do agree. If String and Symbol were still semantically different (you could have a #sym? method), but they behaved the same (Symbol had all the string methods and was comparable to strings), then it would alleviate a lot of the issues.... wardrop (Tom Wardrop)
02:39 AM Feature #5964: Make Symbols an Alternate Syntax for Strings
If I recall, this was tried for stint early in 1.9 development, but ultimately didn't work out --though I never caught the reason why.
Honestly, I think most all the trouble comes from the simple fact that a String and Symbol are not...
trans (Thomas Sawyer)
 

Also available in: Atom