Project

General

Profile

Activity

From 06/25/2014 to 07/01/2014

07/01/2014

10:25 PM Bug #10003: Hash#fetch performance issue
I believe this is expected since the Hash#[] call is optimized to call rb_hash_aref (see opt_aref in insns.def), where the Hash#fetch call goes through normal method dispatch. Array#[] calls are similarly optimized to call rb_ary_entry. jeremyevans0 (Jeremy Evans)
10:08 PM Bug #10003 (Closed): Hash#fetch performance issue
It looks like there is a performance issue with Hash#fetch compared to Hash#[]. I found this issue via this gist: https://gist.github.com/jonleighton/3552829. I could not find it reported anywhere on the tracker, forgive me if this is a ... schneems (Richard Schneeman)
06:21 PM Revision d3a54f6f (git): Fix --dump=parsetree segfault on required keyword argument
* node.c (dump_node): handle nd_value == (NODE *)-1 to mean this
keyword argument is required
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
05:57 PM Revision 1a2b90d5 (git): vm.c: rb_vm_env_local_variables
* vm.c (rb_vm_env_local_variables): returns array of local
variable name symbols in the environment by envval.
* proc.c (bind_local_variables): use rb_vm_env_local_variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46648 b2d...
nobu (Nobuyoshi Nakada)
05:55 PM Revision 0fdb18e5 (git): vm.c: constify
* vm.c (vm_make_env_each): constify pointer arguments.
(collect_local_variables_in_iseq): ditto.
(collect_local_variables_in_env): ditto.
(vm_collect_local_variables_in_heap): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
05:24 PM Feature #8779 (Closed): Binding#yourself
Applied in changeset r46646.
----------
proc.c: Binding#receiver
* proc.c (bind_receiver): new method to return the bound receiver
of the binding object. [ruby-dev:47613] [Feature #8779]
nobu (Nobuyoshi Nakada)
05:04 PM Feature #8779: Binding#yourself
なんと、accept されていた。
2.2 で入れる?
(self.self 書いてみるとキモカワイかったのだけど -> http://www.atdot.net/~ko1/diary/201407.html#d2 )
ko1 (Koichi Sasada)
05:24 PM Revision 43ba2c01 (git): proc.c: Binding#receiver
* proc.c (bind_receiver): new method to return the bound receiver
of the binding object. [ruby-dev:47613] [Feature #8779]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 PM Bug #10001 (Closed): Binding#local_variables が返ってこない
Applied in changeset r46645.
----------
proc.c: fix infinite loop
* proc.c (bind_local_variables): update env from envval for each
iterations. [ruby-dev:48351] [Bug #10001]
nobu (Nobuyoshi Nakada)
12:29 PM Bug #10001 (Closed): Binding#local_variables が返ってこない
Binding#local_variables を呼びだすと、ハングアップします。
以下で再現します。
~~~
ruby -e 'binding.local_variables'
~~~
takkanm (三村 益隆)
05:14 PM Revision 02c391a1 (git): proc.c: fix infinite loop
* proc.c (bind_local_variables): update env from envval for each
iterations. [ruby-dev:48351] [Bug #10001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 PM Revision bc1fafae (git): test_proc.rb: test_local_variables
* test/ruby/test_proc.rb (test_local_variables): missing test for
Binding#local_variables. [Feature #8773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:14 PM Revision d34c4786 (git): test_proc.rb: test_local_variables_in_other_context
* test/ruby/test_proc.rb (test_local_variables_in_other_context):
move from test_variable.rb, this is a test for the method of
Binding, not of Kernel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46643 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
04:18 PM Revision 82de71c2 (git): * 2014-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 PM Revision 71a1a3b8 (git): test_gem_package_tar_reader_entry.rb: close temporary files
* test/rubygems/test_gem_package_tar_reader_entry.rb (teardown):
close temporary files under util_entry to fix leaked tempfiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:18 PM Revision 8606377d (git): test_gem_remote_fetcher.rb: stop SSL server
* test/rubygems/test_gem_remote_fetcher.rb (stop_servers): stop
SSL server before shutdown its thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 PM Feature #10002 (Closed): String swapcase
Hi, the ruby version 2.1.2 has a problem with the .swapcase function and german letters.
E.g. `"ä".swapcase` does return "ä" but should be "Ä".
randy15 (Andreas Runk)
02:51 PM Revision 061e4c3f (git): * NEWS: [DOC] mention about Binding#local_variables, introduced at
r44392 (see [Feature #8773]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:36 PM Revision 71336a03 (git): * numeric.c (num_step_scan_args): table argument of rb_get_kwargs() is
array of IDs, not Symbols. [ruby-dev:48353] [Bug #9811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:34 PM Bug #9811: Numeric#step ignores `to` silently by keyword arguments.
r45861 およびその準備の r45859, r45860 を `ruby_2_1` にバックポートすると 1.step(by: 0).size が "in `size': unknown keywords: by, to (ArgumentError)" のような例外を発生させます。
rb_get_kwargs() は ID の配列を受けとりますが、Symbol の配列を渡しているためでした。trunk では rb_id2sym() が Symbol をそのまま返...
nagachika (Tomoyuki Chikanaga)
01:28 PM Bug #9986: WEBrick content-length being set when transfer-encoding is chunked
I've split out my patch into two separate patches. The first contains a failing test and the second contains a fix which has been applied to `WEBrick::HTTPResponse#[]=` instead of `#chunked?`
I assume this is the correct way of supply...
lengarvey (Leonard Garvey)
01:10 PM Feature #2542: URI lib should be updated to RFC 3986
I've implemented something similar to that policy in the following gist: https://gist.github.com/lengarvey/31983eac6664351ed16d
It's a very basic naive implementation but I believe it roughly does what we need URI.parse to do.
lengarvey (Leonard Garvey)
09:14 AM Feature #2542: URI lib should be updated to RFC 3986
I'm considering to change the error policy of URI library, for example:
BEFORE: raise error if invalid characters exist
AFTER: percent-escape them
naruse (Yui NARUSE)
05:59 AM Feature #2542: URI lib should be updated to RFC 3986
I think #9990 is related /cc @naruse @JK @tenderlove zzak (zzak _)
12:59 PM Bug #6137: openssl: hardcoded MD5 use leads to SSL server failure in FIPS mode
Patch for 1.8.7 is at https://bugzilla.redhat.com/show_bug.cgi?id=802946#c4 (this won't be news to you, Vit, but any other readers of this issue may not know about https://bugzilla.redhat.com/show_bug.cgi?id=802946) jared.jennings.ctr (Jared Jennings)
09:23 AM Revision c6bc3789 (git): * NEWS: added news entry of removing to date/format.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:20 AM Revision 05bb8549 (git): test_gem_remote_fetcher.rb: fix leaked threads
* test/rubygems/test_gem_remote_fetcher.rb (stop_servers): kill
server threads to fix leaked threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:21 AM Revision e2e4ac3a (git): Digest::HMAC is finally removed as previously noticed. [fix GH-648]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:36 AM Bug #9990: URI.parse and URI.encode use different RFCs
I did see it, this bug points out that URI.escape isn't covered by that change. I'm not sure if there's a more appropriate place for that feedback besides raising this issue though. This is a separate issue to the one raised by @tenderlo... lengarvey (Leonard Garvey)
06:02 AM Bug #9990 (Feedback): URI.parse and URI.encode use different RFCs
Did you see r46491? zzak (zzak _)
06:12 AM Bug #9998 (Assigned): docs state that define_singleton_method returns a proc if passed a block
Thanks for the report! zzak (zzak _)
06:12 AM Feature #9992: Access Modifiers (Internal Interfaces)
Ehh, sorry I must have missed #9992
zzak (zzak _)
06:12 AM Feature #9992: Access Modifiers (Internal Interfaces)
I would suggest opening a feature request if you feel strongly about adding `internal` to Ruby.
See also: https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures
zzak (zzak _)
05:49 AM Feature #9987: method Net::HTTP methods private
I also think this may be a feature zzak (zzak _)
05:47 AM Bug #9985 (Assigned): Gems documenation is not generated when installing local gem with --ignore-dependencies option
Could you please tell us the full command you used to reproduce this problem?
This could be related to RG or RDoc, so I'm assigning to @drbrain for feedback.
Thanks for the report! <3
zzak (zzak _)
03:16 AM Revision 91dfb379 (git): add timeout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:28 AM Revision f8a38a36 (git): * ext/date/lib/date/format.rb: removed empty file by @vipulnsward.
* ext/date/lib/date.rb: removed needless require.
[fix GH-647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:25 AM Feature #10000: format width and precision with symbol hash
I can resist next time! :) nobu (Nobuyoshi Nakada)
12:40 AM Revision ab606d8f (git): exception must make process stop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

06/30/2014

11:57 PM Feature #10000: format width and precision with symbol hash
You couldn't resist to create feature #10000, right? ;) rosenfeld (Rodrigo Rosenfeld Rosas)
11:24 PM Feature #10000 (Open): format width and precision with symbol hash
`Kernel#sprintf`では位置指定の場合には`*`によって引数での幅や精度の指定ができますが、`%{}`や`%<>`でのSymbolの場合では指定できません。
matz案では、`*`が指定された場合は該当する引数をArrayとみなして対応する幅、精度、値に分解するのはどうか、ということです。
nobu (Nobuyoshi Nakada)
11:36 PM Bug #9995 (Third Party's Issue): crash when running rake for the first time...
RVM's issue, as usual.
~~~
-- C level backtrace information -------------------------------------------
0 ruby 0x000000010c62bec6 rb_vm_bugreport + 134
1 ruby 0x0000...
nobu (Nobuyoshi Nakada)
11:32 PM Bug #9965 (Feedback): Segmentation Fault in Ruby
Does it happen in the trunk?
And could you show libraries part too?
nobu (Nobuyoshi Nakada)
11:32 PM Bug #9965: Segmentation Fault in Ruby
Does it happen in the trunk?
And could you show libraries part too?
nobu (Nobuyoshi Nakada)
11:27 PM Bug #9998: docs state that define_singleton_method returns a proc if passed a block
The behavior has changed as `def`. nobu (Nobuyoshi Nakada)
07:49 PM Bug #9998 (Closed): docs state that define_singleton_method returns a proc if passed a block
it returns a symbol
I'm guessing the docs are wrong?
rits (First Last)
11:06 PM Feature #9999 (Closed): Type Annotations (Static Type Checking)
Hi all,
I know @matz is interested in introducing **type annotations** in ruby. More here: https://bugs.ruby-lang.org/issues/5583
I think it's time for ruby to get this.
Before working on a patch I would like to know:
1. Synt...
DAddYE (Davide D'Agostino)
10:24 PM Feature #2542: URI lib should be updated to RFC 3986
In RFC 3986, square brackets are no longer allowed in the query part.
Source of the unescaped brackets, in this case: https://github.com/brynary/rack-test/blob/master/lib/rack/test/utils.rb
This may become a common issue since plen...
bitsweat (Jeremy Daer)
09:55 PM Feature #2542: URI lib should be updated to RFC 3986
r46491 broke this script:
~~~
require 'uri'
thing = URI.parse 'http://example.com'
thing.query = 'location[]=1&location[]=2&age_group[]=2'
~~~
Before r46491 it would set the query, after r46491, it raises an exception.
Is ...
tenderlovemaking (Aaron Patterson)
07:29 PM Revision 7ef7c6d6 (git): * 2014-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:28 PM Revision 7973ff4f (git): show if parallel test-all fails to Marshal.load
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:12 PM Bug #8625: IO#read(len, buf) shortens buf even if data is not read actually
Backported into `ruby_2_1` branch at r46629. nagachika (Tomoyuki Chikanaga)
06:12 PM Revision 428a637f (git): merge revision(s) r46360,r46372: [Backport #8625]
* io.c (io_setstrbuf, io_read): should not shorten the given buffer until
read succeeds. [ruby-core:55951] [Bug #8625]
* io.c (read_all): truncate the buffer before appending read data,
instead of truncating...
nagachika (Tomoyuki Chikanaga)
06:03 PM Bug #416: core_set_method_alias
r45399, r45400, r46036 and r46037 were backported into `ruby_2_1` branch at r46628.
nagachika (Tomoyuki Chikanaga)
06:02 PM Revision 09cf4529 (git): merge revision(s) r45399,r45400,r46036,r46037: [Backport #416]
vm.c: merge code
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary): merge
duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:47 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
... and fixed in my testing today ccutrer (Cody Cutrer)
05:18 PM Feature #9980: Create HashWithIndiferentAccess using new syntax {a: 1}i
Reattaching using Firefox rosenfeld (Rodrigo Rosenfeld Rosas)
08:07 AM Feature #9980: Create HashWithIndiferentAccess using new syntax {a: 1}i
received, thanks! naruse (Yui NARUSE)
05:17 PM Feature #9064: Add support for packages, like in Java
Reattaching using Firefox rosenfeld (Rodrigo Rosenfeld Rosas)
08:07 AM Feature #9064: Add support for packages, like in Java
received, thanks! naruse (Yui NARUSE)
05:14 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Trying again, using Firefox now. rosenfeld (Rodrigo Rosenfeld Rosas)
05:11 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Chrome reported this in the console: "Uncaught RangeError: Maximum call stack size exceeded."
The stack goes something like this:
~~~
v.extend.clone jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1402908441:2
(anonymous function) jquery-1.8....
rosenfeld (Rodrigo Rosenfeld Rosas)
05:05 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
I don't think I have permissions to remove it. I'm reattaching it.
But indeed Redmine is buggy here on Chrome when I try to attach a PDF. See attached screenshot (It attached the PDF twice and I removed the duplicate)
rosenfeld (Rodrigo Rosenfeld Rosas)
02:25 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Hi Rodrigo,
Cur redmine couldn't handle your file named feature-7797.pdf.
Please remove & upload it again.
hsbt (Hiroshi SHIBATA)
04:42 AM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
received, thanks! naruse (Yui NARUSE)
04:47 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
The first results are inverted? nobu (Nobuyoshi Nakada)
03:53 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
Sending the benchmark results again, the previous was wrong, sorry.
bm_loop_for.rb
Before
real 0m2.781s
user 0m2.777s
sys 0m0.004s
After
real 0m2.524s
user 0m2.520s
sys 0m0.004s
bm_loop_whileloop.rb
Before
real 0m1.26...
lbianc (Leonardo Bianconi)
03:44 PM Feature #9997 (Closed): Specifying non volatile registers for increase performence in ppc64
To increase performance on ppc64 machines, the registers 14 and 15 were specified for the architecture, just like for x86_64 machines.
I've executed some benchmarks, see below:
bm_loop_for.rb
Before After
real 0m2.52...
lbianc (Leonardo Bianconi)
03:46 PM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
Thanks for the patch. The test is passing with it.
I have not tested Ruby 2.0, but since the original issue was backported to Ruby 2.0, I'd expect that the fix should be applied there as well.
vo.x (Vit Ondruch)
02:59 PM Revision 1d0fbdb9 (git): gc.c: freeze GC::OPTS
* gc.c (Init_GC): freeze GC::OPTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 PM Revision 58bd5fac (git): string.c: rb_fstring_new
* string.c (rb_fstring_new): create fstring from pointer and
length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 PM Feature #6806: Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
It's just your style.
I use `Math.sin` and so on.
nobu (Nobuyoshi Nakada)
01:45 PM Feature #6806: Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
I meant that a function called like `Math::sin` would be required to return same values (for same arguments) every time. Maybe i did not explain this well. `Foo.bar`, on the other hand, would not have this restriction.
Same could be...
alexeymuranov (Alexey Muranov)
01:37 PM Feature #6806 (Feedback): Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
It seems unrelated to "functional programming" at all. nobu (Nobuyoshi Nakada)
01:31 PM Feature #6806: Support functional programming: forbid instance/class variables for ModuleName::method_name, allow for ModuleName.method_name
Besides functional programming, IMO this would support [command–query separation](https://en.wikipedia.org/wiki/Command–query_separation). alexeymuranov (Alexey Muranov)
11:33 AM Feature #5010 (Closed): Add Slop(-like) in stdlib and deprecate current OptionParser API
shyouhei (Shyouhei Urabe)
10:10 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Sure, feel free to close this one. rosenfeld (Rodrigo Rosenfeld Rosas)
02:57 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
I'm neutral about that proposed #to_hash (so far, bit vague), but is definitely far better than removing optparse. Can you let your proposal be a new ticket? This thread is already too long to read through.
Rodrigo Rosenfeld Rosas w...
shyouhei (Shyouhei Urabe)
10:11 AM Revision b105cbc8 (git): suppress warnings: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:06 AM Revision 48559765 (git): remove useless part of regexp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:51 AM Bug #9589: Stack level too deep during eval causes segmentation fault
This command fails with segfault on 2.1.1 and 2.1.2:
ruby -e 'define_method(:bar) {send(:bar)}; bar'
It's OK on 2.0.0 and below.
decuplet (Nikita Shilnikov)
08:14 AM Bug #9986: WEBrick content-length being set when transfer-encoding is chunked
Thanks for taking another look.
It's a relatively simple fix either way, I made the change in HTTPResponse#chunked? because I assumed that less 3rd parties would use this method so would be less affected by the additional logic withi...
lengarvey (Leonard Garvey)
08:04 AM Bug #9986 (Assigned): WEBrick content-length being set when transfer-encoding is chunked
It sounds reasonable.
But the fix should be in WEBrick::HTTPResponse#[]=.
naruse (Yui NARUSE)
08:07 AM Bug #8543: new rb_iseq_load crash
received, thanks! naruse (Yui NARUSE)
08:07 AM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
received, thanks! naruse (Yui NARUSE)
07:46 AM Revision 51ae29a3 (git): * gc.c (gc_stat_internal): return size_t value instead of VALUE
and remove `out' parameter.
* gc.c: add braces for `if' statements.
* gc.c (gc_stat_internal): fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:00 AM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
Yes, or `rb_id2str(SYM2ID(idx))`. nobu (Nobuyoshi Nakada)
06:57 AM Bug #9607: Change the full GC timing
The following patch is for current Ruby 2.1 branch.
Can anyone (who has memory consuming trouble) try this patch on Ruby 2.1 trunk?
I think this patch will decrease memory consumption on Ruby 2.1 (but increase major GC counts).
...
ko1 (Koichi Sasada)
06:14 AM Revision 4369806f (git): * gc.c: support `USE_RGENGC == 0'.
* test/ruby/test_gc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:29 AM Bug #9993 (Third Party's Issue): x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
That name comes from autoconf tools.
And your environment can be considered a variant of cross compiling.
`config.guess` expects the default compiler to make binaries for the current system, so you need to use `--host` option with pref...
nobu (Nobuyoshi Nakada)
02:48 AM Bug #9996 (Closed): document File.join returns a string
Hi, Lorenz. Thanks for your patch.
I applied at r46620.
hsbt (Hiroshi SHIBATA)
02:45 AM Bug #9996: document File.join returns a string
I don't see a way for me to close this, but my pull request was merged as I was authoring the bug #9996.
This can be closed now.
soodesune (Mark Lorenz)
02:41 AM Bug #9996 (Closed): document File.join returns a string
Duplicates: https://github.com/ruby/ruby/pull/646
The documented return from `File.join` is `path`. This patch changes it
to `string` to avoid confusion with `Pathname#join`, which returns a
`Pathname` object.
soodesune (Mark Lorenz)
02:37 AM Revision 989373b2 (git): * 2014-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:37 AM Revision b5a000bf (git): * file.c: [DOC] document File.join returns a string.
Contributed by @dapplebeforedawn. [fix GH-646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

06/29/2014

09:39 PM Bug #9995 (Third Party's Issue): crash when running rake for the first time...
New to ruby I get the error below. the instructions tell me to report it on this site so here I am. When I run rake the whole thing just crashes. I'm using ruby 2.1.2 installed under rvm.
~~~
brian@brians-air:~/RubymineProjects/work...
crimsonalucard (Brian Yeh)
06:23 PM Bug #9954: Unexpected Hash Modification and Segmentation Fault with Named Arguments
Backported into `ruby_2_1` branch at r46619. nagachika (Tomoyuki Chikanaga)
06:22 PM Revision 370e83b7 (git): merge revision(s) r46342: [Backport #9954]
* vm.c (core_hash_merge_kwd): should return the result hash, which
may be converted from and differ from the given argument.
[ruby-core:62921] [Bug #9898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_...
nagachika (Tomoyuki Chikanaga)
06:13 PM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
rb_sym2str() doesn't exist in 2.1. Can I use rb_sym_to_s() instead? nagachika (Tomoyuki Chikanaga)
06:09 PM Bug #9949: Net::FTP#gettextfile truncates last line when missing newline before EOF
Backported into `ruby_2_1` branch at r46618. nagachika (Tomoyuki Chikanaga)
06:08 PM Revision bdab29b1 (git): merge revision(s) r46457,r46458: [Backport #9949]
* lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-core:63205] [Bug #9949]
* test/net/ftp/test_buffered_socket.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@466...
nagachika (Tomoyuki Chikanaga)
06:06 PM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
Backported into `ruby_2_1` at r46617. nagachika (Tomoyuki Chikanaga)
06:01 PM Revision dfba910f (git): merge revision(s) r46331: [Backport #9885]
* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
type as "MIXED" followed immediately by params
[ruby-core:62864] [Bug #9885]
Patch by @rayners (David Raynes). [Fixes GH-622]
https://...
nagachika (Tomoyuki Chikanaga)
05:56 PM Bug #9878: ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
Backported into `ruby_2_1` at r46616. nagachika (Tomoyuki Chikanaga)
05:56 PM Revision d681d9ce (git): merge revision(s) r46233: [Backport #9878]
* signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they may not be a union.
[ruby-core:62836] [Bug #987...
nagachika (Tomoyuki Chikanaga)
05:43 PM Bug #9856: [PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
Backported into `ruby_2_1` branch at r46615. nagachika (Tomoyuki Chikanaga)
05:43 PM Revision 39d96342 (git): merge revision(s) r46075: [Backport #9856]
* process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
[Bug #9856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:35 PM Bug #9847: Cannot create new String when using File.read(size, buffer)
Backported into `ruby_2_1` branch at r46614. nagachika (Tomoyuki Chikanaga)
05:34 PM Revision 7d49e2bf (git): merge revision(s) r45979: [Backport #9847]
* io.c (io_setstrbuf): always check if the buffer is modifiable.
[ruby-core:62643] [Bug #9847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:27 PM Bug #9750: OpenSSL::SSL::SSLServer can not accept a Socket as it's first parameter
r45863 and r45871 were backported into `ruby_2_1` branch at r46613. nagachika (Tomoyuki Chikanaga)
05:26 PM Revision 4c5d8beb (git): merge revision(s) r45863,r45871: [Backport #9750]
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
Consider Socket#accept as well as TCPServer#accept.
Reported by Sam Stelfox. [ruby-core:62064] [Bug #9750]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nagachika (Tomoyuki Chikanaga)
05:21 PM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
Backported into `ruby_2_1` at r46612. nagachika (Tomoyuki Chikanaga)
05:21 PM Revision 1ff2d59e (git): merge revision(s) r45793: [Backport #9608]
* complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
[Bug #9608]
* rational.c (read_digits): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:17 PM Bug #9861: BSD_vfprintf precsion doesn't work at shorter string
Backported into `ruby_2_1` branch at r46611. nagachika (Tomoyuki Chikanaga)
05:17 PM Revision 0caeba64 (git): merge revision(s) r46098: [Backport #9861]
* vsnprintf.c (BSD_vfprintf): fix string width when precision is
given. as the result of `memchr` is NULL or its offset from the
start cannot exceed the size, the comparison was always false.
[ruby-core:627...
nagachika (Tomoyuki Chikanaga)
05:09 PM Bug #9994: replace deprecated macro finite() with isfinite() (fixed at r44505)
Backported into `ruby_2_1` branch at r46610. nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #9994 (Closed): replace deprecated macro finite() with isfinite() (fixed at r44505)
deprecated になった finite() を isfinite() に置換。
r44505 で修正済みです。
バックポート管理用にチケット化します。
nagachika (Tomoyuki Chikanaga)
05:09 PM Revision 8a333244 (git): merge revision(s) r44505: [Backport #9994]
numeric.c: isfinite
* numeric.c (flo_is_finite_p): prefer C99 standard isfinite() than
deprecated finite().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:00 PM Bug #9897: Build fails for fiddle with libffi version 3.1
Backported into `ruby_2_1` branch at r46609. nagachika (Tomoyuki Chikanaga)
04:59 PM Revision 1121fa0e (git): merge revision(s) r46485: [Backport #9897]
* ext/fiddle/extconf.rb: supply 0 to fill RUBY_LIBFFI_MODVERSION
with 3-digit. libffi 3.1 returns just 2-digit.
[ruby-core:62920] [Bug #9897]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46609 b2dd...
nagachika (Tomoyuki Chikanaga)
04:13 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
Backported into `ruby_2_1` branch at r46608. nagachika (Tomoyuki Chikanaga)
04:13 PM Revision bdf635bf (git): merge revision(s) r44535,r44536: [Backport #9321]
* vm.c (rb_vm_pop_cfunc_frame): added. It cares c_return event.
The patch base by drkaes (Stefan Kaes).
[Bug #9321]
* variable.c (rb_mod_const_missing): use rb_vm_pop_cfunc_frame()
instead of rb_fr...
nagachika (Tomoyuki Chikanaga)
03:12 PM Bug #9993: x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
https://github.com/wayneeseguin/rvm/issues/2928 DenKn (Denis Knauf)
03:09 PM Bug #9993 (Third Party's Issue): x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
Hi,
On x86_64 Linux Kernel, but i686 OS (there is no 64-binary file anywhere), this will produce a i686-binary ruby, but RUBY_PLATFORM=x86_64-linux:
# ./configure && make
Downloading config.guess...
Downloading config...
DenKn (Denis Knauf)
03:36 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
A patch that introduces a new feature is still a feature request, and the feature you'd introducing matches one of the stronger suggestions in #7793.
And considering the other ticket has been sitting for a year now, I suspect this is ...
phluid61 (Matthew Kerwin)
01:07 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
Ping seantheprogrammer (Sean Griffin)

06/28/2014

07:41 PM Feature #9992: Access Modifiers (Internal Interfaces)
Hi Nobuyoshi,

The notion of __Internal Interface__ is about being able to use the methods identified as __internal__ only in the context of a given root module and all its subclasses and/or submodules. Lets call it: _namespace full ...
dsferreira (Daniel Ferreira)
07:17 PM Feature #9992: Access Modifiers (Internal Interfaces)
They don't seem to belong to same namespace.
Could you elaborate?
nobu (Nobuyoshi Nakada)
07:05 PM Feature #9992 (Open): Access Modifiers (Internal Interfaces)
Hi,

I would like to discuss with you the concept of Internal Interfaces.

Currently ruby offers three access modifiers choices to set methods visibility:
- public
- protected
- private
Public methods define what we may cal...
dsferreira (Daniel Ferreira)
06:12 PM Revision 6fda1316 (git): * 2014-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:12 PM Revision f1cf168b (git): test_fork.rb: wait signals
* bootstraptest/test_fork.rb: wait until receiving both singals,
upto 0.1sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:42 PM Bug #9991: fd leak on WEBrick::Utils#create_listeners (fixed at r46598)
Backported into `ruby_2_1` branch at r46605. nagachika (Tomoyuki Chikanaga)
04:33 PM Bug #9991 (Closed): fd leak on WEBrick::Utils#create_listeners (fixed at r46598)
WEBrick::Utils#create_listeners での socket close 漏れの修正
バックポート管理用にチケット化します。
nagachika (Tomoyuki Chikanaga)
04:41 PM Revision b18ab01b (git): merge revision(s) r46598: [Backport #9991]
* lib/webrick/utils.rb (create_listeners): Close socket objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:58 PM Revision d0465cc9 (git): * ext/pathname/pathname.c (path_birthtime): Windows support.
see [Feature #9857] [ruby-dev:48339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:47 PM Revision 3436b7bb (git): Pathname#birthtime added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:46 PM Feature #9857 (Closed): Pathname#birthtime
Applied in changeset r46602.
----------
* ext/pathname/pathname.c (path_birthtime): New method,
Pathname#birthtime.
Proposed by Kazuhiro NISHIYAMA. [ruby-dev:48232] [Feature #9857]
akr (Akira Tanaka)
12:47 PM Feature #9857: Pathname#birthtime
Win32的には全くお話になっていませんが、パッチのパッチを出すのは面倒なので、取り込まれたら対応します。 usa (Usaku NAKAMURA)
10:37 AM Feature #9857: Pathname#birthtime
Mac OS X と Linux で `respond_to?` への対応も確認しました。
Windows は環境がなくて対応できていません。
znz (Kazuhiro NISHIYAMA)
01:46 PM Revision b9faaf6a (git): * ext/pathname/pathname.c (path_birthtime): New method,
Pathname#birthtime.
Proposed by Kazuhiro NISHIYAMA. [ruby-dev:48232] [Feature #9857]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:51 PM Revision 7361eb94 (git): inspect IO objects before closed IO object test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision 38f01339 (git): bigdecimal/math.rb: error message in BigMath#PI
* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#PI): change error
message about zero or negative precision for clarity and
consistency with other methods. [GH-644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46600 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
09:10 AM Bug #9990 (Closed): URI.parse and URI.encode use different RFCs
The latest code for URI.parse uses RFC3986 but URI.encode/URI.escape still uses the old URI::RFC2396_Parser implementation of encode. This causes problems when the specs diverge.
In RFC3986 square brackets "[" and "]" are reserved and...
lengarvey (Leonard Garvey)
08:49 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
Since today is 6/28, here's a pull request on trunk:
* https://github.com/ruby/ruby/pull/644
See also:
* http://tauday.com/state-of-the-tau
Best wishes and Happy Tau Day... :)
sbaird (Simon Baird)
07:42 AM Bug #9882: Issue with hash string keys
Backported into `ruby_2_1` branch at r46599. nagachika (Tomoyuki Chikanaga)
07:42 AM Revision 108828f6 (git): merge revision(s) r46243,r46244: [Backport #9882] [Backport #9883]
* string.c (rb_str_substr): need to reset code range for shared
string too, not only copied string.
[ruby-core:62842] [Bug #9882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46599 b2dd03c8-39d4-4d8...
nagachika (Tomoyuki Chikanaga)
06:33 AM Revision 8b76d21f (git): * lib/webrick/utils.rb (create_listeners): Close socket objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:08 AM Revision 1c58954c (git): Suppress double dots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:55 AM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
No objection. I changed Backport field to `DONTNEED`. nagachika (Tomoyuki Chikanaga)
05:53 AM Bug #9486: Multiple Kernel#local_variables entries with block local parameters
r45845, r45846 and r45847 were backported into `ruby_2_1` at r46596. nagachika (Tomoyuki Chikanaga)
05:51 AM Revision 416f0075 (git): merge revision(s) r45845,r45846,r45847: [Backport #9486]
* parse.y (local_tbl_gen): remove local variables duplicated with
arguments.
* parse.y (new_bv_gen): no duplicated names, if already added in
shadowing_lvar().
[ruby-core:60501] [Bug #9486]
git-sv...
nagachika (Tomoyuki Chikanaga)
05:34 AM Revision f28a1273 (git): test_env.rb: relax limits
* test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}):
increase rehearsals and memory leak limits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:58 AM Revision fd4df3be (git): eval.c: no overwrite SystemStackError backtrace
* eval.c (setup_exception): should not overwrite SystemStackError
backtrace if set already. [ruby-core:63377] [Feature #6216]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:58 AM Revision 3ff85b79 (git): eval.c: no method calls at stack overflow
* eval.c (setup_exception): get rid of method calls before raising
stack overflow, not to cause stack overflow again.
* defs/id.def: add IDs for backtraces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46593 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
04:54 AM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
Hello, Vit
I'd like to extend timeout for the testcase in `ruby_2_1` branch, but is it only occurs on 2.1?
Should we care about it on each branch?
Anyway, could you try with the following patch to determine how long does the test ...
nagachika (Tomoyuki Chikanaga)
02:09 AM Bug #9989: Docs give wrong information for sort block return values
This occurs under Array.sort and Array.sort! (http://www.ruby-doc.org/core-2.1.2/Array.html#method-i-sort)
Enumerable.sort vaguely states:
> The block should return -1, 0, or +1 depending on the comparison between a and b.
(http...
robyoder (Rob Yoder)
02:05 AM Bug #9989 (Closed): Docs give wrong information for sort block return values
Under the Array.sort documentation, this statement is made:
> Comparisons for the sort will be done using the <=> operator or using an optional code block.
> ...
This is incorrect. The default sort block is `{ |a,b| a <=> b }`. That...
robyoder (Rob Yoder)
01:55 AM Bug #9986: WEBrick content-length being set when transfer-encoding is chunked
I don't believe this is a duplicate of #9927. This occurs if you're not issuing a HEAD request and affects Safari with standard rack applications which use the Rack::Chunked middleware.
~~~
ᐅ curl -i http://localhost:8000
HTTP/1.1 2...
lengarvey (Leonard Garvey)
12:26 AM Revision 60fb0873 (git): * test/ruby/envutil.rb (assert_no_memory_leak): changed the threshold to avoid
false-positives on some CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

06/27/2014

10:58 PM Feature #9987 (Third Party's Issue): method Net::HTTP methods private
Why is it private?
Who does it?
nobu (Nobuyoshi Nakada)
05:03 PM Feature #9987 (Third Party's Issue): method Net::HTTP methods private
~~~ruby
def HTTP.start(address, *arg, &block) # :yield: +http+
arg.pop if opt = Hash.try_convert(arg[-1])
port, p_addr, p_port, p_user, p_pass = *arg
port = https_default_port if !port && opt && opt[:use_ssl]
...
douglasfeitosa (Douglas Feitosa)
10:55 PM Bug #9986 (Rejected): WEBrick content-length being set when transfer-encoding is chunked
nobu (Nobuyoshi Nakada)
04:32 PM Bug #9986 (Closed): WEBrick content-length being set when transfer-encoding is chunked
It's possible to get WEBrick to return both Transfer-Encoding: chunked and a calculated Content-length header. If the Transfer-encoding header is set via WEBrick::HTTPResponse#[]= then #chunked? will return false and the content length w... lengarvey (Leonard Garvey)
10:52 PM Revision 76bb5977 (git): mkconfig.rb: fix empty prefix
* tool/mkconfig.rb: vars["prefix"] may not set. [fix GH-643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:32 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
I can confirm that this is working on current master, but with one problem - if the exception is ever rescued and then re-raised (even with just a plain `raise`, not `raise e` or anything), the backtrace is reset to where it's re-raised ... ccutrer (Cody Cutrer)
07:26 PM Revision e63ab5d3 (git): * lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5.
* lib/uri/mailto.rb (HEADER_PATTERN): removed.
* lib/uri/mailto.rb (HEADER_REGEXP): use RFC 6068 hfields.
* lib/uri/mailto.rb (EMAIL_REGEXP): use HTML5 email regexp.
* lib/uri/mailto.rb (URI::MailTo.build): support multiple to address...
naruse (Yui NARUSE)
05:39 PM Bug #9988 (Closed): CSV does not write headers when :write_headers is true and no rows are added
When the CSV :write_headers option is used, headers are only added if at least one row is added:
~~~
$ ruby -r csv -e "p CSV.generate(:headers=>%w'a b c', :write_headers=>true){|csv|}"
""
$ ruby -r csv -e "p CSV.generate(:headers=>...
jeremyevans0 (Jeremy Evans)
04:28 PM Revision 402d33fc (git): eval.c: reduce machine stack overflow backtrace
* eval.c (setup_exception): revert r46531 to reduce backtrace at
machine stack overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 PM Revision 9a4f9f34 (git): reapply r46568 "assertions.rb: refine message"
`exception` is an expected exception class, not the raised instance,
so the result message cannot have any backtraces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 PM Revision b020c00c (git): * 2014-06-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision bffd6395 (git): mkconfig.rb: fix empty prefix
* tool/mkconfig.rb: fix empty RbConfig::CONFIG["prefix"] when
configured --with-rubyarchprefix, remove prefix from rubyarchdir
after expansion for the case it does not start with '$(prefix)'.
[fix GH-643]
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:34 PM Revision 8de619be (git): test_env.rb: rehearsal
* test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}):
have a rehearsal before the main loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:03 PM Bug #9985 (Closed): Gems documenation is not generated when installing local gem with --ignore-dependencies option
Gems documenation is not generated when installing local gem with --ignore-dependencies option.
Ruby 2.1.2, gem 2.2.2 (gem -v).
Running install with options "--env-shebang --rdoc --ri --force --ignore-dependencies --install-dir ......
Pulfer (Andrey Bondrov)
12:52 PM Feature #9852: How to bundle test-unit2 and minitest5
I always had the vision that the gems should be available in source format. Something like svn:externals or git submodules. The sources would be editable that way, which comes handy at some times. It also avoids the "download" step, sinc... vo.x (Vit Ondruch)
10:47 AM Bug #9984 (Closed): OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
Ruby's test suite fails on ARM [1] (originally reported at [2]) with error:
~~~
4) Error:
OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak:
Timeout::Error: execution of assert_no_memory_leak expired
/builddir/build/BUILD/ru...
vo.x (Vit Ondruch)
08:59 AM Bug #9882: Issue with hash string keys
backported into `ruby_2_0_0` at r46584. usa (Usaku NAKAMURA)
08:58 AM Revision 08e698d4 (git): merge revision(s) 46243,46244: [Backport #9882] [Backport #9883]
* string.c (rb_str_substr): need to reset code range for shared
string too, not only copied string.
[ruby-core:62842] [Bug #9882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46584 b2dd03c8-39d4-4...
U.Nakamura
08:55 AM Bug #9878: ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
backported into `ruby_2_0_0` at r46583. usa (Usaku NAKAMURA)
08:55 AM Revision 6491028d (git): merge revision(s) 46233: [Backport #9878]
* signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they may not be a union.
[ruby-core:62836] [Bug #987...
U.Nakamura
08:46 AM Bug #9861: BSD_vfprintf precsion doesn't work at shorter string
backported into `ruby_2_0_0` at r46582. usa (Usaku NAKAMURA)
08:46 AM Revision 4e057b91 (git): merge revision(s) 46098: [Backport #9861]
* vsnprintf.c (BSD_vfprintf): fix string width when precision is
given. as the result of `memchr` is NULL or its offset from the
start cannot exceed the size, the comparison was always false.
[ruby-core:627...
U.Nakamura
08:28 AM Bug #9856: [PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
backported into `ruby_2_0_0` at r46581. usa (Usaku NAKAMURA)
08:27 AM Revision 1c8500b3 (git): merge revision(s) 46075: [Backport #9856]
* process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
[Bug #9856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:22 AM Bug #9847: Cannot create new String when using File.read(size, buffer)
backported into `ruby_2_0_0` at r46580. usa (Usaku NAKAMURA)
08:22 AM Revision 322b2679 (git): merge revision(s) 45979: [Backport #9847]
* io.c (io_setstrbuf): always check if the buffer is modifiable.
[ruby-core:62643] [Bug #9847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:18 AM Bug #9750: OpenSSL::SSL::SSLServer can not accept a Socket as it's first parameter
backported r45863 and r45871 into `ruby_2_0_0` at r46579. usa (Usaku NAKAMURA)
08:17 AM Revision 674b2526 (git): merge revision(s) 45863,45871: [Backport #9750]
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept):
Consider Socket#accept as well as TCPServer#accept.
Reported by Sam Stelfox. [ruby-core:62064] [Bug #9750]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
U.Nakamura
08:15 AM Bug #9589: Stack level too deep during eval causes segmentation fault
This bug should be against the newest ruby stable 2.1.2, but I cannot change that.
I just encountered it in a spec that looks like this:
require 'spec_helper'
describe "test" do
let(:die) { "this is fine" }
context "with bad c...
runephilosof (Rune Philosof)
08:13 AM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
backported into `ruby_2_0_0` at r46578. usa (Usaku NAKAMURA)
08:13 AM Revision 516f8f35 (git): merge revision(s) 45793: [Backport #9608]
* complex.c (parse_comp): replace ALLOCA_N with ALLOCV_N/ALLOCV_END
[Bug #9608]
* rational.c (read_digits): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46578 b2dd03c8-39d4-4d8f-98ff-823fe69b...
U.Nakamura
08:06 AM Bug #9872: socket leak in Net::FTP#transfercmd (fixed at r46182)
backported into `ruby_2_0_0` at r46577. usa (Usaku NAKAMURA)
08:05 AM Revision 52832c4d (git): merge revision(s) 46182: [Backport #9872]
* lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
exception occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:04 AM Bug #9739: TestException#test_machine_stackoverflow(_by_define_method) failures on x64-mingw32
backported r43748 (for mswin), r45947 and r45951 (for mingw) into `ruby_2_0_0` at r46576. usa (Usaku NAKAMURA)
08:03 AM Revision 2c1a9c3d (git): merge revision(s) 43748,45947,45951: [Backport #9739]
* eval_intern.h (SAVE_ROOT_JMPBUF): workaround for the failure of
test/ruby/test_exception.rb on Windows.
wrap by __try and __exception statements on mswin to raise SIGSEGV
when EXCEPTION_STACK_OVERFLOW is o...
U.Nakamura
07:57 AM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
backported into `ruby_2_0_0` at r46575. usa (Usaku NAKAMURA)
07:57 AM Revision 2fcf1bb6 (git): merge revision(s) 46194: [Backport #9835]
* signal.c (signal_exec): ignore immediate cmd for SIG_IGN
* signal.c (trap_handler): set cmd to true for SIG_IGN
* signal.c (trap): handle nil and true values for oldcmd
[Bug #9835]
git-svn-id: svn+ssh://ci...
U.Nakamura
06:32 AM Revision cc02a4ab (git): * lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.
because it's effected by removing minitest from stdlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:28 AM Revision aac7837c (git): Revert r46568 "assertions.rb: refine message"
Don't inspect exceptions without backtrace omission for SystemStackError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:25 AM Revision 36a043a9 (git): suppress warnings: URI.regexp is obsolete
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:35 AM Revision b0bc5635 (git): * lib/rubygems/specification.rb: fixed broken condition caused
by removing YAML::ENGINE.
* lib/rubygems/package/old.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

06/26/2014

11:40 PM Bug #8543: new rb_iseq_load crash
Salutations,
Attached is a one-page PDF slide for the Ruby 2.2 feature proposal
developer meeting. It describes our use case for rb_iseq_load, per:
[ruby-core:63332] [ANN] Request for "slide-show" of your feature proposal
Than...
spatulasnout (B Kelly)
08:33 PM Bug #9983 (Closed): memory leak at ENV.shift on Windows
Applied in changeset r46570.
----------
hash.c: fix memory leak
* hash.c (env_shift): fix memory leak on Windows, free environment
strings block always. [ruby-dev:48332] [Bug #9983]
nobu (Nobuyoshi Nakada)
08:23 PM Bug #9983 (Closed): memory leak at ENV.shift on Windows
Windows版で、`ENV.shift` がメモリリークしているようです。 nobu (Nobuyoshi Nakada)
08:33 PM Revision 68bc5ba1 (git): hash.c: fix memory leak
* hash.c (env_shift): fix memory leak on Windows, free environment
strings block always. [ruby-dev:48332] [Bug #9983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:42 PM Bug #9982 (Closed): Kernel#sprintf: unmbered widht and precision with numbered argument
Applied in changeset r46569.
----------
sprintf.c: unnumbered asterisk with numbered argument
* sprintf.c (GETASTER): should not use the numbered argument to be
formatted, raise ArgumentError instead.
[ruby-dev:48330] [Bug #9982]
nobu (Nobuyoshi Nakada)
06:35 PM Bug #9982 (Closed): Kernel#sprintf: unmbered widht and precision with numbered argument
次のコードがエラーにならず、変換対象の引数が幅や精度としても使われています。
~~~ruby
sprintf("%1$*d", 3) #=> " 3"
sprintf("%1$.*d", 3) #=> "003"
~~~
nobu (Nobuyoshi Nakada)
06:41 PM Revision cfa7b228 (git): sprintf.c: unnumbered asterisk with numbered argument
* sprintf.c (GETASTER): should not use the numbered argument to be
formatted, raise ArgumentError instead.
[ruby-dev:48330] [Bug #9982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:25 PM Revision 54516577 (git): assertions.rb: refine message
* test/lib/test/unit/assertions.rb (assert_raise_with_message):
refine default message for the exception to be raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:54 PM Feature #8258: Dir#escape_glob
An official API for escaping paths would be a hugely useful feature. In Homebrew, we use `Dir[]`, `Dir.glob` and `Pathname.glob` a lot, but little attention has been paid to properly escaping paths, and over the years we have accumulated... Anonymous
03:03 PM Revision 425dc308 (git): * 2014-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 565ce9b3 (git): eval.c: suppress a warning
* eval.c (setup_exception): suppress a maybe-uninitialized false
warning by gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:19 PM Feature #6559: Set DoNotReverseLookup to true in Webrick
Would this be possible to be included in 2.2.0? rosenfeld (Rodrigo Rosenfeld Rosas)
02:19 PM Feature #6452: Allow extend to override class methods
Would Module.preextend be a good name for that? It would indicate it's similar to prepend but applied to extend... rosenfeld (Rodrigo Rosenfeld Rosas)
01:48 PM Feature #6265: Remove 'useless' 'concatenation' syntax
Yusuke, how about for 2.2.0? rosenfeld (Rodrigo Rosenfeld Rosas)
01:46 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Ok, what about introducing new methods to make it easier to work with OptionParser?
Like:
~~~
opts = OptionParser.parse do |p|
p.banner "Usage: example.rb [options]"
p.on :v, :verbose, "Run verbosely", :default => true
end
...
rosenfeld (Rodrigo Rosenfeld Rosas)
01:44 PM Feature #9981 (Closed): Net::SMTP#send_message が大量の write(2) を発行する
`Net::SMTP#send_message` でメールを送信すると1行毎に write(2) が発行されます。
1MB のバイナリデータを添付すると、18000回以上 write することになります。
1048576(byte) * 4/3 (Base64化) / 76 (1行あたりの長さ) = 18396 行
SMTP の DATA 命令後はひたすらデータを送り続ければいいだけなので行ごとに write するよりもバッファリングした方がいいと思います...
tommy (Masahiro Tomita)
01:35 PM Revision 29fc4912 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:30 PM Revision 57d6cb4a (git): sprintf.c: remove extra parentheses
* sprintf.c (GETASTER): remove extra parentheses from the second
argument so that the error message does not contain them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:04 PM Feature #4840: Allow returning from require
I trust nobu more than myself. Thank you!
--
Yusuke Endoh <mame@ruby-lang.org>
mame (Yusuke Endoh)
12:33 PM Feature #4840: Allow returning from require
Yusuke, would the patch proposed by Nobu with the typo fix for rescue be good enough? rosenfeld (Rodrigo Rosenfeld Rosas)
01:01 PM Feature #7791 (Closed): Let symbols be garbage collected
hsbt (Hiroshi SHIBATA)
12:42 PM Feature #7791: Let symbols be garbage collected
I think I read somewhere this has been already implemented in trunk. If that's true I think this ticket should be closed as resolved. rosenfeld (Rodrigo Rosenfeld Rosas)
12:49 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
Attached slide for proposal rosenfeld (Rodrigo Rosenfeld Rosas)
12:40 PM Feature #8643: Add Binding.from_hash
Add slide for proposal rosenfeld (Rodrigo Rosenfeld Rosas)
12:32 PM Feature #9064: Add support for packages, like in Java
Attached proposal slide rosenfeld (Rodrigo Rosenfeld Rosas)
12:23 PM Feature #9980 (Rejected): Create HashWithIndiferentAccess using new syntax {a: 1}i
This is related to feature #7797. For that feature I requested a regular hash ({}) to be treated as HWIA and the current hash implementation would be available as StrictHash.new since it's not as much needed as the common case of expecti... rosenfeld (Rodrigo Rosenfeld Rosas)
12:02 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
Attached an slide for this proposal rosenfeld (Rodrigo Rosenfeld Rosas)
10:10 AM Bug #9974: Regression: URI.parse allows invalid URIs
Thank you for checking trunk version,
You may know, RFC3986 allows underscores in reg-name though DNS name doesn't include underscore.
```
host = IP-literal / IPv4address / reg-name
reg-name = *( unreserved / pct...
naruse (Yui NARUSE)
10:06 AM Bug #8973: Allow to configure archlibdir for multiarch
Lauri Tirkkonen wrote:
> Looks like there's another related issue though. Having built with this patch it looks like --with-rubyarchprefix=lib/amd64/ruby has no effect: the arch-specific libs end up in lib/ruby/2.1.0/i386-solaris2.11 an...
lotheac (Lauri Tirkkonen)
08:46 AM Bug #8973: Allow to configure archlibdir for multiarch
I second this patch. I was using --with-multiarch --with-archlibdir --with-rubylibprefix --with-rubyarchprefix --with-rubyarchsiteprefix on ruby 2.0.0 to get a correct directory layout on OmniOS, but on 2.1.2 that no longer works: $(arch... lotheac (Lauri Tirkkonen)
09:27 AM Revision 76735810 (git): * test/with_different_ofs.rb: move into test library directory.
* test/csv/base.rb: fix require path for with_different_ofs.rb.
* test/digest/test_digest_extend.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:16 AM Revision 4af87bd6 (git): * test/profile_test_all.rb: move into test library directory.
* test/runner.rb: fix require path for profile_test_all.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
09:14 AM Revision 5e631969 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:05 AM Revision c9134128 (git): * lib/webrick/httpproxy.rb: remvoe useless assigned variables.
* lib/webrick/httpservlet/cgihandler.rb: ditto.
* lib/webrick/httpservlet/erbhandler.rb: ditto.
* lib/webrick/server.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:38 AM Bug #9743: memory leak in openssl ossl_pkey_verify leaks memory
This is causing test suite timeout on Fedora Rawhide ARM builder :/
https://kojipkgs.fedoraproject.org//work/tasks/4012/7074012/build.log
vo.x (Vit Ondruch)
02:52 AM Bug #8344 (Closed): Status of Psych and Syck
Applied in changeset r46559.
----------
Revert "Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]""
syck-1.0.3 gem support this imcompatible changes.
This reverts commit r46102
hsbt (Hiroshi SHIBATA)
02:52 AM Revision 46724873 (git): Revert "Revert "* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]""
syck-1.0.3 gem support this imcompatible changes.
This reverts commit r46102
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:56 AM Bug #9979: Regression: BigDecimal::ROUND_HALF_DOWN/ROUND_HALF_EVEN behave incorrectly
This issue is a regression and is the same as issue #3803 josephleniston (Joseph Leniston)
01:53 AM Bug #9979 (Closed): Regression: BigDecimal::ROUND_HALF_DOWN/ROUND_HALF_EVEN behave incorrectly
The incorrect behaviour is that all fractional values between 0.5 (inclusive) and 0.6 (non-inclusive) are subject to the rounding policy for 'half', whereas it should only be applied for fractional values exactly equal to 0.5. josephleniston (Joseph Leniston)
12:46 AM Revision 94a6e6f6 (git): set top level folder to same as archname of tarball
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Terence Lee

06/25/2014

11:28 PM Bug #9978 (Closed): memory leak at ENV.select on Windows
Applied in changeset r46557.
----------
hash.c: fix memory leak
* hash.c (env_select): fix memory leak and crash on Windows, make
keys array first instead of iterating on envrion directly.
[ruby-dev:48325] [Bug #9978]
nobu (Nobuyoshi Nakada)
03:03 PM Bug #9978 (Closed): memory leak at ENV.select on Windows
Windows版で、`ENV.select {break}` がメモリリークしているようです。 nobu (Nobuyoshi Nakada)
11:28 PM Revision 78c763a2 (git): hash.c: fix memory leak
* hash.c (env_select): fix memory leak and crash on Windows, make
keys array first instead of iterating on envrion directly.
[ruby-dev:48325] [Bug #9978]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46557 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
10:43 PM Revision 7eeaf208 (git): hash.c: fix dangling pointer
* hash.c (env_name): also store a coerced string to get rid of a
dangling pointer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 PM Revision 85940811 (git): bump patchlevel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@46555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Terence Lee
06:50 PM Revision 7252b67d (git): * 2014-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@46554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:50 PM Revision f8f3b03c (git): fix quoting bug for make dist
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@46553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Terence Lee
05:45 PM Revision 0e198d37 (git): * 2014-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:45 PM Revision f96f0139 (git): eval_error.c: newline always
* eval_error.c (error_print): put a newline after an anonymous
exception class name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 PM Bug #9977 (Closed): memory leak at ENV.[]= on Windows
Applied in changeset r46550.
----------
hash.c: fix memory leak
* hash.c (ruby_setenv): fix memory leak on Windows, free
environment strings block after check for the size.
[ruby-dev:48323] [Bug #9977]
nobu (Nobuyoshi Nakada)
01:26 PM Bug #9977 (Closed): memory leak at ENV.[]= on Windows
Windows版で、`ENV.[]=` がメモリリークしているようです。 nobu (Nobuyoshi Nakada)
01:31 PM Revision 4198f147 (git): hash.c: fix memory leak
* hash.c (ruby_setenv): fix memory leak on Windows, free
environment strings block after check for the size.
[ruby-dev:48323] [Bug #9977]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:29 PM Bug #9937: Segfault in the TracePoint API
Bump!
Similar update: after latest bug fixes in the API (#9957, #9959, #9961, #9964), the build still segfaults in the same place.
By the way, thanks for all the recent work and bug fixes in the TracePoint API!!
deivid (David Rodríguez)
12:18 PM Revision e1884ec8 (git): hash.c: env_name
* hash.c (get_env_ptr, env_name): extract check for bad
environment variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:55 AM Revision 57c9c318 (git): ccan/container_of/container_of.h: avoid warning with -Wcast-qual
* ccan/container_of/container_of.h (container_off_var):
avoid warning with -Wcast-qual
[ccan ba5ad771af4aa9e085498de6c3c665c52694460f (Rusty Russell)]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46548 b2dd03c8-39d4-4d8f-98ff-8...
Eric Wong
01:20 AM Bug #9976 (Closed): ENV doesn't raise SecurityError except for aset and delete
Applied in changeset r46547.
----------
hash.c: prohibit tainted strings
* hash.c (env_aset, env_has_key, env_assoc, env_has_value),
(env_rassoc, env_key): prohibit tainted strings if $SAFE is
non-zero. [Bug #9976]
nobu (Nobuyoshi Nakada)
01:19 AM Bug #9976 (Closed): ENV doesn't raise SecurityError except for aset and delete
`ENV#[]=` と `ENV#delete` は`$SAFE > 0`のときにtaintedな引数をエラーにしますが、他のメソッドでエラーになりません。 nobu (Nobuyoshi Nakada)
01:20 AM Revision 51a1c68b (git): hash.c: prohibit tainted strings
* hash.c (env_aset, env_has_key, env_assoc, env_has_value),
(env_rassoc, env_key): prohibit tainted strings if $SAFE is
non-zero. [Bug #9976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom