Project

General

Profile

Activity

From 08/09/2016 to 08/15/2016

08/15/2016

10:21 PM Bug #12678 (Closed): No way to set a timeout for TLS handshake when using Net::SMTP
When establishing a connection to an SMTP server, Net::SMTP doesn't offer a way to specify a timeout for how long the... benweint (Ben Weintraub)
09:11 PM Feature #12659: Readline: expose rl_char_is_quoted_p setting
If I understand it correctly then you provide a wrapper that is currently not part of ruby readline module yes?
If...
shevegen (Robert A. Heiler)
08:00 PM Bug #12557: backport r55581 (Net::HTTP should raise error when CR/LF in a request line)
ruby_2_3 r55912 merged revision(s) 55581,55582,55880. nagachika (Tomoyuki Chikanaga)
08:00 PM Revision 55992aa4 (git): merge revision(s) 55581,55582,55880: [Backport #12557]
* lib/net/http/generic_request.rb (write_header): A Request-Line must
not contain CR or LF.
* lib/...
nagachika (Tomoyuki Chikanaga)
07:56 PM Bug #12556: backport r55579 (Net::FTP should raise error when CR/LF in a line)
ruby_2_3 r55911 merged revision(s) 55579. nagachika (Tomoyuki Chikanaga)
07:56 PM Revision 94231bdf (git): merge revision(s) 55579: [Backport #12556]
* lib/net/ftp.rb (putline): raise an ArgumentError when
CR or LF is included in a line.
git-svn-id: svn+s...
nagachika (Tomoyuki Chikanaga)
07:47 PM Bug #12488: Backport r55410 (reject too large precision in date_strftime.c)
ruby_2_3 r55910 merged revision(s) 55410. nagachika (Tomoyuki Chikanaga)
07:47 PM Revision 38e722f7 (git): merge revision(s) 55410: [Backport #12488]
* ext/date/date_strftime.c (date_strftime_with_tmx): reject too
large precision to get rid of buffer overfl...
nagachika (Tomoyuki Chikanaga)
07:37 PM Bug #12483: File.expand_path does not normalize cwd
ruby_2_3 r55909 merged revision(s) 55385,55390. nagachika (Tomoyuki Chikanaga)
07:37 PM Revision 12b6cd61 (git): merge revision(s) 55385,55390: [Backport #12483]
* file.c (append_fspath): normalize directory name to be appended
on OS X. [ruby-core:75957] [Ruby trunk B...
nagachika (Tomoyuki Chikanaga)
07:24 PM Bug #12454: Regexp: Segfault due to Invalid Read in regcomp.c : add_char_opt_map_info
ruby_2_3 r55908 merged revision(s) 55562. nagachika (Tomoyuki Chikanaga)
07:24 PM Revision ab61e5c9 (git): merge revision(s) 55562: [Backport #12454]
* regcomp.c (noname_disable_map): don't optimize out group 0
Ruby's Regexp doesn't allow normal numbered gr...
nagachika (Tomoyuki Chikanaga)
07:15 PM Bug #12446: Failure of TestM17NComb#test_str_crypt_nonstrict on cygwin
ruby_2_3 r55907 merged revision(s) 55233. nagachika (Tomoyuki Chikanaga)
07:15 PM Revision b7c5eba7 (git): merge revision(s) 55233: [Backport #12446]
* missing/crypt.c: fix size macros to use configured values
for platforms long is larger than 32bit.
...
nagachika (Tomoyuki Chikanaga)
07:06 PM Bug #12441: Segfault in mod_exp
ruby_2_3 r55906 merged revision(s) 55047. nagachika (Tomoyuki Chikanaga)
07:06 PM Revision 31dc77ae (git): merge revision(s) 55047: [Backport #12441]
* ext/openssl/ossl_bn.c (try_convert_to_bnptr): Extracted from
GetBNPtr(). This doesn't raise exception but...
nagachika (Tomoyuki Chikanaga)
07:02 PM Bug #12431: Strange behavior of String#encode('UTF-8', 'UTF-8', ...) when the encoding of the source string is not UTF-8
ruby_2_3 r55905 merged revision(s) 55181. nagachika (Tomoyuki Chikanaga)
07:02 PM Revision 9b71251e (git): merge revision(s) 55181: [Backport #12431]
* transcode.c (str_transcode0): scrub in the given encoding when
the source encoding is given, not in the e...
nagachika (Tomoyuki Chikanaga)
06:49 PM Bug #12428: OpenSSL::PKey::RSA.public_encrypt crashes ruby when initiated without key size.
ruby_2_3 r55904 merged revision(s) 55175. nagachika (Tomoyuki Chikanaga)
06:49 PM Revision 243d224f (git): merge revision(s) 55175: [Backport #12428]
* ext/openssl/ossl_pkey_dh.c (ossl_dh_compute_key): Check that the DH
has 'p' (the prime) before calling DH...
nagachika (Tomoyuki Chikanaga)
06:40 PM Bug #12411: Warnings when compiling transcode.c on cygwin
ruby_2_3 r55903 merged revision(s) 55115. nagachika (Tomoyuki Chikanaga)
06:40 PM Revision 83dc5915 (git): merge revision(s) 55115: [Backport #12411]
* transcode.c (enc_arg, str_transcode_enc_args, econv_args):
remove volatile, and add GC guards in callers....
nagachika (Tomoyuki Chikanaga)
05:56 PM Bug #11988: YAML.dump doesn't quote string starting with 0 which will be recognized as float in YAML 1.2
ruby_2_3 r55902 merged revision(s) 55497,55498,55504. nagachika (Tomoyuki Chikanaga)
05:56 PM Revision 686fbc8e (git): merge revision(s) 55497,55498,55504: [Backport #11988]
* ext/psych/*, test/psych/*: Upate psych 2.1.0
This version fixed [Bug #11988][ruby-core:72850]
* ...
nagachika (Tomoyuki Chikanaga)
04:29 PM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
`map_values`, `map_keys` and `map_pairs` seems consistent.
In addition, we are considering adding a method to crea...
matz (Yukihiro Matsumoto)
03:20 PM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Yukihiro Matsumoto wrote:
> From our discussion, we concerned `map_values` is too close to `map.values`, which has t...
marcandre (Marc-Andre Lafortune)
09:59 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Incidentally, as discussed back in #7793, the [hashmap](https://rubygems.org/gems/hashmap) gem defines #map_keys, #ma... phluid61 (Matthew Kerwin)
09:42 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
From our discussion, we concerned `map_values` is too close to `map.values`, which has totally different semantics. B... matz (Yukihiro Matsumoto)
08:11 AM Feature #12512 (Open): Import Hash#transform_values and its destructive version from ActiveSupport
reopened ticket because of naming issue.
Matz, could you close it if you finish the discussion?
ko1 (Koichi Sasada)
01:02 PM Bug #12677 (Closed): Ruby fails to build from snapshot tarball without Ruby installed
I prepared snapshot from r55901 using tool/make-snapshot, but this snapshot fails to build without Ruby installed:
...
vo.x (Vit Ondruch)
11:31 AM Revision 86006209 (git): node.c: nd_alen only in the head
* node.c (dump_array): show nd_alen field in NODE_ARRAY only in
the first node. it is nd_end in the rest nodes.
g...
nobu (Nobuyoshi Nakada)
09:05 AM Bug #12674: io/wait: not handling the case when the socket is closed before doing wait_readable/writable with timeout
Just tested on linux (x86_64-linux), same output. chucke (Tiago Cardoso)
08:01 AM Bug #12674: io/wait: not handling the case when the socket is closed before doing wait_readable/writable with timeout
this was executed on a MAC (darwin, I guess). chucke (Tiago Cardoso)
01:37 AM Bug #12674 (Feedback): io/wait: not handling the case when the socket is closed before doing wait_readable/writable with timeout
What's your platform?
~~IIRC, it depends on platforms.~~
nobu (Nobuyoshi Nakada)
08:53 AM Bug #12327: Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
What is shown if you run under valgrind? I suspect this is also #12292. rhenium (Kazuki Yamaguchi)
08:37 AM Bug #12327: Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
Hiroshi SHIBATA wrote:
> Can you try with Ruby 2.3.1?
I tried with 2.3.1 - it happens again. This is the trace:
...
jrusev (Jivko Rusev)
07:42 AM Revision 15c9e5c0 (git): * appveyor.yml: Update libressl version to 2.3.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:46 AM Revision 5e0fa644 (git): extmk.rb: no static-ext in gems
* ext/extmk.rb (extmake): extension libraries in gems cannot link
statically.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
01:59 AM Revision 93bc5024 (git): * 2016-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:59 AM Revision ab65e9d9 (git): numeric.c: round_to_nearest
* numeric.c (round_to_nearest): extract and reduce for platforms
where round is not available.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
01:48 AM Feature #12676 (Closed): Significant performance increase, and code conciseness, for prime_division method in prime.rb
I earlier posted code to simplify the prime_division method in prime.rb.
This made the code much more concise and re...
jzakiya (Jabari Zakiya)

08/14/2016

08:46 PM Feature #12675 (Closed): Code simplification and readability for prime_division method in prime.rb
I believe the following code simplification for the prime_division
method in prime.rb makes it more readable as Engl...
jzakiya (Jabari Zakiya)
02:42 PM Bug #12674 (Rejected): io/wait: not handling the case when the socket is closed before doing wait_readable/writable with timeout
I wrote the following script to show the problem:
```ruby
require 'socket'
require 'io/wait'
Thread.new do
...
chucke (Tiago Cardoso)
01:35 PM Bug #12614 (Closed): Segmentation Fault on Ruby 2.3.1
Applied in changeset r55896.
----------
id_table.c: extend, don't shrink
* id_table.c (hash_table_extend): should n...
nobu (Nobuyoshi Nakada)
06:13 AM Bug #12614: Segmentation Fault on Ruby 2.3.1
Reproduced with trunk `ruby 2.4.0dev (2016-08-14 trunk 55893) [x86_64-linux]`.
I guess it is related to method tab...
wanabe (_ wanabe)
01:35 PM Revision dfe1d4fd (git): id_table.c: extend, don't shrink
* id_table.c (hash_table_extend): should not shrink the table than
the previous capacity. [ruby-core:76534] [Bug #...
nobu (Nobuyoshi Nakada)
09:51 AM Revision 64185949 (git): gems: tk 0.1.0
* gems/bundled_gems: add gemified tk 0.1.0.
this needs `extract-gems` to build.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
05:55 AM Revision b9a82eaa (git): * object.c (InitVM_Object): Update referenced document path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:34 AM Revision 5858f6c1 (git): * 2016-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:34 AM Revision 6a59f880 (git): ChangeLog: Fix wrong date
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

08/13/2016

08:57 PM Feature #12673: Performance improvement to Prime.prime? in prime.rb
After doing more testing of alternative techniques, for CRuby and JRuby,
here are some timing results on CRuby 2.3.1...
jzakiya (Jabari Zakiya)
03:06 PM Feature #12673 (Closed): Performance improvement to Prime.prime? in prime.rb
The following code change provides a significant speed increase for Prime.prime? in prime.rb.
```
class Prime
...
jzakiya (Jabari Zakiya)
06:36 PM Feature #12648: `Enumerable#sort_by` with descending option
Yukihiro Matsumoto wrote:
> I think we are talking about two things at once.
>
> First, adding reverse (or descen...
MSP-Greg (Greg L)
02:08 PM Revision ba1ef74f (git): numeric.c: infinite recursion
* numeric.c (num_funcall0, num_funcall1): get rid of infinite
recursion in fallback methods of Numeric.
git-svn-id...
nobu (Nobuyoshi Nakada)
02:04 PM Revision 85512bdb (git): test_comparable.rb: fix clamp test
* test/ruby/test_comparable.rb (TestComparable#test_clamp): fix
test. the result which is not clamped should be th...
nobu (Nobuyoshi Nakada)
01:01 PM Revision a2a6c98e (git): win32ole.c: fix long conversion
* ext/win32ole/win32ole.c (ole_val2variant): reuse the converted
result for V_I8.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
09:00 AM Bug #12672 (Feedback): rails server
Sorry, it's preview for 2.4, not 2.3.
I suspect it may be fixed already, though.
Could you try recent snapshots?
nobu (Nobuyoshi Nakada)
08:54 AM Bug #12672 (Rejected): rails server
Why still using preview? nobu (Nobuyoshi Nakada)
04:00 AM Bug #12672 (Closed): rails server
execute app with rails5.0.1
rails server
/usr/local/lib/ruby/gems/2.4.0/gems/railties-5.0.0.1/lib/rails/app_load...
trossky (Luis Fernando Garcia)
08:01 AM Feature #12665: Faster prime? method for prime.rb std lib
Sorry if I wasn't clear. It has been committed. marcandre (Marc-Andre Lafortune)
02:10 AM Bug #12669 (Closed): syntax error at assinments of command
Applied in changeset r55888.
----------
parse.y: chained assignments
* parse.y (command_asgn, arg): fix syntax erro...
nobu (Nobuyoshi Nakada)
02:10 AM Revision 90d9255e (git): parse.y: chained assignments
* parse.y (command_asgn, arg): fix syntax errors with chained
assignment with op assign. [Bug #12669]
git-svn-id:...
nobu (Nobuyoshi Nakada)
01:52 AM Revision 5245e314 (git): parse.y: rescue modifier in rhs of op asgn
* parse.y (stmt, arg): rescue modifier in command op assignment
should be limited to rhs only. [ruby-core:75621] [...
nobu (Nobuyoshi Nakada)
01:49 AM Revision 9e778a8a (git): win32ole.c: fix long conversion
* ext/win32ole/win32ole.c (ole_val2variant): get rid of repeated
conversions and fix a compile error due to V_I8 in...
nobu (Nobuyoshi Nakada)
01:26 AM Revision ee7993af (git): getnameinfo.c: rubysocket.h for inet_ntop
* ext/socket/getnameinfo.c: needs rubysocket.h for fallback
definition of inet_ntop.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
01:21 AM Revision 2827bf1c (git): vm_insnhelper.c: fix ALWAYS_INLINE usage
* vm_insnhelper.c (vm_getivar): ALWAYS_INLINE macro needs an
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)

08/12/2016

10:54 PM Revision ab67459a (git): * 2016-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:54 PM Revision d5c2261b (git): * ext/win32ole/win32ole.c (ole_val2variant): fix integer conversion in
cygwin64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
04:28 PM Feature #12665: Faster prime? method for prime.rb std lib
Could you please provide me a technical rationale for not giving this
method consideration. I do not know what your...
jzakiya (Jabari Zakiya)
03:11 PM Bug #12630: add gem sources errors on Ruby 2.4.0-preview1
you're right.
~~~ ruby
$ ruby -ropenssl -e'puts OpenSSL::OPENSSL_VERSION, OpenSSL::OPENSSL_LIBRARY_VERSION'
Ope...
blackanger (blackanger z)
12:08 PM Feature #6559 (Closed): Set DoNotReverseLookup to true in Webrick
Applied in changeset r55881.
----------
* lib/webrick/config.rb (WEBrick::Config::General):
disable reverse lookup...
naruse (Yui NARUSE)
12:08 PM Revision bfe6bd0f (git): * lib/webrick/config.rb (WEBrick::Config::General):
disable reverse lookup by default. [ruby-core:45514] [Feature #6559]
Socket.do_not_reverse_lookup is true by defaul...
naruse (Yui NARUSE)
09:34 AM Bug #12666: Fatal error: glibc detected an invalid stdio handle
Actually, in the RHBZ, there are two comments from two glibc maintainers and both suggest to load glibc without speci... vo.x (Vit Ondruch)
08:45 AM Bug #12666: Fatal error: glibc detected an invalid stdio handle
Shyouhei Urabe wrote:
> For Fedora the patch seems OK. But I doubt if it could break on other systems like mswin. ...
naruse (Yui NARUSE)
12:38 AM Bug #12666: Fatal error: glibc detected an invalid stdio handle
For Fedora the patch seems OK. But I doubt if it could break on other systems like mswin. The fix proposed by the g... shyouhei (Shyouhei Urabe)
07:48 AM Revision 287b6a27 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:46 AM Bug #12671: Hash#to_proc result is not a lambda, but enforces arity
JRuby implements Hash#to_proc as:
```ruby
class Hash
def to_proc
method(:[]).to_proc
end
end
```
...
headius (Charles Nutter)
05:47 AM Bug #12671: Hash#to_proc result is not a lambda, but enforces arity
None-lambda doesn't mean that it never checks its arguments.
And if it's a lambda, it doesn't match the `arity` valu...
nobu (Nobuyoshi Nakada)
01:25 AM Bug #12671 (Closed): Hash#to_proc result is not a lambda, but enforces arity
```
$ ruby23 -e 'pr = {foo:1}.to_proc; puts pr.lambda?; pr.call rescue puts $!; pr.call(1, 2) rescue puts $!'
fals...
headius (Charles Nutter)
03:55 AM Revision 3ccd2a1b (git): ChangeLog: fix name in r55863 [ci skip]
* ChangeLog: fix the original patch author's name to the name
written in the patch, not "author name" in git.
[Fe...
nobu (Nobuyoshi Nakada)
03:50 AM Revision a49068f1 (git): error.c: fix newline in syntax error
* error.c (rb_syntax_error_append): fix newline in syntax error
message to the beginning, not after file name and l...
nobu (Nobuyoshi Nakada)
03:29 AM Revision d63802b3 (git): parse.y: const_decl_gen
* parse.y (const_decl_gen): extract as a function as well as
ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
03:29 AM Revision 777f15a3 (git): parse.y: assign_error
* parse.y (assign_error_gen): [ripper] rename without backref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@558...
nobu (Nobuyoshi Nakada)
02:50 AM Bug #12568: wrong ArgumentError if an array is given for instance_exec with optional argument
ruby_2_2 r55875 merged revision(s) 55609. usa (Usaku NAKAMURA)
02:50 AM Revision af4907c5 (git): merge revision(s) 55609: [Backport #12568]
* vm_args.c (setup_parameters_complex): don't raise ArgumentError
if an array is given for instance_exec wi...
U.Nakamura
02:46 AM Bug #12557: backport r55581 (Net::HTTP should raise error when CR/LF in a request line)
ruby_2_2 r55874 merged revision(s) 55581,55582. usa (Usaku NAKAMURA)
02:46 AM Revision 26df8ea5 (git): merge revision(s) 55581,55582: [Backport #12557]
* lib/net/http/generic_rquest.rb (write_header): A Request-Line must
not contain CR or LF.
git-svn-id: sv...
U.Nakamura
02:43 AM Bug #12556: backport r55579 (Net::FTP should raise error when CR/LF in a line)
ruby_2_2 r55873 merged revision(s) 55579. usa (Usaku NAKAMURA)
02:43 AM Revision 9bfab3c1 (git): merge revision(s) 55579: [Backport #12556]
* lib/net/ftp.rb (putline): raise an ArgumentError when
CR or LF is included in a line.
git-svn-id: svn+s...
U.Nakamura
02:35 AM Bug #12503: Backport r55427 (fix heap overflow in tr_trans)
ruby_2_2 r55872 merged revision(s) 55427. usa (Usaku NAKAMURA)
02:35 AM Revision 9fbd5955 (git): merge revision(s) 55427: [Backport #12503]
* string.c (tr_trans): consider terminator length and fix heap
overflow. reported by Guido Vranken <guido ...
U.Nakamura

08/11/2016

07:26 PM Bug #12401: compile fails --with-static-linked-ext
ruby_2_3 r55871 merged revision(s) 55434. nagachika (Tomoyuki Chikanaga)
07:26 PM Revision 72e63983 (git): merge revision(s) 55434: [Backport #12401]
* common.mk (build-ext), ext/extmk.rb: use variable EXTENCS
different than ENCOBJS, to get rid of circular ...
nagachika (Tomoyuki Chikanaga)
07:13 PM Bug #12398: process.c compile broken for noMMU architectures on 2.3.x
ruby_2_3 r55870 merged revision(s) 55090,55091. nagachika (Tomoyuki Chikanaga)
07:13 PM Revision 395340fa (git): merge revision(s) 55090,55091: [Backport #12398]
io.c: conditionally used functions
* io.c (pipe_atexit): only used on Windows
* io.c (rb_execarg_fi...
nagachika (Tomoyuki Chikanaga)
06:58 PM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
ruby_2_3 r55869 merged revision(s) 54142,55500. nagachika (Tomoyuki Chikanaga)
06:58 PM Revision 8dc8bba4 (git): merge revision(s) 54142,55500: [Backport #12353]
assertions.rb: fix result of assert_nothing_raised
* test/lib/test/unit/assertions.rb (assert_nothing_raised...
nagachika (Tomoyuki Chikanaga)
06:39 PM Bug #12345: A module's private constants are given with `Module#constant(false)`
ruby_2_3 r55868 merged revision(s) 55705. nagachika (Tomoyuki Chikanaga)
06:39 PM Revision 717f31e0 (git): merge revision(s) 55705: [Backport #12345]
* variable.c (rb_local_constants_i): exclude private constants
when excluding inherited constants too. [Bu...
nagachika (Tomoyuki Chikanaga)
06:30 PM Bug #12342: DRb.stop_service doesn't kill sleeping TimerIdConv threads
ruby_2_3 r55867 merged revision(s) 55008. nagachika (Tomoyuki Chikanaga)
06:30 PM Revision c20b07d5 (git): merge revision(s) 55008: [Backport #12342]
* lib/drb/timeridconv.rb: don't use keeper thread. [Bug #12342]
* test/drb/ut_timerholder.rb: ditto.
git-s...
nagachika (Tomoyuki Chikanaga)
05:58 PM Bug #12292: Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault
ruby_2_3 r55866 merged revision(s) 55100. nagachika (Tomoyuki Chikanaga)
05:58 PM Revision 88d76cfd (git): merge revision(s) 55100: [Backport #12292]
* ext/openssl/ossl_ssl.c (ossl_ssl_stop): Don't free the SSL struct
here. Since some methods such as SSLSoc...
nagachika (Tomoyuki Chikanaga)
03:00 PM Revision 6a7e766f (git): * 2016-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision afd800fd (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:36 PM Bug #11846: Block passed by &block is GC-ed
I guess this is a same problem with #11750 suggested by `git bisect`.
If so, it is since r51243 and fixed at r53144....
wanabe (_ wanabe)
12:30 PM Bug #12670 (Closed): Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
1. Create test.rb this code
~~~ ruby
require 'rmagick'
include Magick
(0..10).each do |_|
ImageList.new('1...
ShockwaveNN (Pavel Lobashov)
09:32 AM Bug #12669 (Closed): syntax error at assinments of command
Related to #12402, I found other kind inconsistencies.
simple assignment and op assign of `command` cause syntax e...
nobu (Nobuyoshi Nakada)
07:24 AM Feature #10594 (Closed): Comparable#clamp
Applied in changeset r55863.
----------
Comparable#clamp
* compar.c (cmp_clamp): Introduce Comparable#clamp. [Feat...
nobu (Nobuyoshi Nakada)
07:24 AM Revision d5a0b8e3 (git): Comparable#clamp
* compar.c (cmp_clamp): Introduce Comparable#clamp. [Feature #10594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
07:23 AM Feature #12593 (Rejected): Allow compound assignements to work when destructuring arrays
I am not going to make multiple assignments even more complex.
The behavior of OP_ASGN for multiple assignments is n...
matz (Yukihiro Matsumoto)
07:20 AM Revision b8ad9535 (git): compar.c: utility functions
* compar.c (rb_cmp): call comparison method by predefiend ID.
* compar.c (cmpint): returns compared result.
git-svn...
nobu (Nobuyoshi Nakada)
06:19 AM Feature #12655: Accessing the method visibility
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12655 nobu (Nobuyoshi Nakada)
05:18 AM Bug #12668 (Closed): Please backport r53433
I quite often encounter error:
```
1) Failure:
TC_OpenStruct#test_accessor_defines_method [/builddir/build/BUI...
vo.x (Vit Ondruch)
02:32 AM Revision c93875e6 (git): parse.y: node_assign
* parse.y (stmt, command_asgn): unifiy parser and ripper code by
node_assign macro.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:20 AM Revision a2b06fe4 (git): parse.y: backref_assign_error
* parse.y (backref_assign_error): unify parser and ripper code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55...
nobu (Nobuyoshi Nakada)
02:12 AM Revision 76e8f883 (git): parse.y: const declaration macro
* parse.y (const_decl): unify parser and ripper code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55859 b2dd03...
nobu (Nobuyoshi Nakada)
01:39 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
This may be of interest: Guido van Rossum recently reopened the Python version of this request and is going to add ta... sbaird (Simon Baird)
01:24 AM Revision 0859c42b (git): parse.y: const field macros
* parse.y (const_path_field, top_const_field): unify parser and
ripper code.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)

08/10/2016

11:33 PM Bug #12667 (Closed): full_gem_path is incorrect for core modules
`#find_full_gem_path` [assumes all gems are in `gems_dir`](https://github.com/ruby/ruby/blob/trunk/lib/rubygems/basic... jeffreyc (Jeff C)
08:36 PM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Yukihiro Matsumoto wrote:
> Benoit,
>
> The name and behavior haven't fixed yet. So we welcome discussion.
>
>...
Eregon (Benoit Daloze)
04:43 PM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
`map_values` is good, succinct and clear. 'v' is an unclear abbreviation, made worse by the existence of other method... marcandre (Marc-Andre Lafortune)
01:31 PM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Benoit,
The name and behavior haven't fixed yet. So we welcome discussion.
Your statement about "Ruby-like" is ...
matz (Yukihiro Matsumoto)
11:53 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Yes, I would say the same a few days ago about map_v being a bad name... I also prefer map_values. I just didn't say ... rosenfeld (Rodrigo Rosenfeld Rosas)
11:34 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Yukihiro Matsumoto wrote:
> `#map_v` accepted.
>
> Matz.
Will all due respect,
I think the name #map_v is not...
Eregon (Benoit Daloze)
07:54 PM Bug #12662: rb_hash_fetch() Segmentation fault on an empty hash table
I am confused. My C (please note C) program core dumps and libruby gives me an indication I found an error in Ruby an... rocco (Rocco Carbone)
06:20 PM Feature #12665 (Closed): Faster prime? method for prime.rb std lib
Ok. Let's not go more complicated than this though.
Thanks
marcandre (Marc-Andre Lafortune)
06:17 PM Revision 2bd6264c (git): * 2016-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:17 PM Revision 2401c512 (git): * lib/prime.rb: Optimize prime?
Adapted from patch by Jabari Zakiya [#12665]
* test/test_prime.rb: Improve test
git-svn-id: svn+ssh://ci.ruby-lang....
Marc-Andre Lafortune
04:30 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
ruby_2_3 r55855 merged revision(s) 55380. nagachika (Tomoyuki Chikanaga)
04:30 PM Revision a3600fc3 (git): merge revision(s) 55380: [Backport #12255]
* ext/json/lib/*.rb: Removed some comments. Because these are unnecessary
class description. [ci skip][Bug ...
nagachika (Tomoyuki Chikanaga)
04:22 PM Bug #12666 (Closed): Fatal error: glibc detected an invalid stdio handle
During build of Ruby for Fedora on PPC64, there is reported following error:
```
Fiddle::TestImport#test_io = Fat...
vo.x (Vit Ondruch)
04:19 PM Bug #12209: Array#pack("G") problem
ruby_2_3 r55854 merged revision(s) 55573. nagachika (Tomoyuki Chikanaga)
04:19 PM Revision ada634ac (git): merge revision(s) 55573: [Backport #12209]
* pack.c (pack_pack): use union instead of bare variable to ease
optimizations and avoid assigning x87 floa...
nagachika (Tomoyuki Chikanaga)
01:37 PM Revision 34336532 (git): parse.y: rhs with rescue modifier
* parse.y (command_rhs, arg_rhs): introduce new rules to reduce
repeated rules with rescue modifier.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
11:45 AM Feature #8643: Add Binding.from_hash
Thanks! rosenfeld (Rodrigo Rosenfeld Rosas)
02:57 AM Feature #8643: Add Binding.from_hash
Ticket links changed. shyouhei (Shyouhei Urabe)
11:12 AM Bug #12663: Compilation error on cygwin
Sorry, it's a commit miss. nobu (Nobuyoshi Nakada)
11:11 AM Bug #12663 (Closed): Compilation error on cygwin
Applied in changeset r55852.
----------
win32/resolv: fix for cygwin
* ext/win32/resolv/resolv.c: needs windows.h f...
nobu (Nobuyoshi Nakada)
10:39 AM Bug #12663 (Feedback): Compilation error on cygwin
These files are for `ext/win32`, not for `ext/win32/resolv`.
Could you remove `ext/win32/resolv/Makefile` and then r...
nobu (Nobuyoshi Nakada)
09:52 AM Bug #12663 (Open): Compilation error on cygwin
I'm sorry, but r55849 did not fix this at all. I still get exactly the same error messages. I'm attaching various fil... duerst (Martin Dürst)
06:35 AM Bug #12663 (Closed): Compilation error on cygwin
Applied in changeset r55849.
----------
win32/resolv: fix for cygwin
* ext/win32/resolv/resolv.c: needs windows.h f...
nobu (Nobuyoshi Nakada)
11:11 AM Revision 27863a0c (git): win32/resolv: fix for cygwin
* ext/win32/resolv/resolv.c: needs windows.h for iphlpapi.h on
cygwin. [ruby-core:76791] [Bug #12663]
* ext/win32...
nobu (Nobuyoshi Nakada)
08:26 AM Bug #12402 (Closed): Inline rescue behavior inconsistent for method calls with arguments and assignment
Applied in changeset r55851.
----------
parse.y: rescue modifier in rhs
* parse.y (command_asgn): rescue modifier i...
nobu (Nobuyoshi Nakada)
08:26 AM Revision 064ed74b (git): parse.y: rescue modifier in rhs
* parse.y (command_asgn): rescue modifier in command assignment
should be limited to rhs only. [ruby-core:75621] [...
nobu (Nobuyoshi Nakada)
06:35 AM Revision 89ab385b (git): * 2016-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:35 AM Revision 833ad92d (git): win32/resolv: fix for cygwin
* ext/win32/resolv/resolv.c: needs windows.h for iphlpapi.h on
cygwin. [ruby-core:76791] [Bug #12663]
* ext/win32/...
nobu (Nobuyoshi Nakada)
04:45 AM Feature #12655: Accessing the method visibility
We briefly looked at this issue at yesterday's developer meeting and roughly agreed that locksee should be able to be... shyouhei (Shyouhei Urabe)
04:36 AM Feature #12625: TypeError.assert, ArgumentError.assert
See also #12624, Matz do not want assertion by class. shyouhei (Shyouhei Urabe)
04:14 AM Feature #12607 (Assigned): Ruby needs an atomic integer
I heard from Koichi that he has an opinion on this. Please respond. shyouhei (Shyouhei Urabe)
04:13 AM Bug #12594: The class does not inherit from a module the modules that were included after the inclusion
I listed this issue to be looked at the yesterday's developer meeting but sadly no time was there to deeply inspect i... shyouhei (Shyouhei Urabe)
04:08 AM Feature #12586: Hash#sample
We looked at this issue at yesterday's developer meeting. I wonder if this is actually useful. The Tom&Jerry exampl... shyouhei (Shyouhei Urabe)
03:19 AM Feature #11195 (Feedback): Add "no_proxy" parameter to Net::HTTP.new
We looked at this issue at yesterday's developer meeting. We agreed this feature is good, but sadly no active mentor... shyouhei (Shyouhei Urabe)
03:15 AM Feature #12490: Remove warning on shadowing block params
We looked at this issue at yesterday's developer meeting. While myself was positive to this, Matz is not. He thinks... shyouhei (Shyouhei Urabe)
03:11 AM Feature #12497 (Assigned): GMP version of divmod may be slower
shyouhei (Shyouhei Urabe)
03:08 AM Bug #12489: hppa problems on Debian GNU/Linux
We looked at this issue at yesterday's developer meeting. Developers could not locate the bug at sight because test-... shyouhei (Shyouhei Urabe)
02:51 AM Feature #4840: Allow returning from require
We looked at this issue at yesterday's developer meeting. No problem to introduce this feature was reported, except ... shyouhei (Shyouhei Urabe)
02:36 AM Feature #6265: Remove 'useless' 'concatenation' syntax
We looked at this issue at yesterday's developer meeting. This feature was once implemented, and then removed due to... shyouhei (Shyouhei Urabe)

08/09/2016

08:09 PM Feature #12665: Faster prime? method for prime.rb std lib
The current version of the method `prime?` in the `prime.rb`
std lib replaced the older version starting with 2.3.0...
jzakiya (Jabari Zakiya)
08:06 PM Feature #12665 (Closed): Faster prime? method for prime.rb std lib
The current version of the method `prime?` in the `prime.rb`
std lib replaced the older version starting with 2.3.0...
jzakiya (Jabari Zakiya)
07:05 PM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
Yukihiro Matsumoto wrote:
> `#map_v` accepted.
At first I thought it was an "adapted form" of Hash#map like Enume...
janfri (Jan Friedrich)
08:54 AM Feature #12512 (Closed): Import Hash#transform_values and its destructive version from ActiveSupport
Applied in changeset r55847.
----------
hash.c: implement Hash#map_v and Hash#map_v!
* hash.c (rb_hash_map_v, rb_ha...
mrkn (Kenta Murata)
07:16 AM Feature #12512 (Assigned): Import Hash#transform_values and its destructive version from ActiveSupport
mrkn (Kenta Murata)
07:14 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
`#map_v` accepted.
Matz.
matz (Yukihiro Matsumoto)
01:15 AM Feature #12512: Import Hash#transform_values and its destructive version from ActiveSupport
I don't persist with the name `transform_value`.
`map_v` or `map_values` are also acceptable for me.
mrkn (Kenta Murata)
06:23 PM Feature #12664 (Closed): Multiline pretty-printing of multiline strings
With following addition
~~~ ruby
class String
def pretty_print(q)
lines = self.lines
if lines.size >...
pitr.ch (Petr Chalupa)
05:42 PM Feature #8895: Destructuring Assignment for Hash
the closest you can get to hash destructuring is via block params:
~~~ ruby
{a: 1, b: 2}.tap do |a:, b:|
end
~~~
...
bughit (bug hit)
04:41 PM Feature #12299: Add Warning module for customized warning handling
I've added a gem for lib/warning.rb (https://rubygems.org/gems/warning). jeremyevans0 (Jeremy Evans)
03:38 PM Feature #12299: Add Warning module for customized warning handling
Here is a patch that uses Warning instead of Exception::Warning, and only includes the error.c change (and a test for... jeremyevans0 (Jeremy Evans)
05:44 AM Feature #12299: Add Warning module for customized warning handling
I accept the mechanism.
I prefer `Warning` to `Exception::Warning`.
Besides that, the basic should be included in...
matz (Yukihiro Matsumoto)
02:54 PM Feature #12635 (Rejected): Shuffling/Reassigning "namespaces" more easily
Probably you want an isolated loading system like Java's or Python's. That's fine. It must be a good idea.
But I don...
matz (Yukihiro Matsumoto)
02:51 PM Bug #12662 (Rejected): rb_hash_fetch() Segmentation fault on an empty hash table
It's your bug.
`rb_hash_fetch()` raises an exception if the key is not found, and you must catch it by `rb_protect()`.
nobu (Nobuyoshi Nakada)
08:55 AM Bug #12662 (Rejected): rb_hash_fetch() Segmentation fault on an empty hash table
I am writing HTM (Hash Table Machine - a C benchmark program for hash table) and libruby aborts with
ruby: [BUG] S...
rocco (Rocco Carbone)
02:45 PM Feature #12573 (Rejected): Introduce a straightforward way to discover whether a process is running
It should be named `exist?` to be consistent with other methods in the standard libraries.
Besides that, I don't see...
matz (Yukihiro Matsumoto)
02:36 PM Feature #12626 (Rejected): Add ceiling alias for ceil on Numeric objects
Having both `ceil` (backed by UNIX tradition) and `ceiling` (better for English natives? dunno) only introduces confu... matz (Yukihiro Matsumoto)
02:33 PM Feature #12624 (Rejected): !== (other)
The explicit use of `===` for type checking is against duck typing principle.
I don't accept syntax enhancement prop...
matz (Yukihiro Matsumoto)
12:00 PM Revision 41fe7e4e (git): Remove empty directories
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:24 AM Bug #12663 (Closed): Compilation error on cygwin
I get the errors below when compiling on cygwin. The problem may already be two or three days old; I'm sorry I overlo... duerst (Martin Dürst)
08:54 AM Revision ea5184b9 (git): hash.c: implement Hash#map_v and Hash#map_v!
* hash.c (rb_hash_map_v, rb_hash_map_v_bang): impelement Hash#map_v and
Hash#map_v! [Feature #12512] [ruby-core:760...
Kenta Murata
08:51 AM Feature #12608 (Rejected): Proposal to replace unless in Ruby
I don't think proposed `guard` syntax is more readable than `unless`.
Even if some may agree with you, I doubt it's ...
matz (Yukihiro Matsumoto)
08:48 AM Feature #12637 (Rejected): Unified and consistent method naming for safe and dangerous methods
Ruby is not Scheme.
The rule is simple: every bang method should have its non-bang version, which does not modify ...
matz (Yukihiro Matsumoto)
08:39 AM Feature #12602 (Assigned): Add NilClass#to_d
mrkn (Kenta Murata)
08:37 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
It should be consistent. Will be fixed.
Matz.
matz (Yukihiro Matsumoto)
08:04 AM Feature #12508 (Feedback): Integer#mod_pow
Instead, I propose `pow(a)` and `pow(a,b)` where the latter works as `mod_pow()` here.
Matz.
matz (Yukihiro Matsumoto)
08:03 AM Bug #12521 (Closed): Syntax for retrieving argument without removing it from double-splat catch-all
I am not sure what we gain comparing to
```ruby
def controller **context
if context.key?(:name)
...
en...
matz (Yukihiro Matsumoto)
07:52 AM Revision cb18d4ba (git): * vm_insnhelper.c (vm_getivar): use always_inline because
gcc7 doesn't inline this without always_inline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55846 b2dd03c8-39d...
naruse (Yui NARUSE)
07:40 AM Feature #3511 (Closed): rb_path_to_class should call custom const_defined? methods
This is kind of autoload that sometimes cause problems.
I think it can cause issues than solving problem.
If you ha...
matz (Yukihiro Matsumoto)
07:36 AM Revision 9a9569b1 (git): test_objectspace.rb: errors in a finalizer
* test/ruby/test_objectspace.rb (test_finalizer_with_super):
adjust number of arguments to get rid of errors in a f...
nobu (Nobuyoshi Nakada)
07:06 AM Feature #11818: `Hash#compact`
Accepted.
Matz.
matz (Yukihiro Matsumoto)
06:59 AM Bug #12402 (Assigned): Inline rescue behavior inconsistent for method calls with arguments and assignment
nobu (Nobuyoshi Nakada)
06:54 AM Bug #12402: Inline rescue behavior inconsistent for method calls with arguments and assignment
I consider this is a bug. They should be consistent.
But I am not sure we can fix the issue soon. When in doubt, put...
matz (Yukihiro Matsumoto)
06:44 AM Feature #8539 (Closed): Unbundle ext/tk
Applied in changeset r55844.
----------
* ext/tk: Tk is removed from stdlib. [Feature #8539]
https://github.com/r...
naruse (Yui NARUSE)
06:44 AM Revision 303dc3c5 (git): * ext/tk: Tk is removed from stdlib. [Feature #8539]
https://github.com/ruby/tk is the new upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55844 b2dd03c8-39d...
naruse (Yui NARUSE)
06:42 AM Bug #12466 (Rejected): Enumerable should yield multiple values when possible
This idea sounds nice, but we have to keep compatibility.
Matz.
matz (Yukihiro Matsumoto)
06:26 AM Feature #12648: `Enumerable#sort_by` with descending option
I think we are talking about two things at once.
First, adding reverse (or descending) option to `sort_by`.
I thi...
matz (Yukihiro Matsumoto)
06:13 AM Feature #12374 (Closed): SingletonClass
I don't think the idea itself is meaningless.
But its use-case is not clear to us yet.
(For the record, Singleton...
matz (Yukihiro Matsumoto)
05:55 AM Feature #10594: Comparable#clamp
I accept the idea of `#clamp` as `Comparable#clamp(min, max)`.
It would not accept ranges (for now).
Matz.
matz (Yukihiro Matsumoto)
05:05 AM Revision f82df94f (git): tcltklib.c: repeated checks and conversions [ci skip]
* ext/tk/tcltklib.c (ip_init): get rid of repeated checks and
conversions in StringValueCStr.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
05:05 AM Revision 3f640186 (git): tcltklib.c: use StringValueCStr [ci skip]
* ext/tk/tcltklib.c (set_max_block_time, tcl_protect_core,
ip_init, ip_create_slave_core, get_obj_from_str,
ip_ca...
nobu (Nobuyoshi Nakada)
05:05 AM Revision 56689eac (git): tcltklib.c: use PRIsVALUE [ci skip]
* ext/tk/tcltklib.c (set_max_block_time): use PRIsVALUE to get rid
of dangling pointer.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
05:05 AM Revision 0d15e30a (git): tcltklib.c: missing break [ci skip]
* ext/tk/tcltklib.c (set_max_block_time): fix missing break.
TclTkLib.set_max_block_time(1) works but
TclTkLib.se...
nobu (Nobuyoshi Nakada)
01:42 AM Revision d8d78f07 (git): tcltk.rb: suppress a warning [ci skip]
* ext/tk/lib/tcltk.rb (TclTkWidget#initialize): suppress an
"assigned but unused variable" warning.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
01:42 AM Revision ed3139b7 (git): tcltklib/sample2.rb: use attr_accessor [ci skip]
* ext/tk/sample/tcltklib/sample2.rb (Othello::BoardView::Square):
use attr_accessor instead of attr with optional b...
nobu (Nobuyoshi Nakada)
01:42 AM Revision 5a80f0c5 (git): use true and false [ci skip]
* ext/tk/lib/tk/texttag.rb, ext/tk/sample/tcltklib/sample2.rb,
ext/tk/sample/tkline.rb, ext/tk/sample/tktimer.rb: u...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom