Activity
From 01/02/2013 to 01/08/2013
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 -
06:31 PM Bug #7674 (Closed): Document for using Struct.new with block
- I wrote the document for using Struct.new with block.
- 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
-
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 -
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=".... -
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... -
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.
-
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
-
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.
-
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.
-
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.
-
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... -
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 -
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... - 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
-
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
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.
-
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 ... -
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.
- 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
-
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
-
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... -
07:04 PM Bug #7670: main.include should be private
- Agreed.
Matz.
-
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?
-
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... -
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... -
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.
-
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... -
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... -
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... -
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 -
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
-
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.
-
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 ... -
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... -
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
}
...- 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-... -
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
-
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... -
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... -
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... -
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.
-
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... -
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 -
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... -
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... -
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... -
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... -
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
-
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.
-
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 -
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
-
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.
-
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... -
11:45 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- no volunteer.
-
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
-
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... -
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.... -
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... -
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 - 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... -
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 -
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 -
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 -
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 -
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... - 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 -
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... -
02:14 AM Feature #7661 (Closed): Please register nacl chkbuild to rubyci.org
- 登録しました
-
12:38 AM Feature #7661 (Closed): Please register nacl chkbuild to rubyci.org
- http://chkbuild.yugui.jp/ でNativeClient環境のchkbuildを公開し始めました。これをrubyci.orgに登録してもらえないでしょうか。
-
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
- 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
-
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
-
12:11 AM Bug #7660 (Assigned): VC Builds Broken
01/06/2013
-
11:03 PM Bug #7659 (Closed): RBConfig Change Breaks VC Build
- Applied at r38714.
-
08:13 PM Bug #7659 (Assigned): RBConfig Change Breaks VC Build
-
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... -
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... -
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
-
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].... -
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. -
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... -
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...
-
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
-
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... -
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 -
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... -
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"... -
06:31 AM Bug #7656: Handful of documentations
- Awesome, thank you!!
-
06:14 AM Bug #7656 (Closed): Handful of documentations
- This fixes documentation in ENV, adds a little for debug.rb, and completes PP
-
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 -
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
-
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....
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
-
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 -
07:44 PM Bug #7650: net/http always added port number in host header.
- httpclient にあわせて、全てのポート番号を無視するのではなく uri scheme のデフォルトポートの場合は付けないようにパッチを修正しました。この内容で検討をお願いします。
-
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 -
07:25 PM Bug #7650 (Assigned): net/http always added port number in host header.
-
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 - 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
-
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... -
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
-
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... -
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 -
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... -
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 -
02:45 AM Revision c6f7ecae (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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?
-
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 -
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...
01/04/2013
-
11:48 PM Feature #7654: Add optional code block to IO::readlines
- (There is also Array#map!)
-
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.... -
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... -
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 } -
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... -
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 -
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 -
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-... -
09:26 PM Bug #7638: trunk で rails の activesupport のテストが失敗してしまう
- nagachika さん、丁寧な解説ありがとうございます。
#7564 の流れをみると `respond_to_missing?` を使って `method_missing` に反応すべきでないものは除外した方が良いということなので、その方向で考えてみます。 - 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
-
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
-
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 ... -
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:
>
... -
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... -
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? -
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 #... -
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
-
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... -
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 -
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 -
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... -
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... -
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.
-
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... -
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 -
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
-
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<')
...
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... -
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...
-
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 ではポート番号は付けないようして頂け... -
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
-
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 ... - 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
-
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 ... -
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 -
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::... -
02:48 PM Bug #7645 (Assigned): BigDecimal#== slow when compared to true/false
-
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... -
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... - 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 - 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 -
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? -
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... -
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 -
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 - 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
-
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... -
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... -
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... -
02:07 AM Bug #7646 (Assigned): String#each_lineでinvalid byte sequence
- これはどうみても regressionじゃないかな。
2.0.0タグつけます。 -
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...
01/02/2013
-
09:47 PM Bug #7643: call to super in define_method in refine results in stack level too deep
- Ok, also working for me here with r38676. Should have checked the new versions before, sorry. Have a nice day!
-
10:29 AM Bug #7643 (Feedback): call to super in define_method in refine results in stack level too deep
- Hi,
beatrichartz (Beat Richartz) wrote:
> When define_method is used within the refine block argument, calls to super will result in a stack level too deep. Definitions with def can call super without problems.
r38126 is too old. ... -
06:43 PM Bug #7645: BigDecimal#== slow when compared to true/false
- Thank you for pitching in with more explanation and a patch so quickly! Much appreciated. :)
-
05:23 AM Bug #7645: BigDecimal#== slow when compared to true/false
- Hello,
This is a nice bug report!
So, BigDecimalCmp() calls rb_num_coerce_cmp() then do_coerce(), which tries to call #coerce on `true`, which generates a NoMethodError, which is rescued by rb_rescue() in do_coerce().
The coerce... -
04:45 AM Bug #7645: BigDecimal#== slow when compared to true/false
- I've added some notes on the ticket on the Rails tracker - short story shorter, this particular case happens (AFAIK) because rb_num_coerce_cmp ends up looking for a coerce method on TrueClass.
Further insight from somebody who actuall... -
12:49 AM Bug #7645 (Closed): BigDecimal#== slow when compared to true/false
- I was doing a spot of profiling on a Ruby on Rails application with perftools.rb and spotted that one particular chunk of code was spending a lot (nearly 60% in some tests) of its time in `BigDecimal#==`. It turns out that, when writing ...