Activity
From 07/07/2016 to 07/13/2016
07/13/2016
-
08:05 PM Bug #12585 (Third Party's Issue): FileUtils.move leads to rb_file_s_rename Errno::EACCES: Permission denied on Windows
- Windows disallows removing open file unless it is opened with `FILE_SHARE_DELETE` flag.
Close `file` before `FileUtils.move`. -
04:34 PM Bug #12585 (Third Party's Issue): FileUtils.move leads to rb_file_s_rename Errno::EACCES: Permission denied on Windows
- In Windows 10, running as administrator:
~~~
λ C:\tools\ruby\23-x64\bin\irb.cmd
irb(main):001:0> require 'fileutils'
=> true
irb(main):002:0> FileUtils.mkdir("first_directory")
=> ["first_directory"]
irb(main):003:0> FileUtils.m... -
03:24 PM Bug #12584 (Rejected): Regexp using repetition with alternation doesn't match greedily
- 正規表現で選択子 `|` の外側で最大量指定子 `*` による繰り返しを行った場合、最大でない部分文字列にマッチしてしまうことがあるようです。
以下に再現例を示します。
ある文字列から、「区切り文字`d` 以外の文字`/[^d]/`」と「エスケープされた区切り文字`/ed/`」からなる部分文字列を抽出することを考えます。
次の例では、文字列全体にマッチするべきであるにもかかわらず、前半部分にしかマッチしていません。
~~~ ruby
"---ed---... -
02:22 PM Revision 9632e413 (git): Fix file name in comment again
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 PM Revision bdda54c0 (git): * test/json/json_common_interface_test.rb: use assert_raise instead of
- assert_raises.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:27 PM Revision 158f1e5b (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 PM Revision a7b5d454 (git): * test/lib/test/unit.rb: added test files with `_test` suffix for json
- upstream.
* test/json: merge original test files from json upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:04 AM Feature #12142: Hash tables with open addressing
- Good day, everyone.
I've updated my version of st.c and hashing patch.
Main difference in st implementation from Vladimir Makarov's patch is
usage of closed addressing instead of open addressing.
Code size approximately:
- my vers... -
09:58 AM Bug #10933: [BUG] object allocation during garbage collection phase
- Hi, just wondering that since this patch appears to fix this issue, is there a chance that somebody would provide more details how to actually systematically reproduce this issue?
-
09:09 AM Revision 2ac58e68 (git): * enc/iso_8859_9.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-9, by Kazuki Iijima.
* enc/iso_8859_9.c: Exclude dotless i/I with dot from case-insensitive
matching because they are not a case pair.
* test/ruby/enc/test_iso_8859.rb: Make test coverag... -
08:21 AM Revision 9f74ae4c (git): * enc/windows_1252.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for Windows-1252, by Serina Tai.
* test/ruby/enc/test_case_comprehensive.rb: Fix order of encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 AM Bug #12545: Ruby 2.3.1 compilation error [Windows]
- Ivan Serdyuk wrote:
> I just finished compilation attempts for VS 2008, VS 2010. win32.c compiled for all 2.x versions.
So compilation works with VS 2008 and VS 2012, but not with VS 2005?
> ...
Which files/web pages should be up... -
07:19 AM Revision 6a52a548 (git): * enc/iso_8859_7.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-7, by Kosuke Kurihara.
* test/ruby/enc/test_case_comprehensive.rb: Fix order of encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:11 AM Bug #9525: Stuck with Socket.pack_sockaddr_in
Related issue: https://bugs.ruby-lang.org/issues/9536
This problem is a big issue for Fluentd.
We hope to backport this commit to Latest Rubies.
Thanks,
[sky contact number uk@fixithere.net](http://www.fixithere.net/sky-conta...-
07:08 AM Bug #12583 (Closed): Class#instance_methods dumps core
- Applied in changeset r55663.
----------
* gc.c (gc_mark_roots): should mark the VM object itself to mark
singleton class of the VM object.
Before this patch, we only set mark bit for the VM object and
invoke mark function separate... -
05:33 AM Bug #12583 (Closed): Class#instance_methods dumps core
- 次のようにすると core を吐きます。
```
% cat tmp.rb
ObjectSpace.each_object{|o|o.singleton_class rescue 0}
ObjectSpace.each_object(Module){|o|o.instance_methods}
% lldb -- ruby -v tmp.rb
(lldb) target create "/Users/urabe.shyouhei/data/etc/r... -
07:08 AM Revision d7eb7bbc (git): * gc.c (gc_mark_roots): should mark the VM object itself to mark
- singleton class of the VM object.
Before this patch, we only set mark bit for the VM object and
invoke mark function separately.
[Bug #12583]
* test/ruby/test_gc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... - 07:03 AM Revision d42e547a (git): * math.c (_USE_MATH_DEFINES): it must be set before including internal.h
- because internal.h includes ruby.h, ruby.h includes win32.h, and
win32.h includes system's math.h.
this change is to get rid of a compiler warning (redefinition of
a macro) introduced at r55641.
git-svn-id: svn+ssh://ci.ruby-lang... -
06:32 AM Revision fc4b2d92 (git): Fix file names in comments
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:19 AM Revision b9cd6920 (git): * enc/iso_8859_1.c, enc/iso_8859_4.c: Avoid setting modification flag if
- there is no modification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:47 AM Revision 7b653bd0 (git): fix type
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:40 AM Revision e3600eac (git): * enc/iso_8859_5.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-5, by Masaru Onodera.
* test/ruby/enc/test_case_comprehensive.rb: Fix order of encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:29 AM Revision 7b59234a (git): * math.c (rb_math_sqrt): r55646 must use f_signbit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:26 AM Revision d8c3672b (git): * iseq.c (Init_ISeq): undef ISeq.translate and ISeq.load_iseq
- to prevent calling super classes' methods.
Without this patch, you can write workaround like:
class << RubyVM::InstructionSequence
def translate; end
undef translate
end
* test/ruby/test_iseq.rb: add a test.
gi... -
05:19 AM Revision bebb62e0 (git): * vm_method.c (method_entry_get_without_cache): check
- undefined method even if ruby_running is FALSE.
We haven't call "undef"ed methods before ruby_running.
So that this issue does not make troubles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55655 b2dd03c8-39d4-4d8f-98ff-823f... -
05:15 AM Revision c5682ac4 (git): * enc/windows_1254.c: Adjust variable/macro names.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:19 AM Revision 93c1109c (git): * enc/iso_8859_9.c, enc/windows_1254.c: Split Windows-1254 from
- ISO-8859-9 to be able to implement different case conversions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 AM Revision cbc94788 (git): * enc/iso_8859_7.c, enc/windows_1253.c: Split Windows-1253 from
- ISO-8859-7 to be able to implement different case conversions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision 336b6b19 (git): * enc/iso_8859_13.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-13, by Kanon Shindo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Revision 0f3d197d (git): * enc/iso_8859_13.c, enc/windows_1257.c: Split Windows-1257 from
- ISO-8859-13 to be able to implement different case conversions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:02 AM Revision fee3e72b (git): * 2016-07-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:02 AM Revision 19b5e818 (git): * enc/iso_8859_3.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-3, by Takuya Miyamoto.
* test/ruby/enc/test_case_comprehensive.rb: Extend special treatment
for Turkic.
* enc/iso_8859_3.c: Exclude dotless i/I with dot from case-insensitive
matching ...
07/12/2016
-
11:40 PM Revision 0e292561 (git): * test/ruby/enc/test_iso_8859.rb: Excluded dotless i/I with dot from
- case-insensitive matching because they are not a case pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 PM Revision 745a2aac (git): math.c: Complex sqrt
- * math.c (rb_math_sqrt): [EXPERIMENTAL] move Complex sqrt support
from mathn.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Revision 89ed4f41 (git): complex.c: rb_complex prefix
- * complex.c (rb_complex_plus, rb_complex_mul): rename to
rb_complex prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:07 PM Revision 92b98a98 (git): math.c: get_double_rshift
- * math.c (get_double_rshift): extract bignum to double conversion
with bit offset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 PM Revision 7c0cb435 (git): * revert r55642 (previous commit) because of test failure at
- https://travis-ci.org/ruby/ruby/builds/144148780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Revision 7b66f0ba (git): * enc/iso_8859_3.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-3, by Takuya Miyamoto.
* test/ruby/enc/test_case_comprehensive.rb: Extend special treatment
for Turkic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55642 b2dd03c8-39d4-4d8f-98ff-... -
12:10 PM Bug #12535: are there 2 sleep methods defined?
- I've just tried that, it's not delivering the expected result. Try this out:
~~~ruby
module AlternativeSleep
def sleep(*)
puts "going to sleep now..."
super
en... -
11:53 AM Revision fd2c613b (git): math.c: use common constants
- * math.c (math_log1, math_log10): use common math constants
instead of math function calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/11/2016
- 04:30 PM Revision 9801daf9 (git): * 2016-07-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:30 PM Revision e4a27f25 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:30 PM Revision 5e1ee25a (git): * configure.in, lib/mkmf.rb, win32/Makefile.sub (CSRCFLAG): make the
- compiler option replacable in Makefile.
* win32/Makefile.sub (OUTFLAG, COUTFLAG): ditto.
* win32/Makeile.sub, win32/setup.mak (CC): should not append `-nologo`
option forcely.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55638... -
04:03 PM Bug #12582: OpenSSL Authenticated Encryption should check for tag length
- Ok let's continue the discussion on Github: https://github.com/ruby/openssl/issues/63
Kazuki Yamaguchi wrote:
> The development of ext/openssl has moved to GitHub recently. If you have a GitHub account, could you make an issue there?
-
02:21 PM Bug #12582: OpenSSL Authenticated Encryption should check for tag length
- The development of ext/openssl has moved to GitHub recently. If you have a GitHub account, could you make an issue there?
https://github.com/ruby/openssl
I prefer keeping OpenSSL::Cipher as general as possible. I'm not sure about t... -
07:35 AM Bug #12582 (Assigned): OpenSSL Authenticated Encryption should check for tag length
- The current API for using ciphers with Authenticated Encryption (currently only AES-GCM) is rather misleading and quickly leads to subtle bugs related to the length of `auth_tag`.
In particular, the current implementation will _not_ c... -
03:51 PM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
- Matthew Kerwin wrote:
> Here is some history of this proposal:
> ...
You sir, are a much better "looker" than I ;)
well done! -
03:18 PM Bug #12563: backport 49758,50356
- ruby_2_2 r55637 merged revision(s) 49758,50356,50359.
- 03:17 PM Revision f54265a8 (git): merge revision(s) 49758,50356,50359: [Backport #12563]
- fake.rb: rubyarchhdrdir for rubyspec
* common.mk (test-rubyspec): use fake script to set header
directories.
* template/fake.rb.in (RUBYOPT): set -r option to propagate to
forked processes.
* tool/fake.rb (... -
02:38 PM Bug #12560: backport r55602
- ruby_2_2 r55636 merged revision(s) 55602.
-
02:22 PM Bug #12560: backport r55602
- ruby_2_3 r55635 merged revision(s) 55602.
- 02:38 PM Revision 3d36516d (git): merge revision(s) 55602: [Backport #12560]
- require "rbconfig/sizeof"
They may fail parallel test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 PM Revision 4431d7a7 (git): merge revision(s) 55602: [Backport #12560]
- require "rbconfig/sizeof"
They may fail parallel test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:08 PM Revision 90985c41 (git): describe RUBY_INTEGER_UNIFICATION.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:59 PM Bug #12391: backport r55063
- ruby_2_3 r55633 merged revision(s) 54168.
-
01:50 PM Revision 7dafaea0 (git): merge revision(s) 54168: [Backport #12391]
- * bignum.c (rb_big_hash): make it public function to be available in
other source files, and remove documentation comment for Bignum#hash.
* bignum.c (Bignum#hash): remove its definition because it is unified
... -
09:05 AM Revision 7253570a (git): * enc/iso_8859_1.c: Moved test for lowercase characters without
- uppercase equivalent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:50 AM Bug #12549: List files with CC0 license in LEGAL file
- > And missing/strerror.c.
> ...
Yes, its file is included too. Thanks, I missed it. and the grep options looks better than "sort | uniq". I will take a note of it. :)
-
08:49 AM Revision b5d869a8 (git): * enc/iso_8859_4.c, enc/iso_8859_10.c, enc/iso_8859_14.c,
- enc/iso_8859_15.c, enc/iso_8859_16.c: Replace case-by-case code with
lookup in ENC_ISO_8859_xx_TO_LOWER_CASE table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Misc #12529: LEGAL file covering all the license information within Ruby
- > Shouldn't add UCD license section?
Sorry I am not sure your meaning "UCD license section". Could you tell me more about it?
-
07:25 AM Misc #12529: LEGAL file covering all the license information within Ruby
- Shouldn't add UCD license section?
-
07:18 AM Bug #12552 (Feedback): You may have encountered a bug in the Ruby interpreter or extension libraries.
- Try 2.3.1, and please post the whole log.
- 07:00 AM Revision f12e9cea (git): * 2016-07-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:00 AM Revision e96f0f76 (git): stringio.c: convert arguments just once
- * ext/stringio/stringio.c (strio_each, strio_readlines): convert
arguments just once before reading, instead of conversions for
each lines, as r55603.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55629 b2dd03c8-39d4-4d8f-98ff-8... -
01:28 AM Bug #12576: SEGV when interrupting tail recursion
- Shugo Maeda wrote:
> The following patch seems to fix the problem, but I'm not sure.
> ...
load and main have the same problem, so ISEQ_TYPE_TOP and ISEQ_TYPE_MAIN should be added.
-
12:41 AM Feature #12581 (Closed): Incorporate ActiveSupport extensions (or their equivalents) into the stdlib
- Agreed with @shyouhei.
Matz.
-
12:25 AM Feature #12581: Incorporate ActiveSupport extensions (or their equivalents) into the stdlib
- While some ActiveSupport extensions are useful, I doubt if _all_ of them are.
I would like to -1 this. Please let us consider each extension method by method.
07/10/2016
-
11:53 PM Bug #12580 (Feedback): Difference in sprintf float rounding
- Resulting 5.6 by rounding 5.55 off to one decimal place looks more "natural", than 5.5.
New behavior considers binary representation error.
What problem occurs concretely? -
10:09 PM Bug #12580 (Closed): Difference in sprintf float rounding
- on 2.4-dev
`
irb(main):006:0> sprintf "%0.01f", 5.55
=> "5.6"
irb(main):007:0> 5.55.class
=> Float
`
on 2.4-preview
`irb(main):001:0> sprintf "%0.01f", 5.55
=> "5.5"
irb(main):002:0> 5.55.class
=> Float
irb(main):003:0>... -
11:05 PM Feature #12581 (Closed): Incorporate ActiveSupport extensions (or their equivalents) into the stdlib
- Hey,
The ruby developers are so used to ActiveSupport extensions used by Rails, its even hard for them to tell what's Ruby and what's Rails, as shown by: http://railshurts.com/quiz/
Maybe we could incorporate ActiveSupport extensio... -
10:27 PM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
- I like the idea behind it.
I am not sure about the syntax itself. Would this break existing code? What are the constraints how it is used? -
09:26 AM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
- Here is some history of this proposal:
* [#5825 Sweet instance var assignment in the object initializer](https://bugs.ruby-lang.org/issues/5825)
* [#8563 Instance variable arguments](https://bugs.ruby-lang.org/issues/8563)
* [#12023... -
07:33 AM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
- I personally think this syntax looks quite good. I wonder whether it should be limited to initialize or not.
Matt Lankford wrote:
> I have looked at all 18 pages in this tracker and thought it "must" have been mentioned in here... bu... -
10:24 PM Bug #12552: You may have encountered a bug in the Ruby interpreter or extension libraries.
- How did you cause the segfault?
-
04:04 PM Bug #12545: Ruby 2.3.1 compilation error [Windows]
- I just finished compilation attempts for VS 2008, VS 2010. win32.c compiled for all 2.x versions.
Looks like I have chosen a recent compiler (VS 2005) so it should be avoided. Please update requirements for Windows version.
Regards... -
02:28 PM Revision a00ec4cf (git): enc/iso_8859_4.c: adjust indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:53 AM Revision 07ac66cc (git): * enc/iso_8859_10.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-10, by Toya Hosokawa.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:33 AM Revision 8f0b58d3 (git): * test/ruby/enc/test_case_comprehensive.rb: Changed testing logic in to
- catch unintended modifications of characters that do not have a case
equivalent in the respective encoding.
* enc/iso_8859_1.c, enc/iso_8859_15.c: Fixed unintended modifications of
micro sign and y with diaeresis.
git-svn-id: svn+s... - 08:05 AM Revision 40a34feb (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:05 AM Revision 3a2553c3 (git): * enc/iso_8859_4.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-4, by Kotaro Yoshida.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Revision 6b9e4b81 (git): * test/ruby/enc/test_case_comprehensive.rb: Fixed a comment
- (message belongs to last commit). [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:14 AM Revision 0657672a (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:27 AM Revision 295f60b9 (git): util.c: round nearly middle value
- * util.c (ruby_dtoa): [EXPERIMENTAL] adjust the case that the
Float value is close to the exact but unrepresentable middle
value of two values in the given precision, as r55604.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5562... -
12:49 AM Bug #12576 (Assigned): SEGV when interrupting tail recursion
- SEGV occurs as follows:
1. eval pushes a control frame.
2. foo is called repeatedly without a new control frame.
3. Interrupted by a signal, and the exception handler of eval pops the control frame pushed by Step 1. OVER POP!
4. Th...
07/09/2016
- 11:57 PM Revision 38ea5613 (git): * 2016-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:57 PM Revision 9eef1971 (git): * thread.c: Fixed implicit conversion error with Apple clang-800.0.31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 PM Bug #12579 (Closed): Backport rubygems fix from upstream repo for Ruby 2.2.x (2)
- It's difference backport request with #12248
rubygems fixes failure of installation on NFS. I attached patch that it fixes.
see https://github.com/rubygems/rubygems/issues/1161#issuecomment-230893471
and I hope to bump version t... -
08:42 PM Feature #12578 (Rejected): Instance Variables Assigned In parameters ( ala Crystal? )
- When I first saw the instance assignments in Crystal, I was floored... I have looked at all 18 pages in this tracker and thought it "must" have been mentioned in here... but I don't see it... pardon me if I missed it...
BUT
so in ... -
12:49 PM Bug #12577 (Rejected): Is '$' punctuation or not? Inconsistency between us-ascii and UTF-8
- US-ASCII thinks '$' is punctuation. UTF-8 thinks it's not.
This means that the following two scripts:
```
# encoding: us-ascii
puts '$' =~ /\p{Punct}/ ? 'match' : 'no match'
```
and
```
# encoding: utf-8
puts '$' =~ /\p{... - 03:51 AM Revision d3776ae2 (git): * ChangeLog: shugo, you lose.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 AM Revision a5c3a2eb (git): * tool/mkconfig.rb: use true instead of TRUE.
- * lib/getoptlong.rb: use false instead of FALSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:44 AM Revision fd44aa7d (git): * 2016-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:44 AM Revision 1a03f9c5 (git): Use keyword
- * tool/mkconfig.rb: use keyword true, instead of the toplevel
constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:55 AM Bug #12576 (Closed): SEGV when interrupting tail recursion
- The following program causes SEGV when interrupted by SIGINT.
```ruby
RubyVM::InstructionSequence.compile_option = {
:tailcall_optimization => true,
:trace_instruction => false
}
eval <<EOF
def foo
foo
end
foo
EOF
`... -
12:17 AM Feature #12086: using: option for instance_eval etc.
- Nobuyoshi Nakada wrote:
> Shugo Maeda wrote:
> ...
So, do you have another solution?
> > If `instance_eval(using: refinement)` is introduced, RaddDjur::DSL can be activated
> ...
I don't catch your point.
`using(refinement, &block... -
12:05 AM Feature #12574: Remove TRUE, FALSE, and NIL
- Nobuyoshi Nakada wrote:
> Deprecate them first?
Sounds reasonable.
I found that tool/mkconfig.rb uses them....
07/08/2016
-
06:45 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
- I tried to get Ruby to compile on a Windows 2012R2 VM, and I think I was partially successful. It appears that `test_process_exists_when_not_exists` fails on Windows, but a ton of other tests on trunk also fail, so I don't think I've got...
-
03:08 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
- I've updated the PR to fix this round of comments. If there are more comments, I'll address them, otherwise, what else should I do to get this decided upon?
I'm also working on a Windows VM to confirm that this all works there.
Tha... -
02:23 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
- I don't have a Windows machine to set this up and test. I'll try and do so. It was commented on the PR that there are some issues with the test suite in terms of Windows support, so I'll need to take a look at that.
-
12:47 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
- What about Windows? Does this work as-is?
-
01:22 PM Revision 9d87e8ac (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 PM Feature #12574: Remove TRUE, FALSE, and NIL
- Deprecate them first?
-
09:54 AM Feature #12574 (Closed): Remove TRUE, FALSE, and NIL
- I believe `TRUE`, `FALSE`, and `NIL` are no longer used.
Why not remove them?
-
12:58 PM Feature #12086: using: option for instance_eval etc.
- Shugo Maeda wrote:
> It looks cool, but there are two problems here:
> ...
These seem irrelevant to `instance_eval`.
> If `instance_eval(using: refinement)` is introduced, RaddDjur::DSL can be activated
> ...
I don't think that a p... -
08:02 AM Feature #12086: using: option for instance_eval etc.
- Yukihiro Matsumoto wrote:
> I like the idea, but I understand this makes implementation harder (especially for performance).
Speaking of performance, inline cache cannot store refined methods because the same block can be
executed w... -
07:56 AM Feature #12086: using: option for instance_eval etc.
- Nobuyoshi Nakada wrote:
> I'm against `instance_eval` under the hood by libraries.
I used to be against it too, but it's common now whether `using:` is available or not.
Let me talk about a use case.
I wrote a packrat parser li... -
12:51 PM Bug #12575 (Closed): Conditional jump or move depends on uninitialised value(s) at rb_wait_for_single_fd (thread.c:3864)
- Applied in changeset r55613.
----------
* thread.c (rb_wait_for_single_fd): Clean up fds.revents every time
before calling ppoll(2). [Bug #12575] [ruby-dev:49725] -
12:46 PM Bug #12575 (Closed): Conditional jump or move depends on uninitialised value(s) at rb_wait_for_single_fd (thread.c:3864)
- x86_64 の Debian GNU/Linux 8 にて、valgrind上でdrbのテストを実行すると、以下のレポートが出ました。
(r55612 にて確認)
```
$ valgrind ./ruby test/runner.rb -v test/drb
(中略)
[ 12/115] DRbTests::ACLTest#test_not_1 = 0.01 s
[ 13/115] DRbTests::TestBug4409#test_bug440... -
12:51 PM Revision 79e46488 (git): * thread.c (rb_wait_for_single_fd): Clean up fds.revents every time
- before calling ppoll(2). [Bug #12575] [ruby-dev:49725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Bug #12569 (Closed): There is no any warnings or errors with wrong comma after last attr_accessor attribute
- Try with `-w` option.
-
07:22 AM Feature #12533 (Assigned): Refinements: allow modules inclusion, in which the module can call internal methods which it defines.
- Matz, what do you think of this?
Local rebinding may be worth considering, but there is a trade-off. -
07:18 AM Feature #12534 (Feedback): Refinements: refine modules as well
- There is an implementation difficulty when refining modules and calling `super` in that refinement.
One solution is prohibiting `super` in a refinement for a module.
Other proposals (and patches) are welcome.
-
05:38 AM Revision 558b9d05 (git): numeric.c: round as double
- * numeric.c (flo_round): compare as double, not long double with
i387.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:21 AM Revision 286eec26 (git): * vm_args.c (vm_caller_setup_arg_block): call rb_sym_to_proc()
- directly to reduce method dispatch overhead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/07/2016
-
11:46 PM Revision ceca0454 (git): * io.c (rb_io_s_read): add description of pipes to the documentation
- of IO.read.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:40 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
- Pull request: https://github.com/ruby/ruby/pull/1399
-
10:39 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
- Fix formatting.
-
10:38 PM Feature #12573 (Open): Introduce a straightforward way to discover whether a process is running
- ## Background
The best present solution is to kill the process with a signal of 0, and then evaluate the exit code and two possible exceptions to determine whether or not this process is alive. This is surprising when Ruby has so many... -
08:04 PM Bug #12569 (Rejected): There is no any warnings or errors with wrong comma after last attr_accessor attribute
- In second sample we don't have any warnings or errors with wrong comma after last attr_accessor attribute and without it is very difficult to identify the typo. initialize method does not performed.
## It works
```ruby
class Soluti... -
06:59 PM Bug #12568 (Closed): wrong ArgumentError if an array is given for instance_exec with optional argument
- Applied in changeset r55609.
----------
* vm_args.c (setup_parameters_complex): don't raise ArgumentError
if an array is given for instance_exec with optional argument.
[ruby-core:76300] [Bug #12568]
https://github.com/rails/rails... -
06:50 PM Bug #12568 (Closed): wrong ArgumentError if an array is given for instance_exec with optional argument
- From Ruby 2.2 to trunk, it wrongly raise ArgumentError as follows:
Sample code:
```ruby
instance_exec([1,2,3]){|a| p a}
instance_exec([1,2,3]){|a=[]| p a}
instance_exec([1,2,3], &->(a){ p a })
->(a=[]){ p a }.to_proc.call([1,2,... -
06:59 PM Revision c016898e (git): * vm_args.c (setup_parameters_complex): don't raise ArgumentError
- if an array is given for instance_exec with optional argument.
[ruby-core:76300] [Bug #12568]
https://github.com/rails/rails/pull/25699
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:59 PM Revision e4d4172b (git): suppress warnings: unused variables
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:06 PM Misc #12567 (Closed): Where is parser.bundle ?
- Hello,
Ruby 2.3 add native json support.
The `json` **gemspec** files, list :
* json.rb
* json/add/bigdecimal.rb
* json/add/complex.rb
* ...
* json/ext/generator.bundle
* json/ext/parser.bundle
Where can I find / how can... -
05:27 PM Bug #12566 (Closed): IO.copy_stream : tty/command-line events not being passed around
-
03:52 PM Bug #12566: IO.copy_stream : tty/command-line events not being passed around
- ```
$stdin.raw!
```
You can close, found the solution. -
03:12 PM Bug #12566 (Rejected): IO.copy_stream : tty/command-line events not being passed around
- Coming from here: http://stackoverflow.com/questions/38248911/ruby-when-copying-streams-how-to-make-it-pass-input-characters
I don't know if the `stdin` is not flushing the special characters down the stack, or the leaf process `stdou... -
05:21 PM Bug #12545: Ruby 2.3.1 compilation error [Windows]
- According to [MSDN][1], `NET_LUID` is used since Windows Vista released in 2006.
Visual C++ 8.0 was released in 2005, so it wouldn't know that union.
[1]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa366320(v=vs.85).asp... -
01:14 AM Bug #12545: Ruby 2.3.1 compilation error [Windows]
- Ivan Serdyuk wrote:
> Various versions of Microsoft compiler gave same errors.
Can you say which ones, exactly? Were there Microsoft compilers that didn't give these errors?
> ...
A patch, or a series of patches, would be very hel... -
04:01 PM Bug #12549: List files with CC0 license in LEGAL file
- And missing/strerror.c.
You can use `find -exec {} +` and `grep -l`, or `grep -r --include`.
```
find . \( -name "*.[ch]" -o -name "*.src" \) -exec grep -li 'public[ -]domain' {} +
grep -lri 'public[ -]domain' --include="*.[ch]" ... - 03:49 PM Revision 2db397b4 (git): * 2016-07-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:49 PM Revision 804a3e10 (git): * vm_eval.c (yield_under): change prototype to get argc/argv.
- * vm_eval.c (specific_eval): change for above.
* vm_eval.c (rb_obj_instance_exec): avoid object allocation.
* vm_eval.c (rb_mod_module_exec): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55606 b2dd03c8-39d4-4d8f-98ff-823fe... -
03:11 PM Bug #12535: are there 2 sleep methods defined?
- If you want to overwrite the method globally, prepend the module to `Kernel` instead of the singleton class of it.
-
03:09 PM Bug #12535: are there 2 sleep methods defined?
- @Nobu, can you check my last comment? I think this is a valid concern, as in "the same method defined in two objects".
-
12:56 PM Bug #12564: Sometimes test_settracefunc.rb segfaults in exec_hooks_body (vm_trace.c)
- This occasionally also occurs on Solaris 10 running on Sparc CPU.
http://rubyci.s3.amazonaws.com/unstable10s/ruby-trunk/log/20160706T161911Z.fail.html.gz
-
11:12 AM Bug #12565: SEGV when using &:foo with tail call optimization
- @nobu Please fix it if you come up with a better solution.
It seems that Ruby 2.2 or earlier doesn't have this problem.
-
11:08 AM Bug #12565 (Closed): SEGV when using &:foo with tail call optimization
- Applied in changeset r55605.
----------
* vm_args.c (vm_caller_setup_arg_block): disable symbol block
argument optimization when tail call optimization is enabled,
in order to avoid SEGV. [ruby-core:76288] [Bug #12565] -
11:07 AM Bug #12565: SEGV when using &:foo with tail call optimization
- The debug information is as follows:
```
(eval):2: [BUG] Segmentation fault at 0x00000000000010
ruby 2.4.0dev (2016-07-07 trunk 55604) [x86_64-linux]
-- Control frame information -----------------------------------------------
c... -
10:57 AM Bug #12565 (Closed): SEGV when using &:foo with tail call optimization
- The following script causes SEGV:
```ruby
RubyVM::InstructionSequence.compile_option = {
:tailcall_optimization => true,
:trace_instruction => false
}
eval(<<EOF)
def foo(&block)
yield(1, 2)
end
def bar
foo(&:*)
... -
11:08 AM Revision 68260018 (git): * vm_args.c (vm_caller_setup_arg_block): disable symbol block
- argument optimization when tail call optimization is enabled,
in order to avoid SEGV. [ruby-core:76288] [Bug #12565]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision 9bb27fa3 (git): numeric.c: round nearly middle value
- * numeric.c (flo_round): [EXPERIMENTAL] adjust the case that the
receiver is close to the exact but unrepresentable middle value
of two values in the given precision.
http://d.hatena.ne.jp/hnw/20160702
git-svn-id: svn+ssh://ci.rub... -
07:31 AM Revision 415059ab (git): io.c: convert arguments just once
- * io.c (rb_io_s_foreach, rb_io_s_readlines): convert arguments
just once before reading, instead of conversions for each lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 AM Bug #12561: OpenSSL::Cipher#key= silently truncates key strings.
- I agree with Kazuki's judgment about backporting to the stable branches.
BTW is there any entry about this change in NEWS file?
User should be noticed about the inconsistent behaviors. -
01:48 AM Bug #12561 (Closed): OpenSSL::Cipher#key= silently truncates key strings.
- Thank you for reporting!
I believe it is a bug, r55146 fixed it in trunk. Unfortunately it looks like some applications use the behavior unintentionally. So I'm filling Backport with WONTFIX. -
01:09 AM Feature #12553: IO.readlines(filename, chomp: true)
- とりあえず。
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12553-chomp-option