Activity
From 08/04/2011 to 08/10/2011
08/10/2011
-
11:23 PM Feature #5056: About 1.9 EOL
- Hi,
In message "Re: [ruby-core:38900] [Ruby 1.9 - Feature #5056] About 1.9 EOL"
on Wed, 10 Aug 2011 22:42:59 +0900, Shota Fukumori <sorah@tubusu.net> writes:
|Matz, do you have schedule in your mind?
|If you have, plea... -
10:42 PM Feature #5056: About 1.9 EOL
- Hi,
I think we should decide about version changing,
so we should ask Matz's schedule in his mind.
Matz, do you have schedule in your mind?
If you have, please let us know :-)
Thanks,
Shota Fukumori -
10:52 PM Feature #5182 (Closed): [PATCH] Update Socket doc
- [ancdata.c, basicsocket.c, init.c, ipsocket.c, mkconstant.rb, option.c, raddrinfo.c, socket.c, tcpserver.c, tcpsocket.c, udpsocket.c, unixserver.c, unixsocket.c] Make class documentation appear in rdoc by moving then in front of r...
-
10:48 PM Bug #5175: Ruby1.9.2p290 MySQLアクセスエラー
- dbi_mysql_connect2.rb は何者ですか?
-
10:21 PM Feature #5101 (Closed): allow optional timeout for TCPSocket.new
-
09:55 PM Feature #5101: allow optional timeout for TCPSocket.new
- I updated the patch for document and argument checking.
I'll commit it later. -
07:51 PM Feature #5174: Export ruby_init_prelude()
- That would be really helpful! I know that ruby wasn't meant for embedding, but it makes life easier for embedders with just minor changes.
-
07:36 PM Feature #4512: [PATCH] ext/fcntl/fcntl.c: add F_DUPFD_CLOEXEC constant
- I'm waiting the discussion of #5041.
-
07:35 PM Bug #5178 (Closed): Complex#rationalize should rationalize
- This issue was solved with changeset r32903.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* complex.c (nucomp_rationalize): calls rationalize of real... -
10:39 AM Bug #5178 (Closed): Complex#rationalize should rationalize
- Complex#rationalize currently calls `to_r` on the real part instead of `rationalize`:
f = 1/3.0
c = Complex(f)
c.to_r == f.to_r # => true
c.rationalize == f.rationalize # => false
Should I not commit this... -
07:20 PM Bug #5179: Complex#rationalize and to_r with approximate zeros
- 0.0 doesn't exactly represent zero. It may be 0.0+-10.0**(Float::MIN_10_EXP-17).
BigDecimal(0) doesn't exactly represent zero, too.
I believe this issue should be resolved by introducing Numeric#exact? and/or Numeric#inexact? methods.
-
10:41 AM Bug #5179 (Closed): Complex#rationalize and to_r with approximate zeros
- Currently, Complex#rationalize and Complex#to_r raise a RangeError if the imaginary part is nonzero *or is a Float*. Note that a BigDecimal(0) is accepted, though:
Complex(1, 0).to_r # => Rational(1,1)
Complex... -
06:59 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定
- 2011年8月10日17:20 NARUSE, Yui <naruse@airemix.jp>:
> TCPSocket.open の中などでやるという方向自体はありだと思っているんですが、
> ではそこで使う IPアドレスをどこから取ってくるかとなると、
> グローバル変数を使うとかしないと上手くいかないんじゃないかと
グローバル変数が嫌ならスレッド変数とか。
> この提案だとこんな感じになります。
net/http ... -
06:53 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定
- 2011年8月10日18:21 tadanori kojima <tadanori.kojima@i2ts.com>:
>
> load balancer利用時のreal IPへの接続などのユースケースは理解できますが
> -----
> Net::HTTP.start("127.0.0.1") {|h|
> print h.request_get( '/index.html' , {"host"=>"ruby-lang.org"}).body
... -
06:23 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定 - load balancer利用時のreal IPへの接続などのユースケースは理解できますが
-----
Net::HTTP.start("127.0.0.1") {|h|
print h.request_get( '/index.html' , {"host"=>"ruby-lang.org"}).body
}
※startはIP指定、リクエスト時のhostヘッダにホスト名
-----
というのがHTTP的なふつうの対処な気... -
05:23 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定
- 2011年8月10日15:20 Tanaka Akira <akr@fsij.org>:
> 2011年8月10日15:05 Yui NARUSE <naruse@airemix.jp>:
>
>> 別のユースケースとして、同じホスト名(というかドメイン名)を持つ複数のサーバ群に対して、
>> それぞれに動作確認で通信したい事があったんですが、この場合だと一定のホスト名を送りつつ 、
>> IP アドレスは網羅しないといけないので、/etc/hos... -
03:23 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定
- 2011年8月10日15:05 Yui NARUSE <naruse@airemix.jp>:
> 別のユースケースとして、同じホスト名(というかドメイン名)を持つ複数のサーバ群に対して、
> それぞれに動作確認で通信したい事があったんですが、この場合だと一定のホスト名を送りつつ 、
> IP アドレスは網羅しないといけないので、/etc/hosts だとサーバーの数だけ書き換えて試すのを
> 繰り返さないといけないのでつらいです。
r... -
03:05 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定
- Shyouhei Urabe wrote:
> (08/10/2011 11:46 AM), Yui NARUSE wrote:
> ...
127.0.0.1 の例だとそうなんですね。
別のユースケースとして、同じホスト名(というかドメイン名)を持つ複数のサーバ群に対して、
それぞれに動作確認で通信したい事があったんですが、この場合だと一定のホスト名を送りつつ 、
IP アドレスは網羅しないといけないので、/etc/hosts だとサーバーの数だけ書き換... -
12:23 PM Feature #5180: net/http の接続時に用いる IP アドレスの指定
- (08/10/2011 11:46 AM), Yui NARUSE wrote:
> 例えば、ホスト名は "ruby-lang.org" としたいが、IP アドレスは 127.0.0.1 とか。
/etc/hostsを書け、ではだめですか。名前解決のレイヤーの要件をHTTPで解決するのは筋が悪いでしょう。 -
11:45 AM Feature #5180 (Closed): net/http の接続時に用いる IP アドレスの指定
- 通常 net/http を使う時は、Net::HTTP.start("ruby-lang.org") などとホスト名を使います。
で、Socket がホスト名から IP アドレスを引いて、コネクションが張られます。
普通の人はこれで足りるわけですが、ふつうな人はしばしば DNS で引けない IP アドレスに接続したくなります。
例えば、ホスト名は "ruby-lang.org" としたいが、IP アドレスは 127.0.0.1 とか。
以下のパッチをあてると... -
05:07 PM Bug #5181 (Closed): yard causes Ruby 1.9.2 crash on Mac OS X Lion (64-bit)
- This seems duplicated with #5076.
-
03:52 PM Bug #5181 (Closed): yard causes Ruby 1.9.2 crash on Mac OS X Lion (64-bit)
- The yard binary (part of the yard documentation gem) crashes under Ruby 1.9.2-p290 on Mac OS X 10.7 Lion (64-bit). Attached is a script containing Ruby, RubyGem, and Yard version details + crash output. Since this is Mac OS X, I am also ...
-
02:11 PM Bug #5147 (Closed): mkmf should not require static library when ruby is built with --enable-shared
- This issue was solved with changeset r32902.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb (init_mkmf): set $LIBRUBYARG regardless of shared
... -
02:04 PM Revision 6c0e64de (git): * ext/socket/lib/socket.rb: fix argument check in the previous commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 PM Revision e7320dbe (git): add ML ref. [ruby-core:38538]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:13 PM Revision 5515afbf (git): * ext/socket/lib/socket.rb (Socket.tcp): add :connect_timeout option.
- (Addrinfo#connect_from): add :timeout option.
(Addrinfo#connect): ditto.
(Addrinfo#connect_to): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:28 PM Revision 184f041f (git): * lib/net/pop.rb: fix typo in document.
- * lib/net/http.rb: ditto.
* lib/net/imap.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:40 AM Revision d72d87cd (git): Merge the commit r32903:
- * complex.c (nucomp_rationalize): calls rationalize of real part if
imaginary part is exactly zero. The patch is made by Marc-Andre
Lafortune. fixes [Bug #5178] [ruby-core:38885]
* test/ruby/test_complex.rb (test_ration... - 10:35 AM Revision 2e2fabc4 (git): * complex.c (nucomp_rationalize): calls rationalize of real part if
- imaginary part is exactly zero. The patch is made by Marc-Andre
Lafortune. fixes [Bug #5178] [ruby-core:38885]
* test/ruby/test_complex.rb (test_rationalize): add a test for the
above change.
* complex.c (nucomp_to_r): fix RDoc com... -
06:33 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- Okay. That's great.
Reading it over I have a couple of impressions that could help improve upon it:
1) The use of "standard library" is confusing, in contrast to core vs. standard libs.
2) There is no mention of "constant look-up" wh... -
06:10 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- I committed documentation based on your pull request as r32700 in the closed Bug #5067. There is no need to merge.
-
12:18 AM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
- Can we merge?
-
05:11 AM Revision 6a1bb351 (git): * lib/mkmf.rb (init_mkmf): set $LIBRUBYARG regardless of shared
- option. [ruby-core:38802] [Bug #5147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Revision 6bf7dd72 (git): * lib/mkmf.rb (init_mkmf): set $LIBRUBYARG regardless of shared
- option. [ruby-core:38802] [Bug #5147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:51 AM Bug #5137 (Rejected): Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
- Chris White wrote:
> I would recommend however that the ruby in the toplevel directory get installed after all the files in bin/ just in case.
Usually ruby source directory doesn't have bin/ruby, why does it exist? -
02:28 AM Bug #5137: Ruby SVN Revision 32800: Cannot run installed ruby interpreter, Malformed Mach-o file
- After some more in depth research, I realized that the issue was that a `ruby` executable existed in the toplevel source's bin/ directory which was overwriting the proper ruby executable. Since the file was not recreated after a clean bu...
08/09/2011
-
11:00 PM Bug #5152 (Closed): TestDateNew#test_civil が GC.stress = true 下で Failure
- This issue was solved with changeset r32896.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/date/date_parse.c (date_zone_to_diff): add RB_GC_GUARD.... -
10:47 PM Bug #5152: TestDateNew#test_civil が GC.stress = true 下で Failure
- 了解しました。
今週は追加の確認ができそうにないので、とりあえず現在わかっているところを入れてしまいます。 -
09:34 PM Bug #5177 (Assigned): Typos in documentation of URI::Parser
-
09:32 PM Bug #5177: Typos in documentation of URI::Parser
- I've attached a patch to fix the typo and remove the <tt>s.
Herwin, you want to assign this ticket to Eric Hodel. -
07:59 PM Bug #5177 (Closed): Typos in documentation of URI::Parser
- http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI/Parser.html
- There is an attempt to write some parts in a fixed width font using <tt>-tags, but they don't work
- The first line of the example contains the symbol :ESCPAED,... -
09:33 PM Bug #5169 (Third Party's Issue): Crash on Mac OSX when loading pdflib extension while running from RAILS
- Please don't ask aboutThird Party's extensions. We don't know it really. I recommend to contact the extension developer.
-
01:59 AM Bug #5169 (Third Party's Issue): Crash on Mac OSX when loading pdflib extension while running from RAILS - When running ruby code that uses the PDFlib extension (http://www.pdflib.com/binaries/PDFlib/803/PDFlib-8.0.3-MacOSX-10.6-Universal-ruby.dmg) under Rails 3.0 on Mac OSX 10.6 ruby crashes (see attached crashlog).
When running similar r... -
08:14 PM Feature #4569: Replace IPAddr with IPAddress
- Hello,
are there any news on this request? Can I do something to help?
I plan to release 0.9.0 in September with some added features, but at the same time I don't want to grow the library too much, as it would make it more difficul... -
06:35 PM Bug #5176: UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
- Shyouhei Urabe wrote:
> 戻んないような変換が発生しそうな時はEncoding::InvalidByteSequenceErrorでいいんじゃないかなあ
InvalidByteSequence はある String の内容であるバイト列がそのエンコーディングとして正しくない時の例外なので、
不可逆変換の時は意味的にちょっと違いますね。
何か一つ指定したらできるくらいのノリがいいかなぁと思っているんですが、SQLite とかでも黙って変換... -
05:58 PM Bug #5176: UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
- 戻んないような変換が発生しそうな時はEncoding::InvalidByteSequenceErrorでいいんじゃないかなあ
-
05:32 PM Bug #5176 (Assigned): UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
- > libyamlが「YAMLで使用する文字列はUTF-8である」ことを主張するのが原因かと思います。
これは以下の通り規格が UTF-8 と UTF-16 しかないと言っているので libyaml は正しいと思います。
> ...
http://yaml.org/spec/1.1/#id868742
> Stringをdumpする前にUTF-8に変換する作業をライブラリですべきではないでしょうか。
うーん、一度変換するともう戻らないのでどうなんでし... -
05:17 PM Bug #5176 (Closed): UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
- Windows環境(mingw)、Linux環境において、添付したファイルで現象が発生します。
libyamlが「YAMLで使用する文字列はUTF-8である」ことを主張するのが原因かと思います。
Stringをdumpする前にUTF-8に変換する作業をライブラリですべきではないでしょうか。
現状、私は添付したファイルのコメントアウトした箇所を有効にすることで、問題を回避しています。 -
05:57 PM Revision b2cc46df (git): merge revision(s) 32899:
- * lib/net/http.rb: come back autoload. OpenSSL constant is used
some places, so it leads mistakes like HTTP.start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:56 PM Revision 72596937 (git): * 2011-08-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:56 PM Revision a967390d (git): * lib/net/http.rb: come back autoload. OpenSSL constant is used
- some places, so it leads mistakes like HTTP.start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Bug #4944 (Closed): crash in FIPS mode after unchecked EVP_DigestInit_ex failure
- Thanks, Jared! I'll close it then.
-
03:52 PM Bug #5175 (Rejected): Ruby1.9.2p290 MySQLアクセスエラー
- 下記エラーは、RUBY1.9.2p180mingw、Ruby1.8.7p334mingwでは、生じません。
MySQL関連gemインストール
D:\>pik list
187: ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mswin32]
187: ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
187: ruby 1.8.7 (2011-06... - 03:10 PM Revision eef1a7c6 (git): * 2011-08-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 5da4785a (git): merge revision(s) 32859:
- * ext/date/date_parse.c (date_zone_to_diff): add RB_GC_GUARD.
[ruby-dev:44337] [Bug #5152]
* ext/date/data_parse.c (parse_ddd_cb): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32897 b2dd03c8-... -
02:38 PM Bug #3861 (Open): Endian bugs in fiddle/dl on sparc64
- re-open this issue for the reminder whether it is backported to 1.9.3 or not.
-
02:31 PM Bug #3861 (Closed): Endian bugs in fiddle/dl on sparc64
- This issue was solved with changeset r32895.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/fiddle/conversions.c (generic_to_value): ffi_arg and ffi_... -
06:23 AM Bug #3861: Endian bugs in fiddle/dl on sparc64
- On Mon, Aug 08, 2011 at 10:37:53PM +0900, Naohisa Goto wrote:
>
> Issue #3861 has been updated by Naohisa Goto.
>
> File fiddle-sparcv9.patch added
>
> Patch attached again.
> The previous patch contains mistakes and garbage.
... -
02:19 PM Feature #5174 (Feedback): Export ruby_init_prelude()
- Please export ruby_init_prelude() so that ruby embedded applications such as mod_ruby can call it without calling ruby_options().
-
02:00 PM Revision 0bd01d00 (git): * ext/date/date_parse.c (date_zone_to_diff): add RB_GC_GUARD.
- [ruby-dev:44337] [Bug #5152]
* ext/date/data_parse.c (parse_ddd_cb): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:26 PM Bug #5127 (Closed): ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
- This issue was solved with changeset r32894.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (gc_lazy_sweep): if sweep target slots are not found, we
try... -
01:23 PM Bug #5173: [PATCH] json/generator: prevent GC of temporary strings
- Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> =begin
> The implementation of json/generator seems quite naive.
Yeah :< I don't know why any of the fbuffer code exists since rb_str_*
provides that functionality already...
... -
12:11 PM Bug #5173: [PATCH] json/generator: prevent GC of temporary strings
- Nobuyoshi Nakada wrote:
> Anyway, JSON issues need to be reported to the upstream.
The upstream is https://github.com/flori/json
-
11:23 AM Bug #5173: [PATCH] json/generator: prevent GC of temporary strings
- =begin
The implementation of json/generator seems quite naive.
I found a couple of severe bugs in several minutes.
$ ./ruby -rjson -e 'class Bignum;def to_s;end;end; p JSON::Ext::Generator::State.new.generate(1<<64)'
-e:1: [BUG... -
10:45 AM Bug #5173 (Closed): [PATCH] json/generator: prevent GC of temporary strings
- ext/json/generator/generator.c: prevent GC of temporary strings
We need to guard temporary strings from being collected while we
append to the JSON buffer (which may allocate memory). The
RSTRING_PAIR macro is dangerous since it pr... -
12:56 PM Bug #5168 (Closed): libc and libm path in test/dl and test/fiddle on Solaris
- This issue was solved with changeset r32893.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892 -
06:33 AM Bug #5168 (Assigned): libc and libm path in test/dl and test/fiddle on Solaris
- Goto-san, A test fix still can be commited into 1_9_3 branch if you want. Because it has no regression risk.
Thanks. -
06:23 AM Bug #5168: libc and libm path in test/dl and test/fiddle on Solaris
- On Mon, Aug 08, 2011 at 11:02:45PM +0900, Naohisa Goto wrote:
>
> Issue #5168 has been reported by Naohisa Goto.
>
> ----------------------------------------
> Bug #5168: libc and libm path in test/dl and test/fiddle on Solaris
... -
09:55 AM Bug #5171: [PATCH] date_core: RB_GC_GUARD temporary strings
- I also have an extra safety fix in case date_strftime_with_tmx() changes
in the future:
ext/date/date_strftime.c (date_strftime_with_tmx): RB_GC_GUARD safety fix
I don't think this has the potential to /currently/ cause errors... -
07:30 AM Bug #5171 (Closed): [PATCH] date_core: RB_GC_GUARD temporary strings
- ext/date/date_core.c (d_lite_inspect): RB_GC_GUARD temporary strings
test/date/test_date.rb: add test case with GC.stress=true
RSTRING_PTR() should not be used directly on function calls:
1) it may drop the VALUE reference from th... -
08:59 AM Bug #5172: [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
- Eric Wong <normalperson@yhbt.net> wrote:
> ----------------------------------------
> Bug #5172: [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
> http://redmine.ruby-lang.org/issues/5172
If you prefer: git pull git://bog... -
08:46 AM Bug #5172 (Closed): [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
- ext/bigdecimal/bigdecimal.c: RB_GC_GUARD rb_inspect() output
We can't directly use RSTRING_PTR() on rb_inspect() because the
GC may collect the VALUE returned by rb_inspect(). This is a
problem for Symbols with long names that retu... -
06:37 AM Bug #5170: Date.strptime Segmentation Fault
- DateTime also seems have same issue.
-
05:51 AM Bug #5170: Date.strptime Segmentation Fault
- I can reproduce this on trunk with x86_64, too. The attached patch should fix it.
For git users against trunk (trivial cherry-pick applies to the 1.9.3 branch, too):
git pull git://bogomips.org/ruby date-segfault-bug-5170 -
03:31 AM Bug #5170 (Closed): Date.strptime Segmentation Fault
- require 'date'
Date.strptime('01-31-2011', '%m/%d/%Y')
This happens on Mingw:
ruby 1.9.3dev (2011-07-28 revision 32716) [i386-mingw32]
It also happens on Linux:
ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-linux]
Thi... -
05:31 AM Revision 4d71d348 (git): * ext/fiddle/conversions.c (generic_to_value): ffi_arg and ffi_sarg
- should be used to handle shorter return value. fix [Bug #3861]
[ruby-core:32504]
* ext/fiddle/closure.c (callback): ditto
* ext/fiddle/conversions.h (fiddle_generic): ditto
* ext/fiddle/conversions.c (value_to_generic): char, short and... -
04:26 AM Revision e26cead1 (git): * gc.c (gc_lazy_sweep): if sweep target slots are not found, we
- try heap_increment() because it might be able to expand the
heap. [Bug #5127] [ruby-dev:44285]
* gc.c (gc_clear_mark_on_sweep_slots): if a sweeping was
interrupted, we expand the heap if at all possible.
git-svn-id: svn+ssh://ci.ru... -
03:56 AM Revision 633631fb (git): * ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:56 AM Revision 75a84097 (git): * ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 AM Revision e2ff2dfe (git): * test/fiddle/helper.rb (libc_so, libm_so): Solaris support added.
- * test/dl/test_base.rb (libc_so, libm_so): on Solaris, remove libc
and libm version numbers for detecting default libc and libm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 AM Revision 321be14f (git): * test/fiddle/helper.rb (libc_so, libm_so): Solaris support added.
- * test/dl/test_base.rb (libc_so, libm_so): on Solaris, remove libc
and libm version numbers for detecting default libc and libm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:51 AM Revision 6f72a820 (git): * 2011-08-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:51 AM Revision 8a8b1f2a (git): * array.c: Fix typo. https://github.com/ruby/ruby/pull/36
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:18 AM Revision 23aef380 (git): * 2011-08-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 AM Revision 88cff367 (git): * ext/zlib/zlib.c (gzfile_wrap): Document encoding options.
- * ext/zlib/zlib.c (rb_gzwriter_s_open): ditto
* ext/zlib/zlib.c (rb_gzreader_s_open): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/08/2011
-
11:02 PM Bug #5168 (Closed): libc and libm path in test/dl and test/fiddle on Solaris
- In test/dl/test_base.rb, "libc.so.6" and "libm.so.6" are used for Solaris, but sparc Solaris only have libc.so.1 and libm.so.2.
I don't know what version number on Intel x86 Solaris, so I simply removed the version numbers. (file test-d... -
10:37 PM Bug #3861: Endian bugs in fiddle/dl on sparc64
- Patch attached again.
The previous patch contains mistakes and garbage. -
10:30 PM Bug #3861 (Open): Endian bugs in fiddle/dl on sparc64
- This is also reproduced on sparc64 Solaris10 with latest Ruby.
This is not because of endian, nor libffi bug, but a bug of Fiddle.
Patch is attached.
The manpage of ffi_call(3) (http://linux.die.net/man/3/ffi_call ) says:
"rvalue m... -
09:16 PM Bug #3861 (Rejected): Endian bugs in fiddle/dl on sparc64
- I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby. -
09:08 PM Bug #1066 (Rejected): Frequent failure: test_io.rb test 2 on OS X 10.5.6
- I close this as Rejected since no feedback provided.
Please upgrade your OS. -
08:52 PM Bug #5135 (Assigned): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
-
07:53 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > $ rpm -q kernel
> kernel-2.6.38.8-35.fc15.x86_64
>
> I am running on BTRFS filesystem.
> [pos=0, name=.]
> [pos=2, name=..]
> [pos=2, name=a]
BTRFS *IS* buggy. ".." and "a" have the same offset. Sigh.
Of course, ... -
05:27 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- mock-chroot> uname -a
Linux dhcp-25-40.brq.redhat.com 2.6.38.8-35.fc15.x86_64 #1 SMP Wed Jul 6 13:58:54 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -q kernel
kernel-2.6.38.8-35.fc15.x86_64
I am running on BTRFS filesystem.
B... -
05:11 PM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
- GCの問題のようですので、引き取ります。
-
01:09 PM Bug #5151 (Assigned): test/socket/test_socket.rb fail when udp connection failed
- Mac固有の問題のようなので、むらけんさんにassignします。
-
12:43 PM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
- =begin
Ubuntu 11.04で試してみたところ再現しませんでした。
とりいそぎご報告まで。
ayumin@Ubuntu11:~/github/ruby$ uname -a
Linux Ubuntu11 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
ayumin@Ubuntu11:~/github/r... -
12:14 AM Bug #5151 (Feedback): test/socket/test_socket.rb fail when udp connection failed
-
11:46 AM Bug #5154 (Assigned): method_missing and module scope, regression in 1.9.3
-
09:35 AM Feature #5097: Supported platforms of Ruby 1.9.3
- Akira Tanaka wrote:
> 2011/8/8 Jeremy Evans <merch-redmine@jeremyevans.net>:
> ...
OpenBSD doesn't have a bug tracker, I posted to an internal mailing list. The fix will be in OpenBSD 5.0, released in November.
I recommend not maki... -
08:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
- 2011/8/8 Jeremy Evans <merch-redmine@jeremyevans.net>:
> I ended up writing a test program in C that also displayed the issue, and it turns out it was a bug in OpenBSD. A fix for the issue was just committed today.
Great.
... -
04:22 AM Feature #5097: Supported platforms of Ruby 1.9.3
- Akira Tanaka wrote:
> 2011/7/30 Jeremy Evans <merch-redmine@jeremyevans.net>:
> ...
I ended up writing a test program in C that also displayed the issue, and it turns out it was a bug in OpenBSD. A fix for the issue was just committed... -
04:08 AM Bug #5167 (Closed): [PATCH] adding head documentation and example for Digest module
-
12:17 AM Bug #5076: Mac OS X Lion Support
- Now, r32649 provides us a very nice workaround. Then, we can slip this ticket to 1.9.4.
08/07/2011
-
11:55 PM Feature #4645 (Feedback): Pass existing buffer to getsockopt
-
11:38 PM Bug #4457 (Closed): Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
- This issue was solved with changeset r32885.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (rb_strftime_alloc): raise ERANGE if width is too l... -
11:20 PM Bug #5090 (Closed): Segfault using Enumerator
-
10:44 PM Feature #5157 (Closed): [PATCH] add -Wunused-variable to CFLAGS
- This issue was solved with changeset r32883.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: add -Wunused-variable to default CFLAGS.
Patch ... -
10:35 PM Bug #5166 (Closed): Documentation for OpenSSL::Digest
- Adding documentation for OpenSSL::Digest.digest.
Adding a third example for OpenSSL::Digest use. -
06:54 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- 2011/8/6 Tanaka Akira <akr@fsij.org>:
> 2011/8/4 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>
>> but look, datagram_poll() has another 30~ caller. (e.g. raw socket)
>
>> IOW, it's only a workaround for udp based broken appli... -
06:54 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Hi Vit
>> * test/io/console/test_io_console.rb (test_noctty): daemon() on
>> Â OpenBSD seems not to detach the controlling terminal, when the
>> Â argument noclose is non-zero. Â ref: [Bug #5135]
>
> Nobu, you closed the issue ... -
05:24 PM Bug #5152: TestDateNew#test_civil が GC.stress = true 下で Failure
- とりあえずコミットしておいて下さい。
-
03:11 PM Revision cf4207a7 (git): merge revision(s) 32859:
- * test/test_syslog.rb (TestSyslog#test_log): Do not be too
specific about the log line format. Fixes #5081.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 PM Revision 4a5a6f4a (git): merge revision(s) 32885:
- * time.c (rb_strftime_alloc): raise ERANGE if width is too large.
Patch by Nobuyoshi Nakada. [Bug #4457] [ruby-dev:43285]
* test/ruby/test_time.rb (class TestTime): add a test for the
above change.
git-svn-... -
02:38 PM Revision f2f14f57 (git): * time.c (rb_strftime_alloc): raise ERANGE if width is too large.
- Patch by Nobuyoshi Nakada. [Bug #4457] [ruby-dev:43285]
* test/ruby/test_time.rb (class TestTime): add a test for the
above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 9c760d0a (git): * ext/openssl/ossl_asn1.c (decode_eoc): remove unused variables.
- Patch by Eric Wong. [Feature #5157] [ruby-core:38798]
* ext/openssl/ossl_asn1.c (ossl_asn1_decode): ditto.
* ext/openssl/ossl_pkey.c (ossl_pkey_new_from_data): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32884 b2dd03c8-39... -
01:43 PM Revision b6c6ce11 (git): * configure.in: add -Wunused-variable to default CFLAGS.
- Patch by Eric Wong. [Feature #5157] [ruby-core:38798]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 AM Revision a5729b15 (git): merges r31875 from trunk into ruby_1_9_2.
- --
* load.c (loaded_feature_path): cut nonsence loop execution to fix
performance bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@32882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 AM Revision c88e3861 (git): merges 32227 from trunk into ruby_1_9_2.
- --
* vm_insnhelper.c (vm_search_superclass): avoid control frame
stack overrun. currently super() in Proc created in a method
defined by Module#define_method raise NoMethodError. [Bug #4881]
* test/ruby/test_method.rb t_super_in_proc... -
10:03 AM Revision df273d60 (git): merges 32211 from trunk into ruby_1_9_2.
- --
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check
argument type with NUM2LONG if the arg is not a Time object.
See #4919.
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_timeout): Check
type with NUM2LO... -
10:02 AM Revision 87d9bb77 (git): merges r32222 from trunk into ruby_1_9_2.
- --
* lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request
header failed when the request is from 2 or more Apache reverse
proxies. It's said that all X-Forwarded-* headers will contain more
than one (comma-separated) ... -
07:24 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- Anurag Priyam wrote:
> Besides, the aliasing can be done at the application
> ...
But then i will have to edit my code to upgrade to a new version of Ruby.
Alexey Muranov.
---
*Update 2011-11-09.* "It would have made more s... -
07:23 AM Feature #5123: Alias Hash 1.9 as OrderedHash
- Thomas Sawyer wrote:
> IWon't this break orderedhash gem?
> ...
To improve performance, for example, or to restore the original meaning of "hash".
Alexey Muranov. -
06:38 AM Revision 937ff7bd (git): * ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:18 AM Revision 86411a0a (git): * backport r32876 from trunk.
- * ext/objspace/objspace.c: fix typos in a document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:13 AM Revision bc647cbd (git): * ext/objspace/objspace.c: fix typos in a document.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 AM Feature #5148: Constant Namespace/Scoping in Dynamic Classes/Modules
- Hi,
On 2 August 2011 17:01, Thomas Sawyer <transfire@gmail.com> wrote:
> Bug #5148: Constant Namespace/Scoping in Dynamic Classes/Modules
> ...
I also noticed that recently.
It seems inconsistent to me.
Let's have some code:
https://gist...
08/06/2011
-
10:18 PM Revision f9260247 (git): * 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/trunk@32875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:55 PM Bug #4821: Random Segfaults (in start_thread?)
- I also got segfaults on OSX 10.6 on mongrel and unicorn after updating the Gems sass, compass and adding a file splitter that reads in and writes a few files. - and the segfaults only came in requests where this file processing is done.
... - 07:51 PM Revision d5c84194 (git): * 2011-08-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:51 PM Revision 5de99efa (git): * marshal.c (w_object): Fix exception message when _dump_data is not
- defined on a T_DATA object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- 2011/8/4 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
> but look, datagram_poll() has another 30~ caller. (e.g. raw socket)
> IOW, it's only a workaround for udp based broken application. not a
> fix. If I understand correct... - 03:44 PM Revision 2878632e (git): * 2011-08-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:44 PM Revision dd6911a8 (git): * ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver
- before calling epath. patched by flori
https://github.com/flori/ruby/commit/aa9474d32e5f2c57f8b0e2e0c528a03f06a4d433
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:56 PM Bug #5164 (Assigned): Line endings, bug/regression or feature of 1.9.3?
-
02:55 PM Bug #5164 (Closed): Line endings, bug/regression or feature of 1.9.3?
- Hello,
Seems Redmine is down, so emailing the list.
One user detected that Ruby 1.9.3-preview1 and latest changes in
ruby_1_9_3 branch generates incorrectly line endings on Windows.
It seems that now, by default, it use... -
03:18 AM Bug #5163 (Closed): (Net::IMAP::ResponseParseError) unknown attribute `)'
- Every now and then we get the following ResponseParseError.
(Net::IMAP::ResponseParseError) unknown attribute `)'
Full Trace:
.....rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/imap.rb:3235:in `parse_error'
.....rvm/rubies/ruby-1... -
12:47 AM Bug #5162 (Rejected): IMAP error formatting string
- In the method msg_att in the file imap.rb, the parse error is written as
parse_error("unknown attribute `%s'", token.value), I believe it should be parse_error("unknown attribute '%s'", token.value).
Single quotes on both sides of ... -
12:11 AM Bug #5135 (Feedback): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Sorry, "reference without close" seems not working since previous update of redmine.r.o.
-
12:04 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Nobuyoshi Nakada wrote:
> This issue was solved with changeset r32848.
> ...
Nobu, you closed the issue but I am still fighting with four failed tests: https://gist.github.com/1127698
08/05/2011
-
10:28 PM Bug #5160 (Closed): Float::INFINITY and Float::NAN incorrect in big endian architecture
- This issue was solved with changeset r32863.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get ... -
08:33 PM Bug #5160 (Closed): Float::INFINITY and Float::NAN incorrect in big endian architecture
- Big endian のCPUで、BYTE_ORDER が定義(#define)されておらず、かつ、INFINITY や NAN が未定義の環境では、Float::INFINITY および Float::NAN の値が化けてしまいます。(このため、make test-all でいくつかFが出ます。)
具体的には sparc Solaris 10 + gcc 4.4 で発生します。
% ./miniruby -v -e 'p Float::INFINITY; p... - 10:16 PM Revision 1b8e4727 (git): * 2011-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:14 PM Revision cb0f9d5f (git): * marshal.c (w_object): Fix exception message when _dump_data is not
- defined on a T_DATA object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:21 PM Revision ed93a37b (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
- Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ... -
08:29 PM Revision cd347700 (git): Remove orphaned date in ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:19 PM Revision 3735b764 (git): * 2011-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 PM Revision e8ad0a3e (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
- Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ... -
07:26 PM Bug #2550 (Closed): failed to build with Solaris's make
- I think the problem is solved with r32780.
On sparc Solaris10, make install succeeded with /usr/ccs/bin/make.
Warning message "make: Warning: Illegal dependency list for target `.DEFAULT'" is still displayed, but it seems it is no harm. -
07:23 PM Bug #5158: to_ary not respecting respond_to? - On Aug 5, 2011, at 6:06 AM, Adam Prescott wrote:
> I'm not sure why that changed happened, but at least that seems to be the source of the behaviour.
I believe it happened because respond_to? is unreliable in the presence of
meth... -
07:23 PM Bug #5158: to_ary not respecting respond_to?
- On Thu, Aug 4, 2011 at 11:37 PM, Ryan Davis <ryand-ruby@zenspider.com>wrote:
>
> Extra Info:
> http://tenderlovemaking.com/2011/06/28/til-its-ok-to-return-nil-from-to_ary/
>
Someone made a comment on that post linking to
... -
07:23 PM Bug #5158: to_ary not respecting respond_to?
- And I've just seen that http://redmine.ruby-lang.org/issues/5158 has been
opened and closed. Too slow, I guess. -
12:18 PM Bug #5158 (Closed): to_ary not respecting respond_to?
- This issue was solved with changeset r32855.
Ryan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (check_funcall): try respond_to? first if redefined.
... -
11:17 AM Bug #5158 (Assigned): to_ary not respecting respond_to?
-
11:13 AM Bug #5158 (Closed): to_ary not respecting respond_to?
- class BadProxyObject
def initialize
@p = Object.new
def @p.to_ary
raise "I should never be called"
end
end
def respond_to?(*a)
p :bad_respond_to? => a
false
end
def method_missing(msg, *... -
05:26 PM Bug #5081 (Closed): LionでTestSyslog が一件 failure
- This issue was solved with changeset r32859.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/test_syslog.rb (TestSyslog#test_log): Do not be too
... -
04:23 PM Bug #5147: mkmf should not require static library when ruby is built with --enable-shared
- Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Eric Wong wrote in [ruby-core:38802]:
> > I've bisected r32833 to breaking many of my external C extension builds:
> >
> > $ ruby -rmkmf -e 'p have_func("rb_str_set_len")'
> > che... -
12:23 PM Bug #5147: mkmf should not require static library when ruby is built with --enable-shared
- Hi,
At Fri, 5 Aug 2011 08:26:59 +0900,
Eric Wong wrote in [ruby-core:38802]:
> I've bisected r32833 to breaking many of my external C extension builds:
>
> $ ruby -rmkmf -e 'p have_func("rb_str_set_len")'
> checking for r... -
08:33 AM Bug #5147 (Assigned): mkmf should not require static library when ruby is built with --enable-shared
- > I've bisected r32833 to breaking many of my external C extension builds:
> ...
Nobu? please answer this. -
08:26 AM Bug #5147: mkmf should not require static library when ruby is built with --enable-shared
- I've bisected r32833 to breaking many of my external C extension builds:
$ ruby -rmkmf -e 'p have_func("rb_str_set_len")'
checking for rb_str_set_len()... no
false
-
04:03 PM Bug #5159 (Closed): r32777のためSolaris上のgcc-4.4でCFLAGS="-std=gnu99"のときコンパイルエラー
- This issue was solved with changeset r32858.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* complex.c (f_signbit): fix compile error in gcc4 on Solaris ... -
03:43 PM Bug #5159 (Closed): r32777のためSolaris上のgcc-4.4でCFLAGS="-std=gnu99"のときコンパイルエラー
- Solaris上のgcc 4.4 にて、C99標準+gnu拡張を指定するコンパイル時オプション
-std=gnu99 を指定するとコンパイルエラーになります。
complex.c: In function ‘f_signbit’:
complex.c:1177: error: expected identifier or ‘(’ before ‘sizeof’
make: *** [complex.o] Error 1
gcc 4.x にて -s... -
02:10 PM Revision 1b0ff275 (git): * backport r32845 from trunk.
- * configure.in: when Solaris cc, use $(CC) to link shared libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:28 PM Revision 9fb5dca9 (git): * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.
- fix [Bug #5160] [ruby-dev:44356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:28 PM Revision 2bd1e021 (git): * numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian.
- fix [Bug #5160] [ruby-dev:44356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:20 PM Revision 543ecd95 (git): * include/ruby/win32.h (frexp, modf): original macros.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 AM Feature #5101: allow optional timeout for TCPSocket.new
- Akira Tanaka <akr@fsij.org> wrote:
> File socket-tcp-connect-timeout.patch added
Looks good to me, thanks! - 11:31 AM Revision 1adf7962 (git): more clarified the license.
- updated version of r32830, but not included include/ruby/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:00 AM Bug #4930 (Closed): $prefix/lib/ruby/gems and its subdirs are world writable
- This issue was solved with changeset r32852.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems: Import RubyGems 1.8.7:
Added missing requir... -
08:54 AM Feature #5157 (Assigned): [PATCH] add -Wunused-variable to CFLAGS
- I've assigned it to me then.
-
08:53 AM Feature #5157: [PATCH] add -Wunused-variable to CFLAGS
- Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> Eric, I think you contributed a lot of patches and you've proved you
> have enough development and communication skill. So, I'd like to
> suggest you get a commit right and comm... -
08:40 AM Feature #5157: [PATCH] add -Wunused-variable to CFLAGS
- Eric, I think you contributed a lot of patches and you've proved you have enough development and communication skill. So, I'd like to suggest you get a commit right and commit it by yourself.
I'll talk about it with matz and shugo. -
06:39 AM Feature #5157 (Closed): [PATCH] add -Wunused-variable to CFLAGS
- Unused variables are ugly.
As an often-careless C extension maintainer, I end up with a lot of unused
variables, so this compiler flag will propagate to extensions I maintain.
The core of Ruby is remarkably free of unused variable... -
08:53 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > BuildRequires are just dependencies required for build, they do not usually
> propagates into runtime dependencies. The typical example of BuildRequires
> packages are the -devel packages, which contains header files, but you don'... -
07:00 AM Bug #5135 (Closed): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- This issue was solved with changeset r32848.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/io/console/test_io_console.rb (test_noctty): daemon() on
... -
04:23 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide - Dne 4.8.2011 11:55, KOSAKI Motohiro napsal(a):
> 2011/8/4 Vit Ondruch<v.ondruch@tiscali.cz>:
>> Issue #5135 has been updated by Vit Ondruch.
>>
>>
>> Motohiro KOSAKI wrote:
>>> Fedora15 don't make any test failure. Can you p... -
12:07 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Nobuyoshi Nakada wrote:
> Can you try this patch?
mock-chroot> make test-all TESTS="test/io/console/test_io_console.rb"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --r... -
08:34 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Shyouhei Urabe wrote:
> Don't blame valgind it supports such situation http://valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools
I'm not "blaming" valgrind, I'm not even "blaming" gc.c. Valgrind has hooks for recognizing cus... -
07:58 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Kurt Stephens wrote:
> Because GC.disable doesn't leverage memory debuggers (valgrind) effectively; gc.c still continues to allocate large chunks (heaps) via malloc(); thus valgrind can not distinguish between (and instrument) RVALUEs ... -
04:18 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Yui NARUSE wrote:
> Why don't you use GC.disable ?
Because GC.disable doesn't leverage memory debuggers (valgrind) effectively; gc.c still continues to allocate large chunks (heaps) via malloc(); thus valgrind can not distinguish bet... -
02:34 AM Feature #4990: Proposal: Internal GC/memory subsystem API
- Kurt Stephens wrote:
> Branch is here: https://github.com/kstephens/ruby/tree/trunk-mem-api
> ...
Why don't you use GC.disable ? - 08:28 AM Revision c3d8ff4e (git): Fix a possible merge error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:26 AM Revision 39eea54c (git): * test/test_syslog.rb (TestSyslog#test_log): Do not be too
- specific about the log line format. Fixes #5081.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
- Usaku NAKAMURA wrote:
> It seems OK. Please backport it.
Backported to ruby_1_9_3 branch in r32850
Closing this.
Thank you!
-
07:03 AM Revision 1a4d9503 (git): * complex.c (f_signbit): fix compile error in gcc4 on Solaris with
- CFLAGS="-std=gnu99". [ruby-dev:44355] fix [Bug #5159]
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 AM Revision 700aeee7 (git): * complex.c (f_signbit): fix compile error in gcc4 on Solaris with
- CFLAGS="-std=gnu99". [ruby-dev:44355] fix [Bug #5159]
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:55 AM Revision 1ded4dbd (git): * test/ruby/test_object.rb: tests that respond_to? returns false.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision c3a750eb (git): * lib/xmlrpc/client.rb, lib/xmlrpc/server.rb: should use
- String#bytesize instead of String#size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Revision 55148a25 (git): * vm_eval.c (check_funcall): try respond_to? first if redefined.
- [Bug #5158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:11 AM Revision 2205687c (git): * thread_pthread.c: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:10 AM Revision c649882d (git): Merge commit r32846:
- * thread_pthread.c (native_cond_signal): retry to call pthread_cond_signal
and pthread_cond_broadcast if they return EAGAIN in
native_cond_signal and native_cond_broadcast, respectively.
It is for the pthread implementa... -
01:00 AM Revision 3434676e (git): * lib/rubygems: Import RubyGems 1.8.7:
- Added missing require for `gem uninstall --format-executable`.
The correct name of the executable being uninstalled is now displayed
with --format-executable.
Fixed `gem unpack uninstalled_gem` default ver... -
12:48 AM Revision b572d907 (git): * test/io/console/test_io_console.rb: for Fedora Rawhide, not OpenBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:48 AM Revision d24997cc (git): * test/io/console/test_io_console.rb: for Fedora Rawhide, not OpenBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/04/2011
-
10:53 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Hi,
At Thu, 4 Aug 2011 20:00:34 +0900,
Vit Ondruch wrote in [ruby-core:38786]:
> > > 28) Failure:
> > > test_noctty(TestIO_Console) [/builddir/build/BUILD/ruby-1.9.3-preview1/test/io/console/test_io_console.rb:183]:
> > > <["nil"... -
09:19 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Yui NARUSE wrote:
> Motohiro KOSAKI wrote:
> ...
I still can't find the way :/
mock-chroot> /builddir/build/BUILDROOT/ruby-1.9.3.review1-1.fc17.x86_64/usr/bin/ruby
/builddir/build/BUILDROOT/ruby-1.9.3.review1-1.fc17.x86_64/usr/bin/... -
08:47 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> > I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
> ...
May be something conditional for DB4? -
08:29 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
>
> dbp->set_errcall(dbp, my_error_handler);
>
> void
> my_error_handler(const char *error_prefix, char ... -
08:23 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stabl... -
08:23 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Vit Ondruch wrote:
> Motohiro KOSAKI wrote:
> ...
I was suggested by Jindrich Novy, the Fedora db4 maintainer, to implement own error handler, something along the lines:
dbp->set_errcall(dbp, my_error_handler);
void
my_error_handler(c... -
08:00 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> And, below is rest comments.
> ...
mock-chroot> ls -lZ /dev/tty
crw-rw-rw-. root tty unconfined_u:object_r:mock_var_lib_t:s0 /dev/tty
> > 29) Failure:
> ...
Great! I'll test them later.
> > DB->del: at... -
07:23 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable for some reason I don't u...
-
07:22 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- And, below is rest comments.
> 28) Failure:
> ...
Please confirm two points. 1) does your system have /dev/tty? 2) Does your SELinux policy disallow to access it?
> 29) Failure:
> ...
This four failure has already been fixed.... -
06:59 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- 2011/8/4 Vit Ondruch <v.ondruch@tiscali.cz>:
>
> Issue #5135 has been updated by Vit Ondruch.
>
>
> Motohiro KOSAKI wrote:
>> Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide?
>> I su... -
06:09 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Motohiro KOSAKI wrote:
> Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide?
> ...
It is obvious from [1] that the minimal build root, which is used by mock, does not contain the 'procps' pac... -
06:03 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. using Koji [2]. Here [3] you can see the build output and the build failures (note that the output slightly differs, since the test are not stable for some reason I don't unde...
-
02:01 PM Bug #5135 (Feedback): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
- Fedora15 don't make any test failure. Can you please elaborate your platform change in rawhide?
I suspect about half of them are false positive failure. example, your test machine failed to find ps command
and made one test error (see... -
10:39 PM Revision 3ddef8e5 (git): Backported r32804 from trunk
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 PM Bug #921: autoload is not thread-safe
- Updated the patch: https://github.com/nahi/ruby/compare/11667b9c...8b78a18e
Rewritten with strust instead of st_table. -
02:48 PM Bug #921: autoload is not thread-safe
- I created a patch: https://github.com/nahi/ruby/compare/48bc63fa...54327abc
Here's the branch: https://github.com/nahi/ruby/commits/autoload-threadsafe
* let Module keep 'UNDEF' in constant map until the end of autoloading
* let M... - 10:00 PM Revision 69dac452 (git): * 2011-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:00 PM Revision 5fd10124 (git): * test/io/console/test_io_console.rb (test_noctty): daemon() on
- OpenBSD seems not to detach the controlling terminal, when the
argument noclose is non-zero. ref: [Bug #5135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:00 PM Revision f28755df (git): * test/io/console/test_io_console.rb (test_noctty): daemon() on
- OpenBSD seems not to detach the controlling terminal, when the
argument noclose is non-zero. ref: [Bug #5135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 PM Bug #5139 (Closed): sigsegv のスタックオーバフロー
- This issue was solved with changeset r32844.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (report_bug): use a small message buffer instead of... -
02:05 PM Bug #5139 (Assigned): sigsegv のスタックオーバフロー
- BUFSIZを使ってるのが根本的に間違っているという認識なので、もっと小さくしようと思います。メッセージサイズとなんの関係もない定数じゃないかっ。
ちなみにBUFSIZはMacでは1024, Linuxでは8096のようです。
-
01:45 PM Bug #5139: sigsegv のスタックオーバフロー
- あと 1.9.3 で起きてたのは RHEL4 だけだったのでターゲットバージョンは再度 1.9.4 に戻します。お騒がせしてすみませんでした。
-
01:44 PM Bug #5139: sigsegv のスタックオーバフロー
- >結局heapとaltstackの位置関係が変わっているのがキモだとは思うんですが。
うーん、ということは altstack の位置が変わったためにスタックオーバフローしてもたまたま実害がなくなって現象が収まったということではないでしょうか。
なぜこんなにスタック使うのかというのを調べてみると、rb_bug() から呼ばれる report_bug() で
char buf[BUFSIZ];
とバッファをスタック上に確保しているためのようでした。
ためしに... - 03:06 PM Revision 1d69f7cc (git): * 2011-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:06 PM Revision 6a7081bb (git): * thread_pthread.c (native_cond_signal): retry to call pthread_cond_signal
- and pthread_cond_broadcast if they return EAGAIN in
native_cond_signal and native_cond_broadcast, respectively.
It is for the pthread implementation of Mac OS X 10.7 (Lion).
fixes #5155. [ruby-dev:44342].
* thread_pthread.c (nativ... -
02:18 PM Feature #4990: Proposal: Internal GC/memory subsystem API
- Branch is here: https://github.com/kstephens/ruby/tree/trunk-mem-api
Current progress:
Supports boot-time selection between the standard gc.c memory system (named "core") and a malloc-only system (named "malloc");
the "core" memor... -
11:36 AM Revision 3fb45695 (git): * configure.in: when Solaris cc, use $(CC) to link shared libs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Revision 3abbda4f (git): * error.c (report_bug): use a small message buffer instead of BUFSIZ.
- It is needed for avoiding nested SIGSEGV on Linux.
Note: BUFSIZ is not proper buffer size. It's unrelated with maximum
filename length. :-/
[Bug #5139] [ruby-dev:44315]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32844 b2d... -
09:26 AM Feature #4985: Add %S[] support for making a list of symbols
- I've updated my patch to implement %i and %I. They have the same semantics as %w and %W (one with interpolation, one without).
What do you think of this matz? -
07:09 AM Revision 1c647cc2 (git): * ext/psych/psych.gemspec (files): remove extra commas.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 AM Revision 5f3a8912 (git): * tool/rbinstall.rb (gem): install all gemspecs under lib and ext.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:44 AM Revision f555a533 (git): * tool/rbinstall.rb (Gem::Specification): may not be defined when
- cross-compiling and BASERUBY is 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- 2011/8/4 Aaron Patterson <aaron@tenderlovemaking.com>:
> If the exceptions are not exceptional, that makes me wonder why are they
> exceptions at all? Since these aren't really exceptional cases, I would
> prefer not to rescue... -
02:59 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- On Wed, Aug 03, 2011 at 11:03:09PM +0900, Tanaka Akira wrote:
> 2011/8/2 Yehuda Katz <wycats@gmail.com>:
>
> > The current Ruby I/O classes have non-blocking methods (read_nonblock and write_nonblock). These methods will never block... -
04:29 AM Bug #5144: Remove GPL file from repository
- Urabe Shyouhei wrote:
> Anyway I'm not sure if the source codes in Ruby's
> repository are still valid for Artistic's restriction. We are not
> posting our source codes to uunet. See chapter 3:
>
> http://www.perlfoundation... -
03:12 AM Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
- Do you mean just "-arch=i386" ? I have tried that as a directive in .rvmrc. It results in the build failure originally described by Bryan Ross. Replacing "-arch=i386' with '--with-arch=i386" as an rvm directive causes immediate build ...
-
02:54 AM Revision 11667b9c (git): * include/ruby/missing.h: fix typo and so on.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 AM Revision d04697df (git): * include/ruby/missing.h: define __syscall on OpenBSD as r32702.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:21 AM Bug #5147 (Closed): mkmf should not require static library when ruby is built with --enable-shared
- This issue was solved with changeset r32833.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb (link_command): use static library only for bundled
...