Project

General

Profile

Activity

From 08/16/2011 to 08/22/2011

08/22/2011

11:59 PM Bug #5213 (Closed): GC.stress=true で TestSH#test_commercial が Failure になる
make test-all TESTS="--gc-stress date/test_switch_hitter.rb -n test_commercial"
を実行すると
1) Failure:
test_commercial(TestSH) [/Users/nagachika/opt/ruby-trunk/src/ruby/test/date/test_switch_hitter.rb:176]:
<[2001, 2, 3, 4, 5, 6, (3/...
nagachika (Tomoyuki Chikanaga)
08:47 PM Bug #5204 (Assigned): `defined?(@@foo) && @foo` may fail
Hi ko1, what do you think? shyouhei (Shyouhei Urabe)
07:34 PM Bug #5211 (Rejected): Segmentation fault in Enumerator#each
On 1.9.3, I cannot reproduce this issue using gcc-4.2 with -O3 and llvm-gcc with -O0 on OS X 10.7 (Lion).
Which version of gcc do you use to compile ruby?
llvm-gcc and clang with -On (n>0) are not supported to build 1.9.3.
On the ot...
mrkn (Kenta Murata)
03:31 PM Bug #5211 (Rejected): Segmentation fault in Enumerator#each
Under ruby-1.9.2-p290, on OS X Lion, the following code
@e1 = %w(strike strike strike).to_enum
@e2 = [1,2,3].to_enum
p [@e1.next, @e2.next]
p [@e1.next, @e2.next]
p [@e1.next, @e2.next]
Fails with a Segmentation fau...
woollyams (Mike Williams)
02:48 PM Revision 4ed47113 (git): * 2011-08-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:48 PM Revision 9c038691 (git): * sprintf.c (rb_str_format): add RB_GC_GUARD to prevent temporary
strings from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:38 PM Bug #5208 (Assigned): \b and \B don't match properly
チケット登録ありがとうございます。
やり方はこれでバッチリです。
で、本件ですが、
> ruby 1.9.2では、\wがマルチバイト文字にマッチしないように鬼車を修正していたと思いますが、
> ...
これって対応する必要あるんですかね。
Ruby では \w とは別に \p{Word} というものを用意しているので、「\b は \p{Word} に従う」でよいかと思っています。
Perl 5.14の /a /u は興味深いですね。
(?(cond...
naruse (Yui NARUSE)
12:14 PM Bug #5194 (Rejected): exceptions caught compiling with clang 2.1 on OSX 10.7
Which revision did you build?
I tried to build r33019 with "Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)",
and it was succeeded including "make test".
If you can reproduce this issue with the latest re...
mrkn (Kenta Murata)
11:59 AM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
むらたです。


On Saturday, August 20, 2011 at 19:07 , Motohiro KOSAKI wrote:
> むらたさん
>
> regressionではないようですし、見る時間がなさそうであれば1.9.4に送ってしまってください。僕は時間がないので当分見る予定ないです

わかりました。

--
Kenta Murata
Sent with Sparrow (http://www.sparrow...
mrkn (Kenta Murata)
08:36 AM Bug #5210 (Closed): Kernel#require documentation is incomplete
The documentation for Kernel#require could benefit from additional description.
It does not describe what a return method of false means. Many people initially think that a return value of false means that the require method was unsuc...
agrimm (Andrew Grimm)
08:28 AM Bug #5175: Ruby1.9.2p290 MySQLアクセスエラー
dbi_mysql_connect2.rbは、MySQLへアクセスする簡単なプログラムです。
コードは、以下です。
#!D:/Ruby/bin/ruby.exe -Ks
require "dbi"
begin
dbh = DBI.connect('DBI:Mysql:fbsys:'サーバ名', 'db名', 'PWD')
sth = dbh.prepare("SELECT * FROM テーブル名")
puts dbh
pu...
e_maekawa (eiichi maekawa)

08/21/2011

01:02 PM Bug #5208 (Closed): \b and \B don't match properly
初めまして、高田と申します。
\b, \Bが正しく単語境界、非単語境界にマッチしていません。
ruby 1.9.2では、\wがマルチバイト文字にマッチしないように鬼車を修正していたと思いますが、
\b, \Bについては\w, \Wに対応するように修正されていないようです。
実行例:
C:\>type x.rb
#! ruby -Ks
p /\B/ =~ "あいうabc"
p $'
p /\b/ =~ "あいうabc"
p $'
C:\>...
k_takata (Ken Takata)
11:43 AM Bug #3861 (Closed): Endian bugs in fiddle/dl on sparc64
I've just committed with r33015. close the issue now ngoto (Naohisa Goto)
04:23 AM Bug #3861: Endian bugs in fiddle/dl on sparc64
On Sat, Aug 20, 2011 at 07:11:23PM +0900, Motohiro KOSAKI wrote:
>
> Issue #3861 has been updated by Motohiro KOSAKI.
>
> Status changed from Open to Assigned
>
> Aaron, I think it's ok to backport. But I'd respect your opinion...
tenderlovemaking (Aaron Patterson)
09:00 AM Revision c1ba3ce7 (git): * backport r33019 from trunk.
* iseq.c (iseq_s_disasm): remove variable which is no longer used
since r33013.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
08:59 AM Bug #5175 (Feedback): Ruby1.9.2p290 MySQLアクセスエラー
ping? sorah (Sorah Fukumori)
08:55 AM Revision 729ad0b0 (git): * iseq.c (iseq_s_disasm): remove variable which is no longer used
since r33013.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
05:34 AM Revision 6d36527c (git): * 2011-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:34 AM Revision 4d436eef (git): * configure.in: use LD_LIBRARY_PATH_64 on 64-bit Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
05:34 AM Revision b28715b2 (git): * configure.in: use LD_LIBRARY_PATH_64 on 64-bit Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
02:35 AM Revision 04694797 (git): * 2011-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:35 AM Revision 01db73f6 (git): Merge commit r32895 from trunk:
* 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 ...
ngoto (Naohisa Goto)

08/20/2011

07:13 PM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
Ping? Nahi-san, can you please tell us your final decision?
kosaki (Motohiro KOSAKI)
07:11 PM Bug #3861 (Assigned): Endian bugs in fiddle/dl on sparc64
Aaron, I think it's ok to backport. But I'd respect your opinion. Please decide it.
Thanks.
kosaki (Motohiro KOSAKI)
07:07 PM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
むらたさん
regressionではないようですし、見る時間がなさそうであれば1.9.4に送ってしまってください。僕は時間がないので当分見る予定ないです
kosaki (Motohiro KOSAKI)
07:02 PM Bug #3422: Object.const_get(:A, false) can access BasicObject::A
Matz, I think we need to decide either 1) revert r32283 or 2) fix naruse reported regression. Everybody know you are busy. But I believe 1.9.3 have no regression.....
kosaki (Motohiro KOSAKI)
06:59 PM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
Ping? kosaki (Motohiro KOSAKI)
06:07 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
MinGW built versions of ruby *did* export ruby_thread_data_type before the last commit.
$ ruby -v
ruby 1.9.3dev (2011-08-10 revision 32901) [i386-mingw32]
$ pexports /usr/local/ruby193/bin/msvcrt-ruby191.dll > msvcrt-ruby191-expor...
cfis (Charlie Savage)
05:59 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Commit dea63e4ba22d354984ce0e9e4395f8aba7152ed3 breaks ruby-debug-base19 (not the old ruby-debug-base). ruby-debug-base19 is here:
https://github.com/JetBrains/ruby-debug-base19
The result is this breaks the debugger in JetBrains,...
cfis (Charlie Savage)
02:23 PM Feature #5206: ruby -K should warn
> When ruby is run with -K it changes the default encoding of all files even when that may be incompatible with the source.  If many libraries are used -K may cause incorrect behavior.
>
> Now that we have the "coding:" magic comment...
kosaki (Motohiro KOSAKI)
08:27 AM Feature #5206 (Closed): ruby -K should warn
When ruby is run with -K it changes the default encoding of all files even when that may be incompatible with the source. If many libraries are used -K may cause incorrect behavior.
Now that we have the "coding:" magic comment ruby s...
drbrain (Eric Hodel)
04:31 AM Revision aef5decf (git): * backport r33013 from trunk.
* iseq.c (iseq_s_disasm): fix a bug that may cause SEGV.
* test/ruby/test_method.rb (test_body): add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
04:26 AM Revision 5cb16a55 (git): * iseq.c (iseq_s_disasm): fix a bug that may cause SEGV.
* test/ruby/test_method.rb (test_body): add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
01:43 AM Revision 4536f22a (git): * 2011-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision c2de9428 (git): * 2011-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision dcb7cc1a (git): * ext/stringio/stringio.c (strio_read): return new string if nil
is explicitly given as a buffer ([Bug #5207]), otherwise set the
encoding. also removed dead code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:43 AM Revision aade9453 (git): * ext/stringio/stringio.c (strio_read): return new string if nil
is explicitly given as a buffer ([Bug #5207]), otherwise set the
encoding. also removed dead code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

08/19/2011

08:51 PM Bug #5166: Documentation for OpenSSL::Digest
I'm sorry to leave the patch again. sdaubert (Sylvain Daubert)
07:34 PM Bug #5204 (Closed): `defined?(@@foo) && @foo` may fail
defined?(@@foo) doesn't use the correct cbase.
See https://github.com/ruby/ruby/pull/44 for test and patch.
judofyr (Magnus Holm)
02:16 PM Bug #5190 (Closed): Net::IMAP idle can block a thread forever
This issue was solved with changeset r33007.
Hugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (idle): raises a Net::IMAP::Error when the
co...
shugo (Shugo Maeda)
02:09 PM Bug #5202 (Assigned): RubyLex very slow when lexing large files
naruse (Yui NARUSE)
03:09 AM Bug #5202 (Closed): RubyLex very slow when lexing large files
RubyLex exponentially slower when lexing large files based on the size of the file. This is because of a call to @readed.reverse inside of the get_readed and ungetc methods. The following updated versions of these methods greatly impr... ryanmelt (Ryan Melton)
11:48 AM Bug #5162: IMAP error formatting string
art lussos wrote:
> In the method msg_att in the file imap.rb, the parse error is written as
> ...
I don't know why the back quote is not good. Ruby uses back quotes in many other cases.
$ ruby -e 'foo'
-e:1:in `<main>': unde...
shugo (Shugo Maeda)
11:33 AM Bug #5163 (Closed): (Net::IMAP::ResponseParseError) unknown attribute `)'
This issue was solved with changeset r33001.
art , thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (msg_att): accepts extra space before ')'.
ba...
shugo (Shugo Maeda)
06:44 AM Bug #5203 (Closed): Fixed typos and grammar mistakes in lib/ and ext/
Just fixed some small English mistakes and clarified some things in the documentation. This
was done purely in the standard library and ext/ directories.
luke-gru (Luke Gruber)
05:25 AM Revision e9930a4b (git): * process.c (proc_spawn_v, proc_spawn): should not wait the
spawned process.
* process.c (proc_spawn_v): fix missing argument, and try with
/bin/sh only if failed with ENOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:25 AM Revision e20f354a (git): * process.c (proc_spawn_v, proc_spawn): should not wait the
spawned process.
* process.c (proc_spawn_v): fix missing argument, and try with
/bin/sh only if failed with ENOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:18 AM Revision f23e93f8 (git): * backport r33007 from trunk.
* lib/net/imap.rb (idle): raises a Net::IMAP::Error when the
connection is closed. based on the patch by Hugo Barauna.
[Bug #5190] [ruby-core:38930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33008 b2dd03c8-39d...
shugo (Shugo Maeda)
05:16 AM Revision 2bd37c71 (git): * lib/net/imap.rb (idle): raises a Net::IMAP::Error when the
connection is closed. based on the patch by Hugo Barauna.
[Bug #5190] [ruby-core:38930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:20 AM Revision 5852b97e (git): * configure.in: defines _DARWIN_UNLIMITED_SELECT if the target_os
is darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:17 AM Revision 248d589b (git): * thread.c: add a description for the behavior of select(2) on
Mac OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
02:39 AM Revision 31f92d78 (git): * 2011-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:39 AM Revision b824aff1 (git): * backport r33001 from trunk.
* lib/net/imap.rb (msg_att): accepts extra space before ')'.
based on the patch by art lussos. [Bug #5163] [ruby-core:38820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:33 AM Revision 61f830bf (git): * 2011-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:32 AM Revision 28b5db00 (git): * lib/net/imap.rb (msg_att): accepts extra space before ')'.
based on the patch by art lussos. [Bug #5163] [ruby-core:38820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

08/18/2011

07:17 PM Bug #5193 (Third Party's Issue): ruby_thread_data_type linker errors fixed with RUBY_EXTERN
I'd sent workarounds to ruby-debug. nobu (Nobuyoshi Nakada)
03:53 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Hi,

At Wed, 17 Aug 2011 14:48:59 +0900,
Charlie Savage wrote in [ruby-core:39003]:
> rb_thread_t is *not* public. ruby-debug-base includes
> vm_core.h directly to get access to rb_thread_t. So I would
> guess the develope...
nobu (Nobuyoshi Nakada)
03:45 PM Bug #5201: Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
試してみました。Xcode のバージョンは 4.1 (Build 4B110) です。
1.9.3 HEAD を、
gcc-4.2 -O3 -march=core2 -mtune=core2 でビルドした結果: 問題なし
gcc -O3 -march=core2 -mtune=core2 でビルドした結果: 問題なし
1.9.2 に http://redmine.ruby-lang.org/issues/5074 がバックポートされた場合は、
gcc-...
mrkn (Kenta Murata)
12:48 PM Revision 29cbd339 (git): * 2011-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:48 PM Revision 224d0eeb (git): * ChangeLog: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)

08/17/2011

08:58 PM Bug #5201 (Third Party's Issue): Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
shyouhei (Shyouhei Urabe)
08:50 PM Bug #5201 (Rejected): Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
fiber だと llvm-gcc だからでしょうね。
gcc-4.2 でも再現したら reopen してください。
naruse (Yui NARUSE)
08:25 PM Bug #5201: Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
> ビルド/実行環境はMac OS X Lion (10.7)、Xcode 4.1.1です。 llvm-gccをgccに置き換えるなどの変更は特に行っていません。
この場合 llvm-gcc が使われてしまうので、
http://redmine.ruby-lang.org/issues/5082
と同じじゃないですかね? 1.9.3-preview1でも再現しますか?
kosaki (Motohiro KOSAKI)
08:03 PM Bug #5201 (Third Party's Issue): Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
=begin
ビルド/実行環境はMac OS X Lion (10.7)、Xcode 4.1.1です。
llvm-gccをgccに置き換えるなどの変更は特に行っていません。
処理系はソースコードからconfigure & make & make installしました。
以下のようなコードでSEGVしました。
require 'fiber'

task = Fiber.new do
Fiber.yield 1
Fibe...
h_morita_esm (Hideyuki MORITA)
06:59 PM Feature #5056: About 1.9 EOL
On Thu, Jul 21, 2011 at 10:01 AM, Jon Forums <[email protected]> wrote:
> jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 1.6.0_26) [Windows 7-x86-java]
> Rehearsal ----------------------------------...
headius (Charles Nutter)
05:58 PM Bug #5200 (Feedback): Ruby Crash Segmentation fault
It seems segved on "return !/^[\w\u4e00-\u9fa5]+$/i.match(word.force_encoding("UTF-8")).blank?".
So can you show the `word`?
# Or I doubt redis returns broken string.
naruse (Yui NARUSE)
04:49 PM Bug #5200 (Rejected): Ruby Crash Segmentation fault
/Users/jason/work/redis-search/lib/redis_search/search.rb:38: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
-- control frame ----------
c:0041 p:0016 s:0145 b:0142 l:000141 d:000141 METHOD...
huacnlee (Jason Lee)
02:48 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
rb_thread_t is *not* public. ruby-debug-base includes vm_core.h directly to get access to rb_thread_t. So I would guess the developers are well aware that it could change at any time. But given the alternative of no debugger at all, t... cfis (Charlie Savage)
02:45 PM Bug #5197: at_exit order has changed in 1.9.3dev32413
Hi Ryan,
Can you please see following discussion at first?
http://redmine.ruby-lang.org/issues/4400
And then, can you please explain why you are unhappy? Now at_exit() is consistent with JRuby and MacRuby. Then, fixing your ...
kosaki (Motohiro KOSAKI)
06:31 AM Bug #5197 (Rejected): at_exit order has changed in 1.9.3dev32413
I could have sworn I filed or mailed this before, but I can't find it. Sorry if this is a dupe.
#!/usr/bin/ruby -w
happy = false
at_exit { happy = true } # test runner
at_exit { at_exit { abort "not...
zenspider (Ryan Davis)
02:04 PM Revision 52c7bbd4 (git): * ext/bigdecimal/bigdecimal.c (cannot_be_coerced_into_BigDecimal):
remove duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
11:49 AM Feature #4801: Shorthand Hash Syntax for Strings
@Nobuyoshi Nakada, it does seem that my original suggestion for the Hash syntax cannot be implemented due to the String/Symbol incompatibilities, thus how this discussion has panned out is quite natural, though I think it would be better... wardrop (Tom Wardrop)
11:31 AM Bug #5199 (Closed): ext/tk: RB_GC_GUARD seems to be needed in several places
I noticed the following in ext/tk/tkutil/tkutil.c:
rb_warning("fail to convert '%s' to string for Tk",
RSTRING_PTR(rb_funcall(obj, rb_intern("inspect"), 0,
0)));
id = rb_intern(RSTRIN...
normalperson (Eric Wong)
10:51 AM Bug #5172: [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
Would you please a new ticket for the issue of tk.
mrkn (Kenta Murata)
10:38 AM Feature #5196: true should be True.
In common, all uppercase names are used for constants, except for classes and modules.
So True doesn't seem like an ordinary constant, and it doesn't feel nice for me.
Why there is TRUE is the historical reason.
In very early ruby, ...
nobu (Nobuyoshi Nakada)
03:11 AM Feature #5196: true should be True.
"true" is not constant but keyword like false, nil, if, else, __FILE__, __LINE__, and so on. naruse (Yui NARUSE)
02:55 AM Feature #5196: true should be True.
Thank you for informations.
But why there is TRUE?
irb(main):007:0> TRUE = false
(irb):7: warning: already initialized constant TRUE
=> false
TRUE can be update.
So,There is no reasons why I use TRUE.
And,I think,there is no...
Tomoki_Imai (Tomoki Imai )
02:53 AM Feature #5196: true should be True.
But constant doesn't mean you can't change it in Ruby... keywords are basically the only thing you can't change. And most of those are not capitalized.
`true` is a literal, just like `nil` or `250`. You can't change those either.

Ea...
rkh (Konstantin Haase)
02:34 AM Feature #5196: true should be True.
There are the constants TRUE, FALSE and NIL which contain true, false and nil drbrain (Eric Hodel)
02:33 AM Feature #5196: true should be True.
In Ruby, you can update constants, though:
ruby-1.9.2-p180 :001 > A = 5
=> 5
ruby-1.9.2-p180 :002 > A = 6
(irb):2: warning: already initialized constant A
=> 6
So I don't see how this would change anything.
steveklabnik (Steve Klabnik)
02:28 AM Feature #5196 (Rejected): true should be True.
Hello.I'm Tomoki Imai.
I found Ruby has inconsistency.
true is constant value.
In irb,
true = nil
(irb):5: Can't assign to true
true = nil
^
from (irb):5
from :0
We can't change value true.
In Ruby,we use cap...
Tomoki_Imai (Tomoki Imai )
10:24 AM Bug #5020 (Closed): Rational cannot coerce into Complex with imag.
This issue was solved with changeset r32994.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* rational.c (nurat_coerce): Rational#coerce should converts its...
mrkn (Kenta Murata)
07:25 AM Feature #5198 (Closed): IMAP -- would like fucntions that return the default ports
POP and SMTP have functions like this and it would be nice to have them in IMAP as well.
# The default port for IMAP connections, port 143
def self.default_imap_port
PORT
end

# The default port for POP3S connections, por...
art.lussos (art lussos)
07:06 AM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
Hello Mr. Nakada, any word on this?
Thank you.
luislavena (Luis Lavena)
06:52 AM Revision bc6c037f (git): Merge commit r32996 from trunk:
* ext/bigdecimal/bigdecimal.c (cannot_be_coerced_into_BigDecimal):
add a new function for raising error when an object cannot coerce
into BigDecimal. [Bug #5172]
* ext/bigdecimal/bigdecimal.c (BigDecimalValueWithPrec): u...
Kenta Murata
06:35 AM Revision 4e8d6c10 (git): Merge branch '5172_bigdecimal_gc_issue' into trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:41 AM Bug #5166 (Feedback): Documentation for OpenSSL::Digest
Oops, closed accidentally, I think this patch is still missing drbrain (Eric Hodel)
01:32 AM Revision 559b7175 (git): Merge commit r32994 from trunk:
* rational.c (nurat_coerce): Rational#coerce should converts itself
into Complex if the argument is a Complex with non-zero imaginary
part. [Bug #5020] [ruby-dev:44088]
* test/ruby/test_rational.rb (test_coerce): test fo...
Kenta Murata
01:24 AM Revision b30d203f (git): * rational.c (nurat_coerce): Rational#coerce should converts itself
into Complex if the argument is a Complex with non-zero imaginary
part. [Bug #5020] [ruby-dev:44088]
* test/ruby/test_rational.rb (test_coerce): test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32994 b2dd0...
Kenta Murata

08/16/2011

10:39 PM Bug #5195 (Assigned): Queue#popでsleepしているthreadをwakeupさせるとQueueの@waitingにそのthreadがpushされてしまう
kosaki (Motohiro KOSAKI)
10:18 PM Bug #5195 (Closed): Queue#popでsleepしているthreadをwakeupさせるとQueueの@waitingにそのthreadがpushされてしまう
=begin
次のようなコードを実行すると、

require 'thread'

queue = Queue.new

t1 = Thread.start { queue.pop; p 1 }

nil until t1.stop?
t1.wakeup
nil until t1.stop?

t2 = Thread.start { queue.pop; p 2 }

nil until t1.stop? && ...
Glass_saga (Masaki Matsushita)
10:18 PM Bug #5194: exceptions caught compiling with clang 2.1 on OSX 10.7
More traces info
Process: miniruby [30619]
Path: /Users/USER/*/miniruby
Identifier: miniruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: gnumake [29787]
Date/Time: ...
joneslee85 (Jones Lee)
10:13 PM Bug #5194 (Rejected): exceptions caught compiling with clang 2.1 on OSX 10.7
Got exception when compiling ruby1.9.4dev with clang 2.1 (Xcode 4) on OSX Lion 10.7
Source SVN date: 16/08/2011
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
generating new...
joneslee85 (Jones Lee)
09:46 PM Revision 9d5b1a51 (git): * backport r32992 from trunk.
* ext/openssl/ossl_x509cert.c: Add class documentation for
OpenSSL::X509::Certificate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
09:41 PM Revision 783fb088 (git): * ext/openssl/ossl_x509cert.c: fixed whitespace issues
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
09:37 PM Revision 515d546d (git): * ext/openssl/ossl_x509cert.c: Add class documentation for
OpenSSL::X509::Certificate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
09:20 PM Feature #4801: Shorthand Hash Syntax for Strings
The most important distinction between Symbols and Strings: a Symbol has the property where its identity *is* its lexical equality where as a String's identity is distinct from its equality. The difference has important performance and ... kstephens (Kurt Stephens)
06:53 PM Feature #4801: Shorthand Hash Syntax for Strings
For info, look at
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/9251 and
the surrounding thread.

On Tue, Aug 16, 2011 at 11:43 AM, Nobuyoshi Nakada <[email protected]> wrote:

>
> Second, that proposal, "Symbol as...
sdsykes (Stephen Sykes)
05:53 PM Feature #4801: Shorthand Hash Syntax for Strings
Hi,

At Mon, 15 Aug 2011 11:59:34 +0900,
Tom Wardrop wrote in [ruby-core:38957]:
> So basically what I proposed in my previous message, is to
> some extent, get rid of Symbols. You'd still have the :symbol
> syntax, and symb...
nobu (Nobuyoshi Nakada)
07:07 AM Feature #4801: Shorthand Hash Syntax for Strings
> More simply, if you have String input (say from a user, or as parameters from an HTTP request) your Hash should have String keys. If you have internal fixed values you're looking up you > should use Symbols for both.
It's rarely that...
wardrop (Tom Wardrop)
07:07 AM Feature #4801: Shorthand Hash Syntax for Strings
=begin
More simply, if you have String input (say from a user, or as parameters from an HTTP request) your Hash should have String keys. If you have internal fixed values you're looking up you should use Symbols for both.
=end
It's...
wardrop (Tom Wardrop)
03:18 AM Feature #4801: Shorthand Hash Syntax for Strings
How do you determine (or who determines) "what makes the most sense in terms of memory and the garbage collector"?
For a Hash with keys that are all the same class (String or Symbol) the best performance comes from matching the Hash's...
drbrain (Eric Hodel)
08:06 PM Revision 2a798abf (git): * 2011-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 03c9ff29 (git): * backport r32987 from trunk.
* ext/openssl/ossl_pkey.c: corrected docs, OpenSSL::PKey::DH does
*not* support #sign/verify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
07:59 PM Revision 734a62a4 (git): * 2011-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 PM Revision a517fe05 (git): * ext/openssl/ossl_pkey.c: corrected docs, OpenSSL::PKey::DH does
*not* support #sign/verify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
05:53 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Hi,

At Tue, 16 Aug 2011 16:53:07 +0900,
Usaku NAKAMURA wrote in [ruby-core:38973]:
> nobu changed the name of this variable at r30783, and I guess that
> he has intended to make this variable public.

No, it was a follow-...
nobu (Nobuyoshi Nakada)
04:53 PM Bug #5193 (Assigned): ruby_thread_data_type linker errors fixed with RUBY_EXTERN
nobu changed the name of this variable at r30783, and I guess that
he has intended to make this variable public.
nobu, is this correct?
and do you have any opinion about this request?
usa (Usaku NAKAMURA)
03:51 PM Bug #5193 (Third Party's Issue): ruby_thread_data_type linker errors fixed with RUBY_EXTERN
ruby-debug-base19x fails to compile with VC++ 2010 with this error:
ruby_debug.obj : error LNK2001: unresolved external symbol _ruby_thread_data_type
ruby_thread_data_type is declared in vm_core.h as:
extern const rb_data_type_t...
cfis (Charlie Savage)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
まつもと ゆきひろです

In message "Re: [ruby-dev:44398] Re: [Ruby 1.9 - Feature #5128] 日本語ドキュメントをUTF-8に"
on Tue, 16 Aug 2011 12:05:41 +0900, Nobuyoshi Nakada <[email protected]> writes:

|いや、元はRedmineですよね。
|| *.ja のファイルは歴史的な事情から...
matz (Yukihiro Matsumoto)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(11/08/16 11:28), NARUSE, Yui wrote:
> 2011年8月16日11:12 Nobuyoshi Nakada <[email protected]>:
>> (11/08/16 10:29), NARUSE, Yui wrote:
>>> 2011年8月16日10:15 Nobuyoshi Nakada <[email protected]>:
>>>> (11/08/15 17:41), Urabe Shyouh...
nobu (Nobuyoshi Nakada)
11:29 AM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月16日11:12 Nobuyoshi Nakada <[email protected]>:
> (11/08/16 10:29), NARUSE, Yui wrote:
>> 2011年8月16日10:15 Nobuyoshi Nakada <[email protected]>:
>>> (11/08/15 17:41), Urabe Shyouhei wrote:
>>>> (08/12/2011 10:57 AM), Ayum...
naruse (Yui NARUSE)
11:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
(11/08/16 10:29), NARUSE, Yui wrote:
> 2011年8月16日10:15 Nobuyoshi Nakada <[email protected]>:
>> (11/08/15 17:41), Urabe Shyouhei wrote:
>>> (08/12/2011 10:57 AM), Ayumu Aizawa wrote:
>>>> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?...
nobu (Nobuyoshi Nakada)
10:53 AM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月16日10:15 Nobuyoshi Nakada <[email protected]>:
> (11/08/15 17:41), Urabe Shyouhei wrote:
>> (08/12/2011 10:57 AM), Ayumu Aizawa wrote:
>>> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?
>>
>> 個人的にはいいんではないかと思うんですけれども。反対の人っています...
naruse (Yui NARUSE)
10:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
(11/08/15 17:41), Urabe Shyouhei wrote:
> (08/12/2011 10:57 AM), Ayumu Aizawa wrote:
>> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?
>
> 個人的にはいいんではないかと思うんですけれども。反対の人っていますか。

Redmineのほうは直ったんでしょうか。
nobu (Nobuyoshi Nakada)
11:26 AM Bug #5176 (Closed): UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
Thank you for testing! The fix is in trunk, and should be in 1.9.3 as well. I will close this now. tenderlovemaking (Aaron Patterson)
11:10 AM Bug #5176: UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
Thanks Aaron!
I tried Psych gem on Linux and Windows, your test was passed.
And my sample code ran with no errors.
hannibal (Masafumi Kiribayashi)
09:56 AM Revision dea63e4b (git): * vm.c (ruby_threadptr_data_type): rename to hide.
[ruby-core:38972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:56 AM Revision 0dee7247 (git): * vm.c (ruby_threadptr_data_type): rename to hide.
[ruby-core:38972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:52 AM Revision a8f67eed (git): * win32/mkexports.rb (Exports::Mswin#each_export): exclude Init_
and _threadptr_ functions, as well as mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:52 AM Revision cb40b39a (git): * win32/mkexports.rb (Exports::Mswin#each_export): exclude Init_
and _threadptr_ functions, as well as mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:34 AM Bug #5192 (Closed): [documentation] 100% of Fiddle and +12% of DL
This issue was solved with changeset r32982.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl: Add documentation. Patch by Vincent Batts. [Ruby ...
drbrain (Eric Hodel)
08:08 AM Feature #5182 (Closed): [PATCH] Update Socket doc
This issue was solved with changeset r32977.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket: Make Socket documentation appear. Add document...
drbrain (Eric Hodel)
07:21 AM Feature #5182 (Assigned): [PATCH] Update Socket doc
drbrain (Eric Hodel)
01:36 AM Revision 5afbff7b (git): duplicated statement removed in comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:51 AM Revision c33343b9 (git): * backport r32981 and r32982 from trunk.
* ext/dl: Add documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #5192]
* ext/.document (fiddle): Remove duplicate entry
* ext/fiddle: Complete documentation of Fiddle. Patch by Vincent
Batts. [#5192]
git-svn-id: svn+ssh:...
drbrain (Eric Hodel)
12:34 AM Revision de6d4f7e (git): * ext/dl: Add documentation. Patch by Vincent Batts. [Ruby 1.9 - Bug #5192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
 

Also available in: Atom