Project

General

Profile

Activity

From 12/18/2014 to 12/24/2014

12/24/2014

11:50 PM Revision aa93c62e (git): lib/uri: performance improvements [misc #10628]
* lib/uri/generic.rb (split_userinfo): fstring for 1-byte split
(set_port): reduce bytecode size
(check_path): reduce garbage via opt_str_freeze
(query=): ditto
(fragment=): ditto
[misc #10628]
* lib/uri/rfc3986_parser.rb (rege...
Eric Wong
11:20 PM Misc #10628: Peformance of URI module
Anyway I'm ok for Eric's patch.
Could you commit it?
We should consider ext/uri or strict/loose API for Ruby 2.3.
naruse (Yui NARUSE)
08:46 PM Misc #10628: Peformance of URI module
The benchmark consists about two parts: split and new.
In split, the difference of its regexp seems the cause of slow down (for example backtracks of userinfo.
It can be optimized.
In new, some checks are always enabled; it is fea...
naruse (Yui NARUSE)
11:11 PM Revision 007c4dbe (git): test_rdoc_generator_json_index.rb: leaked fd
* test/rdoc/test_rdoc_generator_json_index.rb (test_generate_gzipped):
fix leaked file descriptor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:48 PM Feature #9390: Support for the ALPN TLS extension
Note: ALPN requires OpenSSL 1.0.2, which is only in beta3 as of now
(2014/12/24). I suspect few are willing to use a beta version
of OpenSSL on their servers. But I look forward to this feature.
normalperson (Eric Wong)
10:05 PM Bug #10643: 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
Forgot to add, in this test codepage is 1252. luislavena (Luis Lavena)
10:04 PM Bug #10643 (Closed): 2.2: TestRubyOptions#test_command_line_progname_nonascii test failure (MinGW)
Hello,
Running tests against ruby_2_2 branch, the following failures were detected (mingw-w64 4.7.2 32bits, GCC 4.7.2, Windows 7 x64):
~~~
TestRubyOptions#test_command_line_progname_nonascii [C:/Users/Luis/Code/ruby/ruby/test/ruby...
luislavena (Luis Lavena)
09:29 PM Bug #10642 (Third Party's Issue): 2.2: TestMath#test_gamma test failure (MinGW)
Hello,
Running tests against ruby_2_2 branch, mingw-w64 4.7.2, Windows 7 x64:
~~~
TestMath#test_gamma [C:/Users/Luis/Code/ruby/ruby/test/ruby/test_math.rb:237]:
Math.gamma(2147483648) should be INF.
Expected NaN to be infinite?....
luislavena (Luis Lavena)
07:24 PM Feature #10641 (Closed): Introduce Fixnum#finite? and Bignum#finite?
Hello,
I propose to introduce `Fixnum#finite?` and `Bignum#finite?` methods. Use case for this is following:
```ruby
Interval = Struct.new(:from, :to) do
def finite?
from.finite? && to.finite?
end
end
```
For now thi...
prijutme4ty (Ilya Vorontsov)
06:59 PM Revision 57267e07 (git): * 2014-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:59 PM Revision 32f124e6 (git): use timeout lib
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:15 PM Bug #10015: Performance regression in Dir#[]
note: r48975 was reverted at r48976. nagachika (Tomoyuki Chikanaga)
12:55 PM Bug #10015 (Closed): Performance regression in Dir#[]
Applied in changeset r48973.
----------
ChangeLog: fix ref of r48972. [Bug #10015]
nobu (Nobuyoshi Nakada)
04:52 PM Bug #10640 (Third Party's Issue): build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
On my Win8.1 x64 system I get the following build fail when building `ruby_2_1` and `ruby_2_2` using a 32bit gcc 4.9.2 toolchain from the mingw-w64 project [mingw-w64 32bit 4.9.2 toolchain](http://sourceforge.net/projects/mingw-w64/files... jonforums (Jon Forums)
02:59 PM Revision fbbf715d (git): revert r48975
caused CI fauilures
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:39 PM Revision ae6fb2c8 (git): dir.c: shortcut for case-insensitive name
* dir.c (glob_helper): shortcut for case-insensitive name by
stopping reading after a matching name found.
[ruby-core:63591] [Bug #10015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:25 PM Revision e000d687 (git): test_gc.rb: termsig
* test/ruby/test_gc.rb (test_interrupt_in_finalizer): also check
termsig to ensure killed by SIGINT. and try SIGSEGV to dump
something.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:55 PM Revision b9b8f1de (git): ChangeLog: fix ref of r48972. [Bug #10015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:38 AM Revision 8b764b1d (git): dir.c: glob performance
* dir.c (glob_make_pattern): restrict searching case-insensitive
name from the filesystem to only last part, for the performance.
[ruby-core:63591] [ruby-core:63591]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48972 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
10:26 AM Bug #10621: no parent in rb_data_type_t
Koichi Sasada wrote:
> > No does not work because its about rb_check_typeddata, how else should a function know if the object i have can be turned to the given type? it cant be done nicely with the data field because i need to do all ch...
Hanmac (Hans Mackowiak)
09:38 AM Bug #10621: no parent in rb_data_type_t
> No does not work because its about rb_check_typeddata, how else should a function know if the object i have can be turned to the given type? it cant be done nicely with the data field because i need to do all checks the rb_check_typedd... ko1 (Koichi Sasada)
08:56 AM Bug #10621: no parent in rb_data_type_t
Koichi Sasada wrote:
> I'm okay to revert for avoiding parent.
> ...
No does not work because its about rb_check_typeddata, how else should a function know if the object i have can be turned to the given type? it cant be done nicely wi...
Hanmac (Hans Mackowiak)
08:38 AM Bug #10621: no parent in rb_data_type_t
ko1@atdot.net wrote:
> * `rb_data_type_t` is not an official API (so that README.ext doesn't
> refer on it)

Can we make it official?
I consider using it in some exts to avoid problems like [Bug #10296]
normalperson (Eric Wong)
03:16 AM Bug #10621 (Closed): no parent in rb_data_type_t
Applied in changeset r48962.
----------
ruby.h: parent in rb_data_type_t
* ruby.h (rb_data_type_t): revert r48647 and revise parent member.
[ruby-core:66969] [Bug #10621]
nobu (Nobuyoshi Nakada)
03:04 AM Bug #10621: no parent in rb_data_type_t
I'm okay to revert for avoiding parent.
However, I'm negative because parent abstraction is not good idea for rb_data_type_t.
Reasons:
* You can make such checking code in few lines with `data` field.
* mark, free, memsize doesn'...
ko1 (Koichi Sasada)
10:18 AM Revision fa13cb05 (git): win32: suppress warnings
* win32/file.c (home_dir, code_page_i): parenthesize to suppress
warnings.
* win32/win32.c (is_command_com, join_argv, w32_cmdvector, kill),
(constat_attr_color_reverse, constat_attr): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
09:22 AM Revision 5d77730f (git): * gc.c: remove unused rb_objspace_t::rgengc::old_objects_at_gc_start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:11 AM Revision 15f9e16c (git): * lib/open-uri.rb (OpenURI.open_http): refactoring of r48941.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:32 AM Revision 5328fa25 (git): add timeout to avoid global timeout
http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20141224T065940Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:58 AM Revision 48436ac6 (git): hash/delete.c: add declaration
* ext/-test-/hash/delete.c: add declaration of the function in
internal.h. [Bug #10623]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:58 AM Revision 0a841035 (git): fiddle: depend rules
* ext/fiddle/depend: mark PHONY targets, and workaround of
unexpected DEPEND_RULES on mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:37 AM Bug #10462 (Closed): fiddle/libffi installation failing on cygwin
Solved for fiddle at r48954 or thereabouts. duerst (Martin Dürst)
04:26 AM Revision a6444398 (git): * tool/redmine-backporter.rb: require view_changesets permission.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:00 AM Bug #10639 (Closed): Unable to update/download gems (wrong number of arguments)
Applied in changeset r48963.
----------
downloader.rb: fix exception arguments
* tool/downloader.rb (Downloader.download): fix the exception to
re-raise. initialize methods of subclasses of Exception may
have different parameters....
nobu (Nobuyoshi Nakada)
03:56 AM Bug #10639 (Assigned): Unable to update/download gems (wrong number of arguments)
It's since r47694. nobu (Nobuyoshi Nakada)
02:36 AM Bug #10639 (Closed): Unable to update/download gems (wrong number of arguments)
When I run make up; make install-nodoc
I get the following error. I suspect it is related to recent changes.
~~~
make[1]: Entering directory '/cygdrive/c/Data/ruby-public'
config.guess already exists
config.sub already exists
Dow...
duerst (Martin Dürst)
04:00 AM Revision 5b4ff7d6 (git): downloader.rb: fix exception arguments
* tool/downloader.rb (Downloader.download): fix the exception to
re-raise. initialize methods of subclasses of Exception may
have different parameters. [ruby-core:67086] [Bug #10639]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
03:51 AM Bug #10638: Keyword Hash processing is inconsistent
2.1, 2.0 have same problem.
* ruby 2.1.5p274 (2014-11-27 revision 48610) [i386-mswin32_110]
* ruby 2.0.0p606 (2014-11-28 revision 48636) [i386-mswin32_110]
ko1 (Koichi Sasada)
03:16 AM Revision 01195a20 (git): ruby.h: parent in rb_data_type_t
* ruby.h (rb_data_type_t): revert r48647 and revise parent member.
[ruby-core:66969] [Bug #10621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:14 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
I didn't confirm it by myyself, but r48114 was already backported into ruby_2_1/ruby_2_0_0. So this should be backported into them too. nagachika (Tomoyuki Chikanaga)
02:53 AM Bug #10623 (Closed): rb_hash_delete() can return Qundef in 2.2-rc1
Applied in changeset r48958.
----------
* hash.c (rb_hash_delete): return Qnil if there are no corresponding
entry. [Bug #10623]
* hash.c (rb_hash_delete_entry): try delete and return Qundef if there
are no corresponding entry.
* in...
ko1 (Koichi Sasada)
02:31 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
How about it?
rb_hash_delete_entry() for (1).
```diff
Index: ChangeLog
===================================================================
--- ChangeLog (revision 48955)
+++ ChangeLog (working copy)
@@ -1,3 +1,19 @@
+Wed Dec ...
ko1 (Koichi Sasada)
03:07 AM Revision a270e96a (git): * tool/downloader.rb: use config.guess in gcc repo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:06 AM Revision 7979a5ad (git): url is not required here
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:56 AM Revision 3fa6e726 (git): * common.mk (up): propagate verbose option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:55 AM Misc #10553: Ruby 2.2.0 release engeneering
Could you backport r48958 for [Bug #10623]? ko1 (Koichi Sasada)
02:53 AM Revision 9c6eaad7 (git): * hash.c (rb_hash_delete): return Qnil if there are no corresponding
entry. [Bug #10623]
* hash.c (rb_hash_delete_entry): try delete and return Qundef if there
are no corresponding entry.
* internal.h: add rb_hash_delete_entry()'s declaration.
* symbol.c: use rb_hash_delete_entry().
* thread.c: use rb_h...
ko1 (Koichi Sasada)
02:29 AM Revision 0cd829c3 (git): fiddle: win32/libffi-config.rb
* ext/fiddle/win32/libffi-config.rb: generate necessary files to
build on mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:44 AM Revision 84c39fb2 (git): * tool/downloader.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:29 AM Revision 943a05d2 (git): support ruby 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:17 AM Feature #7883: Add Regex#to_proc
If the proposed patch to issue #9602 gets accepted, then that will cover this issue in a more general way. sawa (Tsuyoshi Sawada)
12:36 AM Revision a54aae45 (git): * ext/fiddle/extconf.rb: remove ffitarget.h generated by configure on
mswin, because it's not normal file (cygwin's symlink) and have
system attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

12/23/2014

08:47 PM Bug #10638: Keyword Hash processing is inconsistent
Sorry, I had an old MRI version selected in chruby, this appears to work correctly on trunk. brixen (Brian Shirai)
08:47 PM Bug #10638 (Closed): Keyword Hash processing is inconsistent
Works ok on current trunk (48948). headius (Charles Nutter)
08:32 PM Bug #10638 (Closed): Keyword Hash processing is inconsistent
An empty Hash passed to a method taking a keyword rest argument is not dup'd. A modification to the keyword rest Hash in the method modifies the object passed to the method.
This behavior differs from passing a non-empty Hash.
http...
brixen (Brian Shirai)
08:41 PM Revision 7a0676e8 (git): * tool/downloader.rb: support ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:59 PM Feature #10637 (Assigned): Puppet orchestration on vagrant fails with Error: Non-HTTP proxy URI
I encountered this issue while bringing up a VM using vagrant with virtualbox. I am using puppet to do some provisioning
==> default: Notice: Downloading from https://forge.puppetlabs.com ...
==> default: Error: Non-HTTP proxy URI: h...
eshenayo (Eshe Pickett)
06:59 PM Bug #10591: Net::HTTPResponse#read_status_line does not throw Net::HTTPBadResponse with some malformed responses.
ruby_2_2 r48952 merged revision(s) 48948. naruse (Yui NARUSE)
06:10 PM Bug #10591 (Closed): Net::HTTPResponse#read_status_line does not throw Net::HTTPBadResponse with some malformed responses.
Applied in changeset r48948.
----------
* lib/net/http/response.rb (Net::HTTPResponse): require one or more
spaces [Bug #10591].
by leriksen <leif.eriksen.au@gmail.com>
https://github.com/ruby/ruby/pull/782 fix GH-782
NOTE: grap...
naruse (Yui NARUSE)
06:59 PM Revision f5dbd9db (git): merge revision(s) 48948: [Backport #10591]
* lib/net/http/response.rb (Net::HTTPResponse): require one or more
spaces [Bug #10591].
by leriksen <leif.eriksen.au@gmail.com>
https://github.com/ruby/ruby/pull/782 fix GH-782
NOTE: graph.faceboo...
naruse (Yui NARUSE)
06:27 PM Bug #10616: Dir.mktmpdir is not setting "d" prefix as default
ruby_2_2 r48947 merged revision(s) 48905. naruse (Yui NARUSE)
06:26 PM Bug #10633: OpenSSL RangeError on update
ruby_2_2 r48951 merged revision(s) 48923. naruse (Yui NARUSE)
02:59 PM Bug #10633: OpenSSL RangeError on update
I don't have much experience with building Ruby by hand, so part of my issue may be there, or perhaps the example provided by Kenneth should never work, but should blow up in a different way than what he ran into, but I pulled down and b... tdg5 (Danny Guinther)
02:42 AM Bug #10633 (Closed): OpenSSL RangeError on update
Applied in changeset r48923.
----------
ossl_cipher.c: workaround of OpenSSL API
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. workaround of OpenSSL API
limitation. [ruby...
nobu (Nobuyoshi Nakada)
02:13 AM Bug #10633: OpenSSL RangeError on update
It's caused by OpenSSL's API design. nobu (Nobuyoshi Nakada)
06:23 PM Revision 1e65f0a5 (git): merge revision(s) 48923: [Backport #10633]
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. workaround of OpenSSL API
limitation. [ruby-core:67043] [Bug #10633]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
naruse (Yui NARUSE)
06:20 PM Bug #10619: URI::HTTP#query= behavior changed for 2396 uris
ruby_2_2 r48950 merged revision(s) 48934. naruse (Yui NARUSE)
01:11 PM Bug #10619 (Closed): URI::HTTP#query= behavior changed for 2396 uris
Applied in changeset r48934.
----------
* lib/uri/generic.rb (URI::Generic#query=): don't escape [\]^
on both rfc2396 and rfc3986. [Bug #10619]
naruse (Yui NARUSE)
06:19 PM Revision 5add0770 (git): merge revision(s) 48934: [Backport #10619]
* lib/uri/generic.rb (URI::Generic#query=): don't escape [\]^
on both rfc2396 and rfc3986. [Bug #10619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:15 PM Bug #10618: TestWeakRef#test_repeated_object_leak fails on ARM
ruby_2_2 r48949 merged revision(s) 48900,48902. naruse (Yui NARUSE)
06:14 PM Revision 57fd3577 (git): merge revision(s) 48900,48902: [Backport #10618]
test/test_weakref.rb: increase timeout [Bug #10618]
* test/test_weakref.rb (test_repeated_object_leak): increase timeout
[Bug #10618]
* test/test_weakref.rb (test_repeated_object_leak): increase timeout
[Bug ...
naruse (Yui NARUSE)
06:10 PM Revision 0f7e301f (git): * lib/net/http/response.rb (Net::HTTPResponse): require one or more
spaces [Bug #10591].
by leriksen <leif.eriksen.au@gmail.com>
https://github.com/ruby/ruby/pull/782 fix GH-782
NOTE: graph.facebook.com returns without SP Reason-Phrase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48948 b2dd0...
naruse (Yui NARUSE)
05:41 PM Revision 7f5bc1ba (git): merge revision(s) 48905: [Backport #10616]
* lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1.
[ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:12 PM Bug #10636 (Closed): "make-snapshot tmp stable" broken
Applied in changeset r48946.
----------
make-snapshot: fix stable snapshot
* tool/make-snapshot (package): VCS#branch_list expects glob a
pattern string but not a regexp. based on the patch by Vit
Ondruch. in [ruby-core:67064]. ...
nobu (Nobuyoshi Nakada)
12:36 PM Bug #10636 (Closed): "make-snapshot tmp stable" broken
It seems that r48840 breaks make-snapshot:
~~~
$ tool/make-snapshot tmp stable
/builddir/ruby/tool/vcs.rb:165:in `fnmatch?': no implicit conversion of Regexp into String (TypeError)
from /builddir/ruby/tool/vcs.rb:165:in `block (2...
vo.x (Vit Ondruch)
05:12 PM Revision 730c9417 (git): make-snapshot: fix stable snapshot
* tool/make-snapshot (package): VCS#branch_list expects glob a
pattern string but not a regexp. based on the patch by Vit
Ondruch. in [ruby-core:67064]. [Bug #10636]
* tool/vcs.rb (VCS::SVN#branch_list): strip newlines.
* tool/vcs...
nobu (Nobuyoshi Nakada)
03:32 PM Revision b1186bf3 (git): * tool/extlibs.rb (do_extract): decompress!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:24 PM Revision 694185bf (git): * tool/extlibs.rb (do_extract): the pipe should be binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:22 PM Revision c5712c91 (git): * Makefile.in, common.mk: move common-srcs to Makefile.in because
it breaks build on mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:06 PM Revision 7577e786 (git): * 2014-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 7e9175e3 (git): * lib/open-uri.rb (OpenURI.open_http): accept multiple certs path in
ssl_ca_certs.
* tool/downloader.rb: use certs of rubygems for downloading gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:52 PM Revision e87f45d8 (git): * gems: typo in svn:ignore. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:51 PM Revision 68d1f7d7 (git): * gems: ignore downloaded files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:30 PM Revision 51f94567 (git): common.mk: run after-update
* common.mk (up): run after-update on every platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 PM Revision e8c22d74 (git): extlibs.rb: separate commands
* tool/extlibs.rb (do_extract): separate expansion and extraction
processes to each commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:39 PM Revision 840fa808 (git): fiddle: extlibs
* ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:24 PM Revision 38938cca (git): extlibs.rb: external libraries
* tool/extlibs.rb: download, extract, and patch external libraries.
* ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:15 PM Feature #7883: Add Regex#to_proc
Nobuyoshi Nakada wrote:
> Nothing, and line 10 is possible with `grep`
> ...
Yes, but a bit lengthy.
> Anyway, a patch.
Cool! Thanks a lot!
rklemme (Robert Klemme)
03:09 AM Feature #7883: Add Regex#to_proc
Nothing, and line 10 is possible with `grep`
~~~ruby
%w{foo bar baz}.grep(/\Ab/) {|s|break s}
~~~
Anyway, a patch.
~~~diff
diff --git i/re.c w/re.c
index 1a0f0b1..d345f17 100644
--- i/re.c
+++ w/re.c
@@ -801,6 +801,19 @@ ...
nobu (Nobuyoshi Nakada)
12:01 AM Feature #7883: Add Regex#to_proc
Was any of the two suggested forms ever realized? rklemme (Robert Klemme)
01:11 PM Revision 30fef86b (git): * lib/uri/generic.rb (URI::Generic#query=): don't escape [\]^
on both rfc2396 and rfc3986. [Bug #10619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:07 PM Revision 132415bf (git): extconf.rb: no empty CPP
* ext/fiddle/extconf.rb: pass CPP only if necessary, should not
make it empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:05 PM Revision 5b6fc3f0 (git): extmk.rb: replace current directory name
* ext/extmk.rb (extmake): replace "./" at beginning in LOCAL_LIBS
with the current directory name for values cached in previous
Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:04 PM Revision 42953731 (git): avoid a bug of the latest redmine
even if call ?include=changesets, latest redmine doesn't return
changesets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:57 AM Revision b9ffe579 (git): fiddle: use RMALL
* ext/fiddle/depend (realclean-libffi): use RMALL instead of
RMDIRS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:33 AM Revision 276065f8 (git): fiddle: clean-libffi
* ext/fiddle/depend (clean-libffi): clean libffi directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:58 AM Revision 802d4f9f (git): registry.rb: fix buffer overflow
* ext/win32/lib/win32/registry.rb (Win32::Registry::Error#initialize):
should not re-use sliced string as buffer, to get rid of buffer
overflow. [ruby-core:65295] [Bug #10300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48928...
nobu (Nobuyoshi Nakada)
08:57 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
At Comment#3, Nobu said that we still need a function which returns no such entry.
We have three possibility:
(a) reutrn Qundef when no entry (current rb_hash_delete())
(b) return nil when no entry
(c) return passed block results...
ko1 (Koichi Sasada)
05:28 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
@nobu Do you think we need to change `rb_hash_delete` behavior? Or do you mean we should add another public c-api function for the undef behavior, like `rb_hash_delete_xxx` tmm1 (Aman Karmani)
07:03 AM Bug #10300 (Closed): Encoding error in conversion from UTF-16LE to UTF-8 to CP850
Applied in changeset r48927.
----------
registry.rb: try en_US message
* ext/win32/lib/win32/registry.rb (Win32::Registry::Error#initialize):
try en_US message if the default message cannot be encoded to
locale. [ruby-core:65295] ...
nobu (Nobuyoshi Nakada)
07:03 AM Revision ba3da9af (git): registry.rb: try en_US message
* ext/win32/lib/win32/registry.rb (Win32::Registry::Error#initialize):
try en_US message if the default message cannot be encoded to
locale. [ruby-core:65295] [Bug #10300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48927 b2d...
nobu (Nobuyoshi Nakada)
06:22 AM Revision 4c0a560c (git): extconf.rb: try modversion ff pkg_config succeeded
* ext/fiddle/extconf.rb: when pkg_config failed, module version is
not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:21 AM Revision b2c4e778 (git): extconf.rb: libffi on mswin
* ext/fiddle/extconf.rb: try to compile libffi as mingw on mswin
if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:20 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
I opened a pull request to add ruby 2.2 compatibility to rails 3-2-stable: https://github.com/rails/rails/pull/18160.
In our large rails app, I only had to fix 5 function definitions, by adding parenthesis to 4 of them. The warnings m...
tmm1 (Aman Karmani)
04:03 AM Bug #10631 (Closed): Rails 4.2 much slower on 2.2.0-rc1 vs. 2.1.5
Duplicate of #10015 duerst (Martin Dürst)
12:53 AM Bug #10631: Rails 4.2 much slower on 2.2.0-rc1 vs. 2.1.5
I tried the following patch against ruby-trunk r48405 to make sure this is the Dir[] performance regression:
~~~diff
--- a/dir.c
+++ b/dir.c
@@ -1241,7 +1241,7 @@ glob_make_pattern(const char *p, const char *e, int flags, rb_encodi...
felixbuenemann (Felix Bünemann)
12:16 AM Bug #10631: Rails 4.2 much slower on 2.2.0-rc1 vs. 2.1.5
Yes, I tried it on Yosemite 10.10.2. I now re-ran the tests on an Ubuntu Trusty VM with 2.1.5 and 2.2.0-rc1 installed through ruby-install and results look promising:
~~~
chruby 2.1.5
ruby -v
ruby 2.1.5p273 (2014-11-13 revision 4...
felixbuenemann (Felix Bünemann)
02:42 AM Revision 36cea85a (git): * 2014-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:42 AM Revision debedd37 (git): ossl_cipher.c: workaround of OpenSSL API
* ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. workaround of OpenSSL API
limitation. [ruby-core:67043] [Bug #10633]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48923 ...
nobu (Nobuyoshi Nakada)
02:31 AM Bug #10635 (Closed): cmp_failed warnings in 2.2 are very hard to track down
I propose we add the exception (and possibly backtrace as well) to show the root cause of the warning.
~~~
diff --git a/compar.c b/compar.c
index 81dff38..70d08ca 100644
--- a/compar.c
+++ b/compar.c
@@ -68,10 +68,11 @@ cmp_eq(VA...
tmm1 (Aman Karmani)
01:51 AM Bug #10632 (Feedback): 2.2rc1 Fails to Compile with Mingw64 NET_LUID
`NET_LUID` type should be checked by `configure`.
Could you show `config.log` file?
nobu (Nobuyoshi Nakada)
01:39 AM Bug #10630: ERB tags nested in escaped blocks are skipped
Tonči Damjanić wrote:
> The Erubis repo is stale and the project seems to be deprecated by the author.
Nobody would maintain deprecated projects.
nobu (Nobuyoshi Nakada)
12:47 AM Misc #10628: Peformance of URI module
Eric Wong wrote:
> tgx_world: Please don't use screenshots when a few words explaining the
> ...
Opps got it. I'll try to explain better in words next time.
tgxworld (Guo Xiang Tan)
12:32 AM Feature #10634 (Open): Baselining with Benchmark
Add a method Benchmark::Report#baseline. This does not report measurements but stores them as a baseline value in the Benchmark::Report instance. This baseline is nil initially. Any invocation of Benchmark::Report#report will do one o... rklemme (Robert Klemme)

12/22/2014

10:08 PM Misc #10628: Peformance of URI module
tgx_world: Please don't use screenshots when a few words explaining the
situation will do. Not everyone can view pics: lack of working GUI,
poor eyesight or danger of opening inappropriate images in public areas.

Fortunately, I wa...
normalperson (Eric Wong)
09:53 PM Bug #10633: OpenSSL RangeError on update
I get the same result on
ruby 1.9.2p330 (2014-08-07 revision 47094) [x86_64-linux]
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
Maybe an Ubuntu OpenSSL issue? ...
tdg5 (Danny Guinther)
09:18 PM Bug #10633 (Closed): OpenSSL RangeError on update
OpenSSL Cipher throws a RangeError on the update function when given a very large string. I've verified that it happens with a file of 2 or 3GB in size. 1 GB works fine. This has been tested with 2.1.2, 2.1.3, and 2.2rc-1.
```ruby
re...
khoffmann (Kenneth Hoffmann)
08:58 PM Bug #10632: 2.2rc1 Fails to Compile with Mingw64 NET_LUID
Can you provide specifics about the version of mingw-w64 you used?
You say "4.9.2", but there are many builds of it. Care to provide the link to the compiler you downloaded?
Thank you.
luislavena (Luis Lavena)
08:35 PM Bug #10632 (Closed): 2.2rc1 Fails to Compile with Mingw64 NET_LUID
Ruby 2.1.* compile correctly with mingw64. Ruby 2.2rc1 does not. The error is:
~~~
gcc version 4.9.2 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
compiling win32/win32.c
win32/win32.c:3889:7: error: conflicting types for '...
cfis (Charlie Savage)
05:38 PM Bug #10614: strpdate and Leap Days
Tsuyoshi Sawada wrote:
> `'02/29/2012'` clearly does not match `'%m/%d'`. What else would you expect than an argument error?
>> Date.strptime('01/01/2014', '%m/%d')
=> #<Date: 2014-01-01 ((2456659j,0s,0n),+0s,2299161j)>
I...
cwoodcox (Corey Woodcox)
04:00 PM Bug #10631: Rails 4.2 much slower on 2.2.0-rc1 vs. 2.1.5
The README says you tried this on OS X. Can you try it on Linux? This may be related to Bug #10015, and testing on Linux would eliminate that possibility. tenderlovemaking (Aaron Patterson)
03:49 PM Bug #10631 (Closed): Rails 4.2 much slower on 2.2.0-rc1 vs. 2.1.5
I'm seeing huge slowdowns when running Rails 4.2.0 on Ruby 2.2.0-rc1 (or -preview1) compared to Ruby 2.1.5.
On a production app I'm seeing ajax requests taking 4 seconds instead of 400 milliseconds.
I was also able to reproduce thi...
felixbuenemann (Felix Bünemann)
01:48 PM Bug #10630: ERB tags nested in escaped blocks are skipped
OK. Who is maintaining Erubis then? Is it possible to reach out to them and have the bug fixed?
The Erubis repo is stale and the project seems to be deprecated by the author.
tonci (Tonči Damjanić)
11:47 AM Bug #10630 (Third Party's Issue): ERB tags nested in escaped blocks are skipped
Erubis is not a part of ruby repository.
We can do nothing for it.
nobu (Nobuyoshi Nakada)
09:48 AM Bug #10630 (Third Party's Issue): ERB tags nested in escaped blocks are skipped
Hello,
First of all, is this a good place to report Erubis bugs? Their GitHub repo is stale (no action since 2011) and I was suggested by the Rails team to try here.
GitHub ticket: https://github.com/kwatch/erubis/issues/6
Repro ...
tonci (Tonči Damjanić)
12:31 PM Revision 2f4570e7 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:31 PM Revision 14c5bd12 (git): * test/win32ole/test_win32ole_event.rb: some tests are
executed on standard Windows OS without ADO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
05:08 AM Bug #10629 (Closed): Compile error in signal.c: ‘received_signal’ undeclared
Applied in changeset r48920.
----------
signal.c: fix received_signal
* signal.c (received_signal): fix condition to define.
[ruby-core:67032] [Bug #10629]
nobu (Nobuyoshi Nakada)
04:50 AM Bug #10629 (Closed): Compile error in signal.c: ‘received_signal’ undeclared
I got the following error when making "make up; make install-nodoc", in the compilation of signal.c, on cygwin.
Most of the lines in signal.c that mention "received_signal" have been introduced (changed?) in r48910, so I have tentativel...
duerst (Martin Dürst)
05:08 AM Revision 1634ac4d (git): signal.c: fix received_signal
* signal.c (received_signal): fix condition to define.
[ruby-core:67032] [Bug #10629]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:42 AM Revision 458cffce (git): extconf.rb: libffi with libruby
* ext/fiddle/extconf.rb: link libffi with libruby for symbols
provided by ruby on some platforms, e.g. alloca.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:17 AM Revision 4e9f6719 (git): * 2014-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 AM Revision 055ae0c8 (git): extconf.rb: configure libffi first
* ext/fiddle/extconf.rb: configure libffi for the check requires
the headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:10 AM Bug #7995 (Closed): RubyVM::InstructionSequence to_a not working for blocks
Fixed at r44720, #9455. wanabe (_ wanabe)

12/21/2014

08:37 PM Bug #10450: multiple assignment in conditional
Recursive Madman wrote:
> Actually, thinking about it again I'm not sure anymore if the warning is warranted. The warning for singular assignment is there to warn about the possibility of a typo (`a = b` vs `a == b`). Multiple assignmen...
bughit (bug hit)
08:21 PM Bug #10627: gem update fails with a certificate verification error
Frankly, no. And I shouldn't have to. I'm a user of gems, not a developer of one (or the system for that matter). To be blunt: I "just" need it to work. thany (Martijn Saly)
08:18 PM Bug #10627: gem update fails with a certificate verification error
Martijn Saly wrote:
> Why is it not being fixed from your end?
Have you read the background describing this?
luislavena (Luis Lavena)
08:10 PM Bug #10627: gem update fails with a certificate verification error
So now every new installation of Ruby & Gem has to undergo a tedious process of some sort, because someone decided it was a good idea to install an unsupported server certificate? Really?
Why is it not being fixed from your end?
thany (Martijn Saly)
12:38 PM Bug #10627 (Rejected): gem update fails with a certificate verification error
This has been answered before:
This is caused by changes on SSL certificates used by rubygems.org.
Please read the following:
https://gist.github.com/luislavena/f064211759ee0f806c88
This is also covered in RubyInstaller's gro...
luislavena (Luis Lavena)
03:03 AM Bug #10627 (Rejected): gem update fails with a certificate verification error
Whenever I execute `gem update` or `gem update --system` it returns this error:
~~~
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certifica...
thany (Martijn Saly)
03:47 PM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
Maybe someone can now rename this issue to a name better reflecting the actual problem, it seems like a pretty general memory allocation bug that can causes many different code patterns to produce a crash. I also have reproduced the same... jaroslawr (Jarosław Rzeszótko)
03:14 PM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
A still more simple test case for apparently the same problem:
https://gist.github.com/anonymous/a86f5eb0198acc10ae1e
It really isn't simply an unhandled stack overflow. If you decrease the number of allocations, the program runs j...
jaroslawr (Jarosław Rzeszótko)
03:00 PM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
Given that this is a BUS error, here is perhaps a particularly interesting backtrace you can get if you are "lucky":
~~~
#0 0xaf9e3187 in _int_memalign (av=av@entry=0xafb00420 <main_arena>, alignment=alignment@entry=16384, bytes=byt...
jaroslawr (Jarosław Rzeszótko)
02:56 PM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
... way lower than the default ulimit -s of 8192 ***kilobytes***. Wish this bugtracker supported editing ^^ jaroslawr (Jarosław Rzeszótko)
02:55 PM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
Some more findings, you can run the above test case under gdb like this:
~~~
# gdb ruby
(gdb) set disable-randomization off
(gdb) run test.rb
~~~
The test program does not crash with randomization disabled in gdb, nor does it c...
jaroslawr (Jarosław Rzeszótko)
08:05 AM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
Here is a stripped down and easier to understand test case:
https://gist.github.com/anonymous/a2a784c9f37b1fc6b753
Basically, the bigger the M, the lower N is needed to trigger the crash. On my computer, just nesting 100 lambdas is...
jaroslawr (Jarosław Rzeszótko)
06:34 AM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
I have seen #10460 and would not say this is an obvious duplicate. Here, it is not only that you do not get a stack overflow, it seems that the C stack grows up abnormally quickly when you nest lambdas and method calls, compared to just ... jaroslawr (Jarosław Rzeszótko)
02:43 PM Misc #10628 (Closed): Peformance of URI module
Please view attached screenshot or go to [the following link](https://railsbench.herokuapp.com/tgxworld/ruby?utf8=%E2%9C%93&result_types%5B%5D=app_uri&commit=Submit) to see benchmark graph over time.
It got slower after this [commit](...
tgxworld (Guo Xiang Tan)
08:17 AM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
@Marc-Andre Lafortune
sounds good, do I need to modify patch as you said?
If so, please feel free.
gogotanaka (Kazuki Tanaka)
08:12 AM Revision 80036df9 (git): fiddle: modversion may be unavailable
* ext/fiddle/extconf.rb: modversion may be unavailable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Revision 0c8b964e (git): fiddle: do not disturb other checks
* ext/fiddle/extconf.rb: add the local ffi library and header just
before create_makefile, not to disturb other checks.
also prepend the extension path name to the local library name
for static linked ext.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
05:51 AM Revision bade6e46 (git): handle.c: suppress warnings
* ext/fiddle/handle.c (CHECK_DLERROR): suppress warnings for using
the result of an assignment as a condition without parentheses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:45 AM Revision 53a7c964 (git): fiddle: fix build failures
* ext/fiddle/depend (build-libffi): get rid of eventually empty
target for nmake.
* ext/fiddle/extconf.rb: omit stuffs for libffi unless bundled
libffi is found and used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48913 b2dd...
nobu (Nobuyoshi Nakada)
05:26 AM Revision cfe33575 (git): handle.c: suppress a warning
* ext/fiddle/handle.c (rb_fiddle_handle_initialize): suppress an
unused-but-set-variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:35 AM Revision 3600b5e6 (git): thread.c: no allocation during GC
* thread.c (ruby_thread_stack_overflow): jump without setting up
the exception not to allocate new objects, during GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:35 AM Revision d3383030 (git): signal.c: clear received signal at stack overflow
* signal.c (check_stack_overflow): clear the received reserved
signal before raising stack overflow but not aborting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:56 AM Revision 03a6d033 (git): * test/win32ole/test_win32ole_event.rb: test_s_new_exception is
executed on standard Windows OS without ADO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
12:30 AM Bug #10625: configure --with or --without-jemalloc fails
Fixed the former bug, so `--without-jemalloc` should work.
But the latter is caused by MacPorts jemalloc, it is just a workaround and you still need to set `DYLD_LIBRARY_PATH` to run built binaries.
OS X `ld(1)` seems not to provide a ...
nobu (Nobuyoshi Nakada)

12/20/2014

11:35 PM Bug #10625 (Closed): configure --with or --without-jemalloc fails
Applied in changeset r48907.
----------
configure.in: fix jemalloc option
* configure.in (jemalloc): fix option argument, should use
`$withval` but not `yes` always. [ruby-core:66994] [Bug #10625]
* configure.in (jemalloc): defer ad...
nobu (Nobuyoshi Nakada)
10:41 PM Bug #10625: configure --with or --without-jemalloc fails
This is consist of 2 issues.
* `with_jemalloc` is set to `yes` even if `--without-jemalloc` is given.
* MacPorts jemalloc's `install_name` has the base name only, so its runtime library needs to be located in a system standard librar...
nobu (Nobuyoshi Nakada)
06:36 AM Bug #10625 (Closed): configure --with or --without-jemalloc fails
I have installed jemalloc(version 3.6.0) from MacPorts on OSX Yosemite and tried building ruby trunk@96fc310.
The result were
```
$ ../configure --srcdir=.. --with-opt-dir=/opt/local --with-jemalloc
:
checking size of long long....
sakuro (Sakuro OZAWA)
11:35 PM Revision 38b1f5c1 (git): * 2014-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:35 PM Revision 65cc2e83 (git): configure.in: fix jemalloc option
* configure.in (jemalloc): fix option argument, should use
`$withval` but not `yes` always. [ruby-core:66994] [Bug #10625]
* configure.in (jemalloc): defer adding the liner option to get
rid of linking contest against jemalloc, so t...
nobu (Nobuyoshi Nakada)
03:14 PM Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_method
By the way, even more strange things happen if you replace the simple call to test with something like:
~~~ruby
t1 = Thread.new { test }
t2 = Thread.new { test }
t1.join
t2.join
~~~
I get then the following error:
~~~
test...
jaroslawr (Jarosław Rzeszótko)
03:09 PM Bug #10626 (Closed): BUS error from nesting lambda's and calls to methods defined with define_method
I get a BUS error from executing the following Ruby program: https://gist.github.com/jaroslawr/8579678d7c68a49208f0
I am on Gentoo Linux and Ruby 2.1.5, and have also tried Ruby 2.1.4, 2.1.3, ..., down to 2.1.0. My colleagues The prob...
jaroslawr (Jarosław Rzeszótko)
10:50 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
> tmm1
Please request to backport has_many_association patch into Rails 3.2.
hsbt (Hiroshi SHIBATA)
02:45 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
I see, @matz recommended `foo = foo()`. I guess this is a breaking change in ruby 2.2. tmm1 (Aman Karmani)
02:37 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
This change in behavior breaks rails 3.2, for example here: https://github.com/github/rails/blob/3-2-github/activerecord/lib/active_record/associations/has_many_association.rb#L53-L55
In this case, I think the intended behavior is `de...
tmm1 (Aman Karmani)
09:26 AM Bug #10588 (Rejected): Invalid Dates
It is not good idea to restrict current methods to reject invalid dates and times.
I tried to verify invalid time using round trip test once.
(ruby-core:14517, ruby-dev:33058, r14765, r15203)
But it caused bigger problems over ben...
akr (Akira Tanaka)
09:13 AM Misc #10553: Ruby 2.2.0 release engeneering
Please backport r48905 and r48906 to fix Dir.mktmpdir(nil). ruby-core:66943 [Bug #10616] akr (Akira Tanaka)
08:58 AM Revision fa9f7c25 (git): Add a test for Dir.mktmpdir(nil) [ruby-core:66943] [Bug #10616].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:58 AM Bug #10616 (Closed): Dir.mktmpdir is not setting "d" prefix as default
Applied in changeset r48905.
----------
* lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1.
[ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.
akr (Akira Tanaka)
08:58 AM Revision 8b5c7d93 (git): * lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1.
[ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:11 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
I think a function can tell no keys from deleting `nil` value, like `hash_delete` in your patch, is necessary. nobu (Nobuyoshi Nakada)
01:29 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
Proposed patch: https://github.com/github/ruby/commit/a2b6dadbabf935ec9126c8bd9210fbb133b55c84.diff
/cc @nobu
tmm1 (Aman Karmani)
12:50 AM Bug #10623: rb_hash_delete() can return Qundef in 2.2-rc1
This regression was introduced in r48114 to fix #10413 tmm1 (Aman Karmani)
12:48 AM Bug #10623 (Closed): rb_hash_delete() can return Qundef in 2.2-rc1
The behavior of rb_hash_delete() has changed from 2.1. Before, it would always return Qnil or VALUE. Now it can also return Qundef, which is breaking the posix-spawn gem's usage:
https://github.com/rtomayko/posix-spawn/blob/master/ext...
tmm1 (Aman Karmani)
03:53 AM Revision 96fc3108 (git): fiddle: configure in mflags
* ext/fiddle/extconf.rb: configure is already in mflags, use
system instead of xsystem which requires a string, and logging
libffi configure output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48904 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
03:36 AM Bug #10624 (Closed): \sには\vも含まれる
るりまで\sには\vが含まれる修正をしたのですが、regexp.rdocを見てみたところ、そちらも修正した方がよさそうです。パッチを添付しますので問題なければ取り込んでいただければと思います。
* https://github.com/rurema/doctree/issues/145
なおるりまでは以下を確認できたため修正を行いました。
* https://github.com/ruby/ruby/blob/v2_1_5/test/ruby/test...
sho-h (Sho Hashimoto)
02:23 AM Revision 5856a951 (git): fiddle: bundled libffi
* ext/fiddle/depend, ext/fiddle/extconf.rb: try to build bundled
libffi if existing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

12/19/2014

09:18 PM Bug #8543: new rb_iseq_load crash
I think the stack mismatches in current trunk are hard to avoid, but the
loaded bytecode is still valid and runnable for the currently-skipped
cases. I propose the following to test more thoroughly.
```
diff --git a/test/-ext-...
normalperson (Eric Wong)
08:34 PM Bug #10618: TestWeakRef#test_repeated_object_leak fails on ARM
You can peek yourself into Fedora's builder [1]. The build.log for this particular build [2] says:
~~~
Finished tests in 1428.934639s, 11.1552 tests/s, 1757.1049 assertions/s.
15940 tests, 2510788 assertions, 0 failures, 0 errors, 3...
vo.x (Vit Ondruch)
08:28 PM Bug #10618: TestWeakRef#test_repeated_object_leak fails on ARM
Thanks, I just bumped to 60s in r48900 (and r48902 for ChangeLog)
in case there are slower machines.

Btw, I'm curious: how long does "test-all" take for your ARM machines?
normalperson (Eric Wong)
08:20 PM Bug #10618 (Closed): TestWeakRef#test_repeated_object_leak fails on ARM
Applied in changeset r48900.
----------
test/test_weakref.rb: increase timeout [Bug #10618]
* test/test_weakref.rb (test_repeated_object_leak): increase timeout
[Bug #10618]
Anonymous
02:05 PM Bug #10618: TestWeakRef#test_repeated_object_leak fails on ARM
I ran 3 builds with following results:
TestWeakRef#test_repeated_object_leak = 19.71 s = .
TestWeakRef#test_repeated_object_leak = 20.04 s = .
TestWeakRef#test_repeated_object_leak = 19.88 s = .
vo.x (Vit Ondruch)
08:21 PM Revision f7e32f01 (git): ChangeLog: fixup r48900
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
08:20 PM Revision c6c88ea0 (git): * 2014-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:20 PM Revision 927bd684 (git): test/test_weakref.rb: increase timeout [Bug #10618]
* test/test_weakref.rb (test_repeated_object_leak): increase timeout
[Bug #10618]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eric Wong
08:07 PM Bug #10622 (Closed): Bump bigdecimal version for releasing ruby 2.2
naruse (Yui NARUSE)
08:06 PM Bug #10622: Bump bigdecimal version for releasing ruby 2.2
ruby_2_2 r48899 merged revision(s) 48896.
48899
naruse (Yui NARUSE)
01:21 PM Bug #10622 (Closed): Bump bigdecimal version for releasing ruby 2.2
Please backport commit 48896 mrkn (Kenta Murata)
07:59 PM Revision 27fe33b2 (git): merge revision(s) 48896: [Backport #10622]
* ext/bigdecimal/depend: Fix dependencies to make bigdecimal
installable by rubygems.
* ext/bigdecimal/bigdecimal.gemspec: version 1.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48899 b2dd03c8-3...
naruse (Yui NARUSE)
07:22 PM Feature #5458: DL should be removed
Charles Nutter wrote:
> Well, DL depends on libdl, right?
Yes on some platforms, no on others.
Usually `dlopen()` is a part of system-provided features, regardless of the library to be linked.
And different APIs are used on Windows...
nobu (Nobuyoshi Nakada)
06:00 PM Feature #5458: DL should be removed
Well, DL depends on libdl, right?
Maybe we make it a default gem?
headius (Charles Nutter)
11:20 AM Feature #5458: DL should be removed
Vit Ondruch wrote:
> What would be the point of revet?
Because DL is stand alone but Fiddle is not.
To keep runnable some standard libraries, such as resolv.rb, we decided to bundle libffi if DL is removed.
usa (Usaku NAKAMURA)
11:03 AM Feature #5458: DL should be removed
What would be the point of revet? Does Ruby need to bundle everything now? It is not the case for zlib, tcl/tk nor for OpenSSL, so why should Ruby bundle libffi? So to say, this is -1 for reverting r48217 and -1 for bundling libffi. vo.x (Vit Ondruch)
02:41 AM Feature #5458 (Assigned): DL should be removed
As far as I understand, removal of ext/dl is done only if Ruby bundle libffi source like libyaml.
But libffi source is not bundled yet.
I'll revert r48217 soon.
naruse (Yui NARUSE)
03:06 PM Bug #10620: #define_singleton_method keeps object from being garbage collected
Thanks for the quick response.
I tried your code and saw what you did.. it cleans up the objects, just a lot slower than I expected.
Please feel free to close out this bug. I'd do so, but I'm not seeing the option.
sean@duke.edu (Sean Dilda)
01:18 AM Bug #10620: #define_singleton_method keeps object from being garbage collected
Try the following infinite loop, I see stable memory usage:

loop do
obj = Object.new
obj.define_singleton_method(:f) { "F" }
end

Not even multiple calls to GC.start can guarantee an object is
collected, as the current ...
normalperson (Eric Wong)
12:45 AM Bug #10620 (Rejected): #define_singleton_method keeps object from being garbage collected
After using #define_singleton_method on an object, the object is never garbage collected
Sample code:
#!/usr/bin/env ruby
obj = Object.new
obj_id = obj.object_id
obj = nil
GC.start
GC.start
GC.start
GC.start
begin
Obje...
sean@duke.edu (Sean Dilda)
01:34 PM Revision ecedd3b2 (git): Update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:34 PM Revision 7317392a (git): * tool/update-deps: Use $(hdrdir) if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:15 PM Revision 4935c130 (git): * ext/bigdecimal/depend: Fix dependencies to make bigdecimal
installable by rubygems.
* ext/bigdecimal/bigdecimal.gemspec: version 1.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
01:11 PM Revision fe98c985 (git): update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:03 PM Revision b56666a4 (git): * test/ruby/test_rubyoptions.rb: (TestRubyOptions#test_verbose): support RC.
see also r48888. reported by Vit Ondruch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:00 PM Misc #10553: Ruby 2.2.0 release engeneering
Vit Ondruch wrote:
> Please backport r48888. But this is incomplete IMO. There should be fixed also this location:
Oops, I had overlooked it.
usa (Usaku NAKAMURA)
12:52 PM Misc #10553: Ruby 2.2.0 release engeneering
Vit Ondruch wrote:
> Please backport r48888.
Actually, if there was not other RC, there is no need to backport ;)
vo.x (Vit Ondruch)
12:49 PM Misc #10553: Ruby 2.2.0 release engeneering
Please backport r48888. But this is incomplete IMO. There should be fixed also this location:
~~~
$ git diff
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 2bd1a30..8d3da54 100644
--- a/test/ruby/...
vo.x (Vit Ondruch)
11:02 AM Revision 9da7dcc4 (git): compile.c: add comments
* compile.c (rb_method_for_self_aref, rb_method_for_self_aset):
add comments about inputs and outputs of func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:00 AM Revision 0618ea75 (git): ruby.h: get rid of C++ warnings
* include/ruby/ruby.h (PRIsVALUE): put a space after string
literals not to be confused with C++11 string literal suffix.
https://github.com/ruby/ruby/commit/a9f3eb7#commitcomment-9040169
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
10:53 AM Bug #10621: no parent in rb_data_type_t
I've been lazy to revert r48647, but incline to do it now.
How do you think, _ko1?
nobu (Nobuyoshi Nakada)
10:10 AM Bug #10621 (Closed): no parent in rb_data_type_t
`rb_data_type_t` does need to have a parent type otherwise it cant bind objects anymore that have a tree style ClassTree like in C++ or simulated with gtk
in C++ like Class B and Class C does inherit both Class A, cant be ported with ...
Hanmac (Hans Mackowiak)
06:36 AM Revision 62d43632 (git): hash.c: fix return value
* hash.c (hash_equal): prefer true than the result of implicit
conversion from int returned by rb_eql() to VALUE. [Fix GH-789]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:00 AM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
Looks good. I would use `::Math::E` instead of `E` for explicitness (I doubt anyone would defined `CMath::E`.
Also, bug fixes don't need a NEWS entry.
marcandre (Marc-Andre Lafortune)
02:56 AM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
ping gogotanaka (Kazuki Tanaka)
02:53 AM Revision 903ccd10 (git): Release branch of Ruby 2.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@48890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:52 AM Revision 7ce07a85 (git): * 2014-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:52 AM Revision a7fe7804 (git): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_version): should support
rc :-P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

12/18/2014

08:01 PM Bug #10619 (Closed): URI::HTTP#query= behavior changed for 2396 uris
Hi,
r48244 changed the behavior of the query method on uri objects generated by the 2396 parser. Here is a test to demonstrate the change:
~~~
require 'test/unit'
require 'uri'
module URI
class TestRFC2396 < Test::Unit::Te...
tenderlovemaking (Aaron Patterson)
07:28 PM Bug #10618: TestWeakRef#test_repeated_object_leak fails on ARM
Is 60 seconds enough? Can 30 work? Default is only 10 seconds.

diff --git a/test/test_weakref.rb b/test/test_weakref.rb
index 36b5d5b..d21b431 100644
--- a/test/test_weakref.rb
+++ b/test/test_weakref.rb
@@ -63,7 +63,7 @@ class...
normalperson (Eric Wong)
12:39 PM Bug #10618 (Closed): TestWeakRef#test_repeated_object_leak fails on ARM
I observer following error on Fedora's ARM builders:
~~~
1) Error:
TestWeakRef#test_repeated_object_leak:
Timeout::Error: execution of assert_no_memory_leak expired
/builddir/build/BUILD/ruby-2.2.0-r48879/test/test_weakref.r...
vo.x (Vit Ondruch)
05:20 PM Bug #7492: Segmentation fault at DL::TestDL#test_call_double on x64 Windows 8
DL is removed from trunk. Should we still apply this to 2.1 and older? tenderlovemaking (Aaron Patterson)
05:16 PM Bug #10162 (Closed): Error while installing ruby 2.1.2 on freebsd
I'm closing this. If you're still having problems, please comment here or open a new ticket. Thanks! tenderlovemaking (Aaron Patterson)
05:15 PM Bug #9823 (Closed): Segmentation fault using DL
tenderlovemaking (Aaron Patterson)
05:13 PM Bug #7760 (Closed): "-\n2000-01-02 03:04:05".to_yaml raise ArgumentError
This was fixed, so I'm closing it. tenderlovemaking (Aaron Patterson)
12:53 PM Bug #10210 (Closed): LDSHARED and LDSHAREDXX set to null ('')
Applied in changeset r48886.
----------
configure.in: fix fox BusyBox
* configure.in (rb_cv_binary_elf): get rid of -e option of cat
which is not available on BusyBox, use tr instead.
[ruby-core:64824] [Bug #10210]
nobu (Nobuyoshi Nakada)
12:53 PM Revision 050b43ac (git): add tag v2_2_0_rc1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v2_2_0_rc1@48887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:34 PM Bug #10120 (Closed): TestSprintf#test_float still an issue
This should be resolved by r48844 according to [1].
[1] https://bugs.ruby-lang.org/issues/10553#note-14
vo.x (Vit Ondruch)
12:10 PM Bug #10450: multiple assignment in conditional
Actually, thinking about it again I'm not sure anymore if the warning is warranted. The warning for singular assignment is there to warn about the possibility of a typo (`a = b` vs `a == b`). Multiple assignment is unambiguous in this re... recursive-madman (Recursive Madman)
11:51 AM Bug #10450: multiple assignment in conditional
#10617 looks good to me. +1 on the warning. javawizard (Alex Boyd)
11:08 AM Bug #10450: multiple assignment in conditional
I've created a feature request with attached patch here: #10617 (the patch differs from Alex Boyd's version in that it prints a warning to be consistent with regular assignment in a conditional) recursive-madman (Recursive Madman)
11:02 AM Bug #10450: multiple assignment in conditional
bug hit wrote:
>
> ...
I've watched this thread with interest, followed by amusement, and finally disappointment. I could write tomes about the Ruby community's values, about what can be gained by being polite to respected members of ...
phluid61 (Matthew Kerwin)
07:41 AM Bug #10450: multiple assignment in conditional
Martin Dürst wrote:
> bug hit wrote:
> ...
Good point about the dust. There are three entries in this bug that are essential, my initial report, Alex Boyd's patch, and Yusuke Endoh's historical explanation. All of your posts are inde...
bughit (bug hit)
06:12 AM Bug #10450: multiple assignment in conditional
bug hit wrote:
> Yusuke Endoh wrote:
> ...
It would be helpful if you could defer the triage into bugs and features to people such as Yusuke who have a lot of experience with how Ruby development works. Also, while it's better to not h...
duerst (Martin Dürst)
05:15 AM Bug #10450: multiple assignment in conditional
Yusuke Endoh wrote:
> I think that the restriction is no longer meaningful, but it does not mean that this is a bug. Whatever the reason is, the behavior has been the spec. It is not harmful. It is trivial to work around. So I consi...
bughit (bug hit)
04:52 AM Bug #10450: multiple assignment in conditional
I think that the restriction is no longer meaningful, but it does not mean that this is a bug. Whatever the reason is, the behavior has been the spec. It is not harmful. It is trivial to work around. So I consider this ticket as a fe... mame (Yusuke Endoh)
11:07 AM Feature #10617 (Closed): Change multiple assignment in conditional from parse error to warning
There is currently an inconsistency between regular and multiple assignment in conditionals.
Regular assignment causes a **warning**, multiple assignment causes a **parse error**.
The historical reason for this is that in 1.8 multipl...
recursive-madman (Recursive Madman)
11:03 AM Bug #10616 (Closed): Dir.mktmpdir is not setting "d" prefix as default
In Ruby < 2.2.0 when nil was passed as first parameter it was changed to "d"
In latest version this behaviour was changed and now 'd' is default value, but if nil was passed Exception is raised.
I attached tiny patch to this.
alex_slynko (Alex Slynko)
08:45 AM Revision 9701d08d (git): configure.in: fix fox BusyBox
* configure.in (rb_cv_binary_elf): get rid of -e option of cat
which is not available on BusyBox, use tr instead.
[ruby-core:64824] [Bug #10210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48886 b2dd03c8-39d4-4d8f-98ff-823fe69...
nobu (Nobuyoshi Nakada)
08:37 AM Feature #9612: Gemify OpenSSL
No, 2.2 doesn't include gemifying openssl. naruse (Yui NARUSE)
06:56 AM Bug #9591: io-console versioning
bumped at r48878.
BigDecimal's maintainer is mrkn, and create another ticket.
naruse (Yui NARUSE)
05:31 AM Revision a171f0ea (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:27 AM Bug #10615 (Closed): SIGKILL is not supported by signal() of some versions of MSVCRT
Applied in changeset r48884.
----------
* signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
should be treated before calling signal(2).
[Bug #10615]
usa (Usaku NAKAMURA)
05:24 AM Bug #10615 (Closed): SIGKILL is not supported by signal() of some versions of MSVCRT
MSVCRTはSIGKILLをサポートしておらず(C標準外なので割と当たり前)、Rubyで自前サポートしているわけなのですが、にもかかわらずsignal()にはそのまんま渡しているため、一部のMSVCRT実装で問題が起きているようです。 usa (Usaku NAKAMURA)
05:26 AM Revision 42496f2f (git): * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
should be treated before calling signal(2).
[Bug #10615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:56 AM Bug #10613 (Assigned): SNI is not optional when using TLS
nobu (Nobuyoshi Nakada)
03:49 AM Bug #10612: Documentation: Document behaviour of Hash#invert
Robert A. Heiler wrote:
> "If a key with the same name already exists in the Hash then the
last one defined will be used, the earlier key will be discarded."
"name" should be "value", I guess.
nobu (Nobuyoshi Nakada)
03:40 AM Bug #10611 (Rejected): "Abort trap: 6" when running "bundler exec jekyll serve" under OS X Mavericks.
You load extension libraries for 2.0.0, maybe `$LOAD_PATH` is wrong. nobu (Nobuyoshi Nakada)
03:32 AM Bug #10614: strpdate and Leap Days
`'02/29/2012'` clearly does not match `'%m/%d'`. What else would you expect than an argument error? sawa (Tsuyoshi Sawada)
03:03 AM Bug #10614 (Closed): strpdate and Leap Days
I'm experiencing an issue parsing dates and leap days.
When the format string includes the year, everything works as expected:
~~~
>> Date.strptime('02/29/2012', '%m/%d/%Y')
=> #<Date: 2012-02-29 ((2455987j,0s,0n),+0s,2299161j)>
...
cwoodcox (Corey Woodcox)
02:44 AM Revision 3bd4d511 (git): io/console: checks for old versions
* ext/io/console/extconf.rb: remove no longer needed checks for
old versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:14 AM Revision faa53ca2 (git): .travis.yml: use after_failure
* .travis.yml: use after_failure section to dump crash log files.
http://docs.travis-ci.com/user/build-lifecycle/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:03 AM Revision 2e3f1c11 (git): * 2014-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:03 AM Revision 4dbb25e8 (git): test/ruby/test_iseq.rb: spelling fix: s/diable/disable/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
 

Also available in: Atom