Project

General

Profile

Activity

From 10/30/2016 to 11/05/2016

11/05/2016

11:58 PM Revision a2acbf4b (git): shell.rb: suppress warnings
* lib/shell.rb: initialize class instance variables and remove
writer methods to be overwritten soon.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
11:54 PM Revision 1b95e8ef (git): e2mmap.rb: suppress a warning
* lib/e2mmap.rb (bind): eval with the location. undefine
predefined method before overwriting to suppress a warnin...
nobu (Nobuyoshi Nakada)
09:16 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:

> my st_table code is much shorter and simpler.
>
> https://.com/funny-falcon/ruby/b...
vmakarov (Vladimir Makarov)
05:03 PM Feature #12142: Hash tables with open addressing
Sorry again for sending a version after accepted decision.
It is my last attempt to jump in a train:
https://bugs.r...
funny_falcon (Yura Sokolov)
04:48 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> > in my repository https://.com/vnmakarov/ruby.git
>
> Is it a small (but slightly s...
vmakarov (Vladimir Makarov)
04:42 PM Feature #12142: Hash tables with open addressing
Matz,
I apologize for this message,
I'm just asking for a bit more comments.
> So I chose Vlad's version as a...
funny_falcon (Yura Sokolov)
04:27 PM Feature #12142: Hash tables with open addressing
> in my repository https://.com/vnmakarov/ruby.git
Is it a small (but slightly slow) version?
I prefer it.
ko1 (Koichi Sasada)
03:38 PM Feature #12142: Hash tables with open addressing
Yukihiro Matsumoto wrote:
> Performance-wise, the difference between two candidates is so small. I'm having a hard t...
vmakarov (Vladimir Makarov)
03:22 PM Feature #12142: Hash tables with open addressing
Performance-wise, the difference between two candidates is so small. I'm having a hard time making a decision. But to... matz (Yukihiro Matsumoto)
08:58 AM Feature #12142: Hash tables with open addressing
I've uploaded new version.
It has one-line "security" fix in `murmur_finish` that doesn't change performance or memo...
funny_falcon (Yura Sokolov)
06:09 PM Revision f0e2194b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:09 PM Revision 84323167 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:09 PM Revision 8c5ae893 (git): Add ChangeLog-2015 as an anchor of new ChangeLog see #12283
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:06 PM Feature #5446: at_fork callback API
We had to get around missing at_fork in concurrent-ruby as well. Since we are avoiding monkey_ing we had to resu... pitr.ch (Petr Chalupa)
04:56 PM Revision 051ba7b0 (git): Alias regist_scanner to register_scanner
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matsuda (Akira Matsuda)
04:43 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
The attached Dockerfile may help to reproduce. wanabe (_ wanabe)
04:18 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
I'm also using "Ubuntu 14.04.5 LTS" with gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3).
ko1 (Koichi Sasada)
03:36 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
Koichi Sasada wrote:
> On my linux VM, I can't reproduce with and without previous .
>
> * ruby 2.4.0dev (20...
ShockwaveNN (Pavel Lobashov)
03:33 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
On my linux VM, I can't reproduce with and without previous .
* ruby 2.4.0dev (2016-11-05 trunk 56574) [x86_6...
ko1 (Koichi Sasada)
02:26 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
I think the status is changed, but there is another issue.
We can see a assertion fail when I set RGENGC_CHECK_MODE ...
wanabe (_ wanabe)
02:34 AM Bug #12670 (Assigned): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
nagachika (Tomoyuki Chikanaga)
04:42 PM Bug #12576 (Closed): SEGV when interrupting tail recursion
Applied in changeset r56610.
----------
* compile.c (tailcallable_p): disable tail call optimization for
toplevel,...
shugo (Shugo Maeda)
03:35 PM Bug #12576: SEGV when interrupting tail recursion
sorry for long absence. I agree with your suggestion. Could you commit it? ko1 (Koichi Sasada)
04:42 PM Revision 11c37ed3 (git): * compile.c (tailcallable_p): disable tail call optimization for
toplevel, eval, and load to avoid SEGV when interrupted by SIGINT.
[ruby-core:76327] [Bug #12576]
git-svn-id: svn+...
shugo (Shugo Maeda)
04:32 PM Feature #10298 (Rejected): Array#float_sum (like math.fsum of Python)
Ruby 2.4 implements Array#sum and Enumerable#sum.
akr (Akira Tanaka)
04:31 PM Bug #12527 (Closed): warning: macro redefined: REG_PC and REG_SP on Solaris 10
Applied in changeset r56609.
----------
* vm_insnhelper.h: rename REG_(CFP|PC|SP|EP) to VM_REG_....
[Bug #12527]
...
ko1 (Koichi Sasada)
04:31 PM Revision b0569e3d (git): * vm_insnhelper.h: rename REG_(CFP|PC|SP|EP) to VM_REG_....
[Bug #12527]
* vm_exec.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56609 b2dd03c8-39d4-4d8f-98ff-8...
ko1 (Koichi Sasada)
04:23 PM Feature #10544 (Rejected): Time#to_i(:millisecond)
We have Process.clock_gettime since Ruby 2.1.
```
% ruby -e 'p Process.clock_gettime(Process::CLOCK_REALTIME, :mi...
akr (Akira Tanaka)
04:22 PM Bug #12330 (Closed): vm_trace.c (get_event_id) returns :specified_line if SPECIFIED_LINE was occurred
Thank you for your investigation. Now, `RUBY_EVENT_SPECIFIED_LINE` should not be used and I'll remove this feature so... ko1 (Koichi Sasada)
04:21 PM Feature #12236 (Rejected): Introduce `mmap` managed heap
Now I need to reconsider about this feature request. So I close it.
Thank you for your joining about this discussion.
ko1 (Koichi Sasada)
04:16 PM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
Agreed.
Matz.
matz (Yukihiro Matsumoto)
04:14 PM Bug #12159: Thread::Backtrace::Location#path returns absolute path for files loaded by require_relative
Sorry for late response.
I'll ask matz again.
I and Nobu talked about this topic and we agree with:
(1) to be ...
ko1 (Koichi Sasada)
04:09 PM Bug #11595 (Rejected): Time#utc? and Time#gmt? return misleading results based on $TZ
Current behavior is intentional.
Time#utc? returns the mode of Time object, not the time zone offset is zero.
T...
akr (Akira Tanaka)
03:55 PM Bug #11909 (Rejected): io.popen problem in 2.2 and over
akr (Akira Tanaka)
03:49 PM Revision a44c3bb2 (git): dir.c: merge rb_glob2 into rb_glob
* dir.c (rb_glob): merge rb_glob2 which is used only here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56608 b...
nobu (Nobuyoshi Nakada)
03:46 PM Revision 7c7444bc (git): Enumerator::Lazy#chunk_while defined.
* enumerator.c (InitVM_Enumerator): Enumerator::Lazy#chunk_while
defined. [Fix GH-1186]
https://.com/ruby/...
akr (Akira Tanaka)
03:45 PM Revision 04ff7cf7 (git): numeric.c: raise TypeError at wrong argument
* numeric.c (int_pos_p, int_neg_p): raise TypeError if not an
Integer instead of returning nil.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
03:30 PM Revision 3f2f64db (git): * vm_eval.c (vm_call0_cfunc_with_frame): pass method id to
dtrace hook. follow up r56592.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56605 b2dd03c8-39d4-4d8f-98ff-823fe...
ktsj (Kazuki Tsujimoto)
03:19 PM Bug #11912 (Closed): [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
Applied in changeset r56604.
----------
fix Resolv::LOC::Coord.create.
* lib/resolv.rb (Resolv::LOC::Coord.create):...
akr (Akira Tanaka)
03:19 PM Revision 7d27c0a2 (git): fix Resolv::LOC::Coord.create.
* lib/resolv.rb (Resolv::LOC::Coord.create): fixed.
[ruby-core:72567] [Bug #11912] fixed by Eric Wong and Kazuhiro
...
akr (Akira Tanaka)
03:05 PM Revision 825e1912 (git): * configure.in (-Wimplicit-fallthrough): gcc7 introduces case
fall through warnings but it is too noisy.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652
git-svn-id: svn+ssh:/...
naruse (Yui NARUSE)
03:02 PM Revision e3142f88 (git): * 2016-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision a0842e7c (git): * numeric.c (rb_int_round): cast to SIGNED_VALUE to suppress
warnings by -Wsign-compare.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56601 b2dd03c8-39d4-4d8f-98ff-823fe69b...
shugo (Shugo Maeda)
03:00 PM Bug #12652 (Closed): For Dir.home encode passed user
Applied in changeset r56600.
----------
* file.c (rb_home_dir_of): convert given username into filesystem
encoding...
naruse (Yui NARUSE)
03:00 PM Revision 54a6cd84 (git): * file.c (rb_home_dir_of): convert given username into filesystem
encoding. [ruby-core:76682] [Bug #12652]
ed by Dāvis Mosāns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
naruse (Yui NARUSE)
02:59 PM Bug #11994 (Closed): Incorrect result for yday in vtm_add_offset with negative UTC offset on last day of the year
Applied in changeset r56599.
----------
fix vtm_add_offset yday on last day of year.
* time.c (vtm_add_offset): Fix...
akr (Akira Tanaka)
02:59 PM Revision a03411b6 (git): fix vtm_add_offset yday on last day of year.
* time.c (vtm_add_offset): Fix yday on last day of year.
[ruby-core:72878] [Bug #11994] Fixed by Andrew White.
g...
akr (Akira Tanaka)
02:50 PM Feature #12375 (Closed): Net::HTTP.post
Yui NARUSE wrote:
> Agreed about Net::HTTP.post shouldn't support post(hostname, path, port) form because there's no...
shugo (Shugo Maeda)
02:19 PM Feature #12375 (Assigned): Net::HTTP.post
Agreed about Net::HTTP.post shouldn't support post(hostname, path, port) form because there's no reason to support to... naruse (Yui NARUSE)
02:49 PM Revision 85e74908 (git): Add the ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:39 PM Revision 88243c53 (git): * lib/net/http.rb (Net::HTTP.post): new convenience method to send a POST request.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
02:35 PM Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
Akira Tanaka wrote:
> I think [].sum should return 0.
> Returning 0 is better than nil because programmers don't ne...
herwin (Herwin W)
04:01 AM Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
On 2016/11/05 04:28, [email protected] wrote:
> Issue #12902 has been updated by Aaron Lasseigne.

> In h...
duerst (Martin Dürst)
02:29 AM Feature #12902 (Feedback): How about Enumerable#sum uses initial value rather than 0 as default?
I think [].sum should return 0.
Returning 0 is better than nil because programmers don't need to treat empty array s...
akr (Akira Tanaka)
02:33 PM Feature #12268 (Rejected): Open3 should use extend self instead of module_function calls
module_function is the standard way to define module methods.
I think it is because "include mod" makes us possibl...
akr (Akira Tanaka)
02:19 PM Bug #12904 (Feedback): Seg fault in openssl
Do you reproduce with ruby_2_3 branch head?
I can't tell anything without a reproducer but I suspect this is relat...
rhenium (Kazuki Yamaguchi)
02:04 PM Bug #12904 (Rejected): Seg fault in openssl
I'm using Threads and EventMachine in a weird way because I don't really know what I'm doing. The same code but singl... kenb0t (Ken Sinclair)
02:14 PM Feature #12607: Ruby needs an atomic integer
I agree with performance advantages.
I'm negative to introduce this feature because it is too hard.
People who ...
ko1 (Koichi Sasada)
01:55 PM Feature #12607: Ruby needs an atomic integer
OK, then let's discuss the needs of this class.
An obvious benefit of this class to be in core is that we don't ev...
shyouhei (Shyouhei Urabe)
01:27 PM Feature #12607: Ruby needs an atomic integer
> So you mean we don't need atomic integer because concurrent-ruby sucks? I don't think that's a valid reason to rej... ko1 (Koichi Sasada)
12:11 PM Feature #12607: Ruby needs an atomic integer
So you mean we don't need atomic integer because concurrent-ruby sucks? I don't think that's a valid reason to rejec... shyouhei (Shyouhei Urabe)
10:01 AM Feature #12607 (Feedback): Ruby needs an atomic integer
ko1 (Koichi Sasada)
10:00 AM Feature #12607: Ruby needs an atomic integer
At first, we need a box of integer, not an atomic integer.
Like that:
```ruby
box = IntegerBox.new(0)
box.inc...
ko1 (Koichi Sasada)
02:08 PM Bug #12890 (Closed): Net::HTTP should treat unexpected 1XX responses as non-final.
Applied in changeset r56596.
----------
* lib/net/http.rb (transport_request): other than HTTPContinue
in 1xx (HTT...
naruse (Yui NARUSE)
02:08 PM Revision 8ec6fcb2 (git): * lib/net/http.rb (transport_request): other than HTTPContinue
in 1xx (HTTPInformation) also needs to continue. [Bug #12890]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5659...
naruse (Yui NARUSE)
02:03 PM Revision 5fa7cdbd (git): Time.parse's "now" argument as nil works again.
* lib/time.rb (make_time): "now" argument as nil works again.
This is broken since Ruby 2.2.
Mathieu Jobin pointe...
akr (Akira Tanaka)
02:02 PM Bug #12198: Hash#== sometimes returns false incorrectly
The documentation of Set clearly states the following:
> * Set assumes that the identity of each element does not ...
knu (Akinori MUSHA)
02:00 PM Feature #7360 (Feedback): Adding Pathname#glob
It seems the proposed implementation treats the receiver as a glob pattern.
```
% ruby -rpathname -e '
class Pat...
akr (Akira Tanaka)
01:54 PM Bug #12799: IPAddr#== throws an exception with objects that can't be converted to IPAddr
Committed, thanks! knu (Akinori MUSHA)
01:53 PM Bug #12799 (Closed): IPAddr#== throws an exception with objects that can't be converted to IPAddr
Applied in changeset r56594.
----------
IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails
* l...
knu (Akinori MUSHA)
01:53 PM Revision 2d884179 (git): IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails
* lib/ipaddr.rb (IPAddr#==): If coercion fails, return false
instead of passing through the exception. [ruby-core:7...
Akinori MUSHA
01:46 PM Bug #12897 (Rejected): Hash failed to recognize the existed key and send not found when using Vector as key
I missed `0.0` and `0`. nobu (Nobuyoshi Nakada)
01:17 PM Feature #12747: Add TracePoint#callee_id
Thank you, I committed. ktsj (Kazuki Tsujimoto)
01:15 PM Feature #12747 (Closed): Add TracePoint#callee_id
Applied in changeset r56592.
----------
* eval.c, method.h, proc.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c:
...
ktsj (Kazuki Tsujimoto)
01:15 PM Revision 9cbd6ee0 (git): * vm_trace.c (tracepoint_attr_callee_id, rb_tracearg_callee_id):
add TracePoint#callee_id. [ruby-core:77241] [Feature #12747]
* cont.c, eval.c, gc.c, include/ruby/intern.h, insns.de...
ktsj (Kazuki Tsujimoto)
01:15 PM Revision 8004ad33 (git): * eval.c, method.h, proc.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c:
TracePoint#method_id should return method_id, not callee_id.
[ruby-core:77241] [Feature #12747]
* test/ruby/test_s...
ktsj (Kazuki Tsujimoto)
12:59 PM Revision bbeeb253 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:49 AM Bug #12548 (Closed): Rounding modes inconsistency between round versus sprintf
Applied in changeset r56590.
----------
numeric.c: round to nearest even
* numeric.c (flo_round, int_round): suppor...
nobu (Nobuyoshi Nakada)
08:59 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
We had a discussion today, and the conclusions:
* add `half:` optional keyword argument to `round` methods,
* its...
nobu (Nobuyoshi Nakada)
09:49 AM Revision dfe91fcd (git): numeric.c: round to nearest even
* numeric.c (flo_round, int_round): support round-to-nearest-even
semantics of IEEE 754 to match sprintf behavior, ...
nobu (Nobuyoshi Nakada)
09:34 AM Feature #12210: Add IdentitySet class that compares members by identity
Note that SortedSet#compare_by_identity is unimplemented when SortedSet uses rbtree.
`rbtree.readjust { |a, b| a.o...
knu (Akinori MUSHA)
09:23 AM Feature #12210 (Closed): Add IdentitySet class that compares members by identity
Applied in changeset r56589.
----------
Add Set#compare_by_identity and Set#compare_by_identity?
* lib/set.rb (Set#...
knu (Akinori MUSHA)
09:19 AM Feature #12210: Add IdentitySet class that compares members by identity
I'd rather add Set#compare_by_identity. knu (Akinori MUSHA)
09:23 AM Revision 76977611 (git): Add Set#compare_by_identity and Set#compare_by_identity?
* lib/set.rb (Set#compare_by_identity, Set#compare_by_identity?):
New methods. [Feature #12210]
git-svn-id: svn+ss...
Akinori MUSHA
09:18 AM Revision cb3b7fc0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:18 AM Revision 942bfc7b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:18 AM Revision cdc527db (git): * lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0
Release note: https://.com/rdoc/rdoc/blob/b825775647f62c5b525e9780a28ff2fbb1d5bf6f/History.rdoc#500--2016-11-05... hsbt (Hiroshi SHIBATA)
09:13 AM Feature #12596 (Closed): Add Pathname#empty? to be consistent with Dir.empty? and File.empty?
implemented at r56571 akr (Akira Tanaka)
09:12 AM Bug #12372 (Closed): Resolv::DNS does not fetch authority section resources when calling getresource(s)
fixed at r56583 akr (Akira Tanaka)
08:59 AM Revision 0a0eb280 (git): Refix r56559 with Fs.noatime? [ruby-core:77943] [Bug #12903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:59 AM Revision 8d2e44c2 (git): rename to noatime?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:33 AM Revision 365c3215 (git): extract_resources uses each_resource instead of each_answer.
* lib/resolv.rb (Resolv::DNS#extract_resources): Use each_resource
instead of each_answer.
[ruby-core:75461] [Bug...
akr (Akira Tanaka)
08:23 AM Revision 0fe34211 (git): * ext/-test/file/fs.c (get_atime_p): Updating of file access times
is enabled or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:28 AM Feature #12553 (Closed): IO.readlines(filename, chomp: true)
Applied in changeset r56581.
----------
chomp option
* io.c (extract_getline_opts): extract chomp option.
[Featur...
nobu (Nobuyoshi Nakada)
07:28 AM Revision a2144bd7 (git): chomp option
* io.c (extract_getline_opts): extract chomp option.
[Feature #12553]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
07:25 AM Bug #12814 (Rejected): Pathname#each_child(false) produces unusable file paths
Pathname#each_child is designed that easier access for child files by default (with_directory=true).
But it is also ...
akr (Akira Tanaka)
07:18 AM Revision cc7b3feb (git): * doc/standard_library.rdoc: remove "thread.rb" phrase because
Queue and ConditionVariable were moved to built-in class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56580 b...
Sho Hashimoto
07:14 AM Revision c40e5bac (git): mkconfig.rb: trailing space
* tool/mkconfig.rb: [DOC] remove trailing space from a generated
line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
07:10 AM Revision 34ac59c8 (git): openssl/ut_eof.rb: rename TestEOF
* test/openssl/ut_eof.rb (OpenSSL::TestEOF): move TestEOF module
under OpenSSL to get rid of conflict with test/rub...
nobu (Nobuyoshi Nakada)
06:59 AM Revision 639ccc40 (git): * tool/mkconfig.rb: [DOC] add rbconfig documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sho Hashimoto
06:47 AM Bug #12678 (Closed): No way to set a timeout for TLS handshake when using Net::SMTP
Applied in changeset r56576.
----------
* lib/net/smtp.rb (tlsconnect): support timeout for TLS handshake.
[ruby-c...
shugo (Shugo Maeda)
06:47 AM Revision 73b3b10d (git): * lib/net/smtp.rb (tlsconnect): support timeout for TLS handshake.
[ruby-core:76893] [Bug #12678]
* lib/net/protocol.rb (ssl_socket_connect): new method to implement
timeout for TLS...
shugo (Shugo Maeda)
05:40 AM Revision 19c749f6 (git): Document the change in Shellwords.shellwords
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
05:17 AM Bug #12900 (Closed): TestSyntax#test_block_after_cmdarg_in_paren fails on PPC64
Applied in changeset r56574.
----------
parse.y: fix restored cmdarg_stack
* parse.y (brace_body, do_body): since c...
nobu (Nobuyoshi Nakada)
05:17 AM Revision 8a5512b4 (git): parse.y: fix restored cmdarg_stack
* parse.y (brace_body, do_body): since cmdarg_stack is saved in
VALUE val, should restore from the same member. on...
nobu (Nobuyoshi Nakada)
05:00 AM Bug #10055: Shellwords.shellsplit() does not match POSIX sh behavior for backslashes within double-quoted strings
That is correct! I've fixed the implementation to conform to the standard. knu (Akinori MUSHA)
04:58 AM Bug #10055 (Closed): Shellwords.shellsplit() does not match POSIX sh behavior for backslashes within double-quoted strings
Applied in changeset r56573.
----------
Fix the handling of the backslash in double quotes
* lib/shellwords.rb (She...
knu (Akinori MUSHA)
04:58 AM Revision 2da5ae42 (git): Fix the handling of the backslash in double quotes
* lib/shellwords.rb (Shellwords#shellsplit): Fix the handling of
the backslash in double quotes to conform to the s...
Akinori MUSHA
03:31 AM Revision 7a78133a (git): Add NEWS about r56213.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
03:29 AM Revision 9373c5ef (git): Pathname#empty? implemented.
* ext/pathname/pathname.c (Pathname#empty?): New method.
[ruby-core:76404] [Feature#12596] Proposed by John Backus....
akr (Akira Tanaka)
03:22 AM Bug #12893: trunk fails on linux with clang on test with callcc
Yui NARUSE wrote:
> NetBSD pkgsrc and FreeBSD ports were fixed by adding volatile.
> https://bugs.freebsd.org/bugzi...
shugo (Shugo Maeda)
02:53 AM Bug #12893: trunk fails on linux with clang on test with callcc
NetBSD pkgsrc and FreeBSD ports were fixed by adding volatile.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206111
naruse (Yui NARUSE)
02:23 AM Bug #12893 (Closed): trunk fails on linux with clang on test with callcc
Applied in changeset r56561.
----------
* cont.c (cont_new): disable optimization if clang's version is
3.8.0. [r...
shugo (Shugo Maeda)
03:13 AM Revision 19e59705 (git): Add NEWS about r56200
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:01 AM Bug #12836: Backport r56416 (copy_stream to duplex IO)
ruby_2_3 r56569 merged revision(s) 56416. nagachika (Tomoyuki Chikanaga)
03:01 AM Revision 4450acf4 (git): merge revision(s) 56416: [Backport #12836]
* io.c (copy_stream_body): use IO to write to copy to duplex IO.
http://twitter.com/knu/status/786505317974...
nagachika (Tomoyuki Chikanaga)
03:01 AM Bug #11186: Can't refine aliases in subclasses
The bug was fixed in Ruby 2.3, and need not to be backported to prior versions, I think. shugo (Shugo Maeda)
02:57 AM Bug #11186 (Closed): Can't refine aliases in subclasses
Applied in changeset r56568.
----------
* test/ruby/test_refinement.rb (test_refine_alias_in_subclass):
add a test...
shugo (Shugo Maeda)
02:57 AM Revision 8b54e694 (git): * test/ruby/test_refinement.rb (test_refine_alias_in_subclass):
add a test to check that alias in subclasses can be refined.
[ruby-core:69374] [Bug #11186]
git-svn-id: svn+ssh://...
shugo (Shugo Maeda)
02:52 AM Bug #12895: Backport r53533
ruby_2_3 r56567 merged revision(s) 53533. nagachika (Tomoyuki Chikanaga)
02:52 AM Revision 5b52d585 (git): merge revision(s) 53533: [Backport #12895]
* sprintf.c (rb_str_format): format exact number more exactly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
nagachika (Tomoyuki Chikanaga)
02:50 AM Revision 8afd5857 (git): [DOC] add explanation for Array#sum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:48 AM Bug #12868: Please backport r55074 (openssl, fix ex_data index for X509_STORE_CTX)
ruby_2_3 r56565 merged revision(s) 55074. nagachika (Tomoyuki Chikanaga)
02:48 AM Revision 93bceb14 (git): merge revision(s) 55074: [Backport #12868]
* ext/openssl/ossl.c (Init_openssl): register an ex_data index for
X509_STORE and X509_STORE_CTX respective...
nagachika (Tomoyuki Chikanaga)
02:44 AM Bug #11959: Segfault during `exit' in thread initialize (Extended class).
ruby_2_3 r56564 merged revision(s) 53449. nagachika (Tomoyuki Chikanaga)
02:44 AM Revision 56408279 (git): merge revision(s) 53449: [Backport #11959]
* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c...
nagachika (Tomoyuki Chikanaga)
02:39 AM Bug #11133 (Closed): Wrong Hyperlink representation in man page
Thanks for your confirmation! It's just as intended that the URLs being rendered in bold. knu (Akinori MUSHA)
02:39 AM Revision a2f30699 (git): test_logger.rb: suppress a warning
* test/logger/test_logger.rb (test_datetime_format): suppress
warning when strftime called with empty format string...
nobu (Nobuyoshi Nakada)
02:32 AM Revision d56ccddb (git): merge revision(s) 56550:
* ext/bigdecimal/bigdecimal.c: Import changes from ruby/bigdecimal
repository.
git-svn-id: svn+ssh://ci.r...
nagachika (Tomoyuki Chikanaga)
02:31 AM Bug #12903: TestFile#test_stat fails on FreeBSD 11.0
Nobuyoshi Nakada wrote:
> Do you mount with `noatime` option?
I didn't mean to, but yes.
> test_file.rb: fix n...
shugo (Shugo Maeda)
01:07 AM Bug #12903 (Closed): TestFile#test_stat fails on FreeBSD 11.0
Applied in changeset r56559.
----------
test_file.rb: fix noatime
* test/ruby/test_file.rb (TestFile#test_stat): fi...
nobu (Nobuyoshi Nakada)
02:27 AM Feature #12810 (Rejected): Improve `Set#find_index` performance
As commented by Herwin W and replied to the submitter in a personal mail, Set has no sense of index where elements ar... knu (Akinori MUSHA)
02:23 AM Revision 6f6a5176 (git): * cont.c (cont_new): disable optimization if clang's version is
3.8.0. [ruby-core:77894] [Bug #12893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56561 b2dd03c8-39d4-4d8f-98...
shugo (Shugo Maeda)
01:07 AM Revision 9d708e05 (git): * 2016-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:07 AM Revision c71a60c1 (git): test_file.rb: fix noatime
* test/ruby/test_file.rb (TestFile#test_stat): fix noatime case.
[ruby-core:77943] [Bug #12903]
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)

11/04/2016

11:58 PM Bug #12903: TestFile#test_stat fails on FreeBSD 11.0
Do you mount with `noatime` option? nobu (Nobuyoshi Nakada)
11:55 PM Bug #12903 (Closed): TestFile#test_stat fails on FreeBSD 11.0
TestFile#test_stat fails on FreeBSD 11.0 as follows:
```
CC = cc
LD = ld
LDSHARED = cc -shared
CFLAGS = -O...
shugo (Shugo Maeda)
11:20 PM Bug #12893: trunk fails on linux with clang on test with callcc
Shugo Maeda wrote:
> static VALUE
> cont_capture(volatile int *stat)
> +#ifdef __clang__
> +__attribute__ ((opt...
shugo (Shugo Maeda)
10:59 PM Bug #12893: trunk fails on linux with clang on test with callcc
Reproduced on my FreeBSD box:
```
./ruby -r continuation -e 'cont = nil; ary = [1,2,3]; ary.combination(2) { call...
shugo (Shugo Maeda)
12:52 PM Bug #12893: trunk fails on linux with clang on test with callcc
FreeBSD failure log is here:
http://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd11zfs/ruby-trunk/log/20161104T...
hsbt (Hiroshi SHIBATA)
02:22 AM Bug #12893: trunk fails on linux with clang on test with callcc
Seems related to segfaults on FreeBSD 11.
I tried with MacPorts clang 3.8.1, but it didn't reproduce.
Maybe clang 3...
nobu (Nobuyoshi Nakada)
10:51 PM Bug #12897 (Feedback): Hash failed to recognize the existed key and send not found when using Vector as key
It should work.
```
$ ruby2.0 -v -rmatrix -e 'p = { Vector[1.0, 2.0, 0.0] => 1}' -e 'p p.key?(Vector[1.0, 2.0, 0....
nobu (Nobuyoshi Nakada)
05:18 PM Bug #12897 (Rejected): Hash failed to recognize the existed key and send not found when using Vector as key
This is not a bug. `Hash#[]` uses `eql?` and not `==` to match keys.
0 == 0.0 # => true
0.eql? 0.0 # => f...
marcandre (Marc-Andre Lafortune)
08:52 AM Bug #12897: Hash failed to recognize the existed key and send not found when using Vector as key
also affected version ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux].
KiraYao (智偉 姚)
08:11 AM Bug #12897 (Rejected): Hash failed to recognize the existed key and send not found when using Vector as key
When I was using Vector as the key to the Hash, Hash sometimes failed to recognize the key and send nil, while the ke... KiraYao (智偉 姚)
10:42 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
>
> Finally, if this really is the issue, then either 1/ put it inside `require 'boolean'` ...
phluid61 (Matthew Kerwin)
07:27 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Just a side question:
Samuel Williams wrote:
> class Kernel::Boolean
> end
Why do you use Kernel::Boolean a...
duerst (Martin Dürst)
12:37 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Matthew, I ask you to find one of those examples that would break by introducing the following to core Ruby:
~~~
...
ioquatix (Samuel Williams)
10:37 PM Bug #12899 (Closed): OptParse documentation : example is broken
nobu (Nobuyoshi Nakada)
09:45 AM Bug #12899 (Closed): OptParse documentation : example is broken
Hello,
The complete example code in OptParse documentation at http://ruby-doc.org/stdlib-2.3.1/libdoc/optparse/rdo...
glork-riouf (Glork Riouf)
10:03 PM Feature #12142: Hash tables with open addressing
I've uploaded refined mbox :
https://bugs.ruby-lang.org/attachments/download/6225/st_table_array.mbox
Correspo...
funny_falcon (Yura Sokolov)
09:28 PM Feature #12142: Hash tables with open addressing
Vladimir Makarov wrote:
> Koichi's investigation reported that small hash tables are majority during
> work of Ruby...
vmakarov (Vladimir Makarov)
09:23 PM Feature #12142: Hash tables with open addressing
Koichi's investigation reported that small hash tables are majority during
work of Ruby on Rails:
https://gist.gi...
vmakarov (Vladimir Makarov)
07:06 AM Feature #12142: Hash tables with open addressing
Vladimir is right.
Despite all my believes, I suggest again to concentrate on open-addressing variants.
I'll pr...
funny_falcon (Yura Sokolov)
02:37 AM Feature #12142: Hash tables with open addressing
To decrease sizes of very small tables I tuned some parameters. Now minimal table size is 4 (instead of 8) and bins ... vmakarov (Vladimir Makarov)
09:23 PM Bug #12890: Net::HTTP should treat unexpected 1XX responses as non-final.
A testing endpoint is available at https://nghttp2.org/?103-eh (see https://lists.w3.org/Archives/Public/ietf-http-wg... duerst (Martin Dürst)
07:28 PM Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
In https://bugs.ruby-lang.org/issues/12217#note-3, Akira Tanaka, mentions that the default argument to sum is 0. This... AaronLasseigne (Aaron Lasseigne)
07:24 PM Feature #12902 (Rejected): How about Enumerable#sum uses initial value rather than 0 as default?
In https://bugs.ruby-lang.org/issues/12217#note-3, Akira Tanaka, mentions that the default argument to sum is 0. This... AaronLasseigne (Aaron Lasseigne)
06:03 PM Bug #12900: TestSyntax#test_block_after_cmdarg_in_paren fails on PPC64
The same error is observed on sparc64-solaris2.10, running on 64-bit big-endian CPU. ngoto (Naohisa Goto)
05:06 PM Bug #12900: TestSyntax#test_block_after_cmdarg_in_paren fails on PPC64
It actually passes on PPC64LE. Isn't it something related to different endianness of PPC64? vo.x (Vit Ondruch)
04:41 PM Bug #12900 (Closed): TestSyntax#test_block_after_cmdarg_in_paren fails on PPC64
Trying to build r56558 on Fedora Rawhide, the build fails on PPC64 with following message:
```
1) Failure:
Tes...
vo.x (Vit Ondruch)
06:01 PM Feature #12901: Anonymous functions without scope lookup overhead
Much +1 for this feature, I used anonymous functions extensively in graphql-ruby until I learned about this overhead.... rmosolgo (Robert Mosolgo)
05:30 PM Feature #12901: Anonymous functions without scope lookup overhead
It would probably be better if ruby could do analysis and if there are no references to local variables in the outer ... jeremyevans0 (Jeremy Evans)
04:54 PM Feature #12901 (Open): Anonymous functions without scope lookup overhead
Right now if you are writing performance sensitive code you can get a performance bump by not using anonymous functio... schneems (Richard Schneeman)
06:01 PM Feature #12236: Introduce `mmap` managed heap
Yura Sokolov wrote:
> > I believe we don't have any drawback with 256MB virtual memory allocation. (but it can depen...
nateberkopec (Nate Berkopec)
05:15 PM Bug #12666: Fatal error: glibc detected an invalid stdio handle
For both BSD and Linux, I want to suggest
~~~ ruby
when /bsd|dragonfly|linux/
libc_so = "libc.so"
libm_so =...
kernigh (George Koehler)
03:57 PM Bug #12666: Fatal error: glibc detected an invalid stdio handle
Ping ... any chance to get this fixed? PPC was recently added into primary Fedora builder, so this is troublesome :/ ... vo.x (Vit Ondruch)
11:57 AM Bug #12780: BigDecimal#round returns different types depending on argument
We need matz's approval to change `Float#round`.
mrkn (Kenta Murata)
07:31 AM Bug #12780: BigDecimal#round returns different types depending on argument
Good point, I didn't catch that. If it was up to me I'd rather have `Float#round` always return `Float` as well for c... Gat (Dawid Janczak)
05:03 AM Bug #12780: BigDecimal#round returns different types depending on argument
`Float#round` returns Fixnum value when the argument is `0` or omitted.
```
irb(main):005:0> 12.34.round.class
=...
mrkn (Kenta Murata)
11:20 AM Feature #12898: String#match? method in addition to Regexp#match?
Shyouhei Urabe wrote:
> You mean a String instance method named "match?" that takes a Regexp instance?
Yes, exact...
sos4nt (Stefan Schüßler)
08:50 AM Feature #12898: String#match? method in addition to Regexp#match?
Stefan Schüßler wrote:
> Ruby 2.4 introduces [`Regexp#match?`](https://bugs.ruby-lang.org/issues/8110). There should...
shyouhei (Shyouhei Urabe)
08:44 AM Feature #12898 (Closed): String#match? method in addition to Regexp#match?
Ruby 2.4 introduces [`Regexp#match?`](https://bugs.ruby-lang.org/issues/8110). There should be an accompanying `Strin... sos4nt (Stefan Schüßler)
10:27 AM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
Koichi Sasada wrote:
> I commit a fix on trunk. Could you check it?
Seems nothing changed. Errors looks like same...
ShockwaveNN (Pavel Lobashov)
08:57 AM Bug #12670 (Feedback): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
I commit a fix on trunk. Could you check it? ko1 (Koichi Sasada)
08:54 AM Bug #12670 (Closed): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
Applied in changeset r56558.
----------
* gc.c (heap_page_resurrect): do not return tomb_pages when
page->freelist...
ko1 (Koichi Sasada)
08:54 AM Revision 0b8ab5b0 (git): * gc.c (heap_page_resurrect): do not return tomb_pages when
page->freelist == NULL.
[Bug #12670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56558 b2dd03c8-39d4-4d8f-9...
ko1 (Koichi Sasada)
08:33 AM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
This is working memo. Now I can't find out the solution.
(1) auto splat for lambda with `yield ary` is allowed [Bu...
ko1 (Koichi Sasada)
07:31 AM Bug #12889 (Closed): Regression of Ruby 2.4.preview2 string interpolation
Applied in changeset r56557.
----------
util.c: round to even
* util.c (ruby_dtoa): round to even, instead of round...
nobu (Nobuyoshi Nakada)
07:31 AM Revision 6ed8c79d (git): util.c: round to even
* util.c (ruby_dtoa): round to even, instead of rounding to
nearest. [ruby-core:77864] [Bug #12889]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
06:37 AM Feature #12896 (Closed): Add compiler version message into rbconfig
Applied in changeset r56556.
----------
* configure.in: Add compiler version message into rbconfig
as RbConfig::CO...
naruse (Yui NARUSE)
06:30 AM Feature #12896 (Closed): Add compiler version message into rbconfig
When a extension library developer receives bug reports, they sometimes want to know what compiler is used for buildi... naruse (Yui NARUSE)
06:37 AM Revision 25728a19 (git): * configure.in: Add compiler version message into rbconfig
as RbConfig::CONFIG['CC_VERSION_MESSAGE']. [Feature #12896]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56556 ...
naruse (Yui NARUSE)
06:18 AM Bug #12718 (Closed): BigDecimal() should raise on invalid input, consistent with Integer() and Float()
Close this because it duplicates #10286 mrkn (Kenta Murata)
05:10 AM Bug #12895 (Closed): Backport r53533
r53533をバックポートしてください。 nobu (Nobuyoshi Nakada)
04:29 AM Bug #12815 (Closed): Integer#digits's error message different when base is Fixnum or Bignum
I've fixed this on r56554 mrkn (Kenta Murata)
04:29 AM Revision b7c93a3c (git): ChangeLog: cite issue on redmine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
04:12 AM Bug #12894 (Third Party's Issue): Seems to be some issue with sqlite3
hsbt (Hiroshi SHIBATA)
03:54 AM Bug #12894 (Third Party's Issue): Seems to be some issue with sqlite3
Trying to run the console, but I get a massive error.
I think I should see development.sqlite3 and text.sqlite3 i...
[email protected] (Daniel Llinas)
04:05 AM Revision 95e9ccbb (git): numeric.c (rb_int_digits): Fix exception message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
01:51 AM Revision e4257036 (git): pathname.c: unnormalized Fixnum value
* ext/pathname/pathname.c (path_hash): fix unnormalized Fixnum
value bug on mingw/mswin.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
01:35 AM Bug #12892 (Closed): FileUtils::cp_r() raises RuntimeError "unknown file type" instead of Errno::ENOENT "No such file or directory" for non-existent source path
Applied in changeset r56551.
----------
fileutils.rb: fix error for non-existent entry
* lib/fileutils.rb (FileUtil...
nobu (Nobuyoshi Nakada)
01:35 AM Revision 61982b15 (git): * 2016-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:35 AM Revision 0785b3e1 (git): fileutils.rb: fix error for non-existent entry
* lib/fileutils.rb (FileUtils::Entry_#copy): ensure that the
source entry exists first, to fix error for non-existe...
nobu (Nobuyoshi Nakada)

11/03/2016

06:52 PM Bug #12893: trunk fails on linux with clang on test with callcc
Other segfault on `TestMarshal#test_gc`
~~~
$ make test-all TESTS='-n !/callcc/' # and I edited test/ruby/test_co...
funny_falcon (Yura Sokolov)
06:30 PM Bug #12893 (Closed): trunk fails on linux with clang on test with callcc
Test fails on linux with clang.
It doesn't fails with gcc.
OS: Ubuntu 16.04 x64_64
clang version 3.8.0-2ubuntu4 ...
funny_falcon (Yura Sokolov)
06:24 PM Feature #12142: Hash tables with open addressing
Koichi,
HUGE makes difference for `st_table_entry` only for version with chaining.
Version with open addressing...
funny_falcon (Yura Sokolov)
03:01 PM Feature #12142: Hash tables with open addressing
My assumption is HUGE enables to extend 64bits entries and HUGE entries
are increase constantly. And table size sho...
ko1 (Koichi Sasada)
02:16 PM Feature #12142: Hash tables with open addressing
Well, chaining is not faster with HUGE=1. It is only faster with HUGE=0. funny_falcon (Yura Sokolov)
01:51 PM Feature #12142: Hash tables with open addressing
Koichi,
Here is that returns chaining in my implementation.
It is smaller than I expected :-)
https://bu...
funny_falcon (Yura Sokolov)
11:26 AM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Vladimir:
>
> I'm glad you returned to competition. Together we will make st_table great!
...
vmakarov (Vladimir Makarov)
08:45 AM Feature #12142: Hash tables with open addressing
Koichi,
Difference between HUGE=0 and HUGE=1 is small and constant cause they
differs only in header ( `struct st...
funny_falcon (Yura Sokolov)
03:46 AM Feature #12142: Hash tables with open addressing
As small table size seems so important now, I did some small changes to my branch to decrease it.
https://.c...
vmakarov (Vladimir Makarov)
01:23 AM Feature #12142: Hash tables with open addressing
Yura:
Could you check that there are no memory usage (`st_memsize()`) between HUGE=0 and HUGE=1.
Is it reasonable...
ko1 (Koichi Sasada)
01:21 AM Feature #12142: Hash tables with open addressing
Thank you. This is very interesting, informative and educational. Good
look with getting your accepted.


...
rrroybbbean (RRRoy BBBean)
12:35 AM Feature #12142: Hash tables with open addressing
Koichi, thank you for investigation.
Your graphs give a lot of useful information.
Expected behaviour:
- memory ...
funny_falcon (Yura Sokolov)
04:20 PM Feature #12886: URI#merge doesn't handle paths correctly
Samuel Williams wrote:
> I feel like this should work.
Feelings are not enough. As Matthew already said, https://...
duerst (Martin Dürst)
12:46 PM Revision 03c9bc2b (git): Import from ruby/bigdecimal repository
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
10:21 AM Bug #12892 (Closed): FileUtils::cp_r() raises RuntimeError "unknown file type" instead of Errno::ENOENT "No such file or directory" for non-existent source path
In Ruby 1.9.3 both FileUtils.cp(src, dst) and FileUtils.cp_r(src, dst) raised Errno::ENOENT "No such file or director... zinga (Patrick Zingerle)
08:26 AM Bug #12890: Net::HTTP should treat unexpected 1XX responses as non-final.
Apologies, it was noted that it would be more helpful to provide the example server in Ruby instead:
~~~ ruby
r...
lukasa (Cory Benfield)
08:07 AM Bug #12891: armv7l-linux-eabihf/openssl.so: [BUG] Illegal instruction at 0xb6659cfc
Nobuyoshi Nakada wrote:
> Can't you reproduce it with `gdb` and get the stack trace?
If you could give me a hin...
SHSolutions (Sören Hanisch)
03:23 AM Bug #12891 (Feedback): armv7l-linux-eabihf/openssl.so: [BUG] Illegal instruction at 0xb6659cfc
Can't you reproduce it with `gdb` and get the stack trace?
> ```
> b660f000-b676c000 r-xp 00000000 b3:06 659533 ...
nobu (Nobuyoshi Nakada)
06:46 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
> [...] But what evidence do you have to support NOT adding Boolean? I can't think of any goo...
phluid61 (Matthew Kerwin)
06:14 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Matz has explained the reasons. nobu (Nobuyoshi Nakada)
04:23 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> It seems specific to the context, and should be defined there.
Yeah but it's not. 2,080,658 instances of code on...
ioquatix (Samuel Williams)
06:02 AM Revision 6c7024f6 (git): file.c: include sys/sysmacros.h
* file.c: include sys/sysmacros.h for ArchLinux which deprecated
use of major() and minor() in sys/types.h.
git-sv...
nobu (Nobuyoshi Nakada)
05:46 AM Revision f0baa122 (git): * 2016-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:46 AM Revision 91fbf2b2 (git): file.c: use DEVT2NUM
* file.c (rb_stat_dev_major, rb_stat_dev_minor): use DEVT2NUM as
well as rdev_major and rdev_minor.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
04:53 AM Feature #12747: Add TracePoint#callee_id
Sorry for late response.
I missed incompatibility.
How about to commit it before next preview and ask feedback fr...
ko1 (Koichi Sasada)

11/02/2016

10:03 PM Bug #12890: Net::HTTP should treat unexpected 1XX responses as non-final.
I believe the fix is relatively simple; the main change is to `lib/net/http.rb`:
~~~diff
--- a/lib/net/http.rb
+...
phluid61 (Matthew Kerwin)
08:58 PM Bug #12890 (Closed): Net::HTTP should treat unexpected 1XX responses as non-final.
Long story short
Net::HTTP's client does not tolerate non-100 status codes from the 1XX block in a sensible manner...
lukasa (Cory Benfield)
09:39 PM Bug #12891 (Closed): armv7l-linux-eabihf/openssl.so: [BUG] Illegal instruction at 0xb6659cfc
While installing GitLab on my Raspberry 2, at the end I'm executing the command: `sudo gitlab-ctl reconfigure`
This ...
SHSolutions (Sören Hanisch)
04:45 PM Feature #12142: Hash tables with open addressing
Koichi Sasada wrote:
> Sorry for my lazy-ness, I evaluated your two implementations (ffalcon has two versions, HUGEH...
vmakarov (Vladimir Makarov)
09:28 AM Feature #12142: Hash tables with open addressing
Sorry for my lazy-ness, I evaluated your two implementations (ffalcon has two versions, HUGEHASH or not).
Now, I d...
ko1 (Koichi Sasada)
03:38 PM Bug #12889 (Closed): Regression of Ruby 2.4.preview2 string interpolation
~~~
$ ./ruby -v
ruby 2.4.0dev (2016-07-10 trunk 55620) [x86_64-linux]
$ ./ruby -e 'puts ("%01.0f" % 1234567892.0)'...
ujifgc (Igor Bochkariov)
03:21 PM Bug #12888 (Rejected): Require 'thread' crash on recent 2.2.x
By just calling the Thread class, a ruby script or just IRB crash :
(French install)
LoadError: 127: La procédu...
Jishin (Julien BONNET)
07:07 AM Feature #12760: Optional block argument for `itself`
What about giving it an obvious name like `yield_self` and making a syntax sugar `object.{|x| ... }` for calling it l... knu (Akinori MUSHA)
02:46 AM Feature #5446: at_fork callback API
ping, any plans to add these apis, they will help clean up a lot in the Ruby ecosystem, just hit it again today.
...
sam.saffron (Sam Saffron)
01:31 AM Revision af015a9a (git): assertions.rb: assert_all_assertions
* test/lib/test/unit/assertions.rb (assert_all_assertions): prefix
assert to be filtered out.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:50 AM Revision d97b8d0d (git): extension.rdoc: update rb_ensure description
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)

11/01/2016

11:45 PM Revision 564cb1a0 (git): extension.rdoc: update rb_rescue description
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.
* doc/extension.rdoc: mention the exception obje...
nobu (Nobuyoshi Nakada)
10:34 PM Bug #12875 (Closed): Fixnum bit operator and coerce
Applied in changeset r56543.
----------
numeric.c: bit op with non-integer
* numeric.c (rb_num_coerce_bit): enable ...
nobu (Nobuyoshi Nakada)
10:34 PM Revision 13149a59 (git): numeric.c: bit op with non-integer
* numeric.c (rb_num_coerce_bit): enable bit operations with
coercing by non-integer object. [ruby-core:77783] [Bug...
nobu (Nobuyoshi Nakada)
10:03 PM Bug #8004: spawn does not honor its passed PATH
On my computer, the reason for this is:
It should have found the path here: https://.com/ruby/ruby/blob/c7e9...
josh.cheek (Josh Cheek)
08:29 PM Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
@George: Thanks for explaining. Makes sense. floehopper (James Mead)
08:10 PM Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
Ruby defers signals. At safe moments, Ruby checks if a signal arrived, then handles it. If Ruby is stuck in an infini... kernigh (George Koehler)
12:33 PM Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
@nobu: Is it possible there is a separate problem with the code such that interrupt signals are incorrectly being ign... floehopper (James Mead)
11:45 AM Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
It's not expected but a bug is always what causes unexpected behavior. nobu (Nobuyoshi Nakada)
09:34 AM Bug #12832: Calling Object#method hangs for private method defined on module then made public once it's been used to extend class
@nobu: Thank you for fixing this. Is it expected that a bug like this would cause the interpreter not to accept inter... floehopper (James Mead)
03:47 PM Revision c7e99cbf (git): * 2016-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 PM Revision fa857bc6 (git): fix some typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:56 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Nobuyoshi Nakada wrote:
> Rodrigo Rosenfeld Rosas wrote:
> > Maybe something like:
>
> ```ruby
> Boolean = [tru...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:59 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
> > It's a choice by that library author. They are not classes but methods, there can be `Boo...
nobu (Nobuyoshi Nakada)
01:51 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Rodrigo Rosenfeld Rosas wrote:
> Maybe something like:
```ruby
Boolean = [true, false]
```
> ~~~ruby
> inpu...
nobu (Nobuyoshi Nakada)
12:04 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Joel on Software "Don't Let Architecture Astronauts Scare You" by Joel
Spolsky http://www.joelonsoftware.com/arti...
rrroybbbean (RRRoy BBBean)
12:01 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Rodrigo Rosenfeld Rosas wrote:
> I'd just like to add a real situation where I missed a `Boolean` class recently.
>...
phluid61 (Matthew Kerwin)
01:10 PM Revision 544e59ec (git): test_integer.rb: common parts
* test/ruby/test_integer.rb (MimicInteger, CoercionToInt): extract
common parts.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
01:10 PM Revision 69fc155c (git): numeric.c: use rb_num_coerce_bit
* numeric.c (int_and, int_or, int_xor): use rb_num_coerce_bit to
reduce repeated code.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
12:48 PM Bug #12887 (Closed): Object#extendを引数無しで呼び出すとErrorとなるが、Module#includeとModule#prependはエラーとならない
Object#extend を引数無しで呼び出すと、ArgumentErrorとなります。 https://bugs.ruby-lang.org/issues/6085
~~~
$ ruby -e 'Module.new { ...
takkanm (三村 益隆)
12:41 PM Bug #10802 (Closed): strict-aliasing warning on RHEL/CentOS 6
Fixed by r55831 and r55833. Backport requested in #12657. vo.x (Vit Ondruch)
12:38 PM Bug #12657: [] ANSI aliasing fix for XL compiler
I checked that the es fix the warnings in Ruby 2.2. BTW r55833 is required alongside of r55831 vo.x (Vit Ondruch)
12:35 PM Revision cbfe54c5 (git): numeric.c: fix return value on big 0
* numeric.c (num_zero_p): should return true if zero.
rb_bigzero_p returns 1 or 0.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
12:35 PM Revision 22e41718 (git): numeric.c: adjust indent [ci skip]
* numeric.c (rb_num2ulong_internal): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56537 b2dd03c8...
nobu (Nobuyoshi Nakada)
12:35 PM Revision 5dc24720 (git): numeric.c: fix typos [ci skip]
* numeric.c (rb_num2ulong_internal, rb_num2ull): fix typos in
comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
07:51 AM Revision 8baad2d3 (git): bignum.c: use RB_INTEGER_TYPE_P
* bignum.c (rb_big_and, rb_big_or, rb_big_xor): use dedicated
macro RB_INTEGER_TYPE_P instead of combination of FIX...
nobu (Nobuyoshi Nakada)
06:44 AM Bug #10222: require_relative and require should be compatible with each other when symlinks are used
Today I learned that [PHP caches realpath](http://jpauli..io/2014/06/30/realpath-cache.html), and causes troubl... shyouhei (Shyouhei Urabe)

10/31/2016

11:48 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
>
> > There is no value in defining a `Boolean` superclass of both **`TrueClass` and `False...
phluid61 (Matthew Kerwin)
11:08 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> It's a choice by that library author. They are not classes but methods, there can be `Boolean` method in the librar... ioquatix (Samuel Williams)
02:53 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Maybe something like:
~~~ruby
input.zip([String, String, String, Boolean, String, Boolean]).all?{|(i, c)| c === i...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:51 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Actually, this isn't a good example as it would return `TrueClass` or `FalseClass` rather than `Boolean`... rosenfeld (Rodrigo Rosenfeld Rosas)
02:50 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
I'd just like to add a real situation where I missed a `Boolean` class recently.
A web request takes an array of v...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:24 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
> Having a class named `Boolean` would make things more readable, for example here: http://se...
nobu (Nobuyoshi Nakada)
04:32 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
> > But that's how things already are, and the market deals with it just fine.
>
> Well, ...
phluid61 (Matthew Kerwin)
03:51 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
The terms "truthy" and "falsey" were used by Douglas Crockford in his
series of JavaScript lectures at Yahoo abou...
rrroybbbean (RRRoy BBBean)
03:35 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
It's also interesting to note, so many people are working around this:
Searching on for:
"is_a? TrueClas...
ioquatix (Samuel Williams)
01:14 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> But that's how things already are, and the market deals with it just fine.
Well, I know you are being metaphori...
ioquatix (Samuel Williams)
04:31 PM Bug #12878 (Closed): 0.49999999999999994.round is 1 and not 0 on Windows 64
Applied in changeset r56534.
----------
configure.in: no round in x64-mingw
* configure.in (ac_cv_func_round): roun...
nobu (Nobuyoshi Nakada)
06:22 AM Bug #12878: 0.49999999999999994.round is 1 and not 0 on Windows 64
JFYI if we stick to 64bit representation, 0.49999999999999994 is `001111111101111111111111111111111111111111111111111... shyouhei (Shyouhei Urabe)
04:31 PM Revision 1e63aafe (git): configure.in: no round in x64-mingw
* configure.in (ac_cv_func_round): round(3) in x86_64-w64-mingw32
is not accurate in an edge case. [ruby-core:7779...
nobu (Nobuyoshi Nakada)
04:01 PM Revision c72fc9f3 (git): dir.c: suppress a warning
* dir.c (to_be_ignored): remove duplicate inline modifier, and
suppress a warning by VC.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
03:17 PM Revision 64116ea9 (git): * 2016-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision 478606bf (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:04 PM Bug #12821: Object converted to Hash unexpectedly under certain method call
I get the same odd behavior with:

ruby --version ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

./r...
rrroybbbean (RRRoy BBBean)
08:44 AM Bug #12840 (Closed): Add test for Forwardable#def_delegator on private methods
Applied in changeset r56530.
----------
* test/test_forwardable.rb (TestForwardable#test_on_private_method): add tes...
shyouhei (Shyouhei Urabe)
08:43 AM Revision 58c5011b (git): * test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782] [Bug #12840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:39 AM Feature #7360: Adding Pathname#glob
The still applies to latest trunk. til (Tilmann Singer)
06:41 AM Feature #7360: Adding Pathname#glob
ping? sakuro (Sakuro OZAWA)
06:09 AM Bug #12873 (Closed): Eventmachine recompile with openssl-win64 error
Seems like a garbage issue. shyouhei (Shyouhei Urabe)
04:04 AM Feature #12810 (Assigned): Improve `Set#find_index` performance
Seems a design issue. Let me assign this to the library's maintainer. shyouhei (Shyouhei Urabe)
03:48 AM Feature #5531 (Closed): deep_value for dealing with nested hashes
Dan Erikson wrote:
> I believe this has recently been implemented as `Hash#dig`.
Indeed. Closing peacefully.
shyouhei (Shyouhei Urabe)
03:41 AM Feature #5903 (Closed): Optimize st_table (take 2)
Closing. Follow-up issue is #12142. shyouhei (Shyouhei Urabe)
02:57 AM Bug #12884: Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
(Just to be clear) It has nothing to do with HWIA. I can reproduce the situation without it.
```ruby
class X < H...
shyouhei (Shyouhei Urabe)
02:08 AM Revision b37af621 (git): * 2016-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:08 AM Revision 587a2460 (git): uri/generic.rb: Tidy up merge
* lib/uri/generic.rb (URI::Generic#merge): merge merge0.
[GH-1469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
12:51 AM Bug #12885 (Third Party's Issue): Large Record Set: [BUG] Segmentation fault at 0x00000000000000
Lee H wrote:
> -- C level backtrace information -------------------------------------------
> 0 libruby.2.2.0.dyl...
shyouhei (Shyouhei Urabe)

10/30/2016

11:45 PM Feature #12886: URI#merge doesn't handle paths correctly
This ticket should be re-cast as a feature request, to allow merging of two relative references.
Incidentally:
...
phluid61 (Matthew Kerwin)
11:08 PM Feature #12886 (Rejected): URI#merge doesn't handle paths correctly
I feel like this should work.
~~~
> URI.parse("/base/uri") + URI.parse("relative")
URI::BadURIError: both URI ar...
ioquatix (Samuel Williams)
11:35 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
> The fact that so many gems are introducing "`class Boolean`" is an argument FOR it not AGAI...
phluid61 (Matthew Kerwin)
11:00 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
The fact that so many gems are introducing "`class Boolean`" is an argument FOR it not AGAINST it, IMHO. Because when... ioquatix (Samuel Williams)
07:59 PM Bug #12885 (Third Party's Issue): Large Record Set: [BUG] Segmentation fault at 0x00000000000000
[BUG] Segmentation fault at 0x00000000000000
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin15]
-- Cras...
escapeit (Lee H)
12:08 PM Revision 6ce158ba (git): fix typo [ci skip]
* lib/rubygems/specification.rb: reapply 56225.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56527 b2dd03c8-39d...
nobu (Nobuyoshi Nakada)
11:57 AM Revision 577a37dd (git): Add config for *.yml [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:32 AM Revision 9a21c284 (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update
rubygems to 2.6.8.
Release note of 2.6.8: https://.com/rubygems/rubygems/commit/9fb8880976f5ab998912898b091d8...
hsbt (Hiroshi SHIBATA)
12:31 AM Bug #12881: Double-bang (!!) raises warning on string literal
This is a follow-up. I tested for the same issue with Ruby 2.4.0 preview
2. I got slightly different behavior, but...
rrroybbbean (RRRoy BBBean)
 

Also available in: Atom