Project

General

Profile

Activity

From 06/07/2016 to 06/13/2016

06/13/2016

07:21 PM Bug #12402: Inline rescue behavior inconsistent for method calls with arguments and assignment
Hm. Yup, that definitely seems to bind funny, specifically during the parsing. Here's the Ripper output for "var1 = Date.parse var1 rescue nil" versus "var1 = Date.parse(var1) rescue nil":
~~~
2.3.1 :006 > pp Ripper.sexp("var1 = Date...
noahgibbs (Noah Gibbs)
06:49 PM Bug #12413: Dir#close does not raise IOError on already closed handle on OS X
ruby_2_3 r55405 merged revision(s) 55120. nagachika (Tomoyuki Chikanaga)
06:49 PM Revision ac9d6faa (git): merge revision(s) 55120: [Backport #12413]
* dir.c (dir_close): update RDoc for 2.3 #close change
[ruby-core:75679] [Bug #12413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:48 PM Bug #12332: [PATCH] proc.c: fix RDoc of Proc#===/call/yield/[]
ruby_2_3 r55404 merged revision(s) 55010. nagachika (Tomoyuki Chikanaga)
06:48 PM Revision 1ce12771 (git): merge revision(s) 55010: [Backport #12332]
* proc.c: fix RDoc of Proc#===/call/yield/[]
[Bug #12332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:46 PM Bug #12389: Module#constants includes non-constants
ruby_2_3 r55403 merged revision(s) 55182. nagachika (Tomoyuki Chikanaga)
06:46 PM Revision f8cccade (git): merge revision(s) 55182: [Backport #12389]
* variable.c (rb_local_constants_i): exclude hidden constants.
[ruby-core:75575] [Bug #12389]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:33 PM Bug #12367: [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
ruby_2_3 r55402 merged revision(s) 54970. nagachika (Tomoyuki Chikanaga)
06:33 PM Revision cd1e32f7 (git): merge revision(s) 54970: [Backport #12367]
* insns.def (defineclass): Also raise an error when redeclaring the
superclass of a class as Object and it has another superclass.
[Bug #12367] [ruby-core:75446]
* test/ruby/test_class.rb: test for above.
g...
nagachika (Tomoyuki Chikanaga)
06:23 PM Bug #12355: [PATCH] exec, system, and spawn fail when Array#to_hash is defined and their first argument is an Array
ruby_2_3 r55401 merged revision(s) 54934. nagachika (Tomoyuki Chikanaga)
06:23 PM Revision 84b8954d (git): merge revision(s) 54934: [Backport #12355]
* process.c (rb_exec_getargs): honor the expected argument types
over the conversion method. the basic language functionality
should be robust. [ruby-core:75388] [Bug #12355]
git-svn-id: svn+ssh://ci.ruby-lang.org...
nagachika (Tomoyuki Chikanaga)
06:14 PM Bug #12340: Windows: File.truncate has two string encoding issues
ruby_2_3 r55400 merged revision(s) 54887-54889. nagachika (Tomoyuki Chikanaga)
06:14 PM Revision 85ca853a (git): merge revision(s) 54887-54889: [Backport #12340]
* win32/win32.c, include/ruby/win32.h (rb_w32_utruncate): implements new
truncate alternative which accepts UTF-8 path.
* file.c (truncate): use above function.
[Bug #12340]
git-svn-id: svn+ssh://ci.ruby-la...
nagachika (Tomoyuki Chikanaga)
06:01 PM Bug #12311: [DOC] Convert DateTime documentation to RDoc
ruby_2_3 r55399 merged revision(s) 54721. nagachika (Tomoyuki Chikanaga)
05:58 PM Revision 805e7824 (git): merge revision(s) 54721: [Backport #12311]
* ext/date/date_core.c (Init_date_core): [DOC] Convert DateTime
documentation to RDoc from Markdown.
[ruby-core:75136] [Bug #12311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55399 b2dd03c8-39d4-4...
nagachika (Tomoyuki Chikanaga)
03:43 PM Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
Nobuyoshi Nakada wrote:
> You can use `RB_INTEGER_TYPE_P` in the trunk.
I forgot it. Thanks.
mrkn (Kenta Murata)
02:58 PM Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
You can use `RB_INTEGER_TYPE_P` in the trunk. nobu (Nobuyoshi Nakada)
02:53 PM Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
Attached patch can fix this issue. mrkn (Kenta Murata)
02:39 PM Bug #12485 (Closed): Kernel.Rational raises TypeError though given denominator returns 1 by to_int
Is it an intentional behavior?
```ruby
class << (o = Object.new)
def to_int
1
end
end
Rational(1, o) #=> TypeError: not an integer
```
mrkn (Kenta Murata)
03:36 PM Feature #12484: Optimizing Rational
I've uploaded a wrong file.
The correct one is this.
mrkn (Kenta Murata)
03:34 PM Feature #12484: Optimizing Rational
I've checked the attached patch, and I found a case that should be fixed.
It's related to Integer subclasses.
Nobuyoshi Nakada wrote:
> Tadashi Saito wrote:
> ...
Using `Bug::Integer::MyInteger` class, `Kernel.Rational` method coul...
mrkn (Kenta Murata)
01:01 PM Feature #12484 (Assigned): Optimizing Rational
Hi, tad.
We discussed this issue on Developer Meeting June.
We hope to merge this patch by yourself with a review of other committers like mrkn.
I'm going to send an invitation of Ruby committer tomorrow.
hsbt (Hiroshi SHIBATA)
08:26 AM Feature #12484: Optimizing Rational
Thank you so much, Matz!
I'll wait for muraken's review.
tad (Tadashi Saito)
07:41 AM Feature #12484: Optimizing Rational
@ttad I'll check your patch. Please wait a moment. mrkn (Kenta Murata)
07:29 AM Feature #12484: Optimizing Rational
Accepted. I will give you committer right.
Matz.
matz (Yukihiro Matsumoto)
01:02 AM Feature #12484: Optimizing Rational
> It should be impossible, as a subclass of Integer can't instantiate.
Users can instantiate subclasses of Integer in extension library, I think.
mrkn (Kenta Murata)
03:20 PM Feature #12361: Proposal: add Geo::Coord class to standard library
> Although I feel it's good to have common coordination class, I don't think it's wise to pick one implementation over many and add it to the standard library. It should be done through sound competition.
To be honest, at first (it wa...
zverok (Victor Shepelev)
02:52 PM Feature #12361: Proposal: add Geo::Coord class to standard library
Thanks. Already did it into gem: https://github.com/zverok/geo_coord -- and will see how it is playing with ecosystem. zverok (Victor Shepelev)
02:50 PM Feature #12361 (Rejected): Proposal: add Geo::Coord class to standard library
Although I feel it's good to have common coordination class, I don't think it's wise to pick one implementation over many and add it to the standard library. It should be done through sound competition.
If you need any help from the c...
matz (Yukihiro Matsumoto)
02:51 PM Feature #12299: Add Warning module for customized warning handling
Yukihiro Matsumoto wrote:
> I like the basic idea. I can be fundamental of higher level abstraction.
> ...
How about using `RubyVM::Warning`?
Koichi Sasada wrote:
> If C extension shows warning, we can't stop with filen names becau...
jeremyevans0 (Jeremy Evans)
08:26 AM Feature #12299: Add Warning module for customized warning handling

* If C extension shows warning, we can't stop with filen names because the file is caller's file (maybe not a problem because we should specify caller's file).
* Now, passed `|message|` is a string like "<file>:<line> <message>". Shou...
ko1 (Koichi Sasada)
08:19 AM Feature #12299: Add Warning module for customized warning handling
I like the basic idea. I can be fundamental of higher level abstraction.
My only concern is the name. `Warning` may be too generic and cause conflict.
Matz.
matz (Yukihiro Matsumoto)
02:43 PM Bug #12486 (Third Party's Issue): Segmentation fault
ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]
-- Control frame information -----------------------------------------------
c:0005 p:---- s:0016 e:000015 CFUNC :connect
c:0004 p:0116 s:0013 e:000012 TOP D:/Methacortex/Ho...
benjaminao (Benjamin Alvarez)
02:09 PM Feature #10473: Change Date#to_datetime to use local time
Similar problem exists on Samoa (Pacific/Apia).
There is no 2011-12-30 in Pacific/Apia.
http://en.wikipedia.org/wiki/International_Date_Line
So, Date.new(2011,12,30) preserves the arguments but Time.new(2011,12,30) doesn't.
```...
akr (Akira Tanaka)
12:39 PM Feature #10473: Change Date#to_datetime to use local time
Akira Tanaka wrote:
> The proposed patch seems fine.
> ...
I found that there are days that exists on Jurian carendar but not on Gregorian calendar.
1000/2/29 is exist on Jurian calender but it is not exist on Gregorian calendar.
...
akr (Akira Tanaka)
09:12 AM Feature #10473: Change Date#to_datetime to use local time
The proposed patch seems fine.
However I recommend to add more tests for old dates around transition between Jurian to Geregorian Calendar.
akr (Akira Tanaka)
12:46 PM Revision 6965be68 (git): fix test of r55397
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:34 PM Feature #8214 (Closed): デッドロックチェックに全スレッドのバックトレースダンプの追加
Applied in changeset r55397.
----------
* thread.c (debug_deadlock_check): show thread lock dependency and
backtrace [Feature #8214] [ruby-dev:47217]
* thread.c (thread_status_name): show "sleep_forever" instead of
"sleep" if calle...
naruse (Yui NARUSE)
09:13 AM Feature #8214 (Assigned): デッドロックチェックに全スレッドのバックトレースダンプの追加
shyouhei (Shyouhei Urabe)
12:34 PM Revision a475df2f (git): * thread.c (debug_deadlock_check): show thread lock dependency and
backtrace [Feature #8214] [ruby-dev:47217]
* thread.c (thread_status_name): show "sleep_forever" instead of
"sleep" if called from inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:50 AM Bug #12359 (Closed): Named captures "conflict" warning is unnecessary and limits uses of named captures
Applied in changeset r55396.
----------
parse.y: no named capture conflict warnings
* parse.y (reg_named_capture_assign_iter): remove named capture
conflict warnings. it is just annoying rather than useful.
[ruby-core:75416] [Bug ...
nobu (Nobuyoshi Nakada)
09:27 AM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
Accepted.
Matz.
matz (Yukihiro Matsumoto)
11:50 AM Revision 75a68057 (git): parse.y: no named capture conflict warnings
* parse.y (reg_named_capture_assign_iter): remove named capture
conflict warnings. it is just annoying rather than useful.
[ruby-core:75416] [Bug #12359]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55396 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
11:44 AM Feature #12447 (Closed): Integer#digits for extracting digits of place-value notation in any base
Applied in changeset r55395.
----------
numeric.c: Add Integer#digits [Feature #12447] [ruby-core:75799]
mrkn (Kenta Murata)
09:08 AM Feature #12447: Integer#digits for extracting digits of place-value notation in any base
Summary of decision in today's Developer meeting:
- The results endian is little endian.
- Raise `Math::DomainError` for negative receiver.
- Return `[0]` for `0`.
mrkn (Kenta Murata)
08:05 AM Feature #12447: Integer#digits for extracting digits of place-value notation in any base
I wanted such method to encode integer in some binary format.
(I cannot remember concrete example.)
For example, pack("w") can be implementd using Integer#digits.
akr (Akira Tanaka)
08:01 AM Feature #12447: Integer#digits for extracting digits of place-value notation in any base
Approved.
Matz.
matz (Yukihiro Matsumoto)
11:43 AM Revision 9042cf21 (git): numeric.c: Add Integer#digits [Feature #12447] [ruby-core:75799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
11:35 AM Bug #12427 (Closed): Defining methods with the same name to both Fixnum and Bignum classes could cause SEGV in C extensions since Feature #12005
Applied in changeset r55394.
----------
Integer unification macro
* include/ruby/ruby.h (RUBY_INTEGER_UNIFICATION): macro to tell if
Integer is integrated. [ruby-core:75718][Bug #12427]
* include/ruby/backward.h, internal.h (rb_cFix...
nobu (Nobuyoshi Nakada)
11:34 AM Revision c071c052 (git): Integer unification macro
* include/ruby/ruby.h (RUBY_INTEGER_UNIFICATION): macro to tell if
Integer is integrated. [ruby-core:75718][Bug #12427]
* include/ruby/backward.h, internal.h (rb_cFixnum, rb_cBignum):
fallback to rb_cInteger.
* bignum.c, numeric.c, ...
nobu (Nobuyoshi Nakada)
10:17 AM Feature #12317: Name space of a module
Akira Tanaka wrote:
> I think lexical information is not obtainable in a method.
> ...
I am not sure if I get the issue correctly. I expect:
~~~ruby
module A; module B; end end
A::B.namespace # => [A::B, A]
module C
A::B # => ...
sawa (Tsuyoshi Sawada)
09:54 AM Feature #12317: Name space of a module
I think lexical information is not obtainable in a method.
```
% ruby -e '
module A
module B
end
end
module C
Z = 2
module A::B
p Z
end
end
p A::B.namespaces
'
2
???
```
Z is refarenceable in B in ...
akr (Akira Tanaka)
09:37 AM Bug #11859 (Rejected): Regexp matching with \p{Upper} and \p{Lower} for EUC-JP doesn’t work.
Ruby doesn't have case tables for non Unicode encodings.
And EUC-JP is legacy encoding, I don't think such encoding should be extended.
naruse (Yui NARUSE)
09:11 AM Bug #12345: A module's private constants are given with `Module#constant(false)`
Report upper half: is a bug, should be fixed. shyouhei (Shyouhei Urabe)
08:27 AM Feature #12460: Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
`RbConfig::CONFIG['UNICODE_VERSION']` looks just fine.
Matz.
matz (Yukihiro Matsumoto)
08:14 AM Feature #6647: Exceptions raised in threads should be logged
Now we can try Thread[.#]report_on_exception=(bool) using trunk.
It seems true-by-default and report-on-GC needs more discussion.
Anyway we can implement them later if some consensus met:
We can change the default value of Thread....
akr (Akira Tanaka)
07:58 AM Revision ed75b6b4 (git): * 2016-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:58 AM Revision 86e9f855 (git): * test/ruby/enc/test_case_comprehensive.rb: Add tests for full Unicode
swapcase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:44 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
Daniel P. Clark wrote:
> In Ruby 2.2.3 a refinement could be used in a begin/end block.
> ...
Even in Ruby 2.2.3, it does't work as you expect:
```ruby
begin
using Moo
p 1.to_s #=> "moo"
end
p 1.to_s #=> "moo", not "1"
```...
shugo (Shugo Maeda)
07:15 AM Feature #12281 (Assigned): Allow lexically scoped use of refinements with `using {}` block syntax
shyouhei (Shyouhei Urabe)
07:30 AM Feature #12086: using: option for instance_eval etc.
I like the idea, but I understand this makes implementation harder (especially for performance).
Feel free to comment for, against this idea.
Matz.
matz (Yukihiro Matsumoto)
07:27 AM Feature #12086: using: option for instance_eval etc.
I'm against `instance_eval` under the hood by libraries. nobu (Nobuyoshi Nakada)
07:30 AM Bug #12295 (Closed): Ripper not emitting on_parse_error for global variable name syntax errors
aamine (Minero Aoki)
07:11 AM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
Ripper is just a thin wrapper over ruby parser, so the original parser differentiate them, ripper just inherits difference directly.
Extra work such as unifying two errors should be done by upper layer.
aamine (Minero Aoki)
07:06 AM Bug #12295 (Assigned): Ripper not emitting on_parse_error for global variable name syntax errors
shyouhei (Shyouhei Urabe)
06:46 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
Approved. I want to
```
ar = [1]
ar.concat(ar, ar)
```
to result `[1,1,1]`.
Matz.
matz (Yukihiro Matsumoto)
06:14 AM Misc #12283 (Assigned): Obsolete ChangeLog and commit message in Git-style
shyouhei (Shyouhei Urabe)
02:48 AM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
I have a somewhat mixed opinion. The proposal is for aliases, not for replacements. Therefore, whether some people think it's difficult to type isn't relevant. If you don't want to type it, you don't have to. One question is whether the ... duerst (Martin Dürst)
01:16 AM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
I happen to be a Japanese and understands Japanese language. Throughout history of our programming language construction, many Japanese developers tried to create Japanese-aware programming languages, then failed. Without exceptions. ... shyouhei (Shyouhei Urabe)
12:25 AM Bug #12443: Test failures in TestDir_M17N on cygwin
The following may be relevant:
https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-unusual
What it says is that as long as UTF-8 is used, things should work fine. This probably means that we just have to make sure that t...
duerst (Martin Dürst)

06/12/2016

02:29 PM Feature #12484: Optimizing Rational
Tadashi Saito wrote:
> Other concern is my prerequisites. I assumed that Rational have a pair of `::Integer` (internally bignum or fixnum) only because I couldn't define subclass of Integer to work with Rational.
> ...
It should be imp...
nobu (Nobuyoshi Nakada)
02:06 PM Feature #12484: Optimizing Rational
I also created PR for detailed information.
https://github.com/ruby/ruby/pull/1381
tad (Tadashi Saito)
02:00 PM Feature #12484 (Closed): Optimizing Rational
## Abstract
I optimized built-in library Rational. It is more than 3.7 times faster now in some cases.
## Background
Rational is increasing its importance year by year. Ruby 1.9.2 uses Rational as internal representation of Time...
tad (Tadashi Saito)
02:20 PM Revision f5449025 (git): dump to stdout
* test/objspace/test_objspace.rb (test_dump_all): dump to stdout
instead of a string, get rid of hung up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:45 AM Revision 58edb064 (git): File.expand_path compose test only on OS X
* test/ruby/test_file_exhaustive.rb (test_expand_path_compose):
valid only on OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:48 AM Revision 60095cec (git): * test/ruby/enc/test_case_comprehensive.rb: Add tests for ASCII-only
swapcase; store calculated values in hashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
05:06 AM Revision 9f703785 (git): openssl: support non AES-GCM AEAD ciphers in OpenSSL::Cipher
* ext/openssl/ossl_cipher.c (ossl_cipher_get_auth_tag,
ossl_cipher_set_auth_tag): Check if the cipher flags retrieved by
EVP_CIPHER_CTX_flags() includes EVP_CIPH_FLAG_AEAD_CIPHER to see if
the cipher supports AEAD. AES-GCM was the ...
rhenium (Kazuki Yamaguchi)
04:48 AM Revision aefb79c2 (git): openssl: avoid test failure in test_engine.rb
* test/openssl/test_engine.rb (test_openssl_engine_builtin,
test_openssl_engine_by_id_string): Skip test if 'openssl' engine is
already loaded. And test the number increased by Engine.load{_by_id,},
not the total count of loaded en...
rhenium (Kazuki Yamaguchi)
01:25 AM Feature #12482: ArgumentError.new(nil) should give a better description
It breaks ruby/spec.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12482-Exception-nil-mesg
```diff
diff --git i/core/marshal/dump_spec.rb w/core/marshal/dump_spec.rb
index 88ff871..64bf49b 100644
--- i/core/marshal/...
nobu (Nobuyoshi Nakada)
01:23 AM Bug #12483 (Closed): File.expand_path does not normalize cwd
nobu (Nobuyoshi Nakada)
12:13 AM Bug #12483 (Closed): File.expand_path does not normalize cwd
https://github.com/rails/rails/issues/25303#issuecomment-224834804
> I notice some other inconsistencies that may be related. Within a directory called "À" `Dir.pwd` returns a composed form, while `expand_path` returns a decomposed on...
nobu (Nobuyoshi Nakada)
12:24 AM Revision 7a4aea47 (git): * 2016-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:24 AM Revision 797f2eda (git): file.c: normalize cwd
* file.c (append_fspath): normalize directory name to be appended
on OS X. [ruby-core:75957] [Ruby trunk Bug#12483]
https://github.com/rails/rails/issues/25303#issuecomment-224834804
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)

06/11/2016

10:03 PM Bug #12432: The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
[email protected] wrote:
> Nobuyoshi Nakada wrote:
> > Seems an issue with unicorn and rcdk gem caused by a system restriction.
> > I think you should `exec` or `spawn` somewhere, maybe before requiring that gem, as the message sa...
normalperson (Eric Wong)
09:41 PM Feature #12482 (Open): ArgumentError.new(nil) should give a better description
Currently:
~~~ruby
ArgumentError.new(nil) => #<ArgumentError: ArgumentError>
ArgumentError.new(nil).to_s => "ArgumentError"
ArgumentError.new(nil).inspect => "#<ArgumentError: ArgumentError>"
~~~
I want to suggest to change...
eike.rb (Eike Dierks)
05:47 PM Bug #12418: Regexp: Segfault due to Invalid Read in regerror.c : to_ascii()
ruby_2_3 r55384 merged revision(s) 55154. nagachika (Tomoyuki Chikanaga)
05:47 PM Revision 2aa3817e (git): merge revision(s) 55154: [Backport #12418]
* regcomp.c (compile_length_tree): return error code immediately
if compile_length_tree raised error [Bug #12418]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:35 PM Bug #12391: backport r55063
ruby_2_3 r55383 merged revision(s) 55063. nagachika (Tomoyuki Chikanaga)
05:35 PM Revision e206da0a (git): merge revision(s) 55063: [Backport #12391]
* thread.c (recursive_list_access): a object id may be a Bignum. so,
the list must be a objhash, instead of a identhash.
this fixes many test errors on mswin64 CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branch...
nagachika (Tomoyuki Chikanaga)
05:26 PM Bug #10763: do not receive TracePoint event for elsif
ruby_2_3 r55382 merged revision(s) 54893. nagachika (Tomoyuki Chikanaga)
05:26 PM Revision fe0fb033 (git): merge revision(s) 54893: [Backport #10763]
* parse.y (new_if_gen): set newline flag to NODE_IF to trace all
if/elsif statements. [ruby-core:67720] [Bug #10763]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:08 PM Revision f627ed45 (git): * lib/forwardable.rb (_delegator_method): get rid of a warning which
causes test failures introduced at r55376.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:04 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Hi, would it be possible to have a backport of this for Ruby 2.3? Debian 9 will be released with Ruby 2.3, and we will probably need to build against OpenSSL 1.1.0 between now and then. terceiro (Antonio Terceiro)
09:38 AM Bug #12255 (Closed): [DOC] Small fix for rdoc of ext/json/lib/json/add/*
Applied in changeset r55380.
----------
* ext/json/lib/*.rb: Removed some comments. Because these are unnecessary
class description. [ci skip][Bug #12255][ruby-core:74835]
hsbt (Hiroshi SHIBATA)
09:38 AM Revision 3261d3f3 (git): * ext/json/lib/*.rb: Removed some comments. Because these are unnecessary
class description. [ci skip][Bug #12255][ruby-core:74835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:19 AM Revision 69b8fddd (git): Remove dead link [ci skip]
* lib/net/smtp.rb: [DOC] Remove dead link on documentation for
Japanese of SMTP. [Fix GH-1380]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:02 AM Revision aaf8c099 (git): Fix typo in string.c [ci skip]
* string.c (rb_str_oct): [DOC] fix typo, hornored -> honored.
[Fix GH-1379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:04 AM Revision cfb2b14d (git): ObjectSpace.dump_all: valid JSON
* ext/objspace/objspace_dump.c: generate valid JSON for dump_all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:52 AM Revision 0f11cda4 (git): forwardable.rb: optimize awy __send__
* lib/forwardable.rb (_delegator_method): remove __send__ call if
possible, so that more optimizations will be enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:50 AM Feature #12481 (Feedback): Add Array#view to allow opt-in copy-on-write sharing of Array contents
Currently the only way to get a copy-on-write view of an existing array is to construct a new array, via `#[]` or `partition` or similar methods. I propose a new way to use an existing array to get a view of another array: Array#view (na... headius (Charles Nutter)
03:34 AM Bug #12480 (Feedback): Restarting Coverage does not capture additional coverage for already loaded files
Michael Grosser wrote:
> - A: when forking, previous coverage is lost
This is intended. Consider the following program:
~~~
# reproduce.rb
require "coverage"
Coverage.start
require_relative "test"
def save_coverage
r...
mame (Yusuke Endoh)
02:24 AM Revision 2d2b6460 (git): iso_8859.h: SHARP_s
* enc/iso_8859.h (SHARP_s): name frequently used codepoint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:58 AM Revision 9fa8b805 (git): * enc/iso_8859_1.c: Revert to older version of code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
12:46 AM Revision 02f7ad62 (git): * enc/iso_8859_1.c: Implement non-ASCII case mapping.
* test/ruby/enc/test_case_comprehensive.rb: Tests for above.
* string.c: Add iso-8859-1 to supported encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
12:31 AM Revision e8700ab0 (git): forwardable.rb: backtrace
* lib/forwardable.rb (_delegator_method): leave the backtrace
untouched during accessor. forwardable.rb does not appear in
the backtrace during delegated method because of tail-call
optimization.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)

06/10/2016

10:47 PM Bug #12480 (Closed): Restarting Coverage does not capture additional coverage for already loaded files
I'm trying to combine coverage from before fork and after fork to make coverage reporting work in a forking test runner.
The problem I ran into is 2-fold:
- A: when forking, previous coverage is lost
- B: when restarting coverage, o...
grosser (Michael Grosser)
07:35 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
The pull request has now been merged upstream. stomar (Marcus Stollsteimer)
04:47 PM Bug #12479 (Closed): mistaken macro GCC_VERSION_SINCE
Applied in changeset r55371.
----------
* include/ruby/defines.h (GCC_VERSION_SINCE): Fix logic error by
adding parentheses. Fix failures of TestMkmf::TestConvertible
with GCC 3.4.3 on Solaris 10. [Bug #12479] [ruby-dev:49660]
ngoto (Naohisa Goto)
04:44 PM Bug #12479 (Closed): mistaken macro GCC_VERSION_SINCE
いつからかは不明ですが、Solaris 10上の古いGCCでコンパイルすると、以下のエラーにて make test-all が失敗します。(r55344にて確認。)
~~~
1) Failure:
TestMkmf::TestConvertible#test_typeof_builtin [/XXXXX-55344/test/mkmf/test_convertible.rb:9]:
convertible_int: checking for conver...
ngoto (Naohisa Goto)
04:47 PM Revision 8a8d3e2e (git): * include/ruby/defines.h (GCC_VERSION_SINCE): Fix logic error by
adding parentheses. Fix failures of TestMkmf::TestConvertible
with GCC 3.4.3 on Solaris 10. [Bug #12479] [ruby-dev:49660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
04:01 PM Revision 49cc12f6 (git): * 2016-06-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:01 PM Revision 094a3b11 (git): test_forwardable.rb: operators
* test/test_forwardable.rb: add tests for operators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:34 PM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
Ok, I agree that it's probably a good idea to introduce well known symbols like ≥ at first to avoid confusion. But I don't think the argument that it's hard to type on your particular computer is valid, partly because your editor could ... Fjan (Jan Maurits Faber)
02:20 PM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
Jan Maurits Faber wrote:
> It's really easy to remember: to type ≥ is just alt + >, to type ≤ is alt + < and ≠ is alt + =, so I don't think you would need a character picker for very long. But more importantly using the new symbols woul...
phluid61 (Matthew Kerwin)
12:12 PM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
It's really easy to remember: to type ≥ is just alt + >, to type ≤ is alt + < and ≠ is alt + =, so I don't think you would need a character picker for very long. But more importantly using the new symbols would be entirely optional. If y... Fjan (Jan Maurits Faber)
11:26 AM Feature #715: Ruby interpreter should understand UTF-8 symbols with special meaning
Jan Maurits Faber wrote:
> This is not simply because it would look pretty, it would reduce the cognitive load on the programmer. At the moment many ascii characters are overloaded to mean different things in different contexts. Especia...
darix (Marcus Rückert)
01:44 PM Revision bbb01a4b (git): forwardable.rb: nodoc _delegator_method [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:06 PM Revision 3c7a96bf (git): * test/ruby/test_file_exhaustive.rb (test_lchmod): merge mistake of r55347.
(cf. [Backport #12340])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:54 PM Bug #12478 (Closed): ruby2.2.5でオブジェクトに対して def_delegatorを行うとNoMethodError undefined method `method_defined?' が発生する。
Applied in changeset r55366.
----------
forwardable.rb: fix for non-module objects
* lib/forwardable.rb (Forwardable._delegator_method): extract
method generator and deal with non-module objects.
[ruby-dev:49656] [Bug #12478]
nobu (Nobuyoshi Nakada)
01:58 AM Bug #12478 (Closed): ruby2.2.5でオブジェクトに対して def_delegatorを行うとNoMethodError undefined method `method_defined?' が発生する。
- 再現コード
```ruby
printer = String.new
printer.extend SingleForwardable
printer.def_delegator "STDOUT", :puts
# NoMethodError: undefined method `method_defined?' for "":String
```
- 原因
- `def_single_del...
[email protected] (keiichi ishioka)
12:54 PM Revision b661824e (git): forwardable.rb: fix for non-module objects
* lib/forwardable.rb (Forwardable._delegator_method): extract
method generator and deal with non-module objects.
[ruby-dev:49656] [Bug #12478]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:43 PM Bug #12456 (Third Party's Issue): tmpdir.rb raises Errors in Windows 10 Subsystem for Linux
Thank you for reporting with the essential information "on Windows Subsystem for Linux".
Unless special condition, such issues are considered issues of Windows Subsystem for Linux.
Such a real world compatibility problem will help th...
naruse (Yui NARUSE)
12:25 PM Feature #6943: pstore in FIPS mode
lib/pstore.rb uses digest/md5, and it uses own implementation (ext/digest/md5/md5.c) if there's no openssl
or it doesn't support MD5, it extconf.rb works correctly.
naruse (Yui NARUSE)
10:39 AM Bug #12248: Backport rubygems fix from upstream repo for Ruby 2.2.x
Ah, please also confirm about version number of rubygems.
Current version in ruby_2_2 is 2.4.5.1.
The patched version should be 2.4.5.2? or other one?
usa (Usaku NAKAMURA)
10:12 AM Bug #12248: Backport rubygems fix from upstream repo for Ruby 2.2.x
I confirmed that tests of 2.4.x branch on upstream repository are broken now.
I try to fix this on rubygems repository at first.
Thank you for your advice.
hsbt (Hiroshi SHIBATA)
09:04 AM Bug #12248: Backport rubygems fix from upstream repo for Ruby 2.2.x
... but reverted at r55365 because of test failures.
Please check the patch and retry.
usa (Usaku NAKAMURA)
07:21 AM Bug #12248: Backport rubygems fix from upstream repo for Ruby 2.2.x
The patch applied to `ruby_2_2` at r55357. usa (Usaku NAKAMURA)
09:04 AM Revision ef2c94bc (git): Revert r55357 because of test failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:49 AM Bug #12438: OptParse: Short style switch with range does not work
ruby_2_2 r55364 merged revision(s) 55228. usa (Usaku NAKAMURA)
08:49 AM Revision 2c490bea (git): merge revision(s) 55228: [Backport #12438]
* lib/optparse.rb (OptionParser::Completion.candidate): get rid of
nil as key names. [ruby-core:75773] [Bug #12438]
* lib/optparse.rb (OptionParser#make_switch): char class option
cannot be NoArgument, defau...
U.Nakamura
08:45 AM Bug #12423: Regexp: Heap Buffer Overflow in regparse.c : next_state_value()
ruby_2_2 r55363 merged revision(s) 55163,55165. usa (Usaku NAKAMURA)
08:45 AM Bug #12420: Regexp: Segfault due to Invalid Read in regparse.c : bbuf_free()
ruby_2_2 r55363 merged revision(s) 55163,55165. usa (Usaku NAKAMURA)
08:45 AM Revision 1a7e2194 (git): merge revision(s) 55163,55165: [Backport #12420] [Backport #12423]
* regparse.c (fetch_token_in_cc): raise error if given octal escaped
character is too big. [Bug #12420] [Bug #12423]
* re.c (unescape_nonascii): scan hex up to only 3 characters.
[Bug #12420] [Bug #12423]
g...
U.Nakamura
08:39 AM Bug #12355: [PATCH] exec, system, and spawn fail when Array#to_hash is defined and their first argument is an Array
ruby_2_2 r55362 merged revision(s) 54934. usa (Usaku NAKAMURA)
08:39 AM Revision a05bfd49 (git): merge revision(s) 54934: [Backport #12355]
* process.c (rb_exec_getargs): honor the expected argument types
over the conversion method. the basic language functionality
should be robust. [ruby-core:75388] [Bug #12355]
git-svn-id: svn+ssh://ci.ruby-lang.org...
U.Nakamura
08:35 AM Revision 10174c29 (git): * string.c: Special-case :ascii option in rb_str_capitalize_bang and
rb_str_swapcase_bang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
08:32 AM Bug #10763: do not receive TracePoint event for elsif
about ruby_2_2, `new_if_gen()` does not exist.
then, call `newline_node()` directly in the rule definition of `if_tail`.
usa (Usaku NAKAMURA)
08:30 AM Bug #10763: do not receive TracePoint event for elsif
ruby_2_2 r55360 merged revision(s) 54893. usa (Usaku NAKAMURA)
08:30 AM Revision 5287eb74 (git): merge revision(s) 54893: [Backport #10763]
* parse.y (new_if_gen): set newline flag to NODE_IF to trace all
if/elsif statements. [ruby-core:67720] [Bug #10763]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:12 AM Revision 13f576d6 (git): * string.c: Special-case :ascii option in rb_str_upcase_bang (retry).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
07:26 AM Bug #12311: [DOC] Convert DateTime documentation to RDoc
ruby_2_2 r55358 merged revision(s) 54721. usa (Usaku NAKAMURA)
07:26 AM Revision ca75e7b9 (git): merge revision(s) 54721: [Backport #12311]
* ext/date/date_core.c (Init_date_core): [DOC] Convert DateTime
documentation to RDoc from Markdown.
[ruby-core:75136] [Bug #12311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55358 b2dd03c8-39d4-4...
U.Nakamura
07:20 AM Revision 9e799379 (git): * lib/rubygems/core_ext/kernel_require.rb: -I should always win over
gems. [ruby-core:74814] [Backport #12248]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:14 AM Bug #12389: Module#constants includes non-constants
ruby_2_2 r55356 merged revision(s) 55182. usa (Usaku NAKAMURA)
07:14 AM Revision bcd3f786 (git): merge revision(s) 55182: [Backport #12389]
* variable.c (rb_local_constants_i): exclude hidden constants.
[ruby-core:75575] [Bug #12389]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:11 AM Bug #12418: Regexp: Segfault due to Invalid Read in regerror.c : to_ascii()
ruby_2_2 r55355 merged revision(s) 55154. usa (Usaku NAKAMURA)
07:11 AM Revision 21aef916 (git): merge revision(s) 55154: [Backport #12418]
* regcomp.c (compile_length_tree): return error code immediately
if compile_length_tree raised error [Bug #12418]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:09 AM Bug #12414: FloatDomainError in infinite Range#include? for certain BigDecimals
ruby_2_2 r55354 merged revision(s) 55123,55129,55130,55133,55136. usa (Usaku NAKAMURA)
07:09 AM Revision 0a619ef7 (git): merge revision(s) 55123,55129,55130,55133,55136: [Backport #12414]
* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): consider
non-finite float values not to raise FloatDomainError.
[ruby-core:75682] [Bug #12414]
* ext/bigdecimal/bigdecimal.c (isfinite): isfinite does not a...
U.Nakamura
07:01 AM Bug #12391: backport r55063
ruby_2_2 r55353 merged revision(s) 55063. usa (Usaku NAKAMURA)
07:01 AM Revision f1cae09e (git): merge revision(s) 55063: [Backport #12391]
* thread.c (recursive_list_access): a object id may be a Bignum. so,
the list must be a objhash, instead of a identhash.
this fixes many test errors on mswin64 CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branch...
U.Nakamura
06:59 AM Bug #12390: Heap Buffer Overflow in Marshal Load on 32-bit
ruby_2_2 r55352 merged revision(s) 55054. usa (Usaku NAKAMURA)
06:58 AM Revision 23bc28e2 (git): merge revision(s) 55054: [Backport #12390]
* string.c (rb_str_modify_expand): check integer overflow.
[ruby-core:75592] [Bug #12390]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:55 AM Bug #12367: [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
ruby_2_2 r55351 merged revision(s) 54970. usa (Usaku NAKAMURA)
06:54 AM Revision 7a25e90e (git): merge revision(s) 54970: [Backport #12367]
* insns.def (defineclass): Also raise an error when redeclaring the
superclass of a class as Object and it has another superclass.
[Bug #12367] [ruby-core:75446]
* test/ruby/test_class.rb: test for above.
g...
U.Nakamura
06:48 AM Bug #12339: result of 123456789 ** -2 in doc
ruby_2_2 r55350 merged revision(s) 54898. usa (Usaku NAKAMURA)
06:47 AM Revision 1511ef08 (git): merge revision(s) 54898: [Backport #12339]
* bignum.c: [DOC] Update result of 123456789 ** -2.
[ruby-dev:49606] [Bug #12339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:41 AM Bug #12320: Skip SHA from test_digest_constants for LibreSSL 2.3
ruby_2_2 r55349 merged revision(s) 53718. usa (Usaku NAKAMURA)
06:41 AM Revision ddc47a94 (git): merge revision(s) 53718: [Backport #12320]
Skip SHA from test_digest_constants for LibreSSL 2.3
The first one of ruby/openssl#40
https://github.com/ruby/openssl/issues/40#issuecomment-159839338
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55349 ...
U.Nakamura
06:39 AM Bug #12343: Backport r54896, r54897 (fix rb_complex_set_imag())
ruby_2_2 r55348 merged revision(s) 54896,54897. usa (Usaku NAKAMURA)
06:38 AM Revision 03b383a5 (git): merge revision(s) 54896,54897: [Backport #12343]
* complex.c (rb_complex_set_imag): Fix to properly set imag
of complex.
* internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
instead of duplicated undef RCOMPLEX_SET_REAL.
git-svn-id: svn+ssh://ci.ruby...
U.Nakamura
06:36 AM Bug #12340: Windows: File.truncate has two string encoding issues
ruby_2_2 r55347 merged revision(s) 54887-54889. usa (Usaku NAKAMURA)
06:35 AM Revision 6dbda00a (git): merge revision(s) 54887-54889: [Backport #12340]
* win32/win32.c, include/ruby/win32.h (rb_w32_utruncate): implements new
truncate alternative which accepts UTF-8 path.
* file.c (truncate): use above function.
[Bug #12340]
git-svn-id: svn+ssh://ci.ruby-la...
U.Nakamura
05:59 AM Bug #12476 (Feedback): Cygwin current Ruby 2.2.4p230 fails where prev Ruby 2.2.3p173 does not
Please tell us how to reproduce.
And, please check Ruby 2.2.5 if you can.
usa (Usaku NAKAMURA)
05:48 AM Bug #12475 (Closed): SHARABLE_MIDDLE_SUBSTRING=1のとき、環境変数が正しく設定されない
Applied in changeset r55345.
----------
hash.c: ensure NUL-terminated for ENV
* hash.c (get_env_cstr): ensure NUL-terminated.
[ruby-dev:49655] [Bug #12475]
* string.c (rb_str_fill_terminator): return the pointer to the
NUL-terminat...
nobu (Nobuyoshi Nakada)
05:48 AM Revision e695cdff (git): * 2016-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:48 AM Revision 2667d1b3 (git): hash.c: ensure NUL-terminated for ENV
* hash.c (get_env_cstr): ensure NUL-terminated.
[ruby-dev:49655] [Bug #12475]
* string.c (rb_str_fill_terminator): return the pointer to the
NUL-terminated content.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55345 b2dd03c8-39...
nobu (Nobuyoshi Nakada)

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, [email protected] 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)
 

Also available in: Atom