Project

General

Profile

Activity

From 11/29/2016 to 12/05/2016

12/05/2016

11:37 PM Revision 41a7549b (git): * 2016-12-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:37 PM Revision 1ac9b2ed (git): Add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
04:44 PM Bug #13002: Hash calculations no longer using universal hashing
Martin Dürst wrote:
>
> I think it may still be somewhat too early to completely give up on the
> strong/weak dis...
vmakarov (Vladimir Makarov)
01:04 PM Bug #13002: Hash calculations no longer using universal hashing
In Bug #9381, it claims that st searches/inserts only on hash values and equalities.
Switching hash functions hidden...
nobu (Nobuyoshi Nakada)
10:31 AM Bug #13002: Hash calculations no longer using universal hashing
Hello Victor, others,
On 2016/12/04 15:28, [email protected] wrote:
> Issue #13002 has been updated by Vladimir...
duerst (Martin Dürst)
02:59 PM Bug #13008: File::basename fails if extension contains a colon
I don't think this is a bug. `:` is the file stream separator in NTFS (https://blogs.technet.microsoft.com/askcore/20... jeremyevans0 (Jeremy Evans)
01:41 PM Bug #13008 (Closed): File::basename fails if extension contains a colon
~~~
File.basename('a/b/c.d:12')
~~~
returns
~~~
c.d
~~~
but should return
~~~
c.d:12
~~~
rovf (Ronald Fischer)
12:39 PM Bug #12994: Embedded ruby vs2015 build crashes
As a workaround I copy/pasted this code to the start of the _pioinfo function in win32.c (line 2462):
```C
#if RU...
fjilderd (Freddy Jilderda)
10:56 AM Bug #12994: Embedded ruby vs2015 build crashes
I'm sorry I was not clear, what I mean is I'm updating a C++ application from VS2010 to VS2015. This application embe... fjilderd (Freddy Jilderda)
12:35 PM Revision b1272e93 (git): Remove closed checks and use `&.`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:35 PM Revision 956aa010 (git): NEWS: mention chomp option of String and StringIO
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:10 AM Bug #12999 (Closed): there still exist race conditions in require
Applied in changeset r56985.
----------
Don't insert an entry to loading_tbl if another thread succeed to load.
If ...
shugo (Shugo Maeda)
11:10 AM Revision 11f9b8c0 (git): Don't insert an entry to loading_tbl if another thread succeed to load.
If rb_thread_shield_wait() returns Qfalse, the file has been successfully
loaded by another thread, so there is no ne...
shugo (Shugo Maeda)
05:44 AM Bug #13007 (Closed): Webbrick takes 5s to start when machine name looks like a real domain
sudo scutil --set HostName foo.local
ruby -r socket -e "Socket.gethostbyname(Socket.gethostname)"
or much simpler...
grosser (Michael Grosser)
02:13 AM Feature #10912: Add method(s) to IPAddr for determining whether an address is link local
Is there any progress?
In RFC 4291 2.4, the type of an IPv6 address is defined, as follows:
Address type ...
knqyf263 (Teppei Fukuda)
12:03 AM Revision 74ba0cfc (git): random.c: private rand
* random.c (rb_random_ulong_limited): do not call private method
rand. [ruby-dev:49892] [Misc #13003]
git-svn-id:...
nobu (Nobuyoshi Nakada)

12/04/2016

11:14 PM Revision 4509b366 (git): * 2016-12-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:14 PM Revision cc2075cd (git): Increase timeout of TestRequire#test_require_with_loaded_features_pop
unstable10s fails it because of timeout
http://rubyci.s3.amazonaws.com/unstable10s/ruby-trunk/log/20161201T161908Z.fa...
naruse (Yui NARUSE)
11:04 PM Bug #13002: Hash calculations no longer using universal hashing
Vladimir Makarov wrote:
> Although strong/weak hash approach gave about 5-6% improvement out of 45% on Ruby hash t...
vmakarov (Vladimir Makarov)
06:28 AM Bug #13002: Hash calculations no longer using universal hashing
Nobuyoshi Nakada wrote:
> `test_wrapper_of_special_const` failed, that is, it's impossible to emulate switching weak...
vmakarov (Vladimir Makarov)
05:37 AM Bug #13002: Hash calculations no longer using universal hashing
Nobuyoshi Nakada wrote:
>
> That means the hash function must be stronger when `strong_p`, doesn't it?
> `Integer...
vmakarov (Vladimir Makarov)
04:12 AM Bug #13002: Hash calculations no longer using universal hashing
`test_wrapper_of_special_const` failed, that is, it's impossible to emulate switching weak and strong versions under ... nobu (Nobuyoshi Nakada)
02:45 AM Bug #13002: Hash calculations no longer using universal hashing
Vladimir Makarov wrote:
> Instead of using siphash (a secure hash function) all the time, the new hash tables use fa...
nobu (Nobuyoshi Nakada)
01:30 AM Bug #13002: Hash calculations no longer using universal hashing
The new hash table implementation uses a different approach to deal with the denial attacks.
Instead of using si...
vmakarov (Vladimir Makarov)
12:16 AM Bug #13002 (Closed): Hash calculations no longer using universal hashing
When preparing for my lecture on hash tables last week, I found that Ruby trunk doesn't do universal hashing anymore.... duerst (Martin Dürst)
06:27 PM Bug #13005 (Closed): Inline rescue is inconsistent when rescuing NoMethodError
```
o.a = 1 rescue $!.class
```
is parsed as
```
o.a = (1 rescue $!.class)
```
Try
```
(o.a = 1) res...
matz (Yukihiro Matsumoto)
05:20 PM Bug #13005 (Closed): Inline rescue is inconsistent when rescuing NoMethodError
```ruby
o = "some object"
class << o
private
attr_accessor :a
end
# GETTER can be rescued in a begin-bl...
josh.cheek (Josh Cheek)
05:43 PM Feature #13006 (Open): backtrace of thread killer
Hello, I am right now having difficulties to understand why one thread I have is dead. Seems been killed by something... akostadinov (Aleksandar Kostadinov)
05:40 PM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
I posted this link to IRC (#ruby on freenode), just to see if anyone had a good name suggestion. The suggestions `#ma... herwin (Herwin W)
02:01 PM Bug #13003: About not Random instance of random: keyword ardument of Array#shuffle!
バグでしょう。
https://github.com/ruby/ruby/compare/trunk...nobu:bug/calling-private-rand
https://github.com/ruby/spec/com...
nobu (Nobuyoshi Nakada)
04:46 AM Bug #13003 (Closed): About not Random instance of random: keyword ardument of Array#shuffle!
Array#shuffle! の random: キーワード引数で、Randomのインスタンスでないような
任意のオブジェクトを渡してしまっていても、(最終的に)rb_random_ulong_limited 中の
rb_func...
metanest (Makoto Kishimoto)
08:50 AM Bug #13004 (Closed): rb_get_kwargs はバグってないでしょうか?
Applied in changeset r56980.
----------
extension.rdoc: fix rb_get_kwargs [ci skip]
* doc/extension.rdoc: [DOC] opt...
nobu (Nobuyoshi Nakada)
08:26 AM Bug #13004 (Closed): rb_get_kwargs はバグってないでしょうか?
きしもとです
拡張ライブラリで `rb_get_kwargs` を使おうとしたところ、いくつか変に
感じた点がありましたので、確認をお願いしたくこちらにメイルします。
もしバグでしたらチケットにまとめます。
(1) `...
metanest (Makoto Kishimoto)
08:50 AM Revision f5ef84cb (git): class.c: missing unknown_keyword_error
* class.c (rb_get_kwargs): when values are stored, corresponding
keys have been remove from the keyword hash, and t...
nobu (Nobuyoshi Nakada)
08:50 AM Revision b62e3220 (git): extension.rdoc: fix rb_get_kwargs [ci skip]
* doc/extension.rdoc: [DOC] optional keyword arguments are
defaulted to Qundef. ignored keys are kept in the hash ...
nobu (Nobuyoshi Nakada)
05:40 AM Revision b16d1968 (git): Revert changes on rb_frame_method_id_and_class()
r56593 introduced backwards incompatible changes in the API.
[ruby-core:78471] [Feature #12747]
git-svn-id: svn+ssh:...
ktsj (Kazuki Tsujimoto)
05:05 AM Revision 7a5ad716 (git): Specify the socktype explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
04:53 AM Revision 94e8036b (git): Use 127.0.0.1 if getaddrinfo fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:04 AM Bug #12990: unicode_case_mapping_tests
Martin Dürst wrote:
> A short additional note: If cases like these increase with future versions of Unicode, I plan ...
duerst (Martin Dürst)
01:58 AM Revision 8baa73be (git): remove special processing for U+03B9/U+03BC/U+A64B
* enc/unicode.c: Remove special processing for U+03B9/U+03BC/U+A64B
(GREEK SMALL LETTERs IOTA/MU, CYRILLIC SMALL LE...
duerst (Martin Dürst)
01:49 AM Feature #12996: Optimize Range#===
Yes, I tryed alias way.
But it was vary slow.
```
$ time ./miniruby t.rb
./miniruby t.rb 1.80s user 0.02s syst...
ksss (Yuki Kurihara)
01:17 AM Revision 31fb4e3e (git): Reorder codepoints in some entries of CaseUnfold_11_Table
* enc/unicode/case-folding.rb: Reorder codepoints so that the upper-case
mapping comes first.
* enc/unicode/9.0.0/c...
duerst (Martin Dürst)
12:24 AM Feature #13001: Add `full` option to `ObjectSpace.dump_all`
Dump all the things! \o/ shevegen (Robert A. Heiler)

12/03/2016

03:41 PM Revision 1fa8bd75 (git): * 2016-12-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision 071d3ae3 (git): Use IPv6 if it's preferred.
I hope this fix makes tests faster on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56973 b2dd03c8-39d4...
shugo (Shugo Maeda)
02:18 PM Revision d95f5bc8 (git): string.c: chomp option
* string.c (rb_str_enumerate_lines): implement chomp option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56972...
nobu (Nobuyoshi Nakada)
12:40 PM Feature #12747: Add TracePoint#callee_id
Thanks Yamaguchi-san, good catch.
I'll revert rb_frame_method_id_and_class.
ktsj (Kazuki Tsujimoto)
08:50 AM Feature #12747: Add TracePoint#callee_id
r56593 changed the signature of rb_frame_method_id_and_class() which is exposed to C extensions. For example, this br... rhenium (Kazuki Yamaguchi)
12:18 PM Bug #12998 (Assigned): paragraph mode inconsistency between `IO#each_line` and `String#each_line`
nobu (Nobuyoshi Nakada)
11:24 AM Misc #10756 (Rejected): Add spaces between args
I think this is duplicated of #12977.
And this patch cannot apply now.
znz (Kazuhiro NISHIYAMA)
11:19 AM Misc #12977 (Closed): Cleanup ruby method definitions in hash.c
znz (Kazuhiro NISHIYAMA)
11:18 AM Revision 9fa8006a (git): Cleanup ruby method definitions in hash.c
Always add a space between a comma and the next element. These spaces
were there sometimes, but not always. This keep...
znz (Kazuhiro NISHIYAMA)
11:01 AM Revision 35623d77 (git): stringio: chomp option
* ext/stringio/stringio.c (strio_getline): implement chomp option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
11:01 AM Revision 856da5b4 (git): test_stringio.rb: paragraph mode
* test/stringio/test_stringio.rb (test_gets, test_each):
assertions for paragraph mode.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:18 AM Revision 0d2a4cc5 (git): add tests againts regressions for upcoming codepoint reordering in unfolding table
* test/ruby/enc/test_case_mapping.rb: Add method test_reorder_unfold to test against
problems when reordering codep...
duerst (Martin Dürst)
05:09 AM Revision fc410343 (git): * 2016-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:09 AM Revision 56419df9 (git): change test class name because it is not only about folding
* test/ruby/enc/test_case_comprehensive.rb: Change test class name from
TestComprehensiveCaseFold to TestComprehens...
duerst (Martin Dürst)
02:45 AM Bug #12507 (Closed): random SEGV in kernel.system when called with long parametre list
nobu (Nobuyoshi Nakada)
12:49 AM Bug #12999: there still exist race conditions in require
In r56965, load_lock() was changed as follows:
```
switch (rb_thread_shield_wait((VALUE)data)) {
case ...
shugo (Shugo Maeda)

12/02/2016

09:23 PM Feature #13001 (Closed): Add `full` option to `ObjectSpace.dump_all`
I would like to include T_NONE slots in the `ObjectSpace.dump_all` outpout so that I can visualize heap fragmentation... tenderlovemaking (Aaron Patterson)
04:25 PM Feature #13000 (Feedback): Implement Set#include? with Hash#include?
Why does `Set#include?` not call `Hash#include?`? Currently it calls `Hash#[]`.
The protocol of Set already use `H...
headius (Charles Nutter)
03:34 PM Bug #12507: random SEGV in kernel.system when called with long parametre list
The issue can be reproduced with old trunk, r45357 ... r51492.
So I think it is a GC issue of ALLOCV_N, similar to [...
wanabe (_ wanabe)
11:20 AM Feature #12996: Optimize Range#===
Yuki Kurihara wrote:
> ## Important point
>
> Break compatibility in this case.
>
> https://github.com/ruby/ru...
nobu (Nobuyoshi Nakada)
05:09 AM Feature #12996 (Closed): Optimize Range#===
The proposal is that Range#=== optimize by reducing method calls.
## Benchmark
~~~shell
$ cat t.rb
i = 0
whi...
ksss (Yuki Kurihara)
11:17 AM Bug #12999 (Closed): there still exist race conditions in require
TestRequire#test_require_with_loaded_features_pop fails by increasing the number of threads,
so it seems that there ...
shugo (Shugo Maeda)
06:21 AM Bug #12998 (Closed): paragraph mode inconsistency between `IO#each_line` and `String#each_line`
With this lines.rb:
```ruby
lines = "abc\n\n\n\ndef\n"
p IO.pipe{|r,w|w.print lines; w.close; r.each_line("").to...
nobu (Nobuyoshi Nakada)
06:12 AM Revision 4a7c767e (git): test/ruby/test_string.rb: ensure restoring $/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:09 AM Bug #12997 (Closed): Out-of-bounds read in regcomp.c
Valgrind reports out-of-bounds memory access while creating a Regexp object with an invalid byte sequence:
~~~
$ ...
rhenium (Kazuki Yamaguchi)
03:33 AM Revision 8130ee5c (git): parse.y: simplify parsing utf-8 string
* parse.y (parser_tokadd_codepoint): move error checks and add
char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
02:47 AM Revision 80045bc2 (git): parse.y: relax spaces
* parse.y (parser_tokadd_utf8): relax restriction spaces inside
"\u{...}".
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
02:24 AM Revision 76bb017a (git): re.c: count associated Regexp object in MatchData#hash
Don't discard the hash value computed for the regexp object. It seems it
was simply missed out in r24754, when MatchD...
rhenium (Kazuki Yamaguchi)

12/01/2016

05:43 PM Revision cf3ff02e (git): * 2016-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:43 PM Revision 7e1b5d8d (git): Remove unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:05 PM Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
Julia can do it, too.
~~~
julia> sum_kbn([1.0e10, 1.0e-10, -1.0e10])
1.0e-10
~~~
The source code is https://...
t-nissie (Takeshi Nishimatsu)
04:56 PM Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
A quick hack.
* Elongation (or reallocation) of the array of partials[] when nn exeeds NUM_PARTIALS.
* Tests.
* ...
t-nissie (Takeshi Nishimatsu)
02:49 PM Feature #10118: Double splat for non-symbol keys
It would be beneficial if one could do:
my_method(**hash_with_string_keys)
This for example you can read ...
akostadinov (Aleksandar Kostadinov)
02:18 PM Feature #12752 (Closed): Unpacking a value from a binary requires additional '.first'
Applied in changeset r56959.
----------
String#unpack1 [Feature #12752]
Returns the first value of String#unpack.
naruse (Yui NARUSE)
01:49 PM Feature #12752: Unpacking a value from a binary requires additional '.first'
Akinori MUSHA wrote:
> With a qualifier or multiple directives given, would it raise an ArgumentError or just go ahe...
naruse (Yui NARUSE)
10:25 AM Feature #12752: Unpacking a value from a binary requires additional '.first'
With a qualifier or multiple directives given, would it raise an ArgumentError or just go ahead with the process and ... knu (Akinori MUSHA)
09:52 AM Feature #12752: Unpacking a value from a binary requires additional '.first'
Go ahead.
Matz.
matz (Yukihiro Matsumoto)
02:18 PM Revision 306f43ac (git): String#unpack1 [Feature #12752]
Returns the first value of String#unpack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56959 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
02:12 PM Feature #12921: Retrieve user and password for proxy from env
Motohiro KOSAKI wrote:
> Modern OS don't have such mistake.
I can't make it sure but if environment variables ar...
shyouhei (Shyouhei Urabe)
12:41 PM Feature #12921: Retrieve user and password for proxy from env
> Yuri Samoilenko wrote:
>> What do you mean when say "insecure"? Storing login and password in filesystem and then...
kosaki (Motohiro KOSAKI)
01:20 PM Revision b6e137e9 (git): Remove `offset:` from `Array#pack`
* pack.c (pack_pack): can use `@` instead of `offset:`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56958 b2d...
U.Nakamura
01:08 PM Feature #12754 (Closed): Want to use prepared buffer with `Array#pack`
Applied in changeset r56957.
----------
Supports `buffer` and `offset` in `Array#pack`
* pack.c (pack_pack): Suppor...
usa (Usaku NAKAMURA)
01:08 PM Revision 0dd9c302 (git): Supports `buffer` and `offset` in `Array#pack`
* pack.c (pack_pack): Supports `buffer` and `offset` in `Array#pack`.
[Feature #12754] [ruby-dev:49798]
git-svn-i...
U.Nakamura
12:15 PM Feature #12995: Conditional expression taking a receiver outside the condition
You can do that with #tap. A very stupid example:
```ruby
array = [true]
res = array.to_a.tap do |obj|
if obj...
herwinw (Herwin Quarantainenet)
07:00 AM Feature #12995 (Rejected): Conditional expression taking a receiver outside the condition
Since a conditional expression has a return value, we can continue a method chain after a conditional expression like... sawa (Tsuyoshi Sawada)
09:21 AM Feature #12753: Useful operator to check bit-flag is true or false
Shugo Maeda wrote:
> IBM InfoSphere and MS FoxPro have BITTEST(), but its second argument is the bit position
> to ...
shugo (Shugo Maeda)
09:16 AM Feature #12753: Useful operator to check bit-flag is true or false
Yui NARUSE wrote:
> Herwin W wrote:
> > ```ruby
> > if n.bittest?(0b10100000)
> > ```
> >
> > If I encountered...
shugo (Shugo Maeda)
08:33 AM Feature #12753: Useful operator to check bit-flag is true or false
Herwin W wrote:
> ```ruby
> if n.bittest?(0b10100000)
> ```
>
> If I encountered that code without having the c...
naruse (Yui NARUSE)
08:26 AM Revision 74495cfa (git): parse.y: reject invalid codepoint
* parse.y (parser_tokadd_codepoint): reject invalid codepoint,
surrogate blocks and surrogate pair, as well as mrub...
nobu (Nobuyoshi Nakada)
05:24 AM Revision df53b142 (git): Update bundled_gems
* minitest-5.10.0
* test-unit-3.2.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56955 b2dd03c8-39d4-4d8f-98f...
hsbt (Hiroshi SHIBATA)
04:51 AM Revision d40495f1 (git): Wait until excpetion handling is ready.
Because RubyCI on Solaris 10 failed as follows:
1) Failure:
TestProcess#test_execopts_redirect_open_fifo_inter...
shugo (Shugo Maeda)
04:42 AM Revision 95dbfe0d (git): openssl: import fixes from upstream
Import the following two commits from upstream:
commit 72126d6c8b88abd69c3565fc3bbbd5ed1e401611
Author: Kazuki Y...
rhenium (Kazuki Yamaguchi)
03:55 AM Feature #12901: Anonymous functions without scope lookup overhead
It would also be very useful for making ObjectSpace#define_finalizer easier to use (to avoid the common memory leak p... justcolin (Colin Fulton)
12:34 AM Revision 671c929f (git): Use offsetof macro and shrink table size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:34 AM Revision 4f7c3d35 (git): constify CaseMappingSpecials
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

11/30/2016

05:29 PM Feature #12831 (Closed): /\X/ (extended grapheme cluster) can't pass unicode.org's GraphemeBreakTest
Applied in changeset r56949.
----------
Regexp supports Unicoe 9.0.0's \X
* meta character \X matches Unicode 9.0.0...
naruse (Yui NARUSE)
05:29 PM Revision 48beedd5 (git): * 2016-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:29 PM Revision c11e6487 (git): Regexp supports Unicoe 9.0.0's \X
* meta character \X matches Unicode 9.0.0 characters with some workarounds
for UTR #51 Unicode Emoji, Version 4.0 e...
naruse (Yui NARUSE)
03:58 PM Feature #12906: do/end blocks work with ensure/rescue/else
Checking that I submitted this correctly, I usually do Github, so might have gotten this wrong. josh.cheek (Josh Cheek)
03:53 PM Bug #12994 (Feedback): Embedded ruby vs2015 build crashes
I don't know what is "an ruby embedded engine".
But I can say that you have to call `rb_w32_sysinit` before calling ...
usa (Usaku NAKAMURA)
03:38 PM Bug #12994 (Closed): Embedded ruby vs2015 build crashes
When an embedded ruby engine in a vs2015 application is initialised using ruby_init the function set_pioinfo_extra in... fjilderd (Freddy Jilderda)
03:18 PM Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Actually, I thought the fix was applied in the package according to the OpenSSL changelog:
```
* Tue Nov 22 2016 ...
vo.x (Vit Ondruch)
02:46 PM Bug #12993 (Closed): SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Imported at r56946. rhenium (Kazuki Yamaguchi)
11:23 AM Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Not really a segfault but rb_sys_fail() is calling rb_bug() because errno is 0. OpenSSL 1.1.0c introduced a breaking ... rhenium (Kazuki Yamaguchi)
11:06 AM Bug #12993: SEGV in OpenSSL::TestSSL#test_close_after_socket_close
r56693 used to build for me and now it fails, so this is apparently some change in Fedora Rawhide. vo.x (Vit Ondruch)
10:59 AM Bug #12993 (Closed): SEGV in OpenSSL::TestSSL#test_close_after_socket_close
Testing the latest version of Ruby from trunk on Fedora Rawhide, the OpenSSL::TestSSL#test_close_after_socket_close s... vo.x (Vit Ondruch)
02:54 PM Revision e680bfb1 (git): ossl.c: cast
* ext/openssl/ossl.c (ossl_pem_passwd_cb): cast to int. it's safe
because len does not exceed int max_len.
git-sv...
nobu (Nobuyoshi Nakada)
02:46 PM Feature #12921: Retrieve user and password for proxy from env
Shyouhei Urabe wrote:
> Yuri Samoilenko wrote:
> > What do you mean when say "insecure"? Storing login and password...
wolfer (Sergey Fedosov)
02:42 PM Feature #12921: Retrieve user and password for proxy from env
Yuri Samoilenko wrote:
> What do you mean when say "insecure"? Storing login and password in filesystem and then rea...
shyouhei (Shyouhei Urabe)
08:08 AM Feature #12921: Retrieve user and password for proxy from env
Shyouhei Urabe wrote:
> You have to understand that environment variables are in fact insecure. It is a very bad id...
jerry_ru (Yuri Samoilenko)
02:43 PM Revision 88b745f0 (git): parse.y: refine error message
* parse.y (parser_tokadd_utf8): refine error message at bad char
in unicode escape, "invalid" instead of "untermina...
nobu (Nobuyoshi Nakada)
02:41 PM Revision aab0d67a (git): openssl: import v2.0.0
Import Ruby/OpenSSL 2.0.0. The full commit history since 2.0.0 beta.2
(imported at r56098) can be found at:
https:...
rhenium (Kazuki Yamaguchi)
02:24 PM Revision 0a5abaf7 (git): Fixed error with `make install`
rbinstall.rb couldn't load "psych/versions".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56945 b2dd03c8-39d4-4...
hsbt (Hiroshi SHIBATA)
01:55 PM Revision 48e251df (git): Update psych-2.2.1
It fixed segmentation fault related with GC.
https://github.com/ruby/psych/pull/296
and removed deprecated code ...
hsbt (Hiroshi SHIBATA)
01:09 PM Revision 5e4b8455 (git): parse.y: parser_tokadd_codepoint
* parse.y (parser_tokadd_codepoint): extract from
parser_tokadd_utf8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
01:09 PM Revision 94715bc6 (git): parse.y: brace constants
* parse.y (parser_tokadd_utf8): make open/close braces constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
10:50 AM Bug #12934: Make compressed debug section optional
Thx for implementing this. ```--with-compress-debug-sections=no``` seems to disable the compression of debug sections. vo.x (Vit Ondruch)
08:36 AM Bug #12990: unicode_case_mapping_tests
A short additional note: If cases like these increase with future versions of Unicode, I plan to change the special t... duerst (Martin Dürst)
08:25 AM Bug #12990 (Closed): unicode_case_mapping_tests
Applied in changeset r56941.
----------
fix uppercasing for U+A64B, CYRILLIC SMALL LETTER MONOGRAPH UK
* enc/unicod...
duerst (Martin Dürst)
05:56 AM Bug #12990: unicode_case_mapping_tests
Just for the record, I think this is where the problem was introduced:
https://bugs.ruby-lang.org/projects/ruby-trun...
duerst (Martin Dürst)
08:25 AM Revision 87b937bd (git): fix uppercasing for U+A64B, CYRILLIC SMALL LETTER MONOGRAPH UK
* enc/unicode.c: Add U+A64B to the special cases 03B9 and 03BC
at the end of onigenc_unicode_case_map (Bug #12990)....
duerst (Martin Dürst)
04:26 AM Bug #12958: Breaking change in how `#round` works
Shyouhei Urabe wrote:
> The new default is called the "banker's round" for reasons. Money related people should p...
duerst (Martin Dürst)
03:16 AM Bug #12958: Breaking change in how `#round` works
Jerome Cornet wrote:
> But does this mean that Float rounds in a different way as BigDecimal by default then ?
> So...
shyouhei (Shyouhei Urabe)
02:43 AM Bug #12958: Breaking change in how `#round` works
> Am I making myself understood? I am distinguishing Floats and BigDecimals. We did not change how a BigDecimal rou... jeromecornet (Jerome Cornet)
01:53 AM Bug #12958: Breaking change in how `#round` works
Jerome Cornet wrote:
> Unfortunately there are many instances where money math requires floating point calculation, ...
shyouhei (Shyouhei Urabe)
01:17 AM Bug #12958: Breaking change in how `#round` works
Unfortunately there are many instances where money math requires floating point calculation, like taxes for example (... jeromecornet (Jerome Cornet)
12:53 AM Bug #12958: Breaking change in how `#round` works
Jerome Cornet wrote:
> Shyouhei Urabe wrote:
> > As far as I can see the Rails breakage only happens in views, wher...
shyouhei (Shyouhei Urabe)
01:40 AM Revision 22c0994b (git): parse.y: no warning for lambda
* parse.y (parser_yylex): do not warn parentheses of lambda
argument list, because there is no name.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
01:22 AM Revision f7d130f4 (git): Supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
12:31 AM Bug #12988: Calling `inspect` sometimes causes a segv
You could close this issue by including `[Bug #12988]` in the commit message. nobu (Nobuyoshi Nakada)

11/29/2016

08:59 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Benoit Daloze wrote:
> `1.clone(freeze: false)` does not do what you say.
> The keyword :freeze has default value t...
MikeVastola (Mike Vastola)
08:39 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Mike Vastola wrote:
> Nobuyoshi Nakada wrote:
> > I remember `clone` has `freeze` option.
> > What should `1.clone...
Eregon (Benoit Daloze)
08:04 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Nobuyoshi Nakada wrote:
> Should `Kernel#clone` be same?
The original consensus was that the fix should be for bo...
MikeVastola (Mike Vastola)
02:52 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
Integer (Fixnum) can dup now.
But Integer (Bignum) can't dup.
~~~
% ruby -ve '1.dup'
ruby 2.4.0dev (2016-11-29 ...
znz (Kazuhiro NISHIYAMA)
02:00 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
I vote for ArgumentError, because `clone(freeze: false)` is invalid operation for immediate (thus unfreezable) object... matz (Yukihiro Matsumoto)
01:58 PM Feature #12979: Avoid exception for #dup on Integer (and similar cases)
I remember `clone` has `freeze` option.
What should `1.clone(freeze: false)` do, ignore the option, or raise an `Arg...
nobu (Nobuyoshi Nakada)
05:29 PM Bug #12988 (Closed): Calling `inspect` sometimes causes a segv
Should be fixed in r56938 tenderlovemaking (Aaron Patterson)
03:28 AM Bug #12988 (Assigned): Calling `inspect` sometimes causes a segv
Confirmed the overrun, although it didn't segfault.
Please commit the fix.
nobu (Nobuyoshi Nakada)
12:31 AM Bug #12988: Calling `inspect` sometimes causes a segv
[email protected] wrote:
> * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: REQUIRED

I think a backport will ...
normalperson (Eric Wong)
05:06 PM Revision e04167bc (git): Stop reading past the end of `ivptr` array
If you have code like this:
```ruby
class A
def initialize
@a = nil
@b = nil
@c = nil
@d = nil
...
tenderlovemaking (Aaron Patterson)
04:06 PM Revision 716610ae (git): get rid of ambiguous parentheses warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:48 PM Revision db31f2fa (git): webrick: don't use OpenSSL::TestUtils from webrick tests
Follow net/http and open-uri. Don't rely on the constants/methods from
OpenSSL::TestUtils.
git-svn-id: svn+ssh://ci....
rhenium (Kazuki Yamaguchi)
03:48 PM Revision 0cc0080a (git): open-uri: don't use OpenSSL::TestUtils from open-uri tests
Follow net/http. Define own test DH parameters and use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56935 b2dd...
rhenium (Kazuki Yamaguchi)
03:48 PM Revision df769d9d (git): net/http: don't use OpenSSL::TestUtils from test code
Make test code independent of test/openssl/utils.rb. The development of
openssl library has moved to a separate repos...
rhenium (Kazuki Yamaguchi)
03:34 PM Revision 7f30d00b (git): object.c: no TypeError at special const
* object.c (special_object_p): no longer raise a TypeError for
Integer and Float, and return itself instead. [Feat...
nobu (Nobuyoshi Nakada)
03:31 PM Revision 7a480ae8 (git): NEWS: Add String/Symbol#casecmp? [Feature #12786]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:23 PM Revision 40c9f1f3 (git): get rid of test failures on CI introduced at r56927
* lib/matrix.rb: now ruby warns ambiguous parentheses after a space in method definitions.
git-svn-id: svn+ssh://ci...
U.Nakamura
03:14 PM Bug #12958: Breaking change in how `#round` works
Shyouhei Urabe wrote:
> As far as I can see the Rails breakage only happens in views, where 30secs is shown "less th...
jeromecornet (Jerome Cornet)
03:14 PM Revision 18658d7d (git): * 2016-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision fe3b21bb (git): object.c: no TypeError at special const clone
* object.c (rb_obj_clone2): no longer raise a TypeError for
special constants, and return itself instead. however,...
nobu (Nobuyoshi Nakada)
02:27 PM Feature #12992 (Open): ArgumentError if hostname is missing
Tue Nov 29 15:07:31 2016 Mohamed Osama <[email protected]>
* lib/net/http/generic_request.rb: Throw ...
oss (Mohamed Osama)
12:54 PM Bug #12991 (Closed): Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
Applied in changeset r56928.
----------
thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_a...
nobu (Nobuyoshi Nakada)
12:09 PM Bug #12991 (Closed): Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
Currently, ruby doc says that:
```
When set to true, all threads will abort (the process will exit(0)) if an exce...
tagomoris (Satoshi Tagomori)
12:54 PM Revision 9e3afec0 (git): thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_set):
[DOC] the raised exception will be re-raised in the ...
nobu (Nobuyoshi Nakada)
10:47 AM Revision 65e27c8b (git): parse.y: ambiguous parentheses
* parse.y (parser_yylex): warn ambiguous parentheses after a space
in method definitions.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
10:45 AM Revision dacf977a (git): Fix/improve documentation of String/Symbol#casecmp[?]
Fix documentation of String#casecmp? (examples didn't have the '?').
Add an example with non-ASCII characters. Clarif...
duerst (Martin Dürst)
10:35 AM Feature #12786: String#casecmp?
Ryan Ringler wrote:
> I see the changeset implements the new method by calling `String#downcase` on both strings a...
duerst (Martin Dürst)
03:42 AM Feature #12786: String#casecmp?
Thank you for incorporating this!
I see the changeset implements the new method by calling `String#downcase` on bo...
rringler (Ryan Ringler)
09:28 AM Bug #12990: unicode_case_mapping_tests
The culprit is line 4555 in enc/unicode/9.0.0/casefold.h:
```
{0xa64b, {2, {0x1c88, 0xa64a}}},
```
With com...
duerst (Martin Dürst)
08:57 AM Bug #12990 (Open): unicode_case_mapping_tests
Nobuyoshi Nakada wrote:
> I found that tests generated by `TestComprehensiveCaseFold.unicode_case_mapping_tests` com...
duerst (Martin Dürst)
08:40 AM Bug #12990 (Closed): unicode_case_mapping_tests
Applied in changeset r56924.
----------
Fix erroneous test of target against target
* test/ruby/enc/test_case_compr...
duerst (Martin Dürst)
07:08 AM Bug #12990: unicode_case_mapping_tests
Failed results:
```
$ ./ruby test/runner.rb test/ruby/enc/test_case_comprehensive.rb
Run options:
# Running t...
nobu (Nobuyoshi Nakada)
07:06 AM Bug #12990 (Closed): unicode_case_mapping_tests
I found that tests generated by `TestComprehensiveCaseFold.unicode_case_mapping_tests` compares `target` with same `t... nobu (Nobuyoshi Nakada)
08:44 AM Revision fa7066f8 (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
08:39 AM Revision ddfa6e2b (git): Fix erroneous test of target against target
* test/ruby/enc/test_case_comprehensive.rb: fix test condition,
add a temporary check for U+A64B, the only characte...
duerst (Martin Dürst)
08:31 AM Revision c6f58ef1 (git): Ignore SystemCallError in case it is raised by SSLSocket#accept.
Errno::ECONNRESET was raised by test_tls_post_connection_check and
test_tls_unknown_ca on mswin64 CI.
git-svn-id: sv...
shugo (Shugo Maeda)
04:02 AM Bug #12989: Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
Encoding argument should be prior to `binmode` option.
```ruby
open(IO::NULL, "r", binmode: true){|f| p [f.binmod...
nobu (Nobuyoshi Nakada)
03:06 AM Revision 98763860 (git): test_keyword.rb: more assertions
* test/ruby/test_keyword.rb (test_block_required_keyword): more
assertions for positional and require keyword param...
nobu (Nobuyoshi Nakada)
03:06 AM Revision a65982f0 (git): test_keyword.rb: assert_raise_with_message value
* test/ruby/test_keyword.rb (test_block_required_keyword):
assert_raise_with_message returns the raised exception o...
nobu (Nobuyoshi Nakada)
03:06 AM Revision 07fb750f (git): string.c: use xmalloc
* string.c (rb_str_casemap): use xmalloc simply instead of
ALLOC_N.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
02:47 AM Revision 7242e6a9 (git): net/ftp: add a new option ssl_handshake_timeout to Net::FTP.new.
The TLS handshake timeout can be specified independently, because the TLS
handshake doesn't start just after the unde...
shugo (Shugo Maeda)
02:33 AM Revision a4072112 (git): net/ftp: close the socket directly when an error occurs during TLS handshake.
Otherwise, @sock.read in Net::FTP#close hungs until read_timeout exceeded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
shugo (Shugo Maeda)
02:21 AM Revision d8a0f14b (git): * 2016-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:21 AM Revision 2660dd5b (git): net/ftp: close the connection if the TLS handshake timeout is exceeded.
Otherwise, file descriptor leaks may occur in Net::FTP.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56916 ...
shugo (Shugo Maeda)
 

Also available in: Atom