Project

General

Profile

Activity

From 04/29/2012 to 05/05/2012

05/05/2012

11:31 PM Bug #6405: Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
hi Ryan,
I just sent pull request.
https://github.com/seattlerb/minitest/pull/124
Thanks.
ayumin (Ayumu AIZAWA)
11:17 PM Bug #6405 (Assigned): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
sorry, r35543 was wrong. ( reverted by r35544)
It should be fixed by mintiest side like as following:
--- a/lib/minitest/unit.rb
+++ b/lib/minitest/unit.rb
@@ -281,8 +281,8 @@ module MiniTest

def assert_match matcher, ob...
ayumin (Ayumu AIZAWA)
06:27 PM Bug #6405 (Closed): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
This issue was solved with changeset r35543.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rubygems/test_gem_installer.rb: fix broken test for r35541....
ayumin (Ayumu AIZAWA)
05:27 PM Bug #6405 (Closed): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
After r35541, test-all fails as following:

2) Error:
test_equals_tilde(TestGemPlatform):
TypeError: can't convert Gem::Platform to String
/home/chkbuild/build/ruby-trunk/20120504T230101Z/ruby/test/rubygems/test_gem_plat...
naruse (Yui NARUSE)
04:22 PM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
I can reproduce this issue for trunk with MinGW64 4.7.0 on Windows 7.
I found it is related with inline function optimization.
Here is a workaround:
./configure --build=x86_64-w64-mingw32 CFLAGS="-O2 -finline-functions"
phasis68 (Heesob Park)
01:15 PM Revision ae4fa795 (git): Revert r35443.
Revert "* test/rubygems/test_gem_installer.rb: fix broken test for r35541."
* r35541 breaks exist tests, it should be a bug unless it is inteneded.
there seems no such intention.
https://github.com/seattlerb/minitest/commit/68858105b...
naruse (Yui NARUSE)
10:35 AM Feature #6362: Modular exponentiation/inverse
mame (Yusuke Endoh) wrote:
> Martin, thanks. Assigning it to matz.
Sure, you're welcome :)
> ...
Sounds really nice and it would extend better to arithmetic
in finite fields defined over irreducible polynomials or to
elliptic cur...
MartinBosslet (Martin Bosslet)
10:01 AM Feature #6361: Bitwise string operations
kernigh (George Koehler) wrote:
> =begin
> ...
Good point, I like the idea of having an alternative destructive version, should boost performance a lot.
I think you actually need both because the "secure" version, ByteString::Immutabl...
MartinBosslet (Martin Bosslet)
09:54 AM Feature #6361: Bitwise string operations
duerst (Martin Dürst) wrote:
>
> ...
Sorry for the confusion, you are right, I should have actually written "bytewise"
in the title for my initial proposal.
There is a risk of exaggerating things, but on the other hand I think
a featu...
MartinBosslet (Martin Bosslet)
09:38 AM Feature #6361: Bitwise string operations
nobu (Nobuyoshi Nakada) wrote:
>
> ...
Thought the same, sounds much like this[1].
I think having both bit and byte operations in the same class at the same time would become a mess real soon. But apart from the "resolution" (bit, ...
MartinBosslet (Martin Bosslet)
09:27 AM Revision f406e3ac (git): * test/rubygems/test_gem_installer.rb: fix broken test for r35541.
[ruby-core:44884][Bug #6405]
* test/rubygems/test_gem_platform.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
08:38 AM Bug #6387: 1.9.3p194 crashed on require in ubuntu
This seems different issue from #5181, and looks like #5931;
it seems because of something around GC.
naruse (Yui NARUSE)
08:11 AM Feature #2565: adding hooks for better tracing
Aaron,
Thanks. I had no idea about the licence.
Is your branch stable(ish) to try it out?
andhapp (Anuj Dutta)
07:58 AM Bug #5263 (Closed): Ruby crash when installing yard-0.7.2 installation
This is fixed in Ruby 1.9.3-p125. naruse (Yui NARUSE)
07:57 AM Bug #5224 (Closed): Yard seems to be crashing ruby.
This is fixed in Ruby 1.9.3-p125. naruse (Yui NARUSE)
05:23 AM Bug #5423: readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
たぶん readline した後に rl_free_line_state() するのが本質だと思います。
残りはなんで入れたんだろう、今はF9+Readline5.2で消しても再現しないので、
+ rl_catch_signals = 0;
+ rl_catch_sigwinch = 0;
の部分は消して大丈夫だと思います。
naruse (Yui NARUSE)
04:18 AM Feature #6311: memmem()によるrb_memsearch()の高速化
rb_memsearch_ss() を入れたのはわたしですね。
Linux と FreeBSD あたりで memmem 利用より速いのだったら置き換えちゃっていいんじゃないかと思います。
missing/memmem.c 作って rb_memsearch_ss() の実装移すって技もありますし。
naruse (Yui NARUSE)
02:07 AM Bug #6398 (Closed): Add tests for Zlib.inflate and Zlib.deflate
This issue was solved with changeset r35540.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/zlib/test_zlib.rb (test_inflate): add a test for Zlib.i...
naruse (Yui NARUSE)
01:14 AM Bug #6324 (Closed): Spurious/incorrect warning on File.open with internal_encoding specified in string mode to duplicate external_encoding
This issue was solved with changeset r35538.
jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (parse_mode_enc): remove warnings 'Ignoring internal e...
naruse (Yui NARUSE)
12:36 AM Bug #6401 (Assigned): Windows bug with File.pos
luislavena (Luis Lavena)
12:33 AM Bug #6401 (Closed): Windows bug with File.pos
On Windows since Ruby 1.9.3p125 there have been issues with File.pos and File.readline. Ruby 1.9.3p0 does not have this issue. I have created the following test:
def test_pos_with_readline
t = make_tempfile
random = Random...
jmthomas (Jason Thomas)

05/04/2012

10:34 PM Feature #5785 (Assigned): Readline に pre_input_hook, insert_text, redisplay を追加
kouji (Kouji Takao) wrote:
> This issue was solved with changeset r35513.
> ...
このコミット以降、boron にて以下のようにテストに失敗しています。
+ <n>) Failure:
+test_modify_text_in_pre_input_hook(TestReadline) [/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/r...
naruse (Yui NARUSE)
10:20 PM Bug #6397 (Assigned): Net::IMAP::ResponseParseError: unexpected token LPAR (expected QUOTED or LITERAL)
mame (Yusuke Endoh)
10:19 PM Bug #5423 (Assigned): readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
#5023 もこれと同じ原因だと思います。再現します。
r24140 は #1118 で成瀬さんが FreeBSD のために入れたようですが、なんでこれで SEGV 回避になるのか説明がなくて
よくわかりませんが、r24140 を revert すると問題の現象が消えるので regression だと思います。
ということで、成瀬さんお願いします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
09:47 PM Revision 4750b11c (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:46 PM Revision 6af843b9 (git): Imported minitest 2.12.1 (r7323)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
09:33 PM Bug #6400 (Closed): dl/callback with fiddle occurs SEGV on NetBSD amd64
On NetBSD amd64, libffi with callback occurs SEGV as following.
kelvena% cat p
require 'dl/callback'
require 'dl/func'
include DL
Called_with = nil
addr = set_callback(TYPE_VOID, 1) do |str|
called_with = dlunwrap(str)
end
...
naruse (Yui NARUSE)
05:07 PM Revision 95d4b3ba (git): * test/zlib/test_zlib.rb (test_inflate): add a test for Zlib.inflate.
patched by headius (Charles Nutter). [ruby-core:44859] [Bug #6398]
* test/zlib/test_zlib.rb (test_deflate): add a test for Zlib.deflate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:14 PM Revision b17158a2 (git): * 2012-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:14 PM Revision afd9ce9d (git): * io.c (parse_mode_enc): remove warnings 'Ignoring internal encoding'.
[ruby-core:44455] [Bug #6324]
* io.c (io_encoding_set): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:26 PM Revision 66b0d426 (git): rescue if it cannnot load psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:43 PM Revision 823f0719 (git): Remove wrong case conversion U+0294
[ruby-dev:45594] [Bug #6380]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:26 AM Feature #6399 (Assigned): IO.read ignores valid open_args on Windows
mame (Yusuke Endoh)
08:08 AM Feature #6399: IO.read ignores valid open_args on Windows
Of course, you mean "valid on Windows", I guess. nobu (Nobuyoshi Nakada)
07:25 AM Feature #6399: IO.read ignores valid open_args on Windows
Grr, should be "open_args". djberg96 (Daniel Berger)
07:25 AM Feature #6399 (Feedback): IO.read ignores valid open_args on Windows
On Microsoft Windows the fopen function accepts many more modes than the standard function:
http://msdn.microsoft.com/en-us/library/yeby3zcb(v=vs.80).aspx
However, Ruby 1.9 doesn't appear to allow them:
# Try to force a sequenti...
djberg96 (Daniel Berger)
09:24 AM Bug #6398 (Assigned): Add tests for Zlib.inflate and Zlib.deflate
mame (Yusuke Endoh)
06:09 AM Bug #6398 (Closed): Add tests for Zlib.inflate and Zlib.deflate
These just dispatch the same as calling Zlib::Deflate.deflate and Zlib::Inflate.inflate, but the Zlib-bound versions are not tested anywhere. As a result, we missed adding them in JRuby until now.
Patch for test: https://gist.github.c...
headius (Charles Nutter)
08:50 AM Feature #6361: Bitwise string operations
=begin
: kernigh (George Koehler) wrote:
The main reason, to perform bitwise operations on a String, is to use this String as an array of bits. The purpose of each bitwise operation is to clear or set some bits in this array. For exam...
nobu (Nobuyoshi Nakada)
08:13 AM Feature #6361: Bitwise string operations
Just throwing this out there, but a new class could be introduced first, then used as a replacement for Pack/IO/etc. in a later version (to allay breaking change concerns).
I understand the desire to simply work on an array of bits, b...
jballanc (Joshua Ballanco)
06:04 AM Feature #6361: Bitwise string operations
=begin
A new BinaryString (or Blob) class would entail several changes. For example, Array#pack and IO#read(n) would need to return BinaryString, not String. I prefer to keep String for binary strings.
The main reason, to perform bit...
kernigh (George Koehler)
12:53 AM Feature #6361: Bitwise string operations
On Thursday, May 3, 2012 at 9:16 AM, "Martin J. Dürst" wrote:
> On 2012/04/30 1:50, Joshua Ballanco wrote:
>
> > I know it seems like this class is just wrapping String and always defaulting to byte-wise operations, but it's more f...
jballanc (Joshua Ballanco)
05:59 AM Feature #6309: Add a reference queue for weak references
I linked to a concrete use case in the original report...an implementation of a "weak ID map" entirely in Ruby without scanning for dead references: https://github.com/headius/weakling/blob/master/lib/weakling/collections.rb
It is no...
headius (Charles Nutter)
04:14 AM Bug #6246: 1.9.3-p125 intermittent segfault
Since my last post, I've continued to see the crash
But today I came across this bug report for the logging gem
https://github.com/TwP/logging/issues/30
which may very well be the source
I'll update my experiences here
jshow (Jodi Showers)
01:43 AM Feature #3344: supporting rfc 5789 - http patch verb
Why is that? isaacsanders (Isaac Sanders)
01:33 AM Bug #6392 (Closed): rdoc -E option does not work
This issue was solved with changeset r35532.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rdoc: --extension option fix
* lib/rdoc/parser.rb (RDoc.ali...
nobu (Nobuyoshi Nakada)
01:31 AM Bug #6393 (Closed): rdoc does not parse multibyte files
This issue was solved with changeset r35531.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rdoc: non-binary multibyte
* lib/rdoc/parser.rb (RDoc.binar...
nobu (Nobuyoshi Nakada)

05/03/2012

11:41 PM Bug #6397 (Closed): Net::IMAP::ResponseParseError: unexpected token LPAR (expected QUOTED or LITERAL)
While parsing the following response:
C: RUBY0004 UID FETCH 2862 BODYSTRUCTURE
S: * 980 FETCH (UID 2862 BODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "iso-8859-1") NIL NIL "7BIT" 416 21 NIL NIL NIL)("TEXT" "HTML" ("CHARSET" "iso-8859-1"...
romanbsd (Roman Shterenzon)
10:50 PM Revision 09063f9d (git): Embed backtrace to debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:20 PM Revision 8109c530 (git): * lib/rdoc/parser.rb (RDoc.binary?): fix wrong regexp.
[ruby-core:44798] [Bug #6393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:10 PM Bug #6396 (Rejected): instance_eval内での変数の扱いについて
nobu (Nobuyoshi Nakada)
09:09 PM Bug #6396: instance_eval内での変数の扱いについて
=begin
一度 x への代入が現れれば、そのスコープではそこ以降では x というローカル変数が定義されていることになります。
これは構文解釈時に行われる判断なので、実際に代入されるかどうかは無関係です。
o.x へ代入したいのであれば、
o.x = 2

self.x = 2
としてください。
=end
nobu (Nobuyoshi Nakada)
08:39 PM Bug #6396 (Rejected): instance_eval内での変数の扱いについて
=begin
class O
attr_accessor :x
end
o = O.new
o.x = 99
o.instance_eval do
p x #=> 99
if nil
x = 2 # この記述があるとxがnilになる
end
p x #=> nil
end
これはバグでしょうか?
o.instance_eval do
...
uy (西行寺 うゆ)
04:57 PM Revision c327407b (git): distclean verconf.h
* Makefile.in, win32/Makefile.sub (distclean-local): another generated
header.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:33 PM Revision 9bee6cf5 (git): rdoc: --extension option fix
* lib/rdoc/parser.rb (RDoc.alias_extension): a real file is irrelevant
to aliasing. [ruby-core:44796][Bug #6392]
* lib/rdoc/parser.rb (RDoc.zip?): non-existent file will not be a zip
file.
* lib/rdoc/parser.rb (RDoc.can_parse_by_nam...
nobu (Nobuyoshi Nakada)
04:31 PM Revision 1348e3b9 (git): rdoc: non-binary multibyte
* lib/rdoc/parser.rb (RDoc.binary?): binary read data may have
incomplete multibyte sequence. [ruby-core:44798][Bug #6393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:16 PM Bug #6381 (Assigned): Useful methods like included don't appear in RDoc
Thanks for letting me know. Eric, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:59 PM Bug #6381: Useful methods like included don't appear in RDoc
Dne 3.5.2012 6:23, mame (Yusuke Endoh) napsal(a):
> Issue #6381 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Rejected
> Assignee set to drbrain (Eric Hodel)
>
> Eric, who is a RDoc maintainer, has...
Anonymous
01:23 PM Bug #6381 (Rejected): Useful methods like included don't appear in RDoc
Eric, who is a RDoc maintainer, has already answered [ruby-core:40663] and [ruby-core:40679].
Ruby-doc admin seems to misinterpret Ruby's private as Java's.
I'm sympathetic to your situation. You are between two fires.
Please reope...
mame (Yusuke Endoh)
03:53 PM Bug #6343: Improved Fiber documentation
(2012/05/03 8:12), andhapp (Anuj Dutta) wrote:
> Thanks ko1 for your comment. The example doesn't use Fiber#resume on fiber1. It uses Fiber.yield to return to the calling context. However, can you please explain how it should work? I ...
ko1 (Koichi Sasada)
08:12 AM Bug #6343: Improved Fiber documentation
Hi,
Thanks ko1 for your comment. The example doesn't use Fiber#resume on fiber1. It uses Fiber.yield to return to the calling context. However, can you please explain how it should work? I mean, why do you think it's a bug?
Thanks.
andhapp (Anuj Dutta)
07:53 AM Bug #6343: Improved Fiber documentation
Hi,

We shouldn't mix Fiber#yield, Fiber.resume and Fiber.transfer. In other
words, fiber1 shouldn't use Fiber#resume on the your example.

I think it is a bug of current Ruby.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
03:23 PM Feature #6361: Bitwise string operations
On 2012/04/30 1:50, Joshua Ballanco wrote:

> I know it seems like this class is just wrapping String and always defaulting to byte-wise operations, but it's more fundamental than that. Because there is no encoding on the bytes, the...
duerst (Martin Dürst)
09:07 AM Feature #6361: Bitwise string operations
Added the possibility to specify an encoding when converting
to a String, forgot about that in the first version.
MartinBosslet (Martin Bosslet)
03:09 PM Revision 19be9a8d (git): * 2012-05-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 4b0e5eda (git): inilne markups
* README.ja: separate inilne markups from multibyte sequence by
spaces, so that another implementation can parse them properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:09 PM Revision aa913eb6 (git): single quotes
* README, README.ja: use single quotes for RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:56 PM Revision 3f6349a1 (git): * tool/rbinstall.rb (capi): install to capi directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 PM Revision cfcc9b53 (git): * template/Doxyfile.tmpl (EXCLUDE_PATTERNS): exclude files only for tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:53 PM Feature #6376: Feature lookup and checking if feature is loaded
On Thu, May 3, 2012 at 6:53 AM, Yusuke Endoh <mame@tsg.ne.jp> wrote:
> 2012/5/3 Nikolai Weibull <now@bitwi.se>:
>> so if you have a file that provides A::B and B has already been
>> provided by another library, then defined? won’t wo...
now (Nikolai Weibull)
02:04 PM Feature #6376: Feature lookup and checking if feature is loaded
I think it depends. For on thing, a library's api can change over time. So that might not be the best fit, if what your asking is if library `xyz` is being used?. That's a more general question. Two different libraries might share some o... trans (Thomas Sawyer)
01:53 PM Feature #6376: Feature lookup and checking if feature is loaded
2012/5/3 Nikolai Weibull <now@bitwi.se>:
> so if you have a file that provides A::B and B has already been
> provided by another library, then defined? won’t work.

Then, defined?(A::B.some_class_method) or else.

Anyway, I don't ...
mame (Yusuke Endoh)
01:23 PM Feature #6376: Feature lookup and checking if feature is loaded
On Thu, May 3, 2012 at 6:02 AM, mame (Yusuke Endoh) <mame@tsg.ne.jp> wrote:
>
> Issue #6376 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Feedback
>
> Of course you know what is defined by the feature yo...
now (Nikolai Weibull)
01:02 PM Feature #6376 (Feedback): Feature lookup and checking if feature is loaded
Of course you know what is defined by the feature you loaded, don't you?
(If not, you must not load such a file; it is very dangerous)
So you can use: defined?(OpenStruct)
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:13 PM Feature #6394 (Assigned): Support SO_ORIGINAL_DST socket option
mame (Yusuke Endoh)
02:05 PM Revision f959f2af (git): * template/Doxyfile.tmpl: exclude generated files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:40 PM Bug #6387 (Feedback): 1.9.3p194 crashed on require in ubuntu
Hello, thank you for reporting.
Could you please elaborate how to reproduce?
I tried below by seeing #5181, but failed to reproduce:
$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
$ gem --version
1....
mame (Yusuke Endoh)
01:07 PM Feature #6388: Convert README to README.rdoc with formatting
It doesn't seem necessary, because you hadn't mentioned about github at all.
Github's RDoc parser seems dealing with inline markups in multibyte contents differently than the bundled one.
nobu (Nobuyoshi Nakada)
01:06 PM Bug #6370: NaNTest failed for Ruby 1.9.3 P194
Heesob Park, thank you!
And I'm very sorry. I made a mistake with your name in [ruby-core:44692].
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:50 PM Bug #6378 (Assigned): irb incorrectly considers line incomplete when parenthesis are excluded
Thanks, assigning it to keiju who is a developer/maintainer of irb.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:48 PM Bug #6374 (Feedback): Acces to initialized class variable from included module
I guess this is where "the Standard" comes in.
Anyone who can check ISO/IEC 30170 ? I don't have ;-)
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:03 PM Feature #6362 (Assigned): Modular exponentiation/inverse
Martin, thanks. Assigning it to matz.
nobu wrote:
> What about a new class, say Modulo?
I guess, it would be slow, and therefore defeat the purpose.
But indeed it looks like the Ruby way.
Anyway, it mgiht be a good idea to st...
mame (Yusuke Endoh)
11:52 AM Feature #6308 (Assigned): Eliminate delegation from WeakRef
Thanks, please wait a "ruling" of matz.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:50 AM Feature #6309 (Assigned): Add a reference queue for weak references
On second thought, the proposal should first get an approval from matz. Sorry. Assigning this to him.
Still, it would be helpful to show a concrete use case, I think.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
11:29 AM Feature #6309: Add a reference queue for weak references
Ah, I knew what you are proposing by seeing Javadoc:
http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/ref/ReferenceQueue.html
http://docs.oracle.com/javase/6/docs/api/java/lang/ref/WeakReference.html#WeakReference(T, java.lang....
mame (Yusuke Endoh)
09:53 AM Feature #2565: adding hooks for better tracing
On Thu, May 03, 2012 at 08:04:37AM +0900, andhapp (Anuj Dutta) wrote:
>
> Issue #2565 has been updated by andhapp (Anuj Dutta).
>
>
> I was just looking at Joyent's ruby dtrace page and saw ruby-probe (Probe that can be fired fr...
Anonymous
08:04 AM Feature #2565: adding hooks for better tracing
I was just looking at Joyent's ruby dtrace page and saw ruby-probe (Probe that can be fired from ruby code). However, I didn't see it in Aaron's implementation here https://github.com/tenderlove/ruby/blob/probes/probes.d. Is there a rea... andhapp (Anuj Dutta)
02:29 AM Feature #2565: adding hooks for better tracing
On Wed, May 02, 2012 at 01:01:17PM +0900, SASADA Koichi wrote:
> Hi,
>
> (2012/05/02 11:38), Aaron Patterson wrote:
> > DTrace allows us to specify the stability of the probes. I've
> > declared the provider name of "ruby" to be ...
Anonymous
02:12 AM Feature #2565: adding hooks for better tracing
I've updated the patch to rename all macros to RUBY_DTRACE_* tenderlovemaking (Aaron Patterson)
09:40 AM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
Here is the update:
1. I renamed my folder local to local.old, so that any 3rd partt lib will not be linked.
2. Rolled back GCC from 4.7.0 to 4.6.2.
3. just use the following command to configure : ./configure --build=x86_64-w64-min...
raylinn@gmail.com (ray linn)
09:40 AM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
Sorry for duplicate items since bugs system has some problem last night. raylinn@gmail.com (ray linn)
09:40 AM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
Here is the update:
1. I renamed my folder local to local.old, so that any 3rd partt lib will not be linked.
2. Rolled back GCC from 4.7.0 to 4.6.2.
3. just use the following command to configure : ./configure --build=x86_64-w64-min...
raylinn@gmail.com (ray linn)
09:14 AM Bug #6395 (Closed): Fixed example for fiber transfer
This issue was solved with changeset r35523.
Anuj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c (rb_fiber_m_transfer): fixed typo in example.
[ruby-co...
ayumin (Ayumu AIZAWA)
08:31 AM Bug #6395 (Closed): Fixed example for fiber transfer
The example for fiber transfer had incorrect output. Minor correction. andhapp (Anuj Dutta)
09:03 AM Feature #3344: supporting rfc 5789 - http patch verb
No new features in dying branches. nobu (Nobuyoshi Nakada)
02:59 AM Feature #3344: supporting rfc 5789 - http patch verb
IMHO, I'm not positive to patch it to 1.8.7 or 1.9.2, because these 2 versions will be unsupported soon.


--
Ayumu AIZAWA
ayumin (Ayumu AIZAWA)
02:25 AM Feature #3344: supporting rfc 5789 - http patch verb
What do you think about backporting these to 1.8.7 and 1.9.2? There are two backport tickets open for this:
http://bugs.ruby-lang.org/issues/6300
http://bugs.ruby-lang.org/issues/6299
tenderlovemaking (Aaron Patterson)
01:36 AM Bug #6386 (Assigned): URI.parse should raise an error for invalid uri 'http:/'
ayumin (Ayumu AIZAWA)
12:14 AM Revision f2a1e50f (git): * 2012-05-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:14 AM Revision fd7632ee (git): * cont.c (rb_fiber_m_transfer): fixed typo in example.
[ruby-core:44818][Bug #6395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)

05/02/2012

11:21 PM Feature #6390 (Closed): ラムダの宣言ででるsyntax errorについて
This issue was solved with changeset r35520.
西行寺, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (parser_yylex): allow spaces between lambda arrow and
...
nobu (Nobuyoshi Nakada)
04:10 PM Feature #6390 (Assigned): ラムダの宣言ででるsyntax errorについて
これはバグだと思いますがいかがでしょう。 shyouhei (Shyouhei Urabe)
01:39 PM Feature #6390 (Closed): ラムダの宣言ででるsyntax errorについて
->x,y{x+y}
->(x,y){x+y}
->x,y {x+y}
->(x,y) {x+y}
-> x,y{x+y}
-> (x,y){x+y} # これだけ syntax error
この記述でもエラーにならないようには出来ないのでしょうか?
uy (西行寺 うゆ)
10:54 PM Feature #6394 (Rejected): Support SO_ORIGINAL_DST socket option
In Linux, SO_ORIGINAL_DST provides the original packet destination, which is very useful when packet is translated by NAT.
In C, this information can be obtained by getsockopt(fd, SOL_IP, SO_ORIGINAL_DST, &remote, &remote_len);
However...
rascov (Min-Cheng Chan)
10:03 PM Bug #6391 (Feedback): Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
Hello,
Are you trying to build trunk? GCC 4.7.0 changes hasn't been backported yet to ruby_1_9_3 branch
There is no mention of revision against you tested it.
Please confirm.
luislavena (Luis Lavena)
06:41 PM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
(gdb) print obj
$1 = (RVALUE *) 0x200000000
(gdb) print ptr
$2 = 8589934592
(gdb) print RANY(ptr)
No symbol "RANY" in current context.
(gdb) print (RVALUE*) ptr
$4 = (RVALUE *) 0x200000000
raylinn@gmail.com (ray linn)
06:35 PM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
here is the GDB output:
Program received signal SIGSEGV, Segmentation fault.
gc_mark (objspace=objspace@entry=0x524580, ptr=8589934592, lev=lev@entry=1)
at gc.c:1632
1632 if (obj->as.basic.flags == 0) return; /* fr...
raylinn@gmail.com (ray linn)
05:06 PM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
and Bug #6333 has been patched. raylinn@gmail.com (ray linn)
03:33 PM Bug #6391: Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
comfirmed with "-O1" has the same issued. raylinn@gmail.com (ray linn)
02:01 PM Bug #6391 (Closed): Segment Fault while execute make_encmake.rb for Ruby 1.9.3 P194 ( MinGW64)
The Ruby is compiled by MinGW64 (GCC 4.7.0 ), configure script is :
./configure --build=x86_64-w64-mingw32 CFLAGS="-O2 -mieee-fp -I/usr/local/include" LDFLAGS="-L/usr/local/include"
when miniruby executing, error occurs with the fo...
raylinn@gmail.com (ray linn)
09:34 PM Feature #6388: Convert README to README.rdoc with formatting
Hi Nobu, Thanks for the merge!
Is there a reason to remove the '.rdoc' extensions?
As you can see[1], github will only parse the markdown of the README's extension.
1: http://github.com/ruby/ruby#readme
zzak (zzak _)
01:06 PM Feature #6388 (Closed): Convert README to README.rdoc with formatting
This issue was solved with changeset r35518.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* README, README.ja: reformatted using rdoc markup. based on ...
nobu (Nobuyoshi Nakada)
08:52 AM Feature #6388: Convert README to README.rdoc with formatting
I've added another patch to convert README.ja to rdoc. zzak (zzak _)
07:48 AM Feature #6388: Convert README to README.rdoc with formatting
Changed some of the code formatting in the rdoc markup. zzak (zzak _)
07:43 AM Feature #6388 (Closed): Convert README to README.rdoc with formatting
I've moved the current README into README.rdoc and reformatted using rdoc markup. See attached patch. zzak (zzak _)
07:46 PM Feature #6367: #same? for Enumerable
homogeneous? :) andhapp (Anuj Dutta)
07:21 PM Feature #1917: Curses::Window#keypad(true) fails for Curses::Key::ENTER ?
Sorry for this quite late response... I happened to realize that this is not 1.8.7 specific.
Moved to trunk, assigned to shugo.
shyouhei (Shyouhei Urabe)
07:19 PM Feature #1917 (Assigned): Curses::Window#keypad(true) fails for Curses::Key::ENTER ?
shyouhei (Shyouhei Urabe)
07:13 PM Bug #6343 (Closed): Improved Fiber documentation
This issue was solved with changeset r35519.
Anuj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c: Improved Fiber documentation.[ruby-core:44540][Bug #6343]
ayumin (Ayumu AIZAWA)
06:53 PM Feature #6354: Remove escape (break/return/redo/next support) from class/module scope
(2012/04/30 10:16), ktsj (Kazuki Tsujimoto) wrote:
>
> Issue #6354 has been updated by ktsj (Kazuki Tsujimoto).
>
>
> Such as:
>
> def f
> class << self
> yield
> end
> end

Ah, singleton class...
ko1 (Koichi Sasada)
03:48 PM Bug #6393 (Assigned): rdoc does not parse multibyte files
nobu (Nobuyoshi Nakada)
03:47 PM Bug #6393 (Closed): rdoc does not parse multibyte files
=begin
(({RDoc::Parser.binary?})) mistakenly returns (({true})) against the
file which contains correct multibyte content.
The method reads 1024bytes in binary mode, but it may end in the
middle of a character and have incomplete byt...
nobu (Nobuyoshi Nakada)
03:29 PM Bug #6392 (Closed): rdoc -E option does not work
=begin
Since RDoc 2.5, ((%--extension%)) option seems not working.
$ rdoc -v -Eja=rdoc README.ja
uh-oh! RDoc had a problem:
No such file or directory - xxx.rdoc
run with --debug for full backtrace
This is because (({R...
nobu (Nobuyoshi Nakada)
02:55 PM Revision db33b28c (git): * lib/test/unit.rb (Test::Unit::RequireFiles#non_options): expand
real path to get rid of loading same files via symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:30 PM Revision f0feb0a4 (git): * cont.c (rb_fiber_m_transfer): improve sample code in Fiber#transfer
documentation. emphasize the difference between transfer and resume.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:21 PM Revision 9cf2170e (git): * parse.y (parser_yylex): allow spaces between lambda arrow and
parenthesis. [ruby-dev:45605][Feature #6390]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:23 PM Feature #2565: adding hooks for better tracing
Hi,

(2012/05/02 11:38), Aaron Patterson wrote:
> DTrace allows us to specify the stability of the probes. I've
> declared the provider name of "ruby" to be stable.

I agree.

> We don't declare any modules or functions...
ko1 (Koichi Sasada)
11:53 AM Feature #2565: adding hooks for better tracing
On Wed, May 02, 2012 at 10:25:13AM +0900, SASADA Koichi wrote:
> (2012/05/02 10:23), SASADA Koichi wrote:
> > rename to another one (for example, RUBY_PROBLE_FUNCTION_RETURN_ENABLED).
>
> Sorry, RUBY_DTRACE_FUNCTION_RETURN_ENABLED ...
Anonymous
11:53 AM Feature #2565: adding hooks for better tracing
On Wed, May 02, 2012 at 10:18:53AM +0900, SASADA Koichi wrote:
> (2012/05/02 8:25), tenderlovemaking (Aaron Patterson) wrote:
> > I've attached a patch that adds dtrace probes to trunk. If nobody objects, I will apply.
> >
> > The...
Anonymous
10:29 AM Feature #2565: adding hooks for better tracing
(2012/05/02 10:23), SASADA Koichi wrote:
> rename to another one (for example, RUBY_PROBLE_FUNCTION_RETURN_ENABLED).

Sorry, RUBY_DTRACE_FUNCTION_RETURN_ENABLED is better for me. Because it
selects platform.

--
// SASAD...
ko1 (Koichi Sasada)
10:29 AM Feature #2565: adding hooks for better tracing
(2012/05/02 8:25), tenderlovemaking (Aaron Patterson) wrote:
> File dtrace.diff added

One more comment.

I think macro names (for example, RUBY_FUNCTION_RETURN_ENABLED()) should
rename to another one (for example, RUBY_PROB...
ko1 (Koichi Sasada)
10:23 AM Feature #2565: adding hooks for better tracing
(2012/05/02 8:25), tenderlovemaking (Aaron Patterson) wrote:
> I've attached a patch that adds dtrace probes to trunk. If nobody objects, I will apply.
>
> The patch doesn't contain every probe I want, but I think it's in a good...
ko1 (Koichi Sasada)
08:25 AM Feature #2565: adding hooks for better tracing
Hi,
I've attached a patch that adds dtrace probes to trunk. If nobody objects, I will apply.
The patch doesn't contain every probe I want, but I think it's in a good place to merge to trunk. I can add more probes later. :)
tenderlovemaking (Aaron Patterson)
12:55 PM Bug #6389 (Closed): Should be able to `return' and `break' from callback method of plain DL?
IRCで笹田さんと話をしていて発見したのですが、fiddleありだと
DLのコールバックメソッドからreturnやbreakが可能ですが、なしだと
LocalJumpErrorが発生します。
私の見解としては、returnできた方がうれしい気がしています。
が、いずれにせよ、挙動を揃えた方がいいのではないかと思います。
どう思いますか?>Aaronさん
以下、素のDLでもreturnできるようにするパッチです。
Index: ext/dl/li...
usa (Usaku NAKAMURA)
12:31 PM Bug #5358: YAML 中のタグの扱いについて
アーロンさんにご返信をいただいてないので納得というと何ともですが、close していただくのは問題ありません。
私としては、以下の質問に対してRubyの仕様として公式なご回答が頂けるとるりまに反映しやすいくらいでした。
> 上記はつまり以下という事でいいですか?
> ...
以下の「注意点」に上記が書いてありますので、間違いにお気づきの方がいらっしゃいましたら、るりまのチケットとして別途発行してやってくださいませ。:)
http://doc.ru...
sho-h (Sho Hashimoto)
10:13 AM Revision 6f72a6dc (git): * cont.c: Improved Fiber documentation.[ruby-core:44540][Bug #6343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
09:48 AM Feature #5784 (Closed): Readline.special_prefixes の追加
This issue was solved with changeset r35515.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c (Readline.special_prefixes=)
(Rea...
kouji (Kouji Takao)
07:01 AM Bug #6387: 1.9.3p194 crashed on require in ubuntu
I am sorry. meant to reference the issue #5181 ywen (Yi Wen)
06:58 AM Bug #6387 (Closed): 1.9.3p194 crashed on require in ubuntu
I was reading the #5181. It seems the same thing coming back into ruby 1.9.3. Below is the backtrace:
I tried both p125 and p194
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
-- Control frame information ------------...
ywen (Yi Wen)
06:54 AM Bug #6386: URI.parse should raise an error for invalid uri 'http:/'
Here's a gist[1] of the same workaround, in case the pastie gets pruned.
1: https://gist.github.com/2571731
zzak (zzak _)
06:40 AM Bug #6386: URI.parse should raise an error for invalid uri 'http:/'
Switched to URI maintainer drbrain (Eric Hodel)
06:29 AM Bug #6386 (Rejected): URI.parse should raise an error for invalid uri 'http:/'
I've added a test to cover this, or you can use the following workaround[1].
1: http://pastie.org/3845341
zzak (zzak _)
04:06 AM Revision 8de9bb27 (git): * README, README.ja: reformatted using rdoc markup. based on the
patches by zzak (Zachary Scott) in [Feature #6388].
* README, README.ja: updated the author's mail address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:48 AM Revision 1451c619 (git): fix my email address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kouji (Kouji Takao)
12:48 AM Revision 9683b27c (git): * 2012-05-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:47 AM Revision 7c602ea0 (git): * ext/readline/readline.c (Readline.special_prefixes=)
(Readline.special_prefixes): new function. An original patch was
created by nagachika. [Feature #5784]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
12:40 AM Feature #4052: File.lutime Patch
I found that File.lutimes can be used in fileutils.rb.
Recently I fixed copy_metadata method in fileutils.rb.
It copies metadata (atime, mtime, owner, group and mode) but it doesn't care symbolic links.
I changed the method to sup...
akr (Akira Tanaka)

05/01/2012

10:29 PM Feature #5784: Readline.special_prefixes の追加
遅くなりましたが、近いうちに対応します。 kouji (Kouji Takao)
10:26 PM Feature #5785: Readline に pre_input_hook, insert_text, redisplay を追加
少し補足します。
オリジナルのパッチから以下の修正をしています。
* ユニットテストのtest_modify_text_in_pre_input_hookの出力結果(stdout.read)の期待値を"> hello world\n"に修正しました。
* rl_pre_insert_hookのsetterとgetterの名前はReadline.pre_insert_hookにしました。
* RDocを記述しました。
以上です。
なにわともあ...
kouji (Kouji Takao)
10:21 PM Feature #5785 (Closed): Readline に pre_input_hook, insert_text, redisplay を追加
This issue was solved with changeset r35513.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c (Readline.pre_input_hook)
(Readli...
kouji (Kouji Takao)
06:10 PM Feature #5785 (Assigned): Readline に pre_input_hook, insert_text, redisplay を追加
すみません。#1823にコメントするつもりが間違ってこちらにコメントしてしまいました。
さっさと、これを実装します。
パッチをいただき、ありがとうございます。
kouji (Kouji Takao)
06:06 PM Feature #5785 (Rejected): Readline に pre_input_hook, insert_text, redisplay を追加
kouji (Kouji Takao)
06:06 PM Feature #5785 (Closed): Readline に pre_input_hook, insert_text, redisplay を追加
kouji (Kouji Takao)
06:08 PM Feature #1823 (Rejected): Readline Command Completion
Sorry, late reply.
I'm going to implement Readline.pre_input_hook, Readline.insert_text and Readline.redisplay. These are wrapper for rl_pre_input_hook, rl_insert_text and rl_redisplay.
So I think you will be able to implement a proc...
kouji (Kouji Takao)
04:18 PM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
Mac OSX Lion(Darwin Kernel Version 11.3.0) では、r35509 で再現しなくなっていました。 ayumin (Ayumu AIZAWA)
02:23 PM Revision 517f2253 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:21 PM Revision 7a4b2145 (git): * ext/readline/readline.c (Readline.pre_input_hook)
(Readline.insert_text, Readline.redisplay): new function. An
original patch was created by nagachika. [Feature #5785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
07:15 AM Revision 28b7df78 (git): * revert r35510 and r35511 which caused removing the headers everytime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:52 AM Revision d7228e5b (git): depends on ext/openssl/deprecation.rb
* ext/digest/*/depend: depends on ext/openssl/deprecation.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:52 AM Revision 17359692 (git): extconf.h dependency
* lib/mkmf.rb (MakeMakefile#depend_rules): deal with extconf.h
dependency. just remove it and bail out right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:49 AM Revision e6bd1496 (git): * common.mk: "$(Q)-..." doesn't work on nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:37 AM Revision 458c30e5 (git): * common.mk: replace '@' prefix to '$(Q)' to control build
process outputs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:03 AM Bug #6379 (Closed): inconsistent configuration of core extensions linking against libssl and libcrypto (ext/openssl, ext/digest/*)
This issue was solved with changeset r35504.
Stefan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/digest/*/extconf.rb: use pkg_config to use same library w...
nobu (Nobuyoshi Nakada)
05:18 AM Revision d3215535 (git): * ext/openssl/deprecation.rb (OpenSSL.check_func): check if header is
available for macro compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 AM Feature #6373: public #self
Like many of Ruby's keywords, it can still be used to define a public method:
~~~ruby
class X
def self; "x"; end
end
x = X.new
x.self #=> "x"
~~~
trans (Thomas Sawyer)
01:10 AM Feature #6373: public #self
Thomas, i think an argument against public #self is that 'self' is a reserved word, which moreover is used more as an object name than as a method name. So 'self' would need to stop being a keyword and become a public 'predefined' metho... alexeymuranov (Alexey Muranov)
01:56 AM Revision 633cebb0 (git): * test/ruby/test_settracefunc.rb: ignore traces from another threads
because Kernel.set_trace_func affects other threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

04/30/2012

11:35 PM Feature #6367: #same? for Enumerable
trans (Thomas Sawyer) wrote:
> My methods names for the "_by" methods are not very good. This should clarify:
> ...
Is a bit misleading about if it's using #equal? or #== for the comparison.
pabloh (Pablo Herrero)
11:20 PM Feature #6373: public #self
What about if we borrow #yourself message name from Smalltalk? pabloh (Pablo Herrero)
11:09 PM Bug #6382 (Closed): test_tracing_with_set_trace_func で RuntimeError "continuation called across threads"
This issue was solved with changeset r35498.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_continuation.rb (tracing_with_set_trace_func...
nagachika (Tomoyuki Chikanaga)
11:04 PM Bug #6382 (Closed): test_tracing_with_set_trace_func で RuntimeError "continuation called across threads"
make test-all を -j2 オプションつきで実行しているとごく稀に
test_tracing_with_set_trace_func で "continuation called across threads" という RuntimeError 例外が発生していました。
set_trace_func に設定した lambda から Continuation を呼んでいて、別 Thread がそれを呼んでしまっていたようです。
このテストは r325...
nagachika (Tomoyuki Chikanaga)
09:09 PM Bug #6370 (Closed): NaNTest failed for Ruby 1.9.3 P194
This issue was solved with changeset r35497.
ray, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in (optflags): disable unsafe optimizations.
[ruby-c...
nobu (Nobuyoshi Nakada)
09:04 PM Revision e1d1397a (git): * ext/digest/sha2/sha2.c (REVERSE32): exlicitly cast since unsigned
long may be larger than sha2_word32.
* ext/digest/sha2/sha2.c (SHA{256,512,384}_{Final,End}): should clear
whole content, not pointer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:03 PM Revision 26e258c8 (git): * ext/digest/*/extconf.rb: use pkg_config to use same library with
openssl. [ruby-core:44755][Bug #6379]
* ext/openssl/deprecation.rb: extract check for broken Apple OpenSSL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:14 PM Revision 0f1181a5 (git): Bug #6370
* configure.in (optflags): fixed typo. [ruby-core:44679][Bug #6370]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:02 PM Revision fa9a1b62 (git): * 2012-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:02 PM Revision 7d45d3f8 (git): * configure.in (optflags): disable unsafe optimizations.
[ruby-core:44679][Bug #6370]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:06 PM Feature #6375: Python notation for literal Hash
Ok, thanks for the explanation.
Alexey.
alexeymuranov (Alexey Muranov)
12:23 PM Feature #6375: Python notation for literal Hash
Hi,

In message "Re: [ruby-core:44761] [ruby-trunk - Feature #6375] Python notation for literal Hash"
on Mon, 30 Apr 2012 08:30:30 +0900, "alexeymuranov (Alexey Muranov)" <redmine@ruby-lang.org> writes:

|Matz, currently {...
matz (Yukihiro Matsumoto)
08:30 AM Feature #6375: Python notation for literal Hash
Matz, currently { 'a': 'b' } does not work in Ruby, do you propose that it be a synonym for { :a => 'b' } in a future version? If not, i do not see your point. The { a: 'b' } syntax is already exceptional, i do not think it will become ... alexeymuranov (Alexey Muranov)
02:45 PM Revision 52af87a5 (git): add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:37 PM Revision 7d89ecdc (git): * lib/fileutils.rb (copy_metadata): use File.lchown and File.lchmod to
update meta data of symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:09 PM Revision c40e6f82 (git): * test/ruby/test_continuation.rb (tracing_with_set_trace_func): don't
call Continuation from other threads. [ruby-dev:45596] [Bug #6382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:48 PM Feature #6361: Bitwise string operations
trans (Thomas Sawyer) wrote:
> I'm not so sure using "String" in the name is a good idea.
> ...
Hmm, I guess names are a very subtle topic. I stole from [1],
but I see your point why "String" could be confusing. I don't
really care...
MartinBosslet (Martin Bosslet)
12:27 PM Feature #6361: Bitwise string operations
I'm not so sure using "String" in the name is a good idea.
The reason I suggested Blob is b/c that's what it is often called: http://en.wikipedia.org/wiki/Binary_large_object
trans (Thomas Sawyer)
11:35 AM Feature #6361: Bitwise string operations
> If I may intrude for a moment…
No such thing - thank you for your ideas!
> ...
That's a good point. IO would definitely benefit from this
feature, Strings would only be needed when reading line by
line. Encoding would not b...
MartinBosslet (Martin Bosslet)
01:53 AM Feature #6361: Bitwise string operations
On Saturday, April 28, 2012 at 8:52 AM, KOSAKI Motohiro wrote:
> On Fri, Apr 27, 2012 at 8:53 PM, MartinBosslet (Martin Bosslet)
> <Martin.Bosslet@googlemail.com (mailto:Martin.Bosslet@googlemail.com)> wrote:
> >
> > Issue #6361 h...
jballanc (Joshua Ballanco)
12:09 PM Revision 860cf7b8 (git): * configure.in (optflags): disable unsafe optimizations.
[ruby-core:44679][Bug #6370]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:47 AM Bug #3128: Randomness specs
Hi,
mame (Yusuke Endoh) wrote:
> Marc-Andre, do you need discussion about this?
After your remarks and those of Nobu, the question becomes:
Should `Randomg.new(42); rand` return the same value in all Ruby implementations, or is...
marcandre (Marc-Andre Lafortune)
11:36 AM Feature #6311: memmem()によるrb_memsearch()の高速化
>rb_memsearch_ss()が何だったか思い出せないですが、これ自体を置き換えてはどうでしょうかね。
添付のpatchのようにするのが良いでしょうか。
rb_memsearch_ss()についてですが、これは1つのVALUEの値にSIZEOF_VALUE以下の長さのバイト列の組み合わせを対応させた完全ハッシュ法のようです。
Glass_saga (Masaki Matsushita)
11:11 AM Revision ce007c7c (git): * ext/zlib/extconf.rb: detect z_crc_t type which will be defined
since zlib-1.2.7.
* ext/zlib/zlib.c (rb_zlib_crc_table): use z_crc_t if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:16 AM Feature #6354: Remove escape (break/return/redo/next support) from class/module scope
Such as:
def f
class << self
yield
end
end
ktsj (Kazuki Tsujimoto)
08:26 AM Bug #6381 (Third Party's Issue): Useful methods like included don't appear in RDoc
=begin
Methods like (({Module.included})) and (({Module.private_constant})) don't appear in ruby-doc.org's documentation, because they are private methods. This can cause difficulty for new users of Ruby, for example in http://stackover...
agrimm (Andrew Grimm)
03:51 AM Revision 38931595 (git): * test/net/http/test_https.rb: update test for r35494
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
12:11 AM Revision 0456c36d (git): * ext/openssl/lib/openssl/ssl.rb: add hostname to "hostname does not
match server cert." error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)

04/29/2012

11:06 PM Bug #6370: NaNTest failed for Ruby 1.9.3 P194
I can reproduce this issue on GCC 4.7.0 Mingw32.
The optimization flag -Ofast is the root cause of this issue.
Accoring to the manual, -Ofast is same to -O3 and -ffast-math.
And -ffast-math sets -fno-math-errno, -funsafe-math-optimi...
phasis68 (Heesob Park)
10:57 PM Feature #6375: Python notation for literal Hash
And repeating myself, when {a: 'b'} is a shorthand for {:a => 'b'},
naturally {'a': 'b'} should be {:'a' => 'b'} that is another form of
{:a => 'b'} in Ruby.
Matz.
matz (Yukihiro Matsumoto)
10:00 PM Feature #6375: Python notation for literal Hash
Ok. However, i was not proposing to remove the 1.9 syntax: { a: 'b' } could be a shorthand notation for { :a: 'b' }, like "#@x #@y" is a shorthand notation for "#{@x} #{@y}".
Alexey.
alexeymuranov (Alexey Muranov)
08:47 AM Feature #6375 (Rejected): Python notation for literal Hash
The suggested changes will break almost every program after 1.9.
Ruby is not Python. Please get used to Ruby-way when you are using Ruby.
Matz.
matz (Yukihiro Matsumoto)
02:57 AM Feature #6375: Python notation for literal Hash
Related: #4801. alexeymuranov (Alexey Muranov)
02:50 AM Feature #6375: Python notation for literal Hash
I guess i am not using { a: 'b' } because what goes in my head is: "Poor new Ruby user who might need to read this..." alexeymuranov (Alexey Muranov)
02:44 AM Feature #6375 (Rejected): Python notation for literal Hash
Is there a reason not to use Python notation for literal Hash as an alternative to Ruby notation? I would like to be able to write either { 'a' => 'b', 'c' => 'd' } or { 'a' : 'b', 'c' : 'd' }, and either { :a => 'b' } or { :a: 'b' } . ... alexeymuranov (Alexey Muranov)
08:02 PM Bug #6379 (Closed): inconsistent configuration of core extensions linking against libssl and libcrypto (ext/openssl, ext/digest/*)
ext/openssl/extconf.rb was change some time ago to prefer compile settings via a pkconfig("openssl") directive.
See https://github.com/ruby/ruby/commit/f6b49243eb0c21bea1c4198cdd52a549e6ead075
However, ext/digest/{md5,rmd160,sha1,s...
drkaes (Stefan Kaes)
07:44 PM Revision 746c080b (git): * 2012-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:44 PM Revision 13edcbea (git): * ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not
be changeable for JSON events.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:38 PM Feature #6311: memmem()によるrb_memsearch()の高速化
=begin
(({rb_memsearch_ss()}))が何だったか思い出せないですが、これ自体を置き換えてはどうでしょうかね。
=end
nobu (Nobuyoshi Nakada)
05:29 PM Feature #6376: Feature lookup and checking if feature is loaded
On Sun, Apr 29, 2012 at 00:03, trans (Thomas Sawyer)
<transfire@gmail.com> wrote:

> These methods could be class methods of special module, if it's important to keep the Kernel more tidy, e.g. `Ruby.required?('ostruct')`.

Wh...
now (Nikolai Weibull)
07:06 AM Feature #6376: Feature lookup and checking if feature is loaded
Oh, I forget to mention that there seems to be no way to see what the "current loading feature" is either, as it appears that it is not added to $LOADED_FEATURES until after loading is completed, which kind of surprised me. Is that right? trans (Thomas Sawyer)
07:03 AM Feature #6376 (Assigned): Feature lookup and checking if feature is loaded
$LOADED_FEATURES is useful to know what "files" have been loaded. But it doesn't really tell us what "features" have been loaded. If there where were a way to look-up a load path, without actually loading it then it would be possible to ... trans (Thomas Sawyer)
03:40 PM Bug #6378 (Closed): irb incorrectly considers line incomplete when parenthesis are excluded
Steps to reproduce:
start irb
attempt to execute the following line:
[1,2,3].reduce :+
Expected:
a result of `=> 6` should be printed and a new line should be available
Actual:
The result is not printed and the shell indicat...
devans (Daniel Evans)
06:12 AM Feature #6353 (Closed): caller-side **
This issue was solved with changeset r35489.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (assoc, parser_yylex): add syntax to splat keyword ha...
nobu (Nobuyoshi Nakada)
03:39 AM Feature #6367: #same? for Enumerable
=begin
My methods names for the "_by" methods are not very good. This should clarify:
[1,1,1].all_equal? #=> true
[1,1,2].all_equal? #=> false
[2,4,6].all_equal?{|x| x*0} #=> true
[1,1,2].any_equal? ...
trans (Thomas Sawyer)
01:49 AM Feature #6367: #same? for Enumerable
trans (Thomas Sawyer) wrote:
> This reminds me of #sort and #sort_by, and I think both forms would be needed here too --where the later makes it possible to use a comparison besides #==.
> ...
As for me it's contrintuitive to have a pa...
prijutme4ty (Ilya Vorontsov)
01:45 AM Feature #6367: #same? for Enumerable
edtsech (Edward Tsech) wrote:
> I don't know, but I was a little bit confused by that:
> ...
I think renaming of method can make it less confusing. May be Enumerable#coincident?/coincident_by? or Enumerable#identical_by?
prijutme4ty (Ilya Vorontsov)
02:32 AM Feature #6361: Bitwise string operations
nobu (Nobuyoshi Nakada) wrote:
> Hi,
> ...
I thought about this, and yes, you are absolutely right, there's
nothing I couldn't do in a separate C extension. The only remaining
argument I have for built-in support:
I would have lik...
MartinBosslet (Martin Bosslet)
02:20 AM Feature #6361: Bitwise string operations
kosaki (Motohiro KOSAKI) wrote:

> I don't dislike a bult-in idea. But you haven't show a detailed spec
> ...
Yes, I thought about writing a proof of concept that could serve as
the blueprint for further discussion. I just wanted...
MartinBosslet (Martin Bosslet)
02:18 AM Bug #6374: Acces to initialized class variable from included module
Then why in 'set_variables' (module Variables) is set @@class_variable for class 'A', appropriates to a class variable value? The second call (at the end of program) of a.print_variables already displays the changed values.
Sega100500 (Сергей Е)
01:02 AM Bug #5993: Thread.new{ Fiber.new { Thread.exit }.resume }.join で例外
長らく放置しててすみません。
先のパッチをテストしていて、これだけでは不十分で確か Fiber 内で fatal() を呼んだりした時の挙動に問題があったためもう少し考えないといけないなぁ、というところで止まってたと思います。
ちょっとどうやら作業していたブランチを消してしまったみたいで、すぐには具体的な内容を思い出せないのですが、少し調べてみてこの修正とは別の問題として切り分けられそうであれば別チケットを作ろうかと思います。
nagachika (Tomoyuki Chikanaga)
12:59 AM Feature #6373: public #self
On 28/04/2012 16:10, matz (Yukihiro Matsumoto) wrote:
>
> Issue #6373 has been updated by matz (Yukihiro Matsumoto).
>
>
> `__id__` returns `object_id` number, identity here is supposed to return itself.
> I agree with intro...
regularfry (Alex Young)
12:53 AM Feature #6373: public #self
Public #self seems like the most obvious choice. Is there some reason not to use it? trans (Thomas Sawyer)
12:10 AM Feature #6373: public #self
`__id__` returns `object_id` number, identity here is supposed to return itself.
I agree with introducing method to return self, but not fully satisfied with the name '`identity`'.
Any opinion?
Matz.
matz (Yukihiro Matsumoto)
 

Also available in: Atom