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.
-
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 ...
- 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 -
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... -
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... -
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] -
05:04 PM Feature #8779: Binding#yourself
- なんと、accept されていた。
2.2 で入れる?
(self.self 書いてみるとキモカワイかったのだけど -> http://www.atdot.net/~ko1/diary/201407.html#d2 )
-
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 -
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] -
12:29 PM Bug #10001 (Closed): Binding#local_variables が返ってこない
- Binding#local_variables を呼びだすと、ハングアップします。
以下で再現します。
~~~
ruby -e 'binding.local_variables'
~~~ -
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 -
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 -
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... - 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
-
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 -
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 -
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 "Ä". - 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 -
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 -
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 をそのまま返... -
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... -
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. -
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 -
05:59 AM Feature #2542: URI lib should be updated to RFC 3986
- I think #9990 is related /cc @naruse @JK @tenderlove
-
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)
-
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
-
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 - 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
-
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...
-
06:02 AM Bug #9990 (Feedback): URI.parse and URI.encode use different RFCs
- Did you see r46491?
-
06:12 AM Bug #9998 (Assigned): docs state that define_singleton_method returns a proc if passed a block
- Thanks for the report!
-
06:12 AM Feature #9992: Access Modifiers (Internal Interfaces)
- Ehh, sorry I must have missed #9992
-
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
-
05:49 AM Feature #9987: method Net::HTTP methods private
- I also think this may be a feature
-
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 -
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
-
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 -
01:25 AM Feature #10000: format width and precision with symbol hash
- I can resist next time! :)
-
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
06/30/2014
-
11:57 PM Feature #10000: format width and precision with symbol hash
- You couldn't resist to create feature #10000, right? ;)
-
11:24 PM Feature #10000 (Open): format width and precision with symbol hash
- `Kernel#sprintf`では位置指定の場合には`*`によって引数での幅や精度の指定ができますが、`%{}`や`%<>`でのSymbolの場合では指定できません。
matz案では、`*`が指定された場合は該当する引数をArrayとみなして対応する幅、精度、値に分解するのはどうか、ということです。 -
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... -
11:32 PM Bug #9965 (Feedback): Segmentation Fault in Ruby
- Does it happen in the trunk?
And could you show libraries part too? -
11:32 PM Bug #9965: Segmentation Fault in Ruby
- Does it happen in the trunk?
And could you show libraries part too? -
11:27 PM Bug #9998: docs state that define_singleton_method returns a proc if passed a block
- The behavior has changed as `def`.
-
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? -
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... -
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... -
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 ... - 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
-
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
-
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.
-
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... -
06:03 PM Bug #416: core_set_method_alias
- r45399, r45400, r46036 and r46037 were backported into `ruby_2_1` branch at r46628.
-
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 -
05:47 PM Feature #6216: SystemStackError backtraces should not be reduced to one line
- ... and fixed in my testing today
-
05:18 PM Feature #9980: Create HashWithIndiferentAccess using new syntax {a: 1}i
- Reattaching using Firefox
-
08:07 AM Feature #9980: Create HashWithIndiferentAccess using new syntax {a: 1}i
- received, thanks!
-
05:17 PM Feature #9064: Add support for packages, like in Java
- Reattaching using Firefox
-
08:07 AM Feature #9064: Add support for packages, like in Java
- received, thanks!
-
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.
-
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.... -
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) -
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. -
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!
-
04:47 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
- The first results are inverted?
-
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... -
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... -
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. -
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 -
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 -
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. -
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... -
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.
-
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).
-
11:33 AM Feature #5010 (Closed): Add Slop(-like) in stdlib and deprecate current OptionParser API
-
10:10 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- Sure, feel free to close this one.
-
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... -
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
-
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
-
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. -
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... -
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#[]=. -
08:07 AM Bug #8543: new rb_iseq_load crash
- received, thanks!
-
08:07 AM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
- received, thanks!
-
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 -
07:00 AM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
- Yes, or `rb_id2str(SYM2ID(idx))`.
-
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).
... -
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 -
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... -
02:48 AM Bug #9996 (Closed): document File.join returns a string
- Hi, Lorenz. Thanks for your patch.
I applied at r46620. -
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. -
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. - 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
-
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
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... -
06:23 PM Bug #9954: Unexpected Hash Modification and Segmentation Fault with Named Arguments
- Backported into `ruby_2_1` branch at r46619.
-
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_... -
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?
-
06:09 PM Bug #9949: Net::FTP#gettextfile truncates last line when missing newline before EOF
- Backported into `ruby_2_1` branch at r46618.
-
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... -
06:06 PM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- Backported into `ruby_2_1` at r46617.
-
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://... -
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.
-
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... -
05:43 PM Bug #9856: [PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
- Backported into `ruby_2_1` branch at r46615.
-
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 -
05:35 PM Bug #9847: Cannot create new String when using File.read(size, buffer)
- Backported into `ruby_2_1` branch at r46614.
-
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 -
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.
-
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... -
05:21 PM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
- Backported into `ruby_2_1` at r46612.
-
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 -
05:17 PM Bug #9861: BSD_vfprintf precsion doesn't work at shorter string
- Backported into `ruby_2_1` branch at r46611.
-
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... -
05:09 PM Bug #9994: replace deprecated macro finite() with isfinite() (fixed at r44505)
- Backported into `ruby_2_1` branch at r46610.
-
05:02 PM Bug #9994 (Closed): replace deprecated macro finite() with isfinite() (fixed at r44505)
- deprecated になった finite() を isfinite() に置換。
r44505 で修正済みです。
バックポート管理用にチケット化します。 -
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 -
05:00 PM Bug #9897: Build fails for fiddle with libffi version 3.1
- Backported into `ruby_2_1` branch at r46609.
-
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... -
04:13 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
- Backported into `ruby_2_1` branch at r46608.
-
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... -
03:12 PM Bug #9993: x86_64 linux + i686 os = 32bit ruby, but `RUBY_PLATFORM=x86_64`
- https://github.com/wayneeseguin/rvm/issues/2928
-
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... -
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 ... -
01:07 AM Feature #9970: Add `Hash#map_keys` and `Hash#map_values`
- Ping
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 ... -
07:17 PM Feature #9992: Access Modifiers (Internal Interfaces)
- They don't seem to belong to same namespace.
Could you elaborate? -
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... - 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
-
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 -
04:42 PM Bug #9991: fd leak on WEBrick::Utils#create_listeners (fixed at r46598)
- Backported into `ruby_2_1` branch at r46605.
-
04:33 PM Bug #9991 (Closed): fd leak on WEBrick::Utils#create_listeners (fixed at r46598)
- WEBrick::Utils#create_listeners での socket close 漏れの修正
バックポート管理用にチケット化します。
-
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 - 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 -
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
-
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] -
12:47 PM Feature #9857: Pathname#birthtime
- Win32的には全くお話になっていませんが、パッチのパッチを出すのは面倒なので、取り込まれたら対応します。
-
10:37 AM Feature #9857: Pathname#birthtime
- Mac OS X と Linux で `respond_to?` への対応も確認しました。
Windows は環境がなくて対応できていません。 -
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 -
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
-
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... -
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... -
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... :) -
07:42 AM Bug #9882: Issue with hash string keys
- Backported into `ruby_2_1` branch at r46599.
-
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... -
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
-
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
-
05:55 AM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
- No objection. I changed Backport field to `DONTNEED`.
-
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.
-
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... -
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 -
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 -
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... -
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 ... -
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... -
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... -
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... - 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
06/27/2014
-
10:58 PM Feature #9987 (Third Party's Issue): method Net::HTTP methods private
- Why is it private?
Who does it? -
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]
... -
10:55 PM Bug #9986 (Rejected): WEBrick content-length being set when transfer-encoding is chunked
-
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...
-
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 -
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 ...
-
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... -
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=>... -
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 -
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 - 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
-
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.... -
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 -
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 ...... -
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...
-
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... -
08:59 AM Bug #9882: Issue with hash string keys
- backported into `ruby_2_0_0` at r46584.
- 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... -
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.
- 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... -
08:46 AM Bug #9861: BSD_vfprintf precsion doesn't work at shorter string
- backported into `ruby_2_0_0` at r46582.
- 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... -
08:28 AM Bug #9856: [PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
- backported into `ruby_2_0_0` at r46581.
- 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 -
08:22 AM Bug #9847: Cannot create new String when using File.read(size, buffer)
- backported into `ruby_2_0_0` at r46580.
- 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 -
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.
- 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... -
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... -
08:13 AM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
- backported into `ruby_2_0_0` at r46578.
- 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... -
08:06 AM Bug #9872: socket leak in Net::FTP#transfercmd (fixed at r46182)
- backported into `ruby_2_0_0` at r46577.
- 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 -
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.
- 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... -
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.
- 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... -
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 -
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 -
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
-
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
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... -
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] -
08:23 PM Bug #9983 (Closed): memory leak at ENV.shift on Windows
- Windows版で、`ENV.shift` がメモリリークしているようです。
-
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 -
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] -
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"
~~~
-
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 -
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 -
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...
- 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
-
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 -
02:19 PM Feature #6559: Set DoNotReverseLookup to true in Webrick
- Would this be possible to be included in 2.2.0?
-
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...
-
01:48 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- Yusuke, how about for 2.2.0?
-
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
... -
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 するよりもバッファリングした方がいいと思います... -
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
-
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 -
01:04 PM Feature #4840: Allow returning from require
- I trust nobu more than myself. Thank you!
--
Yusuke Endoh <mame@ruby-lang.org> -
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?
-
01:01 PM Feature #7791 (Closed): Let symbols be garbage collected
-
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.
-
12:49 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
- Attached slide for proposal
-
12:40 PM Feature #8643: Add Binding.from_hash
- Add slide for proposal
-
12:32 PM Feature #9064: Add support for packages, like in Java
- Attached proposal slide
-
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...
-
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
-
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... -
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... -
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...
-
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 -
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 - 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
-
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 -
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 -
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 -
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 -
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
-
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.
- 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
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] -
03:03 PM Bug #9978 (Closed): memory leak at ENV.select on Windows
- Windows版で、`ENV.select {break}` がメモリリークしているようです。
-
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... -
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 - 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
- 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
- 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
- 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
-
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 -
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] -
01:26 PM Bug #9977 (Closed): memory leak at ENV.[]= on Windows
- Windows版で、`ENV.[]=` がメモリリークしているようです。
-
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 -
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!! -
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 - 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... -
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] -
01:19 AM Bug #9976 (Closed): ENV doesn't raise SecurityError except for aset and delete
- `ENV#[]=` と `ENV#delete` は`$SAFE > 0`のときにtaintedな引数をエラーにしますが、他のメソッドでエラーになりません。
-
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