Activity
From 06/02/2016 to 06/08/2016
06/08/2016
-
11:18 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- Hi.
> this is happening in code that doesn't define new
I'm sorry if I'm missing something, but could you please provide such code?
Lines 12-15 of `nth_prime_test.rb` defines an instance method called `new`, and James also defin... -
08:59 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- Marc-Andre: this is happening in code that doesn't define new *or* call instance() directly -- the supplied sample code doesn't do either of those. Instead, methods called on Prime are forwarded to its instance. If the instance doesn't e...
-
05:58 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- So, a minimal example is:
```
require 'prime'
class Prime
def new
end
end
# access instance, directly or indirectly via a delegated class method
Prime.prime?(42) # ThreadError: deadlock
```
It's easy to circumvent by... -
02:11 PM Revision 075cf3d2 (git): string.c (rb_str_ascii_casemap): fix compile error.
- error: implicit conversion loses integer precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 PM Revision 872f9a49 (git): * string.c: Revert previous commit (possibility of endless loop).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:57 PM Revision 5eb73eed (git): * string.c: Special-case :ascii option in rb_str_upcase_bang.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 PM Revision f0fc6ec8 (git): * string.c: New static function rb_str_ascii_casemap; special-casing
- :ascii option in rb_str_upcase_bang and rb_str_downcase_bang.
* regenc.c: Fix a bug (wrong use of unnecessary slack at end of string).
* regenc.h -> include/ruby/oniguruma.h: Move declaration of
onigenc_ascii_only_case_map so that it i... -
11:56 AM Bug #12471 (Closed): make update-mspec always fails on Solaris
- Applied in changeset r55328.
----------
Makefile.in: revert r55303 because of an error on Solaris 10. [Bug #12471] [ruby-dev:49654] -
11:40 AM Bug #12471 (Closed): make update-mspec always fails on Solaris
- r55303 以降、Solaris 10 にて make update-rubyspec すると、以下のエラーが常に発生します。
~~~
make update-rubyspec V=1
make: *** [update-mspec] Error 1
~~~
r55303 の変更で、以下のように if で直接 cd するように変更されましたが、
~~~
update-mspec:
@$(CHDIR) $(srcdir); ... -
11:56 AM Revision 404d6e9f (git): Makefile.in: revert r55303 because of an error on Solaris 10. [Bug #12471] [ruby-dev:49654]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:37 AM Bug #12470 (Closed): Since r54952, TestMkmf::TestConvertible failed on Solaris 10 with Oracle SolarisStudio 12.x cc
- Applied in changeset r55327.
----------
* include/ruby/intern.h: Remove excess semicolons in PUREFUNC().
Fix failure of TestMkmf::TestConvertible on Solaris with
Oracle Solaris Studio 12. [ruby-dev:49651] [Bug #12470]
* internal.h: ... -
10:43 AM Bug #12470 (Assigned): Since r54952, TestMkmf::TestConvertible failed on Solaris 10 with Oracle SolarisStudio 12.x cc
-
09:50 AM Bug #12470 (Closed): Since r54952, TestMkmf::TestConvertible failed on Solaris 10 with Oracle SolarisStudio 12.x cc
- おそらく r54952 から、Solaris 10 上の Oracle Solaris Studio 12.3 または 12.4 にてコンパイルすると、
TestMkmf::TestConvertible#test_typeof_builtin
TestMkmf::TestConvertible#test_typeof_typedef
がfailureになります。
以下のように、include/ruby/intern.h の485行目と787行目にWarni... -
11:36 AM Revision fd25eea0 (git): * include/ruby/intern.h: Remove excess semicolons in PUREFUNC().
- Fix failure of TestMkmf::TestConvertible on Solaris with
Oracle Solaris Studio 12. [ruby-dev:49651] [Bug #12470]
* internal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:47 AM Revision 38d9aa3f (git): ext/stringio/README.md: update [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:10 AM Revision 545d521c (git): Add an acknowledgement.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:06 AM Revision 0827a7e5 (git): * lib/net/smtp.rb (getok, get_response): raise an ArgumentError when
- CR or LF is included in a line, because they are not allowed in
RFC5321.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 AM Revision e5230fba (git): suppress static-in-inline warning
- * ext/date/zonetab.list (zonetab): forward declaration as static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 AM Revision cebc9487 (git): fix date build
- * common.mk (zonetabl.h): fix typo.
* ext/date/zonetab.list: remove forward declaration which may be
conflict with the later definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:54 AM Bug #12370 (Rejected): require 'mkmf' changes Object#respond_to? behaviour
-
03:43 AM Bug #12469 (Closed): Compile error in date_parse.c
- When compiling on cygwin with `make up; make install-nodoc`, I get the compile error below.
```
compiling date_parse.c
In file included from date_parse.c:340:0:
zonetab.list:425:1: error: ‘gnu_inline’ attribute present on ‘zonetab’... -
02:08 AM Revision 9a4a04fe (git): test_proc.rb: test_lambda?
- * test/ruby/test_proc.rb (test_lambda?): lambda-ness should be
preserved across proc, lambda, and Proc.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:09 AM Revision b5960a63 (git): ext/date/zonetab.list: gperf timezone names
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:09 AM Revision 0e6bda62 (git): * 2016-06-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 AM Revision 9d83b198 (git): ext/date: constify
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/07/2016
-
09:03 PM Bug #12451: ruby yaml strangely parses string as fixnum
- On Wed, Jun 01, 2016 at 04:58:44PM +0000, david@watzke.cz wrote:
> Issue #12451 has been reported by David Watzke.
>
> ----------------------------------------
> Bug #12451: ruby yaml strangely parses string as fixnum
> https://bu... -
04:53 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- Okay, Prime removed its .new() method. Singleton appears to depend on .new(). It's getting the recursive synch because the deprecated new() is calling instance(), so it would recurse infinitely. But instead, it tries to grab its own mute...
-
04:34 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- The error is occurring in Singleton's instance method, which is mutex-protected.
Using the supplied example code, git-bisect points to this Ruby commit as the problem:
commit d2487ed47587ec1cd1b456068e0af3ea0b39596d
Author... -
01:42 PM Bug #12453: 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
- Noah Gibbs wrote:
> For me on a Retina MacBook w/ OS X 10.11.5, using ruby_2_2 branch from Git mirror:
> ...
Thanks, Noah ... I'll test the on a couple of other Linux distros.
-
12:29 PM Revision b9051665 (git): rubygems: regenerate server certificates used in tests
- * test/rubygems/*_{cert,cert_32}.pem: Regenerate test certificates for
OpenSSL 1.1.0. This is already in upstream.
https://github.com/rubygems/rubygems/commit/9be5c53939440a61c4bba73cfffbeb5cfadf72be
[ruby-core:75225] [Feature #123... - 12:29 PM Revision 3cb56e8e (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Revision 06552d56 (git): open-uri: regenerate server certificates used in tests
- * test/open-uri/test_ssl.rb: Regenerate test certificates. The test CA
certificate was incorrectly generated. A CA certificate must have the
basic constraints extension with cA bit set to TRUE. OpenSSL <= 1.0.2
allowed the error wh... -
12:27 PM Bug #12468: Logger: Can not rotate (log shifting failed. closed stream)
- Update: Please disregard my comments related to the bug occuring on JRuby. It seems that I made a mistake when trying to reproduce it there.
For the time being, I can only say that it occurs on Cygwin Ruby 2.2.4
-
12:13 PM Bug #12468 (Closed): Logger: Can not rotate (log shifting failed. closed stream)
- If I configure a Logger to rotate, by the time the logger is supposed to do the first rotation, it creates the new log file, but then hangs. When I abort the program using Control-C, I get an infinite series of error messages saying
... -
12:20 PM Revision b257af88 (git): openssl: adjust tests for OpenSSL 1.1.0
- This fixes `make test-all TESTS=openssl` with OpenSSL master.
* test/openssl/test_x509name.rb: Don't register OID for 'emailAddress'
and 'serialNumber'. A recent change in OpenSSL made OBJ_create()
reject an already existing OID. Th... -
11:04 AM Feature #6943: pstore in FIPS mode
- Ping? Any chance to change the hashing algorithm?
-
10:02 AM Bug #12467 (Third Party's Issue): Open mode 'a' does not work for Process.spawn on Windows
- Example:
~~~ruby
spawn 'ruby -e "p Time.now"', [:out, :err] => ['log.txt', 'a']
sleep 1
spawn 'ruby -e "p Time.now"', [:out, :err] => ['log.txt', 'a']
sleep 1
p File.read('log.txt')
~~~
This program looks work correctly at fi... -
09:23 AM Bug #12466 (Rejected): Enumerable should yield multiple values when possible
- Some methods in `Enumerable` and `Array` yield arrays instead of multiple values, e.g.:
```ruby
[1, 2, 3, 4].each_cons(2).peek_values #=> [[1, 2]]
```
If `each_cons` would yield multiple values (i.e. `yield 1, 2` instead of `yiel... -
08:57 AM Revision 0affebd7 (git): ruby-additional.el: adjust heredoc line number
- * misc/ruby-additional.el (ruby-insert-heredoc-code-block): insert
a newline adjust the line number for "begin" line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:57 AM Revision 52ccfbcd (git): test_syntax.rb: formal argument name tests
- * test/ruby/test_syntax.rb: add invalid formal argument name
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:49 AM Revision 768b1302 (git): * test/ruby/enc/test_case_comprehensive: Change test for encodings
- without any non-ASCII case conversions from ASCII-only test
to full test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision 8743f010 (git): * string.c (rb_str_upcase_bang, rb_str_capitalize_bang,
- rb_str_swapcase_bang): Switch to use primitive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 AM Bug #12465 (Feedback): I encountered this issue when I ran rspec
- What occurred?
Segmentation fault? -
03:08 AM Bug #12465 (Closed): I encountered this issue when I ran rspec
- (snip)
-
07:52 AM Revision 1f5784ec (git): openssl: add SSL::SSLContext#security_level{=,}
- * ext/openssl/extconf.rb: Check for SSL_CTX_get_security_level().
OpenSSL 1.1.0 introduced "security level".
[ruby-core:75225] [Feature #12324]
* ext/openssl/ossl_ssl.c (ossl_sslctx_{get,set}_security_level): Add
SSLContext#securi... -
07:44 AM Revision 53a3e3dd (git): * string.c (rb_str_downcase_bang): Switch to use primitive except if
- conversion can be done ASCII-only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Revision 1b986120 (git): * test/ruby/enc/test_case_comprehensive: Add regression tests for
- current ASCII-only case conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:28 AM Revision b5baea5f (git): * test/ruby/enc/test_case_comprehensive: Fix method name
- (generate_casefold_tests -> generate_case_mapping_tests).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:18 AM Feature #4787: Integer#each_modulo(n)
- This only gives the 'mod' part. Why not extend this to get both the 'div' part and the 'mod' part back (see also comment #4)?
And why not allow an array of integers as an argument? Some conventions for displaying large numbers with se... -
06:05 AM Revision fd7925ff (git): * regenc.h/c: Rename onigenc_not_support_case_map to
- onigenc_ascii_only_case_map.
* regenc.h: Add definition of onigenc_single_byte_ascii_only_case_map.
* enc/iso_8859_X.c, windows_125X.c, ascii.c, us-ascii.c, koi8_x.c:
Replace onigenc_not_support_case_map by
onigenc_single_byte_ascii_... -
05:57 AM Revision 74c38e5d (git): openssl: avoid deprecated version-specific ssl methods if necessary
- * ext/openssl/extconf.rb: Check for SSL_CTX_set_min_proto_version()
macro added in OpenSSL 1.1.0. Version-specific methods, such as
TLSv1_method(), are deprecated in OpenSSL 1.1.0. We need to use
version-flexible methods (TLS_*meth... -
05:54 AM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
- Agree.
https://github.com/ruby/ruby/compare/trunk...nobu:bug/12359-no-capture-warnings -
04:53 AM Revision 04e1badd (git): Makefile.in: cd to working directory
- * Makefile.in (update-{mspec,rubyspec,doclie,simplecov{,-html}}):
cd to working directory first and check if the directory exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 61b3be7d (git): * regenc.c (onigenc_not_support_case_map): Move to end of file;
- (onigenc_single_byte_ascii_only_case_map): Add new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Revision 7c6fd1c6 (git): appveyor.yml: fix file names
- * appveyor.yml (install): file library file names to be installed
from libressl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:26 AM Revision 31cfe7c1 (git): * 2016-06-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:26 AM Revision c8c9eff2 (git): * regenc.c (onigenc_not_support_case_map): Rewrite to work correctly
- in ASCII range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/06/2016
-
11:01 PM Bug #12453: 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
- For me on a Retina MacBook w/ OS X 10.11.5, using ruby_2_2 branch from Git mirror:
real 0m0.043s
user 0m0.029s
sys 0m0.008s
Using current master:
real 0m0.037s
user 0m0.028s
sys 0m0.007s
The numbers for current head are i... -
10:48 PM Bug #12297: Ruby stdlib date can parse non-existent date with year 0
- Ah! It would be hard to "fix" Ruby's stdlib to not allow dates to have a 0 year in general, because of code like the Date test that can use a Date as a delta. That is:
class DateSub < Date; end
d2 = d - 1
assert_instan... -
06:30 PM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
- Just in case someone stumbled upon this old rejected feature request: there is a clever way of achieving most of this by using a font with ligatures that combines successive ascii characters into ligatures:
https://github.com/tonsky/Fir... -
04:59 PM Bug #12464 (Rejected): URI.regexp should not include comma at the end of string if followed by whitespace
- Hello,
URI.regexp should not include comma at the end of string if followed by whitespace in my opinion.
USE CASES:
1) test string: "http://domain.com, " - URI.regexp matches: "http://domain.com" (without comma)
2) test string:... -
03:31 PM Feature #12463: ruby lacks plus-plus
- On 06/06/2016 10:44 PM, Eric Wong wrote:
>> Also for a nontrivial benchmark, optcarrot speeds up from 31.14 fps to
>> 31.98 fps (102.6%). This is not that huge gain (disappointed), but it
>> does speeds up more or less.
>
> Yes, ... -
01:51 PM Feature #12463: ruby lacks plus-plus
- duerst@it.aoyama.ac.jp wrote:
> This looks like an interesting improvement. But in some way, a
> ```
> a += 1
> ```
> in a Ruby program may be a code smell (specifically, it smells of C and similar languages).
Agreed, I'm not su... -
11:56 AM Feature #12463: ruby lacks plus-plus
- This looks like an interesting improvement. But in some way, a
```
a += 1
```
in a Ruby program may be a code smell (specifically, it smells of C and similar languages). -
10:30 AM Feature #12463 (Rejected): ruby lacks plus-plus
- From c0f0d0c5f5c58d56fec95ca4303a0f5db5b54d56 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-lang.org>
Date: Mon, 6 Jun 2016 17:07:11 +0900
Subject: [PATCH 1/1] ruby lacks plus-plus operation.
This commit adds opt_... -
02:04 PM Revision c25fa0fa (git): appveyor.yml: Update libressl version to 2.3.5.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:38 AM Bug #12462 (Closed): Segmentation fault hapen when calling Proc that has return
- Applied in changeset r55297.
----------
vm_insnhelper.c: check symbol proc to throw
* vm_insnhelper.c (vm_throw_start): check if the iseq is symbol
proc, class definition should not be a symbol proc.
[ruby-core:75856] [Bug #12462] -
08:52 AM Bug #12462 (Closed): Segmentation fault hapen when calling Proc that has return
- Hi.
Is this bug?
I execute it.
~~~
ruby -ve "def x; Proc.new { return 1 }.tap(&:call); end; p x"
~~~
Result is this.
~~~
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
-e:1: [BUG] Segmentation fault at 0x00... -
09:37 AM Revision 65ac4a56 (git): vm_insnhelper.c: check symbol proc to throw
- * vm_insnhelper.c (vm_throw_start): check if the iseq is symbol
proc, class definition should not be a symbol proc.
[ruby-core:75856] [Bug #12462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55297 b2dd03c8-39d4-4d8f-98ff-823fe... -
09:36 AM Revision ab5f23f2 (git): * string.c: Added UTF-16BE/LE and UTF-32BE/LE to supported encodings
- for Unicode case mapping.
* test/ruby/enc/test_case_comprehensive.rb: Tests for above
functionality; fixed an encoding issue in assertion error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55296 b2dd03c8-39d4-4d8f-98ff-... -
08:37 AM Feature #12459: Add type coercion option to ARGV.getopts arguements.
- Thanks for quick reply!
Former one looks better.
Honestly, I don't know a detail process to contribute, but can I make a pull-req to implement this?
Or is it not acceptable due to the function is not recommended?
Regards, Seiji -
08:29 AM Revision a4ccbb63 (git): * test/ruby/enc/test_case_comprehensive.rb: Speed up testing for small
- encodings by preselecting codepoints.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:11 AM Revision c487224f (git): openssl: fix free function of OpenSSL::Cipher
- * ext/openssl/ossl_cipher.c (ossl_cipher_free): Use EVP_CIPHER_CTX_free()
to free EVP_CIPHER_CTX allocated by EVP_CIPHER_CTX_new().
[ruby-core:75225] [Feature #12324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55294 b2dd03c8-... -
05:41 AM Feature #11741: Migrate Ruby to Git from Subversion
- On 2016/06/02 18:43, ferdinandrosario@gmail.com wrote:
> Issue #11741 has been updated by ferdinand rosario.
> I know this feature request already reject but still posting in case if guys are still considering to move git.
Well, ... -
04:38 AM Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
- Or `RbConfig::CONFIG['UNICODE_VERSION']`?
-
04:01 AM Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
- Shyouhei Urabe wrote:
> Maybe place it under String:: or Regexp:: ?
Anything like that would be fine by me. -
12:19 AM Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
- +1 to avoid require to get that info, but wonder if it is worth adding new toplevel constant. Maybe place it under String:: or Regexp:: ?
-
04:37 AM Revision 2f49aa8f (git): * string.c Change rb_str_casemap to use encoding primitive
- case_map instead of directly calling onigenc_unicode_case_map.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:16 AM Revision b09795d8 (git): * test/ruby/enc/test_case_mapping.rb:
- Remove :lithuanian guard for Unicode case mapping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:54 AM Feature #12461: Hash & keys to make subset.
- Just to add to this, I also found an implementation here:
https://github.com/rubyworks/facets/blob/master/lib/core/facets/hash/slice.rb
Now I wonder if this warrants being in the standard library. I believe it probably does since i... -
03:46 AM Feature #12461 (Rejected): Hash & keys to make subset.
- It would be nice if Hash had a way to create a sub-hash with a limited set of keys. This would be useful for keyword functions in particular, because sometimes you have a large hash of things and you only want to send a subset to another...
-
03:39 AM Feature #12039: Fixnum#infinite?/Bignum#infinite or Numeric#infinte, consistent with Float#infinite? and BigDecimal#infinite?
- This looks good, do you think we can integrate this at some point? What do we need to do?
-
01:40 AM Revision 9d2196fd (git): openssl: fix compile on VC
- * ext/openssl/openssl_missing.h: Include ruby/config.h. r55285 added
some inline functions but VC does not recognize 'inline' keyword.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:25 AM Feature #6647 (Closed): Exceptions raised in threads should be logged
- Applied in changeset r55290.
----------
Thread.report_on_exception
* thread.c (thread_start_func_2): report raised exception if
report_on_exception flag is set. [Feature #6647] -
12:25 AM Revision 2e71c752 (git): Thread.report_on_exception
- * thread.c (thread_start_func_2): report raised exception if
report_on_exception flag is set. [Feature #6647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/05/2016
-
08:32 PM Feature #12435: Using connect_nonblock to open TCP connections in Net::HTTP#connect
- mohamed.m.m.hafez@gmail.com wrote:
> Hey all, I've got a pull request at https://github.com/ruby/ruby/pull/1370
I wanted to remove Timeout and use connect_nonblock for a long
time, but it is not simple. DNS lookup from Socket.sock... -
04:53 PM Feature #12435: Using connect_nonblock to open TCP connections in Net::HTTP#connect
- It looks reasonable but I'm wondering TCPSocket.open should have such logic as timeout option.
-
04:36 PM Revision 7451c146 (git): openssl: use SSL_is_server()
- * ext/openssl/extconf.rb: Check existence of SSL_is_server(). This
function was introduced in OpenSSL 1.0.2.
[ruby-core:75225] [Feature #12324]
* ext/openssl/openssl_missing.h: Implement SSL_is_server() if missing.
* ext/openssl/os... -
04:18 PM Revision c7b583a7 (git): openssl: avoid d2i_ASN1_BOOLEAN()
- * ext/openssl/ossl_asn1.c (decode_bool): Do the same thing as
d2i_ASN1_BOOLEAN() does by ourselves. This function is removed in
OpenSSL 1.1.0.
[ruby-core:75225] [Feature #12324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55... -
03:35 PM Revision 0a523ab2 (git): openssl: adapt to OpenSSL 1.1.0 opaque structs
- * ext/openssl/extconf.rb: Check existence of accessor functions that
don't exist in OpenSSL 0.9.8. OpenSSL 1.1.0 made most of its
structures opaque and requires use of these accessor functions.
[ruby-core:75225] [Feature #12324]
*... - 03:00 PM Revision 5df1a31c (git): * 2016-06-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision 63abe007 (git): openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs
- * ext/openssl/openssl_missing.[ch]: Implement EVP_PKEY_get0_*() and
{RSA,DSA,EC_KEY,DH}_get0_*() functions.
OpenSSL 1.1.0 makes EVP_PKEY/RSA/DSA/DH opaque. We used to provide
setter methods for each parameter of each PKey type, for... - 01:09 PM Revision 3cb77c4b (git): configure.in: Fix the timing to detect the appropriate C++ compiler in OS X
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Revision e478bb7d (git): openssl: support OpenSSL 1.1.0's new multi-threading API
- * ext/openssl/extconf.rb: Check absence of CRYPTO_lock() to see if the
OpenSSL has the new threading API. In OpenSSL <= 1.0.2, an application
had to set locking callbacks to use OpenSSL in a multi-threaded
environment. OpenSSL 1.1.... -
12:38 PM Bug #12324 (Closed): Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7) - Applied in changeset r55282.
----------
openssl: check existence of RAND_pseudo_bytes()
* ext/openssl/extconf.rb: Check if RAND_pseudo_bytes() is usable. It is
marked as deprecated in OpenSSL 1.1.0.
[ruby-core:75225] [Feature #1232... -
12:38 PM Revision 9199bec9 (git): openssl: check existence of RAND_pseudo_bytes()
- * ext/openssl/extconf.rb: Check if RAND_pseudo_bytes() is usable. It is
marked as deprecated in OpenSSL 1.1.0.
[ruby-core:75225] [Feature #12324]
* ext/openssl/ossl_rand.c: Disable Random.pseudo_bytes if
RAND_pseudo_bytes() is una... -
11:56 AM Feature #12460 (Closed): Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
- Currently, the Unicode version used in a specific version of Ruby is available
as ```UnicodeNormalize::UNICODE_VERSION```, ```from lib/unicode_normalize/tables.rb```.
It is rather unnatural to have to do
```require 'unicode_normalize/... -
10:06 AM Feature #12459 (Feedback): Add type coercion option to ARGV.getopts arguements.
- First, `ARGV.getopts` is an easy wrapper for old getopts.rb, not recommended.
And I don't like the idea to use **names** there.
```ruby
ARGV.getopts("", ["strval:string option", String], ["intval:integer"=>Integer])
```
or
``... -
09:02 AM Feature #12459 (Feedback): Add type coercion option to ARGV.getopts arguements.
- I suggest a little new feature to lib/optparse.rb.
When I created CLI tool I defined option parser with `ARGV.getopts` function like following.
~~~ruby
ARGV.getopts('abc:', 'logopt, 'optwithval:val')
~~~
It was so easy and sho... -
10:06 AM Revision 8ba27d73 (git): * NEWS: Add news about Unicode-wide case mapping for
- String/Symbol#upcase/downcase/swapcase/capitalize(!).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:54 AM Revision 89e11e88 (git): optparse.rb: fix quote [ci skip]
- * lib/optparse.rb (getopts): [DOC] fix missing quote.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Revision 2cd799b9 (git): * test/ruby/enc/test_case_comprehensive.rb:
- Remove :lithuanian guard for Unicode case mapping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:46 AM Revision 5b659474 (git): * 2016-06-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:46 AM Revision c5ea2682 (git): * string.c: Remove :lithuanian guard for Unicode case mapping.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/04/2016
-
04:45 PM Bug #12458 (Third Party's Issue): ::new returns `nil` when first argument is a String '*'
-
04:30 PM Bug #12458: ::new returns `nil` when first argument is a String '*'
- Sorry, looks like this is actually due to bug in rspec-mocks rather than Ruby itself, so I think this can be closed.
-
04:09 PM Bug #12458 (Third Party's Issue): ::new returns `nil` when first argument is a String '*'
- I encountered this bug on the 2.4.0-dev branch. It does not exist in 2.3.0.
I have a class with this initialize method:
~~~ruby
def initialize(str, **kwargs)
@raw = str
kwargs.each { |k,v| instance_variable_set("@#{k}"... -
04:43 PM Bug #12457 (Third Party's Issue): Ruby 2.2.5 segfaults as soon as I include wxRuby module
- > [BUG] unknown type 0x22 (0x11 given)
Typically, this is an error occurs when an extension library build for 1.8 is loaded. -
12:52 PM Bug #12457 (Third Party's Issue): Ruby 2.2.5 segfaults as soon as I include wxRuby module
- I saw on GitHub that wxW now says it supports 2.2. wx 2.8 installed from packages on Linux Mint 17.3 (derived from Ubuntu 14.04), but the mere inclusion of the module causes this segfault. Ruby 2.2.5 compiled from source.
```ruby
req... -
10:58 AM Revision ed6ab036 (git): gmake.mk: update timestamp of des_tables.c
- * defs/gmake.mk (missing/des_tables.c): always update the
timestamp unless make_des_table failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 AM Revision a41206a1 (git): gmake.mk: des_tables.c condition
- * defs/gmake.mk (missing/des_tables.c): fix cross compiling
condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Revision b1b1f3de (git): des_tables.c: generation rule
- * defs/gmake.mk (missing/des_tables.c): move the recipe from
common.mk. this is less common.
* missing/crypt.c (init_des): if des_tables.c is empty, initialize
DES tables at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:35 AM Revision 1f3ec6d8 (git): openssl: avoid deprecated BN_*prime* functions
- * ext/openssl/ossl_bn.c (ossl_bn_s_generate_prime, ossl_bn_is_prime,
ossl_bn_is_prime_fasttest): Avoid deprecated BN_generate_prime(),
BN_is_prime{,_fasttest}(). They are deprecated because they expect an
old style callback functio... -
01:54 AM Revision 40c3c3ec (git): crypt.h: remove initialized
- * missing/crypt.h (struct crypt_data): remove unnecessary member
"initialized".
* missing/crypt.c (des_setkey_r): nothing to be initialized in
crypt_data.
* configure.in (struct crypt_data): check for "initialized" in
struct crypt_... - 01:38 AM Revision 200d4afd (git): * 2016-06-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 AM Revision 5820c6a3 (git): win32.c: use PATH_MAX
- * win32/win32.c: unify MAX_PATH, _MAX_PATH, and MAXPATHLEN to
PATH_MAX, except for MAX_PATH in get_special_folder for an API
limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/03/2016
-
06:34 PM Bug #12452: Regexp alternation does not backtrack to check the other alternatives if a match is found on the first one
- Didn't know that support for 2.0.0 was dropped, updated to 2.2.4, bug still present
-
05:01 PM Bug #12297: Ruby stdlib date can parse non-existent date with year 0
- Ruby has a lot of different time-parsing and date-parsing code. But for Date's strptime specifically, this is an easy fix. Patch is attached.
-
01:58 PM Bug #12456: tmpdir.rb raises Errors in Windows 10 Subsystem for Linux
- most probably a lot of other things besides Ruby will fail miserably, so they will have to fix that in Windows itself.
-
01:36 PM Bug #12456 (Third Party's Issue): tmpdir.rb raises Errors in Windows 10 Subsystem for Linux
- Hello,
under the new Windows 10 Subsystem for Linux, tmpdir.rb throws Errors, because of the "if stat.world_writable? and !stat.sticky?" check. Under Windows 10, all directories are mode 777 by default. However, directory permissions ... -
01:38 PM Revision f0ead75f (git): win32.c: fail before getting ITEMIDLIST
- * win32/win32.c (get_special_folder): fail before getting
ITEMIDLIST if the buffer is less than 260 word which
SHGetPathFromIDListW requires.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:27 PM Revision 02687cd7 (git): ruby.c: refix r55260
- * ruby.c (process_options): rb_str_conv_enc() never set encoding
of the source string, but returns the string itself if the
conversion failed. then the instance variable does not need to
be set again.
git-svn-id: svn+ssh://ci.rub... -
09:30 AM Bug #12432: The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
- Nobuyoshi Nakada wrote:
> Seems an issue with unicorn and rcdk gem caused by a system restriction.
> ...
Unfortunately, the maintainers of the gem haven't updated it since 2006, when it was written for Ruby 1.8.4.
I was hoping to bypa... - 09:06 AM Revision 8f86f5d6 (git): * ruby.c (process_options): need to duplicate path before passing it to
- rb_str_conv_enc() because the function might call rb_enc_associate()
internally. this fixes test failures on Windows introduced at r55260.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:52 AM Revision b30bbc38 (git): * win32/win32.c (get_special_folder): typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:44 AM Revision 15dba481 (git): mkmf.rb: sort lists of source and object files
- * lib/mkmf.rb (create_makefile): sort lists of source and object
files in generated Makefile, unless given by extconf.rb.
[Fix GH-1367]
Without sorting the list of object files explicitely, its order is
indeterministic, because read...
06/02/2016
- 04:52 PM Revision ff489440 (git): * 2016-06-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 PM Revision 96731d06 (git): dln_find.c: MAXPATHLEN is not used already
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:37 PM Feature #12455 (Open): Add a way for class String to determine whether it has only numbers / digits or not
- Hello.
Not sure if that has been suggested before. If it was and not deemed fit,
please feel free to close this issue request here.
For class String, would it be possible to find out if a given String
contains only numbers, witho... -
03:51 PM Bug #12454: Regexp: Segfault due to Invalid Read in regcomp.c : add_char_opt_map_info
- Here is a simpler case - it is an ascii only, valid regular expression according to grep:
~~~
# cat bug-12454-ascii
((?<V>0(00*)(\0>))00*00*00*$00*)(\g<0>)00*00*00*
# xxd bug-12454-ascii
0000000: 2828 3f3c 563e 3028 3030 2a29 2... -
02:55 PM Bug #12454 (Closed): Regexp: Segfault due to Invalid Read in regcomp.c : add_char_opt_map_info
- A crafted regular expression will cause a segmentation fault due to an invalid one byte read on 32-bit Ubuntu 14.04. The interesting part of the regular expression is: '\g\<0>' which is a recursive reference to the 0th sub-pattern.
~~... -
12:21 PM Revision c3262bce (git): etc.c: retry with allocated string buffer
- * ext/etc/etc.c (etc_systmpdir): retry with allocated string
buffer if static buffer size is not enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Revision 06614116 (git): win32.c: use SHGetPathFromIDListEx
- * win32/win32.c (get_special_folder): use SHGetPathFromIDListEx if
available instead of old SHGetPathFromIDListW, to check the
buffer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:43 AM Feature #11741: Migrate Ruby to Git from Subversion
- I know this feature request already reject but still posting in case if guys are still considering to move git.
my motivation is not that, python is moving so ruby also has move, instead I love to see ruby in git so that people can co... -
08:05 AM Revision 360f7425 (git): ruby.c: no MAXPATHLEN for loadpath
- * ruby.c (ruby_init_loadpath_safe): remove MAXPATHLEN restriction
for Windows 10.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:51 AM Revision 452eba30 (git): ruby-mode.el: squiggly heredoc
- * misc/ruby-mode.el (ruby-here-doc-beg-re),
(ruby-here-doc-beg-match, ruby-parse-partial): Support for
`squiggly heredoc' syntax in ruby-mode. [Fix GH-1372]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55259 b2dd03c8-39d4-4d8f... -
05:27 AM Revision e5b9d51a (git): common.mk: des_tables.c
- * common.mk (missing-srcs): add rule for missing/des_tables.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Feature #8214: デッドロックチェックに全スレッドのバックトレースダンプの追加
- デッドロック関連のデバッグであれば A -> B の順にロックを取ろうとしているスレッドと B -> A の順に
ロックを取ろうとしているスレッドが両方いる、という事実が重要だと思うので、バックトレースは極めて重要だと考えます。
-
04:03 AM Bug #12453 (Closed): 2.3.1p112 version running demo of array methods about 3x slower than running it with 2.2.0p0 version
- The 2.3.1p112 version ran a script that had a very simple demo of array methods close to 3x slower than running it with 2.2.0p0 version. My test environment is Ubuntu 14.04.
Steps to replicate:
1. Add the following code to example... -
03:05 AM Revision 80cd6b87 (git): crypt.c: suppress warnings
- * missing/crypt.c (SPE): make unsigned so that literal integers do
not exceed 32bit signed integer limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:30 AM Revision 9334bb30 (git): crypt.c: fix syntax error on mswin
- * missing/crypt.c (constdatablock): fix error on mswin. Visual C
does not accept an empty initializer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:54 AM Revision 55cc1c61 (git): * 2016-06-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 AM Revision 81d55195 (git): ruby.h: reduce repeated calcuations
- * include/ruby/ruby.h (rb_scan_args_{hash,block}_idx): reduce
repeated index calcuations.
* include/ruby/ruby.h (rb_scan_args_end_idx): unused right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55254 b2dd03c8-39d4-4d8f-98ff... -
01:24 AM Revision 3dd98b24 (git): * string.c: Raise ArgumentError when invalid string is detected in
- case mapping methods.
* enc/unicode.c: Check for invalid string and signal with negative
length value.
* test/ruby/enc/test_case_mapping.rb: Add tests for above.
* test/ruby/test_m17n_comb.rb: Add a message to clarify test failure.
g...