Project

General

Profile

Activity

From 02/20/2013 to 02/26/2013

02/26/2013

10:59 PM Bug #7971 (Closed): bson_ext doesn't install correctly in Ruby 2.0.0-p0
=begin
In 1.9.3 the gem would generate ((%ext/bson_ext/cbson.so%)) but now it generates ((%ext/bson_ext/bson_ext%)) instead. I can't see what's wrong with ((%extconf.rb%)):
dir_config('cbson')
create_makefile('bson_ext/cbson')
...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:44 PM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
=begin
It's b/c of Module Inclusion Problem. StreamUtils_ is included into FileUtils and FileUtils is included in FileUtils::Verbose. So one would expect it to work, but b/c the later include is done first, StreamUtils_ only actually mak...
trans (Thomas Sawyer)
10:24 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
This patch fixes it, but I'm unsure how to test it.
It seems this was broken by r34669.
drbrain (Eric Hodel)
04:05 AM Bug #7958 (Closed): include FileUtils::Verbose gives NoMethodError when installing files with a different mode
=begin
Seems like (({fu_stream_blksize})) isn't included when (({FileUtils::Verbose})) is. Changing to plain FileUtils works, though.
$ cat test.rb
require 'fileutils'
require 'tmpdir'

include FileUtils::Verbose

...
drbrain (Eric Hodel)
09:34 PM Bug #7969 (Rejected): Integer binary_op Float operations doesn't use coercion
Intended behavior.
coerce method is called if the peer is unknown to the receiver.
nobu (Nobuyoshi Nakada)
09:04 PM Bug #7969 (Rejected): Integer binary_op Float operations doesn't use coercion
I'm trying to override #coerce method on Float. But I found that redefining Float#coerce makes no changes in behavior of code: 1 + 2.0
class Float
def coerce(other)
[2, 2]
end
end
puts 1+2.0 # ==> 3.0 while result should be...
prijutme4ty (Ilya Vorontsov)
09:30 PM Bug #7967 (Rejected): String#encode invalid: :replace doesn't replace invalid chars
String#encode does nothing when source and destination encodings are same. nobu (Nobuyoshi Nakada)
08:47 PM Bug #7967 (Rejected): String#encode invalid: :replace doesn't replace invalid chars
=begin
1.9.3p385 :001 > "\xc3\x28".encode('UTF-8', 'UTF-8', invalid: :replace) =~ /\s/
=> nil
2.0.0-p0 :001 > "\xc3\x28".encode!('UTF-8', 'UTF-8', invalid: :replace) =~ /\s/
ArgumentError: invalid byte sequence in UTF-8
from (ir...
coffeejunk (Maximilian Haack)
08:55 PM Bug #7968 (Assigned): Poor UDPSocket#send performance in ruby 2.0.0 on windows
I have noticed that the performance of UDPSocket#send on ruby 2.0.0 on windows is much poorer than that of 1.9.3 or 1.8.7. Running the attahced script on 2.0.0 gives the following...
d:\scripts>bash -c "ruby --version"
ruby 2.0.0p0 ...
cs96and (Alan Davies)
07:37 PM Bug #7964: Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String

The examples are not equal.
Correct comparison is
StringIO.open a, "w" do |io|
io.write(b)
end

File.open "data.txt", "w" do |io|
io.write b
end
So it won't raise error even if StringIO supports external/interna...
naruse (Yui NARUSE)
06:18 PM Bug #7964: Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
nobu (Nobuyoshi Nakada) wrote:
> Currently, StringIO does not support encoding conversion on write, so `io.write(b)' does not raise any exceptions.
Should StringIO support encoding conversion? I think it should, because it should wor...
duerst (Martin Dürst)
04:56 PM Bug #7964 (Assigned): Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
Currently, StringIO does not support encoding conversion on write, so `io.write(b)' does not raise any exceptions. nobu (Nobuyoshi Nakada)
04:32 PM Bug #7964 (Assigned): Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
=begin
In the following script, an ASCII-8BIT String is written to a StringIO created with a UTF-8 String without error. However, a << b or a + b will raise an exception, as will writing an ASCII-8BIT String to a File with UTF-8 externa...
brixen (Brian Shirai)
07:23 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
On 26 February 2013 19:20, nobu (Nobuyoshi Nakada) <nobu@ruby-lang.org>wrote:
>
> Why is it called as τ, half of π?
>

It's actually two of π. The reason for the name is justified here:
http://tauday.com/tau-manifesto#sec:one_tu...
phluid61 (Matthew Kerwin)
07:12 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
nobu (Nobuyoshi Nakada) wrote:
> Why is it called as τ, half of π?
It's actually two of π. The reason for the name is justified here: http://tauday.com/tau-manifesto#sec:one_turn
In summary: tau is the first letter of the Greek w...
phluid61 (Matthew Kerwin)
06:20 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Why is it called as τ, half of π? nobu (Nobuyoshi Nakada)
06:47 PM Feature #7701: Non-optional (required) keyword args
It would be a method which has a required keyword argument and returns 1always.
Yes, it'll cause an incompatibility, but we have no real code with keyword argument yet.
nobu (Nobuyoshi Nakada)
09:53 AM Feature #7701: Non-optional (required) keyword args
(2013/01/16 8:57), headius (Charles Nutter) wrote:
> def foo(a:, b:)
> ...
> end


One (trivial) question:

Now,

def foo x, a:
1
end

is parsed as:

def foo x, a: 1
end

What happen a...
ko1 (Koichi Sasada)
04:02 AM Feature #7701 (Assigned): Non-optional (required) keyword args
Accepted.
Matz.
matz (Yukihiro Matsumoto)
01:09 AM Feature #7701: Non-optional (required) keyword args
+1 Seems great (the feature, not the escaping!) marcandre (Marc-Andre Lafortune)
06:35 PM Bug #7965: Segmentation fault when running OpenSSL tests
See attached Anonymous
05:48 PM Bug #7965: Segmentation fault when running OpenSSL tests
>-- Crash Report log information --------------------------------------------
> ...
We need crash report when investigating crash isssue.
kosaki (Motohiro KOSAKI)
05:10 PM Bug #7965 (Closed): Segmentation fault when running OpenSSL tests
=begin
Similar to the last problem I reported.
I'm compiling ext/openssl against a freshly compiled version of openssl-1.0.1c.
Running the openssl tests results the following segfault:
~/.rubies/.sources/ruby-2.0.0-p0/test/...
Anonymous
03:22 PM Revision 77f603cb (git): merge revision(s) 39179,39245: [Backport #7826]
the process maybe already finished
* test/ruby/test_process.rb (test_setsid): Added a workaround for
MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby...
nagachika (Tomoyuki Chikanaga)
02:48 PM Revision 8fa5da9a (git): merge revision(s) 39169:
release manager finally decided to revert it.
* eval.c (rb_ensure): preserve errinfo across ensure proc before
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:35 PM Revision 790bfbf5 (git): Fix typos... Sorry...
entity_expansion_limit ->
entity_expansion_text_limit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:34 PM Revision b9728789 (git): * lib/rexml/document.rb: move entity_expansion_limit accessor to ...
* lib/rexml/rexml.rb: ... here for consistency.
* lib/rexml/document.rb (REXML::Document.entity_expansion_limit):
deprecated.
* lib/rexml/document.rb (REXML::Document.entity_expansion_limit=):
deprecated.
git-svn-id: svn+ssh://ci.r...
Sutou Kouhei
02:30 PM Revision ea2e083a (git): * lib/rexml/document.rb: move entity_expansion_limit accessor to ...
* lib/rexml/rexml.rb: ... here to make rexml/text independent from
REXML::Document. It causes circular require.
* lib/rexml/document.rb (REXML::Document.entity_expansion_limit):
deprecated.
* lib/rexml/document.rb (REXML::Document.en...
Sutou Kouhei
12:23 PM Bug #7957: rb_str_modify() does not prevent shared string from rb_str_set_len()
This is definitely not a ruby bug, fixed in unicorn v4.6.2
(commit f7ee06592d7709e96f64efb5e7a9485b54415c9d)
normalperson (Eric Wong)
12:20 PM Bug #7957 (Third Party's Issue): rb_str_modify() does not prevent shared string from rb_str_set_len()
usa (Usaku NAKAMURA)
11:49 AM Bug #7957: rb_str_modify() does not prevent shared string from rb_str_set_len()
sorry for the noise. It turns out unicorn has a build system bug. normalperson (Eric Wong)
10:53 AM Bug #7957: rb_str_modify() does not prevent shared string from rb_str_set_len()
I will try to make a standalone test case which does not depend on
the Ragel parser.
normalperson (Eric Wong)
11:30 AM Feature #6817: Partial application
This ticket is related to [ruby-core:52797] [ruby-trunk - Feature #7939]?
(definitely no?)
Basically, I like this proposal.
But I'm not sure this notation can be acceptable.
FYI: Scheme has similar, but more flexible proposal:
...
ko1 (Koichi Sasada)
11:27 AM Feature #5512 (Assigned): Integer#/ の改訂
ko1 (Koichi Sasada) wrote:
> 宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
> ...
そういえば、mrubyでは1 / 2が0.5 (Float)になる(ので規格に準拠していない)ようなのですが、
将来CRubyで仕様変更するための布石でしょうか。
後方互換性については、
using OldIntegerDivision
としたらInteger#/が現在の挙動に戻るといった対応は考えられ...
shugo (Shugo Maeda)
09:46 AM Feature #5512: Integer#/ の改訂
宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
ko1 (Koichi Sasada)
11:18 AM Feature #5482: Rubinius as basis for Ruby 2.0
Some spies may be here. ko1 (Koichi Sasada)
09:44 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
(ふなばさんか、mrkn のほうが良かった?)
ko1 (Koichi Sasada)
09:44 AM Feature #5514: Numeric への quotient と quotrem の追加
宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
ko1 (Koichi Sasada)
09:44 AM Feature #5522: Numeric#finite?、Numeric#infinite?、Numeric#nan? の追加
宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
ko1 (Koichi Sasada)
09:32 AM Bug #7960 (Assigned): Ruby fails to build static under mswin linker error: multiple definitions of _Init_ext
usa (Usaku NAKAMURA)
05:51 AM Bug #7960 (Closed): Ruby fails to build static under mswin linker error: multiple definitions of _Init_ext
after the depend errors were fixed I obtained r39490 and attempted to build it
after nearly completing it failed with
ruby200.dll : fatal error LNK1169: one or more multiply defined symbols found
searching through the output fo...
Ryexander (Benjamin Powers)
08:35 AM Feature #5480: remove GServer from stdlib
I've forget this issue.
I assigned it to Nahi-san.
ko1 (Koichi Sasada)
07:39 AM Feature #5825: Sweet instance var assignment in the object initializer
I think this is a good feature, so I'd like to support this (and possibly, provide a patch for this)
Reading from all the comments, I saw that someone has some concern about having this feature on another method definition (not just i...
sikachu (Prem Sichanugrist)
07:23 AM Feature #7918: Create Signal.in_trap?()
>> I'm not sure why it is useful. If a lock is needed, then the lock should
>> be acquired in trap handler (and not supported yet). Detecting it is in
>> trap, and do what?
>
> How about allowing Mutex#lock to be recursive if (a...
kosaki (Motohiro KOSAKI)
07:23 AM Feature #7918: Create Signal.in_trap?()
On Sun, Feb 24, 2013 at 1:15 PM, SASADA Koichi <ko1@atdot.net> wrote:
> (2013/02/23 11:31), kosaki (Motohiro KOSAKI) wrote:
>> Currently, ruby library have no way to detect a method is called from trap handler or not.
>> This is u...
kosaki (Motohiro KOSAKI)
07:23 AM Feature #7918: Create Signal.in_trap?()
> I'd like to clarify the specification. Should the following code show true? or false?
>
> Signal.trap(:USR1) do
> Process.kill(:USR2, $$)
> end
> Signal.trap(:USR2) do
> p Process.in_trap?(:USR2) # => true
> p Pr...
kosaki (Motohiro KOSAKI)
06:39 AM Revision 684ce840 (git): * ChangeLog: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:12 AM Revision b3d2b56d (git): mkconfig.rb: reconstruct comma separated list values
* tool/mkconfig.rb: reconstruct comma separated list values. a
command line to Windows batch file is splitted not only by spaces
and equals sign but also by commas and semicolons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
06:04 AM Revision a4ccd46d (git): configure.in: non-portable shell behavior
* configure.in (unexpand_shvar): get rid of non-portable shell
behavior on OpenBSD, so no extra quotes. [Bug #7959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:12 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
I'm not sure how convincing the linked conversation is. It seems to be about case sensitivity issues in varying locales particularly around identifiers, but whether a unicode space is a whitespace or not is not locale dependent as far a... timothyg56 (Timothy Garnett)
03:45 AM Bug #7951: Cannot rescue SignalException in 1.9.3 or 2.0.0
I changed a doc because the example has a mistake of usage of Process.kill(). Process.kill() doesn't have any guarantee when signal will be delivered. kosaki (Motohiro KOSAKI)
03:43 AM Bug #7951 (Closed): Cannot rescue SignalException in 1.9.3 or 2.0.0
This issue was solved with changeset r39501.
James, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c: clarify a document of SignalException. Process.kill()...
kosaki (Motohiro KOSAKI)
03:38 AM Bug #7951: Cannot rescue SignalException in 1.9.3 or 2.0.0
Following modified script works fine. That is a issue of YARV signal handling.
puts "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
begin
Process.kill('HUP',Process.pid)
sleep 0.1
rescue SignalException => e
puts "received Exception #...
kosaki (Motohiro KOSAKI)
01:31 AM Revision 6f8feb22 (git): test_keyword.rb: suppress warning
* test/ruby/test_keyword.rb (TestKeywordArguments#m1): suppress
argument prefix warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:24 AM Revision c07d78eb (git): parse.y: keyword argument without paren
* parse.y (IS_LABEL_POSSIBLE): allow labels for keyword arguments just
after method definition without a parenthesis. [ruby-core:52820]
[Bug #7942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39504 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
12:57 AM Revision ac24e257 (git): * st.c (st_add_direct): int is not always same with st_index_t. some
version of clang reports error.
* thread.c (vm_living_thread_num): ditto.
reported by d6rkaiz (Isao Sugimoto) at [ruby-dev:47096]
[Backport #7946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39503 b2dd03c8-39d4...
U.Nakamura
12:05 AM Bug #7698 (Assigned): RubyGems 2.0 has an incompatibility about installation of extension libraries
Hello,
This issue seems not to be fixed completely.
"gem install rbtree" still hit this issue.
It reproduces on both trunk and 2.0.0-p0.
$ gem install rbtree
Building native extensions. This could take a while...
ERROR: Err...
mame (Yusuke Endoh)

02/25/2013

10:34 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
https://github.com/search?q=%22TAU+%3D+2+%2A+Math.PI%22&type=Code
https://github.com/search?q=%22TAU+%3D+PI+*+2%22&type=Code
sbaird (Simon Baird)
09:54 PM Bug #7957 (Third Party's Issue): rb_str_modify() does not prevent shared string from rb_str_set_len()
unicorn HTTP chunk parser may raise "can't set length of shared string (RuntimeError)" in rb_str_set_len().
However, it does call rb_str_modify() before calling rb_str_set_len().
To reproduce:
git clone git://bogomips.org/unicorn
c...
normalperson (Eric Wong)
09:31 PM Bug #7956 (Third Party's Issue): Install fail with RVM
$ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 GNU/Linux
$ $ \curl -L https://get.rvm.io | bash -s stable --ruby
...
Error running 'make', please read /home/ruby2/.rvm/log/ruby-2.0.0-p0/make...
Sega100500 (Сергей Е)
08:46 PM Bug #7955 (Closed): OpenSSL related crash on `bundle`
Nevermind, fixed by uninstalling OpenSSL and reinstalling... Anonymous
08:28 PM Bug #7955 (Closed): OpenSSL related crash on `bundle`
=begin
ruby-2.0.0-p0 crashes when I try to run 'bundle'. Looks OpenSSL related.
Running OpenSSL 1.0.1e.
ruby-2.0.0-p0 λ bundle
Fetching gem metadata from https://rubygems.org/..ruby(17400,0x7fff7218c960) malloc: *** mmap(...
Anonymous
07:52 PM Revision 47809f09 (git): * error.c: clarify reason for sleep in SignalException example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
06:43 PM Revision ffbd120e (git): * error.c: clarify a document of SignalException. Process.kill()
doesn't have any guarantee when signal will be delivered.
[Bug #7951] [ruby-core:52864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:54 PM Revision 1b7cb091 (git): * 2013-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision e05392ea (git): * ext/Setup.nt: this file has not been used by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:26 PM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
OK, 3.12.2 is released. drbrain (Eric Hodel)
07:30 AM Bug #7944 (Closed): 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
Hello Eric,
Yes, branch 3.12 works perfectly!
Would you release 3.12.2 or 3.13?
Version 4.0 is too incompatible for our CHM generator.
Thank you.
luislavena (Luis Lavena)
04:31 AM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
Can you verify rdoc 3.12 branch (or 3 branch, they are the same) works with rdoc_chm and %i before I release?
My simple check seems to work fine.
drbrain (Eric Hodel)
01:35 AM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
drbrain (Eric Hodel) wrote:
> Could you use an RDoc 3.x with %i support, or must you use an RDoc that comes with ruby?
> ...
I can use any version of RDoc to build the documentation, as long it can be installed in Ruby 1.9.3
> I can...
luislavena (Luis Lavena)
01:21 AM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
Could you use an RDoc 3.x with %i support, or must you use an RDoc that comes with ruby?
I can release RDoc 3.13 with %i support if that would be sufficient.
drbrain (Eric Hodel)
03:11 PM Bug #7881 (Assigned): Windows でパスに日本語を含むスクリプトからの require が失敗する
なんとなく、いつぞやのWindowsのrequire高速化関連のような気もするのですが、
しろさきさん何かわかったりしますか?
# その前の奴かなあ?
usa (Usaku NAKAMURA)
02:59 PM Revision b85978b1 (git): * test/ruby/test_fnmatch.rb: use assert_file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:59 PM Revision 9d679893 (git): envutil.rb: rename member
* test/ruby/envutil.rb (Test::Unit::Assertions::AssertFile): rename
member to get rid of conflict with a method of Assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 PM Revision c75f360b (git): version.h: bump RUBY_API_VERSION
* include/ruby/version.h: bump RUBY_API_VERSION same as RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:18 PM Revision 2d3808ee (git): * string.c (str_byte_substr): don't set coderange if it's not known.
[Bug #7954] [ruby-dev:47108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:15 PM Bug #7279: Zlib load error on HP-UX
Hi Nobuyoshi,
Yes the patch works.
For people viewing this in the archives, it's worth knowing that patch and diff are different on HP-UX. To apply this patch -
cp -p lib/mkmf.rb lib/mkmf.rb.orig
cat <<'EOF' >mkmf.hpux...
alexharv074 (Alex Harvey)
10:55 AM Bug #7951 (Closed): Cannot rescue SignalException in 1.9.3 or 2.0.0
When running the example provided on http://www.ruby-doc.org/core-1.9.3/SignalException.html we find that neither Ruby 1.9.3p392 nor Ruby 2.0.0p0 are able to rescue SignalException:
```
$ cat <<EOF >signal_exception_test.rb
puts "#{...
jamesotron (James Harton)
10:31 AM Feature #7939: Alternative curry function creation
phluid61 (Matthew Kerwin) wrote:
> As a philosophical question, would a name like #curry_with or #apply be more appropriate? There is a small amount of utility added by such a method: at first glance I didn't see the .curry on the end...
marcandre (Marc-Andre Lafortune)
09:17 AM Feature #7939: Alternative curry function creation
marcandre (Marc-Andre Lafortune) wrote:
> It's pretty clear Nobu's example is more concise and nicer than what `assuming` would provide. BTW, the `.curry(3)` part can simply be `.curry`.
As a philosophical question, would a name like...
phluid61 (Matthew Kerwin)
06:41 AM Feature #7939: Alternative curry function creation
From http://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures, I believe this FR fails point (1) "Ensure it's a meaningful improvement" and (2) "what's a good name".
It's pretty clear Nobu's example is more concise and nicer ...
marcandre (Marc-Andre Lafortune)
10:26 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
I'm sorry I couldn't make this happen in time for 2.0.0. I will try to sync with the JRuby devs to unify the tests for 2.1.0. MartinBosslet (Martin Bosslet)
10:16 AM Bug #6928: SecureRandom.random_bytes: assume zero entropy for seed value
mame (Yusuke Endoh) wrote:
> I assume that if this is so significant issue, Martin would have reported this to security@ruby-lang.org.
> ...
Sorry for not responding in time. It is safe to move this to next minor - right now, the risk ...
MartinBosslet (Martin Bosslet)
09:56 AM Bug #7949: Gem::Ext::Builder removes dependency to directory creation task
It should be fixed already.
Or it's not been backported?
nobu (Nobuyoshi Nakada)
07:13 AM Bug #7949: Gem::Ext::Builder removes dependency to directory creation task
Eric, could you handle this?
the following is a translation of this issue:
lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time,
so lib directory creation task won't be run.
thus for instance when tried to in...
sorah (Sorah Fukumori)
06:15 AM Bug #7949 (Closed): Gem::Ext::Builder removes dependency to directory creation task
lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time,
so lib directory creation task won't be run.
thus for instance when tried to install rubyzip.gem which doesn't have lib directory,
rubygem makes binary file "l...
masarakki (masaki yamada)
08:10 AM Revision 9156a04d (git): test_string.rb: defer ENUMERATORS_WANTARRAY to next major
* test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): defer
new behavior to next major.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:10 AM Revision 246c3a0b (git): test_string.rb: ENUMERATORS_WANTARRAY
* test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): name
test branching codition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:47 AM Revision 6ff10e76 (git): common.mk: clean miniprelude.c
* common.mk (realclean-local): miniprelude.c is made by srcs, so it
should not removed by distclean but by realclean. [Bug #6807]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:30 AM Revision e276482e (git): * lib/rubygems/config_file.rb: Lazily load .gem/credentials to only
check permissions when necessary. RubyGems bug #465
* test/rubygems/test_gem_config_file.rb: Test for the above.
* test/rubygems/test_gem_commands_push_command.rb: Remove duplicated
test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
drbrain (Eric Hodel)
06:59 AM Revision be26224b (git): depend: fix for static library on mswin
* enc/depend (ARFLAGS, RANLIB): these values can be nil. [Bug #7950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:47 AM Revision 72aee032 (git): depend: fix for static library on mswin
* enc/depend (ARFLAGS): VisualC++ linker does not allow spaces between
output option and the output file name. [Bug #7950]
* enc/depend (RANLIB): set default command to do nothing, or make the
entire line a label on Windows.
git-sv...
nobu (Nobuyoshi Nakada)
05:41 AM Revision 593ffbcf (git): mkmf.rb: default libdirname
* lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:23 AM Feature #7918: Create Signal.in_trap?()
SASADA Koichi <ko1@atdot.net> wrote:
> (2013/02/23 11:31), kosaki (Motohiro KOSAKI) wrote:
> > Currently, ruby library have no way to detect a method is called from trap handler or not.
> > This is useful because Mutex#lock under ...
normalperson (Eric Wong)
03:23 AM Feature #7918: Create Signal.in_trap?()
(2013/02/23 11:31), kosaki (Motohiro KOSAKI) wrote:
> Currently, ruby library have no way to detect a method is called from trap handler or not.
> This is useful because Mutex#lock under trap raises an exception and some libraries m...
ko1 (Koichi Sasada)
02:53 AM Feature #7918: Create Signal.in_trap?()
Hello,
This feature looks reasonable for me.
I'd like to clarify the specification. Should the following code show true? or false?
Signal.trap(:USR1) do
Process.kill(:USR2, $$)
end
Signal.trap(:USR2) do
p Process.in_trap...
nagachika (Tomoyuki Chikanaga)
04:54 AM Revision 2c183f55 (git): string.c: STRING_ENUMERATORS_WANTARRAY
* string.c (STRING_ENUMERATORS_WANTARRAY): name preprocessing
codition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:12 AM Revision 59193703 (git): configure.in: find Setup file automatically
* configure.in (setup): find Setup file from target_os 1. by
suffix (e.g. Setup.nacl, Setup.atheos), 2. by "platform"
option (e.g. Setup.nt, Setup.emx), and 3. default Setup. And
Setup.dj had been removed.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
04:10 AM Revision eed06bb0 (git): thread.c: remove unnecessary sentence
* thread.c (thread_start): initialize method is not concerned with
Thread.start and Thread.fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:50 AM Revision 84e8862c (git): * thread.c: Document Thread::new, clean up ::fork and mention calling
super if subclassing Thread
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:40 AM Revision 1580dd29 (git): * ext/socket/extconf.rb: don't test ss_family and ss_len member of
struct sockaddr_storage. They are not used now except SunOS
specific code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:27 AM Bug #7940 (Assigned): Mistaken use of inline rescues in stdlib
drbrain (Eric Hodel)
02:40 AM Bug #7938 (Third Party's Issue): Stack consistency error while compiling 2.0.0-p0
This sounds because they use Xcode 4.2 with ruby-build which wrongly hacks with CC=cc and it breaks build.
See also https://github.com/sstephenson/ruby-build/issues/290
It will be fixed by ruby-build.
If you don't use ruby-build a...
naruse (Yui NARUSE)
12:50 AM Bug #7938: Stack consistency error while compiling 2.0.0-p0
I've got the same error with
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
etehtsea (Konstantin Shabanov)
12:44 AM Bug #7938: Stack consistency error while compiling 2.0.0-p0
I cannot reproduce it with gcc 4.2.1 (Apple Inc. build 5666) and clang 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn) on darwin 12.2.0.
mrkn (Kenta Murata)
02:38 AM Revision c5a7cf00 (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:09 AM Revision 6487abea (git): Fix ksh/bash-ism.
* configure.in (unexpand_shvar): Use the numeric comparison
operator instead of '==' which is a ksh extention. [Bug #7941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
12:44 AM Revision 1a76bf39 (git): fix major-mode for emacs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:41 AM Revision beafa477 (git): old ChangeLog and NEWS move to doc
* doc/NEWS-2.0.0: moved from NEWS
* doc/ChangeLog-2.0.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.1.0 that describes changes since 2.0.0
* ChangeLog: ChangeLog since created ruby_2_0_0 branch
git-svn-id: s...
znz (Kazuhiro NISHIYAMA)
12:25 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
I see.
Thank you all and Happy Ruby 2.0!
naruse (Yui NARUSE)
12:21 AM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
It looks like wrong header file for float.h. Just copying the header file solves that.
$ cd mingw-w32-1.0-bin_i686-darwin_20110822
$ cp i686-w64-mingw32/include/float.h lib/gcc/i686-w64-mingw32/4.5.4/include/float.h
Cross compilin...
h.shirosaki (Hiroshi Shirosaki)

02/24/2013

11:25 PM Bug #7944 (Closed): 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
=begin
While working on RubyInstaller, we try to generate RDoc of Ruby source.
Using RDoc 3.12.1, we received the following:
Parsing sources...
18% [125/663] lib/profiler.rb
RDoc::Parser::Ruby failure around line 79 of
...
luislavena (Luis Lavena)
11:23 PM Feature #7939 (Assigned): Alternative curry function creation
> nobu
It can't be reason to reject this.
And describe the reason by English
naruse (Yui NARUSE)
11:19 PM Feature #7939 (Rejected): Alternative curry function creation
=begin
fb = ->(modulo_number, message, x) { message if x % modulo_number == 0 }.curry(3)
fizzbuzz = fb[15,"FizzBuzz"]
fizz = fb[3, "Fizz"]
buzz = fb[5, "Buzz"]
(1..100).each { |i| puts fizzbuzz[i] || fizz[i] || buzz[i] || i }
...
nobu (Nobuyoshi Nakada)
10:30 PM Feature #7939: Alternative curry function creation
It's Partial Application, not currying. nobu (Nobuyoshi Nakada)
08:38 PM Feature #7939 (Feedback): Alternative curry function creation
=begin
I really like the new "(({assuming}))" method used for currying in Perl 6.
For example if I loose my mind and implement ((%fizzbuzz%)) via currying I can do it like this:
fb = ->(modulo_number, message, x) { message if x ...
drKreso (Kresimir Bojcic)
10:49 PM Bug #7943 (Rejected): Can't build from source or snapshots without pre-existing Ruby
Duplicate of #6807, which I just reopened. luislavena (Luis Lavena)
10:46 PM Bug #7943 (Rejected): Can't build from source or snapshots without pre-existing Ruby
On a Linux system with autotools, GCC etc,
but no pre-existing Ruby, make fails for the following snapshots:
http://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz
http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
http://ftp...
devcurmudgeon (Paul Sherwood)
10:48 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
I am not knowledgeable about mingw.
However, the version of mingw seems to have a very important meaning for luis,
doesn't it?
If so, luis, simply you should correct trunk and make a backport ticket for 2.0.0.
usa (Usaku NAKAMURA)
09:43 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
ko1 (Koichi Sasada) wrote:
> 2.0.0 was released.
Thank you Koichi for letting me now that 2.0.0-p0 is out and that will break gem compilers expectations.
2.0.0 introduces a new ABI version (2.0.0) that differs from 1.9.3 (1.9.1), ...
luislavena (Luis Lavena)
09:14 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
2.0.0 was released.
ko1 (Koichi Sasada)
03:45 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
It sounds just like newer mingw64 package is desired, to me.
nobu (Nobuyoshi Nakada)
02:46 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
mame (Yusuke Endoh) wrote:
> Then, is it a bug of the old mingw-w64?
> ...
If you read my original report: release of p0 with this issue will result in developers unable to provide binaries of some gems for Windows users.
Lot of Rub...
luislavena (Luis Lavena)
02:39 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
Then, is it a bug of the old mingw-w64?
If so, I don't think this is a urgent task; let's address it after p0.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:11 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
mame (Yusuke Endoh) wrote:
> Could the version of mingw build rc2?
> ...
I no longer have "mingw" installed on this box, only mingw-w64 version of compiler.
This version of compiler cannot build rc2, same error as the report:
co...
luislavena (Luis Lavena)
01:59 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
Could the version of mingw build rc2?
I'm not sure if the file "_mingw_float.h" does always exist when defined(__MINGW64_VERSION_MAJOR) is true.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:53 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
nobu (Nobuyoshi Nakada) wrote:
> I wonder if that header can be always included unconditionally.
> ...
I think only mingw-w64 suffers this issue.
> BTW, what package are you using, Luis?
> ...
I'm using mingw-w32-1.0-bin_i686-darwi...
luislavena (Luis Lavena)
01:47 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
I wonder if that header can be always included unconditionally.
BTW, what package are you using, Luis?
Seems I have to install same package too.
nobu (Nobuyoshi Nakada)
01:43 PM Bug #7921 (Assigned): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
nobu (Nobuyoshi Nakada) wrote:
> With which mingw do you fail?
> ...
Hello Nobu-san,
I can confirm this only happens with that particular version. Even if float.h is included, _mingw_float.h seems is not included.
I see no harm i...
luislavena (Luis Lavena)
08:43 AM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
=begin
nobu (Nobuyoshi Nakada) wrote:
> With which mingw do you fail?
> ...
This fails with mingw-w64 4.5.4:
$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 4.5.4 20110822 (prerelease)
I'm testing against 4.7.2 on...
luislavena (Luis Lavena)
08:35 AM Bug #7921 (Feedback): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
With which mingw do you fail?
I haven't seen that error.
nobu (Nobuyoshi Nakada)
12:38 AM Bug #7921 (Third Party's Issue): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
=begin
Hello,
Cross-compilation of Ruby targeting Windows (using MinGW) is an important tool for Linux/OSX developers to provide pre-compiled binary gems for Windows users. Having cross-compilation failing for Ruby 2.0 will complicat...
luislavena (Luis Lavena)
09:48 PM Bug #7938 (Feedback): Stack consistency error while compiling 2.0.0-p0
Could you show config.log, clang --version, and gcc --version? naruse (Yui NARUSE)
06:43 PM Bug #7938 (Third Party's Issue): Stack consistency error while compiling 2.0.0-p0
./configure
make
Piot (Peter Bjorklund)
09:24 PM Bug #7282: Invalid UTF-8 from emoji allowed through silently
ko1 (Koichi Sasada) wrote:
> naruse-san, what is the status of this ticket?
I don't understand what is the current problem of this ticket.
If headius has some issue, could you summarize it?
Or nothing, close this.
naruse (Yui NARUSE)
09:19 PM Bug #7282: Invalid UTF-8 from emoji allowed through silently
naruse-san, what is the status of this ticket?
ko1 (Koichi Sasada)
09:24 PM Feature #7400: Incorporate OpenSSL tests from JRuby.
ping -> Martin ko1 (Koichi Sasada)
09:23 PM Feature #5994: Dir.glob without wildcards returns pattern, not filename
ping -> nobu ko1 (Koichi Sasada)
09:23 PM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
ping -> akr ko1 (Koichi Sasada)
09:22 PM Bug #7940 (Closed): Mistaken use of inline rescues in stdlib
Hey,
There are two uses of inline rescues in stdlib that look dubious. They are unlikely to ever cause any harm, but still. They've been there for a while now, and are still in trunk. I attached a patch that changes both of them.
I...
Mon_Ouie (Mon ouïe)
09:21 PM Feature #7414: Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
aaron, could you continue this discussion?
ko1 (Koichi Sasada)
09:19 PM Feature #7412: Pathname#relative_path_from does not support mixed directory separators on windows
ping -> akr ko1 (Koichi Sasada)
09:18 PM Bug #3434: Specs for coercion?
I'm not sure about this ticket.
Who can discuss about it?
ko1 (Koichi Sasada)
09:17 PM Feature #2255: unicode parameters cannot be passed to ruby
ping -> usa ko1 (Koichi Sasada)
09:17 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
ping -> nobu.
ko1 (Koichi Sasada)
09:16 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Sorry for my late work.
I'll check soon.
ko1 (Koichi Sasada)
07:17 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Could this patch be applied now? As previously said, it's a good thing to show support for and it's a rather tiny and otherwise harmless addition. trans (Thomas Sawyer)
05:51 PM Revision 2b847f81 (git): * 2013-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:51 PM Revision c89844db (git): * ext/socket: define and use union_sockaddr instead of struct
sockaddr_storage for less casts.
* ext/socket/rubysocket.h (union_sockaddr): defined.
* ext/socket/socket.c (sock_accept): use union_sockaddr.
(sock_accept_nonblock): ditto.
(sock_sysaccept): ditto.
(sock_s_getnameinfo): ditto.
...
akr (Akira Tanaka)
03:20 PM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
Also, r39464 for ruby_2_0_0 branch. drbrain (Eric Hodel)
03:15 PM Bug #7924 (Closed): r39232 以降 net/http で正しく reponse を取得出来ないケースがある
This issue was solved with changeset r39463.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Removed duplicate Accept-Encoding in Net::...
drbrain (Eric Hodel)
02:48 PM Bug #7924 (Assigned): r39232 以降 net/http で正しく reponse を取得出来ないケースがある
Looks serious. Got ack from hsbt and nagachika.
Drbrain, could you please commit it to trunk and ruby_2_0_0 in advance?
I'll ask naruse-san to do post-review, if he could wake up early enough ;-)
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:23 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
> Kosaki-san, the patch contains a test to ensure that decode_content is enabled when using Net::HTTP#get. The behavior of decode_content is already tested in r39232.
>
> Is it sufficient?

Oops, I missed that. sorry for noise.
kosaki (Motohiro KOSAKI)
09:51 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
Kosaki-san, the patch contains a test to ensure that decode_content is enabled when using Net::HTTP#get. The behavior of decode_content is already tested in r39232.
Is it sufficient?
drbrain (Eric Hodel)
09:36 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
Please please make a test. for preventing regression. kosaki (Motohiro KOSAKI)
09:25 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
make check all green with the patch in my environment [x86_64-darwin12.2.0].
nagachika (Tomoyuki Chikanaga)
08:13 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
this patch seems good. hsbt (Hiroshi SHIBATA)
08:06 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
assigned to Naruse-san for approval drbrain (Eric Hodel)
08:05 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
The attached patch removes the duplicated header setting in Net::HTTP#get and adds a test.
I double checked net/http* for use of accept-encoding or HAVE_ZLIB, now it only exists in Net::HTTPGenericRequest and Net::HTTPResponse.
drbrain (Eric Hodel)
08:02 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
translation of this issue: http://bugs.ruby-lang.org/issues/7831#note-10 hsbt (Hiroshi SHIBATA)
07:58 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
I found the bug, I will post a patch with a test momentarily. drbrain (Eric Hodel)
07:37 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
問題になった r32932 ruby_2_0_0 にすでにマージされているので、このまま2.0.0を出すとけっこう影響の大きいバグだと思います。
kazuhiko (Kazuhiko Shiozaki)
07:36 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
accept-encodingの無指定時に、http.rbのget()でaccept-encodingをつけていて、そのためにgeneric_request.rbが「あ、指定してるんならdecode_content=falseでいいよね」としているのが原因。
accept-encodingの無指定時に"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"をセットするコードが、http.rbのget()とhttp/generic_requ...
kazuhiko (Kazuhiko Shiozaki)
07:15 AM Bug #7924 (Closed): r39232 以降 net/http で正しく reponse を取得出来ないケースがある
r39232 以降、tDiary の以下のようなコードが動かなくなりました。
https://github.com/tdiary/tdiary-contrib/blob/master/plugin/flickr.rb#L185
単純に net/http を使用して flickr.com から xml を取得するコードですが、r39232で加えた
変更により、本来 inflate されるべき response.body が gzip の状態のままになっていま...
hsbt (Hiroshi SHIBATA)
02:06 PM Bug #7860 (Closed): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
I talked with nobu, and he said he could not reproduce #7915.
I decided to leave the backport as is. Sorry if my decision is wrong...
I'm closing this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:39 PM Bug #7915 (Assigned): Rubygems stub shebang is wrongly expanded
Nobu said he cannot repro.
Sorry, we have no time to consider this issue.
It may be fixed in a patch level release after 2.0.0-p0.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:10 PM Revision ef339580 (git): Use require_relative to require local library
* from 1.9 require relative path from the file must use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:16 PM Revision 66f91357 (git): * ext/date/date_core.c: [ruby-core:52303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:26 AM Bug #7820 (Closed): Let's decide Ruby 2.0 supported platform list
Hello, thank you all for the feedback!
I updated:
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/20SupportedPlatforms
* removed "DRAFT"
* multiple maintainers for one platform are allowed
* added some people as ...
mame (Yusuke Endoh)
12:23 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
On Wed, Feb 13, 2013 at 7:42 AM, U.Nakamura <usa@garbagecollect.jp> wrote:
> Hello,
>
> In message "[ruby-core:52116] [ruby-trunk - Bug #7820] Let&#x27;s decide Ruby 2.0 supported platform list"
> on Feb.11,2013 03:09:46, <redmi...
luislavena (Luis Lavena)
08:09 AM Bug #7878 (Closed): E::Lazy#grep ignores ^C
merged at r39332.
ko1 (Koichi Sasada)
08:06 AM Bug #7913: `./configure --enable-multiarch` fails
r39427 should fix this. nobu (Nobuyoshi Nakada)
08:01 AM Revision 8c101e95 (git): * version.h: changed version string like
`ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:58 AM Revision 5dabe228 (git): * ext/io/console/io-console.gemspec: bump. [Backport #7891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:48 AM Revision 9e068352 (git): test_array.rb: fix test for r39466
* test/ruby/test_array.rb (test_sample_random): remove adjustment for
the bug fixed by r39466. [ruby-core:52779] [Bug #7935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:00 AM Feature #7923 (Closed): Queue#push and Queue#pop makes trap safe
Currently, following program don't work because q.push raises an exception.
However, it would be nice if queue is trap safe and Queue#push and Queue#pop can be called from trap handler.
------------------------------------------
req...
kosaki (Motohiro KOSAKI)
06:58 AM Bug #7823 (Closed): sitelibへのsoのコピー (2.0.0)
r39311でバックポートしました。 nobu (Nobuyoshi Nakada)
06:54 AM Revision c81c3efa (git): bump version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
06:33 AM Revision d64c926e (git): random.c: increase limit for generic rand
* random.c (rb_random_ulong_limited): limit is inclusive, but generic
rand method should return a number less than it, so increase for the
difference. [ruby-core:52779] [Bug #7935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
06:19 AM Revision faa9fb59 (git): Merge trunk revision: 39463
* lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.
[ruby-trunk - Bug #7924]
* test/net/http/test_http.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39464 b2dd03c8-39d4-4...
drbrain (Eric Hodel)
06:15 AM Revision 023561f7 (git): * lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.
[ruby-trunk - Bug #7924]
* test/net/http/test_http.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:39 AM Revision 495d8b0e (git): backport r39460, ack'd by mame-san
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:29 AM Revision 1f9fa7c6 (git): * thread.c: Document ThreadGroup::Default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:23 AM Revision 5feede6f (git): * thread.c: Grammar for #backtrace_locations and ::handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:08 AM Revision e8600e14 (git): * enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
Patch by Dan Bernier and Rich Bruchal of newhaven.rb
[Backport #7926]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:06 AM Revision 339999b1 (git): * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
Patch by Devin Weaver [Backport #7927]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:04 AM Revision 5936806c (git): * ext/pty/pty.c: Documentation for the PTY module [Backport #7928]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:52 AM Revision f9c24492 (git): * object.c: Document Data class by Matthew Mongeau [Backport #7929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:49 AM Revision f03c439c (git): * lib/mutex_m.rb: Add rdoc for Mutex_m module [Backport #7930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:45 AM Revision 42142d43 (git): * object.c: rdoc formatting for Kernel#Array() [Backport #7931]
* array.c: Add rdoc for Array() method to Creating Arrays section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:43 AM Revision bd0880d5 (git): * thread.c: Documentation for Thread#backtrace_locations
[Backport #7932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:39 AM Revision ae155a86 (git): * vm.c: Typo in ObjectSpace::WeakMap overview [Backport #7933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
04:36 AM Revision ac94eb1a (git): vm_insnhelper.c: compare with me in method top cfp
* vm_insnhelper.c (vm_call_method): block level control frame does not
have method entry, so obtain the method entry from method top-level
control frame to be compared with refined method entry.
[ruby-core:52750] [Bug #7925]
git-s...
nobu (Nobuyoshi Nakada)
04:31 AM Revision f917b4d2 (git): * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?
and #pending_interrupt? [Backport #7934]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:24 AM Revision bd88e6c0 (git): * object.c: Document methods receiving string and convert to symbol
Patch by Stefan Rusterholz
* vm_eval.c: ditto
* vm_method.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:59 AM Revision 6aaf5c5c (git): * .gdbinit (rp): fix argument order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:23 AM Feature #7914: Case for local class methods
Thomas Sawyer, you are the language troll, IMHO.

(But, maybe I'm too)

Everyone else, excuse me for not being polite.
23.02.2013 12:17 пользователь "trans (Thomas Sawyer)" <transfire@gmail.com>
написал:

>
> Issue #7914 has be...
funny_falcon (Yura Sokolov)
01:16 AM Revision 62174177 (git): signal.c: fix type
* signal.c (sigsegv): type of write(2) is ssize_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:18 AM Revision 2474a1ac (git): remove duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:17 AM Revision bc5a5989 (git): * signal.c (sigsegv): suppress unused result warning. Because
write(2) is marked __warn_unused_result__ on Linux glibc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)

02/23/2013

10:57 PM Bug #7920 (Closed): Version of RubyGems in NEWS incorrect
This issue was solved with changeset r39432.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS: Fix RubyGems version [Bug #7920]
marcandre (Marc-Andre Lafortune)
10:29 PM Bug #7920 (Closed): Version of RubyGems in NEWS incorrect
NEWS claims that RubyGems 2.0.0.preview2 is used, but according to ChangeLog, 2.0.0 (non-preview) is used.
If there's any changes between 2.0.0.preview2, and 2.0.0 for RubyGems, additional changes to NEWS may be required.
A patch i...
agrimm (Andrew Grimm)
10:51 PM Revision 45dea575 (git): compile.c: no keyword check if kw_rest
* compile.c (iseq_set_arguments): no keyword check if any keyword rest
argument exists, even unnamed. [ruby-core:52744] [Bug #7922]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:18 PM Revision 45c33f5e (git): * backport r39442 from trunk:
* array.c: Fix rdoc for flatten!
* hash.c: Correct rdoc for reject!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
08:17 PM Revision a6d08b45 (git): * array.c: Fix rdoc for flatten!
* hash.c: Correct rdoc for reject!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:41 PM Revision 73b79a62 (git): * 2013-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:41 PM Revision 28fcad35 (git): * Backport r39438 from trunk:
* enumerator.c: rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:38 PM Revision a0f3e24f (git): * 2013-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:38 PM Revision 673e1b92 (git): * enumerator.c: rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:23 PM Bug #7917: Can't write to a Logger in a signal handler
> trap 'INT' do
> t = Thread.new do
> LOG.info "Hello"
> end
> t.join
> end

Oops, no. This code is completely wrong. Sorry for confusing.
Please don't mind my previous mail. This code is deadlockable and
sho...
kosaki (Motohiro KOSAKI)
05:23 PM Bug #7917: Can't write to a Logger in a signal handler
On Sat, Feb 23, 2013 at 3:06 AM, Eric Wong <normalperson@yhbt.net> wrote:
> "mperham (Mike Perham)" <mperham@gmail.com> wrote:
>> trap 'INT' do
>> LOG.info "Hello"
>> end
>
> An ugly workaround I use is to spawn a thread i...
kosaki (Motohiro KOSAKI)
05:23 PM Bug #7917: Can't write to a Logger in a signal handler
"mperham (Mike Perham)" <mperham@gmail.com> wrote:
> trap 'INT' do
> LOG.info "Hello"
> end

An ugly workaround I use is to spawn a thread inside trap:

trap 'INT' do
Thread.new do
LOG.info "Hello"
end
end
normalperson (Eric Wong)
03:22 PM Bug #7917 (Assigned): Can't write to a Logger in a signal handler
This issue is arguable, but anyway I don't consider it a showstopper.
I postpone it to 2.1.0.
It is very arguable if the fault is in the code, or in the design of Ruby core.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:40 AM Bug #7917: Can't write to a Logger in a signal handler
Because your example is deadlockable when using 1.9.3 or earlier. 2.0 detect your mistake and tell you.
kosaki (Motohiro KOSAKI)
09:49 AM Bug #7917 (Rejected): Can't write to a Logger in a signal handler
Looks like Ruby 2.0 does not allow Mutex#lock within a signal handler. This prevents Logger from working since it uses an underlying mutex.
log writing failed. can't be called from trap context
log writing failed. can't be called fr...
mperham (Mike Perham)
05:17 PM Feature #7914: Case for local class methods
@rosenfeld Maybe I approached this backwards. I just wanted to show one possible use case for supporting local vs. non-local class methods. Your in-method conditional solution works for this specific case, true. But how well does it tran... trans (Thomas Sawyer)
10:35 AM Feature #7914: Case for local class methods
It seems trivial and usually avoidable.
I guess it could achieve with Module#using.
nobu (Nobuyoshi Nakada)
02:45 AM Feature #7914: Case for local class methods
(I don't have any idea about this ticket. but I feel the name `local' recall perl)
ko1 (Koichi Sasada)
02:18 AM Feature #7914: Case for local class methods
Maybe you could ask for some special method/keyword to know if the class is the same as the declared one (instead of some inheriting class):
def special_name
local_class? ? 'unique:Y' : super
end
Or instead of "local_clas...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:14 AM Feature #7914: Case for local class methods
What about the code below?
class Y < X
def special_name
self.class.name == 'Y' ? 'unique:Y' : super
end
end
rosenfeld (Rodrigo Rosenfeld Rosas)
02:10 AM Feature #7914: Case for local class methods
This doesn't seem to be supported by any OO concept I've heard about and basically breaks the conceptual inheritance model in OO in my opinion. I wouldn't like to have to debug a code that behaved like this. It would make understanding a... rosenfeld (Rodrigo Rosenfeld Rosas)
12:13 AM Feature #7914 (Assigned): Case for local class methods
=begin
Here is a use case for local class methods.
Say we wish to give certain classes and all subclasses a special name.
class X
def self.special_name
"special:#{name}"
end
end
class Y < X; end
class Z...
trans (Thomas Sawyer)
05:10 PM Revision e2eae537 (git): * 2013-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision 57bca36e (git): * configure.in: Minix 3.2.1 supports shared libraries as NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:37 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
Oops, this caused #7915...
I'm now keen to revert the bunch of patches. What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:27 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
なかださん、お忙しい?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
02:24 PM Revision 3678e7eb (git): * Backport r39434 from trunk:
* NEWS: Reorder and fix indent levels [ruby-core:52723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
02:23 PM Revision 87e0df89 (git): * NEWS: Reorder and fix indent levels [ruby-core:52723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:00 PM Revision 60663f66 (git): * Backport r39432 from trunk:
* NEWS: Fix RubyGems version [Bug #7920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
01:57 PM Revision 315c72e2 (git): * NEWS: Fix RubyGems version [Bug #7920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:51 AM Bug #7803 (Closed): RDoc documentation: `Array#&` clarification
Resolved by r39415 zzak (zzak _)
11:31 AM Feature #7918 (Rejected): Create Signal.in_trap?()
Currently, ruby library have no way to detect a method is called from trap handler or not.
This is useful because Mutex#lock under trap raises an exception and some libraries may want to avoid it.
Then, I would like to create Signal....
kosaki (Motohiro KOSAKI)
11:22 AM Bug #921: autoload is not thread-safe
Apologies in advance if this is the wrong place to get clarification:
It's been widely circulated that autoload is deprecated - http://www.ruby-forum.com/topic/3036681 - does this patch change that stance?
I ask because autoload still ...
Nevir (Ian MacLeod)
09:46 AM Bug #7913: `./configure --enable-multiarch` fails
Hi, sorry, but even with this change it sill fails at the linking stage with the same error.
The attached patch fixes the problem - I hope I get this one rigtr! :-)
terceiro (Antonio Terceiro)
07:53 AM Bug #7913 (Closed): `./configure --enable-multiarch` fails
This issue was solved with changeset r39393.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.pc.in: reorder
* template/ruby.pc.in: reorder library fl...
nobu (Nobuyoshi Nakada)
09:24 AM Bug #7916: Callback Module.used is not used...
marcandre (Marc-Andre Lafortune) wrote:
> Module.used was meant to be called when it is called with `using`, see r36596.
> ...
It's because Module#using is removed.
Module#used is intended to be called when Module#using is called, so ...
shugo (Shugo Maeda)
08:08 AM Bug #7916 (Closed): Callback Module.used is not used...
Module.used was meant to be called when it is called with `using`, see r36596.
It's not called right now.
marcandre (Marc-Andre Lafortune)
08:08 AM Revision 5a34caab (git): test_backtrace.rb: test Thread#backtrace_locations with range
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
07:52 AM Revision a153ce31 (git): * thread.c: Documentation for Thread#backtrace_locations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
07:06 AM Revision a14f02f0 (git): * vm.c: Typo in ObjectSpace::WeakMap overview
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
07:00 AM Revision 5f2e4338 (git): * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?
and #pending_interrupt?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
06:20 AM Revision 4abd941e (git): * Makefile.in (archlibdir): needed for multiarch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:48 AM Bug #7915: Rubygems stub shebang is wrongly expanded
Reverting 39267 (part of 39320 backport) fixed the issue. Could you plase revert or provide better patch? Thank you. vo.x (Vit Ondruch)
05:03 AM Bug #7915 (Closed): Rubygems stub shebang is wrongly expanded
=begin
Rubygems stub shebang is wrongly expanded. It used to be /usr/bin/ruby in rev39237 and now it is /bin/ruby in rev39387. It seems, that the --with-exec prefix is wrong handled, se
ruby -rrbconfig -e "RbConfig::CONFIG.each {|c| p...
vo.x (Vit Ondruch)
05:20 AM Revision 2fd5dcc0 (git): merge revision(s) 39335:
* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
rb_scan_args() optional hash feature. [Bug #7861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:51 AM Revision de697194 (git): merger.rb: runnable
* tool/merger.rb: make runnable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:49 AM Revision 0ac71e72 (git): merger.rb: suppress warnings
* tool/merger.rb (version_up, tag, default_merge_branch): suppress
syntax warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision 5b764f07 (git): merge revision(s) 39298:39300:
* lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
parenthesis.
* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
recognize IPv6 addresses with only one edge 16-bit piece
...
Akinori MUSHA
04:01 AM Revision 937e68b9 (git): merge revision(s) r39281:
* configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir
options given were not reflected to LIBRUBY_DLDFLAGS on many
platforms including Linux and other GNU-based systems, NetBSD,
AIX and BeOS.
g...
Akinori MUSHA
04:00 AM Revision 74ba25b3 (git): merge revision(s) r39255:
* configure.in: Fix a bug introduced in r38342 that the cflagspat
substitution is messed up by the way CFLAGS and optflags are
modified, which affected FreeBSD and NetBSD/amd64 when
configured to use libexec...
Akinori MUSHA
03:58 AM Revision a3b2161c (git): merge revision(s) r39290:
* lib/mkmf.rb: remove extra topdir in VPATH, which was in
win32/Makefile.sub for some reason and moved from there.
[ruby-dev:46998] [Bug #7864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39420 b...
Akinori MUSHA
03:55 AM Revision 5b7d2440 (git): misc/ruby-electric.el: Avoid electric insertion in some cases.
* misc/ruby-electric.el (ruby-electric-curlies)
(ruby-electric-matching-char, ruby-electric-bar): Avoid electric
insertion when there is a prefix argument.
* misc/ruby-electric.el (ruby-electric-insert)
(ruby-electric-cua-replace-...
Akinori MUSHA
03:35 AM Revision c2204ca3 (git): * array.c: Document #<=> return values and formatting
* bignum.c: ditto
* file.c: ditto
* object.c: ditto
* numeric.c: ditto
* rational.c: ditto
* string.c: ditto
* time.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:34 AM Revision 827e71bd (git): test_process.rb: fix test
* test/ruby/test_process.rb (assert_fail_too_long_path): get rid of
syntax error on sh, increase command line size until it exceeds the
limit. [Bug #7904]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39417 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
03:13 AM Revision 3ecab225 (git): merge revision(s) 39321:
* ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
[ruby-core:51777] [Bug #7761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
02:50 AM Revision 933ff1d6 (git): * array.c (rb_ary_diff, rb_ary_and, rb_ary_or): Document return order
[RubySpec #7803
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:11 AM Revision c135883d (git): * object.c (rb_obj_comp): Documenting Object#<=> return values
Patch by Stefan Rusterholz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:05 AM Feature #7907: Give meaning to staby word
People will see the changes but when they're looking for open issues to decide what to do about them they won't touch closed issues :) rosenfeld (Rodrigo Rosenfeld Rosas)
01:05 AM Bug #7521 (Feedback): test_thr_kill(TestQueue) fails
Again, please provide smallest reproducer.
thanks.
kosaki (Motohiro KOSAKI)
12:47 AM Bug #7521 (Open): test_thr_kill(TestQueue) fails
I reopening, since I met this issue again with ruby 2.0.0dev (2013-02-22 trunk 39387) [i386-linux]. This is my build log [1]. It happens just from time to time. Actually I did probably hundreds of build since the time I initially reporte... vo.x (Vit Ondruch)
12:48 AM Revision 3331d677 (git): dir.c: encoding check
* dir.c (file_s_fnmatch, fnmatch_brace): encoding-incompatible pattern
and string do not match, instead of exception. [ruby-dev:47069]
[Bug #7911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39413 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
12:15 AM Revision e748726a (git): * Backport r39399 from trunk:
* NEWS: Specify that Proc#eql? was also removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune

02/22/2013

11:59 PM Bug #6573: Webrick test failures
The attached patch does not work every time. I went ahead and applied [1] (i.e. the patch described in comment 6, if I got it correctly ;)) for Fedora and so far so good.
[1] http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-1.9...
vo.x (Vit Ondruch)
11:59 PM Revision c12f69cb (git): * backport r39410 from trunk
* doc/NEWS-*: Update NEWS from their respective branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
11:57 PM Revision 143a2f7e (git): * doc/NEWS-*: Update NEWS from their respective branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:49 PM Feature #7907: Give meaning to staby word
Once a issue has been rejected, is it necessary to open a new case for a modified form of the proposal? In other words is any one going to see the change if it has already been rejected? As with this case?
trans (Thomas Sawyer)
12:59 PM Feature #7907: Give meaning to staby word
Ah, `->foo{}` did not know that the parenthesis could be left out.
Ok, I'll suggest slight modification then, b/c it still would be nice to have a shorter notation (not just to fill a syntax hole). Could it be a symbol, i.e. `->:foo`.
trans (Thomas Sawyer)
12:10 PM Feature #7907 (Rejected): Give meaning to staby word
=begin
I think filling the syntax hole eagerly is a bad idea.
Besides that, I don't think making ((%->foo%)) as method(:foo).to_proc seems a good idea,
since foo in ((%->foo{}%)) is a argument name, not a method name.
Matz.
=end
matz (Yukihiro Matsumoto)
03:06 AM Feature #7907 (Rejected): Give meaning to staby word
=begin
I noticed that `->word` doesn't mean anything. i.e.
>> ->foo
SyntaxError: (irb):4: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG
from /opt/Ruby/1.9.3-p327/bin/irb:12:in `<main>'
If that i...
trans (Thomas Sawyer)
11:33 PM Revision 7c8a4774 (git): * backport r39400-r39407 from trunk.
* NEWS: many additions
* object.c: Add doc for Module.prepended
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
11:18 PM Revision d52f95dc (git): * NEWS: + Module.prepended and Module.prepend_features
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:18 PM Revision eff6180e (git): * object.c: Add doc for Module.prepended
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:18 PM Revision 8222a78e (git): * NEWS: + Thread::Backtrace::Location
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:18 PM Revision a3d592b4 (git): * NEWS: Add privacy of respond_to_missing? & al as a potential incompatibility
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:17 PM Revision 1727511e (git): * NEWS: Fix ARGF#codepoints
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:17 PM Revision ed045985 (git): * NEWS: Add that unused variables starting with _ won't generate a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:17 PM Revision 15fcd78f (git): * NEWS: Add Enumerable::Lazy to list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:17 PM Revision 11354e24 (git): * NEWS: + RubyVM::InstructionSequence new methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:16 PM Revision 1ac0694c (git): * NEWS: + ObjectSpace::WeakMap
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:16 PM Revision ca28854e (git): * NEWS: Specify that Proc#eql? was also removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:16 PM Revision 3f8d1800 (git): * NEWS: pending_interrupt? is both instance and singleton method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:16 PM Revision e0003e07 (git): * NEWS: Add Thread#pending_interrupt? and Thread.handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:15 PM Revision bc11b883 (git): * NEWS: Floats are frozen too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:15 PM Revision 10f95341 (git): * NEWS: Add that Fixnums and Bignums are frozen
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
10:53 PM Revision 9dc30d2b (git): * 2013-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:53 PM Revision 724d7f03 (git): ruby.pc.in: reorder
* template/ruby.pc.in: reorder library flags which may refer library
names. [Bug #7913]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:09 PM Revision 9f9c0426 (git): Merge trunk revision: 39366
* lib/rubygems/installer.rb (build_extensions): Create extension
install destination before building extension. Patch by Kenta Murata.
[ruby-trunk - Bug #7897]
* test/rubygems/test_gem_installer.rb: Test for the above.
git-svn-i...
drbrain (Eric Hodel)
09:04 PM Bug #7913: `./configure --enable-multiarch` fails
My patch make the ./configure part pass, but the build still fails at linking stage:
gcc -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -We...
terceiro (Antonio Terceiro)
08:36 PM Bug #7913 (Closed): `./configure --enable-multiarch` fails
Hi, since the changes in bug #7874 `./configure --enable-multiarch` does not work in trunk anymore:
$ autoreconf && ./configure --target=x86_64-linux-gnu --enable-multiarch
[...]
configure: creating ./config.status
config.status: c...
terceiro (Antonio Terceiro)
07:35 PM Revision c40038bf (git): * NEWS: pending_interrupt? is both instance and singleton method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:59 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
On 22 February 2013 17:13, vo.x (Vit Ondruch) <v.ondruch@tiscali.cz> wrote:

> Reading the documentation, it says "Returns the Symbol corresponding to
> str, creating the symbol if it did not previously exist." So what would
> t...
phluid61 (Matthew Kerwin)
04:13 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
Student (Nathan Zook) wrote:
> #2) to_existing_sym. This would be defined in the same places as to_sym, but would through an argument error if the symbol did not already exist.
Reading the documentation, it says "Returns the Symbol ...
vo.x (Vit Ondruch)
02:52 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
These sound like my (new & preferred) proposal for Symbol[string] #7854.
That is, return the symbol if it already exists, nil if not.
Student (Nathan Zook)
12:17 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
I agree with the basic concept of the proposal.
I am not sure Symbol#defined? is a appropriate name for it yet.
The possible addition I like is either:
* add Symbol#define? or similar method
* add optional keyword argument to int...
matz (Yukihiro Matsumoto)
05:49 PM Revision c9d00de5 (git): * 2013-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:49 PM Revision 4b6e74a8 (git): * NEWS: Add Thread#pending_interrupt? and Thread.handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:27 PM Bug #7805: ruby 2.0rc2 core on solaris
Sometimes RB_GC_GUARD() doesn't work well with Oracle SolarisStudio cc.
[Bug #5762] is another example.
ngoto (Naohisa Goto)
05:12 PM Bug #7805: ruby 2.0rc2 core on solaris
It means RB_GC_GUARD() doesn't work well with Solaris CC? nobu (Nobuyoshi Nakada)
05:03 PM Bug #7805: ruby 2.0rc2 core on solaris
>--- called from signal handler with signal 11 (SIGSEGV) ---
> ...
This may be re-occurrence of [Bug #7591] which is a GC issue.
How about the attached workaround patch?
ngoto (Naohisa Goto)
02:50 PM Revision a0afa57e (git): * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
fix a typo in comment in r39384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:53 PM Bug #7910 (Rejected): ruby untared with --touch requires --with-baseruby
What's the motivation to touch?
Tarballs include files generated at packaging, so there are some dependencies.
nobu (Nobuyoshi Nakada)
12:37 PM Bug #7910 (Rejected): ruby untared with --touch requires --with-baseruby
So this flow works (logs: https://gist.github.com/anonymous/0251d407026fa3530f17):
tar xjf ~/.rvm/archives/ruby-1.9.3-p385.tar.bz2 --strip-components=1
autoreconf 2>&1 | tee /tmp/1.9.3-autoreconf.log
./configure --prefix ~/tmp/ruby-...
mpapis (Michal Papis)
12:21 PM Feature #7906 (Rejected): Giving meaning to ->foo
See #7907 matz (Yukihiro Matsumoto)
11:47 AM Feature #7906: Giving meaning to ->foo
It doesn't seem a good idea to me, because "foo" has different meanings, parameter and method name. nobu (Nobuyoshi Nakada)
03:07 AM Feature #7906: Giving meaning to ->foo
Please fix. Sigh. trans (Thomas Sawyer)
03:05 AM Feature #7906 (Rejected): Giving meaning to ->foo
=begin
I noticed that "(({->word}))" doesn't mean anything. i.e.
>> ->foo
SyntaxError: (irb):4: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG
from /opt/Ruby/1.9.3-p327/bin/irb:12:in `<main>'
If...
trans (Thomas Sawyer)
12:11 PM Feature #6688 (Rejected): Object#replace
I think Smalltalk experience has proven that Object#replace is a bad bad idea.
Matz.
matz (Yukihiro Matsumoto)
11:36 AM Bug #7902 (Closed): The test suite does not honor configuration options
This issue was solved with changeset r39372.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_rbconfig.rb: honor configuration options
* test/test_rbconfi...
nobu (Nobuyoshi Nakada)
11:32 AM Bug #7897 (Closed): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
Then RubyGems breaks mkmf.rb's Makefile and Murata-san's patch fixes it.
Thank you for checking!
drbrain (Eric Hodel)
10:35 AM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
It caused by r38864, which removes timestamp files in dependency rules.
Now mkmf uses those files to fix parallel make issues.
nobu (Nobuyoshi Nakada)
07:20 AM Bug #7897 (Assigned): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
drbrain (Eric Hodel)
07:12 AM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
As Vit Ondruch has noted, it seems to be a bug in the Makefile generated by mkmf.rb as ruby 1.9.3 without Murata-san's patch correctly installs lib/msgpack.bundle.
Nobu, can you check it?
Just to be safe, I committed Murata-san's p...
drbrain (Eric Hodel)
07:05 AM Bug #7897 (Closed): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
This issue was solved with changeset r39366.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/installer.rb (build_extensions): Create extensio...
drbrain (Eric Hodel)
10:59 AM Feature #7704: Add a list of enabled (experimental) language features.
I can only second Yui and Matthew. Directly checking is possible because Ruby is a dynamic language, it avoids management overhead, and tests on the actual feature, not some intention that may be out of sync with actual facts. There are ... duerst (Martin Dürst)
10:51 AM Feature #7876: Add method for accessing Class from within Singleton Class
This should be possible with Module#ancestors. Maybe not totally slick, but possible. duerst (Martin Dürst)
10:46 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
ko1 (Koichi Sasada) wrote:
> marcandre: why you remove assignee?
> ...
Exactly.
marcandre (Marc-Andre Lafortune)
08:57 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
marcandre: why you remove assignee?
you mean specification discussion was finished at [ruby-core:52386]#5?
I assume the reason and I assign this ticket nobu, the patch monster.
ko1 (Koichi Sasada)
10:22 AM Revision 11d79c68 (git): merge revision(s) 39384:
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check...
U.Nakamura
09:37 AM Revision e559b24b (git): merge revision(s) 39384:
* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check...
U.Nakamura
09:35 AM Revision 1ad90757 (git): * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39384 b2dd03c8-39d4-4d8f-98...
U.Nakamura
09:29 AM Bug #7829: Rounding error in Ruby Time
On Feb 20, 2013, at 11:17 AM, David MacMahon wrote:

> Interestingly, Ruby 1.9 has String#to_r which leads to this::
>
>>> Time.utc(1970,1,1,0,0,12.86.to_s.to_r).strftime("%H:%M:%S,%L")
> => "00:00:12,860"

Even more interesting...
david_macmahon (David MacMahon)
09:23 AM Bug #7829: Rounding error in Ruby Time
On Feb 20, 2013, at 10:57 PM, Tanaka Akira wrote:

> I hope people supports mrkn's proposal:
> http://www.slideshare.net/mrkn/float-is-legacy
>
> The proposal fixes this issue and abolish unintuitiveness of float literal.

It is...
david_macmahon (David MacMahon)
09:27 AM Feature #7548: Load and Require Callbacks
I'm sorry I don't catch up this discussion.
I assigned this ticket to matz, but I'm not sure matz is good person to handle it.
Please correct me.
# Basically, I agree with this proposal.
ko1 (Koichi Sasada)
09:18 AM Feature #7748: Contextual send
=begin
What I did was allowing ((%send%)) to invoke public method when called without explicit receiver.
And I gave up the idea because (a) it made send behavior more complex, (b) it slightly slowed down #send, (c) it was difficult t...
matz (Yukihiro Matsumoto)
09:10 AM Feature #7748: Contextual send
I think matz tried it.
Matz: Could you give us your knowledge?
ko1 (Koichi Sasada)
09:17 AM Feature #5528 (Closed): OO API for tracing
TracePoint was introduced.
ko1 (Koichi Sasada)
09:15 AM Feature #7596: Find::find should not silently ignores errors
I'm not sure who can grab this ticket.
So I assign it to matz.
ko1 (Koichi Sasada)
09:07 AM Feature #7767: Tempfileで自動的にファイルを削除する
誰にアサインすればわからなかったのですが、
詳しそうな田中さんにアサインさせて頂きます。
ko1 (Koichi Sasada)
08:59 AM Bug #7898 (Feedback): Ruby tells me to report this bug
ko1 (Koichi Sasada)
08:47 AM Bug #7898: Ruby tells me to report this bug
The first half of this error log was lost.
Could you try again?
> For details: http://www.ruby-lang.org/bugreport.html
ko1 (Koichi Sasada)
08:48 AM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
usa さんか naruse さんかわからなかったんですが、とりあえず usa さんへアサイン。 ko1 (Koichi Sasada)
08:37 AM Revision 7dd6e08b (git): * test/test_rbconfig.rb (TestRbConfig): fix r39372.
It must see RbConfig::CONFIG instead of CONFIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:00 AM Bug #7893 (Rejected): Issues with loading YAML and respond_to_missing?
As Hanmac noted, this exception is possible with Person.allocate.respond_to? which is exactly what Psych does.
Perhaps Psych needs some documentation improvement around dump and load.
drbrain (Eric Hodel)
06:08 AM Bug #7899 (Closed): Add feature similar to: perl use warnings
Use $VERBOSE or $-w:
$ cat test.rb
"".gsub /x/, ''
$ ruby19 -wv test.rb
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
test.rb:1: warning: ambiguous first argument; put parentheses or even spaces
...
drbrain (Eric Hodel)
06:02 AM Revision c84a9acb (git): * signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
05:50 AM Revision 857a2cee (git): * vm.c (vm_exec): get rid of a SEGV when calling rb_iter_break() from
some extention libraries. [Backport #7896] [ruby-core:52607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:45 AM Revision 0bf5cc03 (git): [Backport #7851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:42 AM Revision c8f2479c (git): merge revision(s) 32688,33309,33408,33864,35874,38012: [Backport #7832]
* vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
variables.
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
`volatile type *var' doesn't make var itself volatile.
* vm_...
U.Nakamura
05:28 AM Revision 18488c11 (git): merge revision(s) 34982: [Backport #5218]
* eval_jump.c (rb_exec_end_proc): remember the latest exit status.
[ruby-core:43173][Bug #5218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:27 AM Revision bdcd3d62 (git): merge revision(s) 36130: [Backport #5023]
* ext/readline/readline.c (Init_readline): don't set 0 to
rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:46 AM Revision 3f2ce637 (git): random.c: fix error message
* random.c (rb_random_ulong_limited): fix error message for negative
value. [ruby-dev:47061] [Bug #7903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:58 AM Revision e51a9b49 (git): test_process.rb: fix parameters
* test/ruby/test_process.rb (test_{,a}spawn_too_long_path): fix
missing parameters in r38934.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 AM Revision 2027a052 (git): * test/ruby/test_process.rb: remove useless sleep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:37 AM Revision 839ae05e (git): * tool/mkrunnable.rb: refactor and multiarch support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:36 AM Revision 20fa7324 (git): test_rbconfig.rb: honor configuration options
* test/test_rbconfig.rb (TestRbConfig): skip user defined values by
configuration options. [Bug #7902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:33 AM Revision b9ef804f (git): mkmf.rb: adjust default library path
* lib/mkmf.rb (MakeMakefile#init_mkmf): adjust default library path
for multiarch. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:11 AM Revision d2c218d5 (git): * enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
Patch by Dan Bernier and Rich Bruchal of newhaven.rb
[Github documenting-ruby/ruby#8]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:01 AM Revision 8d4a11c9 (git): * numeric.c: Examples and formatting for Numeric and Float
Based on a patch by Zach Morek and Oren K of newhaven.rb
[Github documenting-ruby/ruby#5]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
12:05 AM Revision d0a41317 (git): un.rb: suppress warning
* lib/un.rb (wait_writable): show error messages only if -v is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:05 AM Revision cc367fb3 (git): configure.in: quite conftest
* configure.in (rb_cv_broken_backtrace): suppress extra output from
conftest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/21/2013

11:49 PM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
I guess this regression was introduced in r37016 by dropping this line [1] in mkmf. Not sure what was the intention, since creating directory seems unrelated to the timestamp dependencies IMO
[1] https://github.com/ruby/ruby/commit/...
vo.x (Vit Ondruch)
05:04 PM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
I'm sorry, the previous patch is wrong.
The following is right.
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 0865a6d..e5a5e0e 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -...
mrkn (Kenta Murata)
05:03 PM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
The following patch fixes this problem.
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 0865a6d..b8a6d2b 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -672,6 +672,7 @@ TEXT
...
mrkn (Kenta Murata)
04:41 PM Bug #7897 (Closed): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
Hi,
rubygems 2.0 has an incompatibility about installation of extension libraries.
If a gem package does not contain lib directory,
an extension library file is copied as a file named "lib".
You can reproduce this problem by in...
mrkn (Kenta Murata)
11:23 PM Feature #7883: Add Regex#to_proc
judofyr (Magnus Holm) wrote:
> > ~~~ruby
> ...
cool!
jjyr (Jinyang Jiang)
10:36 PM Feature #7883: Add Regex#to_proc
Nice one, +1 on it as well. goshakkk (Gosha Arinich)
10:14 PM Bug #7902 (Closed): The test suite does not honor configuration options
=begin
Rev 39201 and 39201 introduced new test cases, which fails for me:
# make test-all TESTS="test/test_rbconfig.rb"
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexcep...
vo.x (Vit Ondruch)
10:05 PM Revision ac4da20a (git): * lib/rubygems/installer.rb (build_extensions): Create extension
install destination before building extension. Patch by Kenta Murata.
[ruby-trunk - Bug #7897]
* test/rubygems/test_gem_installer.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39366 b2dd03c8-39d4-4d8f-98...
drbrain (Eric Hodel)
09:50 PM Bug #7874: multiarch support enhancements
Hi,
With the current state in trunk it does not build anymore:
$ autoreconf && ./configure --target=x86_64-linux-gnu --enable-multiarch
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: c...
terceiro (Antonio Terceiro)
06:11 PM Bug #7874: multiarch support enhancements
Others are libdir concerned patches, and I think they are not stable enough to backport yet. nobu (Nobuyoshi Nakada)
10:15 AM Bug #7874: multiarch support enhancements
thanks! terceiro (Antonio Terceiro)
09:31 PM Revision 6b88b523 (git): * doc/globals.rdoc: Document what setting $DEBUG does.
* doc/globals.rdoc: Added pointer to $-d for full documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:27 PM Revision 9c49b69d (git): * doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
* doc/globals.rdoc: Added pointer to $-w and $-v for full
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:53 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
On Thu, Feb 21, 2013 at 5:47 PM, SASADA Koichi <ko1@atdot.net> wrote:
> I think it is reasonable.
>
> (3) Separate Exception#bactrace and Exception#backtrace_locations
> Problems:
> (3-p1) which should output as an error b...
headius (Charles Nutter)
03:53 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
(2013/02/21 8:50), Charles Oliver Nutter wrote:
> On Thu, Feb 21, 2013 at 8:36 AM, SASADA Koichi <ko1@atdot.net> wrote:
>> I want to agree with you. But I feel there are worries.
>
> How about #backtrace/#set_backtrace and
> ...
ko1 (Koichi Sasada)
08:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
On Thu, Feb 21, 2013 at 8:36 AM, SASADA Koichi <ko1@atdot.net> wrote:
> I want to agree with you. But I feel there are worries.

How about #backtrace/#set_backtrace and
#backtrace_locations/#set_backtrace_locations are completel...
headius (Charles Nutter)
06:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
(2013/02/21 6:02), headius (Charles Nutter) wrote:
> I propose that if you set_backtrace, you are already breaking the ability to get structured Location elements, so set_backtrace should cause backtrace_locations to return nil or an...
ko1 (Koichi Sasada)
06:02 AM Feature #7895 (Open): Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
Thread#backtrace_locations and Kernel#caller_locations were added in Ruby 2.0.0, but no equivalent method was added to Exception to get backtrace locations. The String format of Exception#backtrace elements makes it difficult to do any i... headius (Charles Nutter)
08:23 PM Bug #7899 (Closed): Add feature similar to: perl use warnings
<maasha> shevy: It would be nice ruby had a way to enable warnings within the code - like perl's `use warnings;`
Hi,
Background to this is that maasha had problems with shebang, /usr/bin/env and "ruby -w" as part of the shebangs....
shevegen (Robert A. Heiler)
08:09 PM Bug #7778 (Rejected): Irb loading generates 17x more open/stat system calls when a locale is set
keiju (Keiju Ishitsuka)
07:55 PM Bug #7898 (Closed): Ruby tells me to report this bug
rvm: rvm 1.17.6 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
ruby: ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]
rails: Rails 3.2.11
Please see the attachmen...
karthik_ak (Karthikeyan A K)
05:39 PM Revision 37400173 (git): commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:35 PM Revision 7ceb1884 (git): * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
Patch by Devin Weaver [Github documenting-ruby/ruby/#7]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:08 PM Bug #7867 (Closed): enable-multiach installs pkgconfig file into wrong dir
vo.x (Vit Ondruch)
10:15 AM Bug #7867: enable-multiach installs pkgconfig file into wrong dir
Hi, this issue got fixed as part of #7874 and can be closed. terceiro (Antonio Terceiro)
03:59 PM Bug #7829: Rounding error in Ruby Time
2013/2/21 loirotte (Philippe Dosch) <loirotte@gmail.com>:

> irb(main):001:0> Time.utc(1970,1,1,0,0,12.860).strftime("%H:%M:%S,%L")
> => "00:00:12,859"
>
> gives an unexpected intuitive result. If I do understand some time travel s...
akr (Akira Tanaka)
04:23 AM Bug #7829: Rounding error in Ruby Time
On Feb 20, 2013, at 7:46 AM, loirotte (Philippe Dosch) wrote:

> Typing this instruction:
>
> irb(main):001:0> Time.utc(1970,1,1,0,0,12.860).strftime("%H:%M:%S,%L")
> => "00:00:12,859"
>
> gives an unexpected intuitive result.
...
david_macmahon (David MacMahon)
12:46 AM Bug #7829: Rounding error in Ruby Time
david_macmahon (David MacMahon) wrote:
> On Feb 12, 2013, at 12:51 AM, loirotte (Philippe Dosch) wrote:
> ...
Once again, more documentation about this behavior is a good thing, but I'm really not sure that this is the best solution fo...
loirotte (Philippe Dosch)
03:18 PM Revision 254dc20a (git): * 2013-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision 14ffaac4 (git): * ChangeLog: fix a typo for r39352.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:31 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
nobu (Nobuyoshi Nakada) wrote:
> Quick patch.
> ...
Does a list of these new 2.0 GC-safe functions exist anywhere?
If the 2.0 GC-safe functions aren't currently enumerated in a single, accessible place, should they be listed in a ne...
jonforums (Jon Forums)
11:35 AM Feature #6688: Object#replace
=begin
Even if this idea of Proxy/Proxy#become isn't deemed suitable for core, is it still possible to do it as a 3rd party extension? I took a stab at it with:
#include <ruby.h>
VALUE cProxy;
/* call-seq:
* proxy.b...
trans (Thomas Sawyer)
03:00 AM Feature #6688: Object#replace
=begin
I have idea for less dangerous form of become.
I am working with a parser that supports object references. It is difficult b/c children of a given object might reference the parent, creating circular structures. So you can't ...
trans (Thomas Sawyer)
09:19 AM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
> Chris White, Jon Forums,
> ...
mame-san...ruby_2_0_0@39344 solves these recent issues on my `x86_64-linux` (ubuntu server 12.10) machine. I will build `i686-linux` later tonight and report back if any errors.
* `exec_prefix` regr...
jonforums (Jon Forums)
05:24 AM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
I don't know enough about autoconf to understand the fix.
I don't believe it will cause any problems with RubyGems though.
drbrain (Eric Hodel)
08:31 AM Revision e525bcd1 (git): Add test for [Backport #7896] [ruby-core:52607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:31 AM Revision 45dcceaa (git): * tool/merger.rb: add interaction when only ChangeLog is modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:35 AM Revision 654a3632 (git): revert duplicate ChangeLog.
r39308 was already merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:34 AM Revision 087e888a (git): signal.c: extract check_stack_overflow
* signal.c (check_stack_overflow): extract duplicated code and get rid
of declaration-after-statement. [Bug #5014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:23 AM Revision 901f44d1 (git): merge revision(s) 39308:
* vm_eval.c (vm_call0_body): check interrupts after method dispatch
from C methods. [Bug #7878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:56 AM Feature #7435: Exceptions should have backtrace_locations
I wish I had seen this before 2.0.0!
Perhaps set_backtrace should just cause backtrace_locations to return an empty array?
I really, really wish backtrace_locations had gotten into 2.0.0, so let's try to make this happen for 2.1.
headius (Charles Nutter)
05:18 AM Revision 7355c6d9 (git): * signal.c (sigsegv): avoid to use async signal unsafe functions
when nested sigsegv is happen.
[Bug #5014] [ruby-dev:44082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:52 AM Revision 8a9dc061 (git): * file.c (rb_group_member): added an error check. SUS says,
getgroups(small_value) may return EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:41 AM Revision e93a68ab (git): * file.c (RB_MAX_GROUPS): moved to
* internal.h (RB_MAX_GROUPS): here.
* file.c (rb_group_member): use RB_MAX_GROUPS instead of
RUBY_GROUP_MAX. They are the same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:41 AM Revision 1cda6e39 (git): * file.c (access_internal): removed.
* file.c (rb_file_readable_real): use access() instead of
access_internal().
* file.c (rb_file_writable_real): ditto.
* file.c (rb_file_executable_real): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39351 b2dd03c8-39d4-4d8...
kosaki (Motohiro KOSAKI)
04:41 AM Revision ba37db04 (git): * file.c (eaccess): use access() when not using setuid nor setgid.
This is minor optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:40 AM Revision 7c465090 (git): * file.c (rb_group_member): get rid of NGROUPS dependency.
[Bug #7886] [ruby-core:52537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:45 AM Revision 74016f18 (git): ruby.c: fix for multiarch library
* ruby.c (ruby_init_loadpath_safe): try two levels upper for stripping
libdir name. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:42 AM Revision 739c8ffc (git): configure.in: expand libdir_basename
* configure.in (libdir_basename): expand with multiarch in configure,
not to defer the expansion till ruby.pc.in and mkmf.rb. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:17 AM Bug #7200: Setting external encoding with BOM|
#set_encoding accepts ("bom|utf-16be:euc-jp") but rejects ("bom|utf-16be", "euc-jp"). This is inconsistent, confusing, and has nothing to do with the artificial mode vs encoding justification above. This inconsistency requires additional... brixen (Brian Shirai)
03:02 AM Bug #7894 (Feedback): Ruby mswin target does not build
Please provide the exact output and the context around the build failure.
Also provide details of the compiler version that you're using (cl /?) and the version of nmake too.
The output log will be more helpful than the analysis of...
luislavena (Luis Lavena)
02:33 AM Bug #7894 (Closed): Ruby mswin target does not build
Building Ruby using nmake fails. Perhaps the nmake target (mswin) isn't supported anymore?
Here's what I've attempted:
1) I've installed ruby using a download from the ruby installer project (http://rubyinstaller.org/downloads/). H...
masali-hp (Mark Salisbury)
12:51 AM Revision cb71fee8 (git): * 2013-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:51 AM Revision 22b51faf (git): configure.in: libdir_basename for -rpath and -install_name
* configure.in (libdir_basename): also -rpath and -install_name flags
are affected when libruby directory changes. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/20/2013

10:13 PM Bug #7874: multiarch support enhancements
I think r39334 fixes a longstanding bug, which ignores explicitly specified option, not only guessed name. nobu (Nobuyoshi Nakada)
06:02 PM Bug #7874 (Closed): multiarch support enhancements
This issue was solved with changeset r39334.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: target_os suffix
* configure.in (target_os): do...
nobu (Nobuyoshi Nakada)
06:02 PM Bug #7874 (Open): multiarch support enhancements
nobu (Nobuyoshi Nakada)
06:01 PM Bug #7874 (Closed): multiarch support enhancements
This issue was solved with changeset r39333.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: adjust libdirname
* configure.in (libdirname): ...
nobu (Nobuyoshi Nakada)
04:19 PM Bug #7874 (Assigned): multiarch support enhancements
Sorry, I don't understand the situation.
Nobu, do you think that we should import terceiro's patches?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
01:14 PM Bug #7874: multiarch support enhancements
Sorry, I's confused a little last night.
multiarch is set to an empty string or unset, so terceiro's substitution is correct.
nobu (Nobuyoshi Nakada)
09:53 PM Bug #7893: Issues with loading YAML and respond_to_missing?

the problem is in yaml: to_ruby.rb "if o.respond_to?(:init_with)" so eigher you need to define a init_with method or
def respond_to_missing?(m, include_private = false)
(@attributes && @attributes.key?(m)) || super
end
Hanmac (Hans Mackowiak)
08:27 PM Bug #7893 (Rejected): Issues with loading YAML and respond_to_missing?
This is perhaps not a bug, I could be missing something, but shouldn't the following code work?
require 'yaml'
class Person
def initialize(name)
@attributes = { name: name }
end
def method_mi...
injekt (Lee Jarvis)
09:35 PM Bug #7847 (Open): gem release of io-console is broken on Windows
Thank you Nobu.
Can you release io-console 0.4.2 to rubygems.org?
That will fix the situation for users running 1.9.3.
Thank you.
luislavena (Luis Lavena)
08:11 PM Feature #7738: Deprecate Set#+ as an alias of Set#|, use it for symmetric difference. Introduce Hash#| for Hash#reverse_merge in Rails.
In fact, sets (or rather subsets of a given set) form a Boolean ring ( http://en.wikipedia.org/wiki/Boolean_ring ) under the following two operations:
- the product is the set intersection and
- the sum is the set symmetric differenc...
alexeymuranov (Alexey Muranov)
08:07 PM Revision 79db75dc (git): Merge trunk revision: 39327
* lib/rubygems/commands/update_command.rb: Create the installer after
options are processed. [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_commands_update_command.rb: Test for the
above.
git-svn-id: svn+ssh://ci.ruby-lang.or...
drbrain (Eric Hodel)
07:57 PM Revision bf2b8c89 (git): Merge trunk revision: 39324
* lib/rubygems/installer.rb: Use gsub instead of gsub! to avoid
altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39343 b2dd03c8-39d4-4d8f-98ff-823f...
drbrain (Eric Hodel)
06:29 PM Bug #7892: MIME encoding bug of NKF.nkf
うーん……。
まず。どちらも元に戻らないので、バグです。
で、バグの根本的な原因は、「長い日本語 alphabets 日本語」という文字列をエンコードした際に、
「=?ISO-2022-JP?B?blahblah?= alphabets =?ISO-2022-JP?B?blah?=」とデコードしたいところ、
「=?ISO-2022-JP?B?blahblah?= alphabets<改行>=?ISO-2022-JP?B?blah?=」となってしまうケースを
想定してい...
naruse (Yui NARUSE)
04:01 PM Bug #7892 (Assigned): MIME encoding bug of NKF.nkf
NKF の MIME encoding の結果が 1.8 と 1.9/2.0 で異なってます。
# 1.8 の場合
$ /usr/bin/ruby -rnkf -ve "puts NKF.nkf('-jW -M --cp932', '「あああああああああああ by ああああああああああ」のレシピ')"
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]
=?ISO-2022-JP?B?G...
mrkn (Kenta Murata)
06:16 PM Revision c22166a3 (git): * NEWS: Floats are frozen too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:11 PM Revision a710cba5 (git): * 2013-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:11 PM Revision 3d860bad (git): * NEWS: Add that Fixnums and Bignums are frozen
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:27 PM Bug #7821: FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
Looks not so critical.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
04:24 PM Bug #6928: SecureRandom.random_bytes: assume zero entropy for seed value
I assume that if this is so significant issue, Martin would have reported this to security@ruby-lang.org.
So I postpone this to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
04:15 PM Bug #7878: E::Lazy#grep ignores ^C
ko1 (Koichi Sasada) wrote:
>  これに関して、実は 1.9.3 に戻したというのが実情です RUBY_VM_CHECK_INTS
> ...
なるほど、とても安心できる説明ありがとうございます。
バックポートお願いします。
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
04:23 AM Bug #7878: E::Lazy#grep ignores ^C
(2013/02/19 21:20), mame (Yusuke Endoh) wrote:
>> なぜ私が、と思ったんですが、遠藤さんいい読みですね。
>
> RUBY_VM_CHECK_INTS なんだから笹田さんでしょう。

 てっきり、Lazy cycle 内でなんか凄いことをやっているのかと思っておりま
した。enum.c のほうに変更入れるなら私じゃないだろう、と。

> ko1 (Koichi Sasada) wrote...
ko1 (Koichi Sasada)
03:56 PM Bug #7584: Ruby hangs when shutting down an ssl connection in gc finalization
Thank you Bob!
Then I postpone this to 2.1.0.
If there is a good patch available soon, we may backport it to ruby_2_0_0.
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
03:53 PM Bug #7879: File.readable? fails when ruby runs as root
>> You need specific concern when opening /proc, /sys and similar pseudo filesystem's file.
>
> Out of curiosity, what should we concern concretely? Should we assume File.readable? as a hint?

Pseudo filesystem hae several exce...
kosaki (Motohiro KOSAKI)
03:28 PM Bug #7879: File.readable? fails when ruby runs as root
kosaki (Motohiro KOSAKI) wrote:
> When run as root, access(2) ignore permission and always return success. That's UNIX filesystem semantics.
> ...
Wow...
> You need specific concern when opening /proc, /sys and similar pseudo filesy...
mame (Yusuke Endoh)
03:15 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
> Please revert it if wrong.
Please don't try to get retrospective approval ;-(
r39320 seems very subtle (actually it caused cascading fixes on trunk).
I'm afraid if it affects other platforms.
Eric Hodel,
Do you understand th...
mame (Yusuke Endoh)
03:00 PM Bug #7877: E::Lazy#with_index should be lazy
@marcandre oh, thank you! You saved my day.
Still I want this though.
shyouhei (Shyouhei Urabe)
01:30 AM Bug #7877: E::Lazy#with_index should be lazy
Note that (thanks to #7715), you can use `with_index` without a block and follow it with `map`:
def leibniz(n)
(0..Float::INFINITY).lazy.with_index.map {|i, j| (-1 ** j) / (2*i+1).to_f }.take(n).reduce(:+)
end
I'm n...
marcandre (Marc-Andre Lafortune)
02:38 PM Bug #7890: Data class should have documentation
nobu (Nobuyoshi Nakada) wrote:
> I've supposed removal of Data in Ruby level.
It's my understanding that a lot of people feel that way, might be worth deprecating because I'd be uncertain as to how many C extensions use this. I know ...
halogenandtoast (Matthew Mongeau)
01:58 PM Bug #7890: Data class should have documentation
I've supposed removal of Data in Ruby level. nobu (Nobuyoshi Nakada)
12:19 PM Bug #7890 (Closed): Data class should have documentation
This issue was solved with changeset r39330.
Matthew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Document Data class [Bug #7890] [ruby-core:52549]
...
zzak (zzak _)
11:24 AM Bug #7890: Data class should have documentation
I have a lack of experience with redmine. I don't see my patch attached, so just incase:
Index: object.c
===================================================================
--- object.c (revision 39327)
+++ object.c (working copy)
...
halogenandtoast (Matthew Mongeau)
11:20 AM Bug #7890 (Closed): Data class should have documentation
This class is confusing without knowing where to lookup information. I've attached a patch that points developers to README.ext
I'm assigning this to zzak, hopefully if this is the wrong person to assign it to he can assign it to some...
halogenandtoast (Matthew Mongeau)
01:16 PM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
Yeah, I did see this error with apple-gcc42.
Is it still alive, and is the fix needed?
nobu (Nobuyoshi Nakada)
08:59 AM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
jhaungs (Jim Haungs) wrote:
> Compiling Ruby 2 RC2 with the latest Xcode fails on OSX 10.8.2.
> ...
You did not build with clang.
drbrain (Eric Hodel)
08:49 AM Bug #7817: (Unable to compile Ruby 2.0.0-rc2 on OSX (clang version 2.1)
Compiling Ruby 2 RC2 with the latest Xcode fails on OSX 10.8.2.
clang -v
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
[2013-02-19 15:41:21] make
CC = gcc...
jhaungs (Jim Haungs)
12:54 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
Quick patch.
2.0 has GC safe functions, rb_sprintf() with PRIsVALUE, rb_intern_str(), and so on.
nobu (Nobuyoshi Nakada)
12:49 PM Revision e908adc1 (git): common.mk: uninstall
* common.mk (uninstall): uninstall installed file listed in
$(INSTALLED_LIST) file.
* tool/rbuninstall.rb: simple uninstallation tool.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:34 PM Bug #7478 (Rejected): Do not include vararg.h - always include stdarg.h
No feedback. nobu (Nobuyoshi Nakada)
12:34 PM Revision fc50b60c (git): * tool/rbinstall.rb (libdir): fix typo. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:06 PM Revision 9041f262 (git): extmk.rb: extract SUBMAKEOPTS
* ext/extmk.rb (SUBMAKEOPTS): extract common sub make options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:06 PM Revision ffdb70a6 (git): extmk.rb: rename variables
* ext/extmk.rb: rename working variables as more descriptive so no
shadowing local variable warnings, and remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:49 AM Bug #7865 (Closed): A required file is not added to $LOADED_FEATURES until after it has run
=begin
It's an intended behavior, not a bug.
When an exception raised while loading, the feature won't be added to
(({$LOADED_FEATURES})).
And, it hasn't been loaded yet, has it?
If you want to know what features are now getting l...
nobu (Nobuyoshi Nakada)
10:27 AM Revision 57bccfa9 (git): ruby.h: HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
* include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
rb_scan_args() optional hash feature. [Bug #7861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:35 AM Bug #7779 (Closed): embedded rubygems 2.0.0.rc.2 mangles --user-install
This issue was solved with changeset r39327.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/commands/update_command.rb: Create the installer a...
drbrain (Eric Hodel)
09:15 AM Bug #7779 (Assigned): embedded rubygems 2.0.0.rc.2 mangles --user-install
Seems like the same issue. drbrain (Eric Hodel)
02:03 AM Bug #7779: embedded rubygems 2.0.0.rc.2 mangles --user-install
Thanks Eric. Install looks good but `gem up xxx --user-install` was missed.
If you want this opened as a new issue (here or on RG issues) let me know.
jon@ubusvr:~$ ruby --version
ruby 2.0.0dev (2013-02-19 trunk 39321) [i686-l...
jonforums (Jon Forums)
09:02 AM Revision 52911974 (git): configure.in: target_os suffix
* configure.in (target_os): do not strip -gnu suffix on Linux if
--target is given explicitly. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:01 AM Revision 67ab6e3d (git): configure.in: adjust libdirname
* configure.in (libdirname): adjust library path name which libruby
files will be installed. [Bug #7874]
* tool/rbinstall.rb (libdir): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:12 AM Revision 562c0ead (git): merge revision(s) 39308:
* vm_eval.c (vm_call0_body): check interrupts after method dispatch
from C methods. [Bug #7878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:51 AM Bug #7885 (Closed): Build failure: test_initialize_user_install issues under Windows
This issue was solved with changeset r39324.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/installer.rb: Use gsub instead of gsub! to avoid
...
drbrain (Eric Hodel)
01:50 AM Bug #7885 (Closed): Build failure: test_initialize_user_install issues under Windows
=begin
Latest changes to RubyGems into ruby_2_0_0 branch are causing failures in RubyInstaller CI:
http://ci.rubyinstaller.org/job/ruby-2_0_0-x64-test-all/10/console
http://ci.rubyinstaller.org/job/ruby-2_0_0-x86-test-all/10/conso...
luislavena (Luis Lavena)
04:37 AM Revision 206d1c89 (git): * ext/pty/pty.c: Documentation for the PTY module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
03:19 AM Revision c7bb7974 (git): * object.c: Document Data class [Bug #7890] [ruby-core:52549]
Patch by Matthew Mongeau
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:15 AM Revision 4b81b403 (git): enumerator.c: suppress warnings
* enumerator.c (lazy_zip_arrays_func, lazy_zip_func, lazy_take_func),
(lazy_drop_func, lazy_drop_while_func): suppress uninitialized
instance vriable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39329 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
02:51 AM Revision 2d112d2c (git): * lib/mutex_m.rb: Add rdoc for Mutex_m module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:58 AM Feature #7883: Add Regex#to_proc
I like this, and I especially like the modified version from judofyr. You could also do `["abc", 3, "foo", etc].find(&Integer)` which is neat, but maybe that's a push in the wrong direction, I'm not sure. injekt (Lee Jarvis)
12:38 AM Feature #7882: Allow rescue/else/ensure in do..end
Yusuke, I believe it should be the latter. If you want to rescue from the yielding method you have the option of doing it like this in most cases:
with_transaction do
...
rescue
...
end rescue puts 'with_transaction ...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:07 AM Feature #7882: Allow rescue/else/ensure in do..end
I've heard of a convention to use `{ ... }` for blocks evaluated for a result and `do ... end` for blocks evaluated for side effects: http://onestepback.org/index.cgi/Tech/Ruby/BraceVsDoEnd.rdoc
From this point of view, there probably s...
alexeymuranov (Alexey Muranov)
12:34 AM Revision 75eb6cc9 (git): * lib/rubygems/commands/update_command.rb: Create the installer after
options are processed. [ruby-trunk - Bug #7779]
* test/rubygems/test_gem_commands_update_command.rb: Test for the
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
 

Also available in: Atom