Activity
From 02/28/2015 to 03/06/2015
03/06/2015
-
11:20 PM Bug #10947: Multiline if statement returns unexpected value instead of raising a syntax error
- Jeremy Evans wrote:
>
> ...
Ah I see, so Ruby interprets the newline as ;. Thanks, I'll watch out for this more carefully in future.
I guess this issue can be closed. -
11:02 PM Bug #10947: Multiline if statement returns unexpected value instead of raising a syntax error
- Sam Davies wrote:
> Here is an invalid multiline if statement
> ...
This is valid syntax. ruby parses this as:
~~~
if (false && false && false; true)
~~~
This is expected behavior, and changing how ruby handles this would brea... -
10:27 PM Bug #10947 (Rejected): Multiline if statement returns unexpected value instead of raising a syntax error
- Here is an invalid multiline if statement
~~~ruby
if (false &&
false &&
false
true)
puts "I was expecting an exception but saw this message instead"
end
~~~
As far as I can tell this is and should never be in... -
08:32 PM Bug #10946 (Closed): need a WB for klass -> origin. (r49875)
-
08:02 PM Bug #10946 (Closed): need a WB for klass -> origin. (r49875)
- バックポート管理用です。
r49875 で挿入された RCLASS_ORIGIN(klass) の更新の WB は 2.1/2.2 でも必要ですよね?
-
08:06 PM Feature #10883: Passing a block to itself
- I think having a block form of #itself would be great. Here's a highly contrived example:
~~~
(("123".to_i - 3).to_s.reverse.to_i * 2).to_s
#=> "42"
~~~
Instead of nested parens, the following reads left to right:
~~~
"123".... -
08:01 PM Bug #10945 (Closed): tool/rbinstall.rb typo on line 714 LoadErroe
-
07:40 PM Bug #10945 (Closed): tool/rbinstall.rb typo on line 714 LoadErroe
- Received this error when running "make install" on ruby-2.2.1 latest stable:
./tool/rbinstall.rb:714:in `rescue in block in <main>': uninitialized constant LoadErroe (NameError)
from ./tool/rbinstall.rb:712:in `block in <main... -
02:59 PM Bug #10944: Documentation of Array.new w.r.t. element index available to a block
- The actual `Array.new` documentation mentions and also provides an example for this:
http://ruby-doc.org/core-2.2.1/Array.html#method-c-new (second code block) -
02:41 PM Bug #10944 (Closed): Documentation of Array.new w.r.t. element index available to a block
- In http://ruby-doc.org/core-2.2.1/Array.html#class-Array-label-Creating+Arrays
The documentation for the Array.new method is missing the fact that the element index is available to a given block.
E.g.
Array.new(4) { |x| x } #=... -
01:51 PM Revision 9113098e (git): * class.c (rb_prepend_module): need a WB for klass -> origin.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 PM Bug #10943: Singleton class expression (class << obj) should make be indivisual namespaces
- Benoit Daloze wrote:
> How will you implement Module.nesting then?
> ...
Module.nesting checks (live) stack frames.
-
12:25 PM Bug #10943 (Closed): Singleton class expression (class << obj) should make be indivisual namespaces
- Applied in changeset r49874.
----------
* fix namespace issue on singleton class expressions. [Bug #10943]
* vm_core.h, method.h: remove rb_iseq_t::cref_stack. CREF is stored
to rb_method_definition_t::body.iseq_body.cref.
* vm_insnhe... -
12:18 PM Bug #10943: Singleton class expression (class << obj) should make be indivisual namespaces
- Without this change it is possible to determine which CREF or "lexical scope for constant" is used for resolving constants at parse time.
The change implies that `class << expr` now possibly creates multiple such scopes (class/module Na... -
10:45 AM Bug #10943 (Closed): Singleton class expression (class << obj) should make be indivisual namespaces
- # Abstract
Singleton class scopes should make their own namespace for constants.
However, Ruby versions from Ruby 1.9.0 do not respect this specification.
# Background and Problem
Singleton class is useful feature to define ob... -
01:00 PM Bug #10929: NilClass#to_proc and & don't mix?
- I wrote a patch for this issue.
```diff
diff --git bootstraptest/test_block.rb bootstraptest/test_block.rb
index cdc5960..4347fdd 100644
--- bootstraptest/test_block.rb
+++ bootstraptest/test_block.rb
@@ -611,3 +611,17 @@ assert_... -
12:24 PM Revision d84f9b16 (git): * fix namespace issue on singleton class expressions. [Bug #10943]
- * vm_core.h, method.h: remove rb_iseq_t::cref_stack. CREF is stored
to rb_method_definition_t::body.iseq_body.cref.
* vm_insnhelper.c: modify SVAR usage.
When calling ISEQ type method, push CREF information onto method
frame, SVAR ... -
12:13 PM Revision e0f5a6ab (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Revision fe244026 (git): ruby-mode.el: fix regexp syntax
- * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): division
operator can't follow '{' and '|' too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:08 AM Bug #10942 (Closed): Suspected memory leak
- There seems to be memory leaking when calling Aws::SQS::Client#receive_message in Ruby 2.2.0 and 2.2.1. I am not very good at memory/object allocation profiling in Ruby, but I know for sure that there must be some issue, because my SQS w...
-
09:22 AM Revision 3859d767 (git): * test/webrick/test_filehandler.rb: on vboxsf (on VirtualBox
- on Windows 7), file name and permissions are strange (can access
by short file name and so on).
Simply skip on such tests on such FS. To detect strange FS, this
patch use a part of code `File.executable?(__FILE__)`.
Please correc... -
08:34 AM Revision 4bb91081 (git): * test/ruby/test_beginendblock.rb: do not change directory.
- Run system command in the directory mounted by vboxfs on Windows 7
and get warning like that "warning: Insecure world writable dir...".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:01 AM Feature #10755: Use rb_define_alias instead of rb_define_method for rb_cHash
- Hi!
As https://github.com/ruby/ruby/pull/756/, it can make users a little bit confused.
Even some of them can think it's a mistake of documentation.
so I wanna commit this patch(using_rb_define_method_for_rbHash.patch), is there a... -
01:33 AM Revision b6dbffcd (git): driver.rb: load-rawdata
- * benchmark/driver.rb: add --load-rawdata option to load dumped
rawdata and just output it without actual benchmark.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:33 AM Revision db6a84b9 (git): driver.rb: rawdata format
- * benchmark/driver.rb (show_results): dump the rawdata in some
formats, yaml, json, and pretty_inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Bug #10847 (Closed): SystemStackError after NameError prepends a module
- Applied in changeset r49867.
----------
vm_eval.c: next super class from the original
* vm_eval.c (vm_call_super): search next super class from the
original class, to get rid of infinite recursion with
prepending. a patch by Seiei... -
01:31 AM Revision 3e557a97 (git): vm_eval.c: next super class from the original
- * vm_eval.c (vm_call_super): search next super class from the
original class, to get rid of infinite recursion with
prepending. a patch by Seiei Higa <hanachin AT gmail.com> at
[ruby-core:68434]. [ruby-core:68093] [Bug #10847]
g...
03/05/2015
- 11:45 PM Revision b81950f4 (git): * lib/matrix.rb: Add Vector#round. Patch by Jordan Stephens.
- [Fixes GH-802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:03 PM Revision ce85cd55 (git): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_command_line_glob_with_dir):
- test for r49859. see [ruby-core:68430] [Bug #10941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 PM Revision 01c6f504 (git): * gc.c (obj_info): show node name too.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:22 PM Revision b4d1c024 (git): add Changelog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:20 PM Revision 8f88ff4e (git): * internal.h: remove struct method_table_wrapper.
- struct method_table_wrapper was introduced to avoid duplicate marking
for method tables.
For example, `module M1; def foo; end; end` make one method table
(mtbl) contains a method `foo`. M1 (T_MODULE) points mtbl.
Classes C1 and ... - 05:51 PM Revision 908c2534 (git): * dir.c (replace_real_basename): need to check the return value of
- GLOB_REALLOC().
[ruby-core:68430] [Bug #10941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:28 PM Bug #10941 (Closed): SIGSEGV caused by Rake on Windows
- Applied in changeset r49859.
----------
* dir.c (replace_real_basename): shouldn't create Ruby object before
the object system is loaded.
[ruby-core:68430] [Bug #10941] -
04:43 PM Bug #10941: SIGSEGV caused by Rake on Windows
- My rake batchfile of 2.1.5 ran trunk ruby...
There is no problem in 2.1.5.
I succeeded to reproduce this more simple case:
~~~
C:\> ruby -e "" test\test_*.rb
~~~
So, rake is not needed.
This is a problem of commandline grobb... -
04:30 PM Bug #10941: SIGSEGV caused by Rake on Windows
- Oops, sorry, some lines are missed.
Correct minimum case is:
~~~
require 'rake/clean'
require 'rake/testtask'
Rake::TestTask.new do |t|
task :test => 'clean'
end
task :default => :test
~~~
-
04:22 PM Bug #10941: SIGSEGV caused by Rake on Windows
- I succeeded to reproduce this with 2.1.5 and trunk (but not with 2.0.0).
Minimum case is simple:
~~~
C:\foo> mkdir test
C:\foo> copy con Rakefile
task :default => :test
^Z
C:\foo> rake
~~~
-
04:01 PM Bug #10941 (Closed): SIGSEGV caused by Rake on Windows
- Ruby 2.2.1
Windows 7
Compiled with VS 2013
I'm getting a segfault when trying to run the default (test) task for a project called file-find:
https://github.com/djberg96/file-find
It's a fairly simple project, and the relevant ... - 05:28 PM Revision 7f342f5e (git): * 2015-03-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:28 PM Revision c5295545 (git): * dir.c (replace_real_basename): shouldn't create Ruby object before
- the object system is loaded.
[ruby-core:68430] [Bug #10941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:14 PM Bug #10847: SystemStackError after NameError prepends a module
- How to reproduce:
1. prepend Module to the class
2. call the method that calls cfunc `rb_call_super`
The following code causes SystemStackError too, because `Float#numerator` calls `rb_call_super`.
```ruby
module M; end
Float... -
03:31 PM Bug #10856: Splat with empty keyword args gives unexpected results
- It looks like this bug still exists in 2.2.1, and was only fixed when splatting a hash literal. The following code is still broken:
~~~ruby
def foo
end
h = {}
foo(**h)
~~~ -
02:36 PM Revision 5dac166f (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 PM Revision 4a371d69 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:00 PM Bug #10709 (Rejected): Crash while loading
- > 2 ruby 0x000000010069a943 sigsegv + 83
> ...
You load an extension library for 2.0.0. -
11:49 AM Bug #10709 (Feedback): Crash while loading
- Can you try with 2.2.1?
-
08:17 AM Revision 71a352f0 (git): driver.rb: name width
- * benchmark/driver.rb (BenchmarkDriver#adjusted_results):
calculate max width of names at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:00 AM Revision 744a858b (git): * hash.c: [DOC] #delete method actually returns nil, if the key
- is not found. [fix GH-844][ci skip] Patch by @ivdma
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:01 AM Revision a161bdf6 (git): driver.rb: fix index
- * benchmark/driver.rb (show_results): fix index of results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:07 AM Revision 418d915f (git): remove GEM directories at exit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:59 AM Bug #10931: [PERF]bm_app_mandelbrot.rb 20% slower.
- Nobu from your benchmarks, can we say that it is a regression or is it a trade off made?
-
03:02 AM Bug #10931: [PERF]bm_app_mandelbrot.rb 20% slower.
- On MacBook Pro late 2013, OSX 10.10.2, 2.6GHz 16GiB.
At a git-svn working directory, (`$build` is the build directory):
~~~
$ execs=; for c in `git log --since=2015/2/1 --format=%H --reverse -- complex.c`; do v=`git log -1 $c | sed ... - 03:29 AM Revision 55473aea (git): * math.c: refactoring: remove unnecessary variable d0 to unify code
- appearance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 AM Feature #10930: Allow splat operator to work for string interpolation
- Matthew Kerwin wrote:
> So are you also requesting that "#{1, 2, 3}" be considered valid? Because
> ...
~~~ruby
"#{1,2,3}"
# SyntaxError: (irb):1: syntax error, unexpected ',', expecting tSTRING_DEND
# "#{1,2,3}"
# ^
~~~... -
02:56 AM Bug #10818 (Closed): Extrange behaviour when apliying a refinement inside eval
- Applied in changeset r49851.
----------
* vm_eval.c (eval_string_with_cref): A binding should keep
refinements activation information and the refinements should be
activated in subsequent eval calls with the binding.
[ruby-core:67... -
02:52 AM Bug #10818: Extrange behaviour when apliying a refinement inside eval
- Shugo Maeda wrote:
> I'd like to hear Matz's opinion.
I talked with Matz, and he said that a binding should keep refinements activation
information and the refinements should be activated in subsequent eval calls with
the binding.
... -
02:56 AM Revision f403624a (git): * vm_eval.c (eval_string_with_cref): A binding should keep
- refinements activation information and the refinements should be
activated in subsequent eval calls with the binding.
[ruby-core:67945] [Bug #10818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49851 b2dd03c8-39d4-4d8f-98ff-823... -
02:39 AM Revision e5eb9a16 (git): driver.rb: plain text table
- * benchmark/driver.rb (show_results): support plain text style
table format output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 AM Revision d816b8e4 (git): driver.rb: suffix
- * benchmark/driver.rb: add suffix to default output file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 AM Revision 36a18bb5 (git): * test/ruby/test_refinement.rb: There is no need anymore to supress
- warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:01 AM Revision 376ece8f (git): .travis.yml: no check for diagnostic reports
- * .travis.yml (after_failure): remove false positive check by
diagnostic reports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 AM Revision 589436f4 (git): driver.rb: MarkDown table
- * benchmark/driver.rb (show_results): support MarkDown style table
format output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/04/2015
- 11:45 PM Revision fb5a0b68 (git): * 2015-03-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:44 PM Revision 270630c6 (git): * random.c (random_raw_seed): Avoid calling fill_random_bytes()
- if the requested size is 0. AIX returns -1 for 0-byte read from
/dev/urandom, while other UNIX returns 0. With this change,
Random.raw_seed(0) consistently retuns "" in any UNIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49844 b... -
11:07 PM Bug #10936 (Closed): Error in Rubydoc for DateTime#rfc3339
- There is an error in the Ruby-documentation of instance method #rfc3339 of class DateTime (eg. Ruby-version 2.1.5)
rfc3339() is actually equivalent to strftime(‘%FT%T%Z’)...
... and not, as it says in the Ruby-documentation, to strft... -
09:28 PM Feature #10930: Allow splat operator to work for string interpolation
- On 5 March 2015 at 07:04, <recursive.madman@gmx.de> wrote:
> Issue #10930 has been updated by Recursive Madman.
>
>
> Matthew Kerwin wrote:
> >
> > I'm strongly opposed to it ever arbitrarily injecting commas, especially
> > ... -
09:04 PM Feature #10930: Allow splat operator to work for string interpolation
- Matthew Kerwin wrote:
>
> ...
It doesn't actually:
```ruby
2.2.0 :001 > puts %w(a b c).to_s
["a", "b", "c"]
```
`join` joins without a comma:
```ruby
2.2.0 :002 > puts %w(a b c).join
abc
```
Also, I agree with your ... -
08:58 PM Feature #10930: Allow splat operator to work for string interpolation
- On 4 March 2015 at 14:01, <6ftdan@gmail.com> wrote:
> Issue #10930 has been updated by Daniel P. Clark.
>
>
> The behavior of the splat operator as used in methods is like removing [ ]
> from and array to use as parameters.
>
>... -
04:01 AM Feature #10930: Allow splat operator to work for string interpolation
- The behavior of the splat operator as used in methods is like removing [ ] from an array to use as parameters.
~~~ruby
eval("xaz = [1,2,3]; def biz(a,b,c) puts a, b, c; end; biz(*xaz)")
# 1
# 2
# 3
# => nil
~~~
So intuitively... -
02:56 AM Feature #10930 (Feedback): Allow splat operator to work for string interpolation
- I have no idea why you need this. Does this have common use-case?
For me, `"#{*[1,2,3]}"` to produce `"1, 2, 3"` is kinda arbitrary.
Matz.
-
02:15 PM Bug #10920 (Rejected): uninitialized constant LoadErroe
- I created https://bugs.ruby-lang.org/issues/10934
-
10:49 AM Feature #10927: [PATCH] Add default empty string to string replacements
- zimba tm wrote:
> `"foo".gsub("o")` currently doesn't do any substitution.
At that point indeed it's just an enumerator. But just try the following:
e = "foo".gsub("o")
=> Enumerator
irb(main):010:0> e.each { 'OXO' }
=> "fOXOOX... -
10:34 AM Feature #10927: [PATCH] Add default empty string to string replacements
- Alright but a change doesn't necessarily need to be substantial to improve developer happiness. It seems like my little hack has two aspects to it that I would like to address separately.
`"foo".gsub("o")` currently doesn't do any sub... -
09:05 AM Bug #10931: [PERF]bm_app_mandelbrot.rb 20% slower.
- Hi Nobu,
I ran the benchmarks on my local machine and I'm seeing the same results as those on RubyBench's dedicated server. How are you running your benchmarks? I'll like to try running them too.
total: 2 trial(s) (2 trial(s) for ... -
08:37 AM Bug #10931: [PERF]bm_app_mandelbrot.rb 20% slower.
- My results.
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name |r49722 |r49723 |r49724 |r49732 |r49743 |r49754 |r49757
----------------|------:|------:|------:|------:|---... -
08:17 AM Bug #10935 (Feedback): encountered during rspec tests
- Please show Crash Report log file.
-
07:32 AM Bug #10935 (Closed): encountered during rspec tests
- ~~~
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/D... -
05:48 AM Bug #10916: What the Ruby? SegFault?
- On 2015/03/02 10:52, "Martin J. Dürst" wrote:
>> * Author: why do i need this acct just to create a bug report
>
> The answer is simple: Requiring registration helps a lot for reducing spam. Many thanks for your help.
Feedback by... -
03:49 AM Misc #10810 (Closed): Refactor test_math.rb by introducing method named `assert_float_and_int`
- 03:47 AM Revision 1d00e40e (git): * test/ruby/test_math.rb (assert_float_and_int): Refactor test cases
- by introducing assert_float_and_int. [misc #10810]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 AM Bug #10933 (Closed): [BUG] object allocation during garbage collection phase
- Applied in changeset r49842.
----------
symbol.c: make dsym_fstrs an identity hash
* symbol.c (Init_sym): make dsym_fstrs a hash compared by identity
as the keys are unique fstrings, to get rid of running hash and
compare methods a... -
02:40 AM Bug #10933: [BUG] object allocation during garbage collection phase
- 早速のレスありがとうございました。よろしくお願いします!
-
01:50 AM Bug #10933: [BUG] object allocation during garbage collection phase
- ありがとうございます。とてもわかりやすいログでした。
* cleanup フェーズに入る
* sweep_rest を行なう(lazy sweep の後始末を行なう)
* ここで、GC 中フラグが立ち、オブジェクト割り当てが禁止される
* dynamic symbol の free を行なう
* rb_hash_delete_entry() が走る
* st_delete() 中で rb_any_cmp()... -
01:47 AM Bug #10933: [BUG] object allocation during garbage collection phase
- I encountered non-recurring bug during rspec.
I hope attached files will help.
If I should send extra information abount this bug, please let me know.
Thanks, -
01:38 AM Bug #10933 (Closed): [BUG] object allocation during garbage collection phase
- いつもお世話になっています。
rspec中に遭遇して、その後繰り返しても再現しないのですが、役に立てばと採取できたログをお送りします。
追加で提出すべき情報があればお知らせください。
よろしくお願いいたします。 -
02:52 AM Revision 5cd98697 (git): symbol.c: make dsym_fstrs an identity hash
- * symbol.c (Init_sym): make dsym_fstrs a hash compared by identity
as the keys are unique fstrings, to get rid of running hash and
compare methods and causing new object allocation during garbage
collection phase. [ruby-dev:48891]... -
01:41 AM Bug #10934 (Closed): Backport r49017
- fix typo.
-
01:34 AM Revision d7628fcf (git): rbinstall.rb: set umask 077
- * tool/rbinstall.rb: default umask to prohibit group/others from
reading/writing/executing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 AM Revision 83a27c87 (git): envutil.rb: no need to sleep
- * test/lib/envutil.rb (assert_in_out_err): remove sleep to catch
the just time, and it is unnecessary as diagnostic_reports waits
for 3 seconds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49840 b2dd03c8-39d4-4d8f-98ff-823fe69... -
01:17 AM Revision 5f4f28d6 (git): * enum.c: Fix typo in slice_after's exception message.
- [fix GH-842][ci skip] Patch by @jsyeo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:15 AM Revision c5e9d762 (git): * doc/syntax/methods.rdoc: add some missing spaces and
- fix a grammatical error in method docs.
[fix GH-843][ci skip] Patch by @nikolas
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 AM Revision 49117ae2 (git): envutil.rb: diagnostic_reports for SIGTRAP
- * test/lib/envutil.rb (EnvUtil.diagnostic_reports): SIGTRAP also
generate diagnostic report file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/03/2015
-
09:42 PM Bug #10916: What the Ruby? SegFault?
- I think redmine is also a blocker, as it has been notoriously
susceptible to spam.
If we can fix that, maybe we can remove registration requirement.
On Tue, Mar 3, 2015 at 12:24 PM, Eric Wong <normalperson@yhbt.net> wrote:
> "\"... -
08:41 PM Bug #10916: What the Ruby? SegFault?
- "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp> wrote:
> > * Author: why do i need this acct just to create a bug report
>
> The answer is simple: Requiring registration helps a lot for
> reducing spam. Many thanks for your help.
... -
07:53 PM Feature #10932 (Assigned): Enabling allocation tracing as early as possible
- Hi,
I'd like to be able to enable allocation tracing as early as possible. I've attached a patch that I use to do that when I'm debugging code that I don't know very well.
The way I use it is like this:
$ ruby -robjspace/trac... -
05:56 PM Bug #10647: fail install without zlib
- I'm reviewing our Gentoo patches for ruby 2.2.1 and noticed that there is a typo in this patch that causes installation to still fail without zlib:
begin
require "zlib"
rescue LoadErroe
end
This should obviously be "re... -
05:27 PM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
- Adding "-std=gnu99" to CFLAGS might solve the problem.
~~~
% CFLAGS="-std=gnu99" ./configure
~~~
- 05:14 PM Revision bca791ae (git): * tool/redmine-backporter.rb (backport_command_string): pick up only
- when the revision exists in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 PM Revision f6ed283f (git): mkmf/base.rb: clean up tmpdir
- * test/mkmf/base.rb (TestMkmf#assert_separately): call teardown to
clean up temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 PM Revision 36ba828d (git): rbinstall.rb: gems dir_mode
- * tool/rbinstall.rb (DirPackage#extract_files): set directories
permission of gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 PM Revision e6b06534 (git): thread.c: volatile inside EXEC_TAG
- * thread.c (rb_thread_io_blocking_region): assigned variables
inside EXEC_TAG() should be volatile.
* thread.c (rb_thread_s_handle_interrupt): ditto.
* thread.c (exec_recursive): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
03:37 PM Revision f18951ab (git): .travis.yml: no diagnostic reports
- * .travis.yml (script): no diagnostic reports files should be
left.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:32 PM Revision 70e0a56c (git): * 2015-03-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:30 PM Revision 6aff861d (git): * tool/redmine-backporter.rb: now can specify shorten form of commands.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Bug #10931 (Closed): [PERF]bm_app_mandelbrot.rb 20% slower.
- http://rubybench.org/ruby/ruby/commits?result_type=app_mandelbrot
Relevant Commits:
https://github.com/ruby/ruby/commit/909c4c0
https://github.com/ruby/ruby/commit/41b2f1a
Before: 0.786s
After Commit 909c4c0: 0.85... - 02:42 PM Revision d1d5264c (git): * tool/redmine-backporter.rb (Readline.readline): drop untreated control
- characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 PM Feature #10930 (Feedback): Allow splat operator to work for string interpolation
- Currently when you use the splat operator in a method it pulls the items out of the array for method parameters.
~~~ruby
def foo(a,b,c)
puts "#{a}, #{b}, #{c}"
end
bar = [1,2,3]
foo(*bar)
# => "1, 2, 3"
~~~
So I would ex... - 01:26 PM Revision f73aefc6 (git): * test/lib/envutil.rb (EnvUtil.invoke_ruby): need to rescue because
- Signal.signame may raise exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Bug #10687: ArgumentError in certain cases of instance_exec (new bug in 2.2)
- Still broken in 2.2.1:
~~~
#=> ruby -v && ruby a.rb
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
a.rb:1:in `block in <main>': wrong number of arguments (4 for 0..1) (ArgumentError)
from a.rb:4:in `instance_exec'
fro... -
08:55 AM Revision dff21f05 (git): remove ruby_1_9_2 support
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:55 AM Revision 7968f885 (git): add teenyup
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:54 AM Revision fb72edce (git): bump version to 2.2.2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:19 AM Revision 1e4550ac (git): test_rubyoptions.rb: use assert_in_out_err
- * test/ruby/test_rubyoptions.rb (assert_segv): assert_in_out_err
with the pattern list instead of invoke_ruby.
* test/-ext-/bug_reporter/test_bug_reporter.rb (test_bug_reporter_add):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
08:19 AM Revision f73a92e4 (git): envutil.rb: improve by assert_pattern_list
- * test/lib/envutil.rb (assert_in_out_err): improve to match by
assert_pattern_list if expected result is other than Regexp or
String list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision e9ff9e79 (git): test_process.rb: use assert_in_out_err
- * test/ruby/test_process.rb (test_status_quit): use
assert_in_out_err to simplify and clean diagnostic reports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Bug #10924: String#b
- Thomas Sawyer wrote:
> Well, I just learned about the String#b [method](http://ruby-doc.org/core-2.1.0/String.html#methodi-b) today. And of course it breaks the [Radix](https://github.com/rubyworks/radix) gem :-( Honestly, back when I ... -
07:58 AM Bug #10924: String#b
- Thomas Sawyer wrote:
> Benoit Daloze wrote:
> ...
irb(main):001:0> Encoding::BINARY
=> #<Encoding:ASCII-8BIT>
Encoding::BINARY is an alias for Encoding::ASCII-8BIT. Because pure ASCII works well with most other encodings anyway, St... -
07:52 AM Bug #10924: String#b
- Thomas Sawyer wrote:
> Refinements scoped at the gem level? I think I argued in favor of that once.
That turned out to be very difficult to implement.
> ...
It looks very good to me, and I think it could be implemented fairly ea... - 07:58 AM Revision 41eb94d4 (git): * tool/redmine-backporter.rb: use 'b' instead of 's' for showing
- Backport options for merger.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:55 AM Revision d57a8fa5 (git): * tool/redmine-backporter.rb: show selected ticket number at prompt.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 AM Feature #10909 (Closed): [PATCH 2/2] math.c: Direct casting from Rational to double.
- Applied in changeset r49818.
----------
* math.c (num2dbl_with_to_f): direct casting from Rational to double.
[Feature #10909] - 05:59 AM Revision b5f8aec5 (git): * test/ruby/test_math.rb: add tests for the above change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:59 AM Revision 972713ce (git): * math.c (num2dbl_with_to_f): direct casting from Rational to double.
- [Feature #10909]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Revision 5eea2af4 (git): test_rubyoptions.rb: use assert_segv
- * test/ruby/test_rubyoptions.rb (test_segv_loaded_features): use
assert_segv to simplify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:49 AM Bug #10914: Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)
- Hi!
It appears the problem is fixed with update FreeBSD to 10.1 version. Thanks!
Best regards,
Alexander -
03:16 AM Revision 37788267 (git): .travis.yml: CONFIG_FLAG
- * .travis.yml (before_install): merge options for extension
libraries to CONFIG_FLAG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:04 AM Feature #10927: [PATCH] Add default empty string to string replacements
- Robert A. Heiler wrote:
> I don't think this is likely to get in because it breaks backwards compatibility.
Not only that. The proposed change may be for a somewhat frequent use case, but it does not save too many characters in code ... -
02:55 AM Revision f7621185 (git): .travis.yml: install missing library
- * .travis.yml (before_install): install gdbm too.
* .travis.yml (script): test options should be in TESTOPTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:54 AM Revision 71dfa492 (git): .travis.yml: suppress travis specific failure
- * .travis.yml (before_script): suppress the failure which happens
only in travis OSX for the time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/02/2015
-
11:57 PM Bug #10924: String#b
- Robert A. Heiler wrote:
> I think that, the name aside, this would be a wonderful example for different
> ...
Refinements scoped at the gem level? I think I argued in favor of that once.
I don't so much mind refinements even at the ... -
11:49 PM Bug #10924: String#b
- Benoit Daloze wrote:
> Note #b is more #binary than #ascii.
That at least make a little more sense out of the name #b, but that needs some explanation since every string is actually binary underneath regardless of encoding. (Note the... -
07:52 PM Bug #10924: String#b
- I think that, the name aside, this would be a wonderful example for different
namespaces and restoring to the old default afterwards.
That way, you could undefine String#b for the purpose of only your gem alone here
but leave it unt... -
12:56 PM Bug #10924: String#b
- Note #b is more #binary than #ascii.
-
01:27 AM Bug #10924 (Closed): String#b
- Well, I just learned about the String#b [method](http://ruby-doc.org/core-2.1.0/String.html#methodi-b) today. And of course it breaks the [Radix](https://github.com/rubyworks/radix) gem :-( Honestly, back when I create Radix in 2009 I c...
-
11:43 PM Bug #10929 (Rejected): NilClass#to_proc and & don't mix?
- This is sort of like a "who would ever care" kind of bug. Nonetheless technically it seems like it is one. So I thought it best that I report it just the same.
~~~
class NilClass
def to_proc
Proc.new{ |*x| nil }
en... - 10:53 PM Revision 12051857 (git): * test/ruby/test_symbol.rb: avoid a false positive in AIX
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:28 PM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
- I don't know what to tell you. For anyone reading this, to get around it I did this:
configure --disable-install-doc --disable-install-rdoc
make
make install
It failed when it tried to install bundle gems, but core Ru... -
02:42 PM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
- Thanks.
The output of the commands suggest that the macro INFINITY was defined when compiling numeric.c but was not defined when compiling ext/date/date_core.c.
I still couldn't find why.
INFINITY is C99 feature, and whether INFINIT... -
07:56 PM Feature #10927: [PATCH] Add default empty string to string replacements
- I don't think this is likely to get in because it breaks backwards compatibility.
The prior usage could well be a case for .delete when it comes to .gsub:
"foo".delete("o") #=> "f"
Perhaps .delete could allow to replace just n o... -
04:26 PM Feature #10927 (Open): [PATCH] Add default empty string to string replacements
- Hi ruby devs !
A common case for string substitution is to just remove the found items. This patch changes the `String#[g]sub[!]` methods to allow that.
Old usages:
"foo".sub("o", "") #=> "fo"
"foo".gsub("o", "") #=> "f... -
06:38 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- Don't see anything wrong...
~~~
~/Work/byebug $ cat backtrace.rb
begin
Int('hola')
rescue
local = 17
byebug
puts local
end
~/Work/byebug $ ruby -Ilib -rbyebug backtrace.rb
(byebug) bt
--> rescue in <main> at .../... -
05:44 PM Bug #10923: Bug in io/wait/wait.c
- Backported into `ruby_2_1` branch at r49812.
-
05:43 PM Bug #10923 (Closed): Bug in io/wait/wait.c
- Applied in changeset ruby-21:r49812.
----------
merge revision(s) r49797: [Backport #10923]
* ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
Thanks to Yura Sokolov <funny.falcon@gmail.com>
[ruby-core:68369] [Bug#1... -
05:43 PM Revision 3457be5f (git): merge revision(s) r49797: [Backport #10923]
- * ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
Thanks to Yura Sokolov <funny.falcon@gmail.com>
[ruby-core:68369] [Bug#10923]
* test/io/wait/test_io_wait.rb (test_nread_buffered):
fi... -
05:25 PM Bug #10928 (Closed): optparse Switch#summarize code doesn't reflect its documentation
- The documentation for `Switch#summarize` says "+sdone+:: Already summarized short style options keyed hash." for the `sdone` argument (similar problem with `ldone`). I.e. it mentions it should be a Hash.
However, the actual method de... -
04:06 PM Bug #10926 (Closed): r49760以降Solarisで--enable-sharedのビルドでsample/test.rb失敗
- Applied in changeset r49810.
----------
* configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error.
[Bug #10926] [ruby-dev:48888]
* configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition
to 64-bit. -
03:55 PM Bug #10926 (Closed): r49760以降Solarisで--enable-sharedのビルドでsample/test.rb失敗
- Solaris 10 にて、./configure --enable-shared (他オプション多数略) にて共有ライブラリ版をビルドしようとすると、r49760以降、下記のエラーが出てsample/test.rbの実行に失敗して次のステップに進めなくなります。
~~~
sample/test.rb:assignment ......................................................................... - 04:06 PM Revision ae048b1b (git): * 2015-03-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:06 PM Revision 2e522aec (git): * configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error.
- [Bug #10926] [ruby-dev:48888]
* configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition
to 64-bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 PM Bug #10925 (Closed): Backport r49693
- Please backport r49693, this commit fixed failing spec on rubyspec.
https://github.com/ruby/ruby/commit/9759173cfc954f89a24dd96a42067161a34bd243 -
07:54 AM Revision 89333366 (git): envutil.rb: fix typo
- * test/lib/envutil.rb (invoke_ruby): fix typo again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:20 AM Revision 4a0e9c5c (git): envutil.rb: fix const name
- * test/lib/envutil.rb (invoke_ruby): fix an exception class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:50 AM Revision b6cc839d (git): test_process.rb: remove intermediate child process
- * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
spawn the target process directly with assert_separately and
remove intermediate child process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49807 b2dd03c8-39d4-... -
06:44 AM Revision 7be21a31 (git): envutil.rb: timeout_error argument to invoke_ruby
- * test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional
keyword argument, the exception class to be raised if the target
process timed out. if it is nil, no exception will be raised at
timeout but the terminated output, ... -
06:44 AM Revision 876d6640 (git): envutil.rb: signal list to invoke_ruby
- * test/lib/envutil.rb (invoke_ruby): allow `signal` optional
keyword argument to be a list of signals to be sent to the
target process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 575d4a30 (git): configure.in: _setjmp only if _longjmp is found
- * configure.in: do not check _setjmp unless _longjmp is available,
so that configure results will not be changed by cache.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:44 AM Revision ad0e8beb (git): configure.in: remove extra unsigned
- * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from
cached variable only if the target type is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:35 AM Revision b31c4762 (git): .travis.yml: do not ignore diff
- * .travis.yml (before_script): confured results with/without cache
must be same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:04 AM Revision 76d1d526 (git): signal.c: nil for invalid signum
- * signal.c (sig_signame): return nil if the argument is a valid
signal number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Bug #10915 (Closed): Error in FTPTest#test_abort and test_status on Solaris
- Applied in changeset r49800.
----------
* test/net/ftp/test_ftp.rb (create_ftp_server): set SO_OOBINLINE
for receiving OOB data which is sended with MSG_OOB flag in
portable way. [Bug #10915] [ruby-dev:48885]
* test/net/ftp/test_ftp... -
03:07 AM Revision ba536e41 (git): * test/net/ftp/test_ftp.rb (create_ftp_server): set SO_OOBINLINE
- for receiving OOB data which is sended with MSG_OOB flag in
portable way. [Bug #10915] [ruby-dev:48885]
* test/net/ftp/test_ftp.rb (test_abort, test_status): use gets
for receiving OOB data in portable way.
git-svn-id: svn+ssh://ci... -
02:43 AM Revision f2c8ac3f (git): configure.in: restore unsignedness
- * configure.in (RUBY_REPLACE_TYPE): restore unsigned type from
cached variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:08 AM Bug #10916: What the Ruby? SegFault?
- > * Author: why do i need this acct just to create a bug report
The answer is simple: Requiring registration helps a lot for reducing
spam. Many thanks for your help.
Regards, Martin.
On 2015/02/28 05:44, ruby@mailin...
03/01/2015
-
09:05 PM Bug #10923: Bug in io/wait/wait.c
- Fixed in r49797
-
02:24 PM Bug #10923 (Closed): Bug in io/wait/wait.c
- https://github.com/ruby/ruby/blob/28b9f11d5a4b878adb50a3e5472ceea8c462ed4a/ext/io/wait/wait.c#L64-L65
return value should be wrapped by INT2FIX - 09:03 PM Revision 07c87adf (git): * 2015-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:03 PM Revision 26e1ebdc (git): io/wait: fix return value for buffered read
- * ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
Thanks to Yura Sokolov <funny.falcon@gmail.com>
[ruby-core:68369] [Bug#10923]
* test/io/wait/test_io_wait.rb (test_nread_buffered):
fix broken test
git-svn-id: svn+ss... -
08:05 PM Bug #10538: Error when trying to update gem rake
- I got exactly the same error when trying also to updaet rake ge.
* Reproduced on Windows 7 Home edition
* Ruby version: **ruby 2.1.5p273** (2014-11-13 revision 48405) [i386-mingw32]
* rake version: **10.1.0**
No proxy, nothing 'unu... -
12:27 PM Revision 40564c1e (git): thread_pthread.c: use rb_pid_t
- * thread_pthread.c (timer_thread_pipe.owner_process): process ID
should be pid_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:21 AM Revision e961fcd5 (git): envutil.rb: signal argument
- * test/lib/envutil.rb (invoke_ruby): add optional keyword argument
of signal to be sent to hung-up process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:21 AM Revision ee4cb17b (git): configure.in: restore convertible type
- * configure.in (RUBY_REPLACE_TYPE): restore convertible type from
cached variable, so that configured results will be stable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Revision ea2d631a (git): configure.in: check broken memmem before earlier
- * configure.in (rb_cv_broken_memmem): check before adding the
result HAVE_MEMMEM macro to confdefs.h, so that configured
results will be stable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49793 b2dd03c8-39d4-4d8f-98ff-823fe69... -
06:12 AM Feature #2080: Proc#to_source, Method#to_source
- any hope to finally see this?
-
06:03 AM Bug #10922 (Closed): TracePoint#binding may return nil in Ruby 2.2
- ~~~
$ miniruby -ve '
TracePoint.new(:c_return) do |tp|
p [tp.method_id, tp.binding]
end.enable
Thread.new {}.join
'
ruby 2.2.1p85 (2015-02-26 revision 49761) [x86_64-linux]
[:enable, #<Binding:0x00555555a6ed48>]
[:initialize... -
05:51 AM Bug #10921 (Rejected): gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault
- You mix 2.2.0 and 2.0.0.
-
03:36 AM Bug #10921 (Rejected): gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault
- ~~~
~/.rvm/gems/ruby-2.2.0/gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
~~~
-
05:45 AM Bug #10920: uninitialized constant LoadErroe
- r49017 fixed it.
-
03:28 AM Bug #10920 (Rejected): uninitialized constant LoadErroe
- I can see the following error during installation of stable snapshot
`./tool/rbinstall.rb:714:in `rescue in block in <main>': uninitialized constant LoadErroe (NameError)
from ./tool/rbinstall.rb:712:in `block in <main>'
... -
02:52 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- I agree with Yusuke.
I'd be sorry to see it go - it does some neat tricks that are a lot harder to pull off with Fibers.
Here for instance is a PoC reversible debugger: https://gist.github.com/stephenprater/ca312d24578455f36550
... -
02:18 AM Bug #10918 (Closed): ObjectSpace._id2ref returns internal object
- Applied in changeset r49792.
----------
gc.c: hide internal objects
* gc.c (id2ref): prohibit from accessing internal objects.
[ruby-core:68348] [Bug #10918] -
02:18 AM Revision 9334597b (git): gc.c: hide internal objects
- * gc.c (id2ref): prohibit from accessing internal objects.
[ruby-core:68348] [Bug #10918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 AM Revision cb0cfbb4 (git): mkconfig.rb: no build-time variables
- * tool/mkconfig.rb: exclude unnecessary build-time only variables,
various ruby commands, installation targets, and dtrace stuffs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 AM Misc #10809 (Closed): [PATCH 2/2] Add tests for math.c related to [Feature 10785], [Feature 10800]
-
12:37 AM Bug #10908 (Rejected): Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
- afamily returns the family in sockaddr.
2nd argument for Addrinfo.new doesn't affect afamily.
pfamily (and 2nd argument for Addrinfo.new) corresponds to ai_family field of struct addrinfo and will be used for 1st argument of socket()... -
12:33 AM Misc #10907 (Rejected): Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
- Use pfamily as you noticed.
pfamily (and 2nd argument for Addrinfo.new) corresponds to ai_family field of struct addrinfo and will be used for 1st argument of socket().
afamily (and first 1 or 2 bytes in 1st argument for Addrinfo.n... -
12:13 AM Bug #10904 (Closed): Time.strptime with %s.%N format should not ignore sec_fraction
- Applied in changeset r49788.
----------
* lib/time.rb (strptime): Support %s.%N.
[ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi. -
12:13 AM Revision a12a4531 (git): add tests for strptime("%s.%N").
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:13 AM Revision e3a4e121 (git): * 2015-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 AM Revision 9ee9812d (git): * lib/time.rb (strptime): Support %s.%N.
- [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/28/2015
-
09:49 PM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
- Having a hard time coming up with a clean patch here. The following works but it's pretty hacky.
~~~ diff
diff --git a/load.c b/load.c
index fa225fa..68d15e7 100644
--- a/load.c
+++ b/load.c
@@ -952,6 +952,9 @@ rb_require_safe(VA... -
06:18 PM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
- Isn't that what the -l switch is for?
-
04:16 PM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
- Backported into `ruby_2_1` at r49785.
-
06:14 PM Bug #10731: Segmentation fault when create alias to refined method
- Backported into `ruby_2_1` branch at r49787.
-
06:13 PM Revision f50f7025 (git): merge revision(s) r49221: [Backport #10731]
- * vm_method.c (rb_alias): raise a NameError when creating alias to
a refined method if the original method of the refined method is
not defined. [ruby-core:67523] [Bug #10731]
git-svn-id: svn+ssh://ci.ruby-lang.org... -
05:44 PM Bug #10919 (Third Party's Issue): [gem install] installs multipe platforms
- Natively build a gem - just an example mysql2 on windows x64-mingw32
I could only get the gem to compile with devkit when --platform=ruby is specified - so my understanding is that all devkit compiled gems are platform ruby, even if dev... -
05:29 PM Bug #10706: Segmentation fault when change visibility of refined new method
- Backported into `ruby_2_1` at r49786.
-
05:28 PM Revision c839def7 (git): merge revision(s) r49182,r49183: [Backport #10706]
- vm_method.c: fix change refined new method visibility
* vm_method.c (rb_export_method): bail out if the original method
is undefined when the method is refined.
[ruby-core:67387] [Bug #10706]
git-svn-id: svn... -
05:02 PM Bug #10878: require: cannot load such file
- this issue was resolved with #10876
ruby 2.2.1p85 (2015-02-26 revision 49761) [x64-mingw32] -
04:15 PM Revision 8e73157d (git): merge revision(s) r49175: [Backport #10712]
- * lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
[ruby-core:67411] [Bug #10712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:03 PM Bug #10692: there is no response body with HEAD request (fixed at r49105)
- Backported into `ruby_2_1` at r49784.
-
04:03 PM Revision 4ad3a5c3 (git): merge revision(s) r49104,r49105: [Backport #10692]
- * test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD method.
* lib/net/http.rb (Net::HTTP#send_request): there is no response body
with HEAD request. Patch by... -
04:00 PM Bug #10668: Fix description for Zlib.crc32
- Backported into `ruby_2_1` at r49783.
-
03:59 PM Revision 089dbf1e (git): merge revision(s) r49202: [Backport #10668]
- * ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:51 PM Bug #10918 (Closed): ObjectSpace._id2ref returns internal object
- Since r43539 ObjectSpace._id2ref doesn't check if the object is internal or not.
The following code gives a segmentation fault:
~~~
(ObjectSpace.each_object.first.__id__..1.0/0).each do |i|
t = ObjectSpace._id2ref(i) rescue nex... -
09:09 AM Revision fe6cf485 (git): enum.c: Fixnum only
- * enum.c (limit_by_enum_size, enum_size_over_p): check only
against Fixnum size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision 98273af3 (git): enum.c: limit size
- * enum.c (enum_each_slice, enum_each_cons): limit elements size by
the enumerator size. suggested by Hans Mackowiak <hanmac AT
gmx.de> at [ruby-core:68335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49781 b2dd03c8-39d4-4d8f-... -
06:46 AM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
- I didn't send any options to configure.
>/usr/ccs/bin/nm numeric.o | grep infinity
> ...
[1620] | 0| 0|NOTY |GLOB |0 |UNDEF |rb_infinity
>env
LDFLAGS=-R/usr/local/lib -R/opt/csw/lib -R/opt/csw/gcc4/lib
MANPAT... -
06:44 AM Revision dbffdff1 (git): vm_dump.c: no new strings in signal context
- * vm_dump.c (rb_vm_bugreport): get rid of making new strings
inside signal context.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Revision badb4de7 (git): variable.c: rb_search_class_path
- * variable.c (rb_tmp_class_path): defer making temporary class
path string.
* variable.c (rb_search_class_path): search class path or return
Qnil or Qfalse if unnamed, not creating a temporary path.
git-svn-id: svn+ssh://ci.ruby-lan... -
06:02 AM Revision 1ef1a0c6 (git): variable.c: preserve name encoding of subclass
- * variable.c (rb_tmp_class_path): preserve name encoding of an
anonymous instance of module/class subclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Bug #10850: BigDecimal division incorrect
- Thanks for the answer Shugo,
however I am not sure if that is easily possible for me in that case. I use BigDecimal as a fiedl type in a Rails application and don't see how I can ues Rational here :-(
Any suggestions or tips or refe... -
12:47 AM Bug #10913 (Third Party's Issue): Enum#each_slice is crashing with Bignum as an argument
- It reproduces with just:
~~~ruby
Array.new(50000000000000000)
~~~
and
~~~ruby
"x"*50000000000000000
~~~
The failure itself is expected, but OSX's `malloc` complains.
Seems there is no hook to control it.