Project

General

Profile

Activity

From 06/03/2016 to 06/09/2016

06/09/2016

06:12 PM Bug #12477 (Closed): Regexp with x modifier does not ignore space in character class
naruse (Yui NARUSE)
05:50 PM Bug #12477: Regexp with x modifier does not ignore space in character class
My apologies. Looks like this is normal. http://www.regular-expressions.info/freespacing.html
Please close this issue.
Dan0042 (Daniel DeLorme)
05:39 PM Bug #12477 (Rejected): Regexp with x modifier does not ignore space in character class
The x modifier should cause all non-escaped spaces to be ignored in a regexp, right?
But consider that
~~~
/ [a] /x =~ " " #=> nil
/ [ ] /x =~ " " #=> 0
~~~
So spaces inside a character class are always literal, regardless ...
Dan0042 (Daniel DeLorme)
06:11 PM Misc #12474: Wishlist for Windows Unix compatibility features
> This page was moved
Thank! fixed.
naruse (Yui NARUSE)
01:16 PM Misc #12474: Wishlist for Windows Unix compatibility features
> http://homepage3.nifty.com/k-takata/diary/2013-04.html#03
This page was moved to:
http://k-takata.o.oo7.jp/diary/2013-04.html#03
k_takata (Ken Takata)
08:37 AM Misc #12474 (Third Party's Issue): Wishlist for Windows Unix compatibility features
## fork(2)
Windows already has related features like `CreateProcess`, but for servers and workers fork is required for source code compatibility of existing scripts,
which are written for Unix.
## nonblocking IO
* To check sock...
naruse (Yui NARUSE)
04:13 PM Bug #12476 (Closed): Cygwin current Ruby 2.2.4p230 fails where prev Ruby 2.2.3p173 does not
Below "possible bug" running the current Cygwin Ruby distribution. Reverting to Cygwin's "previous" (ruby 2.2.3p173 (2015-08-18 revision 51636) [i386-cygwin]) seems to have solved the problem for me.
My script is involved and uses ...
gnormhurst (Norm Hurst)
04:02 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
Marc-Andre: sorry, you're right. I somehow missed that this code was defining :new.
Yeah, this is probably not a big problem. Defining new is a weird use case.
noahgibbs (Noah Gibbs)
02:11 PM Bug #12475 (Closed): SHARABLE_MIDDLE_SUBSTRING=1のとき、環境変数が正しく設定されない
`-DSHARABLE_MIDDLE_SUBSTRING=1` でビルドすると以下の failures がでます。
```
[15969/16628] TestTimeTZ#test_gen_right_America_Los_Angeles_91 = 0.00 s
3) Failure:
TestTimeTZ#test_gen_right_America_Los_Angeles_91 [/home/vagrant/ruby/test/ruby/test...
znz (Kazuhiro NISHIYAMA)
12:42 PM Revision f9843bc4 (git): openssl: use ASN1_ENUMERATED_to_BN() if needed
* ext/openssl/ossl_asn1.c (asn1integer_to_num): Use
ASN1_ENUMERATED_to_BN() to convert an ASN1_ENUMERATED to a BN.
Starting from OpenSSL 1.1.0, ASN1_INTEGER_to_BN() rejects
non-ASN1_INTEGER objects. The format of INTEGER and ENUMER...
rhenium (Kazuki Yamaguchi)
12:10 PM Revision c01e4738 (git): * tool/ifchange: fix timestamp error when target without directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:46 AM Revision dd05607f (git): openssl: fix build with OPENSSL_NO_EC
* ext/openssl/ossl_ssl.c: Add define guards for OPENSSL_NO_EC.
SSL_CTX_set_ecdh_auto() is defined even when ECDH is disabled in
OpenSSL's configuration. This fixes r55214.
* test/openssl/test_pair.rb (test_ecdh_curves): Skip if the ...
rhenium (Kazuki Yamaguchi)
09:39 AM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
Both APL and Fortress predate decent UTF-8 support by a long time, I'm not sure that the fact that those failed in the past is still a convincing reason to reject out of hand the human factor advantages this could have. Do we want to lim... Fjan (Jan Maurits Faber)
09:25 AM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
There was a language named Fortress that did similar but had disappeared in the history.
Matz.
matz (Yukihiro Matsumoto)
09:18 AM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
No. Have you heard about APL programming language? If not, please just google. I don't want that madness imported to Ruby. shyouhei (Shyouhei Urabe)
09:12 AM Bug #12472 (Closed): No rule to make target `un-runnable', needed by `runnable'
Applied in changeset r55341.
----------
Makefile.in: un-runnable
* Makefile.in (un-runnable): fail with proper error message.
[ruby-core:75905] [Bug #12472]
nobu (Nobuyoshi Nakada)
05:17 AM Bug #12472 (Closed): No rule to make target `un-runnable', needed by `runnable'
When I use ```make runnable```, I get the following error message on a fedora system.
```
make: *** No rule to make target `un-runnable', needed by `runnable'. Stop.
```
duerst (Martin Dürst)
09:12 AM Revision bbcc64c2 (git): Makefile.in: un-runnable
* Makefile.in (un-runnable): fail with proper error message.
[ruby-core:75905] [Bug #12472]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:37 AM Revision 8e79650a (git): common.mk: fix win32/ifchange.bat usage
* common.mk: win32/ifchange.bat does not support input from stdin.
also needs quotes to escape an equal sign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:52 AM Revision 2d897a3d (git): common.mk: use $(IFCHANGE) for mswin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:32 AM Revision 2bd061f2 (git): common.mk: ifchange for mkconfig.rb
* common.mk (RBCONFIG): use ifchange tool to see if the content is
changed and update the timestamp file.
* tool/mkconfig.rb: remove ifchange features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55338 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
06:31 AM Revision 9403716f (git): ifchange: make target directory
* tool/ifchange: make target directory if it does not exist with
its parent directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:31 AM Revision f4d18f52 (git): ifchange.bat: drop old systems
* win32/ifchange.bat: drop support for command.com used on old
systems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:03 AM Revision accd3074 (git): openssl: fix build with OpenSSL 1.1.0 and no pkg-config
* ext/openssl/extconf.rb: Check for CRYPTO_malloc() and SSL_new().
OpenSSL_add_all_digests() and SSL_library_init() are deprecated and
converted to macros in OpenSSL 1.1.0.
[ruby-core:75225] [Feature #12324]
git-svn-id: svn+ssh://...
rhenium (Kazuki Yamaguchi)
05:43 AM Bug #12473 (Closed): Test failure on fedora with TestTimeExtension#test_huge_precision
When trying ```make test-all``` on a fedora system on a VirtualBox, I got the following error:
It would be good at a minimum if the tests continued after this error.
```
[15926/16714] TestTimeExtension#test_huge_precision = 12.76 ...
duerst (Martin Dürst)
04:44 AM Revision b5da848d (git): * 2016-06-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:44 AM Revision a48731e7 (git): strio_init: return self for tail call optimization
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

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...
marcandre (Marc-Andre Lafortune)
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... noahgibbs (Noah Gibbs)
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...
marcandre (Marc-Andre Lafortune)
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
znz (Kazuhiro NISHIYAMA)
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 duerst (Martin Dürst)
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 duerst (Martin Dürst)
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...
duerst (Martin Dürst)
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]
ngoto (Naohisa Goto)
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); ...
ngoto (Naohisa Goto)
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 ngoto (Naohisa Goto)
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: ...
ngoto (Naohisa Goto)
10:43 AM Bug #12470 (Assigned): Since r54952, TestMkmf::TestConvertible failed on Solaris 10 with Oracle SolarisStudio 12.x cc
nobu (Nobuyoshi Nakada)
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...
ngoto (Naohisa Goto)
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
ngoto (Naohisa Goto)
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 nobu (Nobuyoshi Nakada)
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 shugo (Shugo Maeda)
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
shugo (Shugo Maeda)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
04:54 AM Bug #12370 (Rejected): require 'mkmf' changes Object#respond_to? behaviour
usa (Usaku NAKAMURA)
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’...
duerst (Martin Dürst)
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
nobu (Nobuyoshi Nakada)
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 nobu (Nobuyoshi Nakada)
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 svn[bot]
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 nobu (Nobuyoshi Nakada)

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...
tenderlovemaking (Aaron Patterson)
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... noahgibbs (Noah Gibbs)
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...
noahgibbs (Noah Gibbs)
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.
HarlinSeritt (Harlin Seritt)
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...
rhenium (Kazuki Yamaguchi)
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 svn[bot]
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...
rhenium (Kazuki Yamaguchi)
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
rovf (Ronald Fischer)
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
...
rovf (Ronald Fischer)
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...
rhenium (Kazuki Yamaguchi)
11:04 AM Feature #6943: pstore in FIPS mode
Ping? Any chance to change the hashing algorithm? vo.x (Vit Ondruch)
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...
yhara (Yutaka HARA)
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...
sos4nt (Stefan Schüßler)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
duerst (Martin Dürst)
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
duerst (Martin Dürst)
07:58 AM Bug #12465 (Feedback): I encountered this issue when I ran rspec
What occurred?
Segmentation fault?
nobu (Nobuyoshi Nakada)
03:08 AM Bug #12465 (Closed): I encountered this issue when I ran rspec
(snip)
andy_gg1996 (andy chong)
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...
rhenium (Kazuki Yamaguchi)
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
duerst (Martin Dürst)
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
duerst (Martin Dürst)
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
duerst (Martin Dürst)
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...
duerst (Martin Dürst)
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_...
duerst (Martin Dürst)
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...
rhenium (Kazuki Yamaguchi)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
duerst (Martin Dürst)
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
nobu (Nobuyoshi Nakada)
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 svn[bot]
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
duerst (Martin Dürst)

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...
noahgibbs (Noah Gibbs)
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...
noahgibbs (Noah Gibbs)
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...
Fjan (Jan Maurits Faber)
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:...
alpracka (Nikos Timiopulos)
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, ...
shyouhei (Shyouhei Urabe)
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...
normalperson (Eric Wong)
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).
duerst (Martin Dürst)
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_...
shyouhei (Shyouhei Urabe)
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 znz (Kazuhiro NISHIYAMA)
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]
nobu (Nobuyoshi Nakada)
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...
yancya (Shinta Koyanagi)
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...
nobu (Nobuyoshi Nakada)
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-...
duerst (Martin Dürst)
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
timakin (Seiji Takahashi)
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
duerst (Martin Dürst)
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-...
rhenium (Kazuki Yamaguchi)
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, ...
duerst (Martin Dürst)
04:38 AM Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
Or `RbConfig::CONFIG['UNICODE_VERSION']`? nobu (Nobuyoshi Nakada)
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.
duerst (Martin Dürst)
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:: ? shyouhei (Shyouhei Urabe)
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
duerst (Martin Dürst)
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
duerst (Martin Dürst)
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...
ioquatix (Samuel Williams)
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... ioquatix (Samuel Williams)
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? ioquatix (Samuel Williams)
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
rhenium (Kazuki Yamaguchi)
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]
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)

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...
normalperson (Eric Wong)
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. naruse (Yui NARUSE)
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...
rhenium (Kazuki Yamaguchi)
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...
rhenium (Kazuki Yamaguchi)
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]
*...
rhenium (Kazuki Yamaguchi)
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 svn[bot]
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...
rhenium (Kazuki Yamaguchi)
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 Kenta Murata
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....
rhenium (Kazuki Yamaguchi)
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...
Anonymous
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...
rhenium (Kazuki Yamaguchi)
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/...
duerst (Martin Dürst)
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
``...
nobu (Nobuyoshi Nakada)
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...
timakin (Seiji Takahashi)
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
duerst (Martin Dürst)
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
nobu (Nobuyoshi Nakada)
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
duerst (Martin Dürst)
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 svn[bot]
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 duerst (Martin Dürst)

06/04/2016

04:45 PM Bug #12458 (Third Party's Issue): ::new returns `nil` when first argument is a String '*'
nobu (Nobuyoshi Nakada)
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. s.mackesey (Sean Mackesey)
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}"...
s.mackesey (Sean Mackesey)
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.
nobu (Nobuyoshi Nakada)
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...
donwilde1 (Donald Wilde)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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...
rhenium (Kazuki Yamaguchi)
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_...
nobu (Nobuyoshi Nakada)
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 svn[bot]
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
nobu (Nobuyoshi Nakada)

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 hukasu (Lucas Farias)
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.
noahgibbs (Noah Gibbs)
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. terceiro (Antonio Terceiro)
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 ...
rubymatze (Mathias Slawik)
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
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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...
hadasl (Hadas Leonov)
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
U.Nakamura
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 U.Nakamura
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...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom