Project

General

Profile

Activity

From 11/30/2016 to 12/06/2016

12/06/2016

03:33 PM Revision adef6efc (git): untabify [ci skip]
based on the patch by W <[email protected]>
[Fix GH-1497]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57006 b2d...
znz (Kazuhiro NISHIYAMA)
03:33 PM Revision 0f0c388a (git): Fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:27 PM Feature #13009: Implement fetch for Thread.current
`Thread.current` just returns a `Thread` instance, so it should be `Thread#fetch` method.
https://github.com/ruby/...
nobu (Nobuyoshi Nakada)
01:26 PM Feature #13009: Implement fetch for Thread.current
I can not say whether this feature is important or not, but on the syntax suggestion - I like the above (on the premi... shevegen (Robert A. Heiler)
12:45 AM Feature #13009 (Closed): Implement fetch for Thread.current
It's a common idiom to use a fiber-local variable, but return a default value if it hasn't been assigned. Here's an e... dwbutler (David Butler)
02:13 PM Bug #12945: Use-after-free in vm_trace.c
The patch is now in trunk! :) deivid (David Rodríguez)
01:07 PM Bug #12945: Use-after-free in vm_trace.c
I think the issue I just reported (https://bugs.ruby-lang.org/issues/13011) might be a duplicate of this one. Jeremy ... deivid (David Rodríguez)
02:12 PM Bug #13011: Make `trace_running` an integer flag again
Wow, that was fast, thank you Nobu! :) deivid (David Rodríguez)
01:57 PM Bug #13011 (Closed): Make `trace_running` an integer flag again
Applied in changeset r57002.
----------
Make `trace_running` an integer flag again
* vm_core.h (rb_vm_struct): trac...
nobu (Nobuyoshi Nakada)
12:56 PM Bug #13011 (Closed): Make `trace_running` an integer flag again
After https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/55038, byebug's tests started to segfault. ... deivid (David Rodríguez)
01:57 PM Revision 35573c18 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:57 PM Revision b23eac69 (git): rexml: REXML::Element#[] accepts String or Symbol as attribute name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:57 PM Revision d71b5394 (git): Make `trace_running` an integer flag again
* vm_core.h (rb_vm_struct): trace_running should be a counter but
not a bit flag. [ruby-core:78514] [Bug #13011]
...
nobu (Nobuyoshi Nakada)
01:45 PM Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
Takeshi Nishimatsu wrote:
> Julia can do it, too.
>
> ~~~
> julia> sum_kbn([1.0e10, 1.0e-10, -1.0e10])
> 1.0e-1...
mrkn (Kenta Murata)
01:40 PM Feature #12871 (Closed): Using the algorithm like math.fsum of Python for Array#sum
Applied in changeset r57001.
----------
array.c, enum.c: change sum algorithm
* array.c (rb_ary_sum): change the al...
mrkn (Kenta Murata)
01:40 PM Revision 48f5f591 (git): array.c, enum.c: change sum algorithm
* array.c (rb_ary_sum): change the algorithm to Kahan-Babuska balancing
summation to be more precise.
[Feature #1...
Kenta Murata
12:58 PM Feature #12813: Calling chunk_while, slice_after, slice_before, slice_when with no block
After consideration, I accept this proposal.
Matz.
matz (Yukihiro Matsumoto)
12:54 PM Revision 0cb1a2b8 (git): numeric.c: fix exception message for nil rounding
* numeric.c (rb_num_get_rounding_option): fix exception message
for the case of nil rounding mode.
* test_float.rb...
Kenta Murata
12:49 PM Revision a560add6 (git): Fix typos
Patch by: Koichi ITO <[email protected]>
[Fix GH-1498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56999 b2dd...
znz (Kazuhiro NISHIYAMA)
11:57 AM Revision 769b83f6 (git): Update latest bundled gems.
* Rake 12.0.0
* minitest 5.10.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56998 b2dd03c8-39d4-4d8f-98ff-82...
hsbt (Hiroshi SHIBATA)
11:34 AM Bug #13010: Tried utilizing RBENV & now RVM...from 2.3.0 to 2.3.1 to 2.3.3 - same errors over and over
Complete removal and reinstall of openssl resolved the issue. jjwiz (Ryan R)
11:27 AM Bug #13010: Tried utilizing RBENV & now RVM...from 2.3.0 to 2.3.1 to 2.3.3 - same errors over and over
Removed version managers just using brew for Ruby management. See below...2.3.3.
yojimbo:~ yojimbo$ gem install ra...
jjwiz (Ryan R)
10:56 AM Bug #13010 (Feedback): Tried utilizing RBENV & now RVM...from 2.3.0 to 2.3.1 to 2.3.3 - same errors over and over
Judging from the backtrace, it seems something went wrong in the openssl library.
```
-- Crash Report log informa...
rhenium (Kazuki Yamaguchi)
10:44 AM Bug #13010 (Third Party's Issue): Tried utilizing RBENV & now RVM...from 2.3.0 to 2.3.1 to 2.3.3 - same errors over and over
I've tried two different ruby managers on my new MacBook pro (sierra) and have encountered the same error over and ov... jjwiz (Ryan R)
08:48 AM Bug #12980 (Closed): Time - Time to return a Rational
All right. Sounds rational. Thank you for the explanation, Mame-san and akr-san! matsuda (Akira Matsuda)
07:48 AM Bug #12994: Embedded ruby vs2015 build crashes
Ok, but the rb_w32_sysinit function is not declared in a header file. fjilderd (Freddy Jilderda)
07:20 AM Bug #12994: Embedded ruby vs2015 build crashes
Freddy Jilderda wrote:
> Also the function `ruby_sysinit` in ruby.c (which is the one calling `rb_w32_sysinit`) ment...
nobu (Nobuyoshi Nakada)
07:46 AM Revision 2b5287d3 (git): EPERM by symlink
* test/ruby/test_file.rb (test_realpath_encoding): EPERM can raise
on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
07:28 AM Bug #13005 (Open): Inline rescue is inconsistent when rescuing NoMethodError
@matz: Is there a good reason that `o.a = 1 rescue $!.class` is interpreted as `o.a = (1 rescue $1.class)`, while it ... duerst (Martin Dürst)
07:21 AM Revision 1f97dd56 (git): file.c: isADS
* file.c (isADS): add macro to tell if Alternate Data Stream
separator, to distinguish from drive letter.
git-svn-...
nobu (Nobuyoshi Nakada)
07:20 AM Bug #13002: Hash calculations no longer using universal hashing
Martin Dürst wrote:
> Nobu - One thing I don't understand is why there wasn't any test failure on CI because there i...
nobu (Nobuyoshi Nakada)
04:43 AM Bug #13002 (Closed): Hash calculations no longer using universal hashing
Applied in changeset r56992.
----------
switching hash removal
* st.h (struct st_hash_type): Remove strong_hash.
...
nobu (Nobuyoshi Nakada)
04:28 AM Bug #13002: Hash calculations no longer using universal hashing
Hello Victor,
Thanks for clearing up my confusing re. Bug #9381. It's too bad that that means we can't switch hash...
duerst (Martin Dürst)
06:16 AM Revision a8fff364 (git): EPERM by symlink
* test/ruby/test_file_exhaustive.rb (symlinkfile): EPERM can raise
on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
06:14 AM Revision d802149b (git): re.c: check that MatchData is initialized
Follow r16757 ("* re.c: fix SEGV by Regexp.allocate.names,
Match.allocate.names, etc.", 2008-06-02). Don't do null de...
rhenium (Kazuki Yamaguchi)
06:14 AM Revision 2a456047 (git): test/ruby/test_hash.rb: suppress syntax warning
Avoid "ambiguous first argument; put parentheses or a space even after
`-' operator" warning in assert_in_out_err. Fi...
rhenium (Kazuki Yamaguchi)
04:43 AM Revision 5714a26b (git): switching hash removal
* st.h (struct st_hash_type): Remove strong_hash.
(struct st_table): Remove inside_rebuild_p and curr_hash.
* st.c ...
nobu (Nobuyoshi Nakada)
03:36 AM Revision 1e95f9da (git): remove unnecessary variable
* st.c (do_hash): remove unnecessary variable and cast.
* hash.c, numeric.c, st.c: adjust style and indent.
git-svn...
nobu (Nobuyoshi Nakada)
03:25 AM Revision 1816e393 (git): random.c: pack hash seeds
* random.c (seed_keys_t, init_seed): pack seed for rb_hash_start and
rb_memhash, and fill them at once.
git-svn-id...
nobu (Nobuyoshi Nakada)
01:28 AM Bug #13008: File::basename fails if extension contains a colon
I did think so, but on recent cygwin, `touch c.d:12` makes a file "c.d\u{F03A}12".
Seems `:` is mapped to that Priva...
nobu (Nobuyoshi Nakada)
01:11 AM Feature #13006: backtrace of thread killer
1) Pre-2.4 usage: Killed thread can still be joined. If you call join to a killed thread, that should raise an excep... shyouhei (Shyouhei Urabe)
01:02 AM Bug #13007: Webbrick takes 5s to start when machine name looks like a real domain
Sad news is gethostbyname blocks under the hood in the system library, not in ruby's code.
But webrick's issue mig...
shyouhei (Shyouhei Urabe)

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)
 

Also available in: Atom