Project

General

Profile

Activity

From 12/07/2013 to 12/13/2013

12/13/2013

11:58 PM Bug #9247 (Closed): Bugs in socket.rb (exception retrieval)
Ruby 2.1 (trunk) 2.0 and 1.9.3 both has a bug to retrieve exception.
In the following code, opened socket is always ...
ko1 (Koichi Sasada)
11:22 PM Revision 967677ab (git): * lib/uri/common.rb: [DOC] Fix a broken link by @namusyaka [fix GH-478]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:29 PM Bug #7842 (Closed): An alias of a "prepend"ed method skips the original method when calling super
This issue was solved with changeset r44175.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:29 PM Bug #9236 (Closed): include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
This issue was solved with changeset r44175.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
10:29 PM Bug #7993 (Closed): owner of methods defined after using Module#prepend
This issue was solved with changeset r44175.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
04:59 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
2013/12/13 Zachary Scott <[email protected]>:
> Only because I can't test it
I understand you. But nobody can test all t...
phasis68 (Heesob Park)
04:53 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
Only because I can't test it zzak (zzak _)
12:26 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
Why you are reluctant to apply my patch?
In Windows 7, it is a latent bug.
It is not causing any incompatibility bu...
phasis68 (Heesob Park)
11:19 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
Can we setup a build for that? Or perhaps we can set it up on travis? zzak (zzak _)
11:09 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
rubyci.org platform is Windows 7.
You can see the segfault on 64 bit Windows 8.x with x64 VC++ 2012 or 2013 compil...
phasis68 (Heesob Park)
12:03 AM Bug #7492 (Feedback): Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
zzak (zzak _)
12:03 AM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
I don't see the segfault on rubyci.org[1] either, can anyone reproduce this?
1: http://ruby-mswin.cloudapp.net/vc1...
zzak (zzak _)
04:32 PM Revision b2f9a0f5 (git): eval.c: reuse tag
* eval.c (rb_rescue2): reuse tags pushed for body proc to protect
rescue proc too.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
04:19 PM Revision 71286e37 (git): * gc.c (wmap_final_func): Bugfix. Should update *value to new pointer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
04:11 PM Revision 4fd53e47 (git): * ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because
it may be set before the body.
Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247]
* lib/cgi/core.rb: Ditto.
...
akr (Akira Tanaka)
03:44 PM Revision 42ae24a6 (git): * internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117, which cause compile error on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
03:33 PM Revision 11fe8c97 (git): merge revision(s) 41427:
test_pty.rb: reap zombie
* test/test_pty.rb (test_cloexec): reap zombie than leaving to
detaching thread.
...
nagachika (Tomoyuki Chikanaga)
03:22 PM Revision 26d147c7 (git): thread.c: reduce tags and stack
* thread.c: (exec_recursive): use rb_catch_protect() instead of
rb_catch_obj() and PUSH_TAG(), and reduce pushing t...
nobu (Nobuyoshi Nakada)
03:18 PM Revision 569ab987 (git): * 2013-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision b7c2f5bc (git): proc.c: fix inherited owner
* proc.c (mnew_from_me): achieve the original defined_class from
prepended iclass, to fix inherited owner.
* proc.c...
nobu (Nobuyoshi Nakada)
02:55 PM Bug #9211 (Third Party's Issue): Bug in can_detect_signals? in test/rake/test_rake_functional.rb
Hello,
Thank you for your report.
rake has upstream repository. Please report to there
https://github.com/jimw...
nagachika (Tomoyuki Chikanaga)
02:50 PM Revision 537f3276 (git): test_weakmap.rb: fix test
* test/ruby/test_weakmap.rb (test_include?): create target object in a
block, so that collected soon as possible.
...
nobu (Nobuyoshi Nakada)
02:20 PM Revision 36e09fc2 (git): test/ruby: better assertions
* test/ruby: use better assertions instead of mere assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44177 b...
nobu (Nobuyoshi Nakada)
02:03 PM Revision 5bff6435 (git): test_weakmap.rb: fix test
* test/ruby/test_weakmap.rb (test_include?): Object.new does not
excute the block, use tap.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
01:32 PM Feature #8960 (Feedback): Add Exception#backtrace_locations
Now, I implemented half-baked feature (read-only backtrace locations).
How about to continue how to change it?
ko1 (Koichi Sasada)
01:31 PM Feature #8960 (Closed): Add Exception#backtrace_locations
This issue was solved with changeset r44170.
Charles, thank you for reporting this issue.
Your contribution to Ruby i...
ko1 (Koichi Sasada)
12:19 PM Feature #8960: Add Exception#backtrace_locations
What will be returned from an exception set by Exception#set_backtrace in JRuby? nobu (Nobuyoshi Nakada)
01:29 PM Revision b71956d1 (git): proc.c, vm_method.c: fix super and alias
* proc.c (method_owner): return the class where alias is defined, not
the class original method is defined.
* vm_me...
nobu (Nobuyoshi Nakada)
01:29 PM Revision f1f609bc (git): test_weakmap.rb: fix test
* test/ruby/test_weakmap.rb (test_include?): isolate weak
referenced object.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
12:02 PM Bug #9222 (Closed): xmalloc usage during GC_START event can cause confusing assertion failure
This issue was solved with changeset r44166.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
ko1 (Koichi Sasada)
09:18 AM Revision 3ac0ec4e (git): test/ruby: better assertions
* test/ruby: use better assertions instead of mere assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44173 b...
nobu (Nobuyoshi Nakada)
09:17 AM Revision 287d2ada (git): assertions.rb: last match in assert_raise_with_message
* lib/test/unit/assertions.rb (assert_raise_with_message): set
caller's last match if expected is a Regexp.
* test...
nobu (Nobuyoshi Nakada)
07:30 AM Revision 3ba2006a (git): gc.c: GC.latest_gc_info reports most interesting major_by flag
* gc.c (gc_info_decode): Use :major_by=>:nofree as fallback reason
when other trigger conditions are presen...
tmm1 (Aman Karmani)
04:31 AM Revision 0aed7c68 (git): * error.c: add Exception#backtrace_locations.
Now, there are no setter and independent from Exception#backtrace.
[Feature #8960]
* eval.c (setup_exception): set ...
ko1 (Koichi Sasada)
03:53 AM Revision 4547d773 (git): eval.c: clear cache
* eval.c (rb_using_module): clear method cache after applying
refinements.
* eval.c (mod_using, top_using): remove...
nobu (Nobuyoshi Nakada)
03:53 AM Revision b07bdbc2 (git): eval.c: indent
* eval.c (using_module_recursive): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44168 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
03:23 AM Revision f2c31939 (git): vm.c: reduce clearing method cache
* vm_method.c (rb_add_method, rb_alias): rb_method_entry_set()
already clears method cache.
* vm_method.c (rb_expo...
nobu (Nobuyoshi Nakada)
03:02 AM Revision c7005118 (git): * gc.c (garbage_collect_body): use rb_bug() and explicit error message
instead of using assert().
[Bug #9222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44166 b2dd03c8-39d4-4d8...
ko1 (Koichi Sasada)
02:53 AM Revision 34776709 (git): * array.c: fix comment to remove the word "shady".
* variable.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:38 AM Revision d8f619e1 (git): * lib/net/pop.rb: [DOC] Fix typo
s/deguging/debugging/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44164 b2dd03c8-39d4-4d8f-98ff-823f...
matsuda (Akira Matsuda)
02:38 AM Revision 55a77f29 (git): * gc.c: rename *shady* func/macros.
* RVALUE_RAW_SHADY() -> RVALUE_WB_PROTECTED_RAW()
* RVALUE_SHADY() -> RVALUE_RAW_SHADY()
* rgengc_check_s...
ko1 (Koichi Sasada)
02:31 AM Bug #9246 (Closed): NoMemoryError is occurred by simple addition of BigDecimal
I think the following case should raise Overflow exception.
$ ruby -rbigdecimal -ve 'p BigDecimal("1E1024819115206...
mrkn (Kenta Murata)
02:21 AM Revision 94bc0647 (git): * doc/contributing.rdoc: [DOC] Fix typo by @dvsuresh [Fixes GH-476]
https://github.com/ruby/ruby/pull/476
[ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44162 b2dd03c8-39d...
matsuda (Akira Matsuda)
02:18 AM Bug #7371 (Closed): Fix undefined overflow checking in bigdecimal
I think this issue had been fixed by akr in r40214. mrkn (Kenta Murata)
02:08 AM Bug #7458 (Closed): Depending on value of BigDecimal::limit, addition can give inaccurate results
I've fix this issue in r44153. mrkn (Kenta Murata)
01:36 AM Revision c6d03509 (git): proc.c: local variable
* proc.c (method_inspect): use a local variable instead of repeating
dereferences.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
01:36 AM Revision 2e5422a2 (git): .gdbinit: initialize
* .gdbinit (ruby_gdb_init): initialize enums.
* .gdbinit (rb_id2name): initialize debug info too.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
01:04 AM Revision d35e7b5b (git): * lib/rubygems/request_set/lockfile.rb: Import RubyGems master a8d0669
with a 1.8.7 compatibility fix.
* test/rubygems/test_gem_request_set_lockfile.rb: ditto.
git-svn-id: svn+ssh://ci....
drbrain (Eric Hodel)
01:03 AM Bug #9178: Segfault when misusing Enumerable#chunk with #to_enum and #with_index
r39722 was backported to ruby_2_0_0 branch at r44150. nagachika (Tomoyuki Chikanaga)
12:56 AM Revision 955a6258 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:51 AM Revision 8fadbe5f (git): * lib/rubygems: Update to RubyGems master ddac51f. Changes:
* Allow override for the shared gem installation directory for
rubygems packagers.
* Lock gem cache files for ...
drbrain (Eric Hodel)

12/12/2013

11:19 PM Revision c2dcb947 (git): object.c: use RCLASS_M_TBL_WRAPPER for equality checks
* class.c (include_modules_at): use RCLASS_M_TBL_WRAPPER for
equality checks. this avoids an unnecessary deference ...
tmm1 (Aman Karmani)
08:47 PM Bug #9245 (Closed): Kernel::system gives wrong output for utf-8 characters on windows under utf-8 console
Under windows console running in utf-8 mode (chcp 65001), it is expected to print utf-8 encoded characters in a scrip... leifcr (Leif Ringstad)
07:41 PM Bug #9244 (Rejected): unexpected behaviour of 'require' when $LOAD_PATH gets changed
For the purpose of reproducing the error, let's assume that I have two folders ```a``` and ```b``` which both contain... sylvain.joyeux (Sylvain Joyeux)
05:08 PM Revision f27509fd (git): Append [ruby-core:50269] [Bug #7458] in the previous Changelog entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
05:02 PM Revision b4e773bb (git): * 2013-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:02 PM Revision df333251 (git): * ext/bigdecimal/bigdecimal.c (VpSetPTR): fix for limitation of the resulting
precision.
* test/bigdecimal/test_bigdecimal.rb (test_limit): add tests for the above
change.
git-svn-id: svn+ss...
Kenta Murata
05:02 PM Revision 7d3538db (git): * ext/bigdecimal/bigdecimal.c (VpAddAbs): put out a conditional branch from
the inside of while-loop.
* ext/bigdecimal/bigdecimal.c (VpSubAbs): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Kenta Murata
05:02 PM Revision 27d53fb5 (git): * ext/bigdecimal/bigdecimal.c (VPrint): be a static function, support another
dump formats, and add more information of the given bigdecimal.
* ext/bigdecimal/bigdecimal.h: ditto.
git-svn-id: s...
Kenta Murata
05:00 PM Feature #8257: Exception#cause to carry originating exception along with new one
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> I believe you think I should write this instead:
>
> raise WrappedEx...
nobu (Nobuyoshi Nakada)
12:33 AM Feature #8257: Exception#cause to carry originating exception along with new one
I believe you think I should write this instead:
raise WrappedException.new("message"), cause: ex
I wouldn't mi...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:28 AM Feature #8257: Exception#cause to carry originating exception along with new one
Yes, raising it too. rosenfeld (Rodrigo Rosenfeld Rosas)
04:31 PM Bug #9223 (Assigned): Hash#reject!.size does not reflect changes to the hash
Hello,
r44137 introduce incompatible spec change of Hash#reject.
After r44137, Hash#reject return new hash and do...
nagachika (Tomoyuki Chikanaga)
04:02 PM Revision de139757 (git): merge revision(s) 39722: [Backport #9178]
* enumerator.c (enumerator_with_index): try to convert given offset to
integer. fix bug introduced in r3959...
nagachika (Tomoyuki Chikanaga)
01:19 PM Bug #9242: Rdoc detection of aliases
There really shouldn't be a difference between using `rb_define_alias` and using the same `rb_define_method`.
In R...
marcandre (Marc-Andre Lafortune)
01:09 PM Bug #9242: Rdoc detection of aliases
As Hanmac noted, they aren't real aliases:
$ grep rb_ary_collect array.c
rb_ary_collect(VALUE ary)
rb_ary_collec...
drbrain (Eric Hodel)
06:53 AM Bug #9242 (Assigned): Rdoc detection of aliases
Alias detection was updated in the pre-release of RDoc 4.1.0, can you try to test it?
If it's these methods are us...
zzak (zzak _)
06:10 AM Bug #9242: Rdoc detection of aliases
Array#map and Array#collect are not real aliases
both methods are defined with the excact same method body function ...
Hanmac (Hans Mackowiak)
04:46 AM Bug #9242 (Closed): Rdoc detection of aliases
The online doc appears to be making bad detection of aliases.
For example, Array#map and Array#collect are not mar...
marcandre (Marc-Andre Lafortune)
07:43 AM Revision 89b85022 (git): gc.c: no deletion in wmap_mark
* gc.c (wmap_mark): disable deletion of dead objects by default,
so that WeakMap can be non-shady.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
07:21 AM Revision 8920ac29 (git): * doc/contributing.rdoc: [DOC] Fix typo in comments by @dvsuresh [Fixes GH-475]
* ext/openssl/ossl_ssl.c: ditto.
* test/ruby/test_m17n.rb: ditto.
https://github.com/ruby/ruby/pull/475
[ci-skip]
...
matsuda (Akira Matsuda)
06:51 AM Bug #9243 (Assigned): DOC fix example key exchane using DH
Thanks for the report! I'll look into it soon. zzak (zzak _)
05:47 AM Bug #9243 (Closed): DOC fix example key exchane using DH
Please apply patch file, thanks
--
sandor
sz (Sandor Szücs)
06:17 AM Revision ba672b6d (git): * lib/resolv.rb: Fix typo in an error message
s/postive/positive/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matsuda (Akira Matsuda)
06:17 AM Revision 994bb6d3 (git): test_weakref.rb: use single level WeakRef
* test/test_weakref.rb (make_weakref): return single level
WeakRef, instead of multiple level, since the second lev...
nobu (Nobuyoshi Nakada)
06:05 AM Revision 11495338 (git): [DOC] Fix typo in docs/globals.rdoc by @dvsuresh [Fixes GH-474]
https://github.com/ruby/ruby/pull/474
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44145 b2dd03c8-39d4-4d8f-98f...
matsuda (Akira Matsuda)
04:43 AM Revision 3282b8d1 (git): gc.c: fix typo (RVALUE_OLDEGN_BITMAP -> RVALUE_OLDGEN_BITMAP)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
03:09 AM Revision a4b26274 (git): * lib/xmlrpc.rb: [DOC] fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:01 AM Revision 86e2038c (git): gc.c: live keys only
* gc.c (wmap_keys): return keys for live objects only, like as
wmap_values.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)

12/11/2013

09:08 PM Feature #8257: Exception#cause to carry originating exception along with new one
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> sometimes I need to wrap the original exception in some specific one.
...
nobu (Nobuyoshi Nakada)
08:14 PM Feature #8257: Exception#cause to carry originating exception along with new one
And sometimes a Runtime exception would be fine to me, so `raise "Some explanation", cause: ex` would be great, but s... rosenfeld (Rodrigo Rosenfeld Rosas)
08:09 PM Feature #8257: Exception#cause to carry originating exception along with new one
Actually, the only reason I don't use it is because it's not possible, but I'd most probably always send along the ca... rosenfeld (Rodrigo Rosenfeld Rosas)
01:23 PM Feature #8257: Exception#cause to carry originating exception along with new one
(2013/12/10 23:24), nobu (Nobuyoshi Nakada) wrote:
> Carelessly, I implemented `raise cause: ex` but not `Exceptio...
ko1 (Koichi Sasada)
07:56 PM Revision 58d50800 (git): * 2013-12-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:55 PM Revision e91ccb6c (git): * array.c: More doc examples for Array#{map|collect}{!} using both forms
* enum.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:53 PM Bug #9124: TestSocket errors in test-all on Arch 64-bit
Eric Wong <[email protected]> wrote:
> Eric Wong <[email protected]> wrote:
> > This will flow into the ...
normalperson (Eric Wong)
05:10 PM Bug #8886: TracePoint API inconsistence when raise used
Great, thanks a lot!! deivid (David Rodríguez)
05:08 PM Bug #8886: TracePoint API inconsistence when raise used
deivid (David Rodríguez) wrote:
> It doesn't make a lot of difference to me, so if this is actually spec, I agree wi...
ko1 (Koichi Sasada)
04:53 PM Bug #8886 (Closed): TracePoint API inconsistence when raise used
This issue was solved with changeset r44139.
David, thank you for reporting this issue.
Your contribution to Ruby is ...
ko1 (Koichi Sasada)
04:41 PM Bug #8886: TracePoint API inconsistence when raise used
It doesn't make a lot of difference to me, so if this is actually spec, I agree with keeping the current behaviour an... deivid (David Rodríguez)
04:34 PM Bug #8886: TracePoint API inconsistence when raise used
I asked Matz and he said "I prefer to remove `raise' line in backtrace".
So I will revert r44133 and introduce the f...
ko1 (Koichi Sasada)
04:08 PM Bug #8886: TracePoint API inconsistence when raise used
A bit strange for the following case?
----
raise("should not reach here")
#=>
ruby 2.1.0dev (2013-12-11 trunk ...
ko1 (Koichi Sasada)
04:06 PM Bug #8886 (Open): TracePoint API inconsistence when raise used
I committed it and rubyspec found an issue of incompatibility.
raise
#=>
ruby 2.1.0dev (2013-12-11 trunk 44136) ...
ko1 (Koichi Sasada)
12:39 PM Bug #8886 (Closed): TracePoint API inconsistence when raise used
This issue was solved with changeset r44133.
David, thank you for reporting this issue.
Your contribution to Ruby is ...
ko1 (Koichi Sasada)
11:50 AM Bug #8886: TracePoint API inconsistence when raise used
Sorry for long absence.
Your patch makes sense for me.
I'll apply it.
Thank you very much.
ko1 (Koichi Sasada)
03:49 PM Bug #9223: Hash#reject!.size does not reflect changes to the hash
r44047 introduced a small change in behavior. Before, reject would copy ivars and default proc into the return hash:
...
tmm1 (Aman Karmani)
03:38 PM Bug #9227 (Closed): use opt_aset ?
This issue was solved with changeset r44136.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
tmm1 (Aman Karmani)
01:00 PM Bug #9227: use opt_aset ?
OK. Please enable it. ko1 (Koichi Sasada)
12:57 PM Bug #9227: use opt_aset ?
I did some more microbenchmarks. In the Array#[Fixnum]= case, the new instruction makes a huge difference.
Before:...
tmm1 (Aman Karmani)
03:04 PM Bug #9079: Interpolated Symbol creates unnecessary intermediate String on the heap
Does it has huge impact?
It is easy to add an instruction (replace concatstrings to concatstrings_and_make_it_symbol...
ko1 (Koichi Sasada)
12:01 PM Bug #9236: include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
git bisect says this changed in r36595, if it helps. matthewd (Matthew Draper)
12:22 AM Bug #9236: include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
=begin
=end
matsuda (Akira Matsuda)
12:19 AM Bug #9236 (Closed): include + include + alias_method + super behaviour inconsistency between 1.9 and 2.0
=begin
The following code behaves differently under Ruby 1 and Ruby 2.
module Fun
def hello
orig_he...
matsuda (Akira Matsuda)
11:22 AM Feature #9239: Array#to_h ignores flat arrays
marcandre (Marc-Andre Lafortune) wrote:
> My opinion is that the fact that `Hash[1,2,3,4] # => {1 => 2, 3 => 4}` is a...
sawa (Tsuyoshi Sawada)
05:14 AM Feature #9239: Array#to_h ignores flat arrays
If [:a, :b].to_h returned {:a => :b}, then what should [[:a, :b], [:c, :d]].to_h return? {[:a, :b] => [:c, :d]} ? alexeymuranov (Alexey Muranov)
03:49 AM Feature #9239: Array#to_h ignores flat arrays
Moving to "feature", as the current documentation states that elements that are not 2-element arrays are ignored, so ... marcandre (Marc-Andre Lafortune)
03:26 AM Feature #9239 (Rejected): Array#to_h ignores flat arrays
=begin
My understanding was that the newly introduced `Array#to_h` was to be equivalent to `Hash.[]`. But when I giv...
sawa (Tsuyoshi Sawada)
08:12 AM Bug #9240 (Closed): TestModule Test No Longer Valid
TestModule#test_include_module_with_constants_invalidates_method_cache is no longer valid.
Test: https://github....
simeonwillbanks (Simeon Willbanks)
07:53 AM Revision 919f1438 (git): * eval.c (rb_raise_jump): call c_return hook immediately after
popping `raise' frame.
Patches by deivid (David Rodriguez). [Bug #8886]
* test/ruby/test_settracefunc.rb: catch up ...
ko1 (Koichi Sasada)
07:41 AM Revision 78d7aa8a (git): revert r44133. See https://bugs.ruby-lang.org/issues/8886 details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:01 AM Revision 740535f8 (git): hash.c: reject should return a plain hash
* hash.c (rb_hash_reject): return a plain hash, without copying
the class, default value, instance variables, and t...
nobu (Nobuyoshi Nakada)
06:38 AM Revision bd892d05 (git): compile.c: add opt_aset instruction for faster Hash#[]= and Array#[]=
* compile.c (iseq_specialized_instruction): emit opt_aset instruction
to optimize Hash#[]= and Array#[]= when calle...
tmm1 (Aman Karmani)
04:01 AM Revision 3e6cae68 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:58 AM Revision e1db3605 (git): * ext/win32ole/sample/olegen.rb: Fix typo
* ext/openssl/ossl_asn1.c: [DOC] Fix typo
* lib/webrick/accesslog.rb: ditto
* template/yarvarch.ja: ditto
s/recie...
matsuda (Akira Matsuda)
03:39 AM Revision a4cbd641 (git): * eval.c (rb_raise_jump): pop frame after setup exception.
Patches by deivid (David Rodriguez). [Bug #8886]
* test/minitest/test_minitest_unit.rb: catch up this change.
* test/...
ko1 (Koichi Sasada)
03:36 AM Revision 3d4ceaaa (git): * ext/tk/lib/tkextlib/SUPPORT_STATUS: [DOC] remove link of RAA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:24 AM Bug #9237 (Closed): Monkey Patching Infix Float Operator's Produces Unexpected Results
marcandre (Marc-Andre Lafortune)
02:43 AM Bug #9237 (Closed): Monkey Patching Infix Float Operator's Produces Unexpected Results
=begin
Trying to redefine the infix division operator for the Float initially appears to have no effect.
clas...
ChrisTimperley (Chris Timperley)
03:10 AM Revision c2caf7d3 (git): * ext/racc/cparse/README: [DOC] Use upstream and github link instead of RAA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
01:48 AM Revision 2c11ccb8 (git): envutil.rb: backtrace may not be present
* test/ruby/envutil.rb (assert_separately): SystemStackError at
machine stack overflow on platforms where sigaltsta...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #9178: Segfault when misusing Enumerable#chunk with #to_enum and #with_index
Maybe r39722 should be backported too. nagachika (Tomoyuki Chikanaga)

12/10/2013

11:58 PM Bug #9221 (Closed): Time.parse performance becomes exponentially worse as string length grows
This issue was solved with changeset r44126.
Michael, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
11:42 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
Also affects JRuby: https://github.com/jruby/jruby/issues/1319 headius (Charles Nutter)
12:20 AM Bug #9221 (Open): Time.parse performance becomes exponentially worse as string length grows
Thank you for your notice. I'll re-open this ticket.
And I confirmed ruby_1_9_3 and ruby_2_0_0 have these regular ex...
nagachika (Tomoyuki Chikanaga)
11:44 PM Bug #9231 (Closed): The value of [].hash is equal to the value of false.hash
This issue was solved with changeset r44125.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
11:24 PM Feature #8257: Exception#cause to carry originating exception along with new one
Carelessly, I implemented `raise cause: ex` but not `Exception.new(cause: ex)`, and nearly committed it.
Do you pref...
nobu (Nobuyoshi Nakada)
08:56 PM Bug #8584: Remove curses
Committed as r44121 matsuda (Akira Matsuda)
01:46 PM Bug #8584: Remove curses
@a_matsuda +1 please commit it zzak (zzak _)
11:02 AM Bug #8584: Remove curses
@shugo Attached is a patch that sweeps remaining documentation references to curses here and there. Can I commit this? matsuda (Akira Matsuda)
12:06 AM Bug #8584: Remove curses
I would also like to offer help maintaining curses zzak (zzak _)
07:55 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
charliesome (Charlie Somerville) wrote:
> sawa: %-strings are already covered by #freeze optimization:
>
> λ ...
sawa (Tsuyoshi Sawada)
07:54 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
sawa: %-strings are already covered by #freeze optimization:
λ ./miniruby --dump=insns -e '%{}.freeze'
==...
Anonymous
07:54 PM Revision d6a5fe70 (git): * lib/rubygems: Update to RubyGems master ec8ed22. Notable changes
include:
* Renamed extension_install_dir to extension_dir (backwards
compatible).
* Fixed creation of gem.d...
drbrain (Eric Hodel)
06:18 PM Revision d36a129d (git): * 2013-12-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:18 PM Revision af4e6084 (git): * insns.def: Fix optimization bug of Float#/ [Bug #9238]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:58 PM Revision 9a938987 (git): date_strptime.c: get rid of backtrack explosion
* ext/date/date_strptime.c (date__strptime_internal): unset
case-insensitive flag for [:alpha:], which already impl...
nobu (Nobuyoshi Nakada)
02:48 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
After r44109, RGENGC_CHECK_MODE is able to detect the original Hash#replace miss issue:
$ ./miniruby test1.rb
gc_...
tmm1 (Aman Karmani)
02:46 PM Bug #9226 (Closed): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
This issue was solved with changeset r44109.
Myron, thank you for reporting this issue.
Your contribution to Ruby is ...
tmm1 (Aman Karmani)
01:13 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
With r44059, I can reproduce this issue with the following ruby code. I confirmed RGENGC_CHECK=2 does not complain.
...
tmm1 (Aman Karmani)
02:44 PM Revision 037a9d06 (git): array.c, hash.c: add salt
* array.c (rb_ary_hash): add salt to differentiate false and empty
array. [ruby-core:58993] [Bug #9231]
* hash.c (...
nobu (Nobuyoshi Nakada)
02:02 PM Revision e5b5ee74 (git): test_exception.rb: ignore SystemStackError
* test/ruby/test_exception.rb (test_machine_stackoverflow): ignore
propagated SystemStackError, which has not bee r...
nobu (Nobuyoshi Nakada)
02:02 PM Revision 7e47f683 (git): envutil.rb: ensure errors
* test/ruby/envutil.rb (assert_separately): dump error and
assertions by END to ensure outputs even if failed to ca...
nobu (Nobuyoshi Nakada)
11:26 AM Revision d33820e8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:22 AM Revision 02c85450 (git): * doc/contributing.rdoc: [DOC] curses is no more in the stdlib
* doc/contributors.rdoc: Ditto.
* doc/maintainers.rdoc: Ditto.
* doc/contributors.rdoc: Ditto.
* doc/standard_libr...
matsuda (Akira Matsuda)
09:22 AM Revision 4d5729a7 (git): * man/ruby.1: [DOC] Use www.ruby-toolbox.com instead of RAA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:20 AM Bug #9192: Inconsistent comparison between Float and BigDecimal
Thank you, mrkn!
vatsu (Gustavo Sales)
03:42 AM Bug #9192 (Open): Inconsistent comparison between Float and BigDecimal
Hi
1) I disagree with this change. Is it possible to know why you decided to ignore my recommendation without even...
marcandre (Marc-Andre Lafortune)
08:21 AM Revision cdc2eeda (git): gc.c: simple array for wmap
* gc.c (wmap_finalize, wmap_aset_update): use simple malloced array
instead of T_ARRAY, to reduce GC pressure.
git...
nobu (Nobuyoshi Nakada)
07:16 AM Revision 27947a44 (git): gc.c: use st_update
* gc.c (wmap_aset): use st_update instead of st_lookup and
st_insert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
07:16 AM Revision bcdad329 (git): gc.c: ruby_sized_xrealloc2
* gc.c (ruby_sized_xrealloc2): reallocate from old size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44117 b2d...
nobu (Nobuyoshi Nakada)
07:16 AM Revision d5526f3f (git): openssl/digest.rb: check by lambda
* ext/openssl/lib/openssl/digest.rb (initialize): check argument
size by lambda.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
07:16 AM Revision 0ede9926 (git): openssl/digest.rb: get rid of deprecated class
* ext/openssl/lib/openssl/digest.rb (digest, hexdigest): create
new instance and call on it directly, to get rid of...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 40d7c9c1 (git): gc.c: speed up RGENGC_CHECK_MODE by removing unncessary check
* gc.c (reflist_add): revert changes from r44109. it is unnecessary
after r44113
* gc.c (allrefs_i): fix whitespace...
tmm1 (Aman Karmani)
06:47 AM Revision 1b29c00f (git): * gc.c (allrefs_add): push obj only if allrefs table doesn't have
obj.
* gc.c (allrefs_roots_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44113 b2dd03c8-39d4-4d8f-9...
ko1 (Koichi Sasada)
06:44 AM Revision 14979f21 (git): * gc.c (RGENGC_CHECK_MODE): separate checkers to different modes.
* 2: enable generational bits check (for debugging)
* 3: enable livness check
* 4: show all references
git-svn...
ko1 (Koichi Sasada)
06:26 AM Revision 13dee248 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:21 AM Revision 8d4253f7 (git): * gc.c (gc_marks_check): disable GC during checking and
restore malloc_increase info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44110 b2dd03c8-39d4-4d8f-98ff-823f...
ko1 (Koichi Sasada)
05:46 AM Revision 3705007e (git): gc.c: build complete object graph for RGENGC_CHECK_MODE
* gc.c (reflist_add): return 0 if reference already exists
* gc.c (allrefs_add): return 1 on newly added refe...
tmm1 (Aman Karmani)
05:36 AM Feature #9235 (Assigned): Documentation for commercial support
We should document the following:
* What happens when a Ruby version goes EOL?
* What can (my) company do to help...
zzak (zzak _)
05:31 AM Misc #9218 (Assigned): Branch Maintainer Appointment / Discharge Process
We have decided on this approval and discharge process in approx. terms.
I provide documentation for our process a...
zzak (zzak _)
05:26 AM Misc #9217 (Closed): Ruby 1.9.3 End of Life Maintenance Policy
1.9.3 will be EOL'd in March 2014
We will announce it officially with the announcement of 2.1.0 release.
Additi...
zzak (zzak _)
05:24 AM Bug #9234 (Closed): Documentation for upgrading to supported versions
cc #9216 zzak (zzak _)
05:23 AM Misc #9216 (Closed): Backport Maintenance Policy for 1.8.7, 1.9.2
As discussed, Terence and I will maintain security fixes for 1.8.7 and 1.9.2 for 6 months, until June 2014.
During...
zzak (zzak _)
05:19 AM Misc #9233: Update tooling for SemVer
Oops, somehow nobu got assigned to this on accident zzak (zzak _)
05:19 AM Misc #9233 (Closed): Update tooling for SemVer
cc #8835 zzak (zzak _)
05:18 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
We have accepted hsbt's proposal: https://gist.github.com/sorah/7803201
zzak (zzak _)
05:17 AM Revision 0326725b (git): gc.c: check arguments first
* gc.c (wmap_aset): check if both arguments are able to finalize
before setting finalizers.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
05:16 AM Misc #9215 (Assigned): Maintenance Policy for Future Releases (2.1.0 & beyond)
We have decided the following:
* MINOR level versions of Ruby have a "best effort" goal of at least 6 months and a...
zzak (zzak _)
05:02 AM Revision 9bd802f5 (git): gc.c: fix WeakMap#inspect
* gc.c (wmap_inspect_i): fix key/value order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44107 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
03:25 AM Revision 332decb4 (git): gc.c: fix typo in function name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
02:26 AM Revision 7170baa8 (git): objspace_dump.c: include object's gc flags in dump
* ext/objspace/objspace_dump.c (dump_object): include fstring flag on
strings. include gc flags (old, remembered, w...
tmm1 (Aman Karmani)
01:51 AM Revision 97d292cb (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

12/09/2013

10:50 PM Revision 40925742 (git): vm_method.c: add new ruby::method-cache-clear dtrace probe
* vm_method.c (rb_clear_method_cache_by_class): fire
ruby::method-cache-clear probe on global or klass-level method...
tmm1 (Aman Karmani)
10:32 PM Bug #4421: [ext/openssl] Fix RSA public key encoding
Hi,
It certainly would have been useful to have the code available in gist https://gist.github.com/2902696 availab...
davidw (David Welton)
09:43 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
Righto, thanks! headius (Charles Nutter)
03:21 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
@headius: klasscache refers to #8426/r42822 which implements JRuby style method cache invalidation. Anonymous
03:18 PM Feature #7816: Don't invalidate method caches when defining a new method on a class without subclasses
Is "klasscache" a reference to some other patch/issue?
Am I understanding correctly when I say that JRuby would no...
headius (Charles Nutter)
09:38 PM Bug #9230: Segmentation fault in Ruby trunk
Thank you! I confirmed to fix this issue at r44096 hsbt (Hiroshi SHIBATA)
07:06 PM Bug #9230 (Closed): Segmentation fault in Ruby trunk
This issue was solved with changeset r44096.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby i...
tmm1 (Aman Karmani)
06:19 PM Bug #9230 (Closed): Segmentation fault in Ruby trunk
I always got Segmentation fault in trunk. I can reproduce follow situation:
$ rails new foo
add 'newrelic_rpm'...
hsbt (Hiroshi SHIBATA)
09:16 PM Revision 4f7c10f0 (git): * ext/.document: Remove curses from documentable directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
07:56 PM Revision 99e04c13 (git): * ext/openssl/lib/openssl/digest.rb: Deprecate OpenSSL::Digest::Digest
[Fixes GH-446] https://github.com/ruby/ruby/pull/446
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44101 b2dd03...
zzak (zzak _)
07:30 PM Bug #9227: use opt_aset ?
I forget why I remove it.
Maybe I can't measure improvement (and possible to have trouble with this insn).
If the...
ko1 (Koichi Sasada)
07:10 PM Bug #9231 (Closed): The value of [].hash is equal to the value of false.hash
I found that [].hash == false.hash.
And the combinations of each elements also have the same value.
Is this an inte...
phasis68 (Heesob Park)
06:30 PM Feature #8977: String#frozen that takes advantage of the deduping
@ko1 and I discussed this at length earlier.
Although a frozen string table could be implemented in ruby (with the...
tmm1 (Aman Karmani)
03:35 PM Feature #8977: String#frozen that takes advantage of the deduping
Now, I have one concern about security concern.
This kind of method can be used widely and easily.
And if this ...
ko1 (Koichi Sasada)
07:23 AM Feature #8977: String#frozen that takes advantage of the deduping
headius (Charles Nutter) wrote:
> Actually, I'm getting pretty down on having the fstring cache at all. It seems lik...
phluid61 (Matthew Kerwin)
07:08 AM Feature #8977 (Assigned): String#frozen that takes advantage of the deduping
I just made some more arguments for this feature in #9229.
The goal here is to provide runtime access to the froze...
tmm1 (Aman Karmani)
03:47 PM Revision 062845c1 (git): * 2013-12-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 PM Revision 2251a272 (git): * ext/thread/thread.c: [DOC] add call-seq alias for Queue#enq, #<<, etc.
* ext/thread/thread.c (Init_thread): use rb_define_alias instead of
rb_alias to document alias.
git-svn-id: svn+ss...
ktsj (Kazuki Tsujimoto)
03:09 PM Feature #8257: Exception#cause to carry originating exception along with new one
nobu: Because :cause is opt-in, I am not concerned about the backward compat. You'd have to be committing to 2.1 in o... headius (Charles Nutter)
01:41 PM Bug #8584: Remove curses
Removed by r44089. shugo (Shugo Maeda)
12:14 PM Bug #8584: Remove curses
I created https://github.com/ruby/curses and added commit bit to you. hsbt (Hiroshi SHIBATA)
11:26 AM Bug #8584: Remove curses
Ok, I will publish the curses gem this week.
hsbt, can you create github.com/ruby/curses? Please leave it unitiali...
drbrain (Eric Hodel)
11:18 AM Bug #8584: Remove curses
shugo (Shugo Maeda) wrote:
> Eric, could you take over the maintenance of curses gem and upload it to rubygems.org a...
shugo (Shugo Maeda)
11:16 AM Bug #8584: Remove curses
I talked with Naruse-san, and we've decided to remove curses from 2.1.
Eric, could you take over the maintenance o...
shugo (Shugo Maeda)
12:26 PM Bug #9212 (Closed): Segmentation fault in test/objspace/test_objspace.rb#test_dump_all
This issue was solved with changeset r44088.
Alexey, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
11:43 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
I know [[:alpha:]] is not equal to [a-z].
But, it seems that the current time parsing is only for ascii string.
...
phasis68 (Heesob Park)
11:14 AM Bug #9221 (Closed): Time.parse performance becomes exponentially worse as string length grows
This issue was solved with changeset r44086.
Michael, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
10:59 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
[[:alpha:]] doesn't equal to [a-z], the former matches unicode alphabet categories. nobu (Nobuyoshi Nakada)
10:34 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
I think this is an issue of Oniguruma(regular expressions library).
Here is a shortest code of producing this issu...
phasis68 (Heesob Park)
11:00 AM Revision c039c708 (git): * internal.h (RCLASS_SERIAL): Add RCLASS_SERIAL as a convenience
accessor for RCLASS_EXT(klass)->class_serial.
* class.c, vm_insnhelper.c, vm_method.c: Use RCLASS_SERIAL
git-svn-id...
Charlie Somerville
10:51 AM Revision 7df97981 (git): * compile.c, insns.def, test/ruby/test_rubyvm.rb, vm.c, vm_core.h,
vm_insnhelper.c, vm_insnhelper.h, vm_method.c: Rename method_serial
to global_method_state and constant_serial to g...
Charlie Somerville
10:06 AM Revision a1119230 (git): hash.c: fix segv in Hash#replace
* hash.c (rb_hash_replace): fix segv on `{}.replace({})` introduced
in r44060 [Bug #9230] [ruby-core:58991]
* test/...
tmm1 (Aman Karmani)
09:12 AM Revision 5dc77048 (git): * vm.c (vm_stat): renamed from ruby_vm_stat.
Should not use ruby_ prefix here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44095 b2dd03c8-39d4-4d8f-98ff-...
ko1 (Koichi Sasada)
08:51 AM Revision e23627c0 (git): * marshal.c: [DOC] Wordsmith marshal.c documentation. by @vipulnsward [fix GH-470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:13 AM Revision d2cc188a (git): gc.c: ObjectSpace::WeakMap#size
* gc.c (wmap_size): add ObjectSpace::WeakMap#size and #length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@440...
nobu (Nobuyoshi Nakada)
07:13 AM Revision b73a3064 (git): test_weakmap.rb: add
* test/ruby/test_weakmap.rb: test for ObjectSpace::WeakMap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44092 ...
nobu (Nobuyoshi Nakada)
07:04 AM Revision 28fd53d2 (git): * lib/xmlrpc/httpserver.rb: [DOC] Fix typo
s/authentification/authentication/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44091 b2dd03c8-39d4-4...
matsuda (Akira Matsuda)
06:54 AM Bug #9229: [patch] expose rb_fstring() as String#dedup
tmm1 (Aman Gupta) wrote:
> > Would this be better as MRI's implementation of String#freeze ?
>
> This was discuss...
phluid61 (Matthew Kerwin)
06:49 AM Bug #9229 (Closed): [patch] expose rb_fstring() as String#dedup
This is a dupe of #8977. The proposal there is to use String#frozen, which I like better as well. tmm1 (Aman Karmani)
05:51 AM Bug #9229: [patch] expose rb_fstring() as String#dedup
> I prefer that kind of optimization to happen automatically when needed, than force programmer to cast a spell.
I...
tmm1 (Aman Karmani)
05:31 AM Bug #9229: [patch] expose rb_fstring() as String#dedup
Would this be better as MRI's implementation of String#freeze ? phluid61 (Matthew Kerwin)
06:26 AM Revision e759e273 (git): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
04:45 AM Bug #9228: rdoc can't generate documentation for ext/thread/thread.c on trunk
This is only required in part for Ruby 2.0.0, ext/syslog/lib exists in ruby_2_0_0 branch but ext/thread/thread.c does... drbrain (Eric Hodel)
04:44 AM Bug #9228 (Closed): rdoc can't generate documentation for ext/thread/thread.c on trunk
This issue was solved with changeset r44082.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is...
drbrain (Eric Hodel)
04:39 AM Revision 9c5b2fd8 (git): * ext/curses, sample/curses: removed curses.
* NEWS: added an entry for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44089 b2dd03c8-39d4-4...
shugo (Shugo Maeda)
03:26 AM Revision d3363a96 (git): object_tracing.c: fix allocation from NEWOBJ hook
* ext/objspace/object_tracing.c (newobj_i): use cached class path
only to get rid object allocation during NEWOBJ h...
nobu (Nobuyoshi Nakada)
03:25 AM Revision b4ab650e (git): variable.c: rb_class_path_cached
* variable.c (rb_class_path_cached): returns cached class path
only, without searching and allocating new class pat...
nobu (Nobuyoshi Nakada)
02:14 AM Revision 334294d0 (git): date_parse.c: get rid of backtrack explosion
* ext/date/date_parse.c (parse_time): unset case-insensitive flag
for [:alpha:], which already implies both cases, ...
nobu (Nobuyoshi Nakada)
02:12 AM Feature #9190: Expose serial helper macros
Thanks everyone! simeonwillbanks (Simeon Willbanks)

12/08/2013

11:41 PM Revision 05ba6fff (git): * lib/rubygems: Update to RubyGems master bf37240. Fixes useless
error message with `gem install -g` with no gem dependencies file.
* test/rubygems: ditto.
git-svn-id: svn+ssh://c...
drbrain (Eric Hodel)
11:07 PM Revision 599dbf65 (git): vm.c: fix compile issue on 32bit freebsd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
09:38 PM Bug #9221 (Assigned): Time.parse performance becomes exponentially worse as string length grows
I assigned this issue to tadf because the pattern
is written in ext/date/date_parse.c.
akr (Akira Tanaka)
07:56 PM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
It can be reproduced on ruby 2.0.0-p247 i386-mingw32.
I modified a test code to extension library free version.
C:\...
phasis68 (Heesob Park)
08:20 PM Bug #9192 (Closed): Inconsistent comparison between Float and BigDecimal
This issue was solved with changeset r44073.
Gustavo, thank you for reporting this issue.
Your contribution to Ruby i...
mrkn (Kenta Murata)
08:17 PM Bug #9133: logger rotates log files more than expected
Can you commit this? hsbt (Hiroshi SHIBATA)
07:52 PM Revision 68e21467 (git): * NEWS: Update RubyGems entry with notable features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
07:44 PM Revision d71eb310 (git): * ext/.document: Add syslog/lib and thread/thread.c to documentable
items. [ruby-trunk - Bug #9228]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44082 b2dd03c8-39d4-4d8f-98ff-82...
drbrain (Eric Hodel)
07:32 PM Revision da3e610a (git): * lib/rubygems: Update to RubyGems master 096db36. Changes include
support for PATH in Gemfile.lock and a typo fix from Akira Matsuda.
* test/rubygems: ditto.
git-svn-id: svn+ssh://...
drbrain (Eric Hodel)
06:12 PM Bug #9229: [patch] expose rb_fstring() as String#dedup
It sounds a bit too rash. For instance other Ruby implementations might not need such thing.
I prefer that kind o...
shyouhei (Shyouhei Urabe)
04:12 PM Bug #9229 (Closed): [patch] expose rb_fstring() as String#dedup
After recent commits, ruby is using the new rb_fstring() API extensively inside the VM to de-duplicate internal strin... tmm1 (Aman Karmani)
05:32 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
Wow, thanks for the quick fix :). myronmarston (Myron Marston)
03:27 PM Bug #9226 (Open): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
OMG That is another issue....
ko1 (Koichi Sasada)
12:06 PM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
Committed.
I was surprised but RGENGC_CHECK did not find this issue.
tmm1 (Aman Karmani)
12:03 PM Bug #9226 (Closed): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
This issue was solved with changeset r44060.
Myron, thank you for reporting this issue.
Your contribution to Ruby is ...
tmm1 (Aman Karmani)
11:51 AM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
I like charliesome's approach.
Could you commit it?
ko1 (Koichi Sasada)
09:10 AM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
Instead of shading the hash, we could probably do something like this:
diff --git hash.c hash.c
index a52e02f..e7...
Anonymous
08:29 AM Bug #9226: Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
I was able to reproduce this on trunk with the following patch to rspec:
--- a/lib/rspec/core/command_line.rb
+++...
tmm1 (Aman Karmani)
01:17 AM Bug #9226 (Closed): Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
We're trying to get a green RSpec build against ruby 2.1.0.preview2, and we're getting this very odd failure on travi... myronmarston (Myron Marston)
05:11 PM Revision fe57c5d4 (git): * 2013-12-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:11 PM Revision 91539d71 (git): * lib/net/http/responses.rb:
Add `HTTPIMUsed`, as it is also supported by rack/rails.
RFC - http://tools.ietf.org/html/rfc3229
by Vipul A M <v...
naruse (Yui NARUSE)
04:06 PM Bug #9228 (Closed): rdoc can't generate documentation for ext/thread/thread.c on trunk
=begin
$ rm -rf .ext/rdoc
$ make rdoc
$ ls -d .ext/rdoc/Queue
ls: cannot access .ext/rdoc/Queue: No such file...
ktsj (Kazuki Tsujimoto)
03:53 PM Feature #5446: at_fork callback API
Tanaka Akira <[email protected]> wrote:
> 2013/12/7 Eric Wong <[email protected]>:
> > However, I want to do this...
normalperson (Eric Wong)
02:30 PM Revision e0097ea8 (git): Fix the description in ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
01:06 PM Feature #9190 (Closed): Expose serial helper macros
This issue was solved with changeset r44062.
Simeon, thank you for reporting this issue.
Your contribution to Ruby is...
tmm1 (Aman Karmani)
02:03 AM Feature #9190: Expose serial helper macros
OK, cool. I'll refactor the Pull Request. Thanks! simeonwillbanks (Simeon Willbanks)
11:47 AM Revision 673aa230 (git): class.c: rest kwargs
* class.c (rb_get_kwargs): when values is non-null, remove
extracted keywords from the rest keyword argument.
git-...
nobu (Nobuyoshi Nakada)
11:38 AM Revision 6def265d (git): variable.c: frozen class name
* variable.c (fc_path, classname): return ID strings without
unnecessary copying.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
11:33 AM Revision 91092927 (git): avoid circular dependency on AIX
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
11:28 AM Bug #9225 (Closed): [patch] add WB to NODE_CREF
This issue was solved with changeset r44059.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
tmm1 (Aman Karmani)
11:25 AM Revision cf85aaf8 (git): hash.c: reject shoult infect
* hash.c (rb_hash_reject): result should be infected by the
receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
11:20 AM Revision 0727a22c (git): * bigdecimal.c (BigDecimal_coerce): convert a Float to a BigDecimal instead
of converting the receiver to a Float.
[ruby-core:58756] [Bug #9192]
* test/bigdecimal/test_bigdecimal.rb: add tes...
Kenta Murata
11:10 AM Bug #9227: use opt_aset ?
Maybe some minor improvement on microbenchmarks.
Before patch:
./miniruby -I. benchmark/bm_so_k_nucleotide.rb >...
tmm1 (Aman Karmani)
11:01 AM Bug #9227 (Closed): use opt_aset ?
I noticed we have an opt_aset instruction, but nothing is using it. Is there some reason?
diff --git a/compile.c b...
tmm1 (Aman Karmani)
11:04 AM Revision e54e3d70 (git): edit NEWS to move texts correct places
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:56 AM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
@charliesome helped me with my compiler patch. It adds a new opt_aset_str instruction that handles the string literal... tmm1 (Aman Karmani)
10:52 AM Misc #9188 (Closed): r43870 make benchmark/bm_so_k_nucleotide.rb slow
This issue was solved with changeset r44058.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby ...
tmm1 (Aman Karmani)
10:39 AM Feature #9171 (Closed): [patch] use fstrings for symbol table
This issue was solved with changeset r44057.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
tmm1 (Aman Karmani)
10:37 AM Bug #9207 (Closed): Build failure on Windows 8.1 with VS2013 x64
hsbt (Hiroshi SHIBATA)
10:26 AM Misc #8288: Ruby 2.1.0 release engeneering
I believe RubyGems is ready.
I will be marking the bundler features in RubyGems as experimental in the RubyGems re...
drbrain (Eric Hodel)
09:33 AM Revision b521f42a (git): * NEWS: [DOC] update NEWS about GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
08:54 AM Revision 40468b5b (git): * object.c: [DOC] document Module#singleton_class?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
07:19 AM Revision dd8710d2 (git): class.c, vm_insnhelper.c: check unknown keywords
* class.c (rb_get_kwargs): if optional is negative, unknown
keywords are allowed.
* vm_insnhelper.c (vm_callee_setu...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 72f60a2f (git): class.c: optimization just one key
* class.c (keyword_error): use only element itself for
optimization in the case the key has just one element.
git-...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 1a5bc286 (git): test_keyword.rb: check error messages
* test/ruby/test_keyword.rb (test_required_keyword): check also
error messages.
* test/ruby/test_keyword.rb (test_...
nobu (Nobuyoshi Nakada)
06:47 AM Revision 1018f57f (git): array.c: id_random
* array.c (rb_ary_shuffle_bang, rb_ary_sample): share id_random
instead of no longer used sym_random.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
05:58 AM Revision 7f5a9f38 (git): * array.c (rb_ary_shuffle_bang, rb_ary_sample): rename local variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
05:02 AM Revision 3e1360f3 (git): * array.c (rb_ary_shuffle_bang, rb_ary_sample): check
unknown keywords.
* test/ruby/test_array.rb (test_shuffle, test_sample): tests for
the above.
git-svn-id: svn+ssh...
ktsj (Kazuki Tsujimoto)
04:06 AM Revision 66a96c13 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:05 AM Revision cc106309 (git): vm.c: add RubyVM.stat for accessing cache serials
* vm.c (ruby_vm_stat): add RubyVM.stat() for access to internal cache
counters. this methods behaves like GC.stat, ...
tmm1 (Aman Karmani)
03:51 AM Revision 2aa57843 (git): * lib/xmlrpc/client.rb: [DOC] Fix typo
s/explicitely/explicitly/
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44061 b2dd03c8-39d4-4d8f-98ff-...
matsuda (Akira Matsuda)
03:03 AM Revision 3dd248f1 (git): hash.c: fix WB miss issue in Hash#replace
* hash.c (rb_hash_replace): add a write barrier to fix GC mark miss on
hashes using Hash#replace [Bug #9226] [ruby-...
tmm1 (Aman Karmani)
02:28 AM Revision 8f77cfb3 (git): gc.c: promote long-lived NODE_CREF objects to oldgen
* include/ruby/ruby.h: add RGENGC_WB_PROTECTED_NODE_CREF setting
In a large app, this reduces the size of
remembe...
tmm1 (Aman Karmani)
01:52 AM Revision 779ae789 (git): hash.c: revert r43870 and add alternative parser patch for literal keys
* hash.c (hash_aset_str): revert r43870 due to performance issue
[Bug #9188] [ruby-core:58730]
* parse.y (assoc): c...
tmm1 (Aman Karmani)
01:39 AM Revision 98a74d4d (git): parse.y: use rb_fstring() for strings stored in the symbol table
* parse.y (register_symid_str): use fstrings in symbol table
[Bug #9171] [ruby-core:58656]
* parse.y (rb_id2str): d...
tmm1 (Aman Karmani)
01:32 AM Revision 100fe2e6 (git): class.c: fix uninitialized value
* class.c (rb_get_kwargs): fix returning uninitialized value when no
optional keywords.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
01:25 AM Revision 12c8533e (git): * lib/rubygems.rb: Update version for upcoming ruby 2.1.0 RC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:22 AM Revision 7ed9b794 (git): * lib/rubygems: Update to RubyGems master 14749ce. This fixes bugs
handling of gem dependencies lockfiles (Gemfile.lock).
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang...
drbrain (Eric Hodel)
12:41 AM Revision 866b438c (git): * 2013-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:41 AM Revision e0290c94 (git): * array.c (rb_ary_or): use RHASH_TBL_RAW instead of RHASH_TBL
* process.c (rb_execarg_fixup): use RHASH_TBL_RAW and insert write
barriers where appropriate
* vm.c (kwmerge_i): ...
Charlie Somerville

12/07/2013

11:39 PM Bug #9225 (Closed): [patch] add WB to NODE_CREF
In our rails app, there are a lot of long-lived NODE_CREF:
>> p ObjectSpace.count_nodes
=> {:NODE_IF=>3, :NODE_CR...
tmm1 (Aman Karmani)
11:16 PM Bug #9207: Build failure on Windows 8.1 with VS2013 x64
This issue was solved with changeset r44034. phasis68 (Heesob Park)
09:14 PM Feature #8257: Exception#cause to carry originating exception along with new one
What about the backward compatibility? nobu (Nobuyoshi Nakada)
07:37 PM Feature #9171: [patch] use fstrings for symbol table
Ah great! Thanks for finding my bug.
With your patch, long-lived strings on our rails app heap are reduced by 6000...
tmm1 (Aman Karmani)
09:22 AM Feature #9171: [patch] use fstrings for symbol table
Seems my reply hasn't caught by the ITS...
(13/11/28 16:55), tmm1 (Aman Gupta) wrote:
> ~~~diff
> diff --git a/p...
nobu (Nobuyoshi Nakada)
09:21 AM Feature #9171: [patch] use fstrings for symbol table
different. nobu (Nobuyoshi Nakada)
06:16 AM Feature #9171: [patch] use fstrings for symbol table
Would this allow the symbol table to be GC'd or is that a separate issue? avit (Andrew Vit)
05:32 PM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
After a few more false starts in the compiler, I ended up with the following patch to the parser.
diff --git a/par...
tmm1 (Aman Karmani)
11:57 AM Misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow
There were some minor improvements to rb_fstring() recently, but the hash changes are still slow on trunk.
In my env...
tmm1 (Aman Karmani)
05:14 PM Bug #8762: CFLAGS and LDFLAGS are not set properly in Makefile when they are already set as environment variables
With my patch, provided CFLAGS are appended to the built-in flags. This follows the behavior most projects use with .... tmm1 (Aman Karmani)
05:10 PM Bug #8762 (Rejected): CFLAGS and LDFLAGS are not set properly in Makefile when they are already set as environment variables
If you set CFLAGS, that is you say it must be used. nobu (Nobuyoshi Nakada)
03:23 PM Bug #8762 (Open): CFLAGS and LDFLAGS are not set properly in Makefile when they are already set as environment variables
I believe this is still a bug.
If I compile ruby with a custom CFLAGS, the build will lose all optimization and wa...
tmm1 (Aman Karmani)
04:58 PM Feature #9190: Expose serial helper macros
It sounds better than exposing those values directly. nobu (Nobuyoshi Nakada)
12:34 PM Feature #9190: Expose serial helper macros
I'm cool with RubyVM.stat; copying the GC.stat implementation is a good idea.
>> RubyVM.stat
=> {
:method_seri...
simeonwillbanks (Simeon Willbanks)
07:26 AM Feature #9190: Expose serial helper macros
If we're opposed to adding multiple methods to RubyVM, maybe a RubyVM.stat will suffice. It can behave the same way t... tmm1 (Aman Karmani)
07:23 AM Feature #9190: Expose serial helper macros
My main use-case for exposing these serials is to collect them automatically before and after each request in a rails... tmm1 (Aman Karmani)
01:32 AM Feature #9190: Expose serial helper macros
@charliesome and @tmm1, thanks for the support, and I concur.
@nobu I've hacked together a gem. It's an alpha ve...
simeonwillbanks (Simeon Willbanks)
04:51 PM Bug #9200 (Feedback): Segmentation Fault in jason 1.8.1 parser with Ruby 2.0.0 p353
Can you attach crash log and add your development environment? hsbt (Hiroshi SHIBATA)
03:05 PM Feature #7816 (Closed): Don't invalidate method caches when defining a new method on a class without subclasses
Superseded by klasscache Anonymous
01:53 PM Feature #5446: at_fork callback API
2013/12/7 Eric Wong <[email protected]>:

> However, I want to do this via callback, example with Worker class...
akr (Akira Tanaka)
01:02 PM Feature #5446: at_fork callback API
Another idea:
Process.at_fork{ |loc| case loc; when :before_fork; ... end } -> proc
Process.remove_at_fork(pr...
tmm1 (Aman Karmani)
07:29 AM Feature #5446: at_fork callback API
Ok good point. I agree we should add all three if we're going to do this.
I like the `Process.atfork_parent{}` API...
tmm1 (Aman Karmani)
06:53 AM Feature #5446: at_fork callback API
Eric Wong <[email protected]> wrote:
> the parent hook might be less useful (especially for apps which
> for...
normalperson (Eric Wong)
01:01 PM Revision 0aada281 (git): * gc.c (gc_mark_children): use nd_clss and nd_next for code clarity
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
11:16 AM Bug #9223 (Closed): Hash#reject!.size does not reflect changes to the hash
This issue was solved with changeset r44047.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
09:41 AM Bug #9223: Hash#reject!.size does not reflect changes to the hash
Seems inverse.
Hash#reject is equivalent to the following ruby code:
def reject(&block)
dup.delete_if(&b...
nobu (Nobuyoshi Nakada)
12:25 AM Bug #9223 (Closed): Hash#reject!.size does not reflect changes to the hash
Here's an example demonstrating the issue, comparing to the regular reject behavior:
h = {a: 'A', b: 'B'}
rejec...
dmarcotte (Daniel Marcotte)
11:07 AM Bug #9221: Time.parse performance becomes exponentially worse as string length grows
Reproduced on trunk:
irb(main):027:0> RUBY_DESCRIPTION
=> "ruby 2.1.0dev (2013-12-07 trunk 44044) [x86_64-darwin1...
Anonymous
10:33 AM Revision 5728783a (git): * lib/net/http/header.rb: [DOC] Net::HTTP#to_hash returns pair of key and array values. Thanks @bjhaid [fix GH-467]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:27 AM Revision 7a9f7016 (git): * ext/tk/lib/tk/canvas.rb: [DOC] Fix typo (s/paramter/parameter/)
* ext/tk/lib/tk/text.rb: Ditto.
* ext/tk/lib/tkextlib/blt/component.rb: Ditto.
* ext/tk/lib/tkextlib/blt/tree.rb: ...
matsuda (Akira Matsuda)
10:25 AM Revision 218755f3 (git): * lib/fileutils.rb: remove unnecessary initialization. by @vipulnsward [fix GH-463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:47 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
OK, I will commit this as an experiment in early 2014. Eregon (Benoit Daloze)
02:16 AM Revision 7416073c (git): hash.c: rb_hash_reject without dup
* hash.c (rb_hash_reject): copy unrejected elements only to new hash,
so that the change on the original receiver c...
nobu (Nobuyoshi Nakada)
01:57 AM Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
@Guilherme
A predicate in Ruby can return any object. If the exact return value is documented, then the user of the ...
fxn (Xavier Noria)
01:47 AM Revision 77280b6c (git): test_struct.rb: use assert_same
* test/ruby/test_struct.rb (test_question_mark_in_member): true value
has no meanings itself. use assert_same inst...
nobu (Nobuyoshi Nakada)
01:44 AM Revision bc7abeb3 (git): test_struct.rb: use assert_predicate
* test/ruby/test_struct.rb (test_question_mark_in_member): assert_true
is a method in test-unit. use assert_predica...
nobu (Nobuyoshi Nakada)
01:22 AM Misc #8288: Ruby 2.1.0 release engeneering
I think #9005 and #9141 need to be fixed first, as they break existing code due to changes in method visibility. jeremyevans0 (Jeremy Evans)
 

Also available in: Atom