Activity
From 04/07/2014 to 04/13/2014
04/13/2014
-
10:25 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Ah, thanks Dieter, didn't think about that!
-
10:54 AM Bug #9710: __builtin_setjmp/longjmp causes SEGV with mingw
- I guess it should be backported with #9692.
-
10:52 AM Bug #9698: r45509以降、Solarisにて configureが thread model is missing でエラー
- #9692 と一緒にバックポートされるべきと思うのでバックポート欄変更します。
間違っていたら直していただけるとありがたいです。 -
10:51 AM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
- I guess it should be backported.
-
10:49 AM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Mario Maia wrote:
> What do you think? And, by the way, should we continue this conversation here or should I open a new bug reporting `#expand_path`?
Use `File.absolute_path`, instead of `File.expand_path`. -
08:50 AM Feature #6869: Do not treat `_` parameter exceptionally
- Nobuyoshi Nakada wrote:
> Alexey Muranov wrote:
> ...
Thanks, i do not know what i was thinking.
> Alexey Muranov wrote:
> ...
Yes, so this proposal would need to be closed, and i would need to open a new one. When i opened this o... -
05:11 AM Feature #6869: Do not treat `_` parameter exceptionally
- Alexey Muranov wrote:
> Observe also that the use of repeated `_` parameter is not consistent between methods and blocks: for methods the value is the first assigned value, and for blocks it is the array of all the assigned values.
I... -
04:17 AM Bug #9738 (Closed): A document fix for Rinda::TupleEntry#renew
- As shown in the attached patch, Rinda::TupleEntry#renew
accept true instead of false (true is consistent with make_expires).
In fact, in the current source code false is also acceptable and
works as documented but it is not intenti... -
03:48 AM Revision 9aa67e26 (git): * bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.
- * internal.h: Ditto.
* marshal.c: Ditto.
* rational.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 AM Bug #9737 (Closed): Non-ASCII characters in the path to ruby executable break require paths
- Hi,
On Windows, if non-ASCII characters exist the path on which the ruby
interpreter is invoked, the character encoding is not handled properly
when the require paths in $: are created, making ruby unable to require
libraries in it... -
01:21 AM Revision db9d8759 (git): * common.mk: Unused target, $(MKMAIN_CMD), removed.
- * Makefile.in (MKMAIN_CMD): Unused macro removed.
* win32/Makefile.sub (MKMAIN_CMD): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:59 AM Revision 5e3254a9 (git): * 2014-04-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:59 AM Revision 3a78169e (git): * ext/psych/lib/psych.rb: [DOC] Fix a dead link in Psych by @rochefort [ci skip][fix GH-593]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/12/2014
-
07:30 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Tieg Zaharia wrote:
> It seems like the fix might not make it out until 2.2.
I think as bigdecimal is released as its own gem, the fix could be released sooner than ruby 2.2? -
01:11 PM Revision 2f3b28c6 (git): string.c: clear env self in symbol proc
- * string.c (sym_to_proc), proc.c (rb_block_clear_env_self): clear
caller's self which is useless, so that it can get collected.
[Fixes GH-592]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:05 PM Feature #6869: Do not treat `_` parameter exceptionally
- It looks like the use of the underscore `_` as a "placeholder" is quite common in other languages ("black hole" register in Vim, "whatever" pattern that matches everything in Haskell), but there it is really a placeholder and not a varia...
-
12:58 PM Revision be711df8 (git): marshal.c: remove hack for old gcc
- * marshal.c (r_object0): remove hack for old gcc, no gcc 2.x any
more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 AM Bug #9443: Prepended methods are skipped if calling alias
- `alias` in Ruby does refer to the same definition with the original method.
Probably what you want would be `Forwardable`. -
01:31 AM Feature #9453: Return symbols of defined methods for `attr` and friends
- Thomas, private method that accept an array for methods names would be an interesting idea worth discussion.
But it is different issue.
Matz.
-
12:37 AM Revision ccaf4229 (git): Remove unneeded OCSP constant macros
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 AM Revision dfadac81 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:35 AM Revision d329484a (git): * ext/openssl/ossl_ocsp.c: [DOC] Document OpenSSL::OCSP.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/11/2014
-
09:09 PM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Yes, I agree with you. I'm also not positive to changing keyword arguments to receive even strings and symbols, but I thought OP should request this feature here since it is not Rails specific, as he would have the same behavior with a n...
-
05:50 PM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- I am negative for the proposal. My opinion is that you should not (or no longer) use strings as keywords.
For transition purpose, ActiveSupport (or something else) can add a method to convert strings keys to symbol keys.
Matz.
-
05:14 PM Bug #9731: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Just to be clear this issue is not about `HashWithIndifferentAccess`, it is about using hash with string keys to be used as keyword arguments (`HashWithIndifferentAccess` store the keys as strings).
This same script would fail:
```... -
03:14 PM Bug #9731 (Closed): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ... -
07:48 PM Feature #9453: Return symbols of defined methods for `attr` and friends
- Letting #private accept an Array seems more preferable then adding yet another ~~method~~ slew of methods: `private_attr_writer`, `private_attr_accessor`, `protected_attr_reader`, `protected_attr_writer`, `protected_attr_accessor`, ...
-
07:31 PM Feature #9625: Define `Pathname#/` to append to the path
- +1 This is a no-brainer.
-
07:12 PM Feature #9565: Unifying the methods (const|class_variable|instance_variable)_(defined?|get|set)
- +1 Fewer methods to remember. Could be used for global vars too. Is `token` the best term though?
-
07:00 PM Feature #9557: Enumerator#next and Enumerator#peek with argument
- Such features might benefit from an Indexable mixin.
-
06:53 PM Bug #9443: Prepended methods are skipped if calling alias
- alias in Ruby really means "copy method". It would be nice if there were a way to truly alias, such that the two names refer to same definition.
-
06:24 PM Feature #8707: Hash#reverse_each
- Can `#reverse` be an Enumerator?
-
05:54 PM Feature #9379: Support for using libxml-ruby as XML parser in xmlrpc-libs
- This seems like a very reasonable idea. (Maybe it would even be possible to add support for Nokogiri too?) One thing though, is there a way to not load REXML at all if it is not needed?
-
04:31 PM Bug #9735 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
-
03:17 PM Bug #9735 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ... -
04:30 PM Bug #9734 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
-
03:14 PM Bug #9734 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ... -
04:30 PM Bug #9733 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
-
03:45 PM Bug #9733: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Accidental duplicate of https://bugs.ruby-lang.org/issues/9731 because of server timing out its response.
-
03:34 PM Bug #9733: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Accidental duplicate of https://bugs.ruby-lang.org/issues/9731 because of server timing out its response.
-
03:34 PM Bug #9733: Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Accidental duplicate of https://bugs.ruby-lang.org/issues/9731 because server was timing out its response.
-
03:14 PM Bug #9733 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ... -
04:29 PM Bug #9732 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
-
03:14 PM Bug #9732 (Rejected): Rails' HashWithIndifferentAccess is incompatible with Ruby's keyword arguments
- Origin: https://github.com/rails/rails/issues/14643
In Ruby it is possible to use a POR Hash in place of keyword arguments, making the transition between using an `options = {}` to keyword arguments easy.
The same is not true for ... -
03:57 PM Bug #9736 (Third Party's Issue): segmentation fault
- Hey, I have segmentation fault bug when using my rails application.
ruby: 1.9.3p448
rails: 3.2.12 - 03:05 PM Revision 089dd6d1 (git): * 2014-04-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:49 PM Revision 761ddb71 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:00 PM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Nobuyoshi Nakada wrote:
> If they do it, you have no way to test files start with '~'.
Good point, I hadn't thought about this borderline case. And from this case, I take that this is not a bug on `FileTest`, but on `#expand_path`.
... -
12:43 PM Bug #9730 (Closed): E:/Rails/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:98: [BUG] Segmentation fault
- ~~~
ruby 1.9.3p484 (2013-11-22) [i386-mingw32]
(snip)
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Process finished with exit... -
10:29 AM Bug #9729 (Assigned): Hash#each が無限ループする
-
09:18 AM Bug #9729 (Closed): Hash#each が無限ループする
- Hash のキーに配列を使い、
キーが同じ値になるように以下のような操作をすると
Hash#each が無限ループします。
~~~
h = {}
h[[]] = 1 # h #=> {[] => 1}
h.keys[0] << 1 # h #=> {[1] => 1}
h[[]] = 1 # h #=> {[1] => 1, [] => 1}
h.keys[1] << 1 # h #=> {[1] => 1, [1] => 1} ... -
10:21 AM Bug #9728: Regexp bug
- ~~~
I found this issue is related with the ONIG_DONT_OPTIMIZE macro.
If I insert "#define ONIG_DONT_OPTIMIZE" in regint.h, the regexp works like Ruby 1.9.3.
before define:
C:\work\ruby-2.2.0-r45349>miniruby -ve 'p "ab"=~/(?!^a)... -
06:41 AM Bug #9728 (Closed): Regexp bug
- As reported in StackOverflow (http://stackoverflow.com/questions/23004527) (with a wrong expectation), the following regex pattern with the `*` operator does not match.
"ab" =~ /(?!^a).*b/
# => nil
When `?` is used instead... -
09:55 AM Revision f2606d62 (git): * array.c (ARY_SET): added.
- ARY_SET() is same functionality of RARRAY_ASET(), but
it has an assertion (`ary' doesn't have shared array).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:50 AM Feature #9711: Remove test-unit and minitest from stdlib.
- I wholeheartedly support this idea.
-
08:47 AM Revision 6bc46320 (git): * array.c: make shared arrays WB-protected objects.
- Shared arrays were WB-unprotected object because
sharing array can modify shared array's buffer
if it occupied shared array.
[sharing array (ary)] -> [shared array (shared)] -> <buff>
| ... -
08:42 AM Bug #9712: Dir.entries replace Unicode character with questionmarks
- Thomas Thomassen wrote:
> Usaku NAKAMURA wrote:
> ...
yes.
> But for Windows this is really awkward. Windows-1252 is the compatibility codepage - but the file system itself is perfectly capable of handling Unicode characters.
> ...... -
06:53 AM Revision 036b55e5 (git): test_array.rb: skip if timed out
- * test/ruby/test_array.rb (test_shared_marking): skip if timed out,
this test can just take a lot of time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:41 AM Bug #9723: #size does not trigger evaluation of lazy enumerator.
- Thank you!
-
06:28 AM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
- I've reproduced the same thing with two doubles that reference each other. Also on 2.1.1-p76.
See: https://github.com/JamesFerguson/rspec-mocks-test -
06:17 AM Revision 2cabdf2a (git): test_array.rb: expand timeout
- * test/ruby/test_array.rb (test_shared_marking): expand timeout for
less powerful machine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Bug #9721 (Closed): super: no superclass method in Ruby 2.1.1
- Applied in changeset r45565.
----------
proc.c: fix super in bound UnboundMethod
* proc.c (rb_method_call_with_block, umethod_bind): call with
IClass including the module for a module instance method.
[ruby-core:61936] [Bug #9721]
... -
06:05 AM Revision 46f578d8 (git): proc.c: fix super in bound UnboundMethod
- * proc.c (rb_method_call_with_block, umethod_bind): call with
IClass including the module for a module instance method.
[ruby-core:61936] [Bug #9721]
* vm_insnhelper.c (vm_search_super_method): allow bound
UnboundMethod case.
git-... -
05:40 AM Revision 2329a1a8 (git): vm_insnhelper.c: preserve encodings
- * vm_insnhelper.c (vm_search_super_method): preserve encodings of
classes in message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
- On debugger gem repository:
* https://github.com/cldwalker/debugger/issues/114 - Same segfault
* https://github.com/cldwalker/debugger/issues/47 - Ruby 2.0.0 is not officially supported by debugger gem
* https://github.com/cldwalker/... -
04:48 AM Revision c7ad29f5 (git): * addr2line.c (rb_dump_backtrace_with_lines): set base address
- which is retrived from dladdr to dladdr_fbases, to skip already
parsed objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Bug #9727 (Closed): Array#reject aborts with callcc
- Applied in changeset r45562.
----------
array.c: maybe shared array
* array.c (ary_reject): may be turned into a shared array during
the given block. [ruby-dev:48101] [Bug #9727] -
03:39 AM Bug #9727 (Closed): Array#reject aborts with callcc
- 2.0.0以降で、以下のコードが異常終了します。
~~~ruby
require 'continuation'
cont = nil
a = [*1..10].reject do |i|
callcc{|c| cont = c} if !cont and i == 10
false
end
a.unshift(:x)
cont.call if a.size < 1000
~~~
-
03:44 AM Revision 153fa256 (git): array.c: maybe shared array
- * array.c (ary_reject): may be turned into a shared array during
the given block. [ruby-dev:48101] [Bug #9727]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:05 AM Bug #9722 (Closed): Failure with multiple keyword arguments
-
01:49 AM Revision 48d5eb3d (git): test_array.rb: do minor GC
- * test/ruby/test_array.rb (test_shared_marking): do minor GC to
reduce WB-missed messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Revision 4b86cf6e (git): gc.c: no newline to rb_bug
- * gc.c: no newline in messages for rb_bug, it outputs a newline
after the message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:31 AM Revision 566761ff (git): * 2014-04-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:31 AM Revision 5a717d95 (git): test_array.rb: simplify test_shared_marking
- * test/ruby/test_array.rb (test_shared_marking): simplify with
timeout option and no random, also reduce same messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Revision 147365f4 (git): envutil.rb: filter kwargs
- * test/ruby/envutil.rb (EnvUtil#invoke_ruby): add stdout_filter
and stderr_filter optional keyword arguments, which filter
stdout and stderr outputs respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45557 b2dd03c8-39d4...
04/10/2014
-
11:12 PM Bug #9726 (Closed): Incorrect Proc parsing
- There seems to be issue in parsing with white space:
The code below works:
~~~ruby
proc_issue (Proc.new { |n|
"Do something"
})
~~~
That code causing parsing error (removing white space makes it working `proc_issue` (`Proc... -
10:19 PM Feature #9725 (Open): Do not inspect NameError target object unless verbose
- At least once every few months, we get an error report of JRuby raising a memory error where MRI does not due to `NameError`'s `Message` object holding a reference to an object that's too large to inspect. I propose that this inspection ...
-
06:21 PM Misc #9724 (Open): Warnings in Ruby: allow per-file directives to i.e. suppress warnings
- Hi,
A bit of intro.
I usually run all my ruby code with -w. I feel that it gives me some more security if the
ruby parser does not have to think about ambiguous code.
Now this works perfect for my own code - I know what I have ... - 02:46 PM Revision 35803abd (git): Add [DOC] to my previous entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:46 PM Revision 537dac27 (git): * lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
- anonymous login was changed to "anonymous@" in r25313.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 PM Bug #9723 (Rejected): #size does not trigger evaluation of lazy enumerator.
- The purpose of `size` is to return the number of elements yielded by an Enumerator without consuming it, i.e. without iterating it.
If `enum.size` returns an integer, than `enum.size == enum.to_a.size` must be true.
In your first e... -
09:46 AM Bug #9723 (Rejected): #size does not trigger evaluation of lazy enumerator.
- Here is the code which shows weird behariour
### Steps to reproduce
`$ irb
2.1.1 :001 > [1, 2, 3].lazy.select{ |e| e%2 == 1}.size
=> nil
2.1.1 :002 > [1, 2, 3].lazy.select{ |e| e%2 == 1}.to_a
=> [1, 3]
2.1.1 :003 > [1, 2, 3]... -
01:24 PM Bug #9699: Cannot require .so file on Windows if the file path is unicode (Includes patch)
- [for branch maintainers]
r45523 depends on a new function introduced at r45521.
And test script was fixed at r45551. -
12:47 PM Bug #9718: Segmentation fault is occurred on trunk and 2.1
- I confirmed that porting r45553 back to 2.1 is resolved this issue on 2.1.
Please backport it into ruby_2_1 branch. -
10:16 AM Bug #9718 (Closed): Segmentation fault is occurred on trunk and 2.1
- Applied in changeset r45553.
----------
* array.c (rb_ary_modify): remember shared array owner if a shared
array owner is promoted and a shared array is not promoted.
Now, shared array is WB-unprotected so that shared arrays are not... -
03:10 AM Bug #9718 (Assigned): Segmentation fault is occurred on trunk and 2.1
- With `RGENGC_CHECK_MODE=4`, lots of messages emitted:
~~~
verify_internal_consistency_reachable_i: WB miss 0x7fe65187f598 (T_ARRAY) -> 0x7fe65187f110 (proc)
~~~
The values of proc varies but T_ARRAY does not change. -
10:23 AM Revision 5877dcbb (git): * test/ruby/test_array.rb: remove useless `assert'.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:16 AM Revision f19bf5ba (git): * array.c (rb_ary_modify): remember shared array owner if a shared
- array owner is promoted and a shared array is not promoted.
Now, shared array is WB-unprotected so that shared arrays are not
promoted. All objects referred from shared array should be marked
correctly.
[ruby-core:61919] [ruby-t... -
10:01 AM Revision be512007 (git): * gc.c (gc_verify_internal_consistency): move lines and enable
- allrefs_dump() on RGENGC_CHECK_MODE >= 4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:39 AM Revision cf0a0c5a (git): explicitly specify ::File
- There's Bug::File in test/-ext-/file/test_stat.rb.
It prevent constan search with `File`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:19 AM Revision b8eb8997 (git): * addr2line.c (append_obj): clear allocated memory.
- * addr2line.c (rb_dump_backtrace_with_lines): free `base_addrs'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:21 AM Bug #9722: Failure with multiple keyword arguments
- Is this the same as #9669 ?
-
06:04 AM Bug #9722 (Closed): Failure with multiple keyword arguments
- I am running ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
Given the following person class:
~~~ruby
class Person
attr_reader :name, :age
def initialize name:, age:
@name = name
@age = age
end... -
05:41 AM Revision ddffb9bb (git): * gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug
- message when RGENGC_CHECK_MODE == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:38 AM Bug #9607: Change the full GC timing
- GC.promote/allow_promote can work in some cases, but I consider it too
ugly; as ugly as OobGC. It would also be error prone and hard to work
in multithreaded situations.
I would rather have work towards automatic run-time optimiza... -
04:05 AM Bug #9607: Change the full GC timing
- I wonder if it might not be better to give the user control? Specifically, consider a web application. It would make sense to hold off promoting objects created during a call-response cycle until the end of the cycle. But there is no ...
-
03:51 AM Bug #9721 (Closed): super: no superclass method in Ruby 2.1.1
- Below code will result into error:
~~~
super: no superclass method `foo' for #<Object:0x002b0430670fe8>
~~~
However, it can pass with Ruby 1.9 and I am not sure if it's feature changes or bug.
~~~ruby
module A
def foo
... -
03:40 AM Revision 4a0e3ccf (git): gc.c: check rgengc_report argument
- * gc.c (rgengc_report): use __VA_ARGS__ if possible.
* gc.c (rgengc_report_body): check argument.
* gc.c (heap_page_allocate): fix missing argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45548 b2dd03c8-39d4-4d8f-98ff-823fe... -
03:40 AM Revision 04de1d7d (git): gc.c: do nothing unless USE_RGENGC
- * gc.c (gc_verify_internal_consistency): always do nothing unless
USE_RGENGC is set, no local variable needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 AM Revision 1a00d076 (git): gc.c: adjust indent
- * gc.c (RVALUE_DEMOTE_FROM_YOUNG, RVALUE_DEMOTE_FROM_OLD): adjust
indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Or always `File.exist?(path.sub(/\A~/, './~'))` and so on.
Do you prefer this? -
03:02 AM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- If they do it, you have no way to test files start with '~'.
-
02:21 AM Bug #9720 (Assigned): [Doc] Proofreading of Net::IMAP docs
- Thanks!
-
01:57 AM Bug #9720 (Closed): [Doc] Proofreading of Net::IMAP docs
- This patch improves the English grammar and consistency of the Net::IMAP documentation.
-
01:27 AM Bug #9655 (Third Party's Issue): Build failure of Arch linux
04/09/2014
- 11:16 PM Revision fdddeda6 (git): * 2014-04-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 PM Revision f0cbb868 (git): * signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h
- is not available.
Fixes build on Android (x86).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:32 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- It seems like the fix might not make it out until 2.2.
If anyone runs into this while on 2.1, I was able to stop the segfaults by using BigDecimal coercion instead of to_d (`BigDecimal_coerce` has the GC guard). If you're using the m... -
09:49 PM Bug #9716: FileTest.exist? does not convert relative path to absolute path before testing existence
- Nobuyoshi Nakada wrote:
> Methods of `FileTest` don't expand the arguments implicitly.
Shouldn't they do that? I mean, I can understand `FileTest` not doing it, but `Pathname#exist?` has the same behavior, and I think this is kinda s... -
04:10 AM Bug #9716 (Rejected): FileTest.exist? does not convert relative path to absolute path before testing existence
- Methods of `FileTest` don't expand the arguments implicitly.
-
07:58 PM Bug #9718: Segmentation fault is occurred on trunk and 2.1
- Reproducible on ruby 2.2.0dev (2014-04-09 trunk 45543) [x86_64-linux]
Not reproducible on ruby 2.0.0p451 [x86_64-linux]
I tried the pure Ruby thread.rb from 2.0.0 with trunk, but the segfault
still happens, so I do not think this i... -
01:07 PM Bug #9718 (Closed): Segmentation fault is occurred on trunk and 2.1
- The following code occurs segmentation fault on trunk and 2.1.
```ruby
require 'thread'
queue = Queue.new
thread = Thread.start do
loop do
queue.pop.call
end
end
loop do
queue << -> do
p Time.now
sle... -
07:51 PM Bug #9719 (Closed): longjmp causes uninitialized stack frame on threaded procs
- I'm developing a script that uses tiny_tds and mechanize. There is an implementation of threads spawning connections to a database(tiny_tds) using transactions and rescuing deathlocks, to one site (using mechanize). There are 6 threads s...
-
02:41 PM Feature #5663: Combined map/select method
- I found this issue looking for a single-pass alternative to `.map{...}.compact`.
The former example uses `{ |i| i + 1 if i.even? }`, which reads almost like a comprehension and has a clear separation between the condition and the tran... -
02:32 PM Revision 3f05ee0f (git): Add comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:30 PM Bug #9717 (Closed): [BUG] setup_arg: unknown node: NODE_DVAR
- Applied in changeset r45542.
----------
* gc.c (`mark_current_machine_context`): Call `SET_STACK_END`.
This reverts a hunk of r40703 by ko1.
This fixes [ruby-dev:48098] [Bug #9717]. -
10:54 AM Bug #9717: [BUG] setup_arg: unknown node: NODE_DVAR
-
10:42 AM Bug #9717 (Closed): [BUG] setup_arg: unknown node: NODE_DVAR
- 以下のようにすると、[BUG] setup_arg: unknown node: NODE_DVAR というメッセージが出て異常終了します。
% ./miniruby -e 'GC.stress = true; eval("foo += bar")'
-e:1: [BUG] setup_arg: unknown node: NODE_DVAR
ruby 2.2.0dev (2014-04-09 trunk 4... -
02:30 PM Revision 8a8221e6 (git): * gc.c (mark_current_machine_context): Call SET_STACK_END.
- This reverts a hunk of r40703 by ko1.
This fixes [ruby-dev:48098] [Bug #9717].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 PM Bug #9655: Build failure of Arch linux
- It seems that this is a GCC version specific issue.
I cannot reproduce this issue on archlinux with both 2.1.0 and 2.0.0-p353.
~~~
[root@arch ~]# uname -a
Linux arch 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014 x86_6... -
12:05 PM Revision 960c8ab1 (git): * process.c (OBJ2UID1): Defined even if getpwnam_r is not usable.
- (OBJ2GID1): Defined even if getgrnam_r is not usable.
This fixes compilation error on Android.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:07 AM Feature #9713 (Assigned): __FILE__ return unexpected encoding - breaks Dir.glob
- Thomas Thomassen wrote:
> In my test `__FILE__` is returned in the OEM encoding - not filesystem encoding.
So, reopened.
-
09:03 AM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Nobuyoshi Nakada wrote:
> * encoding.c (rb_enc_default_internal): fix rdoc. `__FILE__` is
> ...
In my test `__FILE__` is returned in the OEM encoding - not filesystem encoding.
And is it by design that `__FILE__` will return a differ... -
06:17 AM Feature #9713 (Closed): __FILE__ return unexpected encoding - breaks Dir.glob
- Applied in changeset r45539.
----------
encoding.c: fix rdoc of `__FILE__`
* encoding.c (rb_enc_default_internal): fix rdoc. `__FILE__` is
in filesystem encoding but not `default_internal`.
[ruby-core:61894] [Bug #9713] -
08:27 AM Revision 2291ff2e (git): ossl.c: OPENSSL_LIBRARY_VERSION
- * ext/openssl/ossl.c (Init_openssl): add constant OPENSSL_LIBRARY_VERSION
which tells the version running OpenSSL. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 AM Revision 2c12deaf (git): encoding.c: fix rdoc of `__FILE__`
- * encoding.c (rb_enc_default_internal): fix rdoc. `__FILE__` is
in filesystem encoding but not `default_internal`.
[ruby-core:61894] [Bug #9713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45539 b2dd03c8-39d4-4d8f-98ff-823fe6... -
05:45 AM Revision 52b6be0a (git): * test/ruby/test_gc.rb: more long timeout.
- This test failed under RGENGC_CHECK_MODE >= 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Bug #9710 (Closed): __builtin_setjmp/longjmp causes SEGV with mingw
- Applied in changeset r45537.
----------
configure.in: no __builtin_setjmp on x64-mingw
* configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
x64-mingw, which causes SEGV with callcc.
[ruby-core:61887] [Bug #9710] -
04:07 AM Revision 1edaa6d2 (git): configure.in: no __builtin_setjmp on x64-mingw
- * configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
x64-mingw, which causes SEGV with callcc.
[ruby-core:61887] [Bug #9710]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Revision 5c7564c9 (git): string.c: remove unnecessary terminator space
- * string.c (str_buf_cat): remove unnecessary terminator space,
since the capacity does not include its length but RESIZE_CAPA()
considers it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Bug #9709 (Closed): Large string causes SEGV with x64-mingw32
- Applied in changeset r45534.
----------
string.c: fix capacity
* string.c (`str_buf_cat`): should round up the capacity by 4KiB,
but not number of rooms. [ruby-core:61886] [Bug #9709] - 03:45 AM Revision f2ba9570 (git): * 2014-04-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:44 AM Revision 68537a42 (git): string.c: fix capacity
- * string.c (str_buf_cat): should round up the capacity by 4KiB,
but not number of rooms. [ruby-core:61886] [Bug #9709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/08/2014
-
05:22 PM Bug #9716 (Rejected): FileTest.exist? does not convert relative path to absolute path before testing existence
- `FileTest.exist?(Pathname.new('~/derp').expand_path) => true`
`FileTest.exist?(Pathname.new('~/derp')) => false` - 01:55 PM Revision 0192e15b (git): * lib/mkmf.rb (MakeMakefile#dir_config): Improve documentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:45 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- I'm starting to wonder if the three bugs I recently files could all go under one: that the behaviour described under Encoding.default_internal= isn't happening for all the elements it lists. The issues I'm experiencing appear to would ha...
-
12:15 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Referringthe docs (http://www.ruby-doc.org/core-2.1.1/Encoding.html#method-c-default_external-3D) to `Encoding.default_internal=`, `__FILE__` should return strings according to the default internal - but when using `-E` to set it I don't...
- 01:36 PM Revision d37460d7 (git): * 2014-04-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 PM Revision bdf4eb06 (git): * gc.c: rename `RGENGC_THREEGEN' to `RGENGC_AGE2_PROMOTION'.
- * gc.c (rgengc_rememberset_mark): don't promote, but remain in
remember set for infant objects.
* gc.c (RVALUE_PROMOTE_INFANT, RVALUE_PROMOTE_YOUNG): count numbers
in these functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
12:12 PM Bug #9712: Dir.entries replace Unicode character with questionmarks
- Additional info:
I've made the RB files have `# encoding: UTF-8` and set `-E UTF-8:UTF-8` which from my understanding of the documentation should affect the encoding returned by `Dir`:
~~~
* call-seq:
* Encoding.default_inter... -
12:34 AM Bug #9712 (Assigned): Dir.entries replace Unicode character with questionmarks
-
12:08 PM Bug #9715 (Closed): ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- My testing scenario:
English Windows, Unicode username: てすと
Home directory: C:\Users\てすと\
The values returned from ENV have different encoding depending on their content. It appear to be OEM encoding label to most value, except wh... -
05:20 AM Bug #9714 (Rejected): Ruby configured to call OpenSSL engine API when it shouldn't
- ### (This issue is NOT related to the Heartbleed vulnerability.)
There is an issue compiling under OSX where system dependencies and homebrew dependencies get mixed together, resulting in an incorrectly configured Ruby which fails at ...
04/07/2014
-
11:51 PM Bug #9695: Substring search exhibit quadratic behaviour.
- For example other BM implementation, I compared with Ruby's regexp:
```ruby
12.upto(21).map do |i|
needle='a'*(2**(i-1)) + 'b'
haystack = 'a' * (2**i)
a = Time.now; haystack.include?(needle); b=Time.now
t1 = b-a
a = Ti... -
08:45 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Looking at how Ruby determines the filesystem encoding:
http://rxr.whitequark.org/mri/source/encoding.c#1267
static int enc_set_filesystem_encoding(void)
~~~
1266 char cp[sizeof(int) * 8 / 3 + 4];
1267 snprintf(cp, sizeo... -
08:30 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Thomas Thomassen wrote:
> If I need to represent a file name in the UI some way, or write to file, in a different encoding then I can do the appropriate transposing. But I don't see any reason why Ruby's file related functions under Win... -
07:46 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Usaku NAKAMURA wrote:
> But, the first case, the encoding of __FILE__ should be Windows-1252 (filesystem encoding)
> ...
Seeing how the Windows file system can use Unicode characters I would expect __FILE__ to be unicode encoded. Even ... -
06:38 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- The encoding of the results of Dir.glob are the same encoding with it's parameter.
So, there is no bug about the second case.
But, the first case, the encoding of __FILE__ should be Windows-1252 (filesystem encoding)
or UTF-8 (scrip... -
05:47 PM Feature #9713 (Feedback): __FILE__ return unexpected encoding - breaks Dir.glob
- **C:/てすと/FILE.rb:**
~~~
# encoding: UTF-8
puts "Encoding.find 'filesystem': #{Encoding.find('filesystem').inspect}"
puts "Encoding.find 'locale': #{Encoding.find('locale').inspect}"
puts "Encoding.default internal: #{Encoding.defa... -
07:40 PM Bug #9712: Dir.entries replace Unicode character with questionmarks
- Usaku NAKAMURA wrote:
> check Dir.entries('Foo', encoding: 'utf-8')
Ah, well that worked. I'd been referring to the Ruby 2.0.0 docs where this argument is missing:
http://www.ruby-doc.org/core-2.0/Dir.html#method-c-entries
But wh... -
06:30 PM Bug #9712 (Rejected): Dir.entries replace Unicode character with questionmarks
- check Dir.entries('Foo', encoding: 'utf-8')
-
03:46 PM Bug #9712 (Closed): Dir.entries replace Unicode character with questionmarks
- My basis when testing this is that I have a computer with English OS - codepage Windows-1252. The tests might yield different result if the Windows codepage is different - so please pay attention to that if you are unable to reproduce.
... -
06:50 PM Bug #1685 (Closed): Some windows unicode path issues remain
- This ticket is too old and too various problems.
Now Thomas investigates many things and is making some new tickets. (Thank you!)
Please refer to them from now on. -
03:13 PM Bug #9675: Marshal.load fails with recursive structures and user defined hash method
- There is no documentation for `hash` that if you override it, you should not use instance variables. Either this needs to be prevented by ruby, or the documentation needs to be updated. The actual case that triggered this was `ActiveReco...
-
12:59 PM Feature #9711 (Closed): Remove test-unit and minitest from stdlib.
- ref. #9660
We are hard to maintain test-unit and minitest for standard library.
I poropose to remove to their from stdlib.
see also my patches: https://github.com/hsbt/ruby/compare/extracted-test-suite?expand=1
my solution is t... -
12:14 PM Bug #9697 (Closed): rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- Applied in changeset r45530.
----------
* ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM.
Reported by Saravana kumar. [ruby-core:61820] [Bug #9697]
Fixed by Heesob Park. [ruby-core:61868] -
12:14 PM Revision 1aa54beb (git): * ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM.
- Reported by Saravana kumar. [ruby-core:61820] [Bug #9697]
Fixed by Heesob Park. [ruby-core:61868]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:23 AM Bug #9699: Cannot require .so file on Windows if the file path is unicode (Includes patch)
- Can this patch be back ported to Ruby 2.1 or 2.0?
-
08:41 AM Bug #9710 (Closed): __builtin_setjmp/longjmp causes SEGV with mingw
- Now `__builtin_setjmp/__builtin_longjmp` are used with x64-mingw.
ruby 2.2.0dev (2014-04-07 trunk 45529) [x64-mingw32]
gcc version 4.8.2 20130712 (prerelease) (Built by MinGW-builds project)
.ext/include/x64-mingw32/ruby/config.... -
07:00 AM Bug #9709 (Closed): Large string causes SEGV with x64-mingw32
- Creating large string causes SEGV with x64-mingw32 on Windows.
test.rb
~~~
A = ""
1000000.times do |i|
A << "a" * 100000
end
~~~
gdb backtrace of `./miniruby test.rb`
~~~
Program received signal SIGSEGV, Segmentation ... -
06:10 AM Bug #9693: \x{} in regexp
- なぜ OnigSyntaxRuby に ONIG_SYN_OP_ESC_X_BRACE_HEX8 が含まれているのか謎ですが、
挙動・仕様としてはそのままでいいんじゃないでしょうか。
"\x{a}" も許されてないし。
また、これを外したからといって最適化で消えるようになる気もあんまりしないので、気分の問題ですかねぇ。
消してもいいとは思うのでコミットしたい場合はしてくださいですが、した場合はupstreamへの反映をよろしくお願いします。
https:/...