Project

General

Profile

Activity

From 01/03/2013 to 01/09/2013

01/09/2013

11:41 PM Bug #7676 (Rejected): Comparison of Float::NAN in array behaves unexpectedly
duplicate of Bug #1720
See documentation in numeric.c added in r37546
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/37546/diff/numeric.c
ngoto (Naohisa Goto)
11:00 PM Bug #7676: Comparison of Float::NAN in array behaves unexpectedly
Attached a patch fixing this issue - the pointer equality checks in `recursive_equal` and `rb_equal` should not be performed as this breaks in the case where `a != a`.
I'm not committing this straight away because it causes three test...
Anonymous
11:11 AM Bug #7676 (Closed): Comparison of Float::NAN in array behaves unexpectedly
It seems that two arrays containing Float::NAN will be considered equal ([Float::NAN] == [Float::NAN]), despite the fact that Float::NAN != Float::NAN.
Tested and reproduced in 1.8.7p371, 1.9.3p362, 2.0.0preview2. (This bug can be rep...
simonrussell (Simon Russell)
07:26 PM Revision b104e252 (git): * ext/psych/lib/psych/scalar_scanner.rb: strip trailing dots from
floats so that Float() will not raise an exception.
* test/psych/test_numeric.rb: test to ensure "1." can be loaded
* test/psych/test_string.rb: make sure "1." can round trip
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38754 b2d...
tenderlovemaking (Aaron Patterson)
07:26 PM Revision ac8b1869 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: ascii only binary strings
will be dumped as unicode. Thanks Paul Kunysch!
* test/psych/test_string.rb: appropriate test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:38 PM Revision 113c8121 (git): * 2013-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:38 PM Revision a5e2f322 (git): * compile.c (compile_array_): modify wrong optimization.
A script "[print(1)]; print(2)" should output "12".
However, the compiler had eliminted "[print(1)]" expression
because it is void expression (unused array).
Of course, side-effect should be remained.
This issue is reported by Ma...
ko1 (Koichi Sasada)
06:27 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
I can reliably reproduce the bug in my embedded Ruby project (https://github.com/kkaempf/cmpi-bindings) where Ruby (ruby-1.9.3-p194; same for git master) segfaults in mark_locations_array() accessing a memory location *within* ruby_stack... kkaempf (Klaus Kämpf)
05:58 PM Feature #6752: Replacing ill-formed subsequencce
=begin
(('+1')) for the functionality.
What we currently have (Encoding::Converter) is not enough to solve this problem because 1) it is mandatory to pick a different encoding to convert to for nothing, and even if you have decided to p...
knu (Akinori MUSHA)
05:35 PM Bug #2402: super in instance_eval
うーん、では、禁止でいいですよ。
Matz.
matz (Yukihiro Matsumoto)
05:24 PM Bug #2402: super in instance_eval
shugo (Shugo Maeda) wrote:
> まつもとさん、この件どうしましょうか?
> ...
まつもとさん、いかがでしょうか。
再度まとめると、以下のように`instance_eval`中で`super`を呼ぶと、`super`で
呼び出した先のクラス・モジュールと`self`の整合性が取れなくなるため、
現状では、`NotImplementedError`が発生します。
~~~ruby
class Bar < Foo
def...
shugo (Shugo Maeda)
05:01 PM Bug #7533 (Closed): Oniguruma hates the letter 's' :(
Duplicated with #4044 naruse (Yui NARUSE)
04:58 PM Bug #7678 (Closed): $_ and $~ are shared across Fibers halfway
=begin
((|$_|)) and ((|$~|)) have thread local method scope, but are shared across fibers in same thread.
$ ./ruby -v -e '/a/ =~ "a"; p $~; Fiber.new{/b/=~"b"; p $~}.resume; p $~'
ruby 2.0.0dev (2013-01-09 trunk 38748) [x86_64-d...
nobu (Nobuyoshi Nakada)
02:58 PM Bug #3422: Object.const_get(:A, false) can access BasicObject::A
mame (Yusuke Endoh) wrote:
> Matz, do you think that it should be changed again?
> ...
I'm not sure why this ticket has been reopened, but if it's because of the following comment, this ticket can be closed, because the request has alr...
shugo (Shugo Maeda)
01:14 PM Revision 62efc6f3 (git): * load.c (load_lock): if thread shield is destroyed and there is no
waiting thread, insert new thread shield into load_table.
[Bug #7530] [ruby-core:50645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
01:14 PM Revision 94b4e7c7 (git): * load.c (load_lock): revert r38744. it should acquire new thread
shield.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
11:40 AM Feature #7677 (Closed): YAML load mode that does instantiate Ruby
See https://makandracards.com/makandra/892-never-use-yaml-load-with-user-input
I suggest that YAML.load and YAML.load_file have an optional mode that will allow the YAML to load but not instantiate `!ruby/object:` tags, nor any regist...
trans (Thomas Sawyer)
10:42 AM Bug #7675 (Rejected): main.protected is not defined
matz (Yukihiro Matsumoto) wrote:
> I am not positive to add it.
> ...
OK, so I close this ticket.
shugo (Shugo Maeda)
10:38 AM Bug #7675: main.protected is not defined
I am not positive to add it.
There's no reason to add protected except for consistency, since it behaves just like public.
Matz.
matz (Yukihiro Matsumoto)
10:30 AM Bug #7675: main.protected is not defined
kosaki (Motohiro KOSAKI) wrote:
> > Target version: 2.0.0
> ...
I considered it a bug, but if Matz consider it a new feature, feel free to move it to next minor or to reject it simply.
shugo (Shugo Maeda)
08:53 AM Bug #7675: main.protected is not defined
> Target version: 2.0.0

2.0?
kosaki (Motohiro KOSAKI)
07:59 AM Bug #7675 (Rejected): main.protected is not defined
main (self at toplevel) has public and private, but doesn't have protected.
public
private
protected #=> NoMethodError
It looks a bit weird.
I guess it was forgotten to add main.protected when Module#protected was introd...
shugo (Shugo Maeda)
09:59 AM Bug #7530 (Closed): Concurrent loads fail with mutex errors
This issue was solved with changeset r38744.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* load.c (load_lock): fix not to delete thread shield twice.
...
Anonymous
06:40 AM Revision 4e323c0a (git): vm.c: initialize root_svar
* vm.c (th_init, ruby_thread_init): initialize root_svar with Qnil,
since lep_svar_place() expects uninitialized svar to be nil, not 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:32 AM Revision f608b1b8 (git): test_flip.rb: flip-flop shared by threads
* test/ruby/test_flip.rb (TestFlip#test_shared_thread): flip-flop
should be separated per threads
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:03 AM Bug #7674: Document for using Struct.new with block
=begin
Thank you for the comment! I understood.
$ ruby -e "p Struct.new(:x){|c| p(c, self)}"
#<Class:0x007f8f738b9d90>
#<Class:0x007f8f738b9d90>
#<Class:0x007f8f738b9d90>
I updated the patch.
=end
iwadon (Hiroyuki Iwatsuki)
02:34 AM Bug #7674: Document for using Struct.new with block
Nitpick.
* Struct.new( [aString] [, aSym]+> ) {|| block } -> StructClass
Actually StructClass is passed to the block.
nobu (Nobuyoshi Nakada)
04:56 AM Revision 193e1fc8 (git): Add RUBYOPT=>nil to avoid false negative
add RUBYOPT=nil to suppress circular require warnings to avoid false negative
with stderr assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:26 AM Revision 1ff3e23f (git): * test/ruby/test_require.rb: improve test for r38744.
fix to use Tempfile instead of temporary file in current directory.
the patch is from nobu (Nobuyoshi Nakada).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)
02:31 AM Feature #7414: Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
I vote for false in both cases, like defined? operator. nobu (Nobuyoshi Nakada)
02:27 AM Bug #7478 (Feedback): Do not include vararg.h - always include stdarg.h
Why does rb_cv_stdarg check fail?
Could you show config.log file?
nobu (Nobuyoshi Nakada)
02:13 AM Bug #7647 (Closed): Ruby 1.9.3 doesn't build on m68k due to alignment of structs
This issue was solved with changeset r38741.
Alan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.h: align
* include/ruby/ruby.h (RBasic): to be aligned on a...
nobu (Nobuyoshi Nakada)
01:48 AM Bug #7653 (Feedback): Array.pack ignores Big Endian modifier
nobu (Nobuyoshi Nakada)
01:36 AM Bug #7276: TestFile#test_utime failure
Status? Is this planned to be fixed for 2.0.0?
This is the only failure I get when building trunk (`make test-all` and `make test`) with mingw-w64 4.7.2 32bit on Win7.
As stated previously, you don't see this failure at http://ci.r...
jonforums (Jon Forums)
12:59 AM Revision bc0577c6 (git): * load.c (load_lock): fix not to delete thread shield twice.
it may break the shield locked by another thread.
[Bug #7530] [ruby-core:50645]
* test/ruby/test_require.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Glass_saga (Masaki Matsushita)

01/08/2013

06:47 PM Revision 4ddf057b (git): compile.c: adjust indent
* compile.c (iseq_compile_each): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:31 PM Bug #7674 (Closed): Document for using Struct.new with block
I wrote the document for using Struct.new with block. iwadon (Hiroyuki Iwatsuki)
05:13 PM Revision cbd1f257 (git): * 2013-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:13 PM Revision 8ad71433 (git): ruby.h: align
* include/ruby/ruby.h (RBasic): to be aligned on a VALUE size
boundary. [Bug #7647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:51 PM Bug #7673 (Closed): [rdoc] duplicated entries in Pages fileindex-section
=begin
As the result of `((%rdoc -o readmes README*%))`, ((|Pages|)) (({fileindex-section})) in (({readmes/index.html})) has duplicated entries.
<li class="file"><a href="./README.html">README</a>
<li class="file"><a href="....
nobu (Nobuyoshi Nakada)
11:39 AM Bug #7530: Concurrent loads fail with mutex errors
Here is the minimal code:
~~~ruby
THREADS = 2
ITERATIONS_PER_THREAD = 1000
system 'touch __load_path_bench_script__.rb'
THREADS.times.map {
Thread.new do
ITERATIONS_PER_THREAD.times do
require_relative '__load_pat...
Glass_saga (Masaki Matsushita)
11:32 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
Yeah, I understand, that’s what I thought would happen but I posted here at the IBM person’s insistence. Oh well! Thanks. kgerrard (Ken Gerrard)
09:56 AM Bug #7672 (Third Party's Issue): Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
usa (Usaku NAKAMURA)
08:00 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
If the problem only occur when using ibm_db gem, only IBM have a chance to help you. Please don't think we have ESP, please don't expect we can consult IBM product. Sorry, I don't think we can help you.
kosaki (Motohiro KOSAKI)
07:18 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
And the MacOS logs for ibm_db 2.5.11. kgerrard (Ken Gerrard)
07:15 AM Bug #7672: Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
Here are the MacOS logs for ibm_db 2.5.9. kgerrard (Ken Gerrard)
07:11 AM Bug #7672 (Third Party's Issue): Segmentation faults with ibm_db gem on three versions of 1.9.3 on MacOS X and Ubuntu
=begin
I have a DB2-backed Rails 3.1 project I’m looking to update to 3.2, which means I have to use a newer version of the ibm_db gem. I have no problem running a server with the newer gem, but the intensive Cucumber tests inevitably r...
kgerrard (Ken Gerrard)
05:57 AM Revision a00b29a6 (git): insns.def: adjust indent
* insns.def (getlocal, defined): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:41 AM Revision 69b71611 (git): vm_core.h: flip_cnt in rb_iseq_t
* vm_core.h (rb_iseq_t): move flip_cnt from struct iseq_compile_data,
because it has same life span as enclosing iseq. [Bug #7671]
[ruby-core:51296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38739 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
03:40 AM Revision bdb18e5f (git): Fix wrong English in ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:18 AM Revision dbdaf98c (git): * README (install): note about distclean-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

01/07/2013

11:59 PM Bug #5619 (Closed): Segfault on OS X
I couldn't reproduce this issue on the latest trunk, r38731.
It may be fixed on the current trunk, I think.
mrkn (Kenta Murata)
11:42 PM Bug #7044 (Closed): BigDecimal#power randomly raises coercion errors
This issue was solved with changeset r38734.
Tony, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal):
add ...
mrkn (Kenta Murata)
11:34 PM Bug #7521 (Closed): test_thr_kill(TestQueue) fails
I did not met this issue in recent days. It was probably just some temporary issue of Rawhide. Sorry for disturbing. vo.x (Vit Ondruch)
10:26 PM Revision 91c6d576 (git): * 2013-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:26 PM Revision 8253cb26 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:55 PM Bug #7670 (Closed): main.include should be private
This issue was solved with changeset r38731.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (Init_eval): main.include should be private.
[ruby-co...
shugo (Shugo Maeda)
07:04 PM Bug #7670: main.include should be private
Agreed.
Matz.
matz (Yukihiro Matsumoto)
04:07 PM Bug #7670 (Closed): main.include should be private
Module#include is private, but main.include seems to be public:
self.include Enumerable #=> no error
It should be private, shouldn't it?
shugo (Shugo Maeda)
08:22 PM Bug #7667 (Closed): Should Refinements be enabled by default?
This issue was solved with changeset r38729.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (Init_eval): enable Refinements by default.
[ruby-cor...
shugo (Shugo Maeda)
02:21 PM Bug #7667: Should Refinements be enabled by default?
matz (Yukihiro Matsumoto) wrote:
> Correct. I think we don't have to worry about other implementations if it's marked as EXPERIMENTAL in the NEWS file.
I think a warning should be shown when Module#refine or main.using is called at t...
shugo (Shugo Maeda)
01:24 PM Bug #7667: Should Refinements be enabled by default?
Correct. I think we don't have to worry about other implementations if it's marked as EXPERIMENTAL in the NEWS file.
Matz.
matz (Yukihiro Matsumoto)
12:55 PM Bug #7667 (Closed): Should Refinements be enabled by default?
Currently, `require "refinement"' is needed to use Refinements, but I've heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?
If so, I'm worried that other implementors might not want to enable Refin...
shugo (Shugo Maeda)
03:42 PM Bug #7662 (Closed): Unable to define a method with bare `**`
This issue was solved with changeset r38725.
Yehuda, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: bare kwrest_mark
* parse.y (f_kwrest): allow bare kwr...
nobu (Nobuyoshi Nakada)
12:25 PM Bug #7662 (Assigned): Unable to define a method with bare `**`
Thanks for your feedback. I'm neutral for bare `**` itself.
But it is too late a bit to discuss the spec and there is an obvious workaround:
def foo(**dummy)
end
Of course, we can add bare `**' later (say, in 2.0.1).
BT...
mame (Yusuke Endoh)
12:22 PM Bug #7662: Unable to define a method with bare `**`
=begin
I think this is important for consistency. Consider:
def f(a, b, **)
# ...
super
end
=end
Anonymous
12:19 PM Bug #7662: Unable to define a method with bare `**`
=begin
You don't need (({**})) here.
A rest argument includes keyword hash if the method does not have keyrest argument.
=end
nobu (Nobuyoshi Nakada)
10:39 AM Bug #7662: Unable to define a method with bare `**`
I consider this as a bug. Since it's minor issue, I defer fix to next minor.
Matz.
matz (Yukihiro Matsumoto)
07:06 AM Bug #7662 (Closed): Unable to define a method with bare `**`
This works:
def foo(*)
end
This does not:
def foo(**)
end
This does not:
def foo(*, **)
end
I use bare `*` often in combination with bare `super` to extend a superclass without being brittle to its exact ...
wycats (Yehuda Katz)
03:24 PM Bug #7668 (Closed): set_trace_func and TracePoint don't handle exception in finish frame
This issue was solved with changeset r38721.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_trace.c (rb_threadptr_exec_event_hooks_orig): pop tag befo...
ko1 (Koichi Sasada)
03:01 PM Bug #7668 (Closed): set_trace_func and TracePoint don't handle exception in finish frame

The following code should trap exception correctly (should output ":ok"):
####
def m
a = 1
b = 2
c = 3
raise
end
trace = TracePoint.new{|tp|
p tp
raise # if tp.event == :c_return # if tp.event == :b_return
}
...
ko1 (Koichi Sasada)
02:42 PM Revision 1be6a498 (git): * ext/bigdecimal/bigdecimal.c (rmpd_power_by_big_decimal):
add RB_GC_GUARD to prevent the immediate object is GCed too early.
This patch was made by Yusuke Endoh. [Bug #7044] [ruby-core:47632]
* test/bigdecimal/test_bigdecimal.rb: add a reproduction test for
the issue [Bug #7044]
git-svn-...
Kenta Murata
02:33 PM Revision ca6ccd43 (git): add tag v2_0_0_rc1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v2_0_0_rc1@38733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:56 PM Bug #7666 (Closed): Should Refinements be enabled by default?
間違えてruby-devの方に投げてしまったのでcloseします。
# ruby-devからruby-coreへの移動ってできないんですかね。
shugo (Shugo Maeda) wrote:
> Currently, `require "refinement"' is needed to use Refinements, but I've heard from Matz that he wants Refinements to be enabled by...
shugo (Shugo Maeda)
12:53 PM Bug #7666 (Closed): Should Refinements be enabled by default?
Currently, `require "refinement"' is needed to use Refinements, but I've heard from Matz that he wants Refinements to be enabled by default.
Is it right, Matz?
If so, I'm worried that other implementors might not want to enable Refin...
shugo (Shugo Maeda)
12:46 PM Bug #7663: Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
In the current design, keyword arguments are NOT omittable at a callee side.
In other words, you cannot pass keyword arguments to a method that does not support keyword argments.
Other possible behavior is to ignore the passed argume...
mame (Yusuke Endoh)
10:38 AM Bug #7663 (Rejected): Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
Unlike regular argument, empty keyword argument is not equal to empty regular list.
Matz.
matz (Yukihiro Matsumoto)
07:11 AM Bug #7663 (Rejected): Unable to invoke a method with `**kwargs` if the receiver doesn't define keyword arguments
This works:
def hello
puts "hello"
end
hello(*[])
This does not:
def hello
puts "hello"
end
hello(**{})
I may be misunderstanding the idea behind the keyword arguments, but I would expect them to...
wycats (Yehuda Katz)
12:42 PM Revision 19768b6c (git): * vm_method.c (Init_eval_method): main.public and main.private
should be private.
* proc.c (Init_Proc): main.define_method should be private.
* test/ruby/test_module.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:41 PM Feature #7644 (Assigned): In refinements, change "using" keyword to a less generic word.
boris_stitnicky (Boris Stitnicky) wrote:
> The upcoming feature of refinements is bringing two new keyords: "refine Something" and "using Something". While I am definitely late to come up with this, I realized that due to natural lingui...
shugo (Shugo Maeda)
12:28 PM Feature #4085 (Closed): Refinements and nested methods
I've implemented all features requested by Matz, so I close this ticket.
The current spec is described at <https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec>.
If you have any request for Refinements, please file a...
shugo (Shugo Maeda)
12:28 PM Feature #6287 (Closed): nested method should only be visible by nesting/enclosing method
I've implemented all features requested by Matz, so I close this ticket.
The current spec is described at <https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec>.
If you have any request for Refinements, please file a...
shugo (Shugo Maeda)
12:09 PM Bug #7665 (Closed): keyrest argument overwrites the last element of rest argument
This issue was solved with changeset r38719.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: keyrest should not overwrite rest arg
* vm...
nobu (Nobuyoshi Nakada)
11:57 AM Bug #7665 (Closed): keyrest argument overwrites the last element of rest argument
=begin
Since r38657, this code
def foo(*args, **opt)
p args, opt
end
foo("foo", "bar", zzz: 42)
shows
["foo", {:zzz=>42}]
{:zzz=>42}
but the first line should be (({["foo", "bar"]})).
=end
nobu (Nobuyoshi Nakada)
12:09 PM Bug #7643 (Rejected): call to super in define_method in refine results in stack level too deep
beatrichartz (Beat Richartz) wrote:
> Ok, also working for me here with r38676. Should have checked the new versions before, sorry. Have a nice day!
Thanks for your confirmation. So I close this issue.
shugo (Shugo Maeda)
11:55 AM Revision 4722c206 (git): * eval.c (Init_eval): main.include should be private.
[ruby-core:51293] [Bug #7670]
* test/ruby/test_module.rb (test_top_include_is_private): a new test
for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
11:52 AM Bug #7664: Keyword arguments with `**` make code targeting 1.9 / 2.0 difficult
=begin
Have you tried this in 2.0 actually?
args = [ string ] + [ options ]
log(*args)
=end
nobu (Nobuyoshi Nakada)
10:03 AM Bug #7664 (Rejected): Keyword arguments with `**` make code targeting 1.9 / 2.0 difficult
I understand your concern. But I consider this as a driving force to jump in to 2.0.
Since we have small compatibility issues between 1.9 and 2.0, I'd suggest moving forward.
Matz.
matz (Yukihiro Matsumoto)
07:29 AM Bug #7664 (Rejected): Keyword arguments with `**` make code targeting 1.9 / 2.0 difficult
You could imagine writing code that calls into a user-supplied hook:
log("App booted", level: :info)
It is possible for both Ruby 1.9 and Ruby 2.0 users to write such a hook:
# Ruby 1.9
def log(string, options={})
le...
wycats (Yehuda Katz)
11:45 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
no volunteer.
ko1 (Koichi Sasada)
11:30 AM Revision 04fd9ace (git): * NEWS: remove description about `require "refinement"'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
11:22 AM Revision 9cadf0c0 (git): * eval.c (Init_eval): enable Refinements by default.
[ruby-core:51286] [Bug #7667]
* eval.c (rb_mod_refine, top_using): show a warning when
Module#refine or main.using is called at the first time.
* ext/refinement/*: removed the extension library "refinement".
* test/ruby/test_refinem...
shugo (Shugo Maeda)
10:25 AM Feature #7657: Array#& doesn't accept Enumerables
Let me see if I understand the implicit conversion cases:
* If an object implements #to_ary, #to_str, etc - it is asserting that it is close enough to the desired type in behavior that we don't need to perform an explicit coercion?
* I....
Nevir (Ian MacLeod)
08:38 AM Revision 06f2a86f (git): * include/ruby/ruby.h (RUBY_EVENT_SPECIFIED_LINE): make it special.
This flag is not contained by RUBY_EVENT_TRACEPOINT_ALL.
This event is experimental one. It is possible to remove/rename
flag name after 2.0.1.
* vm_trace.c (get_event_id): return :line if SPECIFIED_LINE was
occurred. `:specified_l...
ko1 (Koichi Sasada)
07:50 AM Revision 80ad3e2a (git): test_syntax.rb: assert_not_label
* test/ruby/test_syntax.rb (TestSyntax#assert_not_label): need to eval
in the current binding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:52 AM Revision 9ccc80fe (git): merge revision(s) 38213: [Backport #7629]
* vm.c (rb_vm_make_proc): save the proc made from the given block so
that it will not get collected. [ruby-core:50545] [Bug #7507]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@38726 b2dd03c8-39d4-4d8f-98ff...
U.Nakamura
06:42 AM Revision e489dc1f (git): parse.y: bare kwrest_mark
* parse.y (f_kwrest): allow bare kwrest_mark as valid syntax. its
semantics is still undefined. [Bug #7662] [ruby-core:51269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:32 AM Revision 38da1a53 (git): parse.y: duplicated kwrest name
* parse.y (f_kwrest): reject duplicated kwrest argument name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:29 AM Revision 86c0eae5 (git): envutil.rb: assert_syntax_error
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_syntax_error):
new assertion for syntax error and error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:29 AM Revision 5551307d (git): envutil.rb: optional fname
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_valid_syntax):
make fname optional for inline source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:24 AM Revision b8e6fd6f (git): * vm_trace.c (rb_threadptr_exec_event_hooks_orig): pop tag before
JUMP_TAG() if frame is `finish' frame.
Without this patch, there is an inconsistency between control
frame stack and tags stack.
[Bug #7668]
* test/ruby/test_settracefunc.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-l...
ko1 (Koichi Sasada)
06:23 AM Revision 6e4b187b (git): * Makefile.in, common.mk (fake, yes-fake, no-make): these dependecies
are not platform dependent.
* win32/Makefile.sub ($(arch)-fake.rb): workaround.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:09 AM Revision 8f1be270 (git): vm_insnhelper.c: keyrest should not overwrite rest arg
* vm_insnhelper.c (vm_callee_setup_arg_complex, vm_yield_setup_block_args):
set keyrest hash after making rest array, so that the last element
will not be overwritten. [ruby-core:51278] [Bug #7665]
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
02:14 AM Feature #7661 (Closed): Please register nacl chkbuild to rubyci.org
登録しました naruse (Yui NARUSE)
12:38 AM Feature #7661 (Closed): Please register nacl chkbuild to rubyci.org
http://chkbuild.yugui.jp/ でNativeClient環境のchkbuildを公開し始めました。これをrubyci.orgに登録してもらえないでしょうか。 yugui (Yuki Sonoda)
01:44 AM Revision 04d24464 (git): * NEWS: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:38 AM Revision ff696da3 (git): * 2013-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:38 AM Revision bb70ca49 (git): * NEWS: add a NEWS entry about RubyVM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:11 AM Bug #7660 (Assigned): VC Builds Broken
luislavena (Luis Lavena)

01/06/2013

11:03 PM Bug #7659 (Closed): RBConfig Change Breaks VC Build
Applied at r38714. yugui (Yuki Sonoda)
08:13 PM Bug #7659 (Assigned): RBConfig Change Breaks VC Build
mame (Yusuke Endoh)
06:31 PM Bug #7659 (Closed): RBConfig Change Breaks VC Build
This commit breaks compiling ruby with VC 2010 (and I'm sure all other versions).
SHA-1: 275a9dcb8caa389ec7cbdfcfb860f56f5ddbc4d0
RBCONFIG changed from:
./.rbconfig.time
To:
.rbconfig.time
Which then results in this nma...
cfis (Charlie Savage)
08:35 PM Feature #7657: Array#& doesn't accept Enumerables
> Would it make sense for Enumerable to implement to_ary as well?
Matz is not agreeing as you see in #1893:
" Implicit conversion methods such as #to_ary and #to_str should be
defined only when the object provides (almost) equiv...
Eregon (Benoit Daloze)
09:02 AM Feature #7657: Array#& doesn't accept Enumerables
Err, I mean it looks like it's similar to http://bugs.ruby-lang.org/issues/1028 Nevir (Ian MacLeod)
09:00 AM Feature #7657 (Assigned): Array#& doesn't accept Enumerables
This seems similar to http://bugs.ruby-lang.org/issues/6923
Example:
irb(main):001:0> class Thing
irb(main):002:1> include Enumerable
irb(main):003:1> def each(*args, &block)
irb(main):004:2> [1,2,3,4,5]....
Nevir (Ian MacLeod)
07:30 PM Bug #7660: VC Builds Broken
Simply removing this rule:
.c.obj:
$(ECHO) compiling $(<:\=/) $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c -Tc$(<:\=/)
Solves the problem.
cfis (Charlie Savage)
07:15 PM Bug #7660: VC Builds Broken
Looks like the issue is these two rules:
{$(srcdir)}.c{}.obj:
$(ECHO) compiling $(<:\=/)
$(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c -Tc$(<:\=/)
.c.obj:
$(ECHO) compiling $(<:\=/)
$(Q) $(CC) $(CFLAGS) $(XCFLA...
cfis (Charlie Savage)
07:11 PM Bug #7660 (Rejected): VC Builds Broken
Ruby 1.9.3 p362 and Ruby 2.0.0 can no longer be build with VC 2010, while Ruby 1.9.3 p286 and earlier are fine. The problem is with win32/file, which is compiled twice while ruby/file is not compiled at all. Looks like something change... cfis (Charlie Savage)
12:52 PM Revision dfb86875 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:20 AM Bug #6820: Time#to_s on NEWS
=begin
This is still leaving...
$ ruby -E:utf-8 -ve 'p Encoding.default_internal, Time.now.to_s.encoding'
ruby 2.0.0dev (2013-01-06 trunk 38711) [x86_64-linux]
#<Encoding:UTF-8>
#<Encoding:US-ASCII>
I attached a patch to dr...
no6v (Nobuhiro IMAI)
10:08 AM Revision f849917a (git): * win32/Makefie.sub: Fix build with VC.
Patch by Charlie Savage. Fixes [ruby-core:51261]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:48 AM Revision c9f5a8f3 (git): * bootstraptest/test_io.c: add a test for [ruby-dev:46834].
* io.c (rb_cloexec_fcntl_dupfd) Use an emulation with dup(2) when
fcntl(2) and/or F_DUPFD is unavailable.
Suggested by akr.
* configure.in (HAVE_FCNTL): NativeClient does not provide fcntl(2).
git-svn-id: svn+ssh://ci.ruby-lang.org...
yugui (Yuki Sonoda)
06:58 AM Feature #5481: Gemifying Ruby standard library
What is the status of this? I had a couple of thoughts/questions:
* I was wondering how standard lib like `ostruct.rb` fits into this. I did not notice it mentioned. Would it be a gem? Or are some standard libs staying "old-fashioned"...
trans (Thomas Sawyer)
06:31 AM Bug #7656: Handful of documentations
Awesome, thank you!! zzak (zzak _)
06:14 AM Bug #7656 (Closed): Handful of documentations
This fixes documentation in ENV, adds a little for debug.rb, and completes PP vbatts (Vincent Batts)
06:11 AM Bug #7655 (Rejected): range interval test does not consider string length
>> ('aaaaaa'..'zzzzzz') === 'count' #is count a 6 letter word?
=> true
IMHO the result should be false
ran code in irb
matecsaj (John Matecsa)
02:11 AM Revision 015997ec (git): * doc/syntax/modules_and_classes.rdoc: Fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
12:04 AM Bug #7650 (Closed): net/http always added port number in host header.
This issue was solved with changeset r38707.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http/generic_request.rb:
Amazon ECA API and GTE/1....
naruse (Yui NARUSE)

01/05/2013

11:04 PM Revision d0f56ab5 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:35 PM Revision ac67a2b6 (git): * doc/syntax/modules_and_classes.rdoc: Added singleton classes
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:44 PM Bug #7650: net/http always added port number in host header.
httpclient にあわせて、全てのポート番号を無視するのではなく uri scheme のデフォルトポートの場合は付けないようにパッチを修正しました。この内容で検討をお願いします。 hsbt (Hiroshi SHIBATA)
07:33 PM Bug #7650: net/http always added port number in host header.
tDiary の issue にも記載していますが、nahi さんの httpclient でもデフォルトのポート番号は付けないように回避しているようです。
https://github.com/nahi/httpclient/blob/master/lib/httpclient/http.rb#L395
hsbt (Hiroshi SHIBATA)
07:25 PM Bug #7650 (Assigned): net/http always added port number in host header.
mame (Yusuke Endoh)
05:24 PM Revision 902a36c1 (git): * lib/webrick/httpservlet/abstract.rb (WEBrick::HTTPServlet): Typo in
example. Patch by shlensky [Fixes #232 on github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:04 PM Revision 0573d5ea (git): * 2013-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision a1de1fa5 (git): * lib/net/http/generic_request.rb:
Amazon ECA API and GTE/1.3 disallow requests whose host has port
number if its port number equlas to default port number of the
scheme. [Bug #7650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38707 b2dd03c8-39d4-4d8f-98ff-823f...
naruse (Yui NARUSE)
03:04 PM Revision bd7184b8 (git): Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:45 PM Bug #7646 (Closed): String#each_lineでinvalid byte sequence
This issue was solved with changeset r38704.
Yoshida, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_enumerate_lines): fix invalid byte sequence...
Anonymous
05:00 AM Revision 4061f5b6 (git): * doc/syntax/modules_and_classes.rdoc: Improved description of methods
on a module or class as suggested by Tobias Buhlmann
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:45 AM Revision 3b983407 (git): * string.c (rb_str_enumerate_lines): fix invalid byte sequence error
when a separator is passed. The patch is from yoshidam (Yoshida
Masato).
[Bug #7646] [ruby-dev:46827]
* test/ruby/test_string.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38704 b2dd03c8-39d4-4d8f-98ff-823...
Glass_saga (Masaki Matsushita)
03:25 AM Revision 3caea6b6 (git): envutil.rb: check stdout and stderr
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err):
check stdout and stderr both.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:45 AM Revision c6f7ecae (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:30 AM Bug #7653: Array.pack ignores Big Endian modifier
I can't reproduce it on Ubuntu x86_64 with Ruby(mri) 1.9.3p125, what version of Linux are you using? laurent3814 (Laurent Charignon)
01:23 AM Revision a13aee62 (git): * doc/syntax/modules_and_classes.rdoc: Added documentation of syntax
for Modules and Classes.
* doc/syntax/methods.rdoc: Moved some text to the Modules and
Classes syntax document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:52 AM Feature #7654: Add optional code block to IO::readlines
Thank you, Eregon, especially for in place methods. I should definitely pay more attention to them - functional languages made me a little suspicious of this sort of things.
But I still think it would be nice to have an optional block i...
shock_one (Володимир Шацький)

01/04/2013

11:48 PM Feature #7654: Add optional code block to IO::readlines
(There is also Array#map!) Eregon (Benoit Daloze)
11:45 PM Feature #7654: Add optional code block to IO::readlines
But of course the main memory usage here are likely String instances, so you could update them in place if possible:
File.foreach('test.rb').map { |line| line.upcase!; line }
# or
lines = File.readlines('test.rb')
lines....
Eregon (Benoit Daloze)
11:37 PM Feature #7654: Add optional code block to IO::readlines
Why not
File.foreach('test.rb').map { |line| line.upcase }
?
It does not create an intermediary Array.
If you need to do other operations lazily (without an intermediate result), you could use #lazy:
File.foreach('test...
Eregon (Benoit Daloze)
10:27 PM Feature #7654: Add optional code block to IO::readlines
Just to be clear: code block will allow to write the first code snippet as follows:
data = File.readlines('/home/shock_one/test.rb'){ |line| line.upcase }
shock_one (Володимир Шацький)
10:15 PM Feature #7654 (Assigned): Add optional code block to IO::readlines
Of course, we always can write something like
File.readlines('/home/shock_one/test.rb').map{ |line| line.upcase }
but this way we create unneeded intermediate array which can be pretty big.
There is also a method IO::foreach, but it d...
shock_one (Володимир Шацький)
11:39 PM Revision 1da85070 (git): * doc/syntax/methods.rdoc: Added return values and scope sections,
slightly modified from the original patch. Fixes #227 from github by
Dave Brown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:23 PM Revision 753f68cf (git): * io.c (rb_cloexec_fcntl_dupfd): improve #ifdef condition.
* io.c (rb_maygvl_fd_fix_cloexec): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:58 PM Revision da9fe1c4 (git): * lib/rubygems/commands/cleanup_command.rb: Clean all possible gems
using multiple passes. Fixes RubyGems bug #422. Refactored for
maintainability.
* test/rubygems/test_gem_commands_cleanup_command.rb: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38698 b2dd03c8-39d4-4d8f-98ff-...
drbrain (Eric Hodel)
09:26 PM Bug #7638: trunk で rails の activesupport のテストが失敗してしまう
nagachika さん、丁寧な解説ありがとうございます。
#7564 の流れをみると `respond_to_missing?` を使って `method_missing` に反応すべきでないものは除外した方が良いということなので、その方向で考えてみます。
hsbt (Hiroshi SHIBATA)
08:05 PM Revision 1b82e077 (git): * 2013-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:05 PM Revision 03f7f9ea (git): * gc.c (vm_xrealloc): add a few comment why we avoid realloc(ptr,0).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:53 PM Feature #7549: A Ruby Design Process
Hello Brian,

On 2013/01/01 6:33, brixen (Brian Ford) wrote:
>
> Issue #7549 has been updated by brixen (Brian Ford).
>
>
> I've written another post addressing many of the misunderstandings about my proposal expressed in ...
duerst (Martin Dürst)
03:59 PM Feature #7549: A Ruby Design Process
On 2013/01/01 6:33, brixen (Brian Ford) wrote:
>
> Issue #7549 has been updated by brixen (Brian Ford).
>
>
> I've written another post addressing many of the misunderstandings about my proposal expressed in this thread:
>
...
duerst (Martin Dürst)
04:32 PM Bug #7618 (Closed): TestGemDoctor failures
This issue was solved with changeset r38691.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/doctor.rb: Process directories in order in case...
drbrain (Eric Hodel)
03:35 PM Feature #7652: Add FreeMiNT support to Ruby
Is -fPIC added to CCDLFLAGS, while it isn't supported?
If so, it means RUBY_APPEND_OPTION isn't working properly.
Could you show the corresponding part of config.log file?
nobu (Nobuyoshi Nakada)
03:16 PM Bug #6392 (Closed): rdoc -E option does not work
This issue was solved with changeset r38690.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #...
drbrain (Eric Hodel)
02:51 PM Revision db58af60 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:02 PM Bug #7564: r38175 introduces incompatibility
Anonymous wrote:
> Before this changeset, `method_missing` *did*deal with all method
> ...
No, previously `respond_to?` was called so `method_missing` did *not* get called.
> That's why this is not backwards compatible.
It depend...
nobu (Nobuyoshi Nakada)
11:19 AM Revision 275a9dcb (git): * Makefile.in (RBCONFIG): Moved from common.mk in order to use the
variable in Makefile.in.
* win32/Makefie.sub (RBCONFIG): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:47 AM Revision f9d7df33 (git): * common.mk (run, parse): Use BTESTRUBY instead of MINIRUBY to handle
cross-compiling cases, e.g. NativeClient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:04 AM Revision ea9301bd (git): * common.mk (yes-btest): btest depends on also $(arch)-fake.rb and
rbconfig.rb on building for NativeClient.
* Makefile.in (fake): Avoid generating $(arch)-fake.rb unless cross
compiling.
* configure.in (CROSS_COMPILING): New substitution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38692 b2d...
yugui (Yuki Sonoda)
07:31 AM Revision 2d08d23e (git): * lib/rubygems/doctor.rb: Process directories in order in case the
filesystem doesn't. [ruby-trunk - Bug #7618]
Process specifications before other directories in case of bugs.
* test/rubygems/test_gem_doctor.rb: Test for above.
* lib/rubygems.rb: Updated version.
* test/rubygems/test_require.rb...
drbrain (Eric Hodel)
07:30 AM Bug #6393 (Closed): rdoc does not parse multibyte files
Thank you for the patch, I have checked it and it is good. drbrain (Eric Hodel)
06:16 AM Revision f3b24b5b (git): * lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDoc
bug #164
* test/rdoc/test_rdoc_cross_reference.rb: Test for above.
* lib/rdoc/parser/changelog.rb: Fixed parsing of dates. RDoc bug #165
* test/rdoc/test_rdoc_parser_changelog.rb: Test for above.
* lib/rdoc/parser.rb: Fixed parsin...
drbrain (Eric Hodel)
02:52 AM Revision 5a7c4d2a (git): * lib/forwardable.rb: Fix rdoc parameters for ::def_single_delegator.
Patch by Vladimir Andrijevik [Github Fixes #230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
02:49 AM Revision 6856d86d (git): typo in ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:55 AM Bug #7653 (Closed): Array.pack ignores Big Endian modifier
Running on Linux, it seems that L> modifier is ignored:
irb(main):024:0> [2**16].pack('L<')
=> "\000\000\001\000"
irb(main):025:0> [2**16].pack('L>')
=> "\000\000\001\000"
Expected result:
irb(main):024:0> [2**16].pack('L<')
...
rudolone (rudi pettazzi)

01/03/2013

07:51 PM Feature #7652 (Feedback): Add FreeMiNT support to Ruby
=begin
Just a minor patch to the configure script.
diff -u configure.in.old configure.in
--- configure.in.old 2012-12-19 21:53:05.000000000 +0000
+++ configure.in 2012-12-19 21:53:33.000000000 +0000
@@ -2001,7 +2...
alanh (Alan Hourihane)
06:35 PM Feature #7639: More freedom for location of comments
I think I disagree. The fact that comments before lines starting with a dot are currently disallowed may be an artefact of how it was implemented (or it may have been intended from the start). But in the end, I think it is a feature. Usu... duerst (Martin Dürst)
05:01 PM Bug #7650 (Closed): net/http always added port number in host header.
#6482 の変更から、URI インスタンスを Net::HTTP のリクエストに渡した時に host ヘッダにホスト名とポート番号がつくようになりましたが、いくつかのサービスはポート番号付きのリクエストは動かないようです。(例: amazon の ecs api)
w3c に従うと、ポート番号を付けても動くべきと思いますが、今現在 amazon のような大きなサービスでも動かない状況なので、添付しているパッチのように 2.0 ではポート番号は付けないようして頂け...
hsbt (Hiroshi SHIBATA)
03:42 PM Revision aa1b87a5 (git): revert r38686 -- duplicate ChangeLog entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
03:40 PM Revision 05483e02 (git): Fix failures on btest for NativeClient.
* bootstraptest/runner.rb (nacl?): New method to distinguish NaCl
corss build.
* bootstraptest/test_io.rb: Skip unsupported operations.
* bootstraptest/test_literal.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38686 ...
yugui (Yuki Sonoda)
03:39 PM Revision 089c0dcc (git): * 2013-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision 6efba755 (git): Fix failures on btest for NativeClient.
* bootstraptest/runner.rb (nacl?): New method to distinguish NaCl
corss build.
* bootstraptest/test_io.rb: Skip unsupported operations.
* bootstraptest/test_literal.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38684 ...
yugui (Yuki Sonoda)
03:39 PM Revision 0626021e (git): * io.c (rb_cloexec_fcntl_dupfd): Fix failures in
bootstrap_test/test_io.rb. NativeClient does not support F_DUPFD
but supports dup2(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:13 PM Bug #7636 (Closed): Problems in the documnt of psych
This issue was solved with changeset r38680.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/psych/lib/psych.rb (Psych.load): Return value of
Psych::...
zzak (zzak _)
02:48 PM Bug #7645 (Assigned): BigDecimal#== slow when compared to true/false
mrkn (Kenta Murata)
12:10 PM Bug #5759: flatten calls to_ary on everything
=begin
So it does call (({#respond_to?})) after all? Yet, I thought (({#respond_to_missing?})) was invented so people would not have to override (({#respond_to?})). What's my misunderstanding? Surely we are not now expected to define bo...
trans (Thomas Sawyer)
10:35 AM Bug #7648 (Rejected): GServer does not close cleanly from signal interrupt context
SUMMARY:
When a signal interrupt is trapped, we can no longer call #close on GServer without it throwing a ThreadError.
STEPS TO REPEAT:
1) Run the following code:
require 'gserver'
server = GServer.new 8080
serv...
jleo3 (Joe Leo)
08:48 AM Revision 1fe680e8 (git): * lib/rexml/element.rb (REXML::Elements#add): Remove too much
"elements" in document. Sorry...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
08:44 AM Revision ece67a0a (git): * lib/rexml/element.rb (REXML::Elements#each): Add missing
"elements" in document. [ruby-talk:402713]
Reported by Wesley Rishel. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
07:25 AM Bug #7564 (Open): r38175 introduces incompatibility
No, really. This is a bug that needs more eyeballs.
A `respond_to?` with just a super should be equivalent to no code at all.
Can we get Matz and Mame to weigh in?
zenspider (Ryan Davis)
06:32 AM Bug #7647 (Closed): Ruby 1.9.3 doesn't build on m68k due to alignment of structs
I'd built Ruby 1.8 without any problems, but 1.9.3 shows up an issue with Ruby due to alignment checking.
When executing Init_var_tables(), we execute....
CONST_ID(autoload, "__autoload__");
We end up, in rb_intern3() and use th...
alanh (Alan Hourihane)
06:13 AM Revision 3e028faf (git): * ext/psych/lib/psych.rb (Psych.load): Return value of
Psych::SyntaxError.message should be same as example.
Patch by Ippei Obayashi [ruby-core:51193] [Bug #7636]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:59 AM Revision e25d55ae (git): * lib/forwardable.rb (SingleForwardable): Fix example in overview
Patch by Vladimir Andrijevik [Github Fixes #231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
05:46 AM Revision c4653fb3 (git): * 2013-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:46 AM Revision 6837b808 (git): * configure.in (OBJCOPY): Fixes build error for NativeClient.
Avoid disabling OBJCOPY for NativeClient.
* thread_pthread.c (rb_reserved_fd_p): USE_SLEEPY_TIMER_THREAD is
always defined. Fixes compilation error for NativeClient.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38677 b2dd03c8-3...
yugui (Yuki Sonoda)
05:42 AM Bug #7566: Escape (\u{}) forms in Regexp literals
brixen (Brian Ford) wrote:
> But as my example shows, if the bytes were in a literal String used to create the Regexp, they are already converted. And everything works just fine.
No it doesn't. There are no literal strings in your e...
phluid61 (Matthew Kerwin)
03:37 AM Bug #7566: Escape (\u{}) forms in Regexp literals
But as my example shows, if the bytes were in a literal String used to create the Regexp, they are already converted. And everything works just fine.
What's the rationale for not converting \u{}? Just because it is *an* escape sequenc...
brixen (Brian Shirai)
02:07 AM Bug #7646 (Assigned): String#each_lineでinvalid byte sequence
これはどうみても regressionじゃないかな。
2.0.0タグつけます。
kosaki (Motohiro KOSAKI)
01:42 AM Bug #7646 (Closed): String#each_lineでinvalid byte sequence
=begin
String#each_lineでセパレータを指定したときにASCII以外の文字でinvalid byte sequenceが発生します。
$ ruby -ve '"\n\u0100".each_line("\n") {|l| p l }'
ruby 2.0.0dev (2013-01-02 trunk 38676) [i686-linux]
"\n"
-e:1:in `each_line': invalid byte sequenc...
yoshidam (Yoshida Masato)
 

Also available in: Atom