Project

General

Profile

Activity

From 04/21/2015 to 04/27/2015

04/27/2015

11:47 PM Bug #11103: Reassignment in if block that is not ran, causes variable to become nil
Ruby is behaving as it should here. Your confusion is between local variables and method calls.
Before that 'if' blo...
recursive-madman (Recursive Madman)
10:06 PM Bug #11103 (Rejected): Reassignment in if block that is not ran, causes variable to become nil
I came across a situation where, when reassigning a variable, inside an if statement that is evaluated to false, caus... sigsve (Sigurd Berg Svela)
10:41 PM Bug #10967: Is "warning: private attribute?" wrong?
It's valid in your case, but may not in others.
It doesn't sound enough reason to remove that warning to me.
If y...
nobu (Nobuyoshi Nakada)
09:34 PM Bug #10871: Sclass thread unsafe due to CREF sharing
Koichi, I think a workaround patch to be applied to 2.2 and 2.1 would be very useful. evanphx (Evan Phoenix)
07:28 PM Feature #10600: [PATCH] Queue#close
clojure's core.async has close! which implements the same semantics proposed by this issue.
https://clojure.github...
djellemah (John Anderson)
06:14 PM Bug #11102 (Closed): Segmentation fault while running the db:create command in Rails
/var/www/src/thoughtstream-user_management/vendor/bundle/ruby/2.1.0/bin/rake: [BUG] Segmentation fault at 0x000000000... Bion (Bion Johnson)
04:48 PM Bug #11101: Forking is killing my memory when running GC
Is this with or without jemalloc?
In either case, try disabling transparent hugepages in Linux, THP causes
some pr...
normalperson (Eric Wong)
03:13 PM Bug #11101 (Closed): Forking is killing my memory when running GC

Memory is duplicated when forking and calling GC in 2.2.1. The main issue here is that we are operating with huge d...
tkalmus (Thomas Kalmus)
10:15 AM Bug #10850: BigDecimal division incorrect
Maybe you have an advice for the following I am thinking to use.
I could convert BigDecimal to Rational, do the ca...
Elyasin (Elyasin Shaladi)
07:04 AM Feature #11100 (Open): Permit multiple captures with String[Regexp, ...]
I propose that if we are able to conveniently grab one capture with this method, we ought to be able to grab more tha... 0x0dea (D.E. Akers)

04/26/2015

09:48 PM Bug #11099 (Rejected): def assert method raise syntax error
It's a spec, `and` has lower precedence. nobu (Nobuyoshi Nakada)
02:27 PM Bug #11099: def assert method raise syntax error
~~~ruby
class AsrErr < StandardError
end
def asr(r, msg=nil, *args, &blk)
unless r
if msg
raise...
roroco (roro co)
02:24 PM Bug #11099 (Rejected): def assert method raise syntax error
In ruby 2.2, when i try
~~~ruby
def assert(*args, &blk)
end
assert(a > 0 and a < 1)
~~~
it will raise
...
roroco (roro co)
12:43 PM Bug #11096: 'private' access control bypassed when ||= is used
Seems opposite of [Bug #10060]. nobu (Nobuyoshi Nakada)
04:07 AM Bug #11097 (Feedback): File names with wildcards do not expand if a path is used
Is it same as #11089? nobu (Nobuyoshi Nakada)
04:02 AM Bug #11095 (Closed): severe performance regression since r50336
nobu (Nobuyoshi Nakada)
12:16 AM Revision 69ba9302 (git): gc.c: event hook thread argument
* gc.c (gc_event_hook_body): move th to an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50395 b2dd03c...
nobu (Nobuyoshi Nakada)

04/25/2015

11:55 PM Revision dc513a13 (git): vm_trace.c: unified a_call and a_return
* vm_trace.c (symbol2event_flag): use a uniform macro for a_call
and a_return too.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
11:45 PM Revision 89a2fd52 (git): vm_trace.c: not a static variable
* vm_trace.c (symbol2event_flag): should not be static but a mere
local variable, so that unnecessary race conditio...
nobu (Nobuyoshi Nakada)
10:37 PM Feature #11094 (Closed): Remove traces of 6-byte UTF-8
Applied in changeset r50392.
----------
enc/utf_8.c: limit UTF-8
* enc/utf_8.c (code_to_mbclen, code_to_mbc): rejec...
nobu (Nobuyoshi Nakada)
04:42 AM Feature #11094: Remove traces of 6-byte UTF-8
And `pack("U")` and `unpack("U")`?
Also rubyspec seems to fail.
~~~
Array#pack with format 'U' encodes values ...
nobu (Nobuyoshi Nakada)
10:36 PM Revision 859f88f3 (git): enc/utf_8.c: limit UTF-8
* enc/utf_8.c (code_to_mbclen, code_to_mbc): reject values larger
than UTF-8 max codepoints. [Feature #11094]
git...
nobu (Nobuyoshi Nakada)
10:19 PM Revision 4489c136 (git): vm_trace.c: indent
* vm_trace.c (thread_tracepoint): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50391 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
10:19 PM Revision c95b788a (git): vm_trace.c: unnecessary method undef
* vm_trace.c (Init_vm_trace): remove unnecessary method undef,
that is overridden just after it.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
08:16 PM Revision 8bce956b (git): * 2015-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:16 PM Revision 514d1551 (git): ChangeLog: fix issue number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:21 PM Feature #11098 (Feedback): Thread-level allocation counting
This patch introduces a thread-local allocation count. Today you can get a
global allocation count from `GC.stat`, b...
jasonrclark (Jason Clark)
02:33 PM Bug #11092: rdoc-generated *.gz files contain references to full path of the original, breaking rpmbuild
I submitted this PR [1] a while ago to fix this issue.
[1] https://github.com/rdoc/rdoc/pull/341
vo.x (Vit Ondruch)
05:26 AM Bug #11080 (Closed): [PERF] bm_so_concatenate.rb regression
Applied in changeset r50386.
----------
revert r50336
* string.c (str_buf_cat): expand later so that the buffer can...
nobu (Nobuyoshi Nakada)
05:26 AM Revision f67703f8 (git): * 2015-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:26 AM Revision 2b0a6f47 (git): revert r50336
* string.c (str_buf_cat): expand later so that the buffer can be
larger for further use. [Bug #11080] [Bug #11080]...
nobu (Nobuyoshi Nakada)

04/24/2015

10:18 PM Feature #10917: Add GC.stat[:total_time] when GC profiling enabled
Any thoughts on this patch Koichi? It just adds a `GC.stat` counter, and doesn't move anything outside the current `G... jasonrclark (Jason Clark)
02:52 PM Revision 9955bb01 (git): Import ruby-electric.el version 2.2.3 from upstream
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:48 PM Revision 347d44ca (git): * win32/win32.c: restore a license comment accidentally removed at r50381.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:31 PM Bug #11097 (Closed): File names with wildcards do not expand if a path is used
File name expansion using wildcards does not work when a path is included. This fails in 2.2.2, but works in 2.1.6.
...
jcostantino (John Costantino)
01:37 PM Bug #11096 (Closed): 'private' access control bypassed when ||= is used
Problematic code
~~~ruby
class A
def aa
self.bb ||= 0
end
private
def bb
1
end
end
...
sokol (Piotr Sokołowski)
12:38 PM Feature #11052: [PATCH] Blockless Pathname#ascend and #descend return Enumerator
Apologies if you're busy and I should just wait (happy to do it!), but it's my first non-doc contribution and I'm not... chastell (Piotr Szotkowski)
11:18 AM Bug #11095 (Closed): severe performance regression since r50336
sparc64-solaris2.10 にて、r50336 以降、
Rubyビルド時の
~~~
Generating RI format into /XXXXX/.ext/rdoc...
~~~
および、boots...
ngoto (Naohisa Goto)
10:11 AM Feature #11094 (Closed): Remove traces of 6-byte UTF-8
UTF-8 was originally defined with a codespace up to 31 bits, and therefore with up to 6 bytes per character. Since qu... duerst (Martin Dürst)
09:26 AM Bug #11078: 2.2 String#unicode_normalize method does not appear in generated API docs
I have assigned this bug to Eric in order to get information on how to proceed from him; assigning it back to me with... duerst (Martin Dürst)
08:34 AM Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
ruby_2_1 r50383 merged revision(s) 49154,49155,49156,49159. usa (Usaku NAKAMURA)
08:34 AM Revision 976bf35c (git): merge revision(s) 49154,49155,49156,49159: [Backport #10384] [Backport #11085]
ext/-test-/dln/empty: move from ext/-test-/win32/dln
* test/fiddle/test_handle.rb: fix syntax.
git-svn-id: ...
U.Nakamura
08:25 AM Feature #9725: Do not inspect NameError target object unless verbose
Building the message at creation time does not reduce memory usage and CPU time at all, just makes it earlier.
And `...
nobu (Nobuyoshi Nakada)
05:43 AM Feature #9725: Do not inspect NameError target object unless verbose
We had another memory issue in the past, and this behavior was the fix for that issue.
So both adding and removing c...
matz (Yukihiro Matsumoto)
06:16 AM Bug #11091 (Closed): Symbolized Strings May Break Keyword Arguments
nobu (Nobuyoshi Nakada)
06:02 AM Feature #11090: Enumerable#each_uniq and #each_uniq_by
https://github.com/ruby/ruby/compare/trunk...nobu:feature/11090-Enumerable%23each_uniq
https://github.com/ruby/ruby/...
nobu (Nobuyoshi Nakada)
04:16 AM Revision d6d393d2 (git): win32.c: fix for mingw
* win32/win32.c (_pioinfo): necessary on mingw too.
* win32/win32.c (init_stdhandle): remove stale function for
Bo...
nobu (Nobuyoshi Nakada)
01:44 AM Revision c15a74f3 (git): * win32/win32.c (rb_w32_{getc,putc}): removed. they are needed for old
ruby (before 1.8), but not now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50381 b2dd03c8-39d4-4d8f-98ff-823...
U.Nakamura

04/23/2015

11:41 PM Revision 7bf5ba1b (git): * win32/win32.c: remove bcc related code.
* include/ruby/win32.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50380 b2dd03c8-39d4-4d8f-98ff-823fe...
naruse (Yui NARUSE)
11:41 PM Revision 9892a4b1 (git): * win32/win32.c (rb_acrt_lowio_lock_fh): wrap _pioinfo(i)->lock.
* win32/win32.c (rb_acrt_lowio_unlock_fh): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50379 b2dd03c8-3...
naruse (Yui NARUSE)
11:19 PM Bug #11093 (Rejected): Segmentation fault with Ruby 2.1.6 and ffi 1.9.8
```
7fcd6ba82000-7fcd6bca7000 r-xp 00000000 fd:00 400906 /opt/ruby-2.0.0-247/lib/libruby.so.2.0.0
7fcd6bca7000-7fcd...
hsbt (Hiroshi SHIBATA)
11:01 PM Bug #11093 (Rejected): Segmentation fault with Ruby 2.1.6 and ffi 1.9.8
This is my first Ruby bug report, please forgive me it this is not the proper place for this.
$ ruby -rffi -e 'put...
dserodio (Daniel Serodio)
10:58 PM Revision 3446537f (git): * win32/win32.c (_filbuf): msvc14 doesn't have it, use _fgetc_nolock.
* win32/win32.c (_flsbuf): msvc14 doesn't have it, use _fputc_nolock.
* win32/win32.c (vcruntime_file): define vcrun...
naruse (Yui NARUSE)
10:58 PM Revision cc622e2a (git): * win32/win32.c (dupfd): use _set_osfhnd.
* win32/win32.c (rb_w32_wopen): use _set_osflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50377 b2dd03c8-3...
naruse (Yui NARUSE)
08:40 PM Revision 62c2b2e8 (git): * gc.c (gc_mark_roots): fox to work PRINT_ROOT_TICKS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:51 PM Revision 4180eb5d (git): * 2015-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:51 PM Revision 1e417246 (git): * win32/Makefile.sub: MSVC14 have struct timespec.
* win32/rtname.cmd: support vcruntime140.dll.
* time.c (localtime_with_gmtoff_zone): MSVC14 doesn't have tzname and
...
naruse (Yui NARUSE)
05:33 PM Bug #11092 (Rejected): rdoc-generated *.gz files contain references to full path of the original, breaking rpmbuild
Trying to build some RPMs here from GEMs I'm seeing the following complaint from rpmbuild-utility:
+ /usr/lib/rpm/...
UnitedMarsupials (Міша (null))
04:17 PM Feature #9725: Do not inspect NameError target object unless verbose
I think we're going to have to make this change unilaterally in JRuby.
This behavior leads to unpredictable system...
headius (Charles Nutter)
03:22 PM Bug #11091: Symbolized Strings May Break Keyword Arguments
It appears to be fixed in 2.3-dev (`trunk`). ds-makandra (Dominik Schöler)
02:27 PM Bug #11091 (Closed): Symbolized Strings May Break Keyword Arguments
See https://makandracards.com/makandra/32333-bugreport-symbolized-strings-break-keyword-arguments-in-ruby-2-2.
---...
ds-makandra (Dominik Schöler)
01:17 PM Revision 692e5959 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:45 AM Feature #11090 (Closed): Enumerable#each_uniq and #each_uniq_by
currently if you want to iterate the first uniq elements you either need to call `uniq` and create a big array or you... Hanmac (Hans Mackowiak)
04:02 AM Bug #11089 (Closed): 2.2.2p95 crash on Windows when passed glob patterns on command line
nobu (Nobuyoshi Nakada)
02:02 AM Bug #11089 (Closed): 2.2.2p95 crash on Windows when passed glob patterns on command line
Command:
~~~
mkdir foo
ruby -e "p ARGV" foo/*
ruby -e "p ARGV" foo/**
ruby -e "p ARGV" foo/**/*
~~~
Resul...
larsch (Lars Christensen)
02:36 AM Bug #11086 (Closed): Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
Applied in changeset r50372.
----------
vm_eval.c: allow symbols to instance_eval/exec
* vm_eval.c (rb_obj_instance...
nobu (Nobuyoshi Nakada)
02:35 AM Revision c2a04d87 (git): vm_eval.c: allow symbols to instance_eval/exec
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow
symbols to just instance_eval/exec, execept for def...
nobu (Nobuyoshi Nakada)
01:01 AM Revision 3badcfc1 (git): * 2015-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 AM Revision bd29cec6 (git): * lib/delegate.rb: fix a typo.
[fix GH-881][ci skip] Patch by @Zorbash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50370 b2dd03c8-39d4-4d8f-9...
hsbt (Hiroshi SHIBATA)
12:35 AM Bug #11088 (Rejected): On Exception too expensive inspect is called on recursive object graph with 3000 elements in it, swallows memory and ultimately doesn't deliver exception
I have tested with simple cases where the dumped structure is not recursive and it works fine. So I attached a non-wo... kaiserprogrammer (Jürgen Bickert)

04/22/2015

07:59 PM Feature #11087: Method to retrieve {local,global,instance} variables as a Hash
We could define something like that code:
```ruby
class Object
def instance_values
instance_variables.inj...
ko1 (Koichi Sasada)
07:08 PM Feature #11087 (Feedback): Method to retrieve {local,global,instance} variables as a Hash
Rails implemented [Object#instance_values](http://api.rubyonrails.org/classes/Object.html#method-i-instance_values) w... chancancode (Godfrey Chan)
02:01 PM Bug #11086: Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
I added a patch with a failing test. ThijsWouters (Thijs Wouters)
10:04 AM Bug #11086 (Closed): Symbol#instance_eval gives 'TypeError: can't define singleton' when coerced with String#to_sym
When I coerce a String into a Symbol with String#to_sym, a call to Symbol#instance_eval fails with 'TypeError: can't ... ThijsWouters (Thijs Wouters)
09:44 AM Feature #11077 (Closed): Add IMAP MOVE support
Applied in changeset r50369.
----------
* lib/net/imap.rb (move, uid_move): support the MOVE command defined
in RF...
shugo (Shugo Maeda)
06:20 AM Feature #11077 (Assigned): Add IMAP MOVE support
hsbt (Hiroshi SHIBATA)
09:43 AM Revision c8cb2598 (git): * lib/net/imap.rb (move, uid_move): support the MOVE command defined
in RFC6851. Patch by ojab ojab.
[ruby-core:68960] [Feature #11077]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
shugo (Shugo Maeda)
03:48 AM Revision 85147e90 (git): * test/ruby/test_object.rb: add tests for Kernel#String and Kernel#Array.
[fix GH-879][fix GH-880] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50368 b2dd03c8-39d4-4d8...
Kazuki Tanaka

04/21/2015

06:45 PM Bug #11045 (Closed): ruby/test_m17n_comb.rb test_str_crypt tests platform-specific crypt behavior
Fixed by r50366. headius (Charles Nutter)
06:44 PM Revision b27c5206 (git): * 2015-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:44 PM Revision 2d1f3ed1 (git): * test/ruby/test_m17n_comb.rb: test_str_crypt split into strict
and non-strict versions to allow masking out non-strict when
glibc version cannot be determined (#11045).
git-svn-...
headius (Charles Nutter)
01:59 PM Feature #11084: Use rb-readline instead of ext/readline
i don't know about, the binding/implementation using the C lib might be faster and have more features
so using a pur...
Hanmac (Hans Mackowiak)
01:48 PM Feature #11084: Use rb-readline instead of ext/readline
I'm neutral about this issue, but I wonder why you don't simply unbundle ext/readline instead of replacing it by rb-r... usa (Usaku NAKAMURA)
01:30 PM Feature #11084: Use rb-readline instead of ext/readline
I missed to attach patch. hsbt (Hiroshi SHIBATA)
12:43 PM Feature #11084 (Rejected): Use rb-readline instead of ext/readline
Users who want to build ruby needs to prepare readline library.
Example for https://github.com/sstephenson/ruby-bui...
hsbt (Hiroshi SHIBATA)
12:07 PM Feature #11083 (Closed): Gemify net-telnet
net-telnet has no maintainer. but some issue is available.
ref. #8837 #8668 #8324
I propose to gemify net-telnet...
hsbt (Hiroshi SHIBATA)
11:59 AM Feature #11082 (Closed): Remove condition of RUBY_VERSION <= 1.9
I found needless condition at pathname.rb
Ruby trunk should support only latest version of ruby :)
hsbt (Hiroshi SHIBATA)
11:46 AM Revision 4bd72762 (git): * test/ruby/test_object.rb: renamed tests to explicitly class name.
[fix GH-877] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50365 b2dd03c8-39d4-4d8f-98ff-823fe...
hsbt (Hiroshi SHIBATA)
03:52 AM Feature #11081 (Closed): [PATCH] stdlib: use IO#wait_*able instead of IO.select when possible
In case a process encounters high-numbered FDs, this allows
consistent performance on systems with ppoll support.
[...
normalperson (Eric Wong)
02:46 AM Bug #11080 (Closed): [PERF] bm_so_concatenate.rb regression
http://rubybench.org/ruby/ruby/commits?result_type=so_concatenate&display_count=1000
Hi, I spotted a regression on...
tgxworld (Guo Xiang Tan)
 

Also available in: Atom