Activity
From 02/28/2011 to 03/06/2011
03/06/2011
-
11:39 PM Revision bb9a0552 (git): * ext/date/date_core.c (DateTimeData): should not use bare 'long long'
- and 'long double', which are not defined by C89.
* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
down double to integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:38 PM Revision 35c9d383 (git): fix of ext/date/date_core.
- * ext/date/date_core.c (DateTimeData): should not use bare 'long long'
and 'long double', which are not defined by C89.
* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
down double to integer.
git-svn-id: svn+s... -
10:58 PM Bug #4463 (Closed): [PATCH] release GVL for fcntl() for operations that may block
- =begin
=end
-
10:55 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
- =begin
sora_hです。
一応これをバグを見て、nested transaction例外を発生しないようにする変更とテストを追加するパッチを
書いてみました。どうでしょうか。 (添付します)
また、サンプルコードは例外が発生しないときいつまでも終わらないため、すこし手を加えました。
一応パッチをあてると !thread_safe なときには例外が発生し、test_pstoreもpassします。
require 'pstore'
... -
10:23 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
- =begin
sora_hです。
rdocはこうなっていますが...
> # PStore objects are always reentrant. But if _thread_safe_ is set to true,
> # then it will become thread-safe at the cost of a minor performance hit.
スレッドセーフになるとどうなるのかという仕様が良くわから... -
10:23 PM Bug #4474: 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
- =begin
sora_hです。
rdocはこうなっていますが...
> # PStore objects are always reentrant. But if _thread_safe_ is set to true,
> # then it will become thread-safe at the cost of a minor performance hit.
スレッドセーフになるとどうなるのかという仕様が良くわから... -
09:54 PM Bug #4474 (Closed): 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動
- =begin
PStoreは、initializeの第2引数thread_safeが真であればデータベースの読み書きをMutexで同期するようになっています。
しかし、次のコード
require 'pstore'
require 'thread'
pstore = PStore.new("foo", true)
q = Queue.new
Thread.start do
pstore.transaction do
pstore[:... -
10:48 PM Feature #4475 (Closed): default variable name for parameter
- =begin
There is a very common pattern in Ruby:
object.method do |variable_name|
variable_name doing something
end
Many times in fact the name of the object is so self explanatory that we don't care about the name of the... -
09:51 PM Bug #4471 (Closed): sample list.rb generates warnings
- =begin
Good catch! this is fixed by r31032.
Thank you!
=end
-
11:05 AM Bug #4471 (Closed): sample list.rb generates warnings
- =begin
Running the file sample/list.rb using ruby -W2 generates warnings. I think sample code should not generate warnings, because samples should be examples of good code, not examples of bad code.
I don't mind if it's fixed by impro... -
06:08 PM Feature #1047: request: getters, setters for the GC
- =begin
Sorry for double post :(
=end
-
06:07 PM Feature #1047: request: getters, setters for the GC
- =begin
I adapt `1047.patch` to be applied after `patch-1.9.2-gc.patch` .
Changes:
* renamed `GC.heap_slots` and `GC.heap_slots=` to `GC.heap_min_slots` and `GC.heap_min_slots=`
* add `GC.free_min` and `GC.free_min=`
=end
-
04:38 PM Feature #1047: request: getters, setters for the GC
- =begin
May be we could accept method from railsbench - setting such variables from environment?
It is up to system administrator running ruby server to set them to adequate value.
This approach works well for REE.
Attached patch a... -
04:40 PM Bug #4473: Calling return within begin still executes else
- =begin
The code didn't paste so well so I'm attaching the source code
=end
-
04:37 PM Bug #4473 (Closed): Calling return within begin still executes else
- =begin
I see this issue in 1.9.2-p0 through the current version 1.9.2-p136 on Mac OS X. The following code prints 'else executed'. Whereas in Ruby 1.8.x it would not execute the else statement if you called return from within a begin bl... - 03:26 PM Revision 29246c34 (git): * 2011-03-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision c6bb8beb (git): * process.c (proc_getgroups): get rid of maxgroups dependency.
- ngroups can be calculated dynamically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Revision b1329e3b (git): * configure.in: rlim_t use standard RUBY_REPLACE_TYPE mechanism.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 PM Revision beed9717 (git): * process.c (proc_setmaxgroups): added negative value check.
- This was suggested by Daniel Berger. Thanks Daniel!
[ruby-core:35426][Bug#4467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:21 PM Revision aca674c2 (git): * process.c (maxgroups, proc_setmaxgroups): increase max groups
- limitation up to 65536.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:21 PM Revision dd9f5e87 (git): * ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 PM Revision 97f07f09 (git): * sample/list.rb (MyElem#initialize): initialize @head
- explicitely. Otherwise -W2 option makes following warning.
"warning: instance variable @head not initialized".
This issue was founded by Andrew Grimm. Thanks Andrew!
[ruby-core:35435][Bug#4471]
git-svn-id: svn+ssh://ci.ruby-lang... -
11:46 AM Bug #4472 (Third Party's Issue): mongrel on Windows XP
- OUTPUT FROM COMMAND.COM DOS BOX
C:\Ruby>mongrel_rails start -d
C:/Ruby/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/http11.so: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
-- control frame --------... -
09:23 AM Feature #4468: String() should call to_str before to_s
- =begin
まつもと ゆきひろです
まあここだけ違っているメリットもさほどないようですから、変更
しても良いのではないでしょうか。
In message "Re: [ruby-dev:43306] [Ruby 1.9 - Feature #4468][Open] String() should call to_str before to_s"
on Sat, 5 Mar 2011 21:43:18 +0900, Tomoyuki ... -
09:23 AM Feature #4468: String() should call to_str before to_s
- =begin
まつもと ゆきひろです
まあここだけ違っているメリットもさほどないようですから、変更
しても良いのではないでしょうか。
In message "Re: [ruby-dev:43306] [Ruby 1.9 - Feature #4468][Open] String() should call to_str before to_s"
on Sat, 5 Mar 2011 21:43:18 +0900, Tomoyuki ... -
05:18 AM Feature #4468 (Assigned): String() should call to_str before to_s
- =begin
=end
-
07:20 AM Bug #3150: net/https peer verification doesn't do anything
- =begin
http://www.afp548.com/article.php?story=20091007164413755 (Thanks for finding this, Eric: https://twitter.com/#!/drbrain/status/43788281007194112)
Apple looks to ship customized OpenSSL which integrates trusted root certificates ... -
05:26 AM Bug #4453 (Assigned): Overriding #to_s changes #inspect
- =begin
=end
-
05:25 AM Bug #4469 (Closed): Documentation code examples contain camelCase method names
- =begin
=end
03/05/2011
-
10:05 PM Feature #4468: String() should call to_str before to_s
- =begin
パッチを貼り忘れていました。このようになるかと思います。
diff --git a/object.c b/object.c
index b25c0af..fad726c 100644
--- a/object.c
+++ b/object.c
@@ -2360,7 +2360,10 @@ rb_num2dbl(VALUE val)
VALUE
rb_String(VALUE val)
{
- return... -
09:43 PM Feature #4468 (Closed): String() should call to_str before to_s
- =begin
Integer() と Array() というカーネルメソッドはまず to_int/to_ary という
「暗黙の変換」のためのメソッドを呼び、それが失敗すると to_i/to_a を
呼んで変換するという仕様になっています。
しかし String() は最初から to_s を呼ぶようになっています。
統一感という意味ではまず to_str -> to_s の順に呼ぶことにしたほうが
良いのではないでしょうか。
to_str と to_s ... -
09:53 PM Bug #4469 (Closed): Documentation code examples contain camelCase method names
- =begin
Some code examples in documentation contain (({camelCase})) method names, rather than (({snake_case})).
The documentation should use (({snake_case})) so that new Rubyists know the conventional style.
A patch fixing the issue... -
08:25 PM Revision 18f4f088 (git): * class.c: fix camelCase to snake_case in documentation code examples.
- patched by Andrew Grimm. fixes Bug #4469
* marshal.c: ditto.
* proc.c: ditto.
* sample/biorhythm.rb: ditto.
* vm_eval.c: ditto.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31031 b2dd03c8-39d4-4d8f-98ff-8... -
07:23 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Umm..
> I don't like its interface so much. your flock object don't mange any lock
> state. it's merely wrapper of argument of fcntl. your interface mean we need
> two ... -
06:23 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Hi
>> I've commited slightly modified version today (r31025).
>> The difference is,
>>
>> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because,
>> Â Â A) if a user are using network filesystem, almo... -
02:24 AM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
> I've commited slightly modified version today (r31025).
> The difference is,
>
> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because... -
02:24 AM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Hi
2011/3/3 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> Issue #4463 has been reported by Eric Wong.
>>
>> ----------------------------------------
>> Bug #4463: [PATCH] release GVL for fcntl() for operations that... - 06:23 PM Revision 7f1362a8 (git): * 2011-03-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:23 PM Revision b2a8d109 (git): * io.c (io_cntl): use rb_thread_io_blocking_region() instead
- rb_thread_blocking_region().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 PM Revision eaf08203 (git): * include/ruby/intern.h: fix a typo of prototype declaration.
- rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:45 AM Revision a474b0e3 (git): * test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:45 AM Bug #4465 (Closed): [PATCH] configure.in: fix warnflags being empty
- =begin
My fault. It is fixed by r31022.
=end
03/04/2011
-
11:37 PM Bug #4466 (Closed): test_should_run_all_without_any_leaks somtimes fails
- =begin
It seems fixed at r31023 (committed by nagachika).
Closing.
=end
-
02:57 PM Bug #4466 (Assigned): test_should_run_all_without_any_leaks somtimes fails
- =begin
sora_hです。
なるほど。それコミットしてしまって良いです。
パッチを感謝します。 :)
--sora_h
=end
-
02:28 PM Bug #4466 (Closed): test_should_run_all_without_any_leaks somtimes fails
- =begin
Linux 上で test/testunit/test_parallel.rb が時々以下の Failure になります。
3) Failure:
test_should_run_all_without_any_leaks(TestParallel::TestParallel) [/opt/ruby-trunk/src/ruby-trunk/test/testunit/test_parallel.rb:156]:
Expected /^\.... - 04:38 PM Revision b110abbe (git): * 2011-03-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:38 PM Revision c0359f81 (git): * io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()
- release GVL during calling kernel interface.
Suggested by Eric Wong. [ruby-core:35417][Bug #4463]
* test/ruby/test_io.rb (TestIO#test_fcntl_lock): add new test for
IO.fcntl().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@310... -
02:28 PM Revision 1d6bd86a (git): * .gitignore: ignore ext/date and ext/-test-/*/*.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:20 PM Revision 118a5bcf (git): * test/testunit/test_parallel.rb
- (test_should_run_all_without_any_leaks): consider that the order of
testcase could change. [ruby-dev:43300] [Bug #4466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:02 PM Revision ff077097 (git): * io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need to
- be passed int.
* io.c (rb_io_ctl): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:16 PM Revision 62374161 (git): * configure.in: save warnflags. the patch is created by Eric Wong.
- [Bug #4465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Feature #4464: [PATCH] add Fcntl::Flock object for easier use of POSIX file locks
- =begin
updated patch to fix signedness warnings since I fixed warnflags with 4465
=end
-
04:42 AM Feature #4464 (Assigned): [PATCH] add Fcntl::Flock object for easier use of POSIX file locks
- =begin
This is a subclass of String so it is compatible with
IO#fcntl without needing to modify io.c for systems
that don't have POSIX file locks.
=end
-
07:01 AM Bug #4465 (Closed): [PATCH] configure.in: fix warnflags being empty
- =begin
Without this, all the warning flags were disabled on my system
=end
-
12:23 AM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
> Issue #4463 has been reported by Eric Wong.
>
> ----------------------------------------
> Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
> http://redmine.ruby-lang.org/issues/4463
>
> Auth...
03/03/2011
-
10:18 PM Revision 27bb573c (git): * ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:26 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
ささだです.
(2011/03/03 19:12), U.Nakamura wrote:
> ささださんもいたはずの、RubyKaigi 2010の開発者ミーティングで
> 出てましたよ。
> 議事録には Before Jul, 2011 (RubyKaigi? RubyConf?) と書いてあ
> りますね。
>
> とりあえずの目標みたいなもんで、決定事項ではなかったと記憶し
> ています。
なる... -
08:26 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
ささだです.
(2011/03/03 19:12), U.Nakamura wrote:
> ささださんもいたはずの、RubyKaigi 2010の開発者ミーティングで
> 出てましたよ。
> 議事録には Before Jul, 2011 (RubyKaigi? RubyConf?) と書いてあ
> りますね。
>
> とりあえずの目標みたいなもんで、決定事項ではなかったと記憶し
> ています。
なる... -
07:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:43297] Re: [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv"
on Mar.03,2011 18:59:49, <ko1@atdot.net> wrote:
> (2011/03/03 18:5... -
07:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
こんにちは、なかむら(う)です。
In message "[ruby-dev:43297] Re: [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv"
on Mar.03,2011 18:59:49, <ko1@atdot.net> wrote:
> (2011/03/03 18:5... -
07:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
(2011/03/03 18:56), Yui NARUSE wrote:
> で、1.9.3 のリリースは次の RubyKaigi (7/16-18) までに出したいような事を以前 yugui さんはおっしゃってました。
初耳なのですが(いや,どっかで見たかも),決定事項でしょうか.
--
// SASADA Koichi at atdot dot net
=end
-
07:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
- =begin
(2011/03/03 18:56), Yui NARUSE wrote:
> で、1.9.3 のリリースは次の RubyKaigi (7/16-18) までに出したいような事を以前 yugui さんはおっしゃってました。
初耳なのですが(いや,どっかで見たかも),決定事項でしょうか.
--
// SASADA Koichi at atdot dot net
=end
-
06:56 PM Bug #3990 (Assigned): tests of rexml/rss reports many errors and failures without iconv
- =begin
> なので、時間がないということであれば、巻き戻すということでOK
> ...
とりあえずrevertしておきました。
> まだ#encodingはEncodingを返すのでOKだと思っているのですが
REXML::XMLDecl#encoding が一体何を保持するものなのかって話ですよね、結局のところ。
> ...
まず前提として、フリーズはリリースの3ヶ月程度前になります (仕様フリーズとコードフリーズで違いますが、まぁこれは仕様... -
06:58 PM Bug #4463 (Closed): [PATCH] release GVL for fcntl() for operations that may block
- =begin
Users of F_SETLKW may block the entire VM via IO#fcntl,
release the GVL so other operations may continue.
=end
-
05:54 PM Bug #4456 (Closed): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- =begin
已应用到变更列表 r31011.
=end
-
02:24 PM Bug #4456 (Open): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- =begin
trunkからビルドする場合、make upしないとrevision.hが更新されないのでリビジョンが入りませんね。
さておき、feedbackにする前に手元で再現するかは見てもいんじゃないですか。
多分ポータブルに発生すると思うのでOpenに戻します。
=end
- 03:22 PM Revision d0403176 (git): * 2011-03-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision 2adbf720 (git): * golf_prelude.rb (Symbol#call): new method.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:13 PM Revision 4f8f4a9e (git): * process.c (check_exec_redirect_fd, check_exec_redirect): raise
- ArgumentError if fd >= 3 on Windows because the feature is not
supported.
* test/ruby/test_process.rb (test_execopts_redirect): remove meaningless
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31017 b2dd03c8-39d4-4d8... - 12:23 PM Revision 0ebf5206 (git): * test/ruby/test_process.rb (test_execopts_redirect): redirecting fd
- >= 3 is not supported on Windows, so should not specify such options
when calling spawn or others.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:32 AM Bug #4444: Windowsプラットフォームでtest_parallel.rbがエラー
- =begin
追記です。
test_parallel.rbはWindowsで無効化しました。今言ったのは普通に-j4などでtest-allをした場合の挙動です。
=end
-
10:31 AM Bug #4444: Windowsプラットフォームでtest_parallel.rbがエラー
- =begin
とりあえずある程度動作はまともになった気がしますがまだ一部テストで刺さります。
で、自分のWindowsが入ったマシン (MacBook)のHDDが死にそうな感じなのでテストが厳しくなってきました。
git diffがエラーを吐いたりする程度に一部ファイルが壊れてる感じです。
誰か協力してくれると助かります。
=end
-
09:59 AM Revision 1890364e (git): * string.c (rb_str_slice_bang): raise error when the string is frozen.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:53 AM Revision b49993b7 (git): incompatibility arround REXML is reverted in r31008. ref #3990
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:11 AM Revision 03373b29 (git): * array.c (rb_ary_collect), enum.c (enum_collect): Add
- compatibility warnings for a call without a block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:10 AM Revision 3f25c5b3 (git): Looks like RUBY_PATCHLEVEL was accidentally bumped to 1 in r30302. Fix it.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:16 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- open-uri.rbのproxy auth周りのAPIがイケてない、少なくとも覚えられない、というのも関係していると思います。
汎用的に書こうとするとこんな感じ。
https://github.com/nahi/odrk-http-client/blob/master/sample/sample_open-uri.rb
one-linerで思い出しつつ書くのも至難の業でしょう。田中さんとしてはこれも意図的ですかね?
アクセス先フィルタリングと利用記録のため... -
05:28 AM Revision 7bb73a08 (git): * strftime.c (STRFTIME): return 0 and ERANGE when precision is too
- large. [ruby-dev:43284] fixes #4456
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:11 AM Bug #4460: Date.commercial date calculations don't match strftime output
- =begin
Hmm the pieces of code got printed on one line, I'll try again.
* The today example:
Date.today.strftime('%W') => "09"
Date.commercial(2011,9,1) => Mon, 28 Feb 2011
Date.today.at_beginning_of_week => Mon, 28 Feb 2011
*The 2 y... -
01:09 AM Bug #4460 (Rejected): Date.commercial date calculations don't match strftime output
- =begin
When retrieving the date for a week number using Date.commercial, the output sometimes differs from what you expect when looking at strftime. In my opinion, the following should always be true:
(({Date.commercial(year, week, d...
03/02/2011
-
09:56 PM Bug #4388 (Rejected): open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
-
08:47 PM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- =begin
もう説得の材料が思いつかないのであきらめます。チケットもクローズしてください。
=end
-
09:26 PM Feature #4391: date/delta tests
- =begin
i'm planning to remove this undocumented feature.
i once tried to remove this experimental feature.
because, i felt i could not assign my time enough.
in fact, i removed this.
however, it reverted.
because, we were already in... -
09:02 PM Feature #4068 (Rejected): Replace current standard Date/DateTime library with home_run
- =begin
=end
-
09:01 PM Feature #4257 (Closed): switch_hitter - an acceleration of date library
- =begin
=end
-
08:42 PM Bug #4451: Date#step does not raise ArgumentError for 0 step
- =begin
you are not right.
the intention of comment outed code is different.
i have a doubt about Numeric's one.
firstly, i think the current behaviour of date's one is not wrong.
however, i believe it should raise error soon if it ... -
08:30 PM Bug #4454 (Closed): Fails test by ext/date
- =begin
=end
-
08:29 PM Feature #4452 (Rejected): Speedup Date._parse and Date._strptime by using a plain Hash
- =begin
now i'm planning some improvements for formating method of date.
i may rewrite some methods in c.
thanks.
=end
-
08:04 PM Bug #4458 (Closed): Time#strftime で %z 指定子での結果への空白を詰めかたが正しくない
- =begin
$ ruby -e "p Time.now.strftime('%_10z')"
"+ 900"
=end
-
07:59 PM Bug #4456 (Feedback): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- =begin
ruby -vからリビジョン番号が消えているような気がします。
See Also http://redmine.ruby-lang.org/projects/ruby/wiki/HowToReportJa
=end
-
07:52 PM Bug #4456 (Closed): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
- =begin
$ ruby -e "Time.now.strftime('%100000F')"
-e:1: [BUG] Segmentation fault
ruby 1.9.3dev (2011-03-02) [i686-linux]
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0010 b:0010... -
07:57 PM Bug #4457 (Closed): Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
- =begin
大きな幅を指定すると結果が空になる事があります。
$ ruby -e "p Time.now.strftime('%100000z')"
""
$ ruby -e "p Time.now.strftime('%10z')"
"+000000900"
=end
-
04:14 PM Revision 6a288dea (git): * addr2line.c (uleb128): cast the value to unsigned long.
- * addr2line.c (fill_lines): print error when lseek fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:51 PM Revision 613861d6 (git): * 2011-03-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 PM Revision f25ff846 (git): * lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encoding
- a String which means the name of the encoding.
this partially revert r29646.
* lib/rexml/document.rb: follow above.
* lib/rexml/output.rb: ditto.
* lib/rexml/parsers/baseparser.rb: ditto.
* lib/rexml/source.rb: ditto.
* lib/rexml/... -
02:20 PM Revision cddcffb8 (git): * string.c (str_byte_substr): return nil for negative length.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:15 PM Revision e1e8297a (git): * ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:30 AM Bug #1883: REXML hash sometimes computes a value that is too large
- =begin
I believe this patch was backported to ruby 1.8... so shouldn't this ticket be closed?
=end
-
05:29 AM Revision 31fcc223 (git): * lib/test/unit/parallel.rb: Fix name from `inclement_io` to
- `increment_io`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:09 AM Revision a991a12c (git): * string.c (rb_str_slice_bang): move treatments which is only needed
- when the result is not nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:06 AM Revision 7fd10596 (git): * 2011-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 AM Revision 888362cc (git): * test/testunit/test_parallel.rb(TestParallel#spawn_runner):
- Fix outputing empty line in running test.
* test/testunit/tests_for_parallel/test_third.rb: Remove `sleep`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/01/2011
-
11:12 PM Bug #4455 (Closed): rubygem's test fails when source directory and build directory differ
- =begin
In lib/rubygems/test_case.rb, it sets @project_dir as Dir.pwd.
But the use cases of @project_dir are both top of source and build directory.
It breaks when they differ.
This happens when:
cd $HOME
mkdir bin-ruby
sv... -
09:13 PM Bug #4396 (Rejected): windows commands starting with "@" should run at all even though command string is quoted by `"'.
- =begin
I tried to change this behavir by r30987. but it made a regression.
example, r30987 broke test_process.rb#test_popen_shell(). because
IO.popen(%[#{bat.dump} "foo 'bar'"]) pass a follwoing string to cmd.exe.
"path with sp... -
01:34 PM Bug #4454 (Closed): Fails test by ext/date
- =begin
ext/date 導入以降、以下の2テストが失敗します。
2) Failure:
test_sub(TestDate) [/home/chkbuild/build/ruby-trunk/20110228T230101Z/ruby/test/date/test_date.rb:44]:
<"#<DateSub: -4712-01-01 (-1/2,0,2299161)>"> expected but was
<"#<DateSub[R]:... -
01:29 PM Revision 66541b9a (git): * ext/openssl/ossl_pkey.h: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 PM Revision 39f90db9 (git): * lib/test/unit/parallel.rb: Fix number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:54 PM Revision 0a944298 (git): * lib/test/unit/parallel.rb: For Windows.
- * test/testunit/test_parallel.rb(TestParallelWorker#test_quit_in_test):
Fix for above specification change.
* test/testunit/test_parallel.rb(TestParallel#spawn_runner):
Fix outputing empty line in running test.
git-svn-id: svn+ssh:/... -
11:56 AM Revision af3e3615 (git): * test/ruby/test_system.rb (TestSystem#test_system_at):
- remove tests for [bug#4396]. because we decided to reject this
ticket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Bug #4453: Overriding #to_s changes #inspect
- =begin
I'm so sorry! I copy the report from my notepad. I don't know why the text formatting get so messy.
so I upload the report txt...
=end
-
11:47 AM Bug #4453: Overriding #to_s changes #inspect
- =begin
My Ruby is: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
sample codes 1:
class Foo # subclass of Object, inherits #inspect and #to_s
def initialize(bar,baz)
@bar, @baz = bar, baz
end
end
obj = Foo.new(:cat, :dog... -
11:44 AM Bug #4453 (Closed): Overriding #to_s changes #inspect
- # My Ruby is: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
# sample codes 1:
class Foo # subclass of Object, inherits #inspect and #to_s
def initialize(bar,baz)
@bar, @baz = bar, baz
end
end
obj = Foo.new(:cat, :dog)
... - 10:48 AM Revision b8bc6811 (git): * test/date/{test_date.rb,test_date_attr.rb}: [ruby-dev:43280]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:46 AM Feature #4452: Speedup Date._parse and Date._strptime by using a plain Hash
- =begin
The patch in #3667 pretty much applies except for the first hunk, so here's an updated patch against trunk.
=end
-
10:43 AM Feature #4452 (Rejected): Speedup Date._parse and Date._strptime by using a plain Hash
- =begin
This is pretty much a duplicate of #3667, but since you can't reopen tickets and I didn't get a response to the question I posted after it was closed, I'm resubmitting it.
Date._parse and Date._strptime currently use a Date::Fo... - 09:41 AM Revision 25a9b62d (git): Import rubygems 1.6.0 (released version @ 58d8a0b9)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:24 AM Bug #4426: rubygems/test_gem_gemcutter_utilities.rb fails
- =begin
This patch is in RubyGems trunk. It will be applied to ruby when 1.6 is released (today or tomorrow).
=end
-
08:07 AM Bug #4451 (Rejected): Date#step does not raise ArgumentError for 0 step
- =begin
Numeric#step:
$ ruby -e '1.step(2, 0){}'
-e:1:in `step': step can't be 0 (ArgumentError)
from -e:1:in `<main>'
Range#step:
$ ruby -r date -e '(0..1).step(0){}'
-e:1:in `step': step can't be 0 (ArgumentError)
... -
07:56 AM Feature #4423: [ext/openssl] Allow encryption for PEM-encoding Elliptic Curve private keys
- =begin
Added support for PEM decryption in EC#initialize,
to be consistent with DSA and RSA.
Regards,
Martin
=end
- 07:23 AM Revision 86bb0af7 (git): * win32/win32.c: revert r30987 because it causes some failures in
- test-all, especially webrick.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:02 AM Revision 6016591e (git): * string.c (rb_str_byteslice): the resulted encoding should keep
- original encoding. this also fixes the encoding when the result
shares internal string. [ruby-core:35376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:14 AM Bug #4405: WIN32OLE & Threads incompatible
- =begin
Charles Nutter wrote:
> Is it possible for you to try this with JRuby + jruby-win32ole gem? If it works, then what we did might help MRI.
Appears to work well with jruby 1.6.0.RC2 (ruby 1.8.7 patchlevel 330) & jruby-win32ole ... -
03:12 AM Bug #4405: WIN32OLE & Threads incompatible
- =begin
JRuby's implementation should be prone to the same problems when accessing an STA service from multiple threads. The fact that it works should probably be considered luck more than anything. I agree with the original reporters s... - 04:40 AM Revision f83651ac (git): * ext/bigdecimal/bigdecimal.c (VpMemAlloc): CVE-2011-0188.
- Fixes a bug reported by Drew Yao <ayao at apple.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:28 AM Revision d301b4d8 (git): Fix rdoc of String#byteslice. Feature #4447
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 AM Feature #4447: add String#byteslice() method
- =begin
JRuby bug added: http://jira.codehaus.org/browse/JRUBY-5547
=end
-
12:23 AM Feature #4447: add String#byteslice() method
- =begin
Hi,
OK, please commit it to the trunk.
matz.
In message "Re: [ruby-core:35392] [Ruby 1.9 - Feature #4447] [Assigned] add String#byteslice() method"
on Mon, 28 Feb 2011 15:42:55 +0900, Yui NARUSE <redmi... -
01:35 AM Revision b8b48f9d (git): * string.c (rb_str_byteslice): Add String#byteslice. [ruby-core:35376]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/28/2011
-
11:42 PM Bug #3972: r28668 breaks test/unit when combined with the testing rake task
- =begin
Thank you for your reviewing. :)
I'll check in it by myself after check test.
=end
-
11:23 PM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- =begin
2011年2月17日16:13 よしだあつし <rudeboyjet@gmail.com>:
> ただ私が問題だと思ったのはcurlやwgetでは受け入れられているものが
> 「何も言わずに無視される」点です。
> 無視するにしてもせめてwarningを出すということは無理なのでしょうか?
穏やかに移行するには警告は邪魔なんじゃないですかねぇ。
--
[田中 哲][たなか あきら][Tanaka Akira]
=end
-
11:19 PM Bug #4449 (Closed): Bug in String#tr
- =begin
fix in r30977.
thank you for reporting.
=end
-
03:42 PM Feature #4447 (Assigned): add String#byteslice() method
- =begin
This request sounds reasonable.
A patch is following:
diff --git a/string.c b/string.c
index 23784ab..cea9028 100644
--- a/string.c
+++ b/string.c
@@ -3987,6 +3987,95 @@ rb_str_setbyte(VALUE str, VALUE index, VALUE va... - 03:15 PM Revision af4d75f9 (git): * 2011-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 PM Revision e59654c2 (git): * include/ruby/win32.h: define WIN32 if neither _WIN64 nor WIN32 defined. it forces to use push/pop for pack(4) pragma.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:56 PM Revision 66783371 (git): * test/testunit/test_rake_integration.rb (test_with_rake_runner):
- use assert_in_out_err for suppress messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 4a57c5e7 (git): * win32/win32.c (rb_w32_spawn): use shell if a commandline contain
- double-quote character.
* win32/win32.c (is_internal_cmd): similar, use shell if a commandline
contain caret character.
* test/ruby/test_system.rb (TestSystem#test_system_at): fix
wrong test case. if system() invoke a command by usi... -
01:11 PM Bug #4426: rubygems/test_gem_gemcutter_utilities.rb fails
- =begin
diff --git a/test/rubygems/test_gem_gemcutter_utilities.rb b/test/rubygems/test_gem_gemcutter_utilitindex 79d1e6c..4c98e69 100644
--- a/test/rubygems/test_gem_gemcutter_utilities.rb
+++ b/test/rubygems/test_gem_gemcutter_utilities... -
10:26 AM Revision 2755f11f (git): * version.h: test commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Revision d4880792 (git): * version.h: test commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:37 AM Revision c1f40091 (git): * ext/openssl/ossl_pkcs7.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:34 AM Revision 92905e83 (git): * version.h: test commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 AM Revision 32424ea2 (git): * test commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:20 AM Revision 9eaa1e51 (git): * test commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:17 AM Revision a35e9a28 (git): * test commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:57 AM Revision 9ead3178 (git): * test commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:49 AM Revision c0c182bf (git): * ext/openssl/ossl_pkcs12.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:46 AM Revision 4960e66a (git): * string.c (tr_trans): when the hash for multibyte repl is empty,
- tr is inverse mode, and a character doesn't much the table, the
character should be replaced by last replacement. Bug #4449
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Revision 3fec2bee (git): * ext/openssl/ossl_ocsp.c: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:16 AM Revision b38b8370 (git): * lib/tempfile.rb: Fix example file paths in docs for tempfile.
- https://github.com/ruby/ruby/pull/5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:59 AM Revision 1c4c00a3 (git): * ext/openssl/ossl_cipher.c (ossl_cipher_init): typo fix.
- https://github.com/ruby/ruby/pull/8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:28 AM Revision 5d881f0f (git): * ext/date/date_core.c (datetime_s_now): localtime() and localtime_r()
- required time_t pointer as 1st parameter, and tv_sec member of struct
timeval is long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 AM Revision 18c34c6c (git): * test/testunit/test_parallel.rb: Temporally disable test on Windows.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
- =begin
Not sure why this is being rejected all the time. This seems to be a genuine issue. I found nothing but spammy bot sites copying the same post from mailing lists all over while searching this issue on Google.
Anyway, for anyone...