Project

General

Profile

Activity

From 11/10/2016 to 11/16/2016

11/16/2016

11:33 PM Bug #12946 (Closed): net-http is breaking valid http headers like HTTP2-Settings
Tiago Cardoso wrote:
> I guess we can close this.
Done.
duerst (Martin Dürst)
09:51 PM Bug #12946: net-http is breaking valid http headers like HTTP2-Settings
You are right. I just tried with http://nghttp2.org, which supports upgrade-to-http2 http1 requests, and it worked we... chucke (Tiago Cardoso)
08:28 AM Bug #12946: net-http is breaking valid http headers like HTTP2-Settings
Tiago Cardoso wrote:
> It breaks because it sends the wrong-cased http header over the wire. From plaintext upgrade-...
phluid61 (Matthew Kerwin)
07:33 AM Bug #12946: net-http is breaking valid http headers like HTTP2-Settings
It breaks because it sends the wrong-cased http header over the wire. From plaintext upgrade-to-http2:
https://hpb...
chucke (Tiago Cardoso)
06:40 PM Bug #12943: Backport r56268 to Ruby 2.3
No problem! I wasn't sure about how to open backports, so I just created a ticket. :) tenderlovemaking (Aaron Patterson)
05:48 AM Bug #12943 (Closed): Backport r56268 to Ruby 2.3
Thank you for your report!
I'll check r56268 later.
I close this ticket but it's because we (stable maintainers) tr...
nagachika (Tomoyuki Chikanaga)
04:54 PM Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
I got it. It is not simple to fix as I expected before. Thank you. xiewenwei (xie wenwei)
03:06 PM Feature #11665: Support nested functions for better code organization
Yukihiro Matsumoto wrote:
> But at least, the current behavior of nested method definition is useless. It should b...
zotherstupidguy (mohamed fouad)
02:41 PM Bug #12920: Strange NoMethodError in Time.now
ruby_2_3 r56816 merged revision(s) 56694,56698. nagachika (Tomoyuki Chikanaga)
02:30 PM Bug #12920: Strange NoMethodError in Time.now
OMG I've confirmed with the script in the description (prepend and using with Integer) and it cannot reproduce NoMeth... nagachika (Tomoyuki Chikanaga)
02:41 PM Revision 9b5c2baa (git): merge revision(s) 56694,56698: [Backport #12920]
vm_eval.c: fix refined method when prepended
* vm_eval.c (vm_call0_body): refined module should not be skipp...
nagachika (Tomoyuki Chikanaga)
02:21 PM Feature #12921: Retrieve user and password for proxy from env
> You have to understand that environment variables are in fact insecure. It is a very bad idea to store passwords ... kosaki (Motohiro KOSAKI)
11:48 AM Feature #12921: Retrieve user and password for proxy from env
You have to understand that environment variables are in fact insecure. It is a very bad idea to store passwords the... shyouhei (Shyouhei Urabe)
08:41 AM Misc #12935: Webrick: Update HTTP Status codes, share them
> Can you point to some of these examples? If there is actual use of this code in a somewhat uniform way, then it sho... zverok (Victor Shepelev)
08:19 AM Bug #11831: Undefined behavior issues
It looks like the issue popped up again.
Both ruby-2.3.2 and ruby-2.2.6 defined PLATFORM_UNALIGNED_WORD_ACCESS
unc...
octoploid (octoploid octoploid)
06:59 AM Bug #12948 (Closed): Logger does not rotate even if there is a past file to rotate.
Applied in changeset r56815.
----------
logger.rb: fix next rotate time
* lib/logger.rb (Logger::LogDevice#initiali...
nobu (Nobuyoshi Nakada)
06:02 AM Bug #12948 (Closed): Logger does not rotate even if there is a past file to rotate.
Logger shift_age is "daily".
"log" file's timestamp is yesterday or earlier.
Logger does not rotate the file.
Ru...
tsukasa.oishi (Tsukasa Oishi)
06:59 AM Revision f6e77b9d (git): logger.rb: fix next rotate time
* lib/logger.rb (Logger::LogDevice#initialize): calculate next
rotate time based on the mtime of the last existing ...
nobu (Nobuyoshi Nakada)
06:59 AM Revision 2b80941e (git): test/logger/test_logdevice.rb: heredoc styles
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:59 AM Revision 508fb9fb (git): ruby-additional.el: unquoted code block
* misc/ruby-additional.el (ruby-insert-heredoc-code-block): make
code between "begin;" and "end;" unquoted. still ...
nobu (Nobuyoshi Nakada)
06:08 AM Bug #12934 (Closed): Make compressed debug section optional
Applied in changeset r56812.
----------
configure.in: compressed debug section option
* configure.in: make compress...
nobu (Nobuyoshi Nakada)
06:07 AM Revision 708f1e74 (git): configure.in: compressed debug section option
* configure.in: make compressed debug section optional.
[ruby-core:78121] [Bug #12934]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
05:25 AM Bug #12947 (Closed): Multiline if statements behave differently than inline if statements for flip flop
Applied in changeset r56811.
----------
test_flip.rb: r56316
* test/ruby/test_flip.rb (test_input_line_number_range...
nobu (Nobuyoshi Nakada)
05:25 AM Revision 13969a2b (git): test_flip.rb: r56316
* test/ruby/test_flip.rb (test_input_line_number_range): test for
r56316. [ruby-core:78162] [Bug #12947]
git-svn-...
nobu (Nobuyoshi Nakada)
04:25 AM Revision 558c362f (git): math.c: remove needless ifdef clause
* math.c (ifdef M_PI): M_PI is eventually defined in missing.h even if math.h
doesn't supply it.
git-svn-id: svn+s...
Kenta Murata
04:25 AM Revision affa0f84 (git): complex.c: optimize Numeric#polar and Numeric#arg
* complex.c (numeric_polar): optimize for Integer, Float, and Rational.
* complex.c (numeric_arg): directly create t...
Kenta Murata
04:25 AM Revision ab9b7890 (git): rational.c: optimize Rational#abs
* rational.c (rb_rational_abs): optimize Rational#abs with the
specialized implementation.
git-svn-id: svn+ssh://c...
Kenta Murata
03:02 AM Revision b252126d (git): Fix a typo.
https://github.com/ruby/psych/commit/18d13b1df09504548feb4cb9b259fed552d6a4d5
git-svn-id: svn+ssh://ci.ruby-lang.org...
hsbt (Hiroshi SHIBATA)
02:51 AM Revision f5046e7b (git): Fixed regression of typo fix.
Picked from upstream: https://github.com/ruby/psych/commit/66fb7fb77533d0606748940288858794752d95cb
[ci skip][ruby-de...
hsbt (Hiroshi SHIBATA)

11/15/2016

11:35 PM Bug #12947: Multiline if statements behave differently than inline if statements for flip flop
s/it behaves like a regex/it behaves like a range/ josh.cheek (Josh Cheek)
11:31 PM Bug #12947 (Closed): Multiline if statements behave differently than inline if statements for flip flop
For an inline if statement, a numerical range literal in a conditional behaves like flip flop matching against `$.`
...
josh.cheek (Josh Cheek)
11:29 PM Bug #12946: net-http is breaking valid http headers like HTTP2-Settings
Tiago Cardoso wrote:
> The Net::HTTPHeader can't process the `HTTP2-Settings` header, which is a valid header destin...
phluid61 (Matthew Kerwin)
09:56 PM Bug #12946 (Closed): net-http is breaking valid http headers like HTTP2-Settings
The Net::HTTPHeader can't process the `HTTP2-Settings` header, which is a valid header destined to pass base64-encode... chucke (Tiago Cardoso)
10:28 PM Bug #11531: IPAddr#== implements wrong logic
> it does not consider a difference in netmasks as significant
IPAddr.new isn't consistent with this principle:
...
bjmllr (Ben Miller)
10:27 PM Bug #12942 (Third Party's Issue): about psych 2.2.0
>README.rdoc も README.md もないようですが、良いのでしょうか?
default gem なのでそういうものだと思います。
>typo 修正が戻ってしまっているっぽい変更も気になります。
ups...
hsbt (Hiroshi SHIBATA)
03:14 PM Bug #12942 (Third Party's Issue): about psych 2.2.0
r56773 https://github.com/ruby/ruby/commit/4e70bae2bc9253fb91ae6c95bbe8e01e38d8d3df の ext/psych/psych.gemspec の差分には R... znz (Kazuhiro NISHIYAMA)
09:21 PM Misc #12935: Webrick: Update HTTP Status codes, share them
Thoroughness aside, what would be the best approach? Having it in a gem is the easiest way, but it's an extra depende... chucke (Tiago Cardoso)
05:39 AM Misc #12935: Webrick: Update HTTP Status codes, share them
Martin Dürst wrote:
>
> Can you point to some of these examples? If there is actual use of this
> code in a so...
phluid61 (Matthew Kerwin)
04:21 AM Misc #12935: Webrick: Update HTTP Status codes, share them
On 2016/11/15 04:03, [email protected] wrote:
> Issue #12935 has been updated by Victor Shepelev.

> * Now...
duerst (Martin Dürst)
08:31 PM Bug #12945 (Closed): Use-after-free in vm_trace.c
When running ruby 2.4's tests on OpenBSD amd64, I've been getting occasional bus errors. I've only been getting them... jeremyevans0 (Jeremy Evans)
08:14 PM Feature #12944 (Closed): Change Kernel#warn to call Warning.warn
Currently, Kernel#warn is basically the same as $stderr.puts. With the new Warning.warn support in ruby 2.4, it make... jeremyevans0 (Jeremy Evans)
05:56 PM Feature #12928: Use socket conect_timeout in net stdlib for open_timeout

I changed the codes. Removed TCPSocket.for_fd and used socket directly now.
But I am no idea for DNS resolution ti...
xiewenwei (xie wenwei)
05:25 PM Bug #12943 (Closed): Backport r56268 to Ruby 2.3
r56268 fixes a bug in the way `RubyVM::InstructionSequence.compile_file(path)` deals with syntax errors. I'm trying ... tenderlovemaking (Aaron Patterson)
03:04 PM Revision 0fe793cf (git): * 2016-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 9f350bd7 (git): Fix regexp and typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:47 PM Feature #12898: String#match? method in addition to Regexp#match?
I just opened a pull request to add this behaviour: https://github.com/ruby/ruby/pull/1483
It surprised me that hi...
herwin (Herwin W)
01:41 PM Bug #12920: Strange NoMethodError in Time.now
This problem happens with Ruby 2.3.2.
~~~
% cat a.rb
Fixnum.prepend(Module.new)
Module.new do
refine Fixnum ...
kyanagi (Kouhei Yanagita)
01:41 PM Revision acec934e (git): * version.h: Bump up version to 2.2.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@56803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:44 PM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Samuel Williams wrote:
> If that's the only issue holding back this feature.
Sadly no. The reason why this is no...
shyouhei (Shyouhei Urabe)
12:43 PM Revision c3d5ab8f (git): * version.h: Bump up version to 2.3.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:42 PM Revision ed83af60 (git): Use rb_mod_name instead of classname
classname() is static function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56801 b2dd03c8-39d4-4d8f-98ff-823f...
naruse (Yui NARUSE)
11:17 AM Bug #12940 (Rejected): MAC OS Sierra - RUBY RVM not working
You mixed Ruby 2.0.0 and 2.3.0. Do check your environment with rvm. hsbt (Hiroshi SHIBATA)
08:07 AM Bug #12940 (Rejected): MAC OS Sierra - RUBY RVM not working
Its very critical I am to work with any gems in my mac.
**Below is the terminal error:**
-- Control frame in...
masoomulhaqs (Masoom S)
10:19 AM Bug #12941 (Closed): malloc: *** error for object 0x7fb4a88d2320: pointer being freed was not allocated
I am _occasionally_ seeing issues like this:
~~~
ruby /Users/plundberg/.rvm/gems/ruby-2.3.1/bin/rspec(63837,0x7ff...
perlun (Per Lundberg)
08:16 AM Revision af36e316 (git): ftp.rb: use Addrinfo interfaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
06:33 AM Bug #11810: [PATCH] OpenSSL::SSL::SSLcontext#{alpn,npn}_select_cb= does not work properly
ruby_2_2 r56798 merged revision(s) 53064. usa (Usaku NAKAMURA)
06:33 AM Revision 30238f96 (git): merge revision(s) 53064: [Backport #11810]
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): fix parsing
protocol list.
The protocol list...
U.Nakamura
06:28 AM Revision c4e66045 (git): complex.c: purge id_eqeq_p and limit return value
* complex.c (f_eqeq_p): use rb_equal.
* complex.c (nucomp_eqeq_p): limit return value to true or false,
instead of...
nobu (Nobuyoshi Nakada)
06:16 AM Feature #12929 (Assigned): ternary should look ahead w/in a block (and not care about newlines)
It is not a bug, and easy to extend the parser to allow that syntax, but doesn't look nice to me.
nobu (Nobuyoshi Nakada)
05:55 AM Feature #12931: Add support for Binding#instance_eval
Nobuyoshi Nakada wrote:
> Since local variables and constants depend on the context, it won't be able to be "cached,...
ioquatix (Samuel Williams)
01:39 AM Revision 6394b63d (git): socket.rb: remove closed checks
* ext/socket/lib/socket.rb: remove unnecessary closed checks,
close on closed socket no longer raises an exception....
nobu (Nobuyoshi Nakada)
01:39 AM Revision 9d6569ff (git): ftp.rb: use Addrinfo
* lib/net/ftp.rb (sendport, makeport, makepasv, BufferedSocket):
use Addrinfo interfaces.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
12:36 AM Bug #12939: MRI crashes when a hash table becomes huge
Thanks, committed as r56793 normalperson (Eric Wong)
12:27 AM Bug #12939 (Closed): MRI crashes when a hash table becomes huge
Applied in changeset r56793.
----------
st.c: fix crashes on huge hash tables
From: Vladimir Makarov <vmakarov@redh...
Anonymous
12:27 AM Revision f46a43fc (git): st.c: fix crashes on huge hash tables
From: Vladimir Makarov <[email protected]>
By Vladimir's estimation, this requires at least 64 GB of memory
to rep...
Eric Wong

11/14/2016

11:03 PM Bug #12939 (Closed): MRI crashes when a hash table becomes huge
Checking huge hash tables on the trunk, I found a bug in my code.
Here is the test case:
```
h = {}; 0x100000000...
vmakarov (Vladimir Makarov)
09:31 PM Bug #12938 (Closed): forwardable.rb is no longer compatible with any alternative implementation
The following commits have made forwardable.rb unusable on any implementation except MRI, because they use YARV-speci... headius (Charles Nutter)
09:00 PM Misc #12937 (Closed): [PATCH] webrick/server: simplify Daemon.start
Process.daemon exists since Ruby 1.9.1 and does most of what we need.
* lib/webrick/server.rb (Daemon.start): simp...
normalperson (Eric Wong)
08:41 PM Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
[email protected] wrote:
> net/http, net/pop, net/smtp and net/ftp use `Timeout.timeout` to calculate connect_tim...
normalperson (Eric Wong)
05:20 PM Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
The codes are updated. I use Socket.tcp now. Socket.tcp returns Socket instance. So I need to convert it to TCPSocket... xiewenwei (xie wenwei)
07:39 PM Revision 30dcac04 (git): * test/thread/test_queue.rb: Give up to ten seconds for threads to
reach expected state before proceeding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56792 b2dd03c8-39d4-4d8f-9...
headius (Charles Nutter)
07:27 PM Revision 20ea1279 (git): * 2016-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:27 PM Revision c56fa0e2 (git): * test/ruby/test_module.rb: Method tables are not guaranteed to be
ordered.
* test/ruby/test_struct.rb: Ditto.
* test/ruby/test_thread.rb: Thread locals are not guaranteed to be
ordere...
headius (Charles Nutter)
07:03 PM Misc #12935: Webrick: Update HTTP Status codes, share them
My 5c:
* It seems really reasonable to have centralized repo of status codes;
* I am not sure it should be in std...
zverok (Victor Shepelev)
05:21 PM Misc #12935 (Closed): Webrick: Update HTTP Status codes, share them
I was looking for a common source of http status-to-reason map in ruby, and I've found many sources that address the ... chucke (Tiago Cardoso)
06:58 PM Bug #12903: TestFile#test_stat fails on FreeBSD 11.0
ruby_2_2 r56789 merged revision(s) 56559,56582,56584,56585. usa (Usaku NAKAMURA)
06:16 PM Bug #12903: TestFile#test_stat fails on FreeBSD 11.0
ruby_2_3 r56785 merged revision(s) 56559,56582,56584,56585. nagachika (Tomoyuki Chikanaga)
06:58 PM Revision 3c61aab9 (git): merge revision(s) 56559,56582,56584,56585: [Backport #12903]
* test/ruby/test_file.rb (TestFile#test_stat): fix noatime case.
[ruby-core:77943] [Bug #12903]
* ...
U.Nakamura
06:54 PM Bug #12936: backport r56625 (skip if IPv6 multicast address is not available)
ruby_2_2 r56788 merged revision(s) 56625. usa (Usaku NAKAMURA)
06:10 PM Bug #12936: backport r56625 (skip if IPv6 multicast address is not available)
ruby_2_3 r56784 merged revision(s) 56625. nagachika (Tomoyuki Chikanaga)
06:08 PM Bug #12936 (Closed): backport r56625 (skip if IPv6 multicast address is not available)
バックポート管理用のチケットです。
FreeBSD 11.0 での Rinda のテストの失敗の修正です。
nagachika (Tomoyuki Chikanaga)
06:54 PM Revision 49e1e456 (git): merge revision(s) 56625: [Backport #12936]
* test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast,
test_make_socket_ipv6_multicast_hops): skip if...
U.Nakamura
06:40 PM Bug #12890: Net::HTTP should treat unexpected 1XX responses as non-final.
ruby_2_2 r56787 merged revision(s) 56596. usa (Usaku NAKAMURA)
05:48 PM Bug #12890: Net::HTTP should treat unexpected 1XX responses as non-final.
ruby_2_3 r56782 merged revision(s) 56596. nagachika (Tomoyuki Chikanaga)
06:40 PM Revision bb5114bc (git): merge revision(s) 56596: [Backport #12890]
* lib/net/http.rb (transport_request): other than HTTPContinue
in 1xx (HTTPInformation) also needs to conti...
U.Nakamura
06:37 PM Bug #12925: terminated by signal SIGSEGV (Address boundary error)
ruby_2_2 r56786 merged revision(s) 56766,56767. usa (Usaku NAKAMURA)
05:36 PM Bug #12925: terminated by signal SIGSEGV (Address boundary error)
ruby_2_3 r56781 merged revision(s) 56766,56767. nagachika (Tomoyuki Chikanaga)
02:32 AM Bug #12925: terminated by signal SIGSEGV (Address boundary error)
Refinements and aliases are red herring.
All versions have this bug.
```
$ ruby1.9 -e 'class Exception; undef ba...
nobu (Nobuyoshi Nakada)
06:37 PM Revision 6140b395 (git): merge revision(s) 56766,56767: [Backport #12925]
error.c: rb_get_backtrace
* error.c (rb_get_backtrace): move from eval_error.c to call
exc_backtrace direc...
U.Nakamura
06:15 PM Revision 6b241785 (git): merge revision(s) 56559,56582,56584,56585: [Backport #12903]
* test/ruby/test_file.rb (TestFile#test_stat): fix noatime case.
[ruby-core:77943] [Bug #12903]
* ...
nagachika (Tomoyuki Chikanaga)
06:10 PM Revision 49b15b21 (git): merge revision(s) 56625: [Backport #12936]
* test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast,
test_make_socket_ipv6_multicast_hops): skip if...
nagachika (Tomoyuki Chikanaga)
05:59 PM Bug #12876: Calling new hangs Ruby when class prepends an empty module and makes initialize method public
ruby_2_3 r56783 merged revision(s) 56520. nagachika (Tomoyuki Chikanaga)
05:59 PM Revision 639eff2e (git): merge revision(s) 56520: [Backport #12876]
* vm_eval.c (vm_call0_body): follow the original class, not to
loop the prepended module. [ruby-core:77784...
nagachika (Tomoyuki Chikanaga)
05:48 PM Revision edf505a7 (git): merge revision(s) 56596: [Backport #12890]
* lib/net/http.rb (transport_request): other than HTTPContinue
in 1xx (HTTPInformation) also needs to conti...
nagachika (Tomoyuki Chikanaga)
05:36 PM Revision 61b9d4a2 (git): merge revision(s) 56766,56767: [Backport #12925]
error.c: rb_get_backtrace
* error.c (rb_get_backtrace): move from eval_error.c to call
exc_backtrace direc...
nagachika (Tomoyuki Chikanaga)
03:37 PM Bug #12934: Make compressed debug section optional
I am just extracting some bits of discussion in the RPM [1] ticket:
```
--- Additional comment from Mark Wielaard...
vo.x (Vit Ondruch)
01:00 PM Bug #12934: Make compressed debug section optional
Forgot to link the RPM ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1394759 vo.x (Vit Ondruch)
12:37 PM Bug #12934 (Closed): Make compressed debug section optional
r56445 introduces "--compress-debug-sections=zlib" flag to compress the debug section. Unfortunately, it seems that t... vo.x (Vit Ondruch)
12:44 PM Bug #12927: SIGSEGV during GC marking of sym procs
I think r55766 introduces too big changes and I cannot backport it to the stable branches.
https://github.com/ruby/r...
nagachika (Tomoyuki Chikanaga)
09:30 AM Feature #12929: ternary should look ahead w/in a block (and not care about newlines)
Martin Dürst wrote:
> In Ruby, all operators have to be written at the end of the line to make it possible to distin...
mutantkeyboard (Antonio Nesic)
04:39 AM Feature #12929: ternary should look ahead w/in a block (and not care about newlines)
In Ruby, all operators have to be written at the end of the line to make it possible to distinguish between complete ... duerst (Martin Dürst)
07:59 AM Revision 9ec0f8b7 (git): net/ftp.rb: kwargs
* lib/net/ftp.rb (Net::FTP#open_socket): use keyword argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@567...
nobu (Nobuyoshi Nakada)
07:53 AM Revision dad23822 (git): net/protocol.rb: kwargs
* lib/net/protocol.rb (Net::BufferedIO#initialize): add keyword
arguments for initial attributes.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
07:53 AM Revision bfcb3fb3 (git): socket.rb: kwargs
* ext/socket/lib/socket.rb (connect_{from,to}, connect): let use
keyword arguments.
* ext/socket/lib/socket.rb (So...
nobu (Nobuyoshi Nakada)
06:19 AM Feature #12933: Add Some and Optional
Change to feature from bug saveav (Adam Pahlevi Baihaqi)
06:18 AM Feature #12933 (Closed): Add Some and Optional
What if we have Optional and None as a class, and which we can use like this:
```ruby
have_data = Optional(5).get...
saveav (Adam Pahlevi Baihaqi)
06:16 AM Bug #12932 (Third Party's Issue): [BUG] Segmentation fault at 0x00000000000078
After runing Sidekiq and Elasticsearch-rb in 10 threads, I got this page
~~~
-- Crash Report log information ----...
NaixSpirit (Naix Spirit)
05:18 AM Bug #12930 (Closed): instance_eval, instance_exec raises TypeError on a frozen String
Applied in changeset r56777.
----------
vm_eval.c: fstring instance_eval
* vm_eval.c (singleton_class_for_eval): en...
nobu (Nobuyoshi Nakada)
05:05 AM Bug #12930 (Assigned): instance_eval, instance_exec raises TypeError on a frozen String
A string literal with `.freeze` reveals the object in the shared frozen string literal pool.
I think that shared obj...
nobu (Nobuyoshi Nakada)
05:17 AM Revision 8bc277f1 (git): vm_eval.c: fstring instance_eval
* vm_eval.c (singleton_class_for_eval): enable fstring singleton
class for instance_eval. [ruby-core:78116] [Bug #...
nobu (Nobuyoshi Nakada)
04:58 AM Feature #12931: Add support for Binding#instance_eval
Since local variables and constants depend on the context, it won't be able to be "cached," as a `Proc` compiled othe... nobu (Nobuyoshi Nakada)
03:30 AM Feature #12931 (Rejected): Add support for Binding#instance_eval
Many people would probably like to use `binding.instance_eval` when executing templates. The reason for this is becau... ioquatix (Samuel Williams)
04:06 AM Revision c0af2a16 (git): complex.c: optimize
* complex.c (f_negative_p): use rb_num_negative_p instead of funcall.
* complex.c (f_kind_of_p, f_numeric_p): cast d...
nobu (Nobuyoshi Nakada)
04:02 AM Revision 608ad215 (git): rational.c: cast to int
* rational.c (f_kind_of_p): rb_obj_is_kind_of returns Qtrue or
Qfalse always, and is safe to cast down to int.
git...
nobu (Nobuyoshi Nakada)
03:36 AM Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Nobu, thanks for that clarification. I was not aware of that.
If that's the only issue holding back this feature, ...
ioquatix (Samuel Williams)
12:40 AM Revision ce48ef2b (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:40 AM Revision 4e70bae2 (git): Update bundled psych to 2.2.0.
* Merge libyaml-0.1.7 for bundled-libyaml option.
* Update canonical url to https://github.com/ruby/psych.
git-svn-...
hsbt (Hiroshi SHIBATA)

11/13/2016

09:43 PM Bug #12930 (Closed): instance_eval, instance_exec raises TypeError on a frozen String
~~~
% ruby -ve 'p "".freeze.instance_eval "size"'
ruby 2.4.0dev (2016-11-13 trunk 56767) [x86_64-darwin15]
-e:1:in...
matsuda (Akira Matsuda)
04:43 PM Revision 975e0ef8 (git): complex.c: refactoring
* complex.c (f_zero_p): return int rather than VALUE.
* complex.c (rb_complex_mul): remove needless negate operation...
Kenta Murata
04:22 PM Revision 7c451099 (git): complex.c: refactoring
* complex.c (f_one_p): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56771 b2dd03c8-39d4-4d8f-98ff-823f...
Kenta Murata
04:22 PM Revision 91285734 (git): complex.c: refactoring and small optimization
* complex.c (nucomp_expt): optimize the access to the numerator and
denominator of a rational number.
* complex.c ...
Kenta Murata
04:21 PM Revision 9b7d28af (git): * 2016-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:21 PM Revision 9e20ee90 (git): complex.c: refactoring
* complex.c (f_addsub, k_complex_p, k_float_p): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56768 b2d...
Kenta Murata
03:32 PM Bug #12927: SIGSEGV during GC marking of sym procs
Hello Nobuyoshi Nakada,
I see you changed the backport:
But the only affected version is 2.3
Are we going to pat...
eritiro (Emiliano Ritiro)
02:28 AM Bug #12927 (Closed): SIGSEGV during GC marking of sym procs
Seems already fixed in the trunk in a different way. nobu (Nobuyoshi Nakada)
03:14 PM Feature #12929 (Rejected): ternary should look ahead w/in a block (and not care about newlines)
```ruby
foo = (bar ? 0 : 1) # works
foo = (bar ?
0 : 1) # works
foo = (bar
? 0
: 1) # doesn't work
```
ag4ve (shawn wilson)
10:32 AM Feature #12928 (Open): Use socket conect_timeout in net stdlib for open_timeout

Current net/http and net/pop use Timeout.timeout to tigger open_timeout event.
Timeout.timeout is slow. It will cr...
xiewenwei (xie wenwei)
10:05 AM Feature #12484: Optimizing Rational
Thank you very much, muraken! tad (Tadashi Saito)
09:02 AM Feature #12912: An endless range `(1..)`
JFYI I found a log of IRC conversation about this topic in Japanese, done 6 years ago: http://naruse.hateblo.jp/entry... shyouhei (Shyouhei Urabe)
05:25 AM Bug #12925 (Closed): terminated by signal SIGSEGV (Address boundary error)
Applied in changeset r56766.
----------
error.c: rb_get_backtrace
* error.c (rb_get_backtrace): move from eval_erro...
nobu (Nobuyoshi Nakada)
05:25 AM Revision 7ab8dceb (git): error.c: redefined backtrace
* error.c (rb_get_backtrace): honor redefined Exception#backtrace
method. [ruby-core:78097] [Bug #12925]
* eval.c...
nobu (Nobuyoshi Nakada)
05:25 AM Revision d432839c (git): error.c: rb_get_backtrace
* error.c (rb_get_backtrace): move from eval_error.c to call
exc_backtrace directly. [ruby-core:78097] [Bug #12925...
nobu (Nobuyoshi Nakada)
02:11 AM Revision 48d5a921 (git): readline: remove dependency on internal.h
* ext/readline/depend: remove dependency on internal.h.
* ext/readline/readline.c (readline_s_delete_text): use
rb...
nobu (Nobuyoshi Nakada)
02:04 AM Revision ffa371d9 (git): numeric.c: limit return value
* numeric.c (num_equal): limit return value to true or false,
instead of the result of the other as-is.
git-svn-id...
nobu (Nobuyoshi Nakada)
01:51 AM Revision 97803e22 (git): purge id_eqeq_p
* rational.c (f_{eqeq,zero,one,minus_one}_p, nurat_eqeq_p): use
rb_equal. this function returns Qtrue or Qfalse al...
nobu (Nobuyoshi Nakada)

11/12/2016

10:24 PM Bug #12927: SIGSEGV during GC marking of sym procs
I created a PR with a proposed solution:
https://github.com/ruby/ruby/pull/1479
eritiro (Emiliano Ritiro)
10:16 PM Bug #12927 (Closed): SIGSEGV during GC marking of sym procs
After we migrated from Ruby 2.2.4 to Ruby 2.3.1 we started seeing a Segmentation Fault. This happens when the GC call... eritiro (Emiliano Ritiro)
08:30 PM Feature #12926 (Closed): -l flag for line end processing should use chomp! instead of chop!
Using `chop!` can mess up the final line of input because it may not end in a line-end character.
```
printf a\\n...
josh.cheek (Josh Cheek)
06:42 PM Revision b027b019 (git): complex.c: refactoring
* complex.c: refactor to use some specific macros and
to reduce needless conversion by FIX2LONG.
* complex.c (k_fi...
Kenta Murata
04:43 PM Feature #12484 (Closed): Optimizing Rational
I've merged all of your commits into trunk with some modifications.
The commits exist between r56695 and r56761.
mrkn (Kenta Murata)
04:29 PM Revision b5be78c6 (git): rational.c: refactoring
* rational.c: use RB_INTEGER_TYPE_P, RB_FLOAT_TYPE_P, and FIXNUM_ZERO_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
Kenta Murata
03:43 PM Revision e7a75830 (git): rational.c: remove f_negative_p
* rational.c (f_negative_p): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56760 b2dd03c8-39d4-4d8f-98f...
Kenta Murata
03:43 PM Revision bdd18a2c (git): rational.c: optimize Integer#lcm
* rational.c (f_div, f_mul, f_abs): optimize Integer#lcm
Author: Tadashi Saito <[email protected]>
* numeric....
Kenta Murata
03:43 PM Revision edfa67c2 (git): rational.c: optimize (-rational).rationalize(some)
* rational.c (nurat_rationalize): optimize (-rational).rationalize(some).
Author: Tadashi Saito <tad.a.digger@gmail...
Kenta Murata
03:36 PM Bug #12924 (Third Party's Issue): Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
znz (Kazuhiro NISHIYAMA)
01:04 AM Bug #12924: Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
@hsbtさんから教えてもらったのですが、10.12.2 betaで直っているようです。
私の手元でも確認しました。
Third Party's Issueで閉じてもらってもよいでしょうか。
~~~
% sw_vers...
kimuraw (Wataru Kimura)
03:07 PM Revision f3364f71 (git): * 2016-11-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision a36d273e (git): rational.c: define Rational#{negative?,positive?}
* rational.c (nurat_{negative,positive}_p): define Rational#negative?
and Rational#positive?, respectively.
Autho...
Kenta Murata
02:54 PM Revision 189ba5e0 (git): rational.c: refactoring
* rational.c (id_expt, id_fdiv, f_expt, f_fdiv, f_positive_p): removed.
Author: Tadashi Saito <[email protected]...
Kenta Murata
01:24 PM Bug #12923 (Closed): Accessing singleton_class of fstring cause assertion failure
Applied in changeset r56754.
----------
test_fstring.rb: fix exception
* test/-ext-/string/test_fstring.rb (test_si...
nobu (Nobuyoshi Nakada)
09:44 AM Bug #12923 (Assigned): Accessing singleton_class of fstring cause assertion failure
ひとまずSEGVはしないようにfstringはsingleton classを作れないようにします。
笹田さんと話したのですが、frozen object全般でsingleton classの追加を禁止したほうがよさそうという結論に...
nobu (Nobuyoshi Nakada)
09:43 AM Bug #12923 (Closed): Accessing singleton_class of fstring cause assertion failure
Applied in changeset r56747.
----------
class.c: no fstring singleton class
* class.c (singleton_class_of): prohibi...
nobu (Nobuyoshi Nakada)
05:14 AM Bug #12923: Accessing singleton_class of fstring cause assertion failure
`RBASIC_CLASS`を`rb_obj_class`にしてassertionを緩めましょうか。 nobu (Nobuyoshi Nakada)
01:24 PM Revision c62ab010 (git): test_fstring.rb: fix exception
* test/-ext-/string/test_fstring.rb (test_singleton_class): fix
expected exception class. [ruby-dev:49867] [Bug #1...
nobu (Nobuyoshi Nakada)
12:16 PM Revision cc376ee2 (git): raitonal.c: remove needless macro
* rational.c (id_lshift, f_lshift): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56753 b2dd03c8-39d4-4...
Kenta Murata
12:14 PM Revision bdfd436f (git): rational.c: optimize Float#rationalize
* rational.c (rb_flt_rationalize{,_with_prec},float_rationalize):
optimize Float#rationalize.
Author: Tadashi Sai...
Kenta Murata
11:52 AM Revision 81f16bf3 (git): rational.c: use rb_num_zerodiv instead of rb_raise_zerodiv
* rational.c (rb_raize_zerodiv): replace by rb_num_zerodiv.
Author: Tadashi Saito <[email protected]>
git-svn...
Kenta Murata
11:52 AM Revision f40607d1 (git): rational.c: optimize Float#to_r
* rational.c (float_to_r): optimize Float#to_r.
* numeric.c (rb_int_lshift): exported.
* internal.h (rb_int_lshift)...
Kenta Murata
11:51 AM Revision ffa2b006 (git): rational.c: optimize Float#{numerator,denominator}
* rational.c (float_{numerator,denominator}): optimize
Float#{numerator,denominator}.
Author: Tadashi Saito <tad....
Kenta Murata
11:51 AM Revision ea5b76a0 (git): rational.c: optimize Numeric#quo
* rational.c (numeric_quo): optimize Numeric#quo.
Author: Tadashi Saito <[email protected]>
git-svn-id: svn+s...
Kenta Murata
09:43 AM Revision ee160e68 (git): class.c: no fstring singleton class
* class.c (singleton_class_of): prohibit fstrings from creating
singleton classes.
temporary measure for [ruby-de...
nobu (Nobuyoshi Nakada)
08:16 AM Revision 2c0d3e2a (git): symbol/noninterned_name.rb
* test/-ext-/symbol/noninterned_name.rb: split from
test_inadvertent_creation.rb.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:54 AM Bug #12925 (Closed): terminated by signal SIGSEGV (Address boundary error)
When I run this code
```ruby
module SafeException
refine Exception do
alias message message
alias ...
josh.cheek (Josh Cheek)
07:32 AM Revision 04e83c53 (git): rational.c: refactor by removing needless ID vars
* rational.c (id_cmp, id_trunate): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56745 b2dd03c8-39d4-4d...
Kenta Murata
07:28 AM Revision af070554 (git): rational.c: optimize Rational#fdiv
* rational.c (nurat_fdiv): optimize Rational#fdiv.
Author: Tadashi Saito <[email protected]>
* rational.c (f_...
Kenta Murata
06:58 AM Revision 05ff2fe4 (git): rational.c: optimize Rational#to_i
* rational.c (nurat_truncate): optimize Rational#to_i.
Author: Tadashi Saito <[email protected]>
git-svn-id: ...
Kenta Murata
06:45 AM Revision 9bb30224 (git): rational.c: optimize Rational#{floor,ceil,round,truncate}
* rational.c (f_{expt10,round_common},nurat_{floor,ceil,round_half_{up,even}}):
optimize Rational#{floor,ceil,round...
Kenta Murata
06:17 AM Revision a5160c50 (git): rational.c: optimize rational.coerce(float) and float [+-*/] rational
* rational.c (nurat_coerce): optimize rational.coerce(float).
note that this makes `float [+-*/] rational` faster
...
Kenta Murata
06:12 AM Revision 0913d67f (git): pack.c: simplify
* pack.c (str_associate): remove unnecessary branch.
the argument must be a plain vanilla string object.
* pack.c ...
nobu (Nobuyoshi Nakada)
06:12 AM Revision 4e414678 (git): class.c: trivial optimization
* class.c (singleton_class_of): just copy FROZEN flag without
conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
06:12 AM Revision c937bd4a (git): .gdbinit: improve rp [ci skip]
* .gdbinit (rp): improve T_OBJECT dump. show the contents of the
instance variables table.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
06:07 AM Revision 7e7778f8 (git): rational.c: optimize construction of Rational
* rational.c (nurat_{s_new_bang,canonicalize,f_rational,s_convert}):
optimize construction of Rational from numbers...
Kenta Murata
06:07 AM Revision e5aa5906 (git): rational.c: purge f_cmp
* rational.c (f_cmp, nurat_expt): purge f_cmp.
Author: Tadashi Saito <[email protected]>
* rational.c (INT_PO...
Kenta Murata
06:07 AM Revision 2e9357e7 (git): rational.c: optimize Rational#-@
* rational.c (nurat_negate): introduced to optimize Rational#-@.
Author: Tadashi Saito <[email protected]>
gi...
Kenta Murata
02:24 AM Revision d611a7c7 (git): rational.c: optimize Rational#==
* rational.c (nurat_eqeq_p): optimize Rational#==.
Author: Tadashi Saito <[email protected]>
* numeric.c (rb_...
Kenta Murata
01:29 AM Revision fb40c377 (git): rational.c: optimize Rational#<=>
* rational.c (nurat_cmp): optimize Rational#<=>.
Author: Tadashi Saito <[email protected]>
* numeric.c (rb_in...
Kenta Murata
12:10 AM Feature #12902 (Rejected): How about Enumerable#sum uses initial value rather than 0 as default?
Jeremy Daer wrote:
> If we treated the first argument to `#sum` as the additive identity instead of "initial element...
akr (Akira Tanaka)

11/11/2016

11:16 PM Bug #12924 (Third Party's Issue): Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
macOS 10.12.1上でFiddle::TestFunction#test_nogvl_pollが失敗します。OS X 10.11では問題ありません。
2.4-preview3およびtrunk(r56725)で確認しました。
...
kimuraw (Wataru Kimura)
10:53 PM Bug #12922: backport r56682 (add the end of options to runruby.rb)
ruby_2_2 r56732 merged revision(s) 56682. usa (Usaku NAKAMURA)
04:04 PM Bug #12922: backport r56682 (add the end of options to runruby.rb)
ruby_2_3 r56721 merged revision(s) 56682. nagachika (Tomoyuki Chikanaga)
04:02 PM Bug #12922 (Closed): backport r56682 (add the end of options to runruby.rb)
バックポート管理用のチケットです。
r56682 を入れないと rubyspec のテストがこけます。
nagachika (Tomoyuki Chikanaga)
10:53 PM Revision 777cead5 (git): merge revision(s) 56682: [Backport #12922]
default.mspec: end of options
* spec/default.mspec (MSpecScript): add the end of options to
runruby.rb, to...
U.Nakamura
10:52 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_2_2 r56731 merged revision(s) 56489. usa (Usaku NAKAMURA)
04:02 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_2_3 r56720 merged revision(s) 56489. nagachika (Tomoyuki Chikanaga)
10:52 PM Revision 4ff235fe (git): merge revision(s) 56489: [Backport #12832]
* proc.c (mnew_internal): follow the original class, not to loop
the prepended module. [ruby-core:77591] [...
U.Nakamura
10:47 PM Bug #12893: trunk fails on linux with clang on test with callcc
ruby_2_2 r56730 merged revision(s) 56561. usa (Usaku NAKAMURA)
03:48 PM Bug #12893: trunk fails on linux with clang on test with callcc
ruby_2_3 r56717 merged revision(s) 56561. nagachika (Tomoyuki Chikanaga)
10:47 PM Revision 41dab622 (git): merge revision(s) 56561: [Backport #12893]
* cont.c (cont_new): disable optimization if clang's version is
3.8.0. [ruby-core:77894] [Bug #12893]
gi...
U.Nakamura
10:39 PM Bug #12909: TestProcess#test_execopts_pgroup might fail
ruby_2_2 r56729 merged revision(s) 56684. usa (Usaku NAKAMURA)
03:26 PM Bug #12909: TestProcess#test_execopts_pgroup might fail
ruby_2_3 r56714 merged revision(s) 56684. nagachika (Tomoyuki Chikanaga)
10:39 PM Revision bcfbc2bb (git): merge revision(s) 56684: [Backport #12909]
test_process.rb: fix pgroup test
* test/ruby/test_process.rb (TestProcess#test_execopts_pgroup):
use dynam...
U.Nakamura
10:37 PM Bug #12895: Backport r53533
ruby_2_2 r56728 merged revision(s) 53533. usa (Usaku NAKAMURA)
10:37 PM Revision 972c6abf (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...
U.Nakamura
10:36 PM Bug #12868: Please backport r55074 (openssl, fix ex_data index for X509_STORE_CTX)
ruby_2_2 r56727 merged revision(s) 55074. usa (Usaku NAKAMURA)
10:36 PM Revision a240b37c (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...
U.Nakamura
10:33 PM Bug #11959: Segfault during `exit' in thread initialize (Extended class).
ruby_2_2 r56726 merged revision(s) 53449. usa (Usaku NAKAMURA)
10:33 PM Revision 604f8be1 (git): merge revision(s) 53449: [Backport #11959]
* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c...
U.Nakamura
10:16 PM Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
If we treated the first argument to `#sum` as the additive identity instead of "initial element," then it'd be very c... bitsweat (Jeremy Daer)
08:31 PM Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
Martin,
I would expect the empty to act like `reduce` and return `nil`.
Akira,
I agree that doing string con...
AaronLasseigne (Aaron Lasseigne)
05:57 PM Bug #12923 (Closed): Accessing singleton_class of fstring cause assertion failure
以下のワンライナーが「Assertion Failed: string.c:343:register_fstring:RBASIC_CLASS(ret) == rb_cString」します。
./miniruby -e'#enc...
naruse (Yui NARUSE)
04:38 PM Revision d8769bff (git): rational.c: optimize Rational#**
* rational.c (nurat_expt): optimize Rational#**.
Author: Tadashi Saito <[email protected]>
* numeric.c (rb_fl...
Kenta Murata
04:18 PM Revision 75bf28bb (git): rational.c: add argument type check assertions in f_muldiv
* rational.c (f_muldiv): add assertions to check argument types
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56...
Kenta Murata
04:17 PM Revision bc431071 (git): rational.c: optimize Rational#/
* rational.c (f_muldiv, nurat_div): optimize Rational#/.
Author: Tadashi Saito <[email protected]>
git-svn-id...
Kenta Murata
04:06 PM Bug #11736: Float(arg) not consistent with documentation
ruby_2_3 r56722 merged revision(s) 56421,56422. nagachika (Tomoyuki Chikanaga)
04:06 PM Revision 627eec87 (git): merge revision(s) 56421,56422: [Backport #11736]
* object.c: Improve documentation for Integer conversion.
[ruby-core:71661][Bug #11736][ci skip]
*...
nagachika (Tomoyuki Chikanaga)
04:04 PM Revision 1f32d9f4 (git): merge revision(s) 56682: [Backport #12922]
default.mspec: end of options
* spec/default.mspec (MSpecScript): add the end of options to
runruby.rb, to...
nagachika (Tomoyuki Chikanaga)
04:02 PM Revision 4ed0c2c6 (git): merge revision(s) 56489: [Backport #12832]
* proc.c (mnew_internal): follow the original class, not to loop
the prepended module. [ruby-core:77591] [...
nagachika (Tomoyuki Chikanaga)
03:55 PM Revision 06d701a1 (git): rational.c: avoid needless object allocation with nurat_to_double
* rational.c (nurat_to_double): introduce to convert rational to double
without object allocation.
* rational.c (r...
Kenta Murata
03:49 PM Revision a42f4445 (git): merge revision(s) 56686:
Extend timeout for RubyCI chkbuild on Debian 8.2 x86_64.
On that machine, TestQueue#test_thr_kill often fail...
nagachika (Tomoyuki Chikanaga)
03:48 PM Revision bb681c49 (git): merge revision(s) 56561: [Backport #12893]
* cont.c (cont_new): disable optimization if clang's version is
3.8.0. [ruby-core:77894] [Bug #12893]
gi...
nagachika (Tomoyuki Chikanaga)
03:43 PM Revision 6feb1684 (git): fix a constant name typo in redmine-backporter.rb
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:36 PM Bug #12917 (Closed): Segfault in list_ids_bsearch
wanabe (_ wanabe)
03:20 AM Bug #12917: Segfault in list_ids_bsearch
I applied changeset r55896 to our Ruby build, and CI now experiences no segfaults. I guess it was the same bug :) P... duncan_bayne (Duncan Bayne)
03:35 PM Bug #12905: tailcall_optimization not working as expected under certain condition order
ruby_2_3 r56715 merged revision(s) 56208,56663. nagachika (Tomoyuki Chikanaga)
03:35 PM Revision c5ee9b38 (git): merge revision(s) 56208,56663: [Backport #12905]
* compile.c (iseq_peephole_optimize): enable tail call
optimization inside a conditional block.
git-svn-i...
nagachika (Tomoyuki Chikanaga)
03:26 PM Revision a6f51095 (git): merge revision(s) 56684: [Backport #12909]
test_process.rb: fix pgroup test
* test/ruby/test_process.rb (TestProcess#test_execopts_pgroup):
use dynam...
nagachika (Tomoyuki Chikanaga)
03:11 PM Revision a0f1c77a (git): * 2016-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 8fd00809 (git): rational.c: optimize rational * {float, huge rational, bignum}
* rational.c (f_muldiv, nurat_mul):
optimize rational * {float, huge rational, bignum}.
Author: Tadashi Saito <ta...
Kenta Murata
03:09 PM Bug #12580 (Closed): Difference in sprintf float rounding
OK, closing as per request. shyouhei (Shyouhei Urabe)
03:08 PM Bug #12580: Difference in sprintf float rounding
I believe, we can close this based on discussion on https://twitter.com/a_matsuda/status/796782820454580224 ? vipulnsward (Vipul Amler)
02:57 PM Revision 86ec1178 (git): rational.c: optimize rational - {float,rational}
* rational.c (f_addsub, nurat_sub): optimize rational - {float,rational}.
Author: Tadashi Saito <tad.a.digger@gmail...
Kenta Murata
02:45 PM Revision b848f3c7 (git): rational.c: optimize rational - integer
* rational.c (nurat_sub): optimize rational - integer.
Author: Tadashi Saito <[email protected]>
git-svn-id: ...
Kenta Murata
02:42 PM Revision d028d698 (git): rational.c: optimize rational + rational
* rational.c (f_addsub): optimize rational + rational.
Author: Tadashi Saito <[email protected]>
git-svn-id: ...
Kenta Murata
02:39 PM Revision 268203c5 (git): rational.c: prevent unused warning
* rational.c (f_mod): define only when NDEBUG is not defined to prevent
unused warning
git-svn-id: svn+ssh://ci.ru...
Kenta Murata
02:39 PM Revision f64a5346 (git): numeric.c, rational.c: refactor by using FIXNUM_NEGATIVE_P and FIXNUM_ZERO_P
* numeric.c (num_zero_p, fix_divide, fix_mod, fix_divmod): refactor by using
FIXNUM_NEGATIVE_P and FIXNUM_ZERO_P.
...
Kenta Murata
02:39 PM Revision 8ee8c5ee (git): rational.c: optimize Integer#gcd.
* rational.c (f_gcd_normal): optimize Integer#gcd.
Author: Tadashi Saito <[email protected]>
git-svn-id: svn+...
Kenta Murata
02:39 PM Revision dae15fa0 (git): rational.c: optimize rational + integer.
* rational.c (rb_rational_plus): optimize rational + integer.
Author: Tadashi Saito <[email protected]>
git-s...
Kenta Murata
02:38 PM Revision 70f5ad7c (git): rational.c: optimize rational + float.
* rational.c (rb_rational_plus): optimize rational + float.
Author: Tadashi Saito <[email protected]>
git-svn...
Kenta Murata
11:52 AM Bug #12915 (Closed): 1..nil can be created by Marshal.load
Applied in changeset r56703.
----------
range.c: check loading
* range.c (range_loader): check loading values if th...
nobu (Nobuyoshi Nakada)
11:52 AM Revision 54bc0a44 (git): range.c: check loading
* range.c (range_loader): check loading values if the data came
from an initialized range object. [ruby-core:78067]...
nobu (Nobuyoshi Nakada)
07:26 AM Bug #12918 (Closed): (1/nil) can be created by Marshal.load
Applied in changeset r56702.
----------
rational.c: check load
* rational.c (nurat_loader, nurat_marshal_load): che...
nobu (Nobuyoshi Nakada)
07:26 AM Revision e41ebc50 (git): rational.c: check load
* rational.c (nurat_loader, nurat_marshal_load): check if loading
values are Integer. [ruby-core:78071] [Bug #1291...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 0f9ce57b (git): rational.c: optimize
* rational.c (f_{lt,eqeq,zero,one,minus_one,kind_of}_p): add RTEST
to results of funcalls.
* rational.c (f_negativ...
nobu (Nobuyoshi Nakada)
07:08 AM Revision ac777fa1 (git): rational.c: use RB_INTEGER_TYPE_P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:31 AM Feature #12913: A way to configure the default maximum width of pp
Akira Tanaka wrote:
> pp (including pretty_inspect and PP.pp) method is used in many gems.
Note that my proposal ...
mame (Yusuke Endoh)
02:04 AM Feature #12913 (Feedback): A way to configure the default maximum width of pp
Yusuke Endoh wrote:
> In such a case, I think that "break as far as possible" would be useful.
"break as far as...
akr (Akira Tanaka)
03:04 AM Revision 19e62761 (git): Enable the document for Kernel[#.]pp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:08 AM Revision def18ca5 (git): vm_eval.c: reorder
* vm_eval.c (vm_call0_body): reorder the conditions.
[ruby-core:78073] [Bug #12920]
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)

11/10/2016

03:23 PM Revision 3e430c3a (git): rational.c: optimize Rational#to_f by using rb_int_fdiv
* rational.c (nurat_to_f): optimize Rational#to_f by using rb_int_fdiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Kenta Murata
03:23 PM Revision eb270be2 (git): * 2016-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:23 PM Revision c05cfe37 (git): numeric.c, internal.h: export int_fdiv() as rb_int_fdiv()
* numeric.c (rb_int_fdiv): export int_fdiv() as rb_int_fdiv().
* internal.h (rb_int_fdiv): add declaration of rb_int...
Kenta Murata
02:42 PM Bug #12917: Segfault in list_ids_bsearch
It might be same issue as #12614.
Would you try latest trunk or ruby_2_3 branch, or re-compiling your ruby-2.3.1 wit...
wanabe (_ wanabe)
05:10 AM Bug #12917 (Closed): Segfault in list_ids_bsearch
Intermittently (maybe every five builds or so?) my CI build is causing Ruby to crash.
I have rebuilt Ruby and debu...
duncan_bayne (Duncan Bayne)
02:18 PM Bug #12920 (Closed): Strange NoMethodError in Time.now
Applied in changeset r56694.
----------
vm_eval.c: fix refined method when prepended
* vm_eval.c (vm_call0_body): r...
nobu (Nobuyoshi Nakada)
11:36 AM Bug #12920: Strange NoMethodError in Time.now
The problem is not reproduced with ruby-2.4.0-preview2.
The problem is reproduced with ruby-2.4.0-preview3.
It se...
akr (Akira Tanaka)
10:25 AM Bug #12920 (Closed): Strange NoMethodError in Time.now
I got a strange NoMethodError in Time.now.
~~~
Integer.prepend(Module.new)
module Foo
refine Integer do
...
kyanagi (Kouhei Yanagita)
02:18 PM Revision 9996945a (git): vm_eval.c: fix refined method when prepended
* vm_eval.c (vm_call0_body): refined module should not be skipped
as prepended. [ruby-core:78073] [Bug #12920]
gi...
nobu (Nobuyoshi Nakada)
01:17 PM Feature #12921: Retrieve user and password for proxy from env
+1 oshlykov (Oleg Shlykov)
01:17 PM Feature #12921: Retrieve user and password for proxy from env
almost all console utils uses http_proxy without problems. jerry_ru (Yuri Samoilenko)
11:57 AM Feature #12921 (Closed): Retrieve user and password for proxy from env
If ENV['http_proxy'] have some like 'http://user:[email protected]:3128' Net::HTTP will send request throught prox... wolfer (Sergey Fedosov)
10:39 AM Revision 1a7aba1b (git): range.c: check if range modifiable
* range.c (range_modify): frozen object cannot be modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56693 ...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #12919 (Rejected): Net::FTP does not have a default open_timeout
Hi Ruby Community,
I have noticed an issue on Twitter sent by a friend who reported that Ruby's FTP module does no...
attilagyorffy (Attila Györffy)
07:47 AM Bug #12916 (Closed): TestRipper::Generic#test_parse_files causes SEGV
Applied in changeset r56692.
----------
parse.y: new_attr_op_assign in ripper needs symbol
* parse.y (command_asgn,...
nobu (Nobuyoshi Nakada)
03:47 AM Bug #12916 (Closed): TestRipper::Generic#test_parse_files causes SEGV
TestRipper::Generic#test_parse_files sometimes causes SEGV.
From http://rubyci.org/logs/www.rubyist.net/~akr/chkbu...
shugo (Shugo Maeda)
07:47 AM Revision 04a4fd89 (git): parse.y: new_attr_op_assign in ripper needs symbol
* parse.y (command_asgn, arg): new_attr_op_assign in ripper
expects a Symbol VALUE as the operator, not an ID, so c...
nobu (Nobuyoshi Nakada)
07:47 AM Revision 25aeeca5 (git): test_files.rb: sample size
* test/ripper/test_files.rb (assert_parse_files): extract at least
one sample.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
06:45 AM Revision 5564a498 (git): test_files.rb: separate tests
* test/ripper/test_files.rb (assert_parse_files): separate tests
for each directories.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
06:38 AM Revision 17802b55 (git): Use environment variable for system ruby detection on appveyor.
* Use ruby_version instead of 22-x64 and 21-x64
* Use 23-x64 to build Ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
hsbt (Hiroshi SHIBATA)
05:28 AM Bug #12918 (Closed): (1/nil) can be created by Marshal.load
(1/nil) can be created by Marshal.load as follows:
```
$ ./ruby -ve 'p Marshal.load("\x04\bU:\rRational[\ai\x060"...
shugo (Shugo Maeda)
03:50 AM Revision a60a7e81 (git): make-snapshot: repository options
* tool/make-snapshot: add -svn and -git options to direct the
repository to export.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
03:50 AM Revision d0f02c7f (git): make-snapshot: program name
* tool/make-snapshot (package): abort with the basename of this
script.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
03:33 AM Feature #12912: An endless range `(1..)`
Akinori MUSHA wrote:
> You could say `1.step {|n| ... }`.
Thank you, I completely forgot it. I think `step` is i...
mame (Yusuke Endoh)
03:24 AM Bug #12915 (Closed): 1..nil can be created by Marshal.load
1..nil can be created by Marshal.load as mame san stated on Twitter (https://twitter.com/mametter/status/796372577031... shugo (Shugo Maeda)
02:55 AM Bug #12914 (Closed): FTPTest#test_list_read_timeout_exceeded causes EPROTOTYPE on Mac OS X 10.10
FTPTest#test_list_read_timeout_exceeded sometimes causes EPROTOTYPE on Mac OS X 10.10.
From http://rubyci.org/logs...
shugo (Shugo Maeda)
02:23 AM Revision aaf3f205 (git): Extend timeout for RubyCI chkbuild on Debian 8.2 x86_64.
On that machine, TestQueue#test_thr_kill often fails as follows:
1) Failure:
TestQueue#test_thr_kill [/hom...
shugo (Shugo Maeda)
12:49 AM Bug #12909 (Closed): TestProcess#test_execopts_pgroup might fail
Applied in changeset r56684.
----------
test_process.rb: fix pgroup test
* test/ruby/test_process.rb (TestProcess#t...
nobu (Nobuyoshi Nakada)
12:49 AM Revision dab206ab (git): * 2016-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:49 AM Revision fb7e6e10 (git): test_process.rb: fix pgroup test
* test/ruby/test_process.rb (TestProcess#test_execopts_pgroup):
use dynamically assigned pid for the process group,...
nobu (Nobuyoshi Nakada)
12:49 AM Revision 38320caa (git): range.c: indent [ci skip]
* range.c (range_alloc): adjust indent of comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56683 b2dd03c8...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom